1 2008-07-25 Eric Blake <ebb9@byu.net>
3 Avoid infinite aclocal loop.
4 * lib/m4sugar/m4sugar.m4 (m4_init): Bypass m4_include tracing, so
5 that aclocal doesn't insist on finding m4sugar/foreach.m4.
7 Provide O(n) replacement macros for M4 1.4.x.
8 * lib/m4sugar/foreach.m4: New file.
9 (m4_foreach, m4_case, _m4_shiftn, m4_do, m4_dquote_elt, _m4_map)
10 (m4_join, m4_joinall, m4_list_cmp, _m4_minmax): Replace m4sugar
11 macros based on $@ recursion [fast on M4 1.6, but quadratic on M4
12 1.4.x] with versions based on m4_for/m4_foreach [slow on 1.6, but
14 * lib/m4sugar/m4sugar.m4 (m4_init): Dynamically load new file if
16 (m4_map_sep): Optimize.
17 (m4_max, m4_min): Refactor, by adding...
18 (_m4_max, _m4_min, _m4_minmax): ...more efficient helpers.
19 (m4_defn, m4_popdef, m4_undefine): Use foreach recursion.
20 * lib/m4sugar/Makefile.am (dist_m4sugarlib_DATA): Distribute new
22 * tests/m4sugar.at (M4 loops): Add a stress test that takes
23 forever if m4_foreach and friends are quadratic.
26 2008-07-21 Eric Blake <ebb9@byu.net>
28 Ignore undefined macros, necessary with m4 1.6.
29 * bin/autoupdate.in (_au___undefine): New macro,...
30 (_au__undefine): ...wrapped by ifdef to silence m4 warnings.
31 Reported by Ralf Wildenhues.
34 * GNUmakefile: Grab from upstream, to fix issue where 'make
35 install' would allow installation of stale version string.
37 2008-07-19 Eric Blake <ebb9@byu.net>
39 Support multiple arguments to m4_defn, m4_popdef, and m4_undefine.
40 * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Loop
41 through all variables, per POSIX and newer m4.
42 (_m4_text_wrap): Exploit the looping capabilities.
43 * tests/m4sugar.at (m4@&t@_defn): Test this.
45 * doc/autoconf.texi (Redefined M4 Macros) <m4_defn, m4_popdef>
46 <m4_undefine>: Likewise.
48 Reduce overhead of m4_builtin([defn]).
49 * lib/m4sugar/m4sugar.m4 (_m4_defn, _m4_popdef, _m4_undefine): New
50 internal macros, which are slightly more efficient than
51 m4_builtin([defn]) and company.
52 (m4_defn, m4_popdef, m4_undefine, m4_warn, m4_ifset)
53 (_m4_dumpdefs_up, _m4_dumpdefs_down, _m4_wrap, m4_for)
54 (_m4_divert_n_stack, m4_divert_pop, m4_expansion_stack_push)
55 (m4_expansion_stack_dump, _m4_defun_pro, _m4_defun_epi)
56 (_m4_defun_epi_outer, _m4_require_call, m4_combine, m4_append)
57 (_m4_append_uniq, m4_append_uniq_w, _m4_text_wrap, m4_text_box)
58 (m4_version_prereq): Use them.
60 Use warnings from m4 when available.
61 * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Don't
62 define slower wrapper if m4 will warn on our behalf; key off of
63 __m4_version__, added alongside the new warnings in m4 1.6.
64 * tests/m4sugar.at (m4@&t@_defn): New test.
66 2008-07-18 Eric Blake <ebb9@byu.net>
69 * lib/m4sugar/m4sugar.m4 (m4_joinall, _m4_joinall): New macros.
70 * tests/m4sugar.at (m4@&t@_join): Test them.
71 * doc/autoconf.texi (Text processing Macros) <m4_join>: Document
75 2008-07-17 Stepan Kasal <skasal@redhat.com>
76 and Eric Blake <ebb9@byu.net>
78 Improve documentation of config.h.in template rules.
79 * doc/autoconf.texi (Header Templates): Mention rules on comments
80 and whitespace, and that the user cannot rely on #undef to survive
81 through config.status.
83 2008-07-16 Eric Blake <ebb9@byu.net>
85 Revert m4_prepend; it is less efficient, and unused by bison.
86 * lib/m4sugar/m4sugar.m4 (m4_prepend, m4_prepend_uniq)
87 (m4_prepend_uniq_w): Delete addition from 2008-07-11.
88 (_m4_grow_uniq_1): Rename back...
89 (_m4_append_uniq): ...to this.
90 * NEWS: Revert NEWS blurb.
91 * doc/autoconf.texi (Text processing Macros) <m4_prepend>: Delete.
92 * tests/m4sugar.at (m4@&t@_prepend): Delete.
94 2008-07-15 Eric Blake <ebb9@byu.net>
96 Avoid failure if version.m4 is omitted but m4_PACKAGE_* unused.
97 * lib/m4sugar/m4sugar.m4 (m4_version_compare): Provide alternate
98 definition for non-Autoconf clients of m4sugar.
100 2008-07-14 Eric Blake <ebb9@byu.net>
102 Tighten bound of potential speed of m4_append.
103 * doc/autoconf.texi (Text processing Macros) <m4_append>
104 <m4_prepend>: If m4 is fixed, m4_append can be linear rather than
106 * lib/m4sugar/m4sugar.m4 (m4_append, m4_append_uniq): Fix comments.
107 Analysis by Bruno Haible.
109 2008-07-11 Eric Blake <ebb9@byu.net>
111 Inherit improvements from bison's fork of m4sugar.
112 * lib/m4sugar/m4sugar.m4 (m4_PACKAGE_VERSION): Ignore failure to
113 find version.texi, since bison does not provide it.
114 (m4_prepend): Add new macro, from bison.
115 (m4_prepend_uniq, m4_prepend_uniq_w): Add new macros, for
117 (_m4_append_uniq): Rename...
118 (_m4_grow_uniq_1): ...to this to share implementation, and
119 optimize initial assignment.
120 (m4_append_uniq_w): Adjust caller.
121 * NEWS: Document new macros.
122 * doc/autoconf.texi (Text processing Macros) <m4_append>: Mention
124 <m4_prepend>: Document the new prepend variants.
125 * tests/m4sugar.at (m4@&t@_prepend): New test.
127 Work around M4 1.6 warning on undefined macros.
128 * lib/m4sugar/m4sugar.m4 (changeword, symbols): Don't rename if
129 not already available as builtins.
131 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
133 * doc/autoconf.texi (@dvar): Remove trailing newline.
134 (@ovar): Likewise. Fix macro documentation.
136 2008-07-02 Stepan Kasal <skasal@redhat.com>
138 Add quotes to the header of autoscan-generated source.
139 * bin/autoscan.in: Add quotes to AC_PREREQ and AC_INIT.
141 2008-06-28 Andreas Schwab <schwab@suse.de>
143 * doc/autoconf.texi (autoscan Invocation): Fix spacing.
144 (autoconf Invocation): Likewise.
145 (autoreconf Invocation): Likewise.
146 (autoheader Invocation): Likewise.
147 (autom4te Invocation): Likewise.
149 2008-06-19 Eric Blake <ebb9@byu.net>
151 Add comment explaining recent patch.
152 * lib/autotest/general.m4 (AT_INIT) <at_pass_list>: Explain choice
155 2008-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
157 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not warn when not
158 linking a file to itself.
159 Report by Bruno Haible.
161 2008-06-19 Eric Blake <ebb9@byu.net>
164 * GNUmakefile: Grab from upstream, to fix VPATH 'make dist' bug.
165 Reported by Stepan Kasal.
167 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
169 Reorganize autotest files, factorize for parallel execution.
170 * lib/autotest/general.m4 (AS_MESSAGE_LOG_FD): Move definition
172 (AT_INIT): Create line number cache in
173 $at_suite_dir/at-source-lines.
174 <at_helper_dir>: New directory at-groups below $at_suite_dir.
175 Add comment explaining the new directory structure.
176 (at_func_group_prepare, at_func_group_postprocess): New shell
177 functions to factorize per-test group work. Keep the actual
178 test execution outside of a shell function in order to avoid
179 zsh 4.x exit status bugs.
180 <at_check_line_file, at_status_file, at_stdout, at_stder1>
181 <at_stderr, at_test_source>: Turn these into per-group files
182 below $at_helper_dir. Also store test results there in files
183 named pass, fail, xpass, xfail, skip. Let the parent collect
184 results from $at_helper_dir. Adjust summary statistics
185 computation and result output.
187 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
189 Fix '#undef variable /* comment */' transform in config headers.
190 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): For
191 undefined preprocessor macros that are followed by a comment
192 in the header template, do not create nested comments in the
194 * tests/torture.at (@%:@define header templates): Extend test.
196 Report by Karsten Hopp <karsten@redhat.com>.
198 2008-06-09 Eric Blake <ebb9@byu.net>
200 Mark AC_TYPE_SIGNAL as obsolete.
201 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Switch to AU_DEFUN.
202 * doc/autoconf.texi (Function Portability): Update documentation.
203 (Particular Types): Move AC_TYPE_SIGNAL...
204 (Obsolete Macros): ...here, and mention why.
205 * NEWS: Mention the change.
207 Allow lib64 as a default X library location.
208 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Add lib64.
209 * NEWS: Mention the change.
211 Reported by Brad Walker.
213 2008-06-05 Eric Blake <ebb9@byu.net>
215 Fix regression in AT_KEYWORDS([Macro]), from 2007-10-18.
216 * lib/autotest/general.m4 (AT_KEYWORDS): Expand argument prior to
217 converting it to lower case.
218 * tests/autotest.at (Keywords and ranges): Test this.
219 * NEWS: Document the fix.
221 Reported via Karsten Hopp, by Jochen Schmitt in
222 https://bugzilla.redhat.com/show_bug.cgi?id=449973
224 2008-06-03 Eric Blake <ebb9@byu.net>
226 Fix 'make dist' regression from 2008-05-08.
227 * Makefile.am (INSTALL): Add rule, to accomodate 'make dist' after
228 GNUmakefile's _autoconf rule removes INSTALL.
230 2008-05-27 Eric Blake <ebb9@byu.net>
232 Document Solaris /bin/sh redirection pitfall.
233 * doc/autoconf.texi (File Descriptors): Mention redirection bug.
235 2008-05-14 Eric Blake <ebb9@byu.net>
237 Improve documentation of ! issues.
238 * doc/autoconf.texi (Limitations of Builtins) <!>: Touch up.
239 Reported by Noah Misch.
241 Document some FreeBSD shell bugs.
242 * doc/autoconf.texi (Limitations of Builtins) <!>: Mention ! issue
243 in compound pipe commands.
244 <export>: Mention difference of exporting an undefined variable.
245 (Shell Functions): Mention loss of $? in entry to shell functions.
246 Extracted from the git mailing list.
248 2008-05-13 Stepan Kasal <kasal@ucw.cz>
250 Work around MSYS and Cygwin bugs when dealing with trailing space.
251 * tests/atlocal.in (func_sanitize_dir_name): Let atlocal succeed,
252 even when platform bugs are tickled.
253 Reported by Keith Marshall and Eric Blake.
255 2008-05-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
257 Let AC_MSG_FAILURE report pwd.
258 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE):
259 Output $ac_pwd along with fatal failure.
260 * tests/torture.at (Deep Package): Extend test.
261 Reported numerous times against GCC, and probably other packages.
263 2008-05-12 Eric Blake <ebb9@byu.net>
265 Enforce --help and --version compliance.
266 * configure.ac (AM_INIT_AUTOMAKE): Add std-options option.
268 2008-05-08 Keith Marshall <keithmarshall@users.sourceforge.net> (tiny change)
270 Avoid case-insensitive `make install' vs. `INSTALL' conflict.
271 * Makefile.am ($(srcdir)/INSTALL): Replace all references...
272 ($(abs_srcdir)/INSTALL): ...with this.
274 2008-05-06 Eric Blake <ebb9@byu.net>
277 * doc/autoconf.texi (Shell Substitutions): Drop at_ prefix.
279 Avoid overfull \hbox.
280 * doc/autoconf.texi (Versioning): Reword to fit line size.
282 Document $(( )) pitfalls.
283 * doc/autoconf.texi (Shell Substitutions): Mention octal
284 vs. decimal. Mention autotest's at_func_arith.
286 Improve behavior of './testsuite 01'.
287 * lib/autotest/general.m4 (AT_INIT) <at_func_validate_ranges>:
288 Alter usage to eval its arguments, in order to normalize away
289 leading zero. All callers updated.
290 * tests/autotest.at (Keywords and ranges): Test range
291 normalization with leading 0.
293 2008-04-26 Eric Blake <ebb9@byu.net>
295 Mention Solaris /usr/ucb/tr pitfall.
296 * doc/autoconf.texi (Limitations of Usual Tools) <tr>: Add section.
297 Reported by Bruno Haible and Jim Meyering.
299 2008-04-24 Eric Blake <ebb9@byu.net>
301 Mention m4sugar's internal quote strings.
302 * doc/autoconf.texi (Quadrigraphs): Mention alternate quote used
303 in m4sugar, and how to still output it literally.
304 * tests/m4sugar.at (m4@&t@_split): And test it.
305 Reported by Joel E. Denny.
307 2008-04-23 Eric Blake <ebb9@byu.net>
309 Allow unbalanced () in m4_expand.
310 * lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Use more complex
312 (m4_noquote, _m4_split): Use consistent complex quote.
313 * tests/autotest.at (Left paren, Right paren): Test this.
314 (Parentheses): Ensure new quadrigraphs still work.
315 (AT_CHECK_AT_TITLE_CHAR): All title char tests exercise m4_expand.
316 * NEWS: Mention the fix.
317 * doc/autoconf.texi (Quadrigraphs): Revert mention of macros that
318 require quadrigraphs for ().
319 (Evaluation Macros) <m4_expand>: Relax the restriction against
321 (Pretty Help Strings) <AS_HELP_STRING>: Likewise.
322 (Writing Testsuites) <AT_SETUP>: Likewise.
323 Reported by Joel E. Denny, fix suggested by Noah Misch.
325 2008-04-22 Eric Blake <ebb9@byu.net>
327 Support unbalanced () in AT_SETUP by adding two new quadrigraphs.
328 * bin/autom4te.in (handle_output): Substitute @{:@ and @:}@.
329 (handle_traces): Likewise.
330 * lib/m4sugar/m4sugar.m4 (m4_qlen): Account for new quadrigraphs.
331 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Add new tests.
332 * doc/autoconf.texi (Quadrigraphs): Document them.
333 (Evaluation Macros) <m4_expand>: Enhance documentation.
334 (Text processing Macros) <m4_text_box>: Document cases where
335 quadrigraphs can help for problemetic unbalanced parentheses.
336 (Pretty Help Strings) <AS_HELP_STRING>: Likewise.
337 (Writing Testsuites) <AT_SETUP>: Likewise.
338 (Limitations of Builtins) <case>: Consolidate text on unbalanced
339 parentheses, and add an example of creative comments.
340 * NEWS: Document the addition.
341 Reported by Joel E. Denny.
343 2008-04-16 Eric Blake <ebb9@byu.net>
345 Document pdksh exec behavior.
346 * doc/autoconf.texi (Limitations of Builtins) <exec>: New
348 Discovered by Jim Meyering.
350 2008-04-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
352 * tests/autotest.at (AT_CHECK_AT): Allow to pass additional
353 arguments to the inner suite.
354 (errexit, input from stdin): New tests.
356 2008-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
358 * NEWS: Post-release update.
360 2008-04-10 Eric Blake <ebb9@byu.net>
362 AC_AUTOCONF_VERSION might contain arbitrary macro names.
363 * doc/autoconf.texi (Versioning): Mention problem with expansion.
364 * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Adjust test.
366 2008-04-09 Slava Sysoltsev <Viatcheslav.Sysoltsev@h-d-gmbh.de> (tiny change)
368 Flush buffered output before exit.
369 * bin/autom4te.in (handle_output): Explicitly close file.
371 See http://lists.gnu.org/archive/html/autoconf/2008-04/msg00026.html.
373 2008-04-08 Eric Blake <ebb9@byu.net>
375 Generate web docs for 2.62.
376 * doc/autoconf.texi (Evaluation Macros): Fix typo.
377 (Notices): Use recommended means to escape RCS keyword.
378 * cfg.mk (gnulib_dir): New macro.
379 (web-manual): New target.
381 2008-04-05 Eric Blake <ebb9@byu.net>
383 Release Version 2.62.
384 * NEWS: Mention the release.
386 2008-04-04 Stepan Kasal <kasal@ucw.cz>
387 and Eric Blake <ebb9@byu.net>
389 Return back to GPLv2+, until the text of the exceptions is
390 finalized, reverting the change from 2007-07-03 and the first
391 part of the change from 2007-07-20.
392 * COPYING: Revert to GPLv2.
393 * COPYINGv3: New file, since some auxiliary build tools, used for
394 building autoconf and not installed, are GPLv3.
395 * Makefile.am (EXTRA_DIST): Distribute COPYINGv3.
396 * NEWS: Remove mention of GPLv3.
397 * README: Clarify situation regarding GPLv3.
399 2008-04-05 Eric Blake <ebb9@byu.net>
402 * maint.mk (announcement): Avoid deleted option.
403 * cfg.mk (release_archive_dir): Use default.
404 * build-aux/gnupload: New file, from automake/gnulib.
405 * Makefile.am (EXTRA_DIST): Distribute it.
406 * .x-sc_two_space_separator_in_usage: New file, to exempt gnupload
409 2008-04-05 Jim Meyering <meyering@redhat.com>
410 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
412 Work around CR EOL markers on OS/2 (www.ecomstation.com Ecs v2 rc4)
413 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When CR
414 is the EOL marker, skip a step that would remove and translate
415 carriage return bytes.
417 Reported by Elbert Pol.
419 2008-04-05 Eric Blake <ebb9@byu.net>
421 Avoid some autoreconf -Wall warnings.
422 * configure.ac: Use proper quoting, to be a good example.
423 (PACKAGE_NAME): Remove setting covered by autoconf.
424 (AM_INIT_AUTOMAKE): Bump automake requirement, for html rules.
425 * doc/Makefile.am (TEXI2DVI): Remove settings covered by
427 (html, autoconf_1.html, standards_1.html): Likewise.
428 (TEXI2HTML, TEXI2HTML_FLAGS): Remove unused macros.
429 * Makefile.am (html): Likewise.
430 * doc/autoconf.texi (Quoting and Parameters): Add missing section
432 * tests/Makefile.am (AUTOMAKE_OPTIONS): Intentionally ignore
433 warning about our override, until Automake is fixed.
434 * README-hacking: Document minimum requirements for bootstrap.
436 2008-04-03 Eric Blake <ebb9@byu.net>
438 Fix version number generation in man pages.
439 * Makefile.am (EXTRA_DIST): Distribute .version.
440 (.version): New rule.
441 * man/Makefile.am (common_dep): Depend on .version, not
443 (.x.1): Use package name for version string.
444 * GNUmakefile [!_have-Makefile]: Sync from upstream, again.
445 * build-aux/git-version-gen: Sync from upstream.
447 More maintainer tweaks: pass 'make maintainer-distcheck'.
448 * GNUmakefile (_is-dist-target): Sync from upstream.
449 * build-aux/vc-list-files: Sync from upstream, yet again.
450 * tests/atlocal.in (unsupported_fs_chars): Always remove tdir.
451 * tests/Makefile.am (EXTRA_DIST): Don't distribute the built
453 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Bump year.
455 Fix VPATH 'make syntax-check'.
456 * maint.mk (VC_LIST, VC_LIST_EXCEPT, sc_changelog)
457 (sc_prohibit_jm_in_m4, makefile-check): Support VPATH.
458 (author_mark_check): Avoid error message.
459 * build-aux/vc-list-files: Sync from upstream again.
460 * build-aux/texinfo.tex: Likewise.
462 Sync files from upstream, and pass 'make syntax-check'.
463 * config/announce-gen: Move...
464 * build-aux/announce-gen: ...here, and sync from gnulib.
465 * Makefile.am (EXTRA_DIST): Adjust accordingly.
466 * cfg.mk (announce_gen): Likewise.
467 (prev_version_file): Delete, relying on default in maint.mk.
468 (gpg_key_ID): New macro.
469 (url_dir_list): Rewrite to match coreutils.
470 * config/prev-version.txt: Move...
471 * .prev-version: ...here, and adjust to 2.61.
472 * build-aux/vc-list-files: Sync from coreutils.
473 * maint.mk: Resynchronize with coreutils, where possible.
474 (ME): Remove $(srcdir) from definition.
476 (GIT, VC, VC-tag): New macros.
477 (CVS_LIST, CVS_LIST_EXCEPT): Rename...
478 (VC_LIST, VC_LIST_EXCEPT): ...to this.
479 (cvs-tag-check): Delete.
480 (cvs-diff-check): Rename...
481 (vc-diff-check): ...to this.
482 (sc_file_system): Allow FHS acronym.
483 * doc/autoconf.texi (Particular Functions): Recommend
484 unconditional <config.h>.
485 * build-aux/config.guess: Sync from upstream (manually).
486 * build-aux/config.sub: Likewise.
487 * build-aux/texinfo.tex: Likewise.
488 * doc/make-stds.texi: Likewise.
489 * doc/standards.texi: Likewise.
490 * .gitattributes: Ignore whitespace problems in upstream files.
492 2008-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
494 * doc/autoconf.texi (Limitations of Usual Tools): Mention awk %u
496 Report by Peter O'Gorman.
498 2008-04-02 Eric Blake <ebb9@byu.net>
500 Recommend the just-released M4 1.4.11.
501 * NEWS: Update recommendation.
503 * doc/autoconf.texi (Introduction): Likewise.
504 * m4/m4.m4 (AC_PROG_GNU_M4): Likewise.
506 2008-04-01 Eric Blake <ebb9@byu.net>
508 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Bump
511 2008-03-28 Peter O'Gorman <peter@pogma.com>
513 Find X11 on Mac OS X too.
514 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT,_AC_PATH_X_XMKMF):
515 Check for libX11 with extensions dylib la and dll too.
517 Reported by Martin Costabel.
519 2008-03-28 Eric Blake <ebb9@byu.net>
521 Update TODO based on completed tasks.
522 * TODO (AC_PROG_INSTALL takes multiple files): Done.
523 (AC_GNU_SOURCE deprecation): Done, see AC_USE_SYSTEM_EXTENSIONS.
524 (AC_COMPILE_IFELSE documentation): Done.
525 (Tracing builtins): Done, now that we require M4 1.4.5.
526 (AC_PROG_CC_POSIX suggestion, providing header files)
527 (AC_TYPE_SIGNAL): Not needed; gnulib's approach is better.
528 (cache consistency): Done with precious variables.
530 2008-03-26 Eric Blake <ebb9@byu.net>
532 Document --trace=macro:format in --help output.
533 * bin/autom4te.in (help): Mention optional trace format.
534 * bin/autoconf.as (usage): Likewise.
536 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Fix
538 Reported by Ralf Wildenhues.
540 2008-03-26 Jim Meyering <meyering@redhat.com>
542 Fix texinfo syntax error.
543 * doc/autoconf.texi (Limitations of Usual Tools): s/@kbd {/@kbd{/
545 2008-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
547 Warn, not fail on whitespace-only precious variable differences.
548 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Output
549 precious variable differences less ambiguous with `ugly-quotes'.
550 If their settings differ only in whitespace, do not fail, but
552 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Extend macro to allow
553 an optional status and expected-warning argument. Fix m4
554 quotation for initial value.
555 (AC_ARG_VAR): Also test for whitespace-only differences, and
556 that the old value is retained in this case.
557 * doc/autoconf.texi (Setting Output Variables): Document this.
559 Report and initial patch by Paolo Bonzini.
561 2008-03-26 Eric Blake <ebb9@byu.net>
563 Document busybox sed bug.
564 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Mention
565 restrictions when using back-references.
566 Reported by Vincent Lefevre:
567 <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13013>.
569 Document Automake interaction with AC_CONFIG_MACRO_DIR.
570 * doc/autoconf.texi (Input): Mention ACLOCAL_AMFLAGS for automake
573 Reported by Chris Pickett.
575 2008-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
577 * tests/autotest.at (Using atlocal): Quote instances of `pwd`.
579 * tests/local.at (AT_CHECK_M4): Factorize warning output
581 Suggested by Eric Blake.
583 2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
585 Fix .exe-related test failure on MinGW.
586 * tests/local.at (AT_CHECK_M4): Normalize `/bin/m4.exe' correctly
587 for comparing warning output.
589 Fix Fortran testsuite failures with gfortran 4.3.
590 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): When scanning
591 verbose compiler output, skip lines that set variables; gfortran
592 4.3 sets LIBRARY_PATH, COMPILER_PATH, COLLECT_GCC_OPTIONS.
594 Report by Vincent Lefèvre.
596 2008-03-21 Eric Blake <ebb9@byu.net>
598 * GNUmakefile: Resynchronize with gnulib.
600 Document more uses of $cross_compiling.
601 * doc/autoconf.texi (Runtime): Document that a temporary override
604 Reported by Ineiev, example by Ralf Wildenhues.
606 Don't swallow $1 in textual local variables.
607 * lib/m4sugar/m4sugar.m4 (m4_combine): Don't use overquoting and
608 expansion of text arguments, as that swallows $1.
609 (m4_text_wrap): Likewise, by splitting out...
610 (_m4_text_wrap): ...new helper macro. Also, allow arbitrary
611 expression for width.
612 * tests/m4sugar.at (m4@&t@_text_wrap): Test this.
613 (m4@&t@_combine): Likewise.
615 2008-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
617 Avoid leftover files on Leopard.
618 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove a.out.dSYM
619 directory created on darwin.
620 (AC_NO_EXECUTABLES): Likewise; also remove objects which may be
621 left over from a broken link.
622 * tests/c.at (AC_NO_EXECUTABLES (working linker))
623 (AC_NO_EXECUTABLES (broken linker)): New tests.
624 Report by Gary V. Vaughan.
626 * lib/autom4te.in (Automake-preselections): Trace
627 _AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF.
629 2008-03-20 Eric Blake <ebb9@byu.net>
631 Kill more CVS references.
632 * README-cvs: Delete. See README-hacking instead.
633 * README-hacking: Update wording, based on older file.
634 * BUGS: Remove CVS mention.
636 2008-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
638 * tests/tools.at (autotools and whitespace in file names): Skip
639 if aclocal is not present.
641 2008-03-20 Eric Blake <ebb9@byu.net>
643 Sync GNUmakefile with gnulib.
644 * GNUmakefile (Makefile.cfg): Rename...
645 (cfg.mk): ...to this, and make optional.
646 (GNUmakefile.cfg): Delete, redundant with cfg.mk.
647 (Makefile.maint): Rename...
648 (maint.mk): ...to this.
649 (all) [!_have-Makefile]: Rename...
650 (abort-due-to-no-makefile): ...to this, and invoke via
651 .DEFAULT_GOAL to pick up all targets.
652 * Makefile.cfg: Rename...
653 * cfg.mk: ...to this.
654 * Makefile.maint: Rename...
655 * maint.mk ...to this.
656 (ME): Reflect name change.
657 (makefile-check, m4-check, author_mark_check, msg): Use $(ME)
658 rather than hard-coded name.
659 * GNUmakefile.cfg: Delete; move rules into cfg.mk.
660 * Makefile.am (EXTRA_DIST): Reflect file name changes.
661 * .x-sc_prohibit_atoi_atof: Likewise.
662 * lib/freeze.mk: Likewise.
664 2008-03-19 Stepan Kasal <kasal@ucw.cz>
666 * doc/autoconf.texi (Introduction): Improve the paraphrase of
667 Henry Spencer's quotation.
669 2008-03-19 Eric Blake <ebb9@byu.net>
671 AC_CONFIG_HEADERS replaced AC_CONFIG_HEADER.
672 * bin/autoscan.in (output): Avoid obsolete spelling.
673 * tests/local.at (AC_STATE_SAVE): Update usage.
675 Reported by John Calcote.
677 Emphasize that ease of configure triumphs over ease of autoconf.
678 * doc/autoconf.texi (Introduction): Expand on primary
679 vs. secondary goal of autoconf.
681 Inspired by Paul Smith.
683 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
685 * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
686 $hint, show if the executing program does not exist.
687 (xsystem_hint): New function, like xsystem but allows to pass
689 * bin/autoreconf.in: Use xsystem_hint for spawning autopoint and
691 Report by Bruce Korb.
693 2008-03-14 Stepan Kasal <kasal@ucw.cz>
695 * lib/Autom4te/ChannelDefs.pm, tests/fortran.at,
696 tests/mktests.sh, tests/wrapper.as: Fix typos.
698 2008-03-12 Eric Blake <ebb9@byu.net>
700 Fix yesterday's regression in m4_wrap([$1]).
701 * lib/m4sugar/m4sugar.m4 (_m4_wrap): Don't directly invoke wrapped
702 text, since it may contain text that looks like parameters.
703 * tests/m4sh.at (AS@&t@_INIT cleanup): Enhance test.
705 2008-03-11 Eric Blake <ebb9@byu.net>
707 Improve error messages for common testsuite bugs.
708 * lib/autotest/general.m4 (_AT_DEFINE_INIT, _AT_DEFINE_SETUP): New
709 macros for defining order-enforced macros.
710 (AT_INIT, AT_SETUP, AT_CLEANUP, AT_BANNER, AT_XFAIL_IF)
711 (AT_CAPTURE_FILE, AT_DATA, AT_CHECK, AT_CHECK_NOESCAPE): Add error
712 messages when order violations are detected.
713 * tests/autotest.at (AT_CHECK_AT_SYNTAX): New helper macro.
714 (AT_SETUP without AT_INIT, AT_BANNER without AT_INIT)
715 (AT_CLEANUP without AT_INIT, Missing AT_CLEANUP)
716 (AT_CHECK without AT_SETUP, AT_DATA without AT_SETUP)
717 (AT_XFAIL_IF without AT_DATA, AT_KEYWORDS without AT_SETUP,
718 (AT_CLEANUP without AT_SETUP, AT_BANNER inside AT_SETUP)
719 (AT_SETUP inside AT_SETUP, Multiple AT_INIT)
720 (Banner-only test suite): New tests.
721 Reported by Christopher Hulbert.
723 Tweak m4_wrap to force FIFO or LIFO semantics.
724 * lib/m4sugar/m4sugar.m4 (m4_wrap): Override M4 implementation.
725 (m4_wrap_lifo, _m4_wrap): New macros.
726 * lib/m4sugar/m4sh.m4 (AS_INIT): Combine all cleanup into known
727 order, prior to m4sugar's.
728 (_AS_DETECT_BETTER_SHELL): Use cleanup parameter, rather than
730 * lib/autotest/general.m4 (AT_INIT): Combine all cleanup into
731 known order, prior to m4sh's.
732 * doc/autoconf.texi (Diagnostic Macros) <m4_fatal>: Document
734 (Redefined M4 Macros) <m4_wrap>: Rewrite documentation to match
736 * tests/m4sh.at (AS_INIT cleanup): New test.
737 * NEWS: Document the change.
739 2008-03-10 Eric Blake <ebb9@byu.net>
741 Encode nested autotest data.
742 * tests/autotest.at (AT_CHECK_AT_PREP): Avoid raw AT_ in output.
743 (unusual file names): Likewise.
744 (m4_pattern_allow): Remove loophole, to make it easier to catch
745 poorly written tests.
747 Factor some autotest tests.
748 * tests/autotest.at (AT_CHECK_AT_PREP): New macro, to factor out
749 common initialization.
750 (AT_CHECK_AT, Banners, Keywords and ranges, srcdir propagation)
751 (whitespace in absolute testdir, unusual file names): Use it.
753 2008-03-06 Eric Blake <ebb9@byu.net>
755 Minor documentation fix.
756 * doc/autoconf.texi (Evaluation Macros): Fix typo.
758 2008-03-04 Eric Blake <ebb9@byu.net>
760 Make AT_CHECK act like a simple command.
761 * lib/autotest/general.m4 (_AT_CHECK): Wrap commands in {;}.
762 * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Test it.
764 2008-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
766 On MinGW, substitution of CR and 0xFF fails.
767 * tests/torture.at (Substitute and define special characters):
768 MinGW awk cannot handle 0xFF, and on MinGW, the test does the
771 2008-03-04 Eric Blake <ebb9@byu.net>
773 Pull in recent maintainer improvements from coreutils.
774 * GNUmakefile (_is-dist-target): 'make distclean' should not
776 (_dummy): Change directories before removing autom4te.cache.
777 (check dist distcheck install) [!_have-Makefile]: Provide nicer
779 * configure.ac (AC_CONFIG_LINKS): Copy GNUmakefile into VPATH
780 builds, after initial bootstrap.
781 * Makefile.am (distclean-local): Work around current automake bug.
782 * Makefile.maint (ME): Allow VPATH usage.
784 Use git-merge-changelog when available.
785 * .gitattributes: New file.
786 * README-hacking: Document use of git-merge-changelog.
788 Work around cygwin bug.
789 * tests/atlocal.in (unsupported_fs_chars): Avoid cygwin bug where
790 "touch 't\'" creates regular file 't'.
792 Ignore tests that require read-only directories under root.
793 * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Skip
794 no-write portion if user has root-like privileges.
796 2008-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
798 * lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'.
800 2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
802 autoreconf -m now honors $MAKE.
803 * bin/autoreconf.in ($run_make): Renamed from ...
804 ($make): ... this. Use now as command to run `make',
805 overridden by $MAKE. Document this in --help output.
806 * doc/autoconf.texi (autoreconf Invocation): Document
807 all environment variables honored by autoreconf.
809 Report by Paul Eggert.
811 2008-03-03 Eric Blake <ebb9@byu.net>
813 Documentation improvements.
814 * doc/autoconf.texi (Looping constructs): s/recurses/repeats/.
815 (Evaluation Macros): Drop `1' suffix from metasyntax variable name
816 that preceeds @dots. Improve wording.
817 (Text processing Macros): Drop `1' suffix from metasyntax variable
818 name that preceeds @dots.
819 (Number processing Macros): Drop `1' suffix from metasyntax
820 variable name that preceeds @dots. Improve wording.
821 * lib/m4sugar/m4sugar.m4 (m4_cmp): Comment wording fix.
822 Suggested by Ralf Wildenhues.
824 2008-03-02 Jim Meyering <meyering@redhat.com>
826 Don't infloop upon "make dist".
827 * GNUmakefile: Merge from coreutils.
828 * Makefile.am (dist-hook): Inject .tarball-version into tarball,
830 * configure.ac (AC_INIT): Use .tarball-version, not .version.
831 * build-aux/git-version-gen: Update from gnulib.
833 2008-03-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
835 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
836 Before using /dev/full, check that it is a writable character
838 Report by Benoit Sigoure and Eric Blake.
840 Actually test that @configure_input@ is expanded correctly.
841 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
842 Actually check generated file contents for the name of the
843 generated file, using AC_PROG_FGREP and $FGREP.
845 2008-03-01 Benoit Sigoure <tsuna@lrde.epita.fr>
847 Be nice with file systems that don't handle unusual characters.
848 * tests/atlocal.in (func_sanitize_file_name)
849 (func_sanitize_dir_name): New shell functions.
850 * tests/tools.at (autom4te and whitespace in file names)
851 (autotools and whitespace in file names): Use them.
852 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
853 Cover more potentially problemtic file names. Use the new
856 Properly handle funny file names for headers in config.status.
857 The test suite did not cover this bug because the code was not
858 quoting properly the arguments of `rm -f' (which "fails" silently)
859 as well as the arguments of `diff' (whose output was redirected to
860 /dev/null so we couldn't see its error message).
861 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Properly quote the
862 file names passed to `rm' and `diff'.
863 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
864 Add a regression test.
866 2008-03-01 Benoit Sigoure <tsuna@lrde.epita.fr>
867 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
869 Properly expand @configure_input@ in config.status.
870 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_MAIN_LOOP):
871 Escape the backslashes and ampersands in $configure_input before
872 using it in the sed replacement string to expand @configure_input@.
873 Report by Eric Blake and Patrick Welche.
875 2008-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
877 Ignore errors from ./run on w32.
878 * tests/autotest.at (whitespace in absolute testdir):
879 Ignore stderr for `./run' which fails to remove the
880 busy test directory on w32.
882 2008-02-22 Eric Blake <ebb9@byu.net>
884 Improve documentation for writing autotest suites.
885 * doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Mention that
886 checks must live inside a test group.
887 Reported by Christopher Hulbert.
889 2008-02-21 Eric Blake <ebb9@byu.net>
891 Sync git-version-gen from upstream.
892 * build-aux/git-version-gen: Pull from gnulib.
893 * configure.ac (AC_INIT): Adjust to new calling convention.
895 2008-02-12 Eric Blake <ebb9@byu.net>
897 Avoid trailing space in config.h with AC_DEFINE([var], []).
898 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Explicitly mark empty
899 defines with a comment.
901 2008-02-08 Eric Blake <ebb9@byu.net>
903 Fix texinfo typos in previous patch.
904 * doc/autoconf.texi (Site Defaults): s/[{}]/@&/g.
905 Reported by Ralf Wildenhues.
907 Describe a config.site that can be used for FHS compliance.
908 * doc/autoconf.texi (Site Defaults): Fix typo. Add new example
911 Reported by Jules Colding and Ralf Wildenhues.
913 2008-02-02 Eric Blake <ebb9@byu.net>
915 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Fix typo.
917 2008-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
919 * lib/autotest/general.m4 (AT_INIT): Fix --clean to work
920 again, broken since introduction of `-C dir'.
921 * tests/autotest.at (Choosing where testsuite is run): Test it.
923 2008-01-30 Paul Eggert <eggert@cs.ucla.edu>
925 * doc/autoconf.texi: Update Back-Cover text to reflect new GNU wording.
927 2008-01-29 Eric Blake <ebb9@byu.net>
929 Fix more autotest regressions.
930 * lib/autotest/general.m4 (AT_LINE): Fix regression from
931 2007-10-04 when file name is `dnl'.
932 (AT_INIT) <PREPARE_TESTS>: Move command-line assignments...
933 <TESTS_BEGIN>: ...to this new diversion, to fix regression from
934 yesterday in libtool's testsuite.
935 (_AT_ARG_OPTION): Detect write failure.
936 * doc/autoconf.texi (Diversion support): Document PREPARE_TESTS to
937 make libtool's use kosher. Document m4_init.
938 (Programming in M4sh): Document AS_INIT.
939 (Writing Testsuites): Document limitation of AT_DATA file name.
940 * tests/autotest.at (unusual file names): New test.
941 (Banners, Keywords and ranges): Use correct shell.
943 More corner cases in testsuite VAR=VALUE handling.
944 * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS): Fix quoting
946 <PARSE_ARGS_END>: Also detect leading digits in assignments.
947 * tests/autotest.at (Using atlocal): Enhance test to catch last
950 * doc/autoconf.texi (Limitations of Builtins) <.>: Mention bash
953 2008-01-28 Eric Blake <ebb9@byu.net>
955 Fix regression in handling VAR=VALUE arguments to testsuite.
956 * lib/autotest/general.m4 (AT_INIT) <PARSE_ARGS_END>: Detect
957 leading = as invalid. Defer use of command-line variable
959 <PREPARE_TESTS>: ...here, after atconfig has been sourced. Fix
960 regression in sourcing files.
961 * tests/autotest.at (Using atlocal): New test to catch this.
962 (Debugging a successful test, Choosing where testsuite is run):
964 Reported by Ralf Wildenhues.
966 Document grep peculiarity.
967 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Document
968 BSD behavior on binary input.
970 Minor testsuite improvements.
971 * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS>: Use fewer
972 forks when sanitizing PATH. Always output machine information,
973 not just when atconfig was located.
975 Add 'testsuite -C dir'.
976 * lib/autotest/general.m4 (_AT_ARG_OPTION): Move missing argument
978 (AT_INIT) <PARSE_ARGS_END>: ...here, since -k always takes
980 <DEFAULTS>: Delay computation of variables based on $at_dir...
981 <PREPARE_TESTS>: ...to here, since -C can change $at_dir.
982 <TESTS>: Re-invoke via absolute name, since -C may be in effect.
983 <PARSE_ARGS>: Parse new option.
984 <HELP_TUNING>: Document it.
985 * tests/autotest.at (Choosing where testsuite is run): New test
987 (Keywords and ranges): Add test for missing -k argument.
988 * NEWS: Document this.
989 * doc/autoconf.texi (testsuite Invocation): Likewise.
991 2008-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
993 * build-aux/config.guess, build-aux/config.sub,
994 build-aux/texinfo.tex: Sync from gnulib.
995 * doc/fdl.texi, doc/make-stds.texi, doc/standards.texi:
998 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1000 * doc/autoconf.texi (Particular Programs): Do not mention the
1001 Autoconf version in which the AC_PROG_INSTALL change was done.
1002 Suggested by Paul Eggert.
1004 2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1006 Fix --help=recursive with multiple AC_CONFIG_SUBDIRS.
1007 * lib/autoconf/general.m4 (_AC_INIT_HELP): If, for recursive help
1008 mode, we change to the source directory, also set $ac_pwd so we
1009 do not go back to the build tree for the next config subdir.
1010 * tests/torture.at (Deep Package): Extend test to contain two
1011 config subdirs on the top level.
1013 Fix parallel `maintainer-check'.
1014 * Makefile.am (maintainer-check-tests): Depend on `all'.
1015 Use `$(MAKE) $(AM_MAKEFLAGS)' instead of plain `make'.
1016 * tests/Makefile.am (maintainer-check-c++, maintainer-check-posix):
1018 (maintainer-check): Serialize the testsuite runs.
1020 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE2): Accept `+'
1021 in feature string for --enable/--with. Convert to underscore
1024 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Require that
1025 `install -c file1 file2 dir' works.
1026 * doc/autoconf.texi (Particular Programs): Document this.
1029 2008-01-21 Eric Blake <ebb9@byu.net>
1031 Improve documentation about default include directives.
1032 * doc/autoconf.texi (Generic Headers, Generic Declarations)
1033 (Generic Structures, Generic Types)
1034 (Generic Compiler Characteristics): Add links to
1035 AC_INCLUDES_DEFAULT.
1036 Reported by Reuben Thomas.
1038 2008-01-15 Eric Blake <ebb9@byu.net>
1040 * lib/m4sugar/m4sugar.m4 (m4_qlen): Use fewer macros.
1042 2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1044 * tests/Makefile.am (noinst_SCRIPTS): Renamed from
1045 check_SCRIPTS. Building the wrappers for `all' allows help2man
1046 to use them for the manpages.
1047 Report by Benoit Sigoure.
1049 * bin/autoreconf.in: Discard stderr for $autoconf/$aclocal --help.
1051 2007-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1053 Fix some write failure cases in Autotest.
1054 * lib/autotest/general.m4 (AT_INIT): Do not exit successfully
1055 upon write failures for --help, --version, --list.
1056 Guard against write failures for intermediate created scripts.
1057 <at_func_create_debugging_script>: Do not make the debugging
1058 script executable if it is not complete.
1060 2007-12-12 Eric Blake <ebb9@byu.net>
1062 Fix thinko in earlier patch - m4_join isn't defined yet.
1063 * lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
1064 (_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
1065 (m4_require): Use m4_do, not m4_join.
1067 Fix some whitespace tests on cygwin.
1068 * tests/tools.at (autom4te and whitespace in file names): Restore
1069 font-lock. Create $TMPDIR before it might be used.
1071 Fix spurious testsuite failure with M4 1.4.11.
1072 * tests/local.at (AT_CHECK_M4): Cater to new m4 error message.
1074 Optimize AC_REQUIRE.
1075 * lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
1076 (_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
1077 (m4_require): Avoid extra macro calls.
1079 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1081 * tests/torture.at (srcdir): Fix quoting.
1083 Do not pass top_srcdir to configure scripts in testsuite.
1084 * tests/autotest.at (srcdir propagation): Copy install-sh to
1086 (my only test): Drop setting of `top_srcdir'.
1087 * tests/base.at (Input/Output): Likewise.
1088 * tests/local.at (AT_CONFIGURE_AC): Copy install-sh,
1089 config.guess, and config.sub to test source tree.
1090 Drop AC_CONFIG_AUX_DIR setting.
1091 (AT_CHECK_CONFIGURE): Drop setting of `top_srcdir'.
1092 * tests/torture.at (Substitute a 2000-byte string): Drop
1093 AC_CONFIG_AUX_DIR setting, copy install-sh to test source tree.
1094 (Substitute a newline, datarootdir workaround): Likewise.
1095 (Define a newline): Adjust for linenumber changes in configure.ac.
1096 * tests/foreign.at (Libtool): Adjust comment to reflect changes.
1098 * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): Skip test
1099 if `pwd` contains whitespace.
1101 Quote $abs_top_srcdir in tests.
1102 * tests/local.at (AT_CHECK_PERL_SYNTAX): Likewise.
1103 * tests/tools.at (Syntax of the shell scripts): Likewise.
1105 * tests/m4sh.at (LINENO): Quote $0.
1107 Fix testsuite program wrapper for whitespace in `pwd`.
1108 The problem here is that the usual mantra is that command
1109 variables can contain arguments, thus we cannot just escape
1110 $AUTOCONF, $AUTOM4TE etc. The compromise is to put the
1111 $top_builddir/tests directory early in $PATH, so that the
1112 wrappers are found by their plain name.
1113 * tests/wrapper.as: Put $testdir early in $PATH.
1114 (AUTOCONF, AUTOHEADER, AUTOM4TE): Set to plain command names.
1116 Proper config.status --file/--header and $srcdir escaping.
1117 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Quote special
1118 characters in $ac_file_inputs.
1119 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER): eval $ac_file_inputs
1121 * tests/torture.at (datarootdir workaround): Adjust.
1122 (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Extend test.
1124 Fix Autotest for whitespace in `pwd`.
1125 * lib/autotest/general.m4 (AT_INIT)
1126 <at_func_create_debugging_script, Driver Loop>:
1127 Quote $at_group_dir.
1128 * tests/autotest.at (whitespace in absolute testdir): New test.
1130 * lib/autom4te.in: Quote @datadir@.
1132 Proper file name escaping in Autoconf programs and Perl modules.
1133 This includes escaping of characters special to the shell
1134 as well as special to Perl, e.g., leading `<' or `>'.
1135 For example, when $file starts with `>', `open ">$file"'
1136 wrongly tries to append to a different file.
1137 * bin/autoconf.as: Fix quoting for autom4te options.
1138 * lib/Autom4te/General.pm (shell_quote): New function, taken
1139 from coreutils, written by Jim Meyering.
1141 * bin/autom4te.in (files_to_options, handle_m4): Use shell_quote
1143 * bin/autoreconf.in (parse_args): Likewise.
1144 * bin/autoscan.in (main): Likewise.
1145 * bin/autoupdate.in (main): Likewise.
1146 * bin/autoheader.in: Likewise, fixing old insufficient escaping.
1147 * bin/ifnames.in: Likewise, XFile usage fixes.
1148 * tests/tools.at (autom4te and whitespace in file names): Extend
1149 test. Test twice, with special characters allowed on w32, and the
1150 rest. Test leading and trailing whitespace, for `open_quote'.
1151 (autotools and whitespace in file names): New, analogous test.
1152 Reported by Paul Eggert and Benoit Sigoure, additional suggestions
1153 by Russ Allbery and Eric Blake.
1156 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
1157 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Likewise.
1158 * lib/Autom4te/FileUtils.pm (open_quote): New function.
1159 (update_file, contents): Use it.
1161 * Makefile.am (autom4te-update): Rewrite for git.
1163 2007-12-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1165 * doc/autoconf.texi (autom4te Invocation, Autom4te Cache): Fix typos.
1167 Fix copyright years.
1168 * Makefile.am, doc/install.texi, lib/autoconf/fortran.m4,
1169 lib/autoconf/lang.m4, lib/freeze.mk: Likewise.
1171 2007-12-04 Eric Blake <ebb9@byu.net>
1173 Manually resync with gnulib, since 'make cvs-update' no longer works.
1174 * build-aux/config.guess: New upstream version.
1175 * build-aux/config.sub: Likewise.
1177 When using older automake, don't downgrade build-aux/texinfo.tex.
1178 * configure.ac (AM_INIT_AUTOMAKE): Add no-texinfo.tex option.
1179 * doc/Makefile.am (TEXINFO_TEX): Add.
1181 2007-11-27 Paul Eggert <eggert@cs.ucla.edu>
1183 Fix AC_C_BIGENDIAN bug caused by new awk method of substitution.
1184 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Don't comment out the
1185 #undef as this runs afoul of our new way of creating config.h.
1186 Problem reported by Jim Meyering in
1187 <http://lists.gnu.org/archive/html/autoconf-patches/2007-11/msg00164.html>.
1189 2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1191 Fix autom4te for unusual characters in input file names.
1192 * bin/autom4te.in (files_to_options): Quote active characters
1194 * tests/tools.at (autom4te and white space in file names):
1197 * doc/autoconf.texi (Limitations of Usual Tools) <awk>:
1198 Document that Tru64 awk always splits $0.
1200 2007-11-24 Stepan Kasal <kasal@ucw.cz>
1202 * lib/autotest/general.m4 (AT_INIT): Do not extract the
1203 `#AT_STOP_...' line at the end of each test.
1205 2007-11-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1207 * lib/autotest/general.m4 (AT_INIT): For awk line number
1208 extraction script, ensure `$at_group' has a defined value
1209 even for the empty set, and properly quote its usage inside
1212 2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1214 * doc/autoconf.texi (Shell Functions): New chapter. Document
1215 IRIX sh $0 issue in functions, move content from ...
1216 (Portable Shell): ... here.
1217 (Shell Script Compiler): Note that shell functions are not
1218 totally unportable any more.
1220 2007-11-22 Stepan Kasal <kasal@ucw.cz>
1221 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1223 * lib/autotest/general.m4 (AT_INIT): Exit awk script after
1224 extracting the line numbers of the last needed test.
1226 2007-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1228 * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
1231 2007-11-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1233 Fix IRIX testsuite debugging failures: $0 in functions.
1234 * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
1235 Do not use $0 inside a function, as IRIX sh will set that to the
1236 function name rather than the script invocation name.
1238 2007-11-19 Paolo Bonzini <bonzini@gnu.org>
1239 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1241 * lib/autotest/general.m4 (at_func_test): Use cached line numbers
1242 to extract test scripts.
1243 (AT_INIT): Extract and cache test script line numbers.
1245 2007-11-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1247 * lib/autotest/general.m4: Revert 2007-11-15 patch and
1248 subsequent fixups; the awk -> here-document conversion trashes
1249 performance too much with AIX sh.
1251 2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1253 * tests/local.at: Do not test m4, perl with AT_TESTED.
1255 Diagnose and guard against write errors dealing with config.status.
1256 The general idea is this: all write failures from `configure'
1257 writing `config.status' are indicated by $ac_write_error, which
1258 is only checked at the end. This is safe because config.status
1259 code is not executed before the file is complete. Other write
1260 failures, be they inside config.status, or in sub shell/awk
1261 scripts spawned from configure or config.status, typically need
1262 earlier checking, as their results are used right afterwards.
1263 * lib/autoconf/status.m4 (AC_OUTPUT): Initialize `ac_write_fail'
1264 before writing config.status, check afterwards.
1265 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_FILE)
1266 (_AC_OUTPUT_HEADERS_PREPARE,_AC_OUTPUT_CONFIG_STATUS):
1267 Set `ac_write_error' for write failures to config.status. Barf
1268 upon write failures to temporary files.
1269 Adjust note about closing and reopening the here-document.
1270 (_AC_OUTPUT_HEADER, _AC_OUTPUT_LINK, _AC_OUTPUT_COMMAND)
1271 (_AC_OUTPUT_MAIN_LOOP): Likewise, adjust note about closing and
1272 reopening the here-document.
1273 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
1274 Ensure `ac_write_error' does not escape into config.status.
1275 Also, add a couple of code paths not yet exercised in the test
1276 suite: a config file with input from stdin, and a config header
1278 Suggestion for catching write errors by Bruno Haible.
1280 2007-11-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1282 Avoid error with Tru64 awk and testsuite lines with many words.
1283 * lib/autotest/general.m4 (AT_INIT): In the awk script that
1284 reads the testsuite, set the field separator to an unusual value,
1285 in order to not run over the limit of 199 fields. Tru64 4.0D awk
1286 even splits the input if $i, i>0, was never accessed in the script.
1288 Revert 2007-10-17 change.
1289 * TODO: Multiline args in config files and headers mean something
1290 different and are not fixed, see
1291 <http://lists.gnu.org/archive/html/autoconf-patches/2007-05/msg00017.html>
1292 Report by Stepan Kasal.
1294 * doc/autoconf.texi (Generic Programs): Fix typo.
1296 2007-11-16 Stepan Kasal <kasal@ucw.cz>
1298 AC_*_TOOL does not canonicalize the prefix
1299 * doc/autoconf.texi (Generic Programs): Do not say that
1300 the *_TOOL macros canonicalize, they simply use the `host_alias'.
1302 2007-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1304 Diagnose write errors in config.status instantiations.
1305 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE)
1306 (_AC_OUTPUT_HEADER, _AC_OUTPUT_MAIN_LOOP): Bail out
1308 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
1309 Extend test to also check for some write error failures, using...
1310 <AT_CHECK_CONFIG_CREATION_NOWRITE>: ...this new macro.
1311 Report by Bruno Haible.
1314 * lib/autotest/general.m4 (AT_INIT) <at_func_log_failure>: Fix
1316 (_AT_CHECK): Use less indentation, to save space.
1318 2007-11-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1320 Add witness macro for @top_build_prefix@ substitution.
1321 * lib/autoconf/status.m4 (_AC_HAVE_TOP_BUILD_PREFIX): New macro.
1322 (_AC_OUTPUT_FILE): Mention it here.
1324 2007-11-15 Paolo Bonzini <bonzini@gnu.org>
1325 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1327 * lib/autotest/general.m4 (at_func_test): Remove.
1328 (AT_INIT): Pre-extract test groups into separate files.
1329 (AT_CLEANUP): Source pre-extracted file instead of calling at_func_test.
1330 Remove at-test-source files together with the $at_group_dir.
1331 * tests/autotest.at (Long test source lines): New test.
1333 2007-11-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1335 Shell functions and variables may share a namespace.
1336 * doc/autoconf.texi (Portable Shell): Mention Solaris sh
1339 2007-11-14 Paul Eggert <eggert@cs.ucla.edu>
1341 * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Make comment match
1344 2007-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1346 * lib/autoconf/status.m4: Fix a couple of comment typos.
1348 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Use $as_me, not $me.
1350 2007-11-13 Jim Meyering <meyering@redhat.com>
1352 Clean up the rule to create "expr".
1353 * tests/Makefile.am (expr): Don't redirect directly to target.
1354 Redirect just once, not for each echo statement.
1355 Use $@, not literal "expr".
1357 2007-11-13 Paul Eggert <eggert@cs.ucla.edu>
1359 Don't worry about preprocessor when testing long long.
1360 See: http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00075.html
1361 * doc/autoconf.texi (Preprocessor Arithmetic): New section.
1362 (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT):
1363 These no longer check for preprocessor flaws.
1364 * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET):
1365 Do not check for preprocessor flaws.
1367 2007-11-13 Jim Meyering <meyering@redhat.com>
1369 Adapt dependencies, now that a version change doesn't modify configure.ac
1370 * GNUmakefile: Remove "make clean" kludge.
1371 * lib/m4sugar/Makefile.am (version.m4): Depend on Makefile, not
1373 Don't redirect directly to target.
1374 Use $@, not literal "version.m4".
1376 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1378 * doc/autoconf.texi (Making testsuite Scripts): Document
1379 ":;{" shorthand as in previous patch.
1381 2007-11-12 Paul Eggert <eggert@cs.ucla.edu>
1383 * doc/autoconf.texi (Limitations of Builtins): Document problem
1384 with { ... } a bit more clearly. Suggest ":;{" as a shorthand
1386 * lib/m4sugar/Makefile.am (version.m4): Detect 'echo' failure.
1387 Use ":;{" shorthand.
1388 * tests/Makefile.am ($(srcdir)/package.m4): Likewise.
1390 2007-11-12 Jim Meyering <meyering@redhat.com>
1392 Add more non-srcdir build support.
1393 * GNUmakefile (dummy): Split a long line.
1394 Add -v option to autoreconf invocation.
1396 Remove the autoreconf-provided INSTALL, so that we regenerate it.
1397 * GNUmakefile (dummy): Remove INSTALL.
1399 Remove racy commands to build scripts in bin/ and tests/.
1400 * man/Makefile.am (.x.1): Now that scripts in bin/ and tests/
1401 are guaranteed to be built, remove the rules that tried to build
1402 them. Before, with a parallel build, these rules could lead to
1403 two processes writing tests/wrapper.in concurrently.
1405 Build in man/ only *after* building in bin/ and tests/.
1406 * Makefile.am (SUBDIRS): The man-page-creation process runs $(MAKE)
1407 in both bin/ and tests/.
1409 Accommodate non-srcdir build-from-checkout.
1410 * build-aux/git-version-gen: Require an additional parameter: $srcdir.
1411 Use git's --git-dir=$srcdir/.git option.
1412 Add quotes, in case tarball_version_file contains shell meta-characters.
1413 * GNUmakefile (_curr-ver): Pass $(srcdir) to git-version-gen.
1414 * configure.ac: Pass "." to git-version-gen.
1416 Avoid spurious test failures due to version skew.
1417 * GNUmakefile (dummy): Run $(MAKE) clean after autoreconf -i.
1419 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1421 Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
1422 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_RUN_IFELSE):
1423 Remove conftest.dSYM directory.
1424 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT)
1425 (_AC_LANG_PROGRAM_C_, _AC_FC_MAIN, __AC_FC_NAME_MANGLING):
1426 Remove `conftest.*' recursively.
1427 * lib/autoconf/lang.m4 (AC_LINK_IFELSE): Likewise.
1428 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1430 (_AC_COMPILER_OBJEXT_REJECT): Reject *.dSYM.
1432 Report and analysis by Jeff Squyres and Peter O'Gorman.
1434 2007-11-12 Benoit Sigoure <tsuna@lrde.epita.fr>
1436 Fix typos in variable names.
1437 * tests/semantics.at (test for AC_CHECK_LIB): s/at_m/ac_m/.
1439 2007-11-11 Benoit Sigoure <tsuna@lrde.epita.fr>
1441 Document that $((expression)) is not portable.
1442 * doc/autoconf.texi (Shell Substitutions): Here.
1444 2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1446 Ignore configure --help* errors due to LINENO-impaired shells.
1447 * tests/torture.at (Configuring subdirectories, Deep Package):
1448 In the --help* tests in read-only trees, make `.' temporarily
1449 writable again for the `stderr' file, and ignore errors due to
1450 the attempt to write configure.lineno.
1451 Report by Patrick Welche.
1453 2007-11-10 Jim Meyering <meyering@redhat.com>
1455 Generate package.m4 in build-dir, not srcdir.
1456 * tests/Makefile.am (package.m4): Adjust target.
1457 Don't redirect directly to $@.
1458 (CLEANFILES): Add package.m4.
1459 ($(TESTSUITE)): Depend on just-built package.m4, not the one
1461 When running $(AUTOTEST), search "." before searching $(srcdir).
1463 Avoid a race condition that would make parallel "distclean" fail.
1464 * tests/Makefile.am (distclean-generic): Replace the default,
1465 automake-provided rule with an identical one, but with an additional
1466 dependency on distclean-local. Simply adding the dependency would
1467 cause automake not to emit the rule at all.
1468 * BUGS: Building with -jN works, now.
1470 Distribute git-version-gen.
1471 * Makefile.am (EXTRA_DIST): Add build-aux/git-version-gen,
1472 since GNUmakefile is distributed, and requires it for dist* rules.
1474 Remove two more generated files from version control.
1475 * INSTALL: Remove generated file.
1476 * lib/autoscan/autoscan.list: Remove generated file.
1478 2007-11-09 Paul Eggert <eggert@cs.ucla.edu>
1480 * GNUmakefile (PATH): Remove stray apostrophes; they become
1481 part of PATH, which isn't wanted here.
1483 2007-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1485 New config files output variable `top_build_prefix'.
1486 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Substitute
1488 * doc/autoconf.texi (Preset Output Variables): Document it.
1490 Report by Bob Friesenhahn.
1492 Avoid expr for arithmetic evaluation if the shell accepts $((...)).
1493 * lib/autotest/general.m4 (AT_INIT) <at_func_arith>: New
1494 function, to parametrize arithmetic with expr vs. the shell.
1495 Use it where possible.
1496 Suggestion by Benoit Sigoure.
1498 2007-11-03 Benoit Sigoure <tsuna@lrde.epita.fr>
1500 Adjust the documentation of autotest WRT atlocal.
1501 * doc/autoconf.texi (Making testsuite Scripts): It is not necessary,
1502 when using Automake, to write a rule to produce atlocal, since it's
1503 an AC_CONFIG_FILES. Mention that atlocal.in needs to be
1504 distributed, not atconfig.in.
1506 2007-11-04 Eric Blake <ebb9@byu.net>
1508 Update list information.
1509 * README: Mention new autoconf-commit list.
1510 * doc/autoconf.texi (Introduction): Mention autoconf-commit list.
1512 2007-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1514 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Fix comment typo.
1516 * lib/m4sugar/Makefile.am (version.m4): Another bash bug workaround.
1518 * build-aux/.gitignore: Ignore mkinstalldirs.
1520 * doc/autoconf.texi (autoreconf Invocation): Fix an underfull line.
1522 2007-11-03 Jim Meyering <meyering@redhat.com>
1524 s/-/./ in snapshot version string: 2.61a-256-8b556 -> 2.61a.256-8b556
1525 * build-aux/git-version-gen: This syncs from coreutils.
1527 Adjust the build procedure so "make check" works reliably.
1528 * README-hacking: Include an extra step between "make" and
1529 "make check" to ensure that the latter passes.
1531 Use just-built tools, when possible.
1532 * GNUmakefile (PATH): Set and export here, ...
1533 (dummy): ... rather than here.
1535 2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1536 and Andreas Schwab <schwab@suse.de>
1538 * tests/Makefile.am ($(srcdir)/package.m4): Work around bash
1541 2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1543 * configure.ac (AC_PREREQ): Require version 2.60, for
1544 AC_PROG_SED, AC_PROG_GREP.
1546 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
1547 and Jim Meyering <meyering@redhat.com>
1548 and Andreas Schwab <schwab@suse.de>
1549 and Eric Blake <ebb9@byu.net>
1551 Document a bug in GNU Bash with compound commands and redirections.
1552 * doc/autoconf.texi (Limitations of Builtins): Mention that GNU
1553 Bash doesn't properly set $? when `{ ... } >/bad' fails, and give
1556 2007-11-03 Eric Blake <ebb9@byu.net>
1558 Support m4 1.4.5 in testsuite.
1559 * tests/torture.at (Define a newline): Exclude line numbers in
1561 Reported by Ralf Wildenhues.
1563 2007-11-03 Jim Meyering <meyering@redhat.com>
1565 Remove automake-provided files from version control.
1566 * build-aux/elisp-comp: Remove file.
1567 * build-aux/install-sh: Remove file.
1568 * build-aux/missing: Remove file.
1569 * build-aux/mdate-sh: Remove file.
1570 * build-aux/.gitignore: New file.
1571 Suggestion from Ralf Wildenhues.
1573 2007-11-03 Eric Blake <ebb9@byu.net>
1575 Adjust version comparison to account for git snapshot numbers.
1576 * lib/m4sugar/m4sugar.m4 (_m4_version_unletter): Also treat - as a
1577 component separator.
1578 * doc/autoconf.texi (Number processing Macros)
1579 <m4_version_compare>: Document this change.
1580 * tests/m4sugar.at (m4@&t@_version_compare): Test it.
1582 2007-10-30 Bruno Haible <bruno@clisp.org>
1584 * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro,
1585 extracted from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT.
1586 (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT): Use it.
1587 Fixes problem with Sun C 5.[0-8] in 32-bit mode, reported in
1588 <http://lists.gnu.org/archive/html/autoconf-patches/2007-10/msg00210.html>
1589 Suggested by Paul Eggert.
1591 2007-10-28 Jim Meyering <meyering@redhat.com>
1593 * README-hacking: Autoconf, Automake, and Perl are required to build.
1594 List Gzip and Tar separately. Suggested by Ralf Wildenhues.
1596 2007-10-28 Jim Meyering <meyering@redhat.com>
1598 README-hacking: Recommend running autoreconf -vi.
1599 * GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
1600 so that we use just-built tools when they're available.
1601 Suggestions from Ralf Wildenhues.
1603 2007-10-28 Jim Meyering <meyering@redhat.com>
1605 Make inter-release --version output more useful.
1607 Now, each unofficial build has a version "number" like 2.61a-19-58dd,
1608 which indicates that it is built using the 19th change set
1609 (in _some_ repository) following the "v2.61a" tag, and that 58dd
1610 is a prefix of the commit SHA1.
1611 * build-aux/git-version-gen: New file.
1612 * configure.ac: Run it to set the version.
1613 (AM_INIT_AUTOMAKE): Don't check NEWS here.
1614 * Makefile.am (dist-hook): Arrange so that .version appears only
1615 in distribution tarballs, never in a checked-out repository.
1616 * .gitignore: Add .version here, too. Just in case.
1617 * tests/Makefile.am ($(srcdir)/package.m4): Depend on Makefile,
1618 not configure.ac, now that the version number changes automatically.
1620 Ensure that $(VERSION) is up to date for dist-related targets.
1621 * GNUmakefile: Arrange to rerun autoconf, if the version reported by
1622 git-version-gen doesn't match $(VERSION), but only for dist targets.
1624 2007-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1626 Fix `Deep Package' failure with a configure script early in PATH
1627 * tests/torture.at (Deep Package): Add `.' early in PATH.
1628 Report by Jim Meyering.
1630 2007-10-27 Jim Meyering <meyering@redhat.com>
1632 Remove all generated files from version control.
1633 * aclocal.m4: Remove.
1634 * configure: Remove.
1635 * Makefile.in: Remove, along with all other Makefile.in in subdirs.
1636 * .gitignore: Add aclocal.m4, configure and Makefile.in. Sort.
1637 * README-hacking: New file: how to build from just-checked-out sources.
1639 2007-10-23 Eric Blake <ebb9@byu.net>
1641 Improve corner case of m4_expand.
1642 * lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Rewrite more
1644 * tests/m4sh.at (AS@&t@_HELP_STRING): Test overquoted comma.
1645 * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Update
1648 2007-10-23 Paul Eggert <eggert@cs.ucla.edu>
1650 * doc/make-stds.texi: Update from gnulib.
1652 2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
1653 and Eric Blake <ebb9@byu.net>
1655 * lib/autoconf/c.m4 (AC_C_RESTRICT): Work around Sun C++ compatibility
1656 problem reported by Bruno Haible in
1657 <http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00027.html>.
1659 2007-10-22 Eric Blake <ebb9@byu.net>
1661 * doc/autoconf.texi (Particular Types): Mention bug in HP-UX 11.00
1664 2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
1666 Don't check for bug in HP-UX 11.00 cpp.
1667 * lib/autoconf/types.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
1668 Use -1ull rather than -1u, since that causes problems with gnulib; see
1669 <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
1671 2007-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1673 * tests/autotest.at (Backquote command substitution)
1674 (Multiline backquote command substitution)
1675 (Parenthetical command substitution)
1676 (Multiline parenthetical command substitution): Fix typos in
1679 2007-10-21 Eric Blake <ebb9@byu.net>
1681 * configure: Regenerate.
1683 2007-10-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1685 Fix config status generation with Tru64 ksh.
1686 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
1687 escaping of backslash in here-documents.
1689 Fix `Deep Package' test failure on FreeBSD.
1690 * tests/torture.at (Deep Package): Do not add `.' to $PATH
1691 unnecessarily. Do not try running `/bin/sh configure' with a
1692 configure script to be found in $PATH, if the shell does not do
1693 this resolution. Fixes test failure on FreeBSD.
1695 Fix config header generation with AIX awk.
1696 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): In awk
1697 script, use helper array D_is_set, as `" 0"' does not evaluate
1698 to true for AIX awk.
1700 2007-10-21 Eric Blake <ebb9@byu.net>
1702 * tests/autotest.at (Banners): Reinstate test, with typo
1705 2007-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1707 * lib/autotest/general.m4 (Defaults): Validate input ranges ...
1708 <at_func_validate_ranges>: ... using this new function.
1709 * tests/autotest.at (Keywords and ranges): Test invalid ranges.
1710 Test --list with ranges and keywords.
1711 (Banners): Remove one now-failing test.
1713 2007-10-20 Eric Blake <ebb9@byu.net>
1715 Fix testsuite --list subset.
1716 * lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
1717 back to spaces, before listing subset of tests.
1718 Reported by Ralf Wildenhues.
1720 2007-10-19 Eric Blake <ebb9@byu.net>
1722 s/parenthesis/parentheses/ where appropriate.
1723 * doc/autoconf.texi: Fix typos.
1724 * lib/m4sugar/m4sugar.m4: Likewise.
1725 Reported by Ralf Wildenhues.
1727 Document m4_expand limitation.
1728 * lib/m4sugar/m4sugar.m4 (m4_expand): Mention problem with
1730 * doc/autoconf.texi (Pretty Help Strings, Evaluation Macros)
1731 (Writing Testsuites): Mention limitations inherited from
1734 Improve AT_BANNER handling.
1735 * lib/autotest/general.m4 (BANNERS): New named diversion.
1736 (TESTS_END): Diversion no longer used.
1737 (AT_INIT) <at_func_banner, BANNERS>: Factor all banners into a
1738 shell function, which prints only as needed, using an associative
1739 array of banner text from a special diversion.
1740 <PARSE_ARGS_END>: No longer need awk to find banners.
1741 <TESTS>: Banners are no longer processed by main driver loop, so
1742 we no longer need case statement.
1743 (AT_BANNER): Rewrite to populate new diversion.
1744 (AT_SETUP): Each test invokes its own banner. No output is needed
1745 to the TESTS diversion.
1746 * doc/autoconf.texi (Writing Testsuites): Document slight
1748 * tests/autotest.at (AT_BANNERS): Enhance test.
1749 * NEWS: Document AT_BANNER.
1751 Document and test AT_BANNER.
1752 * doc/autoconf.texi (Writing Testsuites): Document AT_BANNER.
1753 * tests/autotest.at (AT_CHECK_EGREP): Share between tests.
1754 (AT_CHECK_BANNERS): New test.
1757 * doc/autoconf.texi (Text processing Macros) <m4_strip>
1758 <m4_text_wrap>: Clarify and fix typos.
1760 2007-10-18 Eric Blake <ebb9@byu.net>
1762 Ignore `make dist' changelogs in testsuite.log.
1763 * lib/autotest/general.m4 (AT_INIT) <ChangeLogs>: Prune
1764 directories matching AT_PACKAGE_TARNAME-*.
1766 Fix AT_TESTED, AT_KEYWORDS.
1767 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Warn if separator
1768 occurs in string, as duplicates may be added.
1769 (_m4_append_uniq): New helper macro.
1770 (m4_append_uniq_w): New macro.
1771 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Fix
1772 duplication bug by using new macro.
1773 (AT_INIT) <at_tested>: Restore newline separators. Invoke tested
1774 programs with stdin redirected, so programs that don't
1775 understand --version won't try to behave interactively.
1776 * tests/autotest.at (Tested programs): Catch this bug.
1777 * tests/m4sugar.at (m4@&t@_append): Test new macro.
1778 * tests/local.at (AT_TESTED): Add m4, perl.
1779 * doc/autoconf.texi (Text processing Macros): Document
1780 m4_append_uniq_w, and update text on m4_append.
1781 * NEWS: Document the addition.
1783 2007-10-17 Eric Blake <ebb9@byu.net>
1786 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Convert
1788 (AT_INIT) <at_func_create_debugging_script>: ...to shell
1790 (AT_INIT): Defer function declarations until after --help,
1791 --version. Format functions consistently, trying to fit in 80
1793 (TEST_FUNCTIONS): Based on recent changes, rename...
1794 (TEST_GROUPS): ...to this.
1797 * m4/m4.m4 (AC_PROG_GNU_M4): Also check for frozen file support.
1798 * configure: Regenerate.
1799 Reported by Bob Friesenhahn.
1801 Test recent additions.
1802 * tests/m4sugar.at (m4@&t@_map, m4@&t@_combine)
1803 (m4@&t_max and m4@&t_min): New tests.
1804 * doc/autoconf.texi (Evaluation Macros) <m4_apply>: Enhance
1807 2007-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1809 * TODO: multiline args in config files and headers work now.
1811 Autotest: do not use shell functions for individual tests.
1812 * lib/autotest/general.m4 (AT_INIT) <at_func_test>: Merely
1813 extract the source test source, do not invoke it.
1814 (AT_SETUP, AT_CLEANUP): Source test code outside shell function.
1815 * tests/autotest.at (Fallacy): Actually let the inner suite fail,
1816 expect exit status of 1.
1817 * tests/autotest.at (Skip): New test, for bogus zsh exit status.
1819 * lib/autotest/general.m4 (at_func_test): Fix test extraction
1822 2007-10-17 Eric Blake <ebb9@byu.net>
1824 Fix m4_combine for empty suffix list.
1825 * lib/m4sugar/m4sugar.m4 (m4_combine): Check for suffix list.
1826 * doc/autoconf.texi (Text processing Macros): Document this.
1828 Add m4_combine, based on Libtool's lt_combine.
1829 * lib/m4sugar/m4sugar.m4 (m4_combine): New macro.
1830 * doc/autoconf.texi (Text processing Macros): Document it.
1833 2007-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1835 Fix `configure --help=recursive' in unconfigured/read-only trees.
1836 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Avoid errors when `.'
1837 is not writable, use 'cp -p' in this case, in the hope that it
1838 will not actually be needed. Still try removing files, in case
1839 of other write errors.
1840 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): For ac_confdir,
1841 use $as_myself, not $0.
1842 (_AC_INIT_HELP): For --help=recursive, if the subdir does not
1843 exist, try again in the the source tree. This change assumes
1844 that the subpackage configure script is capable of running
1845 --help=recursive in the source tree.
1846 * tests/torture.at (Configuring subdirectories, Deep Package):
1847 Adjust tests to expose both issues, also try invocation as
1848 `sh configure ...' and plain `configure ...' with PATH adjusted.
1849 * NEWS, THANKS: Update.
1850 Report by Hans Ulrich Niedermann.
1852 2007-10-16 Paul Eggert <eggert@cs.ucla.edu>
1854 Check for 64-bit int errors in HP-UX 10.20 preprocessor.
1855 Problem reported by H.Merijn Brand in
1856 <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
1857 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1858 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
1859 Check that preprocessor handles 64-bit ints, too.
1861 2007-10-16 Eric Blake <ebb9@byu.net>
1863 m4_map is a looping construct.
1864 * lib/m4sugar/m4sugar.m4 (m4_map, _m4_map, m4_map_sep): Move.
1866 Fix m4_map, and add some more utility macros.
1867 * lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
1868 (m4_echo, m4_make_list): New documented macros.
1869 (_m4_quote, _m4_shift2): New helper macros.
1870 (m4_map): Change semantics to allow calling macro without
1872 (m4_map_sep): Likewise. Also change semantics to quote separator,
1873 to match m4_join and m4_append.
1874 (m4_version_unletter): Fix use of m4_map.
1875 * doc/autoconf.texi (Evaluation Macros): Document m4_apply,
1876 m4_count, m4_dquote_elt, m4_echo, m4_make_list.
1877 (Text processing Macros): Mention m4_dquote as a faster
1878 alternative to joining with commas.
1879 (Looping constructs): Document m4_map, m4_map_sep.
1880 * NEWS: Mention new macros.
1882 A few more m4sugar improvements, to benefit libtool.
1883 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts, _m4_shiftn): Reduce size
1884 of expansion by avoiding extra uses of $@.
1885 (m4_shiftn): Avoid extra dnl, and forbid shifting by 0.
1886 (_m4_cdr): New helper macro.
1887 (_m4_map, m4_map_sep): Use it to reduce size of expansion.
1888 (_m4_shift3): New helper macro.
1889 (_m4_foreach): Swap argument order, and use new macro to reduce
1891 * doc/autoconf.texi (Looping constructs) <m4_shiftn>: Mention that
1892 count must be positive.
1894 * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Fix typo.
1895 Reported by Ralf Wildenhues.
1897 2007-10-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1899 * doc/autoconf.texi (Portable Shell): Improve description of zsh
1900 4.x function subshell bug with exit and trap.
1902 2007-10-15 Eric Blake <ebb9@byu.net>
1904 Enhance AS_HELP_STRING.
1905 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't expand arguments,
1906 and reduce number of expansions.
1907 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Rework to use m4_expand,
1908 and to take indent and wrap column numbers.
1909 * tests/m4sh.at (AS@&t@_HELP_STRING): Update the test.
1910 * doc/autoconf.texi (Pretty Help Strings): Document details about
1912 (Text processing Macros): Minor tweaks.
1913 * NEWS: Document this change.
1915 Fix 2007-10-03 regression with AT_SETUP([a, b]).
1916 * lib/m4sugar/m4sugar.m4 (m4_expand): New macro.
1917 (m4_text_box): Use it.
1918 * lib/autotest/general.m4 (AT_SETUP): Use it.
1919 * lib/m4sugar/m4sh.m4 (_AS_RUN): Use it.
1920 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Test this.
1921 * NEWS: Revert caveat about semantics change on comma.
1922 * doc/autoconf.texi (Evaluation Macros): Document m4_expand.
1924 2007-10-13 Eric Blake <ebb9@byu.net>
1926 Change m4_join to match libtool's ltsugar semantics.
1927 * lib/m4sugar/m4sugar.m4 (m4_join): Just define this, not defun.
1928 Ignore empty arguments, using...
1929 (_m4_join): ...this new helper.
1930 * tests/m4sugar.at (m4@&t@_join): New test.
1931 * doc/autoconf.texi (Text processing Macros): Document new
1932 semantics of m4_join.
1934 Make AC_PREREQ faster and more robust.
1935 * lib/m4sugar/m4sugar.m4 (m4_ignore, m4_unquote): New macros.
1936 (m4_version_prereq): Inline constant expansions.
1937 (m4_list_cmp): Reduce number of expansions, by avoiding m4_case.
1938 Rewrite in terms of [] list, not () list.
1939 (_m4_list_cmp, _m4_version_unletter): New helper macros.
1940 (m4_version_unletter): Write wrapper around new implementation to
1941 preserve old semantics.
1942 (m4_version_compare): Pass correct type of list, and avoid
1943 overhead of flattening expressions too early.
1944 (m4_do): Move to be near other quoting macros.
1945 (m4_max, m4_min): Always result in decimal output.
1946 * doc/autoconf.texi (Looping constructs): Add m4_car, m4_cdr.
1948 (Evaluation Macros): ...here. Add m4_ignore, m4_unquote.
1949 (Text processing Macros): Move m4_version_compare...
1950 (Number processing Macros): ...to this new node; document m4_cmp,
1951 m4_list_cmp, m4_sign, m4_max, m4_min.
1952 * tests/m4sugar.at (m4@&t@_version_compare): Enhance test, to pick
1953 up on bugs fixed by this patch.
1954 * NEWS: Document new macros.
1956 2007-10-12 Eric Blake <ebb9@byu.net>
1958 * doc/autoconf.texi (Text processing Macros): Fix bad merge.
1959 (Reporting Messages): Fix underfull hbox.
1961 Some more m4sugar documentation.
1962 * lib/m4sugar/m4sugar.m4: Clean up macro order.
1963 * doc/autoconf.texi (Programming in M4): Lighten the warning on
1964 using m4sugar; it is stabilizing and useful.
1965 (Redefined M4 Macros): Touch up wording on M4 builtins; sort. Add
1966 m4_divert, m4_undivert, __file__, __line__, __oline__.
1967 (Diagnostics): New node, documenting m4_assert, m4_errprintn,
1968 m4_fatal, m4_location, m4_warn.
1969 (Diversion support): New node, documenting m4_divert_push,
1970 m4_divert_pop, m4_divert_text, m4_divert_once.
1971 (Text processing Macros): Sort. Add m4_flatten, m4_join,
1972 m4_newline, m4_strip, m4_text_box, m4_text_wrap.
1973 (Reporting Messages): Mark AC_DIAGNOSE, AC_WARNING, and AC_FATAL
1975 (Printing Messages): Change cross-reference.
1977 Document interaction of recent m4_append change with Libtool HEAD.
1978 * lib/m4sugar/m4sugar.m4 (m4_append): Document semantics change.
1979 (m4_append_uniq): Add new parameters, based on lt_append_uniq.
1980 * tests/m4sugar.at (m4@&t@_append): New test.
1981 * NEWS: Document semantics change.
1982 * doc/autoconf.texi (Text processing Macros): Likewise.
1984 s/AC_VERSION/AC_AUTOCONF_VERSION/.
1985 * doc/autoconf.texi (Versioning): Change the name.
1987 * lib/autoconf/general.m4 (AC_AUTOCONF_VERSION): Likewise.
1988 * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Likewise.
1989 Suggested by Ralf Wildenhues.
1992 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
1993 (_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
1995 * doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
1996 (Programming in M4sh, Macro Names): Beef up description of
1997 namespaces reserved for autoconf.
1998 * configure: Regenerate.
2000 2007-10-12 Eric Blake <ebb9@byu.net>
2001 and Paolo Bonzini <bonzini@gnu.org>
2003 Speed up execution of subset of testsuite.
2004 * lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
2005 (AT_INIT) <at_func_test>: New shell function.
2006 (AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
2007 (AT_INIT) <at_test_source> New variable, names file that holds
2008 current test function definition.
2009 (AT_SETUP): Start the shell function at_func_test_#, into the
2010 TEST_FUNCTIONS diversion.
2011 (AT_CLEANUP): End the shell function. Simplify the TESTS
2012 diversion to invoke the function.
2014 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2016 * .gitignore: Ignore tags and TAGS files.
2018 2007-10-11 Eric Blake <ebb9@byu.net>
2020 Config header generation followup.
2021 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
2022 which won't work with the preprocessor nor with the awk
2024 * tests/torture.at (Define a newline): Test raw newline detection,
2026 * doc/autoconf.texi (Defining Symbols): Document recent change to
2027 allow backslash-newline.
2030 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2032 * lib/autotest/general.m4: Put function braces in separate line.
2034 2007-10-10 Eric Blake <ebb9@byu.net>
2036 Avoid some overhead from m4_defn and m4_popdef.
2037 * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
2038 pass on first argument, since we are documented that way.
2039 (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
2040 check where it is safe to do so.
2041 (m4_append): Likewise, and quote the separator.
2042 (m4_text_box): Likewise, and avoid regex, also be robust to
2043 expansion and quadrigraphs.
2045 Another AC_DEFINE speedup.
2046 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
2048 (_AC_DEFINE_Q): ...here, and only do it once.
2049 * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
2050 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
2051 introduced 2007-10-05.
2054 * lib/autoconf/general.m4: Use consistent indentation.
2055 * configure: Regenerate.
2057 * NEWS: Announce recent round of speed optimizations.
2059 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2061 * NEWS: Announce shell function usage in Autotest.
2063 2007-10-10 Eric Blake <ebb9@byu.net>
2064 and Paul Eggert <eggert@cs.ucla.edu>
2066 Reduce number of forks at startup.
2067 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
2069 * configure: Regenerate.
2071 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2072 and Paul Eggert <eggert@cs.ucla.edu>
2074 Use awk for config header generation.
2075 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
2076 (_AC_OUTPUT_HEADERS_PREPARE): New macro. Rewrite of the config
2077 header machinery for use with awk and placement outside the main
2078 config.status instantiation loop. Retain multi-line defines
2079 through backslash-newline combinations, do not split the script
2081 (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
2082 (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
2084 (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
2087 * tests/torture.at (#define header templates): Extend test by
2088 several more cases: white space before and after `#', macros
2089 with parameters in config.hin and as defines, multi-line macro
2091 (Torturing config.status): Use a define value twice the length
2092 in order to exercise the awk literal string limit.
2093 (Substitute and define special characters): Also try special
2094 delimiter, to exercise the special-case code.
2095 Suggestion by Eric Lemings.
2097 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2099 * tests/local.at (AT_COPYRIGHT): Bump copyright years.
2101 2007-10-09 Eric Blake <ebb9@byu.net>
2103 Improve header of bin/autoconf.
2104 * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
2105 * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
2107 * bin/autoconf.as: Put copyright up front in generated file.
2109 * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
2111 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2113 * doc/install.texi (Basic Installation): Document `uninstall'.
2114 * INSTALL: Regenerate.
2115 Suggestion by Roberto Bagnara.
2117 2007-10-08 Paul Eggert <eggert@cs.ucla.edu>
2119 * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
2121 Adjust doc. to match latest gnulib.
2122 * build-aux/texinfo.tex: Sync from gnulib.
2123 * doc/standards.texi: Likewise.
2124 * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
2125 Documentation License" and remove the subsection. This simplifies
2126 the manual a bit and is more like what other GNU projects do
2129 2007-10-08 Eric Blake <ebb9@byu.net>
2132 * configure: Regenerate.
2134 Fix regression in m4_text_wrap from 2007-10-05.
2135 * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
2137 (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
2139 * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
2140 * tests/autotest.at (Long test title, Longer test title): Test
2141 this fix, beyond what AS_HELP_STRING already tests.
2143 Avoid m4 warnings on bad m4_format usage.
2144 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
2146 * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
2147 enough arguments are provided.
2149 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
2151 * doc/autoconf.texi (Shell portability): Document shell function
2154 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
2156 * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
2157 at_func_check_skip, at_func_check_status, at_func_filter_trace,
2158 at_func_log_failure shell functions. Use test -s to avoid
2159 useless diff invocations.
2160 (at_func_check_newline): Renamed from at_check_newline.
2161 (AT_SETUP): Define AT_captured_files to empty.
2162 (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
2163 (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir. Use all
2164 the shell functions.
2166 2007-10-05 Paul Eggert <eggert@cs.ucla.edu>
2168 Don't assume "." is writeable, for commands like "autoconf --version".
2169 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
2170 different heuristic instead, one that doesn't rely on creating
2173 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
2176 2007-10-05 Jim Meyering <meyering@redhat.com>
2178 Avoid makeinfo warnings.
2179 * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
2180 (Looping constructs): Add ` ' after @defmac'd name, m4_do.
2182 2007-10-05 Eric Blake <ebb9@byu.net>
2184 Resolve Python issue 1676135 regarding configure directory args.
2185 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
2186 slashes from directory arguments.
2187 * tests/base.at (configure directories): New test.
2188 * doc/autoconf.texi (Installation Directory Variables): Document
2192 Reported by Björn Lindqvist.
2194 Provide better short-circuiting operation.
2195 * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
2196 (m4_text_wrap): Use it. Also avoid useless m4_for.
2197 * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
2199 (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
2200 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
2202 * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
2203 documentation. Sort m4_mkstemp, m4_undefine. Move m4_ifndef...
2204 (Conditional constructs): ...here, to new section. Also document
2205 m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
2206 m4_bpatsubsts, and m4_default.
2207 (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
2210 2007-10-04 Eric Blake <ebb9@byu.net>
2212 Fix recent testsuite failures.
2213 * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
2214 that must not be re-expanded after AS_ESCAPE.
2215 * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
2216 checking if it is an identifier.
2219 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
2220 leading whitespace, as it caused space-tab in testsuite.
2221 (AT_INIT): Avoid trailing newlines in testsuite.
2223 One more round of m4_foreach_w speedups.
2224 * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
2226 (_m4_split): Avoid useless expansions inside definition. Move
2227 argument defaulting...
2228 (m4_split): ...here. Change alternate quote to something less
2229 likely to appear in $1. Also, special case space as regexp...
2230 (m4_foreach_w): ...to avoid regexp on single-term list.
2231 (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
2232 useless expansions inside definition.
2233 * tests/m4sugar.at (m4@&t@_split): Add tests.
2235 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
2237 * general.m4 (AT_INIT): Add at_check_newline function.
2238 (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
2239 (_AT_CHECK): Don't use at_trace_this.
2241 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
2243 Fix previous commit.
2244 * lib/autotest/general.m4 (AT_LINE): Fix regex.
2246 2007-10-04 Eric Blake <ebb9@byu.net>
2248 Speed up building testsuites.
2249 * lib/autotest/general.m4 (AT_LINE): Only use regex when file
2250 changed since last time. Use simpler regex.
2252 2007-10-03 Eric Blake <ebb9@byu.net>
2254 Optimize checking for identifiers.
2255 * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
2256 macros, more efficient than regex on m4_re_word.
2257 * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
2258 Rewrite in terms of new macro. As a side-effect, AC_DEFINE can
2260 * configure: Regenerate.
2262 Remove some XFAILs, and make AT_SETUP output line up.
2263 * lib/autotest/general.m4 (AT_SETUP): Only expand description
2264 once; thereafter, use its expansion, properly quoted.
2265 * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
2266 expansion with arguments, and check for aligned output.
2267 (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
2268 Add a test for macros with parameters.
2269 * NEWS: Document the semantics change.
2270 * tests/base.at: Fix test titles containing commas.
2271 * tests/compile.at: Likewise.
2272 * tests/tools.at: Likewise.
2273 * tests/torture.at: Likewise.
2275 Another round of regex avoidance.
2276 * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
2277 (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
2278 (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
2279 (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
2280 character ranges useful in m4_translit.
2281 (m4_toupper, m4_tolower): Optimize the constant portion of
2283 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
2284 creates $, and reject [] thanks to AS_TR_SH rewrite.
2285 (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
2286 (AS_ESCAPE): Factor...
2287 (_AS_ESCAPE): ...into new macro, with second argument required.
2288 Avoid regex in common case.
2289 (_AS_QUOTE): Use new macro.
2292 * lib/autoconf/types.m4: Avoid space-tab.
2293 * lib/m4sugar/m4sh.m4: Use tab consistently.
2295 2007-10-03 Paul Eggert <eggert@cs.ucla.edu>
2297 * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
2298 (m4_shiftn): Remove no-longer-needed optimization. Perhaps we
2299 should remove m4_shiftn entirely?
2300 (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
2301 Prefer m4_shift2 and m4_shift3 to m4_shiftn.
2302 * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
2303 * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
2304 * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
2306 2007-10-03 Eric Blake <ebb9@byu.net>
2309 * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
2311 2007-10-02 Eric Blake <ebb9@byu.net>
2313 Optimize appending text.
2314 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
2318 * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
2319 lot of hot spots; optimize it for 2 and 3 shifts.
2321 Optimize AC_PREREQ and other m4sugar numerics.
2322 * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
2323 (m4_cmp): Compare arbitrary expressions, without overflow.
2324 (m4_version_unletter): Also recognize capital letters.
2325 (m4_version_compare): Avoid regex when splitting version number
2328 2007-10-01 Eric Blake <ebb9@byu.net>
2330 Once again, reject IRIX m4.
2331 * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
2332 implementations that ignore --trace.
2333 * configure: Regenerate.
2334 Reported by Ralf Wildenhues.
2336 Fix regression in AC_DEFINE([macro(with_arg)]).
2337 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
2338 quotes with a careless m4_substr.
2340 2007-09-30 Eric Blake <ebb9@byu.net>
2342 Allow nameless iteration.
2343 * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
2345 * tests/m4sugar.at (myvar): Test this.
2347 2007-09-29 Eric Blake <ebb9@byu.net>
2349 Speed optimization: avoid m4 regex when other algorithms work.
2350 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
2351 (_AS_QUOTE_IFELSE): Likewise.
2352 * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
2353 (m4_bpatsubsts): Split...
2354 (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
2356 (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
2357 (m4_qlen): Optimize on short strings, to avoid regex.
2358 (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
2359 * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
2360 (AC_DEFINE_TRACE): Likewise.
2362 2007-09-28 Eric Blake <ebb9@byu.net>
2364 Oops - my earlier 'optimization' caused a regression.
2365 * tests/local.at (AT_CHECK_M4): Fix typo.
2367 2007-09-27 Eric Blake <ebb9@byu.net>
2368 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2370 Catch even more common AC_CACHE_VAL mistakes.
2371 * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
2372 lacks '_cv_', or if AC_SUBST appears in body.
2373 * tests/base.at (AC_CACHE_CHECK): Test this change.
2375 2007-09-27 Stepan Kasal <kasal@ucw.cz>
2376 and Eric Blake <ebb9@byu.net>
2378 Autotest no longer caters to Ultrix redirection limitation.
2379 * doc/autoconf.texi (Writing testsuite.at): Remove the
2380 limitation that the first parameter of AT_CHECK cannot
2381 contain redirection.
2382 (File Descriptors): Mention that Ultrix limitation is no longer a
2383 show-stopper in modern code.
2384 * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
2385 parameter is `stderr' or `experr'. Optimize if it was `ignore'.
2386 * lib/autotest/general.m4 (AT_CHECK): Update comment.
2388 2007-09-27 Eric Blake <ebb9@byu.net>
2390 Squelch changeword in m4sugar.
2391 * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
2392 feature of m4 1.4.x.
2394 Configure whitespace touchups.
2395 * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
2396 installation directories, and avoid TAB, in configure --help
2398 * configure.ac: Avoid extra trailing newline.
2399 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
2400 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
2401 config.status --help output.
2402 * configure: Regenerate.
2404 Fix underquotation in AS_HELP_STRING.
2405 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
2407 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
2408 first-prefix argument.
2409 * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
2410 * NEWS: Document AS_HELP_STRING fix.
2412 Autotest formatting touchups.
2413 * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
2415 (PATH): Simplify computation of new PATH.
2417 2007-09-26 Eric Blake <ebb9@byu.net>
2419 Fix testsuite breakage in last patch.
2420 * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
2422 * tests/torture.at (@%:@define header templates): Rename, so that
2423 output lines up correctly.
2425 More font-lock happiness.
2426 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
2429 2007-09-25 Eric Blake <ebb9@byu.net>
2432 * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
2433 * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
2435 Improve documentation of M4 parameter expansion.
2436 * doc/autoconf.texi (Quoting and Parameters): New section.
2437 (Quotation and Nested Macros): Improve wording.
2439 Improve C99 detection.
2440 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
2441 avoid deprecation warning with icc.
2443 Reported by Ted Bullock.
2445 2007-09-24 Jim Meyering <jim@meyering.net>
2447 Whenever possible, use the vertical bar as sed delimiter.
2448 * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
2450 * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
2451 [ac_dir_suffix]: Use "|", not "," as sed delimiter.
2452 * tests/mktests.sh (as_me): Likewise.
2453 * lib/freeze.mk (check-forbidden-patterns): Likewise.
2454 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
2455 * configure: Regenerate.
2456 * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
2457 * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
2458 in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
2459 This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
2461 2007-09-22 Jim Meyering <jim@meyering.net>
2464 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
2465 2004-05-31 change also with a comment in the code.
2467 2007-09-20 Eric Blake <ebb9@byu.net>
2469 More contribution housekeeping.
2471 * AUTHORS: Sort, reflect recent assignment from Helge Deller.
2473 Ignore additional files, when copying cross-repository.
2474 * .gitignore: Ignore CVS directories, emacs edits.
2475 * .cvsignore: Ignore .git directory, emacs edits.
2477 2007-09-15 Eric Blake <ebb9@byu.net>
2479 Provide AC_VERSION, not m4_AUTOCONF_VERSION.
2480 * doc/autoconf.texi (Text processing Macros): Remove mention of
2481 m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
2483 (Notices): Move AC_PREREQ...
2484 (Versioning): ...to this new section, alongside the new AC_VERSION
2485 alias for the undocumented m4_PACKAGE_VERSION.
2486 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
2487 * lib/autoconf/general.m4 (AC_VERSION): New macro.
2488 * NEWS: Update to match this rename.
2489 * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
2491 * tests/tools.at (autoconf: AC_VERSION): New test.
2492 Suggested by Paolo Bonzini and Benoit Sigoure.
2494 2007-09-14 Eric Blake <ebb9@byu.net>
2496 Prepare for conversion to git.
2497 * doc/.cvsignore: Avoid multiple listings on one line.
2498 * bin/.cvsignore: Likewise.
2499 * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
2500 lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
2501 lib/autoscan/.gitignore, lib/autotest/.gitignore,
2502 lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
2503 tests/.gitignore: New files, identical to .cvsignore counterpart.
2505 2007-09-13 Eric Blake <ebb9@byu.net>
2508 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
2510 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
2511 * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
2512 * configure: Regenerate.
2514 Clean up 'make dist' of previous patch.
2515 * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
2516 (CLEANFILES): Don't clean the stamp, since we distribute the
2517 generated files pre-built.
2518 (MAINTAINERCLEANFILES): Clean it here instead.
2519 * tests/Makefile.in: Regenerate.
2521 Avoid parallel 'make check' issue.
2522 * tests/Makefile.am (mktests.stamp): New witness.
2523 (TESTSUITE_GENERATED_AT): Use it.
2524 (CLEANFILES): Clean the witness.
2525 * tests/.cvsignore (mktests.stamp): Ignore the witness.
2527 Document another awk pitfall.
2528 * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
2529 limitation of field variables in END.
2530 Reported by Gary V. Vaughan.
2532 * AUTHORS: Add missing entries.
2534 2007-09-12 Eric Blake <ebb9@byu.net>
2536 Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
2537 * doc/autoconf.texi (Text processing Macros): Document
2538 m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
2539 (Redefined M4 Macros): Document m4_ifndef.
2540 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
2541 can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
2542 used it while it was undocumented.
2543 * NEWS: Document this change.
2544 * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
2545 * lib/m4sugar/Makefile.in: Regenerate.
2546 * tests/m4sugar.at (m4@&t@_version_compare): New test.
2547 Reported by Bruno Haible.
2549 * doc/autoconf.texi (Generic Compiler Characteristics): Add
2550 missing index entries.
2552 2007-09-11 Eric Blake <ebb9@byu.net>
2554 Centralize all system extensions checks.
2555 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
2556 from AC_AIX, AC_GNU_SOURCE, AC_MINIX. Add Interix support.
2557 (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
2558 AC_USE_SYSTEM_EXTENSIONS.
2559 (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
2560 (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
2561 * doc/autoconf.texi (Posix Variants): Reword this section,
2562 emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
2563 rather than a series of system-specific checks.
2564 (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
2566 * NEWS: Document this change.
2568 Reported by Martin Koeppe.
2570 2007-09-08 Eric Blake <ebb9@byu.net>
2572 Clean up obsolete macros references.
2573 * doc/autoconf.texi: Add anchors to support better
2575 (Particular Structures): Move obsolete macros descriptions...
2576 (External Software): Likewise.
2577 (Package Options): Likewise.
2578 (Obsolete Macros): ...to here. Add cross-references to
2579 documentation on replacements.
2580 * NEWS: Mention that these macros have been obsolete for a while
2581 now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
2583 Improve M4 path searching during configure.
2584 * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
2586 (_AC_PATH_PROG_FEATURE_CHECK): Rename...
2587 (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
2588 parameter, and kill side effects.
2589 (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
2590 (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
2591 * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
2593 (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
2594 allow bootstrapping with autoconf 2.61.
2595 * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
2596 * configure: Regenerate.
2597 * doc/autoconf.texi (Generic Programs): Document new macro.
2598 * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
2600 * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
2601 * NEWS: Document the change.
2603 Reported by Hans Aberg.
2605 * doc/autoconf.texi (Generic Programs): Fix typo.
2607 2007-09-06 Eric Blake <ebb9@byu.net>
2609 * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
2610 :, and make it clear that optional @var{path} defaults to $PATH.
2611 (Erlang Compiler and Interpreter): Likewise.
2614 * doc/autoconf.texi: Avoid lines > 80 columns when possible.
2615 Reword some paragraphs to avoid overfull, underfull hbox
2616 warnings. Add index entries to avoid overfull vbox warnings.
2618 2007-09-05 Eric Blake <ebb9@byu.net>
2620 * NEWS: Adjust wording for AC_CONFIG_LINKS.
2621 Reported by Ralf Wildenhues.
2623 2007-09-03 Eric Blake <ebb9@byu.net>
2625 * NEWS: Document fixes that have been applied since 2.61a.
2628 * THANKS: Update, and convert to UTF-8 encoding.
2629 * AUTHORS: Likewise.
2631 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2633 * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
2634 names beginning with `-' again.
2636 2007-08-22 Stepan Kasal <kasal@ucw.cz>
2637 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2639 * doc/autoconf.texi (Defining Directories): Mention
2640 AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
2642 2007-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2644 * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
2645 here, this macro is expanded by AC_INIT. Fixes 2.60 regression.
2646 * tests/base.at (configure arguments): New test.
2648 Report by Olaf Lenz.
2650 * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
2651 arguments in comment.
2652 Report by Vincent Torri <vtorri at univ minus evry dot fr>.
2654 2007-08-20 Benoit Sigoure <tsuna@lrde.epita.fr>
2656 * doc/autoconf.texi (File System Conventions): Index the proper
2657 way of detecting absolute file names.
2659 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2661 * build-aux/config.guess, build-aux/config.sub,
2662 build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
2663 build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
2664 doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
2665 * doc/autoconf.texi (GNU Free Documentation License): Adjust for
2666 sectioning change in fdl.texi.
2668 * bin/autoconf.as: Update --version output to match current GCS.
2669 * bin/autoheader.in: Likewise.
2670 * bin/autom4te.in: Likewise.
2671 * bin/autoreconf.in: Likewise.
2672 * bin/autoscan.in: Likewise.
2673 * bin/autoupdate.in: Likewise.
2674 * bin/ifnames.in: Likewise.
2676 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2678 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
2679 file to itself if source and build trees coincide.
2680 * tests/torture.at (AC_CONFIG_LINKS and identical files): New
2682 Report by Sebastian Freundt <hroptatyr@gna.org>.
2684 2007-07-20 Paul Eggert <eggert@cs.ucla.edu>
2686 Reword the copyright notices to match what's suggested in GPLv3.
2687 In ChangeLog files, use more-permissive notice rather than GPL, as
2688 per usual GNU standards these days.
2690 2007-07-13 Paul Eggert <eggert@cs.ucla.edu>
2692 * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
2693 limitation reported by Leo Moisio in
2694 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
2696 2007-07-03 Paul Eggert <eggert@cs.ucla.edu>
2698 * COPYING: Update to GPLv3. All uses changed.
2700 2007-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2701 and Paul Eggert <eggert@cs.ucla.edu>
2703 * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
2706 2007-06-17 Noah Misch <noah@cs.caltech.edu>
2708 * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
2709 * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
2710 `srcdir' as subdirectory of `builddir'.
2712 2007-06-13 Noah Misch <noah@cs.caltech.edu>
2714 * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
2715 * tests/autotest.at (srcdir propagation): New test.
2717 Reported by Mike Frysinger.
2719 2007-06-13 Paul Eggert <eggert@cs.ucla.edu>
2721 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
2722 Problem reported by Fred Kreek in
2723 <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
2724 * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
2725 (Macro Names, Defining Directories): Don't mention PATH as a name
2726 for a fully qualified file name, as this usage violates the GNU
2727 coding standards and we shouldn't recommend it.
2729 * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
2730 string and then assume shell builtins like "test" will work.
2732 2007-06-12 Noah Misch <noah@cs.caltech.edu>
2734 * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
2735 not a valid shell variable name.
2736 * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
2737 * tests/torture.at (AC_SUBST: variable name validation): New test.
2738 Reported by Andreas Schwab.
2740 2007-06-04 Noah Misch <noah@cs.caltech.edu>
2742 * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
2743 works with both C and C++.
2745 2007-06-03 Noah Misch <noah@cs.caltech.edu>,
2746 Bruno Haible <bruno@clisp.org>
2748 * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
2751 2007-05-31 Paul Eggert <eggert@cs.ucla.edu>
2753 * doc/autoconf.texi (Particular Types): Give example of use for
2756 2007-05-29 Stepan Kasal <kasal@ucw.cz>
2758 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
2760 2007-05-28 Paul Eggert <eggert@cs.ucla.edu>
2762 * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
2763 define HAVE_INT8_T, and likewise for similar macros.
2764 Problem reported by Patrick Welche in
2765 <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
2767 2007-05-25 Noah Misch <noah@cs.caltech.edu>
2769 * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
2771 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
2773 * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
2774 choice, since that's what we do with --enable-largefile etc.
2775 Redo indenting and assignments to simplify things a bit, and make
2776 the parens work with Emacs.
2778 * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
2779 in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
2782 2007-05-21 Noah Misch <noah@cs.caltech.edu>
2784 * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
2785 * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
2787 2007-05-21 Bruno Haible <bruno@clisp.org>
2789 * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
2790 * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
2791 * doc/autoconf.texi (Generic Compiler Characteristics): Move
2792 renamed AC_OPENMP documentation here, from "C compiler".
2793 Mention C++ and Fortran.
2795 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
2797 * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
2799 2007-05-21 Bruno Haible <bruno@clisp.org>
2801 * NEWS: Mention AC_C_OPENMP.
2802 * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
2803 * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
2804 Based in part on Steven G. Johnson's investigations for the AX_OPENMP
2805 macro in the Autoconf macro archive.
2807 2007-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2809 * bin/autom4te.in: Fix typos.
2811 2007-05-16 Noah Misch <noah@cs.caltech.edu>
2813 * bin/autoconf.as: Handle `-' just like other input files.
2814 * bin/autom4te.in (parse_args): Pass `-' through.
2815 (handle_output): Skip the forbidden token search if we read from stdin.
2816 (up_to_date): Always treat stdin as out of date.
2817 * tests/tools.at (autoconf: input from stdin): New test.
2818 (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
2820 2007-05-16 Stepan Kasal <kasal@ucw.cz>
2822 * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
2823 parameters for AT_CLEANUP.
2824 * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
2826 2007-05-14 Paul Eggert <eggert@cs.ucla.edu>
2828 * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
2829 * doc/autoconf.texi (C Compiler): Likewise.
2831 2007-05-14 Noah Misch <noah@cs.caltech.edu>
2833 * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
2835 2007-05-09 Stepan Kasal <kasal@ucw.cz>
2837 * doc/autoconf.texi: Direntry for "autoconf Invocation"
2838 renamed to "autoconf-invocation"
2840 * doc/autoconf.texi (Caching Results): The CACHE-ID variable
2841 in the examples should not use the internal "ac_" prefix.
2843 2007-05-05 Noah Misch <noah@cs.caltech.edu>
2845 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
2846 * doc/autoconf.texi ($@, case): Document Zsh limitations.
2848 2007-05-03 Stepan Kasal <kasal@ucw.cz>
2850 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
2851 Reorganize the comments before and in the macro.
2853 2007-05-02 Stepan Kasal <kasal@ucw.cz>
2855 * lib/autoconf/lang.m4, lib/autoconf/c.m4,
2856 lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
2857 section titles and other comments; no code change.
2859 2007-05-01 Kevin Ryde <user42@zip.com.au>
2861 * doc/autoconf.texi (Particular Programs): Typo
2862 @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
2864 2007-04-30 Paul Eggert <eggert@cs.ucla.edu>
2866 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
2867 'configure' will fail if the shell lacks proper support for shell
2868 functions. Suggested by RMS.
2870 2007-04-29 Paul Eggert <eggert@cs.ucla.edu>
2872 * doc/autoconf.texi (Limitations of Builtins): Correct the warning
2873 about Solaris /bin/printf '%010000x' 123. Problem reported by
2876 2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
2878 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
2879 for a.* when searching for executables, as this prevents users
2880 from having files like a.c. Problem reported by Ralf Wildenhues in:
2881 http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
2882 This fixes a problem introduced on 2000-12-19.
2884 2007-04-26 Paul Eggert <eggert@cs.ucla.edu>
2886 * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
2887 /bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko
2890 2007-04-12 Paul Eggert <eggert@cs.ucla.edu>
2892 * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
2893 AC_CHECK_TYPE, AC_CHECK_TYPES.
2894 * doc/autoconf.texi (Generic types): C types must be type-names
2895 (the C terminology), not type-ids (the C++ term). C++ types
2896 must not be anonymous.
2897 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
2898 for C++; this drops support for anonymous struct and union types,
2899 which were problematic anyway.
2900 * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
2903 2007-04-12 Jim Meyering <jim@meyering.net>
2905 * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
2907 2007-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2909 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
2910 to prefer a link source from the build tree, if it exists.
2911 Report by Pallav Gupta <pallavgupta@gmail.com>.
2913 2007-04-11 Paul Eggert <eggert@cs.ucla.edu>
2915 * doc/autoconf.texi (Generic Types): Document the restrictions
2916 on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
2917 (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
2918 with objects too. Document the restrictions on its use.
2919 Document the restrictions on AC_CHECK_ALIGNOF's type argument.
2920 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
2921 For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
2922 works but the latter doesn't, then it's a valid type.
2923 This lets people use function types and so forth.
2924 For C++ there doesn't seem to be a simple solution, so leave it alone.
2925 (AC_CHECK_SIZEOF): Allow argument to be a variable.
2926 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
2927 AC_CHECK_TYPE; that wasn't documented or necessary.
2929 2007-04-11 Stepan Kasal <kasal@ucw.cz>
2931 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
2932 when cross-compiling.
2934 2007-04-11 Stepan Kasal <kasal@ucw.cz>
2936 * doc/autoconf.texi (External Software): Fix a typo in the
2939 2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2941 * doc/autoconf.texi (External Software, Package Options):
2942 Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
2944 2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
2946 * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
2947 obsolescent. Suggested by Bruno Haible.
2948 * NEWS: Document this.
2950 2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
2952 * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
2953 (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
2954 default still has the problem. Problem reported by Bruce Korb.
2956 2007-03-28 Stepan Kasal <kasal@ucw.cz>
2957 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2959 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
2960 comment in the generated config.status.
2962 2007-03-27 Stepan Kasal <kasal@ucw.cz>
2964 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
2966 2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
2968 * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
2969 command and case statements to make it a bit clearer and describe
2972 2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
2974 * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
2975 checks for unsigned long long int.
2977 2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
2979 * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
2980 nonstandard grep R.E. escape sequences.
2982 2007-03-17 Jim Meyering <jim@meyering.net>
2984 * doc/autoconf.texi: Adjust grammar around use of "heuristics".
2985 (Limitations of Usual Tools): Also list \< and \>, and mention that
2986 HP-UX's grep, like the one from Solaris, does not support that syntax.
2988 2007-03-09 Stepan Kasal <kasal@ucw.cz>
2990 * doc/autoconf.texi (Specifying Names): `--host' does not
2991 change the build type.
2993 2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
2995 * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
2996 suggests AC_CONFIG_HEADERS.
2997 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
2998 AC_CONFIG_HEADERS. Problem reported by
3001 2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
3003 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
3004 Problem reported by Paolo Bonzini in:
3005 http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
3006 * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
3007 universal binaries. Problem reported by Elias Pipping.
3009 2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
3011 * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
3012 * doc/autoconf.texi (C Compiler): Document this. There is a new
3013 extra argument ACTION-IF-UNIVERSAL.
3014 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
3015 Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
3016 Reindent for sanity's sake.
3018 2007-02-24 Eric Blake <ebb9@byu.net>
3020 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
3022 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
3023 * lib/autotest/general.m4 (AT_INIT): Likewise.
3024 (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
3026 2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3028 * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
3029 status of rm so we know when it failed.
3030 If cleaning of test dir failed before running the test, warn.
3031 Output the line separator in verbose mode before the warning
3032 to make clear the warning belongs to the following test.
3034 2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
3036 * doc/autoconf.texi (Parentheses): Mention problem with (( in
3039 2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3040 and Paul Eggert <eggert@cs.ucla.edu>
3042 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
3043 errors introduced in last change.
3045 2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
3047 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
3048 an actual carriage return. Use "ac_cr" to contain the actual
3050 * doc/autoconf.texi (Limitations of Usual Tools): Document problem
3051 with traditional Awk and begin.
3052 * tests/torture.at (Limitations of Builtins): Document the problem
3053 with Bash 2.03 printf.
3054 (Substitute and define special characters):
3055 Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
3057 2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
3059 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
3060 input from /dev/null in awk test, so even Solaris /usr/bin/awk
3061 will not wait for input with a script containing only a BEGIN
3064 2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
3066 * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
3070 2007-02-02 Eric Blake <ebb9@byu.net>
3072 * NEWS: Update copyright.
3074 * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
3076 * configure.ac: Update error message.
3077 * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
3078 Reported by Gary Vaughan and Jim Meyering, and problem analyzed
3080 http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
3082 2007-01-31 Eric Blake <ebb9@byu.net>
3084 * THANKS (people): Update.
3086 2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
3088 * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
3090 (Shell Substitutions): Note problems with @{var:=value} etc.
3091 Add a new section for problems with @{#var} etc. Problem noted
3092 by Ralf Wildenhues. See:
3093 http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
3095 2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3097 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
3098 AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
3099 trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
3100 substitution will still be done by the special code.
3101 Report by Jim Meyering.
3103 * doc/autoconf.texi (File System Conventions): Mention that
3104 $PATH_SEPARATOR is for the build system only.
3105 Report by Keith Marshall.
3107 2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3109 * doc/autoconf.texi (Setting Output Variables): Mention that
3110 all non-NUL characters are ok in substituted values.
3111 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
3112 (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
3113 carriage return for $AWK, needed for BSD awk.
3114 * tests/torture.at (Substitute and define special characters):
3115 Test all 8 bit non-NUL characters.
3116 Report against Automake by Patrick Welche.
3118 2007-01-15 Stepan Kasal <kasal@ucw.cz>
3120 * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
3122 2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3124 * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
3125 early on the reader side, drop stderr of the input to avoid
3126 `broken pipe' error output; this may happen even with shell
3127 builtin `echo' of some bash versions. Reports by Ian Macdonald
3128 <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
3130 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3132 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
3133 separate items of `ac_user_opts', to avoid long lines.
3134 (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
3136 2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3138 * doc/autoconf.texi: Fix some typos.
3140 2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
3142 Fix some wording problems noted by Paolo Bonzini in:
3143 http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
3144 * doc/autoconf.texi (Signed Overflow Examples): Give more
3145 discussion about the allow_superuser_privileges example,
3146 and change it a bit to make things clearer.
3147 (Optimization and Wraparound): Clarify whether the compiler
3148 will generate an infinite loop for the example derived from
3149 Autoconf's mktime test.
3150 (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
3151 Also, clarify unsigned multiplication overflow.
3153 2007-01-04 Eric Blake <ebb9@byu.net>
3155 * bin/Makefile.am (RELEASE_YEAR): New macro.
3156 (edit): Use it to supply correct copyright year to scripts.
3157 * bin/autoconf.as (version): Use it.
3158 * bin/autoheader.in ($version): Likewise.
3159 * bin/autom4te.in ($version): Likewise.
3160 * bin/autoreconf.in ($version): Likewise.
3161 * bin/autoscan.in ($version): Likewise.
3162 * bin/autoupdate.in ($version): Likewise.
3163 * bin/ifnames.in ($version): Likewise.
3165 2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
3167 * doc/autoconf.texi (Integer Overflow): Revised based on today's
3168 feedback. The most important changes document what happens when
3169 you convert an out-of-range value to a signed integer type, and
3170 say that (sum < a) != (b < 0) reliably detects overflow when sum =
3173 * doc/autoconf.texi (Integer Overflow): Greatly expand and
3174 rewrite, taking notions from the recent discussion on the gcc and
3175 autoconf mailing lists; please see
3176 http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
3177 and follow the many links.
3178 (Integer Overflow Basics, Signed Overflow Examples):
3179 (Optimization and Wraparound, Signed Overflow Advice):
3180 (Signed Integer Division): New sections.
3182 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
3184 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
3185 preprocessor macro arguments in traced name.
3186 * doc/autoconf.texi (Defining symbols): Document longstanding
3187 support for AC_DEFINE-ing macros with arguments, and document
3188 behavior when the same variable has multiple AC_DEFINEs.
3189 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
3190 old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
3191 macros directly, giving much shorter and simpler code.
3193 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
3195 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
3196 space before "$ac_configure_args" to prevent a 'config.status
3197 --recheck' failure if ac_configure_args doesn't contain a leading
3198 space. This works around a problem with the XEmacs configure.ac,
3199 which uses the (undocumented) ac_configure_args variable
3200 inconsistently with Autoconf.
3202 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
3204 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
3205 Include <limits.h>, and use its INT_MAX to rewrite the
3206 j loop so that it does not overflow 'int'. Problem reported by
3208 <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
3209 Play it safe by shifting left by 1 rather than multiplying by 2,
3210 as GCC is less likely to optimize this away when the value
3211 is signed (when it assumes overflow leads to undefined behavior).
3212 Also, don't assume time_t uses two's complement.
3214 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3216 * tests/torture.at (Substitute a 2000-byte string): Avoid using
3217 a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
3218 dumps core on it. Report by Tim Rice.
3220 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
3222 * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
3223 --disable-option-checking to --help output even when
3224 AC_PRESERVE_HELP_ORDER is not used.
3225 (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
3226 --with argument, rather than argument with [-.] replaced by
3228 * NEWS: Fix typo in previous change; the news was in the
3231 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
3233 * NEWS: Warnings are now generated by default for unknown
3234 --enable-* and --with-* options.
3235 * doc/autoconf.texi (Option Checking): Renamed from
3236 (Configure Option Checking). Tighten up the wording a bit.
3237 (External Software, Package Options): Cross-reference to Option
3238 Checking, and use this to shorten our section.
3239 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
3240 "$x" to test "x$foo" != x.
3241 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
3242 Don't warn if $enable_option_checking is "no".
3243 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
3244 ac_unrecognized_opts to the empty string.
3245 Don't echo the unrecognized opts, as this might mishandle
3246 backslashes or leading -.
3247 (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
3248 usage next to the other --disable-FEATURE options in the
3251 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
3253 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
3254 (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
3255 Print warning for unrecognized --with and --enable options
3256 (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
3257 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
3258 Disable option checking when subdirs are configured.
3259 (AC_OUTPUT): If warnings are enabled, print warning about
3260 unrecognized --with and --enable options at the end of
3261 the configure output (as well as at the beginning).
3262 * doc/autoconf.texi (Option Checking): New node.
3263 Document new option warning functionality.
3265 2006-12-16 Eric Blake <ebb9@byu.net>
3267 * configure.ac (AC_INIT): Bump version, since 2.61a is released.
3268 * NEWS: Start news for current version.
3270 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
3272 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
3273 Define HAVE_GETMNTENT to 1, not to the empty string.
3274 Problem originally reported by Jochen Friedrich in
3275 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
3277 This change prompted by a problem report by Andrey Simonenko in
3278 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
3279 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
3280 object-like macros only, in the traditional portable character
3282 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
3283 Warn about attempts to define things that are not identifiers.
3284 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
3285 awful hack that AC_DEFINEd macro names containing parentheses.
3287 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
3289 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
3290 too drastic, even if Texinfo in theory requires it for info mode.
3292 (config.status Invocation): Renamed back from Recreating a
3294 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
3295 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
3297 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
3299 * NEWS: Version 2.61a.
3301 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
3302 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3304 * NEWS: Document changes with echo and printf, and the lack
3305 of limits on the total size of multi-line values of substituted
3306 variables, and the AC_FUNC_FSEEKO fix.
3308 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
3310 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
3311 Writing configure.ac.
3312 (Autoconf Input Layout): Renamed from configure.ac Layout.
3313 (Recreating a Configuration): Renamed from config.status Invocation.
3314 (Obsolete Recreation): Renamed from Obsolete config.status Use.
3315 (acconfig Header): Renamed from acconfig.h.
3316 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
3317 (Writing Testsuites): Renamed from Writing testsuite.at.
3318 (Autom4te Cache): Renamed from autom4te.cache.
3320 * BUGS: Remove mention of VPATH problem, since it's now documented
3321 not to be a bug in the Autoconf build procedure itself, but rather
3322 a problem with the proprietary `make' programs.
3324 * doc/autoconf.texi (Build Directories): Add a cross reference
3327 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
3328 * doc/standards.texi: Sync from gnulib.
3330 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
3331 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
3332 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
3333 generated automatically.
3335 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
3337 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
3338 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
3339 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
3341 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3343 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
3344 `CEOF$ac_eof' special marker, the awk script cannot contain a
3345 line matching `^CEOF', so this is not needed any more.
3346 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
3347 special marker in the test.
3349 2006-12-06 Stepan Kasal <kasal@ucw.cz>
3351 * tests/tools.at (autom4te preselections): Use `find -newer';
3352 remove one of the sleeps.
3354 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
3355 more readable, using ...
3356 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
3358 * doc/autoconf.texi (autoheader Invocation): Do not double-
3359 quote the parameter of `AH_BOTTOM' in the example.
3361 2006-12-05 Stepan Kasal <kasal@ucw.cz>
3363 * doc/autoconf.texi (Configuration Headers): Remove the
3364 example with multiple input files.
3365 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
3366 multiple input files.
3368 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3370 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
3371 creating the awk substitution script, handle one input line at a
3372 time, so that the maximum length of a substituted (multi-line)
3373 value is not limited by the size of the sed pattern space.
3374 The trade-off is a slightly repetitive sed script.
3375 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
3376 can only have up to 7 characters, due to Solaris 10 /bin/sed.
3377 * tests/torture.at (Substitute a 2000-byte string): Increase the
3378 test with several long lines, they should not be caught by sed
3381 * tests/tools.at (autom4te preselections): New test, to flag
3382 entries missing from autom4te.cfg.
3383 Report by David Byron <dbyron@hheld.com>.
3385 * tests/torture.at (Substitute a 2000-byte string): Actually use
3386 AC_PROG_AWK, so the last change works as intended.
3387 (Substitute and define special characters): Likewise.
3388 (Substitute a newline): Likewise.
3390 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
3391 instead of `awk' consistently.
3392 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
3393 * tests/torture.at (Torturing config.status): Test both the
3394 result of AC_PROG_AWK and plain awk.
3395 (Substitute a 2000-byte string): Likewise.
3396 (Substitute and define special characters): Likewise.
3397 (Substitute a newline): Likewise.
3399 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
3401 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
3402 can be assigned to a function pointer. Problem reported by
3403 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
3404 part of a patch by Ralf Wildenhues in that same bug report.
3406 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
3408 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
3409 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
3411 2006-12-01 Eric Blake <ebb9@byu.net>
3413 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
3414 cross-compiling from cygwin to mingw.
3415 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
3416 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
3417 to lib/autoconf/c.m4.
3419 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3421 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
3422 string for more reliable failure. Wrap the entire test that
3423 causes the broken Solaris printf to dump core, in a subshell,
3424 so the segmentation fault message is reliably suppressed.
3425 Fix shell expansion errors by using /usr/ucb/echo always;
3426 avoid an error on systems without it by another subshell.
3427 Avoid m4 expansion of `$1'. Set the zeroth argument of the
3428 subshell-$as_echo to `as_echo', for better error message.
3430 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3432 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
3433 `BASH_SOURCE' contain a newline, set them to empty, as they may
3436 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
3438 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
3439 years and is too hard to maintain now. The last straw was
3440 reported by Jerker Baeck in
3441 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
3442 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
3443 * doc/autoconf.texi (Particular Functions): Move
3444 AC_FUNC_SETVBUF_REVERSED from here...
3445 (Obsolete Macros): ... to here. Say that it does nothing now.
3446 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
3447 Turn into (almost) a no-op.
3449 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
3451 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
3452 These macros are obsolescent and new applications shouldn't need them.
3453 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
3454 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
3455 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
3456 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3457 (AC_FUNC_VPRINTF): Likewise.
3458 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
3459 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
3460 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
3462 * doc/autoconf.texi (Setting Output Variables): Mention that
3463 @VAR1@VAR2 has unspecified behavior. Problem reported by
3465 * NEWS: Mention this.
3467 * Makefile.am: Put only a single '#' into the copyright notice,
3468 so that it's also present in the output file. Standardize wording
3469 in makefile copyright notices to match GNU coding standards.
3470 * bin/Makefile.am: Likewise.
3471 * doc/Makefile.am: Likewise.
3472 * lib/Makefile.am: Likewise.
3473 * lib/freeze.mk: Likewise.
3474 * lib/autoconf/Makefile.am: Likewise.
3475 * lib/autoscan/Makefile.am: Likewise.
3476 * lib/autotest/Makefile.am: Likewise.
3477 * lib/m4sugar/Makefile.am: Likewise.
3478 * man/Makefile.am: Likewise.
3479 * tests/Makefile.am: Likewise.
3480 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
3483 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3485 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
3486 in the sed script that mangles the awk script: delete up to the
3487 first exclamation mark only.
3488 * tests/torture.at (Substitute and define special characters):
3491 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3493 Rewrite config files generation: avoid quadratic growth in
3494 the number of substituted variables by using awk instead of sed
3495 for the bulk of the substitutions.
3496 * NEWS: Mention this.
3497 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
3498 forbidden in the output (and thus input) file.
3499 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
3500 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
3501 generate just one large awk script for substitutions,
3502 eliminating much of the earlier complexity, while adding some
3503 new complexity. Only expand the substitution templates at
3504 configure time, for smaller configure script size. If
3505 _AC_SUBST_FILES are used, test 'awk' for working getline support
3506 at config.status time. If absent, interpolate through the
3507 shell. The awk script was written with much help
3508 from Paolo Bonzini and Paul Eggert.
3509 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
3510 (_AC_SED_FRAG_NUM): Likewise.
3511 (_AC_SUBST_CMDS): Renamed from...
3512 (_AC_SED_CMDS): ...this.
3513 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
3514 * tests/torture.at (Substitute a 2000-byte string): Also
3515 substitute a line with 1000 words, and a variable with several
3517 (Substitute and define special characters): Test awk special
3518 characters, and put substitution input strings `@foo@' in the
3519 output, to test that no recursion happens; test several other
3520 combinations from Paolo Bonzini.
3522 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
3524 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
3525 that replaced echo with AS_ECHO where this wasn't necessary.
3526 Problem reportd by Ralf Wildenhues.
3527 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
3528 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
3529 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
3531 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3533 * lib/freeze.mk (GREP): Removed, no need to initialize this.
3535 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
3537 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
3538 that traditional Awk lacks 3-arg "split". It has it.
3539 Mention that FS must be a single character, and a few other
3540 99-byte limits of traditional Awk.
3541 Mention that if (i in a) doesn't work with traditional Awk.
3543 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
3545 * tests/autotest.at (BSx641-newline in command):
3546 (BS-BS-newline in command, BSx640-newline in command):
3547 (Newline-CODE-BS-newline in command):
3548 (Single-quote-BS-newline in command):
3549 (Single-quote-newline-BS-newline in command):
3550 Use printf '%s\n' instead of echo, for portability to hosts
3551 where echo interprets backslashes. This will break on hosts
3552 that lack printf, but for now let's assume all such hosts
3553 are dead (if not, we should get reports of test failures).
3555 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
3557 'echo' has some portability problems, when given a first argument
3558 with a leading '-', or when given any argument containing '\'.
3559 Avoid using 'echo' in these cases.
3560 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
3561 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
3562 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3563 * lib/autotest/general.m4 (AT_INIT): Likewise.
3564 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
3565 argument might be unportable.
3566 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
3567 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
3568 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
3569 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
3570 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
3571 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
3572 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
3573 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
3574 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3575 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
3576 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
3577 (AC_PROG_MAKE_SET): Likewise.
3578 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
3579 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
3580 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
3581 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
3582 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
3583 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
3584 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
3585 * bin/autoconf.as: Redo verbose flag implementation, as the old
3586 scheme wouldn't work with AS_ECHO.
3587 * lib/autotest/general.m4 (AT_INIT): Likewise.
3588 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
3589 Don't use ECHO_T, since ECHO_N is now reliable.
3590 * lib/autotest/general.m4 (AT_INIT): Likewise.
3591 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
3592 rather than using a here-document to put the script into a file.
3593 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
3595 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
3596 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
3597 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
3598 bug, but we might as well stop using ECHO_N and ECHO_C internally.
3599 * lib/autotest/general.m4 (AT_SETUP): Likewise.
3600 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
3601 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3602 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
3603 operand, as AS_ECHO requires. Avoid double file name expansion.
3604 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
3605 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
3606 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
3607 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
3608 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3609 Double-quote strings that would otherwise contain M4 comments.
3610 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
3612 * configure.ac (AC_INIT): Bump to 2.61a.
3615 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
3619 * configure.ac (AC_INIT): Bump to 2.61.
3622 * tests/autotest.at (Macro with backslash in a test title):
3623 Comment out for now, as this tests neither fails nor passes
3624 reliably. Problem reported by Ralf Wildenhues.
3626 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
3628 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
3629 in previous change, which caused test failures.
3631 2006-11-16 Stepan Kasal <kasal@ucw.cz>
3633 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
3634 code for --enable, --disable, --with, and --without to...
3635 (_AC_INIT_PARSE_ENABLE): ... a new macro.
3636 * doc/autoconf.texi (Package Options):
3637 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
3639 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
3641 Import these changes from config via gnulib:
3643 2006-11-15 Ben Elliston <bje@gnu.org>
3645 From Josselin Mouette <joss@debian.org>:
3646 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
3648 2006-11-08 Ben Elliston <bje@gnu.org>
3650 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
3652 2006-11-07 Steve Woodford <scw@NetBSD.org>
3653 Ben Elliston <bje@gnu.org>
3655 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
3656 * build-aux/config.sub (sh5el): New basic_machine.
3659 Import this change from coreutils:
3661 2006-02-13 Jim Meyering <jim@meyering.net>
3663 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
3666 Import this change from gnustandards via gnulib:
3668 2006-11-15 Karl Berry <karl@gnu.org>
3670 * standards.texi: core -> memory, throughout.
3671 (CPU Portability): show correct example of calling write
3672 on a char value; thanks to Paul Eggert for the code.
3673 Both of these suggestions from Eugene Y. Vasserman.
3676 Import these changes from texinfo via gnulib:
3678 2006-11-08 Karl Berry <karl@gnu.org>
3680 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
3681 as well as pdf images, since they are supported in pdftex with
3684 2006-11-05 Karl Berry <karl@gnu.org>
3686 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
3688 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
3690 * NEWS: Document the AC_ARG_WITH change.
3692 2006-11-13 Bruno Haible <bruno@clisp.org>
3694 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
3695 options, transliterate also dots to underscores.
3696 (_AC_ENABLE_IF): Transliterate also dots to underscores.
3697 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
3698 first argument may also contain dots.
3700 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
3702 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
3703 benefit of platforms like Solaris+GCC where it is common to have a
3704 non-working g++ installation.
3706 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3707 and Joel E. Denny <jdenny@ces.clemson.edu>
3708 and Paul Eggert <eggert@cs.ucla.edu>
3710 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
3711 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
3714 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
3716 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
3717 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
3718 Imported from a similar patch to gnulib by Bruno Haible.
3720 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
3722 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
3723 * doc/autoconf.texi (C Compiler): Document them.
3724 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
3725 New macros, taken from gnulib.
3727 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
3729 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
3730 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
3733 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3735 * tests/torture.at (Configuring subdirectories): Do not skip
3736 Automake 1.10 nor future Automake 11.1 (sic).
3738 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
3739 and Stepan Kasal <kasal@ucw.cz>
3741 Handle special characters in test case titles correctly.
3742 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
3744 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
3745 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
3746 argument. Extend to check titles printed by ./micro-suite and
3747 ./micro-suite -l and the title in micro-suite.log.
3748 (Backquote in a test title,
3749 Single-quote in a test title,
3750 Double-quote in a test title): Don't expect failure anymore.
3751 (Backslash in a test title): Put a non-whitespace character after the
3752 backslash so that Bourne shells might actually see it as an escape
3754 (Brackets in a test title,
3755 Pound in a test title,
3756 Comma in a test title,
3757 Quoted Macro in a test title,
3758 Macro in a test title,
3759 Macro with single-quote in a test title): New tests.
3760 (Macro with backquote in a test title,
3761 Macro with double-quote in a test title,
3762 Macro with backslash in a test title): New tests expected to fail.
3763 * tests/torture.at (#define header templates): M4-quote this title in
3764 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
3765 The visible effect was a stray [] in the testsuite output.
3767 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3769 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
3770 `trap ... 0' inside a function, for AIX sh.
3772 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
3774 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
3775 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
3776 5363) simply issues a warning when dividing by zero at compile
3777 time. Problem reported by Elias Pipping.
3779 2006-10-26 Eric Blake <ebb9@byu.net>
3782 * doc/autoconf.texi (Evaluation Macros): Improve the example to
3783 show effect on macros that expand with commas.
3784 Reported by Joel E. Denny.
3786 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3787 Also work with M4 1.4.8.
3789 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
3791 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
3794 2006-10-25 Stepan Kasal <kasal@ucw.cz>
3796 * tests/tools.at (autom4te --force): New test, verifies that
3797 `--force' always rewrites the output file.
3799 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
3801 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
3802 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
3804 2006-10-24 Stepan Kasal <kasal@ucw.cz>
3806 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
3808 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
3810 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
3811 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
3812 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
3813 reported by Nelson H. F. Beebe for Coreutils 6.4.
3815 * tests/tools.at (autoconf --trace: user macros): Remove test
3816 for tracing multiline macros, since m4 1.4.7a uses a different
3817 way to number lines. Problem reported by Ralf Wildenhues.
3819 2006-10-24 Stepan Kasal <kasal@ucw.cz>
3821 * bin/autom4te.in (handle_m4): Do not redirect stdin to
3822 /dev/null since the heuristics for interactive behaviour was
3825 * bin/autom4te.in: With --force, always refresh the output
3826 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
3828 * bin/autoconf.as: Fix the verbose message at the end.
3830 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
3832 * configure.ac (AC_INIT): Bump to 2.60c.
3835 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
3837 * NEWS: Version 2.60b.
3839 Import this change from Texinfo:
3840 2006-10-15 Karl Berry <karl@gnu.org>
3841 * build-aux/texinfo.tex: automake 1.10
3843 * NEWS: Remove AC_CACHE_CHECK_INT.
3844 * doc/autoconf.texi (Caching Results): Likewise.
3845 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
3846 AC_CACHE_CHECK_INT, since it's no longer public.
3847 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
3848 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
3850 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3852 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
3854 2006-10-19 Eric Blake <ebb9@byu.net>
3856 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
3857 (m4_maketemp): Avoid warnings with M4 1.9a.
3858 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
3860 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
3863 2006-10-16 Eric Blake <ebb9@byu.net>
3865 * doc/autoconf.texi (Setting Output Variables): Fix typo.
3867 * bin/autoconf.as (version): Reword to match GNU Coding
3869 * bin/autoheader.in (version): Likewise.
3870 * bin/autom4te.in (version): Likewise.
3871 * bin/autoreconf.in (version): Likewise.
3872 * bin/autoscan.in (version): Likewise.
3873 * bin/autoupdate.in (version): Likewise.
3874 * bin/ifnames.in (version): Likewise.
3876 2006-10-14 Stepan Kasal <kasal@ucw.cz>
3878 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
3879 looking for special shell characters.
3880 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
3881 macro defined by AS_VAR_PUSHDEF before passing it as a
3883 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
3884 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
3885 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
3886 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
3887 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
3889 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
3891 * tests/m4sh.at (AS_LITERAL_IF): New test.
3893 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
3895 (Imported from Automake.)
3896 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
3897 which incorrectly sets the mode of an existing destination
3898 directory. In some cases the unpatched install-sh could do the
3899 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
3900 system. We hope this is rare in practice, but it's clearly worth
3901 fixing. Problem reported by Alex Unleashed in
3902 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
3903 Also, don't bother to check for -m bugs unless we're using -m;
3904 suggested by Stepan Kasal.
3906 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
3908 Import this change from Automake:
3910 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
3911 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
3912 is enabled by default with gnu and gnits strictness.
3913 Report from Bruno Haible.
3915 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
3916 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
3917 gnu and gnits modes.
3919 Import this change from Config:
3921 2006-09-20 Ben Elliston <bje@gnu.org>
3922 * build-aux/config.sub (score, score-*): New.
3924 Import this change from Gnulib:
3926 2006-09-16 Karl Berry <karl@gnu.org>
3927 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
3928 to avoid sectioning errors.
3930 Import these changes from Texinfo:
3932 2006-10-04 Karl Berry <karl@gnu.org>
3933 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
3934 (\quoteexpand): rename to \rquoteexpand.
3935 (\codequoteleft): new def, to look for @set codequotebacktick.
3936 (\lquoteexpand, \quoteexpand): new defs.
3937 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
3938 (\code): must use new \...Char values, since now ` is active.
3940 2006-08-26 Karl Berry <karl@gnu.org>
3941 * build-aux/texinfo.tex (\textdegree): New command.
3943 2006-08-12 Karl Berry <karl@gnu.org>
3944 * build-aux/texinfo.tex (error \box0): smaller font.
3946 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3948 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
3950 2006-10-13 Stepan Kasal <kasal@ucw.cz>
3952 * doc/autoconf.texi (Autoheader Macros): Warn that the text
3953 added to the template can get mangled.
3955 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3957 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
3958 include the default headers, and redefine obstack_chunk_alloc
3959 and obstack_chunk_free. Fixes false failure with glibc.
3961 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
3963 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
3964 for backward compatibility with Libtool 1.5.22. Problem reported
3967 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3969 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
3971 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
3973 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
3975 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
3976 the NonStop platform.
3977 * doc/autoconf.texi (Posix Variants): Likewise.
3978 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
3980 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
3981 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
3982 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
3983 Use a better substitute, by inspecting the output of "ls"
3984 rather than just using ":".
3985 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
3986 rather than AS_EXECUTABLE_P, since we needn't worry about
3987 non-regular files here.
3989 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
3990 due to configuration hassles with this. See Tonya Underwood's report
3991 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
3992 * doc/autoconf.texi (Special Shell Variables): Likewise.
3994 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
3995 Stepan Kasal <kasal@ucw.cz>
3997 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
3998 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
4000 2006-10-11 Stepan Kasal <kasal@ucw.cz>
4002 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
4003 initialization which is not inherited through the environment
4004 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
4005 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
4007 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
4009 * doc/autoconf.texi (Limitations of Usual Tools): Describe
4010 problems with mkdir -p -m.
4012 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
4014 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
4015 comment about ac_cpp_err; it was incorrect, and anyway
4016 ac_cpp_err is being removed below.
4017 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
4018 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
4019 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
4021 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
4022 with werror_flag and conftest.err and so forth. This is more
4023 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
4024 and anyway the user shouldn't normally want to see this gorp logged.
4025 Problem reported by Ralf Wildenhues.
4026 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
4027 empty, not 'no', since the rest of the code uses 'test -z'.
4029 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
4031 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
4032 Use a single call to AC_DO_TOKENS rather than multiple, for
4034 (_AC_LINK_IFELSE): Test that resulting file is executable.
4035 Problem reported by mwoehlke in
4036 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
4038 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
4039 than creating a file to use with test -x; this is much faster.
4041 2006-10-02 Bruno Haible <bruno@clisp.org>
4043 * lib/autom4te.in (Automake-preselections): Add
4044 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
4046 2006-09-27 Stepan Kasal <kasal@ucw.cz>
4048 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
4049 standard error, `experr' should be used, not `expout'.
4051 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
4053 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
4054 fseeko testing program twice; just use the earlier result.
4055 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
4056 Set cache var to 'unknown' (not 'no') if leaving the macro unset
4057 still doesn't let the program compile.
4058 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
4061 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
4062 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
4063 include it, without including anything else.
4064 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
4066 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
4068 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4070 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
4071 `error.h', and include it, for a `error_at_line' prototype.
4072 Use a nonempty format string in the link test.
4073 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
4074 for a declaration of wait3.
4076 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
4078 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
4079 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
4080 can apply to constants too, and that it checks for macro defns.
4081 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
4082 and simply cast the identifier to void. This handles structure
4083 values. Problem reported by Ralf Wildenhues.
4084 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
4086 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4088 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
4089 structure, and function symbols.
4091 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4093 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
4096 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
4098 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
4100 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
4102 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
4103 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4105 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
4106 warnings (uninitialized value).
4107 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
4109 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
4111 (AC_STRUCT_TM): Likewise, avoid unused variables.
4113 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4115 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
4116 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
4117 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
4118 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
4119 Report by Olly Betts.
4121 2006-09-19 Eric Blake <ebb9@byu.net>
4123 * m4/m4.m4: Change copyright.
4124 * configure: Regenerate.
4125 * Makefile.in: Likewise.
4126 * bin/Makefile.in: Likewise.
4127 * doc/Makefile.in: Likewise.
4128 * lib/Makefile.in: Likewise.
4129 * lib/Autom4te/Makefile.in: Likewise.
4130 * lib/autoconf/Makefile.in: Likewise.
4131 * lib/autoscan/Makefile.in: Likewise.
4132 * lib/autotest/Makefile.in: Likewise.
4133 * lib/emacs/Makefile.in: Likewise.
4134 * lib/m4sugar/Makefile.in: Likewise.
4135 * man/Makefile.in: Likewise.
4136 * tests/Makefile.in: Likewise.
4138 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
4139 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
4140 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
4141 --error-output, to avoid warnings with M4 2.0.
4143 2006-09-19 Stepan Kasal <kasal@ucw.cz>
4145 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
4146 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
4147 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
4149 2006-09-15 Stepan Kasal <kasal@ucw.cz>
4151 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
4152 expansion of AC_CHECK_FUNCS.
4154 2006-09-14 Stepan Kasal <kasal@ucw.cz>
4156 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
4157 mistaken comment: the path has to be relative; do not use
4158 the path at runtime.
4160 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4162 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
4163 argument to `--prefix' for sub-configure scripts.
4164 Pass `--silent' to sub-configure scripts.
4165 * tests/torture.at (Configuring subdirectories): Add tests
4167 * doc/autoconf.texi (Setting Output Variables): Fix example to
4168 not show `--silent' being passed to a `configure' re-run.
4170 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
4172 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
4173 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
4174 for the existence of the directory at configure-time. That's
4175 too late, anyway. Problem reported by Stefan Seefeld.
4177 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
4178 7.1.4 /usr/bin/posix/sh described by Tim Rice in
4179 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
4181 2006-09-11 Stepan Kasal <kasal@ucw.cz>
4183 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
4184 works with GNU M4 1.4.3 again; make the normalized form
4185 match the current m4 message; fix the description.
4186 * test/tools.at (autom4te cache): Adapt to the change.
4188 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
4190 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
4191 to catch glibc bug 2821
4192 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
4194 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
4195 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
4196 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
4199 2006-09-08 Stepan Kasal <kasal@ucw.cz>
4201 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
4203 (Autoconf): ... here.
4204 (Autoscan-preselections): Delete.
4206 2006-09-07 Stepan Kasal <kasal@ucw.cz>
4208 * lib/autom4te.in (Automake-preselections): Preselect
4211 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
4213 * doc/autoconf.texi (Preset Output Variables): srcdir and
4214 top_srcdir are not necessarily relative. Problem reported
4217 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4219 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
4220 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
4221 accept files with extension `.f'. For consistency, also prefer
4223 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
4226 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
4228 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
4229 of ERLANG_LIB_VER_* variables.
4230 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
4233 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
4234 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4236 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
4237 bugs of Bash 2.01 and 2.05a.
4238 (Fortran Compiler): Document that AC_PROG_CC should be called
4239 before AC_PROG_FC, due to a bug in Autoconf.
4241 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
4243 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
4244 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
4245 except the first two arguments are reversed.
4246 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
4247 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
4248 caches nor outputs a diagnostic. Suggested by Bruno Haible.
4249 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
4250 equivalent to the old AC_COMPUTE_INT.
4251 (AC_COMPUTE_INT): No longer caches or reports. New signature.
4252 All uses changed to AC_CACHE_CHECK_INT.
4253 * tests/base.at (AC_CACHE_CHECK_INT): New test.
4254 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
4256 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
4258 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
4259 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
4260 programs should use their Gnulib counterparts.
4261 * doc/autoconf.texi (Particular Functions): Likewise.
4262 (Macro Names, testsuite Invocation): Replace uses of these
4263 obsolete macros with uses of non-obsolete macros.
4265 2006-08-29 Eric Blake <ebb9@byu.net>
4267 * configure.ac (AC_INIT): Bump to 2.60b.
4270 2006-08-28 Eric Blake <ebb9@byu.net>
4272 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
4273 mistakenly swapped on 2006-08-15.
4275 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
4277 * NEWS: Version 2.60a.
4279 2006-08-25 Stepan Kasal <kasal@ucw.cz>
4281 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
4282 file created by the PGI compiler.
4284 2006-08-25 Noah Misch <noah@cs.caltech.edu>
4286 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
4289 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
4291 Fix Lex library problem reported to us by Julio Garvia.
4292 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
4293 for the default, which the user can override.
4294 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
4296 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
4297 didn't work if some values were cached but not others. Test for
4298 broken lex libraries like native ia64-hp-hpux11.22; see
4299 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
4300 work around the problem by preferring an empty LEXLIB to -lfl or
4301 -ll. Let the user set LEXLIB='' to indicate no library needed.
4303 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
4305 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
4307 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
4309 Rework to use more-modern build style.
4310 Many files are renamed; all uses of their names were changed.
4311 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
4312 * .x-sc_useless_cpp_parens: New file.
4313 * build-aux/config.guess: Renamed from config/config.guess. Update.
4314 * build-aux/config.sub: Renamed from config/config.sub. Update.
4315 * build-aux/elisp-comp: Renamed from config/elisp-comp.
4316 * build-aux/install-sh: Renamed from config/install-sh. Update.
4317 * build-aux/mdate-sh: Renamed from config/mdate-sh.
4318 * build-aux/missing: Renamed from config/missing.
4319 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
4320 * build-aux/vc-list-files: Renamed from config/vc-list-files.
4321 * config/Makefile.am: Removed.
4322 * config/mkinstalldirs: Removed.
4323 * config/move-if-change: Removed.
4324 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
4325 * Makefile.am (SUBDIRS): Remove config.
4326 (ACLOCAL_AMFLAGS): Include from m4, not config.
4327 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
4328 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
4329 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
4330 Fail if there's an error.
4331 * Makefile.cfg (move_if_change): Remove.
4332 (wget_files): Remove.
4333 (cvs_executable_files): New macro.
4334 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
4335 (executable-update): Use $(cvs_executable_files).
4336 (local-checks-to-skip): Remove.
4337 * Makefile.maint: Merge from coreutils, plus add our own changes
4338 (gzip_rsyncable): New macro.
4340 (CVS_LIST): Use build-aux/vc-list-files.
4341 (VERSION_REGEXP): New macro.
4342 (local-checks-available): Add patch-check, $(syntax-check-rules),
4344 (syntax-check-rules): Compute dynamically.
4345 (sc_cast_of_x_alloc_return_value): Work even if no source files.
4346 (sc_cast_of_alloca_return_value): Likewise.
4347 (sc_prohibit_atoi_atof): Simplify regexp.
4348 (sc_no_if_have_config_h, sc_require_config_h):
4349 (sc_prohibit_assert_without_use,
4350 (sc_obsolete_symbols): Check for O_NDELAY.
4351 (sc_texi_notab): Remove.
4352 (sc-changelog): Don't make an exception for '----' lines.
4353 (.re-list): Remove, so we don't have a junk file behind.
4354 (sc_system_h_headers): Remove the need for .re-list.
4355 (sc_the_the): New rule.
4356 (sc_tight_scope): Simplify.
4357 (sc_trailing_blank): Renamed from sc_trailing_space.
4358 (longopt_re): New macro.
4359 (sc_two_space_separator_in_usage): New rule.
4360 (sc_unmarked_diagnostics): Look at all files under CVS.
4361 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
4362 (news-date-check, changelog-check): Version is OK.
4363 (po-check): Look for lib files even if not in CVS.
4364 (copyright-check): Use $() not ``.
4365 (maintainer-distcheck): Do not depend on changelog-check.
4366 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
4367 Also check for -Wpointer-arith.
4368 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
4369 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
4371 (announcement): Add --gpg-key-id arg.
4373 (move_if_change): Just use mv.
4374 (local_updates: Remove wget-update, po-update.
4375 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
4376 (config.guess-url_prefix, config.sub-url_prefix): Remove.
4377 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
4378 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
4379 ($(get-targets)): Remove.
4380 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
4381 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
4382 (cvs-update): Get from gnulib.
4383 (emut_upload_commands): gnupload is in build-aux now.
4384 (alpha beta major): Add changelog-check. Check version.
4385 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
4386 (AC_CONFIG_FILES): Remove.
4387 * bin/autoconf.as: Add spaces to avoid distcheck warning.
4388 * config/announce-gen: Sync from coreutils.
4389 * doc/make-stds.texi: Sync from gnulib.
4390 * doc/standards.texi: Likewise.
4391 * man/Makefile.am: Adjust for config -> build-aux renaming.
4392 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
4393 * tests/local.at: Adjust from config -> build-aux renaming.
4394 * tests/tools.at: Likewise.
4395 * tests/torture.at: Likewise.
4397 * NEWS: The C99 check now tests for vararg macros and 64-bit
4399 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
4400 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
4401 64-bit preprocessor ints. Check for static initialization of
4402 long long. Remove unnecessary casts.
4404 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4406 * doc/autoconf.texi (Particular Programs): Mention that
4407 @INSTALL@ and @MKDIR_P@ may vary for different output files.
4408 Reported by Alexandre Duret-Lutz.
4410 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
4412 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
4413 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
4415 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
4417 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
4419 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
4420 pacify insanely picky compilers. Problem reported by Eric Blake.
4422 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
4423 longer supported by Sun.
4425 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
4427 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
4428 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
4429 -Wundef -Werror". Problem reported by David Fang in
4430 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
4431 * doc/autoconf.texi (Header Templates, Default Includes):
4432 (Particular Functions, Generic Functions, Header Portability):
4433 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
4434 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
4435 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
4436 Prefer #ifdef to #if.
4437 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
4438 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
4439 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
4440 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
4442 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
4443 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
4444 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
4445 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4446 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
4447 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
4450 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
4452 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
4453 problems with arg script text that doesn't end in newline, and
4454 with '-e a...'. Problems reported by Ralf Wildenhues.
4456 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
4458 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
4459 check for libXt by a check for libX11.
4461 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4463 * doc/autoconf.texi (config.status Invocation): Adjust according
4466 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4468 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
4469 --help' should mention that `--version' outputs configuration
4470 settings. Report by Bruno Haible.
4472 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
4474 Fix test suite failures reported by Pierre in
4475 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
4476 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
4477 the compiler created a file "b.out" when it didn't create anything
4479 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
4480 Discard stderr too, when invoking the test script.
4482 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
4484 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
4485 in the restoring of the werror flag.
4487 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
4489 * doc/autoconf.texi (Volatile Objects): Be even a little
4490 less skeptical about "volatile", after discussion with
4491 Bruno Haible on bug-gnulib.
4492 (Limitations of Usual Tools): Warn about sed stripping
4493 leading white space from text. From Bruno Haible.
4495 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
4497 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
4498 compiler complains about it, even if things works after the
4499 complaint. Problem reported by Peter O'Gorman.
4501 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
4502 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
4503 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
4505 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
4507 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
4508 after -R regardless of host. Patrick Welche reports that this
4509 fixes things on NetBSD 3.99.
4511 * NEWS: Recommend M4 1.4.5.
4513 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
4514 * tests/tools.at (autom4te cache): Update wording of diagnostic
4517 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
4519 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
4520 under AC_C_VOLATILE.
4521 (Volatile Objects): Be a little less skeptical about what
4522 "volatile" means. Derived from thoughts by Ben Pfaff in
4523 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
4525 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4527 * doc/autoconf.texi: Fix some typos.
4529 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
4531 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
4532 more globally, since the 2006-06-30 patch didn't suffice. Problem
4533 reported by Keith Marshall. Also, don't bother with builddir2,
4534 since it shouldn't be needed any more.
4536 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
4538 * doc/autoconf.texi (Generic compiler characteristics):
4539 Document AC_COMPUTE_INT. Fix wrong statements on Default
4540 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
4542 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
4543 (_AC_COMPUTE_INT): Add obsoletion warnings.
4544 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
4547 * NEWS: Document change.
4549 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
4551 * doc/autoconf.texi (Volatile Objects): New section.
4553 * NEWS: Document previous change.
4555 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
4557 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
4558 Require that long long int be at least 64 bits wide. C99 requires
4559 this and enough programs depend on it so we should check for it.
4560 Bruno Haible reports in
4561 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
4562 that long long int is 32 bits wide with some nonstandard compilers.
4563 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
4565 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
4567 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
4568 to a nonexistent file, so that we don't have to worry about
4569 a local site configuration that doesn't use /usr/local.
4570 Problem reported by Keith Marshall in
4571 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
4573 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
4575 * doc/autoconf.texi: Be more consistent about using @acronym with
4576 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
4577 quite right (it talked about "OSF/Tru64", even though the
4578 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
4579 and it even mentioned "OSF 4"!) and at this point there's little
4580 reason to talk about OSF any more, since it died in 1994.
4581 (Specific Compiler Characteristics): Simplify example of
4582 negative-size array.
4583 (File Descriptors): Reorder to make the text flow better.
4584 Remove joke about "appreciate the various levels"; I didn't get it.
4585 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
4586 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
4587 (File Descriptors, Limitations of Usual Tools):
4588 Tone down the advice against renaming or removing open files.
4589 (Limitations of Usual Tools): Add a new section, on 'rm'.
4591 2006-06-26 Stepan Kasal <kasal@ucw.cz>
4593 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
4594 -lXt in LIBS, idea from Karsten Hopp; this was due since
4597 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
4598 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
4599 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
4600 (which belong to Xt, not X itself). See Debian bug 327655.
4602 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4604 * configure.ac (AC_INIT): Bump to 2.60a.
4607 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4611 * configure.ac, NEWS: Update.
4613 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4615 * config/texinfo.tex: Sync from upstream.
4617 * bin/autom4te.in (handle_traces): Transform the `@S|@'
4618 quadrigraph correctly in traces.
4620 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
4623 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
4624 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
4626 * doc/autoconf.texi (Changed Directory Variables): New node,
4627 to document the whole `datarootdir' business a bit better.
4629 * tests/torture.at (datarootdir workaround): Extend test.
4630 Prompted by report by Alexandre Julliard.
4632 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
4634 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
4635 when using default mode of IBM C 6 for AIX. Problem and two-line
4636 fix reported by Larry Jones.
4638 2006-06-22 Alexandre Julliard <julliard@winehq.org>
4640 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
4641 about literal '${datarootdir}' if a definition is found in the
4644 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
4646 * NEWS: Use "M4" rather than "m4" when appropriate.
4647 Problem reported by Eric Blake.
4648 * doc/autoconf.texi: Likewise.
4649 Use @acronym around BSD, GCC, and GNU when appropriate.
4650 (Why GNU M4): Renamed from "Why GNU m4".
4651 (Redefined M4 Macros): Mention that Posix
4652 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
4653 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
4656 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4658 * bin/autom4te.in (handle_output): Do not forbid the empty
4660 * tests/tools.at (autoconf: the empty token): New test.
4662 2006-06-20 Stepan Kasal <kasal@ucw.cz>
4664 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
4665 calls, so that we do not care whether they are LIFO or FIFO;
4666 in the m4_wrap, do not check which diversion is the topmost
4667 one, just check that the stack is balanced at the end.
4668 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
4669 base diversion forever--pop the previous diversion before
4670 opening the new one; consequently, remove the m4_wrap call.
4671 * lib/autotest/general.m4 (AT_INIT): Likewise.
4672 * tests/m4sugar.at: Do not use
4673 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
4675 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
4676 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4678 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
4679 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
4680 Rework example of m4wrap token-pasting trouble so that it doesn't
4681 care whether it's LIFO or FIFO.
4682 Fix some "contrary to"s that are awkward in English.
4684 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4686 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
4687 to `yes' instead of `int$1_t' if the type is found, for more
4688 consistent configure output (where $1 is the number of bits).
4689 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
4690 Suggested by Bruno Haible.
4692 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
4693 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
4694 with system headers. Report by Bruno Haible.
4696 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4698 * config/config.guess, config/config.sub: Sync from upstream.
4700 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
4701 in order to avoid picking up an older installed frozen m4sh.m4f.
4702 Besides an outdated shell startup, this could have been created
4703 by an earlier M4 version with incompatible frozen file format.
4705 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
4707 * README: Recommend m4 1.4.4 instead of 1.4.3..
4708 * doc/autoconf.texi: Likewise.
4709 (Special Chars in Names): Say that $(.FOO) is portable, as
4710 suggested by Stepan Kasal.
4711 (Installation Directory Variables, Build Directories):
4712 (Automatic Remaking, Subdirectories, Fortran Compiler):
4713 (Making testsuite Scripts, Defining Directories):
4714 Quote variable usages better.
4715 (Making testsuite Scripts): Add clean-local rule to makefile
4716 snippet, by Eric Blake.
4717 (Installation Directory Variables): Fix table item font.
4718 Reword slightly to clarify. Generalize advice about
4719 not using special characters to include all file-related
4720 vars, not just VPATH.
4721 (Special Chars in Variables): Warn about special characters in
4723 (Assignments): Clarify default-value example as suggested by
4725 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
4726 (Special Shell Variables): Note leading ./ or ../, as suggested
4728 (Limitations of Builtins): Under cd, warn about CDPATH.
4729 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
4732 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4734 * doc/autoconf.texi (Configuration Actions): Remove duplicate
4735 `@var', for texi2html.
4736 (Systemology): Some more word wrapping, for DVI output.
4737 (autom4te Invocation): The short option for `--melt' is `-M',
4740 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
4742 * doc/autoconf.texi: More formatting and English tweaks,
4743 many suggested by Ralf Wildenhues.
4744 Reword to avoid "@code{...}'s" and the like, since it's ugly
4745 with Emacs info mode. discontents -> woes.
4746 Put a few "will"s back. time stamp -> timestamp.
4747 side-effect -> side effect.
4749 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
4751 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
4752 Warn about $@ not persisting. Problem reported by Julien Danjou in
4753 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
4754 (Special Chars in Names): Renamed from Leading _ in Macro Names.
4755 Mention other special chars, too.
4757 2006-06-14 Eric Blake <ebb9@byu.net>
4759 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
4761 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
4763 * doc/autoconf.texi: Some systematic minor improvements, as
4764 follows. Use "makefile" when talking about makefiles
4765 generally (which might be named "makefile" or "Makefile" or even
4766 "foo.mk"), "Makefile" when talking about a specific makefile
4767 called "Makefile". This unclutters the text from weird quotes
4768 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
4769 values" rather than "@var{foo}s" and similar constructs containing
4770 "}s". Use "Make rules" rather than "Makefile rules". Minor
4771 English-language improvements. Change the prefix "sub-" to "sub"
4773 Put blank lines around examples more consistently.
4774 Avoid "rather" and "very" as intensifiers.
4775 Avoid "will" as an auxiliary.
4776 (Limitations of Make): Split this node into....
4777 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
4778 (Leading _ in Macro Names, Backslash-Newline-Newline):
4779 (Backslash-Newline Comments, Long Lines in Makefiles):
4780 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
4781 (obj/ and Make, make -k Status, VPATH and Make):
4782 (VPATH and Double-colon, $< in Explicit Rules):
4783 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
4784 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
4785 New nodes, resulting from splitup of Limitations of Make.
4786 All cross-references changed. Raise the top node from
4787 a section to a chapter, and all subnodes accordingly.
4788 Redo the introductory wording to match the new organization.
4789 (Installation Directory Variables): Use an example that is
4790 closer to what Autoconf actually does. Mention that VPATH's
4791 value should not contain metacharacters or white space.
4792 (Fortran Compiler): Fix a VPATH bug in an example.
4793 (Leading _ in Macro Names): Mention that this problem is no longer
4794 of practical concern.
4795 (VPATH and Make): Reword the advice to make it clearer
4796 that Autoconf and Automake support VPATH in non-GNU make, but
4797 many packages have bugs in this area.
4798 ($< in Explicit Rules): Refer to Build Directories rather
4799 than using a (non-VPATH-safe) example.
4800 (Automatic Rule Rewriting): Mention the sort of disaster that
4801 can ensue with Solaris-style rule rewriting with VPATH.
4803 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4805 * doc/install.texi (Compilers and Options): Weaken the
4806 suggestion to use GNU make for VPATH builds.
4808 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
4809 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
4811 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
4812 in regular expression.
4814 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4816 * doc/autoconf.texi (Installation Directory Variables):
4817 Drop extra @samp from `@table @samp' item.
4818 (Limitations of Usual Tools): Comment fix.
4819 Do not nest @samp just to point to other table items.
4820 (Writing testsuite.at) <AT_CHECK>: The second argument to
4821 `@dvar' is already @samp'ed.
4822 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
4823 do not use @var in the second argument.
4825 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
4827 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
4828 $as_shell.exe too. Problem reported by Andreas Buening in
4829 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
4831 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4833 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
4834 `unused variable' compiler warning, for `-Wall -Werror'.
4835 Reported by Jaap Haitsma in
4836 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
4838 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
4840 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
4841 case the compiler dumps core. Problem reported for
4842 OpenServer 5.0.7 by Tim Rice in
4843 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
4844 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
4847 2006-06-06 Tim Rice <tim@multitalents.net>.
4849 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
4850 "ERROR" only shows up in "make check" output if there is an
4853 2006-06-06 Eric Blake <ebb9@byu.net>
4855 * tests/tools.at (automatically allowed tokens): Fix typo.
4857 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
4859 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
4861 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
4862 typically overflows on x86 CPUs, even though the C standard
4865 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4867 * configure.ac (AC_INIT): Bump to 2.59e.
4870 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4874 * config/texinfo.tex: Sync from upstream.
4876 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
4877 seen, invoke libtoolize with `--ltdl' argument.
4878 * lib/autom4te.in (Autoreconf-preselections): Adjust.
4880 Suggested by Eric Blake.
4882 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
4884 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
4885 reported by Ralf Wildenhues.
4886 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
4888 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4892 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
4894 * doc/autoconf.texi: Modernize some of the references to Solaris.
4896 2006-06-05 Stepan Kasal <kasal@ucw.cz>
4898 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
4899 message issued by AC_REQUIRE.
4900 * tests/m4sugar.at: Check m4_require's error message.
4901 * tests/base.at: Check AC_REQUIRE's error message.
4902 * tests/local.at (AT_CHECK_M4): New macro, almost identical
4904 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
4906 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
4907 `expout' as the last parameter.
4908 * tests/tools.at: Adapt to the above change.
4910 2006-06-04 Stepan Kasal <kasal@ucw.cz>
4912 * doc/autoconf.texi (Limitations of Usual Tools): Correct
4913 information about race-free implementations of mkdir.
4915 2006-06-04 Eric Blake <ebb9@byu.net>
4917 * bin/autoreconf.in (help): Document M4 environment variable.
4918 * bin/autoconf.as (Usage): Likewise.
4919 * bin/autom4te.in (help): Likewise.
4920 * doc/autoconf.texi (autom4te Invocation): Likewise.
4922 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
4924 * NEWS: GNU make now recommended for VPATH builds.
4925 Mention that some macros are now documented to be obsolescent.
4926 * doc/autoconf.texi:
4927 Prefer "current" to "modern" to describe
4928 currently-used (albeit perhaps old-fashioned) hosts.
4929 Mention which ancient features no longer need to be worried about.
4930 setgid -> set-group-ID
4931 setuid -> set-user-ID (these are the Posix terms)
4932 Fix some misuses of "only".
4933 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
4934 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
4935 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
4936 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
4937 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
4938 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
4939 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
4940 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
4941 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
4942 Mention that these macros are obsolescent.
4943 (Installation Directory Variables): shall -> should
4944 (File Descriptors): Mention that 0, 1, 2 might get reopened.
4945 Mention that it's now safe to use 3 and 4.
4946 (Limitations of Usual Tools): cp -r is now specified by Posix.
4947 Omit longwinded and obsolescent discussion of cp -f.
4948 Modernize discussion of expr, ls.
4949 (Limitations of Make): Modernize discussion of VPATH builds.
4950 Mention $? as a workaround in some cases.
4951 * doc/install.texi (Basic Installation):
4952 Mention "./configure; make; make install" first. Be more
4953 specific about why this file is generic. Remove unnecessary
4954 parens. Remove misleading "only". Remove obsolete advice
4955 about csh. Don't say "configure" takes awhile; say it
4956 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
4957 and CC=c99 rather than CC=c89, as these are blessed by current
4958 Posix. Recommend GNU make if doing a VPATH build.
4960 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
4962 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
4963 examples involving shell prompts.
4965 2006-06-02 Stepan Kasal <kasal@ucw.cz>
4966 and Paul Eggert <eggert@cs.ucla.edu>
4968 * doc/autoconf.texi (Here-Documents): Add details about the
4969 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
4970 use "here-documents" instead of "here documents".
4972 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4974 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
4976 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
4978 * doc/autoconf.texi (File System Conventions): Warn about ":"
4979 anywhere in directory names.
4981 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
4983 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
4984 about quoting the case statement, just in case.
4985 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
4986 was fixed in ksh93g; reported by Ralf Wildenhues.
4988 2006-05-31 Stepan Kasal <kasal@ucw.cz>
4990 * doc/autoconf.texi (System Services): Do not document
4991 overriding EXEEXT via ac_cv_exeext=ext.
4992 (Particular Programs) <AC_PROG_MKDIR_P>:
4993 Document that ${MKDIR_P} understands --.
4994 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
4997 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4999 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
5000 argument with leading hyphen. Problem reported by Paul Eggert.
5002 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
5004 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
5005 about quoting ac_try: quote all of it, if any of it seems suspicious.
5006 This means we don't have to worry about ${ or sed any more.
5007 Also, double-quote the case statement, to work around misuses via
5008 underquoting as reported by Ralf Wildenhues in
5009 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
5010 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
5011 undocumented and dangerous macro.
5012 Problem reported by Ralf Wildenhues in
5013 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
5015 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5017 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
5018 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
5019 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
5021 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
5023 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
5024 since evidently some packages rely on the old, broken behavior.
5025 Problem reported by Ralf Wildenhues in
5026 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
5027 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
5028 pre-2006-05-26 definitions, but leave in the comments that
5029 these macros are dangerous and should not be used.
5030 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
5031 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
5032 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
5033 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
5034 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
5036 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
5038 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
5039 the use of 'tr', since this is our only use of 'tr'.
5041 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5042 and Paul Eggert <eggert@cs.ucla.edu>
5044 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
5045 Don't assume 'grep' works on long lines, since AIX grep doesn't.
5047 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5049 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
5050 the output file in the `${datarootdir}' test.
5052 2005-05-28 Stepan Kasal <kasal@ucw.cz>
5053 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5055 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
5056 mention of `datarootdir' in the input file(s), but literal
5057 `${datarootdir}' in the output file, and we haven't warned yet,
5058 then warn as well: the user may have (erroneously) used
5059 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
5060 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
5061 * tests/torture.at (datarootdir workaround): Extend this test.
5064 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5065 and Paul Eggert <eggert@cs.ucla.edu>
5067 * doc/autoconf.texi (autoheader Invocation): The first argument to
5068 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
5069 alternatives and clear up the language a bit.
5071 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
5073 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
5074 ac_config_guess, ac_config_sub, ac_configure.
5075 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
5076 Fix typo that prevented an unnecessary space from being removed.
5077 Problems reported by Ralf Wildenhues in:
5078 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
5080 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
5082 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
5083 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
5084 Don't use the term "thread-safe" to talk about mkdir race
5085 conditions, since the problem is more a process than a thread
5086 issue. Problem reported by Stepan Kasal in:
5087 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
5088 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
5089 the test for 'install' more closely. Look at MKDIR_P first.
5090 Look in the PATH, and at /opt/sfw/bin.
5091 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
5092 Don't bother to try mkdir -p, since we already check mkdir --version;
5093 just look at the version number. (There's no easy way to check
5094 for race-free implementations.)
5095 * tests/tools.at (autoconf: subdirectories): Adjust to above
5096 changes, since MKDIR_P now might end in "/mkdir -p".
5098 * doc/autoconf.texi (autoheader Invocation): Mention that the
5099 first arg of AC_DEFINE_UNQUOTED must be a literal.
5100 Problem reported by Ben Pfaff in
5101 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
5103 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
5104 * doc/autoconf.texi (Special Chars in Variables): New section.
5105 (Preset Output Variables): Warn about special chars in CPPFLAGS.
5106 (Installation Directory Variables): Quote $(datadir) better.
5107 (Limitations of Builtins): Describe some of eval's trickiness.
5109 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
5110 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
5111 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
5112 in front of every arg, not just trailing args. Quote apostrophes.
5113 (_AC_EVAL_ECHO): New macro.
5114 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
5115 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
5117 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
5118 exposed by quoting of eval argument. Put the command on line line
5120 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
5121 (_AC_PATH_X, AC_PATH_X): Quote more safely.
5122 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
5123 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
5124 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
5125 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
5126 Use eval more safely.
5127 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
5128 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
5130 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
5131 lines, exposed by quoting of eval argument.
5133 2006-05-26 Stepan Kasal <kasal@ucw.cz>
5134 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5136 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
5137 initialization of `ac_cv_exeext', do not override it if it was
5138 already set, unless it was set to `no', for compatibility with
5139 Autoconf-2.13, and comment this.
5140 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
5141 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
5142 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
5143 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
5144 Document that this test may be overridden by setting
5147 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5149 Revert these two patches:
5151 2006-04-06 Eric Blake <ebb9@byu.net>
5152 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
5153 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
5156 2006-04-01 Stepan Kasal <kasal@ucw.cz>
5157 Clean up _AC_COMPILER_EXEEXT* macros.
5158 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
5159 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
5160 ac_file to the name of the default output file and call
5161 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
5162 initial `rm' of the candidate files...
5163 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
5164 the same list in subsequent `rm' calls, and for the temporary
5165 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
5166 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
5167 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
5168 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
5169 no longer needed) by libtool. Make it a cache check.
5170 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
5171 copied here by mistake.
5172 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
5173 _AC_COMPILER_EXEEXT.
5174 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
5175 _AC_COMPILER_OBJEXT directly.
5176 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5178 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5180 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
5181 Fix description of how the buggy `sed' works.
5183 2006-05-25 Noah Misch <noah@cs.caltech.edu>
5187 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
5188 ENOLCK. Only mention `make -j' when applicable. Only raise
5189 fatal errors when `make -j' is involved. Improve error message.
5191 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5193 * doc/autoconf.texi (Here-Documents): We now know more about
5194 the variable expansion in here documents bug.
5195 Thanks to Tim Rice and Stepan Kasal.
5197 * doc/autoconf.texi (Making testsuite Scripts): Add an example
5198 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
5200 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5202 * tests/autotest.at (Multiline command from M4 expansion):
5203 No failure to be expected if the shell quotes newlines in
5204 commands in the `set -x' output. Report by Tim Rice.
5207 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
5209 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
5210 expansion in the here-documents used by config.status, as that
5211 runs afoul of the Korn shell version M-12/28/93d bug described in
5212 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
5213 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
5214 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
5216 2006-05-23 Jim Meyering <jim@meyering.net>
5218 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
5219 Fix typo introduced with 2006-04-02 change. It reversed the sense
5222 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
5224 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
5225 ac_dB slightly, to save bytes in the script.
5226 Max out at 50 lines, rather than 96; this is more likely
5227 (though not guaranteed) to avoid obscure 'sed' failures.
5229 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5231 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
5232 `tr -d -' as bad option argument. Work around this by deleting
5233 an unrelated character.
5234 Report by Tim Rice <tim@multitalents.net>.
5236 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
5237 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
5238 Stepan Kasal <kasal@ucw.cz>
5240 * doc/autoconf.texi (Particular Programs): Do not promise that
5241 we always prefer the GNU version of the program, and that we
5242 search according to PATH; both rules can have exceptions.
5243 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
5244 AC_PROG_SED. Move descriptions of limitations
5245 to the Limitations of Usual Tools section.
5246 (Limitations of Usual Tools) <sed>: Mention script length
5247 limitations with Solaris /usr/ucb/sed.
5248 <grep>: Fix wording for empty alternative. Mention that -c and
5249 -l should not be combined, and that -E and -F should not be
5252 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
5253 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5255 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
5256 limits in Solaris 8 /usr/ucb/sed by testing a long script.
5258 2006-05-22 Stepan Kasal <kasal@ucw.cz>
5260 * doc/autoconf.texi (Defining Symbols): Literal parameter of
5261 AC_DEFINE is now passed to m4_pattern_allow.
5262 * NEWS: Mention that; likewise for AC_SUBST.
5263 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
5264 the parameter to m4_pattern_allow.
5265 * tests/tools.at: Add a check for that.
5267 2006-05-22 Stepan Kasal <kasal@ucw.cz>
5269 * lib/autoconf/status.m4: Fix typos.
5271 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5273 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
5274 only the files that this macro generates.
5276 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
5278 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
5279 the HP-UX sed limitation of 99 commands, labels do not count.
5280 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
5282 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
5284 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
5286 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
5287 Import the following fix from coreutils:
5289 2006-01-13 Jim Meyering <jim@meyering.net>
5291 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
5292 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
5293 not double-quote uses of that variable, to accommodate the rare
5294 case in which getmntent is available in none of the libraries
5295 checked. This happens at least on FreeBSD 5.0.
5297 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
5299 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
5300 ac_config_guess, ac_config_sub, and ac_configure, since evidently
5301 some other programs unwisely rely on these undocumented vars.
5302 But put in warning comments about them.
5303 Problem reported by Ralf Wildenhues in
5304 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
5305 * NEWS: Document that these variables are intended to go away.
5307 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5309 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
5310 and set the language to C++ (analogous to the equivalent Fortran
5313 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
5314 * doc/autoconf.texi (C++ Compiler): Document it.
5315 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
5318 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
5320 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
5321 that caused config.status to generate 100-command sed scripts; the
5322 portable limit is 99.
5324 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5326 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
5327 variable `ac_d' instead of `d' to avoid infringing namespace.
5328 Report by Ralf Menzel.
5330 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
5332 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
5333 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
5334 * tests/tools.at (autoconf: subdirectories): New test, taken from
5335 the corresponding problem report by Ralf Wildenhues in:
5336 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
5338 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
5339 Quote some uses of shell variables if they might suffer unexpected
5340 globbing. This doesn't fix all instances of quoting problems that
5341 I found, just the easy ones that look safe.
5342 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
5343 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
5344 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
5345 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
5346 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
5347 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
5348 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
5350 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
5351 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
5353 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5355 * bin/autoreconf.in ($help): Reword according to the manual.
5356 Suggested by Olly Betts.
5358 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
5359 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5361 * bin/autoreconf.in: Pass the directory argument to
5362 `require_configure_ac'. Fix comment.
5363 * tests/torture.at (Configuring subdirectories): Expose this.
5364 Reported by Olly Betts.
5366 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5368 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
5369 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
5370 Automake as follows:
5372 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
5373 `$configure_in' instead of `configure.in', to preserve
5374 directory component.
5376 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5378 * config/config.guess, config/config.sub, config/texinfo.tex,
5379 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
5381 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
5383 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
5384 test for C99 conformance; (bool) 0.5 is an integer constant
5385 expression, but (bool) -0.5 is not. Problem reported by Fedor
5386 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
5388 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
5390 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
5391 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
5392 Warn about obsolete install-sh files. Remove stray sentence
5393 fragment and fix cross reference.
5394 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
5395 install -d; this undoes the 2006-05-10 change.
5396 (MKDIR_P): Mark with AN_MAKEVAR.
5397 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
5398 that we don't require $INSTALL to be thread-safe. Move comments
5399 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
5400 of AC_PROG_INSTALL. Output a message saying that we're checking
5401 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
5402 MKDIR_P instead of AC_SUBST.
5403 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
5404 Special magic for MKDIR_P, too.
5405 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
5407 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
5409 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
5411 Sync from Automake, as follows:
5413 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5414 * config/install-sh: Initialize IFS, so field splitting isn't
5416 * config/mkinstalldirs: Likewise.
5417 * config/missing: Remove superfluous quotes. Replace all uses of
5418 `[' by `test', for consistency, and for..
5419 * config/missing (sed_minuso, sed_output): New variables.
5420 (autom4te, help2man, makeinfo): Use them. Unifies detection of
5421 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
5422 Fixes `missing' to detect `--output' for help2man. Fixes
5423 PR automake/483. Report by Dennis J. Linse.
5424 (autom4te): Document in `missing --help'.
5426 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
5428 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
5429 * config/install-sh: Don't use 'path' to talk about file names,
5430 as per GNU coding standards. Close a race condition reported by Ralf
5431 Wildenhues and Stepan Kasal. There is still a race condition
5432 on hosts that predate Posix 1003.1-1992, but we can't help this.
5433 Don't mishandle weird characters like space on pre-Posix hosts.
5434 Invoke mkdir at most once per dir arg on pre-Posix hosts.
5435 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
5436 AC_PROG_MKDIR_P from AS_MKDIR_P.
5437 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
5438 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
5439 earlier editions are not (including Automake 1.8.3).
5440 Do not suggest mkinstalldirs for thread-safety.
5441 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
5442 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
5443 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
5444 presence of special characters and race conditions.
5445 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
5446 in Autoconf's name space.
5448 2006-05-10 Bruno Haible <bruno@clisp.org>
5449 and Paul Eggert <eggert@cs.ucla.edu>
5451 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
5452 from Automake with minor changes.
5453 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
5455 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
5457 * config/install-sh: Update to Automake CVS version, as follows:
5458 2006-04-25 Stepan Kasal <kasal@ucw.cz>
5459 * lib/install-sh: Simplify the expr implementation of dirname.
5460 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
5461 * lib/install-sh: Handle --, and diagnose unknown options.
5463 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5465 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
5466 `./autom4te' to create `./testsuite', since the `all' target
5467 will ensure its presence, but `installcheck' should not create
5468 the uninstalled wrappers.
5470 * tests/torture.at (Unusual Automake input files): Skip if we
5471 detect automake < 1.8.
5473 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5475 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
5476 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
5477 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
5480 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5482 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
5483 munge (multiple) white space and other oddities.
5484 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
5485 single quotes in variable assignment.
5486 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
5487 and similar failures by adding multiple spaces, tabs, and other
5489 Report and different test suggested by Francesco Romani
5490 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
5492 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
5493 single quotes, we only need to search for single quotes; this
5494 both simplifies the search pattern, and makes us less
5495 susceptible to `echo' variations for arguments not containing
5497 (_AC_ARG_VAR_VALIDATE): Likewise.
5499 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5501 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
5502 `$*' and IFS concatenation issue with traditional shells and
5503 bash-2.04. Report by Seanster@Seanster.com.
5505 2006-05-03 Bruno Haible <bruno@clisp.org>
5507 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
5508 precisely which Mac OS X versions have the od problem.
5510 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
5512 * doc/autoconf.texi: Use @option systematically.
5514 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
5515 and Bruno Haible <bruno@clisp.org>
5517 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
5519 (Integer Overflow): Mention the special case of integer division
5522 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5524 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
5525 traditional shells like the Solaris one that do not use the
5526 first IFS character for assembling `$*'.
5527 Prompted by a related report from autoconf_bug@nro.ca.
5529 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
5530 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5532 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
5533 Mention more problems with the -e option.
5535 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5538 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
5540 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
5541 in URLs to improve DVI formatted output (requires texinfo 4.6).
5542 (System Services, Systemology, Shellology): Likewise.
5543 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
5546 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
5548 (Runtime): Fix macro argument names to match description:
5549 `action-if-found' -> `action-if-true' and similarly.
5550 (Obsolete Macros): Likewise.
5551 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
5552 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
5553 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
5555 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5557 * doc/autoconf.texi (Limitations of Make): Clean up markup.
5560 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
5563 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5565 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
5566 /bin/sh set unsorted output.
5567 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
5568 * tests/local.at: Likewise.
5570 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
5572 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
5573 (Integer Overflow, Null Pointers, Buffer Overruns):
5574 (Floating Point Portability, Exiting Portably): New sections.
5575 (Writing Test Programs): Fix some langauge. Recommend exiting
5576 with status 1, not merely nonzero. Clarify exit declaration.
5577 (Run Time): Move C exit status stuff to new Exiting Portably section.
5578 (Systemology): Mention Posix and levenez. Update v7 reference.
5579 (Portable Shell): Mention the Posix shell.
5581 2006-04-25 Stepan Kasal <kasal@ucw.cz>
5583 * bin/autoconf.as (me): Replace by as_me.
5585 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
5587 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
5588 since as_me isn't set yet.
5590 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
5592 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
5593 a few minor bugs in this area.
5595 * doc/autoconf.texi (Programming in M4sh): Comment out the
5596 documentation of AS_BASENAME, for now.
5597 (Shell Substitutions): Do not use AS_DIRNAME in an example.
5598 (Limitations of Builtins) <basename>: Do not refer to
5600 * bin/autoconf.as (me): Don't use AS_BASENAME.
5601 (dir): Remove the unused variable.
5602 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
5603 AS_DETECT_REQUIRED. All uses changed.
5604 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
5606 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
5607 (AS_BASENAME): Use "basename --" to protect against leading "-".
5608 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
5609 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
5610 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
5611 (_AS_DIRNAME_PREPARE): Likewise.
5612 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
5613 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
5614 (AS_DIRNAME): Use "dirname --".
5616 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
5618 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
5619 of "run time" and "run-time" changed to "runtime", for consistency.
5620 * lib/autoconf/fortran.m4: Likewise (in comment).
5621 * lib/autoconf/functions.m4: Likewise.
5622 * lib/autoconf/general.m4: Likewise.
5623 * lib/autoconf/headers.m4: Likewise.
5625 * doc/autoconf.texi (Run Time): Document the exit status situation
5626 with more accuracy and detail.
5628 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5630 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
5631 Archive is not officially `GNU' any more. Update URL.
5632 (Defining Directories): Likewise
5633 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
5635 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5637 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
5638 newline from the `trap' code to finish `config.log'; the NetBSD
5639 /bin/sh resets the exit status after an empty command, as
5640 documented in doc/autoconf.texi.
5641 Reported by Dalibor Topic <robilad@kaffe.org>.
5643 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
5645 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
5646 Suggested by Bruno Haible.
5648 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
5650 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
5651 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
5652 Instead, just list the shells that we know work.
5653 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
5654 changed. Be more cautious about the _cv_ variable.
5655 * tests/tools.at (Syntax of the shell scripts): Check the
5656 _cv_ variable once, at first, to avoid an internal autoconf error
5657 when sh -n does not work.
5659 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5661 * lib/Autom4te/FileUtils.pm: Sync from Automake.
5663 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
5665 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
5666 use ">&-" since we're only 99.999% sure that this is portable,
5667 and since the MinGW bug is fixed in a different way.
5668 * lib/autotest/general.m4 (AT_INIT): Likewise.
5670 2006-04-16 Stepan Kasal <kasal@ucw.cz>
5672 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
5673 before opening config.log, to avoid hitting a bug on MinGW.
5675 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
5677 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
5678 AS_MESSAGE_LOG_FD before reopening it onto the log file.
5679 This works around a MinGW bug reported by Eric Paire.
5680 Make sure that all writes to the log file append to it,
5681 rather than possibly losing data.
5682 * lib/autotest/general.m4 (AT_INIT): Likewise.
5684 2006-04-14 Stepan Kasal <kasal@ucw.cz>
5686 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
5689 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5693 * configure.ac (AC_INIT): Bump to 2.59d.
5695 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5699 * Makefile.maint (news-date-check): Do not require a leading `*'
5700 before the release date in NEWS.
5702 2006-04-12 Stepan Kasal <kasal@ucw.cz>
5703 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5705 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
5706 the instantiated file do not contain the string 'datarootdir'
5707 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
5708 @mandir@, replace the reference '${datarootdir}' by the value.
5709 * tests/torture.at (datarootdir workaround): New test.
5710 * NEWS: Advertise this temporary fixup.
5711 Based on a patch by Bruno Haible, reported and analyzed by
5712 Paul Eggert and Noah Misch.
5714 2006-04-12 Eric Blake <ebb9@byu.net>
5716 * tests/autotest.at (Debugging a failed test): Fix comment.
5718 2006-04-12 Stepan Kasal <kasal@ucw.cz>
5720 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
5721 all the changes since 2006-04-07.
5723 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5725 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
5726 succeeded, but `ln -s file dir' failed, take care to remove the
5727 leftover target before the next test, to prevent its spurious
5728 failure; also make sure `ln file dir' works before selecting it.
5729 Thanks to Keith Marshall for pointing this out.
5732 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
5733 assignments in `at_debug_args', so that we put them correctly
5734 in the `run' script.
5735 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
5736 Reported by Eric Blake.
5738 2006-04-11 Eric Blake <ebb9@byu.net>
5740 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
5741 top-level tests after micro-suite has been run. Used in...
5742 (Debugging a successful test, Debugging script and environment),
5743 (Debugging a failed test): ...these new tests. The first of these
5745 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
5746 macro, split out from...
5747 (AT_INIT): ...here, so that using -d also generates a run script.
5748 Document that -d inhibits top-level logging.
5749 * doc/autoconf.texi (testsuite Invocation): Document that -d only
5750 inhibits top-level logging; debug scripts are created.
5752 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
5754 * tests/autotest.at (Empty test, Empty check): New test to check it.
5756 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
5759 2006-04-10 Stepan Kasal <kasal@ucw.cz>
5761 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
5762 the files if a problem appears. Make the empty *.at files
5763 read-only, too. Proposed by Ralf Wildenhues.
5765 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5767 * config/Makefile.am: Add comment to force updated Makefile.in.
5769 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
5770 space only patch to this file, this patch causes the Makefile.in
5771 files that include freeze.mk to be updated, and thus have a
5772 newer time stamp again, which in turn makes a pristine CVS
5773 checkout have correct time stamps.
5775 * Makefile.maint (cvs-sv): New macro, to be used..
5776 (config.guess-url_prefix, config.sub-url_prefix)
5777 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
5778 point to CVS text checkout of Gnulib files.
5779 (copyright-check): Bump current year.
5780 (announcement): Do not hard-wire `./announce-gen'.
5781 (cvs-update): Propagate failures of `cvs' and `move-if-change'
5783 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
5785 (wget_files): Update config.guess, config.sub, texinfo.tex by
5786 `wget-update', now that their URLs work again.
5788 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
5790 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
5791 Problem noted by Paul D. Smith.
5793 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5795 * doc/autoconf.texi: Remove unused words from word list.
5796 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
5797 .x-sc_trailing_space: New files.
5799 * doc/standards.texi: Sync from gnulib.
5801 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
5802 `LIBOBJDIR' as experimental.
5804 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
5805 with a target directory; it's internally implemented as `cp'
5806 anyway, but since Autoconf advertises the possibility to use
5807 a target directory when LN_S is `ln -s', we need to find out.
5808 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
5809 analyzed by Keith Marshall <keith.marshall@total.com>.
5813 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
5815 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
5816 confdefs.h as-is. In general, if it has backslash-newline or the
5817 like, then it doesn't work either to sort or to remove empty
5820 2006-04-09 Stepan Kasal <kasal@ucw.cz>
5822 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
5824 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
5826 * lib/autom4te.in (Automake-preselections): Preselect
5829 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
5831 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
5832 apostrophe within a single-quoted string, as this is the usual
5833 tradition and is easier to read than '"'"'. Don't rely on the
5834 shell treating "$/" like '$/'. Use a more-consistent indenting
5837 2006-04-09 Eric Blake <ebb9@byu.net>
5839 * tests/autotest.at (Backquote command substitution),
5840 (Multiline backquote command substitution): Remove mistaken
5841 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
5843 (Parenthetical command substitution, Multiline parenthetical
5844 command substitution): here.
5846 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
5848 Import macros from gnulib (often changing their name).
5850 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
5851 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
5852 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
5853 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
5854 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
5855 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
5856 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
5857 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
5858 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
5859 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
5860 The manual mentions Gnulib more prominently.
5861 * doc/autoconf.texi (Gnulib): New node.
5862 (Pointers): Add Gnulib URL.
5863 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
5864 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
5866 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
5867 suggest a #define rather than a typedef for _Bool, and mention
5868 Gnulib rather than trying to substitute stdbool code.
5869 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
5870 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
5871 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
5872 AC_STRUCT_DIRENT_D_TYPE.
5873 (Particular Types): Mention stdint.h and inttypes.h as standard
5875 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
5876 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
5877 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
5878 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
5879 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
5880 (C Compiler): Move AC_C_LONG_DOUBLE to ...
5881 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
5882 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
5883 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
5884 (Coding Style). Don't mention m4_expand_once.
5885 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
5886 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
5887 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
5888 (AC_CHECK_FUNCS): Use it.
5889 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
5890 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
5891 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
5892 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
5893 (AC_HEADER_ASSERT): New macro.
5894 (AC_HEADER_STDBOOL): Don't assume "#error" works.
5895 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
5896 Catch a bug in an HP-UX C compiler.
5897 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
5898 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
5899 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
5900 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
5901 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
5902 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
5905 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
5906 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
5908 2006-04-08 Stepan Kasal <kasal@ucw.cz>
5910 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
5911 of the warning introduced by the 2001-08-28 change.
5913 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
5914 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5916 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
5917 variables shall be overriden by the cache.
5918 * tests/torture.at (AC_ARG_VAR): Test also with a first value
5919 that contains braces.
5921 2006-04-07 Stepan Kasal <kasal@ucw.cz>
5923 Revert the patch from 2006-04-01 and only improve
5924 _AS_DETECT_BETTER_SHELL:
5926 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
5927 skip nonexistent directories.
5928 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
5929 only shell candidates which exist.
5930 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
5931 * lib/autotest/general.m4 (AT_INIT): No need to give three
5932 parameters to _AS_PATH_WALK.
5934 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
5935 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5937 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
5938 distinguish m4sugar macros.
5939 * tests/tools.at (autoupdating with aclocal and m4_include):
5940 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
5941 test case by Noah Misch <noah@cs.caltech.edu>.
5943 2006-04-07 Stepan Kasal <kasal@ucw.cz>
5945 Revert my change from 2006-03-17, in other words:
5946 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
5948 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
5949 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
5952 2006-04-07 Eric Blake <ebb9@byu.net>
5954 * doc/autoconf.texi (Programming in M4sh): Document that
5955 AS_MKDIR_P exits the script on failure.
5956 * lib/autotest/general.m4: Remove redundant AS_ERROR.
5958 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5960 * config/elisp-comp, config/install-sh, config/mdate-sh,
5961 config/missing, config/mkinstalldirs: Sync from Automake.
5963 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
5966 * doc/make-stds.texi: Sync from gnulib.
5968 2006-04-06 Eric Blake <ebb9@byu.net>
5970 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
5971 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
5974 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
5975 Eric Blake <ebb9@byu.net>,
5976 Paul Eggert <eggert@cs.ucla.edu>,
5977 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5979 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
5980 whether `set' quotes correctly: redirect stderr of the tested
5981 `set', and use a subshell, for Ultrix; use `sed' instead of
5982 `grep' for zsh `set' which may write binary output; match only
5983 at the beginning of a line, to avoid false positives.
5984 In order to avoid false positives by unrelated variables with
5985 multiline content, put the dump algorithm in a subshell and
5986 unset all variables containing newlines (except some which are
5987 special to the shell). Warn about cache variables that are
5990 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5992 * config/config.guess, config/config.sub, config/texinfo.tex:
5995 * tests/mktests.sh: Reword comments.
5997 * tests/mktests.sh: Only skip internal macros starting with
5998 `_AC_' or `__AC_'. Noted by Stepan Kasal.
5999 Update exclusion lists for the test suite to this end:
6000 (AC_ARG_VAR): Do test this now.
6001 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
6002 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
6003 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
6004 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
6006 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
6007 shell issue with double-quoted command substitutions of native
6009 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
6012 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
6013 no file matches the glob, discard the warning, set `nullglob'.
6014 (syntax-check): Likewise.
6015 (sc_cast_of_x_alloc_return_value): Likewise.
6016 (sc_cast_of_alloca_return_value, sc_error_exit_success)
6017 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
6018 (m4-check): Likewise.
6019 (sc_system_h_headers): Do not print rule on execution.
6020 (sc_tight_scope): Do not fail for non-existing `src' directory.
6021 (sc_changelog): Skip the Copyright footer.
6022 * lib/autoconf/lang.m4: Remove trailing space.
6024 * lib/autoconf/status.m4: More replacements to
6025 <tab><space> where this makes sense.
6027 2006-04-06 Stepan Kasal <kasal@ucw.cz>
6029 * tests/Makefile.am (maintainer-check-posix):
6030 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
6032 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
6033 ac_config_<foo>s again, sometimes normalized, sometimes not.
6034 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
6035 (AC_CONFIG_COMMANDS): Do not do so here.
6036 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
6037 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
6038 2005-07-25 rewrite. Noticed by Noah Misch.
6040 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
6041 _AC_PRESERVE_HELP_ORDER, ...
6042 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
6044 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
6045 inside m4_expand_once; it is redundant.
6047 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
6048 for --help from Cygnus `configure.'
6050 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
6052 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
6053 on a patch proposed by Ralf Wildenhues.
6055 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
6057 * lib/autoconf/status.m4: Replace <space>''<tab> with
6058 <tab><space> where this makes sense.
6060 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
6061 Noah Misch <noah@cs.caltech.edu>
6063 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
6064 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
6065 * doc/autoconf.texi (Help Formatting): New node.
6066 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
6068 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6070 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
6071 lib/autoconf/specific.m4, lib/autoconf/status.m4,
6072 lib/autoconf/types.m4, lib/autotest/general.m4,
6073 tests/mktests.sh, tests/torture.at: White space cleanup:
6074 remove some SPACE before TAB, or add quoting ('' or @&t@).
6076 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
6078 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
6080 2006-04-05 Eric Blake <ebb9@byu.net>
6082 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
6083 empty test suite works.
6084 * tests/autotest.at (Empty test suite): Remove xfail.
6086 2006-04-05 Noah Misch <noah@cs.caltech.edu>
6088 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
6089 TAGS to ac_config_<foo>s.
6090 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
6091 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
6092 normalizing it, consistent it with previous releases.
6093 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
6095 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
6097 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
6098 Use simplified args that Eric Blake originally suggested.
6100 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
6102 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
6103 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
6104 Use 'comm' rather than N instances of grep; this also fixes a bug
6105 whereby substrings were incorrectly matched, causing us to not
6106 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
6107 (exclude_list): Exclude empty macros.
6108 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
6110 Use awk rather than grep -E or egrep, to avoid
6111 portability problems with regular expressions containing newlines.
6112 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
6113 Switch from grep to awk syntax.
6114 (ac_exclude_script): Renamed from ac_exclude_egrep.
6115 (au_exclude_script): Renamed from au_exclude_egrep.
6117 2006-04-04 Noah Misch <noah@cs.caltech.edu>
6119 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
6120 a subdirectory subject to Cygnus `configure'.
6121 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
6123 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
6124 report request when we have no AC_PACKAGE_BUGREPORT.
6126 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6130 * tests/mktests.sh: Update copyright year in the header of the
6133 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
6134 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
6135 typedef'ed restricted pointer, to catch a compiler bug on
6136 HP-UX 11.x, and fix warnings so it passes with -Werror.
6137 (_AC_PROG_CC_C99): Likewise.
6138 Reported by Albert Chin <china@thewrittenword.com>.
6139 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
6141 2006-04-03 Noah Misch <noah@cs.caltech.edu>
6143 * bin/autoscan.in (subdirs): New global.
6144 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
6145 (output): Emit AC_CONFIG_SUBDIRS as needed.
6146 * tests/autoscan.at (autoscan): Remove XFAIL.
6148 2006-04-03 Noah Misch <noah@cs.caltech.edu>
6150 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
6152 2006-04-03 Eric Blake <ebb9@byu.net>
6154 * THANKS: Add myself.
6156 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6158 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
6159 to log, point to testsuite output tree.
6161 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
6163 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
6164 * doc/autoconf.texi (Function Portability): Mention that C++
6165 has trouble with 'exit'.
6166 (Guidelines): Test programs shouldn't use 'exit'.
6167 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
6168 Remove; all uses removed.
6169 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
6170 Return from 'main' instead of calling 'exit'.
6171 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
6172 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
6173 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
6174 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
6175 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
6176 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
6177 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
6178 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
6179 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6180 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
6181 * tests/compile.at: Likewise.
6183 2006-04-02 Pavel Roskin <proski@gnu.org>
6185 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
6187 2006-04-01 Stepan Kasal <kasal@ucw.cz>
6189 Clean up _AC_COMPILER_EXEEXT* macros.
6191 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
6192 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
6193 ac_file to the name of the default output file and call
6194 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
6195 initial `rm' of the candidate files...
6196 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
6197 the same list in subsequent `rm' calls, and for the temporary
6198 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
6199 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
6200 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
6201 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
6202 no longer needed) by libtool. Make it a cache check.
6203 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
6204 copied here by mistake.
6205 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
6206 _AC_COMPILER_EXEEXT.
6207 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
6208 _AC_COMPILER_OBJEXT directly.
6209 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6211 2006-04-01 Stepan Kasal <kasal@ucw.cz>
6213 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
6214 (AS_DIRNAME): Use it.
6215 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
6217 * tests/*.at: Remove the generated ones.
6219 2006-04-01 Stepan Kasal <kasal@ucw.cz>
6221 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
6223 2006-04-01 Eric Blake <ebb9@byu.net>
6225 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
6226 directories, unless optional third argument supplied.
6227 (AS_UNAME): Don't optimize PATH walk.
6229 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
6231 2006-04-01 Eric Blake <ebb9@byu.net>
6232 and Stepan Kasal <kasal@ucw.cz>
6234 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
6237 2006-04-01 Noah Misch <noah@cs.caltech.edu>
6239 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
6240 Autoconf version number despite a zero- or one-argument AC_INIT.
6242 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
6244 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
6245 * doc/autoconf.texi (autoreconf Invocation): Document it.
6247 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
6248 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
6250 2006-04-01 Eric Blake <ebb9@byu.net>
6252 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
6253 * lib/autotest/general.m4: Be tolerant of existing directory when
6254 rm failed to remove it.
6256 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6258 * bin/autoupdate.in: Redefine m4_location so that warnings print
6259 the correct lines of the input file by subtracting..
6260 (_au__first_line): ..this new definition.
6262 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
6263 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
6264 Remove stray newline in output.
6265 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
6266 AC_DEFUN this for autoconf, including the obsoletion diagnose.
6267 Fixes autoupdating of code where the replacement output contains
6269 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
6270 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
6271 (au_exclude_list): Add AC_LANG_SAVE.
6272 * tests/tools.at: Several new tests for all of this.
6273 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
6275 The AC_LANG_SAVE issue was reported against Libtool by
6276 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
6277 Kristian Kvilekval <kris@cs.ucsb.edu>.
6279 2006-04-01 Stepan Kasal <kasal@ucw.cz>
6281 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
6282 switch all of them on and of when necessary. Fixes the bug when
6283 m4sugar macros (e.g., m4_define) were expanded after the first
6284 automatic update (e.g., after AC_PREREQ or AC_INIT).
6286 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
6288 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
6289 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
6291 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
6292 correctly. Problem reported by Eric Blake.
6293 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
6296 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
6298 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
6299 Tighten up the basename/dirname wording.
6301 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6303 * Makefile.maint (sc_texi_notab): New check: do not use TABs
6304 in texinfo files outside of verbatim environments.
6305 (syntax-check-rules): Update.
6306 * doc/autoconf.texi (Configuration Headers): Conform to it.
6308 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
6310 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
6311 aclocal cannot be given on the command line.
6313 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
6315 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
6316 Give an example for AS_DIRNAME instead of referring to Posix..
6317 (File System Conventions): Put discussion of // versus / here, and
6319 (Limitations of Usual Tools): Add basename. Remove verbiage
6320 after dirname, since it got moved to the above sections.
6321 All this was inspired by a patch proposed earlier by Eric Blake.
6323 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6325 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
6326 `$0' to protect against spaces.
6327 * lib/autotest/general.m4 (AT_INIT): Likewise.
6328 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
6331 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6333 * bin/autoscan.in: The value of find_configure_ac should be
6334 checked for existence, so we don't barf over a nonexisting
6335 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
6337 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6339 * bin/autoupdate.in: Fix some typos.
6341 2006-03-21 Stepan Kasal <kasal@ucw.cz>
6343 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
6345 * lib/autoscan/autoscan.list: Refreshed.
6347 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6349 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
6350 and Erlang related variables.
6352 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
6353 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
6354 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
6355 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
6356 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
6357 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
6358 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
6359 (_AC_PROG_OBJC_G): New macros.
6360 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
6361 * doc/autoconf.texi (Objective C Compiler): New node.
6362 (Preset Output Variables): Document OBJCFLAGS.
6363 (Language Choice): Document `Objective C' language.
6364 (Fortran Compiler): Fix typo.
6366 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
6368 2006-03-20 Stepan Kasal <kasal@ucw.cz>
6370 * doc/autoconf.texi (Default Includes): Fix typo
6371 s/AC_HEADERS_STDC/AC_HEADER_STDC/
6372 (Limitations of Usual Tools): s/unwriteable/unwritable/
6373 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
6374 Fix typos in the comments.
6376 2006-03-17 Stepan Kasal <kasal@ucw.cz>
6378 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
6379 Factor out the warning to...
6380 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
6381 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
6382 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
6384 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
6385 case `ac_delim' when writing the sed script.
6387 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
6388 moved DUALCASE=1 ...
6389 (AS_SHELL_SANITIZE): ... here.
6390 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
6393 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
6395 (_AC_PATH_PROG): Store the result to VARIABLE.
6396 (AC_PATH_PROG): No need to set VARIABLE again.
6398 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
6399 the first one is usual AT_CHECK_MACRO test, the second one checks
6400 that the same works when cross-compiling.
6401 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
6402 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
6404 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6406 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
6407 the directory `/usr/bin/posix' in the shell search, to prefer
6408 the Posix shell not only in subsequent spawns as with `$BIN_SH'
6411 * doc/autoconf.texi (contents): To fix texi2html output, hide
6412 `@setcontentsaftertitlepage' for HTML.
6413 (Writing Autoconf Macros): Likewise, insert space after `@c'.
6414 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
6417 2006-03-16 Stepan Kasal <kasal@ucw.cz>
6419 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
6421 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
6422 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
6423 why IFS is restored so late; thank you, Ralf, for reminding us.
6425 2006-03-15 Stepan Kasal <kasal@ucw.cz>
6427 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
6428 variables in the examples.
6430 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
6432 * doc/autoconf.texi (several sections): Cleaned up documentation for
6433 macros in erlang.m4.
6435 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6437 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
6438 failure condition for `$(cmd)' style command substitutions.
6439 (Parenthetical command substitution, Multiline parenthetical
6440 command substitution): Use it.
6442 * doc/autoconf.texi (Special Shell Variables): Missing word.
6443 Reported by Keith Marshall <keith.marshall@total.com>.
6445 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
6446 IFS even in case of empty `$PATH'.
6448 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6450 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
6451 `expr' away if there is nothing to do.
6452 < --keywords >: Simplify and robustify argument handling.
6453 Revert erroneous comment from 2005-08-23. Extend to allow
6454 keyword negation with `!'.
6455 Update help message. Remove broken code to prevent running
6456 tests multiple times.
6457 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
6458 Update and fix the documentation accordingly.
6459 * tests/autotest.at (Keywords): Renamed to..
6460 (Keywords and ranges): .. this. Extended to make sure negated
6461 keywords, keywords taken from AT_SETUP arguments, and numeric
6462 test ranges work, and that matching is case-insensitive.
6464 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6466 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
6467 allow to pass unnamed structs even in C++.
6468 (AC_CHECK_SIZEOF): Likewise.
6469 Also fix quoting error in `AC_MSG_FAILURE' arguments.
6470 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
6471 struct): New tests for unnamed structs, each both native and
6474 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
6475 a structure inside a cast, for C++ conformance.
6476 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
6477 Also fix quoting error in `AC_MSG_FAILURE' arguments.
6479 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
6480 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
6481 trying to execute the command `no'.
6483 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
6484 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
6487 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
6488 example. Do not emphasize `$%', it is hardly new and special.
6489 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
6491 * doc/autoconf.texi (Limitations of Usual Tools): Document
6492 OpenBSD and traditional `grep' failure to handle multiple
6493 patterns separated by newlines.
6495 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
6497 * doc/autoconf.texi (several sections): Add documentation for macros
6500 2006-03-10 Eric Blake <ebb9@byu.net>
6502 * doc/autoconf.texi (Obsolete Macros): Fix wording of
6505 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
6507 * doc/autoconf.texi: Use @acronym more consistently for acronyms
6508 like BSD, GPL, LGPL. Fix minor English typos.
6509 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
6510 Mention that these macros are becoming obsolete.
6511 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
6512 Use more modern terminology for which standard is what.
6513 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
6515 (AC_PROG_CXX): Likewise.
6516 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
6517 Remove obsolete discussion about how to port to K&R.
6518 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
6519 the obsolescent AC_HEADER_STDC.
6520 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
6523 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6525 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
6526 Remove stdin redirection from /dev/null to allow pipe to work.
6528 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
6530 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
6531 Require that /lib/cpp include stdio.h correctly. Solaris 10's
6532 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
6535 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6537 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
6538 HP-UX sed is 99 commands, not 100.
6539 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
6540 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
6541 newline for portability.
6542 * tests/torture.at (Torturing config.status): Also test 100
6543 AC_SUBST_FILE invocations. Fix test to actually verify the
6544 AC_CONFIG_FILES output.
6545 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
6546 command, label, and read-file `r' limits. Unify HP-UX spelling.
6548 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
6550 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
6552 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
6553 * tests/mktests.sh: Small shell portability fixes.
6555 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6557 * doc/autoconf.texi (Caching Results): Fix the examples to use a
6558 recommended quoting style and discard unwanted output.
6560 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
6562 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
6563 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
6564 cases, and to work around Tru64 expr bug.
6566 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6568 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
6569 expr bug that turns the result of a regex match into a number if
6572 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6574 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
6575 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
6576 in section `Specific Compiler Characteristics'.
6578 2006-03-04 Eric Blake <ebb9@byu.net>
6580 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
6583 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6585 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
6586 order of variable initialization, so even the Solaris 2.6 shell
6587 can create a config header correctly. Fixes lots of test suite
6590 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6592 * doc/autoconf.texi (Text processing Macros): New node to
6593 document the m4sugar macros m4_re_escape, m4_tolower,
6594 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
6596 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
6598 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
6599 XrmInitialize (0) -> XrmInitialize ().
6600 Reported by Toshio Kuratomi.
6602 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6604 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
6605 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
6606 * doc/autoconf.texi (Programming in M4sh): Adjusted.
6607 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
6608 both macros are defun'ed so that required macros are evaluated
6611 * doc/autoconf.texi (Prerequisite Macros): State more precisely
6612 where a required macro will be expanded.
6613 (Coding Style): Another reason not to use `m4_define'.
6615 2006-02-21 Eric Blake <ebb9@byu.net>
6617 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
6619 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6621 * doc/autoconf.texi (Looping constructs): New node, to
6622 document m4_for, m4_foreach, m4_foreach_w, and mention
6623 obsolete AC_FOREACH.
6624 (Obsolete Macros): Document AC_FOREACH.
6625 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
6626 (m4_for): Fix to never loop (almost) endlessly, work correctly
6627 with arithmetic expressions in arguments, a step of zero or
6628 non-integer multiple of the interval, and avoid integer
6630 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
6633 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
6635 Add basic support for Erlang, both for configuring Erlang/OTP
6636 tools, and Erlang as a conf test language.
6637 * lib/autoconf/erlang.m4: New file.
6638 * lib/autoconf/autoconf.m4: Add erlang.m4.
6639 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
6640 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
6641 * NEWS: Add short description of new macros.
6642 * THANKS: Add Romain Lenglet.
6644 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6646 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
6647 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
6649 2006-02-15 Eric Blake <ebb9@byu.net>
6651 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
6654 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6656 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
6657 (_AS_CASE): Private helper macro.
6658 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
6659 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
6660 Fix syntax of AS_IF description
6661 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
6662 for the AC_REQUIRE mess.
6663 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
6666 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
6668 * doc/autoconf.texi: Minor style cleanup.
6669 Be consistent about spaces after commas.
6670 Insert [] where empty args look a bit funny.
6671 Fix some "i.e." and "e.g." usages.
6672 Try to avoid "X/Y" usages.
6673 Don't be pedantic about "ISO C99"; just say C99.
6674 Prefer GNU style for spaces in front of parens.
6675 (Function Portability): Comment about C89 versus C99
6676 signed integer division.
6677 (Particular Headers): Use current gnulib style for dirent
6680 2006-02-14 Stepan Kasal <kasal@ucw.cz>
6681 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6683 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
6684 macros without parameters.
6685 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
6686 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
6687 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
6689 (autoupdate): Updated to match AU_ALIAS fix.
6691 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6692 and Paul Eggert <eggert@cs.ucla.edu>
6694 * doc/autoconf.texi (Programming in M4sh): Document
6695 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
6697 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6699 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
6700 (AS_BOURNE_COMPATIBLE): ..this.
6701 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
6703 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
6705 * doc/install.texi (Defining Variables): Tighten up the
6706 CONFIG_SHELL wording.
6708 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
6709 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6711 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
6712 of (set -o) rather than testing whether (set -o posix) succeeds,
6713 to work around a bug in the AIX 5.3 shell. Problem originally
6714 reportd by Howard Chu for libtool.
6716 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
6718 * doc/autoconf.texi (Running the Compiler, Running the Linker):
6719 Changes the macro arguments in summaries to match the
6722 2006-02-04 Stepan Kasal <kasal@ucw.cz>
6724 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
6725 hint as ``a workaround for a bug.''
6727 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6729 * bin/autoreconf.in: New option `--no-recursive'.
6730 Improve wording for subpackages a bit.
6731 * doc/autoconf.texi (autoreconf Invocation): Updated.
6734 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
6735 in environment of `configure', not the command line.
6736 Reported by Howard Chu <hyc@highlandsun.com>.
6738 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
6740 * doc/autoconf.texi (Limitations of Builtins): Document the
6741 problem with "trap -".
6743 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
6745 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
6746 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
6747 messages to differentiate Fortran and Fortran 77 tests.
6748 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
6749 AC_LANG_ASSERT, to allow use in mixed-language projects.
6751 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
6753 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
6754 FOO" to "defined (FOO)".
6755 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
6756 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
6757 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
6758 * tests/tools.at (ifnames): Likewise.
6760 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6762 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
6763 * lib/Autom4te/General.pm (mktmpdir): Likewise.
6764 (END): Improve error message a bit.
6765 Reported by Bruce Korb <bkorb@gnu.org>.
6767 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6769 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
6770 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
6772 2006-01-11 Stepan Kasal <kasal@ucw.cz>
6774 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
6775 requires sys/stream.h. Reported by Oliver Kiddle.
6777 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6778 Stepan Kasal <kasal@ucw.cz>
6780 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
6781 before the removals of test dirs, use `find' to avoid modification
6782 of symlinked directories.
6784 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
6786 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
6787 Don't ignore the macro arguments.
6789 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
6791 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
6792 declaration that works for MSVC.
6794 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6796 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
6797 Add `*.map' and `.inf' for Green Hills compiler.
6798 Reported by Stefan Seefeld <stefan@codesourcery.com>.
6800 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
6801 correctly: pad with spaces after FIRST_PREFIX if necessary,
6802 and compute string lenghts with `m4_qlen' instead of `m4_len'.
6803 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
6804 * tests/m4sh.at (AS_HELP_STRING): Test extended.
6806 Reported by numerous people, numerous times.
6808 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
6810 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
6811 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
6812 * lib/autoconf/general.m4, lib/autoconf/status.m4:
6813 * lib/autotest/general.m4, tests/local.at:
6814 Update copyright year to 2006.
6816 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
6818 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
6819 for file names, again. Reported by Noah Misch.
6820 (Coding Style): Explain that s|a|b| is preferred for file names.
6821 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
6822 (AC_OUTPUT_MAKE_DEFS): Likewise.
6823 * lib/autotest/general.m4 (AT_INIT): Likewise.
6824 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
6825 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
6827 Fix Posix-conformance bugs re use of { command in sed scripts,
6828 and improve the sed-related documentation a bit.
6829 * doc/autoconf.texi (Installation Directory Variables): Use
6830 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
6831 rather than "sed" when talking about Sed in general.
6832 (Particular Programs): Likewise.
6833 (Coding Style): y is like s with respect to / and ,.
6834 (Limitations of Usual Tools): Document the weird restrictions
6835 that Posix has about { }. Use better quoting.
6836 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
6837 Rewrite to conform to Posix rules about { } in sed scripts.
6838 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
6839 * tests/foreign.at (Libtool): Likewise.
6840 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
6841 Use our own style advice re 's,a,b,' versus 's|a|b|'.
6843 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6845 * lib/autoconf/status.m4: Fix typo.
6847 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
6848 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
6849 `-def', for the benefit of Portland `pgf90 -Mipa'.
6850 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
6852 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
6854 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
6855 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
6856 shell from zsh to bash.
6858 2005-12-31 Stepan Kasal <kasal@ucw.cz>
6860 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
6861 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
6863 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
6865 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
6866 parentheses in $(...). Problem reported by Eric Blake.
6868 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
6870 * doc/autoconf.texi (Limitations of Usual Tools):
6871 Mention which characters can be escaped with \ in portable regular
6872 expressions used in grep, sed, expr. Mention the leading ^ problem
6873 with expr. Clean up some confusing wording. Mention which
6874 grep options are portable.
6876 2005-12-09 Stepan Kasal <kasal@ucw.cz>
6878 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
6880 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
6882 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
6883 patch, noted by Ralf Wildenhues.
6885 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6887 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
6888 posix' unconditionally, for pdksh in `native sh' emulation.
6890 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
6892 * doc/autoconf.texi (Shellology): Document eval $? problem
6894 (Limitations of Builtins): Likewise.
6896 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6898 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
6899 CONFIG_SHELL in the environment of the configure rerun.
6900 * doc/autoconf.texi (Here-Documents, config.status Invocation):
6901 Suggest passing CONFIG_SHELL absolute, and in the environment
6902 rather than as option.
6904 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6906 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
6907 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
6908 Fix macro quoting. Fix output for n * 98 substituted variables.
6910 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6912 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
6913 `tmp' to avoid file removal race.
6915 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6917 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
6918 ac_clean_files and LIBOBJS.
6920 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6922 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
6923 Factor functionality to..
6924 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
6925 `AC_SUBST($1)' in the public version.
6926 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
6927 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
6930 2005-11-01 Stepan Kasal <kasal@ucw.cz>
6932 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
6935 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6937 * NEWS: Move AH_HEADER mention to right place.
6939 2005-10-27 Stepan Kasal <kasal@ucw.cz>
6941 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
6942 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
6944 2005-10-25 Stepan Kasal <kasal@ucw.cz>
6946 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
6947 conftst2.$ac_objext.
6948 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
6950 2005-10-24 Stepan Kasal <kasal@ucw.cz>
6952 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
6953 conftest.o, to see whether the compiler really obeys; rm the object
6954 file before and after the test and register it with ac_clean_files.
6955 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
6957 2005-10-21 Stepan Kasal <kasal@ucw.cz>
6959 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
6960 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
6961 code so that the most common case requires less forks.
6963 2005-10-20 Stepan Kasal <kasal@ucw.cz>
6965 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
6966 not portable; thanks to Paul Eggert and Alexandre.
6968 * NEWS: Fix an old typo.
6970 2005-10-20 Jim Meyering <jim@meyering.net>
6972 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
6973 the latter'', in two places.
6975 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
6977 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
6978 AC_LANG_PROGRAM, fixing a typo. Don't give details about
6979 the inner workings of AC_LANG_FUNC_LINK_TRY.
6980 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
6981 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
6982 by the function rather than ignoring it.
6983 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
6984 comparing its address. Intel's interprocedural optimization was
6985 outsmarting the old heuristic. Problem reported by
6988 2005-10-19 Stepan Kasal <kasal@ucw.cz>
6990 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
6992 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
6994 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
6995 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
6997 2005-10-04 Stepan Kasal <kasal@ucw.cz>
6999 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
7000 before removing it (chmod -R u+rwx); there are three instances of this.
7002 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7003 Stepan Kasal <kasal@ucw.cz>
7005 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
7006 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
7007 make its content writable before removing it. Remove an errorneous
7008 comment from the end, where the logs of the failed tests are copied
7009 to the main log file.
7011 2005-09-27 Stepan Kasal <kasal@ucw.cz>
7013 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
7014 in case the computer is too quick. Double quote the configure.ac
7017 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
7018 problems if the testsuite were running too fast.
7020 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
7022 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
7023 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
7024 (which belong to Xt, not X itself). See Debian bug 327655.
7025 * NEWS: Mention this.
7027 2005-09-07 Stepan Kasal <kasal@ucw.cz>
7029 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
7031 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
7033 * config/move-if-change: Don't output "$2 is unchanged";
7034 suggested by Ben Elliston. Handle weird characters correctly.
7036 2005-09-06 Stepan Kasal <kasal@ucw.cz>
7038 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
7039 calls, so that the final expansion of this macro is shorter.
7040 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
7041 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
7042 the cleanup there. Use AS_VAR_* macros, to be more general.
7043 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
7045 * lib/autoconf/general.m4: Use AS_IF where appropriate.
7047 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
7049 2005-09-01 Stepan Kasal <kasal@ucw.cz>
7051 * doc/autoconf.texi (Configuration Headers): Add an index entry
7054 2005-08-26 Pavel Roskin <proski@gnu.org>
7056 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
7057 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
7060 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
7062 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
7063 The previous patch didn't work, so try a better one.
7065 2005-08-26 Stepan Kasal <kasal@ucw.cz>
7067 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
7068 in the example. Reported by Bruno Haible.
7069 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
7070 "if $undefined_var;" succeeds with my shell.
7072 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
7073 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
7074 but change the m4_divert_text to m4_divert_once.
7076 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
7078 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
7079 Work around bug in Solaris /usr/xpg4/bin/awk.
7080 The bug is present in at least Solaris 8 through 10.
7082 2005-08-24 Stepan Kasal <kasal@ucw.cz>
7084 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
7085 some evil values and relying on the fact that $* concatenates the
7086 parameters by the first character from IFS.
7088 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
7089 Stepan Kasal <kasal@ucw.cz>
7091 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
7092 first header appears, define AH_HEADER.
7093 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
7094 Update limitations about when to call AC_CONFIG_HEADERS.
7095 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
7096 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
7097 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
7098 ``Configuration Actions''; fix their index entries.
7100 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
7101 options correctly. Process N-M as M-N if M is smaller than N.
7102 Process ranges correctly so that N-N will run only N.
7103 Sort and uniquify the tests that will be run. If there is more
7104 than one test, reinsert the banners for the tests.
7105 * tests/autotest.at (Keywords): Unmark XFAIL.
7107 2005-08-23 Stepan Kasal <kasal@ucw.cz>
7109 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
7110 before passing the macro name to AH_TEMPLATE.
7112 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
7113 now opens log after option processing; in particular, --version
7114 and --help do not touch config.log.
7116 * Makefile.maint: Revert the change from 2005-08-12.
7118 2005-08-22 Stepan Kasal <kasal@ucw.cz>
7120 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
7122 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
7124 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7126 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
7127 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
7130 * doc/autoconf.texi (Defining Symbols, Changed Results):
7131 Prepend to LIBS, not append, in examples.
7133 2005-08-16 Stepan Kasal <kasal@ucw.cz>
7135 When building in place, set srcdir="."; suggested by Tim Van Holder.
7137 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
7138 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
7139 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
7140 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
7141 does not mean "no --srcdir option".
7143 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7145 * tests/autoscan.at (autoscan): New file.
7146 * tests/suite.at: Use it.
7147 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
7148 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
7150 * tests/autotest.at (Keywords): Test keywords combinations.
7152 2005-08-12 Stepan Kasal <kasal@ucw.cz>
7154 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
7155 add "2>&1"; gzip 1.2.4 prints help on stderr.
7157 2005-07-27 Stepan Kasal <kasal@ucw.cz>
7159 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
7160 was pushdef'ed twice while popped only once. Push it only once.
7161 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
7163 2005-07-26 Stepan Kasal <kasal@ucw.cz>
7165 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
7166 prefixed by mere "===", not "configure: === ".
7168 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
7170 * Makefile.maint: Update from Bison.
7172 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
7173 "<tab>" in comment, so that the point is understandable.
7175 2005-07-25 Stepan Kasal <kasal@ucw.cz>
7177 Rewrite substantial part of lib/autoconf/status.m4.
7178 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
7179 and CONFIG_COMMANDS are not processed in four separate loops.
7180 Instead, there is one main loop. This alows that the common code
7181 is expanded only once, thus config.status (and configure) is smaller.
7183 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
7184 the AC_LIST_FILES and cousins macros are no longer used.
7186 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
7187 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
7188 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
7189 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
7190 contain the initialization, nor the for loop, nor the associated
7191 commands; all these go to ...
7192 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
7193 _AC_OUTPUT_CONFIG_STATUS.
7194 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
7195 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
7196 (_AC_OUTPUT_FILE): The creation of the sed script ...
7197 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
7198 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
7199 _AC_OUTPUT_MAIN_LOOP.
7200 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
7201 _AC_CONFIG_COMMANDS): Use ...
7202 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
7203 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
7204 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
7205 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
7206 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
7207 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
7209 (_AC_CONFIG_UNIQUE): Update.
7210 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
7211 Replaced by this ...
7212 (_AC_LIST_TAGS): ... new common macro.
7213 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
7214 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
7215 (_AC_LIST_TAG_COMMANDS): ... new common macro.
7216 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
7217 this didn't belong to the `config commands' section.
7218 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
7219 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
7220 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
7221 to the `config commands' section either.
7222 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
7223 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
7225 ... and many changes to the comments nearby.
7227 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
7228 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
7229 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
7230 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
7231 (#define header templates): The comment at the top of the generated
7232 header now includes the name(s) of the source file(s).
7234 Several unrelated small changes:
7236 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
7237 parameter to AC_DIAGNOSE.
7238 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
7239 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
7240 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
7241 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
7243 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
7244 in AC_OUTPUT doesn't double-quote it either.
7245 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
7248 2005-07-10 Stepan Kasal <kasal@ucw.cz>
7250 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
7251 versions of Portland Group compiler produce single- and double-quoted
7252 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
7253 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
7255 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
7257 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
7258 This is a corrected version of yesterday's patch.
7260 2005-07-07 Stepan Kasal <kasal@ucw.cz>
7262 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
7263 path, too; insert a "===" to emphasize the line.
7265 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
7266 ac_cv_build_alias to ac_build_alias.
7267 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
7269 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
7270 change eliminates it. Problem reported by Alexandre Duret-Lutz.
7271 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
7272 (AC_ARG_VAR): ... here.
7273 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
7276 Keep a list of all precious variables and process them with one simple
7277 for loop, instead of expanding all commands, or, OTOH, complicated
7278 processing of output of "set".
7279 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
7280 variable names in new macro...
7281 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
7282 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
7283 a loop to assign all ac_env_* and ac_cv_env_* variables.
7284 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
7286 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
7287 its value to shell variable ac_precious_vars and call
7288 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
7289 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
7290 _AC_ARG_VAR_VALIDATE.
7292 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
7293 and the AC_SUBSTs ...
7294 (AC_INIT): ... here.
7296 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
7297 the ac_subst_files section in config.log.
7299 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
7301 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
7303 * NEWS: New macro AC_C_TYPEOF.
7304 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
7305 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
7306 * tests/c.at (C keywords): Test AC_C_TYPEOF.
7308 Fix problems reported by Nicolas Joly.
7309 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
7310 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
7311 They are generated by the Tru64 v5.1B shell.
7313 2005-07-05 Stepan Kasal <kasal@ucw.cz>
7315 Fix my changes from 2005-07-01; reported by Noah Misch.
7316 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
7317 description, the macro now accepts only a single tag.
7318 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
7320 Fix cases when the varsions of Autoconf and Autotest don't match.
7321 Reported by Noah Misch.
7322 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
7323 at_top_builddir, for compatibility with older autotest.
7324 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
7325 is not set, use at_top_builddir, for compatibility with older
7326 versions of autoconf.
7328 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
7330 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
7331 Problem reported by Patrick Welche.
7333 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
7335 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
7336 sed substitution command, so that we allow | in program prefixes
7337 and program suffixes. (& is a problem anyway; we're not fixing
7339 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
7340 configure_input, top_builddir, srcdir, etc.
7341 * lib/autotest/general.m4 (AT_INIT): Likewise, for
7342 PATH_SEPARATOR in AUTOTEST_PATH.
7344 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
7346 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
7347 for loop over config.site files using `set', to allow
7348 directory names containing IFS characters.
7350 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
7352 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
7353 directories with weird names. Apparently some people like living
7354 on the edge. However, improve the test that "pwd" actually does
7355 report a name for the working directory.
7356 * NEWS: Remove the claim that we test for funny chars in dir names.
7358 2005-07-01 Stepan Kasal <kasal@ucw.cz>
7360 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
7362 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
7363 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
7364 Now accept a single tag, not whitespace separated list.
7365 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
7367 2005-06-30 Stepan Kasal <kasal@ucw.cz>
7369 * doc/autoconf.texi (Configuration Headers): Change the explanation
7370 about #include <config.h>.
7371 (Generic Functions): Mention the Gnulib project.
7372 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
7374 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
7375 document to output the default config_* lists to config.status.
7376 Don't recognize option --file, if the functionality is not there.
7377 Likewise for --header; moreover, recognize --he and --h as shortcuts
7378 for --help in that case.
7380 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
7381 matches the order of execution. No code changed.
7383 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7385 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
7386 single-quoted -cmdline argument in Portland Group compiler.
7387 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
7389 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
7391 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
7393 2005-06-29 Stepan Kasal <kasal@ucw.cz>
7395 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
7396 descriptors to child processes; reported by Norman Gray.
7398 2005-06-29 Stepan Kasal <kasal@ucw.cz>
7400 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
7402 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
7403 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
7404 (AC_SUBST): Call it.
7405 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
7406 the directory specific variables; but don't call it for configure_input.
7408 2005-06-28 Derek Price <derek@ximbiot.com>
7410 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
7413 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
7415 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
7416 directory have inherent problems with special characters like spaces,
7417 due to limitations in Make syntax. Problem reported by Alexandre
7419 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
7420 Also, fix Tru64 porting problem with shell patterns,
7421 reported by Ralf Wildenhues.
7423 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7425 * doc/autoconf.texi (Subdirectories): Fix markup typos.
7427 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
7429 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
7431 Fix some more shell quoting problems. Prompted by a bug report
7432 from Justace Clutter.
7433 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
7434 variable into diagnostic. Make the diagnostic an error, not a warning,
7435 because we really don't support spaces and suchlike in dir names.
7436 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
7437 Don't worry about backslashes in srcdir; it can't happen now.
7438 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
7439 Simplify ac_optarg handling.
7440 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
7442 2005-06-22 Stepan Kasal <kasal@ucw.cz>
7444 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
7445 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
7446 * tests/atlocal.in: Propagate $EGREP and $SED.
7447 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
7448 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
7450 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
7451 that '\|' is not allowed in BREs; recommend using newline separated
7452 list of patterns instead of multiple -e options.
7454 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
7456 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
7458 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7460 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
7462 2005-06-21 Stepan Kasal <kasal@ucw.cz>
7464 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
7465 b, t, r, w commands require single space, while : cannot have any.
7466 (Special Shell Variables): Fix sed code this in the example.
7467 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
7468 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
7470 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
7471 expand to the empty list. Don't use two pairs of m4_changequote,
7474 2005-06-20 Derek Price <derek@ximbiot.com>
7476 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
7478 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
7480 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
7481 * doc/autoconf.texi:
7482 Don't mention Solaris versions so much, if a
7483 problem is common to all extant versions of Solaris. Say "SunOS
7484 4" instead of "SunOS" for SunOS 4.
7485 (awk): Mention more of the limitations of traditional Awk.
7486 (cat): Don't talk about cat -v.
7488 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
7490 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
7491 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
7492 but the implementation is entirely different and is designed
7493 to be compatible with glibc strverscmp.
7494 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
7496 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
7497 on Mac OS X 10.4 reported by Peter O'Gorman in:
7498 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
7499 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
7500 Use shell builtins rather than 'expr', to work around expr bug.
7502 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
7504 * doc/autoconf.texi: "filesystem" -> "file system".
7505 "behaviour" -> "behavior".
7506 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
7507 * lib/autoconf/general.m4: Omit blank after ":" sed command,
7509 * lib/m4sugar/m4sh.m4: Likewise.
7510 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
7511 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
7513 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
7514 (.x.1): Ignore the time stamp in the .TH line when deciding whether
7515 to update the man page. That way, we don't have to check in new
7516 man pages every month.
7518 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
7519 quotes and backslashes. Patch from Derek Price.
7521 2005-06-10 Derek Price <derek@ximbiot.com>
7523 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
7526 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
7528 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
7529 -u, since it outputs chatter if the input files are the same.
7530 Problem reported by Ralf Menzel.
7532 2005-06-08 Derek Price <derek@ximbiot.com>
7534 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
7535 renaming them since they are about to be redefined anyhow.
7537 2005-06-08 Derek Price <derek@ximbiot.com>
7539 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
7540 redefined M4 macros to this node. Document m4_include & m4_sinclude.
7541 Move m4_undefine to alphabetical order.
7543 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
7545 * README: Recommend GNU M4 1.4.3 or later.
7546 * doc/autoconf.texi (Introduction): Likewise.
7547 Reword to avoid some formatting glitches.
7548 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
7549 Clarify explanation of HP compiler bug.
7550 Redo example output tp match current CVS snapshot.
7551 Use @example.org in email addresses when the examples
7552 might get inadvertently cut-and-pasted into user code.
7553 Remove example of autom4te usage that doesn't seem to work now.
7554 Use modern AC_INIT (except when the example is meant to be
7555 shown with Autoconf 2.13).
7556 Update ksh info for Solaris 9 and later.
7558 Modernize description of Automake versions a bit.
7559 Don't claim a future version of Autoconf is near.
7560 * doc/install.texi: Reword to avoid some formatting glitches.
7562 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7564 * doc/autoconf.texi: Add [] to examples, so that the manual
7565 follows its own advice about quoting better.
7566 Reword to avoid some formatting glitches.
7567 * doc/installt.exi: Reword to avoid some formatting glitches.
7569 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
7570 Tru64 ksh pattern matching bug. Reported against Libtool by
7571 Albert Chin <libtool@mlists.thewrittenword.com> and
7572 Nicolas Joly <njoly@pasteur.fr>.
7574 2005-06-06 Stepan Kasal <kasal@ucw.cz>
7576 m4_cdr of one-member list was [[]] (one-member list containing an
7577 empty string) instead of [] (an empty list. Callers were skewed to
7578 match this misbehaviour. As a consequence of this:
7579 - m4_foreach([x], [], [foo]) expanded to `foo', while
7580 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
7581 This bug has been fixed:
7583 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
7584 expand to an empty string; print error msg if called without
7586 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
7587 misbehaviour; handle [] and [[]] correctly.
7589 2005-06-06 Stepan Kasal <kasal@ucw.cz>
7591 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
7592 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
7593 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
7595 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
7597 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
7598 swallow records with more than 99 fields.
7599 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
7600 parse the long line.
7602 2005-06-04 Stepan Kasal <kasal@ucw.cz>
7604 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
7605 swallow literals longer than 399. Reported by Ralf Wildenhues.
7606 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
7607 to workaround this limitation.
7609 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
7611 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
7612 to gfortran, and make these the first two compiler names
7613 checked (following the general autoconf preference for gcc).
7615 2005-06-03 Stepan Kasal <kasal@ucw.cz>
7617 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
7618 (DISTCLEANFILES): Remove $(check_SCRIPTS).
7619 (testsuite): Make sure autotest.m4f is up-to-date before using it.
7621 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
7623 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
7624 expression of unbounded size when processing the --list
7625 option. This runs afoul of a limit of 399 bytes per regular
7626 expression on AIX. Problem reported by Ralf Wildenhues.
7628 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
7630 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
7631 * doc/autoconf.texi (Particular Headers): Reword example
7632 for multiline stdbool replacement.
7633 (Setting Output Variables): Reword text a bit. Don't
7634 give all the details about |#_!!_#|.
7635 Reword description of line replacement.
7637 2005-05-31 Dan Manthey <dan_manthey@partech.com>
7639 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
7640 now contain newlines, and substituted files must be referenced on
7641 a line alone; the sed scripts to substitute them are now very
7643 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
7644 commands can be put in a sed script portably.
7645 * doc/autoconf.texi (Setting Output Variables): Document above
7646 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
7647 use of multiline substitution.
7648 * tests/torture.at: No longer expect substitution of newline to fail.
7650 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
7652 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
7653 From Ralf Menzel (trivial change).
7655 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
7657 * tests/local.at: Don't attempt to check for negated character
7658 classes in shell scripts. The test was too brittle.
7660 2005-05-25 Stepan Kasal <kasal@ucw.cz>
7662 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
7663 * doc/autoconf.texi (Limitations of Builtins): Document this
7666 2005-05-24 Stepan Kasal <kasal@ucw.cz>
7668 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
7669 common code; used in many places in the tree.
7670 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
7671 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
7673 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
7675 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
7676 messages when ac_unique_file is not found.
7677 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
7678 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
7679 commands, for consistency with AC_MSG_ERROR and such.
7681 * bin/autoconf.as: Make more use of "shift 2" in option processing.
7683 * bin/Makefile.am: Merge the two rules for creating scripts.
7685 2005-05-23 Stepan Kasal <kasal@ucw.cz>
7687 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
7688 obsolete; it was never documented.
7689 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
7691 2005-05-20 Stepan Kasal <kasal@ucw.cz>
7693 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
7694 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
7695 (ac_top_builddir): ... this ...
7696 (ac_top_build_prefix): ... to this; the old name is also kept, for
7697 backward compatibility.
7698 (ac_top_builddir_sub): New variable, without the trailing slash,
7700 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
7701 * doc/autoconf.texi (Configuration Actions): Rename
7702 ac_top_builddir to ac_top_build_prefix.
7703 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
7704 at_top_builddir to at_top_build_prefix.
7705 * lib/autotest/general.m4 (AT_INIT): Likewise.
7707 2005-05-20 Stepan Kasal <kasal@ucw.cz>
7709 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
7712 2005-05-17 Stepan Kasal <kasal@ucw.cz>
7714 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
7715 argument to m4_foreach. I guess it was necessary in the past,
7716 but I think it's a no-op now.
7718 2005-05-17 Stepan Kasal <kasal@ucw.cz>
7720 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
7721 ``cat <<_ACEOF'' commands to one.
7722 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
7723 * lib/autoconf/status.m4: On various places, use expr instead of
7725 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
7726 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
7727 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
7729 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
7730 the wrong patterns between ``case'' and ``esac.'' The previous
7731 code had false positives.
7733 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
7735 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
7737 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
7740 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
7742 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
7743 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
7744 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
7745 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
7746 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
7747 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
7748 config/config.guess, config/config.sub, config/elisp-comp,
7749 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
7750 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
7751 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
7752 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
7753 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
7754 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
7755 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
7756 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
7757 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
7758 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
7759 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
7760 lib/autoconf/general.m4, lib/autoconf/headers.m4,
7761 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7762 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
7763 lib/autoconf/specific.m4, lib/autoconf/status.m4,
7764 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
7765 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
7766 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
7767 lib/autotest/general.m4, lib/emacs/Makefile.am,
7768 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
7769 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
7770 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
7771 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
7772 tests/compile.at, tests/foreign.at, tests/fortran.at,
7773 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7774 tests/semantics.at, tests/suite.at, tests/tools.at,
7775 tests/torture.at, tests/wrapper.as:
7776 Update FSF postal mail address.
7778 2005-05-13 Stepan Kasal <kasal@ucw.cz>
7780 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
7782 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
7783 enough arguments, similarly as in m4_bpatsubsts.
7785 2005-05-12 Stepan Kasal <kasal@ucw.cz>
7787 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
7790 2005-05-11 Stepan Kasal <kasal@ucw.cz>
7792 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
7793 for absolute directory names in one loop.
7794 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
7795 abbreviations of --version and --debug.
7797 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
7799 * doc/autoconf.texi (Autoconf Language): Be more precise about
7800 quoting rules. Problems noted by Stepan Kasal.
7801 Also, throughout this document, be more careful about white space.
7802 "blank", "white space", and "space" all have different meanings
7803 and we should be careful to say what we mean.
7805 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
7807 Fix C++ related problems reported by Werner Lemberg.
7808 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
7809 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
7810 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
7811 avoid problems with C++ and throw.
7812 * tests/compile.at: .cpp, not .cc.
7814 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
7816 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7818 * doc/autoconf.texi (Generic Functions): Typos.
7820 2005-05-02 Gary V. Vaughan <gary@gnu.org>
7822 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
7823 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
7824 set by latest automake.
7826 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
7828 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
7829 outputs 0 on GNU/Linux these days.
7831 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
7833 * doc/autoconf.texi (Autoconf Language): Add more description
7834 about quoting heuristics.
7835 (Limitations of Builtins): Describe "set -" problems.
7837 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7839 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
7842 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
7843 by AC_DEFINE; it was a mistake.
7844 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
7846 2005-04-25 Stepan Kasal <kasal@ucw.cz>
7848 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
7850 2005-04-22 Stepan Kasal <kasal@ucw.cz>
7852 * doc/autoconf.texi (External Software): Quadrigraphs are not
7853 processed correctly in AS_HELP_STRING; avoid this in the examples.
7854 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
7855 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
7856 comment and reduce m4_default([foo], []) to [foo].
7857 (m4_strip): Update the explanation.
7859 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
7861 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
7862 Remove core.conftest.* too; it's generated by Tru64 5.1.
7863 Problem reported by Jennis Pruett.
7864 * lib/autoconf/functions.m4
7865 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
7866 Don't bother to remove core files; AC_RUN_IFELSE should do that
7869 2005-04-19 Stepan Kasal <kasal@ucw.cz>
7871 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
7873 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
7875 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
7876 Report from Horst Wente.
7878 2005-04-15 Stepan Kasal <kasal@ucw.cz>
7880 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
7883 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
7885 * doc/autoconf.texi (External Software, Package Options): Add
7886 examples showing how to implement --with-* and --enable-* options.
7888 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
7890 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
7891 as well as configure.in. Problem reported by Gregorio Guidi.
7893 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
7895 * doc/autoconf.texi (Particular Functions): Use gnulib's current
7896 pattern for alloca snippet.
7898 2005-04-04 Stepan Kasal <kasal@ucw.cz>
7900 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
7902 2005-04-01 Stepan Kasal <kasal@ucw.cz>
7904 * doc/autoconf.texi (Generic Programs): Fix a typo.
7906 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
7908 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
7909 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
7911 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7913 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
7914 Merge `-z option' as well for the benefit of Solaris link flags. Pass
7915 whole-archive (-zallextract, -zdefaultextract) options in the hope of
7916 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
7917 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
7919 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
7921 * NEWS: The configure command now warns you if you attempt to use
7922 a directory whose name contains a special character like space,
7924 * doc/autoconf.texi (Installation Directory Variables): Allow
7925 "," in file names. Do not use \@; it's not a portable regexp.
7926 * bin/Makefile.am (edit): Likewise.
7927 * lib/Makefile.am (edit): Likewise.
7928 * tests/Makefile.am (edit): Likewise.
7929 * tests/semantics.at: Likewise.
7930 * tests/torture.at: Likewise.
7931 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
7932 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
7933 * doc/autoconf.texi (File System Conventions): Warn about
7934 unportable file names.
7935 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
7937 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
7938 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
7939 ac_pwd, and quote srcdir.
7940 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
7942 * doc/autoconf.texi: Fix some systematic formatting problems.
7943 ".)" needs a following @: if not at the end of a sentence, and
7944 similarly for "!)". "etc." should be preceded by a comma.
7945 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
7947 2005-03-22 Bruno Haible <bruno@clisp.org>
7949 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
7950 argument is often called 'build-aux'.
7952 2005-03-07 Stepan Kasal <kasal@ucw.cz>
7954 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
7955 macro AC_TRY_LINK is obsolete.
7956 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
7959 2005-02-24 Stepan Kasal <kasal@ucw.cz>
7961 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
7962 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
7963 from a Common Lisp's `cl'.
7964 (AC_PROG_CXX): Behave according to the documentation: don't
7965 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
7966 make the variable CCC precious; use `cl.exe', not `cl'.
7968 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
7969 Alexandre Duret-Lutz <adl@gnu.org>
7971 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
7972 /dev/null, as "configure" shouldn't read stdin, and this insulates
7973 us from problems (e.g., when testing for "cl"). Also, do this
7974 redirection before invoking "hostname" or "uname", and keep the
7975 original input stream available via...
7976 (AS_ORIGINAL_STDIN_FD): ... this new macro.
7977 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
7978 bother with "</dev/null" since it's now done at the top of
7980 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
7981 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
7982 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
7983 * doc/autoconf.texi (File Descriptor Macros): New section.
7984 (Printing Messages): Mention it.
7985 * tests/base.at (Input/Output): New test.
7987 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
7989 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
7990 newline if neither \c nor -n work, as that would output two
7991 newlines. Prefer -n to \c. Reported by Stepan Kasal.
7993 2005-02-12 Stepan Kasal <kasal@ucw.cz>
7995 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
7996 This causes that any required macros inside will get before the if.
7997 * doc/autoconf.texi (autom4te.cache): A typo.
7999 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
8001 Undo previous change, except keep the change to
8002 lib/autoconf/programs.m4 that replaced grep with shell
8003 pattern-matching. This is because net-snmp configure reads stdin.
8004 Reported by Noah Misch.
8006 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
8008 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
8009 from /dev/null, as "configure" shouldn't read stdin, and this
8010 insulates us from problems (e.g., when testing for "cl").
8011 Suggested by Alexandre Duret-Lutz. Also, do this redirection
8012 before invoking "hostname" or "uname".
8013 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
8014 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
8015 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
8016 "</dev/null" since it's now done at the top of 'configure'.
8017 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
8018 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
8019 Also, replace grep with shell pattern-matching, to save a process.
8021 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
8023 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
8024 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
8025 avoid thinking that Allegro Common Lisp's "cl" command is a C++
8028 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
8030 * doc/autoconf.texi (Limitations of Usual Tools): Document that
8031 grep -q isn't portable. Improve grep -s explanation.
8032 Problem reported by Dan Manthey.
8034 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
8036 * doc/autoconf.texi (Special Shell Variables): Clarify
8037 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
8039 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
8041 * doc/autoconf.texi: Use @acronym for DJGPP.
8042 Fix some @code's that should have been @env's, and vice versa.
8043 Sort environment variable names.
8044 Mention that shells no longer inherit IFS.
8045 Don't recommend PATH_SEPARATOR=';' so strongly.
8046 Mention that $RANDOM might expand to the empty string.
8047 "symlink" and "soft link" -> "symbolic link".
8048 Improve mktemp description (reported by Bruno Haible).
8050 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
8052 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
8053 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
8055 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
8058 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
8060 * NEWS: Mention AT_COPYRIGHT.
8062 * tests/local.at (AT_CMP): Use diff directly on input files rather
8065 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
8066 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
8068 2005-02-04 Noah Misch <noah@cs.caltech.edu>
8069 and Paul Eggert <eggert@cs.ucla.edu>
8071 * tests/autotest.at (Empty test suite): New test.
8072 * tests/torture.at (Substitute and define special characters)
8073 (Substitute a 2000-byte string, Define to a 2000-byte string)
8074 (Substitute a newline, Define a newline): New tests.
8076 2005-02-04 Noah Misch <noah@cs.caltech.edu>
8078 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
8079 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
8080 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
8081 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
8082 (Standard regular expressions): New test.
8083 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
8084 excess test name quoting.
8085 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
8086 CPPFLAGS to `configure' instead of setting it in `configure'.
8088 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
8089 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
8092 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
8093 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
8095 * tests/local.at (AT_CMP): New macro.
8096 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
8097 (AC_SAVE_STATE): Move environment grep...
8098 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
8099 (AT_CONFIG_CMP): New macro.
8100 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
8101 * tests/c.at (Extensions): Do not exit early.
8102 * tests/atlocal.in: Inherit $GREP.
8104 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
8105 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
8107 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
8108 (AC_COPYRIGHT): Factor header comment portion out and move into...
8109 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
8110 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
8111 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
8113 * tests/local.at: Add Autoconf test suite copyright notice.
8114 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
8116 2005-02-04 Bruno Haible <bruno@clisp.org>
8117 and Paul Eggert <eggert@cs.ucla.edu>
8119 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
8121 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
8123 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
8124 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
8126 Try not to generated lines of unlimited length, as POSIX places a
8127 2047-byte limit on line length of portable text files.
8128 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
8129 Use newline as a separator, not space.
8130 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
8131 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
8134 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8136 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
8137 as_func_*. Add test to check whether positional parameters
8138 are restored after function return.
8140 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
8142 * doc/autoconf.texi (Special Shell Variables): Mention _,
8143 BIN_SH, DUALCASE. Say that variables other than "status" are safe
8144 if they contain a lower-case letter. The DUALCASE problem was
8145 reported by Ralf Wildenhues.
8147 * bin/autoconf.as: Don't exit with status 0 after write failure
8148 with --help or --version.
8149 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
8150 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
8152 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8154 * doc/autoconf.texi (Limitations of Usual Tools):
8155 Unicos 9 sed limitations.
8156 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
8157 to get the option-enhanced interface on older Crays. Try ftn for
8158 Fortran 95 (newer Crays).
8160 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
8162 * man/Makefile.am (.x.1): Go back to the simple solution, but take
8163 care to echo the commands, so the user knows what's going on.
8164 Modified from a suggestion by Stepan Kasal.
8166 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
8167 with a cross reference. Derived from a suggestion by Bruce Korb.
8169 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
8171 * doc/autoconf.texi (config.status Invocation): Warn about
8172 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
8173 * doc/install.texi (Defining Variables): Likewise.
8174 Based on a proposed patch by Ralf Wildenhues.
8176 * man/Makefile.am (.x.1): Make sure the required generated files
8177 are up to date. Problem and original solution proposed by Stepan Kasal.
8178 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
8179 implicit-man-prerequisites): New rules, used by the above.
8181 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
8182 * config/config.guess, config/config.sub, config/install-sh: Likewise.
8183 * config/missing, config/texinfo.tex: Likewise.
8185 2005-01-29 Stepan Kasal <kasal@ucw.cz>
8187 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
8188 Update the long comment explaining it.
8190 m4_require no longer writes an ``is required by'' line to the
8191 execution stack. It contains only one bit of non-redundant
8192 information: that the macro was required, not called. And even
8193 this bit is useless in most situations: have you ever met a macro
8194 which both calls and requires the same macro?
8196 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
8197 (_m4_defun_pro_outer): ... only via this macro, for the outermost
8199 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
8200 (m4_expansion_stack_pop): Remove the misplaced comment.
8201 (m4_require): Don't put the ``is required by'' line to the
8202 execution stack; slightly improve the out-of-a-defun error message.
8203 (_m4_divert_grow): New macro, counter for the temporary diversions.
8204 (_m4_require_call): Use it.
8205 * tests/m4sugar.at (m4_require): Expect output without the
8206 ``is required by'' messages.
8208 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
8210 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
8211 rather than x for expr.
8213 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
8215 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
8216 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
8217 * lib/autotest/general.m4 (AT_INIT): Likewise.
8218 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
8219 * tests/mktests.sh: Likewise.
8221 2005-01-27 Akim Demaille <akim@epita.fr>
8223 Have autoheader honor --force.
8225 * doc/make-stds.texi, doc/standards.texi: Update from masters.
8226 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
8227 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
8228 from masters, so that FileUtils.pm's update_file provide --force
8230 * bin/autoheader.in: Pass $force to update_file so that
8231 config.h.in is always recreated when --force.
8233 2005-01-24 Stepan Kasal <kasal@ucw.cz>
8235 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
8237 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
8239 * doc/autoconf.texi (Limitations of Builtins): Clarify that
8240 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
8242 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
8244 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
8245 Warn about newline stripping in `` and $(). Update Solaris
8247 (Limitations of Builtins): Use expr "X...", not expr "x...", as
8248 X insulates us from future changes to Posix.
8249 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
8252 2005-01-19 Stepan Kasal <kasal@ucw.cz>
8254 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
8255 you cannot use AC_DEFINE to define macros containing `[' or `]'.
8257 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
8259 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
8260 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
8261 bug-tar mailing list.
8263 2005-01-05 Stepan Kasal <kasal@ucw.cz>
8265 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
8267 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
8269 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
8270 ulongval to be static, to avoid unwanted GCC warning. Problem
8271 reported by Michael Jennings via Daniel Reed; see
8272 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
8274 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
8276 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
8277 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
8278 datadir, infodir, and mandir. Adjust argument parsing code.
8279 (_AC_INIT_HELP): Update help text.
8280 * doc/autoconf.texi (Installation Directory Variables): Document
8283 2005-01-04 Noah Misch <noah@cs.caltech.edu>
8285 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
8286 not seem to work, assume it does set $(MAKE).
8287 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
8289 2005-01-03 Stepan Kasal <kasal@ucw.cz>
8291 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
8293 2005-01-03 Stepan Kasal <kasal@ucw.cz>
8295 A cleanup of the diversion support in m4sugar.
8297 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
8298 (_m4_divert_n_stack): New macro; the expansion is
8299 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
8301 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
8302 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
8303 stored in _m4_divert_diversion or _m4_divert_dump.
8304 (m4_divert_pop): When the parameter is given, compare the symbolic
8305 name with the last diversion pushed on the stack. Previously, the
8306 current diversion was compared with the numeric value of the
8307 diversion given as the parameter.
8308 (m4_require): If the macro hasn't been expanded yet, call ...
8309 (_m4_require_call): this new macro.
8311 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8313 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
8314 Workarounds for documented `case' limitations.
8316 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
8318 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
8319 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
8321 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
8323 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
8324 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
8325 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
8327 Patch from Roger Leigh (with some minor changes) as follows:
8328 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
8329 Resurrect AC_PROG_CC_STDC.
8330 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
8331 AC_PROG_CC_C89, AC_PROG_CC_C99.
8332 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
8333 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
8334 AC_PROG_CC_C99): New macros.
8335 (AC_PROG_CC_STDC): Use them.
8336 (_AC_PROG_CC_STDC): Remove.
8337 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
8338 * THANKS: Add Roger Leigh.
8340 2004-12-30 Noah Misch <noah@cs.caltech.edu>
8342 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
8343 signals that the package uses Automake; a `Makefile.am' is typical but
8344 not essential. Reported by Magnus Therning.
8345 * tests/torture.at (autoreconf.): New banner.
8346 (autoreconf and non-AC configure): Rename to `Non-Autoconf
8348 (autoreconf an empty directory): Rename to `Empty directory'.
8349 (Unusual Automake input files): New test.
8351 2004-12-30 Noah Misch <noah@cs.caltech.edu>
8353 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
8354 (AT_SETUP): Clear AT_capture_files.
8355 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
8356 (AT_KEYWORDS): Fix comment typo.
8357 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
8358 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
8359 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
8361 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
8363 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
8364 If the variable to set is already set, set ac_cv_path_$1
8365 to the preset value so caller can assume ac_cv_path_$1
8366 is available. (trivial change)
8368 2004-12-27 Noah Misch <noah@cs.caltech.edu>
8370 * BUGS (Minor Problems): Warn about makefile limitations.
8371 * Makefile.am: Find and update `INSTALL' in $(srcdir).
8372 * man/Makefile.am: Find and update manual pages in $(srcdir).
8374 2004-12-24 Eric Blake <ebb9@byu.net>
8376 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
8377 shells in subshell, to avoid noise from ash. (trivial change)
8379 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8381 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
8382 problems with SunOS ksh and backslash escaping, Bourne shells and
8383 closing brackets (both within character classes). Bug reported
8384 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
8385 <read>: New entry. Mention non-availability of -r.
8387 2004-12-21 Akim Demaille <akim@epita.fr>
8389 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
8390 avoid cluttering displayed messages. Rather, prepend srcdir where
8391 AT_LINE is used for log files.
8393 2004-12-21 Stepan Kasal <kasal@ucw.cz>
8395 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
8396 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
8397 no longer part of the macro, quote the occurrence of ``$tmp''.
8398 * doc/autoconf.texi (Forbidden Patterns): Typo.
8400 2004-12-21 Akim Demaille <akim@epita.fr>
8402 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
8403 separated from the test title by forcing a white space.
8405 2004-12-21 Akim Demaille <akim@epita.fr>
8407 Enable Emacs navigation within testsuite.log files.
8409 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
8410 use the compilation mode.
8411 (AT_LINE): Point to the srcdir.
8413 2004-12-19 Noah Misch <noah@cs.caltech.edu>
8415 * tests/Makefile.am (installcheck-local): Use $(bindir).
8416 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
8417 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
8418 Makefile.am scheme Autoconf now uses.
8420 2004-12-18 Noah Misch <noah@cs.caltech.edu>
8422 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
8423 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
8425 2004-12-18 Noah Misch <noah@cs.caltech.edu>
8427 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
8428 (_AT_CHECK): Use it.
8429 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
8430 (AS_ESCAPE): Fix comment.
8431 * tests/autotest.at: Adjust section banner comments.
8432 (AT_CHECK_AT): Accept STATUS and STDERR.
8433 (AT_CHECK_AT_TEST): Likewise.
8434 (Invalid brace-enclosed parameter expansion)
8435 (Multiline command from M4 expansion)
8436 (Double-M4-quoted command): New tests.
8438 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
8440 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
8442 2004-12-17 Akim Demaille <akim@epita.fr>
8444 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
8446 Suggested by Alexandre Duret-Lutz.
8447 * doc/autoconf.texi (Setting Output Variables): Catch up.
8449 2004-12-17 Stepan Kasal <kasal@ucw.cz>
8451 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
8453 2004-12-17 Stepan Kasal <kasal@ucw.cz>
8455 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
8456 remove the comment which said we cannot.
8458 2004-12-17 Stepan Kasal <kasal@ucw.cz>
8460 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
8461 Reini Urban and Paul Eggert for reporting the dependencies.
8463 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
8464 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
8465 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
8467 2004-12-17 Stepan Kasal <kasal@ucw.cz>
8469 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
8470 so that eg. ``autoscan --help'' doesn't truncate it.
8472 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
8474 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
8475 generated conftest files.
8477 2004-12-13 Noah Misch <noah@cs.caltech.edu>
8479 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
8480 tracing on commands with possibly-escaped newlines.
8481 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
8482 discontinued behavior and its implications.
8483 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
8484 (BSx641-newline in command, BS-BS-newline in command)
8485 (BSx640-newline in command, Newline-CODE-BS-newline in command)
8486 (Single-quote-BS-newline in command)
8487 (Single-quote-newline-BS-newline in command): New tests.
8489 2004-12-13 Stepan Kasal <kasal@ucw.cz>
8491 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
8492 on platforms where it works.
8493 (_AS_TEST_PREPARE): Test for ``test -x''.
8494 (_AS_BROKEN_TEST_PREPARE): Nuke.
8496 2004-12-13 Stepan Kasal <kasal@ucw.cz>
8498 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
8499 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
8500 give only 4-letter prefix to AS_TMPDIR, comment fixed.
8501 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
8502 create the temporary directory.
8503 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
8505 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
8507 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
8510 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
8512 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
8514 2004-12-11 Noah Misch <noah@cs.caltech.edu>
8516 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
8517 to avoid using a negated character class. Reported by Nicolas Joly.
8518 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
8520 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
8522 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
8523 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
8524 Don't depend on .x file explicitly, since "make" does that for us.
8525 Suggested by Stepan Kasal.
8527 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
8529 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
8530 ifnames): Factor common code. And they said it couldn't be done!
8532 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
8534 * bin/.cvsignore: Add autoconf.in.
8535 * tests/.cvsignore: Add wrapper.in.
8536 * lib/autotest/general.m4: Escape '$' in case pattern.
8538 2004-12-09 Noah Misch <noah@cs.caltech.edu>
8540 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
8542 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
8544 * tests/autotest.at: New file.
8545 * tests/suite.at: Include it.
8546 * tests/Makefile.am: Distribute it.
8548 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
8549 shell tracing on a command that could contain multiple lines.
8550 * doc/autoconf.text: Document that fact and its implications.
8551 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
8552 * tests/autotest.at (Multiline backquote command substitution,
8553 Multiline parameter expansion, Literal multiline command,
8554 Multiline parenthetical command substitution): Remove XFAIL.
8556 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
8558 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
8559 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
8561 2004-12-08 Noah Misch <noah@cs.caltech.edu>
8563 * configure.ac (test suite): Cease to generate wrapper scripts.
8564 * configure: Regenerate.
8565 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
8566 (m4f_dependencies): Adjust accordingly.
8567 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
8568 (wrapper.in): Generate it in the build directory.
8569 (MAINTAINERCLEANFILES): Delete wrapper.in.
8570 (CLEANFILES): Add wrapper.in.
8571 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
8572 the output. Replace each $as_me with a @wrap_program@.
8573 * tests/wrapper.in: Delete it; we always build it.
8575 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
8576 (EXTRA_DIST): Remove autoconf.in.
8577 (CLEANFILES): Add autoconf.in.
8578 (autoconf): Find autoconf.in in the build directory.
8579 * bin/autoconf.in: Delete it; we always build it.
8581 2004-12-08 Noah Misch <noah@cs.caltech.edu>
8583 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
8584 PATH members so as to not prepend an empty element. Move a comment.
8585 * Makefile.am (SUBDIRS): Build in `tests' last.
8586 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
8588 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
8590 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
8591 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
8592 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
8593 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
8595 2004-12-07 Stepan Kasal <kasal@ucw.cz>
8597 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
8600 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
8602 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
8603 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
8604 * doc/autoconf.texi (Particular Functions): Mention new behavior.
8606 2004-12-03 Stepan Kasal <kasal@ucw.cz>
8608 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
8609 out the common code to ...
8610 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
8611 value of the #define--default to 1, iff the macro was called
8612 with exactly one parameter.
8614 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
8616 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
8617 "char c = '\200';" rather than "char c = 0x80;" as the
8618 latter doesn't conform to the strict C standard due to
8619 overflow on signed char hosts.
8621 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
8622 to -qlanglvl=ansi. We don't want to disable extensions.
8624 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
8626 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
8627 (Using Autotest, testsuite Scripts, Writing testsuite.at):
8628 Reword slightly to avoid some English-language problems noted
8629 by Ralf Wildenhues in:
8630 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
8632 2004-11-29 Stepan Kasal <kasal@ucw.cz>
8634 * NEWS: Add ^L above each release.
8636 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
8638 Fix documentation problems reported by Russ Boylan in
8639 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
8640 along with some nearby cruft.
8641 * doc/autoconf.texi (Libtool): Libtool can be used without
8642 Automake (not without Autoconf).
8643 (Introduction): Mention lists.gnu.org.
8644 * BUGS: Don't mention bugs.gnu.org.
8645 Remove mention of ancient libtool compatibility problem.
8646 * NEWS: Mention that bugs.gnu.org is kaput.
8647 * README: Likewise. Mention where mailing list archives can be found.
8649 2004-11-28 Stepan Kasal <kasal@ucw.cz>
8651 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
8653 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
8655 * doc/autoconf.texi (Pretty Help Strings): Go back to
8656 single-quoting assignments to cache variables.
8658 2004-11-23 Stepan Kasal <kasal@ucw.cz>
8660 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
8661 with the examples; fix the bug in MY_ARG_WITH example reported
8662 by Alexandre Duret-Lutz.
8663 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
8664 expansion of $1 in the comment emitted to configure.
8666 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
8668 * doc/autoconf.texi (Pretty Help Strings): Fix typo
8669 in my editing of the previous patch. Problem reported
8670 by Alexandre Duret-Lutz.
8672 2004-11-22 Stepan Kasal <kasal@ucw.cz>
8674 * doc/autoconf.texi (Autoconf Language): Explain that
8675 ``descriptions'' may not be double quotes.
8676 (Quotation Rule Of Thumb): Likewise.
8677 (Pretty Help Strings): Likewise; remove the wrong comment;
8678 simplify the examples and improve their quoting.
8680 2004-11-13 Stepan Kasal <kasal@ucw.cz>
8682 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
8683 the $1_found variable, don't test whether the file is executable;
8684 Both things are checked ...
8685 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
8686 the former ``test -f''.
8687 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
8689 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
8691 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
8694 2004-11-10 Derek R. Price <derek@ximbiot.com>
8696 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
8697 limitations. Reorder paragraphs for clarity.
8699 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
8701 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
8702 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
8703 variants", "Unix", and some related minor wording fixups.
8705 (Shellology, Special Shell Variables): Document that the Zsh
8706 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
8707 to Alexandre Duret-Lutz for this info.
8709 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
8711 * doc/autoconf.texi (One-Shot Macros): New node.
8713 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
8715 * doc/autoconf.texi (Function Portability): Fix misdescription
8716 of putenv. Problem reported by Michael Wardle.
8718 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
8720 * doc/autoconf.texi (auindex): New macro.
8721 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
8722 Problem reported by Stepan Kasal.
8724 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
8726 Fix problems reported by Andreas Buening in:
8727 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
8728 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
8730 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
8731 readable; it's not true in OS/2-emx.
8733 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
8735 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
8736 "/usr/include", clear ac_x_includes instead of leaving it as "no"
8737 (trivial change). Problem and patch reported by Andrew Church in:
8738 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
8740 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
8742 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
8743 three args in examples. Problem reported by Frederik Fouvry in:
8744 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
8745 Also, fix some minor spacing and punctuation bugs.
8747 2004-09-02 Akim Demaille <akim@epita.fr>
8749 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
8750 "case" to restore ordering.
8751 Reported by Stepan Kasal.
8753 2004-08-26 Akim Demaille <akim@epita.fr>
8755 * doc/autoconf.texi: Minor typos and stylos.
8757 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
8759 * configure.ac (AC_INIT): Bump to 2.59c.
8761 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
8765 * README: Add advice about m4 1.4.2.
8767 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
8768 texinfo.tex for now (done by hand now).
8769 * Makefile.maint (wget_files, cvs_files):
8770 Remove ansi2knr.c; nobody uses it.
8771 (ansi2knr.c-url_prefix): Remove.
8772 (cvs-update): Fix test for failure. I don't know why it ever
8775 * doc/autoconf.texi: Update URLs, some of which went stale.
8776 Use @uref rather than @href.
8778 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
8779 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
8781 * config/config.guess, config/config.sub, config/elisp-comp,
8782 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
8783 doc/fdl.texi, doc/standards.texi: Sync with master copy.
8785 * NEWS, TODO, configure.ac, bin/autoscan.in,
8786 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
8787 doc/install.texi, lib/Autom4te/Configure_ac.pm,
8788 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
8789 lib/autoconf/programs.m4, lib/autoconf/status.m4,
8790 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
8791 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
8792 tests/tools.at, tests/torture.at:
8793 Use "file name" rather than "filename" or "path",
8794 to be consistent with the terminology of the GNU coding standards.
8796 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
8798 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
8799 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
8800 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
8801 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
8803 More fixes to support spaces in the name of the build directory.
8804 This isn't a complete fix but it's an improvement.
8806 * bin/autoconf.as (autom4te_options): New var.
8807 Use it instead of appending to AUTOM4TE, so that we can allow
8808 spaces in the build directory's absolute name.
8809 * bin/autoheader.in ($autoconf): Allow spaces in file names.
8810 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
8811 AT_CHECK_NOESCAPE): Likewise.
8812 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
8813 main program): Likewise.
8815 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
8817 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
8818 From Ralf Corsepius in:
8819 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
8821 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
8823 * doc/autoconf.texi (Function Portability): Document isinf and
8824 and isnan. From a suggestion by Kevin Ryde.
8826 * lib/Autom4te/General.pm (END): Return correct exit status even
8827 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
8829 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
8831 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
8832 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
8833 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
8835 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
8837 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
8838 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
8839 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
8840 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
8841 * lib/autom4te.in (Automake-preselections): Preselect
8842 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
8844 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
8846 * lib/autom4te.in (Automake-preselections): Preselect
8847 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
8850 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
8852 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
8854 * doc/autoconf.texi (Shellology): Mention BIN_SH.
8855 Document problem with "`""`" in pdksh POSIX mode.
8857 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
8859 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
8860 with pdksh, too. Problem reported by Patrick Welche via
8862 * doc/autoconf.texi (Shellology): Note that set -o posix is
8863 useful for pkdsh, too.
8865 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
8867 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
8868 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
8869 Don't fail if ENV or BASH_ENV is readonly.
8870 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
8871 etc. are read only. Problem reported by Ludovic Courtes.
8873 2004-06-23 Noah Misch <noah@cs.caltech.edu>
8875 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
8876 zsh, disable GLOB_SUBST to avoid backslash handling problems.
8879 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
8881 * doc/autoconf.texi (File System Conventions): Warn about
8882 names like "aux". Problem reported by Eric Blake.
8884 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
8885 by zero instead of array size, so that we can use any arithmetic
8886 constant expression (instead of requiring an integer constant
8887 expression). This allows us to test expressions like DBL_MAX <
8888 LDBL_MAX, which didn't conform to the C standard using the old
8890 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
8891 now that we can do floating-point tests at compile time.
8893 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
8895 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
8896 and LDBL_EPSILON, as the resulting expression isn't an
8897 integer constant expression and violates the C standard.
8898 Problem reported by Nelson H. F. Beebe. Also, check
8899 for "L" suffix, and check that long double doesn't have
8900 worse range or precision than double, that mixed-mode
8901 arithmetic doesn't generate a diagnostic, that double
8902 constants fit in long double.
8904 2004-06-03 Kevin Ryde <user42@zip.com.au>
8906 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
8907 malloc(0) and realloc(NULL,size).
8909 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
8912 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
8914 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
8915 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
8918 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
8920 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
8921 can be rewritten using if-then-else. Suggested by Bruno Haible.
8923 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
8925 * doc/autoconf.texi (testsuite Scripts): Fix typo.
8926 Problem reported by Stepan Kasal.
8928 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
8930 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
8931 change). Patch reported by Ralf Wildenhues in
8932 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
8934 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
8935 function F exists if the compiler and linker let you compile an
8936 expression like (F != 0). Recent versions of GCC optimize away
8937 the reference to F in that case, since every function address must
8938 be nonzero, so the link succeeds even if F does not exist.
8939 Problem reported by Manu in
8940 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
8942 * doc/autoconf.texi (Systemology): Standardize on the spelling of
8943 "Unix". Many uses changed.
8944 (Limitations of Builtins): Explain better why the ! command isn't
8947 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
8949 * lib/autom4te.in (Automake-preselections): Preselect
8950 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
8952 2004-05-19 Kevin Ryde <user42@zip.com.au>
8954 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
8955 referencing AC_FUNC_STRERROR_R.
8957 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
8958 note pessimistic assumption when cross compiling.
8960 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
8962 * doc/autoconf.texi (Limitations of Make): Note that BSD make
8963 (until 2004) invoked subcommands with sh -e, contra POSIX.
8964 Reported by Kevin Ryde.
8966 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
8968 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
8969 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
8970 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
8971 `test -f " /usr/bin/grep"', which _always_ failed.
8972 (AC_PROG_SED): Ditto bogus PATH fix.
8973 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
8974 requires that grep correctly supports _multiple_ `-e' options, rather
8975 than stating only that grep should accept `-e'.
8977 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
8979 Port to C99, which requires that 'exit' be declared.
8981 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
8982 to ensure that stdlib.h is included.
8983 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
8984 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
8985 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
8986 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
8987 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
8988 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
8989 when using 'exit' in a test; C99 requires that 'exit' be declared.
8991 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
8993 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
8994 now prefers 'grep' implementations that accept -e.
8995 (Limitations of Usual Tools): Describe problems of traditional
8996 egrep and fgrep with long input lines, and of traditional grep
8998 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
8999 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
9000 All callers changed. Append /usr/xpg4/bin to the PATH, for
9002 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
9003 the user with complaints about multiple -e options.
9004 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
9005 Define it with AC_PROG_GREP.
9006 * configure.ac (AC_PROG_GREP): Add.
9007 * lib/freeze.mk (GREP): New macro.
9009 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
9011 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
9012 a possible candidate only after all others fail, rather than
9013 consulting it first. This improves backward compatibility by
9014 better reflecting the way shell selection occurred in previous
9015 versions of Autoconf, and should help to avoid triggering latent
9016 problems in other packages, such as the one in Automake where zsh
9017 is not handled robustly:
9018 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
9019 Although it is not Autoconf's responsibility to work around
9020 problems in Automake, it nevertheless makes sense to avoid
9021 introducing unnecessary incompatibilites.
9023 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
9024 Gary V. Vaughan <gary@gnu.org>
9026 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
9027 how deeply nested we are when a suitable tool is found, set the
9028 ac_path_TOOL_found flag.
9029 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
9030 nested we are in this macro. Break out of all 3 nested loops if
9031 ac_path_TOOL_found is set.
9033 2004-04-21 Gary V. Vaughan <gary@gnu.org>
9035 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
9036 of the _AS_PATH_WALK loop too if GNU flavor is found.
9038 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
9040 * doc/autoconf.texi (Limitations of Make): Update documentation
9041 for `$<'. New entry `Long lines', based on a report from Simon
9042 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
9043 paragraph about DJGPP, based on a mail from Richard Dawe.
9045 2004-04-20 Paul Eggert <eggert@twinsun.com>
9047 * tests/c.at (C keywords): Don't assume that GCC supports
9048 "restrict" and "inline", as sufficiently-old GCC versions do not
9049 (also, GCC configured to be in pedantic C89 mode does not).
9050 Problem reported by Sumit Pandya in:
9051 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
9053 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
9054 consider -g to work if it generates warnings when plain compiles
9055 don't. Problem reported by Braden McDaniel in:
9056 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
9058 * doc/autoconf.texi (Slashes): New section, to document a problem
9059 reported by Jim Meyering in:
9060 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
9062 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
9063 linker output files before linking, to work around IRIX 6 linker bug.
9064 Problem reported by Rainer Orth in:
9065 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
9067 2004-04-20 Gary V. Vaughan <gary@gnu.org>
9069 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
9070 best tool so far counter rely on the tool path variable name to
9071 avoid checks for one tool being affected by the results of running
9072 the length check on a previous tool.
9074 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
9075 match expression argument, as different greps have different
9076 regular expression flavours.
9077 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
9079 (AC_PROG_EGREP): Pass 'EGREP$'.
9080 (AC_PROG_GREP): Pass 'GREP$'.
9082 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
9084 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
9085 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
9087 2004-03-29 Paul Eggert <eggert@twinsun.com>
9089 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
9090 Types, Specific Compiler Characteristics, System Services,
9091 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
9092 etc. consistently instead of 'long', 'short', 'unsigned' etc.
9093 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
9094 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
9096 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
9097 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
9098 AC_TYPE_OFF_T): Likewise.
9099 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
9102 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
9103 pacify libtool 1.5.2. Fix quoting problems in sed command.
9105 2004-03-28 Paul Eggert <eggert@twinsun.com>
9107 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
9108 now defines HAVE_DECL_TZNAME if it is declared, when
9109 HAVE_STRUCT_TM_TM_ZONE is not defined.
9110 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
9111 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
9114 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
9116 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
9117 superfluous backslashing of quotes (") in sed expressions;
9118 thanks to Paul Eggert.
9120 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
9122 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
9123 Fortran compiler is ifort, also added pghpf; thanks to Nelson
9124 H. F. Beebe for the bug report.
9126 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
9128 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
9129 quoted -cmdline argument in Portland Group compiler (bug
9130 reported by Jeffrey J. Barteet).
9132 2004-03-25 Kevin Ryde <user42@zip.com.au>
9134 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
9135 (Run Time): ... here, where it's now mentioned.
9137 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
9139 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
9140 inherits from language Autoconf-without-aclocal-m4.
9141 (Customizing autom4te): Adjust example; the cache must now be
9142 disabled for language Autoconf-without-aclocal-m4.
9144 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
9145 Nathanael Nerode <neroden@twcny.rr.com>
9147 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
9148 AC_CHECK_TOOLS): Warn if a cross-tool is found without
9150 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
9151 AC_CHECK_TARGET_TOOLS): New macros.
9152 * doc/autoconf.texi (Generic Programs): Document
9153 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
9154 AC_CHECK_TARGET_TOOLS, and warn for future changes
9155 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
9157 (Specifying Names): Document the reason for these future
9159 * tests/mktests.sh: Do not generate tests for the
9161 * NEWS: Document these changes.
9163 * doc/autoconf.texi: Avoid macros with unbraced arguments,
9164 they make TeX hang up.
9166 2004-03-15 Paul Eggert <eggert@bogus.example.com>
9168 * NEWS: New macro AC_CHECK_ALIGNOF.
9169 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
9170 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
9171 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
9173 (AC_CHECK_ALIGNOF): New macro.
9174 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
9175 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
9178 2004-03-03 Paul Eggert <eggert@twinsun.com>
9180 * bin/Makefile.am (edit): Don't use $< in a context where
9181 POSIX doesn't require support for it. Use $@.in instead.
9182 Problem reported by Anthony N. Frasso in
9183 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
9184 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
9186 2004-02-23 Gary V. Vaughan <gary@gnu.org>
9188 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
9189 from the next generation of Libtool.
9190 * lib/autom4te.in (Autoreconf-preselections): Ditto.
9192 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
9194 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
9195 is not always thread-safe. Report from Nathanael Nerode.
9197 2004-02-18 Paul Eggert <eggert@twinsun.com>
9199 Fix a dependencies problem, stemming from a Autoconf 2.59 build
9200 problem on QNX reported by Stephen Rasku in
9201 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
9203 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
9204 $(m4sh_m4f_dependencies); this removes a FIXME.
9205 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
9206 (MAINTAINERCLEANFILES): Split into pieces,
9207 one per related section. Add $(srcdir)/wrapper.in.
9209 2004-02-09 Paul Eggert <eggert@twinsun.com>
9211 * doc/autoconf.texi (Setting Output Variables): Emphasize that
9212 AC_SUBST provides no portable way to escape literal newlines.
9214 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
9215 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
9216 Darwin uses -lcrt2.o and there's little point to cataloging all
9217 the system variants. Partial fix reported by Andreas Waechter in:
9218 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
9219 for bug reported by Nelson H. F. Beebe in:
9220 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
9222 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
9224 * doc/autoconf.texi (AU_DEFUN): Fix English,
9225 suggested by Paul Eggert.
9226 * lib/autoconf/autoupdate.m4: Correct reference to
9227 acobsolete.m4, suggested by Alexandre Duret-Lutz.
9229 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
9231 * bin/autoupdate.in: Define __file__ so that warnings
9232 refer to the correct file.
9233 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
9234 the behavior of the third argument.
9235 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
9236 correctly the behavior of the third argument. Document
9237 what the three macros that AU_DEFUN defines do. Fix
9238 warning message when the third argument includes $0
9239 (reported by Alexandre Duret-Lutz).
9241 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
9242 Eric Sunshine <sunshine@sunshineco.com>
9243 Paul Eggert <eggert@twinsun.com>
9245 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
9246 (AS_INIT): Output shell initialization there. Removed optional
9247 parameter. Expand _AS_SHELL_FN_SPY.
9248 (AS_INIT_WITH_SHELL_FN): Removed.
9249 (_AS_SHELL_FN_SPY): New macro.
9250 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
9252 (AS_SHELL_SANITIZE): Remove loop to find better shell
9253 and documentation for the parameter.
9254 (_AS_DETECT_BETTER_SHELL): Move it here.
9255 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
9256 (_AS_RUN): Move it here, support testing with eval.
9257 (AS_REQUIRE_SHELL_FN): Require shell functions when
9259 (_AS_LINENO_WORKS): Put around braces, we do not
9260 trigger the bash bug anymore.
9261 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
9262 use AS_INIT_WITH_SHELL_FN.
9263 * bin/autoconf.in, tests/wrapper.in: Regenerated.
9265 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
9267 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
9268 * doc/autoconf.texi: Don't say that the third parameter
9270 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
9271 (AU_DEFUN): Honor the third parameter, create autoupdate
9272 macros with AU_DEFINE.
9273 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
9274 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
9275 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
9276 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
9277 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
9278 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
9279 AC_XENIX_DIR): Likewise.
9280 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
9281 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
9282 * lib/autoconf/status.m4: Remove FIXME.
9283 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
9284 that the macro is not present anymore in the updated
9286 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
9289 2004-01-28 Paul Eggert <eggert@twinsun.com>
9291 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
9293 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
9294 2003 (except 1997) to the list of copyright years. This undoes
9295 the 2003-05-22 change, which removed the older years from the list.
9296 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
9298 2004-01-27 Gary V. Vaughan <gary@gnu.org>
9299 Albert Chin-A-Young <china@thewrittenword.com>
9301 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
9302 grep or ggrep program in PATH that accepts as long lines as
9304 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
9306 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
9307 egrep and fgrep respectively if $GREP -E/-F don't work.
9308 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
9309 _AC_PROG_GREP, and AC_PROG_SED.
9310 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
9311 longest input length accepted by a command.
9312 (AC_PROG_SED): Use it.
9313 * doc/autoconf.texi (Particular Programs): Document the changes.
9316 2004-01-27 Paul Eggert <eggert@twinsun.com>
9318 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
9319 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9320 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
9321 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
9323 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
9324 bin/autoconf.in, config/Makefile.in, config/config.guess,
9325 config/config.sub, config/install-sh, config/mdate-sh,
9326 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
9327 lib/Makefile.in, lib/Autom4te/Makefile.in,
9328 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
9329 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
9330 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
9331 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
9332 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
9333 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
9334 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
9335 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
9336 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
9337 tests/actypes.at: Regenerate and/or sync with original
9340 2004-01-26 Paul Eggert <eggert@twinsun.com>
9342 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
9343 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
9344 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
9345 not <inttypes.h>. Problem reported by Tim Mooney in
9346 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
9347 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
9350 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
9351 otherwise "make check" fails because it forbids cmp (I guess
9352 because cmp treats files as binary on DOS-like systems).
9354 * tests/mktests.sh: Update copyright date to 2004, since some tests
9355 have changed in 2004.
9357 2004-01-23 Gary V. Vaughan <gary@gnu.org>
9359 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
9360 non-truncating sed or gsed program in PATH.
9361 * tests/acprograms.at: Add it.
9362 * doc/autoconf.texi (Particular Programs): Document it.
9365 2004-01-15 Paul Eggert <eggert@twinsun.com>
9367 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
9368 -std1 disables some useful extensions on Tru64. Problem reported
9370 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
9372 2004-01-14 Paul Eggert <eggert@twinsun.com>
9374 * doc/autoconf.texi (Programming in M4sh): Document that
9375 AS_MKDIR_P succeeds if the destination is a symbolic link
9376 to an existing directory.
9377 (Limitations of Usual Tools): Note that mkdir -p might not
9378 succeed on symlinks to directories.
9380 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
9382 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
9383 * bin/autoheader.in: Grammar fix in message.
9384 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
9385 Test for dir before calling mkdir -p. (trivial changes)
9387 2004-01-13 Eric Blake <ebb9@byu.net>
9389 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
9390 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
9392 2004-01-10 Jim Meyering <jim@meyering.net>
9394 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
9396 2004-01-09 Paul Eggert <eggert@twinsun.com>
9398 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
9399 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
9400 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
9401 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
9402 AC_COMPILE_IFELSE, since we now assume our caller invokes
9403 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
9404 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
9405 of AC_RUN_IFELSE; this avoids the warning mentioned above.
9406 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
9408 2004-01-07 Paul Eggert <eggert@twinsun.com>
9410 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
9411 `"'...'"`, as it's confusing (and I suspect it may not work on
9412 some platforms). The code was incorrect anyway, as it assumed
9413 that \$ evaluated to itself in that context. Reported by
9414 Alexandre Duret-Lutz.
9416 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
9418 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
9419 and _LT_AC_TAGCONFIG.
9421 2004-01-06 Paul Eggert <eggert@twinsun.com>
9423 * doc/autoconf.texi (One Macro Call): Fix an incorrect
9424 example, and add more examples. Reported by Eric Sunshine.
9426 2004-01-05 Paul Eggert <eggert@twinsun.com>
9428 * doc/autoconf.texi (Limitations of Usual Tools):
9429 Remove warning against "rm -fr" introduced yesterday; it
9432 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
9433 autoscan, autoupdate, ifnames): Don't use chmod -w.
9434 * lib/Makefile.am (autom4te.cfg): Likewise.
9435 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
9438 2004-01-04 Paul Eggert <eggert@twinsun.com>
9439 Paolo Bonzini <bonzini@gnu.org>
9441 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
9442 by doing lineno substitution only on lines containing "$LINENO".
9444 2004-01-04 Paul Eggert <eggert@twinsun.com>
9446 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
9447 Use "rm -f" to remove conftest.sed, not plain "rm".
9448 Bug reported by David Relson in
9449 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
9451 * Makefile.am (autom4te-update):
9452 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
9453 * Makefile.maint (my-distcheck, do-po-update): Likewise.
9454 * doc/autoconf.texi (Guidelines): Likewise.
9455 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
9456 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
9457 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
9458 * lib/autotest/general.m4 (AT_INIT): Likewise.
9459 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
9460 * tests/Makefile.am (clean-local): Likewise.
9461 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
9463 * doc/autoconf.texi (Limitations of Usual Tools):
9464 Warn against "rm -fr".
9466 2004-01-03 Paul Eggert <eggert@twinsun.com>
9468 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
9469 -c -o might not work. From a suggestion by Kevin Ryde.
9470 (C Compiler, Generating Sources, Limitations
9471 of Usual Tools, Limitations of Make, Making testsuite Scripts):
9472 Don't put '-o' after non-options, as POSIX doesn't allow this.
9473 Mention that cc's name might be gcc or c89 or whatever.
9475 2004-01-04 Kevin Ryde <user42@zip.com.au>
9477 * doc/autoconf.texi: Add various further index entries.
9479 2003-12-29 Paul Eggert <eggert@twinsun.com>
9481 * bin/autoreconf.in (autoreconf_current_directory):
9482 Fix typo: mkdir without umask arg.
9484 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
9486 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
9487 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
9488 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
9489 explanation clearer.
9491 2003-12-24 Andreas Schwab <schwab@suse.de>
9493 * doc/autoconf.texi (Default Includes): Fix misspelling of
9494 AC_INCLUDES_DEFAULT.
9496 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
9498 * configure.ac: Test if sh -n works.
9499 * configure: Regenerate.
9500 * tests/atlocal.in: Store the result here.
9501 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
9502 tools.at, looking in atlocal's ac_cv_sh_n_works instead
9503 of explicitly testing.
9504 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
9505 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
9506 * tests/tools.at (Syntax of the shell scripts): Simplify
9507 using AT_CHECK_SHELL_SYNTAX.
9508 (Syntax of the Perl scripts): Remove definition of
9509 AT_CHECK_PERL_SYNTAX.
9511 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
9513 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
9514 stderr to /dev/null.
9515 * bin/autoconf.in: Regenerate.
9516 * bin/wrapper.in: Regenerate.
9518 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
9520 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
9521 Extracted from AS_SHELL_SANITIZE.
9522 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
9524 (AS_SHELL_SANITIZE): Move reinvocation code from
9525 _AS_LINENO_WORKS, use it to find out if shell
9527 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
9529 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
9530 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
9532 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
9533 * bin/autoconf.in: Regenerate.
9534 * tests/wrapper.in: Regenerate.
9535 * tests/tools.at: Test the syntax of tests/autoconf
9536 and tests/testsuite.
9538 2003-11-24 Akim Demaille <akim@epita.fr>
9540 * config/announce-gen (&print_locations, &print_signatures)
9543 No longer rely on Gnus to inline the list of signatures: compute
9546 2003-11-24 Akim Demaille <akim@epita.fr>
9548 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
9549 override some files.
9550 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
9551 From Debian Autoconf 2.58.
9553 2003-11-24 Akim Demaille <akim@epita.fr>
9555 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
9557 From Debian Autoconf 2.58.
9559 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
9561 * TODO: Remove already done things. Update the part about finding
9562 tools for the target.
9564 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
9566 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
9567 Make wording more consistent.
9568 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
9569 Explain the transition better.
9570 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
9571 the transition better.
9573 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
9575 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
9576 parameter of AU_DEFUN.
9577 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
9578 (AU_DEFUN): Remove the third parameter, it was not used.
9579 Use AC_DEFUN directly, not AU_DEFINE.
9580 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
9581 the expanded body, consistently with other macros such as AC_USG.
9583 2003-11-17 Paul Eggert <eggert@twinsun.com>
9585 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
9586 into the initial confdefs.h, to work around a bug in NextStep 3.3
9587 patch 3 reported by Eric Sunshine.
9589 2003-11-15 Kevin Ryde <user42@zip.com.au>
9591 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
9592 than $target since the latter is not usual, add guidelines on when to
9593 use or not use the system type.
9595 2003-11-12 Derek Price <derek@ximbiot.com>
9597 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
9598 typo misrepaired by an auto-spellcheck.
9600 2003-11-12 Akim Demaille <akim@epita.fr>
9602 * bin/autoreconf.in (&parse_args): Don't call automake with
9603 --force-missing unless it actually supports it.
9604 From Debian #219336.
9606 2003-11-12 Akim Demaille <akim@epita.fr>
9608 * configure.ac: Bump to 2.59a.
9611 2003-11-06 Akim Demaille <akim@epita.fr>
9615 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
9617 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
9618 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
9619 and ac_abs_top_srcdir are absolute paths.
9620 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
9622 2003-11-05 Akim Demaille <akim@epita.fr>
9624 * configure.ac: Bump to 2.58a.
9626 2003-11-05 Kevin Ryde <user42@zip.com.au>
9628 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
9629 it provokes a warning from makeinfo about looking like a cross
9630 reference in info output.
9632 * doc/autoconf.texi (Function Portability): Add notes on signal
9633 handler return type, as per AC_TYPE_SIGNAL.
9635 2003-11-04 Akim Demaille <akim@epita.fr>
9638 * doc/standards.texi: Update from master.
9640 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
9642 2003-11-04 Akim Demaille <akim@epita.fr>
9644 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
9645 computing the absolute path to d1 in the source hierarchy: it may
9646 not exist at all. So don't cd into it.
9647 From Alexandre Duret-Lutz.
9648 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
9650 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
9651 From Paul Eggert, but named after Perl's IO::Spec->catfile.
9652 * doc/autoconf.texi (Programming in M4sh): Document.
9653 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
9655 2003-11-03 Pavel Roskin <proski@gnu.org>
9657 * doc/autoconf.texi (Generic Structure Checks): Describe
9658 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
9660 2003-10-31 Akim Demaille <akim@epita.fr>
9662 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
9664 * doc/autoconf.texi (Language Choice): Document.
9665 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
9666 the current language is Fortran.
9668 2003-10-31 Akim Demaille <akim@epita.fr>
9670 * bin/autom4te.in (&freeze): Use a less likely warning separator
9671 than `\n\n', so that `\n\n\n' is valid in warnings.
9672 Reported by Steve Huston.
9674 2003-10-28 Akim Demaille <akim@epita.fr>
9676 * Makefile.cfg (local_updates, executable-update): Tweak to be
9677 robust to parallel makes.
9678 Suggested by Alexandre Duret-Lutz.
9680 2003-10-27 Akim Demaille <akim@epita.fr>
9682 * Makefile.cfg (executable-update): New.
9683 (local_updates): Call it.
9685 2003-10-27 Akim Demaille <akim@epita.fr>
9687 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
9688 Don't remove core.* as it may remove valid user files.
9689 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
9690 (AC_FUNC_UTIME_NULL): Likewise.
9692 2003-10-23 Akim Demaille <akim@epita.fr>
9695 * config/config.guess, config/config.sub: Upgrade from masters.
9697 2003-10-23 Akim Demaille <akim@epita.fr>
9699 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
9700 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
9703 2003-10-23 Akim Demaille <akim@epita.fr>
9705 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
9706 Don't forget to remove conftest.err.
9708 2003-10-23 Akim Demaille <akim@epita.fr>
9710 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
9711 same object file in $LIBOBJS.
9712 Reported by Alexandre Duret-Lutz & Derek Robert Price.
9713 * doc/autoconf.texi (Generic Functions): Adjust.
9715 2003-10-20 Paul Eggert <eggert@twinsun.com>
9717 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
9718 Use 'eval', so that the resulting configure scripts work even if
9719 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
9721 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
9723 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
9724 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
9725 (_AC_LINK_IFELSE): Check the werror flag.
9726 * doc/autoconf.texi (Generic Compiler Characteristics): Document
9730 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
9732 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
9733 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
9734 override AC_LINK_IFELSE.
9736 2003-10-15 Paul Eggert <eggert@twinsun.com>
9738 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
9739 pdksh 5.2.14. Bug reported by Ralf Corsepius.
9740 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
9741 Mention /usr/dt/bin/dtksh on Solaris.
9742 (Shell Substitutions): Warn about $((...)).
9743 (Parentheses): New section.
9745 2003-10-15 Kevin Ryde <user42@zip.com.au>
9747 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
9748 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
9750 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
9752 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
9755 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
9757 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
9758 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
9760 2003-10-10 Andreas Schwab <schwab@suse.de>
9762 * bin/autoheader.in: Avoid empty first line in --version and
9764 * bin/ifnames.in: Likewise.
9766 2003-10-09 Paul Eggert <eggert@twinsun.com>
9768 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
9769 Issue a more-informative diagnostic.
9770 Problems reported by Eric Sunshine.
9772 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
9774 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
9775 -mGLOB_options_string stuff for Intel ifc, which can cause
9776 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
9777 pattern-matching instead of grep.
9779 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
9781 * doc/autoconf.texi: Document new FC Fortran macros.
9783 2003-10-08 Gary V. Vaughan <gary@gnu.org>
9785 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
9786 that future autopoint/aclocal/automake/autoreconf will be able
9787 to trace to find where to install local m4 macros.
9788 * doc/autoconf.texi (Input): Document it.
9791 2003-10-06 Gary V. Vaughan <gary@gnu.org>
9793 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
9794 -lcrtbegin.o to list of ignored flags and fix underquoting of
9797 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
9799 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
9800 cache variable instead of $G77 to decide whether to include -O2,
9801 since $G77 is specific to Fortran 77.
9803 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
9805 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
9806 free" flag. Re-order flags tested into rough order of popularity.
9808 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
9810 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
9811 arguments so that it can be used with syntax identical to
9812 AC_PROG_F77, and so that we can more easily decide to
9813 remove/deprecate the DIALECT optional argument in the future if it
9815 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
9816 non-freeform-supporting compilers. Document freeform flags.
9818 2003-10-03 Akim Demaille <akim@epita.fr>
9820 * configure.ac: Look for emacs, not macs.
9821 Reported by Eric Sunshine.
9823 2003-10-03 Akim Demaille <akim@epita.fr>
9825 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
9826 * bin/autoreconf.in (autoreconf_current_directory): Create the
9827 AUX_DIR if needed, for sake of automake --add-missing etc.
9828 Suggested by Alexandre Duret-Lutz.
9830 2003-10-03 Akim Demaille <akim@epita.fr>
9832 * configure.ac: Quotation and formatting changes.
9833 (EMACS): Don't set it if it is not recent enough to support
9837 2003-10-02 Akim Demaille <akim@epita.fr>
9839 * bin/ifnames.in (&scan_file): Skip C++ comments.
9842 2003-10-01 Pavel Roskin <proski@gnu.org>
9844 * doc/autoconf.texi (Particular Structure Checks):
9845 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
9847 2003-10-01 Akim Demaille <akim@epita.fr>
9851 2003-09-30 Paul Eggert <eggert@twinsun.com>
9853 * lib/Autom4te/XFile.pm: Use Errno.
9854 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
9855 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
9857 2003-09-30 Akim Demaille <akim@epita.fr>
9859 * config/announce-gen (&print_news_deltas): Extracted from...
9860 (&print_changelog_deltas): here.
9861 (&news_file): Rename as...
9864 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
9866 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
9867 have been created when invoking the compiler.
9868 * tests/fortran.at (GNU Fortran 77): Quote $G77.
9870 2003-09-29 Akim Demaille <akim@epita.fr>
9874 * config/mkinstalldirs: Upgrade.
9876 2003-09-28 Paul Eggert <eggert@twinsun.com>
9878 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
9879 Problem reported by Lars J. Aas in
9880 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
9881 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
9882 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
9883 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
9885 2003-09-26 Akim Demaille <akim@epita.fr>
9887 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
9888 directory for AC_CONFIG_COMMANDS' first argument exists.
9889 This makes valid the invocation of _AC_SRCPATH that follows.
9890 Reported by Eric Sunshine.
9891 * doc/autoconf.texi (Configuration Commands): Adjust.
9893 2003-09-26 Akim Demaille <akim@epita.fr>
9895 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
9896 Reported by Ralf Corsepius.
9898 2003-09-26 Akim Demaille <akim@epita.fr>
9900 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
9902 Actually, use AU_ALIAS.
9905 2003-09-26 Paul Eggert <eggert@twinsun.com>
9907 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
9908 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
9909 Problem reported by Eric Sunshine in:
9910 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
9912 2003-09-26 Akim Demaille <akim@epita.fr>
9914 The test suite are sometimes assigning timings incorrectly.
9915 Reported by Henk Krus.
9916 Diagnosed by Nicolas Joly.
9918 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
9920 Instead of making AT_help a sequence of assignments to grow
9921 $at_help_all, just make AT_help_all be the growing contents of
9922 $at_help_all, and make a single assignment in...
9924 (at_times_skip): Flip the meaning and rename as...
9926 (AT_INIT): When summarizing the test that ran, remove
9927 $at_times_file after use, and check it is present before trying to
9930 2003-09-25 Akim Demaille <akim@epita.fr>
9934 * bin/Makefile.am (edit): Handle '@configure_input@'.
9935 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
9936 (ifnames): chmod -w.
9937 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
9938 executables, not bin/ executables! Otherwise all the magic needed
9939 to find non installed files is turned off. This caused a failure
9940 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
9941 as found in its environment (sent by tests/autoreconf): pointing
9942 to bin/autom4te that could not find its files.
9943 * tests/mktests.sh: Force the replacement of generated files, for
9944 the sake of "mv" program that are interactive when overwriting a
9946 * config/install-sh: Upgrade from CVS Automake.
9948 2003-09-23 Paul Eggert <eggert@twinsun.com>
9950 * doc/autoconf.texi (Limitations of Builtins): Document test -h
9951 versus test -L issues.
9953 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
9954 Paul Eggert <eggert@twinsun.com>
9956 Trivial change to support GCC's configuration procedure.
9957 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
9958 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
9959 about inconsistency if the preprocessor is set to give errors for
9961 * doc/autoconf.texi (C Compiler Characteristics): Document this.
9963 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
9965 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
9966 and XFile.pm from Automake.
9967 * lib/Autom4te/XFile.pm: Update from Automake.
9969 2003-09-12 Akim Demaille <akim@epita.fr>
9973 2003-09-12 Akim Demaille <akim@epita.fr>
9975 * config/config.guess, config/config.sub, config/missing,
9976 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
9979 2003-09-12 Akim Demaille <akim@epita.fr>
9981 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
9984 2003-09-11 Akim Demaille <akim@epita.fr>
9986 * doc/autoconf.texi (Header Portability): linux/random.h.
9987 From Peter Hendrickson.
9989 2003-09-10 Akim Demaille <akim@epita.fr>
9991 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
9992 willing to edit the output files.
9994 2003-09-10 Akim Demaille <akim@epita.fr>
9996 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
9998 * tests/mktests.sh: Skip AC_FC_SRCEXT.
9999 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
10001 2003-09-09 Akim Demaille <akim@epita.fr>
10003 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
10004 Reported by Gary Vaughan.
10005 * bin/autom4te.in (handle_m4): Likewise.
10007 2003-09-09 Akim Demaille <akim@epita.fr>
10009 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
10012 2003-09-07 Paul Eggert <eggert@twinsun.com>
10014 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
10015 Improve the accuracy of the wording about obsolescence.
10016 From a suggestion by Ian Lance Taylor in
10017 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
10019 2003-09-05 Paul Eggert <eggert@twinsun.com>
10021 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
10022 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
10024 2003-09-04 Akim Demaille <akim@epita.fr>
10026 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
10029 2003-09-04 Akim Demaille <akim@epita.fr>
10031 * bin/autom4te.in: Use &fatal where more appropriate than &error.
10032 (freeze): When exiting, use $exit_code.
10033 * lib/autoconf/fortran.m4: Comment changes.
10035 2003-09-04 Akim Demaille <akim@epita.fr>
10037 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
10039 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
10041 Add support for newer Fortran dialects. The F77 interface is
10042 unchanged, and continues to support Fortran 77. New FC macros
10043 correspond to all the old F77 macros, with output variables FC,
10044 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
10045 available dialect, but older dialects can be specified. There are
10046 new macros AC_FC_SRCEXT to set the source extension, and
10047 AC_FC_FREEFORM to accept free-form source files.
10049 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
10051 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
10052 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
10053 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
10054 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
10055 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
10056 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
10057 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
10058 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
10059 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
10060 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
10061 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
10062 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
10063 AC_FC_SRCEXT, AC_FC_FREEFORM):
10065 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
10066 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
10067 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
10068 Rewrite in terms of the above.
10069 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
10070 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
10071 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
10072 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
10074 2003-09-02 Paul Eggert <eggert@twinsun.com>
10076 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
10077 Document problems with timestamp resolution that 'make', 'cp -p', and
10080 2003-08-27 Akim Demaille <akim@epita.fr>
10082 * tests/m4sugar.at (cross_warning): Make sure to enable the
10083 output, so that we can track spurious m4sugar output.
10084 * tests/local.at: Require 2.57.
10085 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
10086 are defaulted by AT_CHECK anyway.
10087 Use AT_CHECK_AUTOM4TE.
10088 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
10091 2003-08-27 Akim Demaille <akim@epita.fr>
10093 * bin/autoheader.in: Issue the "Using auxiliary..." message only
10094 when -Wobsolete is set.
10095 Set it on by default.
10096 Suggested by Klee Dienes.
10098 2003-08-27 Akim Demaille <akim@epita.fr>
10100 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
10102 From Guido Draheim.
10104 2003-08-26 Akim Demaille <akim@epita.fr>
10106 * doc/autoconf.texi (Output): Make clear that one can run code
10109 2003-08-25 Akim Demaille <akim@epita.fr>
10111 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
10114 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
10116 * bin/autoreconf.in (parse_args): Do not pass --no-force to
10117 Automake versions prior to 1.8.
10119 2003-08-25 Akim Demaille <akim@epita.fr>
10121 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
10122 From Ville Karaila.
10124 2003-08-24 Akim Demaille <akim@epita.fr>
10126 * configure.ac: Bump to 2.57c.
10128 2003-08-22 Akim Demaille <akim@epita.fr>
10132 * Makefile.cfg (local-checks-to-skip): New.
10133 * Makefile.maint (local-check): Rename as...
10134 (local-checks-available): this.
10135 (local-check): New.
10137 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
10138 * configure.ac: Require Automake 1.7.6.
10140 2003-08-22 Akim Demaille <akim@epita.fr>
10142 Output stack traces in warnings.
10144 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
10145 Replace the former...
10146 (m4_warn): Pass the call stack to _m4_warn.
10147 * bin/autom4te.in: Adjust to output the call stack.
10148 * tests/m4sugar.at (m4@&t@_warn): Adjust.
10150 2003-08-22 Akim Demaille <akim@epita.fr>
10152 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
10153 * bin/autom4te.in: Adjust.
10155 2003-08-21 Akim Demaille <akim@epita.fr>
10157 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
10158 (&verbose): Remove.
10159 (&getopt): Adjust the note and verb channels, depending upon
10161 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
10162 * bin/autoupdate.in: Adjust.
10163 Use &verb, not &verbose.
10165 2003-08-21 Akim Demaille <akim@epita.fr>
10167 * bin/autoheader.in (&parse_args): Use &parse_warnings and
10169 ($help): Use Autom4te::ChannelDefs::usage.
10170 * bin/autoscan.in: Use Autom4te::ChannelDefs.
10171 * lib/Autom4te/General.pm: Don't export error: you don't own it.
10173 2003-08-21 Akim Demaille <akim@epita.fr>
10175 First stab at preserving warnings between calls to autom4te,
10176 including when the cache is used.
10178 There are still several issues: (i) there are too many runs of m4
10179 (one for include, one for warnings, and some more), (ii) warnings
10180 spreading on several lines are not handled gracefully, (iii) the
10181 code meant to have the call stack display for errors does not work
10182 (its handling should move from m4 to autom4te).
10184 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
10186 (@preselect): Add m4_warn.
10187 ($exit_status): Remove, use $exit_code.
10188 ($help): Use Autom4te::ChannelDefs::usage.
10189 (&handle_m4): No longer define the m4_warnings.
10190 At each run, extract and report the warnings.
10191 Always cache the result, including if the exit status is on
10192 failure, since if nothing changes, we should result in the same
10193 failure, hence we can use the cache.
10194 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
10195 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
10197 (m4_warn): Redefine as a do-nothing: it is its invocation that
10198 matters, as warnings are now reported via traces.
10199 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
10200 the contents of m4_warn: make it _call_ m4_warn, so that tracing
10201 the latter reveals calls to the former.
10205 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
10207 2003-08-21 Akim Demaille <akim@epita.fr>
10209 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
10212 2003-08-21 Akim Demaille <akim@epita.fr>
10214 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
10216 * lib/Autom4te/ChannelDefs.pm: Doc typos.
10217 (&parse_warnings): Accept a list of warning requests.
10218 (&usage): Return a string, not a side effect.
10219 (cross): New warning category.
10221 2003-08-21 Akim Demaille <akim@epita.fr>
10223 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
10224 (&require_configure_ac): Accept an optional directory argument.
10225 ($configure_ac): Remove.
10226 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
10227 (&catfile): Remove.
10228 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
10229 * bin/autoscan.in: Adjust.
10231 2003-08-20 Akim Demaille <akim@epita.fr>
10233 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
10234 Reported by Alexandre Duret-Lutz.
10236 2003-08-20 Akim Demaille <akim@epita.fr>
10238 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
10239 * bin/autom4te: Adjust.
10240 In particular, be Autoconf tools are really silent when properly
10241 working, bind the verbosity of the 'note' channel to $verbose.
10242 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
10243 (&xsystem, &contents): Remove, since they are exported by...
10244 * lib/Autom4te/FileUtils.pm: this.
10246 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
10247 * lib/Autom4te/FileUtils.pm: here.
10249 2003-08-20 Akim Demaille <akim@epita.fr>
10251 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
10252 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
10255 2003-08-20 Akim Demaille <akim@epita.fr>
10257 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
10258 (autom4te-update): New.
10259 * Makefile.cfg (update): Bind autom4te-update.
10261 2003-08-19 Derek Price <derek@ximbiot.com>
10263 * lib/autotest/general.m4: Comment various HELP_* diversions.
10264 (PARSE_ARGS_BEGIN): New section for option parsing related
10266 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
10267 package specific options and associated help.
10269 2003-08-19 Akim Demaille <akim@epita.fr>
10271 * config/announce-gen, Makefile.cfg: New.
10272 * Makefile.am: Adjust.
10273 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
10275 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
10277 * lib/autom4te.in (Automake-preselections): Preselect
10278 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
10281 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
10283 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
10284 (Autoconf-without-aclocal-m4): ... this new language.
10285 * doc/autoconf.texi (autom4te Invocation): Mention
10286 Autoconf-without-aclocal-m4.
10288 2003-08-18 Derek Price <derek@ximbiot.com>
10290 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
10291 RUN-IF-PASS optional arguments.
10293 2003-08-18 Derek Price <derek@ximbiot.com>
10295 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
10297 2003-08-16 Derek Price <derek@ximbiot.com>
10299 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
10300 STDOUT & STDERR arguments.
10302 2003-08-14 Derek Price <derek@ximbiot.com>
10304 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
10305 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
10306 shorter column three. Add DESCRIPTION to log file content.
10308 2003-08-13 Derek Price <derek@ximbiot.com>
10310 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
10313 2003-08-12 Derek Price <derek@ximbiot.com>
10315 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
10316 (AT_CHECK_NOESCAPE): Move core functionality to...
10317 (_AT_CHECK): ...this new macro.
10319 2003-08-07 Derek Price <derek@ximbiot.com>
10321 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
10322 (AT_CHECK_NOESCAPE): ...to this new macro.
10324 2003-07-31 Paul Eggert <eggert@twinsun.com>
10326 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
10327 in Bash 2.01. Problem reported by Brian Gough in
10328 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
10330 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
10332 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
10333 -lcrt1.o, for OS X. (trivial change)
10335 2003-07-07 Paul Eggert <eggert@twinsun.com>
10337 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
10338 inside '#ifndef __cplusplus'. Problem reported by
10341 2003-07-06 Bill Clarke <llib@computer.org>
10343 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
10344 'long', not 'int', for benefit of Sun's recent C++ compilers
10345 (trivial change). See:
10346 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
10347 (This really should be 'intptr_t', not 'long', but that would
10350 2003-06-25 Akim Demaille <akim@epita.fr>
10352 * lib/Makefile.am (autom4te.cfg): Make it read only.
10353 Depend on Makefile since it contains substitutions.
10354 From Paolo Bonzini.
10355 * lib/autom4te.in (args): Add local.at? for Autotest args.
10356 This change was made on autom4te.cfg which is generated.
10357 Reported by Raja R. Harinath.
10359 2003-06-25 Akim Demaille <akim@epita.fr>
10361 * doc/autoconf.texi (Header Portability): sys/mount.h.
10362 From Gareth McCaughan.
10364 2003-06-23 Akim Demaille <akim@epita.fr>
10366 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
10367 not all of them. This fixes 1. the fact that when testing
10368 Autoconf there are many many config.log, 2. the incorrect use of
10369 top_srcdir to find config.log.
10370 Don't mix the detailed output of failed test with the summary of
10371 failures. Rather, append detailed log afterwards.
10373 2003-06-23 Akim Demaille <akim@epita.fr>
10375 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
10376 always run: output config.log on $at_group_log.
10378 2003-06-23 Akim Demaille <akim@epita.fr>
10380 * tests/torture.at (#define header templates): Don't use quotes in
10381 C++ comments as it puzzles Emacs' sh font-lock-mode.
10383 2003-06-23 Akim Demaille <akim@epita.fr>
10385 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
10386 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
10387 * tests/atspecific.m4: Rename as...
10388 * tests/local.at: This.
10389 * tests/suite.at: Move the globals into...
10390 * tests/local.at: here.
10391 * tests/Makefile.am: Adjust.
10392 * doc/autoconf.texi (testsuite Scripts): Adjust.
10394 2003-06-21 Kevin Ryde <user42@zip.com.au>
10396 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
10397 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
10398 ensuring we add -std1 for full-ANSI.
10400 * doc/autoconf.texi (hdrindex): New macro.
10401 Add index entries for portability of various standard header files.
10403 2003-06-20 Akim Demaille <akim@epita.fr>
10405 * configure.ac: Bump to 2.57b.
10407 2003-06-20 Akim Demaille <akim@epita.fr>
10411 2003-06-20 Akim Demaille <akim@epita.fr>
10413 * bin/autom4te.in: Don't rely on $HOME being defined.
10414 Reported by Marc Espie as PR/233.
10416 2003-06-20 Akim Demaille <akim@epita.fr>
10418 * lib/autotest/general.m4: Use at_times_file only if used.
10421 2003-06-20 Akim Demaille <akim@epita.fr>
10423 * config/config.guess, config/config.sub, config/elisp-comp,
10424 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
10425 Update from masters.
10427 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
10429 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
10430 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
10431 (TEST_SCRIPT): New diversion.
10432 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
10433 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
10434 (AT_INIT): Support for expected failures.
10436 2003-06-02 Akim Demaille <akim@epita.fr>
10438 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
10440 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
10441 Autoconf nor Automake.
10442 (&contents): New, from Automake.
10445 2003-05-28 Paul Eggert <eggert@twinsun.com>
10447 * NEWS, doc/autoconf.texi (Particular Functions),
10448 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
10449 is the inverse of localtime.
10451 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
10453 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
10454 (handle_exec_errors): New function. Work around $! being
10455 altered by WEXITSTATUS.
10456 (xqx, xsystem): Use handle_exec_errors.
10458 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
10460 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
10461 Do not call `_exit()', simply modify `$?'.
10462 (xsystem): Reset $! before running system, and check it afterward.
10463 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
10464 63 for version mismatches.
10466 2003-05-23 Akim Demaille <akim@epita.fr>
10468 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
10469 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
10470 the middle of a line).
10471 * lib/m4sugar/m4sugar.m4: Likewise.
10472 Remove useless spaces in comments.
10474 2003-05-23 Akim Demaille <akim@epita.fr>
10476 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
10477 exit 63, so that we (or Automake's "missing") can tell the
10478 difference with a plain failure.
10479 * doc/autoconf.texi (Notices): Adjust.
10481 2003-05-23 Akim Demaille <akim@epita.fr>
10483 * Makefile.am, bin/Makefile.am, config/Makefile.am,
10484 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
10485 White spaces cleanup.
10487 2003-05-22 Jim Meyering <jim@meyering.net>
10488 Paul Eggert <eggert@twinsun.com>
10490 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
10491 Remove `#include <stdlib.h>' from the list; we should never
10492 make confdefs.h include <stdlib.h> or <cstdlib>, because the
10493 resulting namespace pollution would cause other tests to fail.
10494 Configure scripts run with some older versions of g++ and HP's
10495 aCC would fail due to such an #include. Problems reported by
10496 Matthew Mueller in <http://bugs.debian.org/120704> and by
10498 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
10499 In the test, use the test declaration before including <stdlib.h>,
10500 as that's closer to how it'll be used.
10502 2003-05-23 Akim Demaille <akim@epita.fr>
10504 * doc/autoconf.texi (Header Portability): ucred.h.
10507 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
10509 Overhaul Autotest's logging: generate separate log files
10510 in testsuite.dir/NNN/testsuite.log, and append them to
10511 testsuite.log instead of re-running the test verbosely.
10513 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
10514 file descriptor, write 0 to at_status_file instead of setting
10515 at_status=0, initialize some new variables (at_status_file,
10516 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
10517 to rerun the tests, instead append the at_group_log to the
10518 at_suite_log when a test fails.
10519 (AT_SETUP): pipe the test case's output into at_tee_pipe,
10520 with the AS_MESSAGE_LOG_FD redirected to stdout.
10521 (AT_CLEANUP): save the output status in $at_status_file
10522 and restore it, redirect the AS_MESSAGE_LOG_FD back to
10523 its original place.
10524 (AT_CHECK): since tests are run with a redirected stdout,
10525 and used to be re-run in verbose mode, turn some $at_verbose
10526 into echo, and don't redirect the output of testing stdout
10529 * lib/autotest/autoconf.texi (testsuite Scripts): Update
10530 the name of the debugging directory and information about
10533 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
10535 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
10538 2003-05-22 Akim Demaille <akim@epita.fr>
10540 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
10541 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
10542 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
10543 * lib/autoconf/status.m4: Fix and adjust copyright notices.
10545 2003-05-22 Akim Demaille <akim@epita.fr>
10547 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
10548 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
10549 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10550 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
10551 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
10552 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
10553 * lib/autoconf/status.m4, lib/autoconf/types.m4,
10554 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
10555 * tests/atspecific.m4, tests/base.at, tests/compile.at,
10556 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
10557 * tests/tools.at, tests/torture.at:
10558 Whitespace clean up.
10559 Suggested by Jim Meyering.
10561 2003-05-22 Akim Demaille <akim@epita.fr>
10563 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
10564 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
10565 Reported by Jim Meyering.
10567 2003-05-22 Akim Demaille <akim@epita.fr>
10569 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
10570 Add AC_HELP_STRING to the obsolete macros section.
10572 Use '@.' for sentences that ended in a capital letter.
10575 2003-05-22 Akim Demaille <akim@epita.fr>
10577 * config/config.guess, config/config.sub, config/elisp-comp,
10578 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
10579 * config/texinfo.tex, doc/standards.texi: Update from masters.
10581 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
10583 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
10586 2003-05-21 Akim Demaille <akim@epita.fr>
10588 * bin/autoupdate.in ($m4): Fix quotation.
10589 Reported by Martin Mokrejs.
10591 2003-05-19 Paul Eggert <eggert@twinsun.com>
10593 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
10594 Remove non-ASCII characters.
10596 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
10598 * tests/semantics.at (AC_SEARCH_LIBS): New test.
10599 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
10600 AC_CHECK_HEADERS_NEW): New tests.
10602 2003-05-17 Akim Demaille <akim@epita.fr>
10604 * lib/autoconf/functions.m4: Use the default includes so that
10605 memcmp be declared before being tested.
10606 Reported by Sander Niemeijer.
10607 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
10608 * doc/autoconf.texi (Default Includes): Document
10609 AC_INCLUDES_DEFAULT.
10611 2003-05-17 Akim Demaille <akim@epita.fr>
10613 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
10614 * doc/autoconf.texi (Obsolete Macros): Adjust.
10615 Reported by Werner LEMBERG and Debian Bug 190886.
10617 2003-05-16 Akim Demaille <akim@epita.fr>
10619 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
10620 user name space clashes.
10621 Reported by Bruno Haible.
10623 2003-05-16 Akim Demaille <akim@epita.fr>
10625 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10626 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
10627 them uniform, and more robust to Perl special characters.
10628 Reported by Martin Mokrejs.
10630 2003-05-14 Akim Demaille <akim@epita.fr>
10632 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
10634 2003-05-14 Akim Demaille <akim@epita.fr>
10636 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
10639 2003-05-12 Akim Demaille <akim@epita.fr>
10641 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
10643 From Matthias Andree.
10645 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
10647 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
10650 2003-05-06 Akim Demaille <akim@epita.fr>
10652 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
10653 longer updates aclocal.m4 if useless, (ii) if a file m4_included
10654 by aclocal.m4 is changed it might require the importing of another
10655 m4 extension file, i.e., aclocal must be run.
10657 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
10658 (&parse_args): Use --force with aclocal if required and supported.
10659 (&autoreconf_current_directory): Use &run_aclocal.
10661 2003-05-06 Akim Demaille <akim@epita.fr>
10663 Lock autom4te's cache.
10665 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
10666 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
10667 argument instead of a file name, so that the request file remains
10668 open during the whole autom4te run.
10669 ($icache_file): New.
10670 (&freeze): Lock the $icache_file.
10672 2003-04-29 Derek Price <derek@ximbiot.com>
10674 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
10675 seperator with m4_append_uniq(). It doesn't work.
10676 (AT_CLEANUP): Add `;' to end of at_help_all.
10677 (AT_INIT): Allow --keywords to be specified more than once. When
10678 grepping $at_help_all for keywords, use the field and keyword
10679 seperators to ensure a complete keyword match. Alter at_prev handling
10680 to support the new --keywords behavior.
10682 2003-04-27 Karl Berry <karl@freefriends.org>
10684 * doc/autoconf.texi: Make the dir entries in the autoconf manual
10685 align better with others. I also made some of the individual
10686 entries on one line, for brevity and to make it easier for me to
10687 sort my dir-example file in the Texinfo distribution :).
10689 2003-04-12 Jim Meyering <jim@meyering.net>
10691 * NEWS: Mention the new macro.
10692 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
10693 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
10694 * tests/c.at: Test AC_C_RESTRICT.
10695 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
10697 2003-04-08 Akim Demaille <akim@epita.fr>
10699 * bin/ifnames.in: Skip C++ comments.
10700 From Jeremy Yallop.
10702 2003-04-08 Akim Demaille <akim@epita.fr>
10704 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
10705 From Ilya Zakharevich.
10707 2003-04-08 Akim Demaille <akim@epita.fr>
10709 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
10710 net/if.h, stdlib.h.
10712 2003-04-01 Derek Price <derek@ximbiot.com>
10714 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
10715 from Akim's checkin of 2003-03-29.
10717 2003-04-01 Derek Price <derek@ximbiot.com>
10719 * tests/torture.at (Configuring subdirectories): Add missing
10720 close-quote for Akim's change from 2003-03-28.
10722 2003-04-01 Akim Demaille <akim@epita.fr>
10724 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
10725 (AC, AT, MS): these.
10726 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
10729 * doc/Makefile.am (CLEANFILES): Adjust.
10730 (TEXI2DVI): Make it --batch.
10732 2003-03-31 Derek Price <derek@ximbiot.com>
10734 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
10735 which removed the main loop.
10736 Thanks to Akim Demaille.
10738 2003-03-29 Akim Demaille <akim@epita.fr>
10740 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
10742 From Ilya Zakharevich.
10744 2003-03-29 Akim Demaille <akim@epita.fr>
10746 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
10747 documentation to read is Autoconf's.
10748 Suggested by Paul Eggert.
10750 2003-03-28 Akim Demaille <akim@epita.fr>
10752 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
10753 reading the section "Present But Cannot Be Compiled" when the
10754 header causes problems.
10756 2003-03-28 Akim Demaille <akim@epita.fr>
10758 * tests/torture.at (Configuring subdirectories): Require aclocal
10759 1.4, otherwise the test fails, as it does support configure.ac.
10760 This fixes the "test 40 failed" bug reports.
10762 2003-03-28 Akim Demaille <akim@epita.fr>
10764 * doc/autoconf.texi (C Compiler): `#line' portability.
10765 From Paul Eggert and Nelson H. F. Beebe.
10767 2003-03-27 Derek Price <derek@ximbiot.com>
10769 * lib/autotest/general.m4: Eliminate main loop and reorganize test
10770 layout in order to allow scripting around test groups.
10772 2003-03-27 Derek Price <derek@ximbiot.com>
10774 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
10775 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
10776 use new diversions in preparation for accepting new arguments and
10777 allowing scripting around tests.
10778 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
10780 2003-03-26 Derek Price <derek@ximbiot.com>
10782 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
10783 obsolete AC_HELP_STRING.
10784 (AC_HELP_STRING): AU_DEFUN to...
10785 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
10786 * tests/m4sh.at (AS_HELP_STRING): New test.
10788 * tests/acgeneral.at: Regenerated.
10790 2003-03-26 Derek Price <derek@ximbiot.com>
10792 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
10793 sense. Verbosify the diversion definitions comment.
10795 2003-03-26 Derek Price <derek@ximbiot.com>
10797 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
10800 2003-03-21 Eric Siegerman <eric_97@pobox.com>
10802 * doc/autoconf.texi (Present But Cannot Be Compiled):
10803 Grammar fixes and minor rewording. (trivial change)
10805 2003-03-06 Paul Eggert <eggert@twinsun.com>
10807 Work around a problem noted by Nelson H. F. Beebe with coreutils
10808 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
10809 2002/05/09) rejects '#line 32768 "configure"' because the line
10811 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
10813 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
10814 * doc/autoconf.texi (Generating Sources): Document this.
10816 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
10818 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
10819 file name for the m4 program, when it has an "exe" file extension.
10820 DJGPP's error messages include the error code in brackets -
10821 remove the error code during normalization.
10823 2003-02-28 Akim Demaille <akim@epita.fr>
10825 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
10827 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
10829 * doc/autoconf.texi (Limitations of Make): Remove the section
10830 about `$<' in inference rules, it was a bogus interpretation of
10831 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
10832 Tru64 make in the "target lookup" section.
10833 (Automake): Automake 1.5+ no longer requires special tools to be
10834 present on the developer's host.
10836 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
10838 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
10839 to a shell that can handle redirection or quoting correctly.
10840 Override SHELL with the shell detected by configure.
10841 Use of $^O suggested by Tim van Holder.
10842 * bin/autom4te.in (BEGIN): Likewise.
10843 * bin/autoreconf.in (BEGIN): Likewise.
10844 * bin/autoscan.in (BEGIN): Likewise.
10845 * bin/autoupdate.in (BEGIN): Likewise.
10846 * bin/ifnames.in (BEGIN): Likewise.
10848 * bin/ifnames.in: Add final newline to help and version messages.
10850 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
10851 to cope with DOS-style absolute paths, when constructing
10854 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
10855 When constructing paths with IFS=:, quote the path. If we're
10856 constructing a DOS-style absolute path, we don't want to split it
10859 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
10862 2003-02-25 Pavel Roskin <proski@gnu.org>
10864 * bin/autoheader.in: Add missing newline when printing
10865 suggestion how change AC_DEFINE call.
10867 2003-02-24 Paul Eggert <eggert@twinsun.com>
10869 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
10870 2002-09-01 patch by replacing "test -n" with "test -z".
10871 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
10872 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
10874 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
10875 to fix a mismatch between example and discussion.
10877 2003-02-24 Kevin Ryde <user42@zip.com.au>
10879 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
10880 format starting with "-".
10882 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
10884 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
10885 is not portable inside Makefile.
10887 2003-02-20 Akim Demaille <akim@epita.fr>
10889 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
10890 compiler says yeah, but preproc says nope, compiler is right.
10891 Conversely, prompt the reader to send a bug report to the
10892 maintainers of the package, not of Autoconf.
10894 2003-02-20 Klee Dienes <kdienes@apple.com>
10896 * bin/autoreconf.in (autoreconf_current_directory): Properly
10897 handle an empty aclocal.m4.
10899 2003-02-20 Akim Demaille <akim@epita.fr>
10901 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
10902 $ac_prefix_program.
10905 2002-12-23 Paul Eggert <eggert@twinsun.com>
10907 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
10908 innocuous variant befor including <limits.h> or <assert.h>. This
10909 works around a bug reported by Albert Chin: HP-UX 11i
10910 (and earlier versions) have a <limits.h> that declares
10911 gettimeofday and many other functions.
10913 2002-12-03 Paul Eggert <eggert@twinsun.com>
10917 * NEWS, configure.ac: Update version.
10919 * doc/fdl.texi: Upgrade to FDL version 1.2.
10921 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
10922 nontrivially in main's body, so that f's external declaration is
10923 not optimized away in AIX. This should fix the bug reported by
10925 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
10927 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
10928 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
10929 defined, to support freestanding compilers. This should fix the
10930 bug reported by Momchil Velkov in
10931 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
10933 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
10934 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
10935 obsolete AC_CHECK_TYPE. The missing empty arg was reported
10936 by Simon Josefsson in
10937 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
10939 * Makefile.maint (www-gnu): New macro.
10940 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
10941 the location has moved.
10943 2002-12-02 Martin Frydl <martin@systinet.com>
10945 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
10946 \(.*\) match is too long and there is something more to be checked.
10947 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
10949 2002-11-15 Akim Demaille <akim@epita.fr>
10953 * config/install-sh: chmod +x.
10955 * config/move-if-change: Indenting changes.
10956 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
10957 * configure.ac (AM_INIT_AUTOMAKE): here.
10960 2002-11-14 Akim Demaille <akim@epita.fr>
10964 * config/config.guess, config/config.sub, config/install-sh:
10965 Update from masters.
10967 2002-11-14 Akim Demaille <akim@epita.fr>
10969 * Makefile.maint: Sync with Bison, i.e.:
10970 (po-check): Scan .l and .y files instead of the
10971 .c and the .h files that they generate. This fixes the bug
10972 reported by Tim Van Holder in:
10973 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
10974 Look for N_ as well as for _. Try to avoid matching #define for
10978 2002-11-14 Akim Demaille <akim@epita.fr>
10980 * doc/autoconf.texi (C Compiler): Compiling several files at once.
10981 From Paul Eggert and Albert Chin-A-Young.
10983 2002-11-14 Akim Demaille <akim@epita.fr>
10985 * doc/autoconf.texi (C Compiler): Solitary backslashes.
10986 From Paul Eggert and Albert Chin-A-Young.
10988 2002-11-14 Kevin Ryde <user42@zip.com.au>
10990 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
10991 than assigning in main, to avoid HP cc +O3 optimizing it away.
10993 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
10995 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
10996 option. Process --recheck after parsing all options. Pass -q
10997 option to configure on --recheck.
10998 (AC_OUTPUT): Pass -q from configure to config.status.
10999 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
11000 arguments to record.
11001 * doc/autoconf.texi (config.status Invocation): Document
11002 config.status -q option.
11004 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
11006 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
11007 Makefile.in if Makefile.am exists.
11008 (output): Strip `.am' from Makefiles. Don't
11009 output AC_CONFIG_FILES if no Makefiles were found.
11011 2002-11-07 Akim Demaille <akim@epita.fr>
11013 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
11014 (local_updates): New.
11015 * Makefile.maint: Update, from CVS Bison.
11016 (local_updates): New.
11018 2002-11-06 Akim Demaille <akim@epita.fr>
11020 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
11021 declaration in extern "C" too.
11022 Reported by Roberto Bagnara.
11024 2002-11-06 Akim Demaille <akim@epita.fr>
11026 * tests/torture.at (Configuring subdirectories): Don't use grep
11028 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
11029 Reported by Ezra Peisach.
11031 2002-11-05 Akim Demaille <akim@epita.fr>
11033 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
11035 We _have_ to stop using the old compatibility scheme that tried to
11036 avoid useless backslashes because Libtool 1.4.3 contains a
11037 AC_DEFINE([error_t], [int],
11038 [Define to a type to use for \`error_t' if it is not
11039 otherwise available.])
11040 We _have_ to quote the single quote and backslashes with \. The
11041 old compatibility scheme saw that ` was backslashed, and therefore
11042 did not quote the single quote. Hence before this patch, Autoconf
11043 was not compatible with Libtool.
11045 2002-11-04 Paul Eggert <eggert@twinsun.com>
11047 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
11048 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
11049 LC_NAME, LC_PAPER, LC_TELEPHONE.
11050 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
11052 2002-11-04 Akim Demaille <akim@epita.fr>
11056 * Makefile.maint (update, cvs-update, po-update, do-po-update):
11058 * config/texinfo.tex: Update.
11060 2002-11-03 Akim Demaille <akim@epita.fr>
11062 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
11064 (&autoreconf): here.
11065 ($help, $make, &parse_args, &autoreconf_current_directory):
11067 * doc/autoconf.texi (autoreconf Invocation): Adjust.
11069 2002-10-31 Bruno Haible <bruno@clisp.org>
11071 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
11072 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
11073 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
11074 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
11075 to ac_cv_func_realloc_0_nonnull.
11076 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
11078 2002-10-31 Akim Demaille <akim@epita.fr>
11080 The test suite was no longer checking for trailing envvars and files.
11082 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
11083 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
11085 2002-10-31 Akim Demaille <akim@epita.fr>
11087 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
11088 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
11089 Make variable, not a shell variable.
11090 Suggested by Bruno Haible.
11092 2002-10-31 Akim Demaille <akim@epita.fr>
11094 * bin/autom4te.in (load_configuration): Reject #args out of any
11097 2002-10-31 Akim Demaille <akim@epita.fr>
11099 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
11100 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
11101 (_AC_RUN_IFELSE): Use it.
11102 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
11103 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
11104 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
11107 2002-10-30 Akim Demaille <akim@epita.fr>
11109 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
11110 * doc/autoconf.texi (autom4te Invocation): Adjust.
11111 Suggested by Tim van Holder.
11113 2002-10-29 Paul Eggert <eggert@twinsun.com>
11115 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
11116 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
11117 Problem reported by Bruno Haible.
11119 2002-10-29 Akim Demaille <akim@epita.fr>
11121 * doc/autoconf.texi (Header Templates): Put also in words what the
11122 pictures says to assist free style readers.
11123 (Customizing autom4te): s/--cache=/--cache /.
11125 2002-10-29 Akim Demaille <akim@epita.fr>
11127 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
11129 sparc_address_test returns void.
11130 Use it with an argument, as prototyped.
11133 2002-10-29 Akim Demaille <akim@epita.fr>
11135 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
11136 configure.in, not configure.ac.
11137 Reported by Bruno Haible.
11139 2002-10-29 Akim Demaille <akim@epita.fr>
11141 * tests/torture.at (Deep Package): New test.
11142 (Configuring subdirectories): Don't use a testSubDir as Autotest
11143 now does it itself.
11145 2002-10-29 Akim Demaille <akim@epita.fr>
11147 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
11148 * doc/autoconf.texi (Invoking autom4te): Rename as...
11149 (autom4te Invocation): this, for consistency with the other nodes.
11151 2002-10-29 Akim Demaille <akim@epita.fr>
11153 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
11154 Reported by Ralf Corsepius.
11156 2002-10-29 Akim Demaille <akim@epita.fr>
11158 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
11159 characters is a back as an `obsolete' warning now.
11160 Reported by Ralf Corsepius.
11162 2002-10-28 Akim Demaille <akim@epita.fr>
11164 * configure.ac: Bump to 2.54c.
11166 2002-10-28 Akim Demaille <akim@epita.fr>
11170 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
11172 2002-10-28 Akim Demaille <akim@epita.fr>
11174 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
11175 m4 executable names, and different GNU M4 version.
11176 Reported by Ezra Peisach and Paul Jarc.
11178 2002-10-27 Akim Demaille <akim@epita.fr>
11180 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
11183 2002-10-27 Akim Demaille <akim@epita.fr>
11185 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
11186 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
11187 Die when a simple Fortran program cannot be compiled.
11188 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
11189 Issue a warning if no function is given.
11191 2002-10-27 Akim Demaille <akim@epita.fr>
11193 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
11194 Move the documentation of AC_TRY_RUN to...
11195 (Obsolete Macros): here.
11196 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
11197 (autoconf Invocation): Remove the duplicates with `invoking
11199 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
11200 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
11202 2002-10-27 Akim Demaille <akim@epita.fr>
11204 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
11205 and AC_LANG_FUNC_LINK_TRY.
11206 (Examining Libraries): Rename as...
11207 (Running the Linker): this.
11208 Document AC_LINK_IFELSE.
11209 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
11210 (Obsolete Macros): here.
11211 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
11212 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
11213 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
11214 * lib/autoconf/headers.m4 (AC_USG): Likewise.
11216 2002-10-27 Akim Demaille <akim@epita.fr>
11218 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
11220 More `check config.log' messages.
11222 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
11223 * doc/autoconf.texi (Printing Messages): Document it.
11224 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
11226 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
11227 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
11228 (_AC_COMPILER_OBJEXT): Likewise.
11229 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
11230 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
11232 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
11235 Deprecate macros with unusual interfaces.
11237 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
11238 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
11240 Document the new ones, and proper style.
11242 * doc/autoconf.texi (Generating Sources): New.
11243 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
11244 (Examining Declarations): Rename as...
11245 (Running the Preprocessor): this.
11246 Document AC_PREPROC_IFELSE.
11247 (Examining Syntax): Rename as...
11248 (Running the Compiler): this.
11249 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
11250 (Obsolete Macros): Move the definition of AC_TRY_CPP and
11251 AC_TRY_COMPILE here.
11253 2002-10-27 Akim Demaille <akim@epita.fr>
11255 Move sections around.
11257 * doc/autoconf.texi (Customizing autom4te): Remove a lost
11259 Reported by Burno Haible.
11260 (Language Choice): Now the first section of...
11261 (Writing Tests): this section.
11262 Make the introduction less C-centric.
11263 (Guidelines, Test Functions): Move to...
11264 (Writing Test Programs): this new section.
11265 (Test Programs): Merge into...
11268 2002-10-27 Akim Demaille <akim@epita.fr>
11270 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
11271 autom4te.in that resulted in the need for two `make' runs.
11273 2002-10-27 Akim Demaille <akim@epita.fr>
11275 * configure.ac: Bump to 2.54b.
11277 2002-10-25 Akim Demaille <akim@epita.fr>
11281 * Makefile.maint: Update from the Coreutils.
11282 (AMTAR): Remove, obsolete.
11283 (automake_repo): Update to redhat.com.
11285 Adjust to the fact that ansi2knr is now hosted by Automake.
11286 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
11287 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
11288 Update from masters.
11289 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
11290 autoscan.pre is not to be installed, and autoscan.list is not to
11292 (CLEANFILES): Add autoscan.list.
11293 (autoscan.list): Disable the cache.
11294 * bin/Makefile.am: Include freeze.mk.
11296 2002-10-25 Akim Demaille <akim@epita.fr>
11298 * bin/autom4te.in (&load_configuration): Take the file as
11300 (&parse_args): Handle -C, --cache.
11302 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
11303 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
11304 * doc/autoconf.texi (Invoking autom4te): Document --cache.
11305 Now a subsection of...
11306 (Using autom4te): This new section.
11307 (Customizing autom4te): New.
11308 (autom4te.cache): Adjust.
11310 2002-10-25 Akim Demaille <akim@epita.fr>
11312 * doc/autoconf.texi (Generic Headers): More information on how to
11313 use AC_CHECK_HEADERS.
11315 2002-10-25 Akim Demaille <akim@epita.fr>
11317 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
11320 2002-10-25 Akim Demaille <akim@epita.fr>
11322 * bin/autoscan.in (output): Output AC_PREREQ.
11323 (%needed_macros): Add AC_PREREQ so that configure.ac without one
11326 2002-10-23 Akim Demaille <akim@epita.fr>
11328 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
11331 2002-10-23 Akim Demaille <akim@epita.fr>
11333 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
11334 Reported by Peter Eisentraut.
11336 2002-10-23 Akim Demaille <akim@epita.fr>
11338 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
11341 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
11342 Eggert's recommandations.
11344 2002-10-22 Akim Demaille <akim@epita.fr>
11346 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
11347 Bison, by Paul Eggert.
11348 * doc/autoconf.texi (Particular Headers): Document it.
11350 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
11352 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
11353 `$ac_configure_args'.
11355 2002-10-22 Akim Demaille <akim@epita.fr>
11357 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
11358 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
11361 2002-10-22 Akim Demaille <akim@epita.fr>
11363 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
11365 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
11366 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
11367 (_AC_CHECK_HEADER_NEW): Rename as...
11368 (AC_CHECK_HEADER): this.
11370 2002-10-22 Akim Demaille <akim@epita.fr>
11372 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
11373 words about HP-UX cmp: it was actually a user-written cmp.
11375 2002-10-22 Akim Demaille <akim@epita.fr>
11377 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
11378 are a few warnings.
11379 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
11380 Quote for Perl '' strings, not "".
11381 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
11384 2002-10-22 Akim Demaille <akim@epita.fr>
11386 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
11387 characters is a syntax warning now.
11388 (_AS_QUOTE): Accept $2 as list of characters to quote.
11389 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
11390 Quote for Perl, not sh.
11391 * bin/autoheader.in: When $debug, report the file which is
11393 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
11394 `@', to tickle Perl's lists.
11395 Reported by Carlos Velasco.
11397 2002-10-18 Akim Demaille <akim@epita.fr>
11399 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
11400 missing included files _are_ errors.
11401 Thanks to Alexandre Duret-Lutz.
11402 * tests/tools.at (autom4te cache): Adjust.
11403 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
11404 (AT_CHECK_M4SUGAR): Use it.
11405 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
11407 * tests/tools.at (autom4te): Now it does exit 1.
11409 2002-10-17 Akim Demaille <akim@epita.fr>
11411 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
11412 Fixes the `AC_ARG_VAR' test failures.
11413 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
11414 * lib/freeze.mk (check-forbidden-patterns): New.
11415 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
11416 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
11417 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
11419 Reported months ago by H. Merijn Brand.
11421 2002-10-17 Akim Demaille <akim@epita.fr>
11423 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
11425 2002-10-16 Paul Eggert <eggert@twinsun.com>
11427 * Makefile.maint (wget_files): Remove ansi2knr.c.
11428 (ansi2knr.c-url_prefix): Remove.
11430 2002-10-16 Akim Demaille <akim@epita.fr>
11432 Because of caching, some files that no longer exist and are no
11433 longer required can still cause errors.
11434 Reported by Alexandre Duret-Lutz.
11436 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
11437 to frozen files in @ARGV, as @ARGV must remain being a list of
11438 files. Rather, at M4 call sites, use this...
11439 (&files_to_options): New function.
11440 (&freeze): Use &error.
11441 (&up_to_date): If a file that was included according to the cache
11442 is no longer there, then the output is out dated.
11443 (&main): Don't even check whether a file is up to date is anyway
11445 * tests/tools.at (autom4te cache): New.
11447 2002-10-16 Akim Demaille <akim@epita.fr>
11449 * bin/autoconf.as: Kill dead options.
11450 * bin/autoupdate.in (&parse_args): Kill old options.
11451 * bin/autoreconf.in (&parse_args): Remove dead options.
11453 (&autoreconf): Report the directories we enter *and leave*, so
11454 that error messages can be easily located, and use GNU Make
11455 format, so that Emacs' compile mode understands us.
11456 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
11457 if some file was changed instead of `print'.
11458 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
11459 (&parse_args): Remove the dead options.
11460 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
11461 autoheader's quiet mode.
11462 (AT_CHECK_AUTOUPDATE): Likewise.
11463 * tests/tools.at (autoupdate): Adjust.
11464 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
11466 2002-10-11 Akim Demaille <akim@epita.fr>
11468 No longer use CPP to check for the existing of headers: use CC to
11469 check for compilability.
11471 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
11472 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
11473 (_AC_CHECK_HEADER_NEW): Rename as...
11474 (AC_CHECK_HEADER): this.
11476 * lib/autotest/general.m4 (AT_INIT): Include the failed test
11477 numbers in the Subject suggestion.
11479 2002-10-11 Akim Demaille <akim@epita.fr>
11481 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
11482 Suggest using AC_CHECK_DECLS instead.
11484 2002-10-11 Akim Demaille <akim@epita.fr>
11486 * tests/torture.at (AC_ARG_VAR): Have configure report the value
11489 2002-10-11 Akim Demaille <akim@epita.fr>
11491 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
11492 file name to enable parallel executions.
11493 From Sam Varshavchik.
11495 2002-10-08 Akim Demaille <akim@epita.fr>
11497 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
11498 aclocal invocation, as Gettext macros might not be visible to
11500 Instead of blindly running autopoint, scan configure.ac (not the
11501 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
11502 Reported by Paul D. Smith.
11504 2002-10-08 Paul Eggert <eggert@twinsun.com>
11506 Work around problems found when POSIXLY_CORRECT=1 is set.
11507 None of this seems to have anything to do with POSIX, really,
11508 but it's how Perl getopt works.
11509 * bin/autom4te.in (parse_args): Configure GetOpt with
11511 * doc/autoconf.texi (Invoking autom4te):
11512 --warning -> --warnings.
11513 * lib/autom4te.in: --warning -> --warnings.
11515 2002-09-28 Akim Demaille <akim@epita.fr>
11517 * doc/autoconf.texi (autom4te.cache): New section.
11519 2002-09-28 Akim Demaille <akim@epita.fr>
11521 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
11522 (Automake-preselections): Update.
11523 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
11525 2002-09-28 Akim Demaille <akim@epita.fr>
11527 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
11528 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
11529 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
11530 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
11532 2002-09-28 Akim Demaille <akim@epita.fr>
11534 * tests/torture.at (Configuring subdirectories): Be robust to
11535 users who use config.site to require for a cache: in this case,
11536 the two last configure runs, using two different sets of
11537 arguments, trigger a legitimate error.
11539 2002-09-28 Akim Demaille <akim@epita.fr>
11541 * tests/m4sh.at (Functions Support, Functions and return Support):
11544 2002-09-28 Akim Demaille <akim@epita.fr>
11546 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
11547 autoheader are Perl programs.
11548 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
11549 (autom4te): Specify that the sources are in the $srcdir.
11550 * doc/autoconf.texi (Installation Directory Variables): Adjust.
11552 2002-09-28 Akim Demaille <akim@epita.fr>
11554 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
11555 (tm_zone): Move their rules to...
11556 * lib/autoconf/types.m4: here, using AN_ macros.
11557 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
11558 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
11559 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
11560 * lib/autoconf/programs.m4: here.
11561 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
11562 (ETAGS_FOR_AUTOCONF): New.
11565 2002-09-28 Akim Demaille <akim@epita.fr>
11567 * lib/autoconf/autoscan.m4: New file.
11568 * lib/autoconf/autoconf.m4: Include it.
11569 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
11570 that were listed in the original autoscan.list.
11571 * lib/autoconf/headers.m4: Similarly with headers.
11572 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
11573 (.m4.m4f): Don't pass --prepend-include, since that's done by
11574 tests/autom4te itself.
11575 * lib/autoscan/Makefile.am: Include freeze.mk.
11576 (autoscan.list): New target --this file is no longer a source.
11577 (autoscan.pre): New file.
11579 2002-09-28 Akim Demaille <akim@epita.fr>
11581 * bin/autoscan.in (@kinds): Make them singular.
11583 (&init_tables): When --debug, report the list of rules to ease
11584 tracking changes in autoscan.list.
11585 * lib/autoscan/autoscan.list (function): Strip comments, sort.
11587 2002-09-28 Akim Demaille <akim@epita.fr>
11589 * lib/autoscan/functions, lib/autoscan/headers,
11590 * lib/autoscan/identifiers, lib/autoscan/makevars,
11591 * lib/autoscan/programs: Merge into...
11592 * lib/autoscan/autoscan.list: this.
11593 * bin/autoscan.in (&init_tables): Adjust.
11595 2002-09-28 Akim Demaille <akim@epita.fr>
11597 * lib/autoscan/functions, lib/autoscan/headers,
11598 * lib/autoscan/identifiers, lib/autoscan/makevars,
11599 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
11600 `functions' line is now prefixed with `function:'.
11601 * bin/autoscan.in (&init_tables): Adjust.
11603 2002-09-28 Akim Demaille <akim@epita.fr>
11605 From now on, autoscan files must always map a macro name to a
11606 word: there is no `default' macro for autoscan.
11608 * bin/autoscan.in (&init_tables): Reject entries with no macro at
11610 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
11613 2002-09-28 Akim Demaille <akim@epita.fr>
11615 * bin/autoscan.in (%c_keywords): Remove.
11616 (&used): Keep only track of the words we might be interested in.
11617 (&output_kind): It is no longer needed to look for non active
11620 2002-09-27 Akim Demaille <akim@epita.fr>
11622 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
11623 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
11624 * lib/autoscan/functions: Adjust.
11625 * doc/autoconf.texi (Particular Functions): Adjust.
11627 2002-09-27 Akim Demaille <akim@epita.fr>
11629 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
11631 Thanks to Bill Moseley and Paul Eggert.
11632 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
11633 the tmpdir must be created.
11634 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
11635 dir be in the build tree, instead of $TMPDIR.
11637 2002-09-27 Akim Demaille <akim@epita.fr>
11639 * bin/autoscan.in: Improve the comments.
11640 (&parse_args): Drop obsolete undocumented options.
11641 (&output_kind): Output warnings.
11642 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
11643 (getwd): Trigger a warning.
11645 2002-09-26 Akim Demaille <akim@epita.fr>
11647 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
11648 Reported by Ralf Corsepius.
11649 * doc/autoconf.texi (autoreconf Invocation): Likewise.
11651 2002-09-26 Akim Demaille <akim@epita.fr>
11653 Single suffix rules and seperated dependencies are not portable.
11655 * doc/autoconf.texi (Installation Directory Variables): Update.
11656 (Limitations of Make): Some about `Single Suffix Rules and
11657 Separated Dependencies'.
11658 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
11659 (ifnames, autoscan, autom4te): Un-factor into several rules.
11661 2002-09-25 Paul Eggert <eggert@twinsun.com>
11663 * BUGS (Interoperability bugs): New section. Mention libtool
11664 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
11666 2002-09-24 Paul Eggert <eggert@twinsun.com>
11668 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
11669 make handles suffix-rules differently from GNU make.
11671 * bin/Makefile.am (SUFFIXES, .in): Remove.
11672 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
11673 Move the body of the old .in rule here.
11675 2002-09-16 Akim Demaille <akim@epita.fr>
11677 i960 compilers create `b.out' files by default.
11678 Reported by Ralf Corsepius.
11680 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
11681 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
11683 2002-09-13 Paul Eggert <eggert@twinsun.com>
11685 * doc/autoconf.texi (Particular Headers): Remove obsolete
11686 reference to `struct timezone' in the description of
11689 2002-09-13 Akim Demaille <akim@epita.fr>
11693 * config/config.sub, config/config.guess: Update.
11694 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
11695 * Makefile.am: Adjust.
11697 2002-09-13 Akim Demaille <akim@epita.fr>
11699 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
11700 reading config.log when the compiler is rejected.
11701 Suggested by Guido Draheim.
11703 2002-09-13 Akim Demaille <akim@epita.fr>
11705 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
11706 (chdir_init) might hang when stat'ing mounted directories.
11707 Reported by Vance Shipley.
11709 2002-09-12 Akim Demaille <akim@epita.fr>
11711 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
11714 2002-09-12 Akim Demaille <akim@epita.fr>
11716 * doc/autoconf.texi (Defining Symbols): Present two different
11717 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
11718 difference between 1 argument calls, and 2-3 argument calls.
11720 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
11722 * doc/autoconf.texi: Review grammar and punctuation.
11724 2002-09-11 Paul Eggert <eggert@twinsun.com>
11726 * doc/autoconf.texi: Fix minor formatting, spelling, and
11728 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
11729 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
11732 2002-09-11 Akim Demaille <akim@epita.fr>
11734 * doc/autoconf.texi (Questions): Rename as...
11736 (Defining Directories): New.
11738 2002-09-09 Akim Demaille <akim@epita.fr>
11740 * doc/autoconf.texi (Making testsuite Scripts): Update.
11741 Suggested by Nishio Futoshi.
11743 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
11745 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
11746 plain `@' is wanted.
11748 2002-09-09 Akim Demaille <akim@epita.fr>
11750 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
11751 `duplicates', since the algorithm was too naive and could keep
11752 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
11753 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
11754 Reported by Ralf Corsepius.
11755 * tests/torture.at (Configuring subdirectories): Exercise these
11758 2002-09-09 Akim Demaille <akim@epita.fr>
11760 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
11761 looking for a replacement file.
11762 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
11763 directory is relative.
11764 * doc/autoconf.texi (Generic Functions): Clarify the replacement
11765 directory definition.
11766 Reported by Andreas Schwab and Jim Meyering.
11768 2002-09-06 Akim Demaille <akim@epita.fr>
11770 * doc/autoconf.texi (Setting Output Variables): Clarify what
11771 precious variables are.
11772 Suggested by Pontus Skoeld.
11774 2002-09-05 Akim Demaille <akim@epita.fr>
11776 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
11777 (ifnames, autoscan, autom4te): Since we don't only depend on
11778 configure.ac variables (such as VERSION etc.), but also on prefix
11779 and so forth, depend on Makefile, not configure.ac.
11780 Reported by Alexandre Duret-Lutz.
11781 * doc/autoconf.texi (Installation Directory Variables): Adjust.
11783 2002-09-05 Kevin Ryde <user42@zip.com.au>
11785 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
11786 doesn't seem to be confined to ia64, just say "some versions".
11788 2002-09-04 Akim Demaille <akim@epita.fr>
11790 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
11792 * Makefile.am (maintainer-clean-local): Remove.
11793 (MAINTAINERCLEANFILES): Remove COPYING.
11795 2002-09-03 Paul Eggert <eggert@twinsun.com>
11797 * doc/autoconf.texi (Configuration Commands): Remove obsolete
11798 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
11801 2002-09-03 Akim Demaille <akim@epita.fr>
11803 * configure.ac: Bump to 2.53d.
11804 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
11805 as of today, on Automake's team suggestion.
11807 2002-09-03 Akim Demaille <akim@epita.fr>
11811 2002-09-02 Akim Demaille <akim@epita.fr>
11813 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
11815 * configure.ac: Disable SITE_MACRO_DIR.
11817 2002-09-02 Jim Meyering <meyering@lucent.com>
11819 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
11820 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
11821 Also, tweak grammar: s/make sure to/be sure to/.
11823 2002-09-02 Paul Eggert <eggert@twinsun.com>
11825 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
11826 directory names are generally preferable to physical names.
11828 2002-09-02 Akim Demaille <akim@epita.fr>
11830 * lib/Autom4te/General.pm (&update_file): s/die/error/.
11831 Reported by Raja R. Harinath.
11832 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
11833 * bin/autoupdate.in: Use error instead of die.
11835 2002-09-01 Paul Eggert <eggert@twinsun.com>
11837 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
11838 ordinary shell concatenation rather than echo+tr+sed command that
11839 runs afoul of a long-line-related sed bug in Solaris 8.
11841 * bin/autoheader.in (parse_args): --warning -> --warnings.
11843 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
11844 stdout, as traditional "ls" does.
11845 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
11846 _AC_COMPILER_EXEEXT_O): Likewise.
11847 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
11849 * bin/autoconf.as: Add --prepend-include option. This patch was
11850 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
11851 but bin/autoconf.in is generated automatically from bin/autoconf.as.
11853 * bin/autoconf.in, configure: Regenerate.
11855 * doc/autoconf.texi (Special Shell Variables): Mention
11856 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
11858 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
11859 MAILPATH and set PS1, PS2, PS4 to default values, to work
11860 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
11861 For LC_ALL etc, first try to set to "C" as POSIX requires and as
11862 the Autoconf documentation specifies; fall back to "unset" only if
11863 this fails. Use a shell for-loop for this rather than an m4 loop,
11864 to shorten the output script.
11866 2002-08-30 Paul Eggert <eggert@twinsun.com>
11868 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
11869 1003.1-2001's requirements for CDPATH. Give a simpler workaround
11870 for the CDPATH problem. Document PWD.
11871 (Limitations of Builtins): Document the problem that "cd $foo" and
11872 "ls $foo" may refer to different directories in shells conforming
11873 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
11874 example, since the old example is now out of date.
11876 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
11877 FOO" and "ls FOO" talk about different directories; this catches
11878 problems when POSIX 1003.1-2001 "cd" fails due to symlink
11881 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
11882 of rolling our own unset.
11883 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
11884 in practice we needn't worry about CDPATH if unset doesn't work.
11886 * Makefile.in, aclocal.m4, bin/Makefile.in,
11887 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
11888 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
11889 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
11890 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
11891 tests/Makefile.in: Regenerate with Automake 1.6.3.
11893 * config/config.guess, config/config.sub, config/mkinstalldirs:
11896 * configure: Regenerate with self.
11898 2002-08-30 Kevin Ryde <user42@zip.com.au>
11900 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
11903 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11905 * bin/autom4te.in (Request::load): Correctly test for "do" read
11908 2002-08-29 Akim Demaille <akim@epita.fr>
11910 * lib/Autom4te/General.pm (&xqx): New.
11911 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
11912 hand, which is not portable.
11914 * bin/autom4te.in: Use them.
11915 Use &error instead of die.
11916 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
11919 2002-08-17 Paul Eggert <eggert@twinsun.com>
11921 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
11922 default list of compilers to try, since it was long ago superseded
11923 by the ksh fc builtin. Suggested by Steven G. Johnson.
11925 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
11927 * doc/autoconf.texi (Invoking autom4te): End the option table,
11928 fixing a bug introduced by the previous patch.
11929 (Limitations of Make): Add a 'target lookup' subentry in the
11930 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
11932 2002-07-29 Mark D. Roth <roth@feep.net>
11934 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
11935 options and use $AUTOM4TE_PATH.
11936 * doc/autoconf.texi: Remove documentation of autom4te
11937 --include-envvar and --site-macro-subdir options and document
11938 use of $AUTOM4TE_PATH.
11939 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
11940 arguments from each language section.
11942 2002-07-29 Paul Eggert <eggert@twinsun.com>
11944 * doc/install.texi: Include copyright symbol in copyright notice.
11946 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
11948 (AM_MAKEINFOFLAGS): New macro.
11949 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
11950 * Makefile.am (INSTALL): Use the new macros.
11951 Use -o rather than --output, since "missing" does not grok --output.
11953 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
11955 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
11956 comments do not always work. Never trust the exit status of
11959 2002-07-24 Kevin Ryde <user42@zip.com.au>
11961 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
11962 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
11964 2002-07-23 Paul Eggert <eggert@twinsun.com>
11966 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
11967 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
11968 apparently treats PATH="nonexistent" as if it contained ".".
11969 Bug reported by Stefan `Sec' Zehl.
11971 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
11973 * doc/autoconf.texi (Limitations of Make): Mention the special
11974 handling of the obj/ directory by BSD make.
11976 2002-07-20 Kevin Ryde <user42@zip.com.au>
11978 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
11981 2002-07-19 Akim Demaille <akim@epita.fr>
11983 * doc/autoconf.texi (Function Portability): `exit'.
11984 (Programming in M4sh): Ethymology of M4sh.
11986 2002-07-19 Akim Demaille <akim@epita.fr>
11988 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
11990 2002-07-18 Akim Demaille <akim@epita.fr>
11994 2002-07-18 Akim Demaille <akim@epita.fr>
11996 * config/config.guess, config/config.sub: Update.
11998 2002-07-18 Akim Demaille <akim@epita.fr>
12000 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
12003 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
12004 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
12005 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
12007 2002-07-18 Akim Demaille <akim@epita.fr>,
12008 Alexandre Duret-Lutz <duret_g@epita.fr>
12010 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
12011 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
12013 2002-07-17 Russ Allbery <rra@stanford.edu>
12015 * doc/autoconf.texi (Initializing configure): Clarify the
12016 description of the tarname default.
12018 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
12020 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
12021 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
12022 latter was not run.
12024 2002-07-17 Akim Demaille <akim@epita.fr>
12026 * lib/Autom4te/General.pm (find_file): Browse the directories in
12027 the order they are given.
12029 2002-07-17 Akim Demaille <akim@epita.fr>
12031 * tests/wrapsh.as, tests/wrappl.as: Merge into...
12032 * tests/wrapper.as: this.
12033 * tests/Makefile.am, configure.ac: Adjust.
12035 2002-07-17 Mark D. Roth <roth@feep.net>
12037 * configure.ac: Add --enable-site-macro-dir option.
12038 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
12039 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
12040 --site-macro-subdir options.
12041 * bin/autoconf.in: Add --prepend-include option.
12042 * bin/autoheader.in: Add --prepend-include option.
12043 * bin/autoreconf.in: Add --prepend-include option.
12044 * bin/autoscan.in: Add --prepend-include option.
12045 * bin/autoupdate.in: Add --prepend-include option.
12046 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
12047 macro directory, remove note that include path directories are
12048 used in reverse order, and document --prepend-include option.
12049 * lib/autom4te.in: Use --prepend-include instead of --include.
12050 * tests/wrapsh.in: Use --prepend-include instead of --include.
12052 2002-07-17 Akim Demaille <akim@epita.fr>
12054 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
12056 * doc/autoconf.texi (Initializing configure): Adjust.
12058 2002-07-17 Akim Demaille <akim@epita.fr>
12060 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
12061 (_AC_FUNC_MALLOC): New.
12062 (AC_FUNC_MALLOC): Use the latter.
12063 Define HAVE_MALLOC to 0 if broken.
12064 * doc/autoconf.texi (Particular Functions): Adjust.
12066 2002-07-16 Akim Demaille <akim@epita.fr>
12068 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
12069 * doc/autoconf.texi (C Compiler): Adjust.
12071 2002-07-09 Akim Demaille <akim@epita.fr>
12073 * doc/autoconf.texi: Properly set the ``header'' part.
12075 2002-07-09 Akim Demaille <akim@epita.fr>
12077 * doc/autoconf.texi (Systemology): Some about Darwin.
12079 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
12081 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
12082 Don't use AC_REQUIRE in AU_DEFUN.
12084 2002-07-09 Art Haas <ahaas@neosoft.com>
12086 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
12088 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
12090 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
12091 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
12092 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
12093 so that Emacs setups GNU style for perl-mode and cperl-mode.
12095 2002-06-27 Paul Eggert <eggert@twinsun.com>
12097 * config/install-sh: Quote $src. Prefer || to test's -o option,
12098 as per "Limitations of Builtins".
12099 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
12100 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
12102 * tests/mktests.sh: Use grep instead of fgrep, as per
12103 "Limitations of Builtins".
12105 2002-06-15 Paul Eggert <eggert@twinsun.com>
12107 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
12108 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
12109 so that we consistently test the just-built programs.
12110 * tests/wrappl.as: Likewise.
12112 2002-06-12 Paul Eggert <eggert@twinsun.com>
12114 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
12115 name, so that symlinks to 'autoconf' work properly. Bug reported
12117 * bin/autoheader.in (AUTOM4TE): Likewise.
12118 * bin/autoreconf.in (autoconf, autoheader): Likewise.
12119 * bin/autoscan.in (autom4te): Likewise.
12120 * bin/autoupdate.in (autom4te): Likewise.
12122 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
12123 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
12126 2002-06-11 Andreas Schwab <schwab@suse.de>
12128 * doc/autoconf.texi: Add more dir entries.
12130 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
12132 * bin/autom4te.in ($cache): Don't define using `$me', the name
12133 of the cache should not depend on the name under which autom4te
12136 2002-06-07 Akim Demaille <akim@epita.fr>
12138 * tests/tools.at (autoconf: forbidden tokens, basic)
12139 (autoconf: forbidden tokens, exceptions): Adjust to the change of
12140 words in autom4te.in.
12142 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
12144 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
12145 _AC_LANG_PROGRAM_C_F77_HOOKS.
12147 2002-06-07 Akim Demaille <akim@epita.fr>
12149 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
12151 (AC_REPLACE_FNMATCH): this.
12152 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
12153 AC_FUNC_FNMATCH_GNU.
12155 2002-06-07 Akim Demaille <akim@epita.fr>
12157 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
12158 Rosetta Stone for Unix.
12160 2002-06-07 Akim Demaille <akim@epita.fr>
12162 * bin/autom4te.in (warn_forbidden): When rejecting a token,
12163 suggest m4_pattern_allow.
12164 Suggested by Adam J. Richter.
12166 2002-06-07 Akim Demaille <akim@epita.fr>
12168 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
12169 ac_config_libobj_dir.
12170 (AC_CONFIG_LIBOBJ_DIR): New.
12171 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
12172 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
12173 Use ac_config_libobj_dir to find the replacement files.
12174 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
12175 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
12176 (AC_REPLACE_FNMATCH_GNU): these.
12177 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
12178 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
12179 * tests/mktests.sh (ac_exclude_list): Don't check
12180 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
12182 2002-06-06 Paul Eggert <eggert@twinsun.com>
12184 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
12185 if ln doesn't work.
12187 * doc/autoconf.texi (Configuration Links): Likewise.
12188 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
12190 2002-06-05 Paul Eggert <eggert@twinsun.com>
12192 * config/config.guess, config/config.sub, config/texinfo.tex:
12193 Update from masters.
12195 2002-05-29 Paul Eggert <eggert@twinsun.com>
12197 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
12198 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
12199 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
12201 * lib/autoconf/Makefile.am (check-local): Likewise.
12202 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
12203 * lib/autoconf/types.m4 (commentary only): Likewise.
12204 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
12205 * lib/autotest/Makefile.am (check-local): Likewise.
12206 * lib/m4sugar/Makefile.am (check-local): Likewise.
12207 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
12208 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
12210 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
12211 * doc/autoconf.texi (Particular Programs): Document them.
12212 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
12215 2002-05-27 Paul Eggert <eggert@twinsun.com>
12217 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
12218 * NEWS, doc/autoconf.texi (Particular Types): Document it.
12219 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
12220 instead of AC_MBSTATE_T, which never existed.
12222 2002-05-23 Akim Demaille <akim@epita.fr>
12224 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
12225 version of Autoconf that is discussed.
12227 2002-05-22 Paul Eggert <eggert@twinsun.com>
12229 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
12230 from the default list of compilers to try. Suggested by
12232 * NEWS: Document the above.
12233 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
12235 2002-05-17 Paul Eggert <eggert@twinsun.com>
12237 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
12238 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
12239 This improves on an earlier suggestion by H. Peter Anvin.
12241 2002-05-16 Paul Eggert <eggert@twinsun.com>
12243 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
12244 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
12245 Both macros now accept an optional source-dir arg.
12246 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
12248 * NEWS: Document this.
12249 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
12251 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
12252 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
12253 not for GNU extensions; this undoes part of the 2000-11-03 change,
12254 reverting to 2.13-compatible behavior.
12255 Add new optional argument DIR.
12256 (AC_FUNC_FNMATCH_GNU): New macro.
12258 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
12260 2002-05-08 Paul Eggert <eggert@twinsun.com>
12262 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
12263 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
12264 and it causes a 'test' syntax error if it fails.
12265 Bug reported by Stephen Gildea.
12267 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
12268 If prototypes are supported, use them to check this at compile-time,
12269 instead of trying to check it at run-time. If we must do a run-time
12270 check, assume that setvbuf is standard when cross-compiling, as
12271 nonstandard setvbuf occurs only on ancient and unlikely hosts.
12272 Bug reported by Paul D. Smith.
12274 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
12275 argument specifying location of getloadavg.c. This removes a
12276 FIXME. This idea was taken from Jim Meyering's implementation in
12278 * doc/autoconf.texi (Particular Functions): Document this.
12279 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
12280 that's what the code does; this fixes a bug reported by
12283 2002-05-03 Akim Demaille <akim@epita.fr>
12285 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
12286 autopoint instead of gettextize.
12287 ($uses_alocal): Rename as...
12288 ($uses_aclocal): this.
12289 * doc/autoconf.texi (autoreconf Invocation): Adjust.
12290 Suggested by Bruno Haible.
12292 2002-05-03 Akim Demaille <akim@epita.fr>
12294 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
12296 2002-04-29 Paul Eggert <eggert@twinsun.com>
12298 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
12299 files to be 1 second older; just set them to be the same time.
12300 Also, sleep 1 second after the first aclocal, to work around
12301 problems with sub-second time stamps on the input files.
12303 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
12305 * doc/autoconf.texi: Mention "set -e -x" lossage
12306 under node "Limitations of Builtins".
12308 2002-04-29 Akim Demaille <akim@epita.fr>
12310 * doc/install.texi: Better wording for setting variables when
12312 From Christian Cornelssen.
12314 2002-04-29 Akim Demaille <akim@epita.fr>
12316 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
12317 of lack of $LINENO support, then the test will compare the $LINENO
12318 in testsuite vs. the lineno in the test file. This is wrong, of
12320 Be sure to protect it.
12321 Reported by Patrick Welche.
12323 2002-04-25 Akim Demaille <akim@epita.fr>
12325 * doc/autoconf.texi (Obsolete Macros): Typo.
12326 Reported by Vladimir Volovich.
12328 2002-04-25 Akim Demaille <akim@epita.fr>
12330 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
12331 than some of the input files, hence, on the second run of aclocal,
12332 if some of its input are younger, make them older.
12333 Suggested by Paul Eggert.
12335 2002-04-25 Akim Demaille <akim@epita.fr>
12337 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
12338 Thanks to Paul Eggert.
12340 2002-04-25 Akim Demaille <akim@epita.fr>
12342 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
12343 and ac_subst_vars be sh variables containing the list of
12344 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
12346 (_AC_INIT_PREPARE): Use them to log them.
12347 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
12348 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
12349 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
12350 _AC_SUBST_FILES and _AC_SUBST_VARS.
12351 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
12353 2002-04-24 Akim Demaille <akim@epita.fr>
12355 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
12356 autoheader, so that automake does not complain about a missing
12357 config.h.in that was to be created.
12359 2002-04-23 Akim Demaille <akim@epita.fr>
12361 * bin/autoheader.in (parse_args): --warning takes an argument.
12364 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
12366 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
12367 and bb.out when cleaning up.
12369 2002-04-22 Akim Demaille <akim@epita.fr>
12373 2002-04-22 Akim Demaille <akim@epita.fr>
12375 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
12377 2002-04-22 Akim Demaille <akim@epita.fr>
12379 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
12381 Reported by Gregory Giannoni.
12383 2002-04-22 Akim Demaille <akim@epita.fr>
12385 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
12386 Fixes false failures on Darwin.
12388 2002-04-21 Paul Eggert <eggert@twinsun.com>
12390 * TODO, bin/autoupdate.in, doc/autoconf.texi,
12391 lib/autoconf/general.m4, lib/autoconf/libs.m4,
12392 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
12393 tests/tools.at: Minor spelling and grammar fixes.
12395 2002-04-20 Paul Eggert <eggert@twinsun.com>
12397 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
12398 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
12399 * lib/autotest/general.m4 (AT_INIT): Likewise.
12400 * tests/atgeneral.m4 (AT_INIT): Likewise.
12402 2002-04-19 Paul Eggert <eggert@twinsun.com>
12404 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
12405 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
12406 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
12407 lib/autoconf/functions.m4, lib/autoconf/general.m4,
12408 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
12409 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
12410 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
12411 Minor spelling and grammar fixes.
12413 * doc/autoconf.texi: Follow the outline suggested in the GNU
12414 Sample Texts sections of the Texinfo 4.2 manual. Most
12415 importantly, this makes sure that the copyright notices appear in
12416 all output formats. You probably need Texinfo 4.2 to generate
12419 Fix some bugs when using "$@" when there might be zero positional
12420 arguments in cases where this matters.
12422 * bin/autoconf.as: Rewrite so that the problem does not come up.
12423 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
12424 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
12425 * lib/autotest/general.m4 (AT_INIT): Likewise.
12427 * bin/autoheader.in: Use 'case' statement to work around problem.
12428 * bin/auto4mte.in: Likewise.
12429 * bin/autoreconf.in: Likewise.
12430 * bin/autoscan.in: Likewise.
12431 * bin/autoupdate.in: Likewise.
12432 * bin/ifnames.in: Likewise.
12434 * doc/autoconf.texi (Shell Substitutions): Document the problem.
12436 * lib/autotest/general.m4 (AT_INIT):
12437 Use Zsh alias to work around problem.
12438 * tests/atgeneral.m4 (AT_INIT): Likewise.
12440 * tests/c.at: We can't have zero arguments, so remove workaround
12441 that is not portable to Zsh.
12443 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
12445 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
12446 from aclocal.m4 too.
12448 2002-04-12 Akim Demaille <akim@epita.fr>
12450 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
12452 2002-04-10 Akim Demaille <akim@epita.fr>
12454 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
12455 workaround for ${1+"$@"}.
12456 * doc/autoconf.texi (Shell Substitutions): Explain it.
12457 From Oliver Kiddle and Peter Stephenson.
12459 Have M4sh perform minimal shell sanitizing.
12461 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
12463 (_AS_PREPARE): this new macro.
12465 (AS_INIT): Invoke AS_SHELL_SANITIZE.
12466 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
12468 Adjust Autoconf and Autotest.
12470 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
12471 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
12472 * lib/autotest/general.m4 (AT_INIT): Likewise.
12473 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
12474 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
12477 Use this M4sh to generate Autoconf's shell scripts.
12479 * tests/wrapsh.as: New, precursor of wrapsh.in.
12480 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
12481 on Autotest and M4sh.
12482 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
12483 (wrapsh.in): New target.
12484 * bin/autoconf.as: New, precursor of autoconf.in.
12485 (autoconf.in): New target.
12487 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
12489 * doc/autoconf.texi (Limitations of Make): Mention the issue
12490 with indented comments in rules.
12492 2002-04-09 Andreas Schwab <schwab@suse.de>
12494 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
12495 ac_top_builddir when setting ac_abs_top_builddir.
12497 2002-04-06 Kevin Ryde <user42@zip.com.au>
12499 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
12500 (Portable Shell): Cross reference to Systemology.
12502 2002-04-05 Akim Demaille <akim@epita.fr>
12504 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
12505 directories when descending in a SUBDIRS.
12506 Reported by Ezra Peisach.
12508 2002-04-04 Andreas Schwab <schwab@suse.de>
12510 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
12511 contains no literal separators.
12513 2002-04-03 Akim Demaille <akim@epita.fr>
12515 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
12516 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
12517 Use dnl, not the KILL diversion.
12519 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
12520 (AC_CONFIG_LINKS): here.
12522 Don't use the KILL diversion, as it kills spurious output, which
12523 results in failures being hidden.
12524 Use m4_defn where appropriate.
12525 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
12526 after the second argument.
12528 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
12529 syntax, as it is provided by M4sugar.
12530 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
12532 2002-04-03 Andreas Schwab <schwab@suse.de>
12534 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
12535 expanded if $# <= 2.
12537 * bin/autoreconf.in (autoreconf): Run automake after rerunning
12540 2002-04-03 Akim Demaille <akim@epita.fr>
12542 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
12543 (_AC_COMPILER_EXEEXT_REJECT): New.
12544 Also recognize *.bb and *.bbg as compilation byproducts.
12545 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
12546 (_AC_COMPILER_OBJEXT): Use them.
12547 Fixes Debian #138666.
12549 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
12551 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
12553 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
12554 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
12555 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
12556 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
12557 (AC_C_CONST): Same.
12558 (AC_C_INLINE): Same.
12559 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
12560 * doc/autoconf.texi, NEWS: Document.
12561 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
12564 2002-04-02 Akim Demaille <akim@epita.fr>
12566 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
12567 _AS_MKDIR_P_PREPARE.
12569 2002-03-28 Kevin Ryde <user42@zip.com.au>
12571 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
12572 to avoid versions of HP C which don't allow that.
12574 2002-03-27 Paul Eggert <eggert@twinsun.com>
12576 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
12577 (AS_SHELL_SANITIZE): Invoke it.
12578 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
12580 2002-03-26 Akim Demaille <akim@epita.fr>
12582 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
12584 2002-03-26 Akim Demaille <akim@epita.fr>
12586 * doc/autoconf.texi (Introduction): The GNATS base moved.
12588 2002-03-25 Paul Eggert <eggert@twinsun.com>
12590 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
12591 as POSIX requires, as it doesn't work with Zsh.
12592 * doc/autoconf.texi (Assignments): Document the problem.
12594 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
12596 * doc/autoconf.texi (Limitations of Make): Mention more issue
12597 about VPATH, overriding of macros in sub-makes, and handling of
12600 2002-03-21 Paul Eggert <eggert@twinsun.com>
12602 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
12603 problem with here-document buffer boundaries.
12605 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
12606 when reinvoking the shell, to work around problems with installers
12607 who put strange things like "cd" commands in their environments.
12609 2002-03-19 Akim Demaille <akim@epita.fr>
12611 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
12614 2002-03-19 Akim Demaille <akim@epita.fr>
12616 * bin/autoscan.in (scan_file): Specify the location in `&used'
12620 2002-03-19 Akim Demaille <akim@epita.fr>
12622 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
12623 From Nishio Futoshi.
12625 2002-03-19 Akim Demaille <akim@epita.fr>
12627 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
12629 2002-03-18 Paul Eggert <eggert@twinsun.com>
12631 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
12632 (Limitations of Usual Tools): Add mkdir section.
12634 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
12635 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
12636 back on AS_DIRNAME to compute prefixes otherwise; this is
12637 roughly what mkinstalldirs does. That way, we need not have
12638 our own filename disassembler. The old disassembler did not
12639 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
12641 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
12642 Create at_test_all by a series of assignments,
12643 not by a single assignment of a long string. The latter causes ksh
12644 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
12645 presumably because of a buffer overrun.
12647 2002-03-14 Paul Eggert <eggert@twinsun.com>
12649 * lib/autotest/general.m4 (at_times_skip):
12650 Renamed from at_times. Now a boolean.
12651 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
12652 says 'times: not found'.
12654 2002-03-14 Akim Demaille <akim@epita.fr>
12656 * bin/autoreconf.in (&study_gettextize): New.
12657 (&autoreconf): Handle newest gettextize.
12658 Rerun aclocal if needed.
12659 Suggested by Andreas Schwab.
12661 2002-03-13 Akim Demaille <akim@epita.fr>
12663 * doc/autoconf.texi (Special Shell Variables): More about IFS.
12665 2002-03-13 Akim Demaille <akim@epita.fr>
12667 * doc/autoconf.texi (Header Portability): New.
12668 Add information about stdint.h and inttypes.h from Paul Eggert.
12670 2002-03-13 Akim Demaille <akim@epita.fr>
12672 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
12676 2002-03-12 Akim Demaille <akim@epita.fr>
12678 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
12681 2002-03-11 Andreas Schwab <schwab@suse.de>
12683 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
12684 does not do it if --with-lispdir is given.
12686 2002-03-08 Akim Demaille <akim@epita.fr>
12690 2002-03-08 Akim Demaille <akim@epita.fr>
12692 * doc/autoconf.texi (Subdirectories): Clarify that the
12693 subdirectory should exist.
12695 2002-03-08 Akim Demaille <akim@epita.fr>
12697 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
12699 2002-03-08 Akim Demaille <akim@epita.fr>
12701 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
12702 aliases the actual variables, and modifications of the former
12705 2002-03-08 Akim Demaille <akim@epita.fr>
12707 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
12708 because of C-c: have m4 output in tmp files, then mv them.
12710 2002-03-08 Akim Demaille <akim@epita.fr>
12712 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
12713 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
12714 * bin/ifnames.in: Copyright update.
12716 2002-03-08 Akim Demaille <akim@epita.fr>
12718 * doc/autoconf.texi (Invoking autom4te): New.
12720 2002-03-05 Akim Demaille <akim@epita.fr>
12722 * doc/autoconf.texi (Specifying Names): Clarification suggested by
12725 2002-03-05 Akim Demaille <akim@epita.fr>
12729 2002-03-04 Akim Demaille <akim@epita.fr>
12731 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
12732 * lib/autoconf/general.m4 (AC_INIT): More informative error
12733 message for LIBOBJ.
12735 2002-03-04 Akim Demaille <akim@epita.fr>
12737 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
12740 2002-03-04 Akim Demaille <akim@epita.fr>
12742 * doc/autoconf.texi (Transforming Names): Equality between target
12743 and host is irrelevant.
12744 (Specifying Names, Canonicalizing): Remove all references to the
12745 backward compatibility hooks. Rather, collect them all into...
12746 (Hosts and Cross-Compilation): this new section.
12747 * doc/install.texi (System Type): Ditto.
12748 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
12749 that `--host' implies cross-compilation.
12751 2002-03-04 Akim Demaille <akim@epita.fr>
12753 * doc/autoconf.texi (Evaluation Macros): New.
12754 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
12756 (_m4_foreach): Define the variant with immediate evaluation so
12757 that it contains exactly the items, not an expression which
12758 evaluation is the current item.
12759 (m4_re_string, m4_re_word): Don't over quote them.
12761 2002-03-04 Akim Demaille <akim@epita.fr>
12763 Instead of having stacking `shift's evaluated at the end, let
12764 `foreach' loops immediately evaluate them.
12766 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
12767 $*. This is the n-th time I change my mind, but hopefully this is
12770 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
12772 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
12773 it was only a hack for m4_text_wrap.
12774 (m4_car2): Remove, replaced by...
12776 (_m4_foreach): Adjust.
12777 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
12778 m4_bpatsubst for clarification.
12780 2002-03-04 Akim Demaille <akim@epita.fr>
12782 * doc/autoconf.texi (Changequote is Evil): New.
12784 2002-03-03 Kevin Ryde <user42@zip.com.au>
12786 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
12787 on old systems like SunOS.
12789 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
12791 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
12792 lib/autoconf/functions.m4, lib/autoconf/general.m4,
12793 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
12794 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
12797 2002-02-28 Akim Demaille <akim@epita.fr>
12799 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
12800 message to be sent.
12802 2002-02-28 Kevin Ryde <user42@zip.com.au>
12804 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
12806 2002-02-25 Akim Demaille <akim@epita.fr>
12808 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
12809 From Akinori Musha.
12811 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
12813 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
12814 translate \r\n to \n.
12816 2002-02-07 Akim Demaille <akim@epita.fr>
12820 2002-02-07 Akim Demaille <akim@epita.fr>
12822 Fix Autoconf PR/209.
12823 Also reported by Frank Denis.
12825 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
12827 2002-02-07 Akim Demaille <akim@epita.fr>
12829 Fix Autoconf PR/207:
12830 AC_PREFIX_PROGRAM fails with dashed program names
12832 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
12833 variable when looking for the prefix program.
12834 Now it also works for shell variables.
12836 2002-02-07 Akim Demaille <akim@epita.fr>
12838 * doc/autoconf.texi (Limitations of Builtins): More about
12841 2002-02-06 Akim Demaille <akim@epita.fr>
12843 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
12844 case/esac, some shells don't support it.
12845 Reported by Zack Weinberg.
12846 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
12848 2002-02-06 Akim Demaille <akim@epita.fr>
12850 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
12851 sure not to introduce newlines in at_groups.
12852 * lib/autotest/Makefile.am (autotest.m4f): Typo.
12854 2002-02-06 Akim Demaille <akim@epita.fr>
12856 * tests/torture.at (Configuring subdirectories): Skip if aclocal
12859 2002-02-05 Paul Eggert <eggert@twinsun.com>
12861 * doc/autoconf.texi (Specific Compiler Characteristics):
12862 Describe HP-UX cc bug workaround more accurately.
12863 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
12865 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
12866 cross-compilers, too. This undoes some of the most recent change
12869 2002-02-05 Akim Demaille <akim@epita.fr>
12871 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
12872 to make sure they are up to date when `check' is run.
12874 2002-02-05 Akim Demaille <akim@epita.fr>
12876 * doc/autoconf.texi (Making testsuite Scripts): Document
12879 2002-02-05 Akim Demaille <akim@epita.fr>
12881 * lib/freeze.mk: New.
12883 2002-02-05 Akim Demaille <akim@epita.fr>
12885 Implement `autom4te --freeze'.
12887 * bin/autom4te.in (&freeze): New.
12888 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
12889 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
12891 2002-02-05 Akim Demaille <akim@epita.fr>
12893 * bin/autom4te.in (&parse_args): Implement `frozen files are
12894 optional are the sum of the previous files on the command line'.
12895 Also, pass `--reload-state=' on them, so...
12896 (handle_m4): don't.
12897 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
12898 (M4sh): Rely on M4sugar.
12899 (Autotest, M4sh, M4sugar): Use frozen files.
12901 2002-01-31 Akim Demaille <akim@epita.fr>
12903 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
12904 * doc/autoconf.texi (Initializing configure): Adjust.
12906 2002-01-30 Akim Demaille <akim@epita.fr>
12908 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
12909 alphanumeric to `-' instead of `_'.
12911 2002-01-30 Akim Demaille <akim@epita.fr>
12913 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
12914 for plain code, the other for cross-compilation code. The latter
12915 is now run with GCC only.
12916 * doc/autoconf.texi (Compilers and Preprocessors): New.
12918 2002-01-30 Akim Demaille <akim@epita.fr>
12920 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
12922 * doc/autoconf.texi (Initializing configure): Explain how to
12923 change AC_INIT default values.
12925 2002-01-29 Akim Demaille <akim@epita.fr>
12927 * tests/torture.at (Configuring subdirectories): Use configure.in,
12928 so that aclocal 1.4 works.
12929 Reported by Alexandre Duret-Lutz and Larry Schmitt.
12931 2002-01-28 Akim Demaille <akim@epita.fr>
12933 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
12936 2002-01-28 Akim Demaille <akim@epita.fr>
12938 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
12939 AUTOTEST_PATH *after* it was set.
12940 Don't put `.' in the PATH: the user should be precise and `./' if
12941 needed. In addition, given that the test suite does some `cd', if
12942 `.' is in the path, the `tested programs' sections will report
12943 programs found in the test suite's directory, while during the
12944 tests (performed in their own directory), these programs are no
12945 longer visible. In other words, the results is confusing and
12947 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
12949 2002-01-24 Akim Demaille <akim@epita.fr>
12953 2002-01-24 Akim Demaille <akim@epita.fr>
12955 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
12956 * doc/autoconf.texi: Finally add Akim as an author.
12958 2002-01-24 Akim Demaille <akim@epita.fr>
12960 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
12961 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
12962 Bourne. Use /bin/sh.
12963 From Andreas Buening.
12965 2002-01-24 Akim Demaille <akim@epita.fr>
12967 * config/config.guess, config/config.sub, config/texinfo.tex:
12968 Update from masters.
12970 2002-01-24 Akim Demaille <akim@epita.fr>
12972 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
12973 * config/auxdir.m4, config/cond.m4, config/depend.m4,
12974 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
12975 * config/missing.m4, config/sanity.m4, config/select.m4,
12976 * config/strip.m4: Remove, to ease sync'ing with any version of
12979 2002-01-24 Akim Demaille <akim@epita.fr>
12981 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
12982 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
12983 Reported by Geir Ove Myhr.
12985 2002-01-21 Akim Demaille <akim@epita.fr>
12987 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
12989 2002-01-21 Akim Demaille <akim@epita.fr>
12991 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
12992 message on invalid options.
12993 * bin/autom4te.in (parse_args): Don't use
12994 Autoconf::General::getopt with non valid options.
12996 2002-01-17 Jim Meyering <meyering@lucent.com>
12998 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
12999 $ac_cv_exeext so we don't use an old, invalid, cached value.
13001 2002-01-11 Akim Demaille <akim@epita.fr>
13003 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
13005 * doc/autoconf.texi (Function Portability): Document the strnlen
13007 (Particular Functions): Document AC_FUNC_STRNLEN.
13008 * lib/autoscan/functions: Adjust.
13010 2002-01-06 Akim Demaille <akim@epita.fr>
13012 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
13013 package.m4, since is really depends upon configure.ac, not
13015 * doc/autoconf.texi (testsuite Scripts): Adjust.
13016 * tests/Makefile.am (package.m4): New.
13017 EXTRA_DIST it since its a source.
13019 2002-01-06 Akim Demaille <akim@epita.fr>
13021 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
13022 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
13023 and PACKAGE_BUGREPORT from here...
13024 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
13026 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
13027 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
13028 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
13029 * tests/tools.at (autoheader): Adjust.
13030 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
13032 2002-01-06 Akim Demaille <akim@epita.fr>
13034 * bin/autoscan.in (scan_file): Use `&used'.
13036 2002-01-03 Akim Demaille <akim@epita.fr>
13038 * doc/autoconf.texi (Output): Improved wording regarding use of
13042 2001-12-18 Kevin Ryde <user42@zip.com.au>
13044 * doc/autoconf.texi (Function Portability): Add notes on sscanf
13045 sometimes needing writable input.
13047 2001-12-17 Jim Meyering <meyering@lucent.com>
13049 * doc/autoconf.texi (New Macros): Tweak wording.
13051 2001-12-14 Akim Demaille <akim@epita.fr>
13053 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
13054 trailing files, don't apply `-rf' to files which might not be
13055 created by configure (core, core.*, and *.core), but just `rm -f'.
13056 Suggested by Jonathan Kamens.
13058 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
13060 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
13062 2001-12-14 Akim Demaille <akim@epita.fr>
13064 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
13066 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
13068 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
13069 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
13070 abs_srcdir, top_srcpath to abs_top_srcdir.
13071 (_AC_OUTPUT_FILES): Adjust.
13072 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
13073 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
13074 * tests/wrappl.in, tests/wrapsh.in: Adjust.
13076 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
13078 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
13079 C/Fortran linking on HP/UX, by extracting the Fortran library
13080 search path from the LPATH line in the $F77 -v output.
13082 2001-12-12 Kevin Ryde <user42@zip.com.au>
13084 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
13085 forbidden file descriptors table.
13087 2001-11-26 Akim Demaille <akim@epita.fr>
13089 * bin/autoscan.in (%c_keywords): Build it at top level.
13090 Map to 1 in order to simplify its uses.
13092 2001-11-26 Akim Demaille <akim@epita.fr>
13094 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
13095 Remove $filepath, useless.
13096 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
13097 variables, they are really part of the tokens.
13098 Split the input line on spaces and then look for tokens.
13099 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
13100 because of `lex$U.$(OBJEXT)'.
13101 (&scan_files): Use "@list" instead of join.
13102 * doc/Makefile.am (CLEANFILES): Add *.fns.
13104 2001-11-26 Akim Demaille <akim@epita.fr>
13106 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
13107 Remove, replaced by...
13108 * tests/wrappl.in: Be common for all the Perl executables.
13109 In particular autoscan and autoheader want -I.
13110 * configure.ac: Adjust.
13111 * lib/autoscan/headers: errno.h is portable.
13113 2001-11-26 Akim Demaille <akim@epita.fr>
13115 * bin/autoscan.in (used): New.
13118 2001-11-26 Akim Demaille <akim@epita.fr>
13120 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
13122 (&scan_sh_file): Remove a duplicate pattern.
13123 (&check_configure_ac): Use long options.
13124 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
13126 2001-11-26 Akim Demaille <akim@epita.fr>
13128 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
13129 Before, having a line containing the opening of a multi line
13130 comment made the whole line be ignored.
13132 2001-11-26 Akim Demaille <akim@epita.fr>
13134 * doc/autoconf.texi (Using an Autotest Test Suite): New.
13135 (testsuite Scripts): Be one of its subsection.
13136 (Autotest Logs): New.
13138 2001-11-26 Akim Demaille <akim@epita.fr>
13140 Test groups are now run two directories deeper.
13142 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
13143 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
13145 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
13146 top_srcdir, builddir and top_builddir.
13147 Use `at_*dir' relatively to the directory containing the
13148 suite, use `*dir' when relatively to the current group dir.
13150 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
13152 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
13153 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
13154 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
13157 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
13159 * doc/autoconf.texi (Using System Type): Add an example of `case
13160 $host' usage so people quit using `case $target' everywhere.
13162 2001-11-22 Akim Demaille <akim@epita.fr>
13164 * doc/autoconf.texi (Installation Directory Variables): Englishoes
13165 spotted by Jim Meyering.
13167 2001-11-16 Paul Eggert <eggert@twinsun.com>
13169 This patch implements a `long double' suggestion by Oliver Kiddle.
13171 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
13172 static, to catch errors if the value isn't known at compile-time
13173 and the compiler supports dynamic arrays. Change its name from
13174 `_array_' to `test_array' to avoid potential name clashes.
13175 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
13176 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
13177 better than double. Catch a bug in GCC 2.95.2 x86.
13178 * doc/autoconf.texi (C Compiler): Document the above.
13181 2001-11-13 Akim Demaille <akim@epita.fr>
13183 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
13185 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
13187 2001-11-13 Akim Demaille <akim@epita.fr>
13189 * lib/autotest/general.m4 (AT_INIT): After having run the test
13190 group, go back to the initial directory, not to at_suite_dir.
13192 2001-11-13 Akim Demaille <akim@epita.fr>
13194 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
13195 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
13196 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
13198 (AT_CHECK_CONFIGURE): Use absolute paths.
13199 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
13200 The problem is still the old one: there is no means in M4 (that I
13201 know about) to create a defining macro, because there is no means
13202 to create `$1' etc., therefore, the defining macro ``swallows''
13203 all the arguments meant to the defined macro.
13205 2001-11-13 Akim Demaille <akim@epita.fr>
13207 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
13208 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
13210 * tests/aclocal.m4: Remove, as it is no longer used.
13212 2001-11-13 Akim Demaille <akim@epita.fr>
13214 * lib/autotest/general.m4: Change `tests?' into `groups?' in
13215 variable names when referring to a single test group, or to
13216 `suite' when referring to the whole test suite.
13217 `at_last_test' is removed: m4 compute at_format itself.
13218 (at_stdout, at_stder1, at_stderr): New variables.
13219 (AT_CHECK): Use them.
13221 2001-11-13 Akim Demaille <akim@epita.fr>
13223 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
13225 Create `testsuite.dir/003/run' instead of `testsuite.003'.
13226 Do it as soon as a test fails, don't wait till the end of the test
13228 Don't remove $as_me.[0-9]*, since these files no longer exist.
13230 2001-11-13 Akim Demaille <akim@epita.fr>
13232 * tests/tools.at: Use absolute paths, since we are no longer run
13235 2001-11-13 Akim Demaille <akim@epita.fr>
13237 Now that tests are running in their own private dir, there is no
13238 need to list the files to remove at the end of tests groups.
13240 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
13241 (AT_data_files, at_data_files): Remove.
13242 (AT_CLEANUP, AT_DATA): Simplify.
13244 Remove the group dir if !debug && !failed.
13245 * tests/atspecific.m4: Adjust.
13247 2001-11-13 Akim Demaille <akim@epita.fr>
13249 Start a new layout for Autotest: `testsuite' creates
13250 `testsuite.dir' in which the at-check-line etc. files are to be
13251 found, and `testsuite.dir/003' where the test group 3 is run.
13253 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
13254 at_check_line_file, at_format, at_test_normalized, at_group_dir
13256 Create the directories.
13257 Use absolute paths for at- files.
13258 (AT_CHECK): Adjust.
13260 2001-11-11 Michael Matz <matz@kde.org>
13262 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
13264 (m4_car): Properly quote arguments.
13266 2001-11-13 Akim Demaille <akim@epita.fr>
13268 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
13269 with stricter rules on LIBOBJS.
13271 2001-11-12 Paul Eggert <eggert@twinsun.com>
13273 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
13274 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
13277 2001-11-12 Akim Demaille <akim@epita.fr>
13279 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
13281 2001-11-12 Akim Demaille <akim@epita.fr>
13283 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
13284 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
13285 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
13286 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
13287 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
13288 specify to what the macro should be defined (typically to 1).
13290 2001-11-12 Akim Demaille <akim@epita.fr>
13292 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
13295 2001-11-12 Akim Demaille <akim@epita.fr>
13297 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
13298 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
13299 definition used by Automake where LEX is +/- "${missing} lex" and
13300 `missing' itself contains variables.
13302 2001-11-12 Akim Demaille <akim@epita.fr>
13304 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
13305 Now that M4sh pushes BODY, the comments were output at the end of
13308 2001-11-08 Akim Demaille <akim@epita.fr>
13310 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
13311 that we can trace macros from aclocal.m4.
13312 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
13313 obsoleted, and redirect to the former anyway.
13314 Reported by Ralf Corsepius.
13316 2001-11-08 Akim Demaille <akim@epita.fr>
13318 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
13319 processed only if present.
13320 * tests/torture.at (Configuring subdirectories): Use autoreconf
13321 instead of successive calls to autoconf.
13322 Add a nonexistent subdirectory to exercise the patch above.
13323 Reported by Ralf Corsepius.
13325 2001-11-08 Kevin Ryde <user42@zip.com.au>
13327 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
13328 doesn't accept .S files.
13330 2001-11-07 Akim Demaille <akim@epita.fr>
13332 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
13333 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
13334 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
13335 * bin/autom4te.in (warn_forbidden): New.
13336 (handle_output): Use it.
13337 Read m4_pattern_forbid with messages.
13339 2001-11-05 Akim Demaille <akim@epita.fr>
13341 * bin/autom4te.in (--normalize): Remove.
13342 * lib/autom4te.in: Adjust.
13344 2001-11-05 Akim Demaille <akim@epita.fr>
13346 * tests/Makefile.am (testsuite): Rename this target as...
13347 ($(TESTSUITE)): this.
13350 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
13352 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
13353 the --prefix option, also remove it's argument.
13355 2001-11-05 Akim Demaille <akim@epita.fr>
13357 * doc/autoconf.texi (testsuite Invocation): Update.
13358 (Writing testsuite.at): Update.
13360 2001-11-03 Akim Demaille <akim@epita.fr>
13362 * doc/autoconf.texi: s/@code/@command/ where appropriate.
13364 2001-11-03 Akim Demaille <akim@epita.fr>
13366 * lib/Autom4te/General.pm: (&catfile, &canonfile)
13367 (&file_name_is_absolute): New, wrappers around routines from
13369 Use and export them.
13370 (&find_configure_ac): Optionally take a directory where to look at.
13371 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
13373 Default @ARGV to `.', not find_configure_ac.
13374 (&autoreconf): Argument is a directory.
13375 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
13376 * doc/autoconf.texi (autoreconf Invocation): Update.
13378 2001-11-03 Akim Demaille <akim@epita.fr>
13380 * lib/Autom4te/General.pm (@export_vars, @export_subs)
13381 (@export_forward_subs): New.
13382 Add basename, dirname, and fileparse.
13384 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
13385 Don't look for aclocal flags if we already know aclocal is not
13387 Move aclocal.m4t only if it exists.
13388 Reported by Ezra Peisach.
13390 2001-11-03 Akim Demaille <akim@epita.fr>
13392 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
13393 passed on command line, defaulting to ./configure.ac if present.
13394 (&maybe_autoreconf, File::Find): Remove, unused.
13395 (&autoreconf): If autoconf is not used, don't try to trace.
13397 2001-11-02 Akim Demaille <akim@epita.fr>
13399 * configure.ac: Bump to 2.52g.
13401 2001-11-02 Akim Demaille <akim@epita.fr>
13405 2001-11-02 Akim Demaille <akim@epita.fr>
13407 * config/config.guess, config/config.sub, doc/standards.texi:
13408 * config/lispdir.m4: Update from masters.
13409 * configure.ac: Bump to 2.52f.
13411 2001-11-02 Akim Demaille <akim@epita.fr>
13413 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
13414 Don't run aclocal when aclocal.m4 is not from aclocal.
13416 Don't run libtoolize and gettextize if --install is not given.
13418 2001-11-01 Paul Eggert <eggert@twinsun.com>
13420 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
13421 be invoked before _AS_LINENO_PREPARE.
13422 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
13423 than character ranges.
13425 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
13426 invoking AS_BASENAME. Set the locale variables to 'C' if
13427 possible, as POSIX requires this to get the traditional
13429 * doc/autoconf.texi (Special Shell Variables): Describe the above.
13431 2001-10-31 Paul Eggert <eggert@twinsun.com>
13433 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
13434 with {}, as that triggers a bug in Bash 2.05.
13436 (_AS_LINENO_PREPARE): Use Sed rather than
13437 Awk. Fix the sed prepass to work even if there are multiple
13438 instances of $LINENO on the same line. Do not substitute for
13439 other variables like $LINENOT. Do not check file dates; such a
13440 check is unreliable on sufficiently fast machines, and removing
13441 the check makes the code simpler and more reliable. Check for
13442 output and chmod failures.
13444 * doc/autoconf.texi (Special Shell Variables): Document
13447 2001-10-31 Akim Demaille <akim@epita.fr>
13449 * tests/Makefile.am (atconfig): Remove this target, Automake
13452 2001-10-31 Akim Demaille <akim@epita.fr>
13454 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
13455 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
13456 provided, while it is optional.
13457 * configure.ac: Adjust.
13459 2001-10-26 Paul Eggert <eggert@twinsun.com>
13461 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
13462 lib/Autom4te/Struct.pm:
13463 Require Perl 5.005_03 instead of just 5.005, as some tests fail
13466 * doc/autoconf.texi (Special Shell Variables): Document some
13467 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
13469 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
13470 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
13471 eval $LINENO is not portable in practice.
13473 2001-10-24 Akim Demaille <akim@epita.fr>
13475 * lib/Autom4te/General.pm (backname): New.
13477 2001-10-24 Akim Demaille <akim@epita.fr>
13479 * m4/: Remove, merged into...
13482 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
13484 * doc/autoconf.texi (Shellology): Mention the problems with bash
13485 2.05's use of ANSI quoting in its `set' builtin.
13487 2001-10-22 Paul Eggert <eggert@twinsun.com>
13489 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
13490 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
13491 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
13492 POSIX decided to standardize on the int flavor of strerror_r.
13493 Always do char* test, as there's no reason not to.
13494 Assign to a char* var, to catch strerror_r that returns int*.
13496 * doc/autoconf.texi (Particular Functions):
13497 Document the above changes. Also, document the fact that
13498 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
13500 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
13502 2001-10-20 Akim Demaille <akim@epita.fr>
13504 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
13505 the executable was missing from the log.
13507 2001-10-20 Akim Demaille <akim@epita.fr>
13509 * lib/Autom4te/General.pm (&update_file): If destination is
13510 unchanged, remove the source.
13511 (&up_to_date_p): Don't be verbose, be debug.
13512 * bin/autoreconf.in: No longer support --m4dir.
13513 (&autoreconf): Display the full path of the configure.ac we are
13515 Trace it only once.
13516 Be sure to honor --force with gettextize.
13517 Always run aclocal.
13518 * doc/autoconf.texi: Adjust.
13520 2001-10-20 Akim Demaille <akim@epita.fr>
13522 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
13524 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
13525 `intl' is already present, as it refuses unless --force.
13526 (&parse_args): Use -I, --include instead of the old Autoconf
13528 ($localdir, $autoconf_dir): Remove.
13530 (&maybe_autoreconf): New, to preserve $_ for File::Find.
13532 2001-10-19 Jens Petersen <petersen@redhat.com>
13534 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
13535 * doc/autoconf.texi (Particular Programs): Likewise.
13537 2001-10-19 Akim Demaille <akim@epita.fr>
13539 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
13540 file in @configure_input@.
13541 Don't mention `automatically' in addition to `generated'.
13542 * tests/torture.at (#define header templates): Adjust.
13544 2001-10-19 Akim Demaille <akim@epita.fr>
13546 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
13547 comment, explain how to install automatic mode selection.
13550 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
13552 * bin/autoreconf.in (autoreconf): Display the path to the
13553 configure.ac being studied.
13555 2001-10-18 Paul Eggert <eggert@twinsun.com>
13557 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
13558 long, to work around a bug in the HP C compiler version HP92453-01
13561 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
13562 (AS_BASENAME_EXPR): New macro.
13563 (AS_BASENAME_SED): Do not assume GNU sed semantics.
13564 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
13565 and fall back on 'sed' only if the other two fail. This makes
13566 AS_BASENAME act more like AS_DIRNAME.
13567 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
13568 contains white space.
13569 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
13570 Use AS_DIRNAME, since I think it's now DOS-friendly.
13571 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
13572 Allow "dirname //FOO" to return either / or //, as POSIX allows
13575 2001-10-10 Akim Demaille <akim@epita.fr>
13577 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
13578 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
13581 2001-10-10 Akim Demaille <akim@epita.fr>
13583 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
13584 m4_define, since...
13585 (_AS_ECHO_N): AS_REQUIREs it.
13587 2001-10-10 Akim Demaille <akim@epita.fr>
13589 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
13590 (AC_INCLUDES_DEFAULT): Move to...
13591 * lib/autoconf/headers.m4: here.
13592 * lib/autoconf/types.m4: Comment changes.
13593 * doc/autoconf.texi: Specify where the default includes are used
13594 in the macro prototypes.
13596 2001-10-09 Akim Demaille <akim@epita.fr>
13598 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
13601 2001-10-08 Akim Demaille <akim@epita.fr>
13603 * bin/autoreconf.in (&autoreconf): Remove debugging code.
13604 (&parse_args): Pass verbosity/debugging options to subtools when
13605 --debug, not when --verbose.
13606 * lib/autom4te.in (Autoreconf-preselections): New.
13607 (Autoconf): Use it.
13609 2001-10-08 Akim Demaille <akim@epita.fr>
13611 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
13613 2001-10-08 Akim Demaille <akim@epita.fr>
13615 * doc/autoconf.texi (autoreconf Invocation): Adjust.
13616 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
13618 2001-10-08 Akim Demaille <akim@epita.fr>
13620 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
13621 (Syntax of the shell scripts): Don't.
13622 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
13623 bother with $force since...
13624 * lib/Autom4te/General.pm: does.
13626 2001-10-08 Akim Demaille <akim@epita.fr>
13628 * bin/autoreconf.in: Rewrite in Perl.
13629 * configure.ac: Adjust.
13630 * lib/Autom4te/General.pm (&up_to_date_p): New.
13631 * bin/autom4te.in (&up_to_date_p): Use it.
13633 (&up_to_date): this.
13635 2001-10-08 Akim Demaille <akim@epita.fr>
13637 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
13638 (m4_list_cmp): Use $0 to reinvoke yourself.
13639 (m4_patsubsts): New.
13640 (m4_strip, m4_version_unletter): Use it.
13641 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
13643 2001-10-08 Akim Demaille <akim@epita.fr>
13645 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
13646 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
13647 * lib/autoconf/types.m4, lib/autotest/general.m4,
13648 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
13649 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
13650 m4_bregexp, m4_bpatsubst, and m4_bmatch.
13651 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
13653 2001-10-08 Akim Demaille <akim@epita.fr>
13655 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
13657 2001-10-08 Akim Demaille <akim@epita.fr>
13659 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
13660 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
13661 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
13662 * tests/tools.at, tests/m4sh.at: Use it.
13663 * tests/m4sh.at: Don't rely on Autoconf macros.
13664 (DIRNAME_TEST): Also exercise the expr variant.
13665 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
13666 preferred M4sugar extension is now `.4s'.
13667 * tests/README: Remove.
13669 2001-10-08 Akim Demaille <akim@epita.fr>
13671 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
13672 (m4_provide_if): this.
13673 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
13674 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
13675 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
13676 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
13678 2001-10-08 Akim Demaille <akim@epita.fr>
13680 Use `add-log-current-defun-function' for ChangeLog creation.
13681 Suggested by Tom Tromey.
13683 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
13684 (autotest-mode): Adjust.
13685 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
13686 'comment-region onto `C-c ;'.
13687 Comments are `#', not `dnl'.
13688 (autoconf-current-defun): New.
13689 (autoconf-font-lock-keywords): Recognize `m4_defun'.
13691 2001-10-08 Akim Demaille <akim@epita.fr>
13693 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
13694 * lib/m4sugar/m4sh.m4: here.
13695 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
13696 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
13697 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
13698 include handle the m4_pattern_*, no longer push the
13699 BODY diversion nor set the /bin/sh line, AS_INIT does it.
13700 * lib/autotest/general.m4 (AT_INIT): Likewise.
13701 * tests/base.at: Adjust the tests to use AS_INIT.
13702 * tests/tools.at (AT_DATA_FORBIDDEN): New.
13703 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
13706 2001-10-07 Paul Eggert <eggert@twinsun.com>
13708 * doc/autoconf.texi (config.status Invocation):
13709 CONFIG_SHELL defaults to a shell that supports LINENO if available.
13711 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
13712 shell does not support LINENO, and if CONFIG_SHELL is unset or
13713 empty, and if we can find a shell that does support LINENO,
13714 then set CONFIG_SHELL to that shell and then re-execute
13715 ourselves with CONFIG_SHELL.
13717 2001-10-05 Paul Eggert <eggert@twinsun.com>
13719 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
13720 doesn't exist. Remove *.tmp, as a .tmp file is created during the
13721 build of $(TESTSUITE).
13723 2001-10-05 Akim Demaille <akim@epita.fr>
13725 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
13726 iff we are a bareword.
13727 Reported by Raja R Harinath.
13729 2001-10-05 Akim Demaille <akim@epita.fr>
13731 * tests/m4sh.at (LINENO): New.
13732 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
13733 PATH_SEPARATOR before using it.
13734 Fix the absolute path case/esac pattern.
13735 Provide $0 as fallback for as_myself.
13736 Reported by Raja R Harinath.
13738 2001-10-05 Akim Demaille <akim@epita.fr>
13740 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
13741 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
13743 2001-10-05 Akim Demaille <akim@epita.fr>
13745 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
13746 (AS_SHELL_SANITIZE): here. Use it.
13747 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
13750 2001-10-04 Akim Demaille <akim@epita.fr>
13752 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
13753 combination of Awk and sed to replace $LINENO.
13755 2001-10-02 Paul Eggert <eggert@twinsun.com>
13757 * doc/autoconf.texi (Limitations of Builtins): You can't use
13758 "source"; it's not portable. Remove confusing and
13759 somewhat-incorrect example involving "." and "/".
13761 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
13762 compatibility with POSIX shells.
13764 2001-10-02 Akim Demaille <akim@epita.fr>
13766 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
13767 instead of exec'ing to preserve $0 and $@.
13769 2001-10-01 Akim Demaille <akim@epita.fr>
13771 * tests/testsuite (AT_INIT) <at_pass_list>: New.
13772 Don't run twice the same test.
13774 2001-10-01 Akim Demaille <akim@epita.fr>
13776 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
13777 No longer output the list of tests.
13778 <--list>: New option.
13779 <--full-help>: Remove.
13780 Complete the short/long options duality.
13781 Various small adjustments.
13783 2001-10-01 Akim Demaille <akim@epita.fr>
13785 * doc/autoconf.texi: Use @kbd for user input.
13786 Always use `$' as shell prompt.
13788 2001-09-30 Paul Eggert <eggert@twinsun.com>
13790 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
13791 Don't use nested parenthesization. This patch was originally
13792 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
13793 but somehow it didn't get incorporated then.
13794 * doc/autoconf.texi (Limitations of Usual Tools):
13795 Clarify remark about sed and nested parenthesization.
13797 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
13798 Report an error if the size cannot be determined even though
13800 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
13801 Check for `expr' arithmetic overflow, and for compilation failure,
13802 and invoke a new argument $4 if either is discovered.
13803 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
13804 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
13806 2001-09-28 Akim Demaille <akim@epita.fr>
13808 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
13809 * m4/lispdir.m4: New.
13810 * aclocal.m4, configure.ac: Adjust.
13812 2001-09-28 Akim Demaille <akim@epita.fr>
13814 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
13816 (AT_INIT): More the wrapped section to where it will be expanded.
13817 Output `AT_tested' only when existing.
13818 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
13820 2001-09-27 Akim Demaille <akim@epita.fr>
13822 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
13823 generates too many bug reports.
13825 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
13826 status when executing the ACTION-IF-FALSE.
13827 * tests/base.at (AC_TRY_*): Rename as...
13828 (AC_TRY_COMMAND): this.
13829 (AC_RUN_IFELSE): New.
13830 * tests/compile.at (Extensions, C keywords)
13831 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
13832 (Broken/missing compilers, AC_PROG_CPP with warnings)
13833 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
13834 * tests/c.at (Extensions, C keywords)
13835 (Broken/missing compilers, AC_PROG_CPP with warnings)
13836 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
13837 (AC_PROG_CPP requires AC_PROG_CC): here and...
13838 * tests/fortran.at (GNU Fortran 77): there.
13839 * doc/autoconf.texi (autoconf Invocation): Fix the example:
13840 AC_TRY_RUN is about compilation, not shell commands.
13841 (Test Programs): AC_TRY_RUN works as used to be advertised.
13843 2001-09-27 Akim Demaille <akim@epita.fr>
13845 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
13847 Be sure to detect when $LINENO always returns the same value.
13848 Look for the original script, basename($0) is certainly not
13850 Pass the CLI arguments to `$as_me.lineno'.
13852 2001-09-25 Akim Demaille <akim@epita.fr>
13854 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
13855 Be sure the close and reopen the LOG fd before and after using tee
13857 <at_tests_pattern>: Adjust to the new format of at_help_all.
13859 2001-09-23 Akim Demaille <akim@epita.fr>
13861 * bin/autom4te.in (parse_args): There can be several invocations
13864 2001-09-23 Akim Demaille <akim@epita.fr>
13866 * doc/autoconf.texi (Top): Wrap in @ifnottex.
13868 2001-09-23 Akim Demaille <akim@epita.fr>
13870 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
13871 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
13872 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
13873 builddir, buildpath, top_builddir, and top_buildpath.
13874 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
13875 the current directory.
13876 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
13877 variables *before* changing the current directory.
13878 Skip nonexistent dirs.
13879 * doc/autoconf.texi (Preset Output Variables): Document these
13882 * lib/autotest/general.m4: Do not reset AT_victims.
13883 Don't compute at_srcdir nor at_top_srcdir.
13885 * tests/tools.at: Hence use top_srcdir.
13887 * tests/Makefile.am, tests/autoconf, tests/autoheader,
13888 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
13890 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
13891 * tests/wrapsh.in, tests/autoupdate.in: New.
13892 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
13893 * configure.ac: Build the position independent wrappers.
13895 * man/Makefile.am: Now that test wrappers are position
13896 independent, use them and drop dark envvar magic.
13898 2001-09-23 Akim Demaille <akim@epita.fr>
13900 * doc/autoconf.texi (Common Shell Constructs): Rename as...
13901 (Programming in M4sh): this.
13902 Promote to @section.
13904 2001-09-23 Akim Demaille <akim@epita.fr>
13906 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
13907 Pass $at_debug_args to the rerun test suite.
13908 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
13909 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
13912 2001-09-23 Akim Demaille <akim@epita.fr>
13914 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
13916 2001-09-23 Akim Demaille <akim@epita.fr>
13918 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
13921 2001-09-23 Akim Demaille <akim@epita.fr>
13923 * lib/Autom4te/General.pm (&debug): New.
13924 * bin/autom4te.in ($language): Move to...
13925 (parse_args): here.
13926 Handle --language in languages.
13927 * lib/autom4te.in (Automake-selections, Autoheader-selections)
13928 (Autoscan-selections): New.
13929 (Autoconf): Adjust.
13931 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
13933 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
13934 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
13935 to match current versions from CVS Automake.
13937 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
13939 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
13942 2001-09-22 Akim Demaille <akim@epita.fr>
13944 * lib/autoconf/autotest.m4: Create `package.m4'.
13945 * tests/Makefile.am (package.m4): Remove.
13947 2001-09-22 Akim Demaille <akim@epita.fr>
13949 Rely on `$LINENO' when possible instead of `__oline__'.
13951 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
13952 `$LINENO' support replacement when not supported.
13953 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
13954 them explicitly to be sure they are not output before this section
13955 (via m4_require). Cosmetic only.
13956 * lib/autoconf/c.m4, lib/autoconf/general.m4,
13957 * lib/autoconf/programs.m4: Replace all the occurrences of
13958 `__oline__' with `$LINENO'.
13959 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
13961 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
13963 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
13964 character (u: -> ue) in a code comment.
13965 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
13968 2001-09-21 Akim Demaille <akim@epita.fr>
13970 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
13971 Suggested by Jim Meyering.
13973 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
13975 * lib/autoconf/programs.m4: Use extensions listed in
13976 $ac_executable_extensions when looking for programs.
13978 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
13980 * lib/autoconf/general.m4: Fix a small Englisho.
13981 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
13982 setting up ac_dir_suffix and ac_top_builddir.
13983 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
13985 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
13987 * doc/autoconf.texi (File System Conventions): Clarify the use of
13989 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
13990 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
13991 be used instead of ':'.
13992 * lib/autotest/general.m4: Replace occurrences of ':' in
13993 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
13995 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
13997 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
13998 arguments. Fixed a typo.
14000 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
14002 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
14003 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
14005 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
14007 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
14008 * bin/autoupdate.in: Ditto.
14009 * bin/autoheader.in: Reworded a few comments.
14010 * bin/autoconf.in: Reworded help text for a few options.
14011 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
14012 * bin/autoscan.in, bin/autoupdate.in: Ditto.
14014 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
14016 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
14017 already have $file). Set output files to binary mode (helps avoid
14018 CR issues on DOSish systems).
14020 2001-09-19 Akim Demaille <akim@epita.fr>
14022 * lib/autotest/general.m4: Englishoes.
14023 From Tim Van Holder and Alexey Mahotkin.
14025 2001-09-18 Paul Eggert <eggert@twinsun.com>
14027 * doc/autoconf.texi (Common Shell Constructs): New node,
14028 documenting AS_DIRNAME.
14029 (Limitations of Usual Tools): Refer to it when discussing dirname.
14030 Also, update discussion of POSIX standard to reflect latest draft.
14032 * lib/autoconf/c.m4:
14033 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
14035 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
14036 Do not pass a first argument with leading '-'
14037 to expr, by parenthesizing initial integers that might be negative.
14039 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
14040 now merely checks whether it is an error to pass an argument
14043 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
14044 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
14045 whether it is a (compile-time) error to pass an argument to
14046 getpgrp. This simpler test supports the revised documentation,
14047 and is all that AC_FUNC_GETPGRP's users really need.
14049 2001-09-18 Akim Demaille <akim@epita.fr>
14051 * doc/autoconf.texi (Limitations of Make) <$<>: New.
14053 2001-09-18 Akim Demaille <akim@epita.fr>
14055 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
14057 * lib/autotest/general.m4 (AT_INIT): Adjust.
14059 2001-09-18 Paul Wagland <paul@wagland.net>
14061 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
14063 Add test for AS_BASENAME.
14064 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
14065 added test. It now correctly handles /1/2/3/, returning '3' not ''.
14066 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
14067 * tests/base.at: Fixed the expected responses. The old ones were
14069 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
14070 the documentation claims it should (and how it behaved in 2.13).
14072 2001-09-18 Akim Demaille <akim@epita.fr>
14074 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
14075 the AC_CONFIG_COMMANDS invocation.
14076 This also solves the name clash problems.
14077 Don't set the package's ID.
14078 * lib/m4sugar/Makefile.am (version.m4): Revamp.
14079 No longer to be shipped.
14080 (version.in): Remove.
14081 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
14082 * lib/autoconf/status.m4: Adjust.
14083 Use `m4_PACKAGE_STRING'.
14084 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
14085 the only optional argument is the name of the test suite.
14086 Expect `package.m4' to define the package signature.
14087 * lib/autom4te.in (Autotest): Add `package.m4?'.
14088 * tests/Makefile.am (package.m4): New.
14089 * tests/suite.at: ifnames is a victim.
14091 2001-09-18 Akim Demaille <akim@epita.fr>
14093 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
14094 AC_LIBSOURCE, AC_CONFIG_FILES.
14095 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
14096 program version string doesn't match the package's.
14097 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
14100 2001-09-17 Paul Eggert <eggert@twinsun.com>
14102 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
14103 Allow expression to return any value that can fit into unsigned long
14104 (not int, as before). Check for output errors.
14106 2001-09-17 Bruno Haible <haible@ilog.fr>
14108 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
14109 Always include <stdio.h> and <stdlib.h>. Evaluate
14110 the expression in an extra function before these includes. Call
14111 fprintf "%d" only after ensuring the argument is of type 'int'.
14112 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
14114 2001-09-17 Paul Eggert <eggert@twinsun.com>
14116 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
14117 or CFLAGS=-O5. In that case, the linker has a relaxed view of
14118 fatal errors, and AC_CHECK_LIB causes it to include libraries even
14119 when they don't exist.
14121 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
14122 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
14125 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
14126 version with the version used by fileutils 4.1, except use
14127 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
14130 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
14132 2001-09-13 Akim Demaille <akim@epita.fr>
14134 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
14136 Reported by Gerrit P. Haase.
14138 2001-09-13 Akim Demaille <akim@epita.fr>
14140 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
14141 m4_defn'ing is valid.
14143 2001-09-13 Akim Demaille <akim@epita.fr>
14145 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
14146 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
14149 2001-09-13 Akim Demaille <akim@epita.fr>
14151 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
14153 (m4_re_escape): New.
14154 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
14155 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
14156 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
14158 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
14159 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
14160 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
14161 AT_tests_all for consistency.
14163 (AT_VICTIMS): Similar to AT_KEYWORDS.
14164 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
14166 2001-09-13 Akim Demaille <akim@epita.fr>
14168 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
14170 2001-09-13 Akim Demaille <akim@epita.fr>
14172 * lib/autotest/general.m4 (AT_INIT): Create and remove
14173 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
14174 test suites can cohabit.
14176 2001-09-13 Akim Demaille <akim@epita.fr>
14178 * tests/mktests.sh: Don't output banners for empty test files.
14180 2001-09-13 Akim Demaille <akim@epita.fr>
14182 Test suites can be run independently of configure.
14184 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
14185 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
14186 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
14188 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
14190 * lib/autotest/general.m4: Use ECHO_*.
14192 2001-09-13 Akim Demaille <akim@epita.fr>
14194 * bin/ifnames.in: Rewrite in Perl.
14195 * configure.ac: Don't look for AWK.
14196 * tests/tools.at (AWK portability): Remove.
14197 (Syntax of the shell scripts): Don't check ifnames.
14198 (AT_CHECK_PERL_SYNTAX): New.
14199 (Syntax of the Perl scripts): Check ifnames.
14200 * tests/ifnames: New.
14202 2001-09-13 Akim Demaille <akim@epita.fr>
14204 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
14206 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
14207 Remove all the other keywords.
14209 2001-09-10 Akim Demaille <akim@epita.fr>
14211 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
14212 SETUP: no longer used.
14213 Support -k, --keywords.
14214 <at_help>: Be `no', `short', or `long'.
14215 <at_help_all>: New variable.
14216 (AT_KEYWORDS): New.
14217 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
14218 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
14219 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
14220 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
14221 No longer fill the HELP diversion.
14222 (AT_CLEANUP): Use them.
14223 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
14224 (m4_list_append): Remove.
14226 Spread a few keywords in the Autoconf test suite.
14228 2001-09-10 Akim Demaille <akim@epita.fr>
14230 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
14231 PATH_SEPARATOR, let M4sh compute it.
14232 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
14233 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
14235 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
14236 Simplify when the path is not a literal.
14237 (AS_UNAME): Use it to report PATH.
14238 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
14239 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
14240 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
14241 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
14242 normalize the path, and to look for victims.
14243 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
14244 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
14246 2001-09-07 Akim Demaille <akim@epita.fr>
14248 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
14249 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
14250 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
14251 related variables into `at_package_*'.
14252 * lib/autotest/general.m4 (AT_VICTIMS): New.
14253 (AT_INIT): Adjust for stand-alone/embedded test suites.
14254 (AS_MESSAGE_LOG_FD): Define and use it.
14255 * tests/suite.at (AT_VICTIMS): Use it.
14256 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
14259 2001-09-07 Akim Demaille <akim@epita.fr>
14261 Move toward possibly stand-alone test suites.
14263 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
14264 in addition, it introduces useless differences in logs.
14265 (AT_INIT): Let atconfig and atlocal be both optional.
14266 Adjust PATH computation.
14267 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
14269 2001-09-07 Akim Demaille <akim@epita.fr>
14271 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
14272 m4sugar/version.m4.
14274 2001-09-05 Akim Demaille <akim@epita.fr>
14276 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
14277 to avoid GCC warnings.
14280 2001-09-05 Akim Demaille <akim@epita.fr>
14282 * bin/autom4te.in: --language is -l, not -s.
14284 2001-09-05 Akim Demaille <akim@epita.fr>
14286 Be ready to handle filenames as stupid as `dnl.at', for if even
14287 the maintainer is dumb enough to do that...
14289 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
14290 excellence in M4 quotation: consider `__file__' is active.
14292 And BTW, when invoking m4, pass the --include in the right order:
14295 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
14298 2001-09-05 Akim Demaille <akim@epita.fr>
14300 * lib/Autom4te/XFile.pm: New lib file.
14301 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
14302 * bin/autoheader.in: Use it.
14304 2001-09-05 Akim Demaille <akim@epita.fr>
14306 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
14309 2001-09-05 Akim Demaille <akim@epita.fr>
14311 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
14312 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
14314 * bin/autoscan.in: Use `getopt' and `find_files' etc.
14315 Add -I, --include support.
14316 * doc/autoconf.texi (autoscan Invocation): Adjust.
14318 2001-09-05 Akim Demaille <akim@epita.fr>
14320 CVS GNU M4 doesn't like `undefine(undefined)'.
14322 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
14323 New, extracted from main.
14324 Use IO::File wherever possible.
14325 (input.m4): Be constant, use -I instead of hard coding $tmp.
14326 Therefore be a quoted heredoc.
14327 Don't invoke `_au_disable', since ac was not loaded, but just
14330 2001-08-31 Akim Demaille <akim@epita.fr>
14334 2001-08-31 Akim Demaille <akim@epita.fr>
14336 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
14338 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
14340 2001-08-31 Akim Demaille <akim@epita.fr>
14342 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
14343 serious problems handling heredocs in heredocs.
14344 Reported by Nicolas Joly.
14346 2001-08-31 Akim Demaille <akim@epita.fr>
14348 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
14349 (Making testsuite Scripts): Update.
14351 2001-08-31 Akim Demaille <akim@epita.fr>
14353 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
14355 2001-08-31 Akim Demaille <akim@epita.fr>
14357 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
14358 (testsuite Scripts): There is no such thing as `atconfig.in'.
14359 And actually one diagram is missing: test suite runtime.
14361 2001-08-31 Akim Demaille <akim@epita.fr>
14363 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
14366 2001-08-31 Akim Demaille <akim@epita.fr>
14368 * bin/autoupdate.in (@include): `installcheck' revealed the path
14369 to m4sugar was lacking!
14371 2001-08-31 Akim Demaille <akim@epita.fr>
14373 * man/Makefile.am (.x.1): We really have to pass
14374 autom4te_perllibdir.
14376 2001-08-31 Akim Demaille <akim@epita.fr>
14378 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
14379 debug scripts, in particular passing explicitly listed tests to
14382 2001-08-31 Akim Demaille <akim@epita.fr>
14384 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
14385 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
14386 Use directly autom4te, not autoconf.
14387 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
14389 2001-08-31 Akim Demaille <akim@epita.fr>
14391 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
14392 * bin/autoheader.in (%symbol): Strip arguments of macros.
14394 2001-08-31 Akim Demaille <akim@epita.fr>
14396 * doc/autoconf.texi: Catch up -I, --include changes.
14398 2001-08-31 Akim Demaille <akim@epita.fr>
14400 * bin/autom4te.in (&parse_args): Die on unknown languages.
14401 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
14403 Promote --include over --macrodir and other obsolete options.
14405 2001-08-31 Akim Demaille <akim@epita.fr>
14407 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
14408 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
14409 * bin/autom4te.in ($autoconf): Pass --force.
14410 `print $out' doesn't print `$_' but `$out'.
14411 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
14412 (autoheader): Pass --force since the test suite goes too fast for
14414 Adjust to the new autoheader messages.
14416 2001-08-31 Akim Demaille <akim@epita.fr>
14418 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
14419 Check the completeness of the #template.
14420 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
14421 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
14424 2001-08-31 Akim Demaille <akim@epita.fr>
14426 * lib/Autom4te/General.pm (&find_file, &update_file): New.
14427 * bin/autoupdate.in, bin/autoheader.in: Adjust.
14428 Drop AC_MACRODIR dead for real.
14429 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
14430 `autoheader: `config.hin' is created'.
14431 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
14433 2001-08-31 Akim Demaille <akim@epita.fr>
14435 * bin/autoheader.in: Rewrite in Perl.
14436 * tests/autoheader: Adjust.
14438 2001-08-31 Akim Demaille <akim@epita.fr>
14440 * bin/autoconf.in (--include, -I): New option.
14441 Map --localdir, --autoconf-dir onto it.
14442 Forward autom4te's options instead of interpreting them.
14443 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
14444 There is no such envvar since the inception of autom4te.cfg.
14445 * bin/autom4te.in (&parse_args): Uniquify `@include'.
14446 * bin/autoupdate.in: Adjust, and perform more control.
14447 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
14448 * tests/autoconf: Dittowise.
14450 2001-08-31 Akim Demaille <akim@epita.fr>
14452 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
14453 * bin/autom4te.in (&find_file): Support `FILE?' standing for
14455 Use -e, not -f, since /dev/null for instance is OK.
14456 (&parse_args): Adjust.
14457 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
14459 2001-08-31 Akim Demaille <akim@epita.fr>
14461 * configure.ac: Also find tested executables in bin.
14462 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
14463 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
14464 installed peer executables, only PATH is allowed to resolve it.
14465 Pass `autoconf_dir' via options, not via invisible envvars.
14466 * lib/Autom4te/General.pm (&find_peer): Remove.
14467 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
14468 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
14469 * man/Makefile.am: Let help2man rely on PATH instead of trying to
14470 find the executables for it.
14471 * tests/Makefile.am: Major cleanup. Too lazy to document...
14472 * tests/atlocal.in: Remove all the obscure envvar manipulations.
14474 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
14475 indeed related to running the test suite, while passing
14476 --autoconf-dir and others is related to running non installed
14477 Autoconf executables. So don't do that, leave it to...
14478 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
14479 * tests/autoscan: New.
14480 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
14481 refer to library files: rely on --language.
14483 2001-08-29 Akim Demaille <akim@epita.fr>
14485 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
14486 s/--set/--language/.
14488 2001-08-29 Akim Demaille <akim@epita.fr>
14490 * doc/autoconf.texi: Strip the @nodes.
14491 Suggested by Paul Eggert.
14492 (Initializing configure): Typo.
14494 2001-08-29 Akim Demaille <akim@epita.fr>
14496 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
14497 Suggested by Paul Eggert.
14499 2001-08-29 Akim Demaille <akim@epita.fr>
14501 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
14502 download in a tmp dir.
14504 2001-08-29 Akim Demaille <akim@epita.fr>
14506 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
14507 case insensitive OSes out there :(
14508 From Tim Van Holder.
14510 2001-08-29 Akim Demaille <akim@epita.fr>
14512 * lib/autom4te.in: New.
14513 * lib/Makefile.am (edit, autom4te.cfg): New.
14514 * bin/autom4te.in (BEGIN): Simplify.
14515 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
14516 (&load_configuration): New. Use it.
14517 (&parse_args): Support --mode, --set, and --melt.
14518 * bin/autoconf.in: Simplify and adjust.
14519 * tests/Makefile.am (AUTOMAKE): Use --set.
14520 * tests/atlocal.in: Adjust.
14521 * BUGS: distcheck and check are weak.
14523 2001-08-29 Akim Demaille <akim@epita.fr>
14525 * lib/autotest/general.m4: Use
14526 foo=`(command) 2>/dev/null`
14528 foo=`command` 2>/dev/null
14529 (at-devnull): Rename as...
14530 (AT-devnull): this.
14531 (--clean): Remove AT-* files too.
14532 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
14533 Reported by Nicolas Joly.
14535 2001-08-28 Akim Demaille <akim@epita.fr>
14537 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
14538 quotes inside single quotes.
14539 Reported by Nicolas Joly.
14541 2001-08-28 Kevin Ryde <user42@zip.com.au>
14543 * doc/autoconf.texi (Function Portability): Mention C right shifts.
14545 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
14547 * lib/autotest/general.m4: Reword some messages.
14548 (AT_INIT): Check for the `times' builtin before using it.
14549 Support test ranges as arguments to the testsuite.
14550 Have -e imply -d as the help text suggested.
14552 2001-08-27 Akim Demaille <akim@epita.fr>
14554 * Makefile.maint: Formatting changes.
14555 (do-po-update, po-update, cvs-update, update): New targets.
14558 2001-08-27 Akim Demaille <akim@epita.fr>
14560 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
14561 <at_cmd_line>: New.
14562 Pass it to debug-*.sh scripts.
14563 <AUTOTEST_PATH>: May contain absolute dir names.
14565 2001-08-27 Akim Demaille <akim@epita.fr>
14567 * lib/autotest/general.m4 (AT_INIT): Log the command line.
14568 Support `VAR=VAL' as arguments.
14569 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
14570 may be set via the command line.
14572 2001-08-27 Akim Demaille <akim@epita.fr>
14574 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
14575 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
14576 first the build dirs, then the src dirs.
14577 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
14579 2001-08-27 Akim Demaille <akim@epita.fr>
14581 * lib/autotest/general.m4 (AT_INIT): Output the definition of
14582 at_data_files earlier.
14583 (--clean, -c): New option.
14584 * tests/Makefile.am: Use this option.
14586 2001-08-27 Akim Demaille <akim@epita.fr>
14588 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
14589 `ac_top_builddir' to mimic Automake's vocabulary, which much more
14592 * doc/autoconf.texi (Configuration Actions): Document the vars
14593 available in commands.
14594 Emphasize the risks of collisions in init-cmds.
14596 2001-08-27 Akim Demaille <akim@epita.fr>
14598 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
14599 (Initializing configure): this new node.
14601 2001-08-27 Akim Demaille <akim@epita.fr>
14603 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
14605 2001-08-27 Akim Demaille <akim@epita.fr>
14607 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
14608 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
14610 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
14612 2001-08-27 Akim Demaille <akim@epita.fr>
14614 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
14616 * lib/autoconf/autoheader.m4: this new file.
14617 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
14618 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
14620 * lib/autoconf/autoupdate.m4: this new file.
14622 2001-08-27 Akim Demaille <akim@epita.fr>
14624 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
14625 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
14626 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
14628 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
14629 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
14631 2001-08-27 Akim Demaille <akim@epita.fr>
14633 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
14634 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
14635 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
14636 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
14637 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
14638 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
14639 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
14640 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
14641 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
14642 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
14643 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
14644 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
14645 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
14646 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
14647 (_AC_OUTPUT_SUBDIRS): Move to...
14648 * lib/autoconf/status.m4: this new file.
14649 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
14650 * tests/Makefile.am, tests/suite.at: Adjust.
14652 2001-08-27 Akim Demaille <akim@epita.fr>
14656 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
14657 (AMTAR): Help automake define it.
14658 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
14659 needed, 1.5 can have a macro and a target with the same name.
14660 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
14661 * m4/strip.m4: New.
14662 * m4/init.m4, m4/sanity.m4: Update.
14663 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
14664 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
14665 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
14666 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
14668 2001-08-27 Akim Demaille <akim@epita.fr>
14670 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
14672 * lib/autoconf/version.in: Remove.
14673 * lib/m4sugar/version.in: New.
14674 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
14676 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
14677 the name of the directory they're in, instead of the filename,
14678 since version.m4 is now in m4sugar, but m4_acversion must not be
14679 classified as an Autoconf macro.
14680 ($input_m4): Don't qualify the path to m4sugar.
14681 Rather, pass autoconf_dir to m4.
14682 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
14683 * tests/suite.at: Require 2.52c.
14685 2001-08-27 Akim Demaille <akim@epita.fr>
14687 testsuite.log should include config.log.
14689 * lib/autotest/autotest.m4: New.
14690 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
14691 * tests/suite.at : Adjust.
14692 (AT_INIT): Log config.log.
14693 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
14694 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
14695 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
14696 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
14697 of config.log on traps.
14698 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
14699 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
14700 for config.status'.
14701 Open the log as soon as possible.
14702 Use the same log introduction as configure's.
14704 2001-08-22 Paul Eggert <eggert@twinsun.com>
14706 * doc/autoconf.texi (Indices): New node.
14707 Move indices out of the top level menu and into this submenu.
14709 2001-08-22 Akim Demaille <akim@epita.fr>
14711 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
14713 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
14715 2001-08-22 Akim Demaille <akim@epita.fr>
14717 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
14718 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
14719 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
14720 * lib/autoconf/programs.m4: here.
14721 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
14722 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
14723 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
14724 * lib/autoconf/programs.m4: here.
14725 (_AC_DECL_YYTEXT): Rename as...
14726 (_AC_PROG_LEX_YYTEXT_DECL): this.
14727 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
14728 * tests/Makefile.am, tests/suite.am: Adjust.
14730 2001-08-22 Akim Demaille <akim@epita.fr>
14732 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
14734 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
14736 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
14737 * lib/autoconf/functions.m4: here.
14738 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
14739 (AH_CHECK_LIB): Move to...
14740 * lib/autoconf/libs: this new file.
14741 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
14742 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
14743 * lib/autoconf/libs.m4: here.
14744 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
14746 2001-08-22 Akim Demaille <akim@epita.fr>
14748 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
14749 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
14750 (AC_SITE_LOAD): Better logging of config.site.
14752 2001-08-20 Akim Demaille <akim@epita.fr>
14754 * configure.ac (AT_CONFIG): Fix the path.
14755 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
14758 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
14760 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
14761 program with AC_LANG_PROGRAM before feeding it to
14762 AC_COMPILE_IFELSE. Cleanup grep usage.
14764 2001-08-20 Akim Demaille <akim@epita.fr>
14766 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
14767 * NEWS, README, README-alpha, TODO, tests/README: This package is
14768 `Autoconf', not `autoconf' (the executable).
14770 2001-08-20 Akim Demaille <akim@epita.fr>
14772 Info readers seem to need `Index' in the index node title :(
14774 * doc/autoconf.texi: Reverse the 2001-08-15 change which
14775 simplified index node names.
14777 2001-08-20 Akim Demaille <akim@epita.fr>
14779 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
14780 arguments are not literals.
14781 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
14782 Specify the output variables, and macros defined.
14784 2001-08-20 Akim Demaille <akim@epita.fr>
14786 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
14787 (Examining Syntax) <AC_TRY_COMPILE>
14788 (Examining Libraries) <AC_TRY_LINK>
14789 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
14791 Reported by Werner Lemberg.
14793 2001-08-20 Akim Demaille <akim@epita.fr>
14795 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
14796 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
14797 Load atlocal late enough to dump it in the log.
14798 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
14800 2001-08-20 Akim Demaille <akim@epita.fr>
14802 * tests/torture.at (Configuring subdirectories): New test.
14803 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
14805 * m4/atconfig.m4: Be sure the let $[0] be expandable.
14806 (top_srcdir): Fix its computation.
14808 2001-08-20 Akim Demaille <akim@epita.fr>
14810 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
14811 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
14813 Create `atconfig' automagically.
14814 Configure atlocal.in if present.
14815 * tests/atconfig.in: Remove.
14816 * tests/atlocal.in: New.
14817 * tests/Makefile.am: Adjust.
14819 2001-08-20 Akim Demaille <akim@epita.fr>
14821 Huh!?!?! There are still some user EOF tags used, which prevents
14822 their use in AC_CONFIG_COMMANDS for instance...
14824 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
14825 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
14826 `_CSEOF', or `_ATEOF', as appropriate.
14827 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
14828 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
14830 2001-08-20 Akim Demaille <akim@epita.fr>
14832 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
14833 * tests/semantics.at, tests/tools.at, tests/torture.at:
14834 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
14836 2001-08-20 Akim Demaille <akim@epita.fr>
14838 Autotest invokes M4sh's initialization.
14840 * lib/autotest/general.m4: Adjust the diversion names.
14841 (AT_INIT): Run AS_INIT.
14842 Use the BINSH diversion to invoke /bin/sh.
14843 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
14844 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
14846 2001-08-20 Akim Demaille <akim@epita.fr>
14848 Let M4sh have its own diversions.
14850 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
14851 (_m4_divert(NOTICE)): Rename as...
14852 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
14853 (_m4_divert(HEADER-COMMENT)): these.
14854 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
14855 (_m4_divert(NOTICE)): New, for Libtool.
14856 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
14857 long ago with `_m4_divert(GROW)'.
14858 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
14860 2001-08-20 Akim Demaille <akim@epita.fr>
14862 * tests/base.at, tests/compile.at, tests/foreign.at,
14863 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
14864 * tests/semantics.at, tests/suite.at, tests/tools.at,
14865 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
14867 2001-08-20 Akim Demaille <akim@epita.fr>
14869 * bin/autom4te.in (handle_output): Handle @__@.
14871 2001-08-20 Akim Demaille <akim@epita.fr>
14873 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
14874 * lib/autotest/general.m4: Adjust the license.
14876 2001-08-17 Paul Eggert <eggert@twinsun.com>
14878 * doc/autoconf.texi (Function Portability): Mention snprintf,
14879 following up on a suggestion by Kevin Ryde.
14881 2001-08-17 Akim Demaille <akim@epita.fr>
14883 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
14884 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
14886 2001-08-17 Akim Demaille <akim@epita.fr>
14888 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
14889 `$0.log' as for projects where testsuite is in src, we'd have
14890 testsuite.log created in src.
14892 2001-08-17 Akim Demaille <akim@epita.fr>
14894 * bin/autom4te.in (&parse_args): Recognize --normalize.
14896 2001-08-17 Akim Demaille <akim@epita.fr>
14898 Start implementing the AC_CHECK_HEADER transition scheme.
14900 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
14901 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
14902 (AC_CHECK_HEADER): Use them.
14904 2001-08-17 Akim Demaille <akim@epita.fr>
14906 * doc/autoconf.texi: Work around Texinfo buglets.
14907 (Transformation Rules): One example is enough, users are expected
14908 to have their brains on. And BTW, use DESTDIR.
14909 (dvar): New macro. Use it.
14911 2001-08-17 Akim Demaille <akim@epita.fr>
14913 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
14914 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
14915 looking for ChangeLogs.
14917 2001-08-17 Akim Demaille <akim@epita.fr>
14919 * bin/autom4te.in: --normalize is a new option.
14920 * bin/autoconf.in: Use it.
14922 2001-08-17 Akim Demaille <akim@epita.fr>
14924 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
14925 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
14927 2001-08-16 Paul Eggert <eggert@twinsun.com>
14929 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
14932 2001-08-15 Akim Demaille <akim@epita.fr>
14934 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
14937 2001-08-15 Akim Demaille <akim@epita.fr>
14939 * doc/autoconf.texi (pr): New index.
14940 (prindex, findex): Use, merge, and output them.
14941 (Environment Variable Index, Output Variable Index)
14942 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
14943 (Autotest Macro Index): Rename as...
14944 (Environment Variables, Output Variables,Preprocessor Symbols)
14945 (Autoconf Macros, M4 Macros, Autotest Macros): these.
14946 * doc/install.texi: Use @command.
14947 (Environment Variables): Rename as...
14948 (Defining Variables): this.
14950 2001-08-15 Akim Demaille <akim@epita.fr>
14952 * doc/autoconf.texi (Function Portability): sprintf's return
14956 2001-08-15 Akim Demaille <akim@epita.fr>
14958 * Makefile.maint (CVS): New.
14959 (local-check): Run changelog-check. last.
14960 (alpha): Don't depend upon local-check, since...
14961 (cvs-dist): depends upon it.
14963 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
14965 * tests/Makefile.am: Use a clean-local rule to remove
14966 autom4te.cache (it's a directory, not a file.
14967 * Makefile.am: Ditto (but maintainer-clean-local).
14969 2001-08-15 Akim Demaille <akim@epita.fr>
14971 * bin/autom4te.in (@m4_warning): New.
14972 (&handle_m4): Use it.
14973 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
14974 warnings are issued at each run.
14975 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
14976 is in the src tree.
14978 2001-08-15 Akim Demaille <akim@epita.fr>
14980 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
14981 don't waste time running `autoupdate --version' works.
14982 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
14984 2001-08-13 Akim Demaille <akim@epita.fr>
14986 * doc/autoconf.texi (ma): Rename this index as...
14989 2001-08-13 Akim Demaille <akim@epita.fr>
14991 * Makefile.am: Remove dead code and dead comments.
14992 (pdf, html): New targets.
14993 * doc/autoconf.texi (Using Autotest): New chapter.
14994 * doc/Makefile.am (pdf): New targets.
14995 (CLEANFILES): Adjust.
14997 2001-08-13 Akim Demaille <akim@epita.fr>
14999 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
15000 duration of the test suite.
15002 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
15004 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
15005 endianness for comparison instead of relying on AT_CHECK_ENV.
15007 2001-08-11 Paul Eggert <eggert@twinsun.com>
15009 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
15010 to the INSTALL file.
15012 2001-08-11 Paul Eggert <eggert@twinsun.com>
15014 * NEWS: The autoconf manual now is distributed under the terms
15015 of the GNU Free Documentation License.
15017 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
15018 Add an appendix "Copying This Manual" for the FDL.
15020 * doc/fdl.texi: New file, from
15021 <http://www.gnu.org/licenses/fdl.texi>.
15023 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
15025 2001-08-10 Paul Eggert <eggert@twinsun.com>
15027 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
15028 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
15029 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
15030 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
15031 m4/sanity.m4, tests/README, tests/aclocal.m4,
15032 tests/atspecific.m4, tests/base.at, tests/compile.at,
15033 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
15034 tests/semantics.at, tests/suite.at, tests/tools.at,
15035 tests/torture.at: Add copyright notice.
15037 * tests/mktests.sh: Update year in copyright notice.
15039 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
15041 * tests/semantics.at (AC_C_BIGENDIAN): New test.
15043 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
15045 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
15046 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
15047 * doc/autoconf.texi (C Compiler Characteristics): Update
15048 documentation for AC_C_BIGENDIAN.
15050 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
15052 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
15053 magic values from an object file when cross-compiling.
15054 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
15056 2001-08-10 Akim Demaille <akim@epita.fr>
15058 * bin/autom4te.in (&handle_output): Don't use `grep' with side
15060 Suggested by Russ Allbery.
15062 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
15064 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
15065 current $prefix to the sub-configures.
15067 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
15069 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
15070 extension (needed on BeOS). Reported by Guido van Rossum.
15072 2001-08-09 Akim Demaille <akim@epita.fr>
15074 * bin/autom4te.in ($icache): Load it only if older than autom4te.
15076 2001-08-07 Akim Demaille <akim@epita.fr>
15078 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
15080 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
15081 No need to remove the files before and after the each test, before
15082 each test and at the end of the suite is enough.
15083 Display only the children `times', not the shell's.
15084 If the test failed or was skipped, at-times is not available.
15086 2001-08-07 Akim Demaille <akim@epita.fr>
15088 Always produce testsuite.log, including when there are no
15089 failures. This helps getting information on skipped tests, and
15090 duration of the tests. Err, implement the latter btw.
15092 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
15093 Dump information on the first run of each test.
15094 (AT_CLEANUP): Create `at-times' containing the duration of the
15097 2001-08-07 Akim Demaille <akim@epita.fr>
15099 The use of `dumpstat' revealed that `len' was used although it
15100 should not. m4_text_wrap was using it, but in the Autoconf world
15101 where it is legal. Hence (i) test M4sh in its own world, not
15102 Autoconf's, and (ii), ahem, fix the bug :)
15104 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
15105 does not like `' instead of [].
15106 (AT_INIT): Forbid `^_?AT_'.
15107 And don't output such tokens.
15108 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
15109 `script.as', and `autom4te.cache'.
15110 Remove `empty' and `macro' which are no longer used.
15111 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
15112 * tests/m4sugar.at: Use it.
15113 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
15115 2001-08-07 Akim Demaille <akim@epita.fr>
15117 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
15119 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
15121 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
15123 2001-08-04 Akim Demaille <akim@epita.fr>
15125 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
15126 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
15128 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
15129 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
15130 (AC_F77_MAIN): Likewise.
15132 2001-08-04 Akim Demaille <akim@epita.fr>
15134 Don't rely on M4sugar outputting the patterns in files, since we
15135 might process the output _without_ running m4, hence without these
15138 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
15139 * bin/autom4te.in (@Request::includes): Remove, unused.
15140 (@Request::source): Rename as...
15141 (@Request::input): this.
15142 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
15143 (&handle_output): Fetch the patterns from the traces.
15144 `$forbidden' and `$allowed' are constant: use m//o.
15145 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
15146 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
15148 2001-08-04 Akim Demaille <akim@epita.fr>
15150 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
15151 autoconf', i.e., in addition to caching traces, cache the output.
15153 * bin/autom4te.in (Request::cache): Rename as...
15154 (Request::id): this.
15155 ($cache, $icache, $tcache, $ocache): New.
15156 (&handle_m4): Save M4 output in the cache instead of $tmp.
15157 (&handle_output): Adjust.
15158 (&up_to_date_p): Check that the output cache is up to date too.
15159 (top level): Run `&handle_m4' iff force or the cache is invalid.
15160 Run `&handle_output' if the output cache is more recent.
15162 2001-08-04 Akim Demaille <akim@epita.fr>
15164 * bin/autom4te.in ($force): New.
15165 (&parse_args, &print_usage): -f, --force is a new option.
15166 (&handle_output): CPP directives might have spaces after `#'.
15167 (&parse_args): The first file only can be frozen.
15169 2001-08-04 Akim Demaille <akim@epita.fr>
15171 Don't let autom4te compute the `include' traces several times:
15172 first check that the trace cache file is up to date, and then
15173 compare its timestamp with that of the output.
15175 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
15176 the preamble. Don't require 5.005 as Autom4te::General does it,
15177 and better yet (use `use', not `require'!).
15178 * lib/Autom4te/Struct.pm: Rename the last occurrences of
15179 Class::Struct as Autom4te::Struct.
15180 * lib/Autom4te/General.pm (File::stat): Use it.
15181 (&mtime): New, export it.
15182 * bin/autom4te.in: Use it.
15183 Declare `$req' is invalid if it is outdated.
15184 Don't declare it valid before saving it if something went wrong.
15186 2001-08-04 Akim Demaille <akim@epita.fr>
15188 Autom4te shall not encode Autoconf data, and preselecting traces
15189 must be proposed to the users.
15191 * bin/autom4te.in (@required_trace): Remove.
15193 (&parse_args, &print_usage): -p, --preselect is a new option.
15194 (&up_to_date_p): Adjust.
15195 * bin/autoconf.in: Preselect some Autoconf macros.
15197 2001-08-04 Akim Demaille <akim@epita.fr>
15199 * tests/tools.at (autoconf --trace: user macros): Check traces on
15200 macros invoked without arguments, and macros invoked with multiple
15203 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
15205 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
15208 2001-08-03 Akim Demaille <akim@epita.fr>
15210 * bin/autoconf.in ($@): Work around the usual sh bug.
15213 2001-08-03 Akim Demaille <akim@epita.fr>
15215 Clean up the handling of the M4 builtins tracing exception.
15217 * bin/autom4te.in (Request::request): Don't complete M4 builtins
15219 (@m4_builtins): Rename as...
15220 (@m4_builtin): this.
15221 (%m4_builtin_alternate_name): New.
15222 (&parse_args): Complete the trace requests with alternate names.
15223 (&handle_traces): Hence no longer do it here.
15224 (&trace_requests): Remove, unused.
15226 2001-08-03 Akim Demaille <akim@epita.fr>
15228 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
15229 m4_if, and m4_wrap.
15231 2001-08-03 Akim Demaille <akim@epita.fr>
15233 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
15234 (m4_divert_pop): Dump the whole diversion stack when a diversion
15236 * bin/autom4te.in (&handle_output): Remember of the first
15237 occurrence of a possibly undefined macro, not the last.
15238 Complain about the possibly undefined macros in the same order as
15239 the appear in the output.
15240 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
15241 * tests/tools.at (autoconf: forbidden tokens, basic)
15242 (autoconf: forbidden tokens, exceptions): No longer sort
15243 autoconf's stderr, as it is now deterministic.
15244 Check that `dnl' is caught.
15246 2001-08-01 Akim Demaille <akim@epita.fr>
15248 * configure.ac: Bump to 2.52c.
15250 2001-08-01 Akim Demaille <akim@epita.fr>
15254 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
15256 2001-08-01 Akim Demaille <akim@epita.fr>
15260 2001-08-01 Akim Demaille <akim@epita.fr>
15262 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
15265 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
15266 `END', as `Autom4te::General::END' will be triggered.
15267 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
15268 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
15269 system to run `mv', `rm', and `cmp'.
15271 2001-08-01 Akim Demaille <akim@epita.fr>
15273 * lib/Autom4te/General.pm (&unique): New.
15274 * bin/autoscan.in (&output): Use it to issue trace requests once.
15276 2001-08-01 Akim Demaille <akim@epita.fr>
15278 * lib/Autom4te/General.pm: New.
15279 * bin/autom4te.in (Autom4te::General): Use it.
15280 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
15281 (&find_configure_ac, &find_slave): Remove.
15282 * bin/autoscan.in: Likewise.
15283 * bin/autoupdate.in: Likewise.
15285 2001-08-01 Akim Demaille <akim@epita.fr>
15287 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
15288 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
15289 * bin: here, new directory.
15290 * lib/Autoconf: Rename as...
15291 * lib/Autom4te: this, to please case insensitive junkie OSes.
15293 2001-08-01 Akim Demaille <akim@epita.fr>
15295 * autom4te.in ($m4): Handle the --nesting-limit.
15296 * autoconf.in (M4): Remove.
15298 2001-08-01 Akim Demaille <akim@epita.fr>
15300 * autoconf.in ($AWK): Remove, no longer used.
15301 * test/tools.at: Use AT_CHECK_AUTOCONF.
15302 (AWK portability): Remove, for autoconf no longer uses AWK.
15303 (Syntax of the Perl scripts): New.
15304 * configure.ac: autoconf no longer needs an AWK with a good
15306 Use a static test on AC_PACKAGE_VERSION.
15307 * autom4te.in (&up_to_date_p): Output depends on the arguments.
15308 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
15309 * tests/atconfig.in (PERL): New.
15311 2001-08-01 Akim Demaille <akim@epita.fr>
15313 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
15314 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
15315 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
15316 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
15317 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
15318 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
15319 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
15320 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
15321 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
15322 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
15323 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
15324 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
15325 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
15326 * lib/autoconf/c.m4: here, new file.
15328 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
15329 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
15330 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
15331 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
15332 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
15333 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
15334 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
15335 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
15336 (AC_F77_FUNC): Move to...
15337 * lib/autoconf/fortran.m4: here, new file.
15339 2001-08-01 Akim Demaille <akim@epita.fr>
15341 * acfunctions.m4: Rename as...
15342 * lib/autoconf/functions.m4: this.
15343 * acgeneral.m4: Rename as...
15344 * lib/autoconf/general.m4: this.
15345 * acheaders.m4: Rename as...
15346 * lib/autoconf/headers.m4: this.
15347 * aclang.m4: Rename as...
15348 * lib/autoconf/lang.m4: this.
15349 * acoldnames.m4: Rename as...
15350 * lib/autoconf/oldnames.m4: this.
15351 * acspecific.m4: Rename as...
15352 * lib/autoconf/specific.m4: this.
15353 * actypes.m4: Rename as...
15354 * lib/autoconf/types.m4: this.
15355 * autoconf.m4: Rename as...
15356 * lib/autoconf/autoconf.m4: this.
15358 * m4sugar.m4: Rename as...
15359 * lib/m4sugar/m4sugar.m4: this.
15360 * m4sh.m4: Rename as...
15361 * lib/m4sugar/m4sh.m4: this.
15363 * tests/atgeneral.m4: Rename as...
15364 * lib/autotest/general.m4: this.
15366 * acfunctions: Rename as...
15367 * lib/autoscan/functions: this.
15368 * acheaders: Rename as...
15369 * lib/autoscan/headers: this.
15370 * acidentifiers: Rename as...
15371 * lib/autoscan/identifiers: this.
15372 * aclibraries: Rename as...
15373 * lib/autoscan/libraries: this.
15374 * acmakevars: Rename as...
15375 * lib/autoscan/makevars: this.
15376 * acprograms: Rename as...
15377 * lib/autoscan/programs: this.
15379 2001-08-01 Akim Demaille <akim@epita.fr>
15381 * doc/autoconf.texi: Moving/deleting open files is not portable.
15382 Portability issues for `.' (source), and more information about sed.
15384 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
15386 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
15387 which has a special meaning and is not a reference to libibmil.a.
15388 Reported by Matteo Frigo.
15390 2001-07-25 Pavel Roskin <proski@gnu.org>
15392 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
15395 2001-07-25 Akim Demaille <akim@epita.fr>
15397 * autoconf.in: Try to define the variables before using them.
15398 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
15399 instead of `$perllibdir'.
15400 * tests/atconfig.in ($autom4te_perllibdir): Export it.
15402 2001-07-25 Akim Demaille <akim@epita.fr>
15404 * autoconf.in (ac_LF_and_DOT): Remove, unused.
15406 2001-07-24 Akim Demaille <akim@epita.fr>
15408 Let autoconf use autom4te for traces.
15410 * autoconf.in ($task, task trace): Remove, merely pass --trace to
15412 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
15413 (Because I found no way for autom4te to accept `-').
15414 * autom4te.in (&Request::request): Beware of M4 builtins.
15415 (END): Don't try to remove the content of an empty dir.
15416 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
15417 (&handle_output): Set a default value to `$forbidden'.
15418 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
15419 ($autoconf): Pass --debug and --verbose.
15420 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
15423 2001-07-24 Akim Demaille <akim@epita.fr>
15425 Let autoconf use autom4te to create configure.
15427 * autoconf.in ($automate): New var.
15428 (task script): Use autom4te.
15429 * autom4te.in (File::Spec): Use it.
15431 (&parse_args): --warning is -W, not -w.
15432 Find the top level files.
15433 (&handle_m4): Pass the warnings flags.
15434 Don't report verbosely m4's failures, unless requested.
15435 (&handle_output): Don't complain for forbidden tokens in comments.
15436 Be sure to report all the forbidden tokens within a single line.
15437 (&trace_format_to_m4): Preserve `$_'.
15438 (&handle_traces): Sort the output macros.
15439 (&up_to_date_p): Find the files before trying to get its time stamp.
15441 2001-07-24 Akim Demaille <akim@epita.fr>
15443 * Makefile.am: Ship, build and install Autom4te.
15444 (SUBDIRS): Add lib.
15445 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
15446 * configure.in: Require Perl.
15447 * man/autom4te.in: New.
15449 2001-07-19 Paul Eggert <eggert@twinsun.com>
15451 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
15452 example, rather than (exit 1); exit (which isn't portable).
15454 2001-07-18 Akim Demaille <akim@epita.fr>
15458 2001-07-18 Akim Demaille <akim@epita.fr>
15460 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
15461 was run, while they are needed also when it is expanded.
15462 Reported by Nicolas Joly.
15464 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
15465 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
15466 AC_F77_DUMMY_MAIN being expanded.
15468 2001-07-18 Akim Demaille <akim@epita.fr>
15470 * configure.in: Bump to 2.51a.
15472 2001-07-17 Akim Demaille <akim@epita.fr>
15476 2001-07-17 Akim Demaille <akim@epita.fr>
15478 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
15479 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
15481 2001-07-17 Akim Demaille <akim@epita.fr>
15483 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
15484 used. Well, then use the prototypes when you can, and runtime as
15486 Reported by Artur Frysiak
15488 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
15489 (AC_FUNC_GETPGRP): Use it.
15490 First try to compile with 0-ary or 1-ary calls.
15492 2001-07-17 Akim Demaille <akim@epita.fr>
15494 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
15498 2001-07-17 Akim Demaille <akim@epita.fr>
15500 * Makefile.maint: Sync. with cppi 1.10.
15502 2001-07-17 Akim Demaille <akim@epita.fr>
15504 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
15505 AC_F77_DUMMY_MAIN has been run.
15506 From Pavel Roskin and Steven G. Johnson.
15508 2001-07-17 Akim Demaille <akim@epita.fr>
15510 * configure.in: Rename as...
15511 * configure.ac: this.
15513 2001-07-17 Akim Demaille <akim@epita.fr>
15515 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
15518 * Makefile.maint (release-archive-dir): Rename as...
15519 (release_archive_dir): this, so that it can be specialized in
15522 2001-07-14 Akim Demaille <akim@epita.fr>
15524 * configure.in: Bump to 2.50d.
15526 2001-07-14 Akim Demaille <akim@epita.fr>
15529 * Makefile.maint (alpha): Typo.
15531 2001-07-14 Akim Demaille <akim@epita.fr>
15533 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
15535 2001-07-14 Akim Demaille <akim@epita.fr>
15537 * config/config.guess, config/config.sub, config/texinfo.tex
15538 * doc/standards.texi, doc/make-stds.texi: Update.
15540 2001-07-14 Akim Demaille <akim@epita.fr>
15542 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
15544 2001-07-14 Akim Demaille <akim@epita.fr>
15546 * Makefile.maint (maintainer-check): Rename as...
15547 (maintainer-distcheck): this.
15548 (changelog-check, static-check): New.
15551 2001-07-14 Kevin Ryde <user42@zip.com.au>
15553 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
15554 for CXX is g++, not gcc.
15556 2001-07-14 Akim Demaille <akim@epita.fr>
15558 * doc/autoconf.texi (Files): New subsection.
15560 2001-07-14 Akim Demaille <akim@epita.fr>
15562 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
15564 (Generic Compiler Characteristics): this.
15565 (C++ Compiler): New subsection.
15567 2001-07-14 Akim Demaille <akim@epita.fr>
15569 * autoscan.in: Use IO::File.
15570 Adjust all the routines to use it.
15571 ($log): New file (autoscan.log).
15572 (output): Dump detailed logs into $log, and a shortened version to
15574 (&scan_makefile): Refine the regexp catching tokens in the code.
15575 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
15576 and the `configure.ac' checking feature.
15578 2001-07-12 Akim Demaille <akim@epita.fr>
15580 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
15581 Reported by Michael Elizabeth Chastain.
15583 * autoconf.in: Refuse such AWK.
15584 * configure.in: Likewise.
15585 * Makefile.am (acversion.m4): Do not use move-if-change this file
15587 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
15589 2001-07-10 Jens Petersen <petersen@redhat.com>
15591 * autoscan.in (&scan_makefile): Improve programs regexp to parse
15592 things like "g++", "file.c" and "some-conf" as tokens.
15593 (&scan_file): Match C++ files extensions.
15594 If the filename extension is C++ then ask for c++.
15596 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
15598 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
15599 AC_TRY_LINK_FUNC, to check whether defining a dummy
15600 main-like routine is needed for linking with F77 libs.
15602 2001-07-05 Pavel Roskin <proski@gnu.org>
15604 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
15606 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
15609 2001-07-05 Akim Demaille <akim@epita.fr>
15611 * Makefile.am (move_if_change): New. Use it instead of `mv'.
15612 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
15614 Reported by Nicolas Joly.
15616 2001-07-04 Akim Demaille <akim@epita.fr>
15618 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
15620 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
15621 warnings from compilers.
15622 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
15623 for all the compilers, not only GNU. Hence move from here...
15624 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
15626 2001-07-04 Akim Demaille <akim@epita.fr>
15628 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
15629 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
15632 2001-07-04 Akim Demaille <akim@epita.fr>
15634 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
15635 the ``strings.h'' change claimed below.
15637 2001-07-04 Akim Demaille <akim@epita.fr>
15639 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
15641 2001-07-04 Akim Demaille <akim@epita.fr>
15643 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
15644 strings.h if usable with string.h.
15645 Suggested by Paul Eggert.
15647 2001-07-04 Akim Demaille <akim@epita.fr>
15649 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
15650 From Jens Petersen.
15652 2001-07-03 Akim Demaille <akim@epita.fr>
15654 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
15657 2001-07-03 Akim Demaille <akim@epita.fr>
15659 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
15660 compiler, not the preprocessor.
15661 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
15662 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
15664 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
15665 earlier if there are.
15667 2001-07-03 Akim Demaille <akim@epita.fr>
15669 * autoscan.in ($initfile): Remove.
15670 (&find_file): Rename as...
15671 (&scan_file): this.
15672 Immediately scan the current file, instead of gathering them, and
15673 later having them handled by &scan_files.
15674 (&scan_files): Merely invoke Find::File.
15677 2001-07-02 Akim Demaille <akim@epita.fr>
15679 * autoscan.in: Formatting changes, matching the invocation order.
15680 (File::Find): Use it instead of Perl 4's `find.pl'.
15681 (&wanted): Rename as...
15682 (&find_file): this.
15684 2001-07-01 Pavel Roskin <proski@gnu.org>
15686 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
15687 break in the argument to AC_TRY_LINK_FUNC.
15688 (AC_F77_MAIN): Remove conftest* after using break in the
15689 argument to AC_TRY_LINK.
15691 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
15693 Add alternate 'main' routine detection for linking C/C++ with Fortran,
15694 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
15696 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
15697 dummy alternate main is required even if the user provides her own
15699 (AC_F77_MAIN): New macro to detect whether it is possible to
15700 provide an alternate 'main' function name, using the 'main' from
15701 the Fortran libraries.
15702 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
15703 cross-language link tests can be performed successfully.
15704 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
15705 after $LIBS, for consistency; this should be the general rule since
15706 the user may want to link to Fortran libraries that require $FLIBS.
15707 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
15709 2001-06-29 Pavel Roskin <proski@gnu.org>
15711 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
15712 at-stdout and at-stderr instead of removing the newline
15713 from the echo output, which is not guaranteed to work.
15715 2001-06-28 Jens Petersen <petersen@redhat.com>
15717 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
15718 confdefs.h when non-zero.
15720 2001-06-28 Akim Demaille <akim@epita.fr>
15722 * configure.in: Bump to 2.50c.
15724 2001-06-26 Akim Demaille <akim@epita.fr>
15728 2001-06-26 Akim Demaille <akim@epita.fr>
15732 2001-06-25 Pavel Roskin <proski@gnu.org>
15734 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
15735 argument, AUTOCONF-FLAGS.
15736 * tests/mktests.sh (update_exclude_list): Add
15737 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
15738 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
15739 AC_FUNC_WAIT3 with "-W no-obsolete".
15741 2001-06-25 Akim Demaille <akim@epita.fr>
15743 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
15745 2001-06-25 Akim Demaille <akim@epita.fr>
15747 * autoscan.in (%macro): Now maps from word to list of macros.
15748 (&init_tables): Die when a word which is already handled by
15749 explicit macros is mapped to the default macro.
15750 (&print_unique): Remove, inlined in...
15751 (&output_kind): here.
15752 (File::Basename): Use it.
15753 (&output): Sort the CONFIG_FILES.
15754 * acheaders: Normalize.
15755 * acfunctions: Likewise.
15757 2001-06-25 Akim Demaille <akim@epita.fr>
15759 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
15760 characteristics in the logs.
15761 Suggested by Mo DeJong.
15763 2001-06-24 Akim Demaille <akim@epita.fr>
15765 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
15766 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
15767 * doc/autoconf.texi (Autoconf 2.13): New section.
15769 2001-06-24 Akim Demaille <akim@epita.fr>
15771 * autoconf.in (Task traces): Separate the error messages from the
15772 traces to improve robustness.
15774 2001-06-23 Akim Demaille <akim@epita.fr>
15776 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
15777 three as failures are unlikely, and speed matters.
15779 2001-06-23 Akim Demaille <akim@epita.fr>
15781 * doc/autoconf.texi (Redefined M4 Macros): New.
15783 2001-06-23 Akim Demaille <akim@epita.fr>
15785 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
15786 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
15789 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
15791 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
15792 config.status targets to after the evaluation of the INIT-CMDS.
15793 Double quote config.status targets (used to be single quoted).
15795 2001-06-23 Akim Demaille <akim@epita.fr>
15797 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
15798 Check the content of the created file.
15799 Check the ./config.status command line invocation.
15801 2001-06-23 Akim Demaille <akim@epita.fr>
15803 * tests/foreign.at (Libtool): Reject prehistoric versions.
15805 2001-06-23 Akim Demaille <akim@epita.fr>
15807 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
15808 preexisting files matching a.*.
15810 2001-06-23 Akim Demaille <akim@epita.fr>
15812 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
15814 * doc/autoconf.texi (AC_ARG_VAR): Update.
15816 2001-06-21 Akim Demaille <akim@epita.fr>
15818 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
15819 precious variables have changed.
15820 * tests/torture.at (AC_ARG_VAR): Adjust.
15822 2001-06-21 Akim Demaille <akim@epita.fr>
15824 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
15825 but some sed choke on multiple `;', and other tools (e.g.,
15826 Automake), include the separator themselves.
15828 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
15830 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
15832 * doc/autoconf.texi (Functions Portability): Rename as...
15833 (Function Portability): this.
15834 (Function Portability): Document potential problems with unlink().
15836 2001-06-19 Paul Eggert <eggert@twinsun.com>
15838 * NEWS, doc/autoconf.texi: Document quadrigraphs.
15840 2001-06-18 Akim Demaille <akim@epita.fr>
15842 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
15844 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
15846 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
15847 (_AC_FUNC_VFORK): this.
15848 Remove AC_DEFINEs and don't guess cross-compilation values.
15849 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
15850 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
15851 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
15852 vfork doesn't work.
15853 Guess values if cross-compiling, but warn.
15854 * acfunctions: Add AC_FUNC_FORK.
15855 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
15856 and vfork appropriately.
15858 2001-06-18 Akim Demaille <akim@epita.fr>
15860 * doc/autoconf.texi (Functions Portability): New section.
15862 2001-06-18 Akim Demaille <akim@epita.fr>
15864 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
15866 Suggested by Andreas Schwab.
15868 2001-06-18 Akim Demaille <akim@epita.fr>
15870 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
15871 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
15872 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
15873 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
15874 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
15875 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
15876 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
15879 2001-06-18 Akim Demaille <akim@epita.fr>
15881 * doc/autoconf.texi (ms): New index.
15882 (Macro Index): Rename as...
15883 (Autoconf Macro Index): this.
15884 (M4 Macro Index): New appendix.
15885 (Programming in M4): New chapter.
15886 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
15887 (Quoting): Rename as...
15888 (M$ Quotation): this.
15889 Be part of `Programming in M4).
15891 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
15893 * tests/torture.at (AC_ARG_VAR): Set variables and export them
15894 in separate statements for compatibility with Tru64 v5.1.
15896 2001-06-17 Akim Demaille <akim@epita.fr>
15898 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
15899 current values of the precious variables, not the previously
15901 Pass precious variables which are set to config.status.
15902 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
15903 * tests/torture.at (AC_ARG_VAR): New.
15905 2001-06-15 Paul Eggert <eggert@twinsun.com>
15907 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
15908 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
15909 and explain why and how to replace them.
15910 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
15911 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
15913 2001-06-15 Akim Demaille <akim@epita.fr>
15915 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
15916 Reported by Bruno Haible.
15918 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
15919 (_AC_ARG_VAR_PRECIOUS): to here.
15921 2001-06-15 Pavel Roskin <proski@gnu.org>
15923 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
15924 an unused pointer use cast to this type and `if' statement to
15925 avoid warnings from the compiler.
15926 (AC_HEADER_TIME): Likewise.
15927 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
15928 in `if' statement to avoid warnings from the compiler. Declare
15929 ac_aggr static to avoid the need to initialize it.
15931 2001-06-14 Akim Demaille <akim@epita.fr>
15933 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
15936 2001-06-13 Akim Demaille <akim@epita.fr>
15938 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
15939 Suggested by Alexander Mai.
15941 2001-06-13 Akim Demaille <akim@epita.fr>
15943 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
15944 sys/types.h and sys/stat.h, and check for them.
15946 2001-06-13 Akim Demaille <akim@epita.fr>
15948 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
15951 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
15953 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
15954 succeeds and only try adding libdnet upon a failure.
15956 2001-06-12 Akim Demaille <akim@epita.fr>
15958 * autoscan.in (&output_kind): Output the comment only if it exists.
15959 (%kind_comment): Add entry for `programs'.
15960 (&output_programs): Use &output_kind.
15961 (&output_functions, &output_identifiers, &output_headers)
15962 (&output_programs): Inline, and remove.
15964 2001-06-12 Akim Demaille <akim@epita.fr>
15966 * autoscan.in (%kind_comment): New.
15967 (output_kind): New.
15968 (output_functions, output_identifiers, output_headers): Use it.
15970 2001-06-12 Akim Demaille <akim@epita.fr>
15972 * autoscan.in (&print_unique): Take `$kind' and `$word' as
15973 arguments, to factor indirections into `%macro' and `%used'.
15974 (%generic_macro): Fix a typo.
15976 2001-06-12 Akim Demaille <akim@epita.fr>
15978 * aclibraries: New.
15979 * autoscan.in (@kinds): Add `libraries'.
15980 Use `@kinds' instead of hard coded lists.
15981 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
15982 Remove, replaced by...
15985 2001-06-12 Akim Demaille <akim@epita.fr>
15987 * autoscan.in (%functions_macros %headers_macros)
15988 (%identifiers_macros %programs_macros %makevars_macros): Remove,
15992 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
15994 * aclang.m4 (AC_NO_EXECUTABLES): Override
15995 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
15997 2001-06-11 Akim Demaille <akim@epita.fr>
15999 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
16001 Reported by Andreas Schwab.
16003 2001-06-11 Akim Demaille <akim@epita.fr>
16005 * Makefile.am, Makefile.maint: Typos.
16007 2001-06-09 Akim Demaille <akim@epita.fr>
16009 * doc/autoconf.texi (Here-Documents): New section, gathering
16010 documentation about here-documents.
16011 Use `href', not `uref', and other changes.
16013 2001-06-09 Akim Demaille <akim@epita.fr>
16015 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
16018 2001-06-09 Akim Demaille <akim@epita.fr>
16020 * doc/autoconf.texi (Limitations of Builtins): Complete the
16021 description of the here-docs penalties with Alexandre Oliva's
16024 2001-06-01 Paul Eggert <eggert@twinsun.com>
16026 * doc/autoconf.texi: Talk about here documents and speedups.
16027 Do not use "echo" on arbitrary strings.
16028 Spell "here-documents" consistently with the standard.
16030 2001-06-09 Akim Demaille <akim@epita.fr>
16032 * doc/autoconf.texi (Concept Index): Introduce it.
16033 Regenerate the menus.
16035 2001-06-09 Akim Demaille <akim@epita.fr>
16037 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
16038 * config/prev-version.txt: New.
16039 * config/move-if-change: New, for GNU libc.
16041 2001-06-06 Pavel Roskin <proski@gnu.org>
16043 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
16045 2001-06-06 Akim Demaille <akim@epita.fr>
16047 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
16048 properly when $1 is not a literal.
16049 Fixes PR Autoconf/187, reported by Bram Moolenaar.
16051 2001-06-06 Akim Demaille <akim@epita.fr>
16053 Invoking AC_COPYRIGHT before AC_INIT fails.
16055 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
16056 * acgeneral.m4 (_m4_divert(VERSION_FSF))
16057 (_m4_divert(VERSION_USER)): New.
16058 (AC_COPYRIGHT): $2 is the diversion to use.
16059 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
16060 (AC_INIT): Remove dead comments as now it's commutative.
16062 2001-06-06 Akim Demaille <akim@epita.fr>
16064 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
16067 2001-06-05 Akim Demaille <akim@epita.fr>
16069 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
16071 `*dir' variables cannot be NONE.
16072 Reported by Mark Kettenis.
16074 2001-06-05 Paul Eggert <eggert@twinsun.com>
16076 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
16078 2001-06-04 Akim Demaille <akim@epita.fr>
16080 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
16081 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
16082 (AC_TR_SH): Move as...
16083 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
16084 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
16086 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
16087 (_AS_TR_SH_PREPARE): New.
16088 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
16089 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
16091 2001-06-02 Akim Demaille <akim@epita.fr>
16093 * Makefile.am (.m4.m4f): Pass the options first.
16094 Fixes PR autoconf/182.
16096 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
16098 GNU getopt, when POSIXLY_CORRECT does not permute options and
16099 arguments. So pass the options first.
16100 Fixes PR autoconf/184.
16102 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
16103 (run_m4): Remove files.
16105 Update remainder of script to use them.
16106 (for warning in): Do not use a literal comma as it will not be
16109 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
16111 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
16112 Fortran compilers to check.
16113 (_AC_PROG_F77_V): Add '-###' as a possible option to print
16114 information on library and object files.
16115 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
16118 2001-06-02 Akim Demaille <akim@epita.fr>
16120 * autom4te.in (Request::@request): Declare with `vars', not `my',
16121 as it prevents updates via `do FILENAME'.
16123 2001-06-02 Akim Demaille <akim@epita.fr>
16125 * configure.in (standards_texi): Remove, dead code.
16127 2001-06-02 Akim Demaille <akim@epita.fr>
16129 * autom4te.in: New.
16131 2001-06-02 Pavel Roskin <proski@gnu.org>
16133 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
16134 for signals other than 0 - exit with code 1.
16135 * m4sh.m4 (AS_TMPDIR): Likewise.
16136 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
16137 * autoheader.in: Likewise.
16138 * autoreconf.in: Likewise.
16139 * tests/torture.at (Signal handling): New test for the above.
16141 2001-06-01 Akim Demaille <akim@epita.fr>
16143 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
16146 2001-05-31 Akim Demaille <akim@epita.fr>
16148 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
16149 Add copyright and comments.
16150 * acheaders: Add stdint.h.
16151 Suggested by Paul Eggert.
16153 2001-05-31 Akim Demaille <akim@epita.fr>
16155 * atgeneral.m4 (AT_INIT): Use $SHELL.
16156 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
16158 2001-05-31 Akim Demaille <akim@epita.fr>
16160 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
16162 From Paul Eggert and Lars Hecking.
16164 2001-05-31 Akim Demaille <akim@epita.fr>
16166 * tests/base.at: Adjust line numbers in error messages.
16168 2001-05-31 Akim Demaille <akim@epita.fr>
16170 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
16171 to emit the bangshe line.
16172 Reported by David Carter.
16174 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
16176 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
16177 Fortran (95) compilers to check.
16179 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
16181 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
16184 2001-05-23 Pavel Roskin <proski@gnu.org>
16186 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
16187 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
16188 (AC_PROG_CXXCPP): Likewise.
16190 2001-05-22 Akim Demaille <akim@epita.fr>
16192 * config: New directory.
16193 * configure.in: AC_CONFIG_AUX_DIR it.
16194 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
16196 2001-05-22 Akim Demaille <akim@epita.fr>
16198 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
16199 * autoupdate.in: Specify the Emacs mode.
16200 * acversion.m4.in: Rename as...
16201 * acversion.m4: this.
16202 * tests/Makefile.am (CLEANFILES): More garbage.
16204 2001-05-22 Akim Demaille <akim@epita.fr>
16206 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
16208 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
16211 2001-05-21 Akim Demaille <akim@epita.fr>
16213 * configure.in: Bump to 2.50a.
16218 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
16219 Software Foundation, Inc.
16221 Copying and distribution of this file, with or without
16222 modification, are permitted provided the copyright notice and this
16223 notice are preserved.