1 2007-12-04 Eric Blake <ebb9@byu.net>
3 Manually resync with gnulib, since 'make cvs-update' no longer works.
4 * build-aux/config.guess: New upstream version.
5 * build-aux/config.sub: Likewise.
7 When using older automake, don't downgrade build-aux/texinfo.tex.
8 * configure.ac (AM_INIT_AUTOMAKE): Add no-texinfo.tex option.
9 * doc/Makefile.am (TEXINFO_TEX): Add.
11 2007-11-27 Paul Eggert <eggert@cs.ucla.edu>
13 Fix AC_C_BIGENDIAN bug caused by new awk method of substitution.
14 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Don't comment out the
15 #undef as this runs afoul of our new way of creating config.h.
16 Problem reported by Jim Meyering in
17 <http://lists.gnu.org/archive/html/autoconf-patches/2007-11/msg00164.html>.
19 2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
21 Fix autom4te for unusual characters in input file names.
22 * bin/autom4te.in (files_to_options): Quote active characters
24 * tests/tools.at (autom4te and white space in file names):
27 * doc/autoconf.texi (Limitations of Usual Tools) <awk>:
28 Document that Tru64 awk always splits $0.
30 2007-11-24 Stepan Kasal <kasal@ucw.cz>
32 * lib/autotest/general.m4 (AT_INIT): Do not extract the
33 `#AT_STOP_...' line at the end of each test.
35 2007-11-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
37 * lib/autotest/general.m4 (AT_INIT): For awk line number
38 extraction script, ensure `$at_group' has a defined value
39 even for the empty set, and properly quote its usage inside
42 2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
44 * doc/autoconf.texi (Shell Functions): New chapter. Document
45 IRIX sh $0 issue in functions, move content from ...
46 (Portable Shell): ... here.
47 (Shell Script Compiler): Note that shell functions are not
48 totally unportable any more.
50 2007-11-22 Stepan Kasal <kasal@ucw.cz>
51 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
53 * lib/autotest/general.m4 (AT_INIT): Exit awk script after
54 extracting the line numbers of the last needed test.
56 2007-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
58 * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
61 2007-11-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
63 Fix IRIX testsuite debugging failures: $0 in functions.
64 * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
65 Do not use $0 inside a function, as IRIX sh will set that to the
66 function name rather than the script invocation name.
68 2007-11-19 Paolo Bonzini <bonzini@gnu.org>
69 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
71 * lib/autotest/general.m4 (at_func_test): Use cached line numbers
72 to extract test scripts.
73 (AT_INIT): Extract and cache test script line numbers.
75 2007-11-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
77 * lib/autotest/general.m4: Revert 2007-11-15 patch and
78 subsequent fixups; the awk -> here-document conversion trashes
79 performance too much with AIX sh.
81 2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
83 * tests/local.at: Do not test m4, perl with AT_TESTED.
85 Diagnose and guard against write errors dealing with config.status.
86 The general idea is this: all write failures from `configure'
87 writing `config.status' are indicated by $ac_write_error, which
88 is only checked at the end. This is safe because config.status
89 code is not executed before the file is complete. Other write
90 failures, be they inside config.status, or in sub shell/awk
91 scripts spawned from configure or config.status, typically need
92 earlier checking, as their results are used right afterwards.
93 * lib/autoconf/status.m4 (AC_OUTPUT): Initialize `ac_write_fail'
94 before writing config.status, check afterwards.
95 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_FILE)
96 (_AC_OUTPUT_HEADERS_PREPARE,_AC_OUTPUT_CONFIG_STATUS):
97 Set `ac_write_error' for write failures to config.status. Barf
98 upon write failures to temporary files.
99 Adjust note about closing and reopening the here-document.
100 (_AC_OUTPUT_HEADER, _AC_OUTPUT_LINK, _AC_OUTPUT_COMMAND)
101 (_AC_OUTPUT_MAIN_LOOP): Likewise, adjust note about closing and
102 reopening the here-document.
103 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
104 Ensure `ac_write_error' does not escape into config.status.
105 Also, add a couple of code paths not yet exercised in the test
106 suite: a config file with input from stdin, and a config header
108 Suggestion for catching write errors by Bruno Haible.
110 2007-11-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
112 Avoid error with Tru64 awk and testsuite lines with many words.
113 * lib/autotest/general.m4 (AT_INIT): In the awk script that
114 reads the testsuite, set the field separator to an unusual value,
115 in order to not run over the limit of 199 fields. Tru64 4.0D awk
116 even splits the input if $i, i>0, was never accessed in the script.
118 Revert 2007-10-17 change.
119 * TODO: Multiline args in config files and headers mean something
120 different and are not fixed, see
121 <http://lists.gnu.org/archive/html/autoconf-patches/2007-05/msg00017.html>
122 Report by Stepan Kasal.
124 * doc/autoconf.texi (Generic Programs): Fix typo.
126 2007-11-16 Stepan Kasal <kasal@ucw.cz>
128 AC_*_TOOL does not canonicalize the prefix
129 * doc/autoconf.texi (Generic Programs): Do not say that
130 the *_TOOL macros canonicalize, they simply use the `host_alias'.
132 2007-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
134 Diagnose write errors in config.status instantiations.
135 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE)
136 (_AC_OUTPUT_HEADER, _AC_OUTPUT_MAIN_LOOP): Bail out
138 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
139 Extend test to also check for some write error failures, using...
140 <AT_CHECK_CONFIG_CREATION_NOWRITE>: ...this new macro.
141 Report by Bruno Haible.
144 * lib/autotest/general.m4 (AT_INIT) <at_func_log_failure>: Fix
146 (_AT_CHECK): Use less indentation, to save space.
148 2007-11-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
150 Add witness macro for @top_build_prefix@ substitution.
151 * lib/autoconf/status.m4 (_AC_HAVE_TOP_BUILD_PREFIX): New macro.
152 (_AC_OUTPUT_FILE): Mention it here.
154 2007-11-15 Paolo Bonzini <bonzini@gnu.org>
155 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
157 * lib/autotest/general.m4 (at_func_test): Remove.
158 (AT_INIT): Pre-extract test groups into separate files.
159 (AT_CLEANUP): Source pre-extracted file instead of calling at_func_test.
160 Remove at-test-source files together with the $at_group_dir.
161 * tests/autotest.at (Long test source lines): New test.
163 2007-11-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
165 Shell functions and variables may share a namespace.
166 * doc/autoconf.texi (Portable Shell): Mention Solaris sh
169 2007-11-14 Paul Eggert <eggert@cs.ucla.edu>
171 * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Make comment match
174 2007-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
176 * lib/autoconf/status.m4: Fix a couple of comment typos.
178 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Use $as_me, not $me.
180 2007-11-13 Jim Meyering <meyering@redhat.com>
182 Clean up the rule to create "expr".
183 * tests/Makefile.am (expr): Don't redirect directly to target.
184 Redirect just once, not for each echo statement.
185 Use $@, not literal "expr".
187 2007-11-13 Paul Eggert <eggert@cs.ucla.edu>
189 Don't worry about preprocessor when testing long long.
190 See: http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00075.html
191 * doc/autoconf.texi (Preprocessor Arithmetic): New section.
192 (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT):
193 These no longer check for preprocessor flaws.
194 * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET):
195 Do not check for preprocessor flaws.
197 2007-11-13 Jim Meyering <meyering@redhat.com>
199 Adapt dependencies, now that a version change doesn't modify configure.ac
200 * GNUmakefile: Remove "make clean" kludge.
201 * lib/m4sugar/Makefile.am (version.m4): Depend on Makefile, not
203 Don't redirect directly to target.
204 Use $@, not literal "version.m4".
206 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
208 * doc/autoconf.texi (Making testsuite Scripts): Document
209 ":;{" shorthand as in previous patch.
211 2007-11-12 Paul Eggert <eggert@cs.ucla.edu>
213 * doc/autoconf.texi (Limitations of Builtins): Document problem
214 with { ... } a bit more clearly. Suggest ":;{" as a shorthand
216 * lib/m4sugar/Makefile.am (version.m4): Detect 'echo' failure.
218 * tests/Makefile.am ($(srcdir)/package.m4): Likewise.
220 2007-11-12 Jim Meyering <meyering@redhat.com>
222 Add more non-srcdir build support.
223 * GNUmakefile (dummy): Split a long line.
224 Add -v option to autoreconf invocation.
226 Remove the autoreconf-provided INSTALL, so that we regenerate it.
227 * GNUmakefile (dummy): Remove INSTALL.
229 Remove racy commands to build scripts in bin/ and tests/.
230 * man/Makefile.am (.x.1): Now that scripts in bin/ and tests/
231 are guaranteed to be built, remove the rules that tried to build
232 them. Before, with a parallel build, these rules could lead to
233 two processes writing tests/wrapper.in concurrently.
235 Build in man/ only *after* building in bin/ and tests/.
236 * Makefile.am (SUBDIRS): The man-page-creation process runs $(MAKE)
237 in both bin/ and tests/.
239 Accommodate non-srcdir build-from-checkout.
240 * build-aux/git-version-gen: Require an additional parameter: $srcdir.
241 Use git's --git-dir=$srcdir/.git option.
242 Add quotes, in case tarball_version_file contains shell meta-characters.
243 * GNUmakefile (_curr-ver): Pass $(srcdir) to git-version-gen.
244 * configure.ac: Pass "." to git-version-gen.
246 Avoid spurious test failures due to version skew.
247 * GNUmakefile (dummy): Run $(MAKE) clean after autoreconf -i.
249 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
251 Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
252 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_RUN_IFELSE):
253 Remove conftest.dSYM directory.
254 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT)
255 (_AC_LANG_PROGRAM_C_, _AC_FC_MAIN, __AC_FC_NAME_MANGLING):
256 Remove `conftest.*' recursively.
257 * lib/autoconf/lang.m4 (AC_LINK_IFELSE): Likewise.
258 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
260 (_AC_COMPILER_OBJEXT_REJECT): Reject *.dSYM.
262 Report and analysis by Jeff Squyres and Peter O'Gorman.
264 2007-11-12 Benoit Sigoure <tsuna@lrde.epita.fr>
266 Fix typos in variable names.
267 * tests/semantics.at (test for AC_CHECK_LIB): s/at_m/ac_m/.
269 2007-11-11 Benoit Sigoure <tsuna@lrde.epita.fr>
271 Document that $((expression)) is not portable.
272 * doc/autoconf.texi (Shell Substitutions): Here.
274 2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
276 Ignore configure --help* errors due to LINENO-impaired shells.
277 * tests/torture.at (Configuring subdirectories, Deep Package):
278 In the --help* tests in read-only trees, make `.' temporarily
279 writable again for the `stderr' file, and ignore errors due to
280 the attempt to write configure.lineno.
281 Report by Patrick Welche.
283 2007-11-10 Jim Meyering <meyering@redhat.com>
285 Generate package.m4 in build-dir, not srcdir.
286 * tests/Makefile.am (package.m4): Adjust target.
287 Don't redirect directly to $@.
288 (CLEANFILES): Add package.m4.
289 ($(TESTSUITE)): Depend on just-built package.m4, not the one
291 When running $(AUTOTEST), search "." before searching $(srcdir).
293 Avoid a race condition that would make parallel "distclean" fail.
294 * tests/Makefile.am (distclean-generic): Replace the default,
295 automake-provided rule with an identical one, but with an additional
296 dependency on distclean-local. Simply adding the dependency would
297 cause automake not to emit the rule at all.
298 * BUGS: Building with -jN works, now.
300 Distribute git-version-gen.
301 * Makefile.am (EXTRA_DIST): Add build-aux/git-version-gen,
302 since GNUmakefile is distributed, and requires it for dist* rules.
304 Remove two more generated files from version control.
305 * INSTALL: Remove generated file.
306 * lib/autoscan/autoscan.list: Remove generated file.
308 2007-11-09 Paul Eggert <eggert@cs.ucla.edu>
310 * GNUmakefile (PATH): Remove stray apostrophes; they become
311 part of PATH, which isn't wanted here.
313 2007-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
315 New config files output variable `top_build_prefix'.
316 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Substitute
318 * doc/autoconf.texi (Preset Output Variables): Document it.
320 Report by Bob Friesenhahn.
322 Avoid expr for arithmetic evaluation if the shell accepts $((...)).
323 * lib/autotest/general.m4 (AT_INIT) <at_func_arith>: New
324 function, to parametrize arithmetic with expr vs. the shell.
325 Use it where possible.
326 Suggestion by Benoit Sigoure.
328 2007-11-03 Benoit Sigoure <tsuna@lrde.epita.fr>
330 Adjust the documentation of autotest WRT atlocal.
331 * doc/autoconf.texi (Making testsuite Scripts): It is not necessary,
332 when using Automake, to write a rule to produce atlocal, since it's
333 an AC_CONFIG_FILES. Mention that atlocal.in needs to be
334 distributed, not atconfig.in.
336 2007-11-04 Eric Blake <ebb9@byu.net>
338 Update list information.
339 * README: Mention new autoconf-commit list.
340 * doc/autoconf.texi (Introduction): Mention autoconf-commit list.
342 2007-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
344 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Fix comment typo.
346 * lib/m4sugar/Makefile.am (version.m4): Another bash bug workaround.
348 * build-aux/.gitignore: Ignore mkinstalldirs.
350 * doc/autoconf.texi (autoreconf Invocation): Fix an underfull line.
352 2007-11-03 Jim Meyering <meyering@redhat.com>
354 s/-/./ in snapshot version string: 2.61a-256-8b556 -> 2.61a.256-8b556
355 * build-aux/git-version-gen: This syncs from coreutils.
357 Adjust the build procedure so "make check" works reliably.
358 * README-hacking: Include an extra step between "make" and
359 "make check" to ensure that the latter passes.
361 Use just-built tools, when possible.
362 * GNUmakefile (PATH): Set and export here, ...
363 (dummy): ... rather than here.
365 2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
366 and Andreas Schwab <schwab@suse.de>
368 * tests/Makefile.am ($(srcdir)/package.m4): Work around bash
371 2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
373 * configure.ac (AC_PREREQ): Require version 2.60, for
374 AC_PROG_SED, AC_PROG_GREP.
376 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
377 and Jim Meyering <meyering@redhat.com>
378 and Andreas Schwab <schwab@suse.de>
379 and Eric Blake <ebb9@byu.net>
381 Document a bug in GNU Bash with compound commands and redirections.
382 * doc/autoconf.texi (Limitations of Builtins): Mention that GNU
383 Bash doesn't properly set $? when `{ ... } >/bad' fails, and give
386 2007-11-03 Eric Blake <ebb9@byu.net>
388 Support m4 1.4.5 in testsuite.
389 * tests/torture.at (Define a newline): Exclude line numbers in
391 Reported by Ralf Wildenhues.
393 2007-11-03 Jim Meyering <meyering@redhat.com>
395 Remove automake-provided files from version control.
396 * build-aux/elisp-comp: Remove file.
397 * build-aux/install-sh: Remove file.
398 * build-aux/missing: Remove file.
399 * build-aux/mdate-sh: Remove file.
400 * build-aux/.gitignore: New file.
401 Suggestion from Ralf Wildenhues.
403 2007-11-03 Eric Blake <ebb9@byu.net>
405 Adjust version comparison to account for git snapshot numbers.
406 * lib/m4sugar/m4sugar.m4 (_m4_version_unletter): Also treat - as a
408 * doc/autoconf.texi (Number processing Macros)
409 <m4_version_compare>: Document this change.
410 * tests/m4sugar.at (m4@&t@_version_compare): Test it.
412 2007-10-30 Bruno Haible <bruno@clisp.org>
414 * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro,
415 extracted from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT.
416 (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT): Use it.
417 Fixes problem with Sun C 5.[0-8] in 32-bit mode, reported in
418 <http://lists.gnu.org/archive/html/autoconf-patches/2007-10/msg00210.html>
419 Suggested by Paul Eggert.
421 2007-10-28 Jim Meyering <meyering@redhat.com>
423 * README-hacking: Autoconf, Automake, and Perl are required to build.
424 List Gzip and Tar separately. Suggested by Ralf Wildenhues.
426 2007-10-28 Jim Meyering <meyering@redhat.com>
428 README-hacking: Recommend running autoreconf -vi.
429 * GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
430 so that we use just-built tools when they're available.
431 Suggestions from Ralf Wildenhues.
433 2007-10-28 Jim Meyering <meyering@redhat.com>
435 Make inter-release --version output more useful.
437 Now, each unofficial build has a version "number" like 2.61a-19-58dd,
438 which indicates that it is built using the 19th change set
439 (in _some_ repository) following the "v2.61a" tag, and that 58dd
440 is a prefix of the commit SHA1.
441 * build-aux/git-version-gen: New file.
442 * configure.ac: Run it to set the version.
443 (AM_INIT_AUTOMAKE): Don't check NEWS here.
444 * Makefile.am (dist-hook): Arrange so that .version appears only
445 in distribution tarballs, never in a checked-out repository.
446 * .gitignore: Add .version here, too. Just in case.
447 * tests/Makefile.am ($(srcdir)/package.m4): Depend on Makefile,
448 not configure.ac, now that the version number changes automatically.
450 Ensure that $(VERSION) is up to date for dist-related targets.
451 * GNUmakefile: Arrange to rerun autoconf, if the version reported by
452 git-version-gen doesn't match $(VERSION), but only for dist targets.
454 2007-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
456 Fix `Deep Package' failure with a configure script early in PATH
457 * tests/torture.at (Deep Package): Add `.' early in PATH.
458 Report by Jim Meyering.
460 2007-10-27 Jim Meyering <meyering@redhat.com>
462 Remove all generated files from version control.
463 * aclocal.m4: Remove.
465 * Makefile.in: Remove, along with all other Makefile.in in subdirs.
466 * .gitignore: Add aclocal.m4, configure and Makefile.in. Sort.
467 * README-hacking: New file: how to build from just-checked-out sources.
469 2007-10-23 Eric Blake <ebb9@byu.net>
471 Improve corner case of m4_expand.
472 * lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Rewrite more
474 * tests/m4sh.at (AS@&t@_HELP_STRING): Test overquoted comma.
475 * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Update
478 2007-10-23 Paul Eggert <eggert@cs.ucla.edu>
480 * doc/make-stds.texi: Update from gnulib.
482 2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
483 and Eric Blake <ebb9@byu.net>
485 * lib/autoconf/c.m4 (AC_C_RESTRICT): Work around Sun C++ compatibility
486 problem reported by Bruno Haible in
487 <http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00027.html>.
489 2007-10-22 Eric Blake <ebb9@byu.net>
491 * doc/autoconf.texi (Particular Types): Mention bug in HP-UX 11.00
494 2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
496 Don't check for bug in HP-UX 11.00 cpp.
497 * lib/autoconf/types.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
498 Use -1ull rather than -1u, since that causes problems with gnulib; see
499 <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
501 2007-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
503 * tests/autotest.at (Backquote command substitution)
504 (Multiline backquote command substitution)
505 (Parenthetical command substitution)
506 (Multiline parenthetical command substitution): Fix typos in
509 2007-10-21 Eric Blake <ebb9@byu.net>
511 * configure: Regenerate.
513 2007-10-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
515 Fix config status generation with Tru64 ksh.
516 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
517 escaping of backslash in here-documents.
519 Fix `Deep Package' test failure on FreeBSD.
520 * tests/torture.at (Deep Package): Do not add `.' to $PATH
521 unnecessarily. Do not try running `/bin/sh configure' with a
522 configure script to be found in $PATH, if the shell does not do
523 this resolution. Fixes test failure on FreeBSD.
525 Fix config header generation with AIX awk.
526 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): In awk
527 script, use helper array D_is_set, as `" 0"' does not evaluate
530 2007-10-21 Eric Blake <ebb9@byu.net>
532 * tests/autotest.at (Banners): Reinstate test, with typo
535 2007-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
537 * lib/autotest/general.m4 (Defaults): Validate input ranges ...
538 <at_func_validate_ranges>: ... using this new function.
539 * tests/autotest.at (Keywords and ranges): Test invalid ranges.
540 Test --list with ranges and keywords.
541 (Banners): Remove one now-failing test.
543 2007-10-20 Eric Blake <ebb9@byu.net>
545 Fix testsuite --list subset.
546 * lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
547 back to spaces, before listing subset of tests.
548 Reported by Ralf Wildenhues.
550 2007-10-19 Eric Blake <ebb9@byu.net>
552 s/parenthesis/parentheses/ where appropriate.
553 * doc/autoconf.texi: Fix typos.
554 * lib/m4sugar/m4sugar.m4: Likewise.
555 Reported by Ralf Wildenhues.
557 Document m4_expand limitation.
558 * lib/m4sugar/m4sugar.m4 (m4_expand): Mention problem with
560 * doc/autoconf.texi (Pretty Help Strings, Evaluation Macros)
561 (Writing Testsuites): Mention limitations inherited from
564 Improve AT_BANNER handling.
565 * lib/autotest/general.m4 (BANNERS): New named diversion.
566 (TESTS_END): Diversion no longer used.
567 (AT_INIT) <at_func_banner, BANNERS>: Factor all banners into a
568 shell function, which prints only as needed, using an associative
569 array of banner text from a special diversion.
570 <PARSE_ARGS_END>: No longer need awk to find banners.
571 <TESTS>: Banners are no longer processed by main driver loop, so
572 we no longer need case statement.
573 (AT_BANNER): Rewrite to populate new diversion.
574 (AT_SETUP): Each test invokes its own banner. No output is needed
575 to the TESTS diversion.
576 * doc/autoconf.texi (Writing Testsuites): Document slight
578 * tests/autotest.at (AT_BANNERS): Enhance test.
579 * NEWS: Document AT_BANNER.
581 Document and test AT_BANNER.
582 * doc/autoconf.texi (Writing Testsuites): Document AT_BANNER.
583 * tests/autotest.at (AT_CHECK_EGREP): Share between tests.
584 (AT_CHECK_BANNERS): New test.
587 * doc/autoconf.texi (Text processing Macros) <m4_strip>
588 <m4_text_wrap>: Clarify and fix typos.
590 2007-10-18 Eric Blake <ebb9@byu.net>
592 Ignore `make dist' changelogs in testsuite.log.
593 * lib/autotest/general.m4 (AT_INIT) <ChangeLogs>: Prune
594 directories matching AT_PACKAGE_TARNAME-*.
596 Fix AT_TESTED, AT_KEYWORDS.
597 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Warn if separator
598 occurs in string, as duplicates may be added.
599 (_m4_append_uniq): New helper macro.
600 (m4_append_uniq_w): New macro.
601 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Fix
602 duplication bug by using new macro.
603 (AT_INIT) <at_tested>: Restore newline separators. Invoke tested
604 programs with stdin redirected, so programs that don't
605 understand --version won't try to behave interactively.
606 * tests/autotest.at (Tested programs): Catch this bug.
607 * tests/m4sugar.at (m4@&t@_append): Test new macro.
608 * tests/local.at (AT_TESTED): Add m4, perl.
609 * doc/autoconf.texi (Text processing Macros): Document
610 m4_append_uniq_w, and update text on m4_append.
611 * NEWS: Document the addition.
613 2007-10-17 Eric Blake <ebb9@byu.net>
616 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Convert
618 (AT_INIT) <at_func_create_debugging_script>: ...to shell
620 (AT_INIT): Defer function declarations until after --help,
621 --version. Format functions consistently, trying to fit in 80
623 (TEST_FUNCTIONS): Based on recent changes, rename...
624 (TEST_GROUPS): ...to this.
627 * m4/m4.m4 (AC_PROG_GNU_M4): Also check for frozen file support.
628 * configure: Regenerate.
629 Reported by Bob Friesenhahn.
631 Test recent additions.
632 * tests/m4sugar.at (m4@&t@_map, m4@&t@_combine)
633 (m4@&t_max and m4@&t_min): New tests.
634 * doc/autoconf.texi (Evaluation Macros) <m4_apply>: Enhance
637 2007-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
639 * TODO: multiline args in config files and headers work now.
641 Autotest: do not use shell functions for individual tests.
642 * lib/autotest/general.m4 (AT_INIT) <at_func_test>: Merely
643 extract the source test source, do not invoke it.
644 (AT_SETUP, AT_CLEANUP): Source test code outside shell function.
645 * tests/autotest.at (Fallacy): Actually let the inner suite fail,
646 expect exit status of 1.
647 * tests/autotest.at (Skip): New test, for bogus zsh exit status.
649 * lib/autotest/general.m4 (at_func_test): Fix test extraction
652 2007-10-17 Eric Blake <ebb9@byu.net>
654 Fix m4_combine for empty suffix list.
655 * lib/m4sugar/m4sugar.m4 (m4_combine): Check for suffix list.
656 * doc/autoconf.texi (Text processing Macros): Document this.
658 Add m4_combine, based on Libtool's lt_combine.
659 * lib/m4sugar/m4sugar.m4 (m4_combine): New macro.
660 * doc/autoconf.texi (Text processing Macros): Document it.
663 2007-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
665 Fix `configure --help=recursive' in unconfigured/read-only trees.
666 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Avoid errors when `.'
667 is not writable, use 'cp -p' in this case, in the hope that it
668 will not actually be needed. Still try removing files, in case
669 of other write errors.
670 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): For ac_confdir,
671 use $as_myself, not $0.
672 (_AC_INIT_HELP): For --help=recursive, if the subdir does not
673 exist, try again in the the source tree. This change assumes
674 that the subpackage configure script is capable of running
675 --help=recursive in the source tree.
676 * tests/torture.at (Configuring subdirectories, Deep Package):
677 Adjust tests to expose both issues, also try invocation as
678 `sh configure ...' and plain `configure ...' with PATH adjusted.
679 * NEWS, THANKS: Update.
680 Report by Hans Ulrich Niedermann.
682 2007-10-16 Paul Eggert <eggert@cs.ucla.edu>
684 Check for 64-bit int errors in HP-UX 10.20 preprocessor.
685 Problem reported by H.Merijn Brand in
686 <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
687 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
688 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
689 Check that preprocessor handles 64-bit ints, too.
691 2007-10-16 Eric Blake <ebb9@byu.net>
693 m4_map is a looping construct.
694 * lib/m4sugar/m4sugar.m4 (m4_map, _m4_map, m4_map_sep): Move.
696 Fix m4_map, and add some more utility macros.
697 * lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
698 (m4_echo, m4_make_list): New documented macros.
699 (_m4_quote, _m4_shift2): New helper macros.
700 (m4_map): Change semantics to allow calling macro without
702 (m4_map_sep): Likewise. Also change semantics to quote separator,
703 to match m4_join and m4_append.
704 (m4_version_unletter): Fix use of m4_map.
705 * doc/autoconf.texi (Evaluation Macros): Document m4_apply,
706 m4_count, m4_dquote_elt, m4_echo, m4_make_list.
707 (Text processing Macros): Mention m4_dquote as a faster
708 alternative to joining with commas.
709 (Looping constructs): Document m4_map, m4_map_sep.
710 * NEWS: Mention new macros.
712 A few more m4sugar improvements, to benefit libtool.
713 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts, _m4_shiftn): Reduce size
714 of expansion by avoiding extra uses of $@.
715 (m4_shiftn): Avoid extra dnl, and forbid shifting by 0.
716 (_m4_cdr): New helper macro.
717 (_m4_map, m4_map_sep): Use it to reduce size of expansion.
718 (_m4_shift3): New helper macro.
719 (_m4_foreach): Swap argument order, and use new macro to reduce
721 * doc/autoconf.texi (Looping constructs) <m4_shiftn>: Mention that
722 count must be positive.
724 * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Fix typo.
725 Reported by Ralf Wildenhues.
727 2007-10-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
729 * doc/autoconf.texi (Portable Shell): Improve description of zsh
730 4.x function subshell bug with exit and trap.
732 2007-10-15 Eric Blake <ebb9@byu.net>
734 Enhance AS_HELP_STRING.
735 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't expand arguments,
736 and reduce number of expansions.
737 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Rework to use m4_expand,
738 and to take indent and wrap column numbers.
739 * tests/m4sh.at (AS@&t@_HELP_STRING): Update the test.
740 * doc/autoconf.texi (Pretty Help Strings): Document details about
742 (Text processing Macros): Minor tweaks.
743 * NEWS: Document this change.
745 Fix 2007-10-03 regression with AT_SETUP([a, b]).
746 * lib/m4sugar/m4sugar.m4 (m4_expand): New macro.
747 (m4_text_box): Use it.
748 * lib/autotest/general.m4 (AT_SETUP): Use it.
749 * lib/m4sugar/m4sh.m4 (_AS_RUN): Use it.
750 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Test this.
751 * NEWS: Revert caveat about semantics change on comma.
752 * doc/autoconf.texi (Evaluation Macros): Document m4_expand.
754 2007-10-13 Eric Blake <ebb9@byu.net>
756 Change m4_join to match libtool's ltsugar semantics.
757 * lib/m4sugar/m4sugar.m4 (m4_join): Just define this, not defun.
758 Ignore empty arguments, using...
759 (_m4_join): ...this new helper.
760 * tests/m4sugar.at (m4@&t@_join): New test.
761 * doc/autoconf.texi (Text processing Macros): Document new
762 semantics of m4_join.
764 Make AC_PREREQ faster and more robust.
765 * lib/m4sugar/m4sugar.m4 (m4_ignore, m4_unquote): New macros.
766 (m4_version_prereq): Inline constant expansions.
767 (m4_list_cmp): Reduce number of expansions, by avoiding m4_case.
768 Rewrite in terms of [] list, not () list.
769 (_m4_list_cmp, _m4_version_unletter): New helper macros.
770 (m4_version_unletter): Write wrapper around new implementation to
771 preserve old semantics.
772 (m4_version_compare): Pass correct type of list, and avoid
773 overhead of flattening expressions too early.
774 (m4_do): Move to be near other quoting macros.
775 (m4_max, m4_min): Always result in decimal output.
776 * doc/autoconf.texi (Looping constructs): Add m4_car, m4_cdr.
778 (Evaluation Macros): ...here. Add m4_ignore, m4_unquote.
779 (Text processing Macros): Move m4_version_compare...
780 (Number processing Macros): ...to this new node; document m4_cmp,
781 m4_list_cmp, m4_sign, m4_max, m4_min.
782 * tests/m4sugar.at (m4@&t@_version_compare): Enhance test, to pick
783 up on bugs fixed by this patch.
784 * NEWS: Document new macros.
786 2007-10-12 Eric Blake <ebb9@byu.net>
788 * doc/autoconf.texi (Text processing Macros): Fix bad merge.
789 (Reporting Messages): Fix underfull hbox.
791 Some more m4sugar documentation.
792 * lib/m4sugar/m4sugar.m4: Clean up macro order.
793 * doc/autoconf.texi (Programming in M4): Lighten the warning on
794 using m4sugar; it is stabilizing and useful.
795 (Redefined M4 Macros): Touch up wording on M4 builtins; sort. Add
796 m4_divert, m4_undivert, __file__, __line__, __oline__.
797 (Diagnostics): New node, documenting m4_assert, m4_errprintn,
798 m4_fatal, m4_location, m4_warn.
799 (Diversion support): New node, documenting m4_divert_push,
800 m4_divert_pop, m4_divert_text, m4_divert_once.
801 (Text processing Macros): Sort. Add m4_flatten, m4_join,
802 m4_newline, m4_strip, m4_text_box, m4_text_wrap.
803 (Reporting Messages): Mark AC_DIAGNOSE, AC_WARNING, and AC_FATAL
805 (Printing Messages): Change cross-reference.
807 Document interaction of recent m4_append change with Libtool HEAD.
808 * lib/m4sugar/m4sugar.m4 (m4_append): Document semantics change.
809 (m4_append_uniq): Add new parameters, based on lt_append_uniq.
810 * tests/m4sugar.at (m4@&t@_append): New test.
811 * NEWS: Document semantics change.
812 * doc/autoconf.texi (Text processing Macros): Likewise.
814 s/AC_VERSION/AC_AUTOCONF_VERSION/.
815 * doc/autoconf.texi (Versioning): Change the name.
817 * lib/autoconf/general.m4 (AC_AUTOCONF_VERSION): Likewise.
818 * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Likewise.
819 Suggested by Ralf Wildenhues.
822 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
823 (_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
825 * doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
826 (Programming in M4sh, Macro Names): Beef up description of
827 namespaces reserved for autoconf.
828 * configure: Regenerate.
830 2007-10-12 Eric Blake <ebb9@byu.net>
831 and Paolo Bonzini <bonzini@gnu.org>
833 Speed up execution of subset of testsuite.
834 * lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
835 (AT_INIT) <at_func_test>: New shell function.
836 (AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
837 (AT_INIT) <at_test_source> New variable, names file that holds
838 current test function definition.
839 (AT_SETUP): Start the shell function at_func_test_#, into the
840 TEST_FUNCTIONS diversion.
841 (AT_CLEANUP): End the shell function. Simplify the TESTS
842 diversion to invoke the function.
844 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
846 * .gitignore: Ignore tags and TAGS files.
848 2007-10-11 Eric Blake <ebb9@byu.net>
850 Config header generation followup.
851 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
852 which won't work with the preprocessor nor with the awk
854 * tests/torture.at (Define a newline): Test raw newline detection,
856 * doc/autoconf.texi (Defining Symbols): Document recent change to
857 allow backslash-newline.
860 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
862 * lib/autotest/general.m4: Put function braces in separate line.
864 2007-10-10 Eric Blake <ebb9@byu.net>
866 Avoid some overhead from m4_defn and m4_popdef.
867 * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
868 pass on first argument, since we are documented that way.
869 (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
870 check where it is safe to do so.
871 (m4_append): Likewise, and quote the separator.
872 (m4_text_box): Likewise, and avoid regex, also be robust to
873 expansion and quadrigraphs.
875 Another AC_DEFINE speedup.
876 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
878 (_AC_DEFINE_Q): ...here, and only do it once.
879 * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
880 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
881 introduced 2007-10-05.
884 * lib/autoconf/general.m4: Use consistent indentation.
885 * configure: Regenerate.
887 * NEWS: Announce recent round of speed optimizations.
889 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
891 * NEWS: Announce shell function usage in Autotest.
893 2007-10-10 Eric Blake <ebb9@byu.net>
894 and Paul Eggert <eggert@cs.ucla.edu>
896 Reduce number of forks at startup.
897 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
899 * configure: Regenerate.
901 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
902 and Paul Eggert <eggert@cs.ucla.edu>
904 Use awk for config header generation.
905 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
906 (_AC_OUTPUT_HEADERS_PREPARE): New macro. Rewrite of the config
907 header machinery for use with awk and placement outside the main
908 config.status instantiation loop. Retain multi-line defines
909 through backslash-newline combinations, do not split the script
911 (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
912 (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
914 (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
917 * tests/torture.at (#define header templates): Extend test by
918 several more cases: white space before and after `#', macros
919 with parameters in config.hin and as defines, multi-line macro
921 (Torturing config.status): Use a define value twice the length
922 in order to exercise the awk literal string limit.
923 (Substitute and define special characters): Also try special
924 delimiter, to exercise the special-case code.
925 Suggestion by Eric Lemings.
927 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
929 * tests/local.at (AT_COPYRIGHT): Bump copyright years.
931 2007-10-09 Eric Blake <ebb9@byu.net>
933 Improve header of bin/autoconf.
934 * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
935 * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
937 * bin/autoconf.as: Put copyright up front in generated file.
939 * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
941 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
943 * doc/install.texi (Basic Installation): Document `uninstall'.
944 * INSTALL: Regenerate.
945 Suggestion by Roberto Bagnara.
947 2007-10-08 Paul Eggert <eggert@cs.ucla.edu>
949 * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
951 Adjust doc. to match latest gnulib.
952 * build-aux/texinfo.tex: Sync from gnulib.
953 * doc/standards.texi: Likewise.
954 * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
955 Documentation License" and remove the subsection. This simplifies
956 the manual a bit and is more like what other GNU projects do
959 2007-10-08 Eric Blake <ebb9@byu.net>
962 * configure: Regenerate.
964 Fix regression in m4_text_wrap from 2007-10-05.
965 * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
967 (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
969 * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
970 * tests/autotest.at (Long test title, Longer test title): Test
971 this fix, beyond what AS_HELP_STRING already tests.
973 Avoid m4 warnings on bad m4_format usage.
974 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
976 * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
977 enough arguments are provided.
979 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
981 * doc/autoconf.texi (Shell portability): Document shell function
984 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
986 * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
987 at_func_check_skip, at_func_check_status, at_func_filter_trace,
988 at_func_log_failure shell functions. Use test -s to avoid
989 useless diff invocations.
990 (at_func_check_newline): Renamed from at_check_newline.
991 (AT_SETUP): Define AT_captured_files to empty.
992 (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
993 (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir. Use all
996 2007-10-05 Paul Eggert <eggert@cs.ucla.edu>
998 Don't assume "." is writeable, for commands like "autoconf --version".
999 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
1000 different heuristic instead, one that doesn't rely on creating
1003 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
1006 2007-10-05 Jim Meyering <meyering@redhat.com>
1008 Avoid makeinfo warnings.
1009 * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
1010 (Looping constructs): Add ` ' after @defmac'd name, m4_do.
1012 2007-10-05 Eric Blake <ebb9@byu.net>
1014 Resolve Python issue 1676135 regarding configure directory args.
1015 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
1016 slashes from directory arguments.
1017 * tests/base.at (configure directories): New test.
1018 * doc/autoconf.texi (Installation Directory Variables): Document
1022 Reported by Björn Lindqvist.
1024 Provide better short-circuiting operation.
1025 * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
1026 (m4_text_wrap): Use it. Also avoid useless m4_for.
1027 * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
1029 (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
1030 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
1032 * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
1033 documentation. Sort m4_mkstemp, m4_undefine. Move m4_ifndef...
1034 (Conditional constructs): ...here, to new section. Also document
1035 m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
1036 m4_bpatsubsts, and m4_default.
1037 (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
1040 2007-10-04 Eric Blake <ebb9@byu.net>
1042 Fix recent testsuite failures.
1043 * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
1044 that must not be re-expanded after AS_ESCAPE.
1045 * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
1046 checking if it is an identifier.
1049 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
1050 leading whitespace, as it caused space-tab in testsuite.
1051 (AT_INIT): Avoid trailing newlines in testsuite.
1053 One more round of m4_foreach_w speedups.
1054 * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
1056 (_m4_split): Avoid useless expansions inside definition. Move
1057 argument defaulting...
1058 (m4_split): ...here. Change alternate quote to something less
1059 likely to appear in $1. Also, special case space as regexp...
1060 (m4_foreach_w): ...to avoid regexp on single-term list.
1061 (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
1062 useless expansions inside definition.
1063 * tests/m4sugar.at (m4@&t@_split): Add tests.
1065 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
1067 * general.m4 (AT_INIT): Add at_check_newline function.
1068 (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
1069 (_AT_CHECK): Don't use at_trace_this.
1071 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
1073 Fix previous commit.
1074 * lib/autotest/general.m4 (AT_LINE): Fix regex.
1076 2007-10-04 Eric Blake <ebb9@byu.net>
1078 Speed up building testsuites.
1079 * lib/autotest/general.m4 (AT_LINE): Only use regex when file
1080 changed since last time. Use simpler regex.
1082 2007-10-03 Eric Blake <ebb9@byu.net>
1084 Optimize checking for identifiers.
1085 * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
1086 macros, more efficient than regex on m4_re_word.
1087 * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
1088 Rewrite in terms of new macro. As a side-effect, AC_DEFINE can
1090 * configure: Regenerate.
1092 Remove some XFAILs, and make AT_SETUP output line up.
1093 * lib/autotest/general.m4 (AT_SETUP): Only expand description
1094 once; thereafter, use its expansion, properly quoted.
1095 * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
1096 expansion with arguments, and check for aligned output.
1097 (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
1098 Add a test for macros with parameters.
1099 * NEWS: Document the semantics change.
1100 * tests/base.at: Fix test titles containing commas.
1101 * tests/compile.at: Likewise.
1102 * tests/tools.at: Likewise.
1103 * tests/torture.at: Likewise.
1105 Another round of regex avoidance.
1106 * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
1107 (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
1108 (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
1109 (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
1110 character ranges useful in m4_translit.
1111 (m4_toupper, m4_tolower): Optimize the constant portion of
1113 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
1114 creates $, and reject [] thanks to AS_TR_SH rewrite.
1115 (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
1116 (AS_ESCAPE): Factor...
1117 (_AS_ESCAPE): ...into new macro, with second argument required.
1118 Avoid regex in common case.
1119 (_AS_QUOTE): Use new macro.
1122 * lib/autoconf/types.m4: Avoid space-tab.
1123 * lib/m4sugar/m4sh.m4: Use tab consistently.
1125 2007-10-03 Paul Eggert <eggert@cs.ucla.edu>
1127 * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
1128 (m4_shiftn): Remove no-longer-needed optimization. Perhaps we
1129 should remove m4_shiftn entirely?
1130 (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
1131 Prefer m4_shift2 and m4_shift3 to m4_shiftn.
1132 * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
1133 * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
1134 * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
1136 2007-10-03 Eric Blake <ebb9@byu.net>
1139 * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
1141 2007-10-02 Eric Blake <ebb9@byu.net>
1143 Optimize appending text.
1144 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
1148 * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
1149 lot of hot spots; optimize it for 2 and 3 shifts.
1151 Optimize AC_PREREQ and other m4sugar numerics.
1152 * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
1153 (m4_cmp): Compare arbitrary expressions, without overflow.
1154 (m4_version_unletter): Also recognize capital letters.
1155 (m4_version_compare): Avoid regex when splitting version number
1158 2007-10-01 Eric Blake <ebb9@byu.net>
1160 Once again, reject IRIX m4.
1161 * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
1162 implementations that ignore --trace.
1163 * configure: Regenerate.
1164 Reported by Ralf Wildenhues.
1166 Fix regression in AC_DEFINE([macro(with_arg)]).
1167 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
1168 quotes with a careless m4_substr.
1170 2007-09-30 Eric Blake <ebb9@byu.net>
1172 Allow nameless iteration.
1173 * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
1175 * tests/m4sugar.at (myvar): Test this.
1177 2007-09-29 Eric Blake <ebb9@byu.net>
1179 Speed optimization: avoid m4 regex when other algorithms work.
1180 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
1181 (_AS_QUOTE_IFELSE): Likewise.
1182 * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
1183 (m4_bpatsubsts): Split...
1184 (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
1186 (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
1187 (m4_qlen): Optimize on short strings, to avoid regex.
1188 (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
1189 * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
1190 (AC_DEFINE_TRACE): Likewise.
1192 2007-09-28 Eric Blake <ebb9@byu.net>
1194 Oops - my earlier 'optimization' caused a regression.
1195 * tests/local.at (AT_CHECK_M4): Fix typo.
1197 2007-09-27 Eric Blake <ebb9@byu.net>
1198 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1200 Catch even more common AC_CACHE_VAL mistakes.
1201 * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
1202 lacks '_cv_', or if AC_SUBST appears in body.
1203 * tests/base.at (AC_CACHE_CHECK): Test this change.
1205 2007-09-27 Stepan Kasal <kasal@ucw.cz>
1206 and Eric Blake <ebb9@byu.net>
1208 Autotest no longer caters to Ultrix redirection limitation.
1209 * doc/autoconf.texi (Writing testsuite.at): Remove the
1210 limitation that the first parameter of AT_CHECK cannot
1211 contain redirection.
1212 (File Descriptors): Mention that Ultrix limitation is no longer a
1213 show-stopper in modern code.
1214 * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
1215 parameter is `stderr' or `experr'. Optimize if it was `ignore'.
1216 * lib/autotest/general.m4 (AT_CHECK): Update comment.
1218 2007-09-27 Eric Blake <ebb9@byu.net>
1220 Squelch changeword in m4sugar.
1221 * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
1222 feature of m4 1.4.x.
1224 Configure whitespace touchups.
1225 * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
1226 installation directories, and avoid TAB, in configure --help
1228 * configure.ac: Avoid extra trailing newline.
1229 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
1230 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
1231 config.status --help output.
1232 * configure: Regenerate.
1234 Fix underquotation in AS_HELP_STRING.
1235 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
1237 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
1238 first-prefix argument.
1239 * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
1240 * NEWS: Document AS_HELP_STRING fix.
1242 Autotest formatting touchups.
1243 * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
1245 (PATH): Simplify computation of new PATH.
1247 2007-09-26 Eric Blake <ebb9@byu.net>
1249 Fix testsuite breakage in last patch.
1250 * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
1252 * tests/torture.at (@%:@define header templates): Rename, so that
1253 output lines up correctly.
1255 More font-lock happiness.
1256 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
1259 2007-09-25 Eric Blake <ebb9@byu.net>
1262 * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
1263 * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
1265 Improve documentation of M4 parameter expansion.
1266 * doc/autoconf.texi (Quoting and Parameters): New section.
1267 (Quotation and Nested Macros): Improve wording.
1269 Improve C99 detection.
1270 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
1271 avoid deprecation warning with icc.
1273 Reported by Ted Bullock.
1275 2007-09-24 Jim Meyering <jim@meyering.net>
1277 Whenever possible, use the vertical bar as sed delimiter.
1278 * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
1280 * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
1281 [ac_dir_suffix]: Use "|", not "," as sed delimiter.
1282 * tests/mktests.sh (as_me): Likewise.
1283 * lib/freeze.mk (check-forbidden-patterns): Likewise.
1284 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
1285 * configure: Regenerate.
1286 * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
1287 * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
1288 in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
1289 This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
1291 2007-09-22 Jim Meyering <jim@meyering.net>
1294 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
1295 2004-05-31 change also with a comment in the code.
1297 2007-09-20 Eric Blake <ebb9@byu.net>
1299 More contribution housekeeping.
1301 * AUTHORS: Sort, reflect recent assignment from Helge Deller.
1303 Ignore additional files, when copying cross-repository.
1304 * .gitignore: Ignore CVS directories, emacs edits.
1305 * .cvsignore: Ignore .git directory, emacs edits.
1307 2007-09-15 Eric Blake <ebb9@byu.net>
1309 Provide AC_VERSION, not m4_AUTOCONF_VERSION.
1310 * doc/autoconf.texi (Text processing Macros): Remove mention of
1311 m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
1313 (Notices): Move AC_PREREQ...
1314 (Versioning): ...to this new section, alongside the new AC_VERSION
1315 alias for the undocumented m4_PACKAGE_VERSION.
1316 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
1317 * lib/autoconf/general.m4 (AC_VERSION): New macro.
1318 * NEWS: Update to match this rename.
1319 * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
1321 * tests/tools.at (autoconf: AC_VERSION): New test.
1322 Suggested by Paolo Bonzini and Benoit Sigoure.
1324 2007-09-14 Eric Blake <ebb9@byu.net>
1326 Prepare for conversion to git.
1327 * doc/.cvsignore: Avoid multiple listings on one line.
1328 * bin/.cvsignore: Likewise.
1329 * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
1330 lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
1331 lib/autoscan/.gitignore, lib/autotest/.gitignore,
1332 lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
1333 tests/.gitignore: New files, identical to .cvsignore counterpart.
1335 2007-09-13 Eric Blake <ebb9@byu.net>
1338 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
1340 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
1341 * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
1342 * configure: Regenerate.
1344 Clean up 'make dist' of previous patch.
1345 * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
1346 (CLEANFILES): Don't clean the stamp, since we distribute the
1347 generated files pre-built.
1348 (MAINTAINERCLEANFILES): Clean it here instead.
1349 * tests/Makefile.in: Regenerate.
1351 Avoid parallel 'make check' issue.
1352 * tests/Makefile.am (mktests.stamp): New witness.
1353 (TESTSUITE_GENERATED_AT): Use it.
1354 (CLEANFILES): Clean the witness.
1355 * tests/.cvsignore (mktests.stamp): Ignore the witness.
1357 Document another awk pitfall.
1358 * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
1359 limitation of field variables in END.
1360 Reported by Gary V. Vaughan.
1362 * AUTHORS: Add missing entries.
1364 2007-09-12 Eric Blake <ebb9@byu.net>
1366 Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
1367 * doc/autoconf.texi (Text processing Macros): Document
1368 m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
1369 (Redefined M4 Macros): Document m4_ifndef.
1370 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
1371 can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
1372 used it while it was undocumented.
1373 * NEWS: Document this change.
1374 * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
1375 * lib/m4sugar/Makefile.in: Regenerate.
1376 * tests/m4sugar.at (m4@&t@_version_compare): New test.
1377 Reported by Bruno Haible.
1379 * doc/autoconf.texi (Generic Compiler Characteristics): Add
1380 missing index entries.
1382 2007-09-11 Eric Blake <ebb9@byu.net>
1384 Centralize all system extensions checks.
1385 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
1386 from AC_AIX, AC_GNU_SOURCE, AC_MINIX. Add Interix support.
1387 (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
1388 AC_USE_SYSTEM_EXTENSIONS.
1389 (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
1390 (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
1391 * doc/autoconf.texi (Posix Variants): Reword this section,
1392 emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
1393 rather than a series of system-specific checks.
1394 (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
1396 * NEWS: Document this change.
1398 Reported by Martin Koeppe.
1400 2007-09-08 Eric Blake <ebb9@byu.net>
1402 Clean up obsolete macros references.
1403 * doc/autoconf.texi: Add anchors to support better
1405 (Particular Structures): Move obsolete macros descriptions...
1406 (External Software): Likewise.
1407 (Package Options): Likewise.
1408 (Obsolete Macros): ...to here. Add cross-references to
1409 documentation on replacements.
1410 * NEWS: Mention that these macros have been obsolete for a while
1411 now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
1413 Improve M4 path searching during configure.
1414 * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
1416 (_AC_PATH_PROG_FEATURE_CHECK): Rename...
1417 (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
1418 parameter, and kill side effects.
1419 (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
1420 (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
1421 * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
1423 (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
1424 allow bootstrapping with autoconf 2.61.
1425 * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
1426 * configure: Regenerate.
1427 * doc/autoconf.texi (Generic Programs): Document new macro.
1428 * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
1430 * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
1431 * NEWS: Document the change.
1433 Reported by Hans Aberg.
1435 * doc/autoconf.texi (Generic Programs): Fix typo.
1437 2007-09-06 Eric Blake <ebb9@byu.net>
1439 * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
1440 :, and make it clear that optional @var{path} defaults to $PATH.
1441 (Erlang Compiler and Interpreter): Likewise.
1444 * doc/autoconf.texi: Avoid lines > 80 columns when possible.
1445 Reword some paragraphs to avoid overfull, underfull hbox
1446 warnings. Add index entries to avoid overfull vbox warnings.
1448 2007-09-05 Eric Blake <ebb9@byu.net>
1450 * NEWS: Adjust wording for AC_CONFIG_LINKS.
1451 Reported by Ralf Wildenhues.
1453 2007-09-03 Eric Blake <ebb9@byu.net>
1455 * NEWS: Document fixes that have been applied since 2.61a.
1458 * THANKS: Update, and convert to UTF-8 encoding.
1459 * AUTHORS: Likewise.
1461 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1463 * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
1464 names beginning with `-' again.
1466 2007-08-22 Stepan Kasal <kasal@ucw.cz>
1467 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1469 * doc/autoconf.texi (Defining Directories): Mention
1470 AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
1472 2007-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1474 * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
1475 here, this macro is expanded by AC_INIT. Fixes 2.60 regression.
1476 * tests/base.at (configure arguments): New test.
1478 Report by Olaf Lenz.
1480 * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
1481 arguments in comment.
1482 Report by Vincent Torri <vtorri at univ minus evry dot fr>.
1484 2007-08-20 Benoit Sigoure <tsuna@lrde.epita.fr>
1486 * doc/autoconf.texi (File System Conventions): Index the proper
1487 way of detecting absolute file names.
1489 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1491 * build-aux/config.guess, build-aux/config.sub,
1492 build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
1493 build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
1494 doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
1495 * doc/autoconf.texi (GNU Free Documentation License): Adjust for
1496 sectioning change in fdl.texi.
1498 * bin/autoconf.as: Update --version output to match current GCS.
1499 * bin/autoheader.in: Likewise.
1500 * bin/autom4te.in: Likewise.
1501 * bin/autoreconf.in: Likewise.
1502 * bin/autoscan.in: Likewise.
1503 * bin/autoupdate.in: Likewise.
1504 * bin/ifnames.in: Likewise.
1506 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1508 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
1509 file to itself if source and build trees coincide.
1510 * tests/torture.at (AC_CONFIG_LINKS and identical files): New
1512 Report by Sebastian Freundt <hroptatyr@gna.org>.
1514 2007-07-20 Paul Eggert <eggert@cs.ucla.edu>
1516 Reword the copyright notices to match what's suggested in GPLv3.
1517 In ChangeLog files, use more-permissive notice rather than GPL, as
1518 per usual GNU standards these days.
1520 2007-07-13 Paul Eggert <eggert@cs.ucla.edu>
1522 * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
1523 limitation reported by Leo Moisio in
1524 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
1526 2007-07-03 Paul Eggert <eggert@cs.ucla.edu>
1528 * COPYING: Update to GPLv3. All uses changed.
1530 2007-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1531 and Paul Eggert <eggert@cs.ucla.edu>
1533 * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
1536 2007-06-17 Noah Misch <noah@cs.caltech.edu>
1538 * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
1539 * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
1540 `srcdir' as subdirectory of `builddir'.
1542 2007-06-13 Noah Misch <noah@cs.caltech.edu>
1544 * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
1545 * tests/autotest.at (srcdir propagation): New test.
1547 Reported by Mike Frysinger.
1549 2007-06-13 Paul Eggert <eggert@cs.ucla.edu>
1551 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
1552 Problem reported by Fred Kreek in
1553 <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
1554 * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
1555 (Macro Names, Defining Directories): Don't mention PATH as a name
1556 for a fully qualified file name, as this usage violates the GNU
1557 coding standards and we shouldn't recommend it.
1559 * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
1560 string and then assume shell builtins like "test" will work.
1562 2007-06-12 Noah Misch <noah@cs.caltech.edu>
1564 * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
1565 not a valid shell variable name.
1566 * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
1567 * tests/torture.at (AC_SUBST: variable name validation): New test.
1568 Reported by Andreas Schwab.
1570 2007-06-04 Noah Misch <noah@cs.caltech.edu>
1572 * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
1573 works with both C and C++.
1575 2007-06-03 Noah Misch <noah@cs.caltech.edu>,
1576 Bruno Haible <bruno@clisp.org>
1578 * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
1581 2007-05-31 Paul Eggert <eggert@cs.ucla.edu>
1583 * doc/autoconf.texi (Particular Types): Give example of use for
1586 2007-05-29 Stepan Kasal <kasal@ucw.cz>
1588 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
1590 2007-05-28 Paul Eggert <eggert@cs.ucla.edu>
1592 * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
1593 define HAVE_INT8_T, and likewise for similar macros.
1594 Problem reported by Patrick Welche in
1595 <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
1597 2007-05-25 Noah Misch <noah@cs.caltech.edu>
1599 * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
1601 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
1603 * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
1604 choice, since that's what we do with --enable-largefile etc.
1605 Redo indenting and assignments to simplify things a bit, and make
1606 the parens work with Emacs.
1608 * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
1609 in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
1612 2007-05-21 Noah Misch <noah@cs.caltech.edu>
1614 * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
1615 * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
1617 2007-05-21 Bruno Haible <bruno@clisp.org>
1619 * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
1620 * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
1621 * doc/autoconf.texi (Generic Compiler Characteristics): Move
1622 renamed AC_OPENMP documentation here, from "C compiler".
1623 Mention C++ and Fortran.
1625 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
1627 * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
1629 2007-05-21 Bruno Haible <bruno@clisp.org>
1631 * NEWS: Mention AC_C_OPENMP.
1632 * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
1633 * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
1634 Based in part on Steven G. Johnson's investigations for the AX_OPENMP
1635 macro in the Autoconf macro archive.
1637 2007-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1639 * bin/autom4te.in: Fix typos.
1641 2007-05-16 Noah Misch <noah@cs.caltech.edu>
1643 * bin/autoconf.as: Handle `-' just like other input files.
1644 * bin/autom4te.in (parse_args): Pass `-' through.
1645 (handle_output): Skip the forbidden token search if we read from stdin.
1646 (up_to_date): Always treat stdin as out of date.
1647 * tests/tools.at (autoconf: input from stdin): New test.
1648 (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
1650 2007-05-16 Stepan Kasal <kasal@ucw.cz>
1652 * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
1653 parameters for AT_CLEANUP.
1654 * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
1656 2007-05-14 Paul Eggert <eggert@cs.ucla.edu>
1658 * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
1659 * doc/autoconf.texi (C Compiler): Likewise.
1661 2007-05-14 Noah Misch <noah@cs.caltech.edu>
1663 * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
1665 2007-05-09 Stepan Kasal <kasal@ucw.cz>
1667 * doc/autoconf.texi: Direntry for "autoconf Invocation"
1668 renamed to "autoconf-invocation"
1670 * doc/autoconf.texi (Caching Results): The CACHE-ID variable
1671 in the examples should not use the internal "ac_" prefix.
1673 2007-05-05 Noah Misch <noah@cs.caltech.edu>
1675 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
1676 * doc/autoconf.texi ($@, case): Document Zsh limitations.
1678 2007-05-03 Stepan Kasal <kasal@ucw.cz>
1680 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
1681 Reorganize the comments before and in the macro.
1683 2007-05-02 Stepan Kasal <kasal@ucw.cz>
1685 * lib/autoconf/lang.m4, lib/autoconf/c.m4,
1686 lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
1687 section titles and other comments; no code change.
1689 2007-05-01 Kevin Ryde <user42@zip.com.au>
1691 * doc/autoconf.texi (Particular Programs): Typo
1692 @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
1694 2007-04-30 Paul Eggert <eggert@cs.ucla.edu>
1696 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
1697 'configure' will fail if the shell lacks proper support for shell
1698 functions. Suggested by RMS.
1700 2007-04-29 Paul Eggert <eggert@cs.ucla.edu>
1702 * doc/autoconf.texi (Limitations of Builtins): Correct the warning
1703 about Solaris /bin/printf '%010000x' 123. Problem reported by
1706 2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
1708 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
1709 for a.* when searching for executables, as this prevents users
1710 from having files like a.c. Problem reported by Ralf Wildenhues in:
1711 http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
1712 This fixes a problem introduced on 2000-12-19.
1714 2007-04-26 Paul Eggert <eggert@cs.ucla.edu>
1716 * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
1717 /bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko
1720 2007-04-12 Paul Eggert <eggert@cs.ucla.edu>
1722 * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
1723 AC_CHECK_TYPE, AC_CHECK_TYPES.
1724 * doc/autoconf.texi (Generic types): C types must be type-names
1725 (the C terminology), not type-ids (the C++ term). C++ types
1726 must not be anonymous.
1727 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
1728 for C++; this drops support for anonymous struct and union types,
1729 which were problematic anyway.
1730 * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
1733 2007-04-12 Jim Meyering <jim@meyering.net>
1735 * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
1737 2007-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1739 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
1740 to prefer a link source from the build tree, if it exists.
1741 Report by Pallav Gupta <pallavgupta@gmail.com>.
1743 2007-04-11 Paul Eggert <eggert@cs.ucla.edu>
1745 * doc/autoconf.texi (Generic Types): Document the restrictions
1746 on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
1747 (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
1748 with objects too. Document the restrictions on its use.
1749 Document the restrictions on AC_CHECK_ALIGNOF's type argument.
1750 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
1751 For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
1752 works but the latter doesn't, then it's a valid type.
1753 This lets people use function types and so forth.
1754 For C++ there doesn't seem to be a simple solution, so leave it alone.
1755 (AC_CHECK_SIZEOF): Allow argument to be a variable.
1756 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
1757 AC_CHECK_TYPE; that wasn't documented or necessary.
1759 2007-04-11 Stepan Kasal <kasal@ucw.cz>
1761 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
1762 when cross-compiling.
1764 2007-04-11 Stepan Kasal <kasal@ucw.cz>
1766 * doc/autoconf.texi (External Software): Fix a typo in the
1769 2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1771 * doc/autoconf.texi (External Software, Package Options):
1772 Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
1774 2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
1776 * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
1777 obsolescent. Suggested by Bruno Haible.
1778 * NEWS: Document this.
1780 2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
1782 * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
1783 (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
1784 default still has the problem. Problem reported by Bruce Korb.
1786 2007-03-28 Stepan Kasal <kasal@ucw.cz>
1787 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1789 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
1790 comment in the generated config.status.
1792 2007-03-27 Stepan Kasal <kasal@ucw.cz>
1794 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
1796 2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
1798 * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
1799 command and case statements to make it a bit clearer and describe
1802 2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
1804 * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
1805 checks for unsigned long long int.
1807 2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
1809 * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
1810 nonstandard grep R.E. escape sequences.
1812 2007-03-17 Jim Meyering <jim@meyering.net>
1814 * doc/autoconf.texi: Adjust grammar around use of "heuristics".
1815 (Limitations of Usual Tools): Also list \< and \>, and mention that
1816 HP-UX's grep, like the one from Solaris, does not support that syntax.
1818 2007-03-09 Stepan Kasal <kasal@ucw.cz>
1820 * doc/autoconf.texi (Specifying Names): `--host' does not
1821 change the build type.
1823 2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
1825 * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
1826 suggests AC_CONFIG_HEADERS.
1827 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
1828 AC_CONFIG_HEADERS. Problem reported by
1831 2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
1833 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
1834 Problem reported by Paolo Bonzini in:
1835 http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
1836 * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
1837 universal binaries. Problem reported by Elias Pipping.
1839 2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
1841 * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
1842 * doc/autoconf.texi (C Compiler): Document this. There is a new
1843 extra argument ACTION-IF-UNIVERSAL.
1844 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
1845 Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
1846 Reindent for sanity's sake.
1848 2007-02-24 Eric Blake <ebb9@byu.net>
1850 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
1852 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1853 * lib/autotest/general.m4 (AT_INIT): Likewise.
1854 (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
1856 2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1858 * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
1859 status of rm so we know when it failed.
1860 If cleaning of test dir failed before running the test, warn.
1861 Output the line separator in verbose mode before the warning
1862 to make clear the warning belongs to the following test.
1864 2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
1866 * doc/autoconf.texi (Parentheses): Mention problem with (( in
1869 2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1870 and Paul Eggert <eggert@cs.ucla.edu>
1872 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
1873 errors introduced in last change.
1875 2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
1877 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
1878 an actual carriage return. Use "ac_cr" to contain the actual
1880 * doc/autoconf.texi (Limitations of Usual Tools): Document problem
1881 with traditional Awk and begin.
1882 * tests/torture.at (Limitations of Builtins): Document the problem
1883 with Bash 2.03 printf.
1884 (Substitute and define special characters):
1885 Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
1887 2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
1889 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
1890 input from /dev/null in awk test, so even Solaris /usr/bin/awk
1891 will not wait for input with a script containing only a BEGIN
1894 2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
1896 * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
1900 2007-02-02 Eric Blake <ebb9@byu.net>
1902 * NEWS: Update copyright.
1904 * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
1906 * configure.ac: Update error message.
1907 * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
1908 Reported by Gary Vaughan and Jim Meyering, and problem analyzed
1910 http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
1912 2007-01-31 Eric Blake <ebb9@byu.net>
1914 * THANKS (people): Update.
1916 2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
1918 * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
1920 (Shell Substitutions): Note problems with @{var:=value} etc.
1921 Add a new section for problems with @{#var} etc. Problem noted
1922 by Ralf Wildenhues. See:
1923 http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
1925 2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1927 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
1928 AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
1929 trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
1930 substitution will still be done by the special code.
1931 Report by Jim Meyering.
1933 * doc/autoconf.texi (File System Conventions): Mention that
1934 $PATH_SEPARATOR is for the build system only.
1935 Report by Keith Marshall.
1937 2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1939 * doc/autoconf.texi (Setting Output Variables): Mention that
1940 all non-NUL characters are ok in substituted values.
1941 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
1942 (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
1943 carriage return for $AWK, needed for BSD awk.
1944 * tests/torture.at (Substitute and define special characters):
1945 Test all 8 bit non-NUL characters.
1946 Report against Automake by Patrick Welche.
1948 2007-01-15 Stepan Kasal <kasal@ucw.cz>
1950 * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
1952 2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1954 * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
1955 early on the reader side, drop stderr of the input to avoid
1956 `broken pipe' error output; this may happen even with shell
1957 builtin `echo' of some bash versions. Reports by Ian Macdonald
1958 <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
1960 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1962 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
1963 separate items of `ac_user_opts', to avoid long lines.
1964 (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
1966 2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1968 * doc/autoconf.texi: Fix some typos.
1970 2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
1972 Fix some wording problems noted by Paolo Bonzini in:
1973 http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
1974 * doc/autoconf.texi (Signed Overflow Examples): Give more
1975 discussion about the allow_superuser_privileges example,
1976 and change it a bit to make things clearer.
1977 (Optimization and Wraparound): Clarify whether the compiler
1978 will generate an infinite loop for the example derived from
1979 Autoconf's mktime test.
1980 (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
1981 Also, clarify unsigned multiplication overflow.
1983 2007-01-04 Eric Blake <ebb9@byu.net>
1985 * bin/Makefile.am (RELEASE_YEAR): New macro.
1986 (edit): Use it to supply correct copyright year to scripts.
1987 * bin/autoconf.as (version): Use it.
1988 * bin/autoheader.in ($version): Likewise.
1989 * bin/autom4te.in ($version): Likewise.
1990 * bin/autoreconf.in ($version): Likewise.
1991 * bin/autoscan.in ($version): Likewise.
1992 * bin/autoupdate.in ($version): Likewise.
1993 * bin/ifnames.in ($version): Likewise.
1995 2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
1997 * doc/autoconf.texi (Integer Overflow): Revised based on today's
1998 feedback. The most important changes document what happens when
1999 you convert an out-of-range value to a signed integer type, and
2000 say that (sum < a) != (b < 0) reliably detects overflow when sum =
2003 * doc/autoconf.texi (Integer Overflow): Greatly expand and
2004 rewrite, taking notions from the recent discussion on the gcc and
2005 autoconf mailing lists; please see
2006 http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
2007 and follow the many links.
2008 (Integer Overflow Basics, Signed Overflow Examples):
2009 (Optimization and Wraparound, Signed Overflow Advice):
2010 (Signed Integer Division): New sections.
2012 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
2014 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
2015 preprocessor macro arguments in traced name.
2016 * doc/autoconf.texi (Defining symbols): Document longstanding
2017 support for AC_DEFINE-ing macros with arguments, and document
2018 behavior when the same variable has multiple AC_DEFINEs.
2019 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
2020 old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
2021 macros directly, giving much shorter and simpler code.
2023 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
2025 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
2026 space before "$ac_configure_args" to prevent a 'config.status
2027 --recheck' failure if ac_configure_args doesn't contain a leading
2028 space. This works around a problem with the XEmacs configure.ac,
2029 which uses the (undocumented) ac_configure_args variable
2030 inconsistently with Autoconf.
2032 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
2034 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
2035 Include <limits.h>, and use its INT_MAX to rewrite the
2036 j loop so that it does not overflow 'int'. Problem reported by
2038 <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
2039 Play it safe by shifting left by 1 rather than multiplying by 2,
2040 as GCC is less likely to optimize this away when the value
2041 is signed (when it assumes overflow leads to undefined behavior).
2042 Also, don't assume time_t uses two's complement.
2044 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2046 * tests/torture.at (Substitute a 2000-byte string): Avoid using
2047 a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
2048 dumps core on it. Report by Tim Rice.
2050 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
2052 * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
2053 --disable-option-checking to --help output even when
2054 AC_PRESERVE_HELP_ORDER is not used.
2055 (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
2056 --with argument, rather than argument with [-.] replaced by
2058 * NEWS: Fix typo in previous change; the news was in the
2061 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
2063 * NEWS: Warnings are now generated by default for unknown
2064 --enable-* and --with-* options.
2065 * doc/autoconf.texi (Option Checking): Renamed from
2066 (Configure Option Checking). Tighten up the wording a bit.
2067 (External Software, Package Options): Cross-reference to Option
2068 Checking, and use this to shorten our section.
2069 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
2070 "$x" to test "x$foo" != x.
2071 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
2072 Don't warn if $enable_option_checking is "no".
2073 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
2074 ac_unrecognized_opts to the empty string.
2075 Don't echo the unrecognized opts, as this might mishandle
2076 backslashes or leading -.
2077 (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
2078 usage next to the other --disable-FEATURE options in the
2081 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
2083 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
2084 (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
2085 Print warning for unrecognized --with and --enable options
2086 (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
2087 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
2088 Disable option checking when subdirs are configured.
2089 (AC_OUTPUT): If warnings are enabled, print warning about
2090 unrecognized --with and --enable options at the end of
2091 the configure output (as well as at the beginning).
2092 * doc/autoconf.texi (Option Checking): New node.
2093 Document new option warning functionality.
2095 2006-12-16 Eric Blake <ebb9@byu.net>
2097 * configure.ac (AC_INIT): Bump version, since 2.61a is released.
2098 * NEWS: Start news for current version.
2100 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
2102 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
2103 Define HAVE_GETMNTENT to 1, not to the empty string.
2104 Problem originally reported by Jochen Friedrich in
2105 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
2107 This change prompted by a problem report by Andrey Simonenko in
2108 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
2109 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
2110 object-like macros only, in the traditional portable character
2112 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
2113 Warn about attempts to define things that are not identifiers.
2114 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
2115 awful hack that AC_DEFINEd macro names containing parentheses.
2117 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
2119 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
2120 too drastic, even if Texinfo in theory requires it for info mode.
2122 (config.status Invocation): Renamed back from Recreating a
2124 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
2125 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
2127 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
2129 * NEWS: Version 2.61a.
2131 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
2132 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2134 * NEWS: Document changes with echo and printf, and the lack
2135 of limits on the total size of multi-line values of substituted
2136 variables, and the AC_FUNC_FSEEKO fix.
2138 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
2140 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
2141 Writing configure.ac.
2142 (Autoconf Input Layout): Renamed from configure.ac Layout.
2143 (Recreating a Configuration): Renamed from config.status Invocation.
2144 (Obsolete Recreation): Renamed from Obsolete config.status Use.
2145 (acconfig Header): Renamed from acconfig.h.
2146 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
2147 (Writing Testsuites): Renamed from Writing testsuite.at.
2148 (Autom4te Cache): Renamed from autom4te.cache.
2150 * BUGS: Remove mention of VPATH problem, since it's now documented
2151 not to be a bug in the Autoconf build procedure itself, but rather
2152 a problem with the proprietary `make' programs.
2154 * doc/autoconf.texi (Build Directories): Add a cross reference
2157 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
2158 * doc/standards.texi: Sync from gnulib.
2160 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
2161 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
2162 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
2163 generated automatically.
2165 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
2167 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
2168 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
2169 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
2171 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2173 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
2174 `CEOF$ac_eof' special marker, the awk script cannot contain a
2175 line matching `^CEOF', so this is not needed any more.
2176 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
2177 special marker in the test.
2179 2006-12-06 Stepan Kasal <kasal@ucw.cz>
2181 * tests/tools.at (autom4te preselections): Use `find -newer';
2182 remove one of the sleeps.
2184 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
2185 more readable, using ...
2186 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
2188 * doc/autoconf.texi (autoheader Invocation): Do not double-
2189 quote the parameter of `AH_BOTTOM' in the example.
2191 2006-12-05 Stepan Kasal <kasal@ucw.cz>
2193 * doc/autoconf.texi (Configuration Headers): Remove the
2194 example with multiple input files.
2195 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
2196 multiple input files.
2198 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2200 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
2201 creating the awk substitution script, handle one input line at a
2202 time, so that the maximum length of a substituted (multi-line)
2203 value is not limited by the size of the sed pattern space.
2204 The trade-off is a slightly repetitive sed script.
2205 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
2206 can only have up to 7 characters, due to Solaris 10 /bin/sed.
2207 * tests/torture.at (Substitute a 2000-byte string): Increase the
2208 test with several long lines, they should not be caught by sed
2211 * tests/tools.at (autom4te preselections): New test, to flag
2212 entries missing from autom4te.cfg.
2213 Report by David Byron <dbyron@hheld.com>.
2215 * tests/torture.at (Substitute a 2000-byte string): Actually use
2216 AC_PROG_AWK, so the last change works as intended.
2217 (Substitute and define special characters): Likewise.
2218 (Substitute a newline): Likewise.
2220 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
2221 instead of `awk' consistently.
2222 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
2223 * tests/torture.at (Torturing config.status): Test both the
2224 result of AC_PROG_AWK and plain awk.
2225 (Substitute a 2000-byte string): Likewise.
2226 (Substitute and define special characters): Likewise.
2227 (Substitute a newline): Likewise.
2229 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
2231 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
2232 can be assigned to a function pointer. Problem reported by
2233 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
2234 part of a patch by Ralf Wildenhues in that same bug report.
2236 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
2238 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
2239 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
2241 2006-12-01 Eric Blake <ebb9@byu.net>
2243 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
2244 cross-compiling from cygwin to mingw.
2245 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
2246 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
2247 to lib/autoconf/c.m4.
2249 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2251 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
2252 string for more reliable failure. Wrap the entire test that
2253 causes the broken Solaris printf to dump core, in a subshell,
2254 so the segmentation fault message is reliably suppressed.
2255 Fix shell expansion errors by using /usr/ucb/echo always;
2256 avoid an error on systems without it by another subshell.
2257 Avoid m4 expansion of `$1'. Set the zeroth argument of the
2258 subshell-$as_echo to `as_echo', for better error message.
2260 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2262 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
2263 `BASH_SOURCE' contain a newline, set them to empty, as they may
2266 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
2268 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
2269 years and is too hard to maintain now. The last straw was
2270 reported by Jerker Baeck in
2271 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
2272 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
2273 * doc/autoconf.texi (Particular Functions): Move
2274 AC_FUNC_SETVBUF_REVERSED from here...
2275 (Obsolete Macros): ... to here. Say that it does nothing now.
2276 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
2277 Turn into (almost) a no-op.
2279 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
2281 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
2282 These macros are obsolescent and new applications shouldn't need them.
2283 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
2284 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
2285 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
2286 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2287 (AC_FUNC_VPRINTF): Likewise.
2288 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
2289 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
2290 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
2292 * doc/autoconf.texi (Setting Output Variables): Mention that
2293 @VAR1@VAR2 has unspecified behavior. Problem reported by
2295 * NEWS: Mention this.
2297 * Makefile.am: Put only a single '#' into the copyright notice,
2298 so that it's also present in the output file. Standardize wording
2299 in makefile copyright notices to match GNU coding standards.
2300 * bin/Makefile.am: Likewise.
2301 * doc/Makefile.am: Likewise.
2302 * lib/Makefile.am: Likewise.
2303 * lib/freeze.mk: Likewise.
2304 * lib/autoconf/Makefile.am: Likewise.
2305 * lib/autoscan/Makefile.am: Likewise.
2306 * lib/autotest/Makefile.am: Likewise.
2307 * lib/m4sugar/Makefile.am: Likewise.
2308 * man/Makefile.am: Likewise.
2309 * tests/Makefile.am: Likewise.
2310 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
2313 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2315 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
2316 in the sed script that mangles the awk script: delete up to the
2317 first exclamation mark only.
2318 * tests/torture.at (Substitute and define special characters):
2321 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2323 Rewrite config files generation: avoid quadratic growth in
2324 the number of substituted variables by using awk instead of sed
2325 for the bulk of the substitutions.
2326 * NEWS: Mention this.
2327 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
2328 forbidden in the output (and thus input) file.
2329 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
2330 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
2331 generate just one large awk script for substitutions,
2332 eliminating much of the earlier complexity, while adding some
2333 new complexity. Only expand the substitution templates at
2334 configure time, for smaller configure script size. If
2335 _AC_SUBST_FILES are used, test 'awk' for working getline support
2336 at config.status time. If absent, interpolate through the
2337 shell. The awk script was written with much help
2338 from Paolo Bonzini and Paul Eggert.
2339 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
2340 (_AC_SED_FRAG_NUM): Likewise.
2341 (_AC_SUBST_CMDS): Renamed from...
2342 (_AC_SED_CMDS): ...this.
2343 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
2344 * tests/torture.at (Substitute a 2000-byte string): Also
2345 substitute a line with 1000 words, and a variable with several
2347 (Substitute and define special characters): Test awk special
2348 characters, and put substitution input strings `@foo@' in the
2349 output, to test that no recursion happens; test several other
2350 combinations from Paolo Bonzini.
2352 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
2354 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
2355 that replaced echo with AS_ECHO where this wasn't necessary.
2356 Problem reportd by Ralf Wildenhues.
2357 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
2358 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
2359 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
2361 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2363 * lib/freeze.mk (GREP): Removed, no need to initialize this.
2365 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
2367 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
2368 that traditional Awk lacks 3-arg "split". It has it.
2369 Mention that FS must be a single character, and a few other
2370 99-byte limits of traditional Awk.
2371 Mention that if (i in a) doesn't work with traditional Awk.
2373 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
2375 * tests/autotest.at (BSx641-newline in command):
2376 (BS-BS-newline in command, BSx640-newline in command):
2377 (Newline-CODE-BS-newline in command):
2378 (Single-quote-BS-newline in command):
2379 (Single-quote-newline-BS-newline in command):
2380 Use printf '%s\n' instead of echo, for portability to hosts
2381 where echo interprets backslashes. This will break on hosts
2382 that lack printf, but for now let's assume all such hosts
2383 are dead (if not, we should get reports of test failures).
2385 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
2387 'echo' has some portability problems, when given a first argument
2388 with a leading '-', or when given any argument containing '\'.
2389 Avoid using 'echo' in these cases.
2390 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
2391 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
2392 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2393 * lib/autotest/general.m4 (AT_INIT): Likewise.
2394 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
2395 argument might be unportable.
2396 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
2397 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
2398 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
2399 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
2400 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
2401 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
2402 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
2403 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
2404 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
2405 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
2406 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
2407 (AC_PROG_MAKE_SET): Likewise.
2408 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
2409 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
2410 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
2411 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
2412 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
2413 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
2414 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
2415 * bin/autoconf.as: Redo verbose flag implementation, as the old
2416 scheme wouldn't work with AS_ECHO.
2417 * lib/autotest/general.m4 (AT_INIT): Likewise.
2418 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
2419 Don't use ECHO_T, since ECHO_N is now reliable.
2420 * lib/autotest/general.m4 (AT_INIT): Likewise.
2421 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
2422 rather than using a here-document to put the script into a file.
2423 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
2425 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
2426 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
2427 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
2428 bug, but we might as well stop using ECHO_N and ECHO_C internally.
2429 * lib/autotest/general.m4 (AT_SETUP): Likewise.
2430 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
2431 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2432 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
2433 operand, as AS_ECHO requires. Avoid double file name expansion.
2434 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
2435 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
2436 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
2437 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
2438 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2439 Double-quote strings that would otherwise contain M4 comments.
2440 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
2442 * configure.ac (AC_INIT): Bump to 2.61a.
2445 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
2449 * configure.ac (AC_INIT): Bump to 2.61.
2452 * tests/autotest.at (Macro with backslash in a test title):
2453 Comment out for now, as this tests neither fails nor passes
2454 reliably. Problem reported by Ralf Wildenhues.
2456 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
2458 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
2459 in previous change, which caused test failures.
2461 2006-11-16 Stepan Kasal <kasal@ucw.cz>
2463 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
2464 code for --enable, --disable, --with, and --without to...
2465 (_AC_INIT_PARSE_ENABLE): ... a new macro.
2466 * doc/autoconf.texi (Package Options):
2467 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
2469 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
2471 Import these changes from config via gnulib:
2473 2006-11-15 Ben Elliston <bje@gnu.org>
2475 From Josselin Mouette <joss@debian.org>:
2476 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
2478 2006-11-08 Ben Elliston <bje@gnu.org>
2480 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
2482 2006-11-07 Steve Woodford <scw@NetBSD.org>
2483 Ben Elliston <bje@gnu.org>
2485 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
2486 * build-aux/config.sub (sh5el): New basic_machine.
2489 Import this change from coreutils:
2491 2006-02-13 Jim Meyering <jim@meyering.net>
2493 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
2496 Import this change from gnustandards via gnulib:
2498 2006-11-15 Karl Berry <karl@gnu.org>
2500 * standards.texi: core -> memory, throughout.
2501 (CPU Portability): show correct example of calling write
2502 on a char value; thanks to Paul Eggert for the code.
2503 Both of these suggestions from Eugene Y. Vasserman.
2506 Import these changes from texinfo via gnulib:
2508 2006-11-08 Karl Berry <karl@gnu.org>
2510 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
2511 as well as pdf images, since they are supported in pdftex with
2514 2006-11-05 Karl Berry <karl@gnu.org>
2516 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
2518 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
2520 * NEWS: Document the AC_ARG_WITH change.
2522 2006-11-13 Bruno Haible <bruno@clisp.org>
2524 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
2525 options, transliterate also dots to underscores.
2526 (_AC_ENABLE_IF): Transliterate also dots to underscores.
2527 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
2528 first argument may also contain dots.
2530 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
2532 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
2533 benefit of platforms like Solaris+GCC where it is common to have a
2534 non-working g++ installation.
2536 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2537 and Joel E. Denny <jdenny@ces.clemson.edu>
2538 and Paul Eggert <eggert@cs.ucla.edu>
2540 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
2541 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
2544 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
2546 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
2547 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
2548 Imported from a similar patch to gnulib by Bruno Haible.
2550 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
2552 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
2553 * doc/autoconf.texi (C Compiler): Document them.
2554 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
2555 New macros, taken from gnulib.
2557 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
2559 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
2560 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
2563 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2565 * tests/torture.at (Configuring subdirectories): Do not skip
2566 Automake 1.10 nor future Automake 11.1 (sic).
2568 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
2569 and Stepan Kasal <kasal@ucw.cz>
2571 Handle special characters in test case titles correctly.
2572 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
2574 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
2575 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
2576 argument. Extend to check titles printed by ./micro-suite and
2577 ./micro-suite -l and the title in micro-suite.log.
2578 (Backquote in a test title,
2579 Single-quote in a test title,
2580 Double-quote in a test title): Don't expect failure anymore.
2581 (Backslash in a test title): Put a non-whitespace character after the
2582 backslash so that Bourne shells might actually see it as an escape
2584 (Brackets in a test title,
2585 Pound in a test title,
2586 Comma in a test title,
2587 Quoted Macro in a test title,
2588 Macro in a test title,
2589 Macro with single-quote in a test title): New tests.
2590 (Macro with backquote in a test title,
2591 Macro with double-quote in a test title,
2592 Macro with backslash in a test title): New tests expected to fail.
2593 * tests/torture.at (#define header templates): M4-quote this title in
2594 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
2595 The visible effect was a stray [] in the testsuite output.
2597 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2599 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
2600 `trap ... 0' inside a function, for AIX sh.
2602 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
2604 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
2605 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
2606 5363) simply issues a warning when dividing by zero at compile
2607 time. Problem reported by Elias Pipping.
2609 2006-10-26 Eric Blake <ebb9@byu.net>
2612 * doc/autoconf.texi (Evaluation Macros): Improve the example to
2613 show effect on macros that expand with commas.
2614 Reported by Joel E. Denny.
2616 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2617 Also work with M4 1.4.8.
2619 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
2621 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
2624 2006-10-25 Stepan Kasal <kasal@ucw.cz>
2626 * tests/tools.at (autom4te --force): New test, verifies that
2627 `--force' always rewrites the output file.
2629 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
2631 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
2632 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
2634 2006-10-24 Stepan Kasal <kasal@ucw.cz>
2636 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
2638 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
2640 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2641 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
2642 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
2643 reported by Nelson H. F. Beebe for Coreutils 6.4.
2645 * tests/tools.at (autoconf --trace: user macros): Remove test
2646 for tracing multiline macros, since m4 1.4.7a uses a different
2647 way to number lines. Problem reported by Ralf Wildenhues.
2649 2006-10-24 Stepan Kasal <kasal@ucw.cz>
2651 * bin/autom4te.in (handle_m4): Do not redirect stdin to
2652 /dev/null since the heuristics for interactive behaviour was
2655 * bin/autom4te.in: With --force, always refresh the output
2656 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
2658 * bin/autoconf.as: Fix the verbose message at the end.
2660 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
2662 * configure.ac (AC_INIT): Bump to 2.60c.
2665 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
2667 * NEWS: Version 2.60b.
2669 Import this change from Texinfo:
2670 2006-10-15 Karl Berry <karl@gnu.org>
2671 * build-aux/texinfo.tex: automake 1.10
2673 * NEWS: Remove AC_CACHE_CHECK_INT.
2674 * doc/autoconf.texi (Caching Results): Likewise.
2675 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
2676 AC_CACHE_CHECK_INT, since it's no longer public.
2677 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
2678 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
2680 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2682 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
2684 2006-10-19 Eric Blake <ebb9@byu.net>
2686 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
2687 (m4_maketemp): Avoid warnings with M4 1.9a.
2688 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
2690 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
2693 2006-10-16 Eric Blake <ebb9@byu.net>
2695 * doc/autoconf.texi (Setting Output Variables): Fix typo.
2697 * bin/autoconf.as (version): Reword to match GNU Coding
2699 * bin/autoheader.in (version): Likewise.
2700 * bin/autom4te.in (version): Likewise.
2701 * bin/autoreconf.in (version): Likewise.
2702 * bin/autoscan.in (version): Likewise.
2703 * bin/autoupdate.in (version): Likewise.
2704 * bin/ifnames.in (version): Likewise.
2706 2006-10-14 Stepan Kasal <kasal@ucw.cz>
2708 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
2709 looking for special shell characters.
2710 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
2711 macro defined by AS_VAR_PUSHDEF before passing it as a
2713 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
2714 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
2715 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
2716 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
2717 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
2719 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
2721 * tests/m4sh.at (AS_LITERAL_IF): New test.
2723 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
2725 (Imported from Automake.)
2726 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
2727 which incorrectly sets the mode of an existing destination
2728 directory. In some cases the unpatched install-sh could do the
2729 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
2730 system. We hope this is rare in practice, but it's clearly worth
2731 fixing. Problem reported by Alex Unleashed in
2732 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
2733 Also, don't bother to check for -m bugs unless we're using -m;
2734 suggested by Stepan Kasal.
2736 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
2738 Import this change from Automake:
2740 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
2741 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
2742 is enabled by default with gnu and gnits strictness.
2743 Report from Bruno Haible.
2745 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
2746 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
2747 gnu and gnits modes.
2749 Import this change from Config:
2751 2006-09-20 Ben Elliston <bje@gnu.org>
2752 * build-aux/config.sub (score, score-*): New.
2754 Import this change from Gnulib:
2756 2006-09-16 Karl Berry <karl@gnu.org>
2757 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
2758 to avoid sectioning errors.
2760 Import these changes from Texinfo:
2762 2006-10-04 Karl Berry <karl@gnu.org>
2763 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
2764 (\quoteexpand): rename to \rquoteexpand.
2765 (\codequoteleft): new def, to look for @set codequotebacktick.
2766 (\lquoteexpand, \quoteexpand): new defs.
2767 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
2768 (\code): must use new \...Char values, since now ` is active.
2770 2006-08-26 Karl Berry <karl@gnu.org>
2771 * build-aux/texinfo.tex (\textdegree): New command.
2773 2006-08-12 Karl Berry <karl@gnu.org>
2774 * build-aux/texinfo.tex (error \box0): smaller font.
2776 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2778 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
2780 2006-10-13 Stepan Kasal <kasal@ucw.cz>
2782 * doc/autoconf.texi (Autoheader Macros): Warn that the text
2783 added to the template can get mangled.
2785 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2787 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
2788 include the default headers, and redefine obstack_chunk_alloc
2789 and obstack_chunk_free. Fixes false failure with glibc.
2791 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
2793 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
2794 for backward compatibility with Libtool 1.5.22. Problem reported
2797 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2799 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
2801 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
2803 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
2805 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
2806 the NonStop platform.
2807 * doc/autoconf.texi (Posix Variants): Likewise.
2808 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
2810 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
2811 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
2812 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
2813 Use a better substitute, by inspecting the output of "ls"
2814 rather than just using ":".
2815 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
2816 rather than AS_EXECUTABLE_P, since we needn't worry about
2817 non-regular files here.
2819 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
2820 due to configuration hassles with this. See Tonya Underwood's report
2821 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
2822 * doc/autoconf.texi (Special Shell Variables): Likewise.
2824 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
2825 Stepan Kasal <kasal@ucw.cz>
2827 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
2828 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
2830 2006-10-11 Stepan Kasal <kasal@ucw.cz>
2832 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
2833 initialization which is not inherited through the environment
2834 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
2835 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
2837 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
2839 * doc/autoconf.texi (Limitations of Usual Tools): Describe
2840 problems with mkdir -p -m.
2842 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
2844 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
2845 comment about ac_cpp_err; it was incorrect, and anyway
2846 ac_cpp_err is being removed below.
2847 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
2848 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
2849 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
2851 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
2852 with werror_flag and conftest.err and so forth. This is more
2853 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
2854 and anyway the user shouldn't normally want to see this gorp logged.
2855 Problem reported by Ralf Wildenhues.
2856 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
2857 empty, not 'no', since the rest of the code uses 'test -z'.
2859 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
2861 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2862 Use a single call to AC_DO_TOKENS rather than multiple, for
2864 (_AC_LINK_IFELSE): Test that resulting file is executable.
2865 Problem reported by mwoehlke in
2866 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
2868 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
2869 than creating a file to use with test -x; this is much faster.
2871 2006-10-02 Bruno Haible <bruno@clisp.org>
2873 * lib/autom4te.in (Automake-preselections): Add
2874 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
2876 2006-09-27 Stepan Kasal <kasal@ucw.cz>
2878 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
2879 standard error, `experr' should be used, not `expout'.
2881 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
2883 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
2884 fseeko testing program twice; just use the earlier result.
2885 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2886 Set cache var to 'unknown' (not 'no') if leaving the macro unset
2887 still doesn't let the program compile.
2888 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
2891 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
2892 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
2893 include it, without including anything else.
2894 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
2896 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
2898 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2900 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
2901 `error.h', and include it, for a `error_at_line' prototype.
2902 Use a nonempty format string in the link test.
2903 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
2904 for a declaration of wait3.
2906 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
2908 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
2909 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
2910 can apply to constants too, and that it checks for macro defns.
2911 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
2912 and simply cast the identifier to void. This handles structure
2913 values. Problem reported by Ralf Wildenhues.
2914 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
2916 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2918 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
2919 structure, and function symbols.
2921 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2923 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
2926 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
2928 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
2930 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2932 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
2933 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2935 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
2936 warnings (uninitialized value).
2937 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
2939 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
2941 (AC_STRUCT_TM): Likewise, avoid unused variables.
2943 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2945 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
2946 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
2947 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
2948 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
2949 Report by Olly Betts.
2951 2006-09-19 Eric Blake <ebb9@byu.net>
2953 * m4/m4.m4: Change copyright.
2954 * configure: Regenerate.
2955 * Makefile.in: Likewise.
2956 * bin/Makefile.in: Likewise.
2957 * doc/Makefile.in: Likewise.
2958 * lib/Makefile.in: Likewise.
2959 * lib/Autom4te/Makefile.in: Likewise.
2960 * lib/autoconf/Makefile.in: Likewise.
2961 * lib/autoscan/Makefile.in: Likewise.
2962 * lib/autotest/Makefile.in: Likewise.
2963 * lib/emacs/Makefile.in: Likewise.
2964 * lib/m4sugar/Makefile.in: Likewise.
2965 * man/Makefile.in: Likewise.
2966 * tests/Makefile.in: Likewise.
2968 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
2969 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
2970 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
2971 --error-output, to avoid warnings with M4 2.0.
2973 2006-09-19 Stepan Kasal <kasal@ucw.cz>
2975 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
2976 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
2977 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
2979 2006-09-15 Stepan Kasal <kasal@ucw.cz>
2981 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
2982 expansion of AC_CHECK_FUNCS.
2984 2006-09-14 Stepan Kasal <kasal@ucw.cz>
2986 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
2987 mistaken comment: the path has to be relative; do not use
2988 the path at runtime.
2990 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2992 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
2993 argument to `--prefix' for sub-configure scripts.
2994 Pass `--silent' to sub-configure scripts.
2995 * tests/torture.at (Configuring subdirectories): Add tests
2997 * doc/autoconf.texi (Setting Output Variables): Fix example to
2998 not show `--silent' being passed to a `configure' re-run.
3000 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
3002 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
3003 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
3004 for the existence of the directory at configure-time. That's
3005 too late, anyway. Problem reported by Stefan Seefeld.
3007 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
3008 7.1.4 /usr/bin/posix/sh described by Tim Rice in
3009 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
3011 2006-09-11 Stepan Kasal <kasal@ucw.cz>
3013 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
3014 works with GNU M4 1.4.3 again; make the normalized form
3015 match the current m4 message; fix the description.
3016 * test/tools.at (autom4te cache): Adapt to the change.
3018 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
3020 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
3021 to catch glibc bug 2821
3022 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
3024 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
3025 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
3026 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
3029 2006-09-08 Stepan Kasal <kasal@ucw.cz>
3031 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
3033 (Autoconf): ... here.
3034 (Autoscan-preselections): Delete.
3036 2006-09-07 Stepan Kasal <kasal@ucw.cz>
3038 * lib/autom4te.in (Automake-preselections): Preselect
3041 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
3043 * doc/autoconf.texi (Preset Output Variables): srcdir and
3044 top_srcdir are not necessarily relative. Problem reported
3047 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3049 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
3050 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
3051 accept files with extension `.f'. For consistency, also prefer
3053 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
3056 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3058 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
3059 of ERLANG_LIB_VER_* variables.
3060 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
3063 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
3064 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3066 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
3067 bugs of Bash 2.01 and 2.05a.
3068 (Fortran Compiler): Document that AC_PROG_CC should be called
3069 before AC_PROG_FC, due to a bug in Autoconf.
3071 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
3073 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
3074 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
3075 except the first two arguments are reversed.
3076 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
3077 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
3078 caches nor outputs a diagnostic. Suggested by Bruno Haible.
3079 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
3080 equivalent to the old AC_COMPUTE_INT.
3081 (AC_COMPUTE_INT): No longer caches or reports. New signature.
3082 All uses changed to AC_CACHE_CHECK_INT.
3083 * tests/base.at (AC_CACHE_CHECK_INT): New test.
3084 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
3086 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
3088 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
3089 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
3090 programs should use their Gnulib counterparts.
3091 * doc/autoconf.texi (Particular Functions): Likewise.
3092 (Macro Names, testsuite Invocation): Replace uses of these
3093 obsolete macros with uses of non-obsolete macros.
3095 2006-08-29 Eric Blake <ebb9@byu.net>
3097 * configure.ac (AC_INIT): Bump to 2.60b.
3100 2006-08-28 Eric Blake <ebb9@byu.net>
3102 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
3103 mistakenly swapped on 2006-08-15.
3105 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
3107 * NEWS: Version 2.60a.
3109 2006-08-25 Stepan Kasal <kasal@ucw.cz>
3111 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
3112 file created by the PGI compiler.
3114 2006-08-25 Noah Misch <noah@cs.caltech.edu>
3116 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
3119 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
3121 Fix Lex library problem reported to us by Julio Garvia.
3122 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
3123 for the default, which the user can override.
3124 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
3126 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
3127 didn't work if some values were cached but not others. Test for
3128 broken lex libraries like native ia64-hp-hpux11.22; see
3129 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
3130 work around the problem by preferring an empty LEXLIB to -lfl or
3131 -ll. Let the user set LEXLIB='' to indicate no library needed.
3133 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
3135 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
3137 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
3139 Rework to use more-modern build style.
3140 Many files are renamed; all uses of their names were changed.
3141 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
3142 * .x-sc_useless_cpp_parens: New file.
3143 * build-aux/config.guess: Renamed from config/config.guess. Update.
3144 * build-aux/config.sub: Renamed from config/config.sub. Update.
3145 * build-aux/elisp-comp: Renamed from config/elisp-comp.
3146 * build-aux/install-sh: Renamed from config/install-sh. Update.
3147 * build-aux/mdate-sh: Renamed from config/mdate-sh.
3148 * build-aux/missing: Renamed from config/missing.
3149 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
3150 * build-aux/vc-list-files: Renamed from config/vc-list-files.
3151 * config/Makefile.am: Removed.
3152 * config/mkinstalldirs: Removed.
3153 * config/move-if-change: Removed.
3154 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
3155 * Makefile.am (SUBDIRS): Remove config.
3156 (ACLOCAL_AMFLAGS): Include from m4, not config.
3157 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
3158 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
3159 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
3160 Fail if there's an error.
3161 * Makefile.cfg (move_if_change): Remove.
3162 (wget_files): Remove.
3163 (cvs_executable_files): New macro.
3164 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
3165 (executable-update): Use $(cvs_executable_files).
3166 (local-checks-to-skip): Remove.
3167 * Makefile.maint: Merge from coreutils, plus add our own changes
3168 (gzip_rsyncable): New macro.
3170 (CVS_LIST): Use build-aux/vc-list-files.
3171 (VERSION_REGEXP): New macro.
3172 (local-checks-available): Add patch-check, $(syntax-check-rules),
3174 (syntax-check-rules): Compute dynamically.
3175 (sc_cast_of_x_alloc_return_value): Work even if no source files.
3176 (sc_cast_of_alloca_return_value): Likewise.
3177 (sc_prohibit_atoi_atof): Simplify regexp.
3178 (sc_no_if_have_config_h, sc_require_config_h):
3179 (sc_prohibit_assert_without_use,
3180 (sc_obsolete_symbols): Check for O_NDELAY.
3181 (sc_texi_notab): Remove.
3182 (sc-changelog): Don't make an exception for '----' lines.
3183 (.re-list): Remove, so we don't have a junk file behind.
3184 (sc_system_h_headers): Remove the need for .re-list.
3185 (sc_the_the): New rule.
3186 (sc_tight_scope): Simplify.
3187 (sc_trailing_blank): Renamed from sc_trailing_space.
3188 (longopt_re): New macro.
3189 (sc_two_space_separator_in_usage): New rule.
3190 (sc_unmarked_diagnostics): Look at all files under CVS.
3191 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
3192 (news-date-check, changelog-check): Version is OK.
3193 (po-check): Look for lib files even if not in CVS.
3194 (copyright-check): Use $() not ``.
3195 (maintainer-distcheck): Do not depend on changelog-check.
3196 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
3197 Also check for -Wpointer-arith.
3198 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
3199 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
3201 (announcement): Add --gpg-key-id arg.
3203 (move_if_change): Just use mv.
3204 (local_updates: Remove wget-update, po-update.
3205 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
3206 (config.guess-url_prefix, config.sub-url_prefix): Remove.
3207 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
3208 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
3209 ($(get-targets)): Remove.
3210 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
3211 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
3212 (cvs-update): Get from gnulib.
3213 (emut_upload_commands): gnupload is in build-aux now.
3214 (alpha beta major): Add changelog-check. Check version.
3215 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
3216 (AC_CONFIG_FILES): Remove.
3217 * bin/autoconf.as: Add spaces to avoid distcheck warning.
3218 * config/announce-gen: Sync from coreutils.
3219 * doc/make-stds.texi: Sync from gnulib.
3220 * doc/standards.texi: Likewise.
3221 * man/Makefile.am: Adjust for config -> build-aux renaming.
3222 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
3223 * tests/local.at: Adjust from config -> build-aux renaming.
3224 * tests/tools.at: Likewise.
3225 * tests/torture.at: Likewise.
3227 * NEWS: The C99 check now tests for vararg macros and 64-bit
3229 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
3230 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
3231 64-bit preprocessor ints. Check for static initialization of
3232 long long. Remove unnecessary casts.
3234 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3236 * doc/autoconf.texi (Particular Programs): Mention that
3237 @INSTALL@ and @MKDIR_P@ may vary for different output files.
3238 Reported by Alexandre Duret-Lutz.
3240 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
3242 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
3243 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
3245 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
3247 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
3249 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
3250 pacify insanely picky compilers. Problem reported by Eric Blake.
3252 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
3253 longer supported by Sun.
3255 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
3257 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
3258 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
3259 -Wundef -Werror". Problem reported by David Fang in
3260 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
3261 * doc/autoconf.texi (Header Templates, Default Includes):
3262 (Particular Functions, Generic Functions, Header Portability):
3263 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
3264 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
3265 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
3266 Prefer #ifdef to #if.
3267 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
3268 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
3269 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
3270 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
3272 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
3273 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
3274 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
3275 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3276 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
3277 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
3280 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
3282 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
3283 problems with arg script text that doesn't end in newline, and
3284 with '-e a...'. Problems reported by Ralf Wildenhues.
3286 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
3288 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
3289 check for libXt by a check for libX11.
3291 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3293 * doc/autoconf.texi (config.status Invocation): Adjust according
3296 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3298 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
3299 --help' should mention that `--version' outputs configuration
3300 settings. Report by Bruno Haible.
3302 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
3304 Fix test suite failures reported by Pierre in
3305 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
3306 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
3307 the compiler created a file "b.out" when it didn't create anything
3309 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
3310 Discard stderr too, when invoking the test script.
3312 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
3314 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
3315 in the restoring of the werror flag.
3317 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
3319 * doc/autoconf.texi (Volatile Objects): Be even a little
3320 less skeptical about "volatile", after discussion with
3321 Bruno Haible on bug-gnulib.
3322 (Limitations of Usual Tools): Warn about sed stripping
3323 leading white space from text. From Bruno Haible.
3325 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
3327 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
3328 compiler complains about it, even if things works after the
3329 complaint. Problem reported by Peter O'Gorman.
3331 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
3332 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
3333 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
3335 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
3337 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
3338 after -R regardless of host. Patrick Welche reports that this
3339 fixes things on NetBSD 3.99.
3341 * NEWS: Recommend M4 1.4.5.
3343 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
3344 * tests/tools.at (autom4te cache): Update wording of diagnostic
3347 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
3349 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
3350 under AC_C_VOLATILE.
3351 (Volatile Objects): Be a little less skeptical about what
3352 "volatile" means. Derived from thoughts by Ben Pfaff in
3353 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
3355 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3357 * doc/autoconf.texi: Fix some typos.
3359 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
3361 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
3362 more globally, since the 2006-06-30 patch didn't suffice. Problem
3363 reported by Keith Marshall. Also, don't bother with builddir2,
3364 since it shouldn't be needed any more.
3366 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
3368 * doc/autoconf.texi (Generic compiler characteristics):
3369 Document AC_COMPUTE_INT. Fix wrong statements on Default
3370 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
3372 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
3373 (_AC_COMPUTE_INT): Add obsoletion warnings.
3374 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
3377 * NEWS: Document change.
3379 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
3381 * doc/autoconf.texi (Volatile Objects): New section.
3383 * NEWS: Document previous change.
3385 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
3387 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
3388 Require that long long int be at least 64 bits wide. C99 requires
3389 this and enough programs depend on it so we should check for it.
3390 Bruno Haible reports in
3391 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
3392 that long long int is 32 bits wide with some nonstandard compilers.
3393 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
3395 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
3397 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
3398 to a nonexistent file, so that we don't have to worry about
3399 a local site configuration that doesn't use /usr/local.
3400 Problem reported by Keith Marshall in
3401 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
3403 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
3405 * doc/autoconf.texi: Be more consistent about using @acronym with
3406 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
3407 quite right (it talked about "OSF/Tru64", even though the
3408 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
3409 and it even mentioned "OSF 4"!) and at this point there's little
3410 reason to talk about OSF any more, since it died in 1994.
3411 (Specific Compiler Characteristics): Simplify example of
3412 negative-size array.
3413 (File Descriptors): Reorder to make the text flow better.
3414 Remove joke about "appreciate the various levels"; I didn't get it.
3415 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
3416 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
3417 (File Descriptors, Limitations of Usual Tools):
3418 Tone down the advice against renaming or removing open files.
3419 (Limitations of Usual Tools): Add a new section, on 'rm'.
3421 2006-06-26 Stepan Kasal <kasal@ucw.cz>
3423 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
3424 -lXt in LIBS, idea from Karsten Hopp; this was due since
3427 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
3428 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
3429 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
3430 (which belong to Xt, not X itself). See Debian bug 327655.
3432 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3434 * configure.ac (AC_INIT): Bump to 2.60a.
3437 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3441 * configure.ac, NEWS: Update.
3443 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3445 * config/texinfo.tex: Sync from upstream.
3447 * bin/autom4te.in (handle_traces): Transform the `@S|@'
3448 quadrigraph correctly in traces.
3450 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
3453 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
3454 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
3456 * doc/autoconf.texi (Changed Directory Variables): New node,
3457 to document the whole `datarootdir' business a bit better.
3459 * tests/torture.at (datarootdir workaround): Extend test.
3460 Prompted by report by Alexandre Julliard.
3462 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
3464 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
3465 when using default mode of IBM C 6 for AIX. Problem and two-line
3466 fix reported by Larry Jones.
3468 2006-06-22 Alexandre Julliard <julliard@winehq.org>
3470 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
3471 about literal '${datarootdir}' if a definition is found in the
3474 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
3476 * NEWS: Use "M4" rather than "m4" when appropriate.
3477 Problem reported by Eric Blake.
3478 * doc/autoconf.texi: Likewise.
3479 Use @acronym around BSD, GCC, and GNU when appropriate.
3480 (Why GNU M4): Renamed from "Why GNU m4".
3481 (Redefined M4 Macros): Mention that Posix
3482 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
3483 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
3486 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3488 * bin/autom4te.in (handle_output): Do not forbid the empty
3490 * tests/tools.at (autoconf: the empty token): New test.
3492 2006-06-20 Stepan Kasal <kasal@ucw.cz>
3494 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
3495 calls, so that we do not care whether they are LIFO or FIFO;
3496 in the m4_wrap, do not check which diversion is the topmost
3497 one, just check that the stack is balanced at the end.
3498 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
3499 base diversion forever--pop the previous diversion before
3500 opening the new one; consequently, remove the m4_wrap call.
3501 * lib/autotest/general.m4 (AT_INIT): Likewise.
3502 * tests/m4sugar.at: Do not use
3503 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
3505 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
3506 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3508 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
3509 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
3510 Rework example of m4wrap token-pasting trouble so that it doesn't
3511 care whether it's LIFO or FIFO.
3512 Fix some "contrary to"s that are awkward in English.
3514 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3516 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
3517 to `yes' instead of `int$1_t' if the type is found, for more
3518 consistent configure output (where $1 is the number of bits).
3519 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
3520 Suggested by Bruno Haible.
3522 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
3523 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
3524 with system headers. Report by Bruno Haible.
3526 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3528 * config/config.guess, config/config.sub: Sync from upstream.
3530 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
3531 in order to avoid picking up an older installed frozen m4sh.m4f.
3532 Besides an outdated shell startup, this could have been created
3533 by an earlier M4 version with incompatible frozen file format.
3535 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
3537 * README: Recommend m4 1.4.4 instead of 1.4.3..
3538 * doc/autoconf.texi: Likewise.
3539 (Special Chars in Names): Say that $(.FOO) is portable, as
3540 suggested by Stepan Kasal.
3541 (Installation Directory Variables, Build Directories):
3542 (Automatic Remaking, Subdirectories, Fortran Compiler):
3543 (Making testsuite Scripts, Defining Directories):
3544 Quote variable usages better.
3545 (Making testsuite Scripts): Add clean-local rule to makefile
3546 snippet, by Eric Blake.
3547 (Installation Directory Variables): Fix table item font.
3548 Reword slightly to clarify. Generalize advice about
3549 not using special characters to include all file-related
3550 vars, not just VPATH.
3551 (Special Chars in Variables): Warn about special characters in
3553 (Assignments): Clarify default-value example as suggested by
3555 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
3556 (Special Shell Variables): Note leading ./ or ../, as suggested
3558 (Limitations of Builtins): Under cd, warn about CDPATH.
3559 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
3562 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3564 * doc/autoconf.texi (Configuration Actions): Remove duplicate
3565 `@var', for texi2html.
3566 (Systemology): Some more word wrapping, for DVI output.
3567 (autom4te Invocation): The short option for `--melt' is `-M',
3570 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
3572 * doc/autoconf.texi: More formatting and English tweaks,
3573 many suggested by Ralf Wildenhues.
3574 Reword to avoid "@code{...}'s" and the like, since it's ugly
3575 with Emacs info mode. discontents -> woes.
3576 Put a few "will"s back. time stamp -> timestamp.
3577 side-effect -> side effect.
3579 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
3581 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
3582 Warn about $@ not persisting. Problem reported by Julien Danjou in
3583 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
3584 (Special Chars in Names): Renamed from Leading _ in Macro Names.
3585 Mention other special chars, too.
3587 2006-06-14 Eric Blake <ebb9@byu.net>
3589 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
3591 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
3593 * doc/autoconf.texi: Some systematic minor improvements, as
3594 follows. Use "makefile" when talking about makefiles
3595 generally (which might be named "makefile" or "Makefile" or even
3596 "foo.mk"), "Makefile" when talking about a specific makefile
3597 called "Makefile". This unclutters the text from weird quotes
3598 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
3599 values" rather than "@var{foo}s" and similar constructs containing
3600 "}s". Use "Make rules" rather than "Makefile rules". Minor
3601 English-language improvements. Change the prefix "sub-" to "sub"
3603 Put blank lines around examples more consistently.
3604 Avoid "rather" and "very" as intensifiers.
3605 Avoid "will" as an auxiliary.
3606 (Limitations of Make): Split this node into....
3607 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
3608 (Leading _ in Macro Names, Backslash-Newline-Newline):
3609 (Backslash-Newline Comments, Long Lines in Makefiles):
3610 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
3611 (obj/ and Make, make -k Status, VPATH and Make):
3612 (VPATH and Double-colon, $< in Explicit Rules):
3613 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
3614 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
3615 New nodes, resulting from splitup of Limitations of Make.
3616 All cross-references changed. Raise the top node from
3617 a section to a chapter, and all subnodes accordingly.
3618 Redo the introductory wording to match the new organization.
3619 (Installation Directory Variables): Use an example that is
3620 closer to what Autoconf actually does. Mention that VPATH's
3621 value should not contain metacharacters or white space.
3622 (Fortran Compiler): Fix a VPATH bug in an example.
3623 (Leading _ in Macro Names): Mention that this problem is no longer
3624 of practical concern.
3625 (VPATH and Make): Reword the advice to make it clearer
3626 that Autoconf and Automake support VPATH in non-GNU make, but
3627 many packages have bugs in this area.
3628 ($< in Explicit Rules): Refer to Build Directories rather
3629 than using a (non-VPATH-safe) example.
3630 (Automatic Rule Rewriting): Mention the sort of disaster that
3631 can ensue with Solaris-style rule rewriting with VPATH.
3633 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3635 * doc/install.texi (Compilers and Options): Weaken the
3636 suggestion to use GNU make for VPATH builds.
3638 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
3639 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
3641 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
3642 in regular expression.
3644 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3646 * doc/autoconf.texi (Installation Directory Variables):
3647 Drop extra @samp from `@table @samp' item.
3648 (Limitations of Usual Tools): Comment fix.
3649 Do not nest @samp just to point to other table items.
3650 (Writing testsuite.at) <AT_CHECK>: The second argument to
3651 `@dvar' is already @samp'ed.
3652 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
3653 do not use @var in the second argument.
3655 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
3657 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
3658 $as_shell.exe too. Problem reported by Andreas Buening in
3659 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
3661 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3663 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
3664 `unused variable' compiler warning, for `-Wall -Werror'.
3665 Reported by Jaap Haitsma in
3666 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
3668 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
3670 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
3671 case the compiler dumps core. Problem reported for
3672 OpenServer 5.0.7 by Tim Rice in
3673 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
3674 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
3677 2006-06-06 Tim Rice <tim@multitalents.net>.
3679 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
3680 "ERROR" only shows up in "make check" output if there is an
3683 2006-06-06 Eric Blake <ebb9@byu.net>
3685 * tests/tools.at (automatically allowed tokens): Fix typo.
3687 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3689 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
3691 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
3692 typically overflows on x86 CPUs, even though the C standard
3695 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3697 * configure.ac (AC_INIT): Bump to 2.59e.
3700 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3704 * config/texinfo.tex: Sync from upstream.
3706 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
3707 seen, invoke libtoolize with `--ltdl' argument.
3708 * lib/autom4te.in (Autoreconf-preselections): Adjust.
3710 Suggested by Eric Blake.
3712 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3714 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
3715 reported by Ralf Wildenhues.
3716 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
3718 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3722 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3724 * doc/autoconf.texi: Modernize some of the references to Solaris.
3726 2006-06-05 Stepan Kasal <kasal@ucw.cz>
3728 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
3729 message issued by AC_REQUIRE.
3730 * tests/m4sugar.at: Check m4_require's error message.
3731 * tests/base.at: Check AC_REQUIRE's error message.
3732 * tests/local.at (AT_CHECK_M4): New macro, almost identical
3734 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
3736 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
3737 `expout' as the last parameter.
3738 * tests/tools.at: Adapt to the above change.
3740 2006-06-04 Stepan Kasal <kasal@ucw.cz>
3742 * doc/autoconf.texi (Limitations of Usual Tools): Correct
3743 information about race-free implementations of mkdir.
3745 2006-06-04 Eric Blake <ebb9@byu.net>
3747 * bin/autoreconf.in (help): Document M4 environment variable.
3748 * bin/autoconf.as (Usage): Likewise.
3749 * bin/autom4te.in (help): Likewise.
3750 * doc/autoconf.texi (autom4te Invocation): Likewise.
3752 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
3754 * NEWS: GNU make now recommended for VPATH builds.
3755 Mention that some macros are now documented to be obsolescent.
3756 * doc/autoconf.texi:
3757 Prefer "current" to "modern" to describe
3758 currently-used (albeit perhaps old-fashioned) hosts.
3759 Mention which ancient features no longer need to be worried about.
3760 setgid -> set-group-ID
3761 setuid -> set-user-ID (these are the Posix terms)
3762 Fix some misuses of "only".
3763 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
3764 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
3765 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
3766 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
3767 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
3768 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
3769 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
3770 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
3771 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
3772 Mention that these macros are obsolescent.
3773 (Installation Directory Variables): shall -> should
3774 (File Descriptors): Mention that 0, 1, 2 might get reopened.
3775 Mention that it's now safe to use 3 and 4.
3776 (Limitations of Usual Tools): cp -r is now specified by Posix.
3777 Omit longwinded and obsolescent discussion of cp -f.
3778 Modernize discussion of expr, ls.
3779 (Limitations of Make): Modernize discussion of VPATH builds.
3780 Mention $? as a workaround in some cases.
3781 * doc/install.texi (Basic Installation):
3782 Mention "./configure; make; make install" first. Be more
3783 specific about why this file is generic. Remove unnecessary
3784 parens. Remove misleading "only". Remove obsolete advice
3785 about csh. Don't say "configure" takes awhile; say it
3786 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
3787 and CC=c99 rather than CC=c89, as these are blessed by current
3788 Posix. Recommend GNU make if doing a VPATH build.
3790 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
3792 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
3793 examples involving shell prompts.
3795 2006-06-02 Stepan Kasal <kasal@ucw.cz>
3796 and Paul Eggert <eggert@cs.ucla.edu>
3798 * doc/autoconf.texi (Here-Documents): Add details about the
3799 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
3800 use "here-documents" instead of "here documents".
3802 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3804 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
3806 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
3808 * doc/autoconf.texi (File System Conventions): Warn about ":"
3809 anywhere in directory names.
3811 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
3813 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
3814 about quoting the case statement, just in case.
3815 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
3816 was fixed in ksh93g; reported by Ralf Wildenhues.
3818 2006-05-31 Stepan Kasal <kasal@ucw.cz>
3820 * doc/autoconf.texi (System Services): Do not document
3821 overriding EXEEXT via ac_cv_exeext=ext.
3822 (Particular Programs) <AC_PROG_MKDIR_P>:
3823 Document that ${MKDIR_P} understands --.
3824 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
3827 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3829 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
3830 argument with leading hyphen. Problem reported by Paul Eggert.
3832 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
3834 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
3835 about quoting ac_try: quote all of it, if any of it seems suspicious.
3836 This means we don't have to worry about ${ or sed any more.
3837 Also, double-quote the case statement, to work around misuses via
3838 underquoting as reported by Ralf Wildenhues in
3839 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
3840 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
3841 undocumented and dangerous macro.
3842 Problem reported by Ralf Wildenhues in
3843 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
3845 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3847 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
3848 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
3849 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
3851 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
3853 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
3854 since evidently some packages rely on the old, broken behavior.
3855 Problem reported by Ralf Wildenhues in
3856 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
3857 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
3858 pre-2006-05-26 definitions, but leave in the comments that
3859 these macros are dangerous and should not be used.
3860 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
3861 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
3862 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
3863 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
3864 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
3866 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
3868 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
3869 the use of 'tr', since this is our only use of 'tr'.
3871 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3872 and Paul Eggert <eggert@cs.ucla.edu>
3874 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3875 Don't assume 'grep' works on long lines, since AIX grep doesn't.
3877 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3879 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
3880 the output file in the `${datarootdir}' test.
3882 2005-05-28 Stepan Kasal <kasal@ucw.cz>
3883 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3885 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
3886 mention of `datarootdir' in the input file(s), but literal
3887 `${datarootdir}' in the output file, and we haven't warned yet,
3888 then warn as well: the user may have (erroneously) used
3889 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
3890 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
3891 * tests/torture.at (datarootdir workaround): Extend this test.
3894 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3895 and Paul Eggert <eggert@cs.ucla.edu>
3897 * doc/autoconf.texi (autoheader Invocation): The first argument to
3898 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
3899 alternatives and clear up the language a bit.
3901 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
3903 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
3904 ac_config_guess, ac_config_sub, ac_configure.
3905 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3906 Fix typo that prevented an unnecessary space from being removed.
3907 Problems reported by Ralf Wildenhues in:
3908 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
3910 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
3912 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
3913 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
3914 Don't use the term "thread-safe" to talk about mkdir race
3915 conditions, since the problem is more a process than a thread
3916 issue. Problem reported by Stepan Kasal in:
3917 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
3918 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
3919 the test for 'install' more closely. Look at MKDIR_P first.
3920 Look in the PATH, and at /opt/sfw/bin.
3921 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
3922 Don't bother to try mkdir -p, since we already check mkdir --version;
3923 just look at the version number. (There's no easy way to check
3924 for race-free implementations.)
3925 * tests/tools.at (autoconf: subdirectories): Adjust to above
3926 changes, since MKDIR_P now might end in "/mkdir -p".
3928 * doc/autoconf.texi (autoheader Invocation): Mention that the
3929 first arg of AC_DEFINE_UNQUOTED must be a literal.
3930 Problem reported by Ben Pfaff in
3931 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
3933 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
3934 * doc/autoconf.texi (Special Chars in Variables): New section.
3935 (Preset Output Variables): Warn about special chars in CPPFLAGS.
3936 (Installation Directory Variables): Quote $(datadir) better.
3937 (Limitations of Builtins): Describe some of eval's trickiness.
3939 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
3940 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
3941 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
3942 in front of every arg, not just trailing args. Quote apostrophes.
3943 (_AC_EVAL_ECHO): New macro.
3944 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
3945 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
3947 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
3948 exposed by quoting of eval argument. Put the command on line line
3950 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
3951 (_AC_PATH_X, AC_PATH_X): Quote more safely.
3952 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
3953 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
3954 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
3955 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
3956 Use eval more safely.
3957 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
3958 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
3960 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
3961 lines, exposed by quoting of eval argument.
3963 2006-05-26 Stepan Kasal <kasal@ucw.cz>
3964 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3966 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
3967 initialization of `ac_cv_exeext', do not override it if it was
3968 already set, unless it was set to `no', for compatibility with
3969 Autoconf-2.13, and comment this.
3970 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
3971 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
3972 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
3973 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
3974 Document that this test may be overridden by setting
3977 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3979 Revert these two patches:
3981 2006-04-06 Eric Blake <ebb9@byu.net>
3982 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3983 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
3986 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3987 Clean up _AC_COMPILER_EXEEXT* macros.
3988 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3989 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3990 ac_file to the name of the default output file and call
3991 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
3992 initial `rm' of the candidate files...
3993 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
3994 the same list in subsequent `rm' calls, and for the temporary
3995 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3996 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3997 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3998 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3999 no longer needed) by libtool. Make it a cache check.
4000 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
4001 copied here by mistake.
4002 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
4003 _AC_COMPILER_EXEEXT.
4004 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
4005 _AC_COMPILER_OBJEXT directly.
4006 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4008 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4010 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
4011 Fix description of how the buggy `sed' works.
4013 2006-05-25 Noah Misch <noah@cs.caltech.edu>
4017 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
4018 ENOLCK. Only mention `make -j' when applicable. Only raise
4019 fatal errors when `make -j' is involved. Improve error message.
4021 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4023 * doc/autoconf.texi (Here-Documents): We now know more about
4024 the variable expansion in here documents bug.
4025 Thanks to Tim Rice and Stepan Kasal.
4027 * doc/autoconf.texi (Making testsuite Scripts): Add an example
4028 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
4030 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4032 * tests/autotest.at (Multiline command from M4 expansion):
4033 No failure to be expected if the shell quotes newlines in
4034 commands in the `set -x' output. Report by Tim Rice.
4037 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
4039 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
4040 expansion in the here-documents used by config.status, as that
4041 runs afoul of the Korn shell version M-12/28/93d bug described in
4042 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
4043 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
4044 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
4046 2006-05-23 Jim Meyering <jim@meyering.net>
4048 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
4049 Fix typo introduced with 2006-04-02 change. It reversed the sense
4052 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
4054 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
4055 ac_dB slightly, to save bytes in the script.
4056 Max out at 50 lines, rather than 96; this is more likely
4057 (though not guaranteed) to avoid obscure 'sed' failures.
4059 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4061 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
4062 `tr -d -' as bad option argument. Work around this by deleting
4063 an unrelated character.
4064 Report by Tim Rice <tim@multitalents.net>.
4066 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
4067 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
4068 Stepan Kasal <kasal@ucw.cz>
4070 * doc/autoconf.texi (Particular Programs): Do not promise that
4071 we always prefer the GNU version of the program, and that we
4072 search according to PATH; both rules can have exceptions.
4073 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
4074 AC_PROG_SED. Move descriptions of limitations
4075 to the Limitations of Usual Tools section.
4076 (Limitations of Usual Tools) <sed>: Mention script length
4077 limitations with Solaris /usr/ucb/sed.
4078 <grep>: Fix wording for empty alternative. Mention that -c and
4079 -l should not be combined, and that -E and -F should not be
4082 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
4083 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4085 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
4086 limits in Solaris 8 /usr/ucb/sed by testing a long script.
4088 2006-05-22 Stepan Kasal <kasal@ucw.cz>
4090 * doc/autoconf.texi (Defining Symbols): Literal parameter of
4091 AC_DEFINE is now passed to m4_pattern_allow.
4092 * NEWS: Mention that; likewise for AC_SUBST.
4093 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
4094 the parameter to m4_pattern_allow.
4095 * tests/tools.at: Add a check for that.
4097 2006-05-22 Stepan Kasal <kasal@ucw.cz>
4099 * lib/autoconf/status.m4: Fix typos.
4101 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4103 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
4104 only the files that this macro generates.
4106 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
4108 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
4109 the HP-UX sed limitation of 99 commands, labels do not count.
4110 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
4112 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
4114 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
4116 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
4117 Import the following fix from coreutils:
4119 2006-01-13 Jim Meyering <jim@meyering.net>
4121 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
4122 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
4123 not double-quote uses of that variable, to accommodate the rare
4124 case in which getmntent is available in none of the libraries
4125 checked. This happens at least on FreeBSD 5.0.
4127 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
4129 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
4130 ac_config_guess, ac_config_sub, and ac_configure, since evidently
4131 some other programs unwisely rely on these undocumented vars.
4132 But put in warning comments about them.
4133 Problem reported by Ralf Wildenhues in
4134 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
4135 * NEWS: Document that these variables are intended to go away.
4137 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4139 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
4140 and set the language to C++ (analogous to the equivalent Fortran
4143 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
4144 * doc/autoconf.texi (C++ Compiler): Document it.
4145 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
4148 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
4150 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
4151 that caused config.status to generate 100-command sed scripts; the
4152 portable limit is 99.
4154 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4156 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
4157 variable `ac_d' instead of `d' to avoid infringing namespace.
4158 Report by Ralf Menzel.
4160 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
4162 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
4163 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
4164 * tests/tools.at (autoconf: subdirectories): New test, taken from
4165 the corresponding problem report by Ralf Wildenhues in:
4166 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
4168 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
4169 Quote some uses of shell variables if they might suffer unexpected
4170 globbing. This doesn't fix all instances of quoting problems that
4171 I found, just the easy ones that look safe.
4172 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
4173 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
4174 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
4175 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
4176 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
4177 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4178 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
4180 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
4181 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
4183 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4185 * bin/autoreconf.in ($help): Reword according to the manual.
4186 Suggested by Olly Betts.
4188 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
4189 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4191 * bin/autoreconf.in: Pass the directory argument to
4192 `require_configure_ac'. Fix comment.
4193 * tests/torture.at (Configuring subdirectories): Expose this.
4194 Reported by Olly Betts.
4196 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4198 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
4199 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
4200 Automake as follows:
4202 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
4203 `$configure_in' instead of `configure.in', to preserve
4204 directory component.
4206 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4208 * config/config.guess, config/config.sub, config/texinfo.tex,
4209 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
4211 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
4213 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
4214 test for C99 conformance; (bool) 0.5 is an integer constant
4215 expression, but (bool) -0.5 is not. Problem reported by Fedor
4216 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
4218 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
4220 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
4221 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
4222 Warn about obsolete install-sh files. Remove stray sentence
4223 fragment and fix cross reference.
4224 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
4225 install -d; this undoes the 2006-05-10 change.
4226 (MKDIR_P): Mark with AN_MAKEVAR.
4227 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
4228 that we don't require $INSTALL to be thread-safe. Move comments
4229 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
4230 of AC_PROG_INSTALL. Output a message saying that we're checking
4231 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
4232 MKDIR_P instead of AC_SUBST.
4233 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
4234 Special magic for MKDIR_P, too.
4235 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
4237 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
4239 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
4241 Sync from Automake, as follows:
4243 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4244 * config/install-sh: Initialize IFS, so field splitting isn't
4246 * config/mkinstalldirs: Likewise.
4247 * config/missing: Remove superfluous quotes. Replace all uses of
4248 `[' by `test', for consistency, and for..
4249 * config/missing (sed_minuso, sed_output): New variables.
4250 (autom4te, help2man, makeinfo): Use them. Unifies detection of
4251 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
4252 Fixes `missing' to detect `--output' for help2man. Fixes
4253 PR automake/483. Report by Dennis J. Linse.
4254 (autom4te): Document in `missing --help'.
4256 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
4258 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
4259 * config/install-sh: Don't use 'path' to talk about file names,
4260 as per GNU coding standards. Close a race condition reported by Ralf
4261 Wildenhues and Stepan Kasal. There is still a race condition
4262 on hosts that predate Posix 1003.1-1992, but we can't help this.
4263 Don't mishandle weird characters like space on pre-Posix hosts.
4264 Invoke mkdir at most once per dir arg on pre-Posix hosts.
4265 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
4266 AC_PROG_MKDIR_P from AS_MKDIR_P.
4267 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
4268 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
4269 earlier editions are not (including Automake 1.8.3).
4270 Do not suggest mkinstalldirs for thread-safety.
4271 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
4272 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
4273 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
4274 presence of special characters and race conditions.
4275 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
4276 in Autoconf's name space.
4278 2006-05-10 Bruno Haible <bruno@clisp.org>
4279 and Paul Eggert <eggert@cs.ucla.edu>
4281 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
4282 from Automake with minor changes.
4283 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
4285 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
4287 * config/install-sh: Update to Automake CVS version, as follows:
4288 2006-04-25 Stepan Kasal <kasal@ucw.cz>
4289 * lib/install-sh: Simplify the expr implementation of dirname.
4290 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
4291 * lib/install-sh: Handle --, and diagnose unknown options.
4293 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4295 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
4296 `./autom4te' to create `./testsuite', since the `all' target
4297 will ensure its presence, but `installcheck' should not create
4298 the uninstalled wrappers.
4300 * tests/torture.at (Unusual Automake input files): Skip if we
4301 detect automake < 1.8.
4303 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4305 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
4306 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
4307 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
4310 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4312 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
4313 munge (multiple) white space and other oddities.
4314 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
4315 single quotes in variable assignment.
4316 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
4317 and similar failures by adding multiple spaces, tabs, and other
4319 Report and different test suggested by Francesco Romani
4320 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
4322 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
4323 single quotes, we only need to search for single quotes; this
4324 both simplifies the search pattern, and makes us less
4325 susceptible to `echo' variations for arguments not containing
4327 (_AC_ARG_VAR_VALIDATE): Likewise.
4329 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4331 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
4332 `$*' and IFS concatenation issue with traditional shells and
4333 bash-2.04. Report by Seanster@Seanster.com.
4335 2006-05-03 Bruno Haible <bruno@clisp.org>
4337 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
4338 precisely which Mac OS X versions have the od problem.
4340 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
4342 * doc/autoconf.texi: Use @option systematically.
4344 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
4345 and Bruno Haible <bruno@clisp.org>
4347 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
4349 (Integer Overflow): Mention the special case of integer division
4352 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4354 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
4355 traditional shells like the Solaris one that do not use the
4356 first IFS character for assembling `$*'.
4357 Prompted by a related report from autoconf_bug@nro.ca.
4359 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
4360 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4362 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
4363 Mention more problems with the -e option.
4365 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4368 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
4370 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
4371 in URLs to improve DVI formatted output (requires texinfo 4.6).
4372 (System Services, Systemology, Shellology): Likewise.
4373 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
4376 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
4378 (Runtime): Fix macro argument names to match description:
4379 `action-if-found' -> `action-if-true' and similarly.
4380 (Obsolete Macros): Likewise.
4381 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
4382 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
4383 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
4385 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4387 * doc/autoconf.texi (Limitations of Make): Clean up markup.
4390 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
4393 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4395 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
4396 /bin/sh set unsorted output.
4397 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
4398 * tests/local.at: Likewise.
4400 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
4402 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
4403 (Integer Overflow, Null Pointers, Buffer Overruns):
4404 (Floating Point Portability, Exiting Portably): New sections.
4405 (Writing Test Programs): Fix some langauge. Recommend exiting
4406 with status 1, not merely nonzero. Clarify exit declaration.
4407 (Run Time): Move C exit status stuff to new Exiting Portably section.
4408 (Systemology): Mention Posix and levenez. Update v7 reference.
4409 (Portable Shell): Mention the Posix shell.
4411 2006-04-25 Stepan Kasal <kasal@ucw.cz>
4413 * bin/autoconf.as (me): Replace by as_me.
4415 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
4417 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
4418 since as_me isn't set yet.
4420 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
4422 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
4423 a few minor bugs in this area.
4425 * doc/autoconf.texi (Programming in M4sh): Comment out the
4426 documentation of AS_BASENAME, for now.
4427 (Shell Substitutions): Do not use AS_DIRNAME in an example.
4428 (Limitations of Builtins) <basename>: Do not refer to
4430 * bin/autoconf.as (me): Don't use AS_BASENAME.
4431 (dir): Remove the unused variable.
4432 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
4433 AS_DETECT_REQUIRED. All uses changed.
4434 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
4436 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
4437 (AS_BASENAME): Use "basename --" to protect against leading "-".
4438 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
4439 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
4440 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
4441 (_AS_DIRNAME_PREPARE): Likewise.
4442 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
4443 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
4444 (AS_DIRNAME): Use "dirname --".
4446 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
4448 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
4449 of "run time" and "run-time" changed to "runtime", for consistency.
4450 * lib/autoconf/fortran.m4: Likewise (in comment).
4451 * lib/autoconf/functions.m4: Likewise.
4452 * lib/autoconf/general.m4: Likewise.
4453 * lib/autoconf/headers.m4: Likewise.
4455 * doc/autoconf.texi (Run Time): Document the exit status situation
4456 with more accuracy and detail.
4458 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4460 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
4461 Archive is not officially `GNU' any more. Update URL.
4462 (Defining Directories): Likewise
4463 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
4465 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4467 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
4468 newline from the `trap' code to finish `config.log'; the NetBSD
4469 /bin/sh resets the exit status after an empty command, as
4470 documented in doc/autoconf.texi.
4471 Reported by Dalibor Topic <robilad@kaffe.org>.
4473 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
4475 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
4476 Suggested by Bruno Haible.
4478 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
4480 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
4481 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
4482 Instead, just list the shells that we know work.
4483 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
4484 changed. Be more cautious about the _cv_ variable.
4485 * tests/tools.at (Syntax of the shell scripts): Check the
4486 _cv_ variable once, at first, to avoid an internal autoconf error
4487 when sh -n does not work.
4489 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4491 * lib/Autom4te/FileUtils.pm: Sync from Automake.
4493 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
4495 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
4496 use ">&-" since we're only 99.999% sure that this is portable,
4497 and since the MinGW bug is fixed in a different way.
4498 * lib/autotest/general.m4 (AT_INIT): Likewise.
4500 2006-04-16 Stepan Kasal <kasal@ucw.cz>
4502 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
4503 before opening config.log, to avoid hitting a bug on MinGW.
4505 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
4507 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
4508 AS_MESSAGE_LOG_FD before reopening it onto the log file.
4509 This works around a MinGW bug reported by Eric Paire.
4510 Make sure that all writes to the log file append to it,
4511 rather than possibly losing data.
4512 * lib/autotest/general.m4 (AT_INIT): Likewise.
4514 2006-04-14 Stepan Kasal <kasal@ucw.cz>
4516 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
4519 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4523 * configure.ac (AC_INIT): Bump to 2.59d.
4525 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4529 * Makefile.maint (news-date-check): Do not require a leading `*'
4530 before the release date in NEWS.
4532 2006-04-12 Stepan Kasal <kasal@ucw.cz>
4533 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4535 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
4536 the instantiated file do not contain the string 'datarootdir'
4537 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
4538 @mandir@, replace the reference '${datarootdir}' by the value.
4539 * tests/torture.at (datarootdir workaround): New test.
4540 * NEWS: Advertise this temporary fixup.
4541 Based on a patch by Bruno Haible, reported and analyzed by
4542 Paul Eggert and Noah Misch.
4544 2006-04-12 Eric Blake <ebb9@byu.net>
4546 * tests/autotest.at (Debugging a failed test): Fix comment.
4548 2006-04-12 Stepan Kasal <kasal@ucw.cz>
4550 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
4551 all the changes since 2006-04-07.
4553 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4555 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
4556 succeeded, but `ln -s file dir' failed, take care to remove the
4557 leftover target before the next test, to prevent its spurious
4558 failure; also make sure `ln file dir' works before selecting it.
4559 Thanks to Keith Marshall for pointing this out.
4562 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
4563 assignments in `at_debug_args', so that we put them correctly
4564 in the `run' script.
4565 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
4566 Reported by Eric Blake.
4568 2006-04-11 Eric Blake <ebb9@byu.net>
4570 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
4571 top-level tests after micro-suite has been run. Used in...
4572 (Debugging a successful test, Debugging script and environment),
4573 (Debugging a failed test): ...these new tests. The first of these
4575 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
4576 macro, split out from...
4577 (AT_INIT): ...here, so that using -d also generates a run script.
4578 Document that -d inhibits top-level logging.
4579 * doc/autoconf.texi (testsuite Invocation): Document that -d only
4580 inhibits top-level logging; debug scripts are created.
4582 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
4584 * tests/autotest.at (Empty test, Empty check): New test to check it.
4586 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
4589 2006-04-10 Stepan Kasal <kasal@ucw.cz>
4591 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
4592 the files if a problem appears. Make the empty *.at files
4593 read-only, too. Proposed by Ralf Wildenhues.
4595 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4597 * config/Makefile.am: Add comment to force updated Makefile.in.
4599 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
4600 space only patch to this file, this patch causes the Makefile.in
4601 files that include freeze.mk to be updated, and thus have a
4602 newer time stamp again, which in turn makes a pristine CVS
4603 checkout have correct time stamps.
4605 * Makefile.maint (cvs-sv): New macro, to be used..
4606 (config.guess-url_prefix, config.sub-url_prefix)
4607 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
4608 point to CVS text checkout of Gnulib files.
4609 (copyright-check): Bump current year.
4610 (announcement): Do not hard-wire `./announce-gen'.
4611 (cvs-update): Propagate failures of `cvs' and `move-if-change'
4613 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
4615 (wget_files): Update config.guess, config.sub, texinfo.tex by
4616 `wget-update', now that their URLs work again.
4618 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
4620 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
4621 Problem noted by Paul D. Smith.
4623 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4625 * doc/autoconf.texi: Remove unused words from word list.
4626 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
4627 .x-sc_trailing_space: New files.
4629 * doc/standards.texi: Sync from gnulib.
4631 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
4632 `LIBOBJDIR' as experimental.
4634 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
4635 with a target directory; it's internally implemented as `cp'
4636 anyway, but since Autoconf advertises the possibility to use
4637 a target directory when LN_S is `ln -s', we need to find out.
4638 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
4639 analyzed by Keith Marshall <keith.marshall@total.com>.
4643 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
4645 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
4646 confdefs.h as-is. In general, if it has backslash-newline or the
4647 like, then it doesn't work either to sort or to remove empty
4650 2006-04-09 Stepan Kasal <kasal@ucw.cz>
4652 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
4654 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
4656 * lib/autom4te.in (Automake-preselections): Preselect
4659 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
4661 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
4662 apostrophe within a single-quoted string, as this is the usual
4663 tradition and is easier to read than '"'"'. Don't rely on the
4664 shell treating "$/" like '$/'. Use a more-consistent indenting
4667 2006-04-09 Eric Blake <ebb9@byu.net>
4669 * tests/autotest.at (Backquote command substitution),
4670 (Multiline backquote command substitution): Remove mistaken
4671 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
4673 (Parenthetical command substitution, Multiline parenthetical
4674 command substitution): here.
4676 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
4678 Import macros from gnulib (often changing their name).
4680 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
4681 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
4682 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
4683 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
4684 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
4685 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
4686 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
4687 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
4688 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
4689 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
4690 The manual mentions Gnulib more prominently.
4691 * doc/autoconf.texi (Gnulib): New node.
4692 (Pointers): Add Gnulib URL.
4693 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
4694 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
4696 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
4697 suggest a #define rather than a typedef for _Bool, and mention
4698 Gnulib rather than trying to substitute stdbool code.
4699 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
4700 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
4701 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
4702 AC_STRUCT_DIRENT_D_TYPE.
4703 (Particular Types): Mention stdint.h and inttypes.h as standard
4705 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
4706 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
4707 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
4708 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
4709 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
4710 (C Compiler): Move AC_C_LONG_DOUBLE to ...
4711 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
4712 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
4713 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
4714 (Coding Style). Don't mention m4_expand_once.
4715 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
4716 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
4717 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
4718 (AC_CHECK_FUNCS): Use it.
4719 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
4720 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
4721 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
4722 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
4723 (AC_HEADER_ASSERT): New macro.
4724 (AC_HEADER_STDBOOL): Don't assume "#error" works.
4725 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
4726 Catch a bug in an HP-UX C compiler.
4727 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
4728 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
4729 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
4730 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
4731 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
4732 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
4735 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
4736 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
4738 2006-04-08 Stepan Kasal <kasal@ucw.cz>
4740 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
4741 of the warning introduced by the 2001-08-28 change.
4743 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
4744 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4746 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
4747 variables shall be overriden by the cache.
4748 * tests/torture.at (AC_ARG_VAR): Test also with a first value
4749 that contains braces.
4751 2006-04-07 Stepan Kasal <kasal@ucw.cz>
4753 Revert the patch from 2006-04-01 and only improve
4754 _AS_DETECT_BETTER_SHELL:
4756 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
4757 skip nonexistent directories.
4758 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
4759 only shell candidates which exist.
4760 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
4761 * lib/autotest/general.m4 (AT_INIT): No need to give three
4762 parameters to _AS_PATH_WALK.
4764 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
4765 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4767 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
4768 distinguish m4sugar macros.
4769 * tests/tools.at (autoupdating with aclocal and m4_include):
4770 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
4771 test case by Noah Misch <noah@cs.caltech.edu>.
4773 2006-04-07 Stepan Kasal <kasal@ucw.cz>
4775 Revert my change from 2006-03-17, in other words:
4776 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
4778 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
4779 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
4782 2006-04-07 Eric Blake <ebb9@byu.net>
4784 * doc/autoconf.texi (Programming in M4sh): Document that
4785 AS_MKDIR_P exits the script on failure.
4786 * lib/autotest/general.m4: Remove redundant AS_ERROR.
4788 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4790 * config/elisp-comp, config/install-sh, config/mdate-sh,
4791 config/missing, config/mkinstalldirs: Sync from Automake.
4793 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
4796 * doc/make-stds.texi: Sync from gnulib.
4798 2006-04-06 Eric Blake <ebb9@byu.net>
4800 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
4801 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
4804 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
4805 Eric Blake <ebb9@byu.net>,
4806 Paul Eggert <eggert@cs.ucla.edu>,
4807 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4809 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
4810 whether `set' quotes correctly: redirect stderr of the tested
4811 `set', and use a subshell, for Ultrix; use `sed' instead of
4812 `grep' for zsh `set' which may write binary output; match only
4813 at the beginning of a line, to avoid false positives.
4814 In order to avoid false positives by unrelated variables with
4815 multiline content, put the dump algorithm in a subshell and
4816 unset all variables containing newlines (except some which are
4817 special to the shell). Warn about cache variables that are
4820 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4822 * config/config.guess, config/config.sub, config/texinfo.tex:
4825 * tests/mktests.sh: Reword comments.
4827 * tests/mktests.sh: Only skip internal macros starting with
4828 `_AC_' or `__AC_'. Noted by Stepan Kasal.
4829 Update exclusion lists for the test suite to this end:
4830 (AC_ARG_VAR): Do test this now.
4831 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
4832 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
4833 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
4834 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
4836 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
4837 shell issue with double-quoted command substitutions of native
4839 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
4842 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
4843 no file matches the glob, discard the warning, set `nullglob'.
4844 (syntax-check): Likewise.
4845 (sc_cast_of_x_alloc_return_value): Likewise.
4846 (sc_cast_of_alloca_return_value, sc_error_exit_success)
4847 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
4848 (m4-check): Likewise.
4849 (sc_system_h_headers): Do not print rule on execution.
4850 (sc_tight_scope): Do not fail for non-existing `src' directory.
4851 (sc_changelog): Skip the Copyright footer.
4852 * lib/autoconf/lang.m4: Remove trailing space.
4854 * lib/autoconf/status.m4: More replacements to
4855 <tab><space> where this makes sense.
4857 2006-04-06 Stepan Kasal <kasal@ucw.cz>
4859 * tests/Makefile.am (maintainer-check-posix):
4860 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
4862 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
4863 ac_config_<foo>s again, sometimes normalized, sometimes not.
4864 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
4865 (AC_CONFIG_COMMANDS): Do not do so here.
4866 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
4867 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
4868 2005-07-25 rewrite. Noticed by Noah Misch.
4870 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
4871 _AC_PRESERVE_HELP_ORDER, ...
4872 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
4874 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
4875 inside m4_expand_once; it is redundant.
4877 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
4878 for --help from Cygnus `configure.'
4880 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
4882 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
4883 on a patch proposed by Ralf Wildenhues.
4885 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
4887 * lib/autoconf/status.m4: Replace <space>''<tab> with
4888 <tab><space> where this makes sense.
4890 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
4891 Noah Misch <noah@cs.caltech.edu>
4893 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
4894 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
4895 * doc/autoconf.texi (Help Formatting): New node.
4896 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
4898 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4900 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
4901 lib/autoconf/specific.m4, lib/autoconf/status.m4,
4902 lib/autoconf/types.m4, lib/autotest/general.m4,
4903 tests/mktests.sh, tests/torture.at: White space cleanup:
4904 remove some SPACE before TAB, or add quoting ('' or @&t@).
4906 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
4908 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
4910 2006-04-05 Eric Blake <ebb9@byu.net>
4912 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
4913 empty test suite works.
4914 * tests/autotest.at (Empty test suite): Remove xfail.
4916 2006-04-05 Noah Misch <noah@cs.caltech.edu>
4918 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
4919 TAGS to ac_config_<foo>s.
4920 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
4921 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
4922 normalizing it, consistent it with previous releases.
4923 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
4925 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
4927 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
4928 Use simplified args that Eric Blake originally suggested.
4930 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
4932 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
4933 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
4934 Use 'comm' rather than N instances of grep; this also fixes a bug
4935 whereby substrings were incorrectly matched, causing us to not
4936 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
4937 (exclude_list): Exclude empty macros.
4938 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
4940 Use awk rather than grep -E or egrep, to avoid
4941 portability problems with regular expressions containing newlines.
4942 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
4943 Switch from grep to awk syntax.
4944 (ac_exclude_script): Renamed from ac_exclude_egrep.
4945 (au_exclude_script): Renamed from au_exclude_egrep.
4947 2006-04-04 Noah Misch <noah@cs.caltech.edu>
4949 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
4950 a subdirectory subject to Cygnus `configure'.
4951 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
4953 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
4954 report request when we have no AC_PACKAGE_BUGREPORT.
4956 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4960 * tests/mktests.sh: Update copyright year in the header of the
4963 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
4964 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
4965 typedef'ed restricted pointer, to catch a compiler bug on
4966 HP-UX 11.x, and fix warnings so it passes with -Werror.
4967 (_AC_PROG_CC_C99): Likewise.
4968 Reported by Albert Chin <china@thewrittenword.com>.
4969 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
4971 2006-04-03 Noah Misch <noah@cs.caltech.edu>
4973 * bin/autoscan.in (subdirs): New global.
4974 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
4975 (output): Emit AC_CONFIG_SUBDIRS as needed.
4976 * tests/autoscan.at (autoscan): Remove XFAIL.
4978 2006-04-03 Noah Misch <noah@cs.caltech.edu>
4980 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
4982 2006-04-03 Eric Blake <ebb9@byu.net>
4984 * THANKS: Add myself.
4986 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4988 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
4989 to log, point to testsuite output tree.
4991 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
4993 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
4994 * doc/autoconf.texi (Function Portability): Mention that C++
4995 has trouble with 'exit'.
4996 (Guidelines): Test programs shouldn't use 'exit'.
4997 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4998 Remove; all uses removed.
4999 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
5000 Return from 'main' instead of calling 'exit'.
5001 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
5002 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
5003 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
5004 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
5005 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
5006 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
5007 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
5008 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
5009 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
5010 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
5011 * tests/compile.at: Likewise.
5013 2006-04-02 Pavel Roskin <proski@gnu.org>
5015 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
5017 2006-04-01 Stepan Kasal <kasal@ucw.cz>
5019 Clean up _AC_COMPILER_EXEEXT* macros.
5021 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
5022 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
5023 ac_file to the name of the default output file and call
5024 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
5025 initial `rm' of the candidate files...
5026 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
5027 the same list in subsequent `rm' calls, and for the temporary
5028 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
5029 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
5030 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
5031 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
5032 no longer needed) by libtool. Make it a cache check.
5033 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
5034 copied here by mistake.
5035 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
5036 _AC_COMPILER_EXEEXT.
5037 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
5038 _AC_COMPILER_OBJEXT directly.
5039 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5041 2006-04-01 Stepan Kasal <kasal@ucw.cz>
5043 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
5044 (AS_DIRNAME): Use it.
5045 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
5047 * tests/*.at: Remove the generated ones.
5049 2006-04-01 Stepan Kasal <kasal@ucw.cz>
5051 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
5053 2006-04-01 Eric Blake <ebb9@byu.net>
5055 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
5056 directories, unless optional third argument supplied.
5057 (AS_UNAME): Don't optimize PATH walk.
5059 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
5061 2006-04-01 Eric Blake <ebb9@byu.net>
5062 and Stepan Kasal <kasal@ucw.cz>
5064 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
5067 2006-04-01 Noah Misch <noah@cs.caltech.edu>
5069 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
5070 Autoconf version number despite a zero- or one-argument AC_INIT.
5072 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
5074 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
5075 * doc/autoconf.texi (autoreconf Invocation): Document it.
5077 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
5078 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
5080 2006-04-01 Eric Blake <ebb9@byu.net>
5082 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
5083 * lib/autotest/general.m4: Be tolerant of existing directory when
5084 rm failed to remove it.
5086 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5088 * bin/autoupdate.in: Redefine m4_location so that warnings print
5089 the correct lines of the input file by subtracting..
5090 (_au__first_line): ..this new definition.
5092 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
5093 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
5094 Remove stray newline in output.
5095 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
5096 AC_DEFUN this for autoconf, including the obsoletion diagnose.
5097 Fixes autoupdating of code where the replacement output contains
5099 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
5100 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
5101 (au_exclude_list): Add AC_LANG_SAVE.
5102 * tests/tools.at: Several new tests for all of this.
5103 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
5105 The AC_LANG_SAVE issue was reported against Libtool by
5106 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
5107 Kristian Kvilekval <kris@cs.ucsb.edu>.
5109 2006-04-01 Stepan Kasal <kasal@ucw.cz>
5111 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
5112 switch all of them on and of when necessary. Fixes the bug when
5113 m4sugar macros (e.g., m4_define) were expanded after the first
5114 automatic update (e.g., after AC_PREREQ or AC_INIT).
5116 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
5118 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
5119 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
5121 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
5122 correctly. Problem reported by Eric Blake.
5123 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
5126 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
5128 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
5129 Tighten up the basename/dirname wording.
5131 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5133 * Makefile.maint (sc_texi_notab): New check: do not use TABs
5134 in texinfo files outside of verbatim environments.
5135 (syntax-check-rules): Update.
5136 * doc/autoconf.texi (Configuration Headers): Conform to it.
5138 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
5140 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
5141 aclocal cannot be given on the command line.
5143 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
5145 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
5146 Give an example for AS_DIRNAME instead of referring to Posix..
5147 (File System Conventions): Put discussion of // versus / here, and
5149 (Limitations of Usual Tools): Add basename. Remove verbiage
5150 after dirname, since it got moved to the above sections.
5151 All this was inspired by a patch proposed earlier by Eric Blake.
5153 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5155 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
5156 `$0' to protect against spaces.
5157 * lib/autotest/general.m4 (AT_INIT): Likewise.
5158 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
5161 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5163 * bin/autoscan.in: The value of find_configure_ac should be
5164 checked for existence, so we don't barf over a nonexisting
5165 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
5167 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5169 * bin/autoupdate.in: Fix some typos.
5171 2006-03-21 Stepan Kasal <kasal@ucw.cz>
5173 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
5175 * lib/autoscan/autoscan.list: Refreshed.
5177 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5179 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
5180 and Erlang related variables.
5182 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
5183 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
5184 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
5185 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
5186 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
5187 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
5188 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
5189 (_AC_PROG_OBJC_G): New macros.
5190 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
5191 * doc/autoconf.texi (Objective C Compiler): New node.
5192 (Preset Output Variables): Document OBJCFLAGS.
5193 (Language Choice): Document `Objective C' language.
5194 (Fortran Compiler): Fix typo.
5196 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
5198 2006-03-20 Stepan Kasal <kasal@ucw.cz>
5200 * doc/autoconf.texi (Default Includes): Fix typo
5201 s/AC_HEADERS_STDC/AC_HEADER_STDC/
5202 (Limitations of Usual Tools): s/unwriteable/unwritable/
5203 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
5204 Fix typos in the comments.
5206 2006-03-17 Stepan Kasal <kasal@ucw.cz>
5208 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
5209 Factor out the warning to...
5210 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
5211 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
5212 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5214 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
5215 case `ac_delim' when writing the sed script.
5217 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
5218 moved DUALCASE=1 ...
5219 (AS_SHELL_SANITIZE): ... here.
5220 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
5223 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
5225 (_AC_PATH_PROG): Store the result to VARIABLE.
5226 (AC_PATH_PROG): No need to set VARIABLE again.
5228 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
5229 the first one is usual AT_CHECK_MACRO test, the second one checks
5230 that the same works when cross-compiling.
5231 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
5232 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
5234 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5236 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
5237 the directory `/usr/bin/posix' in the shell search, to prefer
5238 the Posix shell not only in subsequent spawns as with `$BIN_SH'
5241 * doc/autoconf.texi (contents): To fix texi2html output, hide
5242 `@setcontentsaftertitlepage' for HTML.
5243 (Writing Autoconf Macros): Likewise, insert space after `@c'.
5244 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
5247 2006-03-16 Stepan Kasal <kasal@ucw.cz>
5249 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
5251 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
5252 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
5253 why IFS is restored so late; thank you, Ralf, for reminding us.
5255 2006-03-15 Stepan Kasal <kasal@ucw.cz>
5257 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
5258 variables in the examples.
5260 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
5262 * doc/autoconf.texi (several sections): Cleaned up documentation for
5263 macros in erlang.m4.
5265 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5267 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
5268 failure condition for `$(cmd)' style command substitutions.
5269 (Parenthetical command substitution, Multiline parenthetical
5270 command substitution): Use it.
5272 * doc/autoconf.texi (Special Shell Variables): Missing word.
5273 Reported by Keith Marshall <keith.marshall@total.com>.
5275 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
5276 IFS even in case of empty `$PATH'.
5278 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5280 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
5281 `expr' away if there is nothing to do.
5282 < --keywords >: Simplify and robustify argument handling.
5283 Revert erroneous comment from 2005-08-23. Extend to allow
5284 keyword negation with `!'.
5285 Update help message. Remove broken code to prevent running
5286 tests multiple times.
5287 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
5288 Update and fix the documentation accordingly.
5289 * tests/autotest.at (Keywords): Renamed to..
5290 (Keywords and ranges): .. this. Extended to make sure negated
5291 keywords, keywords taken from AT_SETUP arguments, and numeric
5292 test ranges work, and that matching is case-insensitive.
5294 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5296 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
5297 allow to pass unnamed structs even in C++.
5298 (AC_CHECK_SIZEOF): Likewise.
5299 Also fix quoting error in `AC_MSG_FAILURE' arguments.
5300 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
5301 struct): New tests for unnamed structs, each both native and
5304 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
5305 a structure inside a cast, for C++ conformance.
5306 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
5307 Also fix quoting error in `AC_MSG_FAILURE' arguments.
5309 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
5310 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
5311 trying to execute the command `no'.
5313 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
5314 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
5317 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
5318 example. Do not emphasize `$%', it is hardly new and special.
5319 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
5321 * doc/autoconf.texi (Limitations of Usual Tools): Document
5322 OpenBSD and traditional `grep' failure to handle multiple
5323 patterns separated by newlines.
5325 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
5327 * doc/autoconf.texi (several sections): Add documentation for macros
5330 2006-03-10 Eric Blake <ebb9@byu.net>
5332 * doc/autoconf.texi (Obsolete Macros): Fix wording of
5335 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
5337 * doc/autoconf.texi: Use @acronym more consistently for acronyms
5338 like BSD, GPL, LGPL. Fix minor English typos.
5339 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
5340 Mention that these macros are becoming obsolete.
5341 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
5342 Use more modern terminology for which standard is what.
5343 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
5345 (AC_PROG_CXX): Likewise.
5346 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
5347 Remove obsolete discussion about how to port to K&R.
5348 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
5349 the obsolescent AC_HEADER_STDC.
5350 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
5353 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5355 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
5356 Remove stdin redirection from /dev/null to allow pipe to work.
5358 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
5360 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
5361 Require that /lib/cpp include stdio.h correctly. Solaris 10's
5362 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
5365 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5367 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
5368 HP-UX sed is 99 commands, not 100.
5369 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
5370 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
5371 newline for portability.
5372 * tests/torture.at (Torturing config.status): Also test 100
5373 AC_SUBST_FILE invocations. Fix test to actually verify the
5374 AC_CONFIG_FILES output.
5375 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
5376 command, label, and read-file `r' limits. Unify HP-UX spelling.
5378 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
5380 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
5382 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
5383 * tests/mktests.sh: Small shell portability fixes.
5385 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5387 * doc/autoconf.texi (Caching Results): Fix the examples to use a
5388 recommended quoting style and discard unwanted output.
5390 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
5392 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
5393 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
5394 cases, and to work around Tru64 expr bug.
5396 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5398 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
5399 expr bug that turns the result of a regex match into a number if
5402 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5404 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
5405 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
5406 in section `Specific Compiler Characteristics'.
5408 2006-03-04 Eric Blake <ebb9@byu.net>
5410 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
5413 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5415 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
5416 order of variable initialization, so even the Solaris 2.6 shell
5417 can create a config header correctly. Fixes lots of test suite
5420 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5422 * doc/autoconf.texi (Text processing Macros): New node to
5423 document the m4sugar macros m4_re_escape, m4_tolower,
5424 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
5426 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
5428 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
5429 XrmInitialize (0) -> XrmInitialize ().
5430 Reported by Toshio Kuratomi.
5432 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5434 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
5435 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
5436 * doc/autoconf.texi (Programming in M4sh): Adjusted.
5437 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
5438 both macros are defun'ed so that required macros are evaluated
5441 * doc/autoconf.texi (Prerequisite Macros): State more precisely
5442 where a required macro will be expanded.
5443 (Coding Style): Another reason not to use `m4_define'.
5445 2006-02-21 Eric Blake <ebb9@byu.net>
5447 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
5449 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5451 * doc/autoconf.texi (Looping constructs): New node, to
5452 document m4_for, m4_foreach, m4_foreach_w, and mention
5453 obsolete AC_FOREACH.
5454 (Obsolete Macros): Document AC_FOREACH.
5455 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
5456 (m4_for): Fix to never loop (almost) endlessly, work correctly
5457 with arithmetic expressions in arguments, a step of zero or
5458 non-integer multiple of the interval, and avoid integer
5460 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
5463 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
5465 Add basic support for Erlang, both for configuring Erlang/OTP
5466 tools, and Erlang as a conf test language.
5467 * lib/autoconf/erlang.m4: New file.
5468 * lib/autoconf/autoconf.m4: Add erlang.m4.
5469 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
5470 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
5471 * NEWS: Add short description of new macros.
5472 * THANKS: Add Romain Lenglet.
5474 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5476 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
5477 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
5479 2006-02-15 Eric Blake <ebb9@byu.net>
5481 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
5484 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5486 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
5487 (_AS_CASE): Private helper macro.
5488 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
5489 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
5490 Fix syntax of AS_IF description
5491 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
5492 for the AC_REQUIRE mess.
5493 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
5496 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
5498 * doc/autoconf.texi: Minor style cleanup.
5499 Be consistent about spaces after commas.
5500 Insert [] where empty args look a bit funny.
5501 Fix some "i.e." and "e.g." usages.
5502 Try to avoid "X/Y" usages.
5503 Don't be pedantic about "ISO C99"; just say C99.
5504 Prefer GNU style for spaces in front of parens.
5505 (Function Portability): Comment about C89 versus C99
5506 signed integer division.
5507 (Particular Headers): Use current gnulib style for dirent
5510 2006-02-14 Stepan Kasal <kasal@ucw.cz>
5511 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5513 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
5514 macros without parameters.
5515 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
5516 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
5517 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
5519 (autoupdate): Updated to match AU_ALIAS fix.
5521 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5522 and Paul Eggert <eggert@cs.ucla.edu>
5524 * doc/autoconf.texi (Programming in M4sh): Document
5525 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
5527 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5529 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
5530 (AS_BOURNE_COMPATIBLE): ..this.
5531 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
5533 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
5535 * doc/install.texi (Defining Variables): Tighten up the
5536 CONFIG_SHELL wording.
5538 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
5539 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5541 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
5542 of (set -o) rather than testing whether (set -o posix) succeeds,
5543 to work around a bug in the AIX 5.3 shell. Problem originally
5544 reportd by Howard Chu for libtool.
5546 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
5548 * doc/autoconf.texi (Running the Compiler, Running the Linker):
5549 Changes the macro arguments in summaries to match the
5552 2006-02-04 Stepan Kasal <kasal@ucw.cz>
5554 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
5555 hint as ``a workaround for a bug.''
5557 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5559 * bin/autoreconf.in: New option `--no-recursive'.
5560 Improve wording for subpackages a bit.
5561 * doc/autoconf.texi (autoreconf Invocation): Updated.
5564 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
5565 in environment of `configure', not the command line.
5566 Reported by Howard Chu <hyc@highlandsun.com>.
5568 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
5570 * doc/autoconf.texi (Limitations of Builtins): Document the
5571 problem with "trap -".
5573 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
5575 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
5576 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
5577 messages to differentiate Fortran and Fortran 77 tests.
5578 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
5579 AC_LANG_ASSERT, to allow use in mixed-language projects.
5581 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
5583 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
5584 FOO" to "defined (FOO)".
5585 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
5586 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
5587 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
5588 * tests/tools.at (ifnames): Likewise.
5590 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5592 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
5593 * lib/Autom4te/General.pm (mktmpdir): Likewise.
5594 (END): Improve error message a bit.
5595 Reported by Bruce Korb <bkorb@gnu.org>.
5597 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5599 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
5600 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
5602 2006-01-11 Stepan Kasal <kasal@ucw.cz>
5604 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
5605 requires sys/stream.h. Reported by Oliver Kiddle.
5607 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5608 Stepan Kasal <kasal@ucw.cz>
5610 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
5611 before the removals of test dirs, use `find' to avoid modification
5612 of symlinked directories.
5614 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
5616 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
5617 Don't ignore the macro arguments.
5619 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
5621 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
5622 declaration that works for MSVC.
5624 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5626 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
5627 Add `*.map' and `.inf' for Green Hills compiler.
5628 Reported by Stefan Seefeld <stefan@codesourcery.com>.
5630 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
5631 correctly: pad with spaces after FIRST_PREFIX if necessary,
5632 and compute string lenghts with `m4_qlen' instead of `m4_len'.
5633 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
5634 * tests/m4sh.at (AS_HELP_STRING): Test extended.
5636 Reported by numerous people, numerous times.
5638 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
5640 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
5641 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
5642 * lib/autoconf/general.m4, lib/autoconf/status.m4:
5643 * lib/autotest/general.m4, tests/local.at:
5644 Update copyright year to 2006.
5646 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
5648 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
5649 for file names, again. Reported by Noah Misch.
5650 (Coding Style): Explain that s|a|b| is preferred for file names.
5651 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
5652 (AC_OUTPUT_MAKE_DEFS): Likewise.
5653 * lib/autotest/general.m4 (AT_INIT): Likewise.
5654 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
5655 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
5657 Fix Posix-conformance bugs re use of { command in sed scripts,
5658 and improve the sed-related documentation a bit.
5659 * doc/autoconf.texi (Installation Directory Variables): Use
5660 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
5661 rather than "sed" when talking about Sed in general.
5662 (Particular Programs): Likewise.
5663 (Coding Style): y is like s with respect to / and ,.
5664 (Limitations of Usual Tools): Document the weird restrictions
5665 that Posix has about { }. Use better quoting.
5666 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
5667 Rewrite to conform to Posix rules about { } in sed scripts.
5668 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
5669 * tests/foreign.at (Libtool): Likewise.
5670 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
5671 Use our own style advice re 's,a,b,' versus 's|a|b|'.
5673 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5675 * lib/autoconf/status.m4: Fix typo.
5677 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
5678 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
5679 `-def', for the benefit of Portland `pgf90 -Mipa'.
5680 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
5682 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
5684 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
5685 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
5686 shell from zsh to bash.
5688 2005-12-31 Stepan Kasal <kasal@ucw.cz>
5690 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
5691 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
5693 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
5695 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
5696 parentheses in $(...). Problem reported by Eric Blake.
5698 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
5700 * doc/autoconf.texi (Limitations of Usual Tools):
5701 Mention which characters can be escaped with \ in portable regular
5702 expressions used in grep, sed, expr. Mention the leading ^ problem
5703 with expr. Clean up some confusing wording. Mention which
5704 grep options are portable.
5706 2005-12-09 Stepan Kasal <kasal@ucw.cz>
5708 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
5710 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
5712 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
5713 patch, noted by Ralf Wildenhues.
5715 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5717 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
5718 posix' unconditionally, for pdksh in `native sh' emulation.
5720 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
5722 * doc/autoconf.texi (Shellology): Document eval $? problem
5724 (Limitations of Builtins): Likewise.
5726 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5728 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
5729 CONFIG_SHELL in the environment of the configure rerun.
5730 * doc/autoconf.texi (Here-Documents, config.status Invocation):
5731 Suggest passing CONFIG_SHELL absolute, and in the environment
5732 rather than as option.
5734 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5736 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
5737 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
5738 Fix macro quoting. Fix output for n * 98 substituted variables.
5740 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5742 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
5743 `tmp' to avoid file removal race.
5745 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5747 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
5748 ac_clean_files and LIBOBJS.
5750 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5752 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
5753 Factor functionality to..
5754 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
5755 `AC_SUBST($1)' in the public version.
5756 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
5757 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
5760 2005-11-01 Stepan Kasal <kasal@ucw.cz>
5762 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
5765 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5767 * NEWS: Move AH_HEADER mention to right place.
5769 2005-10-27 Stepan Kasal <kasal@ucw.cz>
5771 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
5772 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5774 2005-10-25 Stepan Kasal <kasal@ucw.cz>
5776 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
5777 conftst2.$ac_objext.
5778 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5780 2005-10-24 Stepan Kasal <kasal@ucw.cz>
5782 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
5783 conftest.o, to see whether the compiler really obeys; rm the object
5784 file before and after the test and register it with ac_clean_files.
5785 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5787 2005-10-21 Stepan Kasal <kasal@ucw.cz>
5789 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
5790 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
5791 code so that the most common case requires less forks.
5793 2005-10-20 Stepan Kasal <kasal@ucw.cz>
5795 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
5796 not portable; thanks to Paul Eggert and Alexandre.
5798 * NEWS: Fix an old typo.
5800 2005-10-20 Jim Meyering <jim@meyering.net>
5802 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
5803 the latter'', in two places.
5805 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
5807 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
5808 AC_LANG_PROGRAM, fixing a typo. Don't give details about
5809 the inner workings of AC_LANG_FUNC_LINK_TRY.
5810 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
5811 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
5812 by the function rather than ignoring it.
5813 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
5814 comparing its address. Intel's interprocedural optimization was
5815 outsmarting the old heuristic. Problem reported by
5818 2005-10-19 Stepan Kasal <kasal@ucw.cz>
5820 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
5822 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
5824 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
5825 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
5827 2005-10-04 Stepan Kasal <kasal@ucw.cz>
5829 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
5830 before removing it (chmod -R u+rwx); there are three instances of this.
5832 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5833 Stepan Kasal <kasal@ucw.cz>
5835 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
5836 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
5837 make its content writable before removing it. Remove an errorneous
5838 comment from the end, where the logs of the failed tests are copied
5839 to the main log file.
5841 2005-09-27 Stepan Kasal <kasal@ucw.cz>
5843 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
5844 in case the computer is too quick. Double quote the configure.ac
5847 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
5848 problems if the testsuite were running too fast.
5850 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
5852 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
5853 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
5854 (which belong to Xt, not X itself). See Debian bug 327655.
5855 * NEWS: Mention this.
5857 2005-09-07 Stepan Kasal <kasal@ucw.cz>
5859 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
5861 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
5863 * config/move-if-change: Don't output "$2 is unchanged";
5864 suggested by Ben Elliston. Handle weird characters correctly.
5866 2005-09-06 Stepan Kasal <kasal@ucw.cz>
5868 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
5869 calls, so that the final expansion of this macro is shorter.
5870 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
5871 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
5872 the cleanup there. Use AS_VAR_* macros, to be more general.
5873 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
5875 * lib/autoconf/general.m4: Use AS_IF where appropriate.
5877 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
5879 2005-09-01 Stepan Kasal <kasal@ucw.cz>
5881 * doc/autoconf.texi (Configuration Headers): Add an index entry
5884 2005-08-26 Pavel Roskin <proski@gnu.org>
5886 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
5887 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
5890 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
5892 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5893 The previous patch didn't work, so try a better one.
5895 2005-08-26 Stepan Kasal <kasal@ucw.cz>
5897 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
5898 in the example. Reported by Bruno Haible.
5899 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
5900 "if $undefined_var;" succeeds with my shell.
5902 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
5903 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
5904 but change the m4_divert_text to m4_divert_once.
5906 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
5908 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5909 Work around bug in Solaris /usr/xpg4/bin/awk.
5910 The bug is present in at least Solaris 8 through 10.
5912 2005-08-24 Stepan Kasal <kasal@ucw.cz>
5914 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
5915 some evil values and relying on the fact that $* concatenates the
5916 parameters by the first character from IFS.
5918 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
5919 Stepan Kasal <kasal@ucw.cz>
5921 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
5922 first header appears, define AH_HEADER.
5923 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
5924 Update limitations about when to call AC_CONFIG_HEADERS.
5925 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
5926 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
5927 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
5928 ``Configuration Actions''; fix their index entries.
5930 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
5931 options correctly. Process N-M as M-N if M is smaller than N.
5932 Process ranges correctly so that N-N will run only N.
5933 Sort and uniquify the tests that will be run. If there is more
5934 than one test, reinsert the banners for the tests.
5935 * tests/autotest.at (Keywords): Unmark XFAIL.
5937 2005-08-23 Stepan Kasal <kasal@ucw.cz>
5939 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
5940 before passing the macro name to AH_TEMPLATE.
5942 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
5943 now opens log after option processing; in particular, --version
5944 and --help do not touch config.log.
5946 * Makefile.maint: Revert the change from 2005-08-12.
5948 2005-08-22 Stepan Kasal <kasal@ucw.cz>
5950 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
5952 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
5954 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5956 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
5957 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
5960 * doc/autoconf.texi (Defining Symbols, Changed Results):
5961 Prepend to LIBS, not append, in examples.
5963 2005-08-16 Stepan Kasal <kasal@ucw.cz>
5965 When building in place, set srcdir="."; suggested by Tim Van Holder.
5967 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
5968 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
5969 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
5970 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
5971 does not mean "no --srcdir option".
5973 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5975 * tests/autoscan.at (autoscan): New file.
5976 * tests/suite.at: Use it.
5977 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
5978 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
5980 * tests/autotest.at (Keywords): Test keywords combinations.
5982 2005-08-12 Stepan Kasal <kasal@ucw.cz>
5984 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
5985 add "2>&1"; gzip 1.2.4 prints help on stderr.
5987 2005-07-27 Stepan Kasal <kasal@ucw.cz>
5989 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
5990 was pushdef'ed twice while popped only once. Push it only once.
5991 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
5993 2005-07-26 Stepan Kasal <kasal@ucw.cz>
5995 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
5996 prefixed by mere "===", not "configure: === ".
5998 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
6000 * Makefile.maint: Update from Bison.
6002 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
6003 "<tab>" in comment, so that the point is understandable.
6005 2005-07-25 Stepan Kasal <kasal@ucw.cz>
6007 Rewrite substantial part of lib/autoconf/status.m4.
6008 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
6009 and CONFIG_COMMANDS are not processed in four separate loops.
6010 Instead, there is one main loop. This alows that the common code
6011 is expanded only once, thus config.status (and configure) is smaller.
6013 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
6014 the AC_LIST_FILES and cousins macros are no longer used.
6016 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
6017 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
6018 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
6019 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
6020 contain the initialization, nor the for loop, nor the associated
6021 commands; all these go to ...
6022 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
6023 _AC_OUTPUT_CONFIG_STATUS.
6024 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
6025 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
6026 (_AC_OUTPUT_FILE): The creation of the sed script ...
6027 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
6028 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
6029 _AC_OUTPUT_MAIN_LOOP.
6030 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
6031 _AC_CONFIG_COMMANDS): Use ...
6032 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
6033 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
6034 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
6035 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
6036 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
6037 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
6039 (_AC_CONFIG_UNIQUE): Update.
6040 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
6041 Replaced by this ...
6042 (_AC_LIST_TAGS): ... new common macro.
6043 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
6044 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
6045 (_AC_LIST_TAG_COMMANDS): ... new common macro.
6046 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
6047 this didn't belong to the `config commands' section.
6048 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
6049 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
6050 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
6051 to the `config commands' section either.
6052 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
6053 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
6055 ... and many changes to the comments nearby.
6057 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
6058 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
6059 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
6060 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
6061 (#define header templates): The comment at the top of the generated
6062 header now includes the name(s) of the source file(s).
6064 Several unrelated small changes:
6066 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
6067 parameter to AC_DIAGNOSE.
6068 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
6069 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
6070 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
6071 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
6073 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
6074 in AC_OUTPUT doesn't double-quote it either.
6075 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
6078 2005-07-10 Stepan Kasal <kasal@ucw.cz>
6080 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
6081 versions of Portland Group compiler produce single- and double-quoted
6082 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
6083 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
6085 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
6087 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
6088 This is a corrected version of yesterday's patch.
6090 2005-07-07 Stepan Kasal <kasal@ucw.cz>
6092 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
6093 path, too; insert a "===" to emphasize the line.
6095 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
6096 ac_cv_build_alias to ac_build_alias.
6097 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
6099 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
6100 change eliminates it. Problem reported by Alexandre Duret-Lutz.
6101 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
6102 (AC_ARG_VAR): ... here.
6103 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
6106 Keep a list of all precious variables and process them with one simple
6107 for loop, instead of expanding all commands, or, OTOH, complicated
6108 processing of output of "set".
6109 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
6110 variable names in new macro...
6111 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
6112 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
6113 a loop to assign all ac_env_* and ac_cv_env_* variables.
6114 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
6116 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
6117 its value to shell variable ac_precious_vars and call
6118 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
6119 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
6120 _AC_ARG_VAR_VALIDATE.
6122 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
6123 and the AC_SUBSTs ...
6124 (AC_INIT): ... here.
6126 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
6127 the ac_subst_files section in config.log.
6129 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
6131 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
6133 * NEWS: New macro AC_C_TYPEOF.
6134 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
6135 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
6136 * tests/c.at (C keywords): Test AC_C_TYPEOF.
6138 Fix problems reported by Nicolas Joly.
6139 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
6140 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
6141 They are generated by the Tru64 v5.1B shell.
6143 2005-07-05 Stepan Kasal <kasal@ucw.cz>
6145 Fix my changes from 2005-07-01; reported by Noah Misch.
6146 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
6147 description, the macro now accepts only a single tag.
6148 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
6150 Fix cases when the varsions of Autoconf and Autotest don't match.
6151 Reported by Noah Misch.
6152 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
6153 at_top_builddir, for compatibility with older autotest.
6154 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
6155 is not set, use at_top_builddir, for compatibility with older
6156 versions of autoconf.
6158 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
6160 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
6161 Problem reported by Patrick Welche.
6163 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
6165 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
6166 sed substitution command, so that we allow | in program prefixes
6167 and program suffixes. (& is a problem anyway; we're not fixing
6169 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
6170 configure_input, top_builddir, srcdir, etc.
6171 * lib/autotest/general.m4 (AT_INIT): Likewise, for
6172 PATH_SEPARATOR in AUTOTEST_PATH.
6174 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
6176 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
6177 for loop over config.site files using `set', to allow
6178 directory names containing IFS characters.
6180 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
6182 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
6183 directories with weird names. Apparently some people like living
6184 on the edge. However, improve the test that "pwd" actually does
6185 report a name for the working directory.
6186 * NEWS: Remove the claim that we test for funny chars in dir names.
6188 2005-07-01 Stepan Kasal <kasal@ucw.cz>
6190 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
6192 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
6193 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
6194 Now accept a single tag, not whitespace separated list.
6195 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
6197 2005-06-30 Stepan Kasal <kasal@ucw.cz>
6199 * doc/autoconf.texi (Configuration Headers): Change the explanation
6200 about #include <config.h>.
6201 (Generic Functions): Mention the Gnulib project.
6202 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
6204 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
6205 document to output the default config_* lists to config.status.
6206 Don't recognize option --file, if the functionality is not there.
6207 Likewise for --header; moreover, recognize --he and --h as shortcuts
6208 for --help in that case.
6210 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
6211 matches the order of execution. No code changed.
6213 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6215 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
6216 single-quoted -cmdline argument in Portland Group compiler.
6217 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
6219 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
6221 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
6223 2005-06-29 Stepan Kasal <kasal@ucw.cz>
6225 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
6226 descriptors to child processes; reported by Norman Gray.
6228 2005-06-29 Stepan Kasal <kasal@ucw.cz>
6230 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
6232 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
6233 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
6234 (AC_SUBST): Call it.
6235 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
6236 the directory specific variables; but don't call it for configure_input.
6238 2005-06-28 Derek Price <derek@ximbiot.com>
6240 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
6243 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
6245 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
6246 directory have inherent problems with special characters like spaces,
6247 due to limitations in Make syntax. Problem reported by Alexandre
6249 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
6250 Also, fix Tru64 porting problem with shell patterns,
6251 reported by Ralf Wildenhues.
6253 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6255 * doc/autoconf.texi (Subdirectories): Fix markup typos.
6257 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
6259 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
6261 Fix some more shell quoting problems. Prompted by a bug report
6262 from Justace Clutter.
6263 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
6264 variable into diagnostic. Make the diagnostic an error, not a warning,
6265 because we really don't support spaces and suchlike in dir names.
6266 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
6267 Don't worry about backslashes in srcdir; it can't happen now.
6268 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
6269 Simplify ac_optarg handling.
6270 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
6272 2005-06-22 Stepan Kasal <kasal@ucw.cz>
6274 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
6275 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
6276 * tests/atlocal.in: Propagate $EGREP and $SED.
6277 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
6278 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
6280 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
6281 that '\|' is not allowed in BREs; recommend using newline separated
6282 list of patterns instead of multiple -e options.
6284 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
6286 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
6288 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6290 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
6292 2005-06-21 Stepan Kasal <kasal@ucw.cz>
6294 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
6295 b, t, r, w commands require single space, while : cannot have any.
6296 (Special Shell Variables): Fix sed code this in the example.
6297 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
6298 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
6300 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
6301 expand to the empty list. Don't use two pairs of m4_changequote,
6304 2005-06-20 Derek Price <derek@ximbiot.com>
6306 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
6308 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
6310 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
6311 * doc/autoconf.texi:
6312 Don't mention Solaris versions so much, if a
6313 problem is common to all extant versions of Solaris. Say "SunOS
6314 4" instead of "SunOS" for SunOS 4.
6315 (awk): Mention more of the limitations of traditional Awk.
6316 (cat): Don't talk about cat -v.
6318 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
6320 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
6321 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
6322 but the implementation is entirely different and is designed
6323 to be compatible with glibc strverscmp.
6324 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
6326 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
6327 on Mac OS X 10.4 reported by Peter O'Gorman in:
6328 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
6329 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
6330 Use shell builtins rather than 'expr', to work around expr bug.
6332 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
6334 * doc/autoconf.texi: "filesystem" -> "file system".
6335 "behaviour" -> "behavior".
6336 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
6337 * lib/autoconf/general.m4: Omit blank after ":" sed command,
6339 * lib/m4sugar/m4sh.m4: Likewise.
6340 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
6341 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
6343 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
6344 (.x.1): Ignore the time stamp in the .TH line when deciding whether
6345 to update the man page. That way, we don't have to check in new
6346 man pages every month.
6348 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
6349 quotes and backslashes. Patch from Derek Price.
6351 2005-06-10 Derek Price <derek@ximbiot.com>
6353 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
6356 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
6358 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
6359 -u, since it outputs chatter if the input files are the same.
6360 Problem reported by Ralf Menzel.
6362 2005-06-08 Derek Price <derek@ximbiot.com>
6364 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
6365 renaming them since they are about to be redefined anyhow.
6367 2005-06-08 Derek Price <derek@ximbiot.com>
6369 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
6370 redefined M4 macros to this node. Document m4_include & m4_sinclude.
6371 Move m4_undefine to alphabetical order.
6373 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
6375 * README: Recommend GNU M4 1.4.3 or later.
6376 * doc/autoconf.texi (Introduction): Likewise.
6377 Reword to avoid some formatting glitches.
6378 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
6379 Clarify explanation of HP compiler bug.
6380 Redo example output tp match current CVS snapshot.
6381 Use @example.org in email addresses when the examples
6382 might get inadvertently cut-and-pasted into user code.
6383 Remove example of autom4te usage that doesn't seem to work now.
6384 Use modern AC_INIT (except when the example is meant to be
6385 shown with Autoconf 2.13).
6386 Update ksh info for Solaris 9 and later.
6388 Modernize description of Automake versions a bit.
6389 Don't claim a future version of Autoconf is near.
6390 * doc/install.texi: Reword to avoid some formatting glitches.
6392 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6394 * doc/autoconf.texi: Add [] to examples, so that the manual
6395 follows its own advice about quoting better.
6396 Reword to avoid some formatting glitches.
6397 * doc/installt.exi: Reword to avoid some formatting glitches.
6399 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
6400 Tru64 ksh pattern matching bug. Reported against Libtool by
6401 Albert Chin <libtool@mlists.thewrittenword.com> and
6402 Nicolas Joly <njoly@pasteur.fr>.
6404 2005-06-06 Stepan Kasal <kasal@ucw.cz>
6406 m4_cdr of one-member list was [[]] (one-member list containing an
6407 empty string) instead of [] (an empty list. Callers were skewed to
6408 match this misbehaviour. As a consequence of this:
6409 - m4_foreach([x], [], [foo]) expanded to `foo', while
6410 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
6411 This bug has been fixed:
6413 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
6414 expand to an empty string; print error msg if called without
6416 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
6417 misbehaviour; handle [] and [[]] correctly.
6419 2005-06-06 Stepan Kasal <kasal@ucw.cz>
6421 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
6422 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
6423 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
6425 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
6427 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
6428 swallow records with more than 99 fields.
6429 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
6430 parse the long line.
6432 2005-06-04 Stepan Kasal <kasal@ucw.cz>
6434 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
6435 swallow literals longer than 399. Reported by Ralf Wildenhues.
6436 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
6437 to workaround this limitation.
6439 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
6441 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
6442 to gfortran, and make these the first two compiler names
6443 checked (following the general autoconf preference for gcc).
6445 2005-06-03 Stepan Kasal <kasal@ucw.cz>
6447 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
6448 (DISTCLEANFILES): Remove $(check_SCRIPTS).
6449 (testsuite): Make sure autotest.m4f is up-to-date before using it.
6451 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
6453 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
6454 expression of unbounded size when processing the --list
6455 option. This runs afoul of a limit of 399 bytes per regular
6456 expression on AIX. Problem reported by Ralf Wildenhues.
6458 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
6460 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
6461 * doc/autoconf.texi (Particular Headers): Reword example
6462 for multiline stdbool replacement.
6463 (Setting Output Variables): Reword text a bit. Don't
6464 give all the details about |#_!!_#|.
6465 Reword description of line replacement.
6467 2005-05-31 Dan Manthey <dan_manthey@partech.com>
6469 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
6470 now contain newlines, and substituted files must be referenced on
6471 a line alone; the sed scripts to substitute them are now very
6473 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
6474 commands can be put in a sed script portably.
6475 * doc/autoconf.texi (Setting Output Variables): Document above
6476 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
6477 use of multiline substitution.
6478 * tests/torture.at: No longer expect substitution of newline to fail.
6480 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
6482 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
6483 From Ralf Menzel (trivial change).
6485 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
6487 * tests/local.at: Don't attempt to check for negated character
6488 classes in shell scripts. The test was too brittle.
6490 2005-05-25 Stepan Kasal <kasal@ucw.cz>
6492 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
6493 * doc/autoconf.texi (Limitations of Builtins): Document this
6496 2005-05-24 Stepan Kasal <kasal@ucw.cz>
6498 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
6499 common code; used in many places in the tree.
6500 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
6501 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
6503 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
6505 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
6506 messages when ac_unique_file is not found.
6507 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
6508 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
6509 commands, for consistency with AC_MSG_ERROR and such.
6511 * bin/autoconf.as: Make more use of "shift 2" in option processing.
6513 * bin/Makefile.am: Merge the two rules for creating scripts.
6515 2005-05-23 Stepan Kasal <kasal@ucw.cz>
6517 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
6518 obsolete; it was never documented.
6519 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
6521 2005-05-20 Stepan Kasal <kasal@ucw.cz>
6523 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
6524 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
6525 (ac_top_builddir): ... this ...
6526 (ac_top_build_prefix): ... to this; the old name is also kept, for
6527 backward compatibility.
6528 (ac_top_builddir_sub): New variable, without the trailing slash,
6530 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
6531 * doc/autoconf.texi (Configuration Actions): Rename
6532 ac_top_builddir to ac_top_build_prefix.
6533 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
6534 at_top_builddir to at_top_build_prefix.
6535 * lib/autotest/general.m4 (AT_INIT): Likewise.
6537 2005-05-20 Stepan Kasal <kasal@ucw.cz>
6539 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
6542 2005-05-17 Stepan Kasal <kasal@ucw.cz>
6544 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
6545 argument to m4_foreach. I guess it was necessary in the past,
6546 but I think it's a no-op now.
6548 2005-05-17 Stepan Kasal <kasal@ucw.cz>
6550 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
6551 ``cat <<_ACEOF'' commands to one.
6552 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
6553 * lib/autoconf/status.m4: On various places, use expr instead of
6555 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
6556 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
6557 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
6559 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
6560 the wrong patterns between ``case'' and ``esac.'' The previous
6561 code had false positives.
6563 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
6565 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
6567 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
6570 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
6572 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
6573 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
6574 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
6575 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
6576 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
6577 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
6578 config/config.guess, config/config.sub, config/elisp-comp,
6579 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
6580 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
6581 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
6582 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
6583 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
6584 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
6585 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
6586 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
6587 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
6588 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
6589 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
6590 lib/autoconf/general.m4, lib/autoconf/headers.m4,
6591 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
6592 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
6593 lib/autoconf/specific.m4, lib/autoconf/status.m4,
6594 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
6595 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
6596 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
6597 lib/autotest/general.m4, lib/emacs/Makefile.am,
6598 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
6599 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
6600 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
6601 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
6602 tests/compile.at, tests/foreign.at, tests/fortran.at,
6603 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
6604 tests/semantics.at, tests/suite.at, tests/tools.at,
6605 tests/torture.at, tests/wrapper.as:
6606 Update FSF postal mail address.
6608 2005-05-13 Stepan Kasal <kasal@ucw.cz>
6610 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
6612 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
6613 enough arguments, similarly as in m4_bpatsubsts.
6615 2005-05-12 Stepan Kasal <kasal@ucw.cz>
6617 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
6620 2005-05-11 Stepan Kasal <kasal@ucw.cz>
6622 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
6623 for absolute directory names in one loop.
6624 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
6625 abbreviations of --version and --debug.
6627 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
6629 * doc/autoconf.texi (Autoconf Language): Be more precise about
6630 quoting rules. Problems noted by Stepan Kasal.
6631 Also, throughout this document, be more careful about white space.
6632 "blank", "white space", and "space" all have different meanings
6633 and we should be careful to say what we mean.
6635 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
6637 Fix C++ related problems reported by Werner Lemberg.
6638 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
6639 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
6640 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
6641 avoid problems with C++ and throw.
6642 * tests/compile.at: .cpp, not .cc.
6644 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
6646 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6648 * doc/autoconf.texi (Generic Functions): Typos.
6650 2005-05-02 Gary V. Vaughan <gary@gnu.org>
6652 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
6653 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
6654 set by latest automake.
6656 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
6658 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
6659 outputs 0 on GNU/Linux these days.
6661 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
6663 * doc/autoconf.texi (Autoconf Language): Add more description
6664 about quoting heuristics.
6665 (Limitations of Builtins): Describe "set -" problems.
6667 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6669 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
6672 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
6673 by AC_DEFINE; it was a mistake.
6674 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
6676 2005-04-25 Stepan Kasal <kasal@ucw.cz>
6678 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
6680 2005-04-22 Stepan Kasal <kasal@ucw.cz>
6682 * doc/autoconf.texi (External Software): Quadrigraphs are not
6683 processed correctly in AS_HELP_STRING; avoid this in the examples.
6684 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
6685 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
6686 comment and reduce m4_default([foo], []) to [foo].
6687 (m4_strip): Update the explanation.
6689 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
6691 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
6692 Remove core.conftest.* too; it's generated by Tru64 5.1.
6693 Problem reported by Jennis Pruett.
6694 * lib/autoconf/functions.m4
6695 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
6696 Don't bother to remove core files; AC_RUN_IFELSE should do that
6699 2005-04-19 Stepan Kasal <kasal@ucw.cz>
6701 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
6703 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
6705 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
6706 Report from Horst Wente.
6708 2005-04-15 Stepan Kasal <kasal@ucw.cz>
6710 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
6713 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
6715 * doc/autoconf.texi (External Software, Package Options): Add
6716 examples showing how to implement --with-* and --enable-* options.
6718 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
6720 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
6721 as well as configure.in. Problem reported by Gregorio Guidi.
6723 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
6725 * doc/autoconf.texi (Particular Functions): Use gnulib's current
6726 pattern for alloca snippet.
6728 2005-04-04 Stepan Kasal <kasal@ucw.cz>
6730 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
6732 2005-04-01 Stepan Kasal <kasal@ucw.cz>
6734 * doc/autoconf.texi (Generic Programs): Fix a typo.
6736 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
6738 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
6739 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
6741 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6743 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
6744 Merge `-z option' as well for the benefit of Solaris link flags. Pass
6745 whole-archive (-zallextract, -zdefaultextract) options in the hope of
6746 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
6747 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
6749 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
6751 * NEWS: The configure command now warns you if you attempt to use
6752 a directory whose name contains a special character like space,
6754 * doc/autoconf.texi (Installation Directory Variables): Allow
6755 "," in file names. Do not use \@; it's not a portable regexp.
6756 * bin/Makefile.am (edit): Likewise.
6757 * lib/Makefile.am (edit): Likewise.
6758 * tests/Makefile.am (edit): Likewise.
6759 * tests/semantics.at: Likewise.
6760 * tests/torture.at: Likewise.
6761 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
6762 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
6763 * doc/autoconf.texi (File System Conventions): Warn about
6764 unportable file names.
6765 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
6767 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
6768 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
6769 ac_pwd, and quote srcdir.
6770 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
6772 * doc/autoconf.texi: Fix some systematic formatting problems.
6773 ".)" needs a following @: if not at the end of a sentence, and
6774 similarly for "!)". "etc." should be preceded by a comma.
6775 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
6777 2005-03-22 Bruno Haible <bruno@clisp.org>
6779 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
6780 argument is often called 'build-aux'.
6782 2005-03-07 Stepan Kasal <kasal@ucw.cz>
6784 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
6785 macro AC_TRY_LINK is obsolete.
6786 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
6789 2005-02-24 Stepan Kasal <kasal@ucw.cz>
6791 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
6792 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
6793 from a Common Lisp's `cl'.
6794 (AC_PROG_CXX): Behave according to the documentation: don't
6795 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
6796 make the variable CCC precious; use `cl.exe', not `cl'.
6798 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
6799 Alexandre Duret-Lutz <adl@gnu.org>
6801 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
6802 /dev/null, as "configure" shouldn't read stdin, and this insulates
6803 us from problems (e.g., when testing for "cl"). Also, do this
6804 redirection before invoking "hostname" or "uname", and keep the
6805 original input stream available via...
6806 (AS_ORIGINAL_STDIN_FD): ... this new macro.
6807 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
6808 bother with "</dev/null" since it's now done at the top of
6810 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
6811 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6812 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6813 * doc/autoconf.texi (File Descriptor Macros): New section.
6814 (Printing Messages): Mention it.
6815 * tests/base.at (Input/Output): New test.
6817 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
6819 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
6820 newline if neither \c nor -n work, as that would output two
6821 newlines. Prefer -n to \c. Reported by Stepan Kasal.
6823 2005-02-12 Stepan Kasal <kasal@ucw.cz>
6825 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
6826 This causes that any required macros inside will get before the if.
6827 * doc/autoconf.texi (autom4te.cache): A typo.
6829 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
6831 Undo previous change, except keep the change to
6832 lib/autoconf/programs.m4 that replaced grep with shell
6833 pattern-matching. This is because net-snmp configure reads stdin.
6834 Reported by Noah Misch.
6836 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
6838 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
6839 from /dev/null, as "configure" shouldn't read stdin, and this
6840 insulates us from problems (e.g., when testing for "cl").
6841 Suggested by Alexandre Duret-Lutz. Also, do this redirection
6842 before invoking "hostname" or "uname".
6843 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6844 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
6845 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
6846 "</dev/null" since it's now done at the top of 'configure'.
6847 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6848 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6849 Also, replace grep with shell pattern-matching, to save a process.
6851 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
6853 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6854 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
6855 avoid thinking that Allegro Common Lisp's "cl" command is a C++
6858 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
6860 * doc/autoconf.texi (Limitations of Usual Tools): Document that
6861 grep -q isn't portable. Improve grep -s explanation.
6862 Problem reported by Dan Manthey.
6864 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
6866 * doc/autoconf.texi (Special Shell Variables): Clarify
6867 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
6869 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
6871 * doc/autoconf.texi: Use @acronym for DJGPP.
6872 Fix some @code's that should have been @env's, and vice versa.
6873 Sort environment variable names.
6874 Mention that shells no longer inherit IFS.
6875 Don't recommend PATH_SEPARATOR=';' so strongly.
6876 Mention that $RANDOM might expand to the empty string.
6877 "symlink" and "soft link" -> "symbolic link".
6878 Improve mktemp description (reported by Bruno Haible).
6880 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
6882 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
6883 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
6885 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
6888 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
6890 * NEWS: Mention AT_COPYRIGHT.
6892 * tests/local.at (AT_CMP): Use diff directly on input files rather
6895 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
6896 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
6898 2005-02-04 Noah Misch <noah@cs.caltech.edu>
6899 and Paul Eggert <eggert@cs.ucla.edu>
6901 * tests/autotest.at (Empty test suite): New test.
6902 * tests/torture.at (Substitute and define special characters)
6903 (Substitute a 2000-byte string, Define to a 2000-byte string)
6904 (Substitute a newline, Define a newline): New tests.
6906 2005-02-04 Noah Misch <noah@cs.caltech.edu>
6908 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
6909 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
6910 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
6911 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
6912 (Standard regular expressions): New test.
6913 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
6914 excess test name quoting.
6915 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
6916 CPPFLAGS to `configure' instead of setting it in `configure'.
6918 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
6919 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
6922 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
6923 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
6925 * tests/local.at (AT_CMP): New macro.
6926 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
6927 (AC_SAVE_STATE): Move environment grep...
6928 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
6929 (AT_CONFIG_CMP): New macro.
6930 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
6931 * tests/c.at (Extensions): Do not exit early.
6932 * tests/atlocal.in: Inherit $GREP.
6934 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
6935 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
6937 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
6938 (AC_COPYRIGHT): Factor header comment portion out and move into...
6939 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
6940 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
6941 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
6943 * tests/local.at: Add Autoconf test suite copyright notice.
6944 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
6946 2005-02-04 Bruno Haible <bruno@clisp.org>
6947 and Paul Eggert <eggert@cs.ucla.edu>
6949 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
6951 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
6953 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
6954 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
6956 Try not to generated lines of unlimited length, as POSIX places a
6957 2047-byte limit on line length of portable text files.
6958 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
6959 Use newline as a separator, not space.
6960 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
6961 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
6964 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6966 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
6967 as_func_*. Add test to check whether positional parameters
6968 are restored after function return.
6970 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
6972 * doc/autoconf.texi (Special Shell Variables): Mention _,
6973 BIN_SH, DUALCASE. Say that variables other than "status" are safe
6974 if they contain a lower-case letter. The DUALCASE problem was
6975 reported by Ralf Wildenhues.
6977 * bin/autoconf.as: Don't exit with status 0 after write failure
6978 with --help or --version.
6979 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
6980 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
6982 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6984 * doc/autoconf.texi (Limitations of Usual Tools):
6985 Unicos 9 sed limitations.
6986 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
6987 to get the option-enhanced interface on older Crays. Try ftn for
6988 Fortran 95 (newer Crays).
6990 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
6992 * man/Makefile.am (.x.1): Go back to the simple solution, but take
6993 care to echo the commands, so the user knows what's going on.
6994 Modified from a suggestion by Stepan Kasal.
6996 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
6997 with a cross reference. Derived from a suggestion by Bruce Korb.
6999 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
7001 * doc/autoconf.texi (config.status Invocation): Warn about
7002 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
7003 * doc/install.texi (Defining Variables): Likewise.
7004 Based on a proposed patch by Ralf Wildenhues.
7006 * man/Makefile.am (.x.1): Make sure the required generated files
7007 are up to date. Problem and original solution proposed by Stepan Kasal.
7008 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
7009 implicit-man-prerequisites): New rules, used by the above.
7011 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
7012 * config/config.guess, config/config.sub, config/install-sh: Likewise.
7013 * config/missing, config/texinfo.tex: Likewise.
7015 2005-01-29 Stepan Kasal <kasal@ucw.cz>
7017 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
7018 Update the long comment explaining it.
7020 m4_require no longer writes an ``is required by'' line to the
7021 execution stack. It contains only one bit of non-redundant
7022 information: that the macro was required, not called. And even
7023 this bit is useless in most situations: have you ever met a macro
7024 which both calls and requires the same macro?
7026 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
7027 (_m4_defun_pro_outer): ... only via this macro, for the outermost
7029 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
7030 (m4_expansion_stack_pop): Remove the misplaced comment.
7031 (m4_require): Don't put the ``is required by'' line to the
7032 execution stack; slightly improve the out-of-a-defun error message.
7033 (_m4_divert_grow): New macro, counter for the temporary diversions.
7034 (_m4_require_call): Use it.
7035 * tests/m4sugar.at (m4_require): Expect output without the
7036 ``is required by'' messages.
7038 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
7040 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
7041 rather than x for expr.
7043 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
7045 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
7046 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
7047 * lib/autotest/general.m4 (AT_INIT): Likewise.
7048 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
7049 * tests/mktests.sh: Likewise.
7051 2005-01-27 Akim Demaille <akim@epita.fr>
7053 Have autoheader honor --force.
7055 * doc/make-stds.texi, doc/standards.texi: Update from masters.
7056 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
7057 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
7058 from masters, so that FileUtils.pm's update_file provide --force
7060 * bin/autoheader.in: Pass $force to update_file so that
7061 config.h.in is always recreated when --force.
7063 2005-01-24 Stepan Kasal <kasal@ucw.cz>
7065 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
7067 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
7069 * doc/autoconf.texi (Limitations of Builtins): Clarify that
7070 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
7072 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
7074 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
7075 Warn about newline stripping in `` and $(). Update Solaris
7077 (Limitations of Builtins): Use expr "X...", not expr "x...", as
7078 X insulates us from future changes to Posix.
7079 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
7082 2005-01-19 Stepan Kasal <kasal@ucw.cz>
7084 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
7085 you cannot use AC_DEFINE to define macros containing `[' or `]'.
7087 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
7089 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
7090 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
7091 bug-tar mailing list.
7093 2005-01-05 Stepan Kasal <kasal@ucw.cz>
7095 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
7097 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
7099 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
7100 ulongval to be static, to avoid unwanted GCC warning. Problem
7101 reported by Michael Jennings via Daniel Reed; see
7102 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
7104 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
7106 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
7107 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
7108 datadir, infodir, and mandir. Adjust argument parsing code.
7109 (_AC_INIT_HELP): Update help text.
7110 * doc/autoconf.texi (Installation Directory Variables): Document
7113 2005-01-04 Noah Misch <noah@cs.caltech.edu>
7115 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
7116 not seem to work, assume it does set $(MAKE).
7117 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
7119 2005-01-03 Stepan Kasal <kasal@ucw.cz>
7121 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
7123 2005-01-03 Stepan Kasal <kasal@ucw.cz>
7125 A cleanup of the diversion support in m4sugar.
7127 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
7128 (_m4_divert_n_stack): New macro; the expansion is
7129 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
7131 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
7132 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
7133 stored in _m4_divert_diversion or _m4_divert_dump.
7134 (m4_divert_pop): When the parameter is given, compare the symbolic
7135 name with the last diversion pushed on the stack. Previously, the
7136 current diversion was compared with the numeric value of the
7137 diversion given as the parameter.
7138 (m4_require): If the macro hasn't been expanded yet, call ...
7139 (_m4_require_call): this new macro.
7141 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7143 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
7144 Workarounds for documented `case' limitations.
7146 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
7148 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
7149 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
7151 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
7153 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
7154 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
7155 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
7157 Patch from Roger Leigh (with some minor changes) as follows:
7158 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
7159 Resurrect AC_PROG_CC_STDC.
7160 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
7161 AC_PROG_CC_C89, AC_PROG_CC_C99.
7162 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
7163 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
7164 AC_PROG_CC_C99): New macros.
7165 (AC_PROG_CC_STDC): Use them.
7166 (_AC_PROG_CC_STDC): Remove.
7167 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
7168 * THANKS: Add Roger Leigh.
7170 2004-12-30 Noah Misch <noah@cs.caltech.edu>
7172 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
7173 signals that the package uses Automake; a `Makefile.am' is typical but
7174 not essential. Reported by Magnus Therning.
7175 * tests/torture.at (autoreconf.): New banner.
7176 (autoreconf and non-AC configure): Rename to `Non-Autoconf
7178 (autoreconf an empty directory): Rename to `Empty directory'.
7179 (Unusual Automake input files): New test.
7181 2004-12-30 Noah Misch <noah@cs.caltech.edu>
7183 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
7184 (AT_SETUP): Clear AT_capture_files.
7185 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
7186 (AT_KEYWORDS): Fix comment typo.
7187 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
7188 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
7189 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
7191 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
7193 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
7194 If the variable to set is already set, set ac_cv_path_$1
7195 to the preset value so caller can assume ac_cv_path_$1
7196 is available. (trivial change)
7198 2004-12-27 Noah Misch <noah@cs.caltech.edu>
7200 * BUGS (Minor Problems): Warn about makefile limitations.
7201 * Makefile.am: Find and update `INSTALL' in $(srcdir).
7202 * man/Makefile.am: Find and update manual pages in $(srcdir).
7204 2004-12-24 Eric Blake <ebb9@byu.net>
7206 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
7207 shells in subshell, to avoid noise from ash. (trivial change)
7209 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7211 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
7212 problems with SunOS ksh and backslash escaping, Bourne shells and
7213 closing brackets (both within character classes). Bug reported
7214 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
7215 <read>: New entry. Mention non-availability of -r.
7217 2004-12-21 Akim Demaille <akim@epita.fr>
7219 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
7220 avoid cluttering displayed messages. Rather, prepend srcdir where
7221 AT_LINE is used for log files.
7223 2004-12-21 Stepan Kasal <kasal@ucw.cz>
7225 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
7226 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
7227 no longer part of the macro, quote the occurrence of ``$tmp''.
7228 * doc/autoconf.texi (Forbidden Patterns): Typo.
7230 2004-12-21 Akim Demaille <akim@epita.fr>
7232 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
7233 separated from the test title by forcing a white space.
7235 2004-12-21 Akim Demaille <akim@epita.fr>
7237 Enable Emacs navigation within testsuite.log files.
7239 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
7240 use the compilation mode.
7241 (AT_LINE): Point to the srcdir.
7243 2004-12-19 Noah Misch <noah@cs.caltech.edu>
7245 * tests/Makefile.am (installcheck-local): Use $(bindir).
7246 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
7247 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
7248 Makefile.am scheme Autoconf now uses.
7250 2004-12-18 Noah Misch <noah@cs.caltech.edu>
7252 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
7253 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
7255 2004-12-18 Noah Misch <noah@cs.caltech.edu>
7257 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
7258 (_AT_CHECK): Use it.
7259 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
7260 (AS_ESCAPE): Fix comment.
7261 * tests/autotest.at: Adjust section banner comments.
7262 (AT_CHECK_AT): Accept STATUS and STDERR.
7263 (AT_CHECK_AT_TEST): Likewise.
7264 (Invalid brace-enclosed parameter expansion)
7265 (Multiline command from M4 expansion)
7266 (Double-M4-quoted command): New tests.
7268 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
7270 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
7272 2004-12-17 Akim Demaille <akim@epita.fr>
7274 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
7276 Suggested by Alexandre Duret-Lutz.
7277 * doc/autoconf.texi (Setting Output Variables): Catch up.
7279 2004-12-17 Stepan Kasal <kasal@ucw.cz>
7281 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
7283 2004-12-17 Stepan Kasal <kasal@ucw.cz>
7285 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
7286 remove the comment which said we cannot.
7288 2004-12-17 Stepan Kasal <kasal@ucw.cz>
7290 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
7291 Reini Urban and Paul Eggert for reporting the dependencies.
7293 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
7294 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
7295 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
7297 2004-12-17 Stepan Kasal <kasal@ucw.cz>
7299 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
7300 so that eg. ``autoscan --help'' doesn't truncate it.
7302 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
7304 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
7305 generated conftest files.
7307 2004-12-13 Noah Misch <noah@cs.caltech.edu>
7309 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
7310 tracing on commands with possibly-escaped newlines.
7311 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
7312 discontinued behavior and its implications.
7313 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
7314 (BSx641-newline in command, BS-BS-newline in command)
7315 (BSx640-newline in command, Newline-CODE-BS-newline in command)
7316 (Single-quote-BS-newline in command)
7317 (Single-quote-newline-BS-newline in command): New tests.
7319 2004-12-13 Stepan Kasal <kasal@ucw.cz>
7321 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
7322 on platforms where it works.
7323 (_AS_TEST_PREPARE): Test for ``test -x''.
7324 (_AS_BROKEN_TEST_PREPARE): Nuke.
7326 2004-12-13 Stepan Kasal <kasal@ucw.cz>
7328 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
7329 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
7330 give only 4-letter prefix to AS_TMPDIR, comment fixed.
7331 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
7332 create the temporary directory.
7333 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
7335 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
7337 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
7340 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
7342 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
7344 2004-12-11 Noah Misch <noah@cs.caltech.edu>
7346 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
7347 to avoid using a negated character class. Reported by Nicolas Joly.
7348 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
7350 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
7352 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
7353 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
7354 Don't depend on .x file explicitly, since "make" does that for us.
7355 Suggested by Stepan Kasal.
7357 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
7359 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
7360 ifnames): Factor common code. And they said it couldn't be done!
7362 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
7364 * bin/.cvsignore: Add autoconf.in.
7365 * tests/.cvsignore: Add wrapper.in.
7366 * lib/autotest/general.m4: Escape '$' in case pattern.
7368 2004-12-09 Noah Misch <noah@cs.caltech.edu>
7370 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
7372 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
7374 * tests/autotest.at: New file.
7375 * tests/suite.at: Include it.
7376 * tests/Makefile.am: Distribute it.
7378 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
7379 shell tracing on a command that could contain multiple lines.
7380 * doc/autoconf.text: Document that fact and its implications.
7381 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
7382 * tests/autotest.at (Multiline backquote command substitution,
7383 Multiline parameter expansion, Literal multiline command,
7384 Multiline parenthetical command substitution): Remove XFAIL.
7386 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
7388 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
7389 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
7391 2004-12-08 Noah Misch <noah@cs.caltech.edu>
7393 * configure.ac (test suite): Cease to generate wrapper scripts.
7394 * configure: Regenerate.
7395 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
7396 (m4f_dependencies): Adjust accordingly.
7397 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
7398 (wrapper.in): Generate it in the build directory.
7399 (MAINTAINERCLEANFILES): Delete wrapper.in.
7400 (CLEANFILES): Add wrapper.in.
7401 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
7402 the output. Replace each $as_me with a @wrap_program@.
7403 * tests/wrapper.in: Delete it; we always build it.
7405 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
7406 (EXTRA_DIST): Remove autoconf.in.
7407 (CLEANFILES): Add autoconf.in.
7408 (autoconf): Find autoconf.in in the build directory.
7409 * bin/autoconf.in: Delete it; we always build it.
7411 2004-12-08 Noah Misch <noah@cs.caltech.edu>
7413 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
7414 PATH members so as to not prepend an empty element. Move a comment.
7415 * Makefile.am (SUBDIRS): Build in `tests' last.
7416 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
7418 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
7420 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
7421 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
7422 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
7423 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
7425 2004-12-07 Stepan Kasal <kasal@ucw.cz>
7427 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
7430 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
7432 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
7433 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
7434 * doc/autoconf.texi (Particular Functions): Mention new behavior.
7436 2004-12-03 Stepan Kasal <kasal@ucw.cz>
7438 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
7439 out the common code to ...
7440 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
7441 value of the #define--default to 1, iff the macro was called
7442 with exactly one parameter.
7444 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
7446 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
7447 "char c = '\200';" rather than "char c = 0x80;" as the
7448 latter doesn't conform to the strict C standard due to
7449 overflow on signed char hosts.
7451 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
7452 to -qlanglvl=ansi. We don't want to disable extensions.
7454 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
7456 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
7457 (Using Autotest, testsuite Scripts, Writing testsuite.at):
7458 Reword slightly to avoid some English-language problems noted
7459 by Ralf Wildenhues in:
7460 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
7462 2004-11-29 Stepan Kasal <kasal@ucw.cz>
7464 * NEWS: Add ^L above each release.
7466 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
7468 Fix documentation problems reported by Russ Boylan in
7469 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
7470 along with some nearby cruft.
7471 * doc/autoconf.texi (Libtool): Libtool can be used without
7472 Automake (not without Autoconf).
7473 (Introduction): Mention lists.gnu.org.
7474 * BUGS: Don't mention bugs.gnu.org.
7475 Remove mention of ancient libtool compatibility problem.
7476 * NEWS: Mention that bugs.gnu.org is kaput.
7477 * README: Likewise. Mention where mailing list archives can be found.
7479 2004-11-28 Stepan Kasal <kasal@ucw.cz>
7481 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
7483 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
7485 * doc/autoconf.texi (Pretty Help Strings): Go back to
7486 single-quoting assignments to cache variables.
7488 2004-11-23 Stepan Kasal <kasal@ucw.cz>
7490 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
7491 with the examples; fix the bug in MY_ARG_WITH example reported
7492 by Alexandre Duret-Lutz.
7493 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
7494 expansion of $1 in the comment emitted to configure.
7496 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
7498 * doc/autoconf.texi (Pretty Help Strings): Fix typo
7499 in my editing of the previous patch. Problem reported
7500 by Alexandre Duret-Lutz.
7502 2004-11-22 Stepan Kasal <kasal@ucw.cz>
7504 * doc/autoconf.texi (Autoconf Language): Explain that
7505 ``descriptions'' may not be double quotes.
7506 (Quotation Rule Of Thumb): Likewise.
7507 (Pretty Help Strings): Likewise; remove the wrong comment;
7508 simplify the examples and improve their quoting.
7510 2004-11-13 Stepan Kasal <kasal@ucw.cz>
7512 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
7513 the $1_found variable, don't test whether the file is executable;
7514 Both things are checked ...
7515 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
7516 the former ``test -f''.
7517 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
7519 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
7521 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
7524 2004-11-10 Derek R. Price <derek@ximbiot.com>
7526 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
7527 limitations. Reorder paragraphs for clarity.
7529 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
7531 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
7532 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
7533 variants", "Unix", and some related minor wording fixups.
7535 (Shellology, Special Shell Variables): Document that the Zsh
7536 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
7537 to Alexandre Duret-Lutz for this info.
7539 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
7541 * doc/autoconf.texi (One-Shot Macros): New node.
7543 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
7545 * doc/autoconf.texi (Function Portability): Fix misdescription
7546 of putenv. Problem reported by Michael Wardle.
7548 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
7550 * doc/autoconf.texi (auindex): New macro.
7551 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
7552 Problem reported by Stepan Kasal.
7554 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
7556 Fix problems reported by Andreas Buening in:
7557 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
7558 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
7560 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
7561 readable; it's not true in OS/2-emx.
7563 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
7565 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
7566 "/usr/include", clear ac_x_includes instead of leaving it as "no"
7567 (trivial change). Problem and patch reported by Andrew Church in:
7568 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
7570 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
7572 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
7573 three args in examples. Problem reported by Frederik Fouvry in:
7574 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
7575 Also, fix some minor spacing and punctuation bugs.
7577 2004-09-02 Akim Demaille <akim@epita.fr>
7579 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
7580 "case" to restore ordering.
7581 Reported by Stepan Kasal.
7583 2004-08-26 Akim Demaille <akim@epita.fr>
7585 * doc/autoconf.texi: Minor typos and stylos.
7587 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
7589 * configure.ac (AC_INIT): Bump to 2.59c.
7591 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
7595 * README: Add advice about m4 1.4.2.
7597 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
7598 texinfo.tex for now (done by hand now).
7599 * Makefile.maint (wget_files, cvs_files):
7600 Remove ansi2knr.c; nobody uses it.
7601 (ansi2knr.c-url_prefix): Remove.
7602 (cvs-update): Fix test for failure. I don't know why it ever
7605 * doc/autoconf.texi: Update URLs, some of which went stale.
7606 Use @uref rather than @href.
7608 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
7609 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
7611 * config/config.guess, config/config.sub, config/elisp-comp,
7612 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
7613 doc/fdl.texi, doc/standards.texi: Sync with master copy.
7615 * NEWS, TODO, configure.ac, bin/autoscan.in,
7616 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
7617 doc/install.texi, lib/Autom4te/Configure_ac.pm,
7618 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
7619 lib/autoconf/programs.m4, lib/autoconf/status.m4,
7620 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
7621 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
7622 tests/tools.at, tests/torture.at:
7623 Use "file name" rather than "filename" or "path",
7624 to be consistent with the terminology of the GNU coding standards.
7626 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
7628 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
7629 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
7630 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
7631 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
7633 More fixes to support spaces in the name of the build directory.
7634 This isn't a complete fix but it's an improvement.
7636 * bin/autoconf.as (autom4te_options): New var.
7637 Use it instead of appending to AUTOM4TE, so that we can allow
7638 spaces in the build directory's absolute name.
7639 * bin/autoheader.in ($autoconf): Allow spaces in file names.
7640 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
7641 AT_CHECK_NOESCAPE): Likewise.
7642 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
7643 main program): Likewise.
7645 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
7647 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
7648 From Ralf Corsepius in:
7649 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
7651 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
7653 * doc/autoconf.texi (Function Portability): Document isinf and
7654 and isnan. From a suggestion by Kevin Ryde.
7656 * lib/Autom4te/General.pm (END): Return correct exit status even
7657 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
7659 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
7661 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
7662 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
7663 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
7665 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
7667 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
7668 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
7669 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
7670 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
7671 * lib/autom4te.in (Automake-preselections): Preselect
7672 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
7674 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
7676 * lib/autom4te.in (Automake-preselections): Preselect
7677 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
7680 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
7682 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
7684 * doc/autoconf.texi (Shellology): Mention BIN_SH.
7685 Document problem with "`""`" in pdksh POSIX mode.
7687 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
7689 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
7690 with pdksh, too. Problem reported by Patrick Welche via
7692 * doc/autoconf.texi (Shellology): Note that set -o posix is
7693 useful for pkdsh, too.
7695 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
7697 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
7698 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
7699 Don't fail if ENV or BASH_ENV is readonly.
7700 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
7701 etc. are read only. Problem reported by Ludovic Courtes.
7703 2004-06-23 Noah Misch <noah@cs.caltech.edu>
7705 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
7706 zsh, disable GLOB_SUBST to avoid backslash handling problems.
7709 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
7711 * doc/autoconf.texi (File System Conventions): Warn about
7712 names like "aux". Problem reported by Eric Blake.
7714 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
7715 by zero instead of array size, so that we can use any arithmetic
7716 constant expression (instead of requiring an integer constant
7717 expression). This allows us to test expressions like DBL_MAX <
7718 LDBL_MAX, which didn't conform to the C standard using the old
7720 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
7721 now that we can do floating-point tests at compile time.
7723 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
7725 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
7726 and LDBL_EPSILON, as the resulting expression isn't an
7727 integer constant expression and violates the C standard.
7728 Problem reported by Nelson H. F. Beebe. Also, check
7729 for "L" suffix, and check that long double doesn't have
7730 worse range or precision than double, that mixed-mode
7731 arithmetic doesn't generate a diagnostic, that double
7732 constants fit in long double.
7734 2004-06-03 Kevin Ryde <user42@zip.com.au>
7736 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
7737 malloc(0) and realloc(NULL,size).
7739 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
7742 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
7744 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
7745 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
7748 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
7750 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
7751 can be rewritten using if-then-else. Suggested by Bruno Haible.
7753 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
7755 * doc/autoconf.texi (testsuite Scripts): Fix typo.
7756 Problem reported by Stepan Kasal.
7758 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
7760 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
7761 change). Patch reported by Ralf Wildenhues in
7762 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
7764 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
7765 function F exists if the compiler and linker let you compile an
7766 expression like (F != 0). Recent versions of GCC optimize away
7767 the reference to F in that case, since every function address must
7768 be nonzero, so the link succeeds even if F does not exist.
7769 Problem reported by Manu in
7770 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
7772 * doc/autoconf.texi (Systemology): Standardize on the spelling of
7773 "Unix". Many uses changed.
7774 (Limitations of Builtins): Explain better why the ! command isn't
7777 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
7779 * lib/autom4te.in (Automake-preselections): Preselect
7780 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
7782 2004-05-19 Kevin Ryde <user42@zip.com.au>
7784 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
7785 referencing AC_FUNC_STRERROR_R.
7787 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
7788 note pessimistic assumption when cross compiling.
7790 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
7792 * doc/autoconf.texi (Limitations of Make): Note that BSD make
7793 (until 2004) invoked subcommands with sh -e, contra POSIX.
7794 Reported by Kevin Ryde.
7796 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
7798 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
7799 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
7800 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
7801 `test -f " /usr/bin/grep"', which _always_ failed.
7802 (AC_PROG_SED): Ditto bogus PATH fix.
7803 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
7804 requires that grep correctly supports _multiple_ `-e' options, rather
7805 than stating only that grep should accept `-e'.
7807 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
7809 Port to C99, which requires that 'exit' be declared.
7811 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
7812 to ensure that stdlib.h is included.
7813 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
7814 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
7815 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
7816 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
7817 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
7818 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
7819 when using 'exit' in a test; C99 requires that 'exit' be declared.
7821 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
7823 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
7824 now prefers 'grep' implementations that accept -e.
7825 (Limitations of Usual Tools): Describe problems of traditional
7826 egrep and fgrep with long input lines, and of traditional grep
7828 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
7829 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
7830 All callers changed. Append /usr/xpg4/bin to the PATH, for
7832 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
7833 the user with complaints about multiple -e options.
7834 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
7835 Define it with AC_PROG_GREP.
7836 * configure.ac (AC_PROG_GREP): Add.
7837 * lib/freeze.mk (GREP): New macro.
7839 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
7841 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
7842 a possible candidate only after all others fail, rather than
7843 consulting it first. This improves backward compatibility by
7844 better reflecting the way shell selection occurred in previous
7845 versions of Autoconf, and should help to avoid triggering latent
7846 problems in other packages, such as the one in Automake where zsh
7847 is not handled robustly:
7848 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
7849 Although it is not Autoconf's responsibility to work around
7850 problems in Automake, it nevertheless makes sense to avoid
7851 introducing unnecessary incompatibilites.
7853 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
7854 Gary V. Vaughan <gary@gnu.org>
7856 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
7857 how deeply nested we are when a suitable tool is found, set the
7858 ac_path_TOOL_found flag.
7859 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
7860 nested we are in this macro. Break out of all 3 nested loops if
7861 ac_path_TOOL_found is set.
7863 2004-04-21 Gary V. Vaughan <gary@gnu.org>
7865 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
7866 of the _AS_PATH_WALK loop too if GNU flavor is found.
7868 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
7870 * doc/autoconf.texi (Limitations of Make): Update documentation
7871 for `$<'. New entry `Long lines', based on a report from Simon
7872 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
7873 paragraph about DJGPP, based on a mail from Richard Dawe.
7875 2004-04-20 Paul Eggert <eggert@twinsun.com>
7877 * tests/c.at (C keywords): Don't assume that GCC supports
7878 "restrict" and "inline", as sufficiently-old GCC versions do not
7879 (also, GCC configured to be in pedantic C89 mode does not).
7880 Problem reported by Sumit Pandya in:
7881 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
7883 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
7884 consider -g to work if it generates warnings when plain compiles
7885 don't. Problem reported by Braden McDaniel in:
7886 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
7888 * doc/autoconf.texi (Slashes): New section, to document a problem
7889 reported by Jim Meyering in:
7890 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
7892 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
7893 linker output files before linking, to work around IRIX 6 linker bug.
7894 Problem reported by Rainer Orth in:
7895 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
7897 2004-04-20 Gary V. Vaughan <gary@gnu.org>
7899 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
7900 best tool so far counter rely on the tool path variable name to
7901 avoid checks for one tool being affected by the results of running
7902 the length check on a previous tool.
7904 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
7905 match expression argument, as different greps have different
7906 regular expression flavours.
7907 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
7909 (AC_PROG_EGREP): Pass 'EGREP$'.
7910 (AC_PROG_GREP): Pass 'GREP$'.
7912 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
7914 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
7915 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
7917 2004-03-29 Paul Eggert <eggert@twinsun.com>
7919 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
7920 Types, Specific Compiler Characteristics, System Services,
7921 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
7922 etc. consistently instead of 'long', 'short', 'unsigned' etc.
7923 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
7924 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
7926 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
7927 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
7928 AC_TYPE_OFF_T): Likewise.
7929 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
7932 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
7933 pacify libtool 1.5.2. Fix quoting problems in sed command.
7935 2004-03-28 Paul Eggert <eggert@twinsun.com>
7937 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
7938 now defines HAVE_DECL_TZNAME if it is declared, when
7939 HAVE_STRUCT_TM_TM_ZONE is not defined.
7940 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
7941 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
7944 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
7946 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
7947 superfluous backslashing of quotes (") in sed expressions;
7948 thanks to Paul Eggert.
7950 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
7952 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
7953 Fortran compiler is ifort, also added pghpf; thanks to Nelson
7954 H. F. Beebe for the bug report.
7956 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
7958 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
7959 quoted -cmdline argument in Portland Group compiler (bug
7960 reported by Jeffrey J. Barteet).
7962 2004-03-25 Kevin Ryde <user42@zip.com.au>
7964 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
7965 (Run Time): ... here, where it's now mentioned.
7967 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
7969 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
7970 inherits from language Autoconf-without-aclocal-m4.
7971 (Customizing autom4te): Adjust example; the cache must now be
7972 disabled for language Autoconf-without-aclocal-m4.
7974 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
7975 Nathanael Nerode <neroden@twcny.rr.com>
7977 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
7978 AC_CHECK_TOOLS): Warn if a cross-tool is found without
7980 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7981 AC_CHECK_TARGET_TOOLS): New macros.
7982 * doc/autoconf.texi (Generic Programs): Document
7983 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7984 AC_CHECK_TARGET_TOOLS, and warn for future changes
7985 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
7987 (Specifying Names): Document the reason for these future
7989 * tests/mktests.sh: Do not generate tests for the
7991 * NEWS: Document these changes.
7993 * doc/autoconf.texi: Avoid macros with unbraced arguments,
7994 they make TeX hang up.
7996 2004-03-15 Paul Eggert <eggert@bogus.example.com>
7998 * NEWS: New macro AC_CHECK_ALIGNOF.
7999 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
8000 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
8001 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
8003 (AC_CHECK_ALIGNOF): New macro.
8004 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
8005 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
8008 2004-03-03 Paul Eggert <eggert@twinsun.com>
8010 * bin/Makefile.am (edit): Don't use $< in a context where
8011 POSIX doesn't require support for it. Use $@.in instead.
8012 Problem reported by Anthony N. Frasso in
8013 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
8014 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
8016 2004-02-23 Gary V. Vaughan <gary@gnu.org>
8018 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
8019 from the next generation of Libtool.
8020 * lib/autom4te.in (Autoreconf-preselections): Ditto.
8022 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
8024 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
8025 is not always thread-safe. Report from Nathanael Nerode.
8027 2004-02-18 Paul Eggert <eggert@twinsun.com>
8029 Fix a dependencies problem, stemming from a Autoconf 2.59 build
8030 problem on QNX reported by Stephen Rasku in
8031 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
8033 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
8034 $(m4sh_m4f_dependencies); this removes a FIXME.
8035 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
8036 (MAINTAINERCLEANFILES): Split into pieces,
8037 one per related section. Add $(srcdir)/wrapper.in.
8039 2004-02-09 Paul Eggert <eggert@twinsun.com>
8041 * doc/autoconf.texi (Setting Output Variables): Emphasize that
8042 AC_SUBST provides no portable way to escape literal newlines.
8044 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
8045 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
8046 Darwin uses -lcrt2.o and there's little point to cataloging all
8047 the system variants. Partial fix reported by Andreas Waechter in:
8048 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
8049 for bug reported by Nelson H. F. Beebe in:
8050 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
8052 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
8054 * doc/autoconf.texi (AU_DEFUN): Fix English,
8055 suggested by Paul Eggert.
8056 * lib/autoconf/autoupdate.m4: Correct reference to
8057 acobsolete.m4, suggested by Alexandre Duret-Lutz.
8059 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
8061 * bin/autoupdate.in: Define __file__ so that warnings
8062 refer to the correct file.
8063 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
8064 the behavior of the third argument.
8065 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
8066 correctly the behavior of the third argument. Document
8067 what the three macros that AU_DEFUN defines do. Fix
8068 warning message when the third argument includes $0
8069 (reported by Alexandre Duret-Lutz).
8071 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
8072 Eric Sunshine <sunshine@sunshineco.com>
8073 Paul Eggert <eggert@twinsun.com>
8075 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
8076 (AS_INIT): Output shell initialization there. Removed optional
8077 parameter. Expand _AS_SHELL_FN_SPY.
8078 (AS_INIT_WITH_SHELL_FN): Removed.
8079 (_AS_SHELL_FN_SPY): New macro.
8080 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
8082 (AS_SHELL_SANITIZE): Remove loop to find better shell
8083 and documentation for the parameter.
8084 (_AS_DETECT_BETTER_SHELL): Move it here.
8085 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
8086 (_AS_RUN): Move it here, support testing with eval.
8087 (AS_REQUIRE_SHELL_FN): Require shell functions when
8089 (_AS_LINENO_WORKS): Put around braces, we do not
8090 trigger the bash bug anymore.
8091 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
8092 use AS_INIT_WITH_SHELL_FN.
8093 * bin/autoconf.in, tests/wrapper.in: Regenerated.
8095 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
8097 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
8098 * doc/autoconf.texi: Don't say that the third parameter
8100 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
8101 (AU_DEFUN): Honor the third parameter, create autoupdate
8102 macros with AU_DEFINE.
8103 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
8104 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
8105 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
8106 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
8107 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
8108 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
8109 AC_XENIX_DIR): Likewise.
8110 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
8111 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
8112 * lib/autoconf/status.m4: Remove FIXME.
8113 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
8114 that the macro is not present anymore in the updated
8116 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
8119 2004-01-28 Paul Eggert <eggert@twinsun.com>
8121 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
8123 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
8124 2003 (except 1997) to the list of copyright years. This undoes
8125 the 2003-05-22 change, which removed the older years from the list.
8126 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
8128 2004-01-27 Gary V. Vaughan <gary@gnu.org>
8129 Albert Chin-A-Young <china@thewrittenword.com>
8131 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
8132 grep or ggrep program in PATH that accepts as long lines as
8134 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
8136 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
8137 egrep and fgrep respectively if $GREP -E/-F don't work.
8138 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
8139 _AC_PROG_GREP, and AC_PROG_SED.
8140 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
8141 longest input length accepted by a command.
8142 (AC_PROG_SED): Use it.
8143 * doc/autoconf.texi (Particular Programs): Document the changes.
8146 2004-01-27 Paul Eggert <eggert@twinsun.com>
8148 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
8149 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8150 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
8151 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
8153 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
8154 bin/autoconf.in, config/Makefile.in, config/config.guess,
8155 config/config.sub, config/install-sh, config/mdate-sh,
8156 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
8157 lib/Makefile.in, lib/Autom4te/Makefile.in,
8158 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
8159 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
8160 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
8161 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
8162 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
8163 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
8164 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
8165 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
8166 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
8167 tests/actypes.at: Regenerate and/or sync with original
8170 2004-01-26 Paul Eggert <eggert@twinsun.com>
8172 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
8173 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
8174 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
8175 not <inttypes.h>. Problem reported by Tim Mooney in
8176 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
8177 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
8180 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
8181 otherwise "make check" fails because it forbids cmp (I guess
8182 because cmp treats files as binary on DOS-like systems).
8184 * tests/mktests.sh: Update copyright date to 2004, since some tests
8185 have changed in 2004.
8187 2004-01-23 Gary V. Vaughan <gary@gnu.org>
8189 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
8190 non-truncating sed or gsed program in PATH.
8191 * tests/acprograms.at: Add it.
8192 * doc/autoconf.texi (Particular Programs): Document it.
8195 2004-01-15 Paul Eggert <eggert@twinsun.com>
8197 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
8198 -std1 disables some useful extensions on Tru64. Problem reported
8200 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
8202 2004-01-14 Paul Eggert <eggert@twinsun.com>
8204 * doc/autoconf.texi (Programming in M4sh): Document that
8205 AS_MKDIR_P succeeds if the destination is a symbolic link
8206 to an existing directory.
8207 (Limitations of Usual Tools): Note that mkdir -p might not
8208 succeed on symlinks to directories.
8210 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
8212 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
8213 * bin/autoheader.in: Grammar fix in message.
8214 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
8215 Test for dir before calling mkdir -p. (trivial changes)
8217 2004-01-13 Eric Blake <ebb9@byu.net>
8219 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
8220 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
8222 2004-01-10 Jim Meyering <jim@meyering.net>
8224 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
8226 2004-01-09 Paul Eggert <eggert@twinsun.com>
8228 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
8229 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
8230 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
8231 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
8232 AC_COMPILE_IFELSE, since we now assume our caller invokes
8233 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
8234 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
8235 of AC_RUN_IFELSE; this avoids the warning mentioned above.
8236 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
8238 2004-01-07 Paul Eggert <eggert@twinsun.com>
8240 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
8241 `"'...'"`, as it's confusing (and I suspect it may not work on
8242 some platforms). The code was incorrect anyway, as it assumed
8243 that \$ evaluated to itself in that context. Reported by
8244 Alexandre Duret-Lutz.
8246 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
8248 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
8249 and _LT_AC_TAGCONFIG.
8251 2004-01-06 Paul Eggert <eggert@twinsun.com>
8253 * doc/autoconf.texi (One Macro Call): Fix an incorrect
8254 example, and add more examples. Reported by Eric Sunshine.
8256 2004-01-05 Paul Eggert <eggert@twinsun.com>
8258 * doc/autoconf.texi (Limitations of Usual Tools):
8259 Remove warning against "rm -fr" introduced yesterday; it
8262 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
8263 autoscan, autoupdate, ifnames): Don't use chmod -w.
8264 * lib/Makefile.am (autom4te.cfg): Likewise.
8265 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
8268 2004-01-04 Paul Eggert <eggert@twinsun.com>
8269 Paolo Bonzini <bonzini@gnu.org>
8271 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
8272 by doing lineno substitution only on lines containing "$LINENO".
8274 2004-01-04 Paul Eggert <eggert@twinsun.com>
8276 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
8277 Use "rm -f" to remove conftest.sed, not plain "rm".
8278 Bug reported by David Relson in
8279 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
8281 * Makefile.am (autom4te-update):
8282 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
8283 * Makefile.maint (my-distcheck, do-po-update): Likewise.
8284 * doc/autoconf.texi (Guidelines): Likewise.
8285 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
8286 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
8287 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
8288 * lib/autotest/general.m4 (AT_INIT): Likewise.
8289 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
8290 * tests/Makefile.am (clean-local): Likewise.
8291 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
8293 * doc/autoconf.texi (Limitations of Usual Tools):
8294 Warn against "rm -fr".
8296 2004-01-03 Paul Eggert <eggert@twinsun.com>
8298 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
8299 -c -o might not work. From a suggestion by Kevin Ryde.
8300 (C Compiler, Generating Sources, Limitations
8301 of Usual Tools, Limitations of Make, Making testsuite Scripts):
8302 Don't put '-o' after non-options, as POSIX doesn't allow this.
8303 Mention that cc's name might be gcc or c89 or whatever.
8305 2004-01-04 Kevin Ryde <user42@zip.com.au>
8307 * doc/autoconf.texi: Add various further index entries.
8309 2003-12-29 Paul Eggert <eggert@twinsun.com>
8311 * bin/autoreconf.in (autoreconf_current_directory):
8312 Fix typo: mkdir without umask arg.
8314 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
8316 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
8317 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
8318 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
8319 explanation clearer.
8321 2003-12-24 Andreas Schwab <schwab@suse.de>
8323 * doc/autoconf.texi (Default Includes): Fix misspelling of
8324 AC_INCLUDES_DEFAULT.
8326 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
8328 * configure.ac: Test if sh -n works.
8329 * configure: Regenerate.
8330 * tests/atlocal.in: Store the result here.
8331 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
8332 tools.at, looking in atlocal's ac_cv_sh_n_works instead
8333 of explicitly testing.
8334 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
8335 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
8336 * tests/tools.at (Syntax of the shell scripts): Simplify
8337 using AT_CHECK_SHELL_SYNTAX.
8338 (Syntax of the Perl scripts): Remove definition of
8339 AT_CHECK_PERL_SYNTAX.
8341 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
8343 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
8344 stderr to /dev/null.
8345 * bin/autoconf.in: Regenerate.
8346 * bin/wrapper.in: Regenerate.
8348 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
8350 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
8351 Extracted from AS_SHELL_SANITIZE.
8352 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
8354 (AS_SHELL_SANITIZE): Move reinvocation code from
8355 _AS_LINENO_WORKS, use it to find out if shell
8357 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
8359 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
8360 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
8362 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
8363 * bin/autoconf.in: Regenerate.
8364 * tests/wrapper.in: Regenerate.
8365 * tests/tools.at: Test the syntax of tests/autoconf
8366 and tests/testsuite.
8368 2003-11-24 Akim Demaille <akim@epita.fr>
8370 * config/announce-gen (&print_locations, &print_signatures)
8373 No longer rely on Gnus to inline the list of signatures: compute
8376 2003-11-24 Akim Demaille <akim@epita.fr>
8378 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
8379 override some files.
8380 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
8381 From Debian Autoconf 2.58.
8383 2003-11-24 Akim Demaille <akim@epita.fr>
8385 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
8387 From Debian Autoconf 2.58.
8389 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
8391 * TODO: Remove already done things. Update the part about finding
8392 tools for the target.
8394 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
8396 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
8397 Make wording more consistent.
8398 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
8399 Explain the transition better.
8400 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
8401 the transition better.
8403 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
8405 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
8406 parameter of AU_DEFUN.
8407 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
8408 (AU_DEFUN): Remove the third parameter, it was not used.
8409 Use AC_DEFUN directly, not AU_DEFINE.
8410 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
8411 the expanded body, consistently with other macros such as AC_USG.
8413 2003-11-17 Paul Eggert <eggert@twinsun.com>
8415 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
8416 into the initial confdefs.h, to work around a bug in NextStep 3.3
8417 patch 3 reported by Eric Sunshine.
8419 2003-11-15 Kevin Ryde <user42@zip.com.au>
8421 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
8422 than $target since the latter is not usual, add guidelines on when to
8423 use or not use the system type.
8425 2003-11-12 Derek Price <derek@ximbiot.com>
8427 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
8428 typo misrepaired by an auto-spellcheck.
8430 2003-11-12 Akim Demaille <akim@epita.fr>
8432 * bin/autoreconf.in (&parse_args): Don't call automake with
8433 --force-missing unless it actually supports it.
8434 From Debian #219336.
8436 2003-11-12 Akim Demaille <akim@epita.fr>
8438 * configure.ac: Bump to 2.59a.
8441 2003-11-06 Akim Demaille <akim@epita.fr>
8445 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
8447 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
8448 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
8449 and ac_abs_top_srcdir are absolute paths.
8450 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
8452 2003-11-05 Akim Demaille <akim@epita.fr>
8454 * configure.ac: Bump to 2.58a.
8456 2003-11-05 Kevin Ryde <user42@zip.com.au>
8458 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
8459 it provokes a warning from makeinfo about looking like a cross
8460 reference in info output.
8462 * doc/autoconf.texi (Function Portability): Add notes on signal
8463 handler return type, as per AC_TYPE_SIGNAL.
8465 2003-11-04 Akim Demaille <akim@epita.fr>
8468 * doc/standards.texi: Update from master.
8470 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
8472 2003-11-04 Akim Demaille <akim@epita.fr>
8474 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
8475 computing the absolute path to d1 in the source hierarchy: it may
8476 not exist at all. So don't cd into it.
8477 From Alexandre Duret-Lutz.
8478 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
8480 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
8481 From Paul Eggert, but named after Perl's IO::Spec->catfile.
8482 * doc/autoconf.texi (Programming in M4sh): Document.
8483 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
8485 2003-11-03 Pavel Roskin <proski@gnu.org>
8487 * doc/autoconf.texi (Generic Structure Checks): Describe
8488 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
8490 2003-10-31 Akim Demaille <akim@epita.fr>
8492 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
8494 * doc/autoconf.texi (Language Choice): Document.
8495 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
8496 the current language is Fortran.
8498 2003-10-31 Akim Demaille <akim@epita.fr>
8500 * bin/autom4te.in (&freeze): Use a less likely warning separator
8501 than `\n\n', so that `\n\n\n' is valid in warnings.
8502 Reported by Steve Huston.
8504 2003-10-28 Akim Demaille <akim@epita.fr>
8506 * Makefile.cfg (local_updates, executable-update): Tweak to be
8507 robust to parallel makes.
8508 Suggested by Alexandre Duret-Lutz.
8510 2003-10-27 Akim Demaille <akim@epita.fr>
8512 * Makefile.cfg (executable-update): New.
8513 (local_updates): Call it.
8515 2003-10-27 Akim Demaille <akim@epita.fr>
8517 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
8518 Don't remove core.* as it may remove valid user files.
8519 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
8520 (AC_FUNC_UTIME_NULL): Likewise.
8522 2003-10-23 Akim Demaille <akim@epita.fr>
8525 * config/config.guess, config/config.sub: Upgrade from masters.
8527 2003-10-23 Akim Demaille <akim@epita.fr>
8529 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
8530 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
8533 2003-10-23 Akim Demaille <akim@epita.fr>
8535 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
8536 Don't forget to remove conftest.err.
8538 2003-10-23 Akim Demaille <akim@epita.fr>
8540 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
8541 same object file in $LIBOBJS.
8542 Reported by Alexandre Duret-Lutz & Derek Robert Price.
8543 * doc/autoconf.texi (Generic Functions): Adjust.
8545 2003-10-20 Paul Eggert <eggert@twinsun.com>
8547 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
8548 Use 'eval', so that the resulting configure scripts work even if
8549 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
8551 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
8553 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
8554 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
8555 (_AC_LINK_IFELSE): Check the werror flag.
8556 * doc/autoconf.texi (Generic Compiler Characteristics): Document
8560 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
8562 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
8563 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
8564 override AC_LINK_IFELSE.
8566 2003-10-15 Paul Eggert <eggert@twinsun.com>
8568 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
8569 pdksh 5.2.14. Bug reported by Ralf Corsepius.
8570 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
8571 Mention /usr/dt/bin/dtksh on Solaris.
8572 (Shell Substitutions): Warn about $((...)).
8573 (Parentheses): New section.
8575 2003-10-15 Kevin Ryde <user42@zip.com.au>
8577 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
8578 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
8580 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
8582 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
8585 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
8587 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
8588 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
8590 2003-10-10 Andreas Schwab <schwab@suse.de>
8592 * bin/autoheader.in: Avoid empty first line in --version and
8594 * bin/ifnames.in: Likewise.
8596 2003-10-09 Paul Eggert <eggert@twinsun.com>
8598 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
8599 Issue a more-informative diagnostic.
8600 Problems reported by Eric Sunshine.
8602 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
8604 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
8605 -mGLOB_options_string stuff for Intel ifc, which can cause
8606 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
8607 pattern-matching instead of grep.
8609 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
8611 * doc/autoconf.texi: Document new FC Fortran macros.
8613 2003-10-08 Gary V. Vaughan <gary@gnu.org>
8615 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
8616 that future autopoint/aclocal/automake/autoreconf will be able
8617 to trace to find where to install local m4 macros.
8618 * doc/autoconf.texi (Input): Document it.
8621 2003-10-06 Gary V. Vaughan <gary@gnu.org>
8623 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
8624 -lcrtbegin.o to list of ignored flags and fix underquoting of
8627 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
8629 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
8630 cache variable instead of $G77 to decide whether to include -O2,
8631 since $G77 is specific to Fortran 77.
8633 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
8635 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
8636 free" flag. Re-order flags tested into rough order of popularity.
8638 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
8640 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
8641 arguments so that it can be used with syntax identical to
8642 AC_PROG_F77, and so that we can more easily decide to
8643 remove/deprecate the DIALECT optional argument in the future if it
8645 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
8646 non-freeform-supporting compilers. Document freeform flags.
8648 2003-10-03 Akim Demaille <akim@epita.fr>
8650 * configure.ac: Look for emacs, not macs.
8651 Reported by Eric Sunshine.
8653 2003-10-03 Akim Demaille <akim@epita.fr>
8655 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
8656 * bin/autoreconf.in (autoreconf_current_directory): Create the
8657 AUX_DIR if needed, for sake of automake --add-missing etc.
8658 Suggested by Alexandre Duret-Lutz.
8660 2003-10-03 Akim Demaille <akim@epita.fr>
8662 * configure.ac: Quotation and formatting changes.
8663 (EMACS): Don't set it if it is not recent enough to support
8667 2003-10-02 Akim Demaille <akim@epita.fr>
8669 * bin/ifnames.in (&scan_file): Skip C++ comments.
8672 2003-10-01 Pavel Roskin <proski@gnu.org>
8674 * doc/autoconf.texi (Particular Structure Checks):
8675 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
8677 2003-10-01 Akim Demaille <akim@epita.fr>
8681 2003-09-30 Paul Eggert <eggert@twinsun.com>
8683 * lib/Autom4te/XFile.pm: Use Errno.
8684 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
8685 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
8687 2003-09-30 Akim Demaille <akim@epita.fr>
8689 * config/announce-gen (&print_news_deltas): Extracted from...
8690 (&print_changelog_deltas): here.
8691 (&news_file): Rename as...
8694 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
8696 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
8697 have been created when invoking the compiler.
8698 * tests/fortran.at (GNU Fortran 77): Quote $G77.
8700 2003-09-29 Akim Demaille <akim@epita.fr>
8704 * config/mkinstalldirs: Upgrade.
8706 2003-09-28 Paul Eggert <eggert@twinsun.com>
8708 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
8709 Problem reported by Lars J. Aas in
8710 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
8711 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
8712 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
8713 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
8715 2003-09-26 Akim Demaille <akim@epita.fr>
8717 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
8718 directory for AC_CONFIG_COMMANDS' first argument exists.
8719 This makes valid the invocation of _AC_SRCPATH that follows.
8720 Reported by Eric Sunshine.
8721 * doc/autoconf.texi (Configuration Commands): Adjust.
8723 2003-09-26 Akim Demaille <akim@epita.fr>
8725 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
8726 Reported by Ralf Corsepius.
8728 2003-09-26 Akim Demaille <akim@epita.fr>
8730 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
8732 Actually, use AU_ALIAS.
8735 2003-09-26 Paul Eggert <eggert@twinsun.com>
8737 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
8738 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
8739 Problem reported by Eric Sunshine in:
8740 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
8742 2003-09-26 Akim Demaille <akim@epita.fr>
8744 The test suite are sometimes assigning timings incorrectly.
8745 Reported by Henk Krus.
8746 Diagnosed by Nicolas Joly.
8748 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
8750 Instead of making AT_help a sequence of assignments to grow
8751 $at_help_all, just make AT_help_all be the growing contents of
8752 $at_help_all, and make a single assignment in...
8754 (at_times_skip): Flip the meaning and rename as...
8756 (AT_INIT): When summarizing the test that ran, remove
8757 $at_times_file after use, and check it is present before trying to
8760 2003-09-25 Akim Demaille <akim@epita.fr>
8764 * bin/Makefile.am (edit): Handle '@configure_input@'.
8765 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
8766 (ifnames): chmod -w.
8767 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
8768 executables, not bin/ executables! Otherwise all the magic needed
8769 to find non installed files is turned off. This caused a failure
8770 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
8771 as found in its environment (sent by tests/autoreconf): pointing
8772 to bin/autom4te that could not find its files.
8773 * tests/mktests.sh: Force the replacement of generated files, for
8774 the sake of "mv" program that are interactive when overwriting a
8776 * config/install-sh: Upgrade from CVS Automake.
8778 2003-09-23 Paul Eggert <eggert@twinsun.com>
8780 * doc/autoconf.texi (Limitations of Builtins): Document test -h
8781 versus test -L issues.
8783 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
8784 Paul Eggert <eggert@twinsun.com>
8786 Trivial change to support GCC's configuration procedure.
8787 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
8788 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
8789 about inconsistency if the preprocessor is set to give errors for
8791 * doc/autoconf.texi (C Compiler Characteristics): Document this.
8793 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
8795 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
8796 and XFile.pm from Automake.
8797 * lib/Autom4te/XFile.pm: Update from Automake.
8799 2003-09-12 Akim Demaille <akim@epita.fr>
8803 2003-09-12 Akim Demaille <akim@epita.fr>
8805 * config/config.guess, config/config.sub, config/missing,
8806 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
8809 2003-09-12 Akim Demaille <akim@epita.fr>
8811 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
8814 2003-09-11 Akim Demaille <akim@epita.fr>
8816 * doc/autoconf.texi (Header Portability): linux/random.h.
8817 From Peter Hendrickson.
8819 2003-09-10 Akim Demaille <akim@epita.fr>
8821 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
8822 willing to edit the output files.
8824 2003-09-10 Akim Demaille <akim@epita.fr>
8826 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
8828 * tests/mktests.sh: Skip AC_FC_SRCEXT.
8829 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
8831 2003-09-09 Akim Demaille <akim@epita.fr>
8833 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
8834 Reported by Gary Vaughan.
8835 * bin/autom4te.in (handle_m4): Likewise.
8837 2003-09-09 Akim Demaille <akim@epita.fr>
8839 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
8842 2003-09-07 Paul Eggert <eggert@twinsun.com>
8844 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
8845 Improve the accuracy of the wording about obsolescence.
8846 From a suggestion by Ian Lance Taylor in
8847 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
8849 2003-09-05 Paul Eggert <eggert@twinsun.com>
8851 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
8852 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
8854 2003-09-04 Akim Demaille <akim@epita.fr>
8856 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
8859 2003-09-04 Akim Demaille <akim@epita.fr>
8861 * bin/autom4te.in: Use &fatal where more appropriate than &error.
8862 (freeze): When exiting, use $exit_code.
8863 * lib/autoconf/fortran.m4: Comment changes.
8865 2003-09-04 Akim Demaille <akim@epita.fr>
8867 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
8869 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
8871 Add support for newer Fortran dialects. The F77 interface is
8872 unchanged, and continues to support Fortran 77. New FC macros
8873 correspond to all the old F77 macros, with output variables FC,
8874 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
8875 available dialect, but older dialects can be specified. There are
8876 new macros AC_FC_SRCEXT to set the source extension, and
8877 AC_FC_FREEFORM to accept free-form source files.
8879 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
8881 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
8882 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
8883 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
8884 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
8885 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
8886 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
8887 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
8888 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
8889 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
8890 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
8891 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
8892 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
8893 AC_FC_SRCEXT, AC_FC_FREEFORM):
8895 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
8896 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
8897 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
8898 Rewrite in terms of the above.
8899 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
8900 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
8901 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
8902 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
8904 2003-09-02 Paul Eggert <eggert@twinsun.com>
8906 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
8907 Document problems with timestamp resolution that 'make', 'cp -p', and
8910 2003-08-27 Akim Demaille <akim@epita.fr>
8912 * tests/m4sugar.at (cross_warning): Make sure to enable the
8913 output, so that we can track spurious m4sugar output.
8914 * tests/local.at: Require 2.57.
8915 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
8916 are defaulted by AT_CHECK anyway.
8917 Use AT_CHECK_AUTOM4TE.
8918 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
8921 2003-08-27 Akim Demaille <akim@epita.fr>
8923 * bin/autoheader.in: Issue the "Using auxiliary..." message only
8924 when -Wobsolete is set.
8925 Set it on by default.
8926 Suggested by Klee Dienes.
8928 2003-08-27 Akim Demaille <akim@epita.fr>
8930 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
8934 2003-08-26 Akim Demaille <akim@epita.fr>
8936 * doc/autoconf.texi (Output): Make clear that one can run code
8939 2003-08-25 Akim Demaille <akim@epita.fr>
8941 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
8944 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
8946 * bin/autoreconf.in (parse_args): Do not pass --no-force to
8947 Automake versions prior to 1.8.
8949 2003-08-25 Akim Demaille <akim@epita.fr>
8951 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
8954 2003-08-24 Akim Demaille <akim@epita.fr>
8956 * configure.ac: Bump to 2.57c.
8958 2003-08-22 Akim Demaille <akim@epita.fr>
8962 * Makefile.cfg (local-checks-to-skip): New.
8963 * Makefile.maint (local-check): Rename as...
8964 (local-checks-available): this.
8967 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
8968 * configure.ac: Require Automake 1.7.6.
8970 2003-08-22 Akim Demaille <akim@epita.fr>
8972 Output stack traces in warnings.
8974 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
8975 Replace the former...
8976 (m4_warn): Pass the call stack to _m4_warn.
8977 * bin/autom4te.in: Adjust to output the call stack.
8978 * tests/m4sugar.at (m4@&t@_warn): Adjust.
8980 2003-08-22 Akim Demaille <akim@epita.fr>
8982 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
8983 * bin/autom4te.in: Adjust.
8985 2003-08-21 Akim Demaille <akim@epita.fr>
8987 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
8989 (&getopt): Adjust the note and verb channels, depending upon
8991 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
8992 * bin/autoupdate.in: Adjust.
8993 Use &verb, not &verbose.
8995 2003-08-21 Akim Demaille <akim@epita.fr>
8997 * bin/autoheader.in (&parse_args): Use &parse_warnings and
8999 ($help): Use Autom4te::ChannelDefs::usage.
9000 * bin/autoscan.in: Use Autom4te::ChannelDefs.
9001 * lib/Autom4te/General.pm: Don't export error: you don't own it.
9003 2003-08-21 Akim Demaille <akim@epita.fr>
9005 First stab at preserving warnings between calls to autom4te,
9006 including when the cache is used.
9008 There are still several issues: (i) there are too many runs of m4
9009 (one for include, one for warnings, and some more), (ii) warnings
9010 spreading on several lines are not handled gracefully, (iii) the
9011 code meant to have the call stack display for errors does not work
9012 (its handling should move from m4 to autom4te).
9014 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
9016 (@preselect): Add m4_warn.
9017 ($exit_status): Remove, use $exit_code.
9018 ($help): Use Autom4te::ChannelDefs::usage.
9019 (&handle_m4): No longer define the m4_warnings.
9020 At each run, extract and report the warnings.
9021 Always cache the result, including if the exit status is on
9022 failure, since if nothing changes, we should result in the same
9023 failure, hence we can use the cache.
9024 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
9025 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
9027 (m4_warn): Redefine as a do-nothing: it is its invocation that
9028 matters, as warnings are now reported via traces.
9029 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
9030 the contents of m4_warn: make it _call_ m4_warn, so that tracing
9031 the latter reveals calls to the former.
9035 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
9037 2003-08-21 Akim Demaille <akim@epita.fr>
9039 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
9042 2003-08-21 Akim Demaille <akim@epita.fr>
9044 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
9046 * lib/Autom4te/ChannelDefs.pm: Doc typos.
9047 (&parse_warnings): Accept a list of warning requests.
9048 (&usage): Return a string, not a side effect.
9049 (cross): New warning category.
9051 2003-08-21 Akim Demaille <akim@epita.fr>
9053 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
9054 (&require_configure_ac): Accept an optional directory argument.
9055 ($configure_ac): Remove.
9056 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
9058 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
9059 * bin/autoscan.in: Adjust.
9061 2003-08-20 Akim Demaille <akim@epita.fr>
9063 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
9064 Reported by Alexandre Duret-Lutz.
9066 2003-08-20 Akim Demaille <akim@epita.fr>
9068 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
9069 * bin/autom4te: Adjust.
9070 In particular, be Autoconf tools are really silent when properly
9071 working, bind the verbosity of the 'note' channel to $verbose.
9072 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
9073 (&xsystem, &contents): Remove, since they are exported by...
9074 * lib/Autom4te/FileUtils.pm: this.
9076 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
9077 * lib/Autom4te/FileUtils.pm: here.
9079 2003-08-20 Akim Demaille <akim@epita.fr>
9081 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
9082 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
9085 2003-08-20 Akim Demaille <akim@epita.fr>
9087 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
9088 (autom4te-update): New.
9089 * Makefile.cfg (update): Bind autom4te-update.
9091 2003-08-19 Derek Price <derek@ximbiot.com>
9093 * lib/autotest/general.m4: Comment various HELP_* diversions.
9094 (PARSE_ARGS_BEGIN): New section for option parsing related
9096 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
9097 package specific options and associated help.
9099 2003-08-19 Akim Demaille <akim@epita.fr>
9101 * config/announce-gen, Makefile.cfg: New.
9102 * Makefile.am: Adjust.
9103 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
9105 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
9107 * lib/autom4te.in (Automake-preselections): Preselect
9108 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
9111 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
9113 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
9114 (Autoconf-without-aclocal-m4): ... this new language.
9115 * doc/autoconf.texi (autom4te Invocation): Mention
9116 Autoconf-without-aclocal-m4.
9118 2003-08-18 Derek Price <derek@ximbiot.com>
9120 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
9121 RUN-IF-PASS optional arguments.
9123 2003-08-18 Derek Price <derek@ximbiot.com>
9125 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
9127 2003-08-16 Derek Price <derek@ximbiot.com>
9129 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
9130 STDOUT & STDERR arguments.
9132 2003-08-14 Derek Price <derek@ximbiot.com>
9134 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
9135 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
9136 shorter column three. Add DESCRIPTION to log file content.
9138 2003-08-13 Derek Price <derek@ximbiot.com>
9140 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
9143 2003-08-12 Derek Price <derek@ximbiot.com>
9145 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
9146 (AT_CHECK_NOESCAPE): Move core functionality to...
9147 (_AT_CHECK): ...this new macro.
9149 2003-08-07 Derek Price <derek@ximbiot.com>
9151 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
9152 (AT_CHECK_NOESCAPE): ...to this new macro.
9154 2003-07-31 Paul Eggert <eggert@twinsun.com>
9156 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
9157 in Bash 2.01. Problem reported by Brian Gough in
9158 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
9160 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
9162 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
9163 -lcrt1.o, for OS X. (trivial change)
9165 2003-07-07 Paul Eggert <eggert@twinsun.com>
9167 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
9168 inside '#ifndef __cplusplus'. Problem reported by
9171 2003-07-06 Bill Clarke <llib@computer.org>
9173 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
9174 'long', not 'int', for benefit of Sun's recent C++ compilers
9175 (trivial change). See:
9176 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
9177 (This really should be 'intptr_t', not 'long', but that would
9180 2003-06-25 Akim Demaille <akim@epita.fr>
9182 * lib/Makefile.am (autom4te.cfg): Make it read only.
9183 Depend on Makefile since it contains substitutions.
9185 * lib/autom4te.in (args): Add local.at? for Autotest args.
9186 This change was made on autom4te.cfg which is generated.
9187 Reported by Raja R. Harinath.
9189 2003-06-25 Akim Demaille <akim@epita.fr>
9191 * doc/autoconf.texi (Header Portability): sys/mount.h.
9192 From Gareth McCaughan.
9194 2003-06-23 Akim Demaille <akim@epita.fr>
9196 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
9197 not all of them. This fixes 1. the fact that when testing
9198 Autoconf there are many many config.log, 2. the incorrect use of
9199 top_srcdir to find config.log.
9200 Don't mix the detailed output of failed test with the summary of
9201 failures. Rather, append detailed log afterwards.
9203 2003-06-23 Akim Demaille <akim@epita.fr>
9205 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
9206 always run: output config.log on $at_group_log.
9208 2003-06-23 Akim Demaille <akim@epita.fr>
9210 * tests/torture.at (#define header templates): Don't use quotes in
9211 C++ comments as it puzzles Emacs' sh font-lock-mode.
9213 2003-06-23 Akim Demaille <akim@epita.fr>
9215 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
9216 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
9217 * tests/atspecific.m4: Rename as...
9218 * tests/local.at: This.
9219 * tests/suite.at: Move the globals into...
9220 * tests/local.at: here.
9221 * tests/Makefile.am: Adjust.
9222 * doc/autoconf.texi (testsuite Scripts): Adjust.
9224 2003-06-21 Kevin Ryde <user42@zip.com.au>
9226 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
9227 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
9228 ensuring we add -std1 for full-ANSI.
9230 * doc/autoconf.texi (hdrindex): New macro.
9231 Add index entries for portability of various standard header files.
9233 2003-06-20 Akim Demaille <akim@epita.fr>
9235 * configure.ac: Bump to 2.57b.
9237 2003-06-20 Akim Demaille <akim@epita.fr>
9241 2003-06-20 Akim Demaille <akim@epita.fr>
9243 * bin/autom4te.in: Don't rely on $HOME being defined.
9244 Reported by Marc Espie as PR/233.
9246 2003-06-20 Akim Demaille <akim@epita.fr>
9248 * lib/autotest/general.m4: Use at_times_file only if used.
9251 2003-06-20 Akim Demaille <akim@epita.fr>
9253 * config/config.guess, config/config.sub, config/elisp-comp,
9254 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
9255 Update from masters.
9257 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
9259 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
9260 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
9261 (TEST_SCRIPT): New diversion.
9262 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
9263 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
9264 (AT_INIT): Support for expected failures.
9266 2003-06-02 Akim Demaille <akim@epita.fr>
9268 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
9270 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
9271 Autoconf nor Automake.
9272 (&contents): New, from Automake.
9275 2003-05-28 Paul Eggert <eggert@twinsun.com>
9277 * NEWS, doc/autoconf.texi (Particular Functions),
9278 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
9279 is the inverse of localtime.
9281 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
9283 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
9284 (handle_exec_errors): New function. Work around $! being
9285 altered by WEXITSTATUS.
9286 (xqx, xsystem): Use handle_exec_errors.
9288 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
9290 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
9291 Do not call `_exit()', simply modify `$?'.
9292 (xsystem): Reset $! before running system, and check it afterward.
9293 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
9294 63 for version mismatches.
9296 2003-05-23 Akim Demaille <akim@epita.fr>
9298 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
9299 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
9300 the middle of a line).
9301 * lib/m4sugar/m4sugar.m4: Likewise.
9302 Remove useless spaces in comments.
9304 2003-05-23 Akim Demaille <akim@epita.fr>
9306 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
9307 exit 63, so that we (or Automake's "missing") can tell the
9308 difference with a plain failure.
9309 * doc/autoconf.texi (Notices): Adjust.
9311 2003-05-23 Akim Demaille <akim@epita.fr>
9313 * Makefile.am, bin/Makefile.am, config/Makefile.am,
9314 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
9315 White spaces cleanup.
9317 2003-05-22 Jim Meyering <jim@meyering.net>
9318 Paul Eggert <eggert@twinsun.com>
9320 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
9321 Remove `#include <stdlib.h>' from the list; we should never
9322 make confdefs.h include <stdlib.h> or <cstdlib>, because the
9323 resulting namespace pollution would cause other tests to fail.
9324 Configure scripts run with some older versions of g++ and HP's
9325 aCC would fail due to such an #include. Problems reported by
9326 Matthew Mueller in <http://bugs.debian.org/120704> and by
9328 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
9329 In the test, use the test declaration before including <stdlib.h>,
9330 as that's closer to how it'll be used.
9332 2003-05-23 Akim Demaille <akim@epita.fr>
9334 * doc/autoconf.texi (Header Portability): ucred.h.
9337 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
9339 Overhaul Autotest's logging: generate separate log files
9340 in testsuite.dir/NNN/testsuite.log, and append them to
9341 testsuite.log instead of re-running the test verbosely.
9343 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
9344 file descriptor, write 0 to at_status_file instead of setting
9345 at_status=0, initialize some new variables (at_status_file,
9346 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
9347 to rerun the tests, instead append the at_group_log to the
9348 at_suite_log when a test fails.
9349 (AT_SETUP): pipe the test case's output into at_tee_pipe,
9350 with the AS_MESSAGE_LOG_FD redirected to stdout.
9351 (AT_CLEANUP): save the output status in $at_status_file
9352 and restore it, redirect the AS_MESSAGE_LOG_FD back to
9354 (AT_CHECK): since tests are run with a redirected stdout,
9355 and used to be re-run in verbose mode, turn some $at_verbose
9356 into echo, and don't redirect the output of testing stdout
9359 * lib/autotest/autoconf.texi (testsuite Scripts): Update
9360 the name of the debugging directory and information about
9363 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
9365 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
9368 2003-05-22 Akim Demaille <akim@epita.fr>
9370 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
9371 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
9372 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
9373 * lib/autoconf/status.m4: Fix and adjust copyright notices.
9375 2003-05-22 Akim Demaille <akim@epita.fr>
9377 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
9378 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
9379 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9380 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
9381 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
9382 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
9383 * lib/autoconf/status.m4, lib/autoconf/types.m4,
9384 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
9385 * tests/atspecific.m4, tests/base.at, tests/compile.at,
9386 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
9387 * tests/tools.at, tests/torture.at:
9388 Whitespace clean up.
9389 Suggested by Jim Meyering.
9391 2003-05-22 Akim Demaille <akim@epita.fr>
9393 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
9394 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
9395 Reported by Jim Meyering.
9397 2003-05-22 Akim Demaille <akim@epita.fr>
9399 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
9400 Add AC_HELP_STRING to the obsolete macros section.
9402 Use '@.' for sentences that ended in a capital letter.
9405 2003-05-22 Akim Demaille <akim@epita.fr>
9407 * config/config.guess, config/config.sub, config/elisp-comp,
9408 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
9409 * config/texinfo.tex, doc/standards.texi: Update from masters.
9411 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
9413 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
9416 2003-05-21 Akim Demaille <akim@epita.fr>
9418 * bin/autoupdate.in ($m4): Fix quotation.
9419 Reported by Martin Mokrejs.
9421 2003-05-19 Paul Eggert <eggert@twinsun.com>
9423 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
9424 Remove non-ASCII characters.
9426 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
9428 * tests/semantics.at (AC_SEARCH_LIBS): New test.
9429 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
9430 AC_CHECK_HEADERS_NEW): New tests.
9432 2003-05-17 Akim Demaille <akim@epita.fr>
9434 * lib/autoconf/functions.m4: Use the default includes so that
9435 memcmp be declared before being tested.
9436 Reported by Sander Niemeijer.
9437 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
9438 * doc/autoconf.texi (Default Includes): Document
9439 AC_INCLUDES_DEFAULT.
9441 2003-05-17 Akim Demaille <akim@epita.fr>
9443 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
9444 * doc/autoconf.texi (Obsolete Macros): Adjust.
9445 Reported by Werner LEMBERG and Debian Bug 190886.
9447 2003-05-16 Akim Demaille <akim@epita.fr>
9449 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
9450 user name space clashes.
9451 Reported by Bruno Haible.
9453 2003-05-16 Akim Demaille <akim@epita.fr>
9455 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9456 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
9457 them uniform, and more robust to Perl special characters.
9458 Reported by Martin Mokrejs.
9460 2003-05-14 Akim Demaille <akim@epita.fr>
9462 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
9464 2003-05-14 Akim Demaille <akim@epita.fr>
9466 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
9469 2003-05-12 Akim Demaille <akim@epita.fr>
9471 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
9473 From Matthias Andree.
9475 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
9477 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
9480 2003-05-06 Akim Demaille <akim@epita.fr>
9482 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
9483 longer updates aclocal.m4 if useless, (ii) if a file m4_included
9484 by aclocal.m4 is changed it might require the importing of another
9485 m4 extension file, i.e., aclocal must be run.
9487 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
9488 (&parse_args): Use --force with aclocal if required and supported.
9489 (&autoreconf_current_directory): Use &run_aclocal.
9491 2003-05-06 Akim Demaille <akim@epita.fr>
9493 Lock autom4te's cache.
9495 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
9496 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
9497 argument instead of a file name, so that the request file remains
9498 open during the whole autom4te run.
9499 ($icache_file): New.
9500 (&freeze): Lock the $icache_file.
9502 2003-04-29 Derek Price <derek@ximbiot.com>
9504 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
9505 seperator with m4_append_uniq(). It doesn't work.
9506 (AT_CLEANUP): Add `;' to end of at_help_all.
9507 (AT_INIT): Allow --keywords to be specified more than once. When
9508 grepping $at_help_all for keywords, use the field and keyword
9509 seperators to ensure a complete keyword match. Alter at_prev handling
9510 to support the new --keywords behavior.
9512 2003-04-27 Karl Berry <karl@freefriends.org>
9514 * doc/autoconf.texi: Make the dir entries in the autoconf manual
9515 align better with others. I also made some of the individual
9516 entries on one line, for brevity and to make it easier for me to
9517 sort my dir-example file in the Texinfo distribution :).
9519 2003-04-12 Jim Meyering <jim@meyering.net>
9521 * NEWS: Mention the new macro.
9522 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
9523 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
9524 * tests/c.at: Test AC_C_RESTRICT.
9525 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
9527 2003-04-08 Akim Demaille <akim@epita.fr>
9529 * bin/ifnames.in: Skip C++ comments.
9532 2003-04-08 Akim Demaille <akim@epita.fr>
9534 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
9535 From Ilya Zakharevich.
9537 2003-04-08 Akim Demaille <akim@epita.fr>
9539 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
9542 2003-04-01 Derek Price <derek@ximbiot.com>
9544 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
9545 from Akim's checkin of 2003-03-29.
9547 2003-04-01 Derek Price <derek@ximbiot.com>
9549 * tests/torture.at (Configuring subdirectories): Add missing
9550 close-quote for Akim's change from 2003-03-28.
9552 2003-04-01 Akim Demaille <akim@epita.fr>
9554 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
9555 (AC, AT, MS): these.
9556 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
9559 * doc/Makefile.am (CLEANFILES): Adjust.
9560 (TEXI2DVI): Make it --batch.
9562 2003-03-31 Derek Price <derek@ximbiot.com>
9564 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
9565 which removed the main loop.
9566 Thanks to Akim Demaille.
9568 2003-03-29 Akim Demaille <akim@epita.fr>
9570 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
9572 From Ilya Zakharevich.
9574 2003-03-29 Akim Demaille <akim@epita.fr>
9576 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
9577 documentation to read is Autoconf's.
9578 Suggested by Paul Eggert.
9580 2003-03-28 Akim Demaille <akim@epita.fr>
9582 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
9583 reading the section "Present But Cannot Be Compiled" when the
9584 header causes problems.
9586 2003-03-28 Akim Demaille <akim@epita.fr>
9588 * tests/torture.at (Configuring subdirectories): Require aclocal
9589 1.4, otherwise the test fails, as it does support configure.ac.
9590 This fixes the "test 40 failed" bug reports.
9592 2003-03-28 Akim Demaille <akim@epita.fr>
9594 * doc/autoconf.texi (C Compiler): `#line' portability.
9595 From Paul Eggert and Nelson H. F. Beebe.
9597 2003-03-27 Derek Price <derek@ximbiot.com>
9599 * lib/autotest/general.m4: Eliminate main loop and reorganize test
9600 layout in order to allow scripting around test groups.
9602 2003-03-27 Derek Price <derek@ximbiot.com>
9604 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
9605 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
9606 use new diversions in preparation for accepting new arguments and
9607 allowing scripting around tests.
9608 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
9610 2003-03-26 Derek Price <derek@ximbiot.com>
9612 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
9613 obsolete AC_HELP_STRING.
9614 (AC_HELP_STRING): AU_DEFUN to...
9615 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
9616 * tests/m4sh.at (AS_HELP_STRING): New test.
9618 * tests/acgeneral.at: Regenerated.
9620 2003-03-26 Derek Price <derek@ximbiot.com>
9622 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
9623 sense. Verbosify the diversion definitions comment.
9625 2003-03-26 Derek Price <derek@ximbiot.com>
9627 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
9630 2003-03-21 Eric Siegerman <eric_97@pobox.com>
9632 * doc/autoconf.texi (Present But Cannot Be Compiled):
9633 Grammar fixes and minor rewording. (trivial change)
9635 2003-03-06 Paul Eggert <eggert@twinsun.com>
9637 Work around a problem noted by Nelson H. F. Beebe with coreutils
9638 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
9639 2002/05/09) rejects '#line 32768 "configure"' because the line
9641 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
9643 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
9644 * doc/autoconf.texi (Generating Sources): Document this.
9646 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
9648 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
9649 file name for the m4 program, when it has an "exe" file extension.
9650 DJGPP's error messages include the error code in brackets -
9651 remove the error code during normalization.
9653 2003-02-28 Akim Demaille <akim@epita.fr>
9655 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
9657 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
9659 * doc/autoconf.texi (Limitations of Make): Remove the section
9660 about `$<' in inference rules, it was a bogus interpretation of
9661 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
9662 Tru64 make in the "target lookup" section.
9663 (Automake): Automake 1.5+ no longer requires special tools to be
9664 present on the developer's host.
9666 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
9668 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
9669 to a shell that can handle redirection or quoting correctly.
9670 Override SHELL with the shell detected by configure.
9671 Use of $^O suggested by Tim van Holder.
9672 * bin/autom4te.in (BEGIN): Likewise.
9673 * bin/autoreconf.in (BEGIN): Likewise.
9674 * bin/autoscan.in (BEGIN): Likewise.
9675 * bin/autoupdate.in (BEGIN): Likewise.
9676 * bin/ifnames.in (BEGIN): Likewise.
9678 * bin/ifnames.in: Add final newline to help and version messages.
9680 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
9681 to cope with DOS-style absolute paths, when constructing
9684 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
9685 When constructing paths with IFS=:, quote the path. If we're
9686 constructing a DOS-style absolute path, we don't want to split it
9689 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
9692 2003-02-25 Pavel Roskin <proski@gnu.org>
9694 * bin/autoheader.in: Add missing newline when printing
9695 suggestion how change AC_DEFINE call.
9697 2003-02-24 Paul Eggert <eggert@twinsun.com>
9699 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
9700 2002-09-01 patch by replacing "test -n" with "test -z".
9701 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
9702 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
9704 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
9705 to fix a mismatch between example and discussion.
9707 2003-02-24 Kevin Ryde <user42@zip.com.au>
9709 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
9710 format starting with "-".
9712 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
9714 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
9715 is not portable inside Makefile.
9717 2003-02-20 Akim Demaille <akim@epita.fr>
9719 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
9720 compiler says yeah, but preproc says nope, compiler is right.
9721 Conversely, prompt the reader to send a bug report to the
9722 maintainers of the package, not of Autoconf.
9724 2003-02-20 Klee Dienes <kdienes@apple.com>
9726 * bin/autoreconf.in (autoreconf_current_directory): Properly
9727 handle an empty aclocal.m4.
9729 2003-02-20 Akim Demaille <akim@epita.fr>
9731 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
9735 2002-12-23 Paul Eggert <eggert@twinsun.com>
9737 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
9738 innocuous variant befor including <limits.h> or <assert.h>. This
9739 works around a bug reported by Albert Chin: HP-UX 11i
9740 (and earlier versions) have a <limits.h> that declares
9741 gettimeofday and many other functions.
9743 2002-12-03 Paul Eggert <eggert@twinsun.com>
9747 * NEWS, configure.ac: Update version.
9749 * doc/fdl.texi: Upgrade to FDL version 1.2.
9751 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
9752 nontrivially in main's body, so that f's external declaration is
9753 not optimized away in AIX. This should fix the bug reported by
9755 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
9757 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
9758 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
9759 defined, to support freestanding compilers. This should fix the
9760 bug reported by Momchil Velkov in
9761 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
9763 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
9764 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
9765 obsolete AC_CHECK_TYPE. The missing empty arg was reported
9766 by Simon Josefsson in
9767 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
9769 * Makefile.maint (www-gnu): New macro.
9770 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
9771 the location has moved.
9773 2002-12-02 Martin Frydl <martin@systinet.com>
9775 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
9776 \(.*\) match is too long and there is something more to be checked.
9777 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
9779 2002-11-15 Akim Demaille <akim@epita.fr>
9783 * config/install-sh: chmod +x.
9785 * config/move-if-change: Indenting changes.
9786 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
9787 * configure.ac (AM_INIT_AUTOMAKE): here.
9790 2002-11-14 Akim Demaille <akim@epita.fr>
9794 * config/config.guess, config/config.sub, config/install-sh:
9795 Update from masters.
9797 2002-11-14 Akim Demaille <akim@epita.fr>
9799 * Makefile.maint: Sync with Bison, i.e.:
9800 (po-check): Scan .l and .y files instead of the
9801 .c and the .h files that they generate. This fixes the bug
9802 reported by Tim Van Holder in:
9803 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
9804 Look for N_ as well as for _. Try to avoid matching #define for
9808 2002-11-14 Akim Demaille <akim@epita.fr>
9810 * doc/autoconf.texi (C Compiler): Compiling several files at once.
9811 From Paul Eggert and Albert Chin-A-Young.
9813 2002-11-14 Akim Demaille <akim@epita.fr>
9815 * doc/autoconf.texi (C Compiler): Solitary backslashes.
9816 From Paul Eggert and Albert Chin-A-Young.
9818 2002-11-14 Kevin Ryde <user42@zip.com.au>
9820 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
9821 than assigning in main, to avoid HP cc +O3 optimizing it away.
9823 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
9825 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
9826 option. Process --recheck after parsing all options. Pass -q
9827 option to configure on --recheck.
9828 (AC_OUTPUT): Pass -q from configure to config.status.
9829 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
9830 arguments to record.
9831 * doc/autoconf.texi (config.status Invocation): Document
9832 config.status -q option.
9834 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
9836 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
9837 Makefile.in if Makefile.am exists.
9838 (output): Strip `.am' from Makefiles. Don't
9839 output AC_CONFIG_FILES if no Makefiles were found.
9841 2002-11-07 Akim Demaille <akim@epita.fr>
9843 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
9844 (local_updates): New.
9845 * Makefile.maint: Update, from CVS Bison.
9846 (local_updates): New.
9848 2002-11-06 Akim Demaille <akim@epita.fr>
9850 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
9851 declaration in extern "C" too.
9852 Reported by Roberto Bagnara.
9854 2002-11-06 Akim Demaille <akim@epita.fr>
9856 * tests/torture.at (Configuring subdirectories): Don't use grep
9858 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
9859 Reported by Ezra Peisach.
9861 2002-11-05 Akim Demaille <akim@epita.fr>
9863 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
9865 We _have_ to stop using the old compatibility scheme that tried to
9866 avoid useless backslashes because Libtool 1.4.3 contains a
9867 AC_DEFINE([error_t], [int],
9868 [Define to a type to use for \`error_t' if it is not
9869 otherwise available.])
9870 We _have_ to quote the single quote and backslashes with \. The
9871 old compatibility scheme saw that ` was backslashed, and therefore
9872 did not quote the single quote. Hence before this patch, Autoconf
9873 was not compatible with Libtool.
9875 2002-11-04 Paul Eggert <eggert@twinsun.com>
9877 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
9878 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
9879 LC_NAME, LC_PAPER, LC_TELEPHONE.
9880 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
9882 2002-11-04 Akim Demaille <akim@epita.fr>
9886 * Makefile.maint (update, cvs-update, po-update, do-po-update):
9888 * config/texinfo.tex: Update.
9890 2002-11-03 Akim Demaille <akim@epita.fr>
9892 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
9894 (&autoreconf): here.
9895 ($help, $make, &parse_args, &autoreconf_current_directory):
9897 * doc/autoconf.texi (autoreconf Invocation): Adjust.
9899 2002-10-31 Bruno Haible <bruno@clisp.org>
9901 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
9902 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
9903 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
9904 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
9905 to ac_cv_func_realloc_0_nonnull.
9906 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
9908 2002-10-31 Akim Demaille <akim@epita.fr>
9910 The test suite was no longer checking for trailing envvars and files.
9912 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
9913 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
9915 2002-10-31 Akim Demaille <akim@epita.fr>
9917 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
9918 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
9919 Make variable, not a shell variable.
9920 Suggested by Bruno Haible.
9922 2002-10-31 Akim Demaille <akim@epita.fr>
9924 * bin/autom4te.in (load_configuration): Reject #args out of any
9927 2002-10-31 Akim Demaille <akim@epita.fr>
9929 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
9930 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
9931 (_AC_RUN_IFELSE): Use it.
9932 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
9933 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
9934 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
9937 2002-10-30 Akim Demaille <akim@epita.fr>
9939 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
9940 * doc/autoconf.texi (autom4te Invocation): Adjust.
9941 Suggested by Tim van Holder.
9943 2002-10-29 Paul Eggert <eggert@twinsun.com>
9945 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
9946 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
9947 Problem reported by Bruno Haible.
9949 2002-10-29 Akim Demaille <akim@epita.fr>
9951 * doc/autoconf.texi (Header Templates): Put also in words what the
9952 pictures says to assist free style readers.
9953 (Customizing autom4te): s/--cache=/--cache /.
9955 2002-10-29 Akim Demaille <akim@epita.fr>
9957 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
9959 sparc_address_test returns void.
9960 Use it with an argument, as prototyped.
9963 2002-10-29 Akim Demaille <akim@epita.fr>
9965 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
9966 configure.in, not configure.ac.
9967 Reported by Bruno Haible.
9969 2002-10-29 Akim Demaille <akim@epita.fr>
9971 * tests/torture.at (Deep Package): New test.
9972 (Configuring subdirectories): Don't use a testSubDir as Autotest
9975 2002-10-29 Akim Demaille <akim@epita.fr>
9977 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
9978 * doc/autoconf.texi (Invoking autom4te): Rename as...
9979 (autom4te Invocation): this, for consistency with the other nodes.
9981 2002-10-29 Akim Demaille <akim@epita.fr>
9983 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
9984 Reported by Ralf Corsepius.
9986 2002-10-29 Akim Demaille <akim@epita.fr>
9988 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9989 characters is a back as an `obsolete' warning now.
9990 Reported by Ralf Corsepius.
9992 2002-10-28 Akim Demaille <akim@epita.fr>
9994 * configure.ac: Bump to 2.54c.
9996 2002-10-28 Akim Demaille <akim@epita.fr>
10000 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
10002 2002-10-28 Akim Demaille <akim@epita.fr>
10004 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
10005 m4 executable names, and different GNU M4 version.
10006 Reported by Ezra Peisach and Paul Jarc.
10008 2002-10-27 Akim Demaille <akim@epita.fr>
10010 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
10013 2002-10-27 Akim Demaille <akim@epita.fr>
10015 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
10016 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
10017 Die when a simple Fortran program cannot be compiled.
10018 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
10019 Issue a warning if no function is given.
10021 2002-10-27 Akim Demaille <akim@epita.fr>
10023 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
10024 Move the documentation of AC_TRY_RUN to...
10025 (Obsolete Macros): here.
10026 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
10027 (autoconf Invocation): Remove the duplicates with `invoking
10029 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
10030 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
10032 2002-10-27 Akim Demaille <akim@epita.fr>
10034 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
10035 and AC_LANG_FUNC_LINK_TRY.
10036 (Examining Libraries): Rename as...
10037 (Running the Linker): this.
10038 Document AC_LINK_IFELSE.
10039 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
10040 (Obsolete Macros): here.
10041 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
10042 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
10043 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
10044 * lib/autoconf/headers.m4 (AC_USG): Likewise.
10046 2002-10-27 Akim Demaille <akim@epita.fr>
10048 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
10050 More `check config.log' messages.
10052 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
10053 * doc/autoconf.texi (Printing Messages): Document it.
10054 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
10056 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
10057 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
10058 (_AC_COMPILER_OBJEXT): Likewise.
10059 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
10060 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
10062 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
10065 Deprecate macros with unusual interfaces.
10067 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
10068 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
10070 Document the new ones, and proper style.
10072 * doc/autoconf.texi (Generating Sources): New.
10073 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
10074 (Examining Declarations): Rename as...
10075 (Running the Preprocessor): this.
10076 Document AC_PREPROC_IFELSE.
10077 (Examining Syntax): Rename as...
10078 (Running the Compiler): this.
10079 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
10080 (Obsolete Macros): Move the definition of AC_TRY_CPP and
10081 AC_TRY_COMPILE here.
10083 2002-10-27 Akim Demaille <akim@epita.fr>
10085 Move sections around.
10087 * doc/autoconf.texi (Customizing autom4te): Remove a lost
10089 Reported by Burno Haible.
10090 (Language Choice): Now the first section of...
10091 (Writing Tests): this section.
10092 Make the introduction less C-centric.
10093 (Guidelines, Test Functions): Move to...
10094 (Writing Test Programs): this new section.
10095 (Test Programs): Merge into...
10098 2002-10-27 Akim Demaille <akim@epita.fr>
10100 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
10101 autom4te.in that resulted in the need for two `make' runs.
10103 2002-10-27 Akim Demaille <akim@epita.fr>
10105 * configure.ac: Bump to 2.54b.
10107 2002-10-25 Akim Demaille <akim@epita.fr>
10111 * Makefile.maint: Update from the Coreutils.
10112 (AMTAR): Remove, obsolete.
10113 (automake_repo): Update to redhat.com.
10115 Adjust to the fact that ansi2knr is now hosted by Automake.
10116 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
10117 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
10118 Update from masters.
10119 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
10120 autoscan.pre is not to be installed, and autoscan.list is not to
10122 (CLEANFILES): Add autoscan.list.
10123 (autoscan.list): Disable the cache.
10124 * bin/Makefile.am: Include freeze.mk.
10126 2002-10-25 Akim Demaille <akim@epita.fr>
10128 * bin/autom4te.in (&load_configuration): Take the file as
10130 (&parse_args): Handle -C, --cache.
10132 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
10133 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
10134 * doc/autoconf.texi (Invoking autom4te): Document --cache.
10135 Now a subsection of...
10136 (Using autom4te): This new section.
10137 (Customizing autom4te): New.
10138 (autom4te.cache): Adjust.
10140 2002-10-25 Akim Demaille <akim@epita.fr>
10142 * doc/autoconf.texi (Generic Headers): More information on how to
10143 use AC_CHECK_HEADERS.
10145 2002-10-25 Akim Demaille <akim@epita.fr>
10147 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
10150 2002-10-25 Akim Demaille <akim@epita.fr>
10152 * bin/autoscan.in (output): Output AC_PREREQ.
10153 (%needed_macros): Add AC_PREREQ so that configure.ac without one
10156 2002-10-23 Akim Demaille <akim@epita.fr>
10158 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
10161 2002-10-23 Akim Demaille <akim@epita.fr>
10163 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
10164 Reported by Peter Eisentraut.
10166 2002-10-23 Akim Demaille <akim@epita.fr>
10168 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
10171 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
10172 Eggert's recommandations.
10174 2002-10-22 Akim Demaille <akim@epita.fr>
10176 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
10177 Bison, by Paul Eggert.
10178 * doc/autoconf.texi (Particular Headers): Document it.
10180 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
10182 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
10183 `$ac_configure_args'.
10185 2002-10-22 Akim Demaille <akim@epita.fr>
10187 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
10188 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
10191 2002-10-22 Akim Demaille <akim@epita.fr>
10193 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
10195 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
10196 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
10197 (_AC_CHECK_HEADER_NEW): Rename as...
10198 (AC_CHECK_HEADER): this.
10200 2002-10-22 Akim Demaille <akim@epita.fr>
10202 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
10203 words about HP-UX cmp: it was actually a user-written cmp.
10205 2002-10-22 Akim Demaille <akim@epita.fr>
10207 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
10208 are a few warnings.
10209 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
10210 Quote for Perl '' strings, not "".
10211 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
10214 2002-10-22 Akim Demaille <akim@epita.fr>
10216 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
10217 characters is a syntax warning now.
10218 (_AS_QUOTE): Accept $2 as list of characters to quote.
10219 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
10220 Quote for Perl, not sh.
10221 * bin/autoheader.in: When $debug, report the file which is
10223 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
10224 `@', to tickle Perl's lists.
10225 Reported by Carlos Velasco.
10227 2002-10-18 Akim Demaille <akim@epita.fr>
10229 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
10230 missing included files _are_ errors.
10231 Thanks to Alexandre Duret-Lutz.
10232 * tests/tools.at (autom4te cache): Adjust.
10233 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
10234 (AT_CHECK_M4SUGAR): Use it.
10235 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
10237 * tests/tools.at (autom4te): Now it does exit 1.
10239 2002-10-17 Akim Demaille <akim@epita.fr>
10241 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
10242 Fixes the `AC_ARG_VAR' test failures.
10243 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
10244 * lib/freeze.mk (check-forbidden-patterns): New.
10245 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
10246 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
10247 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
10249 Reported months ago by H. Merijn Brand.
10251 2002-10-17 Akim Demaille <akim@epita.fr>
10253 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
10255 2002-10-16 Paul Eggert <eggert@twinsun.com>
10257 * Makefile.maint (wget_files): Remove ansi2knr.c.
10258 (ansi2knr.c-url_prefix): Remove.
10260 2002-10-16 Akim Demaille <akim@epita.fr>
10262 Because of caching, some files that no longer exist and are no
10263 longer required can still cause errors.
10264 Reported by Alexandre Duret-Lutz.
10266 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
10267 to frozen files in @ARGV, as @ARGV must remain being a list of
10268 files. Rather, at M4 call sites, use this...
10269 (&files_to_options): New function.
10270 (&freeze): Use &error.
10271 (&up_to_date): If a file that was included according to the cache
10272 is no longer there, then the output is out dated.
10273 (&main): Don't even check whether a file is up to date is anyway
10275 * tests/tools.at (autom4te cache): New.
10277 2002-10-16 Akim Demaille <akim@epita.fr>
10279 * bin/autoconf.as: Kill dead options.
10280 * bin/autoupdate.in (&parse_args): Kill old options.
10281 * bin/autoreconf.in (&parse_args): Remove dead options.
10283 (&autoreconf): Report the directories we enter *and leave*, so
10284 that error messages can be easily located, and use GNU Make
10285 format, so that Emacs' compile mode understands us.
10286 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
10287 if some file was changed instead of `print'.
10288 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
10289 (&parse_args): Remove the dead options.
10290 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
10291 autoheader's quiet mode.
10292 (AT_CHECK_AUTOUPDATE): Likewise.
10293 * tests/tools.at (autoupdate): Adjust.
10294 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
10296 2002-10-11 Akim Demaille <akim@epita.fr>
10298 No longer use CPP to check for the existing of headers: use CC to
10299 check for compilability.
10301 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
10302 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
10303 (_AC_CHECK_HEADER_NEW): Rename as...
10304 (AC_CHECK_HEADER): this.
10306 * lib/autotest/general.m4 (AT_INIT): Include the failed test
10307 numbers in the Subject suggestion.
10309 2002-10-11 Akim Demaille <akim@epita.fr>
10311 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
10312 Suggest using AC_CHECK_DECLS instead.
10314 2002-10-11 Akim Demaille <akim@epita.fr>
10316 * tests/torture.at (AC_ARG_VAR): Have configure report the value
10319 2002-10-11 Akim Demaille <akim@epita.fr>
10321 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
10322 file name to enable parallel executions.
10323 From Sam Varshavchik.
10325 2002-10-08 Akim Demaille <akim@epita.fr>
10327 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
10328 aclocal invocation, as Gettext macros might not be visible to
10330 Instead of blindly running autopoint, scan configure.ac (not the
10331 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
10332 Reported by Paul D. Smith.
10334 2002-10-08 Paul Eggert <eggert@twinsun.com>
10336 Work around problems found when POSIXLY_CORRECT=1 is set.
10337 None of this seems to have anything to do with POSIX, really,
10338 but it's how Perl getopt works.
10339 * bin/autom4te.in (parse_args): Configure GetOpt with
10341 * doc/autoconf.texi (Invoking autom4te):
10342 --warning -> --warnings.
10343 * lib/autom4te.in: --warning -> --warnings.
10345 2002-09-28 Akim Demaille <akim@epita.fr>
10347 * doc/autoconf.texi (autom4te.cache): New section.
10349 2002-09-28 Akim Demaille <akim@epita.fr>
10351 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
10352 (Automake-preselections): Update.
10353 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
10355 2002-09-28 Akim Demaille <akim@epita.fr>
10357 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
10358 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
10359 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10360 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
10362 2002-09-28 Akim Demaille <akim@epita.fr>
10364 * tests/torture.at (Configuring subdirectories): Be robust to
10365 users who use config.site to require for a cache: in this case,
10366 the two last configure runs, using two different sets of
10367 arguments, trigger a legitimate error.
10369 2002-09-28 Akim Demaille <akim@epita.fr>
10371 * tests/m4sh.at (Functions Support, Functions and return Support):
10374 2002-09-28 Akim Demaille <akim@epita.fr>
10376 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
10377 autoheader are Perl programs.
10378 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
10379 (autom4te): Specify that the sources are in the $srcdir.
10380 * doc/autoconf.texi (Installation Directory Variables): Adjust.
10382 2002-09-28 Akim Demaille <akim@epita.fr>
10384 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
10385 (tm_zone): Move their rules to...
10386 * lib/autoconf/types.m4: here, using AN_ macros.
10387 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
10388 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
10389 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
10390 * lib/autoconf/programs.m4: here.
10391 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
10392 (ETAGS_FOR_AUTOCONF): New.
10395 2002-09-28 Akim Demaille <akim@epita.fr>
10397 * lib/autoconf/autoscan.m4: New file.
10398 * lib/autoconf/autoconf.m4: Include it.
10399 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
10400 that were listed in the original autoscan.list.
10401 * lib/autoconf/headers.m4: Similarly with headers.
10402 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
10403 (.m4.m4f): Don't pass --prepend-include, since that's done by
10404 tests/autom4te itself.
10405 * lib/autoscan/Makefile.am: Include freeze.mk.
10406 (autoscan.list): New target --this file is no longer a source.
10407 (autoscan.pre): New file.
10409 2002-09-28 Akim Demaille <akim@epita.fr>
10411 * bin/autoscan.in (@kinds): Make them singular.
10413 (&init_tables): When --debug, report the list of rules to ease
10414 tracking changes in autoscan.list.
10415 * lib/autoscan/autoscan.list (function): Strip comments, sort.
10417 2002-09-28 Akim Demaille <akim@epita.fr>
10419 * lib/autoscan/functions, lib/autoscan/headers,
10420 * lib/autoscan/identifiers, lib/autoscan/makevars,
10421 * lib/autoscan/programs: Merge into...
10422 * lib/autoscan/autoscan.list: this.
10423 * bin/autoscan.in (&init_tables): Adjust.
10425 2002-09-28 Akim Demaille <akim@epita.fr>
10427 * lib/autoscan/functions, lib/autoscan/headers,
10428 * lib/autoscan/identifiers, lib/autoscan/makevars,
10429 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
10430 `functions' line is now prefixed with `function:'.
10431 * bin/autoscan.in (&init_tables): Adjust.
10433 2002-09-28 Akim Demaille <akim@epita.fr>
10435 From now on, autoscan files must always map a macro name to a
10436 word: there is no `default' macro for autoscan.
10438 * bin/autoscan.in (&init_tables): Reject entries with no macro at
10440 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
10443 2002-09-28 Akim Demaille <akim@epita.fr>
10445 * bin/autoscan.in (%c_keywords): Remove.
10446 (&used): Keep only track of the words we might be interested in.
10447 (&output_kind): It is no longer needed to look for non active
10450 2002-09-27 Akim Demaille <akim@epita.fr>
10452 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
10453 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
10454 * lib/autoscan/functions: Adjust.
10455 * doc/autoconf.texi (Particular Functions): Adjust.
10457 2002-09-27 Akim Demaille <akim@epita.fr>
10459 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
10461 Thanks to Bill Moseley and Paul Eggert.
10462 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
10463 the tmpdir must be created.
10464 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
10465 dir be in the build tree, instead of $TMPDIR.
10467 2002-09-27 Akim Demaille <akim@epita.fr>
10469 * bin/autoscan.in: Improve the comments.
10470 (&parse_args): Drop obsolete undocumented options.
10471 (&output_kind): Output warnings.
10472 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
10473 (getwd): Trigger a warning.
10475 2002-09-26 Akim Demaille <akim@epita.fr>
10477 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
10478 Reported by Ralf Corsepius.
10479 * doc/autoconf.texi (autoreconf Invocation): Likewise.
10481 2002-09-26 Akim Demaille <akim@epita.fr>
10483 Single suffix rules and seperated dependencies are not portable.
10485 * doc/autoconf.texi (Installation Directory Variables): Update.
10486 (Limitations of Make): Some about `Single Suffix Rules and
10487 Separated Dependencies'.
10488 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
10489 (ifnames, autoscan, autom4te): Un-factor into several rules.
10491 2002-09-25 Paul Eggert <eggert@twinsun.com>
10493 * BUGS (Interoperability bugs): New section. Mention libtool
10494 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
10496 2002-09-24 Paul Eggert <eggert@twinsun.com>
10498 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
10499 make handles suffix-rules differently from GNU make.
10501 * bin/Makefile.am (SUFFIXES, .in): Remove.
10502 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
10503 Move the body of the old .in rule here.
10505 2002-09-16 Akim Demaille <akim@epita.fr>
10507 i960 compilers create `b.out' files by default.
10508 Reported by Ralf Corsepius.
10510 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
10511 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
10513 2002-09-13 Paul Eggert <eggert@twinsun.com>
10515 * doc/autoconf.texi (Particular Headers): Remove obsolete
10516 reference to `struct timezone' in the description of
10519 2002-09-13 Akim Demaille <akim@epita.fr>
10523 * config/config.sub, config/config.guess: Update.
10524 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
10525 * Makefile.am: Adjust.
10527 2002-09-13 Akim Demaille <akim@epita.fr>
10529 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
10530 reading config.log when the compiler is rejected.
10531 Suggested by Guido Draheim.
10533 2002-09-13 Akim Demaille <akim@epita.fr>
10535 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
10536 (chdir_init) might hang when stat'ing mounted directories.
10537 Reported by Vance Shipley.
10539 2002-09-12 Akim Demaille <akim@epita.fr>
10541 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
10544 2002-09-12 Akim Demaille <akim@epita.fr>
10546 * doc/autoconf.texi (Defining Symbols): Present two different
10547 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
10548 difference between 1 argument calls, and 2-3 argument calls.
10550 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
10552 * doc/autoconf.texi: Review grammar and punctuation.
10554 2002-09-11 Paul Eggert <eggert@twinsun.com>
10556 * doc/autoconf.texi: Fix minor formatting, spelling, and
10558 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
10559 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
10562 2002-09-11 Akim Demaille <akim@epita.fr>
10564 * doc/autoconf.texi (Questions): Rename as...
10566 (Defining Directories): New.
10568 2002-09-09 Akim Demaille <akim@epita.fr>
10570 * doc/autoconf.texi (Making testsuite Scripts): Update.
10571 Suggested by Nishio Futoshi.
10573 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
10575 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
10576 plain `@' is wanted.
10578 2002-09-09 Akim Demaille <akim@epita.fr>
10580 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
10581 `duplicates', since the algorithm was too naive and could keep
10582 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
10583 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
10584 Reported by Ralf Corsepius.
10585 * tests/torture.at (Configuring subdirectories): Exercise these
10588 2002-09-09 Akim Demaille <akim@epita.fr>
10590 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
10591 looking for a replacement file.
10592 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
10593 directory is relative.
10594 * doc/autoconf.texi (Generic Functions): Clarify the replacement
10595 directory definition.
10596 Reported by Andreas Schwab and Jim Meyering.
10598 2002-09-06 Akim Demaille <akim@epita.fr>
10600 * doc/autoconf.texi (Setting Output Variables): Clarify what
10601 precious variables are.
10602 Suggested by Pontus Skoeld.
10604 2002-09-05 Akim Demaille <akim@epita.fr>
10606 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
10607 (ifnames, autoscan, autom4te): Since we don't only depend on
10608 configure.ac variables (such as VERSION etc.), but also on prefix
10609 and so forth, depend on Makefile, not configure.ac.
10610 Reported by Alexandre Duret-Lutz.
10611 * doc/autoconf.texi (Installation Directory Variables): Adjust.
10613 2002-09-05 Kevin Ryde <user42@zip.com.au>
10615 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
10616 doesn't seem to be confined to ia64, just say "some versions".
10618 2002-09-04 Akim Demaille <akim@epita.fr>
10620 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
10622 * Makefile.am (maintainer-clean-local): Remove.
10623 (MAINTAINERCLEANFILES): Remove COPYING.
10625 2002-09-03 Paul Eggert <eggert@twinsun.com>
10627 * doc/autoconf.texi (Configuration Commands): Remove obsolete
10628 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
10631 2002-09-03 Akim Demaille <akim@epita.fr>
10633 * configure.ac: Bump to 2.53d.
10634 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
10635 as of today, on Automake's team suggestion.
10637 2002-09-03 Akim Demaille <akim@epita.fr>
10641 2002-09-02 Akim Demaille <akim@epita.fr>
10643 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
10645 * configure.ac: Disable SITE_MACRO_DIR.
10647 2002-09-02 Jim Meyering <meyering@lucent.com>
10649 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
10650 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
10651 Also, tweak grammar: s/make sure to/be sure to/.
10653 2002-09-02 Paul Eggert <eggert@twinsun.com>
10655 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
10656 directory names are generally preferable to physical names.
10658 2002-09-02 Akim Demaille <akim@epita.fr>
10660 * lib/Autom4te/General.pm (&update_file): s/die/error/.
10661 Reported by Raja R. Harinath.
10662 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
10663 * bin/autoupdate.in: Use error instead of die.
10665 2002-09-01 Paul Eggert <eggert@twinsun.com>
10667 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
10668 ordinary shell concatenation rather than echo+tr+sed command that
10669 runs afoul of a long-line-related sed bug in Solaris 8.
10671 * bin/autoheader.in (parse_args): --warning -> --warnings.
10673 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
10674 stdout, as traditional "ls" does.
10675 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
10676 _AC_COMPILER_EXEEXT_O): Likewise.
10677 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
10679 * bin/autoconf.as: Add --prepend-include option. This patch was
10680 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
10681 but bin/autoconf.in is generated automatically from bin/autoconf.as.
10683 * bin/autoconf.in, configure: Regenerate.
10685 * doc/autoconf.texi (Special Shell Variables): Mention
10686 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
10688 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
10689 MAILPATH and set PS1, PS2, PS4 to default values, to work
10690 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
10691 For LC_ALL etc, first try to set to "C" as POSIX requires and as
10692 the Autoconf documentation specifies; fall back to "unset" only if
10693 this fails. Use a shell for-loop for this rather than an m4 loop,
10694 to shorten the output script.
10696 2002-08-30 Paul Eggert <eggert@twinsun.com>
10698 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
10699 1003.1-2001's requirements for CDPATH. Give a simpler workaround
10700 for the CDPATH problem. Document PWD.
10701 (Limitations of Builtins): Document the problem that "cd $foo" and
10702 "ls $foo" may refer to different directories in shells conforming
10703 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
10704 example, since the old example is now out of date.
10706 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
10707 FOO" and "ls FOO" talk about different directories; this catches
10708 problems when POSIX 1003.1-2001 "cd" fails due to symlink
10711 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
10712 of rolling our own unset.
10713 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
10714 in practice we needn't worry about CDPATH if unset doesn't work.
10716 * Makefile.in, aclocal.m4, bin/Makefile.in,
10717 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
10718 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
10719 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
10720 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
10721 tests/Makefile.in: Regenerate with Automake 1.6.3.
10723 * config/config.guess, config/config.sub, config/mkinstalldirs:
10726 * configure: Regenerate with self.
10728 2002-08-30 Kevin Ryde <user42@zip.com.au>
10730 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
10733 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10735 * bin/autom4te.in (Request::load): Correctly test for "do" read
10738 2002-08-29 Akim Demaille <akim@epita.fr>
10740 * lib/Autom4te/General.pm (&xqx): New.
10741 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
10742 hand, which is not portable.
10744 * bin/autom4te.in: Use them.
10745 Use &error instead of die.
10746 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
10749 2002-08-17 Paul Eggert <eggert@twinsun.com>
10751 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
10752 default list of compilers to try, since it was long ago superseded
10753 by the ksh fc builtin. Suggested by Steven G. Johnson.
10755 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
10757 * doc/autoconf.texi (Invoking autom4te): End the option table,
10758 fixing a bug introduced by the previous patch.
10759 (Limitations of Make): Add a 'target lookup' subentry in the
10760 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
10762 2002-07-29 Mark D. Roth <roth@feep.net>
10764 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
10765 options and use $AUTOM4TE_PATH.
10766 * doc/autoconf.texi: Remove documentation of autom4te
10767 --include-envvar and --site-macro-subdir options and document
10768 use of $AUTOM4TE_PATH.
10769 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
10770 arguments from each language section.
10772 2002-07-29 Paul Eggert <eggert@twinsun.com>
10774 * doc/install.texi: Include copyright symbol in copyright notice.
10776 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
10778 (AM_MAKEINFOFLAGS): New macro.
10779 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
10780 * Makefile.am (INSTALL): Use the new macros.
10781 Use -o rather than --output, since "missing" does not grok --output.
10783 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
10785 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
10786 comments do not always work. Never trust the exit status of
10789 2002-07-24 Kevin Ryde <user42@zip.com.au>
10791 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
10792 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
10794 2002-07-23 Paul Eggert <eggert@twinsun.com>
10796 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
10797 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
10798 apparently treats PATH="nonexistent" as if it contained ".".
10799 Bug reported by Stefan `Sec' Zehl.
10801 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
10803 * doc/autoconf.texi (Limitations of Make): Mention the special
10804 handling of the obj/ directory by BSD make.
10806 2002-07-20 Kevin Ryde <user42@zip.com.au>
10808 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
10811 2002-07-19 Akim Demaille <akim@epita.fr>
10813 * doc/autoconf.texi (Function Portability): `exit'.
10814 (Programming in M4sh): Ethymology of M4sh.
10816 2002-07-19 Akim Demaille <akim@epita.fr>
10818 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
10820 2002-07-18 Akim Demaille <akim@epita.fr>
10824 2002-07-18 Akim Demaille <akim@epita.fr>
10826 * config/config.guess, config/config.sub: Update.
10828 2002-07-18 Akim Demaille <akim@epita.fr>
10830 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
10833 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
10834 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
10835 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
10837 2002-07-18 Akim Demaille <akim@epita.fr>,
10838 Alexandre Duret-Lutz <duret_g@epita.fr>
10840 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
10841 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
10843 2002-07-17 Russ Allbery <rra@stanford.edu>
10845 * doc/autoconf.texi (Initializing configure): Clarify the
10846 description of the tarname default.
10848 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
10850 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
10851 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
10852 latter was not run.
10854 2002-07-17 Akim Demaille <akim@epita.fr>
10856 * lib/Autom4te/General.pm (find_file): Browse the directories in
10857 the order they are given.
10859 2002-07-17 Akim Demaille <akim@epita.fr>
10861 * tests/wrapsh.as, tests/wrappl.as: Merge into...
10862 * tests/wrapper.as: this.
10863 * tests/Makefile.am, configure.ac: Adjust.
10865 2002-07-17 Mark D. Roth <roth@feep.net>
10867 * configure.ac: Add --enable-site-macro-dir option.
10868 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
10869 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
10870 --site-macro-subdir options.
10871 * bin/autoconf.in: Add --prepend-include option.
10872 * bin/autoheader.in: Add --prepend-include option.
10873 * bin/autoreconf.in: Add --prepend-include option.
10874 * bin/autoscan.in: Add --prepend-include option.
10875 * bin/autoupdate.in: Add --prepend-include option.
10876 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
10877 macro directory, remove note that include path directories are
10878 used in reverse order, and document --prepend-include option.
10879 * lib/autom4te.in: Use --prepend-include instead of --include.
10880 * tests/wrapsh.in: Use --prepend-include instead of --include.
10882 2002-07-17 Akim Demaille <akim@epita.fr>
10884 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
10886 * doc/autoconf.texi (Initializing configure): Adjust.
10888 2002-07-17 Akim Demaille <akim@epita.fr>
10890 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
10891 (_AC_FUNC_MALLOC): New.
10892 (AC_FUNC_MALLOC): Use the latter.
10893 Define HAVE_MALLOC to 0 if broken.
10894 * doc/autoconf.texi (Particular Functions): Adjust.
10896 2002-07-16 Akim Demaille <akim@epita.fr>
10898 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
10899 * doc/autoconf.texi (C Compiler): Adjust.
10901 2002-07-09 Akim Demaille <akim@epita.fr>
10903 * doc/autoconf.texi: Properly set the ``header'' part.
10905 2002-07-09 Akim Demaille <akim@epita.fr>
10907 * doc/autoconf.texi (Systemology): Some about Darwin.
10909 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
10911 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
10912 Don't use AC_REQUIRE in AU_DEFUN.
10914 2002-07-09 Art Haas <ahaas@neosoft.com>
10916 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
10918 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
10920 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10921 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
10922 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
10923 so that Emacs setups GNU style for perl-mode and cperl-mode.
10925 2002-06-27 Paul Eggert <eggert@twinsun.com>
10927 * config/install-sh: Quote $src. Prefer || to test's -o option,
10928 as per "Limitations of Builtins".
10929 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
10930 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
10932 * tests/mktests.sh: Use grep instead of fgrep, as per
10933 "Limitations of Builtins".
10935 2002-06-15 Paul Eggert <eggert@twinsun.com>
10937 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
10938 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
10939 so that we consistently test the just-built programs.
10940 * tests/wrappl.as: Likewise.
10942 2002-06-12 Paul Eggert <eggert@twinsun.com>
10944 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
10945 name, so that symlinks to 'autoconf' work properly. Bug reported
10947 * bin/autoheader.in (AUTOM4TE): Likewise.
10948 * bin/autoreconf.in (autoconf, autoheader): Likewise.
10949 * bin/autoscan.in (autom4te): Likewise.
10950 * bin/autoupdate.in (autom4te): Likewise.
10952 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
10953 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
10956 2002-06-11 Andreas Schwab <schwab@suse.de>
10958 * doc/autoconf.texi: Add more dir entries.
10960 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
10962 * bin/autom4te.in ($cache): Don't define using `$me', the name
10963 of the cache should not depend on the name under which autom4te
10966 2002-06-07 Akim Demaille <akim@epita.fr>
10968 * tests/tools.at (autoconf: forbidden tokens, basic)
10969 (autoconf: forbidden tokens, exceptions): Adjust to the change of
10970 words in autom4te.in.
10972 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
10974 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
10975 _AC_LANG_PROGRAM_C_F77_HOOKS.
10977 2002-06-07 Akim Demaille <akim@epita.fr>
10979 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
10981 (AC_REPLACE_FNMATCH): this.
10982 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
10983 AC_FUNC_FNMATCH_GNU.
10985 2002-06-07 Akim Demaille <akim@epita.fr>
10987 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
10988 Rosetta Stone for Unix.
10990 2002-06-07 Akim Demaille <akim@epita.fr>
10992 * bin/autom4te.in (warn_forbidden): When rejecting a token,
10993 suggest m4_pattern_allow.
10994 Suggested by Adam J. Richter.
10996 2002-06-07 Akim Demaille <akim@epita.fr>
10998 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
10999 ac_config_libobj_dir.
11000 (AC_CONFIG_LIBOBJ_DIR): New.
11001 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
11002 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
11003 Use ac_config_libobj_dir to find the replacement files.
11004 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
11005 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
11006 (AC_REPLACE_FNMATCH_GNU): these.
11007 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
11008 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
11009 * tests/mktests.sh (ac_exclude_list): Don't check
11010 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
11012 2002-06-06 Paul Eggert <eggert@twinsun.com>
11014 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
11015 if ln doesn't work.
11017 * doc/autoconf.texi (Configuration Links): Likewise.
11018 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
11020 2002-06-05 Paul Eggert <eggert@twinsun.com>
11022 * config/config.guess, config/config.sub, config/texinfo.tex:
11023 Update from masters.
11025 2002-05-29 Paul Eggert <eggert@twinsun.com>
11027 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
11028 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
11029 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
11031 * lib/autoconf/Makefile.am (check-local): Likewise.
11032 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
11033 * lib/autoconf/types.m4 (commentary only): Likewise.
11034 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
11035 * lib/autotest/Makefile.am (check-local): Likewise.
11036 * lib/m4sugar/Makefile.am (check-local): Likewise.
11037 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
11038 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
11040 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
11041 * doc/autoconf.texi (Particular Programs): Document them.
11042 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
11045 2002-05-27 Paul Eggert <eggert@twinsun.com>
11047 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
11048 * NEWS, doc/autoconf.texi (Particular Types): Document it.
11049 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
11050 instead of AC_MBSTATE_T, which never existed.
11052 2002-05-23 Akim Demaille <akim@epita.fr>
11054 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
11055 version of Autoconf that is discussed.
11057 2002-05-22 Paul Eggert <eggert@twinsun.com>
11059 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
11060 from the default list of compilers to try. Suggested by
11062 * NEWS: Document the above.
11063 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
11065 2002-05-17 Paul Eggert <eggert@twinsun.com>
11067 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
11068 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
11069 This improves on an earlier suggestion by H. Peter Anvin.
11071 2002-05-16 Paul Eggert <eggert@twinsun.com>
11073 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
11074 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
11075 Both macros now accept an optional source-dir arg.
11076 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
11078 * NEWS: Document this.
11079 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
11081 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
11082 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
11083 not for GNU extensions; this undoes part of the 2000-11-03 change,
11084 reverting to 2.13-compatible behavior.
11085 Add new optional argument DIR.
11086 (AC_FUNC_FNMATCH_GNU): New macro.
11088 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
11090 2002-05-08 Paul Eggert <eggert@twinsun.com>
11092 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
11093 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
11094 and it causes a 'test' syntax error if it fails.
11095 Bug reported by Stephen Gildea.
11097 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
11098 If prototypes are supported, use them to check this at compile-time,
11099 instead of trying to check it at run-time. If we must do a run-time
11100 check, assume that setvbuf is standard when cross-compiling, as
11101 nonstandard setvbuf occurs only on ancient and unlikely hosts.
11102 Bug reported by Paul D. Smith.
11104 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
11105 argument specifying location of getloadavg.c. This removes a
11106 FIXME. This idea was taken from Jim Meyering's implementation in
11108 * doc/autoconf.texi (Particular Functions): Document this.
11109 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
11110 that's what the code does; this fixes a bug reported by
11113 2002-05-03 Akim Demaille <akim@epita.fr>
11115 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
11116 autopoint instead of gettextize.
11117 ($uses_alocal): Rename as...
11118 ($uses_aclocal): this.
11119 * doc/autoconf.texi (autoreconf Invocation): Adjust.
11120 Suggested by Bruno Haible.
11122 2002-05-03 Akim Demaille <akim@epita.fr>
11124 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
11126 2002-04-29 Paul Eggert <eggert@twinsun.com>
11128 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
11129 files to be 1 second older; just set them to be the same time.
11130 Also, sleep 1 second after the first aclocal, to work around
11131 problems with sub-second time stamps on the input files.
11133 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
11135 * doc/autoconf.texi: Mention "set -e -x" lossage
11136 under node "Limitations of Builtins".
11138 2002-04-29 Akim Demaille <akim@epita.fr>
11140 * doc/install.texi: Better wording for setting variables when
11142 From Christian Cornelssen.
11144 2002-04-29 Akim Demaille <akim@epita.fr>
11146 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
11147 of lack of $LINENO support, then the test will compare the $LINENO
11148 in testsuite vs. the lineno in the test file. This is wrong, of
11150 Be sure to protect it.
11151 Reported by Patrick Welche.
11153 2002-04-25 Akim Demaille <akim@epita.fr>
11155 * doc/autoconf.texi (Obsolete Macros): Typo.
11156 Reported by Vladimir Volovich.
11158 2002-04-25 Akim Demaille <akim@epita.fr>
11160 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
11161 than some of the input files, hence, on the second run of aclocal,
11162 if some of its input are younger, make them older.
11163 Suggested by Paul Eggert.
11165 2002-04-25 Akim Demaille <akim@epita.fr>
11167 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
11168 Thanks to Paul Eggert.
11170 2002-04-25 Akim Demaille <akim@epita.fr>
11172 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
11173 and ac_subst_vars be sh variables containing the list of
11174 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
11176 (_AC_INIT_PREPARE): Use them to log them.
11177 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
11178 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
11179 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
11180 _AC_SUBST_FILES and _AC_SUBST_VARS.
11181 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
11183 2002-04-24 Akim Demaille <akim@epita.fr>
11185 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
11186 autoheader, so that automake does not complain about a missing
11187 config.h.in that was to be created.
11189 2002-04-23 Akim Demaille <akim@epita.fr>
11191 * bin/autoheader.in (parse_args): --warning takes an argument.
11194 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
11196 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
11197 and bb.out when cleaning up.
11199 2002-04-22 Akim Demaille <akim@epita.fr>
11203 2002-04-22 Akim Demaille <akim@epita.fr>
11205 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
11207 2002-04-22 Akim Demaille <akim@epita.fr>
11209 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
11211 Reported by Gregory Giannoni.
11213 2002-04-22 Akim Demaille <akim@epita.fr>
11215 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
11216 Fixes false failures on Darwin.
11218 2002-04-21 Paul Eggert <eggert@twinsun.com>
11220 * TODO, bin/autoupdate.in, doc/autoconf.texi,
11221 lib/autoconf/general.m4, lib/autoconf/libs.m4,
11222 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
11223 tests/tools.at: Minor spelling and grammar fixes.
11225 2002-04-20 Paul Eggert <eggert@twinsun.com>
11227 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
11228 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
11229 * lib/autotest/general.m4 (AT_INIT): Likewise.
11230 * tests/atgeneral.m4 (AT_INIT): Likewise.
11232 2002-04-19 Paul Eggert <eggert@twinsun.com>
11234 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
11235 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
11236 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
11237 lib/autoconf/functions.m4, lib/autoconf/general.m4,
11238 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
11239 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
11240 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
11241 Minor spelling and grammar fixes.
11243 * doc/autoconf.texi: Follow the outline suggested in the GNU
11244 Sample Texts sections of the Texinfo 4.2 manual. Most
11245 importantly, this makes sure that the copyright notices appear in
11246 all output formats. You probably need Texinfo 4.2 to generate
11249 Fix some bugs when using "$@" when there might be zero positional
11250 arguments in cases where this matters.
11252 * bin/autoconf.as: Rewrite so that the problem does not come up.
11253 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
11254 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
11255 * lib/autotest/general.m4 (AT_INIT): Likewise.
11257 * bin/autoheader.in: Use 'case' statement to work around problem.
11258 * bin/auto4mte.in: Likewise.
11259 * bin/autoreconf.in: Likewise.
11260 * bin/autoscan.in: Likewise.
11261 * bin/autoupdate.in: Likewise.
11262 * bin/ifnames.in: Likewise.
11264 * doc/autoconf.texi (Shell Substitutions): Document the problem.
11266 * lib/autotest/general.m4 (AT_INIT):
11267 Use Zsh alias to work around problem.
11268 * tests/atgeneral.m4 (AT_INIT): Likewise.
11270 * tests/c.at: We can't have zero arguments, so remove workaround
11271 that is not portable to Zsh.
11273 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
11275 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
11276 from aclocal.m4 too.
11278 2002-04-12 Akim Demaille <akim@epita.fr>
11280 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
11282 2002-04-10 Akim Demaille <akim@epita.fr>
11284 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
11285 workaround for ${1+"$@"}.
11286 * doc/autoconf.texi (Shell Substitutions): Explain it.
11287 From Oliver Kiddle and Peter Stephenson.
11289 Have M4sh perform minimal shell sanitizing.
11291 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
11293 (_AS_PREPARE): this new macro.
11295 (AS_INIT): Invoke AS_SHELL_SANITIZE.
11296 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
11298 Adjust Autoconf and Autotest.
11300 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
11301 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
11302 * lib/autotest/general.m4 (AT_INIT): Likewise.
11303 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
11304 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
11307 Use this M4sh to generate Autoconf's shell scripts.
11309 * tests/wrapsh.as: New, precursor of wrapsh.in.
11310 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
11311 on Autotest and M4sh.
11312 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
11313 (wrapsh.in): New target.
11314 * bin/autoconf.as: New, precursor of autoconf.in.
11315 (autoconf.in): New target.
11317 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
11319 * doc/autoconf.texi (Limitations of Make): Mention the issue
11320 with indented comments in rules.
11322 2002-04-09 Andreas Schwab <schwab@suse.de>
11324 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
11325 ac_top_builddir when setting ac_abs_top_builddir.
11327 2002-04-06 Kevin Ryde <user42@zip.com.au>
11329 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
11330 (Portable Shell): Cross reference to Systemology.
11332 2002-04-05 Akim Demaille <akim@epita.fr>
11334 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
11335 directories when descending in a SUBDIRS.
11336 Reported by Ezra Peisach.
11338 2002-04-04 Andreas Schwab <schwab@suse.de>
11340 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
11341 contains no literal separators.
11343 2002-04-03 Akim Demaille <akim@epita.fr>
11345 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
11346 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
11347 Use dnl, not the KILL diversion.
11349 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
11350 (AC_CONFIG_LINKS): here.
11352 Don't use the KILL diversion, as it kills spurious output, which
11353 results in failures being hidden.
11354 Use m4_defn where appropriate.
11355 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
11356 after the second argument.
11358 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
11359 syntax, as it is provided by M4sugar.
11360 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
11362 2002-04-03 Andreas Schwab <schwab@suse.de>
11364 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
11365 expanded if $# <= 2.
11367 * bin/autoreconf.in (autoreconf): Run automake after rerunning
11370 2002-04-03 Akim Demaille <akim@epita.fr>
11372 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
11373 (_AC_COMPILER_EXEEXT_REJECT): New.
11374 Also recognize *.bb and *.bbg as compilation byproducts.
11375 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
11376 (_AC_COMPILER_OBJEXT): Use them.
11377 Fixes Debian #138666.
11379 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
11381 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
11383 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
11384 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
11385 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
11386 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
11387 (AC_C_CONST): Same.
11388 (AC_C_INLINE): Same.
11389 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
11390 * doc/autoconf.texi, NEWS: Document.
11391 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
11394 2002-04-02 Akim Demaille <akim@epita.fr>
11396 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
11397 _AS_MKDIR_P_PREPARE.
11399 2002-03-28 Kevin Ryde <user42@zip.com.au>
11401 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
11402 to avoid versions of HP C which don't allow that.
11404 2002-03-27 Paul Eggert <eggert@twinsun.com>
11406 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
11407 (AS_SHELL_SANITIZE): Invoke it.
11408 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
11410 2002-03-26 Akim Demaille <akim@epita.fr>
11412 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
11414 2002-03-26 Akim Demaille <akim@epita.fr>
11416 * doc/autoconf.texi (Introduction): The GNATS base moved.
11418 2002-03-25 Paul Eggert <eggert@twinsun.com>
11420 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
11421 as POSIX requires, as it doesn't work with Zsh.
11422 * doc/autoconf.texi (Assignments): Document the problem.
11424 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
11426 * doc/autoconf.texi (Limitations of Make): Mention more issue
11427 about VPATH, overriding of macros in sub-makes, and handling of
11430 2002-03-21 Paul Eggert <eggert@twinsun.com>
11432 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
11433 problem with here-document buffer boundaries.
11435 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
11436 when reinvoking the shell, to work around problems with installers
11437 who put strange things like "cd" commands in their environments.
11439 2002-03-19 Akim Demaille <akim@epita.fr>
11441 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
11444 2002-03-19 Akim Demaille <akim@epita.fr>
11446 * bin/autoscan.in (scan_file): Specify the location in `&used'
11450 2002-03-19 Akim Demaille <akim@epita.fr>
11452 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
11453 From Nishio Futoshi.
11455 2002-03-19 Akim Demaille <akim@epita.fr>
11457 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
11459 2002-03-18 Paul Eggert <eggert@twinsun.com>
11461 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
11462 (Limitations of Usual Tools): Add mkdir section.
11464 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
11465 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
11466 back on AS_DIRNAME to compute prefixes otherwise; this is
11467 roughly what mkinstalldirs does. That way, we need not have
11468 our own filename disassembler. The old disassembler did not
11469 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
11471 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
11472 Create at_test_all by a series of assignments,
11473 not by a single assignment of a long string. The latter causes ksh
11474 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
11475 presumably because of a buffer overrun.
11477 2002-03-14 Paul Eggert <eggert@twinsun.com>
11479 * lib/autotest/general.m4 (at_times_skip):
11480 Renamed from at_times. Now a boolean.
11481 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
11482 says 'times: not found'.
11484 2002-03-14 Akim Demaille <akim@epita.fr>
11486 * bin/autoreconf.in (&study_gettextize): New.
11487 (&autoreconf): Handle newest gettextize.
11488 Rerun aclocal if needed.
11489 Suggested by Andreas Schwab.
11491 2002-03-13 Akim Demaille <akim@epita.fr>
11493 * doc/autoconf.texi (Special Shell Variables): More about IFS.
11495 2002-03-13 Akim Demaille <akim@epita.fr>
11497 * doc/autoconf.texi (Header Portability): New.
11498 Add information about stdint.h and inttypes.h from Paul Eggert.
11500 2002-03-13 Akim Demaille <akim@epita.fr>
11502 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
11506 2002-03-12 Akim Demaille <akim@epita.fr>
11508 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
11511 2002-03-11 Andreas Schwab <schwab@suse.de>
11513 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
11514 does not do it if --with-lispdir is given.
11516 2002-03-08 Akim Demaille <akim@epita.fr>
11520 2002-03-08 Akim Demaille <akim@epita.fr>
11522 * doc/autoconf.texi (Subdirectories): Clarify that the
11523 subdirectory should exist.
11525 2002-03-08 Akim Demaille <akim@epita.fr>
11527 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
11529 2002-03-08 Akim Demaille <akim@epita.fr>
11531 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
11532 aliases the actual variables, and modifications of the former
11535 2002-03-08 Akim Demaille <akim@epita.fr>
11537 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
11538 because of C-c: have m4 output in tmp files, then mv them.
11540 2002-03-08 Akim Demaille <akim@epita.fr>
11542 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
11543 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
11544 * bin/ifnames.in: Copyright update.
11546 2002-03-08 Akim Demaille <akim@epita.fr>
11548 * doc/autoconf.texi (Invoking autom4te): New.
11550 2002-03-05 Akim Demaille <akim@epita.fr>
11552 * doc/autoconf.texi (Specifying Names): Clarification suggested by
11555 2002-03-05 Akim Demaille <akim@epita.fr>
11559 2002-03-04 Akim Demaille <akim@epita.fr>
11561 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
11562 * lib/autoconf/general.m4 (AC_INIT): More informative error
11563 message for LIBOBJ.
11565 2002-03-04 Akim Demaille <akim@epita.fr>
11567 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
11570 2002-03-04 Akim Demaille <akim@epita.fr>
11572 * doc/autoconf.texi (Transforming Names): Equality between target
11573 and host is irrelevant.
11574 (Specifying Names, Canonicalizing): Remove all references to the
11575 backward compatibility hooks. Rather, collect them all into...
11576 (Hosts and Cross-Compilation): this new section.
11577 * doc/install.texi (System Type): Ditto.
11578 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
11579 that `--host' implies cross-compilation.
11581 2002-03-04 Akim Demaille <akim@epita.fr>
11583 * doc/autoconf.texi (Evaluation Macros): New.
11584 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
11586 (_m4_foreach): Define the variant with immediate evaluation so
11587 that it contains exactly the items, not an expression which
11588 evaluation is the current item.
11589 (m4_re_string, m4_re_word): Don't over quote them.
11591 2002-03-04 Akim Demaille <akim@epita.fr>
11593 Instead of having stacking `shift's evaluated at the end, let
11594 `foreach' loops immediately evaluate them.
11596 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
11597 $*. This is the n-th time I change my mind, but hopefully this is
11600 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
11602 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
11603 it was only a hack for m4_text_wrap.
11604 (m4_car2): Remove, replaced by...
11606 (_m4_foreach): Adjust.
11607 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
11608 m4_bpatsubst for clarification.
11610 2002-03-04 Akim Demaille <akim@epita.fr>
11612 * doc/autoconf.texi (Changequote is Evil): New.
11614 2002-03-03 Kevin Ryde <user42@zip.com.au>
11616 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
11617 on old systems like SunOS.
11619 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
11621 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11622 lib/autoconf/functions.m4, lib/autoconf/general.m4,
11623 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
11624 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
11627 2002-02-28 Akim Demaille <akim@epita.fr>
11629 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
11630 message to be sent.
11632 2002-02-28 Kevin Ryde <user42@zip.com.au>
11634 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
11636 2002-02-25 Akim Demaille <akim@epita.fr>
11638 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
11639 From Akinori Musha.
11641 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
11643 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
11644 translate \r\n to \n.
11646 2002-02-07 Akim Demaille <akim@epita.fr>
11650 2002-02-07 Akim Demaille <akim@epita.fr>
11652 Fix Autoconf PR/209.
11653 Also reported by Frank Denis.
11655 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
11657 2002-02-07 Akim Demaille <akim@epita.fr>
11659 Fix Autoconf PR/207:
11660 AC_PREFIX_PROGRAM fails with dashed program names
11662 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
11663 variable when looking for the prefix program.
11664 Now it also works for shell variables.
11666 2002-02-07 Akim Demaille <akim@epita.fr>
11668 * doc/autoconf.texi (Limitations of Builtins): More about
11671 2002-02-06 Akim Demaille <akim@epita.fr>
11673 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
11674 case/esac, some shells don't support it.
11675 Reported by Zack Weinberg.
11676 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
11678 2002-02-06 Akim Demaille <akim@epita.fr>
11680 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
11681 sure not to introduce newlines in at_groups.
11682 * lib/autotest/Makefile.am (autotest.m4f): Typo.
11684 2002-02-06 Akim Demaille <akim@epita.fr>
11686 * tests/torture.at (Configuring subdirectories): Skip if aclocal
11689 2002-02-05 Paul Eggert <eggert@twinsun.com>
11691 * doc/autoconf.texi (Specific Compiler Characteristics):
11692 Describe HP-UX cc bug workaround more accurately.
11693 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
11695 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
11696 cross-compilers, too. This undoes some of the most recent change
11699 2002-02-05 Akim Demaille <akim@epita.fr>
11701 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
11702 to make sure they are up to date when `check' is run.
11704 2002-02-05 Akim Demaille <akim@epita.fr>
11706 * doc/autoconf.texi (Making testsuite Scripts): Document
11709 2002-02-05 Akim Demaille <akim@epita.fr>
11711 * lib/freeze.mk: New.
11713 2002-02-05 Akim Demaille <akim@epita.fr>
11715 Implement `autom4te --freeze'.
11717 * bin/autom4te.in (&freeze): New.
11718 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
11719 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
11721 2002-02-05 Akim Demaille <akim@epita.fr>
11723 * bin/autom4te.in (&parse_args): Implement `frozen files are
11724 optional are the sum of the previous files on the command line'.
11725 Also, pass `--reload-state=' on them, so...
11726 (handle_m4): don't.
11727 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
11728 (M4sh): Rely on M4sugar.
11729 (Autotest, M4sh, M4sugar): Use frozen files.
11731 2002-01-31 Akim Demaille <akim@epita.fr>
11733 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
11734 * doc/autoconf.texi (Initializing configure): Adjust.
11736 2002-01-30 Akim Demaille <akim@epita.fr>
11738 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
11739 alphanumeric to `-' instead of `_'.
11741 2002-01-30 Akim Demaille <akim@epita.fr>
11743 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
11744 for plain code, the other for cross-compilation code. The latter
11745 is now run with GCC only.
11746 * doc/autoconf.texi (Compilers and Preprocessors): New.
11748 2002-01-30 Akim Demaille <akim@epita.fr>
11750 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
11752 * doc/autoconf.texi (Initializing configure): Explain how to
11753 change AC_INIT default values.
11755 2002-01-29 Akim Demaille <akim@epita.fr>
11757 * tests/torture.at (Configuring subdirectories): Use configure.in,
11758 so that aclocal 1.4 works.
11759 Reported by Alexandre Duret-Lutz and Larry Schmitt.
11761 2002-01-28 Akim Demaille <akim@epita.fr>
11763 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
11766 2002-01-28 Akim Demaille <akim@epita.fr>
11768 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
11769 AUTOTEST_PATH *after* it was set.
11770 Don't put `.' in the PATH: the user should be precise and `./' if
11771 needed. In addition, given that the test suite does some `cd', if
11772 `.' is in the path, the `tested programs' sections will report
11773 programs found in the test suite's directory, while during the
11774 tests (performed in their own directory), these programs are no
11775 longer visible. In other words, the results is confusing and
11777 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
11779 2002-01-24 Akim Demaille <akim@epita.fr>
11783 2002-01-24 Akim Demaille <akim@epita.fr>
11785 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
11786 * doc/autoconf.texi: Finally add Akim as an author.
11788 2002-01-24 Akim Demaille <akim@epita.fr>
11790 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
11791 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
11792 Bourne. Use /bin/sh.
11793 From Andreas Buening.
11795 2002-01-24 Akim Demaille <akim@epita.fr>
11797 * config/config.guess, config/config.sub, config/texinfo.tex:
11798 Update from masters.
11800 2002-01-24 Akim Demaille <akim@epita.fr>
11802 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
11803 * config/auxdir.m4, config/cond.m4, config/depend.m4,
11804 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
11805 * config/missing.m4, config/sanity.m4, config/select.m4,
11806 * config/strip.m4: Remove, to ease sync'ing with any version of
11809 2002-01-24 Akim Demaille <akim@epita.fr>
11811 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
11812 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
11813 Reported by Geir Ove Myhr.
11815 2002-01-21 Akim Demaille <akim@epita.fr>
11817 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
11819 2002-01-21 Akim Demaille <akim@epita.fr>
11821 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
11822 message on invalid options.
11823 * bin/autom4te.in (parse_args): Don't use
11824 Autoconf::General::getopt with non valid options.
11826 2002-01-17 Jim Meyering <meyering@lucent.com>
11828 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
11829 $ac_cv_exeext so we don't use an old, invalid, cached value.
11831 2002-01-11 Akim Demaille <akim@epita.fr>
11833 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
11835 * doc/autoconf.texi (Function Portability): Document the strnlen
11837 (Particular Functions): Document AC_FUNC_STRNLEN.
11838 * lib/autoscan/functions: Adjust.
11840 2002-01-06 Akim Demaille <akim@epita.fr>
11842 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
11843 package.m4, since is really depends upon configure.ac, not
11845 * doc/autoconf.texi (testsuite Scripts): Adjust.
11846 * tests/Makefile.am (package.m4): New.
11847 EXTRA_DIST it since its a source.
11849 2002-01-06 Akim Demaille <akim@epita.fr>
11851 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
11852 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
11853 and PACKAGE_BUGREPORT from here...
11854 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
11856 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
11857 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
11858 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
11859 * tests/tools.at (autoheader): Adjust.
11860 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
11862 2002-01-06 Akim Demaille <akim@epita.fr>
11864 * bin/autoscan.in (scan_file): Use `&used'.
11866 2002-01-03 Akim Demaille <akim@epita.fr>
11868 * doc/autoconf.texi (Output): Improved wording regarding use of
11872 2001-12-18 Kevin Ryde <user42@zip.com.au>
11874 * doc/autoconf.texi (Function Portability): Add notes on sscanf
11875 sometimes needing writable input.
11877 2001-12-17 Jim Meyering <meyering@lucent.com>
11879 * doc/autoconf.texi (New Macros): Tweak wording.
11881 2001-12-14 Akim Demaille <akim@epita.fr>
11883 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
11884 trailing files, don't apply `-rf' to files which might not be
11885 created by configure (core, core.*, and *.core), but just `rm -f'.
11886 Suggested by Jonathan Kamens.
11888 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
11890 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
11892 2001-12-14 Akim Demaille <akim@epita.fr>
11894 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
11896 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
11898 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
11899 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
11900 abs_srcdir, top_srcpath to abs_top_srcdir.
11901 (_AC_OUTPUT_FILES): Adjust.
11902 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
11903 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
11904 * tests/wrappl.in, tests/wrapsh.in: Adjust.
11906 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
11908 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
11909 C/Fortran linking on HP/UX, by extracting the Fortran library
11910 search path from the LPATH line in the $F77 -v output.
11912 2001-12-12 Kevin Ryde <user42@zip.com.au>
11914 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
11915 forbidden file descriptors table.
11917 2001-11-26 Akim Demaille <akim@epita.fr>
11919 * bin/autoscan.in (%c_keywords): Build it at top level.
11920 Map to 1 in order to simplify its uses.
11922 2001-11-26 Akim Demaille <akim@epita.fr>
11924 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
11925 Remove $filepath, useless.
11926 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
11927 variables, they are really part of the tokens.
11928 Split the input line on spaces and then look for tokens.
11929 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
11930 because of `lex$U.$(OBJEXT)'.
11931 (&scan_files): Use "@list" instead of join.
11932 * doc/Makefile.am (CLEANFILES): Add *.fns.
11934 2001-11-26 Akim Demaille <akim@epita.fr>
11936 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
11937 Remove, replaced by...
11938 * tests/wrappl.in: Be common for all the Perl executables.
11939 In particular autoscan and autoheader want -I.
11940 * configure.ac: Adjust.
11941 * lib/autoscan/headers: errno.h is portable.
11943 2001-11-26 Akim Demaille <akim@epita.fr>
11945 * bin/autoscan.in (used): New.
11948 2001-11-26 Akim Demaille <akim@epita.fr>
11950 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
11952 (&scan_sh_file): Remove a duplicate pattern.
11953 (&check_configure_ac): Use long options.
11954 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
11956 2001-11-26 Akim Demaille <akim@epita.fr>
11958 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
11959 Before, having a line containing the opening of a multi line
11960 comment made the whole line be ignored.
11962 2001-11-26 Akim Demaille <akim@epita.fr>
11964 * doc/autoconf.texi (Using an Autotest Test Suite): New.
11965 (testsuite Scripts): Be one of its subsection.
11966 (Autotest Logs): New.
11968 2001-11-26 Akim Demaille <akim@epita.fr>
11970 Test groups are now run two directories deeper.
11972 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
11973 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
11975 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
11976 top_srcdir, builddir and top_builddir.
11977 Use `at_*dir' relatively to the directory containing the
11978 suite, use `*dir' when relatively to the current group dir.
11980 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
11982 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
11983 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
11984 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
11987 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
11989 * doc/autoconf.texi (Using System Type): Add an example of `case
11990 $host' usage so people quit using `case $target' everywhere.
11992 2001-11-22 Akim Demaille <akim@epita.fr>
11994 * doc/autoconf.texi (Installation Directory Variables): Englishoes
11995 spotted by Jim Meyering.
11997 2001-11-16 Paul Eggert <eggert@twinsun.com>
11999 This patch implements a `long double' suggestion by Oliver Kiddle.
12001 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
12002 static, to catch errors if the value isn't known at compile-time
12003 and the compiler supports dynamic arrays. Change its name from
12004 `_array_' to `test_array' to avoid potential name clashes.
12005 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
12006 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
12007 better than double. Catch a bug in GCC 2.95.2 x86.
12008 * doc/autoconf.texi (C Compiler): Document the above.
12011 2001-11-13 Akim Demaille <akim@epita.fr>
12013 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
12015 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
12017 2001-11-13 Akim Demaille <akim@epita.fr>
12019 * lib/autotest/general.m4 (AT_INIT): After having run the test
12020 group, go back to the initial directory, not to at_suite_dir.
12022 2001-11-13 Akim Demaille <akim@epita.fr>
12024 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
12025 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
12026 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
12028 (AT_CHECK_CONFIGURE): Use absolute paths.
12029 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
12030 The problem is still the old one: there is no means in M4 (that I
12031 know about) to create a defining macro, because there is no means
12032 to create `$1' etc., therefore, the defining macro ``swallows''
12033 all the arguments meant to the defined macro.
12035 2001-11-13 Akim Demaille <akim@epita.fr>
12037 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
12038 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
12040 * tests/aclocal.m4: Remove, as it is no longer used.
12042 2001-11-13 Akim Demaille <akim@epita.fr>
12044 * lib/autotest/general.m4: Change `tests?' into `groups?' in
12045 variable names when referring to a single test group, or to
12046 `suite' when referring to the whole test suite.
12047 `at_last_test' is removed: m4 compute at_format itself.
12048 (at_stdout, at_stder1, at_stderr): New variables.
12049 (AT_CHECK): Use them.
12051 2001-11-13 Akim Demaille <akim@epita.fr>
12053 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
12055 Create `testsuite.dir/003/run' instead of `testsuite.003'.
12056 Do it as soon as a test fails, don't wait till the end of the test
12058 Don't remove $as_me.[0-9]*, since these files no longer exist.
12060 2001-11-13 Akim Demaille <akim@epita.fr>
12062 * tests/tools.at: Use absolute paths, since we are no longer run
12065 2001-11-13 Akim Demaille <akim@epita.fr>
12067 Now that tests are running in their own private dir, there is no
12068 need to list the files to remove at the end of tests groups.
12070 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
12071 (AT_data_files, at_data_files): Remove.
12072 (AT_CLEANUP, AT_DATA): Simplify.
12074 Remove the group dir if !debug && !failed.
12075 * tests/atspecific.m4: Adjust.
12077 2001-11-13 Akim Demaille <akim@epita.fr>
12079 Start a new layout for Autotest: `testsuite' creates
12080 `testsuite.dir' in which the at-check-line etc. files are to be
12081 found, and `testsuite.dir/003' where the test group 3 is run.
12083 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
12084 at_check_line_file, at_format, at_test_normalized, at_group_dir
12086 Create the directories.
12087 Use absolute paths for at- files.
12088 (AT_CHECK): Adjust.
12090 2001-11-11 Michael Matz <matz@kde.org>
12092 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
12094 (m4_car): Properly quote arguments.
12096 2001-11-13 Akim Demaille <akim@epita.fr>
12098 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
12099 with stricter rules on LIBOBJS.
12101 2001-11-12 Paul Eggert <eggert@twinsun.com>
12103 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
12104 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
12107 2001-11-12 Akim Demaille <akim@epita.fr>
12109 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
12111 2001-11-12 Akim Demaille <akim@epita.fr>
12113 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
12114 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
12115 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
12116 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
12117 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
12118 specify to what the macro should be defined (typically to 1).
12120 2001-11-12 Akim Demaille <akim@epita.fr>
12122 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
12125 2001-11-12 Akim Demaille <akim@epita.fr>
12127 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
12128 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
12129 definition used by Automake where LEX is +/- "${missing} lex" and
12130 `missing' itself contains variables.
12132 2001-11-12 Akim Demaille <akim@epita.fr>
12134 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
12135 Now that M4sh pushes BODY, the comments were output at the end of
12138 2001-11-08 Akim Demaille <akim@epita.fr>
12140 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
12141 that we can trace macros from aclocal.m4.
12142 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
12143 obsoleted, and redirect to the former anyway.
12144 Reported by Ralf Corsepius.
12146 2001-11-08 Akim Demaille <akim@epita.fr>
12148 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
12149 processed only if present.
12150 * tests/torture.at (Configuring subdirectories): Use autoreconf
12151 instead of successive calls to autoconf.
12152 Add a nonexistent subdirectory to exercise the patch above.
12153 Reported by Ralf Corsepius.
12155 2001-11-08 Kevin Ryde <user42@zip.com.au>
12157 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
12158 doesn't accept .S files.
12160 2001-11-07 Akim Demaille <akim@epita.fr>
12162 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
12163 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
12164 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
12165 * bin/autom4te.in (warn_forbidden): New.
12166 (handle_output): Use it.
12167 Read m4_pattern_forbid with messages.
12169 2001-11-05 Akim Demaille <akim@epita.fr>
12171 * bin/autom4te.in (--normalize): Remove.
12172 * lib/autom4te.in: Adjust.
12174 2001-11-05 Akim Demaille <akim@epita.fr>
12176 * tests/Makefile.am (testsuite): Rename this target as...
12177 ($(TESTSUITE)): this.
12180 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
12182 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
12183 the --prefix option, also remove it's argument.
12185 2001-11-05 Akim Demaille <akim@epita.fr>
12187 * doc/autoconf.texi (testsuite Invocation): Update.
12188 (Writing testsuite.at): Update.
12190 2001-11-03 Akim Demaille <akim@epita.fr>
12192 * doc/autoconf.texi: s/@code/@command/ where appropriate.
12194 2001-11-03 Akim Demaille <akim@epita.fr>
12196 * lib/Autom4te/General.pm: (&catfile, &canonfile)
12197 (&file_name_is_absolute): New, wrappers around routines from
12199 Use and export them.
12200 (&find_configure_ac): Optionally take a directory where to look at.
12201 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
12203 Default @ARGV to `.', not find_configure_ac.
12204 (&autoreconf): Argument is a directory.
12205 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
12206 * doc/autoconf.texi (autoreconf Invocation): Update.
12208 2001-11-03 Akim Demaille <akim@epita.fr>
12210 * lib/Autom4te/General.pm (@export_vars, @export_subs)
12211 (@export_forward_subs): New.
12212 Add basename, dirname, and fileparse.
12214 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
12215 Don't look for aclocal flags if we already know aclocal is not
12217 Move aclocal.m4t only if it exists.
12218 Reported by Ezra Peisach.
12220 2001-11-03 Akim Demaille <akim@epita.fr>
12222 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
12223 passed on command line, defaulting to ./configure.ac if present.
12224 (&maybe_autoreconf, File::Find): Remove, unused.
12225 (&autoreconf): If autoconf is not used, don't try to trace.
12227 2001-11-02 Akim Demaille <akim@epita.fr>
12229 * configure.ac: Bump to 2.52g.
12231 2001-11-02 Akim Demaille <akim@epita.fr>
12235 2001-11-02 Akim Demaille <akim@epita.fr>
12237 * config/config.guess, config/config.sub, doc/standards.texi:
12238 * config/lispdir.m4: Update from masters.
12239 * configure.ac: Bump to 2.52f.
12241 2001-11-02 Akim Demaille <akim@epita.fr>
12243 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
12244 Don't run aclocal when aclocal.m4 is not from aclocal.
12246 Don't run libtoolize and gettextize if --install is not given.
12248 2001-11-01 Paul Eggert <eggert@twinsun.com>
12250 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
12251 be invoked before _AS_LINENO_PREPARE.
12252 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
12253 than character ranges.
12255 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
12256 invoking AS_BASENAME. Set the locale variables to 'C' if
12257 possible, as POSIX requires this to get the traditional
12259 * doc/autoconf.texi (Special Shell Variables): Describe the above.
12261 2001-10-31 Paul Eggert <eggert@twinsun.com>
12263 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
12264 with {}, as that triggers a bug in Bash 2.05.
12266 (_AS_LINENO_PREPARE): Use Sed rather than
12267 Awk. Fix the sed prepass to work even if there are multiple
12268 instances of $LINENO on the same line. Do not substitute for
12269 other variables like $LINENOT. Do not check file dates; such a
12270 check is unreliable on sufficiently fast machines, and removing
12271 the check makes the code simpler and more reliable. Check for
12272 output and chmod failures.
12274 * doc/autoconf.texi (Special Shell Variables): Document
12277 2001-10-31 Akim Demaille <akim@epita.fr>
12279 * tests/Makefile.am (atconfig): Remove this target, Automake
12282 2001-10-31 Akim Demaille <akim@epita.fr>
12284 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
12285 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
12286 provided, while it is optional.
12287 * configure.ac: Adjust.
12289 2001-10-26 Paul Eggert <eggert@twinsun.com>
12291 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
12292 lib/Autom4te/Struct.pm:
12293 Require Perl 5.005_03 instead of just 5.005, as some tests fail
12296 * doc/autoconf.texi (Special Shell Variables): Document some
12297 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
12299 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
12300 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
12301 eval $LINENO is not portable in practice.
12303 2001-10-24 Akim Demaille <akim@epita.fr>
12305 * lib/Autom4te/General.pm (backname): New.
12307 2001-10-24 Akim Demaille <akim@epita.fr>
12309 * m4/: Remove, merged into...
12312 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
12314 * doc/autoconf.texi (Shellology): Mention the problems with bash
12315 2.05's use of ANSI quoting in its `set' builtin.
12317 2001-10-22 Paul Eggert <eggert@twinsun.com>
12319 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
12320 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
12321 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
12322 POSIX decided to standardize on the int flavor of strerror_r.
12323 Always do char* test, as there's no reason not to.
12324 Assign to a char* var, to catch strerror_r that returns int*.
12326 * doc/autoconf.texi (Particular Functions):
12327 Document the above changes. Also, document the fact that
12328 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
12330 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
12332 2001-10-20 Akim Demaille <akim@epita.fr>
12334 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
12335 the executable was missing from the log.
12337 2001-10-20 Akim Demaille <akim@epita.fr>
12339 * lib/Autom4te/General.pm (&update_file): If destination is
12340 unchanged, remove the source.
12341 (&up_to_date_p): Don't be verbose, be debug.
12342 * bin/autoreconf.in: No longer support --m4dir.
12343 (&autoreconf): Display the full path of the configure.ac we are
12345 Trace it only once.
12346 Be sure to honor --force with gettextize.
12347 Always run aclocal.
12348 * doc/autoconf.texi: Adjust.
12350 2001-10-20 Akim Demaille <akim@epita.fr>
12352 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
12354 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
12355 `intl' is already present, as it refuses unless --force.
12356 (&parse_args): Use -I, --include instead of the old Autoconf
12358 ($localdir, $autoconf_dir): Remove.
12360 (&maybe_autoreconf): New, to preserve $_ for File::Find.
12362 2001-10-19 Jens Petersen <petersen@redhat.com>
12364 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
12365 * doc/autoconf.texi (Particular Programs): Likewise.
12367 2001-10-19 Akim Demaille <akim@epita.fr>
12369 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
12370 file in @configure_input@.
12371 Don't mention `automatically' in addition to `generated'.
12372 * tests/torture.at (#define header templates): Adjust.
12374 2001-10-19 Akim Demaille <akim@epita.fr>
12376 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
12377 comment, explain how to install automatic mode selection.
12380 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
12382 * bin/autoreconf.in (autoreconf): Display the path to the
12383 configure.ac being studied.
12385 2001-10-18 Paul Eggert <eggert@twinsun.com>
12387 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
12388 long, to work around a bug in the HP C compiler version HP92453-01
12391 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
12392 (AS_BASENAME_EXPR): New macro.
12393 (AS_BASENAME_SED): Do not assume GNU sed semantics.
12394 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
12395 and fall back on 'sed' only if the other two fail. This makes
12396 AS_BASENAME act more like AS_DIRNAME.
12397 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
12398 contains white space.
12399 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
12400 Use AS_DIRNAME, since I think it's now DOS-friendly.
12401 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
12402 Allow "dirname //FOO" to return either / or //, as POSIX allows
12405 2001-10-10 Akim Demaille <akim@epita.fr>
12407 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
12408 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
12411 2001-10-10 Akim Demaille <akim@epita.fr>
12413 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
12414 m4_define, since...
12415 (_AS_ECHO_N): AS_REQUIREs it.
12417 2001-10-10 Akim Demaille <akim@epita.fr>
12419 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
12420 (AC_INCLUDES_DEFAULT): Move to...
12421 * lib/autoconf/headers.m4: here.
12422 * lib/autoconf/types.m4: Comment changes.
12423 * doc/autoconf.texi: Specify where the default includes are used
12424 in the macro prototypes.
12426 2001-10-09 Akim Demaille <akim@epita.fr>
12428 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
12431 2001-10-08 Akim Demaille <akim@epita.fr>
12433 * bin/autoreconf.in (&autoreconf): Remove debugging code.
12434 (&parse_args): Pass verbosity/debugging options to subtools when
12435 --debug, not when --verbose.
12436 * lib/autom4te.in (Autoreconf-preselections): New.
12437 (Autoconf): Use it.
12439 2001-10-08 Akim Demaille <akim@epita.fr>
12441 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
12443 2001-10-08 Akim Demaille <akim@epita.fr>
12445 * doc/autoconf.texi (autoreconf Invocation): Adjust.
12446 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
12448 2001-10-08 Akim Demaille <akim@epita.fr>
12450 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
12451 (Syntax of the shell scripts): Don't.
12452 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
12453 bother with $force since...
12454 * lib/Autom4te/General.pm: does.
12456 2001-10-08 Akim Demaille <akim@epita.fr>
12458 * bin/autoreconf.in: Rewrite in Perl.
12459 * configure.ac: Adjust.
12460 * lib/Autom4te/General.pm (&up_to_date_p): New.
12461 * bin/autom4te.in (&up_to_date_p): Use it.
12463 (&up_to_date): this.
12465 2001-10-08 Akim Demaille <akim@epita.fr>
12467 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
12468 (m4_list_cmp): Use $0 to reinvoke yourself.
12469 (m4_patsubsts): New.
12470 (m4_strip, m4_version_unletter): Use it.
12471 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
12473 2001-10-08 Akim Demaille <akim@epita.fr>
12475 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
12476 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
12477 * lib/autoconf/types.m4, lib/autotest/general.m4,
12478 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
12479 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
12480 m4_bregexp, m4_bpatsubst, and m4_bmatch.
12481 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
12483 2001-10-08 Akim Demaille <akim@epita.fr>
12485 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
12487 2001-10-08 Akim Demaille <akim@epita.fr>
12489 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
12490 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
12491 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
12492 * tests/tools.at, tests/m4sh.at: Use it.
12493 * tests/m4sh.at: Don't rely on Autoconf macros.
12494 (DIRNAME_TEST): Also exercise the expr variant.
12495 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
12496 preferred M4sugar extension is now `.4s'.
12497 * tests/README: Remove.
12499 2001-10-08 Akim Demaille <akim@epita.fr>
12501 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
12502 (m4_provide_if): this.
12503 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
12504 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
12505 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
12506 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
12508 2001-10-08 Akim Demaille <akim@epita.fr>
12510 Use `add-log-current-defun-function' for ChangeLog creation.
12511 Suggested by Tom Tromey.
12513 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
12514 (autotest-mode): Adjust.
12515 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
12516 'comment-region onto `C-c ;'.
12517 Comments are `#', not `dnl'.
12518 (autoconf-current-defun): New.
12519 (autoconf-font-lock-keywords): Recognize `m4_defun'.
12521 2001-10-08 Akim Demaille <akim@epita.fr>
12523 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
12524 * lib/m4sugar/m4sh.m4: here.
12525 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
12526 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
12527 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
12528 include handle the m4_pattern_*, no longer push the
12529 BODY diversion nor set the /bin/sh line, AS_INIT does it.
12530 * lib/autotest/general.m4 (AT_INIT): Likewise.
12531 * tests/base.at: Adjust the tests to use AS_INIT.
12532 * tests/tools.at (AT_DATA_FORBIDDEN): New.
12533 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
12536 2001-10-07 Paul Eggert <eggert@twinsun.com>
12538 * doc/autoconf.texi (config.status Invocation):
12539 CONFIG_SHELL defaults to a shell that supports LINENO if available.
12541 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
12542 shell does not support LINENO, and if CONFIG_SHELL is unset or
12543 empty, and if we can find a shell that does support LINENO,
12544 then set CONFIG_SHELL to that shell and then re-execute
12545 ourselves with CONFIG_SHELL.
12547 2001-10-05 Paul Eggert <eggert@twinsun.com>
12549 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
12550 doesn't exist. Remove *.tmp, as a .tmp file is created during the
12551 build of $(TESTSUITE).
12553 2001-10-05 Akim Demaille <akim@epita.fr>
12555 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
12556 iff we are a bareword.
12557 Reported by Raja R Harinath.
12559 2001-10-05 Akim Demaille <akim@epita.fr>
12561 * tests/m4sh.at (LINENO): New.
12562 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
12563 PATH_SEPARATOR before using it.
12564 Fix the absolute path case/esac pattern.
12565 Provide $0 as fallback for as_myself.
12566 Reported by Raja R Harinath.
12568 2001-10-05 Akim Demaille <akim@epita.fr>
12570 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
12571 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
12573 2001-10-05 Akim Demaille <akim@epita.fr>
12575 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
12576 (AS_SHELL_SANITIZE): here. Use it.
12577 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
12580 2001-10-04 Akim Demaille <akim@epita.fr>
12582 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
12583 combination of Awk and sed to replace $LINENO.
12585 2001-10-02 Paul Eggert <eggert@twinsun.com>
12587 * doc/autoconf.texi (Limitations of Builtins): You can't use
12588 "source"; it's not portable. Remove confusing and
12589 somewhat-incorrect example involving "." and "/".
12591 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
12592 compatibility with POSIX shells.
12594 2001-10-02 Akim Demaille <akim@epita.fr>
12596 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
12597 instead of exec'ing to preserve $0 and $@.
12599 2001-10-01 Akim Demaille <akim@epita.fr>
12601 * tests/testsuite (AT_INIT) <at_pass_list>: New.
12602 Don't run twice the same test.
12604 2001-10-01 Akim Demaille <akim@epita.fr>
12606 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
12607 No longer output the list of tests.
12608 <--list>: New option.
12609 <--full-help>: Remove.
12610 Complete the short/long options duality.
12611 Various small adjustments.
12613 2001-10-01 Akim Demaille <akim@epita.fr>
12615 * doc/autoconf.texi: Use @kbd for user input.
12616 Always use `$' as shell prompt.
12618 2001-09-30 Paul Eggert <eggert@twinsun.com>
12620 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
12621 Don't use nested parenthesization. This patch was originally
12622 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
12623 but somehow it didn't get incorporated then.
12624 * doc/autoconf.texi (Limitations of Usual Tools):
12625 Clarify remark about sed and nested parenthesization.
12627 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
12628 Report an error if the size cannot be determined even though
12630 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12631 Check for `expr' arithmetic overflow, and for compilation failure,
12632 and invoke a new argument $4 if either is discovered.
12633 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
12634 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
12636 2001-09-28 Akim Demaille <akim@epita.fr>
12638 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
12639 * m4/lispdir.m4: New.
12640 * aclocal.m4, configure.ac: Adjust.
12642 2001-09-28 Akim Demaille <akim@epita.fr>
12644 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
12646 (AT_INIT): More the wrapped section to where it will be expanded.
12647 Output `AT_tested' only when existing.
12648 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
12650 2001-09-27 Akim Demaille <akim@epita.fr>
12652 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
12653 generates too many bug reports.
12655 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
12656 status when executing the ACTION-IF-FALSE.
12657 * tests/base.at (AC_TRY_*): Rename as...
12658 (AC_TRY_COMMAND): this.
12659 (AC_RUN_IFELSE): New.
12660 * tests/compile.at (Extensions, C keywords)
12661 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
12662 (Broken/missing compilers, AC_PROG_CPP with warnings)
12663 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
12664 * tests/c.at (Extensions, C keywords)
12665 (Broken/missing compilers, AC_PROG_CPP with warnings)
12666 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
12667 (AC_PROG_CPP requires AC_PROG_CC): here and...
12668 * tests/fortran.at (GNU Fortran 77): there.
12669 * doc/autoconf.texi (autoconf Invocation): Fix the example:
12670 AC_TRY_RUN is about compilation, not shell commands.
12671 (Test Programs): AC_TRY_RUN works as used to be advertised.
12673 2001-09-27 Akim Demaille <akim@epita.fr>
12675 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
12677 Be sure to detect when $LINENO always returns the same value.
12678 Look for the original script, basename($0) is certainly not
12680 Pass the CLI arguments to `$as_me.lineno'.
12682 2001-09-25 Akim Demaille <akim@epita.fr>
12684 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
12685 Be sure the close and reopen the LOG fd before and after using tee
12687 <at_tests_pattern>: Adjust to the new format of at_help_all.
12689 2001-09-23 Akim Demaille <akim@epita.fr>
12691 * bin/autom4te.in (parse_args): There can be several invocations
12694 2001-09-23 Akim Demaille <akim@epita.fr>
12696 * doc/autoconf.texi (Top): Wrap in @ifnottex.
12698 2001-09-23 Akim Demaille <akim@epita.fr>
12700 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
12701 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
12702 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
12703 builddir, buildpath, top_builddir, and top_buildpath.
12704 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
12705 the current directory.
12706 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
12707 variables *before* changing the current directory.
12708 Skip nonexistent dirs.
12709 * doc/autoconf.texi (Preset Output Variables): Document these
12712 * lib/autotest/general.m4: Do not reset AT_victims.
12713 Don't compute at_srcdir nor at_top_srcdir.
12715 * tests/tools.at: Hence use top_srcdir.
12717 * tests/Makefile.am, tests/autoconf, tests/autoheader,
12718 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
12720 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
12721 * tests/wrapsh.in, tests/autoupdate.in: New.
12722 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
12723 * configure.ac: Build the position independent wrappers.
12725 * man/Makefile.am: Now that test wrappers are position
12726 independent, use them and drop dark envvar magic.
12728 2001-09-23 Akim Demaille <akim@epita.fr>
12730 * doc/autoconf.texi (Common Shell Constructs): Rename as...
12731 (Programming in M4sh): this.
12732 Promote to @section.
12734 2001-09-23 Akim Demaille <akim@epita.fr>
12736 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
12737 Pass $at_debug_args to the rerun test suite.
12738 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
12739 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
12742 2001-09-23 Akim Demaille <akim@epita.fr>
12744 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
12746 2001-09-23 Akim Demaille <akim@epita.fr>
12748 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
12751 2001-09-23 Akim Demaille <akim@epita.fr>
12753 * lib/Autom4te/General.pm (&debug): New.
12754 * bin/autom4te.in ($language): Move to...
12755 (parse_args): here.
12756 Handle --language in languages.
12757 * lib/autom4te.in (Automake-selections, Autoheader-selections)
12758 (Autoscan-selections): New.
12759 (Autoconf): Adjust.
12761 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
12763 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
12764 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
12765 to match current versions from CVS Automake.
12767 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
12769 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
12772 2001-09-22 Akim Demaille <akim@epita.fr>
12774 * lib/autoconf/autotest.m4: Create `package.m4'.
12775 * tests/Makefile.am (package.m4): Remove.
12777 2001-09-22 Akim Demaille <akim@epita.fr>
12779 Rely on `$LINENO' when possible instead of `__oline__'.
12781 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
12782 `$LINENO' support replacement when not supported.
12783 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
12784 them explicitly to be sure they are not output before this section
12785 (via m4_require). Cosmetic only.
12786 * lib/autoconf/c.m4, lib/autoconf/general.m4,
12787 * lib/autoconf/programs.m4: Replace all the occurrences of
12788 `__oline__' with `$LINENO'.
12789 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
12791 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
12793 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
12794 character (u: -> ue) in a code comment.
12795 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
12798 2001-09-21 Akim Demaille <akim@epita.fr>
12800 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
12801 Suggested by Jim Meyering.
12803 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12805 * lib/autoconf/programs.m4: Use extensions listed in
12806 $ac_executable_extensions when looking for programs.
12808 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12810 * lib/autoconf/general.m4: Fix a small Englisho.
12811 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
12812 setting up ac_dir_suffix and ac_top_builddir.
12813 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
12815 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12817 * doc/autoconf.texi (File System Conventions): Clarify the use of
12819 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
12820 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
12821 be used instead of ':'.
12822 * lib/autotest/general.m4: Replace occurrences of ':' in
12823 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
12825 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12827 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
12828 arguments. Fixed a typo.
12830 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12832 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
12833 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
12835 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12837 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
12838 * bin/autoupdate.in: Ditto.
12839 * bin/autoheader.in: Reworded a few comments.
12840 * bin/autoconf.in: Reworded help text for a few options.
12841 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
12842 * bin/autoscan.in, bin/autoupdate.in: Ditto.
12844 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12846 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
12847 already have $file). Set output files to binary mode (helps avoid
12848 CR issues on DOSish systems).
12850 2001-09-19 Akim Demaille <akim@epita.fr>
12852 * lib/autotest/general.m4: Englishoes.
12853 From Tim Van Holder and Alexey Mahotkin.
12855 2001-09-18 Paul Eggert <eggert@twinsun.com>
12857 * doc/autoconf.texi (Common Shell Constructs): New node,
12858 documenting AS_DIRNAME.
12859 (Limitations of Usual Tools): Refer to it when discussing dirname.
12860 Also, update discussion of POSIX standard to reflect latest draft.
12862 * lib/autoconf/c.m4:
12863 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
12865 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12866 Do not pass a first argument with leading '-'
12867 to expr, by parenthesizing initial integers that might be negative.
12869 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
12870 now merely checks whether it is an error to pass an argument
12873 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
12874 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
12875 whether it is a (compile-time) error to pass an argument to
12876 getpgrp. This simpler test supports the revised documentation,
12877 and is all that AC_FUNC_GETPGRP's users really need.
12879 2001-09-18 Akim Demaille <akim@epita.fr>
12881 * doc/autoconf.texi (Limitations of Make) <$<>: New.
12883 2001-09-18 Akim Demaille <akim@epita.fr>
12885 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
12887 * lib/autotest/general.m4 (AT_INIT): Adjust.
12889 2001-09-18 Paul Wagland <paul@wagland.net>
12891 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
12893 Add test for AS_BASENAME.
12894 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
12895 added test. It now correctly handles /1/2/3/, returning '3' not ''.
12896 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
12897 * tests/base.at: Fixed the expected responses. The old ones were
12899 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
12900 the documentation claims it should (and how it behaved in 2.13).
12902 2001-09-18 Akim Demaille <akim@epita.fr>
12904 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
12905 the AC_CONFIG_COMMANDS invocation.
12906 This also solves the name clash problems.
12907 Don't set the package's ID.
12908 * lib/m4sugar/Makefile.am (version.m4): Revamp.
12909 No longer to be shipped.
12910 (version.in): Remove.
12911 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
12912 * lib/autoconf/status.m4: Adjust.
12913 Use `m4_PACKAGE_STRING'.
12914 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
12915 the only optional argument is the name of the test suite.
12916 Expect `package.m4' to define the package signature.
12917 * lib/autom4te.in (Autotest): Add `package.m4?'.
12918 * tests/Makefile.am (package.m4): New.
12919 * tests/suite.at: ifnames is a victim.
12921 2001-09-18 Akim Demaille <akim@epita.fr>
12923 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
12924 AC_LIBSOURCE, AC_CONFIG_FILES.
12925 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
12926 program version string doesn't match the package's.
12927 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
12930 2001-09-17 Paul Eggert <eggert@twinsun.com>
12932 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12933 Allow expression to return any value that can fit into unsigned long
12934 (not int, as before). Check for output errors.
12936 2001-09-17 Bruno Haible <haible@ilog.fr>
12938 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12939 Always include <stdio.h> and <stdlib.h>. Evaluate
12940 the expression in an extra function before these includes. Call
12941 fprintf "%d" only after ensuring the argument is of type 'int'.
12942 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
12944 2001-09-17 Paul Eggert <eggert@twinsun.com>
12946 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
12947 or CFLAGS=-O5. In that case, the linker has a relaxed view of
12948 fatal errors, and AC_CHECK_LIB causes it to include libraries even
12949 when they don't exist.
12951 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
12952 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
12955 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
12956 version with the version used by fileutils 4.1, except use
12957 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
12960 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
12962 2001-09-13 Akim Demaille <akim@epita.fr>
12964 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
12966 Reported by Gerrit P. Haase.
12968 2001-09-13 Akim Demaille <akim@epita.fr>
12970 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
12971 m4_defn'ing is valid.
12973 2001-09-13 Akim Demaille <akim@epita.fr>
12975 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
12976 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
12979 2001-09-13 Akim Demaille <akim@epita.fr>
12981 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
12983 (m4_re_escape): New.
12984 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
12985 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
12986 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
12988 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
12989 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
12990 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
12991 AT_tests_all for consistency.
12993 (AT_VICTIMS): Similar to AT_KEYWORDS.
12994 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
12996 2001-09-13 Akim Demaille <akim@epita.fr>
12998 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
13000 2001-09-13 Akim Demaille <akim@epita.fr>
13002 * lib/autotest/general.m4 (AT_INIT): Create and remove
13003 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
13004 test suites can cohabit.
13006 2001-09-13 Akim Demaille <akim@epita.fr>
13008 * tests/mktests.sh: Don't output banners for empty test files.
13010 2001-09-13 Akim Demaille <akim@epita.fr>
13012 Test suites can be run independently of configure.
13014 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
13015 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
13016 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
13018 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
13020 * lib/autotest/general.m4: Use ECHO_*.
13022 2001-09-13 Akim Demaille <akim@epita.fr>
13024 * bin/ifnames.in: Rewrite in Perl.
13025 * configure.ac: Don't look for AWK.
13026 * tests/tools.at (AWK portability): Remove.
13027 (Syntax of the shell scripts): Don't check ifnames.
13028 (AT_CHECK_PERL_SYNTAX): New.
13029 (Syntax of the Perl scripts): Check ifnames.
13030 * tests/ifnames: New.
13032 2001-09-13 Akim Demaille <akim@epita.fr>
13034 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
13036 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
13037 Remove all the other keywords.
13039 2001-09-10 Akim Demaille <akim@epita.fr>
13041 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
13042 SETUP: no longer used.
13043 Support -k, --keywords.
13044 <at_help>: Be `no', `short', or `long'.
13045 <at_help_all>: New variable.
13046 (AT_KEYWORDS): New.
13047 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
13048 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
13049 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
13050 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
13051 No longer fill the HELP diversion.
13052 (AT_CLEANUP): Use them.
13053 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
13054 (m4_list_append): Remove.
13056 Spread a few keywords in the Autoconf test suite.
13058 2001-09-10 Akim Demaille <akim@epita.fr>
13060 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
13061 PATH_SEPARATOR, let M4sh compute it.
13062 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
13063 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
13065 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
13066 Simplify when the path is not a literal.
13067 (AS_UNAME): Use it to report PATH.
13068 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
13069 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
13070 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
13071 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
13072 normalize the path, and to look for victims.
13073 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
13074 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
13076 2001-09-07 Akim Demaille <akim@epita.fr>
13078 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
13079 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
13080 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
13081 related variables into `at_package_*'.
13082 * lib/autotest/general.m4 (AT_VICTIMS): New.
13083 (AT_INIT): Adjust for stand-alone/embedded test suites.
13084 (AS_MESSAGE_LOG_FD): Define and use it.
13085 * tests/suite.at (AT_VICTIMS): Use it.
13086 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
13089 2001-09-07 Akim Demaille <akim@epita.fr>
13091 Move toward possibly stand-alone test suites.
13093 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
13094 in addition, it introduces useless differences in logs.
13095 (AT_INIT): Let atconfig and atlocal be both optional.
13096 Adjust PATH computation.
13097 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
13099 2001-09-07 Akim Demaille <akim@epita.fr>
13101 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
13102 m4sugar/version.m4.
13104 2001-09-05 Akim Demaille <akim@epita.fr>
13106 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
13107 to avoid GCC warnings.
13110 2001-09-05 Akim Demaille <akim@epita.fr>
13112 * bin/autom4te.in: --language is -l, not -s.
13114 2001-09-05 Akim Demaille <akim@epita.fr>
13116 Be ready to handle filenames as stupid as `dnl.at', for if even
13117 the maintainer is dumb enough to do that...
13119 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
13120 excellence in M4 quotation: consider `__file__' is active.
13122 And BTW, when invoking m4, pass the --include in the right order:
13125 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
13128 2001-09-05 Akim Demaille <akim@epita.fr>
13130 * lib/Autom4te/XFile.pm: New lib file.
13131 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
13132 * bin/autoheader.in: Use it.
13134 2001-09-05 Akim Demaille <akim@epita.fr>
13136 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
13139 2001-09-05 Akim Demaille <akim@epita.fr>
13141 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
13142 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
13144 * bin/autoscan.in: Use `getopt' and `find_files' etc.
13145 Add -I, --include support.
13146 * doc/autoconf.texi (autoscan Invocation): Adjust.
13148 2001-09-05 Akim Demaille <akim@epita.fr>
13150 CVS GNU M4 doesn't like `undefine(undefined)'.
13152 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
13153 New, extracted from main.
13154 Use IO::File wherever possible.
13155 (input.m4): Be constant, use -I instead of hard coding $tmp.
13156 Therefore be a quoted heredoc.
13157 Don't invoke `_au_disable', since ac was not loaded, but just
13160 2001-08-31 Akim Demaille <akim@epita.fr>
13164 2001-08-31 Akim Demaille <akim@epita.fr>
13166 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
13168 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
13170 2001-08-31 Akim Demaille <akim@epita.fr>
13172 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
13173 serious problems handling heredocs in heredocs.
13174 Reported by Nicolas Joly.
13176 2001-08-31 Akim Demaille <akim@epita.fr>
13178 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
13179 (Making testsuite Scripts): Update.
13181 2001-08-31 Akim Demaille <akim@epita.fr>
13183 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
13185 2001-08-31 Akim Demaille <akim@epita.fr>
13187 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
13188 (testsuite Scripts): There is no such thing as `atconfig.in'.
13189 And actually one diagram is missing: test suite runtime.
13191 2001-08-31 Akim Demaille <akim@epita.fr>
13193 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
13196 2001-08-31 Akim Demaille <akim@epita.fr>
13198 * bin/autoupdate.in (@include): `installcheck' revealed the path
13199 to m4sugar was lacking!
13201 2001-08-31 Akim Demaille <akim@epita.fr>
13203 * man/Makefile.am (.x.1): We really have to pass
13204 autom4te_perllibdir.
13206 2001-08-31 Akim Demaille <akim@epita.fr>
13208 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
13209 debug scripts, in particular passing explicitly listed tests to
13212 2001-08-31 Akim Demaille <akim@epita.fr>
13214 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
13215 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
13216 Use directly autom4te, not autoconf.
13217 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
13219 2001-08-31 Akim Demaille <akim@epita.fr>
13221 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
13222 * bin/autoheader.in (%symbol): Strip arguments of macros.
13224 2001-08-31 Akim Demaille <akim@epita.fr>
13226 * doc/autoconf.texi: Catch up -I, --include changes.
13228 2001-08-31 Akim Demaille <akim@epita.fr>
13230 * bin/autom4te.in (&parse_args): Die on unknown languages.
13231 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
13233 Promote --include over --macrodir and other obsolete options.
13235 2001-08-31 Akim Demaille <akim@epita.fr>
13237 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
13238 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
13239 * bin/autom4te.in ($autoconf): Pass --force.
13240 `print $out' doesn't print `$_' but `$out'.
13241 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
13242 (autoheader): Pass --force since the test suite goes too fast for
13244 Adjust to the new autoheader messages.
13246 2001-08-31 Akim Demaille <akim@epita.fr>
13248 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
13249 Check the completeness of the #template.
13250 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
13251 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
13254 2001-08-31 Akim Demaille <akim@epita.fr>
13256 * lib/Autom4te/General.pm (&find_file, &update_file): New.
13257 * bin/autoupdate.in, bin/autoheader.in: Adjust.
13258 Drop AC_MACRODIR dead for real.
13259 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
13260 `autoheader: `config.hin' is created'.
13261 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
13263 2001-08-31 Akim Demaille <akim@epita.fr>
13265 * bin/autoheader.in: Rewrite in Perl.
13266 * tests/autoheader: Adjust.
13268 2001-08-31 Akim Demaille <akim@epita.fr>
13270 * bin/autoconf.in (--include, -I): New option.
13271 Map --localdir, --autoconf-dir onto it.
13272 Forward autom4te's options instead of interpreting them.
13273 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
13274 There is no such envvar since the inception of autom4te.cfg.
13275 * bin/autom4te.in (&parse_args): Uniquify `@include'.
13276 * bin/autoupdate.in: Adjust, and perform more control.
13277 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
13278 * tests/autoconf: Dittowise.
13280 2001-08-31 Akim Demaille <akim@epita.fr>
13282 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
13283 * bin/autom4te.in (&find_file): Support `FILE?' standing for
13285 Use -e, not -f, since /dev/null for instance is OK.
13286 (&parse_args): Adjust.
13287 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
13289 2001-08-31 Akim Demaille <akim@epita.fr>
13291 * configure.ac: Also find tested executables in bin.
13292 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
13293 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
13294 installed peer executables, only PATH is allowed to resolve it.
13295 Pass `autoconf_dir' via options, not via invisible envvars.
13296 * lib/Autom4te/General.pm (&find_peer): Remove.
13297 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
13298 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
13299 * man/Makefile.am: Let help2man rely on PATH instead of trying to
13300 find the executables for it.
13301 * tests/Makefile.am: Major cleanup. Too lazy to document...
13302 * tests/atlocal.in: Remove all the obscure envvar manipulations.
13304 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
13305 indeed related to running the test suite, while passing
13306 --autoconf-dir and others is related to running non installed
13307 Autoconf executables. So don't do that, leave it to...
13308 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
13309 * tests/autoscan: New.
13310 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
13311 refer to library files: rely on --language.
13313 2001-08-29 Akim Demaille <akim@epita.fr>
13315 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
13316 s/--set/--language/.
13318 2001-08-29 Akim Demaille <akim@epita.fr>
13320 * doc/autoconf.texi: Strip the @nodes.
13321 Suggested by Paul Eggert.
13322 (Initializing configure): Typo.
13324 2001-08-29 Akim Demaille <akim@epita.fr>
13326 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
13327 Suggested by Paul Eggert.
13329 2001-08-29 Akim Demaille <akim@epita.fr>
13331 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
13332 download in a tmp dir.
13334 2001-08-29 Akim Demaille <akim@epita.fr>
13336 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
13337 case insensitive OSes out there :(
13338 From Tim Van Holder.
13340 2001-08-29 Akim Demaille <akim@epita.fr>
13342 * lib/autom4te.in: New.
13343 * lib/Makefile.am (edit, autom4te.cfg): New.
13344 * bin/autom4te.in (BEGIN): Simplify.
13345 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
13346 (&load_configuration): New. Use it.
13347 (&parse_args): Support --mode, --set, and --melt.
13348 * bin/autoconf.in: Simplify and adjust.
13349 * tests/Makefile.am (AUTOMAKE): Use --set.
13350 * tests/atlocal.in: Adjust.
13351 * BUGS: distcheck and check are weak.
13353 2001-08-29 Akim Demaille <akim@epita.fr>
13355 * lib/autotest/general.m4: Use
13356 foo=`(command) 2>/dev/null`
13358 foo=`command` 2>/dev/null
13359 (at-devnull): Rename as...
13360 (AT-devnull): this.
13361 (--clean): Remove AT-* files too.
13362 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
13363 Reported by Nicolas Joly.
13365 2001-08-28 Akim Demaille <akim@epita.fr>
13367 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
13368 quotes inside single quotes.
13369 Reported by Nicolas Joly.
13371 2001-08-28 Kevin Ryde <user42@zip.com.au>
13373 * doc/autoconf.texi (Function Portability): Mention C right shifts.
13375 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
13377 * lib/autotest/general.m4: Reword some messages.
13378 (AT_INIT): Check for the `times' builtin before using it.
13379 Support test ranges as arguments to the testsuite.
13380 Have -e imply -d as the help text suggested.
13382 2001-08-27 Akim Demaille <akim@epita.fr>
13384 * Makefile.maint: Formatting changes.
13385 (do-po-update, po-update, cvs-update, update): New targets.
13388 2001-08-27 Akim Demaille <akim@epita.fr>
13390 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
13391 <at_cmd_line>: New.
13392 Pass it to debug-*.sh scripts.
13393 <AUTOTEST_PATH>: May contain absolute dir names.
13395 2001-08-27 Akim Demaille <akim@epita.fr>
13397 * lib/autotest/general.m4 (AT_INIT): Log the command line.
13398 Support `VAR=VAL' as arguments.
13399 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
13400 may be set via the command line.
13402 2001-08-27 Akim Demaille <akim@epita.fr>
13404 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
13405 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
13406 first the build dirs, then the src dirs.
13407 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
13409 2001-08-27 Akim Demaille <akim@epita.fr>
13411 * lib/autotest/general.m4 (AT_INIT): Output the definition of
13412 at_data_files earlier.
13413 (--clean, -c): New option.
13414 * tests/Makefile.am: Use this option.
13416 2001-08-27 Akim Demaille <akim@epita.fr>
13418 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
13419 `ac_top_builddir' to mimic Automake's vocabulary, which much more
13422 * doc/autoconf.texi (Configuration Actions): Document the vars
13423 available in commands.
13424 Emphasize the risks of collisions in init-cmds.
13426 2001-08-27 Akim Demaille <akim@epita.fr>
13428 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
13429 (Initializing configure): this new node.
13431 2001-08-27 Akim Demaille <akim@epita.fr>
13433 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
13435 2001-08-27 Akim Demaille <akim@epita.fr>
13437 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
13438 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
13440 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
13442 2001-08-27 Akim Demaille <akim@epita.fr>
13444 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
13446 * lib/autoconf/autoheader.m4: this new file.
13447 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
13448 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
13450 * lib/autoconf/autoupdate.m4: this new file.
13452 2001-08-27 Akim Demaille <akim@epita.fr>
13454 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
13455 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
13456 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
13458 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
13459 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
13461 2001-08-27 Akim Demaille <akim@epita.fr>
13463 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
13464 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
13465 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
13466 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
13467 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
13468 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
13469 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
13470 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
13471 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
13472 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
13473 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
13474 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
13475 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
13476 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
13477 (_AC_OUTPUT_SUBDIRS): Move to...
13478 * lib/autoconf/status.m4: this new file.
13479 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
13480 * tests/Makefile.am, tests/suite.at: Adjust.
13482 2001-08-27 Akim Demaille <akim@epita.fr>
13486 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
13487 (AMTAR): Help automake define it.
13488 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
13489 needed, 1.5 can have a macro and a target with the same name.
13490 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
13491 * m4/strip.m4: New.
13492 * m4/init.m4, m4/sanity.m4: Update.
13493 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
13494 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
13495 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
13496 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
13498 2001-08-27 Akim Demaille <akim@epita.fr>
13500 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
13502 * lib/autoconf/version.in: Remove.
13503 * lib/m4sugar/version.in: New.
13504 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
13506 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
13507 the name of the directory they're in, instead of the filename,
13508 since version.m4 is now in m4sugar, but m4_acversion must not be
13509 classified as an Autoconf macro.
13510 ($input_m4): Don't qualify the path to m4sugar.
13511 Rather, pass autoconf_dir to m4.
13512 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
13513 * tests/suite.at: Require 2.52c.
13515 2001-08-27 Akim Demaille <akim@epita.fr>
13517 testsuite.log should include config.log.
13519 * lib/autotest/autotest.m4: New.
13520 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
13521 * tests/suite.at : Adjust.
13522 (AT_INIT): Log config.log.
13523 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
13524 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
13525 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
13526 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
13527 of config.log on traps.
13528 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
13529 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
13530 for config.status'.
13531 Open the log as soon as possible.
13532 Use the same log introduction as configure's.
13534 2001-08-22 Paul Eggert <eggert@twinsun.com>
13536 * doc/autoconf.texi (Indices): New node.
13537 Move indices out of the top level menu and into this submenu.
13539 2001-08-22 Akim Demaille <akim@epita.fr>
13541 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
13543 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
13545 2001-08-22 Akim Demaille <akim@epita.fr>
13547 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
13548 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
13549 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
13550 * lib/autoconf/programs.m4: here.
13551 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
13552 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
13553 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
13554 * lib/autoconf/programs.m4: here.
13555 (_AC_DECL_YYTEXT): Rename as...
13556 (_AC_PROG_LEX_YYTEXT_DECL): this.
13557 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
13558 * tests/Makefile.am, tests/suite.am: Adjust.
13560 2001-08-22 Akim Demaille <akim@epita.fr>
13562 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
13564 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
13566 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
13567 * lib/autoconf/functions.m4: here.
13568 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
13569 (AH_CHECK_LIB): Move to...
13570 * lib/autoconf/libs: this new file.
13571 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
13572 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
13573 * lib/autoconf/libs.m4: here.
13574 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
13576 2001-08-22 Akim Demaille <akim@epita.fr>
13578 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
13579 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
13580 (AC_SITE_LOAD): Better logging of config.site.
13582 2001-08-20 Akim Demaille <akim@epita.fr>
13584 * configure.ac (AT_CONFIG): Fix the path.
13585 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
13588 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
13590 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
13591 program with AC_LANG_PROGRAM before feeding it to
13592 AC_COMPILE_IFELSE. Cleanup grep usage.
13594 2001-08-20 Akim Demaille <akim@epita.fr>
13596 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
13597 * NEWS, README, README-alpha, TODO, tests/README: This package is
13598 `Autoconf', not `autoconf' (the executable).
13600 2001-08-20 Akim Demaille <akim@epita.fr>
13602 Info readers seem to need `Index' in the index node title :(
13604 * doc/autoconf.texi: Reverse the 2001-08-15 change which
13605 simplified index node names.
13607 2001-08-20 Akim Demaille <akim@epita.fr>
13609 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
13610 arguments are not literals.
13611 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
13612 Specify the output variables, and macros defined.
13614 2001-08-20 Akim Demaille <akim@epita.fr>
13616 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
13617 (Examining Syntax) <AC_TRY_COMPILE>
13618 (Examining Libraries) <AC_TRY_LINK>
13619 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
13621 Reported by Werner Lemberg.
13623 2001-08-20 Akim Demaille <akim@epita.fr>
13625 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
13626 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
13627 Load atlocal late enough to dump it in the log.
13628 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
13630 2001-08-20 Akim Demaille <akim@epita.fr>
13632 * tests/torture.at (Configuring subdirectories): New test.
13633 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
13635 * m4/atconfig.m4: Be sure the let $[0] be expandable.
13636 (top_srcdir): Fix its computation.
13638 2001-08-20 Akim Demaille <akim@epita.fr>
13640 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
13641 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
13643 Create `atconfig' automagically.
13644 Configure atlocal.in if present.
13645 * tests/atconfig.in: Remove.
13646 * tests/atlocal.in: New.
13647 * tests/Makefile.am: Adjust.
13649 2001-08-20 Akim Demaille <akim@epita.fr>
13651 Huh!?!?! There are still some user EOF tags used, which prevents
13652 their use in AC_CONFIG_COMMANDS for instance...
13654 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
13655 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
13656 `_CSEOF', or `_ATEOF', as appropriate.
13657 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
13658 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
13660 2001-08-20 Akim Demaille <akim@epita.fr>
13662 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
13663 * tests/semantics.at, tests/tools.at, tests/torture.at:
13664 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
13666 2001-08-20 Akim Demaille <akim@epita.fr>
13668 Autotest invokes M4sh's initialization.
13670 * lib/autotest/general.m4: Adjust the diversion names.
13671 (AT_INIT): Run AS_INIT.
13672 Use the BINSH diversion to invoke /bin/sh.
13673 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
13674 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
13676 2001-08-20 Akim Demaille <akim@epita.fr>
13678 Let M4sh have its own diversions.
13680 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
13681 (_m4_divert(NOTICE)): Rename as...
13682 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
13683 (_m4_divert(HEADER-COMMENT)): these.
13684 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
13685 (_m4_divert(NOTICE)): New, for Libtool.
13686 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
13687 long ago with `_m4_divert(GROW)'.
13688 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
13690 2001-08-20 Akim Demaille <akim@epita.fr>
13692 * tests/base.at, tests/compile.at, tests/foreign.at,
13693 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
13694 * tests/semantics.at, tests/suite.at, tests/tools.at,
13695 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
13697 2001-08-20 Akim Demaille <akim@epita.fr>
13699 * bin/autom4te.in (handle_output): Handle @__@.
13701 2001-08-20 Akim Demaille <akim@epita.fr>
13703 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
13704 * lib/autotest/general.m4: Adjust the license.
13706 2001-08-17 Paul Eggert <eggert@twinsun.com>
13708 * doc/autoconf.texi (Function Portability): Mention snprintf,
13709 following up on a suggestion by Kevin Ryde.
13711 2001-08-17 Akim Demaille <akim@epita.fr>
13713 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
13714 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
13716 2001-08-17 Akim Demaille <akim@epita.fr>
13718 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
13719 `$0.log' as for projects where testsuite is in src, we'd have
13720 testsuite.log created in src.
13722 2001-08-17 Akim Demaille <akim@epita.fr>
13724 * bin/autom4te.in (&parse_args): Recognize --normalize.
13726 2001-08-17 Akim Demaille <akim@epita.fr>
13728 Start implementing the AC_CHECK_HEADER transition scheme.
13730 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
13731 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
13732 (AC_CHECK_HEADER): Use them.
13734 2001-08-17 Akim Demaille <akim@epita.fr>
13736 * doc/autoconf.texi: Work around Texinfo buglets.
13737 (Transformation Rules): One example is enough, users are expected
13738 to have their brains on. And BTW, use DESTDIR.
13739 (dvar): New macro. Use it.
13741 2001-08-17 Akim Demaille <akim@epita.fr>
13743 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
13744 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
13745 looking for ChangeLogs.
13747 2001-08-17 Akim Demaille <akim@epita.fr>
13749 * bin/autom4te.in: --normalize is a new option.
13750 * bin/autoconf.in: Use it.
13752 2001-08-17 Akim Demaille <akim@epita.fr>
13754 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
13755 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
13757 2001-08-16 Paul Eggert <eggert@twinsun.com>
13759 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
13762 2001-08-15 Akim Demaille <akim@epita.fr>
13764 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
13767 2001-08-15 Akim Demaille <akim@epita.fr>
13769 * doc/autoconf.texi (pr): New index.
13770 (prindex, findex): Use, merge, and output them.
13771 (Environment Variable Index, Output Variable Index)
13772 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
13773 (Autotest Macro Index): Rename as...
13774 (Environment Variables, Output Variables,Preprocessor Symbols)
13775 (Autoconf Macros, M4 Macros, Autotest Macros): these.
13776 * doc/install.texi: Use @command.
13777 (Environment Variables): Rename as...
13778 (Defining Variables): this.
13780 2001-08-15 Akim Demaille <akim@epita.fr>
13782 * doc/autoconf.texi (Function Portability): sprintf's return
13786 2001-08-15 Akim Demaille <akim@epita.fr>
13788 * Makefile.maint (CVS): New.
13789 (local-check): Run changelog-check. last.
13790 (alpha): Don't depend upon local-check, since...
13791 (cvs-dist): depends upon it.
13793 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
13795 * tests/Makefile.am: Use a clean-local rule to remove
13796 autom4te.cache (it's a directory, not a file.
13797 * Makefile.am: Ditto (but maintainer-clean-local).
13799 2001-08-15 Akim Demaille <akim@epita.fr>
13801 * bin/autom4te.in (@m4_warning): New.
13802 (&handle_m4): Use it.
13803 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
13804 warnings are issued at each run.
13805 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
13806 is in the src tree.
13808 2001-08-15 Akim Demaille <akim@epita.fr>
13810 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
13811 don't waste time running `autoupdate --version' works.
13812 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
13814 2001-08-13 Akim Demaille <akim@epita.fr>
13816 * doc/autoconf.texi (ma): Rename this index as...
13819 2001-08-13 Akim Demaille <akim@epita.fr>
13821 * Makefile.am: Remove dead code and dead comments.
13822 (pdf, html): New targets.
13823 * doc/autoconf.texi (Using Autotest): New chapter.
13824 * doc/Makefile.am (pdf): New targets.
13825 (CLEANFILES): Adjust.
13827 2001-08-13 Akim Demaille <akim@epita.fr>
13829 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
13830 duration of the test suite.
13832 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
13834 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
13835 endianness for comparison instead of relying on AT_CHECK_ENV.
13837 2001-08-11 Paul Eggert <eggert@twinsun.com>
13839 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
13840 to the INSTALL file.
13842 2001-08-11 Paul Eggert <eggert@twinsun.com>
13844 * NEWS: The autoconf manual now is distributed under the terms
13845 of the GNU Free Documentation License.
13847 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
13848 Add an appendix "Copying This Manual" for the FDL.
13850 * doc/fdl.texi: New file, from
13851 <http://www.gnu.org/licenses/fdl.texi>.
13853 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
13855 2001-08-10 Paul Eggert <eggert@twinsun.com>
13857 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
13858 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
13859 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
13860 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
13861 m4/sanity.m4, tests/README, tests/aclocal.m4,
13862 tests/atspecific.m4, tests/base.at, tests/compile.at,
13863 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
13864 tests/semantics.at, tests/suite.at, tests/tools.at,
13865 tests/torture.at: Add copyright notice.
13867 * tests/mktests.sh: Update year in copyright notice.
13869 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
13871 * tests/semantics.at (AC_C_BIGENDIAN): New test.
13873 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
13875 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
13876 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
13877 * doc/autoconf.texi (C Compiler Characteristics): Update
13878 documentation for AC_C_BIGENDIAN.
13880 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
13882 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
13883 magic values from an object file when cross-compiling.
13884 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
13886 2001-08-10 Akim Demaille <akim@epita.fr>
13888 * bin/autom4te.in (&handle_output): Don't use `grep' with side
13890 Suggested by Russ Allbery.
13892 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
13894 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
13895 current $prefix to the sub-configures.
13897 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
13899 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
13900 extension (needed on BeOS). Reported by Guido van Rossum.
13902 2001-08-09 Akim Demaille <akim@epita.fr>
13904 * bin/autom4te.in ($icache): Load it only if older than autom4te.
13906 2001-08-07 Akim Demaille <akim@epita.fr>
13908 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
13910 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
13911 No need to remove the files before and after the each test, before
13912 each test and at the end of the suite is enough.
13913 Display only the children `times', not the shell's.
13914 If the test failed or was skipped, at-times is not available.
13916 2001-08-07 Akim Demaille <akim@epita.fr>
13918 Always produce testsuite.log, including when there are no
13919 failures. This helps getting information on skipped tests, and
13920 duration of the tests. Err, implement the latter btw.
13922 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
13923 Dump information on the first run of each test.
13924 (AT_CLEANUP): Create `at-times' containing the duration of the
13927 2001-08-07 Akim Demaille <akim@epita.fr>
13929 The use of `dumpstat' revealed that `len' was used although it
13930 should not. m4_text_wrap was using it, but in the Autoconf world
13931 where it is legal. Hence (i) test M4sh in its own world, not
13932 Autoconf's, and (ii), ahem, fix the bug :)
13934 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
13935 does not like `' instead of [].
13936 (AT_INIT): Forbid `^_?AT_'.
13937 And don't output such tokens.
13938 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
13939 `script.as', and `autom4te.cache'.
13940 Remove `empty' and `macro' which are no longer used.
13941 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
13942 * tests/m4sugar.at: Use it.
13943 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
13945 2001-08-07 Akim Demaille <akim@epita.fr>
13947 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
13949 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
13951 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
13953 2001-08-04 Akim Demaille <akim@epita.fr>
13955 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
13956 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
13958 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
13959 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
13960 (AC_F77_MAIN): Likewise.
13962 2001-08-04 Akim Demaille <akim@epita.fr>
13964 Don't rely on M4sugar outputting the patterns in files, since we
13965 might process the output _without_ running m4, hence without these
13968 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
13969 * bin/autom4te.in (@Request::includes): Remove, unused.
13970 (@Request::source): Rename as...
13971 (@Request::input): this.
13972 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
13973 (&handle_output): Fetch the patterns from the traces.
13974 `$forbidden' and `$allowed' are constant: use m//o.
13975 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
13976 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
13978 2001-08-04 Akim Demaille <akim@epita.fr>
13980 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
13981 autoconf', i.e., in addition to caching traces, cache the output.
13983 * bin/autom4te.in (Request::cache): Rename as...
13984 (Request::id): this.
13985 ($cache, $icache, $tcache, $ocache): New.
13986 (&handle_m4): Save M4 output in the cache instead of $tmp.
13987 (&handle_output): Adjust.
13988 (&up_to_date_p): Check that the output cache is up to date too.
13989 (top level): Run `&handle_m4' iff force or the cache is invalid.
13990 Run `&handle_output' if the output cache is more recent.
13992 2001-08-04 Akim Demaille <akim@epita.fr>
13994 * bin/autom4te.in ($force): New.
13995 (&parse_args, &print_usage): -f, --force is a new option.
13996 (&handle_output): CPP directives might have spaces after `#'.
13997 (&parse_args): The first file only can be frozen.
13999 2001-08-04 Akim Demaille <akim@epita.fr>
14001 Don't let autom4te compute the `include' traces several times:
14002 first check that the trace cache file is up to date, and then
14003 compare its timestamp with that of the output.
14005 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
14006 the preamble. Don't require 5.005 as Autom4te::General does it,
14007 and better yet (use `use', not `require'!).
14008 * lib/Autom4te/Struct.pm: Rename the last occurrences of
14009 Class::Struct as Autom4te::Struct.
14010 * lib/Autom4te/General.pm (File::stat): Use it.
14011 (&mtime): New, export it.
14012 * bin/autom4te.in: Use it.
14013 Declare `$req' is invalid if it is outdated.
14014 Don't declare it valid before saving it if something went wrong.
14016 2001-08-04 Akim Demaille <akim@epita.fr>
14018 Autom4te shall not encode Autoconf data, and preselecting traces
14019 must be proposed to the users.
14021 * bin/autom4te.in (@required_trace): Remove.
14023 (&parse_args, &print_usage): -p, --preselect is a new option.
14024 (&up_to_date_p): Adjust.
14025 * bin/autoconf.in: Preselect some Autoconf macros.
14027 2001-08-04 Akim Demaille <akim@epita.fr>
14029 * tests/tools.at (autoconf --trace: user macros): Check traces on
14030 macros invoked without arguments, and macros invoked with multiple
14033 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
14035 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
14038 2001-08-03 Akim Demaille <akim@epita.fr>
14040 * bin/autoconf.in ($@): Work around the usual sh bug.
14043 2001-08-03 Akim Demaille <akim@epita.fr>
14045 Clean up the handling of the M4 builtins tracing exception.
14047 * bin/autom4te.in (Request::request): Don't complete M4 builtins
14049 (@m4_builtins): Rename as...
14050 (@m4_builtin): this.
14051 (%m4_builtin_alternate_name): New.
14052 (&parse_args): Complete the trace requests with alternate names.
14053 (&handle_traces): Hence no longer do it here.
14054 (&trace_requests): Remove, unused.
14056 2001-08-03 Akim Demaille <akim@epita.fr>
14058 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
14059 m4_if, and m4_wrap.
14061 2001-08-03 Akim Demaille <akim@epita.fr>
14063 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
14064 (m4_divert_pop): Dump the whole diversion stack when a diversion
14066 * bin/autom4te.in (&handle_output): Remember of the first
14067 occurrence of a possibly undefined macro, not the last.
14068 Complain about the possibly undefined macros in the same order as
14069 the appear in the output.
14070 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
14071 * tests/tools.at (autoconf: forbidden tokens, basic)
14072 (autoconf: forbidden tokens, exceptions): No longer sort
14073 autoconf's stderr, as it is now deterministic.
14074 Check that `dnl' is caught.
14076 2001-08-01 Akim Demaille <akim@epita.fr>
14078 * configure.ac: Bump to 2.52c.
14080 2001-08-01 Akim Demaille <akim@epita.fr>
14084 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
14086 2001-08-01 Akim Demaille <akim@epita.fr>
14090 2001-08-01 Akim Demaille <akim@epita.fr>
14092 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
14095 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
14096 `END', as `Autom4te::General::END' will be triggered.
14097 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
14098 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
14099 system to run `mv', `rm', and `cmp'.
14101 2001-08-01 Akim Demaille <akim@epita.fr>
14103 * lib/Autom4te/General.pm (&unique): New.
14104 * bin/autoscan.in (&output): Use it to issue trace requests once.
14106 2001-08-01 Akim Demaille <akim@epita.fr>
14108 * lib/Autom4te/General.pm: New.
14109 * bin/autom4te.in (Autom4te::General): Use it.
14110 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
14111 (&find_configure_ac, &find_slave): Remove.
14112 * bin/autoscan.in: Likewise.
14113 * bin/autoupdate.in: Likewise.
14115 2001-08-01 Akim Demaille <akim@epita.fr>
14117 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
14118 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
14119 * bin: here, new directory.
14120 * lib/Autoconf: Rename as...
14121 * lib/Autom4te: this, to please case insensitive junkie OSes.
14123 2001-08-01 Akim Demaille <akim@epita.fr>
14125 * autom4te.in ($m4): Handle the --nesting-limit.
14126 * autoconf.in (M4): Remove.
14128 2001-08-01 Akim Demaille <akim@epita.fr>
14130 * autoconf.in ($AWK): Remove, no longer used.
14131 * test/tools.at: Use AT_CHECK_AUTOCONF.
14132 (AWK portability): Remove, for autoconf no longer uses AWK.
14133 (Syntax of the Perl scripts): New.
14134 * configure.ac: autoconf no longer needs an AWK with a good
14136 Use a static test on AC_PACKAGE_VERSION.
14137 * autom4te.in (&up_to_date_p): Output depends on the arguments.
14138 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
14139 * tests/atconfig.in (PERL): New.
14141 2001-08-01 Akim Demaille <akim@epita.fr>
14143 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
14144 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
14145 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
14146 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
14147 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
14148 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
14149 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
14150 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
14151 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
14152 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
14153 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
14154 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
14155 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
14156 * lib/autoconf/c.m4: here, new file.
14158 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
14159 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
14160 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
14161 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
14162 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
14163 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
14164 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
14165 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
14166 (AC_F77_FUNC): Move to...
14167 * lib/autoconf/fortran.m4: here, new file.
14169 2001-08-01 Akim Demaille <akim@epita.fr>
14171 * acfunctions.m4: Rename as...
14172 * lib/autoconf/functions.m4: this.
14173 * acgeneral.m4: Rename as...
14174 * lib/autoconf/general.m4: this.
14175 * acheaders.m4: Rename as...
14176 * lib/autoconf/headers.m4: this.
14177 * aclang.m4: Rename as...
14178 * lib/autoconf/lang.m4: this.
14179 * acoldnames.m4: Rename as...
14180 * lib/autoconf/oldnames.m4: this.
14181 * acspecific.m4: Rename as...
14182 * lib/autoconf/specific.m4: this.
14183 * actypes.m4: Rename as...
14184 * lib/autoconf/types.m4: this.
14185 * autoconf.m4: Rename as...
14186 * lib/autoconf/autoconf.m4: this.
14188 * m4sugar.m4: Rename as...
14189 * lib/m4sugar/m4sugar.m4: this.
14190 * m4sh.m4: Rename as...
14191 * lib/m4sugar/m4sh.m4: this.
14193 * tests/atgeneral.m4: Rename as...
14194 * lib/autotest/general.m4: this.
14196 * acfunctions: Rename as...
14197 * lib/autoscan/functions: this.
14198 * acheaders: Rename as...
14199 * lib/autoscan/headers: this.
14200 * acidentifiers: Rename as...
14201 * lib/autoscan/identifiers: this.
14202 * aclibraries: Rename as...
14203 * lib/autoscan/libraries: this.
14204 * acmakevars: Rename as...
14205 * lib/autoscan/makevars: this.
14206 * acprograms: Rename as...
14207 * lib/autoscan/programs: this.
14209 2001-08-01 Akim Demaille <akim@epita.fr>
14211 * doc/autoconf.texi: Moving/deleting open files is not portable.
14212 Portability issues for `.' (source), and more information about sed.
14214 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
14216 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
14217 which has a special meaning and is not a reference to libibmil.a.
14218 Reported by Matteo Frigo.
14220 2001-07-25 Pavel Roskin <proski@gnu.org>
14222 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
14225 2001-07-25 Akim Demaille <akim@epita.fr>
14227 * autoconf.in: Try to define the variables before using them.
14228 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
14229 instead of `$perllibdir'.
14230 * tests/atconfig.in ($autom4te_perllibdir): Export it.
14232 2001-07-25 Akim Demaille <akim@epita.fr>
14234 * autoconf.in (ac_LF_and_DOT): Remove, unused.
14236 2001-07-24 Akim Demaille <akim@epita.fr>
14238 Let autoconf use autom4te for traces.
14240 * autoconf.in ($task, task trace): Remove, merely pass --trace to
14242 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
14243 (Because I found no way for autom4te to accept `-').
14244 * autom4te.in (&Request::request): Beware of M4 builtins.
14245 (END): Don't try to remove the content of an empty dir.
14246 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
14247 (&handle_output): Set a default value to `$forbidden'.
14248 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
14249 ($autoconf): Pass --debug and --verbose.
14250 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
14253 2001-07-24 Akim Demaille <akim@epita.fr>
14255 Let autoconf use autom4te to create configure.
14257 * autoconf.in ($automate): New var.
14258 (task script): Use autom4te.
14259 * autom4te.in (File::Spec): Use it.
14261 (&parse_args): --warning is -W, not -w.
14262 Find the top level files.
14263 (&handle_m4): Pass the warnings flags.
14264 Don't report verbosely m4's failures, unless requested.
14265 (&handle_output): Don't complain for forbidden tokens in comments.
14266 Be sure to report all the forbidden tokens within a single line.
14267 (&trace_format_to_m4): Preserve `$_'.
14268 (&handle_traces): Sort the output macros.
14269 (&up_to_date_p): Find the files before trying to get its time stamp.
14271 2001-07-24 Akim Demaille <akim@epita.fr>
14273 * Makefile.am: Ship, build and install Autom4te.
14274 (SUBDIRS): Add lib.
14275 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
14276 * configure.in: Require Perl.
14277 * man/autom4te.in: New.
14279 2001-07-19 Paul Eggert <eggert@twinsun.com>
14281 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
14282 example, rather than (exit 1); exit (which isn't portable).
14284 2001-07-18 Akim Demaille <akim@epita.fr>
14288 2001-07-18 Akim Demaille <akim@epita.fr>
14290 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
14291 was run, while they are needed also when it is expanded.
14292 Reported by Nicolas Joly.
14294 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
14295 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
14296 AC_F77_DUMMY_MAIN being expanded.
14298 2001-07-18 Akim Demaille <akim@epita.fr>
14300 * configure.in: Bump to 2.51a.
14302 2001-07-17 Akim Demaille <akim@epita.fr>
14306 2001-07-17 Akim Demaille <akim@epita.fr>
14308 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
14309 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
14311 2001-07-17 Akim Demaille <akim@epita.fr>
14313 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
14314 used. Well, then use the prototypes when you can, and runtime as
14316 Reported by Artur Frysiak
14318 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
14319 (AC_FUNC_GETPGRP): Use it.
14320 First try to compile with 0-ary or 1-ary calls.
14322 2001-07-17 Akim Demaille <akim@epita.fr>
14324 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
14328 2001-07-17 Akim Demaille <akim@epita.fr>
14330 * Makefile.maint: Sync. with cppi 1.10.
14332 2001-07-17 Akim Demaille <akim@epita.fr>
14334 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
14335 AC_F77_DUMMY_MAIN has been run.
14336 From Pavel Roskin and Steven G. Johnson.
14338 2001-07-17 Akim Demaille <akim@epita.fr>
14340 * configure.in: Rename as...
14341 * configure.ac: this.
14343 2001-07-17 Akim Demaille <akim@epita.fr>
14345 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
14348 * Makefile.maint (release-archive-dir): Rename as...
14349 (release_archive_dir): this, so that it can be specialized in
14352 2001-07-14 Akim Demaille <akim@epita.fr>
14354 * configure.in: Bump to 2.50d.
14356 2001-07-14 Akim Demaille <akim@epita.fr>
14359 * Makefile.maint (alpha): Typo.
14361 2001-07-14 Akim Demaille <akim@epita.fr>
14363 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
14365 2001-07-14 Akim Demaille <akim@epita.fr>
14367 * config/config.guess, config/config.sub, config/texinfo.tex
14368 * doc/standards.texi, doc/make-stds.texi: Update.
14370 2001-07-14 Akim Demaille <akim@epita.fr>
14372 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
14374 2001-07-14 Akim Demaille <akim@epita.fr>
14376 * Makefile.maint (maintainer-check): Rename as...
14377 (maintainer-distcheck): this.
14378 (changelog-check, static-check): New.
14381 2001-07-14 Kevin Ryde <user42@zip.com.au>
14383 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
14384 for CXX is g++, not gcc.
14386 2001-07-14 Akim Demaille <akim@epita.fr>
14388 * doc/autoconf.texi (Files): New subsection.
14390 2001-07-14 Akim Demaille <akim@epita.fr>
14392 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
14394 (Generic Compiler Characteristics): this.
14395 (C++ Compiler): New subsection.
14397 2001-07-14 Akim Demaille <akim@epita.fr>
14399 * autoscan.in: Use IO::File.
14400 Adjust all the routines to use it.
14401 ($log): New file (autoscan.log).
14402 (output): Dump detailed logs into $log, and a shortened version to
14404 (&scan_makefile): Refine the regexp catching tokens in the code.
14405 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
14406 and the `configure.ac' checking feature.
14408 2001-07-12 Akim Demaille <akim@epita.fr>
14410 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
14411 Reported by Michael Elizabeth Chastain.
14413 * autoconf.in: Refuse such AWK.
14414 * configure.in: Likewise.
14415 * Makefile.am (acversion.m4): Do not use move-if-change this file
14417 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
14419 2001-07-10 Jens Petersen <petersen@redhat.com>
14421 * autoscan.in (&scan_makefile): Improve programs regexp to parse
14422 things like "g++", "file.c" and "some-conf" as tokens.
14423 (&scan_file): Match C++ files extensions.
14424 If the filename extension is C++ then ask for c++.
14426 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
14428 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
14429 AC_TRY_LINK_FUNC, to check whether defining a dummy
14430 main-like routine is needed for linking with F77 libs.
14432 2001-07-05 Pavel Roskin <proski@gnu.org>
14434 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
14436 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
14439 2001-07-05 Akim Demaille <akim@epita.fr>
14441 * Makefile.am (move_if_change): New. Use it instead of `mv'.
14442 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
14444 Reported by Nicolas Joly.
14446 2001-07-04 Akim Demaille <akim@epita.fr>
14448 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
14450 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
14451 warnings from compilers.
14452 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
14453 for all the compilers, not only GNU. Hence move from here...
14454 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
14456 2001-07-04 Akim Demaille <akim@epita.fr>
14458 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
14459 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
14462 2001-07-04 Akim Demaille <akim@epita.fr>
14464 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
14465 the ``strings.h'' change claimed below.
14467 2001-07-04 Akim Demaille <akim@epita.fr>
14469 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
14471 2001-07-04 Akim Demaille <akim@epita.fr>
14473 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14474 strings.h if usable with string.h.
14475 Suggested by Paul Eggert.
14477 2001-07-04 Akim Demaille <akim@epita.fr>
14479 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
14480 From Jens Petersen.
14482 2001-07-03 Akim Demaille <akim@epita.fr>
14484 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
14487 2001-07-03 Akim Demaille <akim@epita.fr>
14489 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
14490 compiler, not the preprocessor.
14491 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
14492 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
14494 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
14495 earlier if there are.
14497 2001-07-03 Akim Demaille <akim@epita.fr>
14499 * autoscan.in ($initfile): Remove.
14500 (&find_file): Rename as...
14501 (&scan_file): this.
14502 Immediately scan the current file, instead of gathering them, and
14503 later having them handled by &scan_files.
14504 (&scan_files): Merely invoke Find::File.
14507 2001-07-02 Akim Demaille <akim@epita.fr>
14509 * autoscan.in: Formatting changes, matching the invocation order.
14510 (File::Find): Use it instead of Perl 4's `find.pl'.
14511 (&wanted): Rename as...
14512 (&find_file): this.
14514 2001-07-01 Pavel Roskin <proski@gnu.org>
14516 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
14517 break in the argument to AC_TRY_LINK_FUNC.
14518 (AC_F77_MAIN): Remove conftest* after using break in the
14519 argument to AC_TRY_LINK.
14521 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
14523 Add alternate 'main' routine detection for linking C/C++ with Fortran,
14524 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
14526 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
14527 dummy alternate main is required even if the user provides her own
14529 (AC_F77_MAIN): New macro to detect whether it is possible to
14530 provide an alternate 'main' function name, using the 'main' from
14531 the Fortran libraries.
14532 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
14533 cross-language link tests can be performed successfully.
14534 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
14535 after $LIBS, for consistency; this should be the general rule since
14536 the user may want to link to Fortran libraries that require $FLIBS.
14537 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
14539 2001-06-29 Pavel Roskin <proski@gnu.org>
14541 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
14542 at-stdout and at-stderr instead of removing the newline
14543 from the echo output, which is not guaranteed to work.
14545 2001-06-28 Jens Petersen <petersen@redhat.com>
14547 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
14548 confdefs.h when non-zero.
14550 2001-06-28 Akim Demaille <akim@epita.fr>
14552 * configure.in: Bump to 2.50c.
14554 2001-06-26 Akim Demaille <akim@epita.fr>
14558 2001-06-26 Akim Demaille <akim@epita.fr>
14562 2001-06-25 Pavel Roskin <proski@gnu.org>
14564 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
14565 argument, AUTOCONF-FLAGS.
14566 * tests/mktests.sh (update_exclude_list): Add
14567 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
14568 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
14569 AC_FUNC_WAIT3 with "-W no-obsolete".
14571 2001-06-25 Akim Demaille <akim@epita.fr>
14573 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
14575 2001-06-25 Akim Demaille <akim@epita.fr>
14577 * autoscan.in (%macro): Now maps from word to list of macros.
14578 (&init_tables): Die when a word which is already handled by
14579 explicit macros is mapped to the default macro.
14580 (&print_unique): Remove, inlined in...
14581 (&output_kind): here.
14582 (File::Basename): Use it.
14583 (&output): Sort the CONFIG_FILES.
14584 * acheaders: Normalize.
14585 * acfunctions: Likewise.
14587 2001-06-25 Akim Demaille <akim@epita.fr>
14589 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
14590 characteristics in the logs.
14591 Suggested by Mo DeJong.
14593 2001-06-24 Akim Demaille <akim@epita.fr>
14595 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
14596 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
14597 * doc/autoconf.texi (Autoconf 2.13): New section.
14599 2001-06-24 Akim Demaille <akim@epita.fr>
14601 * autoconf.in (Task traces): Separate the error messages from the
14602 traces to improve robustness.
14604 2001-06-23 Akim Demaille <akim@epita.fr>
14606 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
14607 three as failures are unlikely, and speed matters.
14609 2001-06-23 Akim Demaille <akim@epita.fr>
14611 * doc/autoconf.texi (Redefined M4 Macros): New.
14613 2001-06-23 Akim Demaille <akim@epita.fr>
14615 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
14616 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
14619 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
14621 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
14622 config.status targets to after the evaluation of the INIT-CMDS.
14623 Double quote config.status targets (used to be single quoted).
14625 2001-06-23 Akim Demaille <akim@epita.fr>
14627 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
14628 Check the content of the created file.
14629 Check the ./config.status command line invocation.
14631 2001-06-23 Akim Demaille <akim@epita.fr>
14633 * tests/foreign.at (Libtool): Reject prehistoric versions.
14635 2001-06-23 Akim Demaille <akim@epita.fr>
14637 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
14638 preexisting files matching a.*.
14640 2001-06-23 Akim Demaille <akim@epita.fr>
14642 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
14644 * doc/autoconf.texi (AC_ARG_VAR): Update.
14646 2001-06-21 Akim Demaille <akim@epita.fr>
14648 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
14649 precious variables have changed.
14650 * tests/torture.at (AC_ARG_VAR): Adjust.
14652 2001-06-21 Akim Demaille <akim@epita.fr>
14654 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
14655 but some sed choke on multiple `;', and other tools (e.g.,
14656 Automake), include the separator themselves.
14658 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
14660 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
14662 * doc/autoconf.texi (Functions Portability): Rename as...
14663 (Function Portability): this.
14664 (Function Portability): Document potential problems with unlink().
14666 2001-06-19 Paul Eggert <eggert@twinsun.com>
14668 * NEWS, doc/autoconf.texi: Document quadrigraphs.
14670 2001-06-18 Akim Demaille <akim@epita.fr>
14672 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
14674 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
14676 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
14677 (_AC_FUNC_VFORK): this.
14678 Remove AC_DEFINEs and don't guess cross-compilation values.
14679 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
14680 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
14681 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
14682 vfork doesn't work.
14683 Guess values if cross-compiling, but warn.
14684 * acfunctions: Add AC_FUNC_FORK.
14685 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
14686 and vfork appropriately.
14688 2001-06-18 Akim Demaille <akim@epita.fr>
14690 * doc/autoconf.texi (Functions Portability): New section.
14692 2001-06-18 Akim Demaille <akim@epita.fr>
14694 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
14696 Suggested by Andreas Schwab.
14698 2001-06-18 Akim Demaille <akim@epita.fr>
14700 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
14701 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
14702 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
14703 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
14704 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
14705 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
14706 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
14709 2001-06-18 Akim Demaille <akim@epita.fr>
14711 * doc/autoconf.texi (ms): New index.
14712 (Macro Index): Rename as...
14713 (Autoconf Macro Index): this.
14714 (M4 Macro Index): New appendix.
14715 (Programming in M4): New chapter.
14716 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
14717 (Quoting): Rename as...
14718 (M$ Quotation): this.
14719 Be part of `Programming in M4).
14721 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
14723 * tests/torture.at (AC_ARG_VAR): Set variables and export them
14724 in separate statements for compatibility with Tru64 v5.1.
14726 2001-06-17 Akim Demaille <akim@epita.fr>
14728 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
14729 current values of the precious variables, not the previously
14731 Pass precious variables which are set to config.status.
14732 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
14733 * tests/torture.at (AC_ARG_VAR): New.
14735 2001-06-15 Paul Eggert <eggert@twinsun.com>
14737 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
14738 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
14739 and explain why and how to replace them.
14740 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
14741 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
14743 2001-06-15 Akim Demaille <akim@epita.fr>
14745 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
14746 Reported by Bruno Haible.
14748 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
14749 (_AC_ARG_VAR_PRECIOUS): to here.
14751 2001-06-15 Pavel Roskin <proski@gnu.org>
14753 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
14754 an unused pointer use cast to this type and `if' statement to
14755 avoid warnings from the compiler.
14756 (AC_HEADER_TIME): Likewise.
14757 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
14758 in `if' statement to avoid warnings from the compiler. Declare
14759 ac_aggr static to avoid the need to initialize it.
14761 2001-06-14 Akim Demaille <akim@epita.fr>
14763 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
14766 2001-06-13 Akim Demaille <akim@epita.fr>
14768 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
14769 Suggested by Alexander Mai.
14771 2001-06-13 Akim Demaille <akim@epita.fr>
14773 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
14774 sys/types.h and sys/stat.h, and check for them.
14776 2001-06-13 Akim Demaille <akim@epita.fr>
14778 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
14781 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
14783 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
14784 succeeds and only try adding libdnet upon a failure.
14786 2001-06-12 Akim Demaille <akim@epita.fr>
14788 * autoscan.in (&output_kind): Output the comment only if it exists.
14789 (%kind_comment): Add entry for `programs'.
14790 (&output_programs): Use &output_kind.
14791 (&output_functions, &output_identifiers, &output_headers)
14792 (&output_programs): Inline, and remove.
14794 2001-06-12 Akim Demaille <akim@epita.fr>
14796 * autoscan.in (%kind_comment): New.
14797 (output_kind): New.
14798 (output_functions, output_identifiers, output_headers): Use it.
14800 2001-06-12 Akim Demaille <akim@epita.fr>
14802 * autoscan.in (&print_unique): Take `$kind' and `$word' as
14803 arguments, to factor indirections into `%macro' and `%used'.
14804 (%generic_macro): Fix a typo.
14806 2001-06-12 Akim Demaille <akim@epita.fr>
14808 * aclibraries: New.
14809 * autoscan.in (@kinds): Add `libraries'.
14810 Use `@kinds' instead of hard coded lists.
14811 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
14812 Remove, replaced by...
14815 2001-06-12 Akim Demaille <akim@epita.fr>
14817 * autoscan.in (%functions_macros %headers_macros)
14818 (%identifiers_macros %programs_macros %makevars_macros): Remove,
14822 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
14824 * aclang.m4 (AC_NO_EXECUTABLES): Override
14825 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
14827 2001-06-11 Akim Demaille <akim@epita.fr>
14829 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
14831 Reported by Andreas Schwab.
14833 2001-06-11 Akim Demaille <akim@epita.fr>
14835 * Makefile.am, Makefile.maint: Typos.
14837 2001-06-09 Akim Demaille <akim@epita.fr>
14839 * doc/autoconf.texi (Here-Documents): New section, gathering
14840 documentation about here-documents.
14841 Use `href', not `uref', and other changes.
14843 2001-06-09 Akim Demaille <akim@epita.fr>
14845 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
14848 2001-06-09 Akim Demaille <akim@epita.fr>
14850 * doc/autoconf.texi (Limitations of Builtins): Complete the
14851 description of the here-docs penalties with Alexandre Oliva's
14854 2001-06-01 Paul Eggert <eggert@twinsun.com>
14856 * doc/autoconf.texi: Talk about here documents and speedups.
14857 Do not use "echo" on arbitrary strings.
14858 Spell "here-documents" consistently with the standard.
14860 2001-06-09 Akim Demaille <akim@epita.fr>
14862 * doc/autoconf.texi (Concept Index): Introduce it.
14863 Regenerate the menus.
14865 2001-06-09 Akim Demaille <akim@epita.fr>
14867 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
14868 * config/prev-version.txt: New.
14869 * config/move-if-change: New, for GNU libc.
14871 2001-06-06 Pavel Roskin <proski@gnu.org>
14873 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
14875 2001-06-06 Akim Demaille <akim@epita.fr>
14877 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
14878 properly when $1 is not a literal.
14879 Fixes PR Autoconf/187, reported by Bram Moolenaar.
14881 2001-06-06 Akim Demaille <akim@epita.fr>
14883 Invoking AC_COPYRIGHT before AC_INIT fails.
14885 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
14886 * acgeneral.m4 (_m4_divert(VERSION_FSF))
14887 (_m4_divert(VERSION_USER)): New.
14888 (AC_COPYRIGHT): $2 is the diversion to use.
14889 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
14890 (AC_INIT): Remove dead comments as now it's commutative.
14892 2001-06-06 Akim Demaille <akim@epita.fr>
14894 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
14897 2001-06-05 Akim Demaille <akim@epita.fr>
14899 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
14901 `*dir' variables cannot be NONE.
14902 Reported by Mark Kettenis.
14904 2001-06-05 Paul Eggert <eggert@twinsun.com>
14906 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
14908 2001-06-04 Akim Demaille <akim@epita.fr>
14910 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
14911 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
14912 (AC_TR_SH): Move as...
14913 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
14914 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
14916 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
14917 (_AS_TR_SH_PREPARE): New.
14918 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
14919 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
14921 2001-06-02 Akim Demaille <akim@epita.fr>
14923 * Makefile.am (.m4.m4f): Pass the options first.
14924 Fixes PR autoconf/182.
14926 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
14928 GNU getopt, when POSIXLY_CORRECT does not permute options and
14929 arguments. So pass the options first.
14930 Fixes PR autoconf/184.
14932 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
14933 (run_m4): Remove files.
14935 Update remainder of script to use them.
14936 (for warning in): Do not use a literal comma as it will not be
14939 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
14941 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
14942 Fortran compilers to check.
14943 (_AC_PROG_F77_V): Add '-###' as a possible option to print
14944 information on library and object files.
14945 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
14948 2001-06-02 Akim Demaille <akim@epita.fr>
14950 * autom4te.in (Request::@request): Declare with `vars', not `my',
14951 as it prevents updates via `do FILENAME'.
14953 2001-06-02 Akim Demaille <akim@epita.fr>
14955 * configure.in (standards_texi): Remove, dead code.
14957 2001-06-02 Akim Demaille <akim@epita.fr>
14959 * autom4te.in: New.
14961 2001-06-02 Pavel Roskin <proski@gnu.org>
14963 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
14964 for signals other than 0 - exit with code 1.
14965 * m4sh.m4 (AS_TMPDIR): Likewise.
14966 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
14967 * autoheader.in: Likewise.
14968 * autoreconf.in: Likewise.
14969 * tests/torture.at (Signal handling): New test for the above.
14971 2001-06-01 Akim Demaille <akim@epita.fr>
14973 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
14976 2001-05-31 Akim Demaille <akim@epita.fr>
14978 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
14979 Add copyright and comments.
14980 * acheaders: Add stdint.h.
14981 Suggested by Paul Eggert.
14983 2001-05-31 Akim Demaille <akim@epita.fr>
14985 * atgeneral.m4 (AT_INIT): Use $SHELL.
14986 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
14988 2001-05-31 Akim Demaille <akim@epita.fr>
14990 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14992 From Paul Eggert and Lars Hecking.
14994 2001-05-31 Akim Demaille <akim@epita.fr>
14996 * tests/base.at: Adjust line numbers in error messages.
14998 2001-05-31 Akim Demaille <akim@epita.fr>
15000 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
15001 to emit the bangshe line.
15002 Reported by David Carter.
15004 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
15006 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
15007 Fortran (95) compilers to check.
15009 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
15011 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
15014 2001-05-23 Pavel Roskin <proski@gnu.org>
15016 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
15017 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
15018 (AC_PROG_CXXCPP): Likewise.
15020 2001-05-22 Akim Demaille <akim@epita.fr>
15022 * config: New directory.
15023 * configure.in: AC_CONFIG_AUX_DIR it.
15024 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
15026 2001-05-22 Akim Demaille <akim@epita.fr>
15028 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
15029 * autoupdate.in: Specify the Emacs mode.
15030 * acversion.m4.in: Rename as...
15031 * acversion.m4: this.
15032 * tests/Makefile.am (CLEANFILES): More garbage.
15034 2001-05-22 Akim Demaille <akim@epita.fr>
15036 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
15038 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
15041 2001-05-21 Akim Demaille <akim@epita.fr>
15043 * configure.in: Bump to 2.50a.
15048 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
15049 Software Foundation, Inc.
15051 Copying and distribution of this file, with or without
15052 modification, are permitted provided the copyright notice and this
15053 notice are preserved.