1 2007-11-03 Benoit Sigoure <tsuna@lrde.epita.fr>
3 Adjust the documentation of autotest WRT atlocal.
4 * doc/autoconf.texi (Making testsuite Scripts): It is not necessary,
5 when using Automake, to write a rule to produce atlocal, since it's
6 an AC_CONFIG_FILES. Mention that atlocal.in needs to be
7 distributed, not atconfig.in.
9 2007-11-04 Eric Blake <ebb9@byu.net>
11 Update list information.
12 * README: Mention new autoconf-commit list.
13 * doc/autoconf.texi (Introduction): Mention autoconf-commit list.
15 2007-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Fix comment typo.
19 * lib/m4sugar/Makefile.am (version.m4): Another bash bug workaround.
21 * build-aux/.gitignore: Ignore mkinstalldirs.
23 * doc/autoconf.texi (autoreconf Invocation): Fix an underfull line.
25 2007-11-03 Jim Meyering <meyering@redhat.com>
27 s/-/./ in snapshot version string: 2.61a-256-8b556 -> 2.61a.256-8b556
28 * build-aux/git-version-gen: This syncs from coreutils.
30 Adjust the build procedure so "make check" works reliably.
31 * README-hacking: Include an extra step between "make" and
32 "make check" to ensure that the latter passes.
34 Use just-built tools, when possible.
35 * GNUmakefile (PATH): Set and export here, ...
36 (dummy): ... rather than here.
38 2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
39 and Andreas Schwab <schwab@suse.de>
41 * tests/Makefile.am ($(srcdir)/package.m4): Work around bash
44 2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
46 * configure.ac (AC_PREREQ): Require version 2.60, for
47 AC_PROG_SED, AC_PROG_GREP.
49 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
50 and Jim Meyering <meyering@redhat.com>
51 and Andreas Schwab <schwab@suse.de>
52 and Eric Blake <ebb9@byu.net>
54 Document a bug in GNU Bash with compound commands and redirections.
55 * doc/autoconf.texi (Limitations of Builtins): Mention that GNU
56 Bash doesn't properly set $? when `{ ... } >/bad' fails, and give
59 2007-11-03 Eric Blake <ebb9@byu.net>
61 Support m4 1.4.5 in testsuite.
62 * tests/torture.at (Define a newline): Exclude line numbers in
64 Reported by Ralf Wildenhues.
66 2007-11-03 Jim Meyering <meyering@redhat.com>
68 Remove automake-provided files from version control.
69 * build-aux/elisp-comp: Remove file.
70 * build-aux/install-sh: Remove file.
71 * build-aux/missing: Remove file.
72 * build-aux/mdate-sh: Remove file.
73 * build-aux/.gitignore: New file.
74 Suggestion from Ralf Wildenhues.
76 2007-11-03 Eric Blake <ebb9@byu.net>
78 Adjust version comparison to account for git snapshot numbers.
79 * lib/m4sugar/m4sugar.m4 (_m4_version_unletter): Also treat - as a
81 * doc/autoconf.texi (Number processing Macros)
82 <m4_version_compare>: Document this change.
83 * tests/m4sugar.at (m4@&t@_version_compare): Test it.
85 2007-10-30 Bruno Haible <bruno@clisp.org>
87 * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro,
88 extracted from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT.
89 (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT): Use it.
90 Fixes problem with Sun C 5.[0-8] in 32-bit mode, reported in
91 <http://lists.gnu.org/archive/html/autoconf-patches/2007-10/msg00210.html>
92 Suggested by Paul Eggert.
94 2007-10-28 Jim Meyering <meyering@redhat.com>
96 * README-hacking: Autoconf, Automake, and Perl are required to build.
97 List Gzip and Tar separately. Suggested by Ralf Wildenhues.
99 2007-10-28 Jim Meyering <meyering@redhat.com>
101 README-hacking: Recommend running autoreconf -vi.
102 * GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
103 so that we use just-built tools when they're available.
104 Suggestions from Ralf Wildenhues.
106 2007-10-28 Jim Meyering <meyering@redhat.com>
108 Make inter-release --version output more useful.
110 Now, each unofficial build has a version "number" like 2.61a-19-58dd,
111 which indicates that it is built using the 19th change set
112 (in _some_ repository) following the "v2.61a" tag, and that 58dd
113 is a prefix of the commit SHA1.
114 * build-aux/git-version-gen: New file.
115 * configure.ac: Run it to set the version.
116 (AM_INIT_AUTOMAKE): Don't check NEWS here.
117 * Makefile.am (dist-hook): Arrange so that .version appears only
118 in distribution tarballs, never in a checked-out repository.
119 * .gitignore: Add .version here, too. Just in case.
120 * tests/Makefile.am ($(srcdir)/package.m4): Depend on Makefile,
121 not configure.ac, now that the version number changes automatically.
123 Ensure that $(VERSION) is up to date for dist-related targets.
124 * GNUmakefile: Arrange to rerun autoconf, if the version reported by
125 git-version-gen doesn't match $(VERSION), but only for dist targets.
127 2007-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
129 Fix `Deep Package' failure with a configure script early in PATH
130 * tests/torture.at (Deep Package): Add `.' early in PATH.
131 Report by Jim Meyering.
133 2007-10-27 Jim Meyering <meyering@redhat.com>
135 Remove all generated files from version control.
136 * aclocal.m4: Remove.
138 * Makefile.in: Remove, along with all other Makefile.in in subdirs.
139 * .gitignore: Add aclocal.m4, configure and Makefile.in. Sort.
140 * README-hacking: New file: how to build from just-checked-out sources.
142 2007-10-23 Eric Blake <ebb9@byu.net>
144 Improve corner case of m4_expand.
145 * lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Rewrite more
147 * tests/m4sh.at (AS@&t@_HELP_STRING): Test overquoted comma.
148 * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Update
151 2007-10-23 Paul Eggert <eggert@cs.ucla.edu>
153 * doc/make-stds.texi: Update from gnulib.
155 2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
156 and Eric Blake <ebb9@byu.net>
158 * lib/autoconf/c.m4 (AC_C_RESTRICT): Work around Sun C++ compatibility
159 problem reported by Bruno Haible in
160 <http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00027.html>.
162 2007-10-22 Eric Blake <ebb9@byu.net>
164 * doc/autoconf.texi (Particular Types): Mention bug in HP-UX 11.00
167 2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
169 Don't check for bug in HP-UX 11.00 cpp.
170 * lib/autoconf/types.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
171 Use -1ull rather than -1u, since that causes problems with gnulib; see
172 <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
174 2007-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
176 * tests/autotest.at (Backquote command substitution)
177 (Multiline backquote command substitution)
178 (Parenthetical command substitution)
179 (Multiline parenthetical command substitution): Fix typos in
182 2007-10-21 Eric Blake <ebb9@byu.net>
184 * configure: Regenerate.
186 2007-10-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
188 Fix config status generation with Tru64 ksh.
189 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
190 escaping of backslash in here-documents.
192 Fix `Deep Package' test failure on FreeBSD.
193 * tests/torture.at (Deep Package): Do not add `.' to $PATH
194 unnecessarily. Do not try running `/bin/sh configure' with a
195 configure script to be found in $PATH, if the shell does not do
196 this resolution. Fixes test failure on FreeBSD.
198 Fix config header generation with AIX awk.
199 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): In awk
200 script, use helper array D_is_set, as `" 0"' does not evaluate
203 2007-10-21 Eric Blake <ebb9@byu.net>
205 * tests/autotest.at (Banners): Reinstate test, with typo
208 2007-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
210 * lib/autotest/general.m4 (Defaults): Validate input ranges ...
211 <at_func_validate_ranges>: ... using this new function.
212 * tests/autotest.at (Keywords and ranges): Test invalid ranges.
213 Test --list with ranges and keywords.
214 (Banners): Remove one now-failing test.
216 2007-10-20 Eric Blake <ebb9@byu.net>
218 Fix testsuite --list subset.
219 * lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
220 back to spaces, before listing subset of tests.
221 Reported by Ralf Wildenhues.
223 2007-10-19 Eric Blake <ebb9@byu.net>
225 s/parenthesis/parentheses/ where appropriate.
226 * doc/autoconf.texi: Fix typos.
227 * lib/m4sugar/m4sugar.m4: Likewise.
228 Reported by Ralf Wildenhues.
230 Document m4_expand limitation.
231 * lib/m4sugar/m4sugar.m4 (m4_expand): Mention problem with
233 * doc/autoconf.texi (Pretty Help Strings, Evaluation Macros)
234 (Writing Testsuites): Mention limitations inherited from
237 Improve AT_BANNER handling.
238 * lib/autotest/general.m4 (BANNERS): New named diversion.
239 (TESTS_END): Diversion no longer used.
240 (AT_INIT) <at_func_banner, BANNERS>: Factor all banners into a
241 shell function, which prints only as needed, using an associative
242 array of banner text from a special diversion.
243 <PARSE_ARGS_END>: No longer need awk to find banners.
244 <TESTS>: Banners are no longer processed by main driver loop, so
245 we no longer need case statement.
246 (AT_BANNER): Rewrite to populate new diversion.
247 (AT_SETUP): Each test invokes its own banner. No output is needed
248 to the TESTS diversion.
249 * doc/autoconf.texi (Writing Testsuites): Document slight
251 * tests/autotest.at (AT_BANNERS): Enhance test.
252 * NEWS: Document AT_BANNER.
254 Document and test AT_BANNER.
255 * doc/autoconf.texi (Writing Testsuites): Document AT_BANNER.
256 * tests/autotest.at (AT_CHECK_EGREP): Share between tests.
257 (AT_CHECK_BANNERS): New test.
260 * doc/autoconf.texi (Text processing Macros) <m4_strip>
261 <m4_text_wrap>: Clarify and fix typos.
263 2007-10-18 Eric Blake <ebb9@byu.net>
265 Ignore `make dist' changelogs in testsuite.log.
266 * lib/autotest/general.m4 (AT_INIT) <ChangeLogs>: Prune
267 directories matching AT_PACKAGE_TARNAME-*.
269 Fix AT_TESTED, AT_KEYWORDS.
270 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Warn if separator
271 occurs in string, as duplicates may be added.
272 (_m4_append_uniq): New helper macro.
273 (m4_append_uniq_w): New macro.
274 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Fix
275 duplication bug by using new macro.
276 (AT_INIT) <at_tested>: Restore newline separators. Invoke tested
277 programs with stdin redirected, so programs that don't
278 understand --version won't try to behave interactively.
279 * tests/autotest.at (Tested programs): Catch this bug.
280 * tests/m4sugar.at (m4@&t@_append): Test new macro.
281 * tests/local.at (AT_TESTED): Add m4, perl.
282 * doc/autoconf.texi (Text processing Macros): Document
283 m4_append_uniq_w, and update text on m4_append.
284 * NEWS: Document the addition.
286 2007-10-17 Eric Blake <ebb9@byu.net>
289 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Convert
291 (AT_INIT) <at_func_create_debugging_script>: ...to shell
293 (AT_INIT): Defer function declarations until after --help,
294 --version. Format functions consistently, trying to fit in 80
296 (TEST_FUNCTIONS): Based on recent changes, rename...
297 (TEST_GROUPS): ...to this.
300 * m4/m4.m4 (AC_PROG_GNU_M4): Also check for frozen file support.
301 * configure: Regenerate.
302 Reported by Bob Friesenhahn.
304 Test recent additions.
305 * tests/m4sugar.at (m4@&t@_map, m4@&t@_combine)
306 (m4@&t_max and m4@&t_min): New tests.
307 * doc/autoconf.texi (Evaluation Macros) <m4_apply>: Enhance
310 2007-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
312 * TODO: multiline args in config files and headers work now.
314 Autotest: do not use shell functions for individual tests.
315 * lib/autotest/general.m4 (AT_INIT) <at_func_test>: Merely
316 extract the source test source, do not invoke it.
317 (AT_SETUP, AT_CLEANUP): Source test code outside shell function.
318 * tests/autotest.at (Fallacy): Actually let the inner suite fail,
319 expect exit status of 1.
320 * tests/autotest.at (Skip): New test, for bogus zsh exit status.
322 * lib/autotest/general.m4 (at_func_test): Fix test extraction
325 2007-10-17 Eric Blake <ebb9@byu.net>
327 Fix m4_combine for empty suffix list.
328 * lib/m4sugar/m4sugar.m4 (m4_combine): Check for suffix list.
329 * doc/autoconf.texi (Text processing Macros): Document this.
331 Add m4_combine, based on Libtool's lt_combine.
332 * lib/m4sugar/m4sugar.m4 (m4_combine): New macro.
333 * doc/autoconf.texi (Text processing Macros): Document it.
336 2007-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
338 Fix `configure --help=recursive' in unconfigured/read-only trees.
339 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Avoid errors when `.'
340 is not writable, use 'cp -p' in this case, in the hope that it
341 will not actually be needed. Still try removing files, in case
342 of other write errors.
343 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): For ac_confdir,
344 use $as_myself, not $0.
345 (_AC_INIT_HELP): For --help=recursive, if the subdir does not
346 exist, try again in the the source tree. This change assumes
347 that the subpackage configure script is capable of running
348 --help=recursive in the source tree.
349 * tests/torture.at (Configuring subdirectories, Deep Package):
350 Adjust tests to expose both issues, also try invocation as
351 `sh configure ...' and plain `configure ...' with PATH adjusted.
352 * NEWS, THANKS: Update.
353 Report by Hans Ulrich Niedermann.
355 2007-10-16 Paul Eggert <eggert@cs.ucla.edu>
357 Check for 64-bit int errors in HP-UX 10.20 preprocessor.
358 Problem reported by H.Merijn Brand in
359 <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
360 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
361 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
362 Check that preprocessor handles 64-bit ints, too.
364 2007-10-16 Eric Blake <ebb9@byu.net>
366 m4_map is a looping construct.
367 * lib/m4sugar/m4sugar.m4 (m4_map, _m4_map, m4_map_sep): Move.
369 Fix m4_map, and add some more utility macros.
370 * lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
371 (m4_echo, m4_make_list): New documented macros.
372 (_m4_quote, _m4_shift2): New helper macros.
373 (m4_map): Change semantics to allow calling macro without
375 (m4_map_sep): Likewise. Also change semantics to quote separator,
376 to match m4_join and m4_append.
377 (m4_version_unletter): Fix use of m4_map.
378 * doc/autoconf.texi (Evaluation Macros): Document m4_apply,
379 m4_count, m4_dquote_elt, m4_echo, m4_make_list.
380 (Text processing Macros): Mention m4_dquote as a faster
381 alternative to joining with commas.
382 (Looping constructs): Document m4_map, m4_map_sep.
383 * NEWS: Mention new macros.
385 A few more m4sugar improvements, to benefit libtool.
386 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts, _m4_shiftn): Reduce size
387 of expansion by avoiding extra uses of $@.
388 (m4_shiftn): Avoid extra dnl, and forbid shifting by 0.
389 (_m4_cdr): New helper macro.
390 (_m4_map, m4_map_sep): Use it to reduce size of expansion.
391 (_m4_shift3): New helper macro.
392 (_m4_foreach): Swap argument order, and use new macro to reduce
394 * doc/autoconf.texi (Looping constructs) <m4_shiftn>: Mention that
395 count must be positive.
397 * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Fix typo.
398 Reported by Ralf Wildenhues.
400 2007-10-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
402 * doc/autoconf.texi (Portable Shell): Improve description of zsh
403 4.x function subshell bug with exit and trap.
405 2007-10-15 Eric Blake <ebb9@byu.net>
407 Enhance AS_HELP_STRING.
408 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't expand arguments,
409 and reduce number of expansions.
410 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Rework to use m4_expand,
411 and to take indent and wrap column numbers.
412 * tests/m4sh.at (AS@&t@_HELP_STRING): Update the test.
413 * doc/autoconf.texi (Pretty Help Strings): Document details about
415 (Text processing Macros): Minor tweaks.
416 * NEWS: Document this change.
418 Fix 2007-10-03 regression with AT_SETUP([a, b]).
419 * lib/m4sugar/m4sugar.m4 (m4_expand): New macro.
420 (m4_text_box): Use it.
421 * lib/autotest/general.m4 (AT_SETUP): Use it.
422 * lib/m4sugar/m4sh.m4 (_AS_RUN): Use it.
423 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Test this.
424 * NEWS: Revert caveat about semantics change on comma.
425 * doc/autoconf.texi (Evaluation Macros): Document m4_expand.
427 2007-10-13 Eric Blake <ebb9@byu.net>
429 Change m4_join to match libtool's ltsugar semantics.
430 * lib/m4sugar/m4sugar.m4 (m4_join): Just define this, not defun.
431 Ignore empty arguments, using...
432 (_m4_join): ...this new helper.
433 * tests/m4sugar.at (m4@&t@_join): New test.
434 * doc/autoconf.texi (Text processing Macros): Document new
435 semantics of m4_join.
437 Make AC_PREREQ faster and more robust.
438 * lib/m4sugar/m4sugar.m4 (m4_ignore, m4_unquote): New macros.
439 (m4_version_prereq): Inline constant expansions.
440 (m4_list_cmp): Reduce number of expansions, by avoiding m4_case.
441 Rewrite in terms of [] list, not () list.
442 (_m4_list_cmp, _m4_version_unletter): New helper macros.
443 (m4_version_unletter): Write wrapper around new implementation to
444 preserve old semantics.
445 (m4_version_compare): Pass correct type of list, and avoid
446 overhead of flattening expressions too early.
447 (m4_do): Move to be near other quoting macros.
448 (m4_max, m4_min): Always result in decimal output.
449 * doc/autoconf.texi (Looping constructs): Add m4_car, m4_cdr.
451 (Evaluation Macros): ...here. Add m4_ignore, m4_unquote.
452 (Text processing Macros): Move m4_version_compare...
453 (Number processing Macros): ...to this new node; document m4_cmp,
454 m4_list_cmp, m4_sign, m4_max, m4_min.
455 * tests/m4sugar.at (m4@&t@_version_compare): Enhance test, to pick
456 up on bugs fixed by this patch.
457 * NEWS: Document new macros.
459 2007-10-12 Eric Blake <ebb9@byu.net>
461 * doc/autoconf.texi (Text processing Macros): Fix bad merge.
462 (Reporting Messages): Fix underfull hbox.
464 Some more m4sugar documentation.
465 * lib/m4sugar/m4sugar.m4: Clean up macro order.
466 * doc/autoconf.texi (Programming in M4): Lighten the warning on
467 using m4sugar; it is stabilizing and useful.
468 (Redefined M4 Macros): Touch up wording on M4 builtins; sort. Add
469 m4_divert, m4_undivert, __file__, __line__, __oline__.
470 (Diagnostics): New node, documenting m4_assert, m4_errprintn,
471 m4_fatal, m4_location, m4_warn.
472 (Diversion support): New node, documenting m4_divert_push,
473 m4_divert_pop, m4_divert_text, m4_divert_once.
474 (Text processing Macros): Sort. Add m4_flatten, m4_join,
475 m4_newline, m4_strip, m4_text_box, m4_text_wrap.
476 (Reporting Messages): Mark AC_DIAGNOSE, AC_WARNING, and AC_FATAL
478 (Printing Messages): Change cross-reference.
480 Document interaction of recent m4_append change with Libtool HEAD.
481 * lib/m4sugar/m4sugar.m4 (m4_append): Document semantics change.
482 (m4_append_uniq): Add new parameters, based on lt_append_uniq.
483 * tests/m4sugar.at (m4@&t@_append): New test.
484 * NEWS: Document semantics change.
485 * doc/autoconf.texi (Text processing Macros): Likewise.
487 s/AC_VERSION/AC_AUTOCONF_VERSION/.
488 * doc/autoconf.texi (Versioning): Change the name.
490 * lib/autoconf/general.m4 (AC_AUTOCONF_VERSION): Likewise.
491 * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Likewise.
492 Suggested by Ralf Wildenhues.
495 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
496 (_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
498 * doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
499 (Programming in M4sh, Macro Names): Beef up description of
500 namespaces reserved for autoconf.
501 * configure: Regenerate.
503 2007-10-12 Eric Blake <ebb9@byu.net>
504 and Paolo Bonzini <bonzini@gnu.org>
506 Speed up execution of subset of testsuite.
507 * lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
508 (AT_INIT) <at_func_test>: New shell function.
509 (AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
510 (AT_INIT) <at_test_source> New variable, names file that holds
511 current test function definition.
512 (AT_SETUP): Start the shell function at_func_test_#, into the
513 TEST_FUNCTIONS diversion.
514 (AT_CLEANUP): End the shell function. Simplify the TESTS
515 diversion to invoke the function.
517 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
519 * .gitignore: Ignore tags and TAGS files.
521 2007-10-11 Eric Blake <ebb9@byu.net>
523 Config header generation followup.
524 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
525 which won't work with the preprocessor nor with the awk
527 * tests/torture.at (Define a newline): Test raw newline detection,
529 * doc/autoconf.texi (Defining Symbols): Document recent change to
530 allow backslash-newline.
533 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
535 * lib/autotest/general.m4: Put function braces in separate line.
537 2007-10-10 Eric Blake <ebb9@byu.net>
539 Avoid some overhead from m4_defn and m4_popdef.
540 * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
541 pass on first argument, since we are documented that way.
542 (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
543 check where it is safe to do so.
544 (m4_append): Likewise, and quote the separator.
545 (m4_text_box): Likewise, and avoid regex, also be robust to
546 expansion and quadrigraphs.
548 Another AC_DEFINE speedup.
549 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
551 (_AC_DEFINE_Q): ...here, and only do it once.
552 * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
553 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
554 introduced 2007-10-05.
557 * lib/autoconf/general.m4: Use consistent indentation.
558 * configure: Regenerate.
560 * NEWS: Announce recent round of speed optimizations.
562 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
564 * NEWS: Announce shell function usage in Autotest.
566 2007-10-10 Eric Blake <ebb9@byu.net>
567 and Paul Eggert <eggert@cs.ucla.edu>
569 Reduce number of forks at startup.
570 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
572 * configure: Regenerate.
574 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
575 and Paul Eggert <eggert@cs.ucla.edu>
577 Use awk for config header generation.
578 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
579 (_AC_OUTPUT_HEADERS_PREPARE): New macro. Rewrite of the config
580 header machinery for use with awk and placement outside the main
581 config.status instantiation loop. Retain multi-line defines
582 through backslash-newline combinations, do not split the script
584 (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
585 (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
587 (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
590 * tests/torture.at (#define header templates): Extend test by
591 several more cases: white space before and after `#', macros
592 with parameters in config.hin and as defines, multi-line macro
594 (Torturing config.status): Use a define value twice the length
595 in order to exercise the awk literal string limit.
596 (Substitute and define special characters): Also try special
597 delimiter, to exercise the special-case code.
598 Suggestion by Eric Lemings.
600 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
602 * tests/local.at (AT_COPYRIGHT): Bump copyright years.
604 2007-10-09 Eric Blake <ebb9@byu.net>
606 Improve header of bin/autoconf.
607 * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
608 * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
610 * bin/autoconf.as: Put copyright up front in generated file.
612 * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
614 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
616 * doc/install.texi (Basic Installation): Document `uninstall'.
617 * INSTALL: Regenerate.
618 Suggestion by Roberto Bagnara.
620 2007-10-08 Paul Eggert <eggert@cs.ucla.edu>
622 * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
624 Adjust doc. to match latest gnulib.
625 * build-aux/texinfo.tex: Sync from gnulib.
626 * doc/standards.texi: Likewise.
627 * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
628 Documentation License" and remove the subsection. This simplifies
629 the manual a bit and is more like what other GNU projects do
632 2007-10-08 Eric Blake <ebb9@byu.net>
635 * configure: Regenerate.
637 Fix regression in m4_text_wrap from 2007-10-05.
638 * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
640 (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
642 * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
643 * tests/autotest.at (Long test title, Longer test title): Test
644 this fix, beyond what AS_HELP_STRING already tests.
646 Avoid m4 warnings on bad m4_format usage.
647 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
649 * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
650 enough arguments are provided.
652 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
654 * doc/autoconf.texi (Shell portability): Document shell function
657 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
659 * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
660 at_func_check_skip, at_func_check_status, at_func_filter_trace,
661 at_func_log_failure shell functions. Use test -s to avoid
662 useless diff invocations.
663 (at_func_check_newline): Renamed from at_check_newline.
664 (AT_SETUP): Define AT_captured_files to empty.
665 (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
666 (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir. Use all
669 2007-10-05 Paul Eggert <eggert@cs.ucla.edu>
671 Don't assume "." is writeable, for commands like "autoconf --version".
672 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
673 different heuristic instead, one that doesn't rely on creating
676 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
679 2007-10-05 Jim Meyering <meyering@redhat.com>
681 Avoid makeinfo warnings.
682 * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
683 (Looping constructs): Add ` ' after @defmac'd name, m4_do.
685 2007-10-05 Eric Blake <ebb9@byu.net>
687 Resolve Python issue 1676135 regarding configure directory args.
688 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
689 slashes from directory arguments.
690 * tests/base.at (configure directories): New test.
691 * doc/autoconf.texi (Installation Directory Variables): Document
695 Reported by Björn Lindqvist.
697 Provide better short-circuiting operation.
698 * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
699 (m4_text_wrap): Use it. Also avoid useless m4_for.
700 * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
702 (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
703 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
705 * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
706 documentation. Sort m4_mkstemp, m4_undefine. Move m4_ifndef...
707 (Conditional constructs): ...here, to new section. Also document
708 m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
709 m4_bpatsubsts, and m4_default.
710 (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
713 2007-10-04 Eric Blake <ebb9@byu.net>
715 Fix recent testsuite failures.
716 * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
717 that must not be re-expanded after AS_ESCAPE.
718 * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
719 checking if it is an identifier.
722 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
723 leading whitespace, as it caused space-tab in testsuite.
724 (AT_INIT): Avoid trailing newlines in testsuite.
726 One more round of m4_foreach_w speedups.
727 * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
729 (_m4_split): Avoid useless expansions inside definition. Move
730 argument defaulting...
731 (m4_split): ...here. Change alternate quote to something less
732 likely to appear in $1. Also, special case space as regexp...
733 (m4_foreach_w): ...to avoid regexp on single-term list.
734 (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
735 useless expansions inside definition.
736 * tests/m4sugar.at (m4@&t@_split): Add tests.
738 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
740 * general.m4 (AT_INIT): Add at_check_newline function.
741 (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
742 (_AT_CHECK): Don't use at_trace_this.
744 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
747 * lib/autotest/general.m4 (AT_LINE): Fix regex.
749 2007-10-04 Eric Blake <ebb9@byu.net>
751 Speed up building testsuites.
752 * lib/autotest/general.m4 (AT_LINE): Only use regex when file
753 changed since last time. Use simpler regex.
755 2007-10-03 Eric Blake <ebb9@byu.net>
757 Optimize checking for identifiers.
758 * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
759 macros, more efficient than regex on m4_re_word.
760 * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
761 Rewrite in terms of new macro. As a side-effect, AC_DEFINE can
763 * configure: Regenerate.
765 Remove some XFAILs, and make AT_SETUP output line up.
766 * lib/autotest/general.m4 (AT_SETUP): Only expand description
767 once; thereafter, use its expansion, properly quoted.
768 * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
769 expansion with arguments, and check for aligned output.
770 (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
771 Add a test for macros with parameters.
772 * NEWS: Document the semantics change.
773 * tests/base.at: Fix test titles containing commas.
774 * tests/compile.at: Likewise.
775 * tests/tools.at: Likewise.
776 * tests/torture.at: Likewise.
778 Another round of regex avoidance.
779 * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
780 (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
781 (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
782 (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
783 character ranges useful in m4_translit.
784 (m4_toupper, m4_tolower): Optimize the constant portion of
786 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
787 creates $, and reject [] thanks to AS_TR_SH rewrite.
788 (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
789 (AS_ESCAPE): Factor...
790 (_AS_ESCAPE): ...into new macro, with second argument required.
791 Avoid regex in common case.
792 (_AS_QUOTE): Use new macro.
795 * lib/autoconf/types.m4: Avoid space-tab.
796 * lib/m4sugar/m4sh.m4: Use tab consistently.
798 2007-10-03 Paul Eggert <eggert@cs.ucla.edu>
800 * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
801 (m4_shiftn): Remove no-longer-needed optimization. Perhaps we
802 should remove m4_shiftn entirely?
803 (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
804 Prefer m4_shift2 and m4_shift3 to m4_shiftn.
805 * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
806 * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
807 * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
809 2007-10-03 Eric Blake <ebb9@byu.net>
812 * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
814 2007-10-02 Eric Blake <ebb9@byu.net>
816 Optimize appending text.
817 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
821 * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
822 lot of hot spots; optimize it for 2 and 3 shifts.
824 Optimize AC_PREREQ and other m4sugar numerics.
825 * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
826 (m4_cmp): Compare arbitrary expressions, without overflow.
827 (m4_version_unletter): Also recognize capital letters.
828 (m4_version_compare): Avoid regex when splitting version number
831 2007-10-01 Eric Blake <ebb9@byu.net>
833 Once again, reject IRIX m4.
834 * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
835 implementations that ignore --trace.
836 * configure: Regenerate.
837 Reported by Ralf Wildenhues.
839 Fix regression in AC_DEFINE([macro(with_arg)]).
840 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
841 quotes with a careless m4_substr.
843 2007-09-30 Eric Blake <ebb9@byu.net>
845 Allow nameless iteration.
846 * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
848 * tests/m4sugar.at (myvar): Test this.
850 2007-09-29 Eric Blake <ebb9@byu.net>
852 Speed optimization: avoid m4 regex when other algorithms work.
853 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
854 (_AS_QUOTE_IFELSE): Likewise.
855 * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
856 (m4_bpatsubsts): Split...
857 (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
859 (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
860 (m4_qlen): Optimize on short strings, to avoid regex.
861 (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
862 * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
863 (AC_DEFINE_TRACE): Likewise.
865 2007-09-28 Eric Blake <ebb9@byu.net>
867 Oops - my earlier 'optimization' caused a regression.
868 * tests/local.at (AT_CHECK_M4): Fix typo.
870 2007-09-27 Eric Blake <ebb9@byu.net>
871 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
873 Catch even more common AC_CACHE_VAL mistakes.
874 * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
875 lacks '_cv_', or if AC_SUBST appears in body.
876 * tests/base.at (AC_CACHE_CHECK): Test this change.
878 2007-09-27 Stepan Kasal <kasal@ucw.cz>
879 and Eric Blake <ebb9@byu.net>
881 Autotest no longer caters to Ultrix redirection limitation.
882 * doc/autoconf.texi (Writing testsuite.at): Remove the
883 limitation that the first parameter of AT_CHECK cannot
885 (File Descriptors): Mention that Ultrix limitation is no longer a
886 show-stopper in modern code.
887 * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
888 parameter is `stderr' or `experr'. Optimize if it was `ignore'.
889 * lib/autotest/general.m4 (AT_CHECK): Update comment.
891 2007-09-27 Eric Blake <ebb9@byu.net>
893 Squelch changeword in m4sugar.
894 * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
897 Configure whitespace touchups.
898 * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
899 installation directories, and avoid TAB, in configure --help
901 * configure.ac: Avoid extra trailing newline.
902 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
903 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
904 config.status --help output.
905 * configure: Regenerate.
907 Fix underquotation in AS_HELP_STRING.
908 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
910 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
911 first-prefix argument.
912 * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
913 * NEWS: Document AS_HELP_STRING fix.
915 Autotest formatting touchups.
916 * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
918 (PATH): Simplify computation of new PATH.
920 2007-09-26 Eric Blake <ebb9@byu.net>
922 Fix testsuite breakage in last patch.
923 * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
925 * tests/torture.at (@%:@define header templates): Rename, so that
926 output lines up correctly.
928 More font-lock happiness.
929 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
932 2007-09-25 Eric Blake <ebb9@byu.net>
935 * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
936 * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
938 Improve documentation of M4 parameter expansion.
939 * doc/autoconf.texi (Quoting and Parameters): New section.
940 (Quotation and Nested Macros): Improve wording.
942 Improve C99 detection.
943 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
944 avoid deprecation warning with icc.
946 Reported by Ted Bullock.
948 2007-09-24 Jim Meyering <jim@meyering.net>
950 Whenever possible, use the vertical bar as sed delimiter.
951 * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
953 * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
954 [ac_dir_suffix]: Use "|", not "," as sed delimiter.
955 * tests/mktests.sh (as_me): Likewise.
956 * lib/freeze.mk (check-forbidden-patterns): Likewise.
957 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
958 * configure: Regenerate.
959 * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
960 * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
961 in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
962 This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
964 2007-09-22 Jim Meyering <jim@meyering.net>
967 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
968 2004-05-31 change also with a comment in the code.
970 2007-09-20 Eric Blake <ebb9@byu.net>
972 More contribution housekeeping.
974 * AUTHORS: Sort, reflect recent assignment from Helge Deller.
976 Ignore additional files, when copying cross-repository.
977 * .gitignore: Ignore CVS directories, emacs edits.
978 * .cvsignore: Ignore .git directory, emacs edits.
980 2007-09-15 Eric Blake <ebb9@byu.net>
982 Provide AC_VERSION, not m4_AUTOCONF_VERSION.
983 * doc/autoconf.texi (Text processing Macros): Remove mention of
984 m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
986 (Notices): Move AC_PREREQ...
987 (Versioning): ...to this new section, alongside the new AC_VERSION
988 alias for the undocumented m4_PACKAGE_VERSION.
989 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
990 * lib/autoconf/general.m4 (AC_VERSION): New macro.
991 * NEWS: Update to match this rename.
992 * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
994 * tests/tools.at (autoconf: AC_VERSION): New test.
995 Suggested by Paolo Bonzini and Benoit Sigoure.
997 2007-09-14 Eric Blake <ebb9@byu.net>
999 Prepare for conversion to git.
1000 * doc/.cvsignore: Avoid multiple listings on one line.
1001 * bin/.cvsignore: Likewise.
1002 * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
1003 lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
1004 lib/autoscan/.gitignore, lib/autotest/.gitignore,
1005 lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
1006 tests/.gitignore: New files, identical to .cvsignore counterpart.
1008 2007-09-13 Eric Blake <ebb9@byu.net>
1011 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
1013 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
1014 * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
1015 * configure: Regenerate.
1017 Clean up 'make dist' of previous patch.
1018 * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
1019 (CLEANFILES): Don't clean the stamp, since we distribute the
1020 generated files pre-built.
1021 (MAINTAINERCLEANFILES): Clean it here instead.
1022 * tests/Makefile.in: Regenerate.
1024 Avoid parallel 'make check' issue.
1025 * tests/Makefile.am (mktests.stamp): New witness.
1026 (TESTSUITE_GENERATED_AT): Use it.
1027 (CLEANFILES): Clean the witness.
1028 * tests/.cvsignore (mktests.stamp): Ignore the witness.
1030 Document another awk pitfall.
1031 * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
1032 limitation of field variables in END.
1033 Reported by Gary V. Vaughan.
1035 * AUTHORS: Add missing entries.
1037 2007-09-12 Eric Blake <ebb9@byu.net>
1039 Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
1040 * doc/autoconf.texi (Text processing Macros): Document
1041 m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
1042 (Redefined M4 Macros): Document m4_ifndef.
1043 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
1044 can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
1045 used it while it was undocumented.
1046 * NEWS: Document this change.
1047 * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
1048 * lib/m4sugar/Makefile.in: Regenerate.
1049 * tests/m4sugar.at (m4@&t@_version_compare): New test.
1050 Reported by Bruno Haible.
1052 * doc/autoconf.texi (Generic Compiler Characteristics): Add
1053 missing index entries.
1055 2007-09-11 Eric Blake <ebb9@byu.net>
1057 Centralize all system extensions checks.
1058 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
1059 from AC_AIX, AC_GNU_SOURCE, AC_MINIX. Add Interix support.
1060 (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
1061 AC_USE_SYSTEM_EXTENSIONS.
1062 (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
1063 (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
1064 * doc/autoconf.texi (Posix Variants): Reword this section,
1065 emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
1066 rather than a series of system-specific checks.
1067 (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
1069 * NEWS: Document this change.
1071 Reported by Martin Koeppe.
1073 2007-09-08 Eric Blake <ebb9@byu.net>
1075 Clean up obsolete macros references.
1076 * doc/autoconf.texi: Add anchors to support better
1078 (Particular Structures): Move obsolete macros descriptions...
1079 (External Software): Likewise.
1080 (Package Options): Likewise.
1081 (Obsolete Macros): ...to here. Add cross-references to
1082 documentation on replacements.
1083 * NEWS: Mention that these macros have been obsolete for a while
1084 now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
1086 Improve M4 path searching during configure.
1087 * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
1089 (_AC_PATH_PROG_FEATURE_CHECK): Rename...
1090 (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
1091 parameter, and kill side effects.
1092 (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
1093 (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
1094 * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
1096 (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
1097 allow bootstrapping with autoconf 2.61.
1098 * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
1099 * configure: Regenerate.
1100 * doc/autoconf.texi (Generic Programs): Document new macro.
1101 * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
1103 * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
1104 * NEWS: Document the change.
1106 Reported by Hans Aberg.
1108 * doc/autoconf.texi (Generic Programs): Fix typo.
1110 2007-09-06 Eric Blake <ebb9@byu.net>
1112 * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
1113 :, and make it clear that optional @var{path} defaults to $PATH.
1114 (Erlang Compiler and Interpreter): Likewise.
1117 * doc/autoconf.texi: Avoid lines > 80 columns when possible.
1118 Reword some paragraphs to avoid overfull, underfull hbox
1119 warnings. Add index entries to avoid overfull vbox warnings.
1121 2007-09-05 Eric Blake <ebb9@byu.net>
1123 * NEWS: Adjust wording for AC_CONFIG_LINKS.
1124 Reported by Ralf Wildenhues.
1126 2007-09-03 Eric Blake <ebb9@byu.net>
1128 * NEWS: Document fixes that have been applied since 2.61a.
1131 * THANKS: Update, and convert to UTF-8 encoding.
1132 * AUTHORS: Likewise.
1134 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1136 * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
1137 names beginning with `-' again.
1139 2007-08-22 Stepan Kasal <kasal@ucw.cz>
1140 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1142 * doc/autoconf.texi (Defining Directories): Mention
1143 AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
1145 2007-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1147 * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
1148 here, this macro is expanded by AC_INIT. Fixes 2.60 regression.
1149 * tests/base.at (configure arguments): New test.
1151 Report by Olaf Lenz.
1153 * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
1154 arguments in comment.
1155 Report by Vincent Torri <vtorri at univ minus evry dot fr>.
1157 2007-08-20 Benoit Sigoure <tsuna@lrde.epita.fr>
1159 * doc/autoconf.texi (File System Conventions): Index the proper
1160 way of detecting absolute file names.
1162 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1164 * build-aux/config.guess, build-aux/config.sub,
1165 build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
1166 build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
1167 doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
1168 * doc/autoconf.texi (GNU Free Documentation License): Adjust for
1169 sectioning change in fdl.texi.
1171 * bin/autoconf.as: Update --version output to match current GCS.
1172 * bin/autoheader.in: Likewise.
1173 * bin/autom4te.in: Likewise.
1174 * bin/autoreconf.in: Likewise.
1175 * bin/autoscan.in: Likewise.
1176 * bin/autoupdate.in: Likewise.
1177 * bin/ifnames.in: Likewise.
1179 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1181 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
1182 file to itself if source and build trees coincide.
1183 * tests/torture.at (AC_CONFIG_LINKS and identical files): New
1185 Report by Sebastian Freundt <hroptatyr@gna.org>.
1187 2007-07-20 Paul Eggert <eggert@cs.ucla.edu>
1189 Reword the copyright notices to match what's suggested in GPLv3.
1190 In ChangeLog files, use more-permissive notice rather than GPL, as
1191 per usual GNU standards these days.
1193 2007-07-13 Paul Eggert <eggert@cs.ucla.edu>
1195 * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
1196 limitation reported by Leo Moisio in
1197 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
1199 2007-07-03 Paul Eggert <eggert@cs.ucla.edu>
1201 * COPYING: Update to GPLv3. All uses changed.
1203 2007-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1204 and Paul Eggert <eggert@cs.ucla.edu>
1206 * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
1209 2007-06-17 Noah Misch <noah@cs.caltech.edu>
1211 * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
1212 * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
1213 `srcdir' as subdirectory of `builddir'.
1215 2007-06-13 Noah Misch <noah@cs.caltech.edu>
1217 * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
1218 * tests/autotest.at (srcdir propagation): New test.
1220 Reported by Mike Frysinger.
1222 2007-06-13 Paul Eggert <eggert@cs.ucla.edu>
1224 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
1225 Problem reported by Fred Kreek in
1226 <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
1227 * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
1228 (Macro Names, Defining Directories): Don't mention PATH as a name
1229 for a fully qualified file name, as this usage violates the GNU
1230 coding standards and we shouldn't recommend it.
1232 * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
1233 string and then assume shell builtins like "test" will work.
1235 2007-06-12 Noah Misch <noah@cs.caltech.edu>
1237 * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
1238 not a valid shell variable name.
1239 * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
1240 * tests/torture.at (AC_SUBST: variable name validation): New test.
1241 Reported by Andreas Schwab.
1243 2007-06-04 Noah Misch <noah@cs.caltech.edu>
1245 * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
1246 works with both C and C++.
1248 2007-06-03 Noah Misch <noah@cs.caltech.edu>,
1249 Bruno Haible <bruno@clisp.org>
1251 * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
1254 2007-05-31 Paul Eggert <eggert@cs.ucla.edu>
1256 * doc/autoconf.texi (Particular Types): Give example of use for
1259 2007-05-29 Stepan Kasal <kasal@ucw.cz>
1261 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
1263 2007-05-28 Paul Eggert <eggert@cs.ucla.edu>
1265 * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
1266 define HAVE_INT8_T, and likewise for similar macros.
1267 Problem reported by Patrick Welche in
1268 <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
1270 2007-05-25 Noah Misch <noah@cs.caltech.edu>
1272 * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
1274 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
1276 * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
1277 choice, since that's what we do with --enable-largefile etc.
1278 Redo indenting and assignments to simplify things a bit, and make
1279 the parens work with Emacs.
1281 * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
1282 in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
1285 2007-05-21 Noah Misch <noah@cs.caltech.edu>
1287 * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
1288 * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
1290 2007-05-21 Bruno Haible <bruno@clisp.org>
1292 * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
1293 * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
1294 * doc/autoconf.texi (Generic Compiler Characteristics): Move
1295 renamed AC_OPENMP documentation here, from "C compiler".
1296 Mention C++ and Fortran.
1298 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
1300 * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
1302 2007-05-21 Bruno Haible <bruno@clisp.org>
1304 * NEWS: Mention AC_C_OPENMP.
1305 * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
1306 * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
1307 Based in part on Steven G. Johnson's investigations for the AX_OPENMP
1308 macro in the Autoconf macro archive.
1310 2007-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1312 * bin/autom4te.in: Fix typos.
1314 2007-05-16 Noah Misch <noah@cs.caltech.edu>
1316 * bin/autoconf.as: Handle `-' just like other input files.
1317 * bin/autom4te.in (parse_args): Pass `-' through.
1318 (handle_output): Skip the forbidden token search if we read from stdin.
1319 (up_to_date): Always treat stdin as out of date.
1320 * tests/tools.at (autoconf: input from stdin): New test.
1321 (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
1323 2007-05-16 Stepan Kasal <kasal@ucw.cz>
1325 * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
1326 parameters for AT_CLEANUP.
1327 * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
1329 2007-05-14 Paul Eggert <eggert@cs.ucla.edu>
1331 * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
1332 * doc/autoconf.texi (C Compiler): Likewise.
1334 2007-05-14 Noah Misch <noah@cs.caltech.edu>
1336 * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
1338 2007-05-09 Stepan Kasal <kasal@ucw.cz>
1340 * doc/autoconf.texi: Direntry for "autoconf Invocation"
1341 renamed to "autoconf-invocation"
1343 * doc/autoconf.texi (Caching Results): The CACHE-ID variable
1344 in the examples should not use the internal "ac_" prefix.
1346 2007-05-05 Noah Misch <noah@cs.caltech.edu>
1348 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
1349 * doc/autoconf.texi ($@, case): Document Zsh limitations.
1351 2007-05-03 Stepan Kasal <kasal@ucw.cz>
1353 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
1354 Reorganize the comments before and in the macro.
1356 2007-05-02 Stepan Kasal <kasal@ucw.cz>
1358 * lib/autoconf/lang.m4, lib/autoconf/c.m4,
1359 lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
1360 section titles and other comments; no code change.
1362 2007-05-01 Kevin Ryde <user42@zip.com.au>
1364 * doc/autoconf.texi (Particular Programs): Typo
1365 @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
1367 2007-04-30 Paul Eggert <eggert@cs.ucla.edu>
1369 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
1370 'configure' will fail if the shell lacks proper support for shell
1371 functions. Suggested by RMS.
1373 2007-04-29 Paul Eggert <eggert@cs.ucla.edu>
1375 * doc/autoconf.texi (Limitations of Builtins): Correct the warning
1376 about Solaris /bin/printf '%010000x' 123. Problem reported by
1379 2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
1381 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
1382 for a.* when searching for executables, as this prevents users
1383 from having files like a.c. Problem reported by Ralf Wildenhues in:
1384 http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
1385 This fixes a problem introduced on 2000-12-19.
1387 2007-04-26 Paul Eggert <eggert@cs.ucla.edu>
1389 * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
1390 /bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko
1393 2007-04-12 Paul Eggert <eggert@cs.ucla.edu>
1395 * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
1396 AC_CHECK_TYPE, AC_CHECK_TYPES.
1397 * doc/autoconf.texi (Generic types): C types must be type-names
1398 (the C terminology), not type-ids (the C++ term). C++ types
1399 must not be anonymous.
1400 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
1401 for C++; this drops support for anonymous struct and union types,
1402 which were problematic anyway.
1403 * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
1406 2007-04-12 Jim Meyering <jim@meyering.net>
1408 * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
1410 2007-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1412 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
1413 to prefer a link source from the build tree, if it exists.
1414 Report by Pallav Gupta <pallavgupta@gmail.com>.
1416 2007-04-11 Paul Eggert <eggert@cs.ucla.edu>
1418 * doc/autoconf.texi (Generic Types): Document the restrictions
1419 on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
1420 (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
1421 with objects too. Document the restrictions on its use.
1422 Document the restrictions on AC_CHECK_ALIGNOF's type argument.
1423 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
1424 For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
1425 works but the latter doesn't, then it's a valid type.
1426 This lets people use function types and so forth.
1427 For C++ there doesn't seem to be a simple solution, so leave it alone.
1428 (AC_CHECK_SIZEOF): Allow argument to be a variable.
1429 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
1430 AC_CHECK_TYPE; that wasn't documented or necessary.
1432 2007-04-11 Stepan Kasal <kasal@ucw.cz>
1434 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
1435 when cross-compiling.
1437 2007-04-11 Stepan Kasal <kasal@ucw.cz>
1439 * doc/autoconf.texi (External Software): Fix a typo in the
1442 2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1444 * doc/autoconf.texi (External Software, Package Options):
1445 Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
1447 2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
1449 * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
1450 obsolescent. Suggested by Bruno Haible.
1451 * NEWS: Document this.
1453 2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
1455 * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
1456 (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
1457 default still has the problem. Problem reported by Bruce Korb.
1459 2007-03-28 Stepan Kasal <kasal@ucw.cz>
1460 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1462 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
1463 comment in the generated config.status.
1465 2007-03-27 Stepan Kasal <kasal@ucw.cz>
1467 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
1469 2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
1471 * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
1472 command and case statements to make it a bit clearer and describe
1475 2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
1477 * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
1478 checks for unsigned long long int.
1480 2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
1482 * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
1483 nonstandard grep R.E. escape sequences.
1485 2007-03-17 Jim Meyering <jim@meyering.net>
1487 * doc/autoconf.texi: Adjust grammar around use of "heuristics".
1488 (Limitations of Usual Tools): Also list \< and \>, and mention that
1489 HP-UX's grep, like the one from Solaris, does not support that syntax.
1491 2007-03-09 Stepan Kasal <kasal@ucw.cz>
1493 * doc/autoconf.texi (Specifying Names): `--host' does not
1494 change the build type.
1496 2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
1498 * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
1499 suggests AC_CONFIG_HEADERS.
1500 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
1501 AC_CONFIG_HEADERS. Problem reported by
1504 2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
1506 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
1507 Problem reported by Paolo Bonzini in:
1508 http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
1509 * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
1510 universal binaries. Problem reported by Elias Pipping.
1512 2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
1514 * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
1515 * doc/autoconf.texi (C Compiler): Document this. There is a new
1516 extra argument ACTION-IF-UNIVERSAL.
1517 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
1518 Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
1519 Reindent for sanity's sake.
1521 2007-02-24 Eric Blake <ebb9@byu.net>
1523 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
1525 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1526 * lib/autotest/general.m4 (AT_INIT): Likewise.
1527 (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
1529 2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1531 * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
1532 status of rm so we know when it failed.
1533 If cleaning of test dir failed before running the test, warn.
1534 Output the line separator in verbose mode before the warning
1535 to make clear the warning belongs to the following test.
1537 2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
1539 * doc/autoconf.texi (Parentheses): Mention problem with (( in
1542 2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1543 and Paul Eggert <eggert@cs.ucla.edu>
1545 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
1546 errors introduced in last change.
1548 2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
1550 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
1551 an actual carriage return. Use "ac_cr" to contain the actual
1553 * doc/autoconf.texi (Limitations of Usual Tools): Document problem
1554 with traditional Awk and begin.
1555 * tests/torture.at (Limitations of Builtins): Document the problem
1556 with Bash 2.03 printf.
1557 (Substitute and define special characters):
1558 Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
1560 2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
1562 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
1563 input from /dev/null in awk test, so even Solaris /usr/bin/awk
1564 will not wait for input with a script containing only a BEGIN
1567 2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
1569 * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
1573 2007-02-02 Eric Blake <ebb9@byu.net>
1575 * NEWS: Update copyright.
1577 * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
1579 * configure.ac: Update error message.
1580 * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
1581 Reported by Gary Vaughan and Jim Meyering, and problem analyzed
1583 http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
1585 2007-01-31 Eric Blake <ebb9@byu.net>
1587 * THANKS (people): Update.
1589 2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
1591 * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
1593 (Shell Substitutions): Note problems with @{var:=value} etc.
1594 Add a new section for problems with @{#var} etc. Problem noted
1595 by Ralf Wildenhues. See:
1596 http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
1598 2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1600 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
1601 AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
1602 trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
1603 substitution will still be done by the special code.
1604 Report by Jim Meyering.
1606 * doc/autoconf.texi (File System Conventions): Mention that
1607 $PATH_SEPARATOR is for the build system only.
1608 Report by Keith Marshall.
1610 2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1612 * doc/autoconf.texi (Setting Output Variables): Mention that
1613 all non-NUL characters are ok in substituted values.
1614 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
1615 (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
1616 carriage return for $AWK, needed for BSD awk.
1617 * tests/torture.at (Substitute and define special characters):
1618 Test all 8 bit non-NUL characters.
1619 Report against Automake by Patrick Welche.
1621 2007-01-15 Stepan Kasal <kasal@ucw.cz>
1623 * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
1625 2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1627 * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
1628 early on the reader side, drop stderr of the input to avoid
1629 `broken pipe' error output; this may happen even with shell
1630 builtin `echo' of some bash versions. Reports by Ian Macdonald
1631 <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
1633 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1635 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
1636 separate items of `ac_user_opts', to avoid long lines.
1637 (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
1639 2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1641 * doc/autoconf.texi: Fix some typos.
1643 2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
1645 Fix some wording problems noted by Paolo Bonzini in:
1646 http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
1647 * doc/autoconf.texi (Signed Overflow Examples): Give more
1648 discussion about the allow_superuser_privileges example,
1649 and change it a bit to make things clearer.
1650 (Optimization and Wraparound): Clarify whether the compiler
1651 will generate an infinite loop for the example derived from
1652 Autoconf's mktime test.
1653 (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
1654 Also, clarify unsigned multiplication overflow.
1656 2007-01-04 Eric Blake <ebb9@byu.net>
1658 * bin/Makefile.am (RELEASE_YEAR): New macro.
1659 (edit): Use it to supply correct copyright year to scripts.
1660 * bin/autoconf.as (version): Use it.
1661 * bin/autoheader.in ($version): Likewise.
1662 * bin/autom4te.in ($version): Likewise.
1663 * bin/autoreconf.in ($version): Likewise.
1664 * bin/autoscan.in ($version): Likewise.
1665 * bin/autoupdate.in ($version): Likewise.
1666 * bin/ifnames.in ($version): Likewise.
1668 2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
1670 * doc/autoconf.texi (Integer Overflow): Revised based on today's
1671 feedback. The most important changes document what happens when
1672 you convert an out-of-range value to a signed integer type, and
1673 say that (sum < a) != (b < 0) reliably detects overflow when sum =
1676 * doc/autoconf.texi (Integer Overflow): Greatly expand and
1677 rewrite, taking notions from the recent discussion on the gcc and
1678 autoconf mailing lists; please see
1679 http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
1680 and follow the many links.
1681 (Integer Overflow Basics, Signed Overflow Examples):
1682 (Optimization and Wraparound, Signed Overflow Advice):
1683 (Signed Integer Division): New sections.
1685 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
1687 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
1688 preprocessor macro arguments in traced name.
1689 * doc/autoconf.texi (Defining symbols): Document longstanding
1690 support for AC_DEFINE-ing macros with arguments, and document
1691 behavior when the same variable has multiple AC_DEFINEs.
1692 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
1693 old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
1694 macros directly, giving much shorter and simpler code.
1696 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
1698 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
1699 space before "$ac_configure_args" to prevent a 'config.status
1700 --recheck' failure if ac_configure_args doesn't contain a leading
1701 space. This works around a problem with the XEmacs configure.ac,
1702 which uses the (undocumented) ac_configure_args variable
1703 inconsistently with Autoconf.
1705 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
1707 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
1708 Include <limits.h>, and use its INT_MAX to rewrite the
1709 j loop so that it does not overflow 'int'. Problem reported by
1711 <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
1712 Play it safe by shifting left by 1 rather than multiplying by 2,
1713 as GCC is less likely to optimize this away when the value
1714 is signed (when it assumes overflow leads to undefined behavior).
1715 Also, don't assume time_t uses two's complement.
1717 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1719 * tests/torture.at (Substitute a 2000-byte string): Avoid using
1720 a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
1721 dumps core on it. Report by Tim Rice.
1723 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
1725 * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
1726 --disable-option-checking to --help output even when
1727 AC_PRESERVE_HELP_ORDER is not used.
1728 (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
1729 --with argument, rather than argument with [-.] replaced by
1731 * NEWS: Fix typo in previous change; the news was in the
1734 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
1736 * NEWS: Warnings are now generated by default for unknown
1737 --enable-* and --with-* options.
1738 * doc/autoconf.texi (Option Checking): Renamed from
1739 (Configure Option Checking). Tighten up the wording a bit.
1740 (External Software, Package Options): Cross-reference to Option
1741 Checking, and use this to shorten our section.
1742 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
1743 "$x" to test "x$foo" != x.
1744 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
1745 Don't warn if $enable_option_checking is "no".
1746 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
1747 ac_unrecognized_opts to the empty string.
1748 Don't echo the unrecognized opts, as this might mishandle
1749 backslashes or leading -.
1750 (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
1751 usage next to the other --disable-FEATURE options in the
1754 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
1756 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
1757 (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
1758 Print warning for unrecognized --with and --enable options
1759 (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
1760 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
1761 Disable option checking when subdirs are configured.
1762 (AC_OUTPUT): If warnings are enabled, print warning about
1763 unrecognized --with and --enable options at the end of
1764 the configure output (as well as at the beginning).
1765 * doc/autoconf.texi (Option Checking): New node.
1766 Document new option warning functionality.
1768 2006-12-16 Eric Blake <ebb9@byu.net>
1770 * configure.ac (AC_INIT): Bump version, since 2.61a is released.
1771 * NEWS: Start news for current version.
1773 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
1775 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
1776 Define HAVE_GETMNTENT to 1, not to the empty string.
1777 Problem originally reported by Jochen Friedrich in
1778 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
1780 This change prompted by a problem report by Andrey Simonenko in
1781 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
1782 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
1783 object-like macros only, in the traditional portable character
1785 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
1786 Warn about attempts to define things that are not identifiers.
1787 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
1788 awful hack that AC_DEFINEd macro names containing parentheses.
1790 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
1792 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
1793 too drastic, even if Texinfo in theory requires it for info mode.
1795 (config.status Invocation): Renamed back from Recreating a
1797 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
1798 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
1800 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
1802 * NEWS: Version 2.61a.
1804 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
1805 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1807 * NEWS: Document changes with echo and printf, and the lack
1808 of limits on the total size of multi-line values of substituted
1809 variables, and the AC_FUNC_FSEEKO fix.
1811 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
1813 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
1814 Writing configure.ac.
1815 (Autoconf Input Layout): Renamed from configure.ac Layout.
1816 (Recreating a Configuration): Renamed from config.status Invocation.
1817 (Obsolete Recreation): Renamed from Obsolete config.status Use.
1818 (acconfig Header): Renamed from acconfig.h.
1819 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
1820 (Writing Testsuites): Renamed from Writing testsuite.at.
1821 (Autom4te Cache): Renamed from autom4te.cache.
1823 * BUGS: Remove mention of VPATH problem, since it's now documented
1824 not to be a bug in the Autoconf build procedure itself, but rather
1825 a problem with the proprietary `make' programs.
1827 * doc/autoconf.texi (Build Directories): Add a cross reference
1830 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
1831 * doc/standards.texi: Sync from gnulib.
1833 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
1834 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
1835 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
1836 generated automatically.
1838 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
1840 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
1841 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
1842 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
1844 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1846 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
1847 `CEOF$ac_eof' special marker, the awk script cannot contain a
1848 line matching `^CEOF', so this is not needed any more.
1849 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
1850 special marker in the test.
1852 2006-12-06 Stepan Kasal <kasal@ucw.cz>
1854 * tests/tools.at (autom4te preselections): Use `find -newer';
1855 remove one of the sleeps.
1857 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
1858 more readable, using ...
1859 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
1861 * doc/autoconf.texi (autoheader Invocation): Do not double-
1862 quote the parameter of `AH_BOTTOM' in the example.
1864 2006-12-05 Stepan Kasal <kasal@ucw.cz>
1866 * doc/autoconf.texi (Configuration Headers): Remove the
1867 example with multiple input files.
1868 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
1869 multiple input files.
1871 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1873 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
1874 creating the awk substitution script, handle one input line at a
1875 time, so that the maximum length of a substituted (multi-line)
1876 value is not limited by the size of the sed pattern space.
1877 The trade-off is a slightly repetitive sed script.
1878 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
1879 can only have up to 7 characters, due to Solaris 10 /bin/sed.
1880 * tests/torture.at (Substitute a 2000-byte string): Increase the
1881 test with several long lines, they should not be caught by sed
1884 * tests/tools.at (autom4te preselections): New test, to flag
1885 entries missing from autom4te.cfg.
1886 Report by David Byron <dbyron@hheld.com>.
1888 * tests/torture.at (Substitute a 2000-byte string): Actually use
1889 AC_PROG_AWK, so the last change works as intended.
1890 (Substitute and define special characters): Likewise.
1891 (Substitute a newline): Likewise.
1893 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
1894 instead of `awk' consistently.
1895 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
1896 * tests/torture.at (Torturing config.status): Test both the
1897 result of AC_PROG_AWK and plain awk.
1898 (Substitute a 2000-byte string): Likewise.
1899 (Substitute and define special characters): Likewise.
1900 (Substitute a newline): Likewise.
1902 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
1904 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
1905 can be assigned to a function pointer. Problem reported by
1906 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
1907 part of a patch by Ralf Wildenhues in that same bug report.
1909 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
1911 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
1912 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
1914 2006-12-01 Eric Blake <ebb9@byu.net>
1916 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
1917 cross-compiling from cygwin to mingw.
1918 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
1919 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
1920 to lib/autoconf/c.m4.
1922 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1924 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
1925 string for more reliable failure. Wrap the entire test that
1926 causes the broken Solaris printf to dump core, in a subshell,
1927 so the segmentation fault message is reliably suppressed.
1928 Fix shell expansion errors by using /usr/ucb/echo always;
1929 avoid an error on systems without it by another subshell.
1930 Avoid m4 expansion of `$1'. Set the zeroth argument of the
1931 subshell-$as_echo to `as_echo', for better error message.
1933 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1935 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
1936 `BASH_SOURCE' contain a newline, set them to empty, as they may
1939 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
1941 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
1942 years and is too hard to maintain now. The last straw was
1943 reported by Jerker Baeck in
1944 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
1945 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
1946 * doc/autoconf.texi (Particular Functions): Move
1947 AC_FUNC_SETVBUF_REVERSED from here...
1948 (Obsolete Macros): ... to here. Say that it does nothing now.
1949 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
1950 Turn into (almost) a no-op.
1952 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
1954 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
1955 These macros are obsolescent and new applications shouldn't need them.
1956 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
1957 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
1958 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
1959 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1960 (AC_FUNC_VPRINTF): Likewise.
1961 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
1962 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
1963 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
1965 * doc/autoconf.texi (Setting Output Variables): Mention that
1966 @VAR1@VAR2 has unspecified behavior. Problem reported by
1968 * NEWS: Mention this.
1970 * Makefile.am: Put only a single '#' into the copyright notice,
1971 so that it's also present in the output file. Standardize wording
1972 in makefile copyright notices to match GNU coding standards.
1973 * bin/Makefile.am: Likewise.
1974 * doc/Makefile.am: Likewise.
1975 * lib/Makefile.am: Likewise.
1976 * lib/freeze.mk: Likewise.
1977 * lib/autoconf/Makefile.am: Likewise.
1978 * lib/autoscan/Makefile.am: Likewise.
1979 * lib/autotest/Makefile.am: Likewise.
1980 * lib/m4sugar/Makefile.am: Likewise.
1981 * man/Makefile.am: Likewise.
1982 * tests/Makefile.am: Likewise.
1983 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
1986 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1988 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
1989 in the sed script that mangles the awk script: delete up to the
1990 first exclamation mark only.
1991 * tests/torture.at (Substitute and define special characters):
1994 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1996 Rewrite config files generation: avoid quadratic growth in
1997 the number of substituted variables by using awk instead of sed
1998 for the bulk of the substitutions.
1999 * NEWS: Mention this.
2000 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
2001 forbidden in the output (and thus input) file.
2002 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
2003 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
2004 generate just one large awk script for substitutions,
2005 eliminating much of the earlier complexity, while adding some
2006 new complexity. Only expand the substitution templates at
2007 configure time, for smaller configure script size. If
2008 _AC_SUBST_FILES are used, test 'awk' for working getline support
2009 at config.status time. If absent, interpolate through the
2010 shell. The awk script was written with much help
2011 from Paolo Bonzini and Paul Eggert.
2012 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
2013 (_AC_SED_FRAG_NUM): Likewise.
2014 (_AC_SUBST_CMDS): Renamed from...
2015 (_AC_SED_CMDS): ...this.
2016 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
2017 * tests/torture.at (Substitute a 2000-byte string): Also
2018 substitute a line with 1000 words, and a variable with several
2020 (Substitute and define special characters): Test awk special
2021 characters, and put substitution input strings `@foo@' in the
2022 output, to test that no recursion happens; test several other
2023 combinations from Paolo Bonzini.
2025 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
2027 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
2028 that replaced echo with AS_ECHO where this wasn't necessary.
2029 Problem reportd by Ralf Wildenhues.
2030 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
2031 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
2032 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
2034 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2036 * lib/freeze.mk (GREP): Removed, no need to initialize this.
2038 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
2040 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
2041 that traditional Awk lacks 3-arg "split". It has it.
2042 Mention that FS must be a single character, and a few other
2043 99-byte limits of traditional Awk.
2044 Mention that if (i in a) doesn't work with traditional Awk.
2046 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
2048 * tests/autotest.at (BSx641-newline in command):
2049 (BS-BS-newline in command, BSx640-newline in command):
2050 (Newline-CODE-BS-newline in command):
2051 (Single-quote-BS-newline in command):
2052 (Single-quote-newline-BS-newline in command):
2053 Use printf '%s\n' instead of echo, for portability to hosts
2054 where echo interprets backslashes. This will break on hosts
2055 that lack printf, but for now let's assume all such hosts
2056 are dead (if not, we should get reports of test failures).
2058 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
2060 'echo' has some portability problems, when given a first argument
2061 with a leading '-', or when given any argument containing '\'.
2062 Avoid using 'echo' in these cases.
2063 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
2064 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
2065 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2066 * lib/autotest/general.m4 (AT_INIT): Likewise.
2067 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
2068 argument might be unportable.
2069 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
2070 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
2071 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
2072 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
2073 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
2074 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
2075 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
2076 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
2077 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
2078 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
2079 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
2080 (AC_PROG_MAKE_SET): Likewise.
2081 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
2082 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
2083 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
2084 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
2085 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
2086 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
2087 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
2088 * bin/autoconf.as: Redo verbose flag implementation, as the old
2089 scheme wouldn't work with AS_ECHO.
2090 * lib/autotest/general.m4 (AT_INIT): Likewise.
2091 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
2092 Don't use ECHO_T, since ECHO_N is now reliable.
2093 * lib/autotest/general.m4 (AT_INIT): Likewise.
2094 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
2095 rather than using a here-document to put the script into a file.
2096 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
2098 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
2099 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
2100 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
2101 bug, but we might as well stop using ECHO_N and ECHO_C internally.
2102 * lib/autotest/general.m4 (AT_SETUP): Likewise.
2103 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
2104 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2105 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
2106 operand, as AS_ECHO requires. Avoid double file name expansion.
2107 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
2108 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
2109 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
2110 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
2111 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2112 Double-quote strings that would otherwise contain M4 comments.
2113 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
2115 * configure.ac (AC_INIT): Bump to 2.61a.
2118 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
2122 * configure.ac (AC_INIT): Bump to 2.61.
2125 * tests/autotest.at (Macro with backslash in a test title):
2126 Comment out for now, as this tests neither fails nor passes
2127 reliably. Problem reported by Ralf Wildenhues.
2129 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
2131 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
2132 in previous change, which caused test failures.
2134 2006-11-16 Stepan Kasal <kasal@ucw.cz>
2136 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
2137 code for --enable, --disable, --with, and --without to...
2138 (_AC_INIT_PARSE_ENABLE): ... a new macro.
2139 * doc/autoconf.texi (Package Options):
2140 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
2142 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
2144 Import these changes from config via gnulib:
2146 2006-11-15 Ben Elliston <bje@gnu.org>
2148 From Josselin Mouette <joss@debian.org>:
2149 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
2151 2006-11-08 Ben Elliston <bje@gnu.org>
2153 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
2155 2006-11-07 Steve Woodford <scw@NetBSD.org>
2156 Ben Elliston <bje@gnu.org>
2158 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
2159 * build-aux/config.sub (sh5el): New basic_machine.
2162 Import this change from coreutils:
2164 2006-02-13 Jim Meyering <jim@meyering.net>
2166 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
2169 Import this change from gnustandards via gnulib:
2171 2006-11-15 Karl Berry <karl@gnu.org>
2173 * standards.texi: core -> memory, throughout.
2174 (CPU Portability): show correct example of calling write
2175 on a char value; thanks to Paul Eggert for the code.
2176 Both of these suggestions from Eugene Y. Vasserman.
2179 Import these changes from texinfo via gnulib:
2181 2006-11-08 Karl Berry <karl@gnu.org>
2183 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
2184 as well as pdf images, since they are supported in pdftex with
2187 2006-11-05 Karl Berry <karl@gnu.org>
2189 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
2191 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
2193 * NEWS: Document the AC_ARG_WITH change.
2195 2006-11-13 Bruno Haible <bruno@clisp.org>
2197 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
2198 options, transliterate also dots to underscores.
2199 (_AC_ENABLE_IF): Transliterate also dots to underscores.
2200 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
2201 first argument may also contain dots.
2203 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
2205 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
2206 benefit of platforms like Solaris+GCC where it is common to have a
2207 non-working g++ installation.
2209 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2210 and Joel E. Denny <jdenny@ces.clemson.edu>
2211 and Paul Eggert <eggert@cs.ucla.edu>
2213 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
2214 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
2217 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
2219 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
2220 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
2221 Imported from a similar patch to gnulib by Bruno Haible.
2223 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
2225 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
2226 * doc/autoconf.texi (C Compiler): Document them.
2227 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
2228 New macros, taken from gnulib.
2230 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
2232 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
2233 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
2236 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2238 * tests/torture.at (Configuring subdirectories): Do not skip
2239 Automake 1.10 nor future Automake 11.1 (sic).
2241 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
2242 and Stepan Kasal <kasal@ucw.cz>
2244 Handle special characters in test case titles correctly.
2245 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
2247 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
2248 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
2249 argument. Extend to check titles printed by ./micro-suite and
2250 ./micro-suite -l and the title in micro-suite.log.
2251 (Backquote in a test title,
2252 Single-quote in a test title,
2253 Double-quote in a test title): Don't expect failure anymore.
2254 (Backslash in a test title): Put a non-whitespace character after the
2255 backslash so that Bourne shells might actually see it as an escape
2257 (Brackets in a test title,
2258 Pound in a test title,
2259 Comma in a test title,
2260 Quoted Macro in a test title,
2261 Macro in a test title,
2262 Macro with single-quote in a test title): New tests.
2263 (Macro with backquote in a test title,
2264 Macro with double-quote in a test title,
2265 Macro with backslash in a test title): New tests expected to fail.
2266 * tests/torture.at (#define header templates): M4-quote this title in
2267 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
2268 The visible effect was a stray [] in the testsuite output.
2270 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2272 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
2273 `trap ... 0' inside a function, for AIX sh.
2275 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
2277 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
2278 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
2279 5363) simply issues a warning when dividing by zero at compile
2280 time. Problem reported by Elias Pipping.
2282 2006-10-26 Eric Blake <ebb9@byu.net>
2285 * doc/autoconf.texi (Evaluation Macros): Improve the example to
2286 show effect on macros that expand with commas.
2287 Reported by Joel E. Denny.
2289 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2290 Also work with M4 1.4.8.
2292 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
2294 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
2297 2006-10-25 Stepan Kasal <kasal@ucw.cz>
2299 * tests/tools.at (autom4te --force): New test, verifies that
2300 `--force' always rewrites the output file.
2302 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
2304 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
2305 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
2307 2006-10-24 Stepan Kasal <kasal@ucw.cz>
2309 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
2311 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
2313 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2314 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
2315 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
2316 reported by Nelson H. F. Beebe for Coreutils 6.4.
2318 * tests/tools.at (autoconf --trace: user macros): Remove test
2319 for tracing multiline macros, since m4 1.4.7a uses a different
2320 way to number lines. Problem reported by Ralf Wildenhues.
2322 2006-10-24 Stepan Kasal <kasal@ucw.cz>
2324 * bin/autom4te.in (handle_m4): Do not redirect stdin to
2325 /dev/null since the heuristics for interactive behaviour was
2328 * bin/autom4te.in: With --force, always refresh the output
2329 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
2331 * bin/autoconf.as: Fix the verbose message at the end.
2333 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
2335 * configure.ac (AC_INIT): Bump to 2.60c.
2338 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
2340 * NEWS: Version 2.60b.
2342 Import this change from Texinfo:
2343 2006-10-15 Karl Berry <karl@gnu.org>
2344 * build-aux/texinfo.tex: automake 1.10
2346 * NEWS: Remove AC_CACHE_CHECK_INT.
2347 * doc/autoconf.texi (Caching Results): Likewise.
2348 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
2349 AC_CACHE_CHECK_INT, since it's no longer public.
2350 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
2351 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
2353 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2355 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
2357 2006-10-19 Eric Blake <ebb9@byu.net>
2359 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
2360 (m4_maketemp): Avoid warnings with M4 1.9a.
2361 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
2363 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
2366 2006-10-16 Eric Blake <ebb9@byu.net>
2368 * doc/autoconf.texi (Setting Output Variables): Fix typo.
2370 * bin/autoconf.as (version): Reword to match GNU Coding
2372 * bin/autoheader.in (version): Likewise.
2373 * bin/autom4te.in (version): Likewise.
2374 * bin/autoreconf.in (version): Likewise.
2375 * bin/autoscan.in (version): Likewise.
2376 * bin/autoupdate.in (version): Likewise.
2377 * bin/ifnames.in (version): Likewise.
2379 2006-10-14 Stepan Kasal <kasal@ucw.cz>
2381 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
2382 looking for special shell characters.
2383 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
2384 macro defined by AS_VAR_PUSHDEF before passing it as a
2386 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
2387 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
2388 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
2389 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
2390 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
2392 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
2394 * tests/m4sh.at (AS_LITERAL_IF): New test.
2396 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
2398 (Imported from Automake.)
2399 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
2400 which incorrectly sets the mode of an existing destination
2401 directory. In some cases the unpatched install-sh could do the
2402 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
2403 system. We hope this is rare in practice, but it's clearly worth
2404 fixing. Problem reported by Alex Unleashed in
2405 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
2406 Also, don't bother to check for -m bugs unless we're using -m;
2407 suggested by Stepan Kasal.
2409 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
2411 Import this change from Automake:
2413 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
2414 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
2415 is enabled by default with gnu and gnits strictness.
2416 Report from Bruno Haible.
2418 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
2419 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
2420 gnu and gnits modes.
2422 Import this change from Config:
2424 2006-09-20 Ben Elliston <bje@gnu.org>
2425 * build-aux/config.sub (score, score-*): New.
2427 Import this change from Gnulib:
2429 2006-09-16 Karl Berry <karl@gnu.org>
2430 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
2431 to avoid sectioning errors.
2433 Import these changes from Texinfo:
2435 2006-10-04 Karl Berry <karl@gnu.org>
2436 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
2437 (\quoteexpand): rename to \rquoteexpand.
2438 (\codequoteleft): new def, to look for @set codequotebacktick.
2439 (\lquoteexpand, \quoteexpand): new defs.
2440 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
2441 (\code): must use new \...Char values, since now ` is active.
2443 2006-08-26 Karl Berry <karl@gnu.org>
2444 * build-aux/texinfo.tex (\textdegree): New command.
2446 2006-08-12 Karl Berry <karl@gnu.org>
2447 * build-aux/texinfo.tex (error \box0): smaller font.
2449 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2451 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
2453 2006-10-13 Stepan Kasal <kasal@ucw.cz>
2455 * doc/autoconf.texi (Autoheader Macros): Warn that the text
2456 added to the template can get mangled.
2458 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2460 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
2461 include the default headers, and redefine obstack_chunk_alloc
2462 and obstack_chunk_free. Fixes false failure with glibc.
2464 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
2466 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
2467 for backward compatibility with Libtool 1.5.22. Problem reported
2470 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2472 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
2474 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
2476 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
2478 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
2479 the NonStop platform.
2480 * doc/autoconf.texi (Posix Variants): Likewise.
2481 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
2483 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
2484 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
2485 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
2486 Use a better substitute, by inspecting the output of "ls"
2487 rather than just using ":".
2488 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
2489 rather than AS_EXECUTABLE_P, since we needn't worry about
2490 non-regular files here.
2492 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
2493 due to configuration hassles with this. See Tonya Underwood's report
2494 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
2495 * doc/autoconf.texi (Special Shell Variables): Likewise.
2497 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
2498 Stepan Kasal <kasal@ucw.cz>
2500 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
2501 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
2503 2006-10-11 Stepan Kasal <kasal@ucw.cz>
2505 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
2506 initialization which is not inherited through the environment
2507 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
2508 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
2510 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
2512 * doc/autoconf.texi (Limitations of Usual Tools): Describe
2513 problems with mkdir -p -m.
2515 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
2517 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
2518 comment about ac_cpp_err; it was incorrect, and anyway
2519 ac_cpp_err is being removed below.
2520 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
2521 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
2522 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
2524 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
2525 with werror_flag and conftest.err and so forth. This is more
2526 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
2527 and anyway the user shouldn't normally want to see this gorp logged.
2528 Problem reported by Ralf Wildenhues.
2529 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
2530 empty, not 'no', since the rest of the code uses 'test -z'.
2532 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
2534 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2535 Use a single call to AC_DO_TOKENS rather than multiple, for
2537 (_AC_LINK_IFELSE): Test that resulting file is executable.
2538 Problem reported by mwoehlke in
2539 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
2541 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
2542 than creating a file to use with test -x; this is much faster.
2544 2006-10-02 Bruno Haible <bruno@clisp.org>
2546 * lib/autom4te.in (Automake-preselections): Add
2547 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
2549 2006-09-27 Stepan Kasal <kasal@ucw.cz>
2551 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
2552 standard error, `experr' should be used, not `expout'.
2554 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
2556 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
2557 fseeko testing program twice; just use the earlier result.
2558 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2559 Set cache var to 'unknown' (not 'no') if leaving the macro unset
2560 still doesn't let the program compile.
2561 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
2564 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
2565 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
2566 include it, without including anything else.
2567 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
2569 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
2571 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2573 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
2574 `error.h', and include it, for a `error_at_line' prototype.
2575 Use a nonempty format string in the link test.
2576 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
2577 for a declaration of wait3.
2579 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
2581 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
2582 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
2583 can apply to constants too, and that it checks for macro defns.
2584 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
2585 and simply cast the identifier to void. This handles structure
2586 values. Problem reported by Ralf Wildenhues.
2587 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
2589 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2591 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
2592 structure, and function symbols.
2594 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2596 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
2599 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
2601 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
2603 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2605 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
2606 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2608 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
2609 warnings (uninitialized value).
2610 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
2612 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
2614 (AC_STRUCT_TM): Likewise, avoid unused variables.
2616 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2618 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
2619 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
2620 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
2621 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
2622 Report by Olly Betts.
2624 2006-09-19 Eric Blake <ebb9@byu.net>
2626 * m4/m4.m4: Change copyright.
2627 * configure: Regenerate.
2628 * Makefile.in: Likewise.
2629 * bin/Makefile.in: Likewise.
2630 * doc/Makefile.in: Likewise.
2631 * lib/Makefile.in: Likewise.
2632 * lib/Autom4te/Makefile.in: Likewise.
2633 * lib/autoconf/Makefile.in: Likewise.
2634 * lib/autoscan/Makefile.in: Likewise.
2635 * lib/autotest/Makefile.in: Likewise.
2636 * lib/emacs/Makefile.in: Likewise.
2637 * lib/m4sugar/Makefile.in: Likewise.
2638 * man/Makefile.in: Likewise.
2639 * tests/Makefile.in: Likewise.
2641 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
2642 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
2643 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
2644 --error-output, to avoid warnings with M4 2.0.
2646 2006-09-19 Stepan Kasal <kasal@ucw.cz>
2648 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
2649 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
2650 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
2652 2006-09-15 Stepan Kasal <kasal@ucw.cz>
2654 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
2655 expansion of AC_CHECK_FUNCS.
2657 2006-09-14 Stepan Kasal <kasal@ucw.cz>
2659 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
2660 mistaken comment: the path has to be relative; do not use
2661 the path at runtime.
2663 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2665 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
2666 argument to `--prefix' for sub-configure scripts.
2667 Pass `--silent' to sub-configure scripts.
2668 * tests/torture.at (Configuring subdirectories): Add tests
2670 * doc/autoconf.texi (Setting Output Variables): Fix example to
2671 not show `--silent' being passed to a `configure' re-run.
2673 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
2675 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
2676 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
2677 for the existence of the directory at configure-time. That's
2678 too late, anyway. Problem reported by Stefan Seefeld.
2680 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
2681 7.1.4 /usr/bin/posix/sh described by Tim Rice in
2682 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
2684 2006-09-11 Stepan Kasal <kasal@ucw.cz>
2686 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
2687 works with GNU M4 1.4.3 again; make the normalized form
2688 match the current m4 message; fix the description.
2689 * test/tools.at (autom4te cache): Adapt to the change.
2691 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
2693 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
2694 to catch glibc bug 2821
2695 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
2697 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
2698 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
2699 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
2702 2006-09-08 Stepan Kasal <kasal@ucw.cz>
2704 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
2706 (Autoconf): ... here.
2707 (Autoscan-preselections): Delete.
2709 2006-09-07 Stepan Kasal <kasal@ucw.cz>
2711 * lib/autom4te.in (Automake-preselections): Preselect
2714 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
2716 * doc/autoconf.texi (Preset Output Variables): srcdir and
2717 top_srcdir are not necessarily relative. Problem reported
2720 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2722 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
2723 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
2724 accept files with extension `.f'. For consistency, also prefer
2726 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
2729 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
2731 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
2732 of ERLANG_LIB_VER_* variables.
2733 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
2736 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
2737 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2739 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
2740 bugs of Bash 2.01 and 2.05a.
2741 (Fortran Compiler): Document that AC_PROG_CC should be called
2742 before AC_PROG_FC, due to a bug in Autoconf.
2744 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
2746 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
2747 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
2748 except the first two arguments are reversed.
2749 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
2750 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
2751 caches nor outputs a diagnostic. Suggested by Bruno Haible.
2752 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
2753 equivalent to the old AC_COMPUTE_INT.
2754 (AC_COMPUTE_INT): No longer caches or reports. New signature.
2755 All uses changed to AC_CACHE_CHECK_INT.
2756 * tests/base.at (AC_CACHE_CHECK_INT): New test.
2757 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
2759 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
2761 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
2762 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
2763 programs should use their Gnulib counterparts.
2764 * doc/autoconf.texi (Particular Functions): Likewise.
2765 (Macro Names, testsuite Invocation): Replace uses of these
2766 obsolete macros with uses of non-obsolete macros.
2768 2006-08-29 Eric Blake <ebb9@byu.net>
2770 * configure.ac (AC_INIT): Bump to 2.60b.
2773 2006-08-28 Eric Blake <ebb9@byu.net>
2775 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
2776 mistakenly swapped on 2006-08-15.
2778 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
2780 * NEWS: Version 2.60a.
2782 2006-08-25 Stepan Kasal <kasal@ucw.cz>
2784 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
2785 file created by the PGI compiler.
2787 2006-08-25 Noah Misch <noah@cs.caltech.edu>
2789 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
2792 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
2794 Fix Lex library problem reported to us by Julio Garvia.
2795 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
2796 for the default, which the user can override.
2797 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
2799 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
2800 didn't work if some values were cached but not others. Test for
2801 broken lex libraries like native ia64-hp-hpux11.22; see
2802 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
2803 work around the problem by preferring an empty LEXLIB to -lfl or
2804 -ll. Let the user set LEXLIB='' to indicate no library needed.
2806 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
2808 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2810 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
2812 Rework to use more-modern build style.
2813 Many files are renamed; all uses of their names were changed.
2814 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
2815 * .x-sc_useless_cpp_parens: New file.
2816 * build-aux/config.guess: Renamed from config/config.guess. Update.
2817 * build-aux/config.sub: Renamed from config/config.sub. Update.
2818 * build-aux/elisp-comp: Renamed from config/elisp-comp.
2819 * build-aux/install-sh: Renamed from config/install-sh. Update.
2820 * build-aux/mdate-sh: Renamed from config/mdate-sh.
2821 * build-aux/missing: Renamed from config/missing.
2822 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
2823 * build-aux/vc-list-files: Renamed from config/vc-list-files.
2824 * config/Makefile.am: Removed.
2825 * config/mkinstalldirs: Removed.
2826 * config/move-if-change: Removed.
2827 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
2828 * Makefile.am (SUBDIRS): Remove config.
2829 (ACLOCAL_AMFLAGS): Include from m4, not config.
2830 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
2831 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
2832 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
2833 Fail if there's an error.
2834 * Makefile.cfg (move_if_change): Remove.
2835 (wget_files): Remove.
2836 (cvs_executable_files): New macro.
2837 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
2838 (executable-update): Use $(cvs_executable_files).
2839 (local-checks-to-skip): Remove.
2840 * Makefile.maint: Merge from coreutils, plus add our own changes
2841 (gzip_rsyncable): New macro.
2843 (CVS_LIST): Use build-aux/vc-list-files.
2844 (VERSION_REGEXP): New macro.
2845 (local-checks-available): Add patch-check, $(syntax-check-rules),
2847 (syntax-check-rules): Compute dynamically.
2848 (sc_cast_of_x_alloc_return_value): Work even if no source files.
2849 (sc_cast_of_alloca_return_value): Likewise.
2850 (sc_prohibit_atoi_atof): Simplify regexp.
2851 (sc_no_if_have_config_h, sc_require_config_h):
2852 (sc_prohibit_assert_without_use,
2853 (sc_obsolete_symbols): Check for O_NDELAY.
2854 (sc_texi_notab): Remove.
2855 (sc-changelog): Don't make an exception for '----' lines.
2856 (.re-list): Remove, so we don't have a junk file behind.
2857 (sc_system_h_headers): Remove the need for .re-list.
2858 (sc_the_the): New rule.
2859 (sc_tight_scope): Simplify.
2860 (sc_trailing_blank): Renamed from sc_trailing_space.
2861 (longopt_re): New macro.
2862 (sc_two_space_separator_in_usage): New rule.
2863 (sc_unmarked_diagnostics): Look at all files under CVS.
2864 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
2865 (news-date-check, changelog-check): Version is OK.
2866 (po-check): Look for lib files even if not in CVS.
2867 (copyright-check): Use $() not ``.
2868 (maintainer-distcheck): Do not depend on changelog-check.
2869 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
2870 Also check for -Wpointer-arith.
2871 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
2872 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
2874 (announcement): Add --gpg-key-id arg.
2876 (move_if_change): Just use mv.
2877 (local_updates: Remove wget-update, po-update.
2878 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
2879 (config.guess-url_prefix, config.sub-url_prefix): Remove.
2880 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
2881 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
2882 ($(get-targets)): Remove.
2883 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
2884 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
2885 (cvs-update): Get from gnulib.
2886 (emut_upload_commands): gnupload is in build-aux now.
2887 (alpha beta major): Add changelog-check. Check version.
2888 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
2889 (AC_CONFIG_FILES): Remove.
2890 * bin/autoconf.as: Add spaces to avoid distcheck warning.
2891 * config/announce-gen: Sync from coreutils.
2892 * doc/make-stds.texi: Sync from gnulib.
2893 * doc/standards.texi: Likewise.
2894 * man/Makefile.am: Adjust for config -> build-aux renaming.
2895 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
2896 * tests/local.at: Adjust from config -> build-aux renaming.
2897 * tests/tools.at: Likewise.
2898 * tests/torture.at: Likewise.
2900 * NEWS: The C99 check now tests for vararg macros and 64-bit
2902 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
2903 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
2904 64-bit preprocessor ints. Check for static initialization of
2905 long long. Remove unnecessary casts.
2907 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2909 * doc/autoconf.texi (Particular Programs): Mention that
2910 @INSTALL@ and @MKDIR_P@ may vary for different output files.
2911 Reported by Alexandre Duret-Lutz.
2913 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
2915 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
2916 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
2918 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
2920 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
2922 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
2923 pacify insanely picky compilers. Problem reported by Eric Blake.
2925 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
2926 longer supported by Sun.
2928 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
2930 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
2931 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
2932 -Wundef -Werror". Problem reported by David Fang in
2933 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
2934 * doc/autoconf.texi (Header Templates, Default Includes):
2935 (Particular Functions, Generic Functions, Header Portability):
2936 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
2937 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
2938 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
2939 Prefer #ifdef to #if.
2940 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
2941 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
2942 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2943 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
2945 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2946 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
2947 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
2948 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2949 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
2950 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
2953 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
2955 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
2956 problems with arg script text that doesn't end in newline, and
2957 with '-e a...'. Problems reported by Ralf Wildenhues.
2959 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
2961 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
2962 check for libXt by a check for libX11.
2964 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2966 * doc/autoconf.texi (config.status Invocation): Adjust according
2969 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2971 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
2972 --help' should mention that `--version' outputs configuration
2973 settings. Report by Bruno Haible.
2975 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
2977 Fix test suite failures reported by Pierre in
2978 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
2979 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
2980 the compiler created a file "b.out" when it didn't create anything
2982 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
2983 Discard stderr too, when invoking the test script.
2985 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
2987 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
2988 in the restoring of the werror flag.
2990 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
2992 * doc/autoconf.texi (Volatile Objects): Be even a little
2993 less skeptical about "volatile", after discussion with
2994 Bruno Haible on bug-gnulib.
2995 (Limitations of Usual Tools): Warn about sed stripping
2996 leading white space from text. From Bruno Haible.
2998 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
3000 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
3001 compiler complains about it, even if things works after the
3002 complaint. Problem reported by Peter O'Gorman.
3004 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
3005 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
3006 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
3008 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
3010 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
3011 after -R regardless of host. Patrick Welche reports that this
3012 fixes things on NetBSD 3.99.
3014 * NEWS: Recommend M4 1.4.5.
3016 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
3017 * tests/tools.at (autom4te cache): Update wording of diagnostic
3020 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
3022 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
3023 under AC_C_VOLATILE.
3024 (Volatile Objects): Be a little less skeptical about what
3025 "volatile" means. Derived from thoughts by Ben Pfaff in
3026 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
3028 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3030 * doc/autoconf.texi: Fix some typos.
3032 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
3034 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
3035 more globally, since the 2006-06-30 patch didn't suffice. Problem
3036 reported by Keith Marshall. Also, don't bother with builddir2,
3037 since it shouldn't be needed any more.
3039 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
3041 * doc/autoconf.texi (Generic compiler characteristics):
3042 Document AC_COMPUTE_INT. Fix wrong statements on Default
3043 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
3045 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
3046 (_AC_COMPUTE_INT): Add obsoletion warnings.
3047 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
3050 * NEWS: Document change.
3052 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
3054 * doc/autoconf.texi (Volatile Objects): New section.
3056 * NEWS: Document previous change.
3058 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
3060 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
3061 Require that long long int be at least 64 bits wide. C99 requires
3062 this and enough programs depend on it so we should check for it.
3063 Bruno Haible reports in
3064 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
3065 that long long int is 32 bits wide with some nonstandard compilers.
3066 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
3068 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
3070 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
3071 to a nonexistent file, so that we don't have to worry about
3072 a local site configuration that doesn't use /usr/local.
3073 Problem reported by Keith Marshall in
3074 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
3076 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
3078 * doc/autoconf.texi: Be more consistent about using @acronym with
3079 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
3080 quite right (it talked about "OSF/Tru64", even though the
3081 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
3082 and it even mentioned "OSF 4"!) and at this point there's little
3083 reason to talk about OSF any more, since it died in 1994.
3084 (Specific Compiler Characteristics): Simplify example of
3085 negative-size array.
3086 (File Descriptors): Reorder to make the text flow better.
3087 Remove joke about "appreciate the various levels"; I didn't get it.
3088 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
3089 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
3090 (File Descriptors, Limitations of Usual Tools):
3091 Tone down the advice against renaming or removing open files.
3092 (Limitations of Usual Tools): Add a new section, on 'rm'.
3094 2006-06-26 Stepan Kasal <kasal@ucw.cz>
3096 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
3097 -lXt in LIBS, idea from Karsten Hopp; this was due since
3100 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
3101 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
3102 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
3103 (which belong to Xt, not X itself). See Debian bug 327655.
3105 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3107 * configure.ac (AC_INIT): Bump to 2.60a.
3110 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3114 * configure.ac, NEWS: Update.
3116 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3118 * config/texinfo.tex: Sync from upstream.
3120 * bin/autom4te.in (handle_traces): Transform the `@S|@'
3121 quadrigraph correctly in traces.
3123 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
3126 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
3127 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
3129 * doc/autoconf.texi (Changed Directory Variables): New node,
3130 to document the whole `datarootdir' business a bit better.
3132 * tests/torture.at (datarootdir workaround): Extend test.
3133 Prompted by report by Alexandre Julliard.
3135 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
3137 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
3138 when using default mode of IBM C 6 for AIX. Problem and two-line
3139 fix reported by Larry Jones.
3141 2006-06-22 Alexandre Julliard <julliard@winehq.org>
3143 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
3144 about literal '${datarootdir}' if a definition is found in the
3147 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
3149 * NEWS: Use "M4" rather than "m4" when appropriate.
3150 Problem reported by Eric Blake.
3151 * doc/autoconf.texi: Likewise.
3152 Use @acronym around BSD, GCC, and GNU when appropriate.
3153 (Why GNU M4): Renamed from "Why GNU m4".
3154 (Redefined M4 Macros): Mention that Posix
3155 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
3156 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
3159 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3161 * bin/autom4te.in (handle_output): Do not forbid the empty
3163 * tests/tools.at (autoconf: the empty token): New test.
3165 2006-06-20 Stepan Kasal <kasal@ucw.cz>
3167 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
3168 calls, so that we do not care whether they are LIFO or FIFO;
3169 in the m4_wrap, do not check which diversion is the topmost
3170 one, just check that the stack is balanced at the end.
3171 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
3172 base diversion forever--pop the previous diversion before
3173 opening the new one; consequently, remove the m4_wrap call.
3174 * lib/autotest/general.m4 (AT_INIT): Likewise.
3175 * tests/m4sugar.at: Do not use
3176 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
3178 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
3179 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3181 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
3182 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
3183 Rework example of m4wrap token-pasting trouble so that it doesn't
3184 care whether it's LIFO or FIFO.
3185 Fix some "contrary to"s that are awkward in English.
3187 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3189 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
3190 to `yes' instead of `int$1_t' if the type is found, for more
3191 consistent configure output (where $1 is the number of bits).
3192 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
3193 Suggested by Bruno Haible.
3195 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
3196 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
3197 with system headers. Report by Bruno Haible.
3199 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3201 * config/config.guess, config/config.sub: Sync from upstream.
3203 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
3204 in order to avoid picking up an older installed frozen m4sh.m4f.
3205 Besides an outdated shell startup, this could have been created
3206 by an earlier M4 version with incompatible frozen file format.
3208 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
3210 * README: Recommend m4 1.4.4 instead of 1.4.3..
3211 * doc/autoconf.texi: Likewise.
3212 (Special Chars in Names): Say that $(.FOO) is portable, as
3213 suggested by Stepan Kasal.
3214 (Installation Directory Variables, Build Directories):
3215 (Automatic Remaking, Subdirectories, Fortran Compiler):
3216 (Making testsuite Scripts, Defining Directories):
3217 Quote variable usages better.
3218 (Making testsuite Scripts): Add clean-local rule to makefile
3219 snippet, by Eric Blake.
3220 (Installation Directory Variables): Fix table item font.
3221 Reword slightly to clarify. Generalize advice about
3222 not using special characters to include all file-related
3223 vars, not just VPATH.
3224 (Special Chars in Variables): Warn about special characters in
3226 (Assignments): Clarify default-value example as suggested by
3228 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
3229 (Special Shell Variables): Note leading ./ or ../, as suggested
3231 (Limitations of Builtins): Under cd, warn about CDPATH.
3232 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
3235 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3237 * doc/autoconf.texi (Configuration Actions): Remove duplicate
3238 `@var', for texi2html.
3239 (Systemology): Some more word wrapping, for DVI output.
3240 (autom4te Invocation): The short option for `--melt' is `-M',
3243 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
3245 * doc/autoconf.texi: More formatting and English tweaks,
3246 many suggested by Ralf Wildenhues.
3247 Reword to avoid "@code{...}'s" and the like, since it's ugly
3248 with Emacs info mode. discontents -> woes.
3249 Put a few "will"s back. time stamp -> timestamp.
3250 side-effect -> side effect.
3252 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
3254 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
3255 Warn about $@ not persisting. Problem reported by Julien Danjou in
3256 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
3257 (Special Chars in Names): Renamed from Leading _ in Macro Names.
3258 Mention other special chars, too.
3260 2006-06-14 Eric Blake <ebb9@byu.net>
3262 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
3264 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
3266 * doc/autoconf.texi: Some systematic minor improvements, as
3267 follows. Use "makefile" when talking about makefiles
3268 generally (which might be named "makefile" or "Makefile" or even
3269 "foo.mk"), "Makefile" when talking about a specific makefile
3270 called "Makefile". This unclutters the text from weird quotes
3271 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
3272 values" rather than "@var{foo}s" and similar constructs containing
3273 "}s". Use "Make rules" rather than "Makefile rules". Minor
3274 English-language improvements. Change the prefix "sub-" to "sub"
3276 Put blank lines around examples more consistently.
3277 Avoid "rather" and "very" as intensifiers.
3278 Avoid "will" as an auxiliary.
3279 (Limitations of Make): Split this node into....
3280 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
3281 (Leading _ in Macro Names, Backslash-Newline-Newline):
3282 (Backslash-Newline Comments, Long Lines in Makefiles):
3283 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
3284 (obj/ and Make, make -k Status, VPATH and Make):
3285 (VPATH and Double-colon, $< in Explicit Rules):
3286 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
3287 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
3288 New nodes, resulting from splitup of Limitations of Make.
3289 All cross-references changed. Raise the top node from
3290 a section to a chapter, and all subnodes accordingly.
3291 Redo the introductory wording to match the new organization.
3292 (Installation Directory Variables): Use an example that is
3293 closer to what Autoconf actually does. Mention that VPATH's
3294 value should not contain metacharacters or white space.
3295 (Fortran Compiler): Fix a VPATH bug in an example.
3296 (Leading _ in Macro Names): Mention that this problem is no longer
3297 of practical concern.
3298 (VPATH and Make): Reword the advice to make it clearer
3299 that Autoconf and Automake support VPATH in non-GNU make, but
3300 many packages have bugs in this area.
3301 ($< in Explicit Rules): Refer to Build Directories rather
3302 than using a (non-VPATH-safe) example.
3303 (Automatic Rule Rewriting): Mention the sort of disaster that
3304 can ensue with Solaris-style rule rewriting with VPATH.
3306 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3308 * doc/install.texi (Compilers and Options): Weaken the
3309 suggestion to use GNU make for VPATH builds.
3311 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
3312 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
3314 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
3315 in regular expression.
3317 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3319 * doc/autoconf.texi (Installation Directory Variables):
3320 Drop extra @samp from `@table @samp' item.
3321 (Limitations of Usual Tools): Comment fix.
3322 Do not nest @samp just to point to other table items.
3323 (Writing testsuite.at) <AT_CHECK>: The second argument to
3324 `@dvar' is already @samp'ed.
3325 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
3326 do not use @var in the second argument.
3328 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
3330 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
3331 $as_shell.exe too. Problem reported by Andreas Buening in
3332 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
3334 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3336 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
3337 `unused variable' compiler warning, for `-Wall -Werror'.
3338 Reported by Jaap Haitsma in
3339 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
3341 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
3343 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
3344 case the compiler dumps core. Problem reported for
3345 OpenServer 5.0.7 by Tim Rice in
3346 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
3347 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
3350 2006-06-06 Tim Rice <tim@multitalents.net>.
3352 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
3353 "ERROR" only shows up in "make check" output if there is an
3356 2006-06-06 Eric Blake <ebb9@byu.net>
3358 * tests/tools.at (automatically allowed tokens): Fix typo.
3360 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3362 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
3364 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
3365 typically overflows on x86 CPUs, even though the C standard
3368 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3370 * configure.ac (AC_INIT): Bump to 2.59e.
3373 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3377 * config/texinfo.tex: Sync from upstream.
3379 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
3380 seen, invoke libtoolize with `--ltdl' argument.
3381 * lib/autom4te.in (Autoreconf-preselections): Adjust.
3383 Suggested by Eric Blake.
3385 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3387 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
3388 reported by Ralf Wildenhues.
3389 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
3391 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3395 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3397 * doc/autoconf.texi: Modernize some of the references to Solaris.
3399 2006-06-05 Stepan Kasal <kasal@ucw.cz>
3401 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
3402 message issued by AC_REQUIRE.
3403 * tests/m4sugar.at: Check m4_require's error message.
3404 * tests/base.at: Check AC_REQUIRE's error message.
3405 * tests/local.at (AT_CHECK_M4): New macro, almost identical
3407 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
3409 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
3410 `expout' as the last parameter.
3411 * tests/tools.at: Adapt to the above change.
3413 2006-06-04 Stepan Kasal <kasal@ucw.cz>
3415 * doc/autoconf.texi (Limitations of Usual Tools): Correct
3416 information about race-free implementations of mkdir.
3418 2006-06-04 Eric Blake <ebb9@byu.net>
3420 * bin/autoreconf.in (help): Document M4 environment variable.
3421 * bin/autoconf.as (Usage): Likewise.
3422 * bin/autom4te.in (help): Likewise.
3423 * doc/autoconf.texi (autom4te Invocation): Likewise.
3425 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
3427 * NEWS: GNU make now recommended for VPATH builds.
3428 Mention that some macros are now documented to be obsolescent.
3429 * doc/autoconf.texi:
3430 Prefer "current" to "modern" to describe
3431 currently-used (albeit perhaps old-fashioned) hosts.
3432 Mention which ancient features no longer need to be worried about.
3433 setgid -> set-group-ID
3434 setuid -> set-user-ID (these are the Posix terms)
3435 Fix some misuses of "only".
3436 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
3437 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
3438 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
3439 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
3440 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
3441 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
3442 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
3443 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
3444 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
3445 Mention that these macros are obsolescent.
3446 (Installation Directory Variables): shall -> should
3447 (File Descriptors): Mention that 0, 1, 2 might get reopened.
3448 Mention that it's now safe to use 3 and 4.
3449 (Limitations of Usual Tools): cp -r is now specified by Posix.
3450 Omit longwinded and obsolescent discussion of cp -f.
3451 Modernize discussion of expr, ls.
3452 (Limitations of Make): Modernize discussion of VPATH builds.
3453 Mention $? as a workaround in some cases.
3454 * doc/install.texi (Basic Installation):
3455 Mention "./configure; make; make install" first. Be more
3456 specific about why this file is generic. Remove unnecessary
3457 parens. Remove misleading "only". Remove obsolete advice
3458 about csh. Don't say "configure" takes awhile; say it
3459 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
3460 and CC=c99 rather than CC=c89, as these are blessed by current
3461 Posix. Recommend GNU make if doing a VPATH build.
3463 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
3465 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
3466 examples involving shell prompts.
3468 2006-06-02 Stepan Kasal <kasal@ucw.cz>
3469 and Paul Eggert <eggert@cs.ucla.edu>
3471 * doc/autoconf.texi (Here-Documents): Add details about the
3472 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
3473 use "here-documents" instead of "here documents".
3475 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3477 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
3479 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
3481 * doc/autoconf.texi (File System Conventions): Warn about ":"
3482 anywhere in directory names.
3484 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
3486 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
3487 about quoting the case statement, just in case.
3488 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
3489 was fixed in ksh93g; reported by Ralf Wildenhues.
3491 2006-05-31 Stepan Kasal <kasal@ucw.cz>
3493 * doc/autoconf.texi (System Services): Do not document
3494 overriding EXEEXT via ac_cv_exeext=ext.
3495 (Particular Programs) <AC_PROG_MKDIR_P>:
3496 Document that ${MKDIR_P} understands --.
3497 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
3500 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3502 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
3503 argument with leading hyphen. Problem reported by Paul Eggert.
3505 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
3507 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
3508 about quoting ac_try: quote all of it, if any of it seems suspicious.
3509 This means we don't have to worry about ${ or sed any more.
3510 Also, double-quote the case statement, to work around misuses via
3511 underquoting as reported by Ralf Wildenhues in
3512 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
3513 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
3514 undocumented and dangerous macro.
3515 Problem reported by Ralf Wildenhues in
3516 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
3518 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3520 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
3521 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
3522 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
3524 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
3526 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
3527 since evidently some packages rely on the old, broken behavior.
3528 Problem reported by Ralf Wildenhues in
3529 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
3530 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
3531 pre-2006-05-26 definitions, but leave in the comments that
3532 these macros are dangerous and should not be used.
3533 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
3534 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
3535 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
3536 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
3537 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
3539 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
3541 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
3542 the use of 'tr', since this is our only use of 'tr'.
3544 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3545 and Paul Eggert <eggert@cs.ucla.edu>
3547 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3548 Don't assume 'grep' works on long lines, since AIX grep doesn't.
3550 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3552 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
3553 the output file in the `${datarootdir}' test.
3555 2005-05-28 Stepan Kasal <kasal@ucw.cz>
3556 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3558 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
3559 mention of `datarootdir' in the input file(s), but literal
3560 `${datarootdir}' in the output file, and we haven't warned yet,
3561 then warn as well: the user may have (erroneously) used
3562 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
3563 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
3564 * tests/torture.at (datarootdir workaround): Extend this test.
3567 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3568 and Paul Eggert <eggert@cs.ucla.edu>
3570 * doc/autoconf.texi (autoheader Invocation): The first argument to
3571 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
3572 alternatives and clear up the language a bit.
3574 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
3576 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
3577 ac_config_guess, ac_config_sub, ac_configure.
3578 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3579 Fix typo that prevented an unnecessary space from being removed.
3580 Problems reported by Ralf Wildenhues in:
3581 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
3583 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
3585 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
3586 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
3587 Don't use the term "thread-safe" to talk about mkdir race
3588 conditions, since the problem is more a process than a thread
3589 issue. Problem reported by Stepan Kasal in:
3590 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
3591 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
3592 the test for 'install' more closely. Look at MKDIR_P first.
3593 Look in the PATH, and at /opt/sfw/bin.
3594 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
3595 Don't bother to try mkdir -p, since we already check mkdir --version;
3596 just look at the version number. (There's no easy way to check
3597 for race-free implementations.)
3598 * tests/tools.at (autoconf: subdirectories): Adjust to above
3599 changes, since MKDIR_P now might end in "/mkdir -p".
3601 * doc/autoconf.texi (autoheader Invocation): Mention that the
3602 first arg of AC_DEFINE_UNQUOTED must be a literal.
3603 Problem reported by Ben Pfaff in
3604 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
3606 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
3607 * doc/autoconf.texi (Special Chars in Variables): New section.
3608 (Preset Output Variables): Warn about special chars in CPPFLAGS.
3609 (Installation Directory Variables): Quote $(datadir) better.
3610 (Limitations of Builtins): Describe some of eval's trickiness.
3612 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
3613 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
3614 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
3615 in front of every arg, not just trailing args. Quote apostrophes.
3616 (_AC_EVAL_ECHO): New macro.
3617 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
3618 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
3620 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
3621 exposed by quoting of eval argument. Put the command on line line
3623 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
3624 (_AC_PATH_X, AC_PATH_X): Quote more safely.
3625 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
3626 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
3627 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
3628 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
3629 Use eval more safely.
3630 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
3631 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
3633 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
3634 lines, exposed by quoting of eval argument.
3636 2006-05-26 Stepan Kasal <kasal@ucw.cz>
3637 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3639 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
3640 initialization of `ac_cv_exeext', do not override it if it was
3641 already set, unless it was set to `no', for compatibility with
3642 Autoconf-2.13, and comment this.
3643 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
3644 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
3645 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
3646 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
3647 Document that this test may be overridden by setting
3650 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3652 Revert these two patches:
3654 2006-04-06 Eric Blake <ebb9@byu.net>
3655 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3656 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
3659 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3660 Clean up _AC_COMPILER_EXEEXT* macros.
3661 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3662 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3663 ac_file to the name of the default output file and call
3664 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
3665 initial `rm' of the candidate files...
3666 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
3667 the same list in subsequent `rm' calls, and for the temporary
3668 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3669 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3670 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3671 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3672 no longer needed) by libtool. Make it a cache check.
3673 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3674 copied here by mistake.
3675 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3676 _AC_COMPILER_EXEEXT.
3677 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3678 _AC_COMPILER_OBJEXT directly.
3679 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3681 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3683 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
3684 Fix description of how the buggy `sed' works.
3686 2006-05-25 Noah Misch <noah@cs.caltech.edu>
3690 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
3691 ENOLCK. Only mention `make -j' when applicable. Only raise
3692 fatal errors when `make -j' is involved. Improve error message.
3694 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3696 * doc/autoconf.texi (Here-Documents): We now know more about
3697 the variable expansion in here documents bug.
3698 Thanks to Tim Rice and Stepan Kasal.
3700 * doc/autoconf.texi (Making testsuite Scripts): Add an example
3701 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
3703 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3705 * tests/autotest.at (Multiline command from M4 expansion):
3706 No failure to be expected if the shell quotes newlines in
3707 commands in the `set -x' output. Report by Tim Rice.
3710 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
3712 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
3713 expansion in the here-documents used by config.status, as that
3714 runs afoul of the Korn shell version M-12/28/93d bug described in
3715 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
3716 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
3717 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
3719 2006-05-23 Jim Meyering <jim@meyering.net>
3721 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
3722 Fix typo introduced with 2006-04-02 change. It reversed the sense
3725 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
3727 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
3728 ac_dB slightly, to save bytes in the script.
3729 Max out at 50 lines, rather than 96; this is more likely
3730 (though not guaranteed) to avoid obscure 'sed' failures.
3732 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3734 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
3735 `tr -d -' as bad option argument. Work around this by deleting
3736 an unrelated character.
3737 Report by Tim Rice <tim@multitalents.net>.
3739 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
3740 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
3741 Stepan Kasal <kasal@ucw.cz>
3743 * doc/autoconf.texi (Particular Programs): Do not promise that
3744 we always prefer the GNU version of the program, and that we
3745 search according to PATH; both rules can have exceptions.
3746 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
3747 AC_PROG_SED. Move descriptions of limitations
3748 to the Limitations of Usual Tools section.
3749 (Limitations of Usual Tools) <sed>: Mention script length
3750 limitations with Solaris /usr/ucb/sed.
3751 <grep>: Fix wording for empty alternative. Mention that -c and
3752 -l should not be combined, and that -E and -F should not be
3755 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3756 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3758 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
3759 limits in Solaris 8 /usr/ucb/sed by testing a long script.
3761 2006-05-22 Stepan Kasal <kasal@ucw.cz>
3763 * doc/autoconf.texi (Defining Symbols): Literal parameter of
3764 AC_DEFINE is now passed to m4_pattern_allow.
3765 * NEWS: Mention that; likewise for AC_SUBST.
3766 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
3767 the parameter to m4_pattern_allow.
3768 * tests/tools.at: Add a check for that.
3770 2006-05-22 Stepan Kasal <kasal@ucw.cz>
3772 * lib/autoconf/status.m4: Fix typos.
3774 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3776 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3777 only the files that this macro generates.
3779 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3781 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
3782 the HP-UX sed limitation of 99 commands, labels do not count.
3783 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
3785 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
3787 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3789 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
3790 Import the following fix from coreutils:
3792 2006-01-13 Jim Meyering <jim@meyering.net>
3794 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
3795 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
3796 not double-quote uses of that variable, to accommodate the rare
3797 case in which getmntent is available in none of the libraries
3798 checked. This happens at least on FreeBSD 5.0.
3800 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
3802 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
3803 ac_config_guess, ac_config_sub, and ac_configure, since evidently
3804 some other programs unwisely rely on these undocumented vars.
3805 But put in warning comments about them.
3806 Problem reported by Ralf Wildenhues in
3807 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
3808 * NEWS: Document that these variables are intended to go away.
3810 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3812 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
3813 and set the language to C++ (analogous to the equivalent Fortran
3816 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
3817 * doc/autoconf.texi (C++ Compiler): Document it.
3818 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
3821 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
3823 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
3824 that caused config.status to generate 100-command sed scripts; the
3825 portable limit is 99.
3827 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3829 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
3830 variable `ac_d' instead of `d' to avoid infringing namespace.
3831 Report by Ralf Menzel.
3833 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
3835 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
3836 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
3837 * tests/tools.at (autoconf: subdirectories): New test, taken from
3838 the corresponding problem report by Ralf Wildenhues in:
3839 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
3841 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
3842 Quote some uses of shell variables if they might suffer unexpected
3843 globbing. This doesn't fix all instances of quoting problems that
3844 I found, just the easy ones that look safe.
3845 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
3846 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
3847 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
3848 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
3849 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
3850 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3851 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
3853 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
3854 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
3856 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3858 * bin/autoreconf.in ($help): Reword according to the manual.
3859 Suggested by Olly Betts.
3861 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
3862 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3864 * bin/autoreconf.in: Pass the directory argument to
3865 `require_configure_ac'. Fix comment.
3866 * tests/torture.at (Configuring subdirectories): Expose this.
3867 Reported by Olly Betts.
3869 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3871 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
3872 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
3873 Automake as follows:
3875 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
3876 `$configure_in' instead of `configure.in', to preserve
3877 directory component.
3879 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3881 * config/config.guess, config/config.sub, config/texinfo.tex,
3882 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
3884 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
3886 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
3887 test for C99 conformance; (bool) 0.5 is an integer constant
3888 expression, but (bool) -0.5 is not. Problem reported by Fedor
3889 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
3891 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
3893 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
3894 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
3895 Warn about obsolete install-sh files. Remove stray sentence
3896 fragment and fix cross reference.
3897 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
3898 install -d; this undoes the 2006-05-10 change.
3899 (MKDIR_P): Mark with AN_MAKEVAR.
3900 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
3901 that we don't require $INSTALL to be thread-safe. Move comments
3902 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
3903 of AC_PROG_INSTALL. Output a message saying that we're checking
3904 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
3905 MKDIR_P instead of AC_SUBST.
3906 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
3907 Special magic for MKDIR_P, too.
3908 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
3910 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
3912 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
3914 Sync from Automake, as follows:
3916 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3917 * config/install-sh: Initialize IFS, so field splitting isn't
3919 * config/mkinstalldirs: Likewise.
3920 * config/missing: Remove superfluous quotes. Replace all uses of
3921 `[' by `test', for consistency, and for..
3922 * config/missing (sed_minuso, sed_output): New variables.
3923 (autom4te, help2man, makeinfo): Use them. Unifies detection of
3924 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
3925 Fixes `missing' to detect `--output' for help2man. Fixes
3926 PR automake/483. Report by Dennis J. Linse.
3927 (autom4te): Document in `missing --help'.
3929 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
3931 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
3932 * config/install-sh: Don't use 'path' to talk about file names,
3933 as per GNU coding standards. Close a race condition reported by Ralf
3934 Wildenhues and Stepan Kasal. There is still a race condition
3935 on hosts that predate Posix 1003.1-1992, but we can't help this.
3936 Don't mishandle weird characters like space on pre-Posix hosts.
3937 Invoke mkdir at most once per dir arg on pre-Posix hosts.
3938 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
3939 AC_PROG_MKDIR_P from AS_MKDIR_P.
3940 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
3941 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
3942 earlier editions are not (including Automake 1.8.3).
3943 Do not suggest mkinstalldirs for thread-safety.
3944 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
3945 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
3946 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
3947 presence of special characters and race conditions.
3948 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
3949 in Autoconf's name space.
3951 2006-05-10 Bruno Haible <bruno@clisp.org>
3952 and Paul Eggert <eggert@cs.ucla.edu>
3954 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
3955 from Automake with minor changes.
3956 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
3958 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
3960 * config/install-sh: Update to Automake CVS version, as follows:
3961 2006-04-25 Stepan Kasal <kasal@ucw.cz>
3962 * lib/install-sh: Simplify the expr implementation of dirname.
3963 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
3964 * lib/install-sh: Handle --, and diagnose unknown options.
3966 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3968 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
3969 `./autom4te' to create `./testsuite', since the `all' target
3970 will ensure its presence, but `installcheck' should not create
3971 the uninstalled wrappers.
3973 * tests/torture.at (Unusual Automake input files): Skip if we
3974 detect automake < 1.8.
3976 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3978 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
3979 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
3980 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
3983 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3985 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
3986 munge (multiple) white space and other oddities.
3987 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
3988 single quotes in variable assignment.
3989 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
3990 and similar failures by adding multiple spaces, tabs, and other
3992 Report and different test suggested by Francesco Romani
3993 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
3995 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
3996 single quotes, we only need to search for single quotes; this
3997 both simplifies the search pattern, and makes us less
3998 susceptible to `echo' variations for arguments not containing
4000 (_AC_ARG_VAR_VALIDATE): Likewise.
4002 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4004 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
4005 `$*' and IFS concatenation issue with traditional shells and
4006 bash-2.04. Report by Seanster@Seanster.com.
4008 2006-05-03 Bruno Haible <bruno@clisp.org>
4010 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
4011 precisely which Mac OS X versions have the od problem.
4013 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
4015 * doc/autoconf.texi: Use @option systematically.
4017 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
4018 and Bruno Haible <bruno@clisp.org>
4020 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
4022 (Integer Overflow): Mention the special case of integer division
4025 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4027 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
4028 traditional shells like the Solaris one that do not use the
4029 first IFS character for assembling `$*'.
4030 Prompted by a related report from autoconf_bug@nro.ca.
4032 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
4033 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4035 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
4036 Mention more problems with the -e option.
4038 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4041 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
4043 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
4044 in URLs to improve DVI formatted output (requires texinfo 4.6).
4045 (System Services, Systemology, Shellology): Likewise.
4046 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
4049 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
4051 (Runtime): Fix macro argument names to match description:
4052 `action-if-found' -> `action-if-true' and similarly.
4053 (Obsolete Macros): Likewise.
4054 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
4055 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
4056 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
4058 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4060 * doc/autoconf.texi (Limitations of Make): Clean up markup.
4063 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
4066 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4068 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
4069 /bin/sh set unsorted output.
4070 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
4071 * tests/local.at: Likewise.
4073 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
4075 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
4076 (Integer Overflow, Null Pointers, Buffer Overruns):
4077 (Floating Point Portability, Exiting Portably): New sections.
4078 (Writing Test Programs): Fix some langauge. Recommend exiting
4079 with status 1, not merely nonzero. Clarify exit declaration.
4080 (Run Time): Move C exit status stuff to new Exiting Portably section.
4081 (Systemology): Mention Posix and levenez. Update v7 reference.
4082 (Portable Shell): Mention the Posix shell.
4084 2006-04-25 Stepan Kasal <kasal@ucw.cz>
4086 * bin/autoconf.as (me): Replace by as_me.
4088 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
4090 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
4091 since as_me isn't set yet.
4093 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
4095 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
4096 a few minor bugs in this area.
4098 * doc/autoconf.texi (Programming in M4sh): Comment out the
4099 documentation of AS_BASENAME, for now.
4100 (Shell Substitutions): Do not use AS_DIRNAME in an example.
4101 (Limitations of Builtins) <basename>: Do not refer to
4103 * bin/autoconf.as (me): Don't use AS_BASENAME.
4104 (dir): Remove the unused variable.
4105 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
4106 AS_DETECT_REQUIRED. All uses changed.
4107 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
4109 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
4110 (AS_BASENAME): Use "basename --" to protect against leading "-".
4111 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
4112 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
4113 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
4114 (_AS_DIRNAME_PREPARE): Likewise.
4115 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
4116 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
4117 (AS_DIRNAME): Use "dirname --".
4119 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
4121 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
4122 of "run time" and "run-time" changed to "runtime", for consistency.
4123 * lib/autoconf/fortran.m4: Likewise (in comment).
4124 * lib/autoconf/functions.m4: Likewise.
4125 * lib/autoconf/general.m4: Likewise.
4126 * lib/autoconf/headers.m4: Likewise.
4128 * doc/autoconf.texi (Run Time): Document the exit status situation
4129 with more accuracy and detail.
4131 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4133 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
4134 Archive is not officially `GNU' any more. Update URL.
4135 (Defining Directories): Likewise
4136 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
4138 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4140 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
4141 newline from the `trap' code to finish `config.log'; the NetBSD
4142 /bin/sh resets the exit status after an empty command, as
4143 documented in doc/autoconf.texi.
4144 Reported by Dalibor Topic <robilad@kaffe.org>.
4146 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
4148 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
4149 Suggested by Bruno Haible.
4151 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
4153 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
4154 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
4155 Instead, just list the shells that we know work.
4156 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
4157 changed. Be more cautious about the _cv_ variable.
4158 * tests/tools.at (Syntax of the shell scripts): Check the
4159 _cv_ variable once, at first, to avoid an internal autoconf error
4160 when sh -n does not work.
4162 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4164 * lib/Autom4te/FileUtils.pm: Sync from Automake.
4166 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
4168 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
4169 use ">&-" since we're only 99.999% sure that this is portable,
4170 and since the MinGW bug is fixed in a different way.
4171 * lib/autotest/general.m4 (AT_INIT): Likewise.
4173 2006-04-16 Stepan Kasal <kasal@ucw.cz>
4175 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
4176 before opening config.log, to avoid hitting a bug on MinGW.
4178 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
4180 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
4181 AS_MESSAGE_LOG_FD before reopening it onto the log file.
4182 This works around a MinGW bug reported by Eric Paire.
4183 Make sure that all writes to the log file append to it,
4184 rather than possibly losing data.
4185 * lib/autotest/general.m4 (AT_INIT): Likewise.
4187 2006-04-14 Stepan Kasal <kasal@ucw.cz>
4189 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
4192 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4196 * configure.ac (AC_INIT): Bump to 2.59d.
4198 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4202 * Makefile.maint (news-date-check): Do not require a leading `*'
4203 before the release date in NEWS.
4205 2006-04-12 Stepan Kasal <kasal@ucw.cz>
4206 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4208 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
4209 the instantiated file do not contain the string 'datarootdir'
4210 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
4211 @mandir@, replace the reference '${datarootdir}' by the value.
4212 * tests/torture.at (datarootdir workaround): New test.
4213 * NEWS: Advertise this temporary fixup.
4214 Based on a patch by Bruno Haible, reported and analyzed by
4215 Paul Eggert and Noah Misch.
4217 2006-04-12 Eric Blake <ebb9@byu.net>
4219 * tests/autotest.at (Debugging a failed test): Fix comment.
4221 2006-04-12 Stepan Kasal <kasal@ucw.cz>
4223 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
4224 all the changes since 2006-04-07.
4226 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4228 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
4229 succeeded, but `ln -s file dir' failed, take care to remove the
4230 leftover target before the next test, to prevent its spurious
4231 failure; also make sure `ln file dir' works before selecting it.
4232 Thanks to Keith Marshall for pointing this out.
4235 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
4236 assignments in `at_debug_args', so that we put them correctly
4237 in the `run' script.
4238 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
4239 Reported by Eric Blake.
4241 2006-04-11 Eric Blake <ebb9@byu.net>
4243 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
4244 top-level tests after micro-suite has been run. Used in...
4245 (Debugging a successful test, Debugging script and environment),
4246 (Debugging a failed test): ...these new tests. The first of these
4248 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
4249 macro, split out from...
4250 (AT_INIT): ...here, so that using -d also generates a run script.
4251 Document that -d inhibits top-level logging.
4252 * doc/autoconf.texi (testsuite Invocation): Document that -d only
4253 inhibits top-level logging; debug scripts are created.
4255 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
4257 * tests/autotest.at (Empty test, Empty check): New test to check it.
4259 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
4262 2006-04-10 Stepan Kasal <kasal@ucw.cz>
4264 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
4265 the files if a problem appears. Make the empty *.at files
4266 read-only, too. Proposed by Ralf Wildenhues.
4268 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4270 * config/Makefile.am: Add comment to force updated Makefile.in.
4272 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
4273 space only patch to this file, this patch causes the Makefile.in
4274 files that include freeze.mk to be updated, and thus have a
4275 newer time stamp again, which in turn makes a pristine CVS
4276 checkout have correct time stamps.
4278 * Makefile.maint (cvs-sv): New macro, to be used..
4279 (config.guess-url_prefix, config.sub-url_prefix)
4280 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
4281 point to CVS text checkout of Gnulib files.
4282 (copyright-check): Bump current year.
4283 (announcement): Do not hard-wire `./announce-gen'.
4284 (cvs-update): Propagate failures of `cvs' and `move-if-change'
4286 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
4288 (wget_files): Update config.guess, config.sub, texinfo.tex by
4289 `wget-update', now that their URLs work again.
4291 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
4293 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
4294 Problem noted by Paul D. Smith.
4296 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4298 * doc/autoconf.texi: Remove unused words from word list.
4299 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
4300 .x-sc_trailing_space: New files.
4302 * doc/standards.texi: Sync from gnulib.
4304 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
4305 `LIBOBJDIR' as experimental.
4307 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
4308 with a target directory; it's internally implemented as `cp'
4309 anyway, but since Autoconf advertises the possibility to use
4310 a target directory when LN_S is `ln -s', we need to find out.
4311 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
4312 analyzed by Keith Marshall <keith.marshall@total.com>.
4316 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
4318 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
4319 confdefs.h as-is. In general, if it has backslash-newline or the
4320 like, then it doesn't work either to sort or to remove empty
4323 2006-04-09 Stepan Kasal <kasal@ucw.cz>
4325 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
4327 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
4329 * lib/autom4te.in (Automake-preselections): Preselect
4332 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
4334 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
4335 apostrophe within a single-quoted string, as this is the usual
4336 tradition and is easier to read than '"'"'. Don't rely on the
4337 shell treating "$/" like '$/'. Use a more-consistent indenting
4340 2006-04-09 Eric Blake <ebb9@byu.net>
4342 * tests/autotest.at (Backquote command substitution),
4343 (Multiline backquote command substitution): Remove mistaken
4344 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
4346 (Parenthetical command substitution, Multiline parenthetical
4347 command substitution): here.
4349 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
4351 Import macros from gnulib (often changing their name).
4353 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
4354 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
4355 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
4356 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
4357 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
4358 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
4359 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
4360 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
4361 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
4362 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
4363 The manual mentions Gnulib more prominently.
4364 * doc/autoconf.texi (Gnulib): New node.
4365 (Pointers): Add Gnulib URL.
4366 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
4367 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
4369 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
4370 suggest a #define rather than a typedef for _Bool, and mention
4371 Gnulib rather than trying to substitute stdbool code.
4372 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
4373 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
4374 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
4375 AC_STRUCT_DIRENT_D_TYPE.
4376 (Particular Types): Mention stdint.h and inttypes.h as standard
4378 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
4379 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
4380 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
4381 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
4382 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
4383 (C Compiler): Move AC_C_LONG_DOUBLE to ...
4384 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
4385 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
4386 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
4387 (Coding Style). Don't mention m4_expand_once.
4388 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
4389 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
4390 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
4391 (AC_CHECK_FUNCS): Use it.
4392 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
4393 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
4394 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
4395 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
4396 (AC_HEADER_ASSERT): New macro.
4397 (AC_HEADER_STDBOOL): Don't assume "#error" works.
4398 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
4399 Catch a bug in an HP-UX C compiler.
4400 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
4401 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
4402 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
4403 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
4404 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
4405 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
4408 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
4409 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
4411 2006-04-08 Stepan Kasal <kasal@ucw.cz>
4413 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
4414 of the warning introduced by the 2001-08-28 change.
4416 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
4417 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4419 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
4420 variables shall be overriden by the cache.
4421 * tests/torture.at (AC_ARG_VAR): Test also with a first value
4422 that contains braces.
4424 2006-04-07 Stepan Kasal <kasal@ucw.cz>
4426 Revert the patch from 2006-04-01 and only improve
4427 _AS_DETECT_BETTER_SHELL:
4429 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
4430 skip nonexistent directories.
4431 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
4432 only shell candidates which exist.
4433 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
4434 * lib/autotest/general.m4 (AT_INIT): No need to give three
4435 parameters to _AS_PATH_WALK.
4437 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
4438 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4440 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
4441 distinguish m4sugar macros.
4442 * tests/tools.at (autoupdating with aclocal and m4_include):
4443 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
4444 test case by Noah Misch <noah@cs.caltech.edu>.
4446 2006-04-07 Stepan Kasal <kasal@ucw.cz>
4448 Revert my change from 2006-03-17, in other words:
4449 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
4451 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
4452 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
4455 2006-04-07 Eric Blake <ebb9@byu.net>
4457 * doc/autoconf.texi (Programming in M4sh): Document that
4458 AS_MKDIR_P exits the script on failure.
4459 * lib/autotest/general.m4: Remove redundant AS_ERROR.
4461 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4463 * config/elisp-comp, config/install-sh, config/mdate-sh,
4464 config/missing, config/mkinstalldirs: Sync from Automake.
4466 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
4469 * doc/make-stds.texi: Sync from gnulib.
4471 2006-04-06 Eric Blake <ebb9@byu.net>
4473 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
4474 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
4477 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
4478 Eric Blake <ebb9@byu.net>,
4479 Paul Eggert <eggert@cs.ucla.edu>,
4480 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4482 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
4483 whether `set' quotes correctly: redirect stderr of the tested
4484 `set', and use a subshell, for Ultrix; use `sed' instead of
4485 `grep' for zsh `set' which may write binary output; match only
4486 at the beginning of a line, to avoid false positives.
4487 In order to avoid false positives by unrelated variables with
4488 multiline content, put the dump algorithm in a subshell and
4489 unset all variables containing newlines (except some which are
4490 special to the shell). Warn about cache variables that are
4493 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4495 * config/config.guess, config/config.sub, config/texinfo.tex:
4498 * tests/mktests.sh: Reword comments.
4500 * tests/mktests.sh: Only skip internal macros starting with
4501 `_AC_' or `__AC_'. Noted by Stepan Kasal.
4502 Update exclusion lists for the test suite to this end:
4503 (AC_ARG_VAR): Do test this now.
4504 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
4505 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
4506 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
4507 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
4509 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
4510 shell issue with double-quoted command substitutions of native
4512 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
4515 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
4516 no file matches the glob, discard the warning, set `nullglob'.
4517 (syntax-check): Likewise.
4518 (sc_cast_of_x_alloc_return_value): Likewise.
4519 (sc_cast_of_alloca_return_value, sc_error_exit_success)
4520 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
4521 (m4-check): Likewise.
4522 (sc_system_h_headers): Do not print rule on execution.
4523 (sc_tight_scope): Do not fail for non-existing `src' directory.
4524 (sc_changelog): Skip the Copyright footer.
4525 * lib/autoconf/lang.m4: Remove trailing space.
4527 * lib/autoconf/status.m4: More replacements to
4528 <tab><space> where this makes sense.
4530 2006-04-06 Stepan Kasal <kasal@ucw.cz>
4532 * tests/Makefile.am (maintainer-check-posix):
4533 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
4535 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
4536 ac_config_<foo>s again, sometimes normalized, sometimes not.
4537 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
4538 (AC_CONFIG_COMMANDS): Do not do so here.
4539 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
4540 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
4541 2005-07-25 rewrite. Noticed by Noah Misch.
4543 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
4544 _AC_PRESERVE_HELP_ORDER, ...
4545 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
4547 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
4548 inside m4_expand_once; it is redundant.
4550 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
4551 for --help from Cygnus `configure.'
4553 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
4555 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
4556 on a patch proposed by Ralf Wildenhues.
4558 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
4560 * lib/autoconf/status.m4: Replace <space>''<tab> with
4561 <tab><space> where this makes sense.
4563 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
4564 Noah Misch <noah@cs.caltech.edu>
4566 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
4567 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
4568 * doc/autoconf.texi (Help Formatting): New node.
4569 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
4571 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4573 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
4574 lib/autoconf/specific.m4, lib/autoconf/status.m4,
4575 lib/autoconf/types.m4, lib/autotest/general.m4,
4576 tests/mktests.sh, tests/torture.at: White space cleanup:
4577 remove some SPACE before TAB, or add quoting ('' or @&t@).
4579 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
4581 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
4583 2006-04-05 Eric Blake <ebb9@byu.net>
4585 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
4586 empty test suite works.
4587 * tests/autotest.at (Empty test suite): Remove xfail.
4589 2006-04-05 Noah Misch <noah@cs.caltech.edu>
4591 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
4592 TAGS to ac_config_<foo>s.
4593 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
4594 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
4595 normalizing it, consistent it with previous releases.
4596 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
4598 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
4600 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
4601 Use simplified args that Eric Blake originally suggested.
4603 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
4605 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
4606 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
4607 Use 'comm' rather than N instances of grep; this also fixes a bug
4608 whereby substrings were incorrectly matched, causing us to not
4609 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
4610 (exclude_list): Exclude empty macros.
4611 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
4613 Use awk rather than grep -E or egrep, to avoid
4614 portability problems with regular expressions containing newlines.
4615 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
4616 Switch from grep to awk syntax.
4617 (ac_exclude_script): Renamed from ac_exclude_egrep.
4618 (au_exclude_script): Renamed from au_exclude_egrep.
4620 2006-04-04 Noah Misch <noah@cs.caltech.edu>
4622 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
4623 a subdirectory subject to Cygnus `configure'.
4624 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
4626 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
4627 report request when we have no AC_PACKAGE_BUGREPORT.
4629 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4633 * tests/mktests.sh: Update copyright year in the header of the
4636 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
4637 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
4638 typedef'ed restricted pointer, to catch a compiler bug on
4639 HP-UX 11.x, and fix warnings so it passes with -Werror.
4640 (_AC_PROG_CC_C99): Likewise.
4641 Reported by Albert Chin <china@thewrittenword.com>.
4642 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
4644 2006-04-03 Noah Misch <noah@cs.caltech.edu>
4646 * bin/autoscan.in (subdirs): New global.
4647 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
4648 (output): Emit AC_CONFIG_SUBDIRS as needed.
4649 * tests/autoscan.at (autoscan): Remove XFAIL.
4651 2006-04-03 Noah Misch <noah@cs.caltech.edu>
4653 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
4655 2006-04-03 Eric Blake <ebb9@byu.net>
4657 * THANKS: Add myself.
4659 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4661 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
4662 to log, point to testsuite output tree.
4664 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
4666 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
4667 * doc/autoconf.texi (Function Portability): Mention that C++
4668 has trouble with 'exit'.
4669 (Guidelines): Test programs shouldn't use 'exit'.
4670 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4671 Remove; all uses removed.
4672 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
4673 Return from 'main' instead of calling 'exit'.
4674 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
4675 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
4676 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
4677 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
4678 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
4679 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4680 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4681 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
4682 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4683 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4684 * tests/compile.at: Likewise.
4686 2006-04-02 Pavel Roskin <proski@gnu.org>
4688 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
4690 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4692 Clean up _AC_COMPILER_EXEEXT* macros.
4694 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
4695 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
4696 ac_file to the name of the default output file and call
4697 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
4698 initial `rm' of the candidate files...
4699 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
4700 the same list in subsequent `rm' calls, and for the temporary
4701 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
4702 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
4703 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
4704 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
4705 no longer needed) by libtool. Make it a cache check.
4706 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
4707 copied here by mistake.
4708 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
4709 _AC_COMPILER_EXEEXT.
4710 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
4711 _AC_COMPILER_OBJEXT directly.
4712 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4714 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4716 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
4717 (AS_DIRNAME): Use it.
4718 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
4720 * tests/*.at: Remove the generated ones.
4722 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4724 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
4726 2006-04-01 Eric Blake <ebb9@byu.net>
4728 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
4729 directories, unless optional third argument supplied.
4730 (AS_UNAME): Don't optimize PATH walk.
4732 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
4734 2006-04-01 Eric Blake <ebb9@byu.net>
4735 and Stepan Kasal <kasal@ucw.cz>
4737 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
4740 2006-04-01 Noah Misch <noah@cs.caltech.edu>
4742 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
4743 Autoconf version number despite a zero- or one-argument AC_INIT.
4745 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
4747 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
4748 * doc/autoconf.texi (autoreconf Invocation): Document it.
4750 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
4751 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
4753 2006-04-01 Eric Blake <ebb9@byu.net>
4755 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
4756 * lib/autotest/general.m4: Be tolerant of existing directory when
4757 rm failed to remove it.
4759 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4761 * bin/autoupdate.in: Redefine m4_location so that warnings print
4762 the correct lines of the input file by subtracting..
4763 (_au__first_line): ..this new definition.
4765 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
4766 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
4767 Remove stray newline in output.
4768 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
4769 AC_DEFUN this for autoconf, including the obsoletion diagnose.
4770 Fixes autoupdating of code where the replacement output contains
4772 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4773 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
4774 (au_exclude_list): Add AC_LANG_SAVE.
4775 * tests/tools.at: Several new tests for all of this.
4776 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
4778 The AC_LANG_SAVE issue was reported against Libtool by
4779 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
4780 Kristian Kvilekval <kris@cs.ucsb.edu>.
4782 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4784 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
4785 switch all of them on and of when necessary. Fixes the bug when
4786 m4sugar macros (e.g., m4_define) were expanded after the first
4787 automatic update (e.g., after AC_PREREQ or AC_INIT).
4789 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
4791 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
4792 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
4794 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
4795 correctly. Problem reported by Eric Blake.
4796 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
4799 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
4801 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
4802 Tighten up the basename/dirname wording.
4804 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4806 * Makefile.maint (sc_texi_notab): New check: do not use TABs
4807 in texinfo files outside of verbatim environments.
4808 (syntax-check-rules): Update.
4809 * doc/autoconf.texi (Configuration Headers): Conform to it.
4811 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
4813 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
4814 aclocal cannot be given on the command line.
4816 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
4818 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
4819 Give an example for AS_DIRNAME instead of referring to Posix..
4820 (File System Conventions): Put discussion of // versus / here, and
4822 (Limitations of Usual Tools): Add basename. Remove verbiage
4823 after dirname, since it got moved to the above sections.
4824 All this was inspired by a patch proposed earlier by Eric Blake.
4826 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4828 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
4829 `$0' to protect against spaces.
4830 * lib/autotest/general.m4 (AT_INIT): Likewise.
4831 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
4834 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4836 * bin/autoscan.in: The value of find_configure_ac should be
4837 checked for existence, so we don't barf over a nonexisting
4838 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
4840 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4842 * bin/autoupdate.in: Fix some typos.
4844 2006-03-21 Stepan Kasal <kasal@ucw.cz>
4846 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
4848 * lib/autoscan/autoscan.list: Refreshed.
4850 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4852 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
4853 and Erlang related variables.
4855 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
4856 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
4857 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
4858 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
4859 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
4860 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
4861 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
4862 (_AC_PROG_OBJC_G): New macros.
4863 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
4864 * doc/autoconf.texi (Objective C Compiler): New node.
4865 (Preset Output Variables): Document OBJCFLAGS.
4866 (Language Choice): Document `Objective C' language.
4867 (Fortran Compiler): Fix typo.
4869 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
4871 2006-03-20 Stepan Kasal <kasal@ucw.cz>
4873 * doc/autoconf.texi (Default Includes): Fix typo
4874 s/AC_HEADERS_STDC/AC_HEADER_STDC/
4875 (Limitations of Usual Tools): s/unwriteable/unwritable/
4876 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
4877 Fix typos in the comments.
4879 2006-03-17 Stepan Kasal <kasal@ucw.cz>
4881 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
4882 Factor out the warning to...
4883 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
4884 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
4885 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4887 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
4888 case `ac_delim' when writing the sed script.
4890 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
4891 moved DUALCASE=1 ...
4892 (AS_SHELL_SANITIZE): ... here.
4893 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
4896 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
4898 (_AC_PATH_PROG): Store the result to VARIABLE.
4899 (AC_PATH_PROG): No need to set VARIABLE again.
4901 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
4902 the first one is usual AT_CHECK_MACRO test, the second one checks
4903 that the same works when cross-compiling.
4904 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
4905 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
4907 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4909 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
4910 the directory `/usr/bin/posix' in the shell search, to prefer
4911 the Posix shell not only in subsequent spawns as with `$BIN_SH'
4914 * doc/autoconf.texi (contents): To fix texi2html output, hide
4915 `@setcontentsaftertitlepage' for HTML.
4916 (Writing Autoconf Macros): Likewise, insert space after `@c'.
4917 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
4920 2006-03-16 Stepan Kasal <kasal@ucw.cz>
4922 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
4924 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
4925 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
4926 why IFS is restored so late; thank you, Ralf, for reminding us.
4928 2006-03-15 Stepan Kasal <kasal@ucw.cz>
4930 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
4931 variables in the examples.
4933 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
4935 * doc/autoconf.texi (several sections): Cleaned up documentation for
4936 macros in erlang.m4.
4938 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4940 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
4941 failure condition for `$(cmd)' style command substitutions.
4942 (Parenthetical command substitution, Multiline parenthetical
4943 command substitution): Use it.
4945 * doc/autoconf.texi (Special Shell Variables): Missing word.
4946 Reported by Keith Marshall <keith.marshall@total.com>.
4948 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
4949 IFS even in case of empty `$PATH'.
4951 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4953 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
4954 `expr' away if there is nothing to do.
4955 < --keywords >: Simplify and robustify argument handling.
4956 Revert erroneous comment from 2005-08-23. Extend to allow
4957 keyword negation with `!'.
4958 Update help message. Remove broken code to prevent running
4959 tests multiple times.
4960 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
4961 Update and fix the documentation accordingly.
4962 * tests/autotest.at (Keywords): Renamed to..
4963 (Keywords and ranges): .. this. Extended to make sure negated
4964 keywords, keywords taken from AT_SETUP arguments, and numeric
4965 test ranges work, and that matching is case-insensitive.
4967 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4969 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
4970 allow to pass unnamed structs even in C++.
4971 (AC_CHECK_SIZEOF): Likewise.
4972 Also fix quoting error in `AC_MSG_FAILURE' arguments.
4973 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
4974 struct): New tests for unnamed structs, each both native and
4977 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
4978 a structure inside a cast, for C++ conformance.
4979 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
4980 Also fix quoting error in `AC_MSG_FAILURE' arguments.
4982 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
4983 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
4984 trying to execute the command `no'.
4986 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
4987 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
4990 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
4991 example. Do not emphasize `$%', it is hardly new and special.
4992 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
4994 * doc/autoconf.texi (Limitations of Usual Tools): Document
4995 OpenBSD and traditional `grep' failure to handle multiple
4996 patterns separated by newlines.
4998 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
5000 * doc/autoconf.texi (several sections): Add documentation for macros
5003 2006-03-10 Eric Blake <ebb9@byu.net>
5005 * doc/autoconf.texi (Obsolete Macros): Fix wording of
5008 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
5010 * doc/autoconf.texi: Use @acronym more consistently for acronyms
5011 like BSD, GPL, LGPL. Fix minor English typos.
5012 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
5013 Mention that these macros are becoming obsolete.
5014 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
5015 Use more modern terminology for which standard is what.
5016 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
5018 (AC_PROG_CXX): Likewise.
5019 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
5020 Remove obsolete discussion about how to port to K&R.
5021 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
5022 the obsolescent AC_HEADER_STDC.
5023 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
5026 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5028 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
5029 Remove stdin redirection from /dev/null to allow pipe to work.
5031 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
5033 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
5034 Require that /lib/cpp include stdio.h correctly. Solaris 10's
5035 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
5038 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5040 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
5041 HP-UX sed is 99 commands, not 100.
5042 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
5043 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
5044 newline for portability.
5045 * tests/torture.at (Torturing config.status): Also test 100
5046 AC_SUBST_FILE invocations. Fix test to actually verify the
5047 AC_CONFIG_FILES output.
5048 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
5049 command, label, and read-file `r' limits. Unify HP-UX spelling.
5051 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
5053 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
5055 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
5056 * tests/mktests.sh: Small shell portability fixes.
5058 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5060 * doc/autoconf.texi (Caching Results): Fix the examples to use a
5061 recommended quoting style and discard unwanted output.
5063 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
5065 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
5066 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
5067 cases, and to work around Tru64 expr bug.
5069 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5071 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
5072 expr bug that turns the result of a regex match into a number if
5075 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5077 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
5078 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
5079 in section `Specific Compiler Characteristics'.
5081 2006-03-04 Eric Blake <ebb9@byu.net>
5083 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
5086 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5088 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
5089 order of variable initialization, so even the Solaris 2.6 shell
5090 can create a config header correctly. Fixes lots of test suite
5093 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5095 * doc/autoconf.texi (Text processing Macros): New node to
5096 document the m4sugar macros m4_re_escape, m4_tolower,
5097 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
5099 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
5101 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
5102 XrmInitialize (0) -> XrmInitialize ().
5103 Reported by Toshio Kuratomi.
5105 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5107 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
5108 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
5109 * doc/autoconf.texi (Programming in M4sh): Adjusted.
5110 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
5111 both macros are defun'ed so that required macros are evaluated
5114 * doc/autoconf.texi (Prerequisite Macros): State more precisely
5115 where a required macro will be expanded.
5116 (Coding Style): Another reason not to use `m4_define'.
5118 2006-02-21 Eric Blake <ebb9@byu.net>
5120 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
5122 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5124 * doc/autoconf.texi (Looping constructs): New node, to
5125 document m4_for, m4_foreach, m4_foreach_w, and mention
5126 obsolete AC_FOREACH.
5127 (Obsolete Macros): Document AC_FOREACH.
5128 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
5129 (m4_for): Fix to never loop (almost) endlessly, work correctly
5130 with arithmetic expressions in arguments, a step of zero or
5131 non-integer multiple of the interval, and avoid integer
5133 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
5136 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
5138 Add basic support for Erlang, both for configuring Erlang/OTP
5139 tools, and Erlang as a conf test language.
5140 * lib/autoconf/erlang.m4: New file.
5141 * lib/autoconf/autoconf.m4: Add erlang.m4.
5142 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
5143 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
5144 * NEWS: Add short description of new macros.
5145 * THANKS: Add Romain Lenglet.
5147 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5149 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
5150 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
5152 2006-02-15 Eric Blake <ebb9@byu.net>
5154 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
5157 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5159 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
5160 (_AS_CASE): Private helper macro.
5161 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
5162 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
5163 Fix syntax of AS_IF description
5164 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
5165 for the AC_REQUIRE mess.
5166 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
5169 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
5171 * doc/autoconf.texi: Minor style cleanup.
5172 Be consistent about spaces after commas.
5173 Insert [] where empty args look a bit funny.
5174 Fix some "i.e." and "e.g." usages.
5175 Try to avoid "X/Y" usages.
5176 Don't be pedantic about "ISO C99"; just say C99.
5177 Prefer GNU style for spaces in front of parens.
5178 (Function Portability): Comment about C89 versus C99
5179 signed integer division.
5180 (Particular Headers): Use current gnulib style for dirent
5183 2006-02-14 Stepan Kasal <kasal@ucw.cz>
5184 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5186 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
5187 macros without parameters.
5188 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
5189 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
5190 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
5192 (autoupdate): Updated to match AU_ALIAS fix.
5194 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5195 and Paul Eggert <eggert@cs.ucla.edu>
5197 * doc/autoconf.texi (Programming in M4sh): Document
5198 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
5200 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5202 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
5203 (AS_BOURNE_COMPATIBLE): ..this.
5204 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
5206 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
5208 * doc/install.texi (Defining Variables): Tighten up the
5209 CONFIG_SHELL wording.
5211 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
5212 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5214 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
5215 of (set -o) rather than testing whether (set -o posix) succeeds,
5216 to work around a bug in the AIX 5.3 shell. Problem originally
5217 reportd by Howard Chu for libtool.
5219 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
5221 * doc/autoconf.texi (Running the Compiler, Running the Linker):
5222 Changes the macro arguments in summaries to match the
5225 2006-02-04 Stepan Kasal <kasal@ucw.cz>
5227 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
5228 hint as ``a workaround for a bug.''
5230 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5232 * bin/autoreconf.in: New option `--no-recursive'.
5233 Improve wording for subpackages a bit.
5234 * doc/autoconf.texi (autoreconf Invocation): Updated.
5237 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
5238 in environment of `configure', not the command line.
5239 Reported by Howard Chu <hyc@highlandsun.com>.
5241 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
5243 * doc/autoconf.texi (Limitations of Builtins): Document the
5244 problem with "trap -".
5246 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
5248 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
5249 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
5250 messages to differentiate Fortran and Fortran 77 tests.
5251 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
5252 AC_LANG_ASSERT, to allow use in mixed-language projects.
5254 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
5256 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
5257 FOO" to "defined (FOO)".
5258 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
5259 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
5260 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
5261 * tests/tools.at (ifnames): Likewise.
5263 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5265 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
5266 * lib/Autom4te/General.pm (mktmpdir): Likewise.
5267 (END): Improve error message a bit.
5268 Reported by Bruce Korb <bkorb@gnu.org>.
5270 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5272 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
5273 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
5275 2006-01-11 Stepan Kasal <kasal@ucw.cz>
5277 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
5278 requires sys/stream.h. Reported by Oliver Kiddle.
5280 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5281 Stepan Kasal <kasal@ucw.cz>
5283 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
5284 before the removals of test dirs, use `find' to avoid modification
5285 of symlinked directories.
5287 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
5289 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
5290 Don't ignore the macro arguments.
5292 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
5294 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
5295 declaration that works for MSVC.
5297 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5299 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
5300 Add `*.map' and `.inf' for Green Hills compiler.
5301 Reported by Stefan Seefeld <stefan@codesourcery.com>.
5303 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
5304 correctly: pad with spaces after FIRST_PREFIX if necessary,
5305 and compute string lenghts with `m4_qlen' instead of `m4_len'.
5306 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
5307 * tests/m4sh.at (AS_HELP_STRING): Test extended.
5309 Reported by numerous people, numerous times.
5311 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
5313 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
5314 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
5315 * lib/autoconf/general.m4, lib/autoconf/status.m4:
5316 * lib/autotest/general.m4, tests/local.at:
5317 Update copyright year to 2006.
5319 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
5321 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
5322 for file names, again. Reported by Noah Misch.
5323 (Coding Style): Explain that s|a|b| is preferred for file names.
5324 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
5325 (AC_OUTPUT_MAKE_DEFS): Likewise.
5326 * lib/autotest/general.m4 (AT_INIT): Likewise.
5327 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
5328 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
5330 Fix Posix-conformance bugs re use of { command in sed scripts,
5331 and improve the sed-related documentation a bit.
5332 * doc/autoconf.texi (Installation Directory Variables): Use
5333 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
5334 rather than "sed" when talking about Sed in general.
5335 (Particular Programs): Likewise.
5336 (Coding Style): y is like s with respect to / and ,.
5337 (Limitations of Usual Tools): Document the weird restrictions
5338 that Posix has about { }. Use better quoting.
5339 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
5340 Rewrite to conform to Posix rules about { } in sed scripts.
5341 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
5342 * tests/foreign.at (Libtool): Likewise.
5343 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
5344 Use our own style advice re 's,a,b,' versus 's|a|b|'.
5346 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5348 * lib/autoconf/status.m4: Fix typo.
5350 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
5351 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
5352 `-def', for the benefit of Portland `pgf90 -Mipa'.
5353 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
5355 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
5357 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
5358 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
5359 shell from zsh to bash.
5361 2005-12-31 Stepan Kasal <kasal@ucw.cz>
5363 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
5364 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
5366 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
5368 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
5369 parentheses in $(...). Problem reported by Eric Blake.
5371 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
5373 * doc/autoconf.texi (Limitations of Usual Tools):
5374 Mention which characters can be escaped with \ in portable regular
5375 expressions used in grep, sed, expr. Mention the leading ^ problem
5376 with expr. Clean up some confusing wording. Mention which
5377 grep options are portable.
5379 2005-12-09 Stepan Kasal <kasal@ucw.cz>
5381 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
5383 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
5385 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
5386 patch, noted by Ralf Wildenhues.
5388 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5390 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
5391 posix' unconditionally, for pdksh in `native sh' emulation.
5393 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
5395 * doc/autoconf.texi (Shellology): Document eval $? problem
5397 (Limitations of Builtins): Likewise.
5399 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5401 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
5402 CONFIG_SHELL in the environment of the configure rerun.
5403 * doc/autoconf.texi (Here-Documents, config.status Invocation):
5404 Suggest passing CONFIG_SHELL absolute, and in the environment
5405 rather than as option.
5407 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5409 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
5410 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
5411 Fix macro quoting. Fix output for n * 98 substituted variables.
5413 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5415 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
5416 `tmp' to avoid file removal race.
5418 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5420 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
5421 ac_clean_files and LIBOBJS.
5423 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5425 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
5426 Factor functionality to..
5427 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
5428 `AC_SUBST($1)' in the public version.
5429 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
5430 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
5433 2005-11-01 Stepan Kasal <kasal@ucw.cz>
5435 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
5438 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5440 * NEWS: Move AH_HEADER mention to right place.
5442 2005-10-27 Stepan Kasal <kasal@ucw.cz>
5444 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
5445 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5447 2005-10-25 Stepan Kasal <kasal@ucw.cz>
5449 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
5450 conftst2.$ac_objext.
5451 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5453 2005-10-24 Stepan Kasal <kasal@ucw.cz>
5455 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
5456 conftest.o, to see whether the compiler really obeys; rm the object
5457 file before and after the test and register it with ac_clean_files.
5458 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5460 2005-10-21 Stepan Kasal <kasal@ucw.cz>
5462 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
5463 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
5464 code so that the most common case requires less forks.
5466 2005-10-20 Stepan Kasal <kasal@ucw.cz>
5468 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
5469 not portable; thanks to Paul Eggert and Alexandre.
5471 * NEWS: Fix an old typo.
5473 2005-10-20 Jim Meyering <jim@meyering.net>
5475 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
5476 the latter'', in two places.
5478 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
5480 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
5481 AC_LANG_PROGRAM, fixing a typo. Don't give details about
5482 the inner workings of AC_LANG_FUNC_LINK_TRY.
5483 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
5484 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
5485 by the function rather than ignoring it.
5486 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
5487 comparing its address. Intel's interprocedural optimization was
5488 outsmarting the old heuristic. Problem reported by
5491 2005-10-19 Stepan Kasal <kasal@ucw.cz>
5493 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
5495 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
5497 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
5498 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
5500 2005-10-04 Stepan Kasal <kasal@ucw.cz>
5502 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
5503 before removing it (chmod -R u+rwx); there are three instances of this.
5505 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5506 Stepan Kasal <kasal@ucw.cz>
5508 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
5509 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
5510 make its content writable before removing it. Remove an errorneous
5511 comment from the end, where the logs of the failed tests are copied
5512 to the main log file.
5514 2005-09-27 Stepan Kasal <kasal@ucw.cz>
5516 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
5517 in case the computer is too quick. Double quote the configure.ac
5520 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
5521 problems if the testsuite were running too fast.
5523 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
5525 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
5526 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
5527 (which belong to Xt, not X itself). See Debian bug 327655.
5528 * NEWS: Mention this.
5530 2005-09-07 Stepan Kasal <kasal@ucw.cz>
5532 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
5534 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
5536 * config/move-if-change: Don't output "$2 is unchanged";
5537 suggested by Ben Elliston. Handle weird characters correctly.
5539 2005-09-06 Stepan Kasal <kasal@ucw.cz>
5541 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
5542 calls, so that the final expansion of this macro is shorter.
5543 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
5544 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
5545 the cleanup there. Use AS_VAR_* macros, to be more general.
5546 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
5548 * lib/autoconf/general.m4: Use AS_IF where appropriate.
5550 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
5552 2005-09-01 Stepan Kasal <kasal@ucw.cz>
5554 * doc/autoconf.texi (Configuration Headers): Add an index entry
5557 2005-08-26 Pavel Roskin <proski@gnu.org>
5559 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
5560 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
5563 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
5565 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5566 The previous patch didn't work, so try a better one.
5568 2005-08-26 Stepan Kasal <kasal@ucw.cz>
5570 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
5571 in the example. Reported by Bruno Haible.
5572 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
5573 "if $undefined_var;" succeeds with my shell.
5575 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
5576 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
5577 but change the m4_divert_text to m4_divert_once.
5579 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
5581 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5582 Work around bug in Solaris /usr/xpg4/bin/awk.
5583 The bug is present in at least Solaris 8 through 10.
5585 2005-08-24 Stepan Kasal <kasal@ucw.cz>
5587 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
5588 some evil values and relying on the fact that $* concatenates the
5589 parameters by the first character from IFS.
5591 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
5592 Stepan Kasal <kasal@ucw.cz>
5594 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
5595 first header appears, define AH_HEADER.
5596 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
5597 Update limitations about when to call AC_CONFIG_HEADERS.
5598 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
5599 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
5600 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
5601 ``Configuration Actions''; fix their index entries.
5603 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
5604 options correctly. Process N-M as M-N if M is smaller than N.
5605 Process ranges correctly so that N-N will run only N.
5606 Sort and uniquify the tests that will be run. If there is more
5607 than one test, reinsert the banners for the tests.
5608 * tests/autotest.at (Keywords): Unmark XFAIL.
5610 2005-08-23 Stepan Kasal <kasal@ucw.cz>
5612 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
5613 before passing the macro name to AH_TEMPLATE.
5615 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
5616 now opens log after option processing; in particular, --version
5617 and --help do not touch config.log.
5619 * Makefile.maint: Revert the change from 2005-08-12.
5621 2005-08-22 Stepan Kasal <kasal@ucw.cz>
5623 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
5625 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
5627 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5629 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
5630 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
5633 * doc/autoconf.texi (Defining Symbols, Changed Results):
5634 Prepend to LIBS, not append, in examples.
5636 2005-08-16 Stepan Kasal <kasal@ucw.cz>
5638 When building in place, set srcdir="."; suggested by Tim Van Holder.
5640 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
5641 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
5642 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
5643 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
5644 does not mean "no --srcdir option".
5646 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5648 * tests/autoscan.at (autoscan): New file.
5649 * tests/suite.at: Use it.
5650 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
5651 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
5653 * tests/autotest.at (Keywords): Test keywords combinations.
5655 2005-08-12 Stepan Kasal <kasal@ucw.cz>
5657 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
5658 add "2>&1"; gzip 1.2.4 prints help on stderr.
5660 2005-07-27 Stepan Kasal <kasal@ucw.cz>
5662 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
5663 was pushdef'ed twice while popped only once. Push it only once.
5664 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
5666 2005-07-26 Stepan Kasal <kasal@ucw.cz>
5668 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
5669 prefixed by mere "===", not "configure: === ".
5671 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
5673 * Makefile.maint: Update from Bison.
5675 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
5676 "<tab>" in comment, so that the point is understandable.
5678 2005-07-25 Stepan Kasal <kasal@ucw.cz>
5680 Rewrite substantial part of lib/autoconf/status.m4.
5681 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
5682 and CONFIG_COMMANDS are not processed in four separate loops.
5683 Instead, there is one main loop. This alows that the common code
5684 is expanded only once, thus config.status (and configure) is smaller.
5686 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
5687 the AC_LIST_FILES and cousins macros are no longer used.
5689 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
5690 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
5691 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
5692 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
5693 contain the initialization, nor the for loop, nor the associated
5694 commands; all these go to ...
5695 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
5696 _AC_OUTPUT_CONFIG_STATUS.
5697 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
5698 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
5699 (_AC_OUTPUT_FILE): The creation of the sed script ...
5700 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
5701 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
5702 _AC_OUTPUT_MAIN_LOOP.
5703 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
5704 _AC_CONFIG_COMMANDS): Use ...
5705 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
5706 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
5707 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
5708 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
5709 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
5710 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
5712 (_AC_CONFIG_UNIQUE): Update.
5713 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
5714 Replaced by this ...
5715 (_AC_LIST_TAGS): ... new common macro.
5716 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
5717 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
5718 (_AC_LIST_TAG_COMMANDS): ... new common macro.
5719 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
5720 this didn't belong to the `config commands' section.
5721 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
5722 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
5723 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
5724 to the `config commands' section either.
5725 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
5726 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
5728 ... and many changes to the comments nearby.
5730 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
5731 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
5732 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
5733 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
5734 (#define header templates): The comment at the top of the generated
5735 header now includes the name(s) of the source file(s).
5737 Several unrelated small changes:
5739 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
5740 parameter to AC_DIAGNOSE.
5741 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
5742 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
5743 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
5744 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
5746 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
5747 in AC_OUTPUT doesn't double-quote it either.
5748 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
5751 2005-07-10 Stepan Kasal <kasal@ucw.cz>
5753 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
5754 versions of Portland Group compiler produce single- and double-quoted
5755 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
5756 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5758 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
5760 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5761 This is a corrected version of yesterday's patch.
5763 2005-07-07 Stepan Kasal <kasal@ucw.cz>
5765 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
5766 path, too; insert a "===" to emphasize the line.
5768 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
5769 ac_cv_build_alias to ac_build_alias.
5770 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
5772 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
5773 change eliminates it. Problem reported by Alexandre Duret-Lutz.
5774 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
5775 (AC_ARG_VAR): ... here.
5776 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
5779 Keep a list of all precious variables and process them with one simple
5780 for loop, instead of expanding all commands, or, OTOH, complicated
5781 processing of output of "set".
5782 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
5783 variable names in new macro...
5784 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
5785 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
5786 a loop to assign all ac_env_* and ac_cv_env_* variables.
5787 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
5789 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
5790 its value to shell variable ac_precious_vars and call
5791 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
5792 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
5793 _AC_ARG_VAR_VALIDATE.
5795 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
5796 and the AC_SUBSTs ...
5797 (AC_INIT): ... here.
5799 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
5800 the ac_subst_files section in config.log.
5802 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
5804 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
5806 * NEWS: New macro AC_C_TYPEOF.
5807 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
5808 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
5809 * tests/c.at (C keywords): Test AC_C_TYPEOF.
5811 Fix problems reported by Nicolas Joly.
5812 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
5813 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5814 They are generated by the Tru64 v5.1B shell.
5816 2005-07-05 Stepan Kasal <kasal@ucw.cz>
5818 Fix my changes from 2005-07-01; reported by Noah Misch.
5819 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
5820 description, the macro now accepts only a single tag.
5821 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
5823 Fix cases when the varsions of Autoconf and Autotest don't match.
5824 Reported by Noah Misch.
5825 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
5826 at_top_builddir, for compatibility with older autotest.
5827 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
5828 is not set, use at_top_builddir, for compatibility with older
5829 versions of autoconf.
5831 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
5833 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
5834 Problem reported by Patrick Welche.
5836 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
5838 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
5839 sed substitution command, so that we allow | in program prefixes
5840 and program suffixes. (& is a problem anyway; we're not fixing
5842 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
5843 configure_input, top_builddir, srcdir, etc.
5844 * lib/autotest/general.m4 (AT_INIT): Likewise, for
5845 PATH_SEPARATOR in AUTOTEST_PATH.
5847 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
5849 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
5850 for loop over config.site files using `set', to allow
5851 directory names containing IFS characters.
5853 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
5855 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
5856 directories with weird names. Apparently some people like living
5857 on the edge. However, improve the test that "pwd" actually does
5858 report a name for the working directory.
5859 * NEWS: Remove the claim that we test for funny chars in dir names.
5861 2005-07-01 Stepan Kasal <kasal@ucw.cz>
5863 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
5865 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
5866 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
5867 Now accept a single tag, not whitespace separated list.
5868 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
5870 2005-06-30 Stepan Kasal <kasal@ucw.cz>
5872 * doc/autoconf.texi (Configuration Headers): Change the explanation
5873 about #include <config.h>.
5874 (Generic Functions): Mention the Gnulib project.
5875 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
5877 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
5878 document to output the default config_* lists to config.status.
5879 Don't recognize option --file, if the functionality is not there.
5880 Likewise for --header; moreover, recognize --he and --h as shortcuts
5881 for --help in that case.
5883 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
5884 matches the order of execution. No code changed.
5886 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5888 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
5889 single-quoted -cmdline argument in Portland Group compiler.
5890 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5892 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
5894 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
5896 2005-06-29 Stepan Kasal <kasal@ucw.cz>
5898 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
5899 descriptors to child processes; reported by Norman Gray.
5901 2005-06-29 Stepan Kasal <kasal@ucw.cz>
5903 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
5905 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
5906 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
5907 (AC_SUBST): Call it.
5908 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
5909 the directory specific variables; but don't call it for configure_input.
5911 2005-06-28 Derek Price <derek@ximbiot.com>
5913 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
5916 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
5918 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
5919 directory have inherent problems with special characters like spaces,
5920 due to limitations in Make syntax. Problem reported by Alexandre
5922 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
5923 Also, fix Tru64 porting problem with shell patterns,
5924 reported by Ralf Wildenhues.
5926 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5928 * doc/autoconf.texi (Subdirectories): Fix markup typos.
5930 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
5932 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
5934 Fix some more shell quoting problems. Prompted by a bug report
5935 from Justace Clutter.
5936 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
5937 variable into diagnostic. Make the diagnostic an error, not a warning,
5938 because we really don't support spaces and suchlike in dir names.
5939 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
5940 Don't worry about backslashes in srcdir; it can't happen now.
5941 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
5942 Simplify ac_optarg handling.
5943 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
5945 2005-06-22 Stepan Kasal <kasal@ucw.cz>
5947 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
5948 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
5949 * tests/atlocal.in: Propagate $EGREP and $SED.
5950 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
5951 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
5953 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
5954 that '\|' is not allowed in BREs; recommend using newline separated
5955 list of patterns instead of multiple -e options.
5957 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
5959 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
5961 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5963 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
5965 2005-06-21 Stepan Kasal <kasal@ucw.cz>
5967 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
5968 b, t, r, w commands require single space, while : cannot have any.
5969 (Special Shell Variables): Fix sed code this in the example.
5970 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
5971 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
5973 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
5974 expand to the empty list. Don't use two pairs of m4_changequote,
5977 2005-06-20 Derek Price <derek@ximbiot.com>
5979 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
5981 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
5983 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
5984 * doc/autoconf.texi:
5985 Don't mention Solaris versions so much, if a
5986 problem is common to all extant versions of Solaris. Say "SunOS
5987 4" instead of "SunOS" for SunOS 4.
5988 (awk): Mention more of the limitations of traditional Awk.
5989 (cat): Don't talk about cat -v.
5991 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
5993 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
5994 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
5995 but the implementation is entirely different and is designed
5996 to be compatible with glibc strverscmp.
5997 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
5999 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
6000 on Mac OS X 10.4 reported by Peter O'Gorman in:
6001 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
6002 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
6003 Use shell builtins rather than 'expr', to work around expr bug.
6005 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
6007 * doc/autoconf.texi: "filesystem" -> "file system".
6008 "behaviour" -> "behavior".
6009 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
6010 * lib/autoconf/general.m4: Omit blank after ":" sed command,
6012 * lib/m4sugar/m4sh.m4: Likewise.
6013 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
6014 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
6016 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
6017 (.x.1): Ignore the time stamp in the .TH line when deciding whether
6018 to update the man page. That way, we don't have to check in new
6019 man pages every month.
6021 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
6022 quotes and backslashes. Patch from Derek Price.
6024 2005-06-10 Derek Price <derek@ximbiot.com>
6026 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
6029 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
6031 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
6032 -u, since it outputs chatter if the input files are the same.
6033 Problem reported by Ralf Menzel.
6035 2005-06-08 Derek Price <derek@ximbiot.com>
6037 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
6038 renaming them since they are about to be redefined anyhow.
6040 2005-06-08 Derek Price <derek@ximbiot.com>
6042 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
6043 redefined M4 macros to this node. Document m4_include & m4_sinclude.
6044 Move m4_undefine to alphabetical order.
6046 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
6048 * README: Recommend GNU M4 1.4.3 or later.
6049 * doc/autoconf.texi (Introduction): Likewise.
6050 Reword to avoid some formatting glitches.
6051 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
6052 Clarify explanation of HP compiler bug.
6053 Redo example output tp match current CVS snapshot.
6054 Use @example.org in email addresses when the examples
6055 might get inadvertently cut-and-pasted into user code.
6056 Remove example of autom4te usage that doesn't seem to work now.
6057 Use modern AC_INIT (except when the example is meant to be
6058 shown with Autoconf 2.13).
6059 Update ksh info for Solaris 9 and later.
6061 Modernize description of Automake versions a bit.
6062 Don't claim a future version of Autoconf is near.
6063 * doc/install.texi: Reword to avoid some formatting glitches.
6065 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6067 * doc/autoconf.texi: Add [] to examples, so that the manual
6068 follows its own advice about quoting better.
6069 Reword to avoid some formatting glitches.
6070 * doc/installt.exi: Reword to avoid some formatting glitches.
6072 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
6073 Tru64 ksh pattern matching bug. Reported against Libtool by
6074 Albert Chin <libtool@mlists.thewrittenword.com> and
6075 Nicolas Joly <njoly@pasteur.fr>.
6077 2005-06-06 Stepan Kasal <kasal@ucw.cz>
6079 m4_cdr of one-member list was [[]] (one-member list containing an
6080 empty string) instead of [] (an empty list. Callers were skewed to
6081 match this misbehaviour. As a consequence of this:
6082 - m4_foreach([x], [], [foo]) expanded to `foo', while
6083 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
6084 This bug has been fixed:
6086 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
6087 expand to an empty string; print error msg if called without
6089 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
6090 misbehaviour; handle [] and [[]] correctly.
6092 2005-06-06 Stepan Kasal <kasal@ucw.cz>
6094 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
6095 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
6096 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
6098 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
6100 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
6101 swallow records with more than 99 fields.
6102 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
6103 parse the long line.
6105 2005-06-04 Stepan Kasal <kasal@ucw.cz>
6107 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
6108 swallow literals longer than 399. Reported by Ralf Wildenhues.
6109 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
6110 to workaround this limitation.
6112 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
6114 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
6115 to gfortran, and make these the first two compiler names
6116 checked (following the general autoconf preference for gcc).
6118 2005-06-03 Stepan Kasal <kasal@ucw.cz>
6120 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
6121 (DISTCLEANFILES): Remove $(check_SCRIPTS).
6122 (testsuite): Make sure autotest.m4f is up-to-date before using it.
6124 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
6126 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
6127 expression of unbounded size when processing the --list
6128 option. This runs afoul of a limit of 399 bytes per regular
6129 expression on AIX. Problem reported by Ralf Wildenhues.
6131 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
6133 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
6134 * doc/autoconf.texi (Particular Headers): Reword example
6135 for multiline stdbool replacement.
6136 (Setting Output Variables): Reword text a bit. Don't
6137 give all the details about |#_!!_#|.
6138 Reword description of line replacement.
6140 2005-05-31 Dan Manthey <dan_manthey@partech.com>
6142 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
6143 now contain newlines, and substituted files must be referenced on
6144 a line alone; the sed scripts to substitute them are now very
6146 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
6147 commands can be put in a sed script portably.
6148 * doc/autoconf.texi (Setting Output Variables): Document above
6149 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
6150 use of multiline substitution.
6151 * tests/torture.at: No longer expect substitution of newline to fail.
6153 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
6155 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
6156 From Ralf Menzel (trivial change).
6158 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
6160 * tests/local.at: Don't attempt to check for negated character
6161 classes in shell scripts. The test was too brittle.
6163 2005-05-25 Stepan Kasal <kasal@ucw.cz>
6165 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
6166 * doc/autoconf.texi (Limitations of Builtins): Document this
6169 2005-05-24 Stepan Kasal <kasal@ucw.cz>
6171 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
6172 common code; used in many places in the tree.
6173 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
6174 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
6176 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
6178 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
6179 messages when ac_unique_file is not found.
6180 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
6181 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
6182 commands, for consistency with AC_MSG_ERROR and such.
6184 * bin/autoconf.as: Make more use of "shift 2" in option processing.
6186 * bin/Makefile.am: Merge the two rules for creating scripts.
6188 2005-05-23 Stepan Kasal <kasal@ucw.cz>
6190 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
6191 obsolete; it was never documented.
6192 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
6194 2005-05-20 Stepan Kasal <kasal@ucw.cz>
6196 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
6197 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
6198 (ac_top_builddir): ... this ...
6199 (ac_top_build_prefix): ... to this; the old name is also kept, for
6200 backward compatibility.
6201 (ac_top_builddir_sub): New variable, without the trailing slash,
6203 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
6204 * doc/autoconf.texi (Configuration Actions): Rename
6205 ac_top_builddir to ac_top_build_prefix.
6206 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
6207 at_top_builddir to at_top_build_prefix.
6208 * lib/autotest/general.m4 (AT_INIT): Likewise.
6210 2005-05-20 Stepan Kasal <kasal@ucw.cz>
6212 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
6215 2005-05-17 Stepan Kasal <kasal@ucw.cz>
6217 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
6218 argument to m4_foreach. I guess it was necessary in the past,
6219 but I think it's a no-op now.
6221 2005-05-17 Stepan Kasal <kasal@ucw.cz>
6223 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
6224 ``cat <<_ACEOF'' commands to one.
6225 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
6226 * lib/autoconf/status.m4: On various places, use expr instead of
6228 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
6229 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
6230 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
6232 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
6233 the wrong patterns between ``case'' and ``esac.'' The previous
6234 code had false positives.
6236 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
6238 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
6240 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
6243 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
6245 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
6246 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
6247 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
6248 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
6249 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
6250 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
6251 config/config.guess, config/config.sub, config/elisp-comp,
6252 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
6253 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
6254 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
6255 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
6256 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
6257 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
6258 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
6259 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
6260 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
6261 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
6262 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
6263 lib/autoconf/general.m4, lib/autoconf/headers.m4,
6264 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
6265 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
6266 lib/autoconf/specific.m4, lib/autoconf/status.m4,
6267 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
6268 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
6269 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
6270 lib/autotest/general.m4, lib/emacs/Makefile.am,
6271 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
6272 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
6273 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
6274 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
6275 tests/compile.at, tests/foreign.at, tests/fortran.at,
6276 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
6277 tests/semantics.at, tests/suite.at, tests/tools.at,
6278 tests/torture.at, tests/wrapper.as:
6279 Update FSF postal mail address.
6281 2005-05-13 Stepan Kasal <kasal@ucw.cz>
6283 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
6285 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
6286 enough arguments, similarly as in m4_bpatsubsts.
6288 2005-05-12 Stepan Kasal <kasal@ucw.cz>
6290 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
6293 2005-05-11 Stepan Kasal <kasal@ucw.cz>
6295 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
6296 for absolute directory names in one loop.
6297 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
6298 abbreviations of --version and --debug.
6300 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
6302 * doc/autoconf.texi (Autoconf Language): Be more precise about
6303 quoting rules. Problems noted by Stepan Kasal.
6304 Also, throughout this document, be more careful about white space.
6305 "blank", "white space", and "space" all have different meanings
6306 and we should be careful to say what we mean.
6308 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
6310 Fix C++ related problems reported by Werner Lemberg.
6311 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
6312 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
6313 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
6314 avoid problems with C++ and throw.
6315 * tests/compile.at: .cpp, not .cc.
6317 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
6319 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6321 * doc/autoconf.texi (Generic Functions): Typos.
6323 2005-05-02 Gary V. Vaughan <gary@gnu.org>
6325 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
6326 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
6327 set by latest automake.
6329 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
6331 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
6332 outputs 0 on GNU/Linux these days.
6334 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
6336 * doc/autoconf.texi (Autoconf Language): Add more description
6337 about quoting heuristics.
6338 (Limitations of Builtins): Describe "set -" problems.
6340 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6342 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
6345 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
6346 by AC_DEFINE; it was a mistake.
6347 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
6349 2005-04-25 Stepan Kasal <kasal@ucw.cz>
6351 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
6353 2005-04-22 Stepan Kasal <kasal@ucw.cz>
6355 * doc/autoconf.texi (External Software): Quadrigraphs are not
6356 processed correctly in AS_HELP_STRING; avoid this in the examples.
6357 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
6358 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
6359 comment and reduce m4_default([foo], []) to [foo].
6360 (m4_strip): Update the explanation.
6362 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
6364 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
6365 Remove core.conftest.* too; it's generated by Tru64 5.1.
6366 Problem reported by Jennis Pruett.
6367 * lib/autoconf/functions.m4
6368 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
6369 Don't bother to remove core files; AC_RUN_IFELSE should do that
6372 2005-04-19 Stepan Kasal <kasal@ucw.cz>
6374 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
6376 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
6378 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
6379 Report from Horst Wente.
6381 2005-04-15 Stepan Kasal <kasal@ucw.cz>
6383 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
6386 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
6388 * doc/autoconf.texi (External Software, Package Options): Add
6389 examples showing how to implement --with-* and --enable-* options.
6391 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
6393 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
6394 as well as configure.in. Problem reported by Gregorio Guidi.
6396 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
6398 * doc/autoconf.texi (Particular Functions): Use gnulib's current
6399 pattern for alloca snippet.
6401 2005-04-04 Stepan Kasal <kasal@ucw.cz>
6403 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
6405 2005-04-01 Stepan Kasal <kasal@ucw.cz>
6407 * doc/autoconf.texi (Generic Programs): Fix a typo.
6409 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
6411 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
6412 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
6414 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6416 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
6417 Merge `-z option' as well for the benefit of Solaris link flags. Pass
6418 whole-archive (-zallextract, -zdefaultextract) options in the hope of
6419 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
6420 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
6422 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
6424 * NEWS: The configure command now warns you if you attempt to use
6425 a directory whose name contains a special character like space,
6427 * doc/autoconf.texi (Installation Directory Variables): Allow
6428 "," in file names. Do not use \@; it's not a portable regexp.
6429 * bin/Makefile.am (edit): Likewise.
6430 * lib/Makefile.am (edit): Likewise.
6431 * tests/Makefile.am (edit): Likewise.
6432 * tests/semantics.at: Likewise.
6433 * tests/torture.at: Likewise.
6434 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
6435 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
6436 * doc/autoconf.texi (File System Conventions): Warn about
6437 unportable file names.
6438 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
6440 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
6441 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
6442 ac_pwd, and quote srcdir.
6443 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
6445 * doc/autoconf.texi: Fix some systematic formatting problems.
6446 ".)" needs a following @: if not at the end of a sentence, and
6447 similarly for "!)". "etc." should be preceded by a comma.
6448 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
6450 2005-03-22 Bruno Haible <bruno@clisp.org>
6452 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
6453 argument is often called 'build-aux'.
6455 2005-03-07 Stepan Kasal <kasal@ucw.cz>
6457 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
6458 macro AC_TRY_LINK is obsolete.
6459 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
6462 2005-02-24 Stepan Kasal <kasal@ucw.cz>
6464 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
6465 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
6466 from a Common Lisp's `cl'.
6467 (AC_PROG_CXX): Behave according to the documentation: don't
6468 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
6469 make the variable CCC precious; use `cl.exe', not `cl'.
6471 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
6472 Alexandre Duret-Lutz <adl@gnu.org>
6474 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
6475 /dev/null, as "configure" shouldn't read stdin, and this insulates
6476 us from problems (e.g., when testing for "cl"). Also, do this
6477 redirection before invoking "hostname" or "uname", and keep the
6478 original input stream available via...
6479 (AS_ORIGINAL_STDIN_FD): ... this new macro.
6480 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
6481 bother with "</dev/null" since it's now done at the top of
6483 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
6484 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6485 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6486 * doc/autoconf.texi (File Descriptor Macros): New section.
6487 (Printing Messages): Mention it.
6488 * tests/base.at (Input/Output): New test.
6490 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
6492 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
6493 newline if neither \c nor -n work, as that would output two
6494 newlines. Prefer -n to \c. Reported by Stepan Kasal.
6496 2005-02-12 Stepan Kasal <kasal@ucw.cz>
6498 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
6499 This causes that any required macros inside will get before the if.
6500 * doc/autoconf.texi (autom4te.cache): A typo.
6502 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
6504 Undo previous change, except keep the change to
6505 lib/autoconf/programs.m4 that replaced grep with shell
6506 pattern-matching. This is because net-snmp configure reads stdin.
6507 Reported by Noah Misch.
6509 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
6511 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
6512 from /dev/null, as "configure" shouldn't read stdin, and this
6513 insulates us from problems (e.g., when testing for "cl").
6514 Suggested by Alexandre Duret-Lutz. Also, do this redirection
6515 before invoking "hostname" or "uname".
6516 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6517 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
6518 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
6519 "</dev/null" since it's now done at the top of 'configure'.
6520 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6521 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6522 Also, replace grep with shell pattern-matching, to save a process.
6524 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
6526 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6527 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
6528 avoid thinking that Allegro Common Lisp's "cl" command is a C++
6531 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
6533 * doc/autoconf.texi (Limitations of Usual Tools): Document that
6534 grep -q isn't portable. Improve grep -s explanation.
6535 Problem reported by Dan Manthey.
6537 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
6539 * doc/autoconf.texi (Special Shell Variables): Clarify
6540 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
6542 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
6544 * doc/autoconf.texi: Use @acronym for DJGPP.
6545 Fix some @code's that should have been @env's, and vice versa.
6546 Sort environment variable names.
6547 Mention that shells no longer inherit IFS.
6548 Don't recommend PATH_SEPARATOR=';' so strongly.
6549 Mention that $RANDOM might expand to the empty string.
6550 "symlink" and "soft link" -> "symbolic link".
6551 Improve mktemp description (reported by Bruno Haible).
6553 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
6555 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
6556 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
6558 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
6561 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
6563 * NEWS: Mention AT_COPYRIGHT.
6565 * tests/local.at (AT_CMP): Use diff directly on input files rather
6568 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
6569 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
6571 2005-02-04 Noah Misch <noah@cs.caltech.edu>
6572 and Paul Eggert <eggert@cs.ucla.edu>
6574 * tests/autotest.at (Empty test suite): New test.
6575 * tests/torture.at (Substitute and define special characters)
6576 (Substitute a 2000-byte string, Define to a 2000-byte string)
6577 (Substitute a newline, Define a newline): New tests.
6579 2005-02-04 Noah Misch <noah@cs.caltech.edu>
6581 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
6582 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
6583 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
6584 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
6585 (Standard regular expressions): New test.
6586 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
6587 excess test name quoting.
6588 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
6589 CPPFLAGS to `configure' instead of setting it in `configure'.
6591 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
6592 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
6595 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
6596 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
6598 * tests/local.at (AT_CMP): New macro.
6599 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
6600 (AC_SAVE_STATE): Move environment grep...
6601 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
6602 (AT_CONFIG_CMP): New macro.
6603 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
6604 * tests/c.at (Extensions): Do not exit early.
6605 * tests/atlocal.in: Inherit $GREP.
6607 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
6608 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
6610 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
6611 (AC_COPYRIGHT): Factor header comment portion out and move into...
6612 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
6613 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
6614 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
6616 * tests/local.at: Add Autoconf test suite copyright notice.
6617 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
6619 2005-02-04 Bruno Haible <bruno@clisp.org>
6620 and Paul Eggert <eggert@cs.ucla.edu>
6622 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
6624 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
6626 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
6627 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
6629 Try not to generated lines of unlimited length, as POSIX places a
6630 2047-byte limit on line length of portable text files.
6631 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
6632 Use newline as a separator, not space.
6633 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
6634 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
6637 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6639 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
6640 as_func_*. Add test to check whether positional parameters
6641 are restored after function return.
6643 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
6645 * doc/autoconf.texi (Special Shell Variables): Mention _,
6646 BIN_SH, DUALCASE. Say that variables other than "status" are safe
6647 if they contain a lower-case letter. The DUALCASE problem was
6648 reported by Ralf Wildenhues.
6650 * bin/autoconf.as: Don't exit with status 0 after write failure
6651 with --help or --version.
6652 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
6653 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
6655 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6657 * doc/autoconf.texi (Limitations of Usual Tools):
6658 Unicos 9 sed limitations.
6659 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
6660 to get the option-enhanced interface on older Crays. Try ftn for
6661 Fortran 95 (newer Crays).
6663 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
6665 * man/Makefile.am (.x.1): Go back to the simple solution, but take
6666 care to echo the commands, so the user knows what's going on.
6667 Modified from a suggestion by Stepan Kasal.
6669 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
6670 with a cross reference. Derived from a suggestion by Bruce Korb.
6672 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
6674 * doc/autoconf.texi (config.status Invocation): Warn about
6675 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
6676 * doc/install.texi (Defining Variables): Likewise.
6677 Based on a proposed patch by Ralf Wildenhues.
6679 * man/Makefile.am (.x.1): Make sure the required generated files
6680 are up to date. Problem and original solution proposed by Stepan Kasal.
6681 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
6682 implicit-man-prerequisites): New rules, used by the above.
6684 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
6685 * config/config.guess, config/config.sub, config/install-sh: Likewise.
6686 * config/missing, config/texinfo.tex: Likewise.
6688 2005-01-29 Stepan Kasal <kasal@ucw.cz>
6690 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
6691 Update the long comment explaining it.
6693 m4_require no longer writes an ``is required by'' line to the
6694 execution stack. It contains only one bit of non-redundant
6695 information: that the macro was required, not called. And even
6696 this bit is useless in most situations: have you ever met a macro
6697 which both calls and requires the same macro?
6699 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
6700 (_m4_defun_pro_outer): ... only via this macro, for the outermost
6702 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
6703 (m4_expansion_stack_pop): Remove the misplaced comment.
6704 (m4_require): Don't put the ``is required by'' line to the
6705 execution stack; slightly improve the out-of-a-defun error message.
6706 (_m4_divert_grow): New macro, counter for the temporary diversions.
6707 (_m4_require_call): Use it.
6708 * tests/m4sugar.at (m4_require): Expect output without the
6709 ``is required by'' messages.
6711 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
6713 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
6714 rather than x for expr.
6716 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
6718 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
6719 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6720 * lib/autotest/general.m4 (AT_INIT): Likewise.
6721 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
6722 * tests/mktests.sh: Likewise.
6724 2005-01-27 Akim Demaille <akim@epita.fr>
6726 Have autoheader honor --force.
6728 * doc/make-stds.texi, doc/standards.texi: Update from masters.
6729 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
6730 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
6731 from masters, so that FileUtils.pm's update_file provide --force
6733 * bin/autoheader.in: Pass $force to update_file so that
6734 config.h.in is always recreated when --force.
6736 2005-01-24 Stepan Kasal <kasal@ucw.cz>
6738 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
6740 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
6742 * doc/autoconf.texi (Limitations of Builtins): Clarify that
6743 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
6745 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
6747 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
6748 Warn about newline stripping in `` and $(). Update Solaris
6750 (Limitations of Builtins): Use expr "X...", not expr "x...", as
6751 X insulates us from future changes to Posix.
6752 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
6755 2005-01-19 Stepan Kasal <kasal@ucw.cz>
6757 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
6758 you cannot use AC_DEFINE to define macros containing `[' or `]'.
6760 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
6762 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
6763 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
6764 bug-tar mailing list.
6766 2005-01-05 Stepan Kasal <kasal@ucw.cz>
6768 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
6770 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
6772 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
6773 ulongval to be static, to avoid unwanted GCC warning. Problem
6774 reported by Michael Jennings via Daniel Reed; see
6775 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
6777 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
6779 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
6780 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
6781 datadir, infodir, and mandir. Adjust argument parsing code.
6782 (_AC_INIT_HELP): Update help text.
6783 * doc/autoconf.texi (Installation Directory Variables): Document
6786 2005-01-04 Noah Misch <noah@cs.caltech.edu>
6788 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
6789 not seem to work, assume it does set $(MAKE).
6790 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
6792 2005-01-03 Stepan Kasal <kasal@ucw.cz>
6794 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
6796 2005-01-03 Stepan Kasal <kasal@ucw.cz>
6798 A cleanup of the diversion support in m4sugar.
6800 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
6801 (_m4_divert_n_stack): New macro; the expansion is
6802 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
6804 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
6805 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
6806 stored in _m4_divert_diversion or _m4_divert_dump.
6807 (m4_divert_pop): When the parameter is given, compare the symbolic
6808 name with the last diversion pushed on the stack. Previously, the
6809 current diversion was compared with the numeric value of the
6810 diversion given as the parameter.
6811 (m4_require): If the macro hasn't been expanded yet, call ...
6812 (_m4_require_call): this new macro.
6814 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6816 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
6817 Workarounds for documented `case' limitations.
6819 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
6821 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
6822 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
6824 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
6826 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
6827 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6828 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
6830 Patch from Roger Leigh (with some minor changes) as follows:
6831 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
6832 Resurrect AC_PROG_CC_STDC.
6833 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
6834 AC_PROG_CC_C89, AC_PROG_CC_C99.
6835 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
6836 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
6837 AC_PROG_CC_C99): New macros.
6838 (AC_PROG_CC_STDC): Use them.
6839 (_AC_PROG_CC_STDC): Remove.
6840 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
6841 * THANKS: Add Roger Leigh.
6843 2004-12-30 Noah Misch <noah@cs.caltech.edu>
6845 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
6846 signals that the package uses Automake; a `Makefile.am' is typical but
6847 not essential. Reported by Magnus Therning.
6848 * tests/torture.at (autoreconf.): New banner.
6849 (autoreconf and non-AC configure): Rename to `Non-Autoconf
6851 (autoreconf an empty directory): Rename to `Empty directory'.
6852 (Unusual Automake input files): New test.
6854 2004-12-30 Noah Misch <noah@cs.caltech.edu>
6856 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
6857 (AT_SETUP): Clear AT_capture_files.
6858 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
6859 (AT_KEYWORDS): Fix comment typo.
6860 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
6861 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
6862 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
6864 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
6866 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
6867 If the variable to set is already set, set ac_cv_path_$1
6868 to the preset value so caller can assume ac_cv_path_$1
6869 is available. (trivial change)
6871 2004-12-27 Noah Misch <noah@cs.caltech.edu>
6873 * BUGS (Minor Problems): Warn about makefile limitations.
6874 * Makefile.am: Find and update `INSTALL' in $(srcdir).
6875 * man/Makefile.am: Find and update manual pages in $(srcdir).
6877 2004-12-24 Eric Blake <ebb9@byu.net>
6879 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
6880 shells in subshell, to avoid noise from ash. (trivial change)
6882 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6884 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
6885 problems with SunOS ksh and backslash escaping, Bourne shells and
6886 closing brackets (both within character classes). Bug reported
6887 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
6888 <read>: New entry. Mention non-availability of -r.
6890 2004-12-21 Akim Demaille <akim@epita.fr>
6892 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
6893 avoid cluttering displayed messages. Rather, prepend srcdir where
6894 AT_LINE is used for log files.
6896 2004-12-21 Stepan Kasal <kasal@ucw.cz>
6898 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
6899 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
6900 no longer part of the macro, quote the occurrence of ``$tmp''.
6901 * doc/autoconf.texi (Forbidden Patterns): Typo.
6903 2004-12-21 Akim Demaille <akim@epita.fr>
6905 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
6906 separated from the test title by forcing a white space.
6908 2004-12-21 Akim Demaille <akim@epita.fr>
6910 Enable Emacs navigation within testsuite.log files.
6912 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
6913 use the compilation mode.
6914 (AT_LINE): Point to the srcdir.
6916 2004-12-19 Noah Misch <noah@cs.caltech.edu>
6918 * tests/Makefile.am (installcheck-local): Use $(bindir).
6919 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
6920 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
6921 Makefile.am scheme Autoconf now uses.
6923 2004-12-18 Noah Misch <noah@cs.caltech.edu>
6925 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
6926 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
6928 2004-12-18 Noah Misch <noah@cs.caltech.edu>
6930 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
6931 (_AT_CHECK): Use it.
6932 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
6933 (AS_ESCAPE): Fix comment.
6934 * tests/autotest.at: Adjust section banner comments.
6935 (AT_CHECK_AT): Accept STATUS and STDERR.
6936 (AT_CHECK_AT_TEST): Likewise.
6937 (Invalid brace-enclosed parameter expansion)
6938 (Multiline command from M4 expansion)
6939 (Double-M4-quoted command): New tests.
6941 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
6943 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
6945 2004-12-17 Akim Demaille <akim@epita.fr>
6947 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
6949 Suggested by Alexandre Duret-Lutz.
6950 * doc/autoconf.texi (Setting Output Variables): Catch up.
6952 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6954 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
6956 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6958 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
6959 remove the comment which said we cannot.
6961 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6963 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
6964 Reini Urban and Paul Eggert for reporting the dependencies.
6966 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
6967 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
6968 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
6970 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6972 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
6973 so that eg. ``autoscan --help'' doesn't truncate it.
6975 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
6977 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
6978 generated conftest files.
6980 2004-12-13 Noah Misch <noah@cs.caltech.edu>
6982 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
6983 tracing on commands with possibly-escaped newlines.
6984 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
6985 discontinued behavior and its implications.
6986 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
6987 (BSx641-newline in command, BS-BS-newline in command)
6988 (BSx640-newline in command, Newline-CODE-BS-newline in command)
6989 (Single-quote-BS-newline in command)
6990 (Single-quote-newline-BS-newline in command): New tests.
6992 2004-12-13 Stepan Kasal <kasal@ucw.cz>
6994 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
6995 on platforms where it works.
6996 (_AS_TEST_PREPARE): Test for ``test -x''.
6997 (_AS_BROKEN_TEST_PREPARE): Nuke.
6999 2004-12-13 Stepan Kasal <kasal@ucw.cz>
7001 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
7002 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
7003 give only 4-letter prefix to AS_TMPDIR, comment fixed.
7004 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
7005 create the temporary directory.
7006 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
7008 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
7010 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
7013 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
7015 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
7017 2004-12-11 Noah Misch <noah@cs.caltech.edu>
7019 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
7020 to avoid using a negated character class. Reported by Nicolas Joly.
7021 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
7023 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
7025 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
7026 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
7027 Don't depend on .x file explicitly, since "make" does that for us.
7028 Suggested by Stepan Kasal.
7030 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
7032 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
7033 ifnames): Factor common code. And they said it couldn't be done!
7035 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
7037 * bin/.cvsignore: Add autoconf.in.
7038 * tests/.cvsignore: Add wrapper.in.
7039 * lib/autotest/general.m4: Escape '$' in case pattern.
7041 2004-12-09 Noah Misch <noah@cs.caltech.edu>
7043 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
7045 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
7047 * tests/autotest.at: New file.
7048 * tests/suite.at: Include it.
7049 * tests/Makefile.am: Distribute it.
7051 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
7052 shell tracing on a command that could contain multiple lines.
7053 * doc/autoconf.text: Document that fact and its implications.
7054 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
7055 * tests/autotest.at (Multiline backquote command substitution,
7056 Multiline parameter expansion, Literal multiline command,
7057 Multiline parenthetical command substitution): Remove XFAIL.
7059 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
7061 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
7062 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
7064 2004-12-08 Noah Misch <noah@cs.caltech.edu>
7066 * configure.ac (test suite): Cease to generate wrapper scripts.
7067 * configure: Regenerate.
7068 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
7069 (m4f_dependencies): Adjust accordingly.
7070 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
7071 (wrapper.in): Generate it in the build directory.
7072 (MAINTAINERCLEANFILES): Delete wrapper.in.
7073 (CLEANFILES): Add wrapper.in.
7074 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
7075 the output. Replace each $as_me with a @wrap_program@.
7076 * tests/wrapper.in: Delete it; we always build it.
7078 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
7079 (EXTRA_DIST): Remove autoconf.in.
7080 (CLEANFILES): Add autoconf.in.
7081 (autoconf): Find autoconf.in in the build directory.
7082 * bin/autoconf.in: Delete it; we always build it.
7084 2004-12-08 Noah Misch <noah@cs.caltech.edu>
7086 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
7087 PATH members so as to not prepend an empty element. Move a comment.
7088 * Makefile.am (SUBDIRS): Build in `tests' last.
7089 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
7091 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
7093 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
7094 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
7095 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
7096 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
7098 2004-12-07 Stepan Kasal <kasal@ucw.cz>
7100 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
7103 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
7105 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
7106 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
7107 * doc/autoconf.texi (Particular Functions): Mention new behavior.
7109 2004-12-03 Stepan Kasal <kasal@ucw.cz>
7111 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
7112 out the common code to ...
7113 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
7114 value of the #define--default to 1, iff the macro was called
7115 with exactly one parameter.
7117 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
7119 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
7120 "char c = '\200';" rather than "char c = 0x80;" as the
7121 latter doesn't conform to the strict C standard due to
7122 overflow on signed char hosts.
7124 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
7125 to -qlanglvl=ansi. We don't want to disable extensions.
7127 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
7129 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
7130 (Using Autotest, testsuite Scripts, Writing testsuite.at):
7131 Reword slightly to avoid some English-language problems noted
7132 by Ralf Wildenhues in:
7133 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
7135 2004-11-29 Stepan Kasal <kasal@ucw.cz>
7137 * NEWS: Add ^L above each release.
7139 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
7141 Fix documentation problems reported by Russ Boylan in
7142 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
7143 along with some nearby cruft.
7144 * doc/autoconf.texi (Libtool): Libtool can be used without
7145 Automake (not without Autoconf).
7146 (Introduction): Mention lists.gnu.org.
7147 * BUGS: Don't mention bugs.gnu.org.
7148 Remove mention of ancient libtool compatibility problem.
7149 * NEWS: Mention that bugs.gnu.org is kaput.
7150 * README: Likewise. Mention where mailing list archives can be found.
7152 2004-11-28 Stepan Kasal <kasal@ucw.cz>
7154 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
7156 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
7158 * doc/autoconf.texi (Pretty Help Strings): Go back to
7159 single-quoting assignments to cache variables.
7161 2004-11-23 Stepan Kasal <kasal@ucw.cz>
7163 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
7164 with the examples; fix the bug in MY_ARG_WITH example reported
7165 by Alexandre Duret-Lutz.
7166 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
7167 expansion of $1 in the comment emitted to configure.
7169 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
7171 * doc/autoconf.texi (Pretty Help Strings): Fix typo
7172 in my editing of the previous patch. Problem reported
7173 by Alexandre Duret-Lutz.
7175 2004-11-22 Stepan Kasal <kasal@ucw.cz>
7177 * doc/autoconf.texi (Autoconf Language): Explain that
7178 ``descriptions'' may not be double quotes.
7179 (Quotation Rule Of Thumb): Likewise.
7180 (Pretty Help Strings): Likewise; remove the wrong comment;
7181 simplify the examples and improve their quoting.
7183 2004-11-13 Stepan Kasal <kasal@ucw.cz>
7185 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
7186 the $1_found variable, don't test whether the file is executable;
7187 Both things are checked ...
7188 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
7189 the former ``test -f''.
7190 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
7192 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
7194 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
7197 2004-11-10 Derek R. Price <derek@ximbiot.com>
7199 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
7200 limitations. Reorder paragraphs for clarity.
7202 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
7204 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
7205 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
7206 variants", "Unix", and some related minor wording fixups.
7208 (Shellology, Special Shell Variables): Document that the Zsh
7209 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
7210 to Alexandre Duret-Lutz for this info.
7212 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
7214 * doc/autoconf.texi (One-Shot Macros): New node.
7216 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
7218 * doc/autoconf.texi (Function Portability): Fix misdescription
7219 of putenv. Problem reported by Michael Wardle.
7221 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
7223 * doc/autoconf.texi (auindex): New macro.
7224 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
7225 Problem reported by Stepan Kasal.
7227 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
7229 Fix problems reported by Andreas Buening in:
7230 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
7231 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
7233 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
7234 readable; it's not true in OS/2-emx.
7236 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
7238 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
7239 "/usr/include", clear ac_x_includes instead of leaving it as "no"
7240 (trivial change). Problem and patch reported by Andrew Church in:
7241 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
7243 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
7245 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
7246 three args in examples. Problem reported by Frederik Fouvry in:
7247 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
7248 Also, fix some minor spacing and punctuation bugs.
7250 2004-09-02 Akim Demaille <akim@epita.fr>
7252 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
7253 "case" to restore ordering.
7254 Reported by Stepan Kasal.
7256 2004-08-26 Akim Demaille <akim@epita.fr>
7258 * doc/autoconf.texi: Minor typos and stylos.
7260 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
7262 * configure.ac (AC_INIT): Bump to 2.59c.
7264 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
7268 * README: Add advice about m4 1.4.2.
7270 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
7271 texinfo.tex for now (done by hand now).
7272 * Makefile.maint (wget_files, cvs_files):
7273 Remove ansi2knr.c; nobody uses it.
7274 (ansi2knr.c-url_prefix): Remove.
7275 (cvs-update): Fix test for failure. I don't know why it ever
7278 * doc/autoconf.texi: Update URLs, some of which went stale.
7279 Use @uref rather than @href.
7281 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
7282 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
7284 * config/config.guess, config/config.sub, config/elisp-comp,
7285 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
7286 doc/fdl.texi, doc/standards.texi: Sync with master copy.
7288 * NEWS, TODO, configure.ac, bin/autoscan.in,
7289 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
7290 doc/install.texi, lib/Autom4te/Configure_ac.pm,
7291 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
7292 lib/autoconf/programs.m4, lib/autoconf/status.m4,
7293 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
7294 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
7295 tests/tools.at, tests/torture.at:
7296 Use "file name" rather than "filename" or "path",
7297 to be consistent with the terminology of the GNU coding standards.
7299 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
7301 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
7302 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
7303 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
7304 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
7306 More fixes to support spaces in the name of the build directory.
7307 This isn't a complete fix but it's an improvement.
7309 * bin/autoconf.as (autom4te_options): New var.
7310 Use it instead of appending to AUTOM4TE, so that we can allow
7311 spaces in the build directory's absolute name.
7312 * bin/autoheader.in ($autoconf): Allow spaces in file names.
7313 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
7314 AT_CHECK_NOESCAPE): Likewise.
7315 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
7316 main program): Likewise.
7318 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
7320 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
7321 From Ralf Corsepius in:
7322 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
7324 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
7326 * doc/autoconf.texi (Function Portability): Document isinf and
7327 and isnan. From a suggestion by Kevin Ryde.
7329 * lib/Autom4te/General.pm (END): Return correct exit status even
7330 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
7332 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
7334 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
7335 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
7336 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
7338 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
7340 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
7341 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
7342 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
7343 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
7344 * lib/autom4te.in (Automake-preselections): Preselect
7345 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
7347 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
7349 * lib/autom4te.in (Automake-preselections): Preselect
7350 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
7353 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
7355 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
7357 * doc/autoconf.texi (Shellology): Mention BIN_SH.
7358 Document problem with "`""`" in pdksh POSIX mode.
7360 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
7362 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
7363 with pdksh, too. Problem reported by Patrick Welche via
7365 * doc/autoconf.texi (Shellology): Note that set -o posix is
7366 useful for pkdsh, too.
7368 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
7370 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
7371 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
7372 Don't fail if ENV or BASH_ENV is readonly.
7373 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
7374 etc. are read only. Problem reported by Ludovic Courtes.
7376 2004-06-23 Noah Misch <noah@cs.caltech.edu>
7378 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
7379 zsh, disable GLOB_SUBST to avoid backslash handling problems.
7382 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
7384 * doc/autoconf.texi (File System Conventions): Warn about
7385 names like "aux". Problem reported by Eric Blake.
7387 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
7388 by zero instead of array size, so that we can use any arithmetic
7389 constant expression (instead of requiring an integer constant
7390 expression). This allows us to test expressions like DBL_MAX <
7391 LDBL_MAX, which didn't conform to the C standard using the old
7393 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
7394 now that we can do floating-point tests at compile time.
7396 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
7398 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
7399 and LDBL_EPSILON, as the resulting expression isn't an
7400 integer constant expression and violates the C standard.
7401 Problem reported by Nelson H. F. Beebe. Also, check
7402 for "L" suffix, and check that long double doesn't have
7403 worse range or precision than double, that mixed-mode
7404 arithmetic doesn't generate a diagnostic, that double
7405 constants fit in long double.
7407 2004-06-03 Kevin Ryde <user42@zip.com.au>
7409 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
7410 malloc(0) and realloc(NULL,size).
7412 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
7415 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
7417 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
7418 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
7421 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
7423 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
7424 can be rewritten using if-then-else. Suggested by Bruno Haible.
7426 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
7428 * doc/autoconf.texi (testsuite Scripts): Fix typo.
7429 Problem reported by Stepan Kasal.
7431 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
7433 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
7434 change). Patch reported by Ralf Wildenhues in
7435 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
7437 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
7438 function F exists if the compiler and linker let you compile an
7439 expression like (F != 0). Recent versions of GCC optimize away
7440 the reference to F in that case, since every function address must
7441 be nonzero, so the link succeeds even if F does not exist.
7442 Problem reported by Manu in
7443 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
7445 * doc/autoconf.texi (Systemology): Standardize on the spelling of
7446 "Unix". Many uses changed.
7447 (Limitations of Builtins): Explain better why the ! command isn't
7450 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
7452 * lib/autom4te.in (Automake-preselections): Preselect
7453 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
7455 2004-05-19 Kevin Ryde <user42@zip.com.au>
7457 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
7458 referencing AC_FUNC_STRERROR_R.
7460 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
7461 note pessimistic assumption when cross compiling.
7463 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
7465 * doc/autoconf.texi (Limitations of Make): Note that BSD make
7466 (until 2004) invoked subcommands with sh -e, contra POSIX.
7467 Reported by Kevin Ryde.
7469 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
7471 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
7472 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
7473 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
7474 `test -f " /usr/bin/grep"', which _always_ failed.
7475 (AC_PROG_SED): Ditto bogus PATH fix.
7476 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
7477 requires that grep correctly supports _multiple_ `-e' options, rather
7478 than stating only that grep should accept `-e'.
7480 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
7482 Port to C99, which requires that 'exit' be declared.
7484 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
7485 to ensure that stdlib.h is included.
7486 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
7487 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
7488 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
7489 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
7490 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
7491 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
7492 when using 'exit' in a test; C99 requires that 'exit' be declared.
7494 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
7496 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
7497 now prefers 'grep' implementations that accept -e.
7498 (Limitations of Usual Tools): Describe problems of traditional
7499 egrep and fgrep with long input lines, and of traditional grep
7501 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
7502 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
7503 All callers changed. Append /usr/xpg4/bin to the PATH, for
7505 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
7506 the user with complaints about multiple -e options.
7507 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
7508 Define it with AC_PROG_GREP.
7509 * configure.ac (AC_PROG_GREP): Add.
7510 * lib/freeze.mk (GREP): New macro.
7512 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
7514 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
7515 a possible candidate only after all others fail, rather than
7516 consulting it first. This improves backward compatibility by
7517 better reflecting the way shell selection occurred in previous
7518 versions of Autoconf, and should help to avoid triggering latent
7519 problems in other packages, such as the one in Automake where zsh
7520 is not handled robustly:
7521 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
7522 Although it is not Autoconf's responsibility to work around
7523 problems in Automake, it nevertheless makes sense to avoid
7524 introducing unnecessary incompatibilites.
7526 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
7527 Gary V. Vaughan <gary@gnu.org>
7529 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
7530 how deeply nested we are when a suitable tool is found, set the
7531 ac_path_TOOL_found flag.
7532 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
7533 nested we are in this macro. Break out of all 3 nested loops if
7534 ac_path_TOOL_found is set.
7536 2004-04-21 Gary V. Vaughan <gary@gnu.org>
7538 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
7539 of the _AS_PATH_WALK loop too if GNU flavor is found.
7541 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
7543 * doc/autoconf.texi (Limitations of Make): Update documentation
7544 for `$<'. New entry `Long lines', based on a report from Simon
7545 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
7546 paragraph about DJGPP, based on a mail from Richard Dawe.
7548 2004-04-20 Paul Eggert <eggert@twinsun.com>
7550 * tests/c.at (C keywords): Don't assume that GCC supports
7551 "restrict" and "inline", as sufficiently-old GCC versions do not
7552 (also, GCC configured to be in pedantic C89 mode does not).
7553 Problem reported by Sumit Pandya in:
7554 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
7556 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
7557 consider -g to work if it generates warnings when plain compiles
7558 don't. Problem reported by Braden McDaniel in:
7559 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
7561 * doc/autoconf.texi (Slashes): New section, to document a problem
7562 reported by Jim Meyering in:
7563 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
7565 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
7566 linker output files before linking, to work around IRIX 6 linker bug.
7567 Problem reported by Rainer Orth in:
7568 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
7570 2004-04-20 Gary V. Vaughan <gary@gnu.org>
7572 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
7573 best tool so far counter rely on the tool path variable name to
7574 avoid checks for one tool being affected by the results of running
7575 the length check on a previous tool.
7577 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
7578 match expression argument, as different greps have different
7579 regular expression flavours.
7580 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
7582 (AC_PROG_EGREP): Pass 'EGREP$'.
7583 (AC_PROG_GREP): Pass 'GREP$'.
7585 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
7587 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
7588 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
7590 2004-03-29 Paul Eggert <eggert@twinsun.com>
7592 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
7593 Types, Specific Compiler Characteristics, System Services,
7594 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
7595 etc. consistently instead of 'long', 'short', 'unsigned' etc.
7596 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
7597 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
7599 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
7600 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
7601 AC_TYPE_OFF_T): Likewise.
7602 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
7605 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
7606 pacify libtool 1.5.2. Fix quoting problems in sed command.
7608 2004-03-28 Paul Eggert <eggert@twinsun.com>
7610 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
7611 now defines HAVE_DECL_TZNAME if it is declared, when
7612 HAVE_STRUCT_TM_TM_ZONE is not defined.
7613 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
7614 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
7617 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
7619 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
7620 superfluous backslashing of quotes (") in sed expressions;
7621 thanks to Paul Eggert.
7623 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
7625 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
7626 Fortran compiler is ifort, also added pghpf; thanks to Nelson
7627 H. F. Beebe for the bug report.
7629 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
7631 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
7632 quoted -cmdline argument in Portland Group compiler (bug
7633 reported by Jeffrey J. Barteet).
7635 2004-03-25 Kevin Ryde <user42@zip.com.au>
7637 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
7638 (Run Time): ... here, where it's now mentioned.
7640 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
7642 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
7643 inherits from language Autoconf-without-aclocal-m4.
7644 (Customizing autom4te): Adjust example; the cache must now be
7645 disabled for language Autoconf-without-aclocal-m4.
7647 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
7648 Nathanael Nerode <neroden@twcny.rr.com>
7650 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
7651 AC_CHECK_TOOLS): Warn if a cross-tool is found without
7653 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7654 AC_CHECK_TARGET_TOOLS): New macros.
7655 * doc/autoconf.texi (Generic Programs): Document
7656 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7657 AC_CHECK_TARGET_TOOLS, and warn for future changes
7658 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
7660 (Specifying Names): Document the reason for these future
7662 * tests/mktests.sh: Do not generate tests for the
7664 * NEWS: Document these changes.
7666 * doc/autoconf.texi: Avoid macros with unbraced arguments,
7667 they make TeX hang up.
7669 2004-03-15 Paul Eggert <eggert@bogus.example.com>
7671 * NEWS: New macro AC_CHECK_ALIGNOF.
7672 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
7673 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
7674 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
7676 (AC_CHECK_ALIGNOF): New macro.
7677 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
7678 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
7681 2004-03-03 Paul Eggert <eggert@twinsun.com>
7683 * bin/Makefile.am (edit): Don't use $< in a context where
7684 POSIX doesn't require support for it. Use $@.in instead.
7685 Problem reported by Anthony N. Frasso in
7686 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
7687 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
7689 2004-02-23 Gary V. Vaughan <gary@gnu.org>
7691 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
7692 from the next generation of Libtool.
7693 * lib/autom4te.in (Autoreconf-preselections): Ditto.
7695 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
7697 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
7698 is not always thread-safe. Report from Nathanael Nerode.
7700 2004-02-18 Paul Eggert <eggert@twinsun.com>
7702 Fix a dependencies problem, stemming from a Autoconf 2.59 build
7703 problem on QNX reported by Stephen Rasku in
7704 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
7706 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
7707 $(m4sh_m4f_dependencies); this removes a FIXME.
7708 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
7709 (MAINTAINERCLEANFILES): Split into pieces,
7710 one per related section. Add $(srcdir)/wrapper.in.
7712 2004-02-09 Paul Eggert <eggert@twinsun.com>
7714 * doc/autoconf.texi (Setting Output Variables): Emphasize that
7715 AC_SUBST provides no portable way to escape literal newlines.
7717 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
7718 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
7719 Darwin uses -lcrt2.o and there's little point to cataloging all
7720 the system variants. Partial fix reported by Andreas Waechter in:
7721 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
7722 for bug reported by Nelson H. F. Beebe in:
7723 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
7725 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
7727 * doc/autoconf.texi (AU_DEFUN): Fix English,
7728 suggested by Paul Eggert.
7729 * lib/autoconf/autoupdate.m4: Correct reference to
7730 acobsolete.m4, suggested by Alexandre Duret-Lutz.
7732 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
7734 * bin/autoupdate.in: Define __file__ so that warnings
7735 refer to the correct file.
7736 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
7737 the behavior of the third argument.
7738 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
7739 correctly the behavior of the third argument. Document
7740 what the three macros that AU_DEFUN defines do. Fix
7741 warning message when the third argument includes $0
7742 (reported by Alexandre Duret-Lutz).
7744 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
7745 Eric Sunshine <sunshine@sunshineco.com>
7746 Paul Eggert <eggert@twinsun.com>
7748 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
7749 (AS_INIT): Output shell initialization there. Removed optional
7750 parameter. Expand _AS_SHELL_FN_SPY.
7751 (AS_INIT_WITH_SHELL_FN): Removed.
7752 (_AS_SHELL_FN_SPY): New macro.
7753 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
7755 (AS_SHELL_SANITIZE): Remove loop to find better shell
7756 and documentation for the parameter.
7757 (_AS_DETECT_BETTER_SHELL): Move it here.
7758 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
7759 (_AS_RUN): Move it here, support testing with eval.
7760 (AS_REQUIRE_SHELL_FN): Require shell functions when
7762 (_AS_LINENO_WORKS): Put around braces, we do not
7763 trigger the bash bug anymore.
7764 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
7765 use AS_INIT_WITH_SHELL_FN.
7766 * bin/autoconf.in, tests/wrapper.in: Regenerated.
7768 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
7770 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
7771 * doc/autoconf.texi: Don't say that the third parameter
7773 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
7774 (AU_DEFUN): Honor the third parameter, create autoupdate
7775 macros with AU_DEFINE.
7776 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
7777 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
7778 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
7779 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
7780 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
7781 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
7782 AC_XENIX_DIR): Likewise.
7783 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
7784 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
7785 * lib/autoconf/status.m4: Remove FIXME.
7786 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
7787 that the macro is not present anymore in the updated
7789 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
7792 2004-01-28 Paul Eggert <eggert@twinsun.com>
7794 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
7796 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
7797 2003 (except 1997) to the list of copyright years. This undoes
7798 the 2003-05-22 change, which removed the older years from the list.
7799 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
7801 2004-01-27 Gary V. Vaughan <gary@gnu.org>
7802 Albert Chin-A-Young <china@thewrittenword.com>
7804 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
7805 grep or ggrep program in PATH that accepts as long lines as
7807 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
7809 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
7810 egrep and fgrep respectively if $GREP -E/-F don't work.
7811 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
7812 _AC_PROG_GREP, and AC_PROG_SED.
7813 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
7814 longest input length accepted by a command.
7815 (AC_PROG_SED): Use it.
7816 * doc/autoconf.texi (Particular Programs): Document the changes.
7819 2004-01-27 Paul Eggert <eggert@twinsun.com>
7821 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
7822 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7823 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
7824 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
7826 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
7827 bin/autoconf.in, config/Makefile.in, config/config.guess,
7828 config/config.sub, config/install-sh, config/mdate-sh,
7829 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
7830 lib/Makefile.in, lib/Autom4te/Makefile.in,
7831 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
7832 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
7833 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
7834 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
7835 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
7836 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
7837 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
7838 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
7839 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
7840 tests/actypes.at: Regenerate and/or sync with original
7843 2004-01-26 Paul Eggert <eggert@twinsun.com>
7845 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
7846 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
7847 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
7848 not <inttypes.h>. Problem reported by Tim Mooney in
7849 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
7850 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
7853 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
7854 otherwise "make check" fails because it forbids cmp (I guess
7855 because cmp treats files as binary on DOS-like systems).
7857 * tests/mktests.sh: Update copyright date to 2004, since some tests
7858 have changed in 2004.
7860 2004-01-23 Gary V. Vaughan <gary@gnu.org>
7862 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
7863 non-truncating sed or gsed program in PATH.
7864 * tests/acprograms.at: Add it.
7865 * doc/autoconf.texi (Particular Programs): Document it.
7868 2004-01-15 Paul Eggert <eggert@twinsun.com>
7870 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
7871 -std1 disables some useful extensions on Tru64. Problem reported
7873 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
7875 2004-01-14 Paul Eggert <eggert@twinsun.com>
7877 * doc/autoconf.texi (Programming in M4sh): Document that
7878 AS_MKDIR_P succeeds if the destination is a symbolic link
7879 to an existing directory.
7880 (Limitations of Usual Tools): Note that mkdir -p might not
7881 succeed on symlinks to directories.
7883 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
7885 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
7886 * bin/autoheader.in: Grammar fix in message.
7887 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
7888 Test for dir before calling mkdir -p. (trivial changes)
7890 2004-01-13 Eric Blake <ebb9@byu.net>
7892 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
7893 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
7895 2004-01-10 Jim Meyering <jim@meyering.net>
7897 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
7899 2004-01-09 Paul Eggert <eggert@twinsun.com>
7901 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
7902 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
7903 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
7904 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
7905 AC_COMPILE_IFELSE, since we now assume our caller invokes
7906 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
7907 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
7908 of AC_RUN_IFELSE; this avoids the warning mentioned above.
7909 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
7911 2004-01-07 Paul Eggert <eggert@twinsun.com>
7913 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
7914 `"'...'"`, as it's confusing (and I suspect it may not work on
7915 some platforms). The code was incorrect anyway, as it assumed
7916 that \$ evaluated to itself in that context. Reported by
7917 Alexandre Duret-Lutz.
7919 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
7921 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
7922 and _LT_AC_TAGCONFIG.
7924 2004-01-06 Paul Eggert <eggert@twinsun.com>
7926 * doc/autoconf.texi (One Macro Call): Fix an incorrect
7927 example, and add more examples. Reported by Eric Sunshine.
7929 2004-01-05 Paul Eggert <eggert@twinsun.com>
7931 * doc/autoconf.texi (Limitations of Usual Tools):
7932 Remove warning against "rm -fr" introduced yesterday; it
7935 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
7936 autoscan, autoupdate, ifnames): Don't use chmod -w.
7937 * lib/Makefile.am (autom4te.cfg): Likewise.
7938 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
7941 2004-01-04 Paul Eggert <eggert@twinsun.com>
7942 Paolo Bonzini <bonzini@gnu.org>
7944 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
7945 by doing lineno substitution only on lines containing "$LINENO".
7947 2004-01-04 Paul Eggert <eggert@twinsun.com>
7949 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
7950 Use "rm -f" to remove conftest.sed, not plain "rm".
7951 Bug reported by David Relson in
7952 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
7954 * Makefile.am (autom4te-update):
7955 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
7956 * Makefile.maint (my-distcheck, do-po-update): Likewise.
7957 * doc/autoconf.texi (Guidelines): Likewise.
7958 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
7959 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
7960 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
7961 * lib/autotest/general.m4 (AT_INIT): Likewise.
7962 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
7963 * tests/Makefile.am (clean-local): Likewise.
7964 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
7966 * doc/autoconf.texi (Limitations of Usual Tools):
7967 Warn against "rm -fr".
7969 2004-01-03 Paul Eggert <eggert@twinsun.com>
7971 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
7972 -c -o might not work. From a suggestion by Kevin Ryde.
7973 (C Compiler, Generating Sources, Limitations
7974 of Usual Tools, Limitations of Make, Making testsuite Scripts):
7975 Don't put '-o' after non-options, as POSIX doesn't allow this.
7976 Mention that cc's name might be gcc or c89 or whatever.
7978 2004-01-04 Kevin Ryde <user42@zip.com.au>
7980 * doc/autoconf.texi: Add various further index entries.
7982 2003-12-29 Paul Eggert <eggert@twinsun.com>
7984 * bin/autoreconf.in (autoreconf_current_directory):
7985 Fix typo: mkdir without umask arg.
7987 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
7989 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
7990 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
7991 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
7992 explanation clearer.
7994 2003-12-24 Andreas Schwab <schwab@suse.de>
7996 * doc/autoconf.texi (Default Includes): Fix misspelling of
7997 AC_INCLUDES_DEFAULT.
7999 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
8001 * configure.ac: Test if sh -n works.
8002 * configure: Regenerate.
8003 * tests/atlocal.in: Store the result here.
8004 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
8005 tools.at, looking in atlocal's ac_cv_sh_n_works instead
8006 of explicitly testing.
8007 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
8008 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
8009 * tests/tools.at (Syntax of the shell scripts): Simplify
8010 using AT_CHECK_SHELL_SYNTAX.
8011 (Syntax of the Perl scripts): Remove definition of
8012 AT_CHECK_PERL_SYNTAX.
8014 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
8016 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
8017 stderr to /dev/null.
8018 * bin/autoconf.in: Regenerate.
8019 * bin/wrapper.in: Regenerate.
8021 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
8023 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
8024 Extracted from AS_SHELL_SANITIZE.
8025 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
8027 (AS_SHELL_SANITIZE): Move reinvocation code from
8028 _AS_LINENO_WORKS, use it to find out if shell
8030 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
8032 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
8033 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
8035 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
8036 * bin/autoconf.in: Regenerate.
8037 * tests/wrapper.in: Regenerate.
8038 * tests/tools.at: Test the syntax of tests/autoconf
8039 and tests/testsuite.
8041 2003-11-24 Akim Demaille <akim@epita.fr>
8043 * config/announce-gen (&print_locations, &print_signatures)
8046 No longer rely on Gnus to inline the list of signatures: compute
8049 2003-11-24 Akim Demaille <akim@epita.fr>
8051 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
8052 override some files.
8053 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
8054 From Debian Autoconf 2.58.
8056 2003-11-24 Akim Demaille <akim@epita.fr>
8058 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
8060 From Debian Autoconf 2.58.
8062 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
8064 * TODO: Remove already done things. Update the part about finding
8065 tools for the target.
8067 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
8069 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
8070 Make wording more consistent.
8071 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
8072 Explain the transition better.
8073 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
8074 the transition better.
8076 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
8078 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
8079 parameter of AU_DEFUN.
8080 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
8081 (AU_DEFUN): Remove the third parameter, it was not used.
8082 Use AC_DEFUN directly, not AU_DEFINE.
8083 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
8084 the expanded body, consistently with other macros such as AC_USG.
8086 2003-11-17 Paul Eggert <eggert@twinsun.com>
8088 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
8089 into the initial confdefs.h, to work around a bug in NextStep 3.3
8090 patch 3 reported by Eric Sunshine.
8092 2003-11-15 Kevin Ryde <user42@zip.com.au>
8094 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
8095 than $target since the latter is not usual, add guidelines on when to
8096 use or not use the system type.
8098 2003-11-12 Derek Price <derek@ximbiot.com>
8100 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
8101 typo misrepaired by an auto-spellcheck.
8103 2003-11-12 Akim Demaille <akim@epita.fr>
8105 * bin/autoreconf.in (&parse_args): Don't call automake with
8106 --force-missing unless it actually supports it.
8107 From Debian #219336.
8109 2003-11-12 Akim Demaille <akim@epita.fr>
8111 * configure.ac: Bump to 2.59a.
8114 2003-11-06 Akim Demaille <akim@epita.fr>
8118 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
8120 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
8121 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
8122 and ac_abs_top_srcdir are absolute paths.
8123 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
8125 2003-11-05 Akim Demaille <akim@epita.fr>
8127 * configure.ac: Bump to 2.58a.
8129 2003-11-05 Kevin Ryde <user42@zip.com.au>
8131 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
8132 it provokes a warning from makeinfo about looking like a cross
8133 reference in info output.
8135 * doc/autoconf.texi (Function Portability): Add notes on signal
8136 handler return type, as per AC_TYPE_SIGNAL.
8138 2003-11-04 Akim Demaille <akim@epita.fr>
8141 * doc/standards.texi: Update from master.
8143 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
8145 2003-11-04 Akim Demaille <akim@epita.fr>
8147 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
8148 computing the absolute path to d1 in the source hierarchy: it may
8149 not exist at all. So don't cd into it.
8150 From Alexandre Duret-Lutz.
8151 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
8153 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
8154 From Paul Eggert, but named after Perl's IO::Spec->catfile.
8155 * doc/autoconf.texi (Programming in M4sh): Document.
8156 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
8158 2003-11-03 Pavel Roskin <proski@gnu.org>
8160 * doc/autoconf.texi (Generic Structure Checks): Describe
8161 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
8163 2003-10-31 Akim Demaille <akim@epita.fr>
8165 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
8167 * doc/autoconf.texi (Language Choice): Document.
8168 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
8169 the current language is Fortran.
8171 2003-10-31 Akim Demaille <akim@epita.fr>
8173 * bin/autom4te.in (&freeze): Use a less likely warning separator
8174 than `\n\n', so that `\n\n\n' is valid in warnings.
8175 Reported by Steve Huston.
8177 2003-10-28 Akim Demaille <akim@epita.fr>
8179 * Makefile.cfg (local_updates, executable-update): Tweak to be
8180 robust to parallel makes.
8181 Suggested by Alexandre Duret-Lutz.
8183 2003-10-27 Akim Demaille <akim@epita.fr>
8185 * Makefile.cfg (executable-update): New.
8186 (local_updates): Call it.
8188 2003-10-27 Akim Demaille <akim@epita.fr>
8190 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
8191 Don't remove core.* as it may remove valid user files.
8192 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
8193 (AC_FUNC_UTIME_NULL): Likewise.
8195 2003-10-23 Akim Demaille <akim@epita.fr>
8198 * config/config.guess, config/config.sub: Upgrade from masters.
8200 2003-10-23 Akim Demaille <akim@epita.fr>
8202 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
8203 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
8206 2003-10-23 Akim Demaille <akim@epita.fr>
8208 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
8209 Don't forget to remove conftest.err.
8211 2003-10-23 Akim Demaille <akim@epita.fr>
8213 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
8214 same object file in $LIBOBJS.
8215 Reported by Alexandre Duret-Lutz & Derek Robert Price.
8216 * doc/autoconf.texi (Generic Functions): Adjust.
8218 2003-10-20 Paul Eggert <eggert@twinsun.com>
8220 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
8221 Use 'eval', so that the resulting configure scripts work even if
8222 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
8224 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
8226 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
8227 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
8228 (_AC_LINK_IFELSE): Check the werror flag.
8229 * doc/autoconf.texi (Generic Compiler Characteristics): Document
8233 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
8235 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
8236 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
8237 override AC_LINK_IFELSE.
8239 2003-10-15 Paul Eggert <eggert@twinsun.com>
8241 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
8242 pdksh 5.2.14. Bug reported by Ralf Corsepius.
8243 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
8244 Mention /usr/dt/bin/dtksh on Solaris.
8245 (Shell Substitutions): Warn about $((...)).
8246 (Parentheses): New section.
8248 2003-10-15 Kevin Ryde <user42@zip.com.au>
8250 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
8251 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
8253 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
8255 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
8258 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
8260 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
8261 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
8263 2003-10-10 Andreas Schwab <schwab@suse.de>
8265 * bin/autoheader.in: Avoid empty first line in --version and
8267 * bin/ifnames.in: Likewise.
8269 2003-10-09 Paul Eggert <eggert@twinsun.com>
8271 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
8272 Issue a more-informative diagnostic.
8273 Problems reported by Eric Sunshine.
8275 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
8277 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
8278 -mGLOB_options_string stuff for Intel ifc, which can cause
8279 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
8280 pattern-matching instead of grep.
8282 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
8284 * doc/autoconf.texi: Document new FC Fortran macros.
8286 2003-10-08 Gary V. Vaughan <gary@gnu.org>
8288 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
8289 that future autopoint/aclocal/automake/autoreconf will be able
8290 to trace to find where to install local m4 macros.
8291 * doc/autoconf.texi (Input): Document it.
8294 2003-10-06 Gary V. Vaughan <gary@gnu.org>
8296 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
8297 -lcrtbegin.o to list of ignored flags and fix underquoting of
8300 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
8302 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
8303 cache variable instead of $G77 to decide whether to include -O2,
8304 since $G77 is specific to Fortran 77.
8306 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
8308 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
8309 free" flag. Re-order flags tested into rough order of popularity.
8311 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
8313 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
8314 arguments so that it can be used with syntax identical to
8315 AC_PROG_F77, and so that we can more easily decide to
8316 remove/deprecate the DIALECT optional argument in the future if it
8318 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
8319 non-freeform-supporting compilers. Document freeform flags.
8321 2003-10-03 Akim Demaille <akim@epita.fr>
8323 * configure.ac: Look for emacs, not macs.
8324 Reported by Eric Sunshine.
8326 2003-10-03 Akim Demaille <akim@epita.fr>
8328 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
8329 * bin/autoreconf.in (autoreconf_current_directory): Create the
8330 AUX_DIR if needed, for sake of automake --add-missing etc.
8331 Suggested by Alexandre Duret-Lutz.
8333 2003-10-03 Akim Demaille <akim@epita.fr>
8335 * configure.ac: Quotation and formatting changes.
8336 (EMACS): Don't set it if it is not recent enough to support
8340 2003-10-02 Akim Demaille <akim@epita.fr>
8342 * bin/ifnames.in (&scan_file): Skip C++ comments.
8345 2003-10-01 Pavel Roskin <proski@gnu.org>
8347 * doc/autoconf.texi (Particular Structure Checks):
8348 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
8350 2003-10-01 Akim Demaille <akim@epita.fr>
8354 2003-09-30 Paul Eggert <eggert@twinsun.com>
8356 * lib/Autom4te/XFile.pm: Use Errno.
8357 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
8358 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
8360 2003-09-30 Akim Demaille <akim@epita.fr>
8362 * config/announce-gen (&print_news_deltas): Extracted from...
8363 (&print_changelog_deltas): here.
8364 (&news_file): Rename as...
8367 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
8369 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
8370 have been created when invoking the compiler.
8371 * tests/fortran.at (GNU Fortran 77): Quote $G77.
8373 2003-09-29 Akim Demaille <akim@epita.fr>
8377 * config/mkinstalldirs: Upgrade.
8379 2003-09-28 Paul Eggert <eggert@twinsun.com>
8381 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
8382 Problem reported by Lars J. Aas in
8383 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
8384 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
8385 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
8386 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
8388 2003-09-26 Akim Demaille <akim@epita.fr>
8390 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
8391 directory for AC_CONFIG_COMMANDS' first argument exists.
8392 This makes valid the invocation of _AC_SRCPATH that follows.
8393 Reported by Eric Sunshine.
8394 * doc/autoconf.texi (Configuration Commands): Adjust.
8396 2003-09-26 Akim Demaille <akim@epita.fr>
8398 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
8399 Reported by Ralf Corsepius.
8401 2003-09-26 Akim Demaille <akim@epita.fr>
8403 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
8405 Actually, use AU_ALIAS.
8408 2003-09-26 Paul Eggert <eggert@twinsun.com>
8410 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
8411 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
8412 Problem reported by Eric Sunshine in:
8413 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
8415 2003-09-26 Akim Demaille <akim@epita.fr>
8417 The test suite are sometimes assigning timings incorrectly.
8418 Reported by Henk Krus.
8419 Diagnosed by Nicolas Joly.
8421 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
8423 Instead of making AT_help a sequence of assignments to grow
8424 $at_help_all, just make AT_help_all be the growing contents of
8425 $at_help_all, and make a single assignment in...
8427 (at_times_skip): Flip the meaning and rename as...
8429 (AT_INIT): When summarizing the test that ran, remove
8430 $at_times_file after use, and check it is present before trying to
8433 2003-09-25 Akim Demaille <akim@epita.fr>
8437 * bin/Makefile.am (edit): Handle '@configure_input@'.
8438 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
8439 (ifnames): chmod -w.
8440 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
8441 executables, not bin/ executables! Otherwise all the magic needed
8442 to find non installed files is turned off. This caused a failure
8443 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
8444 as found in its environment (sent by tests/autoreconf): pointing
8445 to bin/autom4te that could not find its files.
8446 * tests/mktests.sh: Force the replacement of generated files, for
8447 the sake of "mv" program that are interactive when overwriting a
8449 * config/install-sh: Upgrade from CVS Automake.
8451 2003-09-23 Paul Eggert <eggert@twinsun.com>
8453 * doc/autoconf.texi (Limitations of Builtins): Document test -h
8454 versus test -L issues.
8456 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
8457 Paul Eggert <eggert@twinsun.com>
8459 Trivial change to support GCC's configuration procedure.
8460 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
8461 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
8462 about inconsistency if the preprocessor is set to give errors for
8464 * doc/autoconf.texi (C Compiler Characteristics): Document this.
8466 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
8468 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
8469 and XFile.pm from Automake.
8470 * lib/Autom4te/XFile.pm: Update from Automake.
8472 2003-09-12 Akim Demaille <akim@epita.fr>
8476 2003-09-12 Akim Demaille <akim@epita.fr>
8478 * config/config.guess, config/config.sub, config/missing,
8479 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
8482 2003-09-12 Akim Demaille <akim@epita.fr>
8484 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
8487 2003-09-11 Akim Demaille <akim@epita.fr>
8489 * doc/autoconf.texi (Header Portability): linux/random.h.
8490 From Peter Hendrickson.
8492 2003-09-10 Akim Demaille <akim@epita.fr>
8494 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
8495 willing to edit the output files.
8497 2003-09-10 Akim Demaille <akim@epita.fr>
8499 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
8501 * tests/mktests.sh: Skip AC_FC_SRCEXT.
8502 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
8504 2003-09-09 Akim Demaille <akim@epita.fr>
8506 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
8507 Reported by Gary Vaughan.
8508 * bin/autom4te.in (handle_m4): Likewise.
8510 2003-09-09 Akim Demaille <akim@epita.fr>
8512 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
8515 2003-09-07 Paul Eggert <eggert@twinsun.com>
8517 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
8518 Improve the accuracy of the wording about obsolescence.
8519 From a suggestion by Ian Lance Taylor in
8520 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
8522 2003-09-05 Paul Eggert <eggert@twinsun.com>
8524 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
8525 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
8527 2003-09-04 Akim Demaille <akim@epita.fr>
8529 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
8532 2003-09-04 Akim Demaille <akim@epita.fr>
8534 * bin/autom4te.in: Use &fatal where more appropriate than &error.
8535 (freeze): When exiting, use $exit_code.
8536 * lib/autoconf/fortran.m4: Comment changes.
8538 2003-09-04 Akim Demaille <akim@epita.fr>
8540 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
8542 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
8544 Add support for newer Fortran dialects. The F77 interface is
8545 unchanged, and continues to support Fortran 77. New FC macros
8546 correspond to all the old F77 macros, with output variables FC,
8547 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
8548 available dialect, but older dialects can be specified. There are
8549 new macros AC_FC_SRCEXT to set the source extension, and
8550 AC_FC_FREEFORM to accept free-form source files.
8552 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
8554 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
8555 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
8556 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
8557 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
8558 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
8559 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
8560 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
8561 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
8562 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
8563 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
8564 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
8565 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
8566 AC_FC_SRCEXT, AC_FC_FREEFORM):
8568 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
8569 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
8570 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
8571 Rewrite in terms of the above.
8572 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
8573 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
8574 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
8575 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
8577 2003-09-02 Paul Eggert <eggert@twinsun.com>
8579 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
8580 Document problems with timestamp resolution that 'make', 'cp -p', and
8583 2003-08-27 Akim Demaille <akim@epita.fr>
8585 * tests/m4sugar.at (cross_warning): Make sure to enable the
8586 output, so that we can track spurious m4sugar output.
8587 * tests/local.at: Require 2.57.
8588 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
8589 are defaulted by AT_CHECK anyway.
8590 Use AT_CHECK_AUTOM4TE.
8591 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
8594 2003-08-27 Akim Demaille <akim@epita.fr>
8596 * bin/autoheader.in: Issue the "Using auxiliary..." message only
8597 when -Wobsolete is set.
8598 Set it on by default.
8599 Suggested by Klee Dienes.
8601 2003-08-27 Akim Demaille <akim@epita.fr>
8603 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
8607 2003-08-26 Akim Demaille <akim@epita.fr>
8609 * doc/autoconf.texi (Output): Make clear that one can run code
8612 2003-08-25 Akim Demaille <akim@epita.fr>
8614 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
8617 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
8619 * bin/autoreconf.in (parse_args): Do not pass --no-force to
8620 Automake versions prior to 1.8.
8622 2003-08-25 Akim Demaille <akim@epita.fr>
8624 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
8627 2003-08-24 Akim Demaille <akim@epita.fr>
8629 * configure.ac: Bump to 2.57c.
8631 2003-08-22 Akim Demaille <akim@epita.fr>
8635 * Makefile.cfg (local-checks-to-skip): New.
8636 * Makefile.maint (local-check): Rename as...
8637 (local-checks-available): this.
8640 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
8641 * configure.ac: Require Automake 1.7.6.
8643 2003-08-22 Akim Demaille <akim@epita.fr>
8645 Output stack traces in warnings.
8647 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
8648 Replace the former...
8649 (m4_warn): Pass the call stack to _m4_warn.
8650 * bin/autom4te.in: Adjust to output the call stack.
8651 * tests/m4sugar.at (m4@&t@_warn): Adjust.
8653 2003-08-22 Akim Demaille <akim@epita.fr>
8655 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
8656 * bin/autom4te.in: Adjust.
8658 2003-08-21 Akim Demaille <akim@epita.fr>
8660 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
8662 (&getopt): Adjust the note and verb channels, depending upon
8664 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
8665 * bin/autoupdate.in: Adjust.
8666 Use &verb, not &verbose.
8668 2003-08-21 Akim Demaille <akim@epita.fr>
8670 * bin/autoheader.in (&parse_args): Use &parse_warnings and
8672 ($help): Use Autom4te::ChannelDefs::usage.
8673 * bin/autoscan.in: Use Autom4te::ChannelDefs.
8674 * lib/Autom4te/General.pm: Don't export error: you don't own it.
8676 2003-08-21 Akim Demaille <akim@epita.fr>
8678 First stab at preserving warnings between calls to autom4te,
8679 including when the cache is used.
8681 There are still several issues: (i) there are too many runs of m4
8682 (one for include, one for warnings, and some more), (ii) warnings
8683 spreading on several lines are not handled gracefully, (iii) the
8684 code meant to have the call stack display for errors does not work
8685 (its handling should move from m4 to autom4te).
8687 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
8689 (@preselect): Add m4_warn.
8690 ($exit_status): Remove, use $exit_code.
8691 ($help): Use Autom4te::ChannelDefs::usage.
8692 (&handle_m4): No longer define the m4_warnings.
8693 At each run, extract and report the warnings.
8694 Always cache the result, including if the exit status is on
8695 failure, since if nothing changes, we should result in the same
8696 failure, hence we can use the cache.
8697 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
8698 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
8700 (m4_warn): Redefine as a do-nothing: it is its invocation that
8701 matters, as warnings are now reported via traces.
8702 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
8703 the contents of m4_warn: make it _call_ m4_warn, so that tracing
8704 the latter reveals calls to the former.
8708 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
8710 2003-08-21 Akim Demaille <akim@epita.fr>
8712 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
8715 2003-08-21 Akim Demaille <akim@epita.fr>
8717 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
8719 * lib/Autom4te/ChannelDefs.pm: Doc typos.
8720 (&parse_warnings): Accept a list of warning requests.
8721 (&usage): Return a string, not a side effect.
8722 (cross): New warning category.
8724 2003-08-21 Akim Demaille <akim@epita.fr>
8726 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
8727 (&require_configure_ac): Accept an optional directory argument.
8728 ($configure_ac): Remove.
8729 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
8731 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
8732 * bin/autoscan.in: Adjust.
8734 2003-08-20 Akim Demaille <akim@epita.fr>
8736 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
8737 Reported by Alexandre Duret-Lutz.
8739 2003-08-20 Akim Demaille <akim@epita.fr>
8741 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
8742 * bin/autom4te: Adjust.
8743 In particular, be Autoconf tools are really silent when properly
8744 working, bind the verbosity of the 'note' channel to $verbose.
8745 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
8746 (&xsystem, &contents): Remove, since they are exported by...
8747 * lib/Autom4te/FileUtils.pm: this.
8749 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
8750 * lib/Autom4te/FileUtils.pm: here.
8752 2003-08-20 Akim Demaille <akim@epita.fr>
8754 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
8755 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
8758 2003-08-20 Akim Demaille <akim@epita.fr>
8760 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
8761 (autom4te-update): New.
8762 * Makefile.cfg (update): Bind autom4te-update.
8764 2003-08-19 Derek Price <derek@ximbiot.com>
8766 * lib/autotest/general.m4: Comment various HELP_* diversions.
8767 (PARSE_ARGS_BEGIN): New section for option parsing related
8769 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
8770 package specific options and associated help.
8772 2003-08-19 Akim Demaille <akim@epita.fr>
8774 * config/announce-gen, Makefile.cfg: New.
8775 * Makefile.am: Adjust.
8776 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
8778 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
8780 * lib/autom4te.in (Automake-preselections): Preselect
8781 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
8784 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
8786 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
8787 (Autoconf-without-aclocal-m4): ... this new language.
8788 * doc/autoconf.texi (autom4te Invocation): Mention
8789 Autoconf-without-aclocal-m4.
8791 2003-08-18 Derek Price <derek@ximbiot.com>
8793 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
8794 RUN-IF-PASS optional arguments.
8796 2003-08-18 Derek Price <derek@ximbiot.com>
8798 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
8800 2003-08-16 Derek Price <derek@ximbiot.com>
8802 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
8803 STDOUT & STDERR arguments.
8805 2003-08-14 Derek Price <derek@ximbiot.com>
8807 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
8808 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
8809 shorter column three. Add DESCRIPTION to log file content.
8811 2003-08-13 Derek Price <derek@ximbiot.com>
8813 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
8816 2003-08-12 Derek Price <derek@ximbiot.com>
8818 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
8819 (AT_CHECK_NOESCAPE): Move core functionality to...
8820 (_AT_CHECK): ...this new macro.
8822 2003-08-07 Derek Price <derek@ximbiot.com>
8824 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
8825 (AT_CHECK_NOESCAPE): ...to this new macro.
8827 2003-07-31 Paul Eggert <eggert@twinsun.com>
8829 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
8830 in Bash 2.01. Problem reported by Brian Gough in
8831 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
8833 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
8835 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
8836 -lcrt1.o, for OS X. (trivial change)
8838 2003-07-07 Paul Eggert <eggert@twinsun.com>
8840 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
8841 inside '#ifndef __cplusplus'. Problem reported by
8844 2003-07-06 Bill Clarke <llib@computer.org>
8846 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
8847 'long', not 'int', for benefit of Sun's recent C++ compilers
8848 (trivial change). See:
8849 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
8850 (This really should be 'intptr_t', not 'long', but that would
8853 2003-06-25 Akim Demaille <akim@epita.fr>
8855 * lib/Makefile.am (autom4te.cfg): Make it read only.
8856 Depend on Makefile since it contains substitutions.
8858 * lib/autom4te.in (args): Add local.at? for Autotest args.
8859 This change was made on autom4te.cfg which is generated.
8860 Reported by Raja R. Harinath.
8862 2003-06-25 Akim Demaille <akim@epita.fr>
8864 * doc/autoconf.texi (Header Portability): sys/mount.h.
8865 From Gareth McCaughan.
8867 2003-06-23 Akim Demaille <akim@epita.fr>
8869 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
8870 not all of them. This fixes 1. the fact that when testing
8871 Autoconf there are many many config.log, 2. the incorrect use of
8872 top_srcdir to find config.log.
8873 Don't mix the detailed output of failed test with the summary of
8874 failures. Rather, append detailed log afterwards.
8876 2003-06-23 Akim Demaille <akim@epita.fr>
8878 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
8879 always run: output config.log on $at_group_log.
8881 2003-06-23 Akim Demaille <akim@epita.fr>
8883 * tests/torture.at (#define header templates): Don't use quotes in
8884 C++ comments as it puzzles Emacs' sh font-lock-mode.
8886 2003-06-23 Akim Demaille <akim@epita.fr>
8888 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
8889 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
8890 * tests/atspecific.m4: Rename as...
8891 * tests/local.at: This.
8892 * tests/suite.at: Move the globals into...
8893 * tests/local.at: here.
8894 * tests/Makefile.am: Adjust.
8895 * doc/autoconf.texi (testsuite Scripts): Adjust.
8897 2003-06-21 Kevin Ryde <user42@zip.com.au>
8899 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
8900 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
8901 ensuring we add -std1 for full-ANSI.
8903 * doc/autoconf.texi (hdrindex): New macro.
8904 Add index entries for portability of various standard header files.
8906 2003-06-20 Akim Demaille <akim@epita.fr>
8908 * configure.ac: Bump to 2.57b.
8910 2003-06-20 Akim Demaille <akim@epita.fr>
8914 2003-06-20 Akim Demaille <akim@epita.fr>
8916 * bin/autom4te.in: Don't rely on $HOME being defined.
8917 Reported by Marc Espie as PR/233.
8919 2003-06-20 Akim Demaille <akim@epita.fr>
8921 * lib/autotest/general.m4: Use at_times_file only if used.
8924 2003-06-20 Akim Demaille <akim@epita.fr>
8926 * config/config.guess, config/config.sub, config/elisp-comp,
8927 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
8928 Update from masters.
8930 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
8932 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
8933 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
8934 (TEST_SCRIPT): New diversion.
8935 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
8936 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
8937 (AT_INIT): Support for expected failures.
8939 2003-06-02 Akim Demaille <akim@epita.fr>
8941 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
8943 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
8944 Autoconf nor Automake.
8945 (&contents): New, from Automake.
8948 2003-05-28 Paul Eggert <eggert@twinsun.com>
8950 * NEWS, doc/autoconf.texi (Particular Functions),
8951 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
8952 is the inverse of localtime.
8954 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
8956 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
8957 (handle_exec_errors): New function. Work around $! being
8958 altered by WEXITSTATUS.
8959 (xqx, xsystem): Use handle_exec_errors.
8961 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
8963 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
8964 Do not call `_exit()', simply modify `$?'.
8965 (xsystem): Reset $! before running system, and check it afterward.
8966 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
8967 63 for version mismatches.
8969 2003-05-23 Akim Demaille <akim@epita.fr>
8971 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
8972 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
8973 the middle of a line).
8974 * lib/m4sugar/m4sugar.m4: Likewise.
8975 Remove useless spaces in comments.
8977 2003-05-23 Akim Demaille <akim@epita.fr>
8979 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
8980 exit 63, so that we (or Automake's "missing") can tell the
8981 difference with a plain failure.
8982 * doc/autoconf.texi (Notices): Adjust.
8984 2003-05-23 Akim Demaille <akim@epita.fr>
8986 * Makefile.am, bin/Makefile.am, config/Makefile.am,
8987 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
8988 White spaces cleanup.
8990 2003-05-22 Jim Meyering <jim@meyering.net>
8991 Paul Eggert <eggert@twinsun.com>
8993 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
8994 Remove `#include <stdlib.h>' from the list; we should never
8995 make confdefs.h include <stdlib.h> or <cstdlib>, because the
8996 resulting namespace pollution would cause other tests to fail.
8997 Configure scripts run with some older versions of g++ and HP's
8998 aCC would fail due to such an #include. Problems reported by
8999 Matthew Mueller in <http://bugs.debian.org/120704> and by
9001 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
9002 In the test, use the test declaration before including <stdlib.h>,
9003 as that's closer to how it'll be used.
9005 2003-05-23 Akim Demaille <akim@epita.fr>
9007 * doc/autoconf.texi (Header Portability): ucred.h.
9010 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
9012 Overhaul Autotest's logging: generate separate log files
9013 in testsuite.dir/NNN/testsuite.log, and append them to
9014 testsuite.log instead of re-running the test verbosely.
9016 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
9017 file descriptor, write 0 to at_status_file instead of setting
9018 at_status=0, initialize some new variables (at_status_file,
9019 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
9020 to rerun the tests, instead append the at_group_log to the
9021 at_suite_log when a test fails.
9022 (AT_SETUP): pipe the test case's output into at_tee_pipe,
9023 with the AS_MESSAGE_LOG_FD redirected to stdout.
9024 (AT_CLEANUP): save the output status in $at_status_file
9025 and restore it, redirect the AS_MESSAGE_LOG_FD back to
9027 (AT_CHECK): since tests are run with a redirected stdout,
9028 and used to be re-run in verbose mode, turn some $at_verbose
9029 into echo, and don't redirect the output of testing stdout
9032 * lib/autotest/autoconf.texi (testsuite Scripts): Update
9033 the name of the debugging directory and information about
9036 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
9038 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
9041 2003-05-22 Akim Demaille <akim@epita.fr>
9043 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
9044 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
9045 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
9046 * lib/autoconf/status.m4: Fix and adjust copyright notices.
9048 2003-05-22 Akim Demaille <akim@epita.fr>
9050 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
9051 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
9052 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9053 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
9054 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
9055 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
9056 * lib/autoconf/status.m4, lib/autoconf/types.m4,
9057 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
9058 * tests/atspecific.m4, tests/base.at, tests/compile.at,
9059 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
9060 * tests/tools.at, tests/torture.at:
9061 Whitespace clean up.
9062 Suggested by Jim Meyering.
9064 2003-05-22 Akim Demaille <akim@epita.fr>
9066 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
9067 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
9068 Reported by Jim Meyering.
9070 2003-05-22 Akim Demaille <akim@epita.fr>
9072 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
9073 Add AC_HELP_STRING to the obsolete macros section.
9075 Use '@.' for sentences that ended in a capital letter.
9078 2003-05-22 Akim Demaille <akim@epita.fr>
9080 * config/config.guess, config/config.sub, config/elisp-comp,
9081 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
9082 * config/texinfo.tex, doc/standards.texi: Update from masters.
9084 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
9086 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
9089 2003-05-21 Akim Demaille <akim@epita.fr>
9091 * bin/autoupdate.in ($m4): Fix quotation.
9092 Reported by Martin Mokrejs.
9094 2003-05-19 Paul Eggert <eggert@twinsun.com>
9096 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
9097 Remove non-ASCII characters.
9099 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
9101 * tests/semantics.at (AC_SEARCH_LIBS): New test.
9102 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
9103 AC_CHECK_HEADERS_NEW): New tests.
9105 2003-05-17 Akim Demaille <akim@epita.fr>
9107 * lib/autoconf/functions.m4: Use the default includes so that
9108 memcmp be declared before being tested.
9109 Reported by Sander Niemeijer.
9110 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
9111 * doc/autoconf.texi (Default Includes): Document
9112 AC_INCLUDES_DEFAULT.
9114 2003-05-17 Akim Demaille <akim@epita.fr>
9116 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
9117 * doc/autoconf.texi (Obsolete Macros): Adjust.
9118 Reported by Werner LEMBERG and Debian Bug 190886.
9120 2003-05-16 Akim Demaille <akim@epita.fr>
9122 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
9123 user name space clashes.
9124 Reported by Bruno Haible.
9126 2003-05-16 Akim Demaille <akim@epita.fr>
9128 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9129 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
9130 them uniform, and more robust to Perl special characters.
9131 Reported by Martin Mokrejs.
9133 2003-05-14 Akim Demaille <akim@epita.fr>
9135 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
9137 2003-05-14 Akim Demaille <akim@epita.fr>
9139 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
9142 2003-05-12 Akim Demaille <akim@epita.fr>
9144 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
9146 From Matthias Andree.
9148 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
9150 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
9153 2003-05-06 Akim Demaille <akim@epita.fr>
9155 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
9156 longer updates aclocal.m4 if useless, (ii) if a file m4_included
9157 by aclocal.m4 is changed it might require the importing of another
9158 m4 extension file, i.e., aclocal must be run.
9160 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
9161 (&parse_args): Use --force with aclocal if required and supported.
9162 (&autoreconf_current_directory): Use &run_aclocal.
9164 2003-05-06 Akim Demaille <akim@epita.fr>
9166 Lock autom4te's cache.
9168 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
9169 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
9170 argument instead of a file name, so that the request file remains
9171 open during the whole autom4te run.
9172 ($icache_file): New.
9173 (&freeze): Lock the $icache_file.
9175 2003-04-29 Derek Price <derek@ximbiot.com>
9177 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
9178 seperator with m4_append_uniq(). It doesn't work.
9179 (AT_CLEANUP): Add `;' to end of at_help_all.
9180 (AT_INIT): Allow --keywords to be specified more than once. When
9181 grepping $at_help_all for keywords, use the field and keyword
9182 seperators to ensure a complete keyword match. Alter at_prev handling
9183 to support the new --keywords behavior.
9185 2003-04-27 Karl Berry <karl@freefriends.org>
9187 * doc/autoconf.texi: Make the dir entries in the autoconf manual
9188 align better with others. I also made some of the individual
9189 entries on one line, for brevity and to make it easier for me to
9190 sort my dir-example file in the Texinfo distribution :).
9192 2003-04-12 Jim Meyering <jim@meyering.net>
9194 * NEWS: Mention the new macro.
9195 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
9196 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
9197 * tests/c.at: Test AC_C_RESTRICT.
9198 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
9200 2003-04-08 Akim Demaille <akim@epita.fr>
9202 * bin/ifnames.in: Skip C++ comments.
9205 2003-04-08 Akim Demaille <akim@epita.fr>
9207 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
9208 From Ilya Zakharevich.
9210 2003-04-08 Akim Demaille <akim@epita.fr>
9212 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
9215 2003-04-01 Derek Price <derek@ximbiot.com>
9217 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
9218 from Akim's checkin of 2003-03-29.
9220 2003-04-01 Derek Price <derek@ximbiot.com>
9222 * tests/torture.at (Configuring subdirectories): Add missing
9223 close-quote for Akim's change from 2003-03-28.
9225 2003-04-01 Akim Demaille <akim@epita.fr>
9227 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
9228 (AC, AT, MS): these.
9229 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
9232 * doc/Makefile.am (CLEANFILES): Adjust.
9233 (TEXI2DVI): Make it --batch.
9235 2003-03-31 Derek Price <derek@ximbiot.com>
9237 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
9238 which removed the main loop.
9239 Thanks to Akim Demaille.
9241 2003-03-29 Akim Demaille <akim@epita.fr>
9243 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
9245 From Ilya Zakharevich.
9247 2003-03-29 Akim Demaille <akim@epita.fr>
9249 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
9250 documentation to read is Autoconf's.
9251 Suggested by Paul Eggert.
9253 2003-03-28 Akim Demaille <akim@epita.fr>
9255 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
9256 reading the section "Present But Cannot Be Compiled" when the
9257 header causes problems.
9259 2003-03-28 Akim Demaille <akim@epita.fr>
9261 * tests/torture.at (Configuring subdirectories): Require aclocal
9262 1.4, otherwise the test fails, as it does support configure.ac.
9263 This fixes the "test 40 failed" bug reports.
9265 2003-03-28 Akim Demaille <akim@epita.fr>
9267 * doc/autoconf.texi (C Compiler): `#line' portability.
9268 From Paul Eggert and Nelson H. F. Beebe.
9270 2003-03-27 Derek Price <derek@ximbiot.com>
9272 * lib/autotest/general.m4: Eliminate main loop and reorganize test
9273 layout in order to allow scripting around test groups.
9275 2003-03-27 Derek Price <derek@ximbiot.com>
9277 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
9278 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
9279 use new diversions in preparation for accepting new arguments and
9280 allowing scripting around tests.
9281 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
9283 2003-03-26 Derek Price <derek@ximbiot.com>
9285 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
9286 obsolete AC_HELP_STRING.
9287 (AC_HELP_STRING): AU_DEFUN to...
9288 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
9289 * tests/m4sh.at (AS_HELP_STRING): New test.
9291 * tests/acgeneral.at: Regenerated.
9293 2003-03-26 Derek Price <derek@ximbiot.com>
9295 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
9296 sense. Verbosify the diversion definitions comment.
9298 2003-03-26 Derek Price <derek@ximbiot.com>
9300 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
9303 2003-03-21 Eric Siegerman <eric_97@pobox.com>
9305 * doc/autoconf.texi (Present But Cannot Be Compiled):
9306 Grammar fixes and minor rewording. (trivial change)
9308 2003-03-06 Paul Eggert <eggert@twinsun.com>
9310 Work around a problem noted by Nelson H. F. Beebe with coreutils
9311 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
9312 2002/05/09) rejects '#line 32768 "configure"' because the line
9314 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
9316 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
9317 * doc/autoconf.texi (Generating Sources): Document this.
9319 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
9321 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
9322 file name for the m4 program, when it has an "exe" file extension.
9323 DJGPP's error messages include the error code in brackets -
9324 remove the error code during normalization.
9326 2003-02-28 Akim Demaille <akim@epita.fr>
9328 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
9330 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
9332 * doc/autoconf.texi (Limitations of Make): Remove the section
9333 about `$<' in inference rules, it was a bogus interpretation of
9334 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
9335 Tru64 make in the "target lookup" section.
9336 (Automake): Automake 1.5+ no longer requires special tools to be
9337 present on the developer's host.
9339 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
9341 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
9342 to a shell that can handle redirection or quoting correctly.
9343 Override SHELL with the shell detected by configure.
9344 Use of $^O suggested by Tim van Holder.
9345 * bin/autom4te.in (BEGIN): Likewise.
9346 * bin/autoreconf.in (BEGIN): Likewise.
9347 * bin/autoscan.in (BEGIN): Likewise.
9348 * bin/autoupdate.in (BEGIN): Likewise.
9349 * bin/ifnames.in (BEGIN): Likewise.
9351 * bin/ifnames.in: Add final newline to help and version messages.
9353 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
9354 to cope with DOS-style absolute paths, when constructing
9357 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
9358 When constructing paths with IFS=:, quote the path. If we're
9359 constructing a DOS-style absolute path, we don't want to split it
9362 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
9365 2003-02-25 Pavel Roskin <proski@gnu.org>
9367 * bin/autoheader.in: Add missing newline when printing
9368 suggestion how change AC_DEFINE call.
9370 2003-02-24 Paul Eggert <eggert@twinsun.com>
9372 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
9373 2002-09-01 patch by replacing "test -n" with "test -z".
9374 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
9375 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
9377 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
9378 to fix a mismatch between example and discussion.
9380 2003-02-24 Kevin Ryde <user42@zip.com.au>
9382 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
9383 format starting with "-".
9385 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
9387 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
9388 is not portable inside Makefile.
9390 2003-02-20 Akim Demaille <akim@epita.fr>
9392 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
9393 compiler says yeah, but preproc says nope, compiler is right.
9394 Conversely, prompt the reader to send a bug report to the
9395 maintainers of the package, not of Autoconf.
9397 2003-02-20 Klee Dienes <kdienes@apple.com>
9399 * bin/autoreconf.in (autoreconf_current_directory): Properly
9400 handle an empty aclocal.m4.
9402 2003-02-20 Akim Demaille <akim@epita.fr>
9404 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
9408 2002-12-23 Paul Eggert <eggert@twinsun.com>
9410 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
9411 innocuous variant befor including <limits.h> or <assert.h>. This
9412 works around a bug reported by Albert Chin: HP-UX 11i
9413 (and earlier versions) have a <limits.h> that declares
9414 gettimeofday and many other functions.
9416 2002-12-03 Paul Eggert <eggert@twinsun.com>
9420 * NEWS, configure.ac: Update version.
9422 * doc/fdl.texi: Upgrade to FDL version 1.2.
9424 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
9425 nontrivially in main's body, so that f's external declaration is
9426 not optimized away in AIX. This should fix the bug reported by
9428 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
9430 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
9431 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
9432 defined, to support freestanding compilers. This should fix the
9433 bug reported by Momchil Velkov in
9434 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
9436 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
9437 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
9438 obsolete AC_CHECK_TYPE. The missing empty arg was reported
9439 by Simon Josefsson in
9440 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
9442 * Makefile.maint (www-gnu): New macro.
9443 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
9444 the location has moved.
9446 2002-12-02 Martin Frydl <martin@systinet.com>
9448 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
9449 \(.*\) match is too long and there is something more to be checked.
9450 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
9452 2002-11-15 Akim Demaille <akim@epita.fr>
9456 * config/install-sh: chmod +x.
9458 * config/move-if-change: Indenting changes.
9459 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
9460 * configure.ac (AM_INIT_AUTOMAKE): here.
9463 2002-11-14 Akim Demaille <akim@epita.fr>
9467 * config/config.guess, config/config.sub, config/install-sh:
9468 Update from masters.
9470 2002-11-14 Akim Demaille <akim@epita.fr>
9472 * Makefile.maint: Sync with Bison, i.e.:
9473 (po-check): Scan .l and .y files instead of the
9474 .c and the .h files that they generate. This fixes the bug
9475 reported by Tim Van Holder in:
9476 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
9477 Look for N_ as well as for _. Try to avoid matching #define for
9481 2002-11-14 Akim Demaille <akim@epita.fr>
9483 * doc/autoconf.texi (C Compiler): Compiling several files at once.
9484 From Paul Eggert and Albert Chin-A-Young.
9486 2002-11-14 Akim Demaille <akim@epita.fr>
9488 * doc/autoconf.texi (C Compiler): Solitary backslashes.
9489 From Paul Eggert and Albert Chin-A-Young.
9491 2002-11-14 Kevin Ryde <user42@zip.com.au>
9493 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
9494 than assigning in main, to avoid HP cc +O3 optimizing it away.
9496 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
9498 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
9499 option. Process --recheck after parsing all options. Pass -q
9500 option to configure on --recheck.
9501 (AC_OUTPUT): Pass -q from configure to config.status.
9502 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
9503 arguments to record.
9504 * doc/autoconf.texi (config.status Invocation): Document
9505 config.status -q option.
9507 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
9509 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
9510 Makefile.in if Makefile.am exists.
9511 (output): Strip `.am' from Makefiles. Don't
9512 output AC_CONFIG_FILES if no Makefiles were found.
9514 2002-11-07 Akim Demaille <akim@epita.fr>
9516 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
9517 (local_updates): New.
9518 * Makefile.maint: Update, from CVS Bison.
9519 (local_updates): New.
9521 2002-11-06 Akim Demaille <akim@epita.fr>
9523 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
9524 declaration in extern "C" too.
9525 Reported by Roberto Bagnara.
9527 2002-11-06 Akim Demaille <akim@epita.fr>
9529 * tests/torture.at (Configuring subdirectories): Don't use grep
9531 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
9532 Reported by Ezra Peisach.
9534 2002-11-05 Akim Demaille <akim@epita.fr>
9536 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
9538 We _have_ to stop using the old compatibility scheme that tried to
9539 avoid useless backslashes because Libtool 1.4.3 contains a
9540 AC_DEFINE([error_t], [int],
9541 [Define to a type to use for \`error_t' if it is not
9542 otherwise available.])
9543 We _have_ to quote the single quote and backslashes with \. The
9544 old compatibility scheme saw that ` was backslashed, and therefore
9545 did not quote the single quote. Hence before this patch, Autoconf
9546 was not compatible with Libtool.
9548 2002-11-04 Paul Eggert <eggert@twinsun.com>
9550 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
9551 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
9552 LC_NAME, LC_PAPER, LC_TELEPHONE.
9553 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
9555 2002-11-04 Akim Demaille <akim@epita.fr>
9559 * Makefile.maint (update, cvs-update, po-update, do-po-update):
9561 * config/texinfo.tex: Update.
9563 2002-11-03 Akim Demaille <akim@epita.fr>
9565 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
9567 (&autoreconf): here.
9568 ($help, $make, &parse_args, &autoreconf_current_directory):
9570 * doc/autoconf.texi (autoreconf Invocation): Adjust.
9572 2002-10-31 Bruno Haible <bruno@clisp.org>
9574 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
9575 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
9576 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
9577 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
9578 to ac_cv_func_realloc_0_nonnull.
9579 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
9581 2002-10-31 Akim Demaille <akim@epita.fr>
9583 The test suite was no longer checking for trailing envvars and files.
9585 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
9586 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
9588 2002-10-31 Akim Demaille <akim@epita.fr>
9590 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
9591 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
9592 Make variable, not a shell variable.
9593 Suggested by Bruno Haible.
9595 2002-10-31 Akim Demaille <akim@epita.fr>
9597 * bin/autom4te.in (load_configuration): Reject #args out of any
9600 2002-10-31 Akim Demaille <akim@epita.fr>
9602 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
9603 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
9604 (_AC_RUN_IFELSE): Use it.
9605 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
9606 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
9607 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
9610 2002-10-30 Akim Demaille <akim@epita.fr>
9612 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
9613 * doc/autoconf.texi (autom4te Invocation): Adjust.
9614 Suggested by Tim van Holder.
9616 2002-10-29 Paul Eggert <eggert@twinsun.com>
9618 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
9619 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
9620 Problem reported by Bruno Haible.
9622 2002-10-29 Akim Demaille <akim@epita.fr>
9624 * doc/autoconf.texi (Header Templates): Put also in words what the
9625 pictures says to assist free style readers.
9626 (Customizing autom4te): s/--cache=/--cache /.
9628 2002-10-29 Akim Demaille <akim@epita.fr>
9630 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
9632 sparc_address_test returns void.
9633 Use it with an argument, as prototyped.
9636 2002-10-29 Akim Demaille <akim@epita.fr>
9638 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
9639 configure.in, not configure.ac.
9640 Reported by Bruno Haible.
9642 2002-10-29 Akim Demaille <akim@epita.fr>
9644 * tests/torture.at (Deep Package): New test.
9645 (Configuring subdirectories): Don't use a testSubDir as Autotest
9648 2002-10-29 Akim Demaille <akim@epita.fr>
9650 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
9651 * doc/autoconf.texi (Invoking autom4te): Rename as...
9652 (autom4te Invocation): this, for consistency with the other nodes.
9654 2002-10-29 Akim Demaille <akim@epita.fr>
9656 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
9657 Reported by Ralf Corsepius.
9659 2002-10-29 Akim Demaille <akim@epita.fr>
9661 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9662 characters is a back as an `obsolete' warning now.
9663 Reported by Ralf Corsepius.
9665 2002-10-28 Akim Demaille <akim@epita.fr>
9667 * configure.ac: Bump to 2.54c.
9669 2002-10-28 Akim Demaille <akim@epita.fr>
9673 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
9675 2002-10-28 Akim Demaille <akim@epita.fr>
9677 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
9678 m4 executable names, and different GNU M4 version.
9679 Reported by Ezra Peisach and Paul Jarc.
9681 2002-10-27 Akim Demaille <akim@epita.fr>
9683 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
9686 2002-10-27 Akim Demaille <akim@epita.fr>
9688 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
9689 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
9690 Die when a simple Fortran program cannot be compiled.
9691 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
9692 Issue a warning if no function is given.
9694 2002-10-27 Akim Demaille <akim@epita.fr>
9696 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
9697 Move the documentation of AC_TRY_RUN to...
9698 (Obsolete Macros): here.
9699 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
9700 (autoconf Invocation): Remove the duplicates with `invoking
9702 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
9703 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9705 2002-10-27 Akim Demaille <akim@epita.fr>
9707 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
9708 and AC_LANG_FUNC_LINK_TRY.
9709 (Examining Libraries): Rename as...
9710 (Running the Linker): this.
9711 Document AC_LINK_IFELSE.
9712 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
9713 (Obsolete Macros): here.
9714 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
9715 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
9716 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
9717 * lib/autoconf/headers.m4 (AC_USG): Likewise.
9719 2002-10-27 Akim Demaille <akim@epita.fr>
9721 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
9723 More `check config.log' messages.
9725 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
9726 * doc/autoconf.texi (Printing Messages): Document it.
9727 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
9729 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
9730 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
9731 (_AC_COMPILER_OBJEXT): Likewise.
9732 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
9733 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
9735 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
9738 Deprecate macros with unusual interfaces.
9740 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
9741 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
9743 Document the new ones, and proper style.
9745 * doc/autoconf.texi (Generating Sources): New.
9746 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
9747 (Examining Declarations): Rename as...
9748 (Running the Preprocessor): this.
9749 Document AC_PREPROC_IFELSE.
9750 (Examining Syntax): Rename as...
9751 (Running the Compiler): this.
9752 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
9753 (Obsolete Macros): Move the definition of AC_TRY_CPP and
9754 AC_TRY_COMPILE here.
9756 2002-10-27 Akim Demaille <akim@epita.fr>
9758 Move sections around.
9760 * doc/autoconf.texi (Customizing autom4te): Remove a lost
9762 Reported by Burno Haible.
9763 (Language Choice): Now the first section of...
9764 (Writing Tests): this section.
9765 Make the introduction less C-centric.
9766 (Guidelines, Test Functions): Move to...
9767 (Writing Test Programs): this new section.
9768 (Test Programs): Merge into...
9771 2002-10-27 Akim Demaille <akim@epita.fr>
9773 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
9774 autom4te.in that resulted in the need for two `make' runs.
9776 2002-10-27 Akim Demaille <akim@epita.fr>
9778 * configure.ac: Bump to 2.54b.
9780 2002-10-25 Akim Demaille <akim@epita.fr>
9784 * Makefile.maint: Update from the Coreutils.
9785 (AMTAR): Remove, obsolete.
9786 (automake_repo): Update to redhat.com.
9788 Adjust to the fact that ansi2knr is now hosted by Automake.
9789 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
9790 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
9791 Update from masters.
9792 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
9793 autoscan.pre is not to be installed, and autoscan.list is not to
9795 (CLEANFILES): Add autoscan.list.
9796 (autoscan.list): Disable the cache.
9797 * bin/Makefile.am: Include freeze.mk.
9799 2002-10-25 Akim Demaille <akim@epita.fr>
9801 * bin/autom4te.in (&load_configuration): Take the file as
9803 (&parse_args): Handle -C, --cache.
9805 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
9806 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
9807 * doc/autoconf.texi (Invoking autom4te): Document --cache.
9808 Now a subsection of...
9809 (Using autom4te): This new section.
9810 (Customizing autom4te): New.
9811 (autom4te.cache): Adjust.
9813 2002-10-25 Akim Demaille <akim@epita.fr>
9815 * doc/autoconf.texi (Generic Headers): More information on how to
9816 use AC_CHECK_HEADERS.
9818 2002-10-25 Akim Demaille <akim@epita.fr>
9820 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
9823 2002-10-25 Akim Demaille <akim@epita.fr>
9825 * bin/autoscan.in (output): Output AC_PREREQ.
9826 (%needed_macros): Add AC_PREREQ so that configure.ac without one
9829 2002-10-23 Akim Demaille <akim@epita.fr>
9831 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
9834 2002-10-23 Akim Demaille <akim@epita.fr>
9836 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
9837 Reported by Peter Eisentraut.
9839 2002-10-23 Akim Demaille <akim@epita.fr>
9841 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
9844 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
9845 Eggert's recommandations.
9847 2002-10-22 Akim Demaille <akim@epita.fr>
9849 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
9850 Bison, by Paul Eggert.
9851 * doc/autoconf.texi (Particular Headers): Document it.
9853 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
9855 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
9856 `$ac_configure_args'.
9858 2002-10-22 Akim Demaille <akim@epita.fr>
9860 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
9861 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
9864 2002-10-22 Akim Demaille <akim@epita.fr>
9866 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
9868 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9869 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
9870 (_AC_CHECK_HEADER_NEW): Rename as...
9871 (AC_CHECK_HEADER): this.
9873 2002-10-22 Akim Demaille <akim@epita.fr>
9875 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
9876 words about HP-UX cmp: it was actually a user-written cmp.
9878 2002-10-22 Akim Demaille <akim@epita.fr>
9880 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
9882 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9883 Quote for Perl '' strings, not "".
9884 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
9887 2002-10-22 Akim Demaille <akim@epita.fr>
9889 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9890 characters is a syntax warning now.
9891 (_AS_QUOTE): Accept $2 as list of characters to quote.
9892 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9893 Quote for Perl, not sh.
9894 * bin/autoheader.in: When $debug, report the file which is
9896 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
9897 `@', to tickle Perl's lists.
9898 Reported by Carlos Velasco.
9900 2002-10-18 Akim Demaille <akim@epita.fr>
9902 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
9903 missing included files _are_ errors.
9904 Thanks to Alexandre Duret-Lutz.
9905 * tests/tools.at (autom4te cache): Adjust.
9906 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
9907 (AT_CHECK_M4SUGAR): Use it.
9908 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9910 * tests/tools.at (autom4te): Now it does exit 1.
9912 2002-10-17 Akim Demaille <akim@epita.fr>
9914 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
9915 Fixes the `AC_ARG_VAR' test failures.
9916 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
9917 * lib/freeze.mk (check-forbidden-patterns): New.
9918 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
9919 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
9920 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
9922 Reported months ago by H. Merijn Brand.
9924 2002-10-17 Akim Demaille <akim@epita.fr>
9926 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
9928 2002-10-16 Paul Eggert <eggert@twinsun.com>
9930 * Makefile.maint (wget_files): Remove ansi2knr.c.
9931 (ansi2knr.c-url_prefix): Remove.
9933 2002-10-16 Akim Demaille <akim@epita.fr>
9935 Because of caching, some files that no longer exist and are no
9936 longer required can still cause errors.
9937 Reported by Alexandre Duret-Lutz.
9939 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
9940 to frozen files in @ARGV, as @ARGV must remain being a list of
9941 files. Rather, at M4 call sites, use this...
9942 (&files_to_options): New function.
9943 (&freeze): Use &error.
9944 (&up_to_date): If a file that was included according to the cache
9945 is no longer there, then the output is out dated.
9946 (&main): Don't even check whether a file is up to date is anyway
9948 * tests/tools.at (autom4te cache): New.
9950 2002-10-16 Akim Demaille <akim@epita.fr>
9952 * bin/autoconf.as: Kill dead options.
9953 * bin/autoupdate.in (&parse_args): Kill old options.
9954 * bin/autoreconf.in (&parse_args): Remove dead options.
9956 (&autoreconf): Report the directories we enter *and leave*, so
9957 that error messages can be easily located, and use GNU Make
9958 format, so that Emacs' compile mode understands us.
9959 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
9960 if some file was changed instead of `print'.
9961 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
9962 (&parse_args): Remove the dead options.
9963 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
9964 autoheader's quiet mode.
9965 (AT_CHECK_AUTOUPDATE): Likewise.
9966 * tests/tools.at (autoupdate): Adjust.
9967 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9969 2002-10-11 Akim Demaille <akim@epita.fr>
9971 No longer use CPP to check for the existing of headers: use CC to
9972 check for compilability.
9974 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9975 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
9976 (_AC_CHECK_HEADER_NEW): Rename as...
9977 (AC_CHECK_HEADER): this.
9979 * lib/autotest/general.m4 (AT_INIT): Include the failed test
9980 numbers in the Subject suggestion.
9982 2002-10-11 Akim Demaille <akim@epita.fr>
9984 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
9985 Suggest using AC_CHECK_DECLS instead.
9987 2002-10-11 Akim Demaille <akim@epita.fr>
9989 * tests/torture.at (AC_ARG_VAR): Have configure report the value
9992 2002-10-11 Akim Demaille <akim@epita.fr>
9994 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
9995 file name to enable parallel executions.
9996 From Sam Varshavchik.
9998 2002-10-08 Akim Demaille <akim@epita.fr>
10000 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
10001 aclocal invocation, as Gettext macros might not be visible to
10003 Instead of blindly running autopoint, scan configure.ac (not the
10004 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
10005 Reported by Paul D. Smith.
10007 2002-10-08 Paul Eggert <eggert@twinsun.com>
10009 Work around problems found when POSIXLY_CORRECT=1 is set.
10010 None of this seems to have anything to do with POSIX, really,
10011 but it's how Perl getopt works.
10012 * bin/autom4te.in (parse_args): Configure GetOpt with
10014 * doc/autoconf.texi (Invoking autom4te):
10015 --warning -> --warnings.
10016 * lib/autom4te.in: --warning -> --warnings.
10018 2002-09-28 Akim Demaille <akim@epita.fr>
10020 * doc/autoconf.texi (autom4te.cache): New section.
10022 2002-09-28 Akim Demaille <akim@epita.fr>
10024 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
10025 (Automake-preselections): Update.
10026 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
10028 2002-09-28 Akim Demaille <akim@epita.fr>
10030 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
10031 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
10032 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10033 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
10035 2002-09-28 Akim Demaille <akim@epita.fr>
10037 * tests/torture.at (Configuring subdirectories): Be robust to
10038 users who use config.site to require for a cache: in this case,
10039 the two last configure runs, using two different sets of
10040 arguments, trigger a legitimate error.
10042 2002-09-28 Akim Demaille <akim@epita.fr>
10044 * tests/m4sh.at (Functions Support, Functions and return Support):
10047 2002-09-28 Akim Demaille <akim@epita.fr>
10049 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
10050 autoheader are Perl programs.
10051 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
10052 (autom4te): Specify that the sources are in the $srcdir.
10053 * doc/autoconf.texi (Installation Directory Variables): Adjust.
10055 2002-09-28 Akim Demaille <akim@epita.fr>
10057 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
10058 (tm_zone): Move their rules to...
10059 * lib/autoconf/types.m4: here, using AN_ macros.
10060 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
10061 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
10062 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
10063 * lib/autoconf/programs.m4: here.
10064 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
10065 (ETAGS_FOR_AUTOCONF): New.
10068 2002-09-28 Akim Demaille <akim@epita.fr>
10070 * lib/autoconf/autoscan.m4: New file.
10071 * lib/autoconf/autoconf.m4: Include it.
10072 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
10073 that were listed in the original autoscan.list.
10074 * lib/autoconf/headers.m4: Similarly with headers.
10075 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
10076 (.m4.m4f): Don't pass --prepend-include, since that's done by
10077 tests/autom4te itself.
10078 * lib/autoscan/Makefile.am: Include freeze.mk.
10079 (autoscan.list): New target --this file is no longer a source.
10080 (autoscan.pre): New file.
10082 2002-09-28 Akim Demaille <akim@epita.fr>
10084 * bin/autoscan.in (@kinds): Make them singular.
10086 (&init_tables): When --debug, report the list of rules to ease
10087 tracking changes in autoscan.list.
10088 * lib/autoscan/autoscan.list (function): Strip comments, sort.
10090 2002-09-28 Akim Demaille <akim@epita.fr>
10092 * lib/autoscan/functions, lib/autoscan/headers,
10093 * lib/autoscan/identifiers, lib/autoscan/makevars,
10094 * lib/autoscan/programs: Merge into...
10095 * lib/autoscan/autoscan.list: this.
10096 * bin/autoscan.in (&init_tables): Adjust.
10098 2002-09-28 Akim Demaille <akim@epita.fr>
10100 * lib/autoscan/functions, lib/autoscan/headers,
10101 * lib/autoscan/identifiers, lib/autoscan/makevars,
10102 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
10103 `functions' line is now prefixed with `function:'.
10104 * bin/autoscan.in (&init_tables): Adjust.
10106 2002-09-28 Akim Demaille <akim@epita.fr>
10108 From now on, autoscan files must always map a macro name to a
10109 word: there is no `default' macro for autoscan.
10111 * bin/autoscan.in (&init_tables): Reject entries with no macro at
10113 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
10116 2002-09-28 Akim Demaille <akim@epita.fr>
10118 * bin/autoscan.in (%c_keywords): Remove.
10119 (&used): Keep only track of the words we might be interested in.
10120 (&output_kind): It is no longer needed to look for non active
10123 2002-09-27 Akim Demaille <akim@epita.fr>
10125 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
10126 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
10127 * lib/autoscan/functions: Adjust.
10128 * doc/autoconf.texi (Particular Functions): Adjust.
10130 2002-09-27 Akim Demaille <akim@epita.fr>
10132 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
10134 Thanks to Bill Moseley and Paul Eggert.
10135 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
10136 the tmpdir must be created.
10137 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
10138 dir be in the build tree, instead of $TMPDIR.
10140 2002-09-27 Akim Demaille <akim@epita.fr>
10142 * bin/autoscan.in: Improve the comments.
10143 (&parse_args): Drop obsolete undocumented options.
10144 (&output_kind): Output warnings.
10145 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
10146 (getwd): Trigger a warning.
10148 2002-09-26 Akim Demaille <akim@epita.fr>
10150 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
10151 Reported by Ralf Corsepius.
10152 * doc/autoconf.texi (autoreconf Invocation): Likewise.
10154 2002-09-26 Akim Demaille <akim@epita.fr>
10156 Single suffix rules and seperated dependencies are not portable.
10158 * doc/autoconf.texi (Installation Directory Variables): Update.
10159 (Limitations of Make): Some about `Single Suffix Rules and
10160 Separated Dependencies'.
10161 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
10162 (ifnames, autoscan, autom4te): Un-factor into several rules.
10164 2002-09-25 Paul Eggert <eggert@twinsun.com>
10166 * BUGS (Interoperability bugs): New section. Mention libtool
10167 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
10169 2002-09-24 Paul Eggert <eggert@twinsun.com>
10171 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
10172 make handles suffix-rules differently from GNU make.
10174 * bin/Makefile.am (SUFFIXES, .in): Remove.
10175 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
10176 Move the body of the old .in rule here.
10178 2002-09-16 Akim Demaille <akim@epita.fr>
10180 i960 compilers create `b.out' files by default.
10181 Reported by Ralf Corsepius.
10183 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
10184 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
10186 2002-09-13 Paul Eggert <eggert@twinsun.com>
10188 * doc/autoconf.texi (Particular Headers): Remove obsolete
10189 reference to `struct timezone' in the description of
10192 2002-09-13 Akim Demaille <akim@epita.fr>
10196 * config/config.sub, config/config.guess: Update.
10197 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
10198 * Makefile.am: Adjust.
10200 2002-09-13 Akim Demaille <akim@epita.fr>
10202 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
10203 reading config.log when the compiler is rejected.
10204 Suggested by Guido Draheim.
10206 2002-09-13 Akim Demaille <akim@epita.fr>
10208 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
10209 (chdir_init) might hang when stat'ing mounted directories.
10210 Reported by Vance Shipley.
10212 2002-09-12 Akim Demaille <akim@epita.fr>
10214 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
10217 2002-09-12 Akim Demaille <akim@epita.fr>
10219 * doc/autoconf.texi (Defining Symbols): Present two different
10220 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
10221 difference between 1 argument calls, and 2-3 argument calls.
10223 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
10225 * doc/autoconf.texi: Review grammar and punctuation.
10227 2002-09-11 Paul Eggert <eggert@twinsun.com>
10229 * doc/autoconf.texi: Fix minor formatting, spelling, and
10231 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
10232 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
10235 2002-09-11 Akim Demaille <akim@epita.fr>
10237 * doc/autoconf.texi (Questions): Rename as...
10239 (Defining Directories): New.
10241 2002-09-09 Akim Demaille <akim@epita.fr>
10243 * doc/autoconf.texi (Making testsuite Scripts): Update.
10244 Suggested by Nishio Futoshi.
10246 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
10248 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
10249 plain `@' is wanted.
10251 2002-09-09 Akim Demaille <akim@epita.fr>
10253 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
10254 `duplicates', since the algorithm was too naive and could keep
10255 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
10256 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
10257 Reported by Ralf Corsepius.
10258 * tests/torture.at (Configuring subdirectories): Exercise these
10261 2002-09-09 Akim Demaille <akim@epita.fr>
10263 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
10264 looking for a replacement file.
10265 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
10266 directory is relative.
10267 * doc/autoconf.texi (Generic Functions): Clarify the replacement
10268 directory definition.
10269 Reported by Andreas Schwab and Jim Meyering.
10271 2002-09-06 Akim Demaille <akim@epita.fr>
10273 * doc/autoconf.texi (Setting Output Variables): Clarify what
10274 precious variables are.
10275 Suggested by Pontus Skoeld.
10277 2002-09-05 Akim Demaille <akim@epita.fr>
10279 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
10280 (ifnames, autoscan, autom4te): Since we don't only depend on
10281 configure.ac variables (such as VERSION etc.), but also on prefix
10282 and so forth, depend on Makefile, not configure.ac.
10283 Reported by Alexandre Duret-Lutz.
10284 * doc/autoconf.texi (Installation Directory Variables): Adjust.
10286 2002-09-05 Kevin Ryde <user42@zip.com.au>
10288 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
10289 doesn't seem to be confined to ia64, just say "some versions".
10291 2002-09-04 Akim Demaille <akim@epita.fr>
10293 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
10295 * Makefile.am (maintainer-clean-local): Remove.
10296 (MAINTAINERCLEANFILES): Remove COPYING.
10298 2002-09-03 Paul Eggert <eggert@twinsun.com>
10300 * doc/autoconf.texi (Configuration Commands): Remove obsolete
10301 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
10304 2002-09-03 Akim Demaille <akim@epita.fr>
10306 * configure.ac: Bump to 2.53d.
10307 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
10308 as of today, on Automake's team suggestion.
10310 2002-09-03 Akim Demaille <akim@epita.fr>
10314 2002-09-02 Akim Demaille <akim@epita.fr>
10316 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
10318 * configure.ac: Disable SITE_MACRO_DIR.
10320 2002-09-02 Jim Meyering <meyering@lucent.com>
10322 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
10323 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
10324 Also, tweak grammar: s/make sure to/be sure to/.
10326 2002-09-02 Paul Eggert <eggert@twinsun.com>
10328 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
10329 directory names are generally preferable to physical names.
10331 2002-09-02 Akim Demaille <akim@epita.fr>
10333 * lib/Autom4te/General.pm (&update_file): s/die/error/.
10334 Reported by Raja R. Harinath.
10335 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
10336 * bin/autoupdate.in: Use error instead of die.
10338 2002-09-01 Paul Eggert <eggert@twinsun.com>
10340 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
10341 ordinary shell concatenation rather than echo+tr+sed command that
10342 runs afoul of a long-line-related sed bug in Solaris 8.
10344 * bin/autoheader.in (parse_args): --warning -> --warnings.
10346 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
10347 stdout, as traditional "ls" does.
10348 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
10349 _AC_COMPILER_EXEEXT_O): Likewise.
10350 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
10352 * bin/autoconf.as: Add --prepend-include option. This patch was
10353 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
10354 but bin/autoconf.in is generated automatically from bin/autoconf.as.
10356 * bin/autoconf.in, configure: Regenerate.
10358 * doc/autoconf.texi (Special Shell Variables): Mention
10359 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
10361 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
10362 MAILPATH and set PS1, PS2, PS4 to default values, to work
10363 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
10364 For LC_ALL etc, first try to set to "C" as POSIX requires and as
10365 the Autoconf documentation specifies; fall back to "unset" only if
10366 this fails. Use a shell for-loop for this rather than an m4 loop,
10367 to shorten the output script.
10369 2002-08-30 Paul Eggert <eggert@twinsun.com>
10371 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
10372 1003.1-2001's requirements for CDPATH. Give a simpler workaround
10373 for the CDPATH problem. Document PWD.
10374 (Limitations of Builtins): Document the problem that "cd $foo" and
10375 "ls $foo" may refer to different directories in shells conforming
10376 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
10377 example, since the old example is now out of date.
10379 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
10380 FOO" and "ls FOO" talk about different directories; this catches
10381 problems when POSIX 1003.1-2001 "cd" fails due to symlink
10384 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
10385 of rolling our own unset.
10386 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
10387 in practice we needn't worry about CDPATH if unset doesn't work.
10389 * Makefile.in, aclocal.m4, bin/Makefile.in,
10390 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
10391 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
10392 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
10393 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
10394 tests/Makefile.in: Regenerate with Automake 1.6.3.
10396 * config/config.guess, config/config.sub, config/mkinstalldirs:
10399 * configure: Regenerate with self.
10401 2002-08-30 Kevin Ryde <user42@zip.com.au>
10403 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
10406 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10408 * bin/autom4te.in (Request::load): Correctly test for "do" read
10411 2002-08-29 Akim Demaille <akim@epita.fr>
10413 * lib/Autom4te/General.pm (&xqx): New.
10414 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
10415 hand, which is not portable.
10417 * bin/autom4te.in: Use them.
10418 Use &error instead of die.
10419 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
10422 2002-08-17 Paul Eggert <eggert@twinsun.com>
10424 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
10425 default list of compilers to try, since it was long ago superseded
10426 by the ksh fc builtin. Suggested by Steven G. Johnson.
10428 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
10430 * doc/autoconf.texi (Invoking autom4te): End the option table,
10431 fixing a bug introduced by the previous patch.
10432 (Limitations of Make): Add a 'target lookup' subentry in the
10433 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
10435 2002-07-29 Mark D. Roth <roth@feep.net>
10437 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
10438 options and use $AUTOM4TE_PATH.
10439 * doc/autoconf.texi: Remove documentation of autom4te
10440 --include-envvar and --site-macro-subdir options and document
10441 use of $AUTOM4TE_PATH.
10442 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
10443 arguments from each language section.
10445 2002-07-29 Paul Eggert <eggert@twinsun.com>
10447 * doc/install.texi: Include copyright symbol in copyright notice.
10449 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
10451 (AM_MAKEINFOFLAGS): New macro.
10452 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
10453 * Makefile.am (INSTALL): Use the new macros.
10454 Use -o rather than --output, since "missing" does not grok --output.
10456 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
10458 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
10459 comments do not always work. Never trust the exit status of
10462 2002-07-24 Kevin Ryde <user42@zip.com.au>
10464 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
10465 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
10467 2002-07-23 Paul Eggert <eggert@twinsun.com>
10469 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
10470 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
10471 apparently treats PATH="nonexistent" as if it contained ".".
10472 Bug reported by Stefan `Sec' Zehl.
10474 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
10476 * doc/autoconf.texi (Limitations of Make): Mention the special
10477 handling of the obj/ directory by BSD make.
10479 2002-07-20 Kevin Ryde <user42@zip.com.au>
10481 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
10484 2002-07-19 Akim Demaille <akim@epita.fr>
10486 * doc/autoconf.texi (Function Portability): `exit'.
10487 (Programming in M4sh): Ethymology of M4sh.
10489 2002-07-19 Akim Demaille <akim@epita.fr>
10491 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
10493 2002-07-18 Akim Demaille <akim@epita.fr>
10497 2002-07-18 Akim Demaille <akim@epita.fr>
10499 * config/config.guess, config/config.sub: Update.
10501 2002-07-18 Akim Demaille <akim@epita.fr>
10503 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
10506 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
10507 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
10508 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
10510 2002-07-18 Akim Demaille <akim@epita.fr>,
10511 Alexandre Duret-Lutz <duret_g@epita.fr>
10513 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
10514 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
10516 2002-07-17 Russ Allbery <rra@stanford.edu>
10518 * doc/autoconf.texi (Initializing configure): Clarify the
10519 description of the tarname default.
10521 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
10523 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
10524 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
10525 latter was not run.
10527 2002-07-17 Akim Demaille <akim@epita.fr>
10529 * lib/Autom4te/General.pm (find_file): Browse the directories in
10530 the order they are given.
10532 2002-07-17 Akim Demaille <akim@epita.fr>
10534 * tests/wrapsh.as, tests/wrappl.as: Merge into...
10535 * tests/wrapper.as: this.
10536 * tests/Makefile.am, configure.ac: Adjust.
10538 2002-07-17 Mark D. Roth <roth@feep.net>
10540 * configure.ac: Add --enable-site-macro-dir option.
10541 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
10542 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
10543 --site-macro-subdir options.
10544 * bin/autoconf.in: Add --prepend-include option.
10545 * bin/autoheader.in: Add --prepend-include option.
10546 * bin/autoreconf.in: Add --prepend-include option.
10547 * bin/autoscan.in: Add --prepend-include option.
10548 * bin/autoupdate.in: Add --prepend-include option.
10549 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
10550 macro directory, remove note that include path directories are
10551 used in reverse order, and document --prepend-include option.
10552 * lib/autom4te.in: Use --prepend-include instead of --include.
10553 * tests/wrapsh.in: Use --prepend-include instead of --include.
10555 2002-07-17 Akim Demaille <akim@epita.fr>
10557 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
10559 * doc/autoconf.texi (Initializing configure): Adjust.
10561 2002-07-17 Akim Demaille <akim@epita.fr>
10563 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
10564 (_AC_FUNC_MALLOC): New.
10565 (AC_FUNC_MALLOC): Use the latter.
10566 Define HAVE_MALLOC to 0 if broken.
10567 * doc/autoconf.texi (Particular Functions): Adjust.
10569 2002-07-16 Akim Demaille <akim@epita.fr>
10571 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
10572 * doc/autoconf.texi (C Compiler): Adjust.
10574 2002-07-09 Akim Demaille <akim@epita.fr>
10576 * doc/autoconf.texi: Properly set the ``header'' part.
10578 2002-07-09 Akim Demaille <akim@epita.fr>
10580 * doc/autoconf.texi (Systemology): Some about Darwin.
10582 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
10584 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
10585 Don't use AC_REQUIRE in AU_DEFUN.
10587 2002-07-09 Art Haas <ahaas@neosoft.com>
10589 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
10591 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
10593 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10594 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
10595 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
10596 so that Emacs setups GNU style for perl-mode and cperl-mode.
10598 2002-06-27 Paul Eggert <eggert@twinsun.com>
10600 * config/install-sh: Quote $src. Prefer || to test's -o option,
10601 as per "Limitations of Builtins".
10602 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
10603 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
10605 * tests/mktests.sh: Use grep instead of fgrep, as per
10606 "Limitations of Builtins".
10608 2002-06-15 Paul Eggert <eggert@twinsun.com>
10610 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
10611 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
10612 so that we consistently test the just-built programs.
10613 * tests/wrappl.as: Likewise.
10615 2002-06-12 Paul Eggert <eggert@twinsun.com>
10617 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
10618 name, so that symlinks to 'autoconf' work properly. Bug reported
10620 * bin/autoheader.in (AUTOM4TE): Likewise.
10621 * bin/autoreconf.in (autoconf, autoheader): Likewise.
10622 * bin/autoscan.in (autom4te): Likewise.
10623 * bin/autoupdate.in (autom4te): Likewise.
10625 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
10626 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
10629 2002-06-11 Andreas Schwab <schwab@suse.de>
10631 * doc/autoconf.texi: Add more dir entries.
10633 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
10635 * bin/autom4te.in ($cache): Don't define using `$me', the name
10636 of the cache should not depend on the name under which autom4te
10639 2002-06-07 Akim Demaille <akim@epita.fr>
10641 * tests/tools.at (autoconf: forbidden tokens, basic)
10642 (autoconf: forbidden tokens, exceptions): Adjust to the change of
10643 words in autom4te.in.
10645 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
10647 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
10648 _AC_LANG_PROGRAM_C_F77_HOOKS.
10650 2002-06-07 Akim Demaille <akim@epita.fr>
10652 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
10654 (AC_REPLACE_FNMATCH): this.
10655 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
10656 AC_FUNC_FNMATCH_GNU.
10658 2002-06-07 Akim Demaille <akim@epita.fr>
10660 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
10661 Rosetta Stone for Unix.
10663 2002-06-07 Akim Demaille <akim@epita.fr>
10665 * bin/autom4te.in (warn_forbidden): When rejecting a token,
10666 suggest m4_pattern_allow.
10667 Suggested by Adam J. Richter.
10669 2002-06-07 Akim Demaille <akim@epita.fr>
10671 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
10672 ac_config_libobj_dir.
10673 (AC_CONFIG_LIBOBJ_DIR): New.
10674 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
10675 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
10676 Use ac_config_libobj_dir to find the replacement files.
10677 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
10678 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
10679 (AC_REPLACE_FNMATCH_GNU): these.
10680 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
10681 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
10682 * tests/mktests.sh (ac_exclude_list): Don't check
10683 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
10685 2002-06-06 Paul Eggert <eggert@twinsun.com>
10687 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
10688 if ln doesn't work.
10690 * doc/autoconf.texi (Configuration Links): Likewise.
10691 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
10693 2002-06-05 Paul Eggert <eggert@twinsun.com>
10695 * config/config.guess, config/config.sub, config/texinfo.tex:
10696 Update from masters.
10698 2002-05-29 Paul Eggert <eggert@twinsun.com>
10700 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
10701 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
10702 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
10704 * lib/autoconf/Makefile.am (check-local): Likewise.
10705 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
10706 * lib/autoconf/types.m4 (commentary only): Likewise.
10707 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
10708 * lib/autotest/Makefile.am (check-local): Likewise.
10709 * lib/m4sugar/Makefile.am (check-local): Likewise.
10710 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
10711 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
10713 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
10714 * doc/autoconf.texi (Particular Programs): Document them.
10715 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
10718 2002-05-27 Paul Eggert <eggert@twinsun.com>
10720 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
10721 * NEWS, doc/autoconf.texi (Particular Types): Document it.
10722 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
10723 instead of AC_MBSTATE_T, which never existed.
10725 2002-05-23 Akim Demaille <akim@epita.fr>
10727 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
10728 version of Autoconf that is discussed.
10730 2002-05-22 Paul Eggert <eggert@twinsun.com>
10732 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
10733 from the default list of compilers to try. Suggested by
10735 * NEWS: Document the above.
10736 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
10738 2002-05-17 Paul Eggert <eggert@twinsun.com>
10740 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
10741 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
10742 This improves on an earlier suggestion by H. Peter Anvin.
10744 2002-05-16 Paul Eggert <eggert@twinsun.com>
10746 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
10747 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
10748 Both macros now accept an optional source-dir arg.
10749 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
10751 * NEWS: Document this.
10752 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
10754 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
10755 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
10756 not for GNU extensions; this undoes part of the 2000-11-03 change,
10757 reverting to 2.13-compatible behavior.
10758 Add new optional argument DIR.
10759 (AC_FUNC_FNMATCH_GNU): New macro.
10761 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
10763 2002-05-08 Paul Eggert <eggert@twinsun.com>
10765 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
10766 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
10767 and it causes a 'test' syntax error if it fails.
10768 Bug reported by Stephen Gildea.
10770 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
10771 If prototypes are supported, use them to check this at compile-time,
10772 instead of trying to check it at run-time. If we must do a run-time
10773 check, assume that setvbuf is standard when cross-compiling, as
10774 nonstandard setvbuf occurs only on ancient and unlikely hosts.
10775 Bug reported by Paul D. Smith.
10777 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
10778 argument specifying location of getloadavg.c. This removes a
10779 FIXME. This idea was taken from Jim Meyering's implementation in
10781 * doc/autoconf.texi (Particular Functions): Document this.
10782 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
10783 that's what the code does; this fixes a bug reported by
10786 2002-05-03 Akim Demaille <akim@epita.fr>
10788 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
10789 autopoint instead of gettextize.
10790 ($uses_alocal): Rename as...
10791 ($uses_aclocal): this.
10792 * doc/autoconf.texi (autoreconf Invocation): Adjust.
10793 Suggested by Bruno Haible.
10795 2002-05-03 Akim Demaille <akim@epita.fr>
10797 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
10799 2002-04-29 Paul Eggert <eggert@twinsun.com>
10801 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
10802 files to be 1 second older; just set them to be the same time.
10803 Also, sleep 1 second after the first aclocal, to work around
10804 problems with sub-second time stamps on the input files.
10806 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
10808 * doc/autoconf.texi: Mention "set -e -x" lossage
10809 under node "Limitations of Builtins".
10811 2002-04-29 Akim Demaille <akim@epita.fr>
10813 * doc/install.texi: Better wording for setting variables when
10815 From Christian Cornelssen.
10817 2002-04-29 Akim Demaille <akim@epita.fr>
10819 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
10820 of lack of $LINENO support, then the test will compare the $LINENO
10821 in testsuite vs. the lineno in the test file. This is wrong, of
10823 Be sure to protect it.
10824 Reported by Patrick Welche.
10826 2002-04-25 Akim Demaille <akim@epita.fr>
10828 * doc/autoconf.texi (Obsolete Macros): Typo.
10829 Reported by Vladimir Volovich.
10831 2002-04-25 Akim Demaille <akim@epita.fr>
10833 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
10834 than some of the input files, hence, on the second run of aclocal,
10835 if some of its input are younger, make them older.
10836 Suggested by Paul Eggert.
10838 2002-04-25 Akim Demaille <akim@epita.fr>
10840 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
10841 Thanks to Paul Eggert.
10843 2002-04-25 Akim Demaille <akim@epita.fr>
10845 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
10846 and ac_subst_vars be sh variables containing the list of
10847 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
10849 (_AC_INIT_PREPARE): Use them to log them.
10850 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
10851 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
10852 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
10853 _AC_SUBST_FILES and _AC_SUBST_VARS.
10854 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
10856 2002-04-24 Akim Demaille <akim@epita.fr>
10858 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
10859 autoheader, so that automake does not complain about a missing
10860 config.h.in that was to be created.
10862 2002-04-23 Akim Demaille <akim@epita.fr>
10864 * bin/autoheader.in (parse_args): --warning takes an argument.
10867 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
10869 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
10870 and bb.out when cleaning up.
10872 2002-04-22 Akim Demaille <akim@epita.fr>
10876 2002-04-22 Akim Demaille <akim@epita.fr>
10878 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
10880 2002-04-22 Akim Demaille <akim@epita.fr>
10882 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
10884 Reported by Gregory Giannoni.
10886 2002-04-22 Akim Demaille <akim@epita.fr>
10888 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
10889 Fixes false failures on Darwin.
10891 2002-04-21 Paul Eggert <eggert@twinsun.com>
10893 * TODO, bin/autoupdate.in, doc/autoconf.texi,
10894 lib/autoconf/general.m4, lib/autoconf/libs.m4,
10895 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
10896 tests/tools.at: Minor spelling and grammar fixes.
10898 2002-04-20 Paul Eggert <eggert@twinsun.com>
10900 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
10901 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
10902 * lib/autotest/general.m4 (AT_INIT): Likewise.
10903 * tests/atgeneral.m4 (AT_INIT): Likewise.
10905 2002-04-19 Paul Eggert <eggert@twinsun.com>
10907 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
10908 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
10909 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
10910 lib/autoconf/functions.m4, lib/autoconf/general.m4,
10911 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
10912 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
10913 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
10914 Minor spelling and grammar fixes.
10916 * doc/autoconf.texi: Follow the outline suggested in the GNU
10917 Sample Texts sections of the Texinfo 4.2 manual. Most
10918 importantly, this makes sure that the copyright notices appear in
10919 all output formats. You probably need Texinfo 4.2 to generate
10922 Fix some bugs when using "$@" when there might be zero positional
10923 arguments in cases where this matters.
10925 * bin/autoconf.as: Rewrite so that the problem does not come up.
10926 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
10927 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
10928 * lib/autotest/general.m4 (AT_INIT): Likewise.
10930 * bin/autoheader.in: Use 'case' statement to work around problem.
10931 * bin/auto4mte.in: Likewise.
10932 * bin/autoreconf.in: Likewise.
10933 * bin/autoscan.in: Likewise.
10934 * bin/autoupdate.in: Likewise.
10935 * bin/ifnames.in: Likewise.
10937 * doc/autoconf.texi (Shell Substitutions): Document the problem.
10939 * lib/autotest/general.m4 (AT_INIT):
10940 Use Zsh alias to work around problem.
10941 * tests/atgeneral.m4 (AT_INIT): Likewise.
10943 * tests/c.at: We can't have zero arguments, so remove workaround
10944 that is not portable to Zsh.
10946 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
10948 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
10949 from aclocal.m4 too.
10951 2002-04-12 Akim Demaille <akim@epita.fr>
10953 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
10955 2002-04-10 Akim Demaille <akim@epita.fr>
10957 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
10958 workaround for ${1+"$@"}.
10959 * doc/autoconf.texi (Shell Substitutions): Explain it.
10960 From Oliver Kiddle and Peter Stephenson.
10962 Have M4sh perform minimal shell sanitizing.
10964 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
10966 (_AS_PREPARE): this new macro.
10968 (AS_INIT): Invoke AS_SHELL_SANITIZE.
10969 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
10971 Adjust Autoconf and Autotest.
10973 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
10974 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
10975 * lib/autotest/general.m4 (AT_INIT): Likewise.
10976 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
10977 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
10980 Use this M4sh to generate Autoconf's shell scripts.
10982 * tests/wrapsh.as: New, precursor of wrapsh.in.
10983 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
10984 on Autotest and M4sh.
10985 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
10986 (wrapsh.in): New target.
10987 * bin/autoconf.as: New, precursor of autoconf.in.
10988 (autoconf.in): New target.
10990 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
10992 * doc/autoconf.texi (Limitations of Make): Mention the issue
10993 with indented comments in rules.
10995 2002-04-09 Andreas Schwab <schwab@suse.de>
10997 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
10998 ac_top_builddir when setting ac_abs_top_builddir.
11000 2002-04-06 Kevin Ryde <user42@zip.com.au>
11002 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
11003 (Portable Shell): Cross reference to Systemology.
11005 2002-04-05 Akim Demaille <akim@epita.fr>
11007 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
11008 directories when descending in a SUBDIRS.
11009 Reported by Ezra Peisach.
11011 2002-04-04 Andreas Schwab <schwab@suse.de>
11013 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
11014 contains no literal separators.
11016 2002-04-03 Akim Demaille <akim@epita.fr>
11018 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
11019 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
11020 Use dnl, not the KILL diversion.
11022 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
11023 (AC_CONFIG_LINKS): here.
11025 Don't use the KILL diversion, as it kills spurious output, which
11026 results in failures being hidden.
11027 Use m4_defn where appropriate.
11028 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
11029 after the second argument.
11031 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
11032 syntax, as it is provided by M4sugar.
11033 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
11035 2002-04-03 Andreas Schwab <schwab@suse.de>
11037 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
11038 expanded if $# <= 2.
11040 * bin/autoreconf.in (autoreconf): Run automake after rerunning
11043 2002-04-03 Akim Demaille <akim@epita.fr>
11045 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
11046 (_AC_COMPILER_EXEEXT_REJECT): New.
11047 Also recognize *.bb and *.bbg as compilation byproducts.
11048 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
11049 (_AC_COMPILER_OBJEXT): Use them.
11050 Fixes Debian #138666.
11052 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
11054 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
11056 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
11057 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
11058 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
11059 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
11060 (AC_C_CONST): Same.
11061 (AC_C_INLINE): Same.
11062 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
11063 * doc/autoconf.texi, NEWS: Document.
11064 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
11067 2002-04-02 Akim Demaille <akim@epita.fr>
11069 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
11070 _AS_MKDIR_P_PREPARE.
11072 2002-03-28 Kevin Ryde <user42@zip.com.au>
11074 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
11075 to avoid versions of HP C which don't allow that.
11077 2002-03-27 Paul Eggert <eggert@twinsun.com>
11079 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
11080 (AS_SHELL_SANITIZE): Invoke it.
11081 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
11083 2002-03-26 Akim Demaille <akim@epita.fr>
11085 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
11087 2002-03-26 Akim Demaille <akim@epita.fr>
11089 * doc/autoconf.texi (Introduction): The GNATS base moved.
11091 2002-03-25 Paul Eggert <eggert@twinsun.com>
11093 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
11094 as POSIX requires, as it doesn't work with Zsh.
11095 * doc/autoconf.texi (Assignments): Document the problem.
11097 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
11099 * doc/autoconf.texi (Limitations of Make): Mention more issue
11100 about VPATH, overriding of macros in sub-makes, and handling of
11103 2002-03-21 Paul Eggert <eggert@twinsun.com>
11105 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
11106 problem with here-document buffer boundaries.
11108 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
11109 when reinvoking the shell, to work around problems with installers
11110 who put strange things like "cd" commands in their environments.
11112 2002-03-19 Akim Demaille <akim@epita.fr>
11114 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
11117 2002-03-19 Akim Demaille <akim@epita.fr>
11119 * bin/autoscan.in (scan_file): Specify the location in `&used'
11123 2002-03-19 Akim Demaille <akim@epita.fr>
11125 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
11126 From Nishio Futoshi.
11128 2002-03-19 Akim Demaille <akim@epita.fr>
11130 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
11132 2002-03-18 Paul Eggert <eggert@twinsun.com>
11134 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
11135 (Limitations of Usual Tools): Add mkdir section.
11137 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
11138 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
11139 back on AS_DIRNAME to compute prefixes otherwise; this is
11140 roughly what mkinstalldirs does. That way, we need not have
11141 our own filename disassembler. The old disassembler did not
11142 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
11144 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
11145 Create at_test_all by a series of assignments,
11146 not by a single assignment of a long string. The latter causes ksh
11147 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
11148 presumably because of a buffer overrun.
11150 2002-03-14 Paul Eggert <eggert@twinsun.com>
11152 * lib/autotest/general.m4 (at_times_skip):
11153 Renamed from at_times. Now a boolean.
11154 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
11155 says 'times: not found'.
11157 2002-03-14 Akim Demaille <akim@epita.fr>
11159 * bin/autoreconf.in (&study_gettextize): New.
11160 (&autoreconf): Handle newest gettextize.
11161 Rerun aclocal if needed.
11162 Suggested by Andreas Schwab.
11164 2002-03-13 Akim Demaille <akim@epita.fr>
11166 * doc/autoconf.texi (Special Shell Variables): More about IFS.
11168 2002-03-13 Akim Demaille <akim@epita.fr>
11170 * doc/autoconf.texi (Header Portability): New.
11171 Add information about stdint.h and inttypes.h from Paul Eggert.
11173 2002-03-13 Akim Demaille <akim@epita.fr>
11175 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
11179 2002-03-12 Akim Demaille <akim@epita.fr>
11181 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
11184 2002-03-11 Andreas Schwab <schwab@suse.de>
11186 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
11187 does not do it if --with-lispdir is given.
11189 2002-03-08 Akim Demaille <akim@epita.fr>
11193 2002-03-08 Akim Demaille <akim@epita.fr>
11195 * doc/autoconf.texi (Subdirectories): Clarify that the
11196 subdirectory should exist.
11198 2002-03-08 Akim Demaille <akim@epita.fr>
11200 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
11202 2002-03-08 Akim Demaille <akim@epita.fr>
11204 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
11205 aliases the actual variables, and modifications of the former
11208 2002-03-08 Akim Demaille <akim@epita.fr>
11210 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
11211 because of C-c: have m4 output in tmp files, then mv them.
11213 2002-03-08 Akim Demaille <akim@epita.fr>
11215 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
11216 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
11217 * bin/ifnames.in: Copyright update.
11219 2002-03-08 Akim Demaille <akim@epita.fr>
11221 * doc/autoconf.texi (Invoking autom4te): New.
11223 2002-03-05 Akim Demaille <akim@epita.fr>
11225 * doc/autoconf.texi (Specifying Names): Clarification suggested by
11228 2002-03-05 Akim Demaille <akim@epita.fr>
11232 2002-03-04 Akim Demaille <akim@epita.fr>
11234 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
11235 * lib/autoconf/general.m4 (AC_INIT): More informative error
11236 message for LIBOBJ.
11238 2002-03-04 Akim Demaille <akim@epita.fr>
11240 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
11243 2002-03-04 Akim Demaille <akim@epita.fr>
11245 * doc/autoconf.texi (Transforming Names): Equality between target
11246 and host is irrelevant.
11247 (Specifying Names, Canonicalizing): Remove all references to the
11248 backward compatibility hooks. Rather, collect them all into...
11249 (Hosts and Cross-Compilation): this new section.
11250 * doc/install.texi (System Type): Ditto.
11251 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
11252 that `--host' implies cross-compilation.
11254 2002-03-04 Akim Demaille <akim@epita.fr>
11256 * doc/autoconf.texi (Evaluation Macros): New.
11257 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
11259 (_m4_foreach): Define the variant with immediate evaluation so
11260 that it contains exactly the items, not an expression which
11261 evaluation is the current item.
11262 (m4_re_string, m4_re_word): Don't over quote them.
11264 2002-03-04 Akim Demaille <akim@epita.fr>
11266 Instead of having stacking `shift's evaluated at the end, let
11267 `foreach' loops immediately evaluate them.
11269 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
11270 $*. This is the n-th time I change my mind, but hopefully this is
11273 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
11275 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
11276 it was only a hack for m4_text_wrap.
11277 (m4_car2): Remove, replaced by...
11279 (_m4_foreach): Adjust.
11280 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
11281 m4_bpatsubst for clarification.
11283 2002-03-04 Akim Demaille <akim@epita.fr>
11285 * doc/autoconf.texi (Changequote is Evil): New.
11287 2002-03-03 Kevin Ryde <user42@zip.com.au>
11289 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
11290 on old systems like SunOS.
11292 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
11294 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11295 lib/autoconf/functions.m4, lib/autoconf/general.m4,
11296 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
11297 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
11300 2002-02-28 Akim Demaille <akim@epita.fr>
11302 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
11303 message to be sent.
11305 2002-02-28 Kevin Ryde <user42@zip.com.au>
11307 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
11309 2002-02-25 Akim Demaille <akim@epita.fr>
11311 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
11312 From Akinori Musha.
11314 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
11316 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
11317 translate \r\n to \n.
11319 2002-02-07 Akim Demaille <akim@epita.fr>
11323 2002-02-07 Akim Demaille <akim@epita.fr>
11325 Fix Autoconf PR/209.
11326 Also reported by Frank Denis.
11328 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
11330 2002-02-07 Akim Demaille <akim@epita.fr>
11332 Fix Autoconf PR/207:
11333 AC_PREFIX_PROGRAM fails with dashed program names
11335 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
11336 variable when looking for the prefix program.
11337 Now it also works for shell variables.
11339 2002-02-07 Akim Demaille <akim@epita.fr>
11341 * doc/autoconf.texi (Limitations of Builtins): More about
11344 2002-02-06 Akim Demaille <akim@epita.fr>
11346 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
11347 case/esac, some shells don't support it.
11348 Reported by Zack Weinberg.
11349 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
11351 2002-02-06 Akim Demaille <akim@epita.fr>
11353 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
11354 sure not to introduce newlines in at_groups.
11355 * lib/autotest/Makefile.am (autotest.m4f): Typo.
11357 2002-02-06 Akim Demaille <akim@epita.fr>
11359 * tests/torture.at (Configuring subdirectories): Skip if aclocal
11362 2002-02-05 Paul Eggert <eggert@twinsun.com>
11364 * doc/autoconf.texi (Specific Compiler Characteristics):
11365 Describe HP-UX cc bug workaround more accurately.
11366 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
11368 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
11369 cross-compilers, too. This undoes some of the most recent change
11372 2002-02-05 Akim Demaille <akim@epita.fr>
11374 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
11375 to make sure they are up to date when `check' is run.
11377 2002-02-05 Akim Demaille <akim@epita.fr>
11379 * doc/autoconf.texi (Making testsuite Scripts): Document
11382 2002-02-05 Akim Demaille <akim@epita.fr>
11384 * lib/freeze.mk: New.
11386 2002-02-05 Akim Demaille <akim@epita.fr>
11388 Implement `autom4te --freeze'.
11390 * bin/autom4te.in (&freeze): New.
11391 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
11392 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
11394 2002-02-05 Akim Demaille <akim@epita.fr>
11396 * bin/autom4te.in (&parse_args): Implement `frozen files are
11397 optional are the sum of the previous files on the command line'.
11398 Also, pass `--reload-state=' on them, so...
11399 (handle_m4): don't.
11400 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
11401 (M4sh): Rely on M4sugar.
11402 (Autotest, M4sh, M4sugar): Use frozen files.
11404 2002-01-31 Akim Demaille <akim@epita.fr>
11406 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
11407 * doc/autoconf.texi (Initializing configure): Adjust.
11409 2002-01-30 Akim Demaille <akim@epita.fr>
11411 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
11412 alphanumeric to `-' instead of `_'.
11414 2002-01-30 Akim Demaille <akim@epita.fr>
11416 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
11417 for plain code, the other for cross-compilation code. The latter
11418 is now run with GCC only.
11419 * doc/autoconf.texi (Compilers and Preprocessors): New.
11421 2002-01-30 Akim Demaille <akim@epita.fr>
11423 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
11425 * doc/autoconf.texi (Initializing configure): Explain how to
11426 change AC_INIT default values.
11428 2002-01-29 Akim Demaille <akim@epita.fr>
11430 * tests/torture.at (Configuring subdirectories): Use configure.in,
11431 so that aclocal 1.4 works.
11432 Reported by Alexandre Duret-Lutz and Larry Schmitt.
11434 2002-01-28 Akim Demaille <akim@epita.fr>
11436 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
11439 2002-01-28 Akim Demaille <akim@epita.fr>
11441 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
11442 AUTOTEST_PATH *after* it was set.
11443 Don't put `.' in the PATH: the user should be precise and `./' if
11444 needed. In addition, given that the test suite does some `cd', if
11445 `.' is in the path, the `tested programs' sections will report
11446 programs found in the test suite's directory, while during the
11447 tests (performed in their own directory), these programs are no
11448 longer visible. In other words, the results is confusing and
11450 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
11452 2002-01-24 Akim Demaille <akim@epita.fr>
11456 2002-01-24 Akim Demaille <akim@epita.fr>
11458 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
11459 * doc/autoconf.texi: Finally add Akim as an author.
11461 2002-01-24 Akim Demaille <akim@epita.fr>
11463 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
11464 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
11465 Bourne. Use /bin/sh.
11466 From Andreas Buening.
11468 2002-01-24 Akim Demaille <akim@epita.fr>
11470 * config/config.guess, config/config.sub, config/texinfo.tex:
11471 Update from masters.
11473 2002-01-24 Akim Demaille <akim@epita.fr>
11475 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
11476 * config/auxdir.m4, config/cond.m4, config/depend.m4,
11477 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
11478 * config/missing.m4, config/sanity.m4, config/select.m4,
11479 * config/strip.m4: Remove, to ease sync'ing with any version of
11482 2002-01-24 Akim Demaille <akim@epita.fr>
11484 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
11485 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
11486 Reported by Geir Ove Myhr.
11488 2002-01-21 Akim Demaille <akim@epita.fr>
11490 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
11492 2002-01-21 Akim Demaille <akim@epita.fr>
11494 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
11495 message on invalid options.
11496 * bin/autom4te.in (parse_args): Don't use
11497 Autoconf::General::getopt with non valid options.
11499 2002-01-17 Jim Meyering <meyering@lucent.com>
11501 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
11502 $ac_cv_exeext so we don't use an old, invalid, cached value.
11504 2002-01-11 Akim Demaille <akim@epita.fr>
11506 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
11508 * doc/autoconf.texi (Function Portability): Document the strnlen
11510 (Particular Functions): Document AC_FUNC_STRNLEN.
11511 * lib/autoscan/functions: Adjust.
11513 2002-01-06 Akim Demaille <akim@epita.fr>
11515 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
11516 package.m4, since is really depends upon configure.ac, not
11518 * doc/autoconf.texi (testsuite Scripts): Adjust.
11519 * tests/Makefile.am (package.m4): New.
11520 EXTRA_DIST it since its a source.
11522 2002-01-06 Akim Demaille <akim@epita.fr>
11524 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
11525 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
11526 and PACKAGE_BUGREPORT from here...
11527 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
11529 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
11530 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
11531 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
11532 * tests/tools.at (autoheader): Adjust.
11533 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
11535 2002-01-06 Akim Demaille <akim@epita.fr>
11537 * bin/autoscan.in (scan_file): Use `&used'.
11539 2002-01-03 Akim Demaille <akim@epita.fr>
11541 * doc/autoconf.texi (Output): Improved wording regarding use of
11545 2001-12-18 Kevin Ryde <user42@zip.com.au>
11547 * doc/autoconf.texi (Function Portability): Add notes on sscanf
11548 sometimes needing writable input.
11550 2001-12-17 Jim Meyering <meyering@lucent.com>
11552 * doc/autoconf.texi (New Macros): Tweak wording.
11554 2001-12-14 Akim Demaille <akim@epita.fr>
11556 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
11557 trailing files, don't apply `-rf' to files which might not be
11558 created by configure (core, core.*, and *.core), but just `rm -f'.
11559 Suggested by Jonathan Kamens.
11561 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
11563 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
11565 2001-12-14 Akim Demaille <akim@epita.fr>
11567 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
11569 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
11571 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
11572 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
11573 abs_srcdir, top_srcpath to abs_top_srcdir.
11574 (_AC_OUTPUT_FILES): Adjust.
11575 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
11576 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
11577 * tests/wrappl.in, tests/wrapsh.in: Adjust.
11579 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
11581 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
11582 C/Fortran linking on HP/UX, by extracting the Fortran library
11583 search path from the LPATH line in the $F77 -v output.
11585 2001-12-12 Kevin Ryde <user42@zip.com.au>
11587 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
11588 forbidden file descriptors table.
11590 2001-11-26 Akim Demaille <akim@epita.fr>
11592 * bin/autoscan.in (%c_keywords): Build it at top level.
11593 Map to 1 in order to simplify its uses.
11595 2001-11-26 Akim Demaille <akim@epita.fr>
11597 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
11598 Remove $filepath, useless.
11599 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
11600 variables, they are really part of the tokens.
11601 Split the input line on spaces and then look for tokens.
11602 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
11603 because of `lex$U.$(OBJEXT)'.
11604 (&scan_files): Use "@list" instead of join.
11605 * doc/Makefile.am (CLEANFILES): Add *.fns.
11607 2001-11-26 Akim Demaille <akim@epita.fr>
11609 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
11610 Remove, replaced by...
11611 * tests/wrappl.in: Be common for all the Perl executables.
11612 In particular autoscan and autoheader want -I.
11613 * configure.ac: Adjust.
11614 * lib/autoscan/headers: errno.h is portable.
11616 2001-11-26 Akim Demaille <akim@epita.fr>
11618 * bin/autoscan.in (used): New.
11621 2001-11-26 Akim Demaille <akim@epita.fr>
11623 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
11625 (&scan_sh_file): Remove a duplicate pattern.
11626 (&check_configure_ac): Use long options.
11627 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
11629 2001-11-26 Akim Demaille <akim@epita.fr>
11631 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
11632 Before, having a line containing the opening of a multi line
11633 comment made the whole line be ignored.
11635 2001-11-26 Akim Demaille <akim@epita.fr>
11637 * doc/autoconf.texi (Using an Autotest Test Suite): New.
11638 (testsuite Scripts): Be one of its subsection.
11639 (Autotest Logs): New.
11641 2001-11-26 Akim Demaille <akim@epita.fr>
11643 Test groups are now run two directories deeper.
11645 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
11646 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
11648 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
11649 top_srcdir, builddir and top_builddir.
11650 Use `at_*dir' relatively to the directory containing the
11651 suite, use `*dir' when relatively to the current group dir.
11653 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
11655 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
11656 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
11657 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
11660 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
11662 * doc/autoconf.texi (Using System Type): Add an example of `case
11663 $host' usage so people quit using `case $target' everywhere.
11665 2001-11-22 Akim Demaille <akim@epita.fr>
11667 * doc/autoconf.texi (Installation Directory Variables): Englishoes
11668 spotted by Jim Meyering.
11670 2001-11-16 Paul Eggert <eggert@twinsun.com>
11672 This patch implements a `long double' suggestion by Oliver Kiddle.
11674 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
11675 static, to catch errors if the value isn't known at compile-time
11676 and the compiler supports dynamic arrays. Change its name from
11677 `_array_' to `test_array' to avoid potential name clashes.
11678 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
11679 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
11680 better than double. Catch a bug in GCC 2.95.2 x86.
11681 * doc/autoconf.texi (C Compiler): Document the above.
11684 2001-11-13 Akim Demaille <akim@epita.fr>
11686 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
11688 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
11690 2001-11-13 Akim Demaille <akim@epita.fr>
11692 * lib/autotest/general.m4 (AT_INIT): After having run the test
11693 group, go back to the initial directory, not to at_suite_dir.
11695 2001-11-13 Akim Demaille <akim@epita.fr>
11697 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
11698 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
11699 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
11701 (AT_CHECK_CONFIGURE): Use absolute paths.
11702 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
11703 The problem is still the old one: there is no means in M4 (that I
11704 know about) to create a defining macro, because there is no means
11705 to create `$1' etc., therefore, the defining macro ``swallows''
11706 all the arguments meant to the defined macro.
11708 2001-11-13 Akim Demaille <akim@epita.fr>
11710 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
11711 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
11713 * tests/aclocal.m4: Remove, as it is no longer used.
11715 2001-11-13 Akim Demaille <akim@epita.fr>
11717 * lib/autotest/general.m4: Change `tests?' into `groups?' in
11718 variable names when referring to a single test group, or to
11719 `suite' when referring to the whole test suite.
11720 `at_last_test' is removed: m4 compute at_format itself.
11721 (at_stdout, at_stder1, at_stderr): New variables.
11722 (AT_CHECK): Use them.
11724 2001-11-13 Akim Demaille <akim@epita.fr>
11726 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
11728 Create `testsuite.dir/003/run' instead of `testsuite.003'.
11729 Do it as soon as a test fails, don't wait till the end of the test
11731 Don't remove $as_me.[0-9]*, since these files no longer exist.
11733 2001-11-13 Akim Demaille <akim@epita.fr>
11735 * tests/tools.at: Use absolute paths, since we are no longer run
11738 2001-11-13 Akim Demaille <akim@epita.fr>
11740 Now that tests are running in their own private dir, there is no
11741 need to list the files to remove at the end of tests groups.
11743 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
11744 (AT_data_files, at_data_files): Remove.
11745 (AT_CLEANUP, AT_DATA): Simplify.
11747 Remove the group dir if !debug && !failed.
11748 * tests/atspecific.m4: Adjust.
11750 2001-11-13 Akim Demaille <akim@epita.fr>
11752 Start a new layout for Autotest: `testsuite' creates
11753 `testsuite.dir' in which the at-check-line etc. files are to be
11754 found, and `testsuite.dir/003' where the test group 3 is run.
11756 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
11757 at_check_line_file, at_format, at_test_normalized, at_group_dir
11759 Create the directories.
11760 Use absolute paths for at- files.
11761 (AT_CHECK): Adjust.
11763 2001-11-11 Michael Matz <matz@kde.org>
11765 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
11767 (m4_car): Properly quote arguments.
11769 2001-11-13 Akim Demaille <akim@epita.fr>
11771 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
11772 with stricter rules on LIBOBJS.
11774 2001-11-12 Paul Eggert <eggert@twinsun.com>
11776 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
11777 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
11780 2001-11-12 Akim Demaille <akim@epita.fr>
11782 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
11784 2001-11-12 Akim Demaille <akim@epita.fr>
11786 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11787 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
11788 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
11789 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
11790 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
11791 specify to what the macro should be defined (typically to 1).
11793 2001-11-12 Akim Demaille <akim@epita.fr>
11795 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
11798 2001-11-12 Akim Demaille <akim@epita.fr>
11800 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11801 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
11802 definition used by Automake where LEX is +/- "${missing} lex" and
11803 `missing' itself contains variables.
11805 2001-11-12 Akim Demaille <akim@epita.fr>
11807 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
11808 Now that M4sh pushes BODY, the comments were output at the end of
11811 2001-11-08 Akim Demaille <akim@epita.fr>
11813 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
11814 that we can trace macros from aclocal.m4.
11815 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
11816 obsoleted, and redirect to the former anyway.
11817 Reported by Ralf Corsepius.
11819 2001-11-08 Akim Demaille <akim@epita.fr>
11821 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
11822 processed only if present.
11823 * tests/torture.at (Configuring subdirectories): Use autoreconf
11824 instead of successive calls to autoconf.
11825 Add a nonexistent subdirectory to exercise the patch above.
11826 Reported by Ralf Corsepius.
11828 2001-11-08 Kevin Ryde <user42@zip.com.au>
11830 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
11831 doesn't accept .S files.
11833 2001-11-07 Akim Demaille <akim@epita.fr>
11835 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
11836 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
11837 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
11838 * bin/autom4te.in (warn_forbidden): New.
11839 (handle_output): Use it.
11840 Read m4_pattern_forbid with messages.
11842 2001-11-05 Akim Demaille <akim@epita.fr>
11844 * bin/autom4te.in (--normalize): Remove.
11845 * lib/autom4te.in: Adjust.
11847 2001-11-05 Akim Demaille <akim@epita.fr>
11849 * tests/Makefile.am (testsuite): Rename this target as...
11850 ($(TESTSUITE)): this.
11853 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
11855 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
11856 the --prefix option, also remove it's argument.
11858 2001-11-05 Akim Demaille <akim@epita.fr>
11860 * doc/autoconf.texi (testsuite Invocation): Update.
11861 (Writing testsuite.at): Update.
11863 2001-11-03 Akim Demaille <akim@epita.fr>
11865 * doc/autoconf.texi: s/@code/@command/ where appropriate.
11867 2001-11-03 Akim Demaille <akim@epita.fr>
11869 * lib/Autom4te/General.pm: (&catfile, &canonfile)
11870 (&file_name_is_absolute): New, wrappers around routines from
11872 Use and export them.
11873 (&find_configure_ac): Optionally take a directory where to look at.
11874 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
11876 Default @ARGV to `.', not find_configure_ac.
11877 (&autoreconf): Argument is a directory.
11878 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
11879 * doc/autoconf.texi (autoreconf Invocation): Update.
11881 2001-11-03 Akim Demaille <akim@epita.fr>
11883 * lib/Autom4te/General.pm (@export_vars, @export_subs)
11884 (@export_forward_subs): New.
11885 Add basename, dirname, and fileparse.
11887 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
11888 Don't look for aclocal flags if we already know aclocal is not
11890 Move aclocal.m4t only if it exists.
11891 Reported by Ezra Peisach.
11893 2001-11-03 Akim Demaille <akim@epita.fr>
11895 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
11896 passed on command line, defaulting to ./configure.ac if present.
11897 (&maybe_autoreconf, File::Find): Remove, unused.
11898 (&autoreconf): If autoconf is not used, don't try to trace.
11900 2001-11-02 Akim Demaille <akim@epita.fr>
11902 * configure.ac: Bump to 2.52g.
11904 2001-11-02 Akim Demaille <akim@epita.fr>
11908 2001-11-02 Akim Demaille <akim@epita.fr>
11910 * config/config.guess, config/config.sub, doc/standards.texi:
11911 * config/lispdir.m4: Update from masters.
11912 * configure.ac: Bump to 2.52f.
11914 2001-11-02 Akim Demaille <akim@epita.fr>
11916 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
11917 Don't run aclocal when aclocal.m4 is not from aclocal.
11919 Don't run libtoolize and gettextize if --install is not given.
11921 2001-11-01 Paul Eggert <eggert@twinsun.com>
11923 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
11924 be invoked before _AS_LINENO_PREPARE.
11925 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
11926 than character ranges.
11928 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
11929 invoking AS_BASENAME. Set the locale variables to 'C' if
11930 possible, as POSIX requires this to get the traditional
11932 * doc/autoconf.texi (Special Shell Variables): Describe the above.
11934 2001-10-31 Paul Eggert <eggert@twinsun.com>
11936 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
11937 with {}, as that triggers a bug in Bash 2.05.
11939 (_AS_LINENO_PREPARE): Use Sed rather than
11940 Awk. Fix the sed prepass to work even if there are multiple
11941 instances of $LINENO on the same line. Do not substitute for
11942 other variables like $LINENOT. Do not check file dates; such a
11943 check is unreliable on sufficiently fast machines, and removing
11944 the check makes the code simpler and more reliable. Check for
11945 output and chmod failures.
11947 * doc/autoconf.texi (Special Shell Variables): Document
11950 2001-10-31 Akim Demaille <akim@epita.fr>
11952 * tests/Makefile.am (atconfig): Remove this target, Automake
11955 2001-10-31 Akim Demaille <akim@epita.fr>
11957 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
11958 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
11959 provided, while it is optional.
11960 * configure.ac: Adjust.
11962 2001-10-26 Paul Eggert <eggert@twinsun.com>
11964 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
11965 lib/Autom4te/Struct.pm:
11966 Require Perl 5.005_03 instead of just 5.005, as some tests fail
11969 * doc/autoconf.texi (Special Shell Variables): Document some
11970 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
11972 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
11973 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
11974 eval $LINENO is not portable in practice.
11976 2001-10-24 Akim Demaille <akim@epita.fr>
11978 * lib/Autom4te/General.pm (backname): New.
11980 2001-10-24 Akim Demaille <akim@epita.fr>
11982 * m4/: Remove, merged into...
11985 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
11987 * doc/autoconf.texi (Shellology): Mention the problems with bash
11988 2.05's use of ANSI quoting in its `set' builtin.
11990 2001-10-22 Paul Eggert <eggert@twinsun.com>
11992 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
11993 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
11994 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
11995 POSIX decided to standardize on the int flavor of strerror_r.
11996 Always do char* test, as there's no reason not to.
11997 Assign to a char* var, to catch strerror_r that returns int*.
11999 * doc/autoconf.texi (Particular Functions):
12000 Document the above changes. Also, document the fact that
12001 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
12003 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
12005 2001-10-20 Akim Demaille <akim@epita.fr>
12007 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
12008 the executable was missing from the log.
12010 2001-10-20 Akim Demaille <akim@epita.fr>
12012 * lib/Autom4te/General.pm (&update_file): If destination is
12013 unchanged, remove the source.
12014 (&up_to_date_p): Don't be verbose, be debug.
12015 * bin/autoreconf.in: No longer support --m4dir.
12016 (&autoreconf): Display the full path of the configure.ac we are
12018 Trace it only once.
12019 Be sure to honor --force with gettextize.
12020 Always run aclocal.
12021 * doc/autoconf.texi: Adjust.
12023 2001-10-20 Akim Demaille <akim@epita.fr>
12025 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
12027 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
12028 `intl' is already present, as it refuses unless --force.
12029 (&parse_args): Use -I, --include instead of the old Autoconf
12031 ($localdir, $autoconf_dir): Remove.
12033 (&maybe_autoreconf): New, to preserve $_ for File::Find.
12035 2001-10-19 Jens Petersen <petersen@redhat.com>
12037 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
12038 * doc/autoconf.texi (Particular Programs): Likewise.
12040 2001-10-19 Akim Demaille <akim@epita.fr>
12042 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
12043 file in @configure_input@.
12044 Don't mention `automatically' in addition to `generated'.
12045 * tests/torture.at (#define header templates): Adjust.
12047 2001-10-19 Akim Demaille <akim@epita.fr>
12049 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
12050 comment, explain how to install automatic mode selection.
12053 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
12055 * bin/autoreconf.in (autoreconf): Display the path to the
12056 configure.ac being studied.
12058 2001-10-18 Paul Eggert <eggert@twinsun.com>
12060 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
12061 long, to work around a bug in the HP C compiler version HP92453-01
12064 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
12065 (AS_BASENAME_EXPR): New macro.
12066 (AS_BASENAME_SED): Do not assume GNU sed semantics.
12067 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
12068 and fall back on 'sed' only if the other two fail. This makes
12069 AS_BASENAME act more like AS_DIRNAME.
12070 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
12071 contains white space.
12072 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
12073 Use AS_DIRNAME, since I think it's now DOS-friendly.
12074 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
12075 Allow "dirname //FOO" to return either / or //, as POSIX allows
12078 2001-10-10 Akim Demaille <akim@epita.fr>
12080 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
12081 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
12084 2001-10-10 Akim Demaille <akim@epita.fr>
12086 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
12087 m4_define, since...
12088 (_AS_ECHO_N): AS_REQUIREs it.
12090 2001-10-10 Akim Demaille <akim@epita.fr>
12092 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
12093 (AC_INCLUDES_DEFAULT): Move to...
12094 * lib/autoconf/headers.m4: here.
12095 * lib/autoconf/types.m4: Comment changes.
12096 * doc/autoconf.texi: Specify where the default includes are used
12097 in the macro prototypes.
12099 2001-10-09 Akim Demaille <akim@epita.fr>
12101 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
12104 2001-10-08 Akim Demaille <akim@epita.fr>
12106 * bin/autoreconf.in (&autoreconf): Remove debugging code.
12107 (&parse_args): Pass verbosity/debugging options to subtools when
12108 --debug, not when --verbose.
12109 * lib/autom4te.in (Autoreconf-preselections): New.
12110 (Autoconf): Use it.
12112 2001-10-08 Akim Demaille <akim@epita.fr>
12114 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
12116 2001-10-08 Akim Demaille <akim@epita.fr>
12118 * doc/autoconf.texi (autoreconf Invocation): Adjust.
12119 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
12121 2001-10-08 Akim Demaille <akim@epita.fr>
12123 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
12124 (Syntax of the shell scripts): Don't.
12125 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
12126 bother with $force since...
12127 * lib/Autom4te/General.pm: does.
12129 2001-10-08 Akim Demaille <akim@epita.fr>
12131 * bin/autoreconf.in: Rewrite in Perl.
12132 * configure.ac: Adjust.
12133 * lib/Autom4te/General.pm (&up_to_date_p): New.
12134 * bin/autom4te.in (&up_to_date_p): Use it.
12136 (&up_to_date): this.
12138 2001-10-08 Akim Demaille <akim@epita.fr>
12140 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
12141 (m4_list_cmp): Use $0 to reinvoke yourself.
12142 (m4_patsubsts): New.
12143 (m4_strip, m4_version_unletter): Use it.
12144 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
12146 2001-10-08 Akim Demaille <akim@epita.fr>
12148 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
12149 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
12150 * lib/autoconf/types.m4, lib/autotest/general.m4,
12151 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
12152 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
12153 m4_bregexp, m4_bpatsubst, and m4_bmatch.
12154 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
12156 2001-10-08 Akim Demaille <akim@epita.fr>
12158 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
12160 2001-10-08 Akim Demaille <akim@epita.fr>
12162 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
12163 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
12164 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
12165 * tests/tools.at, tests/m4sh.at: Use it.
12166 * tests/m4sh.at: Don't rely on Autoconf macros.
12167 (DIRNAME_TEST): Also exercise the expr variant.
12168 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
12169 preferred M4sugar extension is now `.4s'.
12170 * tests/README: Remove.
12172 2001-10-08 Akim Demaille <akim@epita.fr>
12174 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
12175 (m4_provide_if): this.
12176 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
12177 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
12178 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
12179 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
12181 2001-10-08 Akim Demaille <akim@epita.fr>
12183 Use `add-log-current-defun-function' for ChangeLog creation.
12184 Suggested by Tom Tromey.
12186 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
12187 (autotest-mode): Adjust.
12188 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
12189 'comment-region onto `C-c ;'.
12190 Comments are `#', not `dnl'.
12191 (autoconf-current-defun): New.
12192 (autoconf-font-lock-keywords): Recognize `m4_defun'.
12194 2001-10-08 Akim Demaille <akim@epita.fr>
12196 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
12197 * lib/m4sugar/m4sh.m4: here.
12198 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
12199 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
12200 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
12201 include handle the m4_pattern_*, no longer push the
12202 BODY diversion nor set the /bin/sh line, AS_INIT does it.
12203 * lib/autotest/general.m4 (AT_INIT): Likewise.
12204 * tests/base.at: Adjust the tests to use AS_INIT.
12205 * tests/tools.at (AT_DATA_FORBIDDEN): New.
12206 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
12209 2001-10-07 Paul Eggert <eggert@twinsun.com>
12211 * doc/autoconf.texi (config.status Invocation):
12212 CONFIG_SHELL defaults to a shell that supports LINENO if available.
12214 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
12215 shell does not support LINENO, and if CONFIG_SHELL is unset or
12216 empty, and if we can find a shell that does support LINENO,
12217 then set CONFIG_SHELL to that shell and then re-execute
12218 ourselves with CONFIG_SHELL.
12220 2001-10-05 Paul Eggert <eggert@twinsun.com>
12222 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
12223 doesn't exist. Remove *.tmp, as a .tmp file is created during the
12224 build of $(TESTSUITE).
12226 2001-10-05 Akim Demaille <akim@epita.fr>
12228 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
12229 iff we are a bareword.
12230 Reported by Raja R Harinath.
12232 2001-10-05 Akim Demaille <akim@epita.fr>
12234 * tests/m4sh.at (LINENO): New.
12235 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
12236 PATH_SEPARATOR before using it.
12237 Fix the absolute path case/esac pattern.
12238 Provide $0 as fallback for as_myself.
12239 Reported by Raja R Harinath.
12241 2001-10-05 Akim Demaille <akim@epita.fr>
12243 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
12244 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
12246 2001-10-05 Akim Demaille <akim@epita.fr>
12248 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
12249 (AS_SHELL_SANITIZE): here. Use it.
12250 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
12253 2001-10-04 Akim Demaille <akim@epita.fr>
12255 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
12256 combination of Awk and sed to replace $LINENO.
12258 2001-10-02 Paul Eggert <eggert@twinsun.com>
12260 * doc/autoconf.texi (Limitations of Builtins): You can't use
12261 "source"; it's not portable. Remove confusing and
12262 somewhat-incorrect example involving "." and "/".
12264 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
12265 compatibility with POSIX shells.
12267 2001-10-02 Akim Demaille <akim@epita.fr>
12269 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
12270 instead of exec'ing to preserve $0 and $@.
12272 2001-10-01 Akim Demaille <akim@epita.fr>
12274 * tests/testsuite (AT_INIT) <at_pass_list>: New.
12275 Don't run twice the same test.
12277 2001-10-01 Akim Demaille <akim@epita.fr>
12279 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
12280 No longer output the list of tests.
12281 <--list>: New option.
12282 <--full-help>: Remove.
12283 Complete the short/long options duality.
12284 Various small adjustments.
12286 2001-10-01 Akim Demaille <akim@epita.fr>
12288 * doc/autoconf.texi: Use @kbd for user input.
12289 Always use `$' as shell prompt.
12291 2001-09-30 Paul Eggert <eggert@twinsun.com>
12293 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
12294 Don't use nested parenthesization. This patch was originally
12295 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
12296 but somehow it didn't get incorporated then.
12297 * doc/autoconf.texi (Limitations of Usual Tools):
12298 Clarify remark about sed and nested parenthesization.
12300 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
12301 Report an error if the size cannot be determined even though
12303 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12304 Check for `expr' arithmetic overflow, and for compilation failure,
12305 and invoke a new argument $4 if either is discovered.
12306 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
12307 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
12309 2001-09-28 Akim Demaille <akim@epita.fr>
12311 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
12312 * m4/lispdir.m4: New.
12313 * aclocal.m4, configure.ac: Adjust.
12315 2001-09-28 Akim Demaille <akim@epita.fr>
12317 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
12319 (AT_INIT): More the wrapped section to where it will be expanded.
12320 Output `AT_tested' only when existing.
12321 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
12323 2001-09-27 Akim Demaille <akim@epita.fr>
12325 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
12326 generates too many bug reports.
12328 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
12329 status when executing the ACTION-IF-FALSE.
12330 * tests/base.at (AC_TRY_*): Rename as...
12331 (AC_TRY_COMMAND): this.
12332 (AC_RUN_IFELSE): New.
12333 * tests/compile.at (Extensions, C keywords)
12334 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
12335 (Broken/missing compilers, AC_PROG_CPP with warnings)
12336 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
12337 * tests/c.at (Extensions, C keywords)
12338 (Broken/missing compilers, AC_PROG_CPP with warnings)
12339 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
12340 (AC_PROG_CPP requires AC_PROG_CC): here and...
12341 * tests/fortran.at (GNU Fortran 77): there.
12342 * doc/autoconf.texi (autoconf Invocation): Fix the example:
12343 AC_TRY_RUN is about compilation, not shell commands.
12344 (Test Programs): AC_TRY_RUN works as used to be advertised.
12346 2001-09-27 Akim Demaille <akim@epita.fr>
12348 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
12350 Be sure to detect when $LINENO always returns the same value.
12351 Look for the original script, basename($0) is certainly not
12353 Pass the CLI arguments to `$as_me.lineno'.
12355 2001-09-25 Akim Demaille <akim@epita.fr>
12357 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
12358 Be sure the close and reopen the LOG fd before and after using tee
12360 <at_tests_pattern>: Adjust to the new format of at_help_all.
12362 2001-09-23 Akim Demaille <akim@epita.fr>
12364 * bin/autom4te.in (parse_args): There can be several invocations
12367 2001-09-23 Akim Demaille <akim@epita.fr>
12369 * doc/autoconf.texi (Top): Wrap in @ifnottex.
12371 2001-09-23 Akim Demaille <akim@epita.fr>
12373 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
12374 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
12375 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
12376 builddir, buildpath, top_builddir, and top_buildpath.
12377 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
12378 the current directory.
12379 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
12380 variables *before* changing the current directory.
12381 Skip nonexistent dirs.
12382 * doc/autoconf.texi (Preset Output Variables): Document these
12385 * lib/autotest/general.m4: Do not reset AT_victims.
12386 Don't compute at_srcdir nor at_top_srcdir.
12388 * tests/tools.at: Hence use top_srcdir.
12390 * tests/Makefile.am, tests/autoconf, tests/autoheader,
12391 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
12393 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
12394 * tests/wrapsh.in, tests/autoupdate.in: New.
12395 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
12396 * configure.ac: Build the position independent wrappers.
12398 * man/Makefile.am: Now that test wrappers are position
12399 independent, use them and drop dark envvar magic.
12401 2001-09-23 Akim Demaille <akim@epita.fr>
12403 * doc/autoconf.texi (Common Shell Constructs): Rename as...
12404 (Programming in M4sh): this.
12405 Promote to @section.
12407 2001-09-23 Akim Demaille <akim@epita.fr>
12409 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
12410 Pass $at_debug_args to the rerun test suite.
12411 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
12412 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
12415 2001-09-23 Akim Demaille <akim@epita.fr>
12417 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
12419 2001-09-23 Akim Demaille <akim@epita.fr>
12421 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
12424 2001-09-23 Akim Demaille <akim@epita.fr>
12426 * lib/Autom4te/General.pm (&debug): New.
12427 * bin/autom4te.in ($language): Move to...
12428 (parse_args): here.
12429 Handle --language in languages.
12430 * lib/autom4te.in (Automake-selections, Autoheader-selections)
12431 (Autoscan-selections): New.
12432 (Autoconf): Adjust.
12434 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
12436 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
12437 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
12438 to match current versions from CVS Automake.
12440 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
12442 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
12445 2001-09-22 Akim Demaille <akim@epita.fr>
12447 * lib/autoconf/autotest.m4: Create `package.m4'.
12448 * tests/Makefile.am (package.m4): Remove.
12450 2001-09-22 Akim Demaille <akim@epita.fr>
12452 Rely on `$LINENO' when possible instead of `__oline__'.
12454 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
12455 `$LINENO' support replacement when not supported.
12456 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
12457 them explicitly to be sure they are not output before this section
12458 (via m4_require). Cosmetic only.
12459 * lib/autoconf/c.m4, lib/autoconf/general.m4,
12460 * lib/autoconf/programs.m4: Replace all the occurrences of
12461 `__oline__' with `$LINENO'.
12462 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
12464 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
12466 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
12467 character (u: -> ue) in a code comment.
12468 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
12471 2001-09-21 Akim Demaille <akim@epita.fr>
12473 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
12474 Suggested by Jim Meyering.
12476 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12478 * lib/autoconf/programs.m4: Use extensions listed in
12479 $ac_executable_extensions when looking for programs.
12481 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12483 * lib/autoconf/general.m4: Fix a small Englisho.
12484 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
12485 setting up ac_dir_suffix and ac_top_builddir.
12486 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
12488 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12490 * doc/autoconf.texi (File System Conventions): Clarify the use of
12492 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
12493 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
12494 be used instead of ':'.
12495 * lib/autotest/general.m4: Replace occurrences of ':' in
12496 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
12498 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12500 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
12501 arguments. Fixed a typo.
12503 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12505 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
12506 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
12508 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12510 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
12511 * bin/autoupdate.in: Ditto.
12512 * bin/autoheader.in: Reworded a few comments.
12513 * bin/autoconf.in: Reworded help text for a few options.
12514 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
12515 * bin/autoscan.in, bin/autoupdate.in: Ditto.
12517 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12519 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
12520 already have $file). Set output files to binary mode (helps avoid
12521 CR issues on DOSish systems).
12523 2001-09-19 Akim Demaille <akim@epita.fr>
12525 * lib/autotest/general.m4: Englishoes.
12526 From Tim Van Holder and Alexey Mahotkin.
12528 2001-09-18 Paul Eggert <eggert@twinsun.com>
12530 * doc/autoconf.texi (Common Shell Constructs): New node,
12531 documenting AS_DIRNAME.
12532 (Limitations of Usual Tools): Refer to it when discussing dirname.
12533 Also, update discussion of POSIX standard to reflect latest draft.
12535 * lib/autoconf/c.m4:
12536 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
12538 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12539 Do not pass a first argument with leading '-'
12540 to expr, by parenthesizing initial integers that might be negative.
12542 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
12543 now merely checks whether it is an error to pass an argument
12546 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
12547 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
12548 whether it is a (compile-time) error to pass an argument to
12549 getpgrp. This simpler test supports the revised documentation,
12550 and is all that AC_FUNC_GETPGRP's users really need.
12552 2001-09-18 Akim Demaille <akim@epita.fr>
12554 * doc/autoconf.texi (Limitations of Make) <$<>: New.
12556 2001-09-18 Akim Demaille <akim@epita.fr>
12558 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
12560 * lib/autotest/general.m4 (AT_INIT): Adjust.
12562 2001-09-18 Paul Wagland <paul@wagland.net>
12564 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
12566 Add test for AS_BASENAME.
12567 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
12568 added test. It now correctly handles /1/2/3/, returning '3' not ''.
12569 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
12570 * tests/base.at: Fixed the expected responses. The old ones were
12572 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
12573 the documentation claims it should (and how it behaved in 2.13).
12575 2001-09-18 Akim Demaille <akim@epita.fr>
12577 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
12578 the AC_CONFIG_COMMANDS invocation.
12579 This also solves the name clash problems.
12580 Don't set the package's ID.
12581 * lib/m4sugar/Makefile.am (version.m4): Revamp.
12582 No longer to be shipped.
12583 (version.in): Remove.
12584 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
12585 * lib/autoconf/status.m4: Adjust.
12586 Use `m4_PACKAGE_STRING'.
12587 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
12588 the only optional argument is the name of the test suite.
12589 Expect `package.m4' to define the package signature.
12590 * lib/autom4te.in (Autotest): Add `package.m4?'.
12591 * tests/Makefile.am (package.m4): New.
12592 * tests/suite.at: ifnames is a victim.
12594 2001-09-18 Akim Demaille <akim@epita.fr>
12596 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
12597 AC_LIBSOURCE, AC_CONFIG_FILES.
12598 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
12599 program version string doesn't match the package's.
12600 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
12603 2001-09-17 Paul Eggert <eggert@twinsun.com>
12605 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12606 Allow expression to return any value that can fit into unsigned long
12607 (not int, as before). Check for output errors.
12609 2001-09-17 Bruno Haible <haible@ilog.fr>
12611 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12612 Always include <stdio.h> and <stdlib.h>. Evaluate
12613 the expression in an extra function before these includes. Call
12614 fprintf "%d" only after ensuring the argument is of type 'int'.
12615 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
12617 2001-09-17 Paul Eggert <eggert@twinsun.com>
12619 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
12620 or CFLAGS=-O5. In that case, the linker has a relaxed view of
12621 fatal errors, and AC_CHECK_LIB causes it to include libraries even
12622 when they don't exist.
12624 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
12625 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
12628 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
12629 version with the version used by fileutils 4.1, except use
12630 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
12633 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
12635 2001-09-13 Akim Demaille <akim@epita.fr>
12637 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
12639 Reported by Gerrit P. Haase.
12641 2001-09-13 Akim Demaille <akim@epita.fr>
12643 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
12644 m4_defn'ing is valid.
12646 2001-09-13 Akim Demaille <akim@epita.fr>
12648 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
12649 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
12652 2001-09-13 Akim Demaille <akim@epita.fr>
12654 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
12656 (m4_re_escape): New.
12657 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
12658 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
12659 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
12661 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
12662 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
12663 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
12664 AT_tests_all for consistency.
12666 (AT_VICTIMS): Similar to AT_KEYWORDS.
12667 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
12669 2001-09-13 Akim Demaille <akim@epita.fr>
12671 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
12673 2001-09-13 Akim Demaille <akim@epita.fr>
12675 * lib/autotest/general.m4 (AT_INIT): Create and remove
12676 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
12677 test suites can cohabit.
12679 2001-09-13 Akim Demaille <akim@epita.fr>
12681 * tests/mktests.sh: Don't output banners for empty test files.
12683 2001-09-13 Akim Demaille <akim@epita.fr>
12685 Test suites can be run independently of configure.
12687 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
12688 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
12689 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
12691 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
12693 * lib/autotest/general.m4: Use ECHO_*.
12695 2001-09-13 Akim Demaille <akim@epita.fr>
12697 * bin/ifnames.in: Rewrite in Perl.
12698 * configure.ac: Don't look for AWK.
12699 * tests/tools.at (AWK portability): Remove.
12700 (Syntax of the shell scripts): Don't check ifnames.
12701 (AT_CHECK_PERL_SYNTAX): New.
12702 (Syntax of the Perl scripts): Check ifnames.
12703 * tests/ifnames: New.
12705 2001-09-13 Akim Demaille <akim@epita.fr>
12707 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
12709 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
12710 Remove all the other keywords.
12712 2001-09-10 Akim Demaille <akim@epita.fr>
12714 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
12715 SETUP: no longer used.
12716 Support -k, --keywords.
12717 <at_help>: Be `no', `short', or `long'.
12718 <at_help_all>: New variable.
12719 (AT_KEYWORDS): New.
12720 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
12721 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
12722 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
12723 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
12724 No longer fill the HELP diversion.
12725 (AT_CLEANUP): Use them.
12726 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
12727 (m4_list_append): Remove.
12729 Spread a few keywords in the Autoconf test suite.
12731 2001-09-10 Akim Demaille <akim@epita.fr>
12733 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
12734 PATH_SEPARATOR, let M4sh compute it.
12735 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
12736 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
12738 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
12739 Simplify when the path is not a literal.
12740 (AS_UNAME): Use it to report PATH.
12741 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
12742 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
12743 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
12744 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
12745 normalize the path, and to look for victims.
12746 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
12747 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
12749 2001-09-07 Akim Demaille <akim@epita.fr>
12751 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
12752 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
12753 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
12754 related variables into `at_package_*'.
12755 * lib/autotest/general.m4 (AT_VICTIMS): New.
12756 (AT_INIT): Adjust for stand-alone/embedded test suites.
12757 (AS_MESSAGE_LOG_FD): Define and use it.
12758 * tests/suite.at (AT_VICTIMS): Use it.
12759 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
12762 2001-09-07 Akim Demaille <akim@epita.fr>
12764 Move toward possibly stand-alone test suites.
12766 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
12767 in addition, it introduces useless differences in logs.
12768 (AT_INIT): Let atconfig and atlocal be both optional.
12769 Adjust PATH computation.
12770 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
12772 2001-09-07 Akim Demaille <akim@epita.fr>
12774 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
12775 m4sugar/version.m4.
12777 2001-09-05 Akim Demaille <akim@epita.fr>
12779 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
12780 to avoid GCC warnings.
12783 2001-09-05 Akim Demaille <akim@epita.fr>
12785 * bin/autom4te.in: --language is -l, not -s.
12787 2001-09-05 Akim Demaille <akim@epita.fr>
12789 Be ready to handle filenames as stupid as `dnl.at', for if even
12790 the maintainer is dumb enough to do that...
12792 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
12793 excellence in M4 quotation: consider `__file__' is active.
12795 And BTW, when invoking m4, pass the --include in the right order:
12798 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
12801 2001-09-05 Akim Demaille <akim@epita.fr>
12803 * lib/Autom4te/XFile.pm: New lib file.
12804 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
12805 * bin/autoheader.in: Use it.
12807 2001-09-05 Akim Demaille <akim@epita.fr>
12809 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
12812 2001-09-05 Akim Demaille <akim@epita.fr>
12814 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
12815 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
12817 * bin/autoscan.in: Use `getopt' and `find_files' etc.
12818 Add -I, --include support.
12819 * doc/autoconf.texi (autoscan Invocation): Adjust.
12821 2001-09-05 Akim Demaille <akim@epita.fr>
12823 CVS GNU M4 doesn't like `undefine(undefined)'.
12825 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
12826 New, extracted from main.
12827 Use IO::File wherever possible.
12828 (input.m4): Be constant, use -I instead of hard coding $tmp.
12829 Therefore be a quoted heredoc.
12830 Don't invoke `_au_disable', since ac was not loaded, but just
12833 2001-08-31 Akim Demaille <akim@epita.fr>
12837 2001-08-31 Akim Demaille <akim@epita.fr>
12839 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
12841 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
12843 2001-08-31 Akim Demaille <akim@epita.fr>
12845 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
12846 serious problems handling heredocs in heredocs.
12847 Reported by Nicolas Joly.
12849 2001-08-31 Akim Demaille <akim@epita.fr>
12851 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
12852 (Making testsuite Scripts): Update.
12854 2001-08-31 Akim Demaille <akim@epita.fr>
12856 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
12858 2001-08-31 Akim Demaille <akim@epita.fr>
12860 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
12861 (testsuite Scripts): There is no such thing as `atconfig.in'.
12862 And actually one diagram is missing: test suite runtime.
12864 2001-08-31 Akim Demaille <akim@epita.fr>
12866 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
12869 2001-08-31 Akim Demaille <akim@epita.fr>
12871 * bin/autoupdate.in (@include): `installcheck' revealed the path
12872 to m4sugar was lacking!
12874 2001-08-31 Akim Demaille <akim@epita.fr>
12876 * man/Makefile.am (.x.1): We really have to pass
12877 autom4te_perllibdir.
12879 2001-08-31 Akim Demaille <akim@epita.fr>
12881 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
12882 debug scripts, in particular passing explicitly listed tests to
12885 2001-08-31 Akim Demaille <akim@epita.fr>
12887 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
12888 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
12889 Use directly autom4te, not autoconf.
12890 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
12892 2001-08-31 Akim Demaille <akim@epita.fr>
12894 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
12895 * bin/autoheader.in (%symbol): Strip arguments of macros.
12897 2001-08-31 Akim Demaille <akim@epita.fr>
12899 * doc/autoconf.texi: Catch up -I, --include changes.
12901 2001-08-31 Akim Demaille <akim@epita.fr>
12903 * bin/autom4te.in (&parse_args): Die on unknown languages.
12904 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
12906 Promote --include over --macrodir and other obsolete options.
12908 2001-08-31 Akim Demaille <akim@epita.fr>
12910 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
12911 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
12912 * bin/autom4te.in ($autoconf): Pass --force.
12913 `print $out' doesn't print `$_' but `$out'.
12914 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
12915 (autoheader): Pass --force since the test suite goes too fast for
12917 Adjust to the new autoheader messages.
12919 2001-08-31 Akim Demaille <akim@epita.fr>
12921 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
12922 Check the completeness of the #template.
12923 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
12924 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
12927 2001-08-31 Akim Demaille <akim@epita.fr>
12929 * lib/Autom4te/General.pm (&find_file, &update_file): New.
12930 * bin/autoupdate.in, bin/autoheader.in: Adjust.
12931 Drop AC_MACRODIR dead for real.
12932 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
12933 `autoheader: `config.hin' is created'.
12934 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
12936 2001-08-31 Akim Demaille <akim@epita.fr>
12938 * bin/autoheader.in: Rewrite in Perl.
12939 * tests/autoheader: Adjust.
12941 2001-08-31 Akim Demaille <akim@epita.fr>
12943 * bin/autoconf.in (--include, -I): New option.
12944 Map --localdir, --autoconf-dir onto it.
12945 Forward autom4te's options instead of interpreting them.
12946 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
12947 There is no such envvar since the inception of autom4te.cfg.
12948 * bin/autom4te.in (&parse_args): Uniquify `@include'.
12949 * bin/autoupdate.in: Adjust, and perform more control.
12950 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
12951 * tests/autoconf: Dittowise.
12953 2001-08-31 Akim Demaille <akim@epita.fr>
12955 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
12956 * bin/autom4te.in (&find_file): Support `FILE?' standing for
12958 Use -e, not -f, since /dev/null for instance is OK.
12959 (&parse_args): Adjust.
12960 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
12962 2001-08-31 Akim Demaille <akim@epita.fr>
12964 * configure.ac: Also find tested executables in bin.
12965 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
12966 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
12967 installed peer executables, only PATH is allowed to resolve it.
12968 Pass `autoconf_dir' via options, not via invisible envvars.
12969 * lib/Autom4te/General.pm (&find_peer): Remove.
12970 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
12971 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
12972 * man/Makefile.am: Let help2man rely on PATH instead of trying to
12973 find the executables for it.
12974 * tests/Makefile.am: Major cleanup. Too lazy to document...
12975 * tests/atlocal.in: Remove all the obscure envvar manipulations.
12977 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
12978 indeed related to running the test suite, while passing
12979 --autoconf-dir and others is related to running non installed
12980 Autoconf executables. So don't do that, leave it to...
12981 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
12982 * tests/autoscan: New.
12983 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
12984 refer to library files: rely on --language.
12986 2001-08-29 Akim Demaille <akim@epita.fr>
12988 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
12989 s/--set/--language/.
12991 2001-08-29 Akim Demaille <akim@epita.fr>
12993 * doc/autoconf.texi: Strip the @nodes.
12994 Suggested by Paul Eggert.
12995 (Initializing configure): Typo.
12997 2001-08-29 Akim Demaille <akim@epita.fr>
12999 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
13000 Suggested by Paul Eggert.
13002 2001-08-29 Akim Demaille <akim@epita.fr>
13004 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
13005 download in a tmp dir.
13007 2001-08-29 Akim Demaille <akim@epita.fr>
13009 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
13010 case insensitive OSes out there :(
13011 From Tim Van Holder.
13013 2001-08-29 Akim Demaille <akim@epita.fr>
13015 * lib/autom4te.in: New.
13016 * lib/Makefile.am (edit, autom4te.cfg): New.
13017 * bin/autom4te.in (BEGIN): Simplify.
13018 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
13019 (&load_configuration): New. Use it.
13020 (&parse_args): Support --mode, --set, and --melt.
13021 * bin/autoconf.in: Simplify and adjust.
13022 * tests/Makefile.am (AUTOMAKE): Use --set.
13023 * tests/atlocal.in: Adjust.
13024 * BUGS: distcheck and check are weak.
13026 2001-08-29 Akim Demaille <akim@epita.fr>
13028 * lib/autotest/general.m4: Use
13029 foo=`(command) 2>/dev/null`
13031 foo=`command` 2>/dev/null
13032 (at-devnull): Rename as...
13033 (AT-devnull): this.
13034 (--clean): Remove AT-* files too.
13035 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
13036 Reported by Nicolas Joly.
13038 2001-08-28 Akim Demaille <akim@epita.fr>
13040 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
13041 quotes inside single quotes.
13042 Reported by Nicolas Joly.
13044 2001-08-28 Kevin Ryde <user42@zip.com.au>
13046 * doc/autoconf.texi (Function Portability): Mention C right shifts.
13048 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
13050 * lib/autotest/general.m4: Reword some messages.
13051 (AT_INIT): Check for the `times' builtin before using it.
13052 Support test ranges as arguments to the testsuite.
13053 Have -e imply -d as the help text suggested.
13055 2001-08-27 Akim Demaille <akim@epita.fr>
13057 * Makefile.maint: Formatting changes.
13058 (do-po-update, po-update, cvs-update, update): New targets.
13061 2001-08-27 Akim Demaille <akim@epita.fr>
13063 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
13064 <at_cmd_line>: New.
13065 Pass it to debug-*.sh scripts.
13066 <AUTOTEST_PATH>: May contain absolute dir names.
13068 2001-08-27 Akim Demaille <akim@epita.fr>
13070 * lib/autotest/general.m4 (AT_INIT): Log the command line.
13071 Support `VAR=VAL' as arguments.
13072 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
13073 may be set via the command line.
13075 2001-08-27 Akim Demaille <akim@epita.fr>
13077 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
13078 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
13079 first the build dirs, then the src dirs.
13080 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
13082 2001-08-27 Akim Demaille <akim@epita.fr>
13084 * lib/autotest/general.m4 (AT_INIT): Output the definition of
13085 at_data_files earlier.
13086 (--clean, -c): New option.
13087 * tests/Makefile.am: Use this option.
13089 2001-08-27 Akim Demaille <akim@epita.fr>
13091 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
13092 `ac_top_builddir' to mimic Automake's vocabulary, which much more
13095 * doc/autoconf.texi (Configuration Actions): Document the vars
13096 available in commands.
13097 Emphasize the risks of collisions in init-cmds.
13099 2001-08-27 Akim Demaille <akim@epita.fr>
13101 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
13102 (Initializing configure): this new node.
13104 2001-08-27 Akim Demaille <akim@epita.fr>
13106 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
13108 2001-08-27 Akim Demaille <akim@epita.fr>
13110 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
13111 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
13113 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
13115 2001-08-27 Akim Demaille <akim@epita.fr>
13117 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
13119 * lib/autoconf/autoheader.m4: this new file.
13120 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
13121 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
13123 * lib/autoconf/autoupdate.m4: this new file.
13125 2001-08-27 Akim Demaille <akim@epita.fr>
13127 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
13128 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
13129 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
13131 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
13132 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
13134 2001-08-27 Akim Demaille <akim@epita.fr>
13136 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
13137 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
13138 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
13139 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
13140 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
13141 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
13142 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
13143 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
13144 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
13145 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
13146 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
13147 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
13148 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
13149 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
13150 (_AC_OUTPUT_SUBDIRS): Move to...
13151 * lib/autoconf/status.m4: this new file.
13152 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
13153 * tests/Makefile.am, tests/suite.at: Adjust.
13155 2001-08-27 Akim Demaille <akim@epita.fr>
13159 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
13160 (AMTAR): Help automake define it.
13161 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
13162 needed, 1.5 can have a macro and a target with the same name.
13163 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
13164 * m4/strip.m4: New.
13165 * m4/init.m4, m4/sanity.m4: Update.
13166 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
13167 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
13168 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
13169 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
13171 2001-08-27 Akim Demaille <akim@epita.fr>
13173 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
13175 * lib/autoconf/version.in: Remove.
13176 * lib/m4sugar/version.in: New.
13177 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
13179 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
13180 the name of the directory they're in, instead of the filename,
13181 since version.m4 is now in m4sugar, but m4_acversion must not be
13182 classified as an Autoconf macro.
13183 ($input_m4): Don't qualify the path to m4sugar.
13184 Rather, pass autoconf_dir to m4.
13185 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
13186 * tests/suite.at: Require 2.52c.
13188 2001-08-27 Akim Demaille <akim@epita.fr>
13190 testsuite.log should include config.log.
13192 * lib/autotest/autotest.m4: New.
13193 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
13194 * tests/suite.at : Adjust.
13195 (AT_INIT): Log config.log.
13196 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
13197 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
13198 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
13199 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
13200 of config.log on traps.
13201 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
13202 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
13203 for config.status'.
13204 Open the log as soon as possible.
13205 Use the same log introduction as configure's.
13207 2001-08-22 Paul Eggert <eggert@twinsun.com>
13209 * doc/autoconf.texi (Indices): New node.
13210 Move indices out of the top level menu and into this submenu.
13212 2001-08-22 Akim Demaille <akim@epita.fr>
13214 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
13216 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
13218 2001-08-22 Akim Demaille <akim@epita.fr>
13220 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
13221 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
13222 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
13223 * lib/autoconf/programs.m4: here.
13224 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
13225 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
13226 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
13227 * lib/autoconf/programs.m4: here.
13228 (_AC_DECL_YYTEXT): Rename as...
13229 (_AC_PROG_LEX_YYTEXT_DECL): this.
13230 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
13231 * tests/Makefile.am, tests/suite.am: Adjust.
13233 2001-08-22 Akim Demaille <akim@epita.fr>
13235 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
13237 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
13239 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
13240 * lib/autoconf/functions.m4: here.
13241 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
13242 (AH_CHECK_LIB): Move to...
13243 * lib/autoconf/libs: this new file.
13244 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
13245 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
13246 * lib/autoconf/libs.m4: here.
13247 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
13249 2001-08-22 Akim Demaille <akim@epita.fr>
13251 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
13252 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
13253 (AC_SITE_LOAD): Better logging of config.site.
13255 2001-08-20 Akim Demaille <akim@epita.fr>
13257 * configure.ac (AT_CONFIG): Fix the path.
13258 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
13261 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
13263 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
13264 program with AC_LANG_PROGRAM before feeding it to
13265 AC_COMPILE_IFELSE. Cleanup grep usage.
13267 2001-08-20 Akim Demaille <akim@epita.fr>
13269 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
13270 * NEWS, README, README-alpha, TODO, tests/README: This package is
13271 `Autoconf', not `autoconf' (the executable).
13273 2001-08-20 Akim Demaille <akim@epita.fr>
13275 Info readers seem to need `Index' in the index node title :(
13277 * doc/autoconf.texi: Reverse the 2001-08-15 change which
13278 simplified index node names.
13280 2001-08-20 Akim Demaille <akim@epita.fr>
13282 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
13283 arguments are not literals.
13284 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
13285 Specify the output variables, and macros defined.
13287 2001-08-20 Akim Demaille <akim@epita.fr>
13289 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
13290 (Examining Syntax) <AC_TRY_COMPILE>
13291 (Examining Libraries) <AC_TRY_LINK>
13292 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
13294 Reported by Werner Lemberg.
13296 2001-08-20 Akim Demaille <akim@epita.fr>
13298 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
13299 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
13300 Load atlocal late enough to dump it in the log.
13301 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
13303 2001-08-20 Akim Demaille <akim@epita.fr>
13305 * tests/torture.at (Configuring subdirectories): New test.
13306 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
13308 * m4/atconfig.m4: Be sure the let $[0] be expandable.
13309 (top_srcdir): Fix its computation.
13311 2001-08-20 Akim Demaille <akim@epita.fr>
13313 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
13314 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
13316 Create `atconfig' automagically.
13317 Configure atlocal.in if present.
13318 * tests/atconfig.in: Remove.
13319 * tests/atlocal.in: New.
13320 * tests/Makefile.am: Adjust.
13322 2001-08-20 Akim Demaille <akim@epita.fr>
13324 Huh!?!?! There are still some user EOF tags used, which prevents
13325 their use in AC_CONFIG_COMMANDS for instance...
13327 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
13328 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
13329 `_CSEOF', or `_ATEOF', as appropriate.
13330 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
13331 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
13333 2001-08-20 Akim Demaille <akim@epita.fr>
13335 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
13336 * tests/semantics.at, tests/tools.at, tests/torture.at:
13337 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
13339 2001-08-20 Akim Demaille <akim@epita.fr>
13341 Autotest invokes M4sh's initialization.
13343 * lib/autotest/general.m4: Adjust the diversion names.
13344 (AT_INIT): Run AS_INIT.
13345 Use the BINSH diversion to invoke /bin/sh.
13346 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
13347 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
13349 2001-08-20 Akim Demaille <akim@epita.fr>
13351 Let M4sh have its own diversions.
13353 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
13354 (_m4_divert(NOTICE)): Rename as...
13355 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
13356 (_m4_divert(HEADER-COMMENT)): these.
13357 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
13358 (_m4_divert(NOTICE)): New, for Libtool.
13359 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
13360 long ago with `_m4_divert(GROW)'.
13361 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
13363 2001-08-20 Akim Demaille <akim@epita.fr>
13365 * tests/base.at, tests/compile.at, tests/foreign.at,
13366 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
13367 * tests/semantics.at, tests/suite.at, tests/tools.at,
13368 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
13370 2001-08-20 Akim Demaille <akim@epita.fr>
13372 * bin/autom4te.in (handle_output): Handle @__@.
13374 2001-08-20 Akim Demaille <akim@epita.fr>
13376 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
13377 * lib/autotest/general.m4: Adjust the license.
13379 2001-08-17 Paul Eggert <eggert@twinsun.com>
13381 * doc/autoconf.texi (Function Portability): Mention snprintf,
13382 following up on a suggestion by Kevin Ryde.
13384 2001-08-17 Akim Demaille <akim@epita.fr>
13386 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
13387 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
13389 2001-08-17 Akim Demaille <akim@epita.fr>
13391 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
13392 `$0.log' as for projects where testsuite is in src, we'd have
13393 testsuite.log created in src.
13395 2001-08-17 Akim Demaille <akim@epita.fr>
13397 * bin/autom4te.in (&parse_args): Recognize --normalize.
13399 2001-08-17 Akim Demaille <akim@epita.fr>
13401 Start implementing the AC_CHECK_HEADER transition scheme.
13403 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
13404 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
13405 (AC_CHECK_HEADER): Use them.
13407 2001-08-17 Akim Demaille <akim@epita.fr>
13409 * doc/autoconf.texi: Work around Texinfo buglets.
13410 (Transformation Rules): One example is enough, users are expected
13411 to have their brains on. And BTW, use DESTDIR.
13412 (dvar): New macro. Use it.
13414 2001-08-17 Akim Demaille <akim@epita.fr>
13416 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
13417 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
13418 looking for ChangeLogs.
13420 2001-08-17 Akim Demaille <akim@epita.fr>
13422 * bin/autom4te.in: --normalize is a new option.
13423 * bin/autoconf.in: Use it.
13425 2001-08-17 Akim Demaille <akim@epita.fr>
13427 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
13428 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
13430 2001-08-16 Paul Eggert <eggert@twinsun.com>
13432 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
13435 2001-08-15 Akim Demaille <akim@epita.fr>
13437 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
13440 2001-08-15 Akim Demaille <akim@epita.fr>
13442 * doc/autoconf.texi (pr): New index.
13443 (prindex, findex): Use, merge, and output them.
13444 (Environment Variable Index, Output Variable Index)
13445 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
13446 (Autotest Macro Index): Rename as...
13447 (Environment Variables, Output Variables,Preprocessor Symbols)
13448 (Autoconf Macros, M4 Macros, Autotest Macros): these.
13449 * doc/install.texi: Use @command.
13450 (Environment Variables): Rename as...
13451 (Defining Variables): this.
13453 2001-08-15 Akim Demaille <akim@epita.fr>
13455 * doc/autoconf.texi (Function Portability): sprintf's return
13459 2001-08-15 Akim Demaille <akim@epita.fr>
13461 * Makefile.maint (CVS): New.
13462 (local-check): Run changelog-check. last.
13463 (alpha): Don't depend upon local-check, since...
13464 (cvs-dist): depends upon it.
13466 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
13468 * tests/Makefile.am: Use a clean-local rule to remove
13469 autom4te.cache (it's a directory, not a file.
13470 * Makefile.am: Ditto (but maintainer-clean-local).
13472 2001-08-15 Akim Demaille <akim@epita.fr>
13474 * bin/autom4te.in (@m4_warning): New.
13475 (&handle_m4): Use it.
13476 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
13477 warnings are issued at each run.
13478 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
13479 is in the src tree.
13481 2001-08-15 Akim Demaille <akim@epita.fr>
13483 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
13484 don't waste time running `autoupdate --version' works.
13485 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
13487 2001-08-13 Akim Demaille <akim@epita.fr>
13489 * doc/autoconf.texi (ma): Rename this index as...
13492 2001-08-13 Akim Demaille <akim@epita.fr>
13494 * Makefile.am: Remove dead code and dead comments.
13495 (pdf, html): New targets.
13496 * doc/autoconf.texi (Using Autotest): New chapter.
13497 * doc/Makefile.am (pdf): New targets.
13498 (CLEANFILES): Adjust.
13500 2001-08-13 Akim Demaille <akim@epita.fr>
13502 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
13503 duration of the test suite.
13505 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
13507 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
13508 endianness for comparison instead of relying on AT_CHECK_ENV.
13510 2001-08-11 Paul Eggert <eggert@twinsun.com>
13512 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
13513 to the INSTALL file.
13515 2001-08-11 Paul Eggert <eggert@twinsun.com>
13517 * NEWS: The autoconf manual now is distributed under the terms
13518 of the GNU Free Documentation License.
13520 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
13521 Add an appendix "Copying This Manual" for the FDL.
13523 * doc/fdl.texi: New file, from
13524 <http://www.gnu.org/licenses/fdl.texi>.
13526 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
13528 2001-08-10 Paul Eggert <eggert@twinsun.com>
13530 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
13531 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
13532 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
13533 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
13534 m4/sanity.m4, tests/README, tests/aclocal.m4,
13535 tests/atspecific.m4, tests/base.at, tests/compile.at,
13536 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
13537 tests/semantics.at, tests/suite.at, tests/tools.at,
13538 tests/torture.at: Add copyright notice.
13540 * tests/mktests.sh: Update year in copyright notice.
13542 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
13544 * tests/semantics.at (AC_C_BIGENDIAN): New test.
13546 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
13548 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
13549 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
13550 * doc/autoconf.texi (C Compiler Characteristics): Update
13551 documentation for AC_C_BIGENDIAN.
13553 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
13555 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
13556 magic values from an object file when cross-compiling.
13557 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
13559 2001-08-10 Akim Demaille <akim@epita.fr>
13561 * bin/autom4te.in (&handle_output): Don't use `grep' with side
13563 Suggested by Russ Allbery.
13565 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
13567 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
13568 current $prefix to the sub-configures.
13570 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
13572 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
13573 extension (needed on BeOS). Reported by Guido van Rossum.
13575 2001-08-09 Akim Demaille <akim@epita.fr>
13577 * bin/autom4te.in ($icache): Load it only if older than autom4te.
13579 2001-08-07 Akim Demaille <akim@epita.fr>
13581 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
13583 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
13584 No need to remove the files before and after the each test, before
13585 each test and at the end of the suite is enough.
13586 Display only the children `times', not the shell's.
13587 If the test failed or was skipped, at-times is not available.
13589 2001-08-07 Akim Demaille <akim@epita.fr>
13591 Always produce testsuite.log, including when there are no
13592 failures. This helps getting information on skipped tests, and
13593 duration of the tests. Err, implement the latter btw.
13595 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
13596 Dump information on the first run of each test.
13597 (AT_CLEANUP): Create `at-times' containing the duration of the
13600 2001-08-07 Akim Demaille <akim@epita.fr>
13602 The use of `dumpstat' revealed that `len' was used although it
13603 should not. m4_text_wrap was using it, but in the Autoconf world
13604 where it is legal. Hence (i) test M4sh in its own world, not
13605 Autoconf's, and (ii), ahem, fix the bug :)
13607 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
13608 does not like `' instead of [].
13609 (AT_INIT): Forbid `^_?AT_'.
13610 And don't output such tokens.
13611 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
13612 `script.as', and `autom4te.cache'.
13613 Remove `empty' and `macro' which are no longer used.
13614 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
13615 * tests/m4sugar.at: Use it.
13616 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
13618 2001-08-07 Akim Demaille <akim@epita.fr>
13620 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
13622 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
13624 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
13626 2001-08-04 Akim Demaille <akim@epita.fr>
13628 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
13629 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
13631 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
13632 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
13633 (AC_F77_MAIN): Likewise.
13635 2001-08-04 Akim Demaille <akim@epita.fr>
13637 Don't rely on M4sugar outputting the patterns in files, since we
13638 might process the output _without_ running m4, hence without these
13641 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
13642 * bin/autom4te.in (@Request::includes): Remove, unused.
13643 (@Request::source): Rename as...
13644 (@Request::input): this.
13645 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
13646 (&handle_output): Fetch the patterns from the traces.
13647 `$forbidden' and `$allowed' are constant: use m//o.
13648 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
13649 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
13651 2001-08-04 Akim Demaille <akim@epita.fr>
13653 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
13654 autoconf', i.e., in addition to caching traces, cache the output.
13656 * bin/autom4te.in (Request::cache): Rename as...
13657 (Request::id): this.
13658 ($cache, $icache, $tcache, $ocache): New.
13659 (&handle_m4): Save M4 output in the cache instead of $tmp.
13660 (&handle_output): Adjust.
13661 (&up_to_date_p): Check that the output cache is up to date too.
13662 (top level): Run `&handle_m4' iff force or the cache is invalid.
13663 Run `&handle_output' if the output cache is more recent.
13665 2001-08-04 Akim Demaille <akim@epita.fr>
13667 * bin/autom4te.in ($force): New.
13668 (&parse_args, &print_usage): -f, --force is a new option.
13669 (&handle_output): CPP directives might have spaces after `#'.
13670 (&parse_args): The first file only can be frozen.
13672 2001-08-04 Akim Demaille <akim@epita.fr>
13674 Don't let autom4te compute the `include' traces several times:
13675 first check that the trace cache file is up to date, and then
13676 compare its timestamp with that of the output.
13678 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
13679 the preamble. Don't require 5.005 as Autom4te::General does it,
13680 and better yet (use `use', not `require'!).
13681 * lib/Autom4te/Struct.pm: Rename the last occurrences of
13682 Class::Struct as Autom4te::Struct.
13683 * lib/Autom4te/General.pm (File::stat): Use it.
13684 (&mtime): New, export it.
13685 * bin/autom4te.in: Use it.
13686 Declare `$req' is invalid if it is outdated.
13687 Don't declare it valid before saving it if something went wrong.
13689 2001-08-04 Akim Demaille <akim@epita.fr>
13691 Autom4te shall not encode Autoconf data, and preselecting traces
13692 must be proposed to the users.
13694 * bin/autom4te.in (@required_trace): Remove.
13696 (&parse_args, &print_usage): -p, --preselect is a new option.
13697 (&up_to_date_p): Adjust.
13698 * bin/autoconf.in: Preselect some Autoconf macros.
13700 2001-08-04 Akim Demaille <akim@epita.fr>
13702 * tests/tools.at (autoconf --trace: user macros): Check traces on
13703 macros invoked without arguments, and macros invoked with multiple
13706 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
13708 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
13711 2001-08-03 Akim Demaille <akim@epita.fr>
13713 * bin/autoconf.in ($@): Work around the usual sh bug.
13716 2001-08-03 Akim Demaille <akim@epita.fr>
13718 Clean up the handling of the M4 builtins tracing exception.
13720 * bin/autom4te.in (Request::request): Don't complete M4 builtins
13722 (@m4_builtins): Rename as...
13723 (@m4_builtin): this.
13724 (%m4_builtin_alternate_name): New.
13725 (&parse_args): Complete the trace requests with alternate names.
13726 (&handle_traces): Hence no longer do it here.
13727 (&trace_requests): Remove, unused.
13729 2001-08-03 Akim Demaille <akim@epita.fr>
13731 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
13732 m4_if, and m4_wrap.
13734 2001-08-03 Akim Demaille <akim@epita.fr>
13736 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
13737 (m4_divert_pop): Dump the whole diversion stack when a diversion
13739 * bin/autom4te.in (&handle_output): Remember of the first
13740 occurrence of a possibly undefined macro, not the last.
13741 Complain about the possibly undefined macros in the same order as
13742 the appear in the output.
13743 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
13744 * tests/tools.at (autoconf: forbidden tokens, basic)
13745 (autoconf: forbidden tokens, exceptions): No longer sort
13746 autoconf's stderr, as it is now deterministic.
13747 Check that `dnl' is caught.
13749 2001-08-01 Akim Demaille <akim@epita.fr>
13751 * configure.ac: Bump to 2.52c.
13753 2001-08-01 Akim Demaille <akim@epita.fr>
13757 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
13759 2001-08-01 Akim Demaille <akim@epita.fr>
13763 2001-08-01 Akim Demaille <akim@epita.fr>
13765 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
13768 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
13769 `END', as `Autom4te::General::END' will be triggered.
13770 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
13771 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
13772 system to run `mv', `rm', and `cmp'.
13774 2001-08-01 Akim Demaille <akim@epita.fr>
13776 * lib/Autom4te/General.pm (&unique): New.
13777 * bin/autoscan.in (&output): Use it to issue trace requests once.
13779 2001-08-01 Akim Demaille <akim@epita.fr>
13781 * lib/Autom4te/General.pm: New.
13782 * bin/autom4te.in (Autom4te::General): Use it.
13783 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
13784 (&find_configure_ac, &find_slave): Remove.
13785 * bin/autoscan.in: Likewise.
13786 * bin/autoupdate.in: Likewise.
13788 2001-08-01 Akim Demaille <akim@epita.fr>
13790 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
13791 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
13792 * bin: here, new directory.
13793 * lib/Autoconf: Rename as...
13794 * lib/Autom4te: this, to please case insensitive junkie OSes.
13796 2001-08-01 Akim Demaille <akim@epita.fr>
13798 * autom4te.in ($m4): Handle the --nesting-limit.
13799 * autoconf.in (M4): Remove.
13801 2001-08-01 Akim Demaille <akim@epita.fr>
13803 * autoconf.in ($AWK): Remove, no longer used.
13804 * test/tools.at: Use AT_CHECK_AUTOCONF.
13805 (AWK portability): Remove, for autoconf no longer uses AWK.
13806 (Syntax of the Perl scripts): New.
13807 * configure.ac: autoconf no longer needs an AWK with a good
13809 Use a static test on AC_PACKAGE_VERSION.
13810 * autom4te.in (&up_to_date_p): Output depends on the arguments.
13811 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
13812 * tests/atconfig.in (PERL): New.
13814 2001-08-01 Akim Demaille <akim@epita.fr>
13816 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
13817 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
13818 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
13819 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
13820 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
13821 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
13822 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
13823 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
13824 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
13825 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
13826 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
13827 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
13828 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
13829 * lib/autoconf/c.m4: here, new file.
13831 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
13832 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
13833 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
13834 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
13835 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
13836 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
13837 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
13838 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
13839 (AC_F77_FUNC): Move to...
13840 * lib/autoconf/fortran.m4: here, new file.
13842 2001-08-01 Akim Demaille <akim@epita.fr>
13844 * acfunctions.m4: Rename as...
13845 * lib/autoconf/functions.m4: this.
13846 * acgeneral.m4: Rename as...
13847 * lib/autoconf/general.m4: this.
13848 * acheaders.m4: Rename as...
13849 * lib/autoconf/headers.m4: this.
13850 * aclang.m4: Rename as...
13851 * lib/autoconf/lang.m4: this.
13852 * acoldnames.m4: Rename as...
13853 * lib/autoconf/oldnames.m4: this.
13854 * acspecific.m4: Rename as...
13855 * lib/autoconf/specific.m4: this.
13856 * actypes.m4: Rename as...
13857 * lib/autoconf/types.m4: this.
13858 * autoconf.m4: Rename as...
13859 * lib/autoconf/autoconf.m4: this.
13861 * m4sugar.m4: Rename as...
13862 * lib/m4sugar/m4sugar.m4: this.
13863 * m4sh.m4: Rename as...
13864 * lib/m4sugar/m4sh.m4: this.
13866 * tests/atgeneral.m4: Rename as...
13867 * lib/autotest/general.m4: this.
13869 * acfunctions: Rename as...
13870 * lib/autoscan/functions: this.
13871 * acheaders: Rename as...
13872 * lib/autoscan/headers: this.
13873 * acidentifiers: Rename as...
13874 * lib/autoscan/identifiers: this.
13875 * aclibraries: Rename as...
13876 * lib/autoscan/libraries: this.
13877 * acmakevars: Rename as...
13878 * lib/autoscan/makevars: this.
13879 * acprograms: Rename as...
13880 * lib/autoscan/programs: this.
13882 2001-08-01 Akim Demaille <akim@epita.fr>
13884 * doc/autoconf.texi: Moving/deleting open files is not portable.
13885 Portability issues for `.' (source), and more information about sed.
13887 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
13889 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
13890 which has a special meaning and is not a reference to libibmil.a.
13891 Reported by Matteo Frigo.
13893 2001-07-25 Pavel Roskin <proski@gnu.org>
13895 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
13898 2001-07-25 Akim Demaille <akim@epita.fr>
13900 * autoconf.in: Try to define the variables before using them.
13901 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
13902 instead of `$perllibdir'.
13903 * tests/atconfig.in ($autom4te_perllibdir): Export it.
13905 2001-07-25 Akim Demaille <akim@epita.fr>
13907 * autoconf.in (ac_LF_and_DOT): Remove, unused.
13909 2001-07-24 Akim Demaille <akim@epita.fr>
13911 Let autoconf use autom4te for traces.
13913 * autoconf.in ($task, task trace): Remove, merely pass --trace to
13915 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
13916 (Because I found no way for autom4te to accept `-').
13917 * autom4te.in (&Request::request): Beware of M4 builtins.
13918 (END): Don't try to remove the content of an empty dir.
13919 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
13920 (&handle_output): Set a default value to `$forbidden'.
13921 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
13922 ($autoconf): Pass --debug and --verbose.
13923 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
13926 2001-07-24 Akim Demaille <akim@epita.fr>
13928 Let autoconf use autom4te to create configure.
13930 * autoconf.in ($automate): New var.
13931 (task script): Use autom4te.
13932 * autom4te.in (File::Spec): Use it.
13934 (&parse_args): --warning is -W, not -w.
13935 Find the top level files.
13936 (&handle_m4): Pass the warnings flags.
13937 Don't report verbosely m4's failures, unless requested.
13938 (&handle_output): Don't complain for forbidden tokens in comments.
13939 Be sure to report all the forbidden tokens within a single line.
13940 (&trace_format_to_m4): Preserve `$_'.
13941 (&handle_traces): Sort the output macros.
13942 (&up_to_date_p): Find the files before trying to get its time stamp.
13944 2001-07-24 Akim Demaille <akim@epita.fr>
13946 * Makefile.am: Ship, build and install Autom4te.
13947 (SUBDIRS): Add lib.
13948 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
13949 * configure.in: Require Perl.
13950 * man/autom4te.in: New.
13952 2001-07-19 Paul Eggert <eggert@twinsun.com>
13954 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
13955 example, rather than (exit 1); exit (which isn't portable).
13957 2001-07-18 Akim Demaille <akim@epita.fr>
13961 2001-07-18 Akim Demaille <akim@epita.fr>
13963 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
13964 was run, while they are needed also when it is expanded.
13965 Reported by Nicolas Joly.
13967 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
13968 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
13969 AC_F77_DUMMY_MAIN being expanded.
13971 2001-07-18 Akim Demaille <akim@epita.fr>
13973 * configure.in: Bump to 2.51a.
13975 2001-07-17 Akim Demaille <akim@epita.fr>
13979 2001-07-17 Akim Demaille <akim@epita.fr>
13981 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
13982 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
13984 2001-07-17 Akim Demaille <akim@epita.fr>
13986 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
13987 used. Well, then use the prototypes when you can, and runtime as
13989 Reported by Artur Frysiak
13991 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
13992 (AC_FUNC_GETPGRP): Use it.
13993 First try to compile with 0-ary or 1-ary calls.
13995 2001-07-17 Akim Demaille <akim@epita.fr>
13997 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
14001 2001-07-17 Akim Demaille <akim@epita.fr>
14003 * Makefile.maint: Sync. with cppi 1.10.
14005 2001-07-17 Akim Demaille <akim@epita.fr>
14007 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
14008 AC_F77_DUMMY_MAIN has been run.
14009 From Pavel Roskin and Steven G. Johnson.
14011 2001-07-17 Akim Demaille <akim@epita.fr>
14013 * configure.in: Rename as...
14014 * configure.ac: this.
14016 2001-07-17 Akim Demaille <akim@epita.fr>
14018 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
14021 * Makefile.maint (release-archive-dir): Rename as...
14022 (release_archive_dir): this, so that it can be specialized in
14025 2001-07-14 Akim Demaille <akim@epita.fr>
14027 * configure.in: Bump to 2.50d.
14029 2001-07-14 Akim Demaille <akim@epita.fr>
14032 * Makefile.maint (alpha): Typo.
14034 2001-07-14 Akim Demaille <akim@epita.fr>
14036 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
14038 2001-07-14 Akim Demaille <akim@epita.fr>
14040 * config/config.guess, config/config.sub, config/texinfo.tex
14041 * doc/standards.texi, doc/make-stds.texi: Update.
14043 2001-07-14 Akim Demaille <akim@epita.fr>
14045 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
14047 2001-07-14 Akim Demaille <akim@epita.fr>
14049 * Makefile.maint (maintainer-check): Rename as...
14050 (maintainer-distcheck): this.
14051 (changelog-check, static-check): New.
14054 2001-07-14 Kevin Ryde <user42@zip.com.au>
14056 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
14057 for CXX is g++, not gcc.
14059 2001-07-14 Akim Demaille <akim@epita.fr>
14061 * doc/autoconf.texi (Files): New subsection.
14063 2001-07-14 Akim Demaille <akim@epita.fr>
14065 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
14067 (Generic Compiler Characteristics): this.
14068 (C++ Compiler): New subsection.
14070 2001-07-14 Akim Demaille <akim@epita.fr>
14072 * autoscan.in: Use IO::File.
14073 Adjust all the routines to use it.
14074 ($log): New file (autoscan.log).
14075 (output): Dump detailed logs into $log, and a shortened version to
14077 (&scan_makefile): Refine the regexp catching tokens in the code.
14078 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
14079 and the `configure.ac' checking feature.
14081 2001-07-12 Akim Demaille <akim@epita.fr>
14083 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
14084 Reported by Michael Elizabeth Chastain.
14086 * autoconf.in: Refuse such AWK.
14087 * configure.in: Likewise.
14088 * Makefile.am (acversion.m4): Do not use move-if-change this file
14090 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
14092 2001-07-10 Jens Petersen <petersen@redhat.com>
14094 * autoscan.in (&scan_makefile): Improve programs regexp to parse
14095 things like "g++", "file.c" and "some-conf" as tokens.
14096 (&scan_file): Match C++ files extensions.
14097 If the filename extension is C++ then ask for c++.
14099 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
14101 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
14102 AC_TRY_LINK_FUNC, to check whether defining a dummy
14103 main-like routine is needed for linking with F77 libs.
14105 2001-07-05 Pavel Roskin <proski@gnu.org>
14107 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
14109 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
14112 2001-07-05 Akim Demaille <akim@epita.fr>
14114 * Makefile.am (move_if_change): New. Use it instead of `mv'.
14115 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
14117 Reported by Nicolas Joly.
14119 2001-07-04 Akim Demaille <akim@epita.fr>
14121 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
14123 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
14124 warnings from compilers.
14125 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
14126 for all the compilers, not only GNU. Hence move from here...
14127 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
14129 2001-07-04 Akim Demaille <akim@epita.fr>
14131 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
14132 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
14135 2001-07-04 Akim Demaille <akim@epita.fr>
14137 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
14138 the ``strings.h'' change claimed below.
14140 2001-07-04 Akim Demaille <akim@epita.fr>
14142 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
14144 2001-07-04 Akim Demaille <akim@epita.fr>
14146 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14147 strings.h if usable with string.h.
14148 Suggested by Paul Eggert.
14150 2001-07-04 Akim Demaille <akim@epita.fr>
14152 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
14153 From Jens Petersen.
14155 2001-07-03 Akim Demaille <akim@epita.fr>
14157 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
14160 2001-07-03 Akim Demaille <akim@epita.fr>
14162 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
14163 compiler, not the preprocessor.
14164 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
14165 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
14167 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
14168 earlier if there are.
14170 2001-07-03 Akim Demaille <akim@epita.fr>
14172 * autoscan.in ($initfile): Remove.
14173 (&find_file): Rename as...
14174 (&scan_file): this.
14175 Immediately scan the current file, instead of gathering them, and
14176 later having them handled by &scan_files.
14177 (&scan_files): Merely invoke Find::File.
14180 2001-07-02 Akim Demaille <akim@epita.fr>
14182 * autoscan.in: Formatting changes, matching the invocation order.
14183 (File::Find): Use it instead of Perl 4's `find.pl'.
14184 (&wanted): Rename as...
14185 (&find_file): this.
14187 2001-07-01 Pavel Roskin <proski@gnu.org>
14189 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
14190 break in the argument to AC_TRY_LINK_FUNC.
14191 (AC_F77_MAIN): Remove conftest* after using break in the
14192 argument to AC_TRY_LINK.
14194 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
14196 Add alternate 'main' routine detection for linking C/C++ with Fortran,
14197 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
14199 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
14200 dummy alternate main is required even if the user provides her own
14202 (AC_F77_MAIN): New macro to detect whether it is possible to
14203 provide an alternate 'main' function name, using the 'main' from
14204 the Fortran libraries.
14205 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
14206 cross-language link tests can be performed successfully.
14207 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
14208 after $LIBS, for consistency; this should be the general rule since
14209 the user may want to link to Fortran libraries that require $FLIBS.
14210 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
14212 2001-06-29 Pavel Roskin <proski@gnu.org>
14214 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
14215 at-stdout and at-stderr instead of removing the newline
14216 from the echo output, which is not guaranteed to work.
14218 2001-06-28 Jens Petersen <petersen@redhat.com>
14220 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
14221 confdefs.h when non-zero.
14223 2001-06-28 Akim Demaille <akim@epita.fr>
14225 * configure.in: Bump to 2.50c.
14227 2001-06-26 Akim Demaille <akim@epita.fr>
14231 2001-06-26 Akim Demaille <akim@epita.fr>
14235 2001-06-25 Pavel Roskin <proski@gnu.org>
14237 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
14238 argument, AUTOCONF-FLAGS.
14239 * tests/mktests.sh (update_exclude_list): Add
14240 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
14241 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
14242 AC_FUNC_WAIT3 with "-W no-obsolete".
14244 2001-06-25 Akim Demaille <akim@epita.fr>
14246 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
14248 2001-06-25 Akim Demaille <akim@epita.fr>
14250 * autoscan.in (%macro): Now maps from word to list of macros.
14251 (&init_tables): Die when a word which is already handled by
14252 explicit macros is mapped to the default macro.
14253 (&print_unique): Remove, inlined in...
14254 (&output_kind): here.
14255 (File::Basename): Use it.
14256 (&output): Sort the CONFIG_FILES.
14257 * acheaders: Normalize.
14258 * acfunctions: Likewise.
14260 2001-06-25 Akim Demaille <akim@epita.fr>
14262 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
14263 characteristics in the logs.
14264 Suggested by Mo DeJong.
14266 2001-06-24 Akim Demaille <akim@epita.fr>
14268 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
14269 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
14270 * doc/autoconf.texi (Autoconf 2.13): New section.
14272 2001-06-24 Akim Demaille <akim@epita.fr>
14274 * autoconf.in (Task traces): Separate the error messages from the
14275 traces to improve robustness.
14277 2001-06-23 Akim Demaille <akim@epita.fr>
14279 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
14280 three as failures are unlikely, and speed matters.
14282 2001-06-23 Akim Demaille <akim@epita.fr>
14284 * doc/autoconf.texi (Redefined M4 Macros): New.
14286 2001-06-23 Akim Demaille <akim@epita.fr>
14288 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
14289 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
14292 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
14294 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
14295 config.status targets to after the evaluation of the INIT-CMDS.
14296 Double quote config.status targets (used to be single quoted).
14298 2001-06-23 Akim Demaille <akim@epita.fr>
14300 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
14301 Check the content of the created file.
14302 Check the ./config.status command line invocation.
14304 2001-06-23 Akim Demaille <akim@epita.fr>
14306 * tests/foreign.at (Libtool): Reject prehistoric versions.
14308 2001-06-23 Akim Demaille <akim@epita.fr>
14310 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
14311 preexisting files matching a.*.
14313 2001-06-23 Akim Demaille <akim@epita.fr>
14315 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
14317 * doc/autoconf.texi (AC_ARG_VAR): Update.
14319 2001-06-21 Akim Demaille <akim@epita.fr>
14321 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
14322 precious variables have changed.
14323 * tests/torture.at (AC_ARG_VAR): Adjust.
14325 2001-06-21 Akim Demaille <akim@epita.fr>
14327 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
14328 but some sed choke on multiple `;', and other tools (e.g.,
14329 Automake), include the separator themselves.
14331 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
14333 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
14335 * doc/autoconf.texi (Functions Portability): Rename as...
14336 (Function Portability): this.
14337 (Function Portability): Document potential problems with unlink().
14339 2001-06-19 Paul Eggert <eggert@twinsun.com>
14341 * NEWS, doc/autoconf.texi: Document quadrigraphs.
14343 2001-06-18 Akim Demaille <akim@epita.fr>
14345 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
14347 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
14349 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
14350 (_AC_FUNC_VFORK): this.
14351 Remove AC_DEFINEs and don't guess cross-compilation values.
14352 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
14353 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
14354 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
14355 vfork doesn't work.
14356 Guess values if cross-compiling, but warn.
14357 * acfunctions: Add AC_FUNC_FORK.
14358 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
14359 and vfork appropriately.
14361 2001-06-18 Akim Demaille <akim@epita.fr>
14363 * doc/autoconf.texi (Functions Portability): New section.
14365 2001-06-18 Akim Demaille <akim@epita.fr>
14367 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
14369 Suggested by Andreas Schwab.
14371 2001-06-18 Akim Demaille <akim@epita.fr>
14373 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
14374 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
14375 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
14376 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
14377 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
14378 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
14379 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
14382 2001-06-18 Akim Demaille <akim@epita.fr>
14384 * doc/autoconf.texi (ms): New index.
14385 (Macro Index): Rename as...
14386 (Autoconf Macro Index): this.
14387 (M4 Macro Index): New appendix.
14388 (Programming in M4): New chapter.
14389 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
14390 (Quoting): Rename as...
14391 (M$ Quotation): this.
14392 Be part of `Programming in M4).
14394 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
14396 * tests/torture.at (AC_ARG_VAR): Set variables and export them
14397 in separate statements for compatibility with Tru64 v5.1.
14399 2001-06-17 Akim Demaille <akim@epita.fr>
14401 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
14402 current values of the precious variables, not the previously
14404 Pass precious variables which are set to config.status.
14405 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
14406 * tests/torture.at (AC_ARG_VAR): New.
14408 2001-06-15 Paul Eggert <eggert@twinsun.com>
14410 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
14411 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
14412 and explain why and how to replace them.
14413 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
14414 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
14416 2001-06-15 Akim Demaille <akim@epita.fr>
14418 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
14419 Reported by Bruno Haible.
14421 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
14422 (_AC_ARG_VAR_PRECIOUS): to here.
14424 2001-06-15 Pavel Roskin <proski@gnu.org>
14426 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
14427 an unused pointer use cast to this type and `if' statement to
14428 avoid warnings from the compiler.
14429 (AC_HEADER_TIME): Likewise.
14430 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
14431 in `if' statement to avoid warnings from the compiler. Declare
14432 ac_aggr static to avoid the need to initialize it.
14434 2001-06-14 Akim Demaille <akim@epita.fr>
14436 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
14439 2001-06-13 Akim Demaille <akim@epita.fr>
14441 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
14442 Suggested by Alexander Mai.
14444 2001-06-13 Akim Demaille <akim@epita.fr>
14446 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
14447 sys/types.h and sys/stat.h, and check for them.
14449 2001-06-13 Akim Demaille <akim@epita.fr>
14451 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
14454 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
14456 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
14457 succeeds and only try adding libdnet upon a failure.
14459 2001-06-12 Akim Demaille <akim@epita.fr>
14461 * autoscan.in (&output_kind): Output the comment only if it exists.
14462 (%kind_comment): Add entry for `programs'.
14463 (&output_programs): Use &output_kind.
14464 (&output_functions, &output_identifiers, &output_headers)
14465 (&output_programs): Inline, and remove.
14467 2001-06-12 Akim Demaille <akim@epita.fr>
14469 * autoscan.in (%kind_comment): New.
14470 (output_kind): New.
14471 (output_functions, output_identifiers, output_headers): Use it.
14473 2001-06-12 Akim Demaille <akim@epita.fr>
14475 * autoscan.in (&print_unique): Take `$kind' and `$word' as
14476 arguments, to factor indirections into `%macro' and `%used'.
14477 (%generic_macro): Fix a typo.
14479 2001-06-12 Akim Demaille <akim@epita.fr>
14481 * aclibraries: New.
14482 * autoscan.in (@kinds): Add `libraries'.
14483 Use `@kinds' instead of hard coded lists.
14484 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
14485 Remove, replaced by...
14488 2001-06-12 Akim Demaille <akim@epita.fr>
14490 * autoscan.in (%functions_macros %headers_macros)
14491 (%identifiers_macros %programs_macros %makevars_macros): Remove,
14495 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
14497 * aclang.m4 (AC_NO_EXECUTABLES): Override
14498 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
14500 2001-06-11 Akim Demaille <akim@epita.fr>
14502 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
14504 Reported by Andreas Schwab.
14506 2001-06-11 Akim Demaille <akim@epita.fr>
14508 * Makefile.am, Makefile.maint: Typos.
14510 2001-06-09 Akim Demaille <akim@epita.fr>
14512 * doc/autoconf.texi (Here-Documents): New section, gathering
14513 documentation about here-documents.
14514 Use `href', not `uref', and other changes.
14516 2001-06-09 Akim Demaille <akim@epita.fr>
14518 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
14521 2001-06-09 Akim Demaille <akim@epita.fr>
14523 * doc/autoconf.texi (Limitations of Builtins): Complete the
14524 description of the here-docs penalties with Alexandre Oliva's
14527 2001-06-01 Paul Eggert <eggert@twinsun.com>
14529 * doc/autoconf.texi: Talk about here documents and speedups.
14530 Do not use "echo" on arbitrary strings.
14531 Spell "here-documents" consistently with the standard.
14533 2001-06-09 Akim Demaille <akim@epita.fr>
14535 * doc/autoconf.texi (Concept Index): Introduce it.
14536 Regenerate the menus.
14538 2001-06-09 Akim Demaille <akim@epita.fr>
14540 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
14541 * config/prev-version.txt: New.
14542 * config/move-if-change: New, for GNU libc.
14544 2001-06-06 Pavel Roskin <proski@gnu.org>
14546 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
14548 2001-06-06 Akim Demaille <akim@epita.fr>
14550 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
14551 properly when $1 is not a literal.
14552 Fixes PR Autoconf/187, reported by Bram Moolenaar.
14554 2001-06-06 Akim Demaille <akim@epita.fr>
14556 Invoking AC_COPYRIGHT before AC_INIT fails.
14558 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
14559 * acgeneral.m4 (_m4_divert(VERSION_FSF))
14560 (_m4_divert(VERSION_USER)): New.
14561 (AC_COPYRIGHT): $2 is the diversion to use.
14562 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
14563 (AC_INIT): Remove dead comments as now it's commutative.
14565 2001-06-06 Akim Demaille <akim@epita.fr>
14567 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
14570 2001-06-05 Akim Demaille <akim@epita.fr>
14572 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
14574 `*dir' variables cannot be NONE.
14575 Reported by Mark Kettenis.
14577 2001-06-05 Paul Eggert <eggert@twinsun.com>
14579 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
14581 2001-06-04 Akim Demaille <akim@epita.fr>
14583 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
14584 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
14585 (AC_TR_SH): Move as...
14586 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
14587 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
14589 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
14590 (_AS_TR_SH_PREPARE): New.
14591 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
14592 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
14594 2001-06-02 Akim Demaille <akim@epita.fr>
14596 * Makefile.am (.m4.m4f): Pass the options first.
14597 Fixes PR autoconf/182.
14599 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
14601 GNU getopt, when POSIXLY_CORRECT does not permute options and
14602 arguments. So pass the options first.
14603 Fixes PR autoconf/184.
14605 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
14606 (run_m4): Remove files.
14608 Update remainder of script to use them.
14609 (for warning in): Do not use a literal comma as it will not be
14612 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
14614 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
14615 Fortran compilers to check.
14616 (_AC_PROG_F77_V): Add '-###' as a possible option to print
14617 information on library and object files.
14618 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
14621 2001-06-02 Akim Demaille <akim@epita.fr>
14623 * autom4te.in (Request::@request): Declare with `vars', not `my',
14624 as it prevents updates via `do FILENAME'.
14626 2001-06-02 Akim Demaille <akim@epita.fr>
14628 * configure.in (standards_texi): Remove, dead code.
14630 2001-06-02 Akim Demaille <akim@epita.fr>
14632 * autom4te.in: New.
14634 2001-06-02 Pavel Roskin <proski@gnu.org>
14636 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
14637 for signals other than 0 - exit with code 1.
14638 * m4sh.m4 (AS_TMPDIR): Likewise.
14639 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
14640 * autoheader.in: Likewise.
14641 * autoreconf.in: Likewise.
14642 * tests/torture.at (Signal handling): New test for the above.
14644 2001-06-01 Akim Demaille <akim@epita.fr>
14646 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
14649 2001-05-31 Akim Demaille <akim@epita.fr>
14651 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
14652 Add copyright and comments.
14653 * acheaders: Add stdint.h.
14654 Suggested by Paul Eggert.
14656 2001-05-31 Akim Demaille <akim@epita.fr>
14658 * atgeneral.m4 (AT_INIT): Use $SHELL.
14659 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
14661 2001-05-31 Akim Demaille <akim@epita.fr>
14663 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14665 From Paul Eggert and Lars Hecking.
14667 2001-05-31 Akim Demaille <akim@epita.fr>
14669 * tests/base.at: Adjust line numbers in error messages.
14671 2001-05-31 Akim Demaille <akim@epita.fr>
14673 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
14674 to emit the bangshe line.
14675 Reported by David Carter.
14677 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
14679 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
14680 Fortran (95) compilers to check.
14682 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
14684 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
14687 2001-05-23 Pavel Roskin <proski@gnu.org>
14689 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
14690 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
14691 (AC_PROG_CXXCPP): Likewise.
14693 2001-05-22 Akim Demaille <akim@epita.fr>
14695 * config: New directory.
14696 * configure.in: AC_CONFIG_AUX_DIR it.
14697 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
14699 2001-05-22 Akim Demaille <akim@epita.fr>
14701 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
14702 * autoupdate.in: Specify the Emacs mode.
14703 * acversion.m4.in: Rename as...
14704 * acversion.m4: this.
14705 * tests/Makefile.am (CLEANFILES): More garbage.
14707 2001-05-22 Akim Demaille <akim@epita.fr>
14709 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
14711 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
14714 2001-05-21 Akim Demaille <akim@epita.fr>
14716 * configure.in: Bump to 2.50a.
14721 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
14722 Software Foundation, Inc.
14724 Copying and distribution of this file, with or without
14725 modification, are permitted provided the copyright notice and this
14726 notice are preserved.