1 2008-03-10 Eric Blake <ebb9@byu.net>
3 Factor some autotest tests.
4 * tests/autotest.at (AT_CHECK_AT_PREP): New macro, to factor out
6 (AT_CHECK_AT, Banners, Keywords and ranges, srcdir propagation)
7 (whitespace in absolute testdir, unusual file names): Use it.
9 2008-03-06 Eric Blake <ebb9@byu.net>
11 Minor documentation fix.
12 * doc/autoconf.texi (Evaluation Macros): Fix typo.
14 2008-03-04 Eric Blake <ebb9@byu.net>
16 Make AT_CHECK act like a simple command.
17 * lib/autotest/general.m4 (_AT_CHECK): Wrap commands in {;}.
18 * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Test it.
20 2008-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
22 On MinGW, substitution of CR and 0xFF fails.
23 * tests/torture.at (Substitute and define special characters):
24 MinGW awk cannot handle 0xFF, and on MinGW, the test does the
27 2008-03-04 Eric Blake <ebb9@byu.net>
29 Pull in recent maintainer improvements from coreutils.
30 * GNUmakefile (_is-dist-target): 'make distclean' should not
32 (_dummy): Change directories before removing autom4te.cache.
33 (check dist distcheck install) [!_have-Makefile]: Provide nicer
35 * configure.ac (AC_CONFIG_LINKS): Copy GNUmakefile into VPATH
36 builds, after initial bootstrap.
37 * Makefile.am (distclean-local): Work around current automake bug.
38 * Makefile.maint (ME): Allow VPATH usage.
40 Use git-merge-changelog when available.
41 * .gitattributes: New file.
42 * README-hacking: Document use of git-merge-changelog.
44 Work around cygwin bug.
45 * tests/atlocal.in (unsupported_fs_chars): Avoid cygwin bug where
46 "touch 't\'" creates regular file 't'.
48 Ignore tests that require read-only directories under root.
49 * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Skip
50 no-write portion if user has root-like privileges.
52 2008-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
54 * lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'.
56 2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
58 autoreconf -m now honors $MAKE.
59 * bin/autoreconf.in ($run_make): Renamed from ...
60 ($make): ... this. Use now as command to run `make',
61 overridden by $MAKE. Document this in --help output.
62 * doc/autoconf.texi (autoreconf Invocation): Document
63 all environment variables honored by autoreconf.
65 Report by Paul Eggert.
67 2008-03-03 Eric Blake <ebb9@byu.net>
69 Documentation improvements.
70 * doc/autoconf.texi (Looping constructs): s/recurses/repeats/.
71 (Evaluation Macros): Drop `1' suffix from metasyntax variable name
72 that preceeds @dots. Improve wording.
73 (Text processing Macros): Drop `1' suffix from metasyntax variable
74 name that preceeds @dots.
75 (Number processing Macros): Drop `1' suffix from metasyntax
76 variable name that preceeds @dots. Improve wording.
77 * lib/m4sugar/m4sugar.m4 (m4_cmp): Comment wording fix.
78 Suggested by Ralf Wildenhues.
80 2008-03-02 Jim Meyering <meyering@redhat.com>
82 Don't infloop upon "make dist".
83 * GNUmakefile: Merge from coreutils.
84 * Makefile.am (dist-hook): Inject .tarball-version into tarball,
86 * configure.ac (AC_INIT): Use .tarball-version, not .version.
87 * build-aux/git-version-gen: Update from gnulib.
89 2008-03-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
91 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
92 Before using /dev/full, check that it is a writable character
94 Report by Benoit Sigoure and Eric Blake.
96 Actually test that @configure_input@ is expanded correctly.
97 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
98 Actually check generated file contents for the name of the
99 generated file, using AC_PROG_FGREP and $FGREP.
101 2008-03-01 Benoit Sigoure <tsuna@lrde.epita.fr>
103 Be nice with file systems that don't handle unusual characters.
104 * tests/atlocal.in (func_sanitize_file_name)
105 (func_sanitize_dir_name): New shell functions.
106 * tests/tools.at (autom4te and whitespace in file names)
107 (autotools and whitespace in file names): Use them.
108 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
109 Cover more potentially problemtic file names. Use the new
112 Properly handle funny file names for headers in config.status.
113 The test suite did not cover this bug because the code was not
114 quoting properly the arguments of `rm -f' (which "fails" silently)
115 as well as the arguments of `diff' (whose output was redirected to
116 /dev/null so we couldn't see its error message).
117 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Properly quote the
118 file names passed to `rm' and `diff'.
119 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
120 Add a regression test.
122 2008-03-01 Benoit Sigoure <tsuna@lrde.epita.fr>
123 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
125 Properly expand @configure_input@ in config.status.
126 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_MAIN_LOOP):
127 Escape the backslashes and ampersands in $configure_input before
128 using it in the sed replacement string to expand @configure_input@.
129 Report by Eric Blake and Patrick Welche.
131 2008-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
133 Ignore errors from ./run on w32.
134 * tests/autotest.at (whitespace in absolute testdir):
135 Ignore stderr for `./run' which fails to remove the
136 busy test directory on w32.
138 2008-02-22 Eric Blake <ebb9@byu.net>
140 Improve documentation for writing autotest suites.
141 * doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Mention that
142 checks must live inside a test group.
143 Reported by Christopher Hulbert.
145 2008-02-21 Eric Blake <ebb9@byu.net>
147 Sync git-version-gen from upstream.
148 * build-aux/git-version-gen: Pull from gnulib.
149 * configure.ac (AC_INIT): Adjust to new calling convention.
151 2008-02-12 Eric Blake <ebb9@byu.net>
153 Avoid trailing space in config.h with AC_DEFINE([var], []).
154 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Explicitly mark empty
155 defines with a comment.
157 2008-02-08 Eric Blake <ebb9@byu.net>
159 Fix texinfo typos in previous patch.
160 * doc/autoconf.texi (Site Defaults): s/[{}]/@&/g.
161 Reported by Ralf Wildenhues.
163 Describe a config.site that can be used for FHS compliance.
164 * doc/autoconf.texi (Site Defaults): Fix typo. Add new example
167 Reported by Jules Colding and Ralf Wildenhues.
169 2008-02-02 Eric Blake <ebb9@byu.net>
171 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Fix typo.
173 2008-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
175 * lib/autotest/general.m4 (AT_INIT): Fix --clean to work
176 again, broken since introduction of `-C dir'.
177 * tests/autotest.at (Choosing where testsuite is run): Test it.
179 2008-01-30 Paul Eggert <eggert@cs.ucla.edu>
181 * doc/autoconf.texi: Update Back-Cover text to reflect new GNU wording.
183 2008-01-29 Eric Blake <ebb9@byu.net>
185 Fix more autotest regressions.
186 * lib/autotest/general.m4 (AT_LINE): Fix regression from
187 2007-10-04 when file name is `dnl'.
188 (AT_INIT) <PREPARE_TESTS>: Move command-line assignments...
189 <TESTS_BEGIN>: ...to this new diversion, to fix regression from
190 yesterday in libtool's testsuite.
191 (_AT_ARG_OPTION): Detect write failure.
192 * doc/autoconf.texi (Diversion support): Document PREPARE_TESTS to
193 make libtool's use kosher. Document m4_init.
194 (Programming in M4sh): Document AS_INIT.
195 (Writing Testsuites): Document limitation of AT_DATA file name.
196 * tests/autotest.at (unusual file names): New test.
197 (Banners, Keywords and ranges): Use correct shell.
199 More corner cases in testsuite VAR=VALUE handling.
200 * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS): Fix quoting
202 <PARSE_ARGS_END>: Also detect leading digits in assignments.
203 * tests/autotest.at (Using atlocal): Enhance test to catch last
206 * doc/autoconf.texi (Limitations of Builtins) <.>: Mention bash
209 2008-01-28 Eric Blake <ebb9@byu.net>
211 Fix regression in handling VAR=VALUE arguments to testsuite.
212 * lib/autotest/general.m4 (AT_INIT) <PARSE_ARGS_END>: Detect
213 leading = as invalid. Defer use of command-line variable
215 <PREPARE_TESTS>: ...here, after atconfig has been sourced. Fix
216 regression in sourcing files.
217 * tests/autotest.at (Using atlocal): New test to catch this.
218 (Debugging a successful test, Choosing where testsuite is run):
220 Reported by Ralf Wildenhues.
222 Document grep peculiarity.
223 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Document
224 BSD behavior on binary input.
226 Minor testsuite improvements.
227 * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS>: Use fewer
228 forks when sanitizing PATH. Always output machine information,
229 not just when atconfig was located.
231 Add 'testsuite -C dir'.
232 * lib/autotest/general.m4 (_AT_ARG_OPTION): Move missing argument
234 (AT_INIT) <PARSE_ARGS_END>: ...here, since -k always takes
236 <DEFAULTS>: Delay computation of variables based on $at_dir...
237 <PREPARE_TESTS>: ...to here, since -C can change $at_dir.
238 <TESTS>: Re-invoke via absolute name, since -C may be in effect.
239 <PARSE_ARGS>: Parse new option.
240 <HELP_TUNING>: Document it.
241 * tests/autotest.at (Choosing where testsuite is run): New test
243 (Keywords and ranges): Add test for missing -k argument.
244 * NEWS: Document this.
245 * doc/autoconf.texi (testsuite Invocation): Likewise.
247 2008-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
249 * build-aux/config.guess, build-aux/config.sub,
250 build-aux/texinfo.tex: Sync from gnulib.
251 * doc/fdl.texi, doc/make-stds.texi, doc/standards.texi:
254 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
256 * doc/autoconf.texi (Particular Programs): Do not mention the
257 Autoconf version in which the AC_PROG_INSTALL change was done.
258 Suggested by Paul Eggert.
260 2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
262 Fix --help=recursive with multiple AC_CONFIG_SUBDIRS.
263 * lib/autoconf/general.m4 (_AC_INIT_HELP): If, for recursive help
264 mode, we change to the source directory, also set $ac_pwd so we
265 do not go back to the build tree for the next config subdir.
266 * tests/torture.at (Deep Package): Extend test to contain two
267 config subdirs on the top level.
269 Fix parallel `maintainer-check'.
270 * Makefile.am (maintainer-check-tests): Depend on `all'.
271 Use `$(MAKE) $(AM_MAKEFLAGS)' instead of plain `make'.
272 * tests/Makefile.am (maintainer-check-c++, maintainer-check-posix):
274 (maintainer-check): Serialize the testsuite runs.
276 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE2): Accept `+'
277 in feature string for --enable/--with. Convert to underscore
280 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Require that
281 `install -c file1 file2 dir' works.
282 * doc/autoconf.texi (Particular Programs): Document this.
285 2008-01-21 Eric Blake <ebb9@byu.net>
287 Improve documentation about default include directives.
288 * doc/autoconf.texi (Generic Headers, Generic Declarations)
289 (Generic Structures, Generic Types)
290 (Generic Compiler Characteristics): Add links to
292 Reported by Reuben Thomas.
294 2008-01-15 Eric Blake <ebb9@byu.net>
296 * lib/m4sugar/m4sugar.m4 (m4_qlen): Use fewer macros.
298 2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
300 * tests/Makefile.am (noinst_SCRIPTS): Renamed from
301 check_SCRIPTS. Building the wrappers for `all' allows help2man
302 to use them for the manpages.
303 Report by Benoit Sigoure.
305 * bin/autoreconf.in: Discard stderr for $autoconf/$aclocal --help.
307 2007-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
309 Fix some write failure cases in Autotest.
310 * lib/autotest/general.m4 (AT_INIT): Do not exit successfully
311 upon write failures for --help, --version, --list.
312 Guard against write failures for intermediate created scripts.
313 <at_func_create_debugging_script>: Do not make the debugging
314 script executable if it is not complete.
316 2007-12-12 Eric Blake <ebb9@byu.net>
318 Fix thinko in earlier patch - m4_join isn't defined yet.
319 * lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
320 (_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
321 (m4_require): Use m4_do, not m4_join.
323 Fix some whitespace tests on cygwin.
324 * tests/tools.at (autom4te and whitespace in file names): Restore
325 font-lock. Create $TMPDIR before it might be used.
327 Fix spurious testsuite failure with M4 1.4.11.
328 * tests/local.at (AT_CHECK_M4): Cater to new m4 error message.
331 * lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
332 (_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
333 (m4_require): Avoid extra macro calls.
335 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
337 * tests/torture.at (srcdir): Fix quoting.
339 Do not pass top_srcdir to configure scripts in testsuite.
340 * tests/autotest.at (srcdir propagation): Copy install-sh to
342 (my only test): Drop setting of `top_srcdir'.
343 * tests/base.at (Input/Output): Likewise.
344 * tests/local.at (AT_CONFIGURE_AC): Copy install-sh,
345 config.guess, and config.sub to test source tree.
346 Drop AC_CONFIG_AUX_DIR setting.
347 (AT_CHECK_CONFIGURE): Drop setting of `top_srcdir'.
348 * tests/torture.at (Substitute a 2000-byte string): Drop
349 AC_CONFIG_AUX_DIR setting, copy install-sh to test source tree.
350 (Substitute a newline, datarootdir workaround): Likewise.
351 (Define a newline): Adjust for linenumber changes in configure.ac.
352 * tests/foreign.at (Libtool): Adjust comment to reflect changes.
354 * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): Skip test
355 if `pwd` contains whitespace.
357 Quote $abs_top_srcdir in tests.
358 * tests/local.at (AT_CHECK_PERL_SYNTAX): Likewise.
359 * tests/tools.at (Syntax of the shell scripts): Likewise.
361 * tests/m4sh.at (LINENO): Quote $0.
363 Fix testsuite program wrapper for whitespace in `pwd`.
364 The problem here is that the usual mantra is that command
365 variables can contain arguments, thus we cannot just escape
366 $AUTOCONF, $AUTOM4TE etc. The compromise is to put the
367 $top_builddir/tests directory early in $PATH, so that the
368 wrappers are found by their plain name.
369 * tests/wrapper.as: Put $testdir early in $PATH.
370 (AUTOCONF, AUTOHEADER, AUTOM4TE): Set to plain command names.
372 Proper config.status --file/--header and $srcdir escaping.
373 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Quote special
374 characters in $ac_file_inputs.
375 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER): eval $ac_file_inputs
377 * tests/torture.at (datarootdir workaround): Adjust.
378 (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Extend test.
380 Fix Autotest for whitespace in `pwd`.
381 * lib/autotest/general.m4 (AT_INIT)
382 <at_func_create_debugging_script, Driver Loop>:
384 * tests/autotest.at (whitespace in absolute testdir): New test.
386 * lib/autom4te.in: Quote @datadir@.
388 Proper file name escaping in Autoconf programs and Perl modules.
389 This includes escaping of characters special to the shell
390 as well as special to Perl, e.g., leading `<' or `>'.
391 For example, when $file starts with `>', `open ">$file"'
392 wrongly tries to append to a different file.
393 * bin/autoconf.as: Fix quoting for autom4te options.
394 * lib/Autom4te/General.pm (shell_quote): New function, taken
395 from coreutils, written by Jim Meyering.
397 * bin/autom4te.in (files_to_options, handle_m4): Use shell_quote
399 * bin/autoreconf.in (parse_args): Likewise.
400 * bin/autoscan.in (main): Likewise.
401 * bin/autoupdate.in (main): Likewise.
402 * bin/autoheader.in: Likewise, fixing old insufficient escaping.
403 * bin/ifnames.in: Likewise, XFile usage fixes.
404 * tests/tools.at (autom4te and whitespace in file names): Extend
405 test. Test twice, with special characters allowed on w32, and the
406 rest. Test leading and trailing whitespace, for `open_quote'.
407 (autotools and whitespace in file names): New, analogous test.
408 Reported by Paul Eggert and Benoit Sigoure, additional suggestions
409 by Russ Allbery and Eric Blake.
412 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
413 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Likewise.
414 * lib/Autom4te/FileUtils.pm (open_quote): New function.
415 (update_file, contents): Use it.
417 * Makefile.am (autom4te-update): Rewrite for git.
419 2007-12-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
421 * doc/autoconf.texi (autom4te Invocation, Autom4te Cache): Fix typos.
424 * Makefile.am, doc/install.texi, lib/autoconf/fortran.m4,
425 lib/autoconf/lang.m4, lib/freeze.mk: Likewise.
427 2007-12-04 Eric Blake <ebb9@byu.net>
429 Manually resync with gnulib, since 'make cvs-update' no longer works.
430 * build-aux/config.guess: New upstream version.
431 * build-aux/config.sub: Likewise.
433 When using older automake, don't downgrade build-aux/texinfo.tex.
434 * configure.ac (AM_INIT_AUTOMAKE): Add no-texinfo.tex option.
435 * doc/Makefile.am (TEXINFO_TEX): Add.
437 2007-11-27 Paul Eggert <eggert@cs.ucla.edu>
439 Fix AC_C_BIGENDIAN bug caused by new awk method of substitution.
440 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Don't comment out the
441 #undef as this runs afoul of our new way of creating config.h.
442 Problem reported by Jim Meyering in
443 <http://lists.gnu.org/archive/html/autoconf-patches/2007-11/msg00164.html>.
445 2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
447 Fix autom4te for unusual characters in input file names.
448 * bin/autom4te.in (files_to_options): Quote active characters
450 * tests/tools.at (autom4te and white space in file names):
453 * doc/autoconf.texi (Limitations of Usual Tools) <awk>:
454 Document that Tru64 awk always splits $0.
456 2007-11-24 Stepan Kasal <kasal@ucw.cz>
458 * lib/autotest/general.m4 (AT_INIT): Do not extract the
459 `#AT_STOP_...' line at the end of each test.
461 2007-11-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
463 * lib/autotest/general.m4 (AT_INIT): For awk line number
464 extraction script, ensure `$at_group' has a defined value
465 even for the empty set, and properly quote its usage inside
468 2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
470 * doc/autoconf.texi (Shell Functions): New chapter. Document
471 IRIX sh $0 issue in functions, move content from ...
472 (Portable Shell): ... here.
473 (Shell Script Compiler): Note that shell functions are not
474 totally unportable any more.
476 2007-11-22 Stepan Kasal <kasal@ucw.cz>
477 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
479 * lib/autotest/general.m4 (AT_INIT): Exit awk script after
480 extracting the line numbers of the last needed test.
482 2007-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
484 * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
487 2007-11-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
489 Fix IRIX testsuite debugging failures: $0 in functions.
490 * lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
491 Do not use $0 inside a function, as IRIX sh will set that to the
492 function name rather than the script invocation name.
494 2007-11-19 Paolo Bonzini <bonzini@gnu.org>
495 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
497 * lib/autotest/general.m4 (at_func_test): Use cached line numbers
498 to extract test scripts.
499 (AT_INIT): Extract and cache test script line numbers.
501 2007-11-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
503 * lib/autotest/general.m4: Revert 2007-11-15 patch and
504 subsequent fixups; the awk -> here-document conversion trashes
505 performance too much with AIX sh.
507 2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
509 * tests/local.at: Do not test m4, perl with AT_TESTED.
511 Diagnose and guard against write errors dealing with config.status.
512 The general idea is this: all write failures from `configure'
513 writing `config.status' are indicated by $ac_write_error, which
514 is only checked at the end. This is safe because config.status
515 code is not executed before the file is complete. Other write
516 failures, be they inside config.status, or in sub shell/awk
517 scripts spawned from configure or config.status, typically need
518 earlier checking, as their results are used right afterwards.
519 * lib/autoconf/status.m4 (AC_OUTPUT): Initialize `ac_write_fail'
520 before writing config.status, check afterwards.
521 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_FILE)
522 (_AC_OUTPUT_HEADERS_PREPARE,_AC_OUTPUT_CONFIG_STATUS):
523 Set `ac_write_error' for write failures to config.status. Barf
524 upon write failures to temporary files.
525 Adjust note about closing and reopening the here-document.
526 (_AC_OUTPUT_HEADER, _AC_OUTPUT_LINK, _AC_OUTPUT_COMMAND)
527 (_AC_OUTPUT_MAIN_LOOP): Likewise, adjust note about closing and
528 reopening the here-document.
529 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
530 Ensure `ac_write_error' does not escape into config.status.
531 Also, add a couple of code paths not yet exercised in the test
532 suite: a config file with input from stdin, and a config header
534 Suggestion for catching write errors by Bruno Haible.
536 2007-11-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
538 Avoid error with Tru64 awk and testsuite lines with many words.
539 * lib/autotest/general.m4 (AT_INIT): In the awk script that
540 reads the testsuite, set the field separator to an unusual value,
541 in order to not run over the limit of 199 fields. Tru64 4.0D awk
542 even splits the input if $i, i>0, was never accessed in the script.
544 Revert 2007-10-17 change.
545 * TODO: Multiline args in config files and headers mean something
546 different and are not fixed, see
547 <http://lists.gnu.org/archive/html/autoconf-patches/2007-05/msg00017.html>
548 Report by Stepan Kasal.
550 * doc/autoconf.texi (Generic Programs): Fix typo.
552 2007-11-16 Stepan Kasal <kasal@ucw.cz>
554 AC_*_TOOL does not canonicalize the prefix
555 * doc/autoconf.texi (Generic Programs): Do not say that
556 the *_TOOL macros canonicalize, they simply use the `host_alias'.
558 2007-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
560 Diagnose write errors in config.status instantiations.
561 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE)
562 (_AC_OUTPUT_HEADER, _AC_OUTPUT_MAIN_LOOP): Bail out
564 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
565 Extend test to also check for some write error failures, using...
566 <AT_CHECK_CONFIG_CREATION_NOWRITE>: ...this new macro.
567 Report by Bruno Haible.
570 * lib/autotest/general.m4 (AT_INIT) <at_func_log_failure>: Fix
572 (_AT_CHECK): Use less indentation, to save space.
574 2007-11-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
576 Add witness macro for @top_build_prefix@ substitution.
577 * lib/autoconf/status.m4 (_AC_HAVE_TOP_BUILD_PREFIX): New macro.
578 (_AC_OUTPUT_FILE): Mention it here.
580 2007-11-15 Paolo Bonzini <bonzini@gnu.org>
581 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
583 * lib/autotest/general.m4 (at_func_test): Remove.
584 (AT_INIT): Pre-extract test groups into separate files.
585 (AT_CLEANUP): Source pre-extracted file instead of calling at_func_test.
586 Remove at-test-source files together with the $at_group_dir.
587 * tests/autotest.at (Long test source lines): New test.
589 2007-11-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
591 Shell functions and variables may share a namespace.
592 * doc/autoconf.texi (Portable Shell): Mention Solaris sh
595 2007-11-14 Paul Eggert <eggert@cs.ucla.edu>
597 * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Make comment match
600 2007-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
602 * lib/autoconf/status.m4: Fix a couple of comment typos.
604 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Use $as_me, not $me.
606 2007-11-13 Jim Meyering <meyering@redhat.com>
608 Clean up the rule to create "expr".
609 * tests/Makefile.am (expr): Don't redirect directly to target.
610 Redirect just once, not for each echo statement.
611 Use $@, not literal "expr".
613 2007-11-13 Paul Eggert <eggert@cs.ucla.edu>
615 Don't worry about preprocessor when testing long long.
616 See: http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00075.html
617 * doc/autoconf.texi (Preprocessor Arithmetic): New section.
618 (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT):
619 These no longer check for preprocessor flaws.
620 * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET):
621 Do not check for preprocessor flaws.
623 2007-11-13 Jim Meyering <meyering@redhat.com>
625 Adapt dependencies, now that a version change doesn't modify configure.ac
626 * GNUmakefile: Remove "make clean" kludge.
627 * lib/m4sugar/Makefile.am (version.m4): Depend on Makefile, not
629 Don't redirect directly to target.
630 Use $@, not literal "version.m4".
632 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
634 * doc/autoconf.texi (Making testsuite Scripts): Document
635 ":;{" shorthand as in previous patch.
637 2007-11-12 Paul Eggert <eggert@cs.ucla.edu>
639 * doc/autoconf.texi (Limitations of Builtins): Document problem
640 with { ... } a bit more clearly. Suggest ":;{" as a shorthand
642 * lib/m4sugar/Makefile.am (version.m4): Detect 'echo' failure.
644 * tests/Makefile.am ($(srcdir)/package.m4): Likewise.
646 2007-11-12 Jim Meyering <meyering@redhat.com>
648 Add more non-srcdir build support.
649 * GNUmakefile (dummy): Split a long line.
650 Add -v option to autoreconf invocation.
652 Remove the autoreconf-provided INSTALL, so that we regenerate it.
653 * GNUmakefile (dummy): Remove INSTALL.
655 Remove racy commands to build scripts in bin/ and tests/.
656 * man/Makefile.am (.x.1): Now that scripts in bin/ and tests/
657 are guaranteed to be built, remove the rules that tried to build
658 them. Before, with a parallel build, these rules could lead to
659 two processes writing tests/wrapper.in concurrently.
661 Build in man/ only *after* building in bin/ and tests/.
662 * Makefile.am (SUBDIRS): The man-page-creation process runs $(MAKE)
663 in both bin/ and tests/.
665 Accommodate non-srcdir build-from-checkout.
666 * build-aux/git-version-gen: Require an additional parameter: $srcdir.
667 Use git's --git-dir=$srcdir/.git option.
668 Add quotes, in case tarball_version_file contains shell meta-characters.
669 * GNUmakefile (_curr-ver): Pass $(srcdir) to git-version-gen.
670 * configure.ac: Pass "." to git-version-gen.
672 Avoid spurious test failures due to version skew.
673 * GNUmakefile (dummy): Run $(MAKE) clean after autoreconf -i.
675 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
677 Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
678 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_RUN_IFELSE):
679 Remove conftest.dSYM directory.
680 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT)
681 (_AC_LANG_PROGRAM_C_, _AC_FC_MAIN, __AC_FC_NAME_MANGLING):
682 Remove `conftest.*' recursively.
683 * lib/autoconf/lang.m4 (AC_LINK_IFELSE): Likewise.
684 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
686 (_AC_COMPILER_OBJEXT_REJECT): Reject *.dSYM.
688 Report and analysis by Jeff Squyres and Peter O'Gorman.
690 2007-11-12 Benoit Sigoure <tsuna@lrde.epita.fr>
692 Fix typos in variable names.
693 * tests/semantics.at (test for AC_CHECK_LIB): s/at_m/ac_m/.
695 2007-11-11 Benoit Sigoure <tsuna@lrde.epita.fr>
697 Document that $((expression)) is not portable.
698 * doc/autoconf.texi (Shell Substitutions): Here.
700 2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
702 Ignore configure --help* errors due to LINENO-impaired shells.
703 * tests/torture.at (Configuring subdirectories, Deep Package):
704 In the --help* tests in read-only trees, make `.' temporarily
705 writable again for the `stderr' file, and ignore errors due to
706 the attempt to write configure.lineno.
707 Report by Patrick Welche.
709 2007-11-10 Jim Meyering <meyering@redhat.com>
711 Generate package.m4 in build-dir, not srcdir.
712 * tests/Makefile.am (package.m4): Adjust target.
713 Don't redirect directly to $@.
714 (CLEANFILES): Add package.m4.
715 ($(TESTSUITE)): Depend on just-built package.m4, not the one
717 When running $(AUTOTEST), search "." before searching $(srcdir).
719 Avoid a race condition that would make parallel "distclean" fail.
720 * tests/Makefile.am (distclean-generic): Replace the default,
721 automake-provided rule with an identical one, but with an additional
722 dependency on distclean-local. Simply adding the dependency would
723 cause automake not to emit the rule at all.
724 * BUGS: Building with -jN works, now.
726 Distribute git-version-gen.
727 * Makefile.am (EXTRA_DIST): Add build-aux/git-version-gen,
728 since GNUmakefile is distributed, and requires it for dist* rules.
730 Remove two more generated files from version control.
731 * INSTALL: Remove generated file.
732 * lib/autoscan/autoscan.list: Remove generated file.
734 2007-11-09 Paul Eggert <eggert@cs.ucla.edu>
736 * GNUmakefile (PATH): Remove stray apostrophes; they become
737 part of PATH, which isn't wanted here.
739 2007-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
741 New config files output variable `top_build_prefix'.
742 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Substitute
744 * doc/autoconf.texi (Preset Output Variables): Document it.
746 Report by Bob Friesenhahn.
748 Avoid expr for arithmetic evaluation if the shell accepts $((...)).
749 * lib/autotest/general.m4 (AT_INIT) <at_func_arith>: New
750 function, to parametrize arithmetic with expr vs. the shell.
751 Use it where possible.
752 Suggestion by Benoit Sigoure.
754 2007-11-03 Benoit Sigoure <tsuna@lrde.epita.fr>
756 Adjust the documentation of autotest WRT atlocal.
757 * doc/autoconf.texi (Making testsuite Scripts): It is not necessary,
758 when using Automake, to write a rule to produce atlocal, since it's
759 an AC_CONFIG_FILES. Mention that atlocal.in needs to be
760 distributed, not atconfig.in.
762 2007-11-04 Eric Blake <ebb9@byu.net>
764 Update list information.
765 * README: Mention new autoconf-commit list.
766 * doc/autoconf.texi (Introduction): Mention autoconf-commit list.
768 2007-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
770 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Fix comment typo.
772 * lib/m4sugar/Makefile.am (version.m4): Another bash bug workaround.
774 * build-aux/.gitignore: Ignore mkinstalldirs.
776 * doc/autoconf.texi (autoreconf Invocation): Fix an underfull line.
778 2007-11-03 Jim Meyering <meyering@redhat.com>
780 s/-/./ in snapshot version string: 2.61a-256-8b556 -> 2.61a.256-8b556
781 * build-aux/git-version-gen: This syncs from coreutils.
783 Adjust the build procedure so "make check" works reliably.
784 * README-hacking: Include an extra step between "make" and
785 "make check" to ensure that the latter passes.
787 Use just-built tools, when possible.
788 * GNUmakefile (PATH): Set and export here, ...
789 (dummy): ... rather than here.
791 2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
792 and Andreas Schwab <schwab@suse.de>
794 * tests/Makefile.am ($(srcdir)/package.m4): Work around bash
797 2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
799 * configure.ac (AC_PREREQ): Require version 2.60, for
800 AC_PROG_SED, AC_PROG_GREP.
802 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
803 and Jim Meyering <meyering@redhat.com>
804 and Andreas Schwab <schwab@suse.de>
805 and Eric Blake <ebb9@byu.net>
807 Document a bug in GNU Bash with compound commands and redirections.
808 * doc/autoconf.texi (Limitations of Builtins): Mention that GNU
809 Bash doesn't properly set $? when `{ ... } >/bad' fails, and give
812 2007-11-03 Eric Blake <ebb9@byu.net>
814 Support m4 1.4.5 in testsuite.
815 * tests/torture.at (Define a newline): Exclude line numbers in
817 Reported by Ralf Wildenhues.
819 2007-11-03 Jim Meyering <meyering@redhat.com>
821 Remove automake-provided files from version control.
822 * build-aux/elisp-comp: Remove file.
823 * build-aux/install-sh: Remove file.
824 * build-aux/missing: Remove file.
825 * build-aux/mdate-sh: Remove file.
826 * build-aux/.gitignore: New file.
827 Suggestion from Ralf Wildenhues.
829 2007-11-03 Eric Blake <ebb9@byu.net>
831 Adjust version comparison to account for git snapshot numbers.
832 * lib/m4sugar/m4sugar.m4 (_m4_version_unletter): Also treat - as a
834 * doc/autoconf.texi (Number processing Macros)
835 <m4_version_compare>: Document this change.
836 * tests/m4sugar.at (m4@&t@_version_compare): Test it.
838 2007-10-30 Bruno Haible <bruno@clisp.org>
840 * lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro,
841 extracted from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT.
842 (AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT): Use it.
843 Fixes problem with Sun C 5.[0-8] in 32-bit mode, reported in
844 <http://lists.gnu.org/archive/html/autoconf-patches/2007-10/msg00210.html>
845 Suggested by Paul Eggert.
847 2007-10-28 Jim Meyering <meyering@redhat.com>
849 * README-hacking: Autoconf, Automake, and Perl are required to build.
850 List Gzip and Tar separately. Suggested by Ralf Wildenhues.
852 2007-10-28 Jim Meyering <meyering@redhat.com>
854 README-hacking: Recommend running autoreconf -vi.
855 * GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
856 so that we use just-built tools when they're available.
857 Suggestions from Ralf Wildenhues.
859 2007-10-28 Jim Meyering <meyering@redhat.com>
861 Make inter-release --version output more useful.
863 Now, each unofficial build has a version "number" like 2.61a-19-58dd,
864 which indicates that it is built using the 19th change set
865 (in _some_ repository) following the "v2.61a" tag, and that 58dd
866 is a prefix of the commit SHA1.
867 * build-aux/git-version-gen: New file.
868 * configure.ac: Run it to set the version.
869 (AM_INIT_AUTOMAKE): Don't check NEWS here.
870 * Makefile.am (dist-hook): Arrange so that .version appears only
871 in distribution tarballs, never in a checked-out repository.
872 * .gitignore: Add .version here, too. Just in case.
873 * tests/Makefile.am ($(srcdir)/package.m4): Depend on Makefile,
874 not configure.ac, now that the version number changes automatically.
876 Ensure that $(VERSION) is up to date for dist-related targets.
877 * GNUmakefile: Arrange to rerun autoconf, if the version reported by
878 git-version-gen doesn't match $(VERSION), but only for dist targets.
880 2007-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
882 Fix `Deep Package' failure with a configure script early in PATH
883 * tests/torture.at (Deep Package): Add `.' early in PATH.
884 Report by Jim Meyering.
886 2007-10-27 Jim Meyering <meyering@redhat.com>
888 Remove all generated files from version control.
889 * aclocal.m4: Remove.
891 * Makefile.in: Remove, along with all other Makefile.in in subdirs.
892 * .gitignore: Add aclocal.m4, configure and Makefile.in. Sort.
893 * README-hacking: New file: how to build from just-checked-out sources.
895 2007-10-23 Eric Blake <ebb9@byu.net>
897 Improve corner case of m4_expand.
898 * lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Rewrite more
900 * tests/m4sh.at (AS@&t@_HELP_STRING): Test overquoted comma.
901 * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Update
904 2007-10-23 Paul Eggert <eggert@cs.ucla.edu>
906 * doc/make-stds.texi: Update from gnulib.
908 2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
909 and Eric Blake <ebb9@byu.net>
911 * lib/autoconf/c.m4 (AC_C_RESTRICT): Work around Sun C++ compatibility
912 problem reported by Bruno Haible in
913 <http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00027.html>.
915 2007-10-22 Eric Blake <ebb9@byu.net>
917 * doc/autoconf.texi (Particular Types): Mention bug in HP-UX 11.00
920 2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
922 Don't check for bug in HP-UX 11.00 cpp.
923 * lib/autoconf/types.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
924 Use -1ull rather than -1u, since that causes problems with gnulib; see
925 <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
927 2007-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
929 * tests/autotest.at (Backquote command substitution)
930 (Multiline backquote command substitution)
931 (Parenthetical command substitution)
932 (Multiline parenthetical command substitution): Fix typos in
935 2007-10-21 Eric Blake <ebb9@byu.net>
937 * configure: Regenerate.
939 2007-10-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
941 Fix config status generation with Tru64 ksh.
942 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
943 escaping of backslash in here-documents.
945 Fix `Deep Package' test failure on FreeBSD.
946 * tests/torture.at (Deep Package): Do not add `.' to $PATH
947 unnecessarily. Do not try running `/bin/sh configure' with a
948 configure script to be found in $PATH, if the shell does not do
949 this resolution. Fixes test failure on FreeBSD.
951 Fix config header generation with AIX awk.
952 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): In awk
953 script, use helper array D_is_set, as `" 0"' does not evaluate
956 2007-10-21 Eric Blake <ebb9@byu.net>
958 * tests/autotest.at (Banners): Reinstate test, with typo
961 2007-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
963 * lib/autotest/general.m4 (Defaults): Validate input ranges ...
964 <at_func_validate_ranges>: ... using this new function.
965 * tests/autotest.at (Keywords and ranges): Test invalid ranges.
966 Test --list with ranges and keywords.
967 (Banners): Remove one now-failing test.
969 2007-10-20 Eric Blake <ebb9@byu.net>
971 Fix testsuite --list subset.
972 * lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
973 back to spaces, before listing subset of tests.
974 Reported by Ralf Wildenhues.
976 2007-10-19 Eric Blake <ebb9@byu.net>
978 s/parenthesis/parentheses/ where appropriate.
979 * doc/autoconf.texi: Fix typos.
980 * lib/m4sugar/m4sugar.m4: Likewise.
981 Reported by Ralf Wildenhues.
983 Document m4_expand limitation.
984 * lib/m4sugar/m4sugar.m4 (m4_expand): Mention problem with
986 * doc/autoconf.texi (Pretty Help Strings, Evaluation Macros)
987 (Writing Testsuites): Mention limitations inherited from
990 Improve AT_BANNER handling.
991 * lib/autotest/general.m4 (BANNERS): New named diversion.
992 (TESTS_END): Diversion no longer used.
993 (AT_INIT) <at_func_banner, BANNERS>: Factor all banners into a
994 shell function, which prints only as needed, using an associative
995 array of banner text from a special diversion.
996 <PARSE_ARGS_END>: No longer need awk to find banners.
997 <TESTS>: Banners are no longer processed by main driver loop, so
998 we no longer need case statement.
999 (AT_BANNER): Rewrite to populate new diversion.
1000 (AT_SETUP): Each test invokes its own banner. No output is needed
1001 to the TESTS diversion.
1002 * doc/autoconf.texi (Writing Testsuites): Document slight
1004 * tests/autotest.at (AT_BANNERS): Enhance test.
1005 * NEWS: Document AT_BANNER.
1007 Document and test AT_BANNER.
1008 * doc/autoconf.texi (Writing Testsuites): Document AT_BANNER.
1009 * tests/autotest.at (AT_CHECK_EGREP): Share between tests.
1010 (AT_CHECK_BANNERS): New test.
1013 * doc/autoconf.texi (Text processing Macros) <m4_strip>
1014 <m4_text_wrap>: Clarify and fix typos.
1016 2007-10-18 Eric Blake <ebb9@byu.net>
1018 Ignore `make dist' changelogs in testsuite.log.
1019 * lib/autotest/general.m4 (AT_INIT) <ChangeLogs>: Prune
1020 directories matching AT_PACKAGE_TARNAME-*.
1022 Fix AT_TESTED, AT_KEYWORDS.
1023 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Warn if separator
1024 occurs in string, as duplicates may be added.
1025 (_m4_append_uniq): New helper macro.
1026 (m4_append_uniq_w): New macro.
1027 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Fix
1028 duplication bug by using new macro.
1029 (AT_INIT) <at_tested>: Restore newline separators. Invoke tested
1030 programs with stdin redirected, so programs that don't
1031 understand --version won't try to behave interactively.
1032 * tests/autotest.at (Tested programs): Catch this bug.
1033 * tests/m4sugar.at (m4@&t@_append): Test new macro.
1034 * tests/local.at (AT_TESTED): Add m4, perl.
1035 * doc/autoconf.texi (Text processing Macros): Document
1036 m4_append_uniq_w, and update text on m4_append.
1037 * NEWS: Document the addition.
1039 2007-10-17 Eric Blake <ebb9@byu.net>
1042 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Convert
1044 (AT_INIT) <at_func_create_debugging_script>: ...to shell
1046 (AT_INIT): Defer function declarations until after --help,
1047 --version. Format functions consistently, trying to fit in 80
1049 (TEST_FUNCTIONS): Based on recent changes, rename...
1050 (TEST_GROUPS): ...to this.
1053 * m4/m4.m4 (AC_PROG_GNU_M4): Also check for frozen file support.
1054 * configure: Regenerate.
1055 Reported by Bob Friesenhahn.
1057 Test recent additions.
1058 * tests/m4sugar.at (m4@&t@_map, m4@&t@_combine)
1059 (m4@&t_max and m4@&t_min): New tests.
1060 * doc/autoconf.texi (Evaluation Macros) <m4_apply>: Enhance
1063 2007-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1065 * TODO: multiline args in config files and headers work now.
1067 Autotest: do not use shell functions for individual tests.
1068 * lib/autotest/general.m4 (AT_INIT) <at_func_test>: Merely
1069 extract the source test source, do not invoke it.
1070 (AT_SETUP, AT_CLEANUP): Source test code outside shell function.
1071 * tests/autotest.at (Fallacy): Actually let the inner suite fail,
1072 expect exit status of 1.
1073 * tests/autotest.at (Skip): New test, for bogus zsh exit status.
1075 * lib/autotest/general.m4 (at_func_test): Fix test extraction
1078 2007-10-17 Eric Blake <ebb9@byu.net>
1080 Fix m4_combine for empty suffix list.
1081 * lib/m4sugar/m4sugar.m4 (m4_combine): Check for suffix list.
1082 * doc/autoconf.texi (Text processing Macros): Document this.
1084 Add m4_combine, based on Libtool's lt_combine.
1085 * lib/m4sugar/m4sugar.m4 (m4_combine): New macro.
1086 * doc/autoconf.texi (Text processing Macros): Document it.
1089 2007-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1091 Fix `configure --help=recursive' in unconfigured/read-only trees.
1092 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Avoid errors when `.'
1093 is not writable, use 'cp -p' in this case, in the hope that it
1094 will not actually be needed. Still try removing files, in case
1095 of other write errors.
1096 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): For ac_confdir,
1097 use $as_myself, not $0.
1098 (_AC_INIT_HELP): For --help=recursive, if the subdir does not
1099 exist, try again in the the source tree. This change assumes
1100 that the subpackage configure script is capable of running
1101 --help=recursive in the source tree.
1102 * tests/torture.at (Configuring subdirectories, Deep Package):
1103 Adjust tests to expose both issues, also try invocation as
1104 `sh configure ...' and plain `configure ...' with PATH adjusted.
1105 * NEWS, THANKS: Update.
1106 Report by Hans Ulrich Niedermann.
1108 2007-10-16 Paul Eggert <eggert@cs.ucla.edu>
1110 Check for 64-bit int errors in HP-UX 10.20 preprocessor.
1111 Problem reported by H.Merijn Brand in
1112 <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
1113 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1114 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
1115 Check that preprocessor handles 64-bit ints, too.
1117 2007-10-16 Eric Blake <ebb9@byu.net>
1119 m4_map is a looping construct.
1120 * lib/m4sugar/m4sugar.m4 (m4_map, _m4_map, m4_map_sep): Move.
1122 Fix m4_map, and add some more utility macros.
1123 * lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
1124 (m4_echo, m4_make_list): New documented macros.
1125 (_m4_quote, _m4_shift2): New helper macros.
1126 (m4_map): Change semantics to allow calling macro without
1128 (m4_map_sep): Likewise. Also change semantics to quote separator,
1129 to match m4_join and m4_append.
1130 (m4_version_unletter): Fix use of m4_map.
1131 * doc/autoconf.texi (Evaluation Macros): Document m4_apply,
1132 m4_count, m4_dquote_elt, m4_echo, m4_make_list.
1133 (Text processing Macros): Mention m4_dquote as a faster
1134 alternative to joining with commas.
1135 (Looping constructs): Document m4_map, m4_map_sep.
1136 * NEWS: Mention new macros.
1138 A few more m4sugar improvements, to benefit libtool.
1139 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts, _m4_shiftn): Reduce size
1140 of expansion by avoiding extra uses of $@.
1141 (m4_shiftn): Avoid extra dnl, and forbid shifting by 0.
1142 (_m4_cdr): New helper macro.
1143 (_m4_map, m4_map_sep): Use it to reduce size of expansion.
1144 (_m4_shift3): New helper macro.
1145 (_m4_foreach): Swap argument order, and use new macro to reduce
1147 * doc/autoconf.texi (Looping constructs) <m4_shiftn>: Mention that
1148 count must be positive.
1150 * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Fix typo.
1151 Reported by Ralf Wildenhues.
1153 2007-10-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1155 * doc/autoconf.texi (Portable Shell): Improve description of zsh
1156 4.x function subshell bug with exit and trap.
1158 2007-10-15 Eric Blake <ebb9@byu.net>
1160 Enhance AS_HELP_STRING.
1161 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't expand arguments,
1162 and reduce number of expansions.
1163 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Rework to use m4_expand,
1164 and to take indent and wrap column numbers.
1165 * tests/m4sh.at (AS@&t@_HELP_STRING): Update the test.
1166 * doc/autoconf.texi (Pretty Help Strings): Document details about
1168 (Text processing Macros): Minor tweaks.
1169 * NEWS: Document this change.
1171 Fix 2007-10-03 regression with AT_SETUP([a, b]).
1172 * lib/m4sugar/m4sugar.m4 (m4_expand): New macro.
1173 (m4_text_box): Use it.
1174 * lib/autotest/general.m4 (AT_SETUP): Use it.
1175 * lib/m4sugar/m4sh.m4 (_AS_RUN): Use it.
1176 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Test this.
1177 * NEWS: Revert caveat about semantics change on comma.
1178 * doc/autoconf.texi (Evaluation Macros): Document m4_expand.
1180 2007-10-13 Eric Blake <ebb9@byu.net>
1182 Change m4_join to match libtool's ltsugar semantics.
1183 * lib/m4sugar/m4sugar.m4 (m4_join): Just define this, not defun.
1184 Ignore empty arguments, using...
1185 (_m4_join): ...this new helper.
1186 * tests/m4sugar.at (m4@&t@_join): New test.
1187 * doc/autoconf.texi (Text processing Macros): Document new
1188 semantics of m4_join.
1190 Make AC_PREREQ faster and more robust.
1191 * lib/m4sugar/m4sugar.m4 (m4_ignore, m4_unquote): New macros.
1192 (m4_version_prereq): Inline constant expansions.
1193 (m4_list_cmp): Reduce number of expansions, by avoiding m4_case.
1194 Rewrite in terms of [] list, not () list.
1195 (_m4_list_cmp, _m4_version_unletter): New helper macros.
1196 (m4_version_unletter): Write wrapper around new implementation to
1197 preserve old semantics.
1198 (m4_version_compare): Pass correct type of list, and avoid
1199 overhead of flattening expressions too early.
1200 (m4_do): Move to be near other quoting macros.
1201 (m4_max, m4_min): Always result in decimal output.
1202 * doc/autoconf.texi (Looping constructs): Add m4_car, m4_cdr.
1204 (Evaluation Macros): ...here. Add m4_ignore, m4_unquote.
1205 (Text processing Macros): Move m4_version_compare...
1206 (Number processing Macros): ...to this new node; document m4_cmp,
1207 m4_list_cmp, m4_sign, m4_max, m4_min.
1208 * tests/m4sugar.at (m4@&t@_version_compare): Enhance test, to pick
1209 up on bugs fixed by this patch.
1210 * NEWS: Document new macros.
1212 2007-10-12 Eric Blake <ebb9@byu.net>
1214 * doc/autoconf.texi (Text processing Macros): Fix bad merge.
1215 (Reporting Messages): Fix underfull hbox.
1217 Some more m4sugar documentation.
1218 * lib/m4sugar/m4sugar.m4: Clean up macro order.
1219 * doc/autoconf.texi (Programming in M4): Lighten the warning on
1220 using m4sugar; it is stabilizing and useful.
1221 (Redefined M4 Macros): Touch up wording on M4 builtins; sort. Add
1222 m4_divert, m4_undivert, __file__, __line__, __oline__.
1223 (Diagnostics): New node, documenting m4_assert, m4_errprintn,
1224 m4_fatal, m4_location, m4_warn.
1225 (Diversion support): New node, documenting m4_divert_push,
1226 m4_divert_pop, m4_divert_text, m4_divert_once.
1227 (Text processing Macros): Sort. Add m4_flatten, m4_join,
1228 m4_newline, m4_strip, m4_text_box, m4_text_wrap.
1229 (Reporting Messages): Mark AC_DIAGNOSE, AC_WARNING, and AC_FATAL
1231 (Printing Messages): Change cross-reference.
1233 Document interaction of recent m4_append change with Libtool HEAD.
1234 * lib/m4sugar/m4sugar.m4 (m4_append): Document semantics change.
1235 (m4_append_uniq): Add new parameters, based on lt_append_uniq.
1236 * tests/m4sugar.at (m4@&t@_append): New test.
1237 * NEWS: Document semantics change.
1238 * doc/autoconf.texi (Text processing Macros): Likewise.
1240 s/AC_VERSION/AC_AUTOCONF_VERSION/.
1241 * doc/autoconf.texi (Versioning): Change the name.
1243 * lib/autoconf/general.m4 (AC_AUTOCONF_VERSION): Likewise.
1244 * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Likewise.
1245 Suggested by Ralf Wildenhues.
1248 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
1249 (_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
1251 * doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
1252 (Programming in M4sh, Macro Names): Beef up description of
1253 namespaces reserved for autoconf.
1254 * configure: Regenerate.
1256 2007-10-12 Eric Blake <ebb9@byu.net>
1257 and Paolo Bonzini <bonzini@gnu.org>
1259 Speed up execution of subset of testsuite.
1260 * lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
1261 (AT_INIT) <at_func_test>: New shell function.
1262 (AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
1263 (AT_INIT) <at_test_source> New variable, names file that holds
1264 current test function definition.
1265 (AT_SETUP): Start the shell function at_func_test_#, into the
1266 TEST_FUNCTIONS diversion.
1267 (AT_CLEANUP): End the shell function. Simplify the TESTS
1268 diversion to invoke the function.
1270 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1272 * .gitignore: Ignore tags and TAGS files.
1274 2007-10-11 Eric Blake <ebb9@byu.net>
1276 Config header generation followup.
1277 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
1278 which won't work with the preprocessor nor with the awk
1280 * tests/torture.at (Define a newline): Test raw newline detection,
1282 * doc/autoconf.texi (Defining Symbols): Document recent change to
1283 allow backslash-newline.
1286 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1288 * lib/autotest/general.m4: Put function braces in separate line.
1290 2007-10-10 Eric Blake <ebb9@byu.net>
1292 Avoid some overhead from m4_defn and m4_popdef.
1293 * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
1294 pass on first argument, since we are documented that way.
1295 (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
1296 check where it is safe to do so.
1297 (m4_append): Likewise, and quote the separator.
1298 (m4_text_box): Likewise, and avoid regex, also be robust to
1299 expansion and quadrigraphs.
1301 Another AC_DEFINE speedup.
1302 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
1304 (_AC_DEFINE_Q): ...here, and only do it once.
1305 * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
1306 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
1307 introduced 2007-10-05.
1310 * lib/autoconf/general.m4: Use consistent indentation.
1311 * configure: Regenerate.
1313 * NEWS: Announce recent round of speed optimizations.
1315 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1317 * NEWS: Announce shell function usage in Autotest.
1319 2007-10-10 Eric Blake <ebb9@byu.net>
1320 and Paul Eggert <eggert@cs.ucla.edu>
1322 Reduce number of forks at startup.
1323 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
1325 * configure: Regenerate.
1327 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1328 and Paul Eggert <eggert@cs.ucla.edu>
1330 Use awk for config header generation.
1331 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
1332 (_AC_OUTPUT_HEADERS_PREPARE): New macro. Rewrite of the config
1333 header machinery for use with awk and placement outside the main
1334 config.status instantiation loop. Retain multi-line defines
1335 through backslash-newline combinations, do not split the script
1337 (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
1338 (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
1340 (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
1343 * tests/torture.at (#define header templates): Extend test by
1344 several more cases: white space before and after `#', macros
1345 with parameters in config.hin and as defines, multi-line macro
1347 (Torturing config.status): Use a define value twice the length
1348 in order to exercise the awk literal string limit.
1349 (Substitute and define special characters): Also try special
1350 delimiter, to exercise the special-case code.
1351 Suggestion by Eric Lemings.
1353 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1355 * tests/local.at (AT_COPYRIGHT): Bump copyright years.
1357 2007-10-09 Eric Blake <ebb9@byu.net>
1359 Improve header of bin/autoconf.
1360 * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
1361 * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
1363 * bin/autoconf.as: Put copyright up front in generated file.
1365 * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
1367 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1369 * doc/install.texi (Basic Installation): Document `uninstall'.
1370 * INSTALL: Regenerate.
1371 Suggestion by Roberto Bagnara.
1373 2007-10-08 Paul Eggert <eggert@cs.ucla.edu>
1375 * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
1377 Adjust doc. to match latest gnulib.
1378 * build-aux/texinfo.tex: Sync from gnulib.
1379 * doc/standards.texi: Likewise.
1380 * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
1381 Documentation License" and remove the subsection. This simplifies
1382 the manual a bit and is more like what other GNU projects do
1385 2007-10-08 Eric Blake <ebb9@byu.net>
1388 * configure: Regenerate.
1390 Fix regression in m4_text_wrap from 2007-10-05.
1391 * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
1393 (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
1395 * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
1396 * tests/autotest.at (Long test title, Longer test title): Test
1397 this fix, beyond what AS_HELP_STRING already tests.
1399 Avoid m4 warnings on bad m4_format usage.
1400 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
1402 * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
1403 enough arguments are provided.
1405 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
1407 * doc/autoconf.texi (Shell portability): Document shell function
1410 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
1412 * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
1413 at_func_check_skip, at_func_check_status, at_func_filter_trace,
1414 at_func_log_failure shell functions. Use test -s to avoid
1415 useless diff invocations.
1416 (at_func_check_newline): Renamed from at_check_newline.
1417 (AT_SETUP): Define AT_captured_files to empty.
1418 (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
1419 (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir. Use all
1420 the shell functions.
1422 2007-10-05 Paul Eggert <eggert@cs.ucla.edu>
1424 Don't assume "." is writeable, for commands like "autoconf --version".
1425 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
1426 different heuristic instead, one that doesn't rely on creating
1429 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
1432 2007-10-05 Jim Meyering <meyering@redhat.com>
1434 Avoid makeinfo warnings.
1435 * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
1436 (Looping constructs): Add ` ' after @defmac'd name, m4_do.
1438 2007-10-05 Eric Blake <ebb9@byu.net>
1440 Resolve Python issue 1676135 regarding configure directory args.
1441 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
1442 slashes from directory arguments.
1443 * tests/base.at (configure directories): New test.
1444 * doc/autoconf.texi (Installation Directory Variables): Document
1448 Reported by Björn Lindqvist.
1450 Provide better short-circuiting operation.
1451 * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
1452 (m4_text_wrap): Use it. Also avoid useless m4_for.
1453 * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
1455 (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
1456 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
1458 * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
1459 documentation. Sort m4_mkstemp, m4_undefine. Move m4_ifndef...
1460 (Conditional constructs): ...here, to new section. Also document
1461 m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
1462 m4_bpatsubsts, and m4_default.
1463 (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
1466 2007-10-04 Eric Blake <ebb9@byu.net>
1468 Fix recent testsuite failures.
1469 * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
1470 that must not be re-expanded after AS_ESCAPE.
1471 * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
1472 checking if it is an identifier.
1475 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
1476 leading whitespace, as it caused space-tab in testsuite.
1477 (AT_INIT): Avoid trailing newlines in testsuite.
1479 One more round of m4_foreach_w speedups.
1480 * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
1482 (_m4_split): Avoid useless expansions inside definition. Move
1483 argument defaulting...
1484 (m4_split): ...here. Change alternate quote to something less
1485 likely to appear in $1. Also, special case space as regexp...
1486 (m4_foreach_w): ...to avoid regexp on single-term list.
1487 (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
1488 useless expansions inside definition.
1489 * tests/m4sugar.at (m4@&t@_split): Add tests.
1491 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
1493 * general.m4 (AT_INIT): Add at_check_newline function.
1494 (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
1495 (_AT_CHECK): Don't use at_trace_this.
1497 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
1499 Fix previous commit.
1500 * lib/autotest/general.m4 (AT_LINE): Fix regex.
1502 2007-10-04 Eric Blake <ebb9@byu.net>
1504 Speed up building testsuites.
1505 * lib/autotest/general.m4 (AT_LINE): Only use regex when file
1506 changed since last time. Use simpler regex.
1508 2007-10-03 Eric Blake <ebb9@byu.net>
1510 Optimize checking for identifiers.
1511 * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
1512 macros, more efficient than regex on m4_re_word.
1513 * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
1514 Rewrite in terms of new macro. As a side-effect, AC_DEFINE can
1516 * configure: Regenerate.
1518 Remove some XFAILs, and make AT_SETUP output line up.
1519 * lib/autotest/general.m4 (AT_SETUP): Only expand description
1520 once; thereafter, use its expansion, properly quoted.
1521 * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
1522 expansion with arguments, and check for aligned output.
1523 (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
1524 Add a test for macros with parameters.
1525 * NEWS: Document the semantics change.
1526 * tests/base.at: Fix test titles containing commas.
1527 * tests/compile.at: Likewise.
1528 * tests/tools.at: Likewise.
1529 * tests/torture.at: Likewise.
1531 Another round of regex avoidance.
1532 * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
1533 (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
1534 (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
1535 (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
1536 character ranges useful in m4_translit.
1537 (m4_toupper, m4_tolower): Optimize the constant portion of
1539 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
1540 creates $, and reject [] thanks to AS_TR_SH rewrite.
1541 (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
1542 (AS_ESCAPE): Factor...
1543 (_AS_ESCAPE): ...into new macro, with second argument required.
1544 Avoid regex in common case.
1545 (_AS_QUOTE): Use new macro.
1548 * lib/autoconf/types.m4: Avoid space-tab.
1549 * lib/m4sugar/m4sh.m4: Use tab consistently.
1551 2007-10-03 Paul Eggert <eggert@cs.ucla.edu>
1553 * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
1554 (m4_shiftn): Remove no-longer-needed optimization. Perhaps we
1555 should remove m4_shiftn entirely?
1556 (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
1557 Prefer m4_shift2 and m4_shift3 to m4_shiftn.
1558 * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
1559 * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
1560 * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
1562 2007-10-03 Eric Blake <ebb9@byu.net>
1565 * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
1567 2007-10-02 Eric Blake <ebb9@byu.net>
1569 Optimize appending text.
1570 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
1574 * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
1575 lot of hot spots; optimize it for 2 and 3 shifts.
1577 Optimize AC_PREREQ and other m4sugar numerics.
1578 * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
1579 (m4_cmp): Compare arbitrary expressions, without overflow.
1580 (m4_version_unletter): Also recognize capital letters.
1581 (m4_version_compare): Avoid regex when splitting version number
1584 2007-10-01 Eric Blake <ebb9@byu.net>
1586 Once again, reject IRIX m4.
1587 * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
1588 implementations that ignore --trace.
1589 * configure: Regenerate.
1590 Reported by Ralf Wildenhues.
1592 Fix regression in AC_DEFINE([macro(with_arg)]).
1593 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
1594 quotes with a careless m4_substr.
1596 2007-09-30 Eric Blake <ebb9@byu.net>
1598 Allow nameless iteration.
1599 * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
1601 * tests/m4sugar.at (myvar): Test this.
1603 2007-09-29 Eric Blake <ebb9@byu.net>
1605 Speed optimization: avoid m4 regex when other algorithms work.
1606 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
1607 (_AS_QUOTE_IFELSE): Likewise.
1608 * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
1609 (m4_bpatsubsts): Split...
1610 (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
1612 (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
1613 (m4_qlen): Optimize on short strings, to avoid regex.
1614 (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
1615 * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
1616 (AC_DEFINE_TRACE): Likewise.
1618 2007-09-28 Eric Blake <ebb9@byu.net>
1620 Oops - my earlier 'optimization' caused a regression.
1621 * tests/local.at (AT_CHECK_M4): Fix typo.
1623 2007-09-27 Eric Blake <ebb9@byu.net>
1624 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1626 Catch even more common AC_CACHE_VAL mistakes.
1627 * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
1628 lacks '_cv_', or if AC_SUBST appears in body.
1629 * tests/base.at (AC_CACHE_CHECK): Test this change.
1631 2007-09-27 Stepan Kasal <kasal@ucw.cz>
1632 and Eric Blake <ebb9@byu.net>
1634 Autotest no longer caters to Ultrix redirection limitation.
1635 * doc/autoconf.texi (Writing testsuite.at): Remove the
1636 limitation that the first parameter of AT_CHECK cannot
1637 contain redirection.
1638 (File Descriptors): Mention that Ultrix limitation is no longer a
1639 show-stopper in modern code.
1640 * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
1641 parameter is `stderr' or `experr'. Optimize if it was `ignore'.
1642 * lib/autotest/general.m4 (AT_CHECK): Update comment.
1644 2007-09-27 Eric Blake <ebb9@byu.net>
1646 Squelch changeword in m4sugar.
1647 * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
1648 feature of m4 1.4.x.
1650 Configure whitespace touchups.
1651 * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
1652 installation directories, and avoid TAB, in configure --help
1654 * configure.ac: Avoid extra trailing newline.
1655 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
1656 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
1657 config.status --help output.
1658 * configure: Regenerate.
1660 Fix underquotation in AS_HELP_STRING.
1661 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
1663 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
1664 first-prefix argument.
1665 * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
1666 * NEWS: Document AS_HELP_STRING fix.
1668 Autotest formatting touchups.
1669 * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
1671 (PATH): Simplify computation of new PATH.
1673 2007-09-26 Eric Blake <ebb9@byu.net>
1675 Fix testsuite breakage in last patch.
1676 * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
1678 * tests/torture.at (@%:@define header templates): Rename, so that
1679 output lines up correctly.
1681 More font-lock happiness.
1682 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
1685 2007-09-25 Eric Blake <ebb9@byu.net>
1688 * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
1689 * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
1691 Improve documentation of M4 parameter expansion.
1692 * doc/autoconf.texi (Quoting and Parameters): New section.
1693 (Quotation and Nested Macros): Improve wording.
1695 Improve C99 detection.
1696 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
1697 avoid deprecation warning with icc.
1699 Reported by Ted Bullock.
1701 2007-09-24 Jim Meyering <jim@meyering.net>
1703 Whenever possible, use the vertical bar as sed delimiter.
1704 * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
1706 * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
1707 [ac_dir_suffix]: Use "|", not "," as sed delimiter.
1708 * tests/mktests.sh (as_me): Likewise.
1709 * lib/freeze.mk (check-forbidden-patterns): Likewise.
1710 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
1711 * configure: Regenerate.
1712 * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
1713 * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
1714 in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
1715 This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
1717 2007-09-22 Jim Meyering <jim@meyering.net>
1720 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
1721 2004-05-31 change also with a comment in the code.
1723 2007-09-20 Eric Blake <ebb9@byu.net>
1725 More contribution housekeeping.
1727 * AUTHORS: Sort, reflect recent assignment from Helge Deller.
1729 Ignore additional files, when copying cross-repository.
1730 * .gitignore: Ignore CVS directories, emacs edits.
1731 * .cvsignore: Ignore .git directory, emacs edits.
1733 2007-09-15 Eric Blake <ebb9@byu.net>
1735 Provide AC_VERSION, not m4_AUTOCONF_VERSION.
1736 * doc/autoconf.texi (Text processing Macros): Remove mention of
1737 m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
1739 (Notices): Move AC_PREREQ...
1740 (Versioning): ...to this new section, alongside the new AC_VERSION
1741 alias for the undocumented m4_PACKAGE_VERSION.
1742 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
1743 * lib/autoconf/general.m4 (AC_VERSION): New macro.
1744 * NEWS: Update to match this rename.
1745 * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
1747 * tests/tools.at (autoconf: AC_VERSION): New test.
1748 Suggested by Paolo Bonzini and Benoit Sigoure.
1750 2007-09-14 Eric Blake <ebb9@byu.net>
1752 Prepare for conversion to git.
1753 * doc/.cvsignore: Avoid multiple listings on one line.
1754 * bin/.cvsignore: Likewise.
1755 * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
1756 lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
1757 lib/autoscan/.gitignore, lib/autotest/.gitignore,
1758 lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
1759 tests/.gitignore: New files, identical to .cvsignore counterpart.
1761 2007-09-13 Eric Blake <ebb9@byu.net>
1764 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
1766 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
1767 * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
1768 * configure: Regenerate.
1770 Clean up 'make dist' of previous patch.
1771 * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
1772 (CLEANFILES): Don't clean the stamp, since we distribute the
1773 generated files pre-built.
1774 (MAINTAINERCLEANFILES): Clean it here instead.
1775 * tests/Makefile.in: Regenerate.
1777 Avoid parallel 'make check' issue.
1778 * tests/Makefile.am (mktests.stamp): New witness.
1779 (TESTSUITE_GENERATED_AT): Use it.
1780 (CLEANFILES): Clean the witness.
1781 * tests/.cvsignore (mktests.stamp): Ignore the witness.
1783 Document another awk pitfall.
1784 * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
1785 limitation of field variables in END.
1786 Reported by Gary V. Vaughan.
1788 * AUTHORS: Add missing entries.
1790 2007-09-12 Eric Blake <ebb9@byu.net>
1792 Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
1793 * doc/autoconf.texi (Text processing Macros): Document
1794 m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
1795 (Redefined M4 Macros): Document m4_ifndef.
1796 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
1797 can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
1798 used it while it was undocumented.
1799 * NEWS: Document this change.
1800 * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
1801 * lib/m4sugar/Makefile.in: Regenerate.
1802 * tests/m4sugar.at (m4@&t@_version_compare): New test.
1803 Reported by Bruno Haible.
1805 * doc/autoconf.texi (Generic Compiler Characteristics): Add
1806 missing index entries.
1808 2007-09-11 Eric Blake <ebb9@byu.net>
1810 Centralize all system extensions checks.
1811 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
1812 from AC_AIX, AC_GNU_SOURCE, AC_MINIX. Add Interix support.
1813 (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
1814 AC_USE_SYSTEM_EXTENSIONS.
1815 (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
1816 (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
1817 * doc/autoconf.texi (Posix Variants): Reword this section,
1818 emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
1819 rather than a series of system-specific checks.
1820 (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
1822 * NEWS: Document this change.
1824 Reported by Martin Koeppe.
1826 2007-09-08 Eric Blake <ebb9@byu.net>
1828 Clean up obsolete macros references.
1829 * doc/autoconf.texi: Add anchors to support better
1831 (Particular Structures): Move obsolete macros descriptions...
1832 (External Software): Likewise.
1833 (Package Options): Likewise.
1834 (Obsolete Macros): ...to here. Add cross-references to
1835 documentation on replacements.
1836 * NEWS: Mention that these macros have been obsolete for a while
1837 now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
1839 Improve M4 path searching during configure.
1840 * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
1842 (_AC_PATH_PROG_FEATURE_CHECK): Rename...
1843 (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
1844 parameter, and kill side effects.
1845 (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
1846 (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
1847 * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
1849 (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
1850 allow bootstrapping with autoconf 2.61.
1851 * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
1852 * configure: Regenerate.
1853 * doc/autoconf.texi (Generic Programs): Document new macro.
1854 * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
1856 * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
1857 * NEWS: Document the change.
1859 Reported by Hans Aberg.
1861 * doc/autoconf.texi (Generic Programs): Fix typo.
1863 2007-09-06 Eric Blake <ebb9@byu.net>
1865 * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
1866 :, and make it clear that optional @var{path} defaults to $PATH.
1867 (Erlang Compiler and Interpreter): Likewise.
1870 * doc/autoconf.texi: Avoid lines > 80 columns when possible.
1871 Reword some paragraphs to avoid overfull, underfull hbox
1872 warnings. Add index entries to avoid overfull vbox warnings.
1874 2007-09-05 Eric Blake <ebb9@byu.net>
1876 * NEWS: Adjust wording for AC_CONFIG_LINKS.
1877 Reported by Ralf Wildenhues.
1879 2007-09-03 Eric Blake <ebb9@byu.net>
1881 * NEWS: Document fixes that have been applied since 2.61a.
1884 * THANKS: Update, and convert to UTF-8 encoding.
1885 * AUTHORS: Likewise.
1887 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1889 * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
1890 names beginning with `-' again.
1892 2007-08-22 Stepan Kasal <kasal@ucw.cz>
1893 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1895 * doc/autoconf.texi (Defining Directories): Mention
1896 AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
1898 2007-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1900 * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
1901 here, this macro is expanded by AC_INIT. Fixes 2.60 regression.
1902 * tests/base.at (configure arguments): New test.
1904 Report by Olaf Lenz.
1906 * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
1907 arguments in comment.
1908 Report by Vincent Torri <vtorri at univ minus evry dot fr>.
1910 2007-08-20 Benoit Sigoure <tsuna@lrde.epita.fr>
1912 * doc/autoconf.texi (File System Conventions): Index the proper
1913 way of detecting absolute file names.
1915 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1917 * build-aux/config.guess, build-aux/config.sub,
1918 build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
1919 build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
1920 doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
1921 * doc/autoconf.texi (GNU Free Documentation License): Adjust for
1922 sectioning change in fdl.texi.
1924 * bin/autoconf.as: Update --version output to match current GCS.
1925 * bin/autoheader.in: Likewise.
1926 * bin/autom4te.in: Likewise.
1927 * bin/autoreconf.in: Likewise.
1928 * bin/autoscan.in: Likewise.
1929 * bin/autoupdate.in: Likewise.
1930 * bin/ifnames.in: Likewise.
1932 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1934 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
1935 file to itself if source and build trees coincide.
1936 * tests/torture.at (AC_CONFIG_LINKS and identical files): New
1938 Report by Sebastian Freundt <hroptatyr@gna.org>.
1940 2007-07-20 Paul Eggert <eggert@cs.ucla.edu>
1942 Reword the copyright notices to match what's suggested in GPLv3.
1943 In ChangeLog files, use more-permissive notice rather than GPL, as
1944 per usual GNU standards these days.
1946 2007-07-13 Paul Eggert <eggert@cs.ucla.edu>
1948 * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
1949 limitation reported by Leo Moisio in
1950 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
1952 2007-07-03 Paul Eggert <eggert@cs.ucla.edu>
1954 * COPYING: Update to GPLv3. All uses changed.
1956 2007-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1957 and Paul Eggert <eggert@cs.ucla.edu>
1959 * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
1962 2007-06-17 Noah Misch <noah@cs.caltech.edu>
1964 * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
1965 * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
1966 `srcdir' as subdirectory of `builddir'.
1968 2007-06-13 Noah Misch <noah@cs.caltech.edu>
1970 * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
1971 * tests/autotest.at (srcdir propagation): New test.
1973 Reported by Mike Frysinger.
1975 2007-06-13 Paul Eggert <eggert@cs.ucla.edu>
1977 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
1978 Problem reported by Fred Kreek in
1979 <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
1980 * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
1981 (Macro Names, Defining Directories): Don't mention PATH as a name
1982 for a fully qualified file name, as this usage violates the GNU
1983 coding standards and we shouldn't recommend it.
1985 * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
1986 string and then assume shell builtins like "test" will work.
1988 2007-06-12 Noah Misch <noah@cs.caltech.edu>
1990 * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
1991 not a valid shell variable name.
1992 * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
1993 * tests/torture.at (AC_SUBST: variable name validation): New test.
1994 Reported by Andreas Schwab.
1996 2007-06-04 Noah Misch <noah@cs.caltech.edu>
1998 * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
1999 works with both C and C++.
2001 2007-06-03 Noah Misch <noah@cs.caltech.edu>,
2002 Bruno Haible <bruno@clisp.org>
2004 * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
2007 2007-05-31 Paul Eggert <eggert@cs.ucla.edu>
2009 * doc/autoconf.texi (Particular Types): Give example of use for
2012 2007-05-29 Stepan Kasal <kasal@ucw.cz>
2014 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
2016 2007-05-28 Paul Eggert <eggert@cs.ucla.edu>
2018 * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
2019 define HAVE_INT8_T, and likewise for similar macros.
2020 Problem reported by Patrick Welche in
2021 <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
2023 2007-05-25 Noah Misch <noah@cs.caltech.edu>
2025 * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
2027 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
2029 * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
2030 choice, since that's what we do with --enable-largefile etc.
2031 Redo indenting and assignments to simplify things a bit, and make
2032 the parens work with Emacs.
2034 * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
2035 in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
2038 2007-05-21 Noah Misch <noah@cs.caltech.edu>
2040 * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
2041 * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
2043 2007-05-21 Bruno Haible <bruno@clisp.org>
2045 * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
2046 * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
2047 * doc/autoconf.texi (Generic Compiler Characteristics): Move
2048 renamed AC_OPENMP documentation here, from "C compiler".
2049 Mention C++ and Fortran.
2051 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
2053 * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
2055 2007-05-21 Bruno Haible <bruno@clisp.org>
2057 * NEWS: Mention AC_C_OPENMP.
2058 * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
2059 * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
2060 Based in part on Steven G. Johnson's investigations for the AX_OPENMP
2061 macro in the Autoconf macro archive.
2063 2007-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2065 * bin/autom4te.in: Fix typos.
2067 2007-05-16 Noah Misch <noah@cs.caltech.edu>
2069 * bin/autoconf.as: Handle `-' just like other input files.
2070 * bin/autom4te.in (parse_args): Pass `-' through.
2071 (handle_output): Skip the forbidden token search if we read from stdin.
2072 (up_to_date): Always treat stdin as out of date.
2073 * tests/tools.at (autoconf: input from stdin): New test.
2074 (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
2076 2007-05-16 Stepan Kasal <kasal@ucw.cz>
2078 * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
2079 parameters for AT_CLEANUP.
2080 * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
2082 2007-05-14 Paul Eggert <eggert@cs.ucla.edu>
2084 * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
2085 * doc/autoconf.texi (C Compiler): Likewise.
2087 2007-05-14 Noah Misch <noah@cs.caltech.edu>
2089 * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
2091 2007-05-09 Stepan Kasal <kasal@ucw.cz>
2093 * doc/autoconf.texi: Direntry for "autoconf Invocation"
2094 renamed to "autoconf-invocation"
2096 * doc/autoconf.texi (Caching Results): The CACHE-ID variable
2097 in the examples should not use the internal "ac_" prefix.
2099 2007-05-05 Noah Misch <noah@cs.caltech.edu>
2101 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
2102 * doc/autoconf.texi ($@, case): Document Zsh limitations.
2104 2007-05-03 Stepan Kasal <kasal@ucw.cz>
2106 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
2107 Reorganize the comments before and in the macro.
2109 2007-05-02 Stepan Kasal <kasal@ucw.cz>
2111 * lib/autoconf/lang.m4, lib/autoconf/c.m4,
2112 lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
2113 section titles and other comments; no code change.
2115 2007-05-01 Kevin Ryde <user42@zip.com.au>
2117 * doc/autoconf.texi (Particular Programs): Typo
2118 @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
2120 2007-04-30 Paul Eggert <eggert@cs.ucla.edu>
2122 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
2123 'configure' will fail if the shell lacks proper support for shell
2124 functions. Suggested by RMS.
2126 2007-04-29 Paul Eggert <eggert@cs.ucla.edu>
2128 * doc/autoconf.texi (Limitations of Builtins): Correct the warning
2129 about Solaris /bin/printf '%010000x' 123. Problem reported by
2132 2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
2134 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
2135 for a.* when searching for executables, as this prevents users
2136 from having files like a.c. Problem reported by Ralf Wildenhues in:
2137 http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
2138 This fixes a problem introduced on 2000-12-19.
2140 2007-04-26 Paul Eggert <eggert@cs.ucla.edu>
2142 * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
2143 /bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko
2146 2007-04-12 Paul Eggert <eggert@cs.ucla.edu>
2148 * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
2149 AC_CHECK_TYPE, AC_CHECK_TYPES.
2150 * doc/autoconf.texi (Generic types): C types must be type-names
2151 (the C terminology), not type-ids (the C++ term). C++ types
2152 must not be anonymous.
2153 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
2154 for C++; this drops support for anonymous struct and union types,
2155 which were problematic anyway.
2156 * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
2159 2007-04-12 Jim Meyering <jim@meyering.net>
2161 * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
2163 2007-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2165 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
2166 to prefer a link source from the build tree, if it exists.
2167 Report by Pallav Gupta <pallavgupta@gmail.com>.
2169 2007-04-11 Paul Eggert <eggert@cs.ucla.edu>
2171 * doc/autoconf.texi (Generic Types): Document the restrictions
2172 on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
2173 (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
2174 with objects too. Document the restrictions on its use.
2175 Document the restrictions on AC_CHECK_ALIGNOF's type argument.
2176 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
2177 For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
2178 works but the latter doesn't, then it's a valid type.
2179 This lets people use function types and so forth.
2180 For C++ there doesn't seem to be a simple solution, so leave it alone.
2181 (AC_CHECK_SIZEOF): Allow argument to be a variable.
2182 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
2183 AC_CHECK_TYPE; that wasn't documented or necessary.
2185 2007-04-11 Stepan Kasal <kasal@ucw.cz>
2187 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
2188 when cross-compiling.
2190 2007-04-11 Stepan Kasal <kasal@ucw.cz>
2192 * doc/autoconf.texi (External Software): Fix a typo in the
2195 2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2197 * doc/autoconf.texi (External Software, Package Options):
2198 Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
2200 2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
2202 * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
2203 obsolescent. Suggested by Bruno Haible.
2204 * NEWS: Document this.
2206 2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
2208 * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
2209 (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
2210 default still has the problem. Problem reported by Bruce Korb.
2212 2007-03-28 Stepan Kasal <kasal@ucw.cz>
2213 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2215 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
2216 comment in the generated config.status.
2218 2007-03-27 Stepan Kasal <kasal@ucw.cz>
2220 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
2222 2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
2224 * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
2225 command and case statements to make it a bit clearer and describe
2228 2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
2230 * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
2231 checks for unsigned long long int.
2233 2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
2235 * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
2236 nonstandard grep R.E. escape sequences.
2238 2007-03-17 Jim Meyering <jim@meyering.net>
2240 * doc/autoconf.texi: Adjust grammar around use of "heuristics".
2241 (Limitations of Usual Tools): Also list \< and \>, and mention that
2242 HP-UX's grep, like the one from Solaris, does not support that syntax.
2244 2007-03-09 Stepan Kasal <kasal@ucw.cz>
2246 * doc/autoconf.texi (Specifying Names): `--host' does not
2247 change the build type.
2249 2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
2251 * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
2252 suggests AC_CONFIG_HEADERS.
2253 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
2254 AC_CONFIG_HEADERS. Problem reported by
2257 2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
2259 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
2260 Problem reported by Paolo Bonzini in:
2261 http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
2262 * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
2263 universal binaries. Problem reported by Elias Pipping.
2265 2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
2267 * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
2268 * doc/autoconf.texi (C Compiler): Document this. There is a new
2269 extra argument ACTION-IF-UNIVERSAL.
2270 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
2271 Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
2272 Reindent for sanity's sake.
2274 2007-02-24 Eric Blake <ebb9@byu.net>
2276 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
2278 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
2279 * lib/autotest/general.m4 (AT_INIT): Likewise.
2280 (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
2282 2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2284 * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
2285 status of rm so we know when it failed.
2286 If cleaning of test dir failed before running the test, warn.
2287 Output the line separator in verbose mode before the warning
2288 to make clear the warning belongs to the following test.
2290 2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
2292 * doc/autoconf.texi (Parentheses): Mention problem with (( in
2295 2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2296 and Paul Eggert <eggert@cs.ucla.edu>
2298 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
2299 errors introduced in last change.
2301 2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
2303 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
2304 an actual carriage return. Use "ac_cr" to contain the actual
2306 * doc/autoconf.texi (Limitations of Usual Tools): Document problem
2307 with traditional Awk and begin.
2308 * tests/torture.at (Limitations of Builtins): Document the problem
2309 with Bash 2.03 printf.
2310 (Substitute and define special characters):
2311 Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
2313 2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
2315 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
2316 input from /dev/null in awk test, so even Solaris /usr/bin/awk
2317 will not wait for input with a script containing only a BEGIN
2320 2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
2322 * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
2326 2007-02-02 Eric Blake <ebb9@byu.net>
2328 * NEWS: Update copyright.
2330 * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
2332 * configure.ac: Update error message.
2333 * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
2334 Reported by Gary Vaughan and Jim Meyering, and problem analyzed
2336 http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
2338 2007-01-31 Eric Blake <ebb9@byu.net>
2340 * THANKS (people): Update.
2342 2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
2344 * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
2346 (Shell Substitutions): Note problems with @{var:=value} etc.
2347 Add a new section for problems with @{#var} etc. Problem noted
2348 by Ralf Wildenhues. See:
2349 http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
2351 2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2353 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
2354 AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
2355 trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
2356 substitution will still be done by the special code.
2357 Report by Jim Meyering.
2359 * doc/autoconf.texi (File System Conventions): Mention that
2360 $PATH_SEPARATOR is for the build system only.
2361 Report by Keith Marshall.
2363 2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2365 * doc/autoconf.texi (Setting Output Variables): Mention that
2366 all non-NUL characters are ok in substituted values.
2367 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
2368 (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
2369 carriage return for $AWK, needed for BSD awk.
2370 * tests/torture.at (Substitute and define special characters):
2371 Test all 8 bit non-NUL characters.
2372 Report against Automake by Patrick Welche.
2374 2007-01-15 Stepan Kasal <kasal@ucw.cz>
2376 * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
2378 2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2380 * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
2381 early on the reader side, drop stderr of the input to avoid
2382 `broken pipe' error output; this may happen even with shell
2383 builtin `echo' of some bash versions. Reports by Ian Macdonald
2384 <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
2386 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2388 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
2389 separate items of `ac_user_opts', to avoid long lines.
2390 (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
2392 2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2394 * doc/autoconf.texi: Fix some typos.
2396 2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
2398 Fix some wording problems noted by Paolo Bonzini in:
2399 http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
2400 * doc/autoconf.texi (Signed Overflow Examples): Give more
2401 discussion about the allow_superuser_privileges example,
2402 and change it a bit to make things clearer.
2403 (Optimization and Wraparound): Clarify whether the compiler
2404 will generate an infinite loop for the example derived from
2405 Autoconf's mktime test.
2406 (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
2407 Also, clarify unsigned multiplication overflow.
2409 2007-01-04 Eric Blake <ebb9@byu.net>
2411 * bin/Makefile.am (RELEASE_YEAR): New macro.
2412 (edit): Use it to supply correct copyright year to scripts.
2413 * bin/autoconf.as (version): Use it.
2414 * bin/autoheader.in ($version): Likewise.
2415 * bin/autom4te.in ($version): Likewise.
2416 * bin/autoreconf.in ($version): Likewise.
2417 * bin/autoscan.in ($version): Likewise.
2418 * bin/autoupdate.in ($version): Likewise.
2419 * bin/ifnames.in ($version): Likewise.
2421 2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
2423 * doc/autoconf.texi (Integer Overflow): Revised based on today's
2424 feedback. The most important changes document what happens when
2425 you convert an out-of-range value to a signed integer type, and
2426 say that (sum < a) != (b < 0) reliably detects overflow when sum =
2429 * doc/autoconf.texi (Integer Overflow): Greatly expand and
2430 rewrite, taking notions from the recent discussion on the gcc and
2431 autoconf mailing lists; please see
2432 http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
2433 and follow the many links.
2434 (Integer Overflow Basics, Signed Overflow Examples):
2435 (Optimization and Wraparound, Signed Overflow Advice):
2436 (Signed Integer Division): New sections.
2438 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
2440 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
2441 preprocessor macro arguments in traced name.
2442 * doc/autoconf.texi (Defining symbols): Document longstanding
2443 support for AC_DEFINE-ing macros with arguments, and document
2444 behavior when the same variable has multiple AC_DEFINEs.
2445 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
2446 old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
2447 macros directly, giving much shorter and simpler code.
2449 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
2451 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
2452 space before "$ac_configure_args" to prevent a 'config.status
2453 --recheck' failure if ac_configure_args doesn't contain a leading
2454 space. This works around a problem with the XEmacs configure.ac,
2455 which uses the (undocumented) ac_configure_args variable
2456 inconsistently with Autoconf.
2458 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
2460 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
2461 Include <limits.h>, and use its INT_MAX to rewrite the
2462 j loop so that it does not overflow 'int'. Problem reported by
2464 <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
2465 Play it safe by shifting left by 1 rather than multiplying by 2,
2466 as GCC is less likely to optimize this away when the value
2467 is signed (when it assumes overflow leads to undefined behavior).
2468 Also, don't assume time_t uses two's complement.
2470 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2472 * tests/torture.at (Substitute a 2000-byte string): Avoid using
2473 a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
2474 dumps core on it. Report by Tim Rice.
2476 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
2478 * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
2479 --disable-option-checking to --help output even when
2480 AC_PRESERVE_HELP_ORDER is not used.
2481 (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
2482 --with argument, rather than argument with [-.] replaced by
2484 * NEWS: Fix typo in previous change; the news was in the
2487 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
2489 * NEWS: Warnings are now generated by default for unknown
2490 --enable-* and --with-* options.
2491 * doc/autoconf.texi (Option Checking): Renamed from
2492 (Configure Option Checking). Tighten up the wording a bit.
2493 (External Software, Package Options): Cross-reference to Option
2494 Checking, and use this to shorten our section.
2495 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
2496 "$x" to test "x$foo" != x.
2497 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
2498 Don't warn if $enable_option_checking is "no".
2499 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
2500 ac_unrecognized_opts to the empty string.
2501 Don't echo the unrecognized opts, as this might mishandle
2502 backslashes or leading -.
2503 (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
2504 usage next to the other --disable-FEATURE options in the
2507 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
2509 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
2510 (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
2511 Print warning for unrecognized --with and --enable options
2512 (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
2513 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
2514 Disable option checking when subdirs are configured.
2515 (AC_OUTPUT): If warnings are enabled, print warning about
2516 unrecognized --with and --enable options at the end of
2517 the configure output (as well as at the beginning).
2518 * doc/autoconf.texi (Option Checking): New node.
2519 Document new option warning functionality.
2521 2006-12-16 Eric Blake <ebb9@byu.net>
2523 * configure.ac (AC_INIT): Bump version, since 2.61a is released.
2524 * NEWS: Start news for current version.
2526 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
2528 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
2529 Define HAVE_GETMNTENT to 1, not to the empty string.
2530 Problem originally reported by Jochen Friedrich in
2531 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
2533 This change prompted by a problem report by Andrey Simonenko in
2534 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
2535 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
2536 object-like macros only, in the traditional portable character
2538 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
2539 Warn about attempts to define things that are not identifiers.
2540 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
2541 awful hack that AC_DEFINEd macro names containing parentheses.
2543 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
2545 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
2546 too drastic, even if Texinfo in theory requires it for info mode.
2548 (config.status Invocation): Renamed back from Recreating a
2550 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
2551 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
2553 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
2555 * NEWS: Version 2.61a.
2557 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
2558 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2560 * NEWS: Document changes with echo and printf, and the lack
2561 of limits on the total size of multi-line values of substituted
2562 variables, and the AC_FUNC_FSEEKO fix.
2564 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
2566 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
2567 Writing configure.ac.
2568 (Autoconf Input Layout): Renamed from configure.ac Layout.
2569 (Recreating a Configuration): Renamed from config.status Invocation.
2570 (Obsolete Recreation): Renamed from Obsolete config.status Use.
2571 (acconfig Header): Renamed from acconfig.h.
2572 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
2573 (Writing Testsuites): Renamed from Writing testsuite.at.
2574 (Autom4te Cache): Renamed from autom4te.cache.
2576 * BUGS: Remove mention of VPATH problem, since it's now documented
2577 not to be a bug in the Autoconf build procedure itself, but rather
2578 a problem with the proprietary `make' programs.
2580 * doc/autoconf.texi (Build Directories): Add a cross reference
2583 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
2584 * doc/standards.texi: Sync from gnulib.
2586 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
2587 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
2588 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
2589 generated automatically.
2591 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
2593 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
2594 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
2595 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
2597 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2599 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
2600 `CEOF$ac_eof' special marker, the awk script cannot contain a
2601 line matching `^CEOF', so this is not needed any more.
2602 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
2603 special marker in the test.
2605 2006-12-06 Stepan Kasal <kasal@ucw.cz>
2607 * tests/tools.at (autom4te preselections): Use `find -newer';
2608 remove one of the sleeps.
2610 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
2611 more readable, using ...
2612 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
2614 * doc/autoconf.texi (autoheader Invocation): Do not double-
2615 quote the parameter of `AH_BOTTOM' in the example.
2617 2006-12-05 Stepan Kasal <kasal@ucw.cz>
2619 * doc/autoconf.texi (Configuration Headers): Remove the
2620 example with multiple input files.
2621 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
2622 multiple input files.
2624 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2626 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
2627 creating the awk substitution script, handle one input line at a
2628 time, so that the maximum length of a substituted (multi-line)
2629 value is not limited by the size of the sed pattern space.
2630 The trade-off is a slightly repetitive sed script.
2631 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
2632 can only have up to 7 characters, due to Solaris 10 /bin/sed.
2633 * tests/torture.at (Substitute a 2000-byte string): Increase the
2634 test with several long lines, they should not be caught by sed
2637 * tests/tools.at (autom4te preselections): New test, to flag
2638 entries missing from autom4te.cfg.
2639 Report by David Byron <dbyron@hheld.com>.
2641 * tests/torture.at (Substitute a 2000-byte string): Actually use
2642 AC_PROG_AWK, so the last change works as intended.
2643 (Substitute and define special characters): Likewise.
2644 (Substitute a newline): Likewise.
2646 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
2647 instead of `awk' consistently.
2648 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
2649 * tests/torture.at (Torturing config.status): Test both the
2650 result of AC_PROG_AWK and plain awk.
2651 (Substitute a 2000-byte string): Likewise.
2652 (Substitute and define special characters): Likewise.
2653 (Substitute a newline): Likewise.
2655 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
2657 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
2658 can be assigned to a function pointer. Problem reported by
2659 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
2660 part of a patch by Ralf Wildenhues in that same bug report.
2662 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
2664 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
2665 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
2667 2006-12-01 Eric Blake <ebb9@byu.net>
2669 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
2670 cross-compiling from cygwin to mingw.
2671 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
2672 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
2673 to lib/autoconf/c.m4.
2675 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2677 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
2678 string for more reliable failure. Wrap the entire test that
2679 causes the broken Solaris printf to dump core, in a subshell,
2680 so the segmentation fault message is reliably suppressed.
2681 Fix shell expansion errors by using /usr/ucb/echo always;
2682 avoid an error on systems without it by another subshell.
2683 Avoid m4 expansion of `$1'. Set the zeroth argument of the
2684 subshell-$as_echo to `as_echo', for better error message.
2686 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2688 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
2689 `BASH_SOURCE' contain a newline, set them to empty, as they may
2692 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
2694 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
2695 years and is too hard to maintain now. The last straw was
2696 reported by Jerker Baeck in
2697 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
2698 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
2699 * doc/autoconf.texi (Particular Functions): Move
2700 AC_FUNC_SETVBUF_REVERSED from here...
2701 (Obsolete Macros): ... to here. Say that it does nothing now.
2702 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
2703 Turn into (almost) a no-op.
2705 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
2707 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
2708 These macros are obsolescent and new applications shouldn't need them.
2709 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
2710 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
2711 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
2712 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2713 (AC_FUNC_VPRINTF): Likewise.
2714 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
2715 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
2716 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
2718 * doc/autoconf.texi (Setting Output Variables): Mention that
2719 @VAR1@VAR2 has unspecified behavior. Problem reported by
2721 * NEWS: Mention this.
2723 * Makefile.am: Put only a single '#' into the copyright notice,
2724 so that it's also present in the output file. Standardize wording
2725 in makefile copyright notices to match GNU coding standards.
2726 * bin/Makefile.am: Likewise.
2727 * doc/Makefile.am: Likewise.
2728 * lib/Makefile.am: Likewise.
2729 * lib/freeze.mk: Likewise.
2730 * lib/autoconf/Makefile.am: Likewise.
2731 * lib/autoscan/Makefile.am: Likewise.
2732 * lib/autotest/Makefile.am: Likewise.
2733 * lib/m4sugar/Makefile.am: Likewise.
2734 * man/Makefile.am: Likewise.
2735 * tests/Makefile.am: Likewise.
2736 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
2739 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2741 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
2742 in the sed script that mangles the awk script: delete up to the
2743 first exclamation mark only.
2744 * tests/torture.at (Substitute and define special characters):
2747 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2749 Rewrite config files generation: avoid quadratic growth in
2750 the number of substituted variables by using awk instead of sed
2751 for the bulk of the substitutions.
2752 * NEWS: Mention this.
2753 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
2754 forbidden in the output (and thus input) file.
2755 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
2756 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
2757 generate just one large awk script for substitutions,
2758 eliminating much of the earlier complexity, while adding some
2759 new complexity. Only expand the substitution templates at
2760 configure time, for smaller configure script size. If
2761 _AC_SUBST_FILES are used, test 'awk' for working getline support
2762 at config.status time. If absent, interpolate through the
2763 shell. The awk script was written with much help
2764 from Paolo Bonzini and Paul Eggert.
2765 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
2766 (_AC_SED_FRAG_NUM): Likewise.
2767 (_AC_SUBST_CMDS): Renamed from...
2768 (_AC_SED_CMDS): ...this.
2769 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
2770 * tests/torture.at (Substitute a 2000-byte string): Also
2771 substitute a line with 1000 words, and a variable with several
2773 (Substitute and define special characters): Test awk special
2774 characters, and put substitution input strings `@foo@' in the
2775 output, to test that no recursion happens; test several other
2776 combinations from Paolo Bonzini.
2778 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
2780 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
2781 that replaced echo with AS_ECHO where this wasn't necessary.
2782 Problem reportd by Ralf Wildenhues.
2783 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
2784 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
2785 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
2787 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2789 * lib/freeze.mk (GREP): Removed, no need to initialize this.
2791 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
2793 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
2794 that traditional Awk lacks 3-arg "split". It has it.
2795 Mention that FS must be a single character, and a few other
2796 99-byte limits of traditional Awk.
2797 Mention that if (i in a) doesn't work with traditional Awk.
2799 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
2801 * tests/autotest.at (BSx641-newline in command):
2802 (BS-BS-newline in command, BSx640-newline in command):
2803 (Newline-CODE-BS-newline in command):
2804 (Single-quote-BS-newline in command):
2805 (Single-quote-newline-BS-newline in command):
2806 Use printf '%s\n' instead of echo, for portability to hosts
2807 where echo interprets backslashes. This will break on hosts
2808 that lack printf, but for now let's assume all such hosts
2809 are dead (if not, we should get reports of test failures).
2811 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
2813 'echo' has some portability problems, when given a first argument
2814 with a leading '-', or when given any argument containing '\'.
2815 Avoid using 'echo' in these cases.
2816 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
2817 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
2818 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2819 * lib/autotest/general.m4 (AT_INIT): Likewise.
2820 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
2821 argument might be unportable.
2822 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
2823 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
2824 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
2825 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
2826 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
2827 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
2828 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
2829 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
2830 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
2831 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
2832 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
2833 (AC_PROG_MAKE_SET): Likewise.
2834 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
2835 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
2836 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
2837 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
2838 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
2839 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
2840 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
2841 * bin/autoconf.as: Redo verbose flag implementation, as the old
2842 scheme wouldn't work with AS_ECHO.
2843 * lib/autotest/general.m4 (AT_INIT): Likewise.
2844 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
2845 Don't use ECHO_T, since ECHO_N is now reliable.
2846 * lib/autotest/general.m4 (AT_INIT): Likewise.
2847 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
2848 rather than using a here-document to put the script into a file.
2849 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
2851 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
2852 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
2853 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
2854 bug, but we might as well stop using ECHO_N and ECHO_C internally.
2855 * lib/autotest/general.m4 (AT_SETUP): Likewise.
2856 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
2857 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2858 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
2859 operand, as AS_ECHO requires. Avoid double file name expansion.
2860 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
2861 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
2862 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
2863 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
2864 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2865 Double-quote strings that would otherwise contain M4 comments.
2866 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
2868 * configure.ac (AC_INIT): Bump to 2.61a.
2871 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
2875 * configure.ac (AC_INIT): Bump to 2.61.
2878 * tests/autotest.at (Macro with backslash in a test title):
2879 Comment out for now, as this tests neither fails nor passes
2880 reliably. Problem reported by Ralf Wildenhues.
2882 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
2884 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
2885 in previous change, which caused test failures.
2887 2006-11-16 Stepan Kasal <kasal@ucw.cz>
2889 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
2890 code for --enable, --disable, --with, and --without to...
2891 (_AC_INIT_PARSE_ENABLE): ... a new macro.
2892 * doc/autoconf.texi (Package Options):
2893 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
2895 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
2897 Import these changes from config via gnulib:
2899 2006-11-15 Ben Elliston <bje@gnu.org>
2901 From Josselin Mouette <joss@debian.org>:
2902 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
2904 2006-11-08 Ben Elliston <bje@gnu.org>
2906 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
2908 2006-11-07 Steve Woodford <scw@NetBSD.org>
2909 Ben Elliston <bje@gnu.org>
2911 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
2912 * build-aux/config.sub (sh5el): New basic_machine.
2915 Import this change from coreutils:
2917 2006-02-13 Jim Meyering <jim@meyering.net>
2919 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
2922 Import this change from gnustandards via gnulib:
2924 2006-11-15 Karl Berry <karl@gnu.org>
2926 * standards.texi: core -> memory, throughout.
2927 (CPU Portability): show correct example of calling write
2928 on a char value; thanks to Paul Eggert for the code.
2929 Both of these suggestions from Eugene Y. Vasserman.
2932 Import these changes from texinfo via gnulib:
2934 2006-11-08 Karl Berry <karl@gnu.org>
2936 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
2937 as well as pdf images, since they are supported in pdftex with
2940 2006-11-05 Karl Berry <karl@gnu.org>
2942 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
2944 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
2946 * NEWS: Document the AC_ARG_WITH change.
2948 2006-11-13 Bruno Haible <bruno@clisp.org>
2950 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
2951 options, transliterate also dots to underscores.
2952 (_AC_ENABLE_IF): Transliterate also dots to underscores.
2953 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
2954 first argument may also contain dots.
2956 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
2958 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
2959 benefit of platforms like Solaris+GCC where it is common to have a
2960 non-working g++ installation.
2962 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2963 and Joel E. Denny <jdenny@ces.clemson.edu>
2964 and Paul Eggert <eggert@cs.ucla.edu>
2966 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
2967 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
2970 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
2972 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
2973 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
2974 Imported from a similar patch to gnulib by Bruno Haible.
2976 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
2978 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
2979 * doc/autoconf.texi (C Compiler): Document them.
2980 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
2981 New macros, taken from gnulib.
2983 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
2985 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
2986 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
2989 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2991 * tests/torture.at (Configuring subdirectories): Do not skip
2992 Automake 1.10 nor future Automake 11.1 (sic).
2994 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
2995 and Stepan Kasal <kasal@ucw.cz>
2997 Handle special characters in test case titles correctly.
2998 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
3000 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
3001 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
3002 argument. Extend to check titles printed by ./micro-suite and
3003 ./micro-suite -l and the title in micro-suite.log.
3004 (Backquote in a test title,
3005 Single-quote in a test title,
3006 Double-quote in a test title): Don't expect failure anymore.
3007 (Backslash in a test title): Put a non-whitespace character after the
3008 backslash so that Bourne shells might actually see it as an escape
3010 (Brackets in a test title,
3011 Pound in a test title,
3012 Comma in a test title,
3013 Quoted Macro in a test title,
3014 Macro in a test title,
3015 Macro with single-quote in a test title): New tests.
3016 (Macro with backquote in a test title,
3017 Macro with double-quote in a test title,
3018 Macro with backslash in a test title): New tests expected to fail.
3019 * tests/torture.at (#define header templates): M4-quote this title in
3020 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
3021 The visible effect was a stray [] in the testsuite output.
3023 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3025 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
3026 `trap ... 0' inside a function, for AIX sh.
3028 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
3030 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
3031 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
3032 5363) simply issues a warning when dividing by zero at compile
3033 time. Problem reported by Elias Pipping.
3035 2006-10-26 Eric Blake <ebb9@byu.net>
3038 * doc/autoconf.texi (Evaluation Macros): Improve the example to
3039 show effect on macros that expand with commas.
3040 Reported by Joel E. Denny.
3042 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3043 Also work with M4 1.4.8.
3045 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
3047 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
3050 2006-10-25 Stepan Kasal <kasal@ucw.cz>
3052 * tests/tools.at (autom4te --force): New test, verifies that
3053 `--force' always rewrites the output file.
3055 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
3057 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
3058 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
3060 2006-10-24 Stepan Kasal <kasal@ucw.cz>
3062 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
3064 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
3066 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
3067 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
3068 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
3069 reported by Nelson H. F. Beebe for Coreutils 6.4.
3071 * tests/tools.at (autoconf --trace: user macros): Remove test
3072 for tracing multiline macros, since m4 1.4.7a uses a different
3073 way to number lines. Problem reported by Ralf Wildenhues.
3075 2006-10-24 Stepan Kasal <kasal@ucw.cz>
3077 * bin/autom4te.in (handle_m4): Do not redirect stdin to
3078 /dev/null since the heuristics for interactive behaviour was
3081 * bin/autom4te.in: With --force, always refresh the output
3082 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
3084 * bin/autoconf.as: Fix the verbose message at the end.
3086 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
3088 * configure.ac (AC_INIT): Bump to 2.60c.
3091 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
3093 * NEWS: Version 2.60b.
3095 Import this change from Texinfo:
3096 2006-10-15 Karl Berry <karl@gnu.org>
3097 * build-aux/texinfo.tex: automake 1.10
3099 * NEWS: Remove AC_CACHE_CHECK_INT.
3100 * doc/autoconf.texi (Caching Results): Likewise.
3101 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
3102 AC_CACHE_CHECK_INT, since it's no longer public.
3103 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
3104 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
3106 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3108 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
3110 2006-10-19 Eric Blake <ebb9@byu.net>
3112 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
3113 (m4_maketemp): Avoid warnings with M4 1.9a.
3114 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
3116 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
3119 2006-10-16 Eric Blake <ebb9@byu.net>
3121 * doc/autoconf.texi (Setting Output Variables): Fix typo.
3123 * bin/autoconf.as (version): Reword to match GNU Coding
3125 * bin/autoheader.in (version): Likewise.
3126 * bin/autom4te.in (version): Likewise.
3127 * bin/autoreconf.in (version): Likewise.
3128 * bin/autoscan.in (version): Likewise.
3129 * bin/autoupdate.in (version): Likewise.
3130 * bin/ifnames.in (version): Likewise.
3132 2006-10-14 Stepan Kasal <kasal@ucw.cz>
3134 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
3135 looking for special shell characters.
3136 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
3137 macro defined by AS_VAR_PUSHDEF before passing it as a
3139 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
3140 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
3141 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
3142 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
3143 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
3145 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
3147 * tests/m4sh.at (AS_LITERAL_IF): New test.
3149 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
3151 (Imported from Automake.)
3152 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
3153 which incorrectly sets the mode of an existing destination
3154 directory. In some cases the unpatched install-sh could do the
3155 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
3156 system. We hope this is rare in practice, but it's clearly worth
3157 fixing. Problem reported by Alex Unleashed in
3158 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
3159 Also, don't bother to check for -m bugs unless we're using -m;
3160 suggested by Stepan Kasal.
3162 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
3164 Import this change from Automake:
3166 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
3167 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
3168 is enabled by default with gnu and gnits strictness.
3169 Report from Bruno Haible.
3171 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
3172 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
3173 gnu and gnits modes.
3175 Import this change from Config:
3177 2006-09-20 Ben Elliston <bje@gnu.org>
3178 * build-aux/config.sub (score, score-*): New.
3180 Import this change from Gnulib:
3182 2006-09-16 Karl Berry <karl@gnu.org>
3183 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
3184 to avoid sectioning errors.
3186 Import these changes from Texinfo:
3188 2006-10-04 Karl Berry <karl@gnu.org>
3189 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
3190 (\quoteexpand): rename to \rquoteexpand.
3191 (\codequoteleft): new def, to look for @set codequotebacktick.
3192 (\lquoteexpand, \quoteexpand): new defs.
3193 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
3194 (\code): must use new \...Char values, since now ` is active.
3196 2006-08-26 Karl Berry <karl@gnu.org>
3197 * build-aux/texinfo.tex (\textdegree): New command.
3199 2006-08-12 Karl Berry <karl@gnu.org>
3200 * build-aux/texinfo.tex (error \box0): smaller font.
3202 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3204 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
3206 2006-10-13 Stepan Kasal <kasal@ucw.cz>
3208 * doc/autoconf.texi (Autoheader Macros): Warn that the text
3209 added to the template can get mangled.
3211 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3213 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
3214 include the default headers, and redefine obstack_chunk_alloc
3215 and obstack_chunk_free. Fixes false failure with glibc.
3217 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
3219 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
3220 for backward compatibility with Libtool 1.5.22. Problem reported
3223 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3225 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
3227 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
3229 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
3231 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
3232 the NonStop platform.
3233 * doc/autoconf.texi (Posix Variants): Likewise.
3234 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
3236 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
3237 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
3238 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
3239 Use a better substitute, by inspecting the output of "ls"
3240 rather than just using ":".
3241 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
3242 rather than AS_EXECUTABLE_P, since we needn't worry about
3243 non-regular files here.
3245 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
3246 due to configuration hassles with this. See Tonya Underwood's report
3247 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
3248 * doc/autoconf.texi (Special Shell Variables): Likewise.
3250 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
3251 Stepan Kasal <kasal@ucw.cz>
3253 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
3254 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
3256 2006-10-11 Stepan Kasal <kasal@ucw.cz>
3258 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
3259 initialization which is not inherited through the environment
3260 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
3261 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
3263 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
3265 * doc/autoconf.texi (Limitations of Usual Tools): Describe
3266 problems with mkdir -p -m.
3268 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
3270 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
3271 comment about ac_cpp_err; it was incorrect, and anyway
3272 ac_cpp_err is being removed below.
3273 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
3274 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
3275 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
3277 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
3278 with werror_flag and conftest.err and so forth. This is more
3279 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
3280 and anyway the user shouldn't normally want to see this gorp logged.
3281 Problem reported by Ralf Wildenhues.
3282 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
3283 empty, not 'no', since the rest of the code uses 'test -z'.
3285 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
3287 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
3288 Use a single call to AC_DO_TOKENS rather than multiple, for
3290 (_AC_LINK_IFELSE): Test that resulting file is executable.
3291 Problem reported by mwoehlke in
3292 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
3294 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
3295 than creating a file to use with test -x; this is much faster.
3297 2006-10-02 Bruno Haible <bruno@clisp.org>
3299 * lib/autom4te.in (Automake-preselections): Add
3300 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
3302 2006-09-27 Stepan Kasal <kasal@ucw.cz>
3304 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
3305 standard error, `experr' should be used, not `expout'.
3307 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
3309 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
3310 fseeko testing program twice; just use the earlier result.
3311 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
3312 Set cache var to 'unknown' (not 'no') if leaving the macro unset
3313 still doesn't let the program compile.
3314 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
3317 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
3318 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
3319 include it, without including anything else.
3320 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
3322 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
3324 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3326 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
3327 `error.h', and include it, for a `error_at_line' prototype.
3328 Use a nonempty format string in the link test.
3329 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
3330 for a declaration of wait3.
3332 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
3334 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
3335 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
3336 can apply to constants too, and that it checks for macro defns.
3337 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
3338 and simply cast the identifier to void. This handles structure
3339 values. Problem reported by Ralf Wildenhues.
3340 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
3342 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3344 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
3345 structure, and function symbols.
3347 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3349 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
3352 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
3354 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
3356 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
3358 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
3359 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3361 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
3362 warnings (uninitialized value).
3363 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
3365 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
3367 (AC_STRUCT_TM): Likewise, avoid unused variables.
3369 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3371 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
3372 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
3373 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
3374 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
3375 Report by Olly Betts.
3377 2006-09-19 Eric Blake <ebb9@byu.net>
3379 * m4/m4.m4: Change copyright.
3380 * configure: Regenerate.
3381 * Makefile.in: Likewise.
3382 * bin/Makefile.in: Likewise.
3383 * doc/Makefile.in: Likewise.
3384 * lib/Makefile.in: Likewise.
3385 * lib/Autom4te/Makefile.in: Likewise.
3386 * lib/autoconf/Makefile.in: Likewise.
3387 * lib/autoscan/Makefile.in: Likewise.
3388 * lib/autotest/Makefile.in: Likewise.
3389 * lib/emacs/Makefile.in: Likewise.
3390 * lib/m4sugar/Makefile.in: Likewise.
3391 * man/Makefile.in: Likewise.
3392 * tests/Makefile.in: Likewise.
3394 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
3395 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
3396 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
3397 --error-output, to avoid warnings with M4 2.0.
3399 2006-09-19 Stepan Kasal <kasal@ucw.cz>
3401 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
3402 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
3403 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
3405 2006-09-15 Stepan Kasal <kasal@ucw.cz>
3407 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
3408 expansion of AC_CHECK_FUNCS.
3410 2006-09-14 Stepan Kasal <kasal@ucw.cz>
3412 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
3413 mistaken comment: the path has to be relative; do not use
3414 the path at runtime.
3416 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3418 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
3419 argument to `--prefix' for sub-configure scripts.
3420 Pass `--silent' to sub-configure scripts.
3421 * tests/torture.at (Configuring subdirectories): Add tests
3423 * doc/autoconf.texi (Setting Output Variables): Fix example to
3424 not show `--silent' being passed to a `configure' re-run.
3426 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
3428 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
3429 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
3430 for the existence of the directory at configure-time. That's
3431 too late, anyway. Problem reported by Stefan Seefeld.
3433 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
3434 7.1.4 /usr/bin/posix/sh described by Tim Rice in
3435 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
3437 2006-09-11 Stepan Kasal <kasal@ucw.cz>
3439 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
3440 works with GNU M4 1.4.3 again; make the normalized form
3441 match the current m4 message; fix the description.
3442 * test/tools.at (autom4te cache): Adapt to the change.
3444 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
3446 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
3447 to catch glibc bug 2821
3448 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
3450 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
3451 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
3452 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
3455 2006-09-08 Stepan Kasal <kasal@ucw.cz>
3457 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
3459 (Autoconf): ... here.
3460 (Autoscan-preselections): Delete.
3462 2006-09-07 Stepan Kasal <kasal@ucw.cz>
3464 * lib/autom4te.in (Automake-preselections): Preselect
3467 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
3469 * doc/autoconf.texi (Preset Output Variables): srcdir and
3470 top_srcdir are not necessarily relative. Problem reported
3473 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3475 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
3476 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
3477 accept files with extension `.f'. For consistency, also prefer
3479 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
3482 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3484 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
3485 of ERLANG_LIB_VER_* variables.
3486 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
3489 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
3490 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3492 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
3493 bugs of Bash 2.01 and 2.05a.
3494 (Fortran Compiler): Document that AC_PROG_CC should be called
3495 before AC_PROG_FC, due to a bug in Autoconf.
3497 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
3499 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
3500 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
3501 except the first two arguments are reversed.
3502 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
3503 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
3504 caches nor outputs a diagnostic. Suggested by Bruno Haible.
3505 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
3506 equivalent to the old AC_COMPUTE_INT.
3507 (AC_COMPUTE_INT): No longer caches or reports. New signature.
3508 All uses changed to AC_CACHE_CHECK_INT.
3509 * tests/base.at (AC_CACHE_CHECK_INT): New test.
3510 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
3512 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
3514 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
3515 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
3516 programs should use their Gnulib counterparts.
3517 * doc/autoconf.texi (Particular Functions): Likewise.
3518 (Macro Names, testsuite Invocation): Replace uses of these
3519 obsolete macros with uses of non-obsolete macros.
3521 2006-08-29 Eric Blake <ebb9@byu.net>
3523 * configure.ac (AC_INIT): Bump to 2.60b.
3526 2006-08-28 Eric Blake <ebb9@byu.net>
3528 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
3529 mistakenly swapped on 2006-08-15.
3531 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
3533 * NEWS: Version 2.60a.
3535 2006-08-25 Stepan Kasal <kasal@ucw.cz>
3537 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
3538 file created by the PGI compiler.
3540 2006-08-25 Noah Misch <noah@cs.caltech.edu>
3542 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
3545 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
3547 Fix Lex library problem reported to us by Julio Garvia.
3548 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
3549 for the default, which the user can override.
3550 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
3552 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
3553 didn't work if some values were cached but not others. Test for
3554 broken lex libraries like native ia64-hp-hpux11.22; see
3555 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
3556 work around the problem by preferring an empty LEXLIB to -lfl or
3557 -ll. Let the user set LEXLIB='' to indicate no library needed.
3559 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
3561 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
3563 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
3565 Rework to use more-modern build style.
3566 Many files are renamed; all uses of their names were changed.
3567 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
3568 * .x-sc_useless_cpp_parens: New file.
3569 * build-aux/config.guess: Renamed from config/config.guess. Update.
3570 * build-aux/config.sub: Renamed from config/config.sub. Update.
3571 * build-aux/elisp-comp: Renamed from config/elisp-comp.
3572 * build-aux/install-sh: Renamed from config/install-sh. Update.
3573 * build-aux/mdate-sh: Renamed from config/mdate-sh.
3574 * build-aux/missing: Renamed from config/missing.
3575 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
3576 * build-aux/vc-list-files: Renamed from config/vc-list-files.
3577 * config/Makefile.am: Removed.
3578 * config/mkinstalldirs: Removed.
3579 * config/move-if-change: Removed.
3580 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
3581 * Makefile.am (SUBDIRS): Remove config.
3582 (ACLOCAL_AMFLAGS): Include from m4, not config.
3583 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
3584 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
3585 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
3586 Fail if there's an error.
3587 * Makefile.cfg (move_if_change): Remove.
3588 (wget_files): Remove.
3589 (cvs_executable_files): New macro.
3590 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
3591 (executable-update): Use $(cvs_executable_files).
3592 (local-checks-to-skip): Remove.
3593 * Makefile.maint: Merge from coreutils, plus add our own changes
3594 (gzip_rsyncable): New macro.
3596 (CVS_LIST): Use build-aux/vc-list-files.
3597 (VERSION_REGEXP): New macro.
3598 (local-checks-available): Add patch-check, $(syntax-check-rules),
3600 (syntax-check-rules): Compute dynamically.
3601 (sc_cast_of_x_alloc_return_value): Work even if no source files.
3602 (sc_cast_of_alloca_return_value): Likewise.
3603 (sc_prohibit_atoi_atof): Simplify regexp.
3604 (sc_no_if_have_config_h, sc_require_config_h):
3605 (sc_prohibit_assert_without_use,
3606 (sc_obsolete_symbols): Check for O_NDELAY.
3607 (sc_texi_notab): Remove.
3608 (sc-changelog): Don't make an exception for '----' lines.
3609 (.re-list): Remove, so we don't have a junk file behind.
3610 (sc_system_h_headers): Remove the need for .re-list.
3611 (sc_the_the): New rule.
3612 (sc_tight_scope): Simplify.
3613 (sc_trailing_blank): Renamed from sc_trailing_space.
3614 (longopt_re): New macro.
3615 (sc_two_space_separator_in_usage): New rule.
3616 (sc_unmarked_diagnostics): Look at all files under CVS.
3617 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
3618 (news-date-check, changelog-check): Version is OK.
3619 (po-check): Look for lib files even if not in CVS.
3620 (copyright-check): Use $() not ``.
3621 (maintainer-distcheck): Do not depend on changelog-check.
3622 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
3623 Also check for -Wpointer-arith.
3624 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
3625 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
3627 (announcement): Add --gpg-key-id arg.
3629 (move_if_change): Just use mv.
3630 (local_updates: Remove wget-update, po-update.
3631 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
3632 (config.guess-url_prefix, config.sub-url_prefix): Remove.
3633 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
3634 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
3635 ($(get-targets)): Remove.
3636 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
3637 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
3638 (cvs-update): Get from gnulib.
3639 (emut_upload_commands): gnupload is in build-aux now.
3640 (alpha beta major): Add changelog-check. Check version.
3641 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
3642 (AC_CONFIG_FILES): Remove.
3643 * bin/autoconf.as: Add spaces to avoid distcheck warning.
3644 * config/announce-gen: Sync from coreutils.
3645 * doc/make-stds.texi: Sync from gnulib.
3646 * doc/standards.texi: Likewise.
3647 * man/Makefile.am: Adjust for config -> build-aux renaming.
3648 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
3649 * tests/local.at: Adjust from config -> build-aux renaming.
3650 * tests/tools.at: Likewise.
3651 * tests/torture.at: Likewise.
3653 * NEWS: The C99 check now tests for vararg macros and 64-bit
3655 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
3656 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
3657 64-bit preprocessor ints. Check for static initialization of
3658 long long. Remove unnecessary casts.
3660 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3662 * doc/autoconf.texi (Particular Programs): Mention that
3663 @INSTALL@ and @MKDIR_P@ may vary for different output files.
3664 Reported by Alexandre Duret-Lutz.
3666 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
3668 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
3669 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
3671 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
3673 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
3675 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
3676 pacify insanely picky compilers. Problem reported by Eric Blake.
3678 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
3679 longer supported by Sun.
3681 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
3683 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
3684 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
3685 -Wundef -Werror". Problem reported by David Fang in
3686 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
3687 * doc/autoconf.texi (Header Templates, Default Includes):
3688 (Particular Functions, Generic Functions, Header Portability):
3689 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
3690 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
3691 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
3692 Prefer #ifdef to #if.
3693 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
3694 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
3695 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
3696 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
3698 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
3699 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
3700 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
3701 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3702 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
3703 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
3706 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
3708 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
3709 problems with arg script text that doesn't end in newline, and
3710 with '-e a...'. Problems reported by Ralf Wildenhues.
3712 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
3714 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
3715 check for libXt by a check for libX11.
3717 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3719 * doc/autoconf.texi (config.status Invocation): Adjust according
3722 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3724 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
3725 --help' should mention that `--version' outputs configuration
3726 settings. Report by Bruno Haible.
3728 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
3730 Fix test suite failures reported by Pierre in
3731 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
3732 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
3733 the compiler created a file "b.out" when it didn't create anything
3735 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
3736 Discard stderr too, when invoking the test script.
3738 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
3740 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
3741 in the restoring of the werror flag.
3743 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
3745 * doc/autoconf.texi (Volatile Objects): Be even a little
3746 less skeptical about "volatile", after discussion with
3747 Bruno Haible on bug-gnulib.
3748 (Limitations of Usual Tools): Warn about sed stripping
3749 leading white space from text. From Bruno Haible.
3751 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
3753 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
3754 compiler complains about it, even if things works after the
3755 complaint. Problem reported by Peter O'Gorman.
3757 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
3758 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
3759 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
3761 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
3763 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
3764 after -R regardless of host. Patrick Welche reports that this
3765 fixes things on NetBSD 3.99.
3767 * NEWS: Recommend M4 1.4.5.
3769 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
3770 * tests/tools.at (autom4te cache): Update wording of diagnostic
3773 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
3775 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
3776 under AC_C_VOLATILE.
3777 (Volatile Objects): Be a little less skeptical about what
3778 "volatile" means. Derived from thoughts by Ben Pfaff in
3779 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
3781 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3783 * doc/autoconf.texi: Fix some typos.
3785 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
3787 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
3788 more globally, since the 2006-06-30 patch didn't suffice. Problem
3789 reported by Keith Marshall. Also, don't bother with builddir2,
3790 since it shouldn't be needed any more.
3792 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
3794 * doc/autoconf.texi (Generic compiler characteristics):
3795 Document AC_COMPUTE_INT. Fix wrong statements on Default
3796 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
3798 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
3799 (_AC_COMPUTE_INT): Add obsoletion warnings.
3800 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
3803 * NEWS: Document change.
3805 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
3807 * doc/autoconf.texi (Volatile Objects): New section.
3809 * NEWS: Document previous change.
3811 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
3813 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
3814 Require that long long int be at least 64 bits wide. C99 requires
3815 this and enough programs depend on it so we should check for it.
3816 Bruno Haible reports in
3817 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
3818 that long long int is 32 bits wide with some nonstandard compilers.
3819 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
3821 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
3823 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
3824 to a nonexistent file, so that we don't have to worry about
3825 a local site configuration that doesn't use /usr/local.
3826 Problem reported by Keith Marshall in
3827 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
3829 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
3831 * doc/autoconf.texi: Be more consistent about using @acronym with
3832 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
3833 quite right (it talked about "OSF/Tru64", even though the
3834 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
3835 and it even mentioned "OSF 4"!) and at this point there's little
3836 reason to talk about OSF any more, since it died in 1994.
3837 (Specific Compiler Characteristics): Simplify example of
3838 negative-size array.
3839 (File Descriptors): Reorder to make the text flow better.
3840 Remove joke about "appreciate the various levels"; I didn't get it.
3841 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
3842 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
3843 (File Descriptors, Limitations of Usual Tools):
3844 Tone down the advice against renaming or removing open files.
3845 (Limitations of Usual Tools): Add a new section, on 'rm'.
3847 2006-06-26 Stepan Kasal <kasal@ucw.cz>
3849 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
3850 -lXt in LIBS, idea from Karsten Hopp; this was due since
3853 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
3854 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
3855 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
3856 (which belong to Xt, not X itself). See Debian bug 327655.
3858 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3860 * configure.ac (AC_INIT): Bump to 2.60a.
3863 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3867 * configure.ac, NEWS: Update.
3869 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3871 * config/texinfo.tex: Sync from upstream.
3873 * bin/autom4te.in (handle_traces): Transform the `@S|@'
3874 quadrigraph correctly in traces.
3876 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
3879 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
3880 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
3882 * doc/autoconf.texi (Changed Directory Variables): New node,
3883 to document the whole `datarootdir' business a bit better.
3885 * tests/torture.at (datarootdir workaround): Extend test.
3886 Prompted by report by Alexandre Julliard.
3888 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
3890 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
3891 when using default mode of IBM C 6 for AIX. Problem and two-line
3892 fix reported by Larry Jones.
3894 2006-06-22 Alexandre Julliard <julliard@winehq.org>
3896 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
3897 about literal '${datarootdir}' if a definition is found in the
3900 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
3902 * NEWS: Use "M4" rather than "m4" when appropriate.
3903 Problem reported by Eric Blake.
3904 * doc/autoconf.texi: Likewise.
3905 Use @acronym around BSD, GCC, and GNU when appropriate.
3906 (Why GNU M4): Renamed from "Why GNU m4".
3907 (Redefined M4 Macros): Mention that Posix
3908 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
3909 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
3912 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3914 * bin/autom4te.in (handle_output): Do not forbid the empty
3916 * tests/tools.at (autoconf: the empty token): New test.
3918 2006-06-20 Stepan Kasal <kasal@ucw.cz>
3920 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
3921 calls, so that we do not care whether they are LIFO or FIFO;
3922 in the m4_wrap, do not check which diversion is the topmost
3923 one, just check that the stack is balanced at the end.
3924 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
3925 base diversion forever--pop the previous diversion before
3926 opening the new one; consequently, remove the m4_wrap call.
3927 * lib/autotest/general.m4 (AT_INIT): Likewise.
3928 * tests/m4sugar.at: Do not use
3929 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
3931 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
3932 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3934 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
3935 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
3936 Rework example of m4wrap token-pasting trouble so that it doesn't
3937 care whether it's LIFO or FIFO.
3938 Fix some "contrary to"s that are awkward in English.
3940 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3942 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
3943 to `yes' instead of `int$1_t' if the type is found, for more
3944 consistent configure output (where $1 is the number of bits).
3945 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
3946 Suggested by Bruno Haible.
3948 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
3949 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
3950 with system headers. Report by Bruno Haible.
3952 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3954 * config/config.guess, config/config.sub: Sync from upstream.
3956 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
3957 in order to avoid picking up an older installed frozen m4sh.m4f.
3958 Besides an outdated shell startup, this could have been created
3959 by an earlier M4 version with incompatible frozen file format.
3961 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
3963 * README: Recommend m4 1.4.4 instead of 1.4.3..
3964 * doc/autoconf.texi: Likewise.
3965 (Special Chars in Names): Say that $(.FOO) is portable, as
3966 suggested by Stepan Kasal.
3967 (Installation Directory Variables, Build Directories):
3968 (Automatic Remaking, Subdirectories, Fortran Compiler):
3969 (Making testsuite Scripts, Defining Directories):
3970 Quote variable usages better.
3971 (Making testsuite Scripts): Add clean-local rule to makefile
3972 snippet, by Eric Blake.
3973 (Installation Directory Variables): Fix table item font.
3974 Reword slightly to clarify. Generalize advice about
3975 not using special characters to include all file-related
3976 vars, not just VPATH.
3977 (Special Chars in Variables): Warn about special characters in
3979 (Assignments): Clarify default-value example as suggested by
3981 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
3982 (Special Shell Variables): Note leading ./ or ../, as suggested
3984 (Limitations of Builtins): Under cd, warn about CDPATH.
3985 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
3988 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3990 * doc/autoconf.texi (Configuration Actions): Remove duplicate
3991 `@var', for texi2html.
3992 (Systemology): Some more word wrapping, for DVI output.
3993 (autom4te Invocation): The short option for `--melt' is `-M',
3996 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
3998 * doc/autoconf.texi: More formatting and English tweaks,
3999 many suggested by Ralf Wildenhues.
4000 Reword to avoid "@code{...}'s" and the like, since it's ugly
4001 with Emacs info mode. discontents -> woes.
4002 Put a few "will"s back. time stamp -> timestamp.
4003 side-effect -> side effect.
4005 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
4007 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
4008 Warn about $@ not persisting. Problem reported by Julien Danjou in
4009 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
4010 (Special Chars in Names): Renamed from Leading _ in Macro Names.
4011 Mention other special chars, too.
4013 2006-06-14 Eric Blake <ebb9@byu.net>
4015 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
4017 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
4019 * doc/autoconf.texi: Some systematic minor improvements, as
4020 follows. Use "makefile" when talking about makefiles
4021 generally (which might be named "makefile" or "Makefile" or even
4022 "foo.mk"), "Makefile" when talking about a specific makefile
4023 called "Makefile". This unclutters the text from weird quotes
4024 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
4025 values" rather than "@var{foo}s" and similar constructs containing
4026 "}s". Use "Make rules" rather than "Makefile rules". Minor
4027 English-language improvements. Change the prefix "sub-" to "sub"
4029 Put blank lines around examples more consistently.
4030 Avoid "rather" and "very" as intensifiers.
4031 Avoid "will" as an auxiliary.
4032 (Limitations of Make): Split this node into....
4033 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
4034 (Leading _ in Macro Names, Backslash-Newline-Newline):
4035 (Backslash-Newline Comments, Long Lines in Makefiles):
4036 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
4037 (obj/ and Make, make -k Status, VPATH and Make):
4038 (VPATH and Double-colon, $< in Explicit Rules):
4039 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
4040 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
4041 New nodes, resulting from splitup of Limitations of Make.
4042 All cross-references changed. Raise the top node from
4043 a section to a chapter, and all subnodes accordingly.
4044 Redo the introductory wording to match the new organization.
4045 (Installation Directory Variables): Use an example that is
4046 closer to what Autoconf actually does. Mention that VPATH's
4047 value should not contain metacharacters or white space.
4048 (Fortran Compiler): Fix a VPATH bug in an example.
4049 (Leading _ in Macro Names): Mention that this problem is no longer
4050 of practical concern.
4051 (VPATH and Make): Reword the advice to make it clearer
4052 that Autoconf and Automake support VPATH in non-GNU make, but
4053 many packages have bugs in this area.
4054 ($< in Explicit Rules): Refer to Build Directories rather
4055 than using a (non-VPATH-safe) example.
4056 (Automatic Rule Rewriting): Mention the sort of disaster that
4057 can ensue with Solaris-style rule rewriting with VPATH.
4059 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4061 * doc/install.texi (Compilers and Options): Weaken the
4062 suggestion to use GNU make for VPATH builds.
4064 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
4065 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
4067 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
4068 in regular expression.
4070 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4072 * doc/autoconf.texi (Installation Directory Variables):
4073 Drop extra @samp from `@table @samp' item.
4074 (Limitations of Usual Tools): Comment fix.
4075 Do not nest @samp just to point to other table items.
4076 (Writing testsuite.at) <AT_CHECK>: The second argument to
4077 `@dvar' is already @samp'ed.
4078 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
4079 do not use @var in the second argument.
4081 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
4083 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
4084 $as_shell.exe too. Problem reported by Andreas Buening in
4085 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
4087 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4089 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
4090 `unused variable' compiler warning, for `-Wall -Werror'.
4091 Reported by Jaap Haitsma in
4092 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
4094 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
4096 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
4097 case the compiler dumps core. Problem reported for
4098 OpenServer 5.0.7 by Tim Rice in
4099 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
4100 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
4103 2006-06-06 Tim Rice <tim@multitalents.net>.
4105 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
4106 "ERROR" only shows up in "make check" output if there is an
4109 2006-06-06 Eric Blake <ebb9@byu.net>
4111 * tests/tools.at (automatically allowed tokens): Fix typo.
4113 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
4115 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
4117 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
4118 typically overflows on x86 CPUs, even though the C standard
4121 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4123 * configure.ac (AC_INIT): Bump to 2.59e.
4126 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4130 * config/texinfo.tex: Sync from upstream.
4132 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
4133 seen, invoke libtoolize with `--ltdl' argument.
4134 * lib/autom4te.in (Autoreconf-preselections): Adjust.
4136 Suggested by Eric Blake.
4138 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
4140 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
4141 reported by Ralf Wildenhues.
4142 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
4144 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4148 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
4150 * doc/autoconf.texi: Modernize some of the references to Solaris.
4152 2006-06-05 Stepan Kasal <kasal@ucw.cz>
4154 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
4155 message issued by AC_REQUIRE.
4156 * tests/m4sugar.at: Check m4_require's error message.
4157 * tests/base.at: Check AC_REQUIRE's error message.
4158 * tests/local.at (AT_CHECK_M4): New macro, almost identical
4160 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
4162 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
4163 `expout' as the last parameter.
4164 * tests/tools.at: Adapt to the above change.
4166 2006-06-04 Stepan Kasal <kasal@ucw.cz>
4168 * doc/autoconf.texi (Limitations of Usual Tools): Correct
4169 information about race-free implementations of mkdir.
4171 2006-06-04 Eric Blake <ebb9@byu.net>
4173 * bin/autoreconf.in (help): Document M4 environment variable.
4174 * bin/autoconf.as (Usage): Likewise.
4175 * bin/autom4te.in (help): Likewise.
4176 * doc/autoconf.texi (autom4te Invocation): Likewise.
4178 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
4180 * NEWS: GNU make now recommended for VPATH builds.
4181 Mention that some macros are now documented to be obsolescent.
4182 * doc/autoconf.texi:
4183 Prefer "current" to "modern" to describe
4184 currently-used (albeit perhaps old-fashioned) hosts.
4185 Mention which ancient features no longer need to be worried about.
4186 setgid -> set-group-ID
4187 setuid -> set-user-ID (these are the Posix terms)
4188 Fix some misuses of "only".
4189 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
4190 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
4191 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
4192 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
4193 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
4194 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
4195 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
4196 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
4197 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
4198 Mention that these macros are obsolescent.
4199 (Installation Directory Variables): shall -> should
4200 (File Descriptors): Mention that 0, 1, 2 might get reopened.
4201 Mention that it's now safe to use 3 and 4.
4202 (Limitations of Usual Tools): cp -r is now specified by Posix.
4203 Omit longwinded and obsolescent discussion of cp -f.
4204 Modernize discussion of expr, ls.
4205 (Limitations of Make): Modernize discussion of VPATH builds.
4206 Mention $? as a workaround in some cases.
4207 * doc/install.texi (Basic Installation):
4208 Mention "./configure; make; make install" first. Be more
4209 specific about why this file is generic. Remove unnecessary
4210 parens. Remove misleading "only". Remove obsolete advice
4211 about csh. Don't say "configure" takes awhile; say it
4212 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
4213 and CC=c99 rather than CC=c89, as these are blessed by current
4214 Posix. Recommend GNU make if doing a VPATH build.
4216 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
4218 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
4219 examples involving shell prompts.
4221 2006-06-02 Stepan Kasal <kasal@ucw.cz>
4222 and Paul Eggert <eggert@cs.ucla.edu>
4224 * doc/autoconf.texi (Here-Documents): Add details about the
4225 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
4226 use "here-documents" instead of "here documents".
4228 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4230 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
4232 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
4234 * doc/autoconf.texi (File System Conventions): Warn about ":"
4235 anywhere in directory names.
4237 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
4239 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
4240 about quoting the case statement, just in case.
4241 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
4242 was fixed in ksh93g; reported by Ralf Wildenhues.
4244 2006-05-31 Stepan Kasal <kasal@ucw.cz>
4246 * doc/autoconf.texi (System Services): Do not document
4247 overriding EXEEXT via ac_cv_exeext=ext.
4248 (Particular Programs) <AC_PROG_MKDIR_P>:
4249 Document that ${MKDIR_P} understands --.
4250 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
4253 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4255 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
4256 argument with leading hyphen. Problem reported by Paul Eggert.
4258 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
4260 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
4261 about quoting ac_try: quote all of it, if any of it seems suspicious.
4262 This means we don't have to worry about ${ or sed any more.
4263 Also, double-quote the case statement, to work around misuses via
4264 underquoting as reported by Ralf Wildenhues in
4265 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
4266 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
4267 undocumented and dangerous macro.
4268 Problem reported by Ralf Wildenhues in
4269 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
4271 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4273 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
4274 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
4275 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
4277 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
4279 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
4280 since evidently some packages rely on the old, broken behavior.
4281 Problem reported by Ralf Wildenhues in
4282 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
4283 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
4284 pre-2006-05-26 definitions, but leave in the comments that
4285 these macros are dangerous and should not be used.
4286 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
4287 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
4288 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
4289 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
4290 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
4292 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
4294 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
4295 the use of 'tr', since this is our only use of 'tr'.
4297 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4298 and Paul Eggert <eggert@cs.ucla.edu>
4300 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
4301 Don't assume 'grep' works on long lines, since AIX grep doesn't.
4303 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4305 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
4306 the output file in the `${datarootdir}' test.
4308 2005-05-28 Stepan Kasal <kasal@ucw.cz>
4309 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4311 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
4312 mention of `datarootdir' in the input file(s), but literal
4313 `${datarootdir}' in the output file, and we haven't warned yet,
4314 then warn as well: the user may have (erroneously) used
4315 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
4316 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
4317 * tests/torture.at (datarootdir workaround): Extend this test.
4320 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4321 and Paul Eggert <eggert@cs.ucla.edu>
4323 * doc/autoconf.texi (autoheader Invocation): The first argument to
4324 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
4325 alternatives and clear up the language a bit.
4327 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
4329 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
4330 ac_config_guess, ac_config_sub, ac_configure.
4331 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
4332 Fix typo that prevented an unnecessary space from being removed.
4333 Problems reported by Ralf Wildenhues in:
4334 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
4336 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
4338 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
4339 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
4340 Don't use the term "thread-safe" to talk about mkdir race
4341 conditions, since the problem is more a process than a thread
4342 issue. Problem reported by Stepan Kasal in:
4343 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
4344 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
4345 the test for 'install' more closely. Look at MKDIR_P first.
4346 Look in the PATH, and at /opt/sfw/bin.
4347 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
4348 Don't bother to try mkdir -p, since we already check mkdir --version;
4349 just look at the version number. (There's no easy way to check
4350 for race-free implementations.)
4351 * tests/tools.at (autoconf: subdirectories): Adjust to above
4352 changes, since MKDIR_P now might end in "/mkdir -p".
4354 * doc/autoconf.texi (autoheader Invocation): Mention that the
4355 first arg of AC_DEFINE_UNQUOTED must be a literal.
4356 Problem reported by Ben Pfaff in
4357 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
4359 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
4360 * doc/autoconf.texi (Special Chars in Variables): New section.
4361 (Preset Output Variables): Warn about special chars in CPPFLAGS.
4362 (Installation Directory Variables): Quote $(datadir) better.
4363 (Limitations of Builtins): Describe some of eval's trickiness.
4365 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
4366 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
4367 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
4368 in front of every arg, not just trailing args. Quote apostrophes.
4369 (_AC_EVAL_ECHO): New macro.
4370 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
4371 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
4373 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
4374 exposed by quoting of eval argument. Put the command on line line
4376 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
4377 (_AC_PATH_X, AC_PATH_X): Quote more safely.
4378 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
4379 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
4380 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
4381 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
4382 Use eval more safely.
4383 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
4384 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
4386 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
4387 lines, exposed by quoting of eval argument.
4389 2006-05-26 Stepan Kasal <kasal@ucw.cz>
4390 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4392 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
4393 initialization of `ac_cv_exeext', do not override it if it was
4394 already set, unless it was set to `no', for compatibility with
4395 Autoconf-2.13, and comment this.
4396 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
4397 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
4398 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
4399 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
4400 Document that this test may be overridden by setting
4403 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4405 Revert these two patches:
4407 2006-04-06 Eric Blake <ebb9@byu.net>
4408 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
4409 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
4412 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4413 Clean up _AC_COMPILER_EXEEXT* macros.
4414 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
4415 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
4416 ac_file to the name of the default output file and call
4417 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
4418 initial `rm' of the candidate files...
4419 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
4420 the same list in subsequent `rm' calls, and for the temporary
4421 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
4422 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
4423 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
4424 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
4425 no longer needed) by libtool. Make it a cache check.
4426 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
4427 copied here by mistake.
4428 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
4429 _AC_COMPILER_EXEEXT.
4430 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
4431 _AC_COMPILER_OBJEXT directly.
4432 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4434 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4436 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
4437 Fix description of how the buggy `sed' works.
4439 2006-05-25 Noah Misch <noah@cs.caltech.edu>
4443 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
4444 ENOLCK. Only mention `make -j' when applicable. Only raise
4445 fatal errors when `make -j' is involved. Improve error message.
4447 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4449 * doc/autoconf.texi (Here-Documents): We now know more about
4450 the variable expansion in here documents bug.
4451 Thanks to Tim Rice and Stepan Kasal.
4453 * doc/autoconf.texi (Making testsuite Scripts): Add an example
4454 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
4456 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4458 * tests/autotest.at (Multiline command from M4 expansion):
4459 No failure to be expected if the shell quotes newlines in
4460 commands in the `set -x' output. Report by Tim Rice.
4463 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
4465 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
4466 expansion in the here-documents used by config.status, as that
4467 runs afoul of the Korn shell version M-12/28/93d bug described in
4468 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
4469 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
4470 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
4472 2006-05-23 Jim Meyering <jim@meyering.net>
4474 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
4475 Fix typo introduced with 2006-04-02 change. It reversed the sense
4478 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
4480 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
4481 ac_dB slightly, to save bytes in the script.
4482 Max out at 50 lines, rather than 96; this is more likely
4483 (though not guaranteed) to avoid obscure 'sed' failures.
4485 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4487 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
4488 `tr -d -' as bad option argument. Work around this by deleting
4489 an unrelated character.
4490 Report by Tim Rice <tim@multitalents.net>.
4492 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
4493 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
4494 Stepan Kasal <kasal@ucw.cz>
4496 * doc/autoconf.texi (Particular Programs): Do not promise that
4497 we always prefer the GNU version of the program, and that we
4498 search according to PATH; both rules can have exceptions.
4499 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
4500 AC_PROG_SED. Move descriptions of limitations
4501 to the Limitations of Usual Tools section.
4502 (Limitations of Usual Tools) <sed>: Mention script length
4503 limitations with Solaris /usr/ucb/sed.
4504 <grep>: Fix wording for empty alternative. Mention that -c and
4505 -l should not be combined, and that -E and -F should not be
4508 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
4509 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4511 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
4512 limits in Solaris 8 /usr/ucb/sed by testing a long script.
4514 2006-05-22 Stepan Kasal <kasal@ucw.cz>
4516 * doc/autoconf.texi (Defining Symbols): Literal parameter of
4517 AC_DEFINE is now passed to m4_pattern_allow.
4518 * NEWS: Mention that; likewise for AC_SUBST.
4519 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
4520 the parameter to m4_pattern_allow.
4521 * tests/tools.at: Add a check for that.
4523 2006-05-22 Stepan Kasal <kasal@ucw.cz>
4525 * lib/autoconf/status.m4: Fix typos.
4527 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4529 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
4530 only the files that this macro generates.
4532 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
4534 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
4535 the HP-UX sed limitation of 99 commands, labels do not count.
4536 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
4538 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
4540 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
4542 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
4543 Import the following fix from coreutils:
4545 2006-01-13 Jim Meyering <jim@meyering.net>
4547 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
4548 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
4549 not double-quote uses of that variable, to accommodate the rare
4550 case in which getmntent is available in none of the libraries
4551 checked. This happens at least on FreeBSD 5.0.
4553 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
4555 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
4556 ac_config_guess, ac_config_sub, and ac_configure, since evidently
4557 some other programs unwisely rely on these undocumented vars.
4558 But put in warning comments about them.
4559 Problem reported by Ralf Wildenhues in
4560 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
4561 * NEWS: Document that these variables are intended to go away.
4563 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4565 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
4566 and set the language to C++ (analogous to the equivalent Fortran
4569 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
4570 * doc/autoconf.texi (C++ Compiler): Document it.
4571 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
4574 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
4576 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
4577 that caused config.status to generate 100-command sed scripts; the
4578 portable limit is 99.
4580 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4582 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
4583 variable `ac_d' instead of `d' to avoid infringing namespace.
4584 Report by Ralf Menzel.
4586 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
4588 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
4589 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
4590 * tests/tools.at (autoconf: subdirectories): New test, taken from
4591 the corresponding problem report by Ralf Wildenhues in:
4592 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
4594 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
4595 Quote some uses of shell variables if they might suffer unexpected
4596 globbing. This doesn't fix all instances of quoting problems that
4597 I found, just the easy ones that look safe.
4598 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
4599 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
4600 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
4601 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
4602 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
4603 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4604 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
4606 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
4607 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
4609 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4611 * bin/autoreconf.in ($help): Reword according to the manual.
4612 Suggested by Olly Betts.
4614 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
4615 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4617 * bin/autoreconf.in: Pass the directory argument to
4618 `require_configure_ac'. Fix comment.
4619 * tests/torture.at (Configuring subdirectories): Expose this.
4620 Reported by Olly Betts.
4622 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4624 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
4625 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
4626 Automake as follows:
4628 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
4629 `$configure_in' instead of `configure.in', to preserve
4630 directory component.
4632 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4634 * config/config.guess, config/config.sub, config/texinfo.tex,
4635 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
4637 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
4639 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
4640 test for C99 conformance; (bool) 0.5 is an integer constant
4641 expression, but (bool) -0.5 is not. Problem reported by Fedor
4642 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
4644 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
4646 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
4647 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
4648 Warn about obsolete install-sh files. Remove stray sentence
4649 fragment and fix cross reference.
4650 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
4651 install -d; this undoes the 2006-05-10 change.
4652 (MKDIR_P): Mark with AN_MAKEVAR.
4653 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
4654 that we don't require $INSTALL to be thread-safe. Move comments
4655 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
4656 of AC_PROG_INSTALL. Output a message saying that we're checking
4657 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
4658 MKDIR_P instead of AC_SUBST.
4659 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
4660 Special magic for MKDIR_P, too.
4661 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
4663 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
4665 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
4667 Sync from Automake, as follows:
4669 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4670 * config/install-sh: Initialize IFS, so field splitting isn't
4672 * config/mkinstalldirs: Likewise.
4673 * config/missing: Remove superfluous quotes. Replace all uses of
4674 `[' by `test', for consistency, and for..
4675 * config/missing (sed_minuso, sed_output): New variables.
4676 (autom4te, help2man, makeinfo): Use them. Unifies detection of
4677 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
4678 Fixes `missing' to detect `--output' for help2man. Fixes
4679 PR automake/483. Report by Dennis J. Linse.
4680 (autom4te): Document in `missing --help'.
4682 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
4684 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
4685 * config/install-sh: Don't use 'path' to talk about file names,
4686 as per GNU coding standards. Close a race condition reported by Ralf
4687 Wildenhues and Stepan Kasal. There is still a race condition
4688 on hosts that predate Posix 1003.1-1992, but we can't help this.
4689 Don't mishandle weird characters like space on pre-Posix hosts.
4690 Invoke mkdir at most once per dir arg on pre-Posix hosts.
4691 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
4692 AC_PROG_MKDIR_P from AS_MKDIR_P.
4693 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
4694 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
4695 earlier editions are not (including Automake 1.8.3).
4696 Do not suggest mkinstalldirs for thread-safety.
4697 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
4698 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
4699 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
4700 presence of special characters and race conditions.
4701 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
4702 in Autoconf's name space.
4704 2006-05-10 Bruno Haible <bruno@clisp.org>
4705 and Paul Eggert <eggert@cs.ucla.edu>
4707 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
4708 from Automake with minor changes.
4709 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
4711 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
4713 * config/install-sh: Update to Automake CVS version, as follows:
4714 2006-04-25 Stepan Kasal <kasal@ucw.cz>
4715 * lib/install-sh: Simplify the expr implementation of dirname.
4716 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
4717 * lib/install-sh: Handle --, and diagnose unknown options.
4719 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4721 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
4722 `./autom4te' to create `./testsuite', since the `all' target
4723 will ensure its presence, but `installcheck' should not create
4724 the uninstalled wrappers.
4726 * tests/torture.at (Unusual Automake input files): Skip if we
4727 detect automake < 1.8.
4729 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4731 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
4732 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
4733 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
4736 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4738 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
4739 munge (multiple) white space and other oddities.
4740 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
4741 single quotes in variable assignment.
4742 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
4743 and similar failures by adding multiple spaces, tabs, and other
4745 Report and different test suggested by Francesco Romani
4746 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
4748 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
4749 single quotes, we only need to search for single quotes; this
4750 both simplifies the search pattern, and makes us less
4751 susceptible to `echo' variations for arguments not containing
4753 (_AC_ARG_VAR_VALIDATE): Likewise.
4755 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4757 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
4758 `$*' and IFS concatenation issue with traditional shells and
4759 bash-2.04. Report by Seanster@Seanster.com.
4761 2006-05-03 Bruno Haible <bruno@clisp.org>
4763 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
4764 precisely which Mac OS X versions have the od problem.
4766 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
4768 * doc/autoconf.texi: Use @option systematically.
4770 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
4771 and Bruno Haible <bruno@clisp.org>
4773 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
4775 (Integer Overflow): Mention the special case of integer division
4778 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4780 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
4781 traditional shells like the Solaris one that do not use the
4782 first IFS character for assembling `$*'.
4783 Prompted by a related report from autoconf_bug@nro.ca.
4785 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
4786 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4788 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
4789 Mention more problems with the -e option.
4791 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4794 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
4796 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
4797 in URLs to improve DVI formatted output (requires texinfo 4.6).
4798 (System Services, Systemology, Shellology): Likewise.
4799 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
4802 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
4804 (Runtime): Fix macro argument names to match description:
4805 `action-if-found' -> `action-if-true' and similarly.
4806 (Obsolete Macros): Likewise.
4807 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
4808 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
4809 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
4811 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4813 * doc/autoconf.texi (Limitations of Make): Clean up markup.
4816 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
4819 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4821 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
4822 /bin/sh set unsorted output.
4823 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
4824 * tests/local.at: Likewise.
4826 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
4828 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
4829 (Integer Overflow, Null Pointers, Buffer Overruns):
4830 (Floating Point Portability, Exiting Portably): New sections.
4831 (Writing Test Programs): Fix some langauge. Recommend exiting
4832 with status 1, not merely nonzero. Clarify exit declaration.
4833 (Run Time): Move C exit status stuff to new Exiting Portably section.
4834 (Systemology): Mention Posix and levenez. Update v7 reference.
4835 (Portable Shell): Mention the Posix shell.
4837 2006-04-25 Stepan Kasal <kasal@ucw.cz>
4839 * bin/autoconf.as (me): Replace by as_me.
4841 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
4843 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
4844 since as_me isn't set yet.
4846 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
4848 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
4849 a few minor bugs in this area.
4851 * doc/autoconf.texi (Programming in M4sh): Comment out the
4852 documentation of AS_BASENAME, for now.
4853 (Shell Substitutions): Do not use AS_DIRNAME in an example.
4854 (Limitations of Builtins) <basename>: Do not refer to
4856 * bin/autoconf.as (me): Don't use AS_BASENAME.
4857 (dir): Remove the unused variable.
4858 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
4859 AS_DETECT_REQUIRED. All uses changed.
4860 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
4862 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
4863 (AS_BASENAME): Use "basename --" to protect against leading "-".
4864 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
4865 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
4866 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
4867 (_AS_DIRNAME_PREPARE): Likewise.
4868 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
4869 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
4870 (AS_DIRNAME): Use "dirname --".
4872 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
4874 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
4875 of "run time" and "run-time" changed to "runtime", for consistency.
4876 * lib/autoconf/fortran.m4: Likewise (in comment).
4877 * lib/autoconf/functions.m4: Likewise.
4878 * lib/autoconf/general.m4: Likewise.
4879 * lib/autoconf/headers.m4: Likewise.
4881 * doc/autoconf.texi (Run Time): Document the exit status situation
4882 with more accuracy and detail.
4884 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4886 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
4887 Archive is not officially `GNU' any more. Update URL.
4888 (Defining Directories): Likewise
4889 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
4891 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4893 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
4894 newline from the `trap' code to finish `config.log'; the NetBSD
4895 /bin/sh resets the exit status after an empty command, as
4896 documented in doc/autoconf.texi.
4897 Reported by Dalibor Topic <robilad@kaffe.org>.
4899 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
4901 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
4902 Suggested by Bruno Haible.
4904 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
4906 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
4907 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
4908 Instead, just list the shells that we know work.
4909 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
4910 changed. Be more cautious about the _cv_ variable.
4911 * tests/tools.at (Syntax of the shell scripts): Check the
4912 _cv_ variable once, at first, to avoid an internal autoconf error
4913 when sh -n does not work.
4915 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4917 * lib/Autom4te/FileUtils.pm: Sync from Automake.
4919 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
4921 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
4922 use ">&-" since we're only 99.999% sure that this is portable,
4923 and since the MinGW bug is fixed in a different way.
4924 * lib/autotest/general.m4 (AT_INIT): Likewise.
4926 2006-04-16 Stepan Kasal <kasal@ucw.cz>
4928 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
4929 before opening config.log, to avoid hitting a bug on MinGW.
4931 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
4933 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
4934 AS_MESSAGE_LOG_FD before reopening it onto the log file.
4935 This works around a MinGW bug reported by Eric Paire.
4936 Make sure that all writes to the log file append to it,
4937 rather than possibly losing data.
4938 * lib/autotest/general.m4 (AT_INIT): Likewise.
4940 2006-04-14 Stepan Kasal <kasal@ucw.cz>
4942 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
4945 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4949 * configure.ac (AC_INIT): Bump to 2.59d.
4951 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4955 * Makefile.maint (news-date-check): Do not require a leading `*'
4956 before the release date in NEWS.
4958 2006-04-12 Stepan Kasal <kasal@ucw.cz>
4959 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4961 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
4962 the instantiated file do not contain the string 'datarootdir'
4963 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
4964 @mandir@, replace the reference '${datarootdir}' by the value.
4965 * tests/torture.at (datarootdir workaround): New test.
4966 * NEWS: Advertise this temporary fixup.
4967 Based on a patch by Bruno Haible, reported and analyzed by
4968 Paul Eggert and Noah Misch.
4970 2006-04-12 Eric Blake <ebb9@byu.net>
4972 * tests/autotest.at (Debugging a failed test): Fix comment.
4974 2006-04-12 Stepan Kasal <kasal@ucw.cz>
4976 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
4977 all the changes since 2006-04-07.
4979 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4981 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
4982 succeeded, but `ln -s file dir' failed, take care to remove the
4983 leftover target before the next test, to prevent its spurious
4984 failure; also make sure `ln file dir' works before selecting it.
4985 Thanks to Keith Marshall for pointing this out.
4988 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
4989 assignments in `at_debug_args', so that we put them correctly
4990 in the `run' script.
4991 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
4992 Reported by Eric Blake.
4994 2006-04-11 Eric Blake <ebb9@byu.net>
4996 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
4997 top-level tests after micro-suite has been run. Used in...
4998 (Debugging a successful test, Debugging script and environment),
4999 (Debugging a failed test): ...these new tests. The first of these
5001 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
5002 macro, split out from...
5003 (AT_INIT): ...here, so that using -d also generates a run script.
5004 Document that -d inhibits top-level logging.
5005 * doc/autoconf.texi (testsuite Invocation): Document that -d only
5006 inhibits top-level logging; debug scripts are created.
5008 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
5010 * tests/autotest.at (Empty test, Empty check): New test to check it.
5012 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
5015 2006-04-10 Stepan Kasal <kasal@ucw.cz>
5017 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
5018 the files if a problem appears. Make the empty *.at files
5019 read-only, too. Proposed by Ralf Wildenhues.
5021 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5023 * config/Makefile.am: Add comment to force updated Makefile.in.
5025 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
5026 space only patch to this file, this patch causes the Makefile.in
5027 files that include freeze.mk to be updated, and thus have a
5028 newer time stamp again, which in turn makes a pristine CVS
5029 checkout have correct time stamps.
5031 * Makefile.maint (cvs-sv): New macro, to be used..
5032 (config.guess-url_prefix, config.sub-url_prefix)
5033 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
5034 point to CVS text checkout of Gnulib files.
5035 (copyright-check): Bump current year.
5036 (announcement): Do not hard-wire `./announce-gen'.
5037 (cvs-update): Propagate failures of `cvs' and `move-if-change'
5039 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
5041 (wget_files): Update config.guess, config.sub, texinfo.tex by
5042 `wget-update', now that their URLs work again.
5044 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
5046 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
5047 Problem noted by Paul D. Smith.
5049 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5051 * doc/autoconf.texi: Remove unused words from word list.
5052 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
5053 .x-sc_trailing_space: New files.
5055 * doc/standards.texi: Sync from gnulib.
5057 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
5058 `LIBOBJDIR' as experimental.
5060 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
5061 with a target directory; it's internally implemented as `cp'
5062 anyway, but since Autoconf advertises the possibility to use
5063 a target directory when LN_S is `ln -s', we need to find out.
5064 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
5065 analyzed by Keith Marshall <keith.marshall@total.com>.
5069 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
5071 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
5072 confdefs.h as-is. In general, if it has backslash-newline or the
5073 like, then it doesn't work either to sort or to remove empty
5076 2006-04-09 Stepan Kasal <kasal@ucw.cz>
5078 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
5080 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
5082 * lib/autom4te.in (Automake-preselections): Preselect
5085 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
5087 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
5088 apostrophe within a single-quoted string, as this is the usual
5089 tradition and is easier to read than '"'"'. Don't rely on the
5090 shell treating "$/" like '$/'. Use a more-consistent indenting
5093 2006-04-09 Eric Blake <ebb9@byu.net>
5095 * tests/autotest.at (Backquote command substitution),
5096 (Multiline backquote command substitution): Remove mistaken
5097 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
5099 (Parenthetical command substitution, Multiline parenthetical
5100 command substitution): here.
5102 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
5104 Import macros from gnulib (often changing their name).
5106 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
5107 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
5108 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
5109 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
5110 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
5111 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
5112 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
5113 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
5114 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
5115 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
5116 The manual mentions Gnulib more prominently.
5117 * doc/autoconf.texi (Gnulib): New node.
5118 (Pointers): Add Gnulib URL.
5119 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
5120 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
5122 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
5123 suggest a #define rather than a typedef for _Bool, and mention
5124 Gnulib rather than trying to substitute stdbool code.
5125 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
5126 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
5127 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
5128 AC_STRUCT_DIRENT_D_TYPE.
5129 (Particular Types): Mention stdint.h and inttypes.h as standard
5131 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
5132 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
5133 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
5134 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
5135 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
5136 (C Compiler): Move AC_C_LONG_DOUBLE to ...
5137 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
5138 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
5139 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
5140 (Coding Style). Don't mention m4_expand_once.
5141 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
5142 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
5143 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
5144 (AC_CHECK_FUNCS): Use it.
5145 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
5146 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
5147 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
5148 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
5149 (AC_HEADER_ASSERT): New macro.
5150 (AC_HEADER_STDBOOL): Don't assume "#error" works.
5151 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
5152 Catch a bug in an HP-UX C compiler.
5153 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
5154 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
5155 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
5156 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
5157 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
5158 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
5161 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
5162 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
5164 2006-04-08 Stepan Kasal <kasal@ucw.cz>
5166 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
5167 of the warning introduced by the 2001-08-28 change.
5169 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
5170 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5172 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
5173 variables shall be overriden by the cache.
5174 * tests/torture.at (AC_ARG_VAR): Test also with a first value
5175 that contains braces.
5177 2006-04-07 Stepan Kasal <kasal@ucw.cz>
5179 Revert the patch from 2006-04-01 and only improve
5180 _AS_DETECT_BETTER_SHELL:
5182 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
5183 skip nonexistent directories.
5184 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
5185 only shell candidates which exist.
5186 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
5187 * lib/autotest/general.m4 (AT_INIT): No need to give three
5188 parameters to _AS_PATH_WALK.
5190 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
5191 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5193 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
5194 distinguish m4sugar macros.
5195 * tests/tools.at (autoupdating with aclocal and m4_include):
5196 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
5197 test case by Noah Misch <noah@cs.caltech.edu>.
5199 2006-04-07 Stepan Kasal <kasal@ucw.cz>
5201 Revert my change from 2006-03-17, in other words:
5202 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
5204 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
5205 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
5208 2006-04-07 Eric Blake <ebb9@byu.net>
5210 * doc/autoconf.texi (Programming in M4sh): Document that
5211 AS_MKDIR_P exits the script on failure.
5212 * lib/autotest/general.m4: Remove redundant AS_ERROR.
5214 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5216 * config/elisp-comp, config/install-sh, config/mdate-sh,
5217 config/missing, config/mkinstalldirs: Sync from Automake.
5219 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
5222 * doc/make-stds.texi: Sync from gnulib.
5224 2006-04-06 Eric Blake <ebb9@byu.net>
5226 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
5227 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
5230 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
5231 Eric Blake <ebb9@byu.net>,
5232 Paul Eggert <eggert@cs.ucla.edu>,
5233 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5235 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
5236 whether `set' quotes correctly: redirect stderr of the tested
5237 `set', and use a subshell, for Ultrix; use `sed' instead of
5238 `grep' for zsh `set' which may write binary output; match only
5239 at the beginning of a line, to avoid false positives.
5240 In order to avoid false positives by unrelated variables with
5241 multiline content, put the dump algorithm in a subshell and
5242 unset all variables containing newlines (except some which are
5243 special to the shell). Warn about cache variables that are
5246 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5248 * config/config.guess, config/config.sub, config/texinfo.tex:
5251 * tests/mktests.sh: Reword comments.
5253 * tests/mktests.sh: Only skip internal macros starting with
5254 `_AC_' or `__AC_'. Noted by Stepan Kasal.
5255 Update exclusion lists for the test suite to this end:
5256 (AC_ARG_VAR): Do test this now.
5257 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
5258 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
5259 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
5260 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
5262 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
5263 shell issue with double-quoted command substitutions of native
5265 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
5268 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
5269 no file matches the glob, discard the warning, set `nullglob'.
5270 (syntax-check): Likewise.
5271 (sc_cast_of_x_alloc_return_value): Likewise.
5272 (sc_cast_of_alloca_return_value, sc_error_exit_success)
5273 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
5274 (m4-check): Likewise.
5275 (sc_system_h_headers): Do not print rule on execution.
5276 (sc_tight_scope): Do not fail for non-existing `src' directory.
5277 (sc_changelog): Skip the Copyright footer.
5278 * lib/autoconf/lang.m4: Remove trailing space.
5280 * lib/autoconf/status.m4: More replacements to
5281 <tab><space> where this makes sense.
5283 2006-04-06 Stepan Kasal <kasal@ucw.cz>
5285 * tests/Makefile.am (maintainer-check-posix):
5286 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
5288 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
5289 ac_config_<foo>s again, sometimes normalized, sometimes not.
5290 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
5291 (AC_CONFIG_COMMANDS): Do not do so here.
5292 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
5293 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
5294 2005-07-25 rewrite. Noticed by Noah Misch.
5296 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
5297 _AC_PRESERVE_HELP_ORDER, ...
5298 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
5300 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
5301 inside m4_expand_once; it is redundant.
5303 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
5304 for --help from Cygnus `configure.'
5306 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
5308 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
5309 on a patch proposed by Ralf Wildenhues.
5311 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
5313 * lib/autoconf/status.m4: Replace <space>''<tab> with
5314 <tab><space> where this makes sense.
5316 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
5317 Noah Misch <noah@cs.caltech.edu>
5319 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
5320 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
5321 * doc/autoconf.texi (Help Formatting): New node.
5322 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
5324 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5326 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
5327 lib/autoconf/specific.m4, lib/autoconf/status.m4,
5328 lib/autoconf/types.m4, lib/autotest/general.m4,
5329 tests/mktests.sh, tests/torture.at: White space cleanup:
5330 remove some SPACE before TAB, or add quoting ('' or @&t@).
5332 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
5334 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
5336 2006-04-05 Eric Blake <ebb9@byu.net>
5338 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
5339 empty test suite works.
5340 * tests/autotest.at (Empty test suite): Remove xfail.
5342 2006-04-05 Noah Misch <noah@cs.caltech.edu>
5344 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
5345 TAGS to ac_config_<foo>s.
5346 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
5347 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
5348 normalizing it, consistent it with previous releases.
5349 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
5351 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
5353 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
5354 Use simplified args that Eric Blake originally suggested.
5356 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
5358 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
5359 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
5360 Use 'comm' rather than N instances of grep; this also fixes a bug
5361 whereby substrings were incorrectly matched, causing us to not
5362 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
5363 (exclude_list): Exclude empty macros.
5364 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
5366 Use awk rather than grep -E or egrep, to avoid
5367 portability problems with regular expressions containing newlines.
5368 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
5369 Switch from grep to awk syntax.
5370 (ac_exclude_script): Renamed from ac_exclude_egrep.
5371 (au_exclude_script): Renamed from au_exclude_egrep.
5373 2006-04-04 Noah Misch <noah@cs.caltech.edu>
5375 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
5376 a subdirectory subject to Cygnus `configure'.
5377 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
5379 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
5380 report request when we have no AC_PACKAGE_BUGREPORT.
5382 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5386 * tests/mktests.sh: Update copyright year in the header of the
5389 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
5390 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
5391 typedef'ed restricted pointer, to catch a compiler bug on
5392 HP-UX 11.x, and fix warnings so it passes with -Werror.
5393 (_AC_PROG_CC_C99): Likewise.
5394 Reported by Albert Chin <china@thewrittenword.com>.
5395 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
5397 2006-04-03 Noah Misch <noah@cs.caltech.edu>
5399 * bin/autoscan.in (subdirs): New global.
5400 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
5401 (output): Emit AC_CONFIG_SUBDIRS as needed.
5402 * tests/autoscan.at (autoscan): Remove XFAIL.
5404 2006-04-03 Noah Misch <noah@cs.caltech.edu>
5406 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
5408 2006-04-03 Eric Blake <ebb9@byu.net>
5410 * THANKS: Add myself.
5412 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5414 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
5415 to log, point to testsuite output tree.
5417 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
5419 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
5420 * doc/autoconf.texi (Function Portability): Mention that C++
5421 has trouble with 'exit'.
5422 (Guidelines): Test programs shouldn't use 'exit'.
5423 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
5424 Remove; all uses removed.
5425 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
5426 Return from 'main' instead of calling 'exit'.
5427 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
5428 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
5429 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
5430 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
5431 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
5432 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
5433 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
5434 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
5435 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
5436 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
5437 * tests/compile.at: Likewise.
5439 2006-04-02 Pavel Roskin <proski@gnu.org>
5441 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
5443 2006-04-01 Stepan Kasal <kasal@ucw.cz>
5445 Clean up _AC_COMPILER_EXEEXT* macros.
5447 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
5448 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
5449 ac_file to the name of the default output file and call
5450 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
5451 initial `rm' of the candidate files...
5452 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
5453 the same list in subsequent `rm' calls, and for the temporary
5454 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
5455 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
5456 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
5457 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
5458 no longer needed) by libtool. Make it a cache check.
5459 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
5460 copied here by mistake.
5461 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
5462 _AC_COMPILER_EXEEXT.
5463 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
5464 _AC_COMPILER_OBJEXT directly.
5465 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5467 2006-04-01 Stepan Kasal <kasal@ucw.cz>
5469 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
5470 (AS_DIRNAME): Use it.
5471 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
5473 * tests/*.at: Remove the generated ones.
5475 2006-04-01 Stepan Kasal <kasal@ucw.cz>
5477 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
5479 2006-04-01 Eric Blake <ebb9@byu.net>
5481 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
5482 directories, unless optional third argument supplied.
5483 (AS_UNAME): Don't optimize PATH walk.
5485 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
5487 2006-04-01 Eric Blake <ebb9@byu.net>
5488 and Stepan Kasal <kasal@ucw.cz>
5490 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
5493 2006-04-01 Noah Misch <noah@cs.caltech.edu>
5495 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
5496 Autoconf version number despite a zero- or one-argument AC_INIT.
5498 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
5500 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
5501 * doc/autoconf.texi (autoreconf Invocation): Document it.
5503 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
5504 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
5506 2006-04-01 Eric Blake <ebb9@byu.net>
5508 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
5509 * lib/autotest/general.m4: Be tolerant of existing directory when
5510 rm failed to remove it.
5512 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5514 * bin/autoupdate.in: Redefine m4_location so that warnings print
5515 the correct lines of the input file by subtracting..
5516 (_au__first_line): ..this new definition.
5518 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
5519 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
5520 Remove stray newline in output.
5521 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
5522 AC_DEFUN this for autoconf, including the obsoletion diagnose.
5523 Fixes autoupdating of code where the replacement output contains
5525 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
5526 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
5527 (au_exclude_list): Add AC_LANG_SAVE.
5528 * tests/tools.at: Several new tests for all of this.
5529 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
5531 The AC_LANG_SAVE issue was reported against Libtool by
5532 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
5533 Kristian Kvilekval <kris@cs.ucsb.edu>.
5535 2006-04-01 Stepan Kasal <kasal@ucw.cz>
5537 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
5538 switch all of them on and of when necessary. Fixes the bug when
5539 m4sugar macros (e.g., m4_define) were expanded after the first
5540 automatic update (e.g., after AC_PREREQ or AC_INIT).
5542 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
5544 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
5545 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
5547 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
5548 correctly. Problem reported by Eric Blake.
5549 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
5552 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
5554 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
5555 Tighten up the basename/dirname wording.
5557 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5559 * Makefile.maint (sc_texi_notab): New check: do not use TABs
5560 in texinfo files outside of verbatim environments.
5561 (syntax-check-rules): Update.
5562 * doc/autoconf.texi (Configuration Headers): Conform to it.
5564 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
5566 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
5567 aclocal cannot be given on the command line.
5569 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
5571 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
5572 Give an example for AS_DIRNAME instead of referring to Posix..
5573 (File System Conventions): Put discussion of // versus / here, and
5575 (Limitations of Usual Tools): Add basename. Remove verbiage
5576 after dirname, since it got moved to the above sections.
5577 All this was inspired by a patch proposed earlier by Eric Blake.
5579 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5581 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
5582 `$0' to protect against spaces.
5583 * lib/autotest/general.m4 (AT_INIT): Likewise.
5584 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
5587 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5589 * bin/autoscan.in: The value of find_configure_ac should be
5590 checked for existence, so we don't barf over a nonexisting
5591 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
5593 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5595 * bin/autoupdate.in: Fix some typos.
5597 2006-03-21 Stepan Kasal <kasal@ucw.cz>
5599 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
5601 * lib/autoscan/autoscan.list: Refreshed.
5603 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5605 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
5606 and Erlang related variables.
5608 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
5609 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
5610 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
5611 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
5612 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
5613 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
5614 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
5615 (_AC_PROG_OBJC_G): New macros.
5616 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
5617 * doc/autoconf.texi (Objective C Compiler): New node.
5618 (Preset Output Variables): Document OBJCFLAGS.
5619 (Language Choice): Document `Objective C' language.
5620 (Fortran Compiler): Fix typo.
5622 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
5624 2006-03-20 Stepan Kasal <kasal@ucw.cz>
5626 * doc/autoconf.texi (Default Includes): Fix typo
5627 s/AC_HEADERS_STDC/AC_HEADER_STDC/
5628 (Limitations of Usual Tools): s/unwriteable/unwritable/
5629 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
5630 Fix typos in the comments.
5632 2006-03-17 Stepan Kasal <kasal@ucw.cz>
5634 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
5635 Factor out the warning to...
5636 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
5637 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
5638 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5640 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
5641 case `ac_delim' when writing the sed script.
5643 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
5644 moved DUALCASE=1 ...
5645 (AS_SHELL_SANITIZE): ... here.
5646 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
5649 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
5651 (_AC_PATH_PROG): Store the result to VARIABLE.
5652 (AC_PATH_PROG): No need to set VARIABLE again.
5654 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
5655 the first one is usual AT_CHECK_MACRO test, the second one checks
5656 that the same works when cross-compiling.
5657 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
5658 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
5660 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5662 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
5663 the directory `/usr/bin/posix' in the shell search, to prefer
5664 the Posix shell not only in subsequent spawns as with `$BIN_SH'
5667 * doc/autoconf.texi (contents): To fix texi2html output, hide
5668 `@setcontentsaftertitlepage' for HTML.
5669 (Writing Autoconf Macros): Likewise, insert space after `@c'.
5670 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
5673 2006-03-16 Stepan Kasal <kasal@ucw.cz>
5675 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
5677 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
5678 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
5679 why IFS is restored so late; thank you, Ralf, for reminding us.
5681 2006-03-15 Stepan Kasal <kasal@ucw.cz>
5683 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
5684 variables in the examples.
5686 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
5688 * doc/autoconf.texi (several sections): Cleaned up documentation for
5689 macros in erlang.m4.
5691 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5693 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
5694 failure condition for `$(cmd)' style command substitutions.
5695 (Parenthetical command substitution, Multiline parenthetical
5696 command substitution): Use it.
5698 * doc/autoconf.texi (Special Shell Variables): Missing word.
5699 Reported by Keith Marshall <keith.marshall@total.com>.
5701 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
5702 IFS even in case of empty `$PATH'.
5704 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5706 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
5707 `expr' away if there is nothing to do.
5708 < --keywords >: Simplify and robustify argument handling.
5709 Revert erroneous comment from 2005-08-23. Extend to allow
5710 keyword negation with `!'.
5711 Update help message. Remove broken code to prevent running
5712 tests multiple times.
5713 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
5714 Update and fix the documentation accordingly.
5715 * tests/autotest.at (Keywords): Renamed to..
5716 (Keywords and ranges): .. this. Extended to make sure negated
5717 keywords, keywords taken from AT_SETUP arguments, and numeric
5718 test ranges work, and that matching is case-insensitive.
5720 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5722 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
5723 allow to pass unnamed structs even in C++.
5724 (AC_CHECK_SIZEOF): Likewise.
5725 Also fix quoting error in `AC_MSG_FAILURE' arguments.
5726 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
5727 struct): New tests for unnamed structs, each both native and
5730 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
5731 a structure inside a cast, for C++ conformance.
5732 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
5733 Also fix quoting error in `AC_MSG_FAILURE' arguments.
5735 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
5736 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
5737 trying to execute the command `no'.
5739 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
5740 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
5743 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
5744 example. Do not emphasize `$%', it is hardly new and special.
5745 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
5747 * doc/autoconf.texi (Limitations of Usual Tools): Document
5748 OpenBSD and traditional `grep' failure to handle multiple
5749 patterns separated by newlines.
5751 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
5753 * doc/autoconf.texi (several sections): Add documentation for macros
5756 2006-03-10 Eric Blake <ebb9@byu.net>
5758 * doc/autoconf.texi (Obsolete Macros): Fix wording of
5761 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
5763 * doc/autoconf.texi: Use @acronym more consistently for acronyms
5764 like BSD, GPL, LGPL. Fix minor English typos.
5765 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
5766 Mention that these macros are becoming obsolete.
5767 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
5768 Use more modern terminology for which standard is what.
5769 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
5771 (AC_PROG_CXX): Likewise.
5772 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
5773 Remove obsolete discussion about how to port to K&R.
5774 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
5775 the obsolescent AC_HEADER_STDC.
5776 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
5779 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5781 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
5782 Remove stdin redirection from /dev/null to allow pipe to work.
5784 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
5786 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
5787 Require that /lib/cpp include stdio.h correctly. Solaris 10's
5788 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
5791 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5793 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
5794 HP-UX sed is 99 commands, not 100.
5795 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
5796 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
5797 newline for portability.
5798 * tests/torture.at (Torturing config.status): Also test 100
5799 AC_SUBST_FILE invocations. Fix test to actually verify the
5800 AC_CONFIG_FILES output.
5801 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
5802 command, label, and read-file `r' limits. Unify HP-UX spelling.
5804 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
5806 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
5808 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
5809 * tests/mktests.sh: Small shell portability fixes.
5811 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5813 * doc/autoconf.texi (Caching Results): Fix the examples to use a
5814 recommended quoting style and discard unwanted output.
5816 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
5818 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
5819 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
5820 cases, and to work around Tru64 expr bug.
5822 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5824 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
5825 expr bug that turns the result of a regex match into a number if
5828 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5830 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
5831 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
5832 in section `Specific Compiler Characteristics'.
5834 2006-03-04 Eric Blake <ebb9@byu.net>
5836 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
5839 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5841 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
5842 order of variable initialization, so even the Solaris 2.6 shell
5843 can create a config header correctly. Fixes lots of test suite
5846 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5848 * doc/autoconf.texi (Text processing Macros): New node to
5849 document the m4sugar macros m4_re_escape, m4_tolower,
5850 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
5852 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
5854 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
5855 XrmInitialize (0) -> XrmInitialize ().
5856 Reported by Toshio Kuratomi.
5858 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5860 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
5861 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
5862 * doc/autoconf.texi (Programming in M4sh): Adjusted.
5863 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
5864 both macros are defun'ed so that required macros are evaluated
5867 * doc/autoconf.texi (Prerequisite Macros): State more precisely
5868 where a required macro will be expanded.
5869 (Coding Style): Another reason not to use `m4_define'.
5871 2006-02-21 Eric Blake <ebb9@byu.net>
5873 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
5875 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5877 * doc/autoconf.texi (Looping constructs): New node, to
5878 document m4_for, m4_foreach, m4_foreach_w, and mention
5879 obsolete AC_FOREACH.
5880 (Obsolete Macros): Document AC_FOREACH.
5881 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
5882 (m4_for): Fix to never loop (almost) endlessly, work correctly
5883 with arithmetic expressions in arguments, a step of zero or
5884 non-integer multiple of the interval, and avoid integer
5886 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
5889 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
5891 Add basic support for Erlang, both for configuring Erlang/OTP
5892 tools, and Erlang as a conf test language.
5893 * lib/autoconf/erlang.m4: New file.
5894 * lib/autoconf/autoconf.m4: Add erlang.m4.
5895 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
5896 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
5897 * NEWS: Add short description of new macros.
5898 * THANKS: Add Romain Lenglet.
5900 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5902 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
5903 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
5905 2006-02-15 Eric Blake <ebb9@byu.net>
5907 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
5910 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5912 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
5913 (_AS_CASE): Private helper macro.
5914 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
5915 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
5916 Fix syntax of AS_IF description
5917 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
5918 for the AC_REQUIRE mess.
5919 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
5922 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
5924 * doc/autoconf.texi: Minor style cleanup.
5925 Be consistent about spaces after commas.
5926 Insert [] where empty args look a bit funny.
5927 Fix some "i.e." and "e.g." usages.
5928 Try to avoid "X/Y" usages.
5929 Don't be pedantic about "ISO C99"; just say C99.
5930 Prefer GNU style for spaces in front of parens.
5931 (Function Portability): Comment about C89 versus C99
5932 signed integer division.
5933 (Particular Headers): Use current gnulib style for dirent
5936 2006-02-14 Stepan Kasal <kasal@ucw.cz>
5937 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5939 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
5940 macros without parameters.
5941 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
5942 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
5943 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
5945 (autoupdate): Updated to match AU_ALIAS fix.
5947 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5948 and Paul Eggert <eggert@cs.ucla.edu>
5950 * doc/autoconf.texi (Programming in M4sh): Document
5951 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
5953 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5955 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
5956 (AS_BOURNE_COMPATIBLE): ..this.
5957 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
5959 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
5961 * doc/install.texi (Defining Variables): Tighten up the
5962 CONFIG_SHELL wording.
5964 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
5965 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5967 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
5968 of (set -o) rather than testing whether (set -o posix) succeeds,
5969 to work around a bug in the AIX 5.3 shell. Problem originally
5970 reportd by Howard Chu for libtool.
5972 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
5974 * doc/autoconf.texi (Running the Compiler, Running the Linker):
5975 Changes the macro arguments in summaries to match the
5978 2006-02-04 Stepan Kasal <kasal@ucw.cz>
5980 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
5981 hint as ``a workaround for a bug.''
5983 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5985 * bin/autoreconf.in: New option `--no-recursive'.
5986 Improve wording for subpackages a bit.
5987 * doc/autoconf.texi (autoreconf Invocation): Updated.
5990 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
5991 in environment of `configure', not the command line.
5992 Reported by Howard Chu <hyc@highlandsun.com>.
5994 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
5996 * doc/autoconf.texi (Limitations of Builtins): Document the
5997 problem with "trap -".
5999 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
6001 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
6002 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
6003 messages to differentiate Fortran and Fortran 77 tests.
6004 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
6005 AC_LANG_ASSERT, to allow use in mixed-language projects.
6007 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
6009 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
6010 FOO" to "defined (FOO)".
6011 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
6012 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
6013 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
6014 * tests/tools.at (ifnames): Likewise.
6016 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6018 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
6019 * lib/Autom4te/General.pm (mktmpdir): Likewise.
6020 (END): Improve error message a bit.
6021 Reported by Bruce Korb <bkorb@gnu.org>.
6023 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6025 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
6026 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
6028 2006-01-11 Stepan Kasal <kasal@ucw.cz>
6030 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
6031 requires sys/stream.h. Reported by Oliver Kiddle.
6033 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6034 Stepan Kasal <kasal@ucw.cz>
6036 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
6037 before the removals of test dirs, use `find' to avoid modification
6038 of symlinked directories.
6040 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
6042 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
6043 Don't ignore the macro arguments.
6045 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
6047 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
6048 declaration that works for MSVC.
6050 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6052 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
6053 Add `*.map' and `.inf' for Green Hills compiler.
6054 Reported by Stefan Seefeld <stefan@codesourcery.com>.
6056 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
6057 correctly: pad with spaces after FIRST_PREFIX if necessary,
6058 and compute string lenghts with `m4_qlen' instead of `m4_len'.
6059 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
6060 * tests/m4sh.at (AS_HELP_STRING): Test extended.
6062 Reported by numerous people, numerous times.
6064 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
6066 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
6067 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
6068 * lib/autoconf/general.m4, lib/autoconf/status.m4:
6069 * lib/autotest/general.m4, tests/local.at:
6070 Update copyright year to 2006.
6072 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
6074 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
6075 for file names, again. Reported by Noah Misch.
6076 (Coding Style): Explain that s|a|b| is preferred for file names.
6077 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
6078 (AC_OUTPUT_MAKE_DEFS): Likewise.
6079 * lib/autotest/general.m4 (AT_INIT): Likewise.
6080 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
6081 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
6083 Fix Posix-conformance bugs re use of { command in sed scripts,
6084 and improve the sed-related documentation a bit.
6085 * doc/autoconf.texi (Installation Directory Variables): Use
6086 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
6087 rather than "sed" when talking about Sed in general.
6088 (Particular Programs): Likewise.
6089 (Coding Style): y is like s with respect to / and ,.
6090 (Limitations of Usual Tools): Document the weird restrictions
6091 that Posix has about { }. Use better quoting.
6092 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
6093 Rewrite to conform to Posix rules about { } in sed scripts.
6094 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
6095 * tests/foreign.at (Libtool): Likewise.
6096 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
6097 Use our own style advice re 's,a,b,' versus 's|a|b|'.
6099 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6101 * lib/autoconf/status.m4: Fix typo.
6103 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
6104 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
6105 `-def', for the benefit of Portland `pgf90 -Mipa'.
6106 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
6108 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
6110 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
6111 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
6112 shell from zsh to bash.
6114 2005-12-31 Stepan Kasal <kasal@ucw.cz>
6116 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
6117 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
6119 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
6121 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
6122 parentheses in $(...). Problem reported by Eric Blake.
6124 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
6126 * doc/autoconf.texi (Limitations of Usual Tools):
6127 Mention which characters can be escaped with \ in portable regular
6128 expressions used in grep, sed, expr. Mention the leading ^ problem
6129 with expr. Clean up some confusing wording. Mention which
6130 grep options are portable.
6132 2005-12-09 Stepan Kasal <kasal@ucw.cz>
6134 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
6136 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
6138 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
6139 patch, noted by Ralf Wildenhues.
6141 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6143 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
6144 posix' unconditionally, for pdksh in `native sh' emulation.
6146 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
6148 * doc/autoconf.texi (Shellology): Document eval $? problem
6150 (Limitations of Builtins): Likewise.
6152 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6154 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
6155 CONFIG_SHELL in the environment of the configure rerun.
6156 * doc/autoconf.texi (Here-Documents, config.status Invocation):
6157 Suggest passing CONFIG_SHELL absolute, and in the environment
6158 rather than as option.
6160 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6162 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
6163 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
6164 Fix macro quoting. Fix output for n * 98 substituted variables.
6166 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6168 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
6169 `tmp' to avoid file removal race.
6171 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6173 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
6174 ac_clean_files and LIBOBJS.
6176 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6178 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
6179 Factor functionality to..
6180 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
6181 `AC_SUBST($1)' in the public version.
6182 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
6183 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
6186 2005-11-01 Stepan Kasal <kasal@ucw.cz>
6188 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
6191 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6193 * NEWS: Move AH_HEADER mention to right place.
6195 2005-10-27 Stepan Kasal <kasal@ucw.cz>
6197 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
6198 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
6200 2005-10-25 Stepan Kasal <kasal@ucw.cz>
6202 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
6203 conftst2.$ac_objext.
6204 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
6206 2005-10-24 Stepan Kasal <kasal@ucw.cz>
6208 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
6209 conftest.o, to see whether the compiler really obeys; rm the object
6210 file before and after the test and register it with ac_clean_files.
6211 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
6213 2005-10-21 Stepan Kasal <kasal@ucw.cz>
6215 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
6216 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
6217 code so that the most common case requires less forks.
6219 2005-10-20 Stepan Kasal <kasal@ucw.cz>
6221 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
6222 not portable; thanks to Paul Eggert and Alexandre.
6224 * NEWS: Fix an old typo.
6226 2005-10-20 Jim Meyering <jim@meyering.net>
6228 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
6229 the latter'', in two places.
6231 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
6233 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
6234 AC_LANG_PROGRAM, fixing a typo. Don't give details about
6235 the inner workings of AC_LANG_FUNC_LINK_TRY.
6236 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
6237 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
6238 by the function rather than ignoring it.
6239 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
6240 comparing its address. Intel's interprocedural optimization was
6241 outsmarting the old heuristic. Problem reported by
6244 2005-10-19 Stepan Kasal <kasal@ucw.cz>
6246 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
6248 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
6250 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
6251 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
6253 2005-10-04 Stepan Kasal <kasal@ucw.cz>
6255 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
6256 before removing it (chmod -R u+rwx); there are three instances of this.
6258 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6259 Stepan Kasal <kasal@ucw.cz>
6261 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
6262 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
6263 make its content writable before removing it. Remove an errorneous
6264 comment from the end, where the logs of the failed tests are copied
6265 to the main log file.
6267 2005-09-27 Stepan Kasal <kasal@ucw.cz>
6269 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
6270 in case the computer is too quick. Double quote the configure.ac
6273 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
6274 problems if the testsuite were running too fast.
6276 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
6278 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
6279 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
6280 (which belong to Xt, not X itself). See Debian bug 327655.
6281 * NEWS: Mention this.
6283 2005-09-07 Stepan Kasal <kasal@ucw.cz>
6285 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
6287 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
6289 * config/move-if-change: Don't output "$2 is unchanged";
6290 suggested by Ben Elliston. Handle weird characters correctly.
6292 2005-09-06 Stepan Kasal <kasal@ucw.cz>
6294 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
6295 calls, so that the final expansion of this macro is shorter.
6296 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
6297 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
6298 the cleanup there. Use AS_VAR_* macros, to be more general.
6299 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
6301 * lib/autoconf/general.m4: Use AS_IF where appropriate.
6303 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
6305 2005-09-01 Stepan Kasal <kasal@ucw.cz>
6307 * doc/autoconf.texi (Configuration Headers): Add an index entry
6310 2005-08-26 Pavel Roskin <proski@gnu.org>
6312 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
6313 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
6316 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
6318 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
6319 The previous patch didn't work, so try a better one.
6321 2005-08-26 Stepan Kasal <kasal@ucw.cz>
6323 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
6324 in the example. Reported by Bruno Haible.
6325 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
6326 "if $undefined_var;" succeeds with my shell.
6328 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
6329 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
6330 but change the m4_divert_text to m4_divert_once.
6332 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
6334 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
6335 Work around bug in Solaris /usr/xpg4/bin/awk.
6336 The bug is present in at least Solaris 8 through 10.
6338 2005-08-24 Stepan Kasal <kasal@ucw.cz>
6340 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
6341 some evil values and relying on the fact that $* concatenates the
6342 parameters by the first character from IFS.
6344 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
6345 Stepan Kasal <kasal@ucw.cz>
6347 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
6348 first header appears, define AH_HEADER.
6349 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
6350 Update limitations about when to call AC_CONFIG_HEADERS.
6351 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
6352 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
6353 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
6354 ``Configuration Actions''; fix their index entries.
6356 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
6357 options correctly. Process N-M as M-N if M is smaller than N.
6358 Process ranges correctly so that N-N will run only N.
6359 Sort and uniquify the tests that will be run. If there is more
6360 than one test, reinsert the banners for the tests.
6361 * tests/autotest.at (Keywords): Unmark XFAIL.
6363 2005-08-23 Stepan Kasal <kasal@ucw.cz>
6365 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
6366 before passing the macro name to AH_TEMPLATE.
6368 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
6369 now opens log after option processing; in particular, --version
6370 and --help do not touch config.log.
6372 * Makefile.maint: Revert the change from 2005-08-12.
6374 2005-08-22 Stepan Kasal <kasal@ucw.cz>
6376 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
6378 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
6380 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6382 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
6383 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
6386 * doc/autoconf.texi (Defining Symbols, Changed Results):
6387 Prepend to LIBS, not append, in examples.
6389 2005-08-16 Stepan Kasal <kasal@ucw.cz>
6391 When building in place, set srcdir="."; suggested by Tim Van Holder.
6393 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
6394 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
6395 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
6396 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
6397 does not mean "no --srcdir option".
6399 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6401 * tests/autoscan.at (autoscan): New file.
6402 * tests/suite.at: Use it.
6403 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
6404 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
6406 * tests/autotest.at (Keywords): Test keywords combinations.
6408 2005-08-12 Stepan Kasal <kasal@ucw.cz>
6410 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
6411 add "2>&1"; gzip 1.2.4 prints help on stderr.
6413 2005-07-27 Stepan Kasal <kasal@ucw.cz>
6415 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
6416 was pushdef'ed twice while popped only once. Push it only once.
6417 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
6419 2005-07-26 Stepan Kasal <kasal@ucw.cz>
6421 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
6422 prefixed by mere "===", not "configure: === ".
6424 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
6426 * Makefile.maint: Update from Bison.
6428 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
6429 "<tab>" in comment, so that the point is understandable.
6431 2005-07-25 Stepan Kasal <kasal@ucw.cz>
6433 Rewrite substantial part of lib/autoconf/status.m4.
6434 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
6435 and CONFIG_COMMANDS are not processed in four separate loops.
6436 Instead, there is one main loop. This alows that the common code
6437 is expanded only once, thus config.status (and configure) is smaller.
6439 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
6440 the AC_LIST_FILES and cousins macros are no longer used.
6442 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
6443 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
6444 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
6445 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
6446 contain the initialization, nor the for loop, nor the associated
6447 commands; all these go to ...
6448 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
6449 _AC_OUTPUT_CONFIG_STATUS.
6450 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
6451 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
6452 (_AC_OUTPUT_FILE): The creation of the sed script ...
6453 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
6454 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
6455 _AC_OUTPUT_MAIN_LOOP.
6456 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
6457 _AC_CONFIG_COMMANDS): Use ...
6458 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
6459 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
6460 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
6461 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
6462 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
6463 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
6465 (_AC_CONFIG_UNIQUE): Update.
6466 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
6467 Replaced by this ...
6468 (_AC_LIST_TAGS): ... new common macro.
6469 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
6470 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
6471 (_AC_LIST_TAG_COMMANDS): ... new common macro.
6472 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
6473 this didn't belong to the `config commands' section.
6474 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
6475 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
6476 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
6477 to the `config commands' section either.
6478 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
6479 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
6481 ... and many changes to the comments nearby.
6483 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
6484 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
6485 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
6486 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
6487 (#define header templates): The comment at the top of the generated
6488 header now includes the name(s) of the source file(s).
6490 Several unrelated small changes:
6492 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
6493 parameter to AC_DIAGNOSE.
6494 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
6495 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
6496 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
6497 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
6499 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
6500 in AC_OUTPUT doesn't double-quote it either.
6501 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
6504 2005-07-10 Stepan Kasal <kasal@ucw.cz>
6506 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
6507 versions of Portland Group compiler produce single- and double-quoted
6508 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
6509 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
6511 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
6513 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
6514 This is a corrected version of yesterday's patch.
6516 2005-07-07 Stepan Kasal <kasal@ucw.cz>
6518 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
6519 path, too; insert a "===" to emphasize the line.
6521 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
6522 ac_cv_build_alias to ac_build_alias.
6523 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
6525 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
6526 change eliminates it. Problem reported by Alexandre Duret-Lutz.
6527 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
6528 (AC_ARG_VAR): ... here.
6529 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
6532 Keep a list of all precious variables and process them with one simple
6533 for loop, instead of expanding all commands, or, OTOH, complicated
6534 processing of output of "set".
6535 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
6536 variable names in new macro...
6537 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
6538 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
6539 a loop to assign all ac_env_* and ac_cv_env_* variables.
6540 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
6542 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
6543 its value to shell variable ac_precious_vars and call
6544 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
6545 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
6546 _AC_ARG_VAR_VALIDATE.
6548 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
6549 and the AC_SUBSTs ...
6550 (AC_INIT): ... here.
6552 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
6553 the ac_subst_files section in config.log.
6555 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
6557 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
6559 * NEWS: New macro AC_C_TYPEOF.
6560 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
6561 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
6562 * tests/c.at (C keywords): Test AC_C_TYPEOF.
6564 Fix problems reported by Nicolas Joly.
6565 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
6566 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
6567 They are generated by the Tru64 v5.1B shell.
6569 2005-07-05 Stepan Kasal <kasal@ucw.cz>
6571 Fix my changes from 2005-07-01; reported by Noah Misch.
6572 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
6573 description, the macro now accepts only a single tag.
6574 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
6576 Fix cases when the varsions of Autoconf and Autotest don't match.
6577 Reported by Noah Misch.
6578 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
6579 at_top_builddir, for compatibility with older autotest.
6580 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
6581 is not set, use at_top_builddir, for compatibility with older
6582 versions of autoconf.
6584 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
6586 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
6587 Problem reported by Patrick Welche.
6589 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
6591 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
6592 sed substitution command, so that we allow | in program prefixes
6593 and program suffixes. (& is a problem anyway; we're not fixing
6595 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
6596 configure_input, top_builddir, srcdir, etc.
6597 * lib/autotest/general.m4 (AT_INIT): Likewise, for
6598 PATH_SEPARATOR in AUTOTEST_PATH.
6600 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
6602 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
6603 for loop over config.site files using `set', to allow
6604 directory names containing IFS characters.
6606 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
6608 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
6609 directories with weird names. Apparently some people like living
6610 on the edge. However, improve the test that "pwd" actually does
6611 report a name for the working directory.
6612 * NEWS: Remove the claim that we test for funny chars in dir names.
6614 2005-07-01 Stepan Kasal <kasal@ucw.cz>
6616 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
6618 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
6619 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
6620 Now accept a single tag, not whitespace separated list.
6621 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
6623 2005-06-30 Stepan Kasal <kasal@ucw.cz>
6625 * doc/autoconf.texi (Configuration Headers): Change the explanation
6626 about #include <config.h>.
6627 (Generic Functions): Mention the Gnulib project.
6628 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
6630 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
6631 document to output the default config_* lists to config.status.
6632 Don't recognize option --file, if the functionality is not there.
6633 Likewise for --header; moreover, recognize --he and --h as shortcuts
6634 for --help in that case.
6636 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
6637 matches the order of execution. No code changed.
6639 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6641 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
6642 single-quoted -cmdline argument in Portland Group compiler.
6643 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
6645 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
6647 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
6649 2005-06-29 Stepan Kasal <kasal@ucw.cz>
6651 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
6652 descriptors to child processes; reported by Norman Gray.
6654 2005-06-29 Stepan Kasal <kasal@ucw.cz>
6656 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
6658 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
6659 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
6660 (AC_SUBST): Call it.
6661 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
6662 the directory specific variables; but don't call it for configure_input.
6664 2005-06-28 Derek Price <derek@ximbiot.com>
6666 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
6669 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
6671 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
6672 directory have inherent problems with special characters like spaces,
6673 due to limitations in Make syntax. Problem reported by Alexandre
6675 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
6676 Also, fix Tru64 porting problem with shell patterns,
6677 reported by Ralf Wildenhues.
6679 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6681 * doc/autoconf.texi (Subdirectories): Fix markup typos.
6683 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
6685 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
6687 Fix some more shell quoting problems. Prompted by a bug report
6688 from Justace Clutter.
6689 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
6690 variable into diagnostic. Make the diagnostic an error, not a warning,
6691 because we really don't support spaces and suchlike in dir names.
6692 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
6693 Don't worry about backslashes in srcdir; it can't happen now.
6694 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
6695 Simplify ac_optarg handling.
6696 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
6698 2005-06-22 Stepan Kasal <kasal@ucw.cz>
6700 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
6701 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
6702 * tests/atlocal.in: Propagate $EGREP and $SED.
6703 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
6704 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
6706 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
6707 that '\|' is not allowed in BREs; recommend using newline separated
6708 list of patterns instead of multiple -e options.
6710 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
6712 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
6714 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6716 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
6718 2005-06-21 Stepan Kasal <kasal@ucw.cz>
6720 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
6721 b, t, r, w commands require single space, while : cannot have any.
6722 (Special Shell Variables): Fix sed code this in the example.
6723 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
6724 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
6726 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
6727 expand to the empty list. Don't use two pairs of m4_changequote,
6730 2005-06-20 Derek Price <derek@ximbiot.com>
6732 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
6734 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
6736 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
6737 * doc/autoconf.texi:
6738 Don't mention Solaris versions so much, if a
6739 problem is common to all extant versions of Solaris. Say "SunOS
6740 4" instead of "SunOS" for SunOS 4.
6741 (awk): Mention more of the limitations of traditional Awk.
6742 (cat): Don't talk about cat -v.
6744 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
6746 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
6747 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
6748 but the implementation is entirely different and is designed
6749 to be compatible with glibc strverscmp.
6750 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
6752 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
6753 on Mac OS X 10.4 reported by Peter O'Gorman in:
6754 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
6755 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
6756 Use shell builtins rather than 'expr', to work around expr bug.
6758 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
6760 * doc/autoconf.texi: "filesystem" -> "file system".
6761 "behaviour" -> "behavior".
6762 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
6763 * lib/autoconf/general.m4: Omit blank after ":" sed command,
6765 * lib/m4sugar/m4sh.m4: Likewise.
6766 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
6767 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
6769 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
6770 (.x.1): Ignore the time stamp in the .TH line when deciding whether
6771 to update the man page. That way, we don't have to check in new
6772 man pages every month.
6774 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
6775 quotes and backslashes. Patch from Derek Price.
6777 2005-06-10 Derek Price <derek@ximbiot.com>
6779 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
6782 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
6784 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
6785 -u, since it outputs chatter if the input files are the same.
6786 Problem reported by Ralf Menzel.
6788 2005-06-08 Derek Price <derek@ximbiot.com>
6790 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
6791 renaming them since they are about to be redefined anyhow.
6793 2005-06-08 Derek Price <derek@ximbiot.com>
6795 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
6796 redefined M4 macros to this node. Document m4_include & m4_sinclude.
6797 Move m4_undefine to alphabetical order.
6799 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
6801 * README: Recommend GNU M4 1.4.3 or later.
6802 * doc/autoconf.texi (Introduction): Likewise.
6803 Reword to avoid some formatting glitches.
6804 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
6805 Clarify explanation of HP compiler bug.
6806 Redo example output tp match current CVS snapshot.
6807 Use @example.org in email addresses when the examples
6808 might get inadvertently cut-and-pasted into user code.
6809 Remove example of autom4te usage that doesn't seem to work now.
6810 Use modern AC_INIT (except when the example is meant to be
6811 shown with Autoconf 2.13).
6812 Update ksh info for Solaris 9 and later.
6814 Modernize description of Automake versions a bit.
6815 Don't claim a future version of Autoconf is near.
6816 * doc/install.texi: Reword to avoid some formatting glitches.
6818 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6820 * doc/autoconf.texi: Add [] to examples, so that the manual
6821 follows its own advice about quoting better.
6822 Reword to avoid some formatting glitches.
6823 * doc/installt.exi: Reword to avoid some formatting glitches.
6825 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
6826 Tru64 ksh pattern matching bug. Reported against Libtool by
6827 Albert Chin <libtool@mlists.thewrittenword.com> and
6828 Nicolas Joly <njoly@pasteur.fr>.
6830 2005-06-06 Stepan Kasal <kasal@ucw.cz>
6832 m4_cdr of one-member list was [[]] (one-member list containing an
6833 empty string) instead of [] (an empty list. Callers were skewed to
6834 match this misbehaviour. As a consequence of this:
6835 - m4_foreach([x], [], [foo]) expanded to `foo', while
6836 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
6837 This bug has been fixed:
6839 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
6840 expand to an empty string; print error msg if called without
6842 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
6843 misbehaviour; handle [] and [[]] correctly.
6845 2005-06-06 Stepan Kasal <kasal@ucw.cz>
6847 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
6848 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
6849 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
6851 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
6853 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
6854 swallow records with more than 99 fields.
6855 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
6856 parse the long line.
6858 2005-06-04 Stepan Kasal <kasal@ucw.cz>
6860 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
6861 swallow literals longer than 399. Reported by Ralf Wildenhues.
6862 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
6863 to workaround this limitation.
6865 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
6867 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
6868 to gfortran, and make these the first two compiler names
6869 checked (following the general autoconf preference for gcc).
6871 2005-06-03 Stepan Kasal <kasal@ucw.cz>
6873 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
6874 (DISTCLEANFILES): Remove $(check_SCRIPTS).
6875 (testsuite): Make sure autotest.m4f is up-to-date before using it.
6877 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
6879 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
6880 expression of unbounded size when processing the --list
6881 option. This runs afoul of a limit of 399 bytes per regular
6882 expression on AIX. Problem reported by Ralf Wildenhues.
6884 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
6886 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
6887 * doc/autoconf.texi (Particular Headers): Reword example
6888 for multiline stdbool replacement.
6889 (Setting Output Variables): Reword text a bit. Don't
6890 give all the details about |#_!!_#|.
6891 Reword description of line replacement.
6893 2005-05-31 Dan Manthey <dan_manthey@partech.com>
6895 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
6896 now contain newlines, and substituted files must be referenced on
6897 a line alone; the sed scripts to substitute them are now very
6899 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
6900 commands can be put in a sed script portably.
6901 * doc/autoconf.texi (Setting Output Variables): Document above
6902 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
6903 use of multiline substitution.
6904 * tests/torture.at: No longer expect substitution of newline to fail.
6906 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
6908 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
6909 From Ralf Menzel (trivial change).
6911 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
6913 * tests/local.at: Don't attempt to check for negated character
6914 classes in shell scripts. The test was too brittle.
6916 2005-05-25 Stepan Kasal <kasal@ucw.cz>
6918 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
6919 * doc/autoconf.texi (Limitations of Builtins): Document this
6922 2005-05-24 Stepan Kasal <kasal@ucw.cz>
6924 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
6925 common code; used in many places in the tree.
6926 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
6927 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
6929 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
6931 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
6932 messages when ac_unique_file is not found.
6933 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
6934 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
6935 commands, for consistency with AC_MSG_ERROR and such.
6937 * bin/autoconf.as: Make more use of "shift 2" in option processing.
6939 * bin/Makefile.am: Merge the two rules for creating scripts.
6941 2005-05-23 Stepan Kasal <kasal@ucw.cz>
6943 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
6944 obsolete; it was never documented.
6945 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
6947 2005-05-20 Stepan Kasal <kasal@ucw.cz>
6949 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
6950 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
6951 (ac_top_builddir): ... this ...
6952 (ac_top_build_prefix): ... to this; the old name is also kept, for
6953 backward compatibility.
6954 (ac_top_builddir_sub): New variable, without the trailing slash,
6956 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
6957 * doc/autoconf.texi (Configuration Actions): Rename
6958 ac_top_builddir to ac_top_build_prefix.
6959 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
6960 at_top_builddir to at_top_build_prefix.
6961 * lib/autotest/general.m4 (AT_INIT): Likewise.
6963 2005-05-20 Stepan Kasal <kasal@ucw.cz>
6965 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
6968 2005-05-17 Stepan Kasal <kasal@ucw.cz>
6970 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
6971 argument to m4_foreach. I guess it was necessary in the past,
6972 but I think it's a no-op now.
6974 2005-05-17 Stepan Kasal <kasal@ucw.cz>
6976 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
6977 ``cat <<_ACEOF'' commands to one.
6978 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
6979 * lib/autoconf/status.m4: On various places, use expr instead of
6981 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
6982 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
6983 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
6985 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
6986 the wrong patterns between ``case'' and ``esac.'' The previous
6987 code had false positives.
6989 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
6991 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
6993 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
6996 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
6998 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
6999 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
7000 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
7001 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
7002 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
7003 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
7004 config/config.guess, config/config.sub, config/elisp-comp,
7005 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
7006 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
7007 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
7008 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
7009 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
7010 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
7011 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
7012 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
7013 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
7014 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
7015 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
7016 lib/autoconf/general.m4, lib/autoconf/headers.m4,
7017 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7018 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
7019 lib/autoconf/specific.m4, lib/autoconf/status.m4,
7020 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
7021 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
7022 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
7023 lib/autotest/general.m4, lib/emacs/Makefile.am,
7024 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
7025 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
7026 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
7027 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
7028 tests/compile.at, tests/foreign.at, tests/fortran.at,
7029 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7030 tests/semantics.at, tests/suite.at, tests/tools.at,
7031 tests/torture.at, tests/wrapper.as:
7032 Update FSF postal mail address.
7034 2005-05-13 Stepan Kasal <kasal@ucw.cz>
7036 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
7038 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
7039 enough arguments, similarly as in m4_bpatsubsts.
7041 2005-05-12 Stepan Kasal <kasal@ucw.cz>
7043 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
7046 2005-05-11 Stepan Kasal <kasal@ucw.cz>
7048 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
7049 for absolute directory names in one loop.
7050 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
7051 abbreviations of --version and --debug.
7053 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
7055 * doc/autoconf.texi (Autoconf Language): Be more precise about
7056 quoting rules. Problems noted by Stepan Kasal.
7057 Also, throughout this document, be more careful about white space.
7058 "blank", "white space", and "space" all have different meanings
7059 and we should be careful to say what we mean.
7061 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
7063 Fix C++ related problems reported by Werner Lemberg.
7064 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
7065 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
7066 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
7067 avoid problems with C++ and throw.
7068 * tests/compile.at: .cpp, not .cc.
7070 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
7072 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7074 * doc/autoconf.texi (Generic Functions): Typos.
7076 2005-05-02 Gary V. Vaughan <gary@gnu.org>
7078 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
7079 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
7080 set by latest automake.
7082 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
7084 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
7085 outputs 0 on GNU/Linux these days.
7087 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
7089 * doc/autoconf.texi (Autoconf Language): Add more description
7090 about quoting heuristics.
7091 (Limitations of Builtins): Describe "set -" problems.
7093 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7095 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
7098 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
7099 by AC_DEFINE; it was a mistake.
7100 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
7102 2005-04-25 Stepan Kasal <kasal@ucw.cz>
7104 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
7106 2005-04-22 Stepan Kasal <kasal@ucw.cz>
7108 * doc/autoconf.texi (External Software): Quadrigraphs are not
7109 processed correctly in AS_HELP_STRING; avoid this in the examples.
7110 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
7111 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
7112 comment and reduce m4_default([foo], []) to [foo].
7113 (m4_strip): Update the explanation.
7115 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
7117 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
7118 Remove core.conftest.* too; it's generated by Tru64 5.1.
7119 Problem reported by Jennis Pruett.
7120 * lib/autoconf/functions.m4
7121 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
7122 Don't bother to remove core files; AC_RUN_IFELSE should do that
7125 2005-04-19 Stepan Kasal <kasal@ucw.cz>
7127 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
7129 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
7131 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
7132 Report from Horst Wente.
7134 2005-04-15 Stepan Kasal <kasal@ucw.cz>
7136 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
7139 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
7141 * doc/autoconf.texi (External Software, Package Options): Add
7142 examples showing how to implement --with-* and --enable-* options.
7144 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
7146 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
7147 as well as configure.in. Problem reported by Gregorio Guidi.
7149 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
7151 * doc/autoconf.texi (Particular Functions): Use gnulib's current
7152 pattern for alloca snippet.
7154 2005-04-04 Stepan Kasal <kasal@ucw.cz>
7156 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
7158 2005-04-01 Stepan Kasal <kasal@ucw.cz>
7160 * doc/autoconf.texi (Generic Programs): Fix a typo.
7162 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
7164 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
7165 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
7167 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7169 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
7170 Merge `-z option' as well for the benefit of Solaris link flags. Pass
7171 whole-archive (-zallextract, -zdefaultextract) options in the hope of
7172 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
7173 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
7175 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
7177 * NEWS: The configure command now warns you if you attempt to use
7178 a directory whose name contains a special character like space,
7180 * doc/autoconf.texi (Installation Directory Variables): Allow
7181 "," in file names. Do not use \@; it's not a portable regexp.
7182 * bin/Makefile.am (edit): Likewise.
7183 * lib/Makefile.am (edit): Likewise.
7184 * tests/Makefile.am (edit): Likewise.
7185 * tests/semantics.at: Likewise.
7186 * tests/torture.at: Likewise.
7187 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
7188 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
7189 * doc/autoconf.texi (File System Conventions): Warn about
7190 unportable file names.
7191 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
7193 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
7194 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
7195 ac_pwd, and quote srcdir.
7196 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
7198 * doc/autoconf.texi: Fix some systematic formatting problems.
7199 ".)" needs a following @: if not at the end of a sentence, and
7200 similarly for "!)". "etc." should be preceded by a comma.
7201 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
7203 2005-03-22 Bruno Haible <bruno@clisp.org>
7205 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
7206 argument is often called 'build-aux'.
7208 2005-03-07 Stepan Kasal <kasal@ucw.cz>
7210 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
7211 macro AC_TRY_LINK is obsolete.
7212 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
7215 2005-02-24 Stepan Kasal <kasal@ucw.cz>
7217 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
7218 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
7219 from a Common Lisp's `cl'.
7220 (AC_PROG_CXX): Behave according to the documentation: don't
7221 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
7222 make the variable CCC precious; use `cl.exe', not `cl'.
7224 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
7225 Alexandre Duret-Lutz <adl@gnu.org>
7227 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
7228 /dev/null, as "configure" shouldn't read stdin, and this insulates
7229 us from problems (e.g., when testing for "cl"). Also, do this
7230 redirection before invoking "hostname" or "uname", and keep the
7231 original input stream available via...
7232 (AS_ORIGINAL_STDIN_FD): ... this new macro.
7233 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
7234 bother with "</dev/null" since it's now done at the top of
7236 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
7237 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
7238 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
7239 * doc/autoconf.texi (File Descriptor Macros): New section.
7240 (Printing Messages): Mention it.
7241 * tests/base.at (Input/Output): New test.
7243 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
7245 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
7246 newline if neither \c nor -n work, as that would output two
7247 newlines. Prefer -n to \c. Reported by Stepan Kasal.
7249 2005-02-12 Stepan Kasal <kasal@ucw.cz>
7251 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
7252 This causes that any required macros inside will get before the if.
7253 * doc/autoconf.texi (autom4te.cache): A typo.
7255 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
7257 Undo previous change, except keep the change to
7258 lib/autoconf/programs.m4 that replaced grep with shell
7259 pattern-matching. This is because net-snmp configure reads stdin.
7260 Reported by Noah Misch.
7262 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
7264 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
7265 from /dev/null, as "configure" shouldn't read stdin, and this
7266 insulates us from problems (e.g., when testing for "cl").
7267 Suggested by Alexandre Duret-Lutz. Also, do this redirection
7268 before invoking "hostname" or "uname".
7269 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
7270 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
7271 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
7272 "</dev/null" since it's now done at the top of 'configure'.
7273 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
7274 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
7275 Also, replace grep with shell pattern-matching, to save a process.
7277 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
7279 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
7280 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
7281 avoid thinking that Allegro Common Lisp's "cl" command is a C++
7284 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
7286 * doc/autoconf.texi (Limitations of Usual Tools): Document that
7287 grep -q isn't portable. Improve grep -s explanation.
7288 Problem reported by Dan Manthey.
7290 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
7292 * doc/autoconf.texi (Special Shell Variables): Clarify
7293 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
7295 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
7297 * doc/autoconf.texi: Use @acronym for DJGPP.
7298 Fix some @code's that should have been @env's, and vice versa.
7299 Sort environment variable names.
7300 Mention that shells no longer inherit IFS.
7301 Don't recommend PATH_SEPARATOR=';' so strongly.
7302 Mention that $RANDOM might expand to the empty string.
7303 "symlink" and "soft link" -> "symbolic link".
7304 Improve mktemp description (reported by Bruno Haible).
7306 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
7308 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
7309 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
7311 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
7314 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
7316 * NEWS: Mention AT_COPYRIGHT.
7318 * tests/local.at (AT_CMP): Use diff directly on input files rather
7321 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
7322 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
7324 2005-02-04 Noah Misch <noah@cs.caltech.edu>
7325 and Paul Eggert <eggert@cs.ucla.edu>
7327 * tests/autotest.at (Empty test suite): New test.
7328 * tests/torture.at (Substitute and define special characters)
7329 (Substitute a 2000-byte string, Define to a 2000-byte string)
7330 (Substitute a newline, Define a newline): New tests.
7332 2005-02-04 Noah Misch <noah@cs.caltech.edu>
7334 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
7335 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
7336 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
7337 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
7338 (Standard regular expressions): New test.
7339 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
7340 excess test name quoting.
7341 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
7342 CPPFLAGS to `configure' instead of setting it in `configure'.
7344 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
7345 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
7348 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
7349 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
7351 * tests/local.at (AT_CMP): New macro.
7352 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
7353 (AC_SAVE_STATE): Move environment grep...
7354 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
7355 (AT_CONFIG_CMP): New macro.
7356 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
7357 * tests/c.at (Extensions): Do not exit early.
7358 * tests/atlocal.in: Inherit $GREP.
7360 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
7361 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
7363 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
7364 (AC_COPYRIGHT): Factor header comment portion out and move into...
7365 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
7366 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
7367 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
7369 * tests/local.at: Add Autoconf test suite copyright notice.
7370 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
7372 2005-02-04 Bruno Haible <bruno@clisp.org>
7373 and Paul Eggert <eggert@cs.ucla.edu>
7375 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
7377 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
7379 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
7380 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
7382 Try not to generated lines of unlimited length, as POSIX places a
7383 2047-byte limit on line length of portable text files.
7384 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
7385 Use newline as a separator, not space.
7386 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
7387 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
7390 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7392 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
7393 as_func_*. Add test to check whether positional parameters
7394 are restored after function return.
7396 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
7398 * doc/autoconf.texi (Special Shell Variables): Mention _,
7399 BIN_SH, DUALCASE. Say that variables other than "status" are safe
7400 if they contain a lower-case letter. The DUALCASE problem was
7401 reported by Ralf Wildenhues.
7403 * bin/autoconf.as: Don't exit with status 0 after write failure
7404 with --help or --version.
7405 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
7406 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
7408 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7410 * doc/autoconf.texi (Limitations of Usual Tools):
7411 Unicos 9 sed limitations.
7412 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
7413 to get the option-enhanced interface on older Crays. Try ftn for
7414 Fortran 95 (newer Crays).
7416 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
7418 * man/Makefile.am (.x.1): Go back to the simple solution, but take
7419 care to echo the commands, so the user knows what's going on.
7420 Modified from a suggestion by Stepan Kasal.
7422 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
7423 with a cross reference. Derived from a suggestion by Bruce Korb.
7425 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
7427 * doc/autoconf.texi (config.status Invocation): Warn about
7428 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
7429 * doc/install.texi (Defining Variables): Likewise.
7430 Based on a proposed patch by Ralf Wildenhues.
7432 * man/Makefile.am (.x.1): Make sure the required generated files
7433 are up to date. Problem and original solution proposed by Stepan Kasal.
7434 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
7435 implicit-man-prerequisites): New rules, used by the above.
7437 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
7438 * config/config.guess, config/config.sub, config/install-sh: Likewise.
7439 * config/missing, config/texinfo.tex: Likewise.
7441 2005-01-29 Stepan Kasal <kasal@ucw.cz>
7443 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
7444 Update the long comment explaining it.
7446 m4_require no longer writes an ``is required by'' line to the
7447 execution stack. It contains only one bit of non-redundant
7448 information: that the macro was required, not called. And even
7449 this bit is useless in most situations: have you ever met a macro
7450 which both calls and requires the same macro?
7452 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
7453 (_m4_defun_pro_outer): ... only via this macro, for the outermost
7455 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
7456 (m4_expansion_stack_pop): Remove the misplaced comment.
7457 (m4_require): Don't put the ``is required by'' line to the
7458 execution stack; slightly improve the out-of-a-defun error message.
7459 (_m4_divert_grow): New macro, counter for the temporary diversions.
7460 (_m4_require_call): Use it.
7461 * tests/m4sugar.at (m4_require): Expect output without the
7462 ``is required by'' messages.
7464 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
7466 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
7467 rather than x for expr.
7469 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
7471 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
7472 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
7473 * lib/autotest/general.m4 (AT_INIT): Likewise.
7474 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
7475 * tests/mktests.sh: Likewise.
7477 2005-01-27 Akim Demaille <akim@epita.fr>
7479 Have autoheader honor --force.
7481 * doc/make-stds.texi, doc/standards.texi: Update from masters.
7482 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
7483 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
7484 from masters, so that FileUtils.pm's update_file provide --force
7486 * bin/autoheader.in: Pass $force to update_file so that
7487 config.h.in is always recreated when --force.
7489 2005-01-24 Stepan Kasal <kasal@ucw.cz>
7491 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
7493 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
7495 * doc/autoconf.texi (Limitations of Builtins): Clarify that
7496 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
7498 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
7500 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
7501 Warn about newline stripping in `` and $(). Update Solaris
7503 (Limitations of Builtins): Use expr "X...", not expr "x...", as
7504 X insulates us from future changes to Posix.
7505 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
7508 2005-01-19 Stepan Kasal <kasal@ucw.cz>
7510 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
7511 you cannot use AC_DEFINE to define macros containing `[' or `]'.
7513 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
7515 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
7516 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
7517 bug-tar mailing list.
7519 2005-01-05 Stepan Kasal <kasal@ucw.cz>
7521 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
7523 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
7525 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
7526 ulongval to be static, to avoid unwanted GCC warning. Problem
7527 reported by Michael Jennings via Daniel Reed; see
7528 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
7530 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
7532 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
7533 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
7534 datadir, infodir, and mandir. Adjust argument parsing code.
7535 (_AC_INIT_HELP): Update help text.
7536 * doc/autoconf.texi (Installation Directory Variables): Document
7539 2005-01-04 Noah Misch <noah@cs.caltech.edu>
7541 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
7542 not seem to work, assume it does set $(MAKE).
7543 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
7545 2005-01-03 Stepan Kasal <kasal@ucw.cz>
7547 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
7549 2005-01-03 Stepan Kasal <kasal@ucw.cz>
7551 A cleanup of the diversion support in m4sugar.
7553 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
7554 (_m4_divert_n_stack): New macro; the expansion is
7555 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
7557 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
7558 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
7559 stored in _m4_divert_diversion or _m4_divert_dump.
7560 (m4_divert_pop): When the parameter is given, compare the symbolic
7561 name with the last diversion pushed on the stack. Previously, the
7562 current diversion was compared with the numeric value of the
7563 diversion given as the parameter.
7564 (m4_require): If the macro hasn't been expanded yet, call ...
7565 (_m4_require_call): this new macro.
7567 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7569 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
7570 Workarounds for documented `case' limitations.
7572 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
7574 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
7575 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
7577 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
7579 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
7580 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
7581 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
7583 Patch from Roger Leigh (with some minor changes) as follows:
7584 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
7585 Resurrect AC_PROG_CC_STDC.
7586 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
7587 AC_PROG_CC_C89, AC_PROG_CC_C99.
7588 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
7589 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
7590 AC_PROG_CC_C99): New macros.
7591 (AC_PROG_CC_STDC): Use them.
7592 (_AC_PROG_CC_STDC): Remove.
7593 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
7594 * THANKS: Add Roger Leigh.
7596 2004-12-30 Noah Misch <noah@cs.caltech.edu>
7598 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
7599 signals that the package uses Automake; a `Makefile.am' is typical but
7600 not essential. Reported by Magnus Therning.
7601 * tests/torture.at (autoreconf.): New banner.
7602 (autoreconf and non-AC configure): Rename to `Non-Autoconf
7604 (autoreconf an empty directory): Rename to `Empty directory'.
7605 (Unusual Automake input files): New test.
7607 2004-12-30 Noah Misch <noah@cs.caltech.edu>
7609 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
7610 (AT_SETUP): Clear AT_capture_files.
7611 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
7612 (AT_KEYWORDS): Fix comment typo.
7613 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
7614 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
7615 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
7617 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
7619 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
7620 If the variable to set is already set, set ac_cv_path_$1
7621 to the preset value so caller can assume ac_cv_path_$1
7622 is available. (trivial change)
7624 2004-12-27 Noah Misch <noah@cs.caltech.edu>
7626 * BUGS (Minor Problems): Warn about makefile limitations.
7627 * Makefile.am: Find and update `INSTALL' in $(srcdir).
7628 * man/Makefile.am: Find and update manual pages in $(srcdir).
7630 2004-12-24 Eric Blake <ebb9@byu.net>
7632 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
7633 shells in subshell, to avoid noise from ash. (trivial change)
7635 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7637 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
7638 problems with SunOS ksh and backslash escaping, Bourne shells and
7639 closing brackets (both within character classes). Bug reported
7640 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
7641 <read>: New entry. Mention non-availability of -r.
7643 2004-12-21 Akim Demaille <akim@epita.fr>
7645 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
7646 avoid cluttering displayed messages. Rather, prepend srcdir where
7647 AT_LINE is used for log files.
7649 2004-12-21 Stepan Kasal <kasal@ucw.cz>
7651 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
7652 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
7653 no longer part of the macro, quote the occurrence of ``$tmp''.
7654 * doc/autoconf.texi (Forbidden Patterns): Typo.
7656 2004-12-21 Akim Demaille <akim@epita.fr>
7658 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
7659 separated from the test title by forcing a white space.
7661 2004-12-21 Akim Demaille <akim@epita.fr>
7663 Enable Emacs navigation within testsuite.log files.
7665 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
7666 use the compilation mode.
7667 (AT_LINE): Point to the srcdir.
7669 2004-12-19 Noah Misch <noah@cs.caltech.edu>
7671 * tests/Makefile.am (installcheck-local): Use $(bindir).
7672 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
7673 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
7674 Makefile.am scheme Autoconf now uses.
7676 2004-12-18 Noah Misch <noah@cs.caltech.edu>
7678 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
7679 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
7681 2004-12-18 Noah Misch <noah@cs.caltech.edu>
7683 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
7684 (_AT_CHECK): Use it.
7685 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
7686 (AS_ESCAPE): Fix comment.
7687 * tests/autotest.at: Adjust section banner comments.
7688 (AT_CHECK_AT): Accept STATUS and STDERR.
7689 (AT_CHECK_AT_TEST): Likewise.
7690 (Invalid brace-enclosed parameter expansion)
7691 (Multiline command from M4 expansion)
7692 (Double-M4-quoted command): New tests.
7694 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
7696 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
7698 2004-12-17 Akim Demaille <akim@epita.fr>
7700 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
7702 Suggested by Alexandre Duret-Lutz.
7703 * doc/autoconf.texi (Setting Output Variables): Catch up.
7705 2004-12-17 Stepan Kasal <kasal@ucw.cz>
7707 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
7709 2004-12-17 Stepan Kasal <kasal@ucw.cz>
7711 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
7712 remove the comment which said we cannot.
7714 2004-12-17 Stepan Kasal <kasal@ucw.cz>
7716 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
7717 Reini Urban and Paul Eggert for reporting the dependencies.
7719 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
7720 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
7721 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
7723 2004-12-17 Stepan Kasal <kasal@ucw.cz>
7725 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
7726 so that eg. ``autoscan --help'' doesn't truncate it.
7728 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
7730 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
7731 generated conftest files.
7733 2004-12-13 Noah Misch <noah@cs.caltech.edu>
7735 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
7736 tracing on commands with possibly-escaped newlines.
7737 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
7738 discontinued behavior and its implications.
7739 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
7740 (BSx641-newline in command, BS-BS-newline in command)
7741 (BSx640-newline in command, Newline-CODE-BS-newline in command)
7742 (Single-quote-BS-newline in command)
7743 (Single-quote-newline-BS-newline in command): New tests.
7745 2004-12-13 Stepan Kasal <kasal@ucw.cz>
7747 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
7748 on platforms where it works.
7749 (_AS_TEST_PREPARE): Test for ``test -x''.
7750 (_AS_BROKEN_TEST_PREPARE): Nuke.
7752 2004-12-13 Stepan Kasal <kasal@ucw.cz>
7754 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
7755 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
7756 give only 4-letter prefix to AS_TMPDIR, comment fixed.
7757 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
7758 create the temporary directory.
7759 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
7761 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
7763 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
7766 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
7768 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
7770 2004-12-11 Noah Misch <noah@cs.caltech.edu>
7772 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
7773 to avoid using a negated character class. Reported by Nicolas Joly.
7774 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
7776 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
7778 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
7779 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
7780 Don't depend on .x file explicitly, since "make" does that for us.
7781 Suggested by Stepan Kasal.
7783 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
7785 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
7786 ifnames): Factor common code. And they said it couldn't be done!
7788 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
7790 * bin/.cvsignore: Add autoconf.in.
7791 * tests/.cvsignore: Add wrapper.in.
7792 * lib/autotest/general.m4: Escape '$' in case pattern.
7794 2004-12-09 Noah Misch <noah@cs.caltech.edu>
7796 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
7798 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
7800 * tests/autotest.at: New file.
7801 * tests/suite.at: Include it.
7802 * tests/Makefile.am: Distribute it.
7804 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
7805 shell tracing on a command that could contain multiple lines.
7806 * doc/autoconf.text: Document that fact and its implications.
7807 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
7808 * tests/autotest.at (Multiline backquote command substitution,
7809 Multiline parameter expansion, Literal multiline command,
7810 Multiline parenthetical command substitution): Remove XFAIL.
7812 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
7814 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
7815 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
7817 2004-12-08 Noah Misch <noah@cs.caltech.edu>
7819 * configure.ac (test suite): Cease to generate wrapper scripts.
7820 * configure: Regenerate.
7821 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
7822 (m4f_dependencies): Adjust accordingly.
7823 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
7824 (wrapper.in): Generate it in the build directory.
7825 (MAINTAINERCLEANFILES): Delete wrapper.in.
7826 (CLEANFILES): Add wrapper.in.
7827 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
7828 the output. Replace each $as_me with a @wrap_program@.
7829 * tests/wrapper.in: Delete it; we always build it.
7831 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
7832 (EXTRA_DIST): Remove autoconf.in.
7833 (CLEANFILES): Add autoconf.in.
7834 (autoconf): Find autoconf.in in the build directory.
7835 * bin/autoconf.in: Delete it; we always build it.
7837 2004-12-08 Noah Misch <noah@cs.caltech.edu>
7839 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
7840 PATH members so as to not prepend an empty element. Move a comment.
7841 * Makefile.am (SUBDIRS): Build in `tests' last.
7842 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
7844 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
7846 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
7847 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
7848 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
7849 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
7851 2004-12-07 Stepan Kasal <kasal@ucw.cz>
7853 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
7856 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
7858 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
7859 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
7860 * doc/autoconf.texi (Particular Functions): Mention new behavior.
7862 2004-12-03 Stepan Kasal <kasal@ucw.cz>
7864 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
7865 out the common code to ...
7866 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
7867 value of the #define--default to 1, iff the macro was called
7868 with exactly one parameter.
7870 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
7872 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
7873 "char c = '\200';" rather than "char c = 0x80;" as the
7874 latter doesn't conform to the strict C standard due to
7875 overflow on signed char hosts.
7877 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
7878 to -qlanglvl=ansi. We don't want to disable extensions.
7880 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
7882 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
7883 (Using Autotest, testsuite Scripts, Writing testsuite.at):
7884 Reword slightly to avoid some English-language problems noted
7885 by Ralf Wildenhues in:
7886 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
7888 2004-11-29 Stepan Kasal <kasal@ucw.cz>
7890 * NEWS: Add ^L above each release.
7892 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
7894 Fix documentation problems reported by Russ Boylan in
7895 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
7896 along with some nearby cruft.
7897 * doc/autoconf.texi (Libtool): Libtool can be used without
7898 Automake (not without Autoconf).
7899 (Introduction): Mention lists.gnu.org.
7900 * BUGS: Don't mention bugs.gnu.org.
7901 Remove mention of ancient libtool compatibility problem.
7902 * NEWS: Mention that bugs.gnu.org is kaput.
7903 * README: Likewise. Mention where mailing list archives can be found.
7905 2004-11-28 Stepan Kasal <kasal@ucw.cz>
7907 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
7909 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
7911 * doc/autoconf.texi (Pretty Help Strings): Go back to
7912 single-quoting assignments to cache variables.
7914 2004-11-23 Stepan Kasal <kasal@ucw.cz>
7916 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
7917 with the examples; fix the bug in MY_ARG_WITH example reported
7918 by Alexandre Duret-Lutz.
7919 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
7920 expansion of $1 in the comment emitted to configure.
7922 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
7924 * doc/autoconf.texi (Pretty Help Strings): Fix typo
7925 in my editing of the previous patch. Problem reported
7926 by Alexandre Duret-Lutz.
7928 2004-11-22 Stepan Kasal <kasal@ucw.cz>
7930 * doc/autoconf.texi (Autoconf Language): Explain that
7931 ``descriptions'' may not be double quotes.
7932 (Quotation Rule Of Thumb): Likewise.
7933 (Pretty Help Strings): Likewise; remove the wrong comment;
7934 simplify the examples and improve their quoting.
7936 2004-11-13 Stepan Kasal <kasal@ucw.cz>
7938 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
7939 the $1_found variable, don't test whether the file is executable;
7940 Both things are checked ...
7941 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
7942 the former ``test -f''.
7943 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
7945 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
7947 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
7950 2004-11-10 Derek R. Price <derek@ximbiot.com>
7952 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
7953 limitations. Reorder paragraphs for clarity.
7955 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
7957 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
7958 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
7959 variants", "Unix", and some related minor wording fixups.
7961 (Shellology, Special Shell Variables): Document that the Zsh
7962 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
7963 to Alexandre Duret-Lutz for this info.
7965 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
7967 * doc/autoconf.texi (One-Shot Macros): New node.
7969 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
7971 * doc/autoconf.texi (Function Portability): Fix misdescription
7972 of putenv. Problem reported by Michael Wardle.
7974 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
7976 * doc/autoconf.texi (auindex): New macro.
7977 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
7978 Problem reported by Stepan Kasal.
7980 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
7982 Fix problems reported by Andreas Buening in:
7983 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
7984 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
7986 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
7987 readable; it's not true in OS/2-emx.
7989 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
7991 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
7992 "/usr/include", clear ac_x_includes instead of leaving it as "no"
7993 (trivial change). Problem and patch reported by Andrew Church in:
7994 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
7996 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
7998 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
7999 three args in examples. Problem reported by Frederik Fouvry in:
8000 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
8001 Also, fix some minor spacing and punctuation bugs.
8003 2004-09-02 Akim Demaille <akim@epita.fr>
8005 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
8006 "case" to restore ordering.
8007 Reported by Stepan Kasal.
8009 2004-08-26 Akim Demaille <akim@epita.fr>
8011 * doc/autoconf.texi: Minor typos and stylos.
8013 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
8015 * configure.ac (AC_INIT): Bump to 2.59c.
8017 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
8021 * README: Add advice about m4 1.4.2.
8023 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
8024 texinfo.tex for now (done by hand now).
8025 * Makefile.maint (wget_files, cvs_files):
8026 Remove ansi2knr.c; nobody uses it.
8027 (ansi2knr.c-url_prefix): Remove.
8028 (cvs-update): Fix test for failure. I don't know why it ever
8031 * doc/autoconf.texi: Update URLs, some of which went stale.
8032 Use @uref rather than @href.
8034 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
8035 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
8037 * config/config.guess, config/config.sub, config/elisp-comp,
8038 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
8039 doc/fdl.texi, doc/standards.texi: Sync with master copy.
8041 * NEWS, TODO, configure.ac, bin/autoscan.in,
8042 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
8043 doc/install.texi, lib/Autom4te/Configure_ac.pm,
8044 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
8045 lib/autoconf/programs.m4, lib/autoconf/status.m4,
8046 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
8047 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
8048 tests/tools.at, tests/torture.at:
8049 Use "file name" rather than "filename" or "path",
8050 to be consistent with the terminology of the GNU coding standards.
8052 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
8054 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
8055 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
8056 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
8057 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
8059 More fixes to support spaces in the name of the build directory.
8060 This isn't a complete fix but it's an improvement.
8062 * bin/autoconf.as (autom4te_options): New var.
8063 Use it instead of appending to AUTOM4TE, so that we can allow
8064 spaces in the build directory's absolute name.
8065 * bin/autoheader.in ($autoconf): Allow spaces in file names.
8066 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
8067 AT_CHECK_NOESCAPE): Likewise.
8068 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
8069 main program): Likewise.
8071 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
8073 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
8074 From Ralf Corsepius in:
8075 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
8077 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
8079 * doc/autoconf.texi (Function Portability): Document isinf and
8080 and isnan. From a suggestion by Kevin Ryde.
8082 * lib/Autom4te/General.pm (END): Return correct exit status even
8083 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
8085 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
8087 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
8088 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
8089 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
8091 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
8093 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
8094 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
8095 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
8096 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
8097 * lib/autom4te.in (Automake-preselections): Preselect
8098 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
8100 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
8102 * lib/autom4te.in (Automake-preselections): Preselect
8103 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
8106 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
8108 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
8110 * doc/autoconf.texi (Shellology): Mention BIN_SH.
8111 Document problem with "`""`" in pdksh POSIX mode.
8113 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
8115 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
8116 with pdksh, too. Problem reported by Patrick Welche via
8118 * doc/autoconf.texi (Shellology): Note that set -o posix is
8119 useful for pkdsh, too.
8121 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
8123 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
8124 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
8125 Don't fail if ENV or BASH_ENV is readonly.
8126 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
8127 etc. are read only. Problem reported by Ludovic Courtes.
8129 2004-06-23 Noah Misch <noah@cs.caltech.edu>
8131 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
8132 zsh, disable GLOB_SUBST to avoid backslash handling problems.
8135 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
8137 * doc/autoconf.texi (File System Conventions): Warn about
8138 names like "aux". Problem reported by Eric Blake.
8140 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
8141 by zero instead of array size, so that we can use any arithmetic
8142 constant expression (instead of requiring an integer constant
8143 expression). This allows us to test expressions like DBL_MAX <
8144 LDBL_MAX, which didn't conform to the C standard using the old
8146 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
8147 now that we can do floating-point tests at compile time.
8149 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
8151 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
8152 and LDBL_EPSILON, as the resulting expression isn't an
8153 integer constant expression and violates the C standard.
8154 Problem reported by Nelson H. F. Beebe. Also, check
8155 for "L" suffix, and check that long double doesn't have
8156 worse range or precision than double, that mixed-mode
8157 arithmetic doesn't generate a diagnostic, that double
8158 constants fit in long double.
8160 2004-06-03 Kevin Ryde <user42@zip.com.au>
8162 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
8163 malloc(0) and realloc(NULL,size).
8165 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
8168 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
8170 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
8171 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
8174 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
8176 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
8177 can be rewritten using if-then-else. Suggested by Bruno Haible.
8179 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
8181 * doc/autoconf.texi (testsuite Scripts): Fix typo.
8182 Problem reported by Stepan Kasal.
8184 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
8186 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
8187 change). Patch reported by Ralf Wildenhues in
8188 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
8190 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
8191 function F exists if the compiler and linker let you compile an
8192 expression like (F != 0). Recent versions of GCC optimize away
8193 the reference to F in that case, since every function address must
8194 be nonzero, so the link succeeds even if F does not exist.
8195 Problem reported by Manu in
8196 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
8198 * doc/autoconf.texi (Systemology): Standardize on the spelling of
8199 "Unix". Many uses changed.
8200 (Limitations of Builtins): Explain better why the ! command isn't
8203 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
8205 * lib/autom4te.in (Automake-preselections): Preselect
8206 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
8208 2004-05-19 Kevin Ryde <user42@zip.com.au>
8210 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
8211 referencing AC_FUNC_STRERROR_R.
8213 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
8214 note pessimistic assumption when cross compiling.
8216 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
8218 * doc/autoconf.texi (Limitations of Make): Note that BSD make
8219 (until 2004) invoked subcommands with sh -e, contra POSIX.
8220 Reported by Kevin Ryde.
8222 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
8224 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
8225 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
8226 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
8227 `test -f " /usr/bin/grep"', which _always_ failed.
8228 (AC_PROG_SED): Ditto bogus PATH fix.
8229 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
8230 requires that grep correctly supports _multiple_ `-e' options, rather
8231 than stating only that grep should accept `-e'.
8233 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
8235 Port to C99, which requires that 'exit' be declared.
8237 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
8238 to ensure that stdlib.h is included.
8239 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
8240 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
8241 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
8242 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
8243 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
8244 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
8245 when using 'exit' in a test; C99 requires that 'exit' be declared.
8247 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
8249 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
8250 now prefers 'grep' implementations that accept -e.
8251 (Limitations of Usual Tools): Describe problems of traditional
8252 egrep and fgrep with long input lines, and of traditional grep
8254 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
8255 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
8256 All callers changed. Append /usr/xpg4/bin to the PATH, for
8258 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
8259 the user with complaints about multiple -e options.
8260 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
8261 Define it with AC_PROG_GREP.
8262 * configure.ac (AC_PROG_GREP): Add.
8263 * lib/freeze.mk (GREP): New macro.
8265 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
8267 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
8268 a possible candidate only after all others fail, rather than
8269 consulting it first. This improves backward compatibility by
8270 better reflecting the way shell selection occurred in previous
8271 versions of Autoconf, and should help to avoid triggering latent
8272 problems in other packages, such as the one in Automake where zsh
8273 is not handled robustly:
8274 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
8275 Although it is not Autoconf's responsibility to work around
8276 problems in Automake, it nevertheless makes sense to avoid
8277 introducing unnecessary incompatibilites.
8279 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
8280 Gary V. Vaughan <gary@gnu.org>
8282 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
8283 how deeply nested we are when a suitable tool is found, set the
8284 ac_path_TOOL_found flag.
8285 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
8286 nested we are in this macro. Break out of all 3 nested loops if
8287 ac_path_TOOL_found is set.
8289 2004-04-21 Gary V. Vaughan <gary@gnu.org>
8291 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
8292 of the _AS_PATH_WALK loop too if GNU flavor is found.
8294 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
8296 * doc/autoconf.texi (Limitations of Make): Update documentation
8297 for `$<'. New entry `Long lines', based on a report from Simon
8298 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
8299 paragraph about DJGPP, based on a mail from Richard Dawe.
8301 2004-04-20 Paul Eggert <eggert@twinsun.com>
8303 * tests/c.at (C keywords): Don't assume that GCC supports
8304 "restrict" and "inline", as sufficiently-old GCC versions do not
8305 (also, GCC configured to be in pedantic C89 mode does not).
8306 Problem reported by Sumit Pandya in:
8307 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
8309 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
8310 consider -g to work if it generates warnings when plain compiles
8311 don't. Problem reported by Braden McDaniel in:
8312 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
8314 * doc/autoconf.texi (Slashes): New section, to document a problem
8315 reported by Jim Meyering in:
8316 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
8318 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
8319 linker output files before linking, to work around IRIX 6 linker bug.
8320 Problem reported by Rainer Orth in:
8321 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
8323 2004-04-20 Gary V. Vaughan <gary@gnu.org>
8325 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
8326 best tool so far counter rely on the tool path variable name to
8327 avoid checks for one tool being affected by the results of running
8328 the length check on a previous tool.
8330 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
8331 match expression argument, as different greps have different
8332 regular expression flavours.
8333 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
8335 (AC_PROG_EGREP): Pass 'EGREP$'.
8336 (AC_PROG_GREP): Pass 'GREP$'.
8338 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
8340 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
8341 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
8343 2004-03-29 Paul Eggert <eggert@twinsun.com>
8345 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
8346 Types, Specific Compiler Characteristics, System Services,
8347 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
8348 etc. consistently instead of 'long', 'short', 'unsigned' etc.
8349 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
8350 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
8352 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
8353 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
8354 AC_TYPE_OFF_T): Likewise.
8355 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
8358 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
8359 pacify libtool 1.5.2. Fix quoting problems in sed command.
8361 2004-03-28 Paul Eggert <eggert@twinsun.com>
8363 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
8364 now defines HAVE_DECL_TZNAME if it is declared, when
8365 HAVE_STRUCT_TM_TM_ZONE is not defined.
8366 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
8367 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
8370 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
8372 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
8373 superfluous backslashing of quotes (") in sed expressions;
8374 thanks to Paul Eggert.
8376 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
8378 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
8379 Fortran compiler is ifort, also added pghpf; thanks to Nelson
8380 H. F. Beebe for the bug report.
8382 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
8384 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
8385 quoted -cmdline argument in Portland Group compiler (bug
8386 reported by Jeffrey J. Barteet).
8388 2004-03-25 Kevin Ryde <user42@zip.com.au>
8390 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
8391 (Run Time): ... here, where it's now mentioned.
8393 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
8395 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
8396 inherits from language Autoconf-without-aclocal-m4.
8397 (Customizing autom4te): Adjust example; the cache must now be
8398 disabled for language Autoconf-without-aclocal-m4.
8400 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
8401 Nathanael Nerode <neroden@twcny.rr.com>
8403 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
8404 AC_CHECK_TOOLS): Warn if a cross-tool is found without
8406 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
8407 AC_CHECK_TARGET_TOOLS): New macros.
8408 * doc/autoconf.texi (Generic Programs): Document
8409 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
8410 AC_CHECK_TARGET_TOOLS, and warn for future changes
8411 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
8413 (Specifying Names): Document the reason for these future
8415 * tests/mktests.sh: Do not generate tests for the
8417 * NEWS: Document these changes.
8419 * doc/autoconf.texi: Avoid macros with unbraced arguments,
8420 they make TeX hang up.
8422 2004-03-15 Paul Eggert <eggert@bogus.example.com>
8424 * NEWS: New macro AC_CHECK_ALIGNOF.
8425 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
8426 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
8427 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
8429 (AC_CHECK_ALIGNOF): New macro.
8430 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
8431 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
8434 2004-03-03 Paul Eggert <eggert@twinsun.com>
8436 * bin/Makefile.am (edit): Don't use $< in a context where
8437 POSIX doesn't require support for it. Use $@.in instead.
8438 Problem reported by Anthony N. Frasso in
8439 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
8440 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
8442 2004-02-23 Gary V. Vaughan <gary@gnu.org>
8444 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
8445 from the next generation of Libtool.
8446 * lib/autom4te.in (Autoreconf-preselections): Ditto.
8448 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
8450 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
8451 is not always thread-safe. Report from Nathanael Nerode.
8453 2004-02-18 Paul Eggert <eggert@twinsun.com>
8455 Fix a dependencies problem, stemming from a Autoconf 2.59 build
8456 problem on QNX reported by Stephen Rasku in
8457 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
8459 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
8460 $(m4sh_m4f_dependencies); this removes a FIXME.
8461 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
8462 (MAINTAINERCLEANFILES): Split into pieces,
8463 one per related section. Add $(srcdir)/wrapper.in.
8465 2004-02-09 Paul Eggert <eggert@twinsun.com>
8467 * doc/autoconf.texi (Setting Output Variables): Emphasize that
8468 AC_SUBST provides no portable way to escape literal newlines.
8470 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
8471 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
8472 Darwin uses -lcrt2.o and there's little point to cataloging all
8473 the system variants. Partial fix reported by Andreas Waechter in:
8474 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
8475 for bug reported by Nelson H. F. Beebe in:
8476 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
8478 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
8480 * doc/autoconf.texi (AU_DEFUN): Fix English,
8481 suggested by Paul Eggert.
8482 * lib/autoconf/autoupdate.m4: Correct reference to
8483 acobsolete.m4, suggested by Alexandre Duret-Lutz.
8485 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
8487 * bin/autoupdate.in: Define __file__ so that warnings
8488 refer to the correct file.
8489 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
8490 the behavior of the third argument.
8491 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
8492 correctly the behavior of the third argument. Document
8493 what the three macros that AU_DEFUN defines do. Fix
8494 warning message when the third argument includes $0
8495 (reported by Alexandre Duret-Lutz).
8497 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
8498 Eric Sunshine <sunshine@sunshineco.com>
8499 Paul Eggert <eggert@twinsun.com>
8501 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
8502 (AS_INIT): Output shell initialization there. Removed optional
8503 parameter. Expand _AS_SHELL_FN_SPY.
8504 (AS_INIT_WITH_SHELL_FN): Removed.
8505 (_AS_SHELL_FN_SPY): New macro.
8506 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
8508 (AS_SHELL_SANITIZE): Remove loop to find better shell
8509 and documentation for the parameter.
8510 (_AS_DETECT_BETTER_SHELL): Move it here.
8511 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
8512 (_AS_RUN): Move it here, support testing with eval.
8513 (AS_REQUIRE_SHELL_FN): Require shell functions when
8515 (_AS_LINENO_WORKS): Put around braces, we do not
8516 trigger the bash bug anymore.
8517 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
8518 use AS_INIT_WITH_SHELL_FN.
8519 * bin/autoconf.in, tests/wrapper.in: Regenerated.
8521 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
8523 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
8524 * doc/autoconf.texi: Don't say that the third parameter
8526 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
8527 (AU_DEFUN): Honor the third parameter, create autoupdate
8528 macros with AU_DEFINE.
8529 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
8530 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
8531 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
8532 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
8533 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
8534 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
8535 AC_XENIX_DIR): Likewise.
8536 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
8537 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
8538 * lib/autoconf/status.m4: Remove FIXME.
8539 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
8540 that the macro is not present anymore in the updated
8542 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
8545 2004-01-28 Paul Eggert <eggert@twinsun.com>
8547 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
8549 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
8550 2003 (except 1997) to the list of copyright years. This undoes
8551 the 2003-05-22 change, which removed the older years from the list.
8552 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
8554 2004-01-27 Gary V. Vaughan <gary@gnu.org>
8555 Albert Chin-A-Young <china@thewrittenword.com>
8557 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
8558 grep or ggrep program in PATH that accepts as long lines as
8560 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
8562 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
8563 egrep and fgrep respectively if $GREP -E/-F don't work.
8564 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
8565 _AC_PROG_GREP, and AC_PROG_SED.
8566 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
8567 longest input length accepted by a command.
8568 (AC_PROG_SED): Use it.
8569 * doc/autoconf.texi (Particular Programs): Document the changes.
8572 2004-01-27 Paul Eggert <eggert@twinsun.com>
8574 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
8575 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8576 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
8577 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
8579 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
8580 bin/autoconf.in, config/Makefile.in, config/config.guess,
8581 config/config.sub, config/install-sh, config/mdate-sh,
8582 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
8583 lib/Makefile.in, lib/Autom4te/Makefile.in,
8584 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
8585 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
8586 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
8587 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
8588 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
8589 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
8590 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
8591 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
8592 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
8593 tests/actypes.at: Regenerate and/or sync with original
8596 2004-01-26 Paul Eggert <eggert@twinsun.com>
8598 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
8599 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
8600 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
8601 not <inttypes.h>. Problem reported by Tim Mooney in
8602 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
8603 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
8606 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
8607 otherwise "make check" fails because it forbids cmp (I guess
8608 because cmp treats files as binary on DOS-like systems).
8610 * tests/mktests.sh: Update copyright date to 2004, since some tests
8611 have changed in 2004.
8613 2004-01-23 Gary V. Vaughan <gary@gnu.org>
8615 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
8616 non-truncating sed or gsed program in PATH.
8617 * tests/acprograms.at: Add it.
8618 * doc/autoconf.texi (Particular Programs): Document it.
8621 2004-01-15 Paul Eggert <eggert@twinsun.com>
8623 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
8624 -std1 disables some useful extensions on Tru64. Problem reported
8626 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
8628 2004-01-14 Paul Eggert <eggert@twinsun.com>
8630 * doc/autoconf.texi (Programming in M4sh): Document that
8631 AS_MKDIR_P succeeds if the destination is a symbolic link
8632 to an existing directory.
8633 (Limitations of Usual Tools): Note that mkdir -p might not
8634 succeed on symlinks to directories.
8636 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
8638 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
8639 * bin/autoheader.in: Grammar fix in message.
8640 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
8641 Test for dir before calling mkdir -p. (trivial changes)
8643 2004-01-13 Eric Blake <ebb9@byu.net>
8645 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
8646 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
8648 2004-01-10 Jim Meyering <jim@meyering.net>
8650 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
8652 2004-01-09 Paul Eggert <eggert@twinsun.com>
8654 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
8655 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
8656 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
8657 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
8658 AC_COMPILE_IFELSE, since we now assume our caller invokes
8659 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
8660 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
8661 of AC_RUN_IFELSE; this avoids the warning mentioned above.
8662 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
8664 2004-01-07 Paul Eggert <eggert@twinsun.com>
8666 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
8667 `"'...'"`, as it's confusing (and I suspect it may not work on
8668 some platforms). The code was incorrect anyway, as it assumed
8669 that \$ evaluated to itself in that context. Reported by
8670 Alexandre Duret-Lutz.
8672 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
8674 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
8675 and _LT_AC_TAGCONFIG.
8677 2004-01-06 Paul Eggert <eggert@twinsun.com>
8679 * doc/autoconf.texi (One Macro Call): Fix an incorrect
8680 example, and add more examples. Reported by Eric Sunshine.
8682 2004-01-05 Paul Eggert <eggert@twinsun.com>
8684 * doc/autoconf.texi (Limitations of Usual Tools):
8685 Remove warning against "rm -fr" introduced yesterday; it
8688 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
8689 autoscan, autoupdate, ifnames): Don't use chmod -w.
8690 * lib/Makefile.am (autom4te.cfg): Likewise.
8691 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
8694 2004-01-04 Paul Eggert <eggert@twinsun.com>
8695 Paolo Bonzini <bonzini@gnu.org>
8697 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
8698 by doing lineno substitution only on lines containing "$LINENO".
8700 2004-01-04 Paul Eggert <eggert@twinsun.com>
8702 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
8703 Use "rm -f" to remove conftest.sed, not plain "rm".
8704 Bug reported by David Relson in
8705 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
8707 * Makefile.am (autom4te-update):
8708 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
8709 * Makefile.maint (my-distcheck, do-po-update): Likewise.
8710 * doc/autoconf.texi (Guidelines): Likewise.
8711 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
8712 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
8713 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
8714 * lib/autotest/general.m4 (AT_INIT): Likewise.
8715 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
8716 * tests/Makefile.am (clean-local): Likewise.
8717 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
8719 * doc/autoconf.texi (Limitations of Usual Tools):
8720 Warn against "rm -fr".
8722 2004-01-03 Paul Eggert <eggert@twinsun.com>
8724 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
8725 -c -o might not work. From a suggestion by Kevin Ryde.
8726 (C Compiler, Generating Sources, Limitations
8727 of Usual Tools, Limitations of Make, Making testsuite Scripts):
8728 Don't put '-o' after non-options, as POSIX doesn't allow this.
8729 Mention that cc's name might be gcc or c89 or whatever.
8731 2004-01-04 Kevin Ryde <user42@zip.com.au>
8733 * doc/autoconf.texi: Add various further index entries.
8735 2003-12-29 Paul Eggert <eggert@twinsun.com>
8737 * bin/autoreconf.in (autoreconf_current_directory):
8738 Fix typo: mkdir without umask arg.
8740 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
8742 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
8743 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
8744 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
8745 explanation clearer.
8747 2003-12-24 Andreas Schwab <schwab@suse.de>
8749 * doc/autoconf.texi (Default Includes): Fix misspelling of
8750 AC_INCLUDES_DEFAULT.
8752 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
8754 * configure.ac: Test if sh -n works.
8755 * configure: Regenerate.
8756 * tests/atlocal.in: Store the result here.
8757 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
8758 tools.at, looking in atlocal's ac_cv_sh_n_works instead
8759 of explicitly testing.
8760 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
8761 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
8762 * tests/tools.at (Syntax of the shell scripts): Simplify
8763 using AT_CHECK_SHELL_SYNTAX.
8764 (Syntax of the Perl scripts): Remove definition of
8765 AT_CHECK_PERL_SYNTAX.
8767 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
8769 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
8770 stderr to /dev/null.
8771 * bin/autoconf.in: Regenerate.
8772 * bin/wrapper.in: Regenerate.
8774 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
8776 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
8777 Extracted from AS_SHELL_SANITIZE.
8778 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
8780 (AS_SHELL_SANITIZE): Move reinvocation code from
8781 _AS_LINENO_WORKS, use it to find out if shell
8783 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
8785 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
8786 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
8788 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
8789 * bin/autoconf.in: Regenerate.
8790 * tests/wrapper.in: Regenerate.
8791 * tests/tools.at: Test the syntax of tests/autoconf
8792 and tests/testsuite.
8794 2003-11-24 Akim Demaille <akim@epita.fr>
8796 * config/announce-gen (&print_locations, &print_signatures)
8799 No longer rely on Gnus to inline the list of signatures: compute
8802 2003-11-24 Akim Demaille <akim@epita.fr>
8804 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
8805 override some files.
8806 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
8807 From Debian Autoconf 2.58.
8809 2003-11-24 Akim Demaille <akim@epita.fr>
8811 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
8813 From Debian Autoconf 2.58.
8815 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
8817 * TODO: Remove already done things. Update the part about finding
8818 tools for the target.
8820 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
8822 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
8823 Make wording more consistent.
8824 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
8825 Explain the transition better.
8826 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
8827 the transition better.
8829 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
8831 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
8832 parameter of AU_DEFUN.
8833 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
8834 (AU_DEFUN): Remove the third parameter, it was not used.
8835 Use AC_DEFUN directly, not AU_DEFINE.
8836 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
8837 the expanded body, consistently with other macros such as AC_USG.
8839 2003-11-17 Paul Eggert <eggert@twinsun.com>
8841 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
8842 into the initial confdefs.h, to work around a bug in NextStep 3.3
8843 patch 3 reported by Eric Sunshine.
8845 2003-11-15 Kevin Ryde <user42@zip.com.au>
8847 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
8848 than $target since the latter is not usual, add guidelines on when to
8849 use or not use the system type.
8851 2003-11-12 Derek Price <derek@ximbiot.com>
8853 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
8854 typo misrepaired by an auto-spellcheck.
8856 2003-11-12 Akim Demaille <akim@epita.fr>
8858 * bin/autoreconf.in (&parse_args): Don't call automake with
8859 --force-missing unless it actually supports it.
8860 From Debian #219336.
8862 2003-11-12 Akim Demaille <akim@epita.fr>
8864 * configure.ac: Bump to 2.59a.
8867 2003-11-06 Akim Demaille <akim@epita.fr>
8871 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
8873 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
8874 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
8875 and ac_abs_top_srcdir are absolute paths.
8876 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
8878 2003-11-05 Akim Demaille <akim@epita.fr>
8880 * configure.ac: Bump to 2.58a.
8882 2003-11-05 Kevin Ryde <user42@zip.com.au>
8884 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
8885 it provokes a warning from makeinfo about looking like a cross
8886 reference in info output.
8888 * doc/autoconf.texi (Function Portability): Add notes on signal
8889 handler return type, as per AC_TYPE_SIGNAL.
8891 2003-11-04 Akim Demaille <akim@epita.fr>
8894 * doc/standards.texi: Update from master.
8896 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
8898 2003-11-04 Akim Demaille <akim@epita.fr>
8900 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
8901 computing the absolute path to d1 in the source hierarchy: it may
8902 not exist at all. So don't cd into it.
8903 From Alexandre Duret-Lutz.
8904 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
8906 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
8907 From Paul Eggert, but named after Perl's IO::Spec->catfile.
8908 * doc/autoconf.texi (Programming in M4sh): Document.
8909 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
8911 2003-11-03 Pavel Roskin <proski@gnu.org>
8913 * doc/autoconf.texi (Generic Structure Checks): Describe
8914 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
8916 2003-10-31 Akim Demaille <akim@epita.fr>
8918 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
8920 * doc/autoconf.texi (Language Choice): Document.
8921 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
8922 the current language is Fortran.
8924 2003-10-31 Akim Demaille <akim@epita.fr>
8926 * bin/autom4te.in (&freeze): Use a less likely warning separator
8927 than `\n\n', so that `\n\n\n' is valid in warnings.
8928 Reported by Steve Huston.
8930 2003-10-28 Akim Demaille <akim@epita.fr>
8932 * Makefile.cfg (local_updates, executable-update): Tweak to be
8933 robust to parallel makes.
8934 Suggested by Alexandre Duret-Lutz.
8936 2003-10-27 Akim Demaille <akim@epita.fr>
8938 * Makefile.cfg (executable-update): New.
8939 (local_updates): Call it.
8941 2003-10-27 Akim Demaille <akim@epita.fr>
8943 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
8944 Don't remove core.* as it may remove valid user files.
8945 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
8946 (AC_FUNC_UTIME_NULL): Likewise.
8948 2003-10-23 Akim Demaille <akim@epita.fr>
8951 * config/config.guess, config/config.sub: Upgrade from masters.
8953 2003-10-23 Akim Demaille <akim@epita.fr>
8955 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
8956 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
8959 2003-10-23 Akim Demaille <akim@epita.fr>
8961 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
8962 Don't forget to remove conftest.err.
8964 2003-10-23 Akim Demaille <akim@epita.fr>
8966 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
8967 same object file in $LIBOBJS.
8968 Reported by Alexandre Duret-Lutz & Derek Robert Price.
8969 * doc/autoconf.texi (Generic Functions): Adjust.
8971 2003-10-20 Paul Eggert <eggert@twinsun.com>
8973 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
8974 Use 'eval', so that the resulting configure scripts work even if
8975 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
8977 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
8979 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
8980 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
8981 (_AC_LINK_IFELSE): Check the werror flag.
8982 * doc/autoconf.texi (Generic Compiler Characteristics): Document
8986 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
8988 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
8989 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
8990 override AC_LINK_IFELSE.
8992 2003-10-15 Paul Eggert <eggert@twinsun.com>
8994 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
8995 pdksh 5.2.14. Bug reported by Ralf Corsepius.
8996 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
8997 Mention /usr/dt/bin/dtksh on Solaris.
8998 (Shell Substitutions): Warn about $((...)).
8999 (Parentheses): New section.
9001 2003-10-15 Kevin Ryde <user42@zip.com.au>
9003 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
9004 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
9006 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
9008 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
9011 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
9013 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
9014 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
9016 2003-10-10 Andreas Schwab <schwab@suse.de>
9018 * bin/autoheader.in: Avoid empty first line in --version and
9020 * bin/ifnames.in: Likewise.
9022 2003-10-09 Paul Eggert <eggert@twinsun.com>
9024 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
9025 Issue a more-informative diagnostic.
9026 Problems reported by Eric Sunshine.
9028 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
9030 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
9031 -mGLOB_options_string stuff for Intel ifc, which can cause
9032 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
9033 pattern-matching instead of grep.
9035 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
9037 * doc/autoconf.texi: Document new FC Fortran macros.
9039 2003-10-08 Gary V. Vaughan <gary@gnu.org>
9041 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
9042 that future autopoint/aclocal/automake/autoreconf will be able
9043 to trace to find where to install local m4 macros.
9044 * doc/autoconf.texi (Input): Document it.
9047 2003-10-06 Gary V. Vaughan <gary@gnu.org>
9049 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
9050 -lcrtbegin.o to list of ignored flags and fix underquoting of
9053 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
9055 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
9056 cache variable instead of $G77 to decide whether to include -O2,
9057 since $G77 is specific to Fortran 77.
9059 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
9061 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
9062 free" flag. Re-order flags tested into rough order of popularity.
9064 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
9066 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
9067 arguments so that it can be used with syntax identical to
9068 AC_PROG_F77, and so that we can more easily decide to
9069 remove/deprecate the DIALECT optional argument in the future if it
9071 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
9072 non-freeform-supporting compilers. Document freeform flags.
9074 2003-10-03 Akim Demaille <akim@epita.fr>
9076 * configure.ac: Look for emacs, not macs.
9077 Reported by Eric Sunshine.
9079 2003-10-03 Akim Demaille <akim@epita.fr>
9081 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
9082 * bin/autoreconf.in (autoreconf_current_directory): Create the
9083 AUX_DIR if needed, for sake of automake --add-missing etc.
9084 Suggested by Alexandre Duret-Lutz.
9086 2003-10-03 Akim Demaille <akim@epita.fr>
9088 * configure.ac: Quotation and formatting changes.
9089 (EMACS): Don't set it if it is not recent enough to support
9093 2003-10-02 Akim Demaille <akim@epita.fr>
9095 * bin/ifnames.in (&scan_file): Skip C++ comments.
9098 2003-10-01 Pavel Roskin <proski@gnu.org>
9100 * doc/autoconf.texi (Particular Structure Checks):
9101 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
9103 2003-10-01 Akim Demaille <akim@epita.fr>
9107 2003-09-30 Paul Eggert <eggert@twinsun.com>
9109 * lib/Autom4te/XFile.pm: Use Errno.
9110 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
9111 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
9113 2003-09-30 Akim Demaille <akim@epita.fr>
9115 * config/announce-gen (&print_news_deltas): Extracted from...
9116 (&print_changelog_deltas): here.
9117 (&news_file): Rename as...
9120 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
9122 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
9123 have been created when invoking the compiler.
9124 * tests/fortran.at (GNU Fortran 77): Quote $G77.
9126 2003-09-29 Akim Demaille <akim@epita.fr>
9130 * config/mkinstalldirs: Upgrade.
9132 2003-09-28 Paul Eggert <eggert@twinsun.com>
9134 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
9135 Problem reported by Lars J. Aas in
9136 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
9137 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
9138 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
9139 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
9141 2003-09-26 Akim Demaille <akim@epita.fr>
9143 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
9144 directory for AC_CONFIG_COMMANDS' first argument exists.
9145 This makes valid the invocation of _AC_SRCPATH that follows.
9146 Reported by Eric Sunshine.
9147 * doc/autoconf.texi (Configuration Commands): Adjust.
9149 2003-09-26 Akim Demaille <akim@epita.fr>
9151 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
9152 Reported by Ralf Corsepius.
9154 2003-09-26 Akim Demaille <akim@epita.fr>
9156 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
9158 Actually, use AU_ALIAS.
9161 2003-09-26 Paul Eggert <eggert@twinsun.com>
9163 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
9164 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
9165 Problem reported by Eric Sunshine in:
9166 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
9168 2003-09-26 Akim Demaille <akim@epita.fr>
9170 The test suite are sometimes assigning timings incorrectly.
9171 Reported by Henk Krus.
9172 Diagnosed by Nicolas Joly.
9174 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
9176 Instead of making AT_help a sequence of assignments to grow
9177 $at_help_all, just make AT_help_all be the growing contents of
9178 $at_help_all, and make a single assignment in...
9180 (at_times_skip): Flip the meaning and rename as...
9182 (AT_INIT): When summarizing the test that ran, remove
9183 $at_times_file after use, and check it is present before trying to
9186 2003-09-25 Akim Demaille <akim@epita.fr>
9190 * bin/Makefile.am (edit): Handle '@configure_input@'.
9191 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
9192 (ifnames): chmod -w.
9193 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
9194 executables, not bin/ executables! Otherwise all the magic needed
9195 to find non installed files is turned off. This caused a failure
9196 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
9197 as found in its environment (sent by tests/autoreconf): pointing
9198 to bin/autom4te that could not find its files.
9199 * tests/mktests.sh: Force the replacement of generated files, for
9200 the sake of "mv" program that are interactive when overwriting a
9202 * config/install-sh: Upgrade from CVS Automake.
9204 2003-09-23 Paul Eggert <eggert@twinsun.com>
9206 * doc/autoconf.texi (Limitations of Builtins): Document test -h
9207 versus test -L issues.
9209 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
9210 Paul Eggert <eggert@twinsun.com>
9212 Trivial change to support GCC's configuration procedure.
9213 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
9214 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
9215 about inconsistency if the preprocessor is set to give errors for
9217 * doc/autoconf.texi (C Compiler Characteristics): Document this.
9219 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
9221 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
9222 and XFile.pm from Automake.
9223 * lib/Autom4te/XFile.pm: Update from Automake.
9225 2003-09-12 Akim Demaille <akim@epita.fr>
9229 2003-09-12 Akim Demaille <akim@epita.fr>
9231 * config/config.guess, config/config.sub, config/missing,
9232 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
9235 2003-09-12 Akim Demaille <akim@epita.fr>
9237 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
9240 2003-09-11 Akim Demaille <akim@epita.fr>
9242 * doc/autoconf.texi (Header Portability): linux/random.h.
9243 From Peter Hendrickson.
9245 2003-09-10 Akim Demaille <akim@epita.fr>
9247 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
9248 willing to edit the output files.
9250 2003-09-10 Akim Demaille <akim@epita.fr>
9252 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
9254 * tests/mktests.sh: Skip AC_FC_SRCEXT.
9255 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
9257 2003-09-09 Akim Demaille <akim@epita.fr>
9259 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
9260 Reported by Gary Vaughan.
9261 * bin/autom4te.in (handle_m4): Likewise.
9263 2003-09-09 Akim Demaille <akim@epita.fr>
9265 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
9268 2003-09-07 Paul Eggert <eggert@twinsun.com>
9270 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
9271 Improve the accuracy of the wording about obsolescence.
9272 From a suggestion by Ian Lance Taylor in
9273 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
9275 2003-09-05 Paul Eggert <eggert@twinsun.com>
9277 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
9278 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
9280 2003-09-04 Akim Demaille <akim@epita.fr>
9282 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
9285 2003-09-04 Akim Demaille <akim@epita.fr>
9287 * bin/autom4te.in: Use &fatal where more appropriate than &error.
9288 (freeze): When exiting, use $exit_code.
9289 * lib/autoconf/fortran.m4: Comment changes.
9291 2003-09-04 Akim Demaille <akim@epita.fr>
9293 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
9295 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
9297 Add support for newer Fortran dialects. The F77 interface is
9298 unchanged, and continues to support Fortran 77. New FC macros
9299 correspond to all the old F77 macros, with output variables FC,
9300 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
9301 available dialect, but older dialects can be specified. There are
9302 new macros AC_FC_SRCEXT to set the source extension, and
9303 AC_FC_FREEFORM to accept free-form source files.
9305 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
9307 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
9308 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
9309 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
9310 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
9311 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
9312 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
9313 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
9314 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
9315 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
9316 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
9317 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
9318 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
9319 AC_FC_SRCEXT, AC_FC_FREEFORM):
9321 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
9322 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
9323 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
9324 Rewrite in terms of the above.
9325 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
9326 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
9327 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
9328 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
9330 2003-09-02 Paul Eggert <eggert@twinsun.com>
9332 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
9333 Document problems with timestamp resolution that 'make', 'cp -p', and
9336 2003-08-27 Akim Demaille <akim@epita.fr>
9338 * tests/m4sugar.at (cross_warning): Make sure to enable the
9339 output, so that we can track spurious m4sugar output.
9340 * tests/local.at: Require 2.57.
9341 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
9342 are defaulted by AT_CHECK anyway.
9343 Use AT_CHECK_AUTOM4TE.
9344 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
9347 2003-08-27 Akim Demaille <akim@epita.fr>
9349 * bin/autoheader.in: Issue the "Using auxiliary..." message only
9350 when -Wobsolete is set.
9351 Set it on by default.
9352 Suggested by Klee Dienes.
9354 2003-08-27 Akim Demaille <akim@epita.fr>
9356 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
9360 2003-08-26 Akim Demaille <akim@epita.fr>
9362 * doc/autoconf.texi (Output): Make clear that one can run code
9365 2003-08-25 Akim Demaille <akim@epita.fr>
9367 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
9370 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
9372 * bin/autoreconf.in (parse_args): Do not pass --no-force to
9373 Automake versions prior to 1.8.
9375 2003-08-25 Akim Demaille <akim@epita.fr>
9377 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
9380 2003-08-24 Akim Demaille <akim@epita.fr>
9382 * configure.ac: Bump to 2.57c.
9384 2003-08-22 Akim Demaille <akim@epita.fr>
9388 * Makefile.cfg (local-checks-to-skip): New.
9389 * Makefile.maint (local-check): Rename as...
9390 (local-checks-available): this.
9393 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
9394 * configure.ac: Require Automake 1.7.6.
9396 2003-08-22 Akim Demaille <akim@epita.fr>
9398 Output stack traces in warnings.
9400 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
9401 Replace the former...
9402 (m4_warn): Pass the call stack to _m4_warn.
9403 * bin/autom4te.in: Adjust to output the call stack.
9404 * tests/m4sugar.at (m4@&t@_warn): Adjust.
9406 2003-08-22 Akim Demaille <akim@epita.fr>
9408 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
9409 * bin/autom4te.in: Adjust.
9411 2003-08-21 Akim Demaille <akim@epita.fr>
9413 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
9415 (&getopt): Adjust the note and verb channels, depending upon
9417 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
9418 * bin/autoupdate.in: Adjust.
9419 Use &verb, not &verbose.
9421 2003-08-21 Akim Demaille <akim@epita.fr>
9423 * bin/autoheader.in (&parse_args): Use &parse_warnings and
9425 ($help): Use Autom4te::ChannelDefs::usage.
9426 * bin/autoscan.in: Use Autom4te::ChannelDefs.
9427 * lib/Autom4te/General.pm: Don't export error: you don't own it.
9429 2003-08-21 Akim Demaille <akim@epita.fr>
9431 First stab at preserving warnings between calls to autom4te,
9432 including when the cache is used.
9434 There are still several issues: (i) there are too many runs of m4
9435 (one for include, one for warnings, and some more), (ii) warnings
9436 spreading on several lines are not handled gracefully, (iii) the
9437 code meant to have the call stack display for errors does not work
9438 (its handling should move from m4 to autom4te).
9440 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
9442 (@preselect): Add m4_warn.
9443 ($exit_status): Remove, use $exit_code.
9444 ($help): Use Autom4te::ChannelDefs::usage.
9445 (&handle_m4): No longer define the m4_warnings.
9446 At each run, extract and report the warnings.
9447 Always cache the result, including if the exit status is on
9448 failure, since if nothing changes, we should result in the same
9449 failure, hence we can use the cache.
9450 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
9451 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
9453 (m4_warn): Redefine as a do-nothing: it is its invocation that
9454 matters, as warnings are now reported via traces.
9455 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
9456 the contents of m4_warn: make it _call_ m4_warn, so that tracing
9457 the latter reveals calls to the former.
9461 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
9463 2003-08-21 Akim Demaille <akim@epita.fr>
9465 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
9468 2003-08-21 Akim Demaille <akim@epita.fr>
9470 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
9472 * lib/Autom4te/ChannelDefs.pm: Doc typos.
9473 (&parse_warnings): Accept a list of warning requests.
9474 (&usage): Return a string, not a side effect.
9475 (cross): New warning category.
9477 2003-08-21 Akim Demaille <akim@epita.fr>
9479 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
9480 (&require_configure_ac): Accept an optional directory argument.
9481 ($configure_ac): Remove.
9482 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
9484 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
9485 * bin/autoscan.in: Adjust.
9487 2003-08-20 Akim Demaille <akim@epita.fr>
9489 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
9490 Reported by Alexandre Duret-Lutz.
9492 2003-08-20 Akim Demaille <akim@epita.fr>
9494 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
9495 * bin/autom4te: Adjust.
9496 In particular, be Autoconf tools are really silent when properly
9497 working, bind the verbosity of the 'note' channel to $verbose.
9498 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
9499 (&xsystem, &contents): Remove, since they are exported by...
9500 * lib/Autom4te/FileUtils.pm: this.
9502 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
9503 * lib/Autom4te/FileUtils.pm: here.
9505 2003-08-20 Akim Demaille <akim@epita.fr>
9507 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
9508 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
9511 2003-08-20 Akim Demaille <akim@epita.fr>
9513 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
9514 (autom4te-update): New.
9515 * Makefile.cfg (update): Bind autom4te-update.
9517 2003-08-19 Derek Price <derek@ximbiot.com>
9519 * lib/autotest/general.m4: Comment various HELP_* diversions.
9520 (PARSE_ARGS_BEGIN): New section for option parsing related
9522 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
9523 package specific options and associated help.
9525 2003-08-19 Akim Demaille <akim@epita.fr>
9527 * config/announce-gen, Makefile.cfg: New.
9528 * Makefile.am: Adjust.
9529 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
9531 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
9533 * lib/autom4te.in (Automake-preselections): Preselect
9534 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
9537 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
9539 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
9540 (Autoconf-without-aclocal-m4): ... this new language.
9541 * doc/autoconf.texi (autom4te Invocation): Mention
9542 Autoconf-without-aclocal-m4.
9544 2003-08-18 Derek Price <derek@ximbiot.com>
9546 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
9547 RUN-IF-PASS optional arguments.
9549 2003-08-18 Derek Price <derek@ximbiot.com>
9551 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
9553 2003-08-16 Derek Price <derek@ximbiot.com>
9555 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
9556 STDOUT & STDERR arguments.
9558 2003-08-14 Derek Price <derek@ximbiot.com>
9560 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
9561 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
9562 shorter column three. Add DESCRIPTION to log file content.
9564 2003-08-13 Derek Price <derek@ximbiot.com>
9566 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
9569 2003-08-12 Derek Price <derek@ximbiot.com>
9571 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
9572 (AT_CHECK_NOESCAPE): Move core functionality to...
9573 (_AT_CHECK): ...this new macro.
9575 2003-08-07 Derek Price <derek@ximbiot.com>
9577 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
9578 (AT_CHECK_NOESCAPE): ...to this new macro.
9580 2003-07-31 Paul Eggert <eggert@twinsun.com>
9582 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
9583 in Bash 2.01. Problem reported by Brian Gough in
9584 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
9586 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
9588 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
9589 -lcrt1.o, for OS X. (trivial change)
9591 2003-07-07 Paul Eggert <eggert@twinsun.com>
9593 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
9594 inside '#ifndef __cplusplus'. Problem reported by
9597 2003-07-06 Bill Clarke <llib@computer.org>
9599 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
9600 'long', not 'int', for benefit of Sun's recent C++ compilers
9601 (trivial change). See:
9602 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
9603 (This really should be 'intptr_t', not 'long', but that would
9606 2003-06-25 Akim Demaille <akim@epita.fr>
9608 * lib/Makefile.am (autom4te.cfg): Make it read only.
9609 Depend on Makefile since it contains substitutions.
9611 * lib/autom4te.in (args): Add local.at? for Autotest args.
9612 This change was made on autom4te.cfg which is generated.
9613 Reported by Raja R. Harinath.
9615 2003-06-25 Akim Demaille <akim@epita.fr>
9617 * doc/autoconf.texi (Header Portability): sys/mount.h.
9618 From Gareth McCaughan.
9620 2003-06-23 Akim Demaille <akim@epita.fr>
9622 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
9623 not all of them. This fixes 1. the fact that when testing
9624 Autoconf there are many many config.log, 2. the incorrect use of
9625 top_srcdir to find config.log.
9626 Don't mix the detailed output of failed test with the summary of
9627 failures. Rather, append detailed log afterwards.
9629 2003-06-23 Akim Demaille <akim@epita.fr>
9631 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
9632 always run: output config.log on $at_group_log.
9634 2003-06-23 Akim Demaille <akim@epita.fr>
9636 * tests/torture.at (#define header templates): Don't use quotes in
9637 C++ comments as it puzzles Emacs' sh font-lock-mode.
9639 2003-06-23 Akim Demaille <akim@epita.fr>
9641 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
9642 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
9643 * tests/atspecific.m4: Rename as...
9644 * tests/local.at: This.
9645 * tests/suite.at: Move the globals into...
9646 * tests/local.at: here.
9647 * tests/Makefile.am: Adjust.
9648 * doc/autoconf.texi (testsuite Scripts): Adjust.
9650 2003-06-21 Kevin Ryde <user42@zip.com.au>
9652 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
9653 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
9654 ensuring we add -std1 for full-ANSI.
9656 * doc/autoconf.texi (hdrindex): New macro.
9657 Add index entries for portability of various standard header files.
9659 2003-06-20 Akim Demaille <akim@epita.fr>
9661 * configure.ac: Bump to 2.57b.
9663 2003-06-20 Akim Demaille <akim@epita.fr>
9667 2003-06-20 Akim Demaille <akim@epita.fr>
9669 * bin/autom4te.in: Don't rely on $HOME being defined.
9670 Reported by Marc Espie as PR/233.
9672 2003-06-20 Akim Demaille <akim@epita.fr>
9674 * lib/autotest/general.m4: Use at_times_file only if used.
9677 2003-06-20 Akim Demaille <akim@epita.fr>
9679 * config/config.guess, config/config.sub, config/elisp-comp,
9680 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
9681 Update from masters.
9683 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
9685 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
9686 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
9687 (TEST_SCRIPT): New diversion.
9688 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
9689 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
9690 (AT_INIT): Support for expected failures.
9692 2003-06-02 Akim Demaille <akim@epita.fr>
9694 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
9696 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
9697 Autoconf nor Automake.
9698 (&contents): New, from Automake.
9701 2003-05-28 Paul Eggert <eggert@twinsun.com>
9703 * NEWS, doc/autoconf.texi (Particular Functions),
9704 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
9705 is the inverse of localtime.
9707 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
9709 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
9710 (handle_exec_errors): New function. Work around $! being
9711 altered by WEXITSTATUS.
9712 (xqx, xsystem): Use handle_exec_errors.
9714 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
9716 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
9717 Do not call `_exit()', simply modify `$?'.
9718 (xsystem): Reset $! before running system, and check it afterward.
9719 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
9720 63 for version mismatches.
9722 2003-05-23 Akim Demaille <akim@epita.fr>
9724 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
9725 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
9726 the middle of a line).
9727 * lib/m4sugar/m4sugar.m4: Likewise.
9728 Remove useless spaces in comments.
9730 2003-05-23 Akim Demaille <akim@epita.fr>
9732 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
9733 exit 63, so that we (or Automake's "missing") can tell the
9734 difference with a plain failure.
9735 * doc/autoconf.texi (Notices): Adjust.
9737 2003-05-23 Akim Demaille <akim@epita.fr>
9739 * Makefile.am, bin/Makefile.am, config/Makefile.am,
9740 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
9741 White spaces cleanup.
9743 2003-05-22 Jim Meyering <jim@meyering.net>
9744 Paul Eggert <eggert@twinsun.com>
9746 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
9747 Remove `#include <stdlib.h>' from the list; we should never
9748 make confdefs.h include <stdlib.h> or <cstdlib>, because the
9749 resulting namespace pollution would cause other tests to fail.
9750 Configure scripts run with some older versions of g++ and HP's
9751 aCC would fail due to such an #include. Problems reported by
9752 Matthew Mueller in <http://bugs.debian.org/120704> and by
9754 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
9755 In the test, use the test declaration before including <stdlib.h>,
9756 as that's closer to how it'll be used.
9758 2003-05-23 Akim Demaille <akim@epita.fr>
9760 * doc/autoconf.texi (Header Portability): ucred.h.
9763 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
9765 Overhaul Autotest's logging: generate separate log files
9766 in testsuite.dir/NNN/testsuite.log, and append them to
9767 testsuite.log instead of re-running the test verbosely.
9769 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
9770 file descriptor, write 0 to at_status_file instead of setting
9771 at_status=0, initialize some new variables (at_status_file,
9772 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
9773 to rerun the tests, instead append the at_group_log to the
9774 at_suite_log when a test fails.
9775 (AT_SETUP): pipe the test case's output into at_tee_pipe,
9776 with the AS_MESSAGE_LOG_FD redirected to stdout.
9777 (AT_CLEANUP): save the output status in $at_status_file
9778 and restore it, redirect the AS_MESSAGE_LOG_FD back to
9780 (AT_CHECK): since tests are run with a redirected stdout,
9781 and used to be re-run in verbose mode, turn some $at_verbose
9782 into echo, and don't redirect the output of testing stdout
9785 * lib/autotest/autoconf.texi (testsuite Scripts): Update
9786 the name of the debugging directory and information about
9789 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
9791 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
9794 2003-05-22 Akim Demaille <akim@epita.fr>
9796 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
9797 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
9798 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
9799 * lib/autoconf/status.m4: Fix and adjust copyright notices.
9801 2003-05-22 Akim Demaille <akim@epita.fr>
9803 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
9804 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
9805 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9806 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
9807 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
9808 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
9809 * lib/autoconf/status.m4, lib/autoconf/types.m4,
9810 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
9811 * tests/atspecific.m4, tests/base.at, tests/compile.at,
9812 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
9813 * tests/tools.at, tests/torture.at:
9814 Whitespace clean up.
9815 Suggested by Jim Meyering.
9817 2003-05-22 Akim Demaille <akim@epita.fr>
9819 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
9820 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
9821 Reported by Jim Meyering.
9823 2003-05-22 Akim Demaille <akim@epita.fr>
9825 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
9826 Add AC_HELP_STRING to the obsolete macros section.
9828 Use '@.' for sentences that ended in a capital letter.
9831 2003-05-22 Akim Demaille <akim@epita.fr>
9833 * config/config.guess, config/config.sub, config/elisp-comp,
9834 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
9835 * config/texinfo.tex, doc/standards.texi: Update from masters.
9837 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
9839 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
9842 2003-05-21 Akim Demaille <akim@epita.fr>
9844 * bin/autoupdate.in ($m4): Fix quotation.
9845 Reported by Martin Mokrejs.
9847 2003-05-19 Paul Eggert <eggert@twinsun.com>
9849 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
9850 Remove non-ASCII characters.
9852 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
9854 * tests/semantics.at (AC_SEARCH_LIBS): New test.
9855 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
9856 AC_CHECK_HEADERS_NEW): New tests.
9858 2003-05-17 Akim Demaille <akim@epita.fr>
9860 * lib/autoconf/functions.m4: Use the default includes so that
9861 memcmp be declared before being tested.
9862 Reported by Sander Niemeijer.
9863 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
9864 * doc/autoconf.texi (Default Includes): Document
9865 AC_INCLUDES_DEFAULT.
9867 2003-05-17 Akim Demaille <akim@epita.fr>
9869 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
9870 * doc/autoconf.texi (Obsolete Macros): Adjust.
9871 Reported by Werner LEMBERG and Debian Bug 190886.
9873 2003-05-16 Akim Demaille <akim@epita.fr>
9875 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
9876 user name space clashes.
9877 Reported by Bruno Haible.
9879 2003-05-16 Akim Demaille <akim@epita.fr>
9881 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9882 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
9883 them uniform, and more robust to Perl special characters.
9884 Reported by Martin Mokrejs.
9886 2003-05-14 Akim Demaille <akim@epita.fr>
9888 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
9890 2003-05-14 Akim Demaille <akim@epita.fr>
9892 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
9895 2003-05-12 Akim Demaille <akim@epita.fr>
9897 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
9899 From Matthias Andree.
9901 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
9903 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
9906 2003-05-06 Akim Demaille <akim@epita.fr>
9908 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
9909 longer updates aclocal.m4 if useless, (ii) if a file m4_included
9910 by aclocal.m4 is changed it might require the importing of another
9911 m4 extension file, i.e., aclocal must be run.
9913 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
9914 (&parse_args): Use --force with aclocal if required and supported.
9915 (&autoreconf_current_directory): Use &run_aclocal.
9917 2003-05-06 Akim Demaille <akim@epita.fr>
9919 Lock autom4te's cache.
9921 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
9922 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
9923 argument instead of a file name, so that the request file remains
9924 open during the whole autom4te run.
9925 ($icache_file): New.
9926 (&freeze): Lock the $icache_file.
9928 2003-04-29 Derek Price <derek@ximbiot.com>
9930 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
9931 seperator with m4_append_uniq(). It doesn't work.
9932 (AT_CLEANUP): Add `;' to end of at_help_all.
9933 (AT_INIT): Allow --keywords to be specified more than once. When
9934 grepping $at_help_all for keywords, use the field and keyword
9935 seperators to ensure a complete keyword match. Alter at_prev handling
9936 to support the new --keywords behavior.
9938 2003-04-27 Karl Berry <karl@freefriends.org>
9940 * doc/autoconf.texi: Make the dir entries in the autoconf manual
9941 align better with others. I also made some of the individual
9942 entries on one line, for brevity and to make it easier for me to
9943 sort my dir-example file in the Texinfo distribution :).
9945 2003-04-12 Jim Meyering <jim@meyering.net>
9947 * NEWS: Mention the new macro.
9948 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
9949 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
9950 * tests/c.at: Test AC_C_RESTRICT.
9951 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
9953 2003-04-08 Akim Demaille <akim@epita.fr>
9955 * bin/ifnames.in: Skip C++ comments.
9958 2003-04-08 Akim Demaille <akim@epita.fr>
9960 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
9961 From Ilya Zakharevich.
9963 2003-04-08 Akim Demaille <akim@epita.fr>
9965 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
9968 2003-04-01 Derek Price <derek@ximbiot.com>
9970 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
9971 from Akim's checkin of 2003-03-29.
9973 2003-04-01 Derek Price <derek@ximbiot.com>
9975 * tests/torture.at (Configuring subdirectories): Add missing
9976 close-quote for Akim's change from 2003-03-28.
9978 2003-04-01 Akim Demaille <akim@epita.fr>
9980 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
9981 (AC, AT, MS): these.
9982 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
9985 * doc/Makefile.am (CLEANFILES): Adjust.
9986 (TEXI2DVI): Make it --batch.
9988 2003-03-31 Derek Price <derek@ximbiot.com>
9990 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
9991 which removed the main loop.
9992 Thanks to Akim Demaille.
9994 2003-03-29 Akim Demaille <akim@epita.fr>
9996 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
9998 From Ilya Zakharevich.
10000 2003-03-29 Akim Demaille <akim@epita.fr>
10002 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
10003 documentation to read is Autoconf's.
10004 Suggested by Paul Eggert.
10006 2003-03-28 Akim Demaille <akim@epita.fr>
10008 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
10009 reading the section "Present But Cannot Be Compiled" when the
10010 header causes problems.
10012 2003-03-28 Akim Demaille <akim@epita.fr>
10014 * tests/torture.at (Configuring subdirectories): Require aclocal
10015 1.4, otherwise the test fails, as it does support configure.ac.
10016 This fixes the "test 40 failed" bug reports.
10018 2003-03-28 Akim Demaille <akim@epita.fr>
10020 * doc/autoconf.texi (C Compiler): `#line' portability.
10021 From Paul Eggert and Nelson H. F. Beebe.
10023 2003-03-27 Derek Price <derek@ximbiot.com>
10025 * lib/autotest/general.m4: Eliminate main loop and reorganize test
10026 layout in order to allow scripting around test groups.
10028 2003-03-27 Derek Price <derek@ximbiot.com>
10030 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
10031 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
10032 use new diversions in preparation for accepting new arguments and
10033 allowing scripting around tests.
10034 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
10036 2003-03-26 Derek Price <derek@ximbiot.com>
10038 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
10039 obsolete AC_HELP_STRING.
10040 (AC_HELP_STRING): AU_DEFUN to...
10041 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
10042 * tests/m4sh.at (AS_HELP_STRING): New test.
10044 * tests/acgeneral.at: Regenerated.
10046 2003-03-26 Derek Price <derek@ximbiot.com>
10048 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
10049 sense. Verbosify the diversion definitions comment.
10051 2003-03-26 Derek Price <derek@ximbiot.com>
10053 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
10056 2003-03-21 Eric Siegerman <eric_97@pobox.com>
10058 * doc/autoconf.texi (Present But Cannot Be Compiled):
10059 Grammar fixes and minor rewording. (trivial change)
10061 2003-03-06 Paul Eggert <eggert@twinsun.com>
10063 Work around a problem noted by Nelson H. F. Beebe with coreutils
10064 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
10065 2002/05/09) rejects '#line 32768 "configure"' because the line
10067 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
10069 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
10070 * doc/autoconf.texi (Generating Sources): Document this.
10072 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
10074 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
10075 file name for the m4 program, when it has an "exe" file extension.
10076 DJGPP's error messages include the error code in brackets -
10077 remove the error code during normalization.
10079 2003-02-28 Akim Demaille <akim@epita.fr>
10081 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
10083 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
10085 * doc/autoconf.texi (Limitations of Make): Remove the section
10086 about `$<' in inference rules, it was a bogus interpretation of
10087 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
10088 Tru64 make in the "target lookup" section.
10089 (Automake): Automake 1.5+ no longer requires special tools to be
10090 present on the developer's host.
10092 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
10094 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
10095 to a shell that can handle redirection or quoting correctly.
10096 Override SHELL with the shell detected by configure.
10097 Use of $^O suggested by Tim van Holder.
10098 * bin/autom4te.in (BEGIN): Likewise.
10099 * bin/autoreconf.in (BEGIN): Likewise.
10100 * bin/autoscan.in (BEGIN): Likewise.
10101 * bin/autoupdate.in (BEGIN): Likewise.
10102 * bin/ifnames.in (BEGIN): Likewise.
10104 * bin/ifnames.in: Add final newline to help and version messages.
10106 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
10107 to cope with DOS-style absolute paths, when constructing
10110 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
10111 When constructing paths with IFS=:, quote the path. If we're
10112 constructing a DOS-style absolute path, we don't want to split it
10115 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
10118 2003-02-25 Pavel Roskin <proski@gnu.org>
10120 * bin/autoheader.in: Add missing newline when printing
10121 suggestion how change AC_DEFINE call.
10123 2003-02-24 Paul Eggert <eggert@twinsun.com>
10125 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
10126 2002-09-01 patch by replacing "test -n" with "test -z".
10127 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
10128 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
10130 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
10131 to fix a mismatch between example and discussion.
10133 2003-02-24 Kevin Ryde <user42@zip.com.au>
10135 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
10136 format starting with "-".
10138 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
10140 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
10141 is not portable inside Makefile.
10143 2003-02-20 Akim Demaille <akim@epita.fr>
10145 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
10146 compiler says yeah, but preproc says nope, compiler is right.
10147 Conversely, prompt the reader to send a bug report to the
10148 maintainers of the package, not of Autoconf.
10150 2003-02-20 Klee Dienes <kdienes@apple.com>
10152 * bin/autoreconf.in (autoreconf_current_directory): Properly
10153 handle an empty aclocal.m4.
10155 2003-02-20 Akim Demaille <akim@epita.fr>
10157 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
10158 $ac_prefix_program.
10161 2002-12-23 Paul Eggert <eggert@twinsun.com>
10163 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
10164 innocuous variant befor including <limits.h> or <assert.h>. This
10165 works around a bug reported by Albert Chin: HP-UX 11i
10166 (and earlier versions) have a <limits.h> that declares
10167 gettimeofday and many other functions.
10169 2002-12-03 Paul Eggert <eggert@twinsun.com>
10173 * NEWS, configure.ac: Update version.
10175 * doc/fdl.texi: Upgrade to FDL version 1.2.
10177 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
10178 nontrivially in main's body, so that f's external declaration is
10179 not optimized away in AIX. This should fix the bug reported by
10181 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
10183 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
10184 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
10185 defined, to support freestanding compilers. This should fix the
10186 bug reported by Momchil Velkov in
10187 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
10189 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
10190 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
10191 obsolete AC_CHECK_TYPE. The missing empty arg was reported
10192 by Simon Josefsson in
10193 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
10195 * Makefile.maint (www-gnu): New macro.
10196 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
10197 the location has moved.
10199 2002-12-02 Martin Frydl <martin@systinet.com>
10201 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
10202 \(.*\) match is too long and there is something more to be checked.
10203 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
10205 2002-11-15 Akim Demaille <akim@epita.fr>
10209 * config/install-sh: chmod +x.
10211 * config/move-if-change: Indenting changes.
10212 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
10213 * configure.ac (AM_INIT_AUTOMAKE): here.
10216 2002-11-14 Akim Demaille <akim@epita.fr>
10220 * config/config.guess, config/config.sub, config/install-sh:
10221 Update from masters.
10223 2002-11-14 Akim Demaille <akim@epita.fr>
10225 * Makefile.maint: Sync with Bison, i.e.:
10226 (po-check): Scan .l and .y files instead of the
10227 .c and the .h files that they generate. This fixes the bug
10228 reported by Tim Van Holder in:
10229 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
10230 Look for N_ as well as for _. Try to avoid matching #define for
10234 2002-11-14 Akim Demaille <akim@epita.fr>
10236 * doc/autoconf.texi (C Compiler): Compiling several files at once.
10237 From Paul Eggert and Albert Chin-A-Young.
10239 2002-11-14 Akim Demaille <akim@epita.fr>
10241 * doc/autoconf.texi (C Compiler): Solitary backslashes.
10242 From Paul Eggert and Albert Chin-A-Young.
10244 2002-11-14 Kevin Ryde <user42@zip.com.au>
10246 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
10247 than assigning in main, to avoid HP cc +O3 optimizing it away.
10249 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
10251 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
10252 option. Process --recheck after parsing all options. Pass -q
10253 option to configure on --recheck.
10254 (AC_OUTPUT): Pass -q from configure to config.status.
10255 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
10256 arguments to record.
10257 * doc/autoconf.texi (config.status Invocation): Document
10258 config.status -q option.
10260 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
10262 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
10263 Makefile.in if Makefile.am exists.
10264 (output): Strip `.am' from Makefiles. Don't
10265 output AC_CONFIG_FILES if no Makefiles were found.
10267 2002-11-07 Akim Demaille <akim@epita.fr>
10269 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
10270 (local_updates): New.
10271 * Makefile.maint: Update, from CVS Bison.
10272 (local_updates): New.
10274 2002-11-06 Akim Demaille <akim@epita.fr>
10276 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
10277 declaration in extern "C" too.
10278 Reported by Roberto Bagnara.
10280 2002-11-06 Akim Demaille <akim@epita.fr>
10282 * tests/torture.at (Configuring subdirectories): Don't use grep
10284 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
10285 Reported by Ezra Peisach.
10287 2002-11-05 Akim Demaille <akim@epita.fr>
10289 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
10291 We _have_ to stop using the old compatibility scheme that tried to
10292 avoid useless backslashes because Libtool 1.4.3 contains a
10293 AC_DEFINE([error_t], [int],
10294 [Define to a type to use for \`error_t' if it is not
10295 otherwise available.])
10296 We _have_ to quote the single quote and backslashes with \. The
10297 old compatibility scheme saw that ` was backslashed, and therefore
10298 did not quote the single quote. Hence before this patch, Autoconf
10299 was not compatible with Libtool.
10301 2002-11-04 Paul Eggert <eggert@twinsun.com>
10303 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
10304 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
10305 LC_NAME, LC_PAPER, LC_TELEPHONE.
10306 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
10308 2002-11-04 Akim Demaille <akim@epita.fr>
10312 * Makefile.maint (update, cvs-update, po-update, do-po-update):
10314 * config/texinfo.tex: Update.
10316 2002-11-03 Akim Demaille <akim@epita.fr>
10318 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
10320 (&autoreconf): here.
10321 ($help, $make, &parse_args, &autoreconf_current_directory):
10323 * doc/autoconf.texi (autoreconf Invocation): Adjust.
10325 2002-10-31 Bruno Haible <bruno@clisp.org>
10327 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
10328 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
10329 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
10330 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
10331 to ac_cv_func_realloc_0_nonnull.
10332 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
10334 2002-10-31 Akim Demaille <akim@epita.fr>
10336 The test suite was no longer checking for trailing envvars and files.
10338 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
10339 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
10341 2002-10-31 Akim Demaille <akim@epita.fr>
10343 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
10344 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
10345 Make variable, not a shell variable.
10346 Suggested by Bruno Haible.
10348 2002-10-31 Akim Demaille <akim@epita.fr>
10350 * bin/autom4te.in (load_configuration): Reject #args out of any
10353 2002-10-31 Akim Demaille <akim@epita.fr>
10355 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
10356 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
10357 (_AC_RUN_IFELSE): Use it.
10358 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
10359 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
10360 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
10363 2002-10-30 Akim Demaille <akim@epita.fr>
10365 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
10366 * doc/autoconf.texi (autom4te Invocation): Adjust.
10367 Suggested by Tim van Holder.
10369 2002-10-29 Paul Eggert <eggert@twinsun.com>
10371 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
10372 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
10373 Problem reported by Bruno Haible.
10375 2002-10-29 Akim Demaille <akim@epita.fr>
10377 * doc/autoconf.texi (Header Templates): Put also in words what the
10378 pictures says to assist free style readers.
10379 (Customizing autom4te): s/--cache=/--cache /.
10381 2002-10-29 Akim Demaille <akim@epita.fr>
10383 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
10385 sparc_address_test returns void.
10386 Use it with an argument, as prototyped.
10389 2002-10-29 Akim Demaille <akim@epita.fr>
10391 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
10392 configure.in, not configure.ac.
10393 Reported by Bruno Haible.
10395 2002-10-29 Akim Demaille <akim@epita.fr>
10397 * tests/torture.at (Deep Package): New test.
10398 (Configuring subdirectories): Don't use a testSubDir as Autotest
10399 now does it itself.
10401 2002-10-29 Akim Demaille <akim@epita.fr>
10403 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
10404 * doc/autoconf.texi (Invoking autom4te): Rename as...
10405 (autom4te Invocation): this, for consistency with the other nodes.
10407 2002-10-29 Akim Demaille <akim@epita.fr>
10409 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
10410 Reported by Ralf Corsepius.
10412 2002-10-29 Akim Demaille <akim@epita.fr>
10414 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
10415 characters is a back as an `obsolete' warning now.
10416 Reported by Ralf Corsepius.
10418 2002-10-28 Akim Demaille <akim@epita.fr>
10420 * configure.ac: Bump to 2.54c.
10422 2002-10-28 Akim Demaille <akim@epita.fr>
10426 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
10428 2002-10-28 Akim Demaille <akim@epita.fr>
10430 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
10431 m4 executable names, and different GNU M4 version.
10432 Reported by Ezra Peisach and Paul Jarc.
10434 2002-10-27 Akim Demaille <akim@epita.fr>
10436 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
10439 2002-10-27 Akim Demaille <akim@epita.fr>
10441 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
10442 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
10443 Die when a simple Fortran program cannot be compiled.
10444 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
10445 Issue a warning if no function is given.
10447 2002-10-27 Akim Demaille <akim@epita.fr>
10449 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
10450 Move the documentation of AC_TRY_RUN to...
10451 (Obsolete Macros): here.
10452 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
10453 (autoconf Invocation): Remove the duplicates with `invoking
10455 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
10456 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
10458 2002-10-27 Akim Demaille <akim@epita.fr>
10460 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
10461 and AC_LANG_FUNC_LINK_TRY.
10462 (Examining Libraries): Rename as...
10463 (Running the Linker): this.
10464 Document AC_LINK_IFELSE.
10465 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
10466 (Obsolete Macros): here.
10467 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
10468 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
10469 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
10470 * lib/autoconf/headers.m4 (AC_USG): Likewise.
10472 2002-10-27 Akim Demaille <akim@epita.fr>
10474 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
10476 More `check config.log' messages.
10478 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
10479 * doc/autoconf.texi (Printing Messages): Document it.
10480 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
10482 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
10483 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
10484 (_AC_COMPILER_OBJEXT): Likewise.
10485 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
10486 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
10488 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
10491 Deprecate macros with unusual interfaces.
10493 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
10494 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
10496 Document the new ones, and proper style.
10498 * doc/autoconf.texi (Generating Sources): New.
10499 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
10500 (Examining Declarations): Rename as...
10501 (Running the Preprocessor): this.
10502 Document AC_PREPROC_IFELSE.
10503 (Examining Syntax): Rename as...
10504 (Running the Compiler): this.
10505 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
10506 (Obsolete Macros): Move the definition of AC_TRY_CPP and
10507 AC_TRY_COMPILE here.
10509 2002-10-27 Akim Demaille <akim@epita.fr>
10511 Move sections around.
10513 * doc/autoconf.texi (Customizing autom4te): Remove a lost
10515 Reported by Burno Haible.
10516 (Language Choice): Now the first section of...
10517 (Writing Tests): this section.
10518 Make the introduction less C-centric.
10519 (Guidelines, Test Functions): Move to...
10520 (Writing Test Programs): this new section.
10521 (Test Programs): Merge into...
10524 2002-10-27 Akim Demaille <akim@epita.fr>
10526 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
10527 autom4te.in that resulted in the need for two `make' runs.
10529 2002-10-27 Akim Demaille <akim@epita.fr>
10531 * configure.ac: Bump to 2.54b.
10533 2002-10-25 Akim Demaille <akim@epita.fr>
10537 * Makefile.maint: Update from the Coreutils.
10538 (AMTAR): Remove, obsolete.
10539 (automake_repo): Update to redhat.com.
10541 Adjust to the fact that ansi2knr is now hosted by Automake.
10542 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
10543 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
10544 Update from masters.
10545 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
10546 autoscan.pre is not to be installed, and autoscan.list is not to
10548 (CLEANFILES): Add autoscan.list.
10549 (autoscan.list): Disable the cache.
10550 * bin/Makefile.am: Include freeze.mk.
10552 2002-10-25 Akim Demaille <akim@epita.fr>
10554 * bin/autom4te.in (&load_configuration): Take the file as
10556 (&parse_args): Handle -C, --cache.
10558 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
10559 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
10560 * doc/autoconf.texi (Invoking autom4te): Document --cache.
10561 Now a subsection of...
10562 (Using autom4te): This new section.
10563 (Customizing autom4te): New.
10564 (autom4te.cache): Adjust.
10566 2002-10-25 Akim Demaille <akim@epita.fr>
10568 * doc/autoconf.texi (Generic Headers): More information on how to
10569 use AC_CHECK_HEADERS.
10571 2002-10-25 Akim Demaille <akim@epita.fr>
10573 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
10576 2002-10-25 Akim Demaille <akim@epita.fr>
10578 * bin/autoscan.in (output): Output AC_PREREQ.
10579 (%needed_macros): Add AC_PREREQ so that configure.ac without one
10582 2002-10-23 Akim Demaille <akim@epita.fr>
10584 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
10587 2002-10-23 Akim Demaille <akim@epita.fr>
10589 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
10590 Reported by Peter Eisentraut.
10592 2002-10-23 Akim Demaille <akim@epita.fr>
10594 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
10597 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
10598 Eggert's recommandations.
10600 2002-10-22 Akim Demaille <akim@epita.fr>
10602 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
10603 Bison, by Paul Eggert.
10604 * doc/autoconf.texi (Particular Headers): Document it.
10606 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
10608 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
10609 `$ac_configure_args'.
10611 2002-10-22 Akim Demaille <akim@epita.fr>
10613 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
10614 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
10617 2002-10-22 Akim Demaille <akim@epita.fr>
10619 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
10621 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
10622 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
10623 (_AC_CHECK_HEADER_NEW): Rename as...
10624 (AC_CHECK_HEADER): this.
10626 2002-10-22 Akim Demaille <akim@epita.fr>
10628 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
10629 words about HP-UX cmp: it was actually a user-written cmp.
10631 2002-10-22 Akim Demaille <akim@epita.fr>
10633 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
10634 are a few warnings.
10635 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
10636 Quote for Perl '' strings, not "".
10637 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
10640 2002-10-22 Akim Demaille <akim@epita.fr>
10642 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
10643 characters is a syntax warning now.
10644 (_AS_QUOTE): Accept $2 as list of characters to quote.
10645 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
10646 Quote for Perl, not sh.
10647 * bin/autoheader.in: When $debug, report the file which is
10649 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
10650 `@', to tickle Perl's lists.
10651 Reported by Carlos Velasco.
10653 2002-10-18 Akim Demaille <akim@epita.fr>
10655 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
10656 missing included files _are_ errors.
10657 Thanks to Alexandre Duret-Lutz.
10658 * tests/tools.at (autom4te cache): Adjust.
10659 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
10660 (AT_CHECK_M4SUGAR): Use it.
10661 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
10663 * tests/tools.at (autom4te): Now it does exit 1.
10665 2002-10-17 Akim Demaille <akim@epita.fr>
10667 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
10668 Fixes the `AC_ARG_VAR' test failures.
10669 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
10670 * lib/freeze.mk (check-forbidden-patterns): New.
10671 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
10672 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
10673 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
10675 Reported months ago by H. Merijn Brand.
10677 2002-10-17 Akim Demaille <akim@epita.fr>
10679 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
10681 2002-10-16 Paul Eggert <eggert@twinsun.com>
10683 * Makefile.maint (wget_files): Remove ansi2knr.c.
10684 (ansi2knr.c-url_prefix): Remove.
10686 2002-10-16 Akim Demaille <akim@epita.fr>
10688 Because of caching, some files that no longer exist and are no
10689 longer required can still cause errors.
10690 Reported by Alexandre Duret-Lutz.
10692 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
10693 to frozen files in @ARGV, as @ARGV must remain being a list of
10694 files. Rather, at M4 call sites, use this...
10695 (&files_to_options): New function.
10696 (&freeze): Use &error.
10697 (&up_to_date): If a file that was included according to the cache
10698 is no longer there, then the output is out dated.
10699 (&main): Don't even check whether a file is up to date is anyway
10701 * tests/tools.at (autom4te cache): New.
10703 2002-10-16 Akim Demaille <akim@epita.fr>
10705 * bin/autoconf.as: Kill dead options.
10706 * bin/autoupdate.in (&parse_args): Kill old options.
10707 * bin/autoreconf.in (&parse_args): Remove dead options.
10709 (&autoreconf): Report the directories we enter *and leave*, so
10710 that error messages can be easily located, and use GNU Make
10711 format, so that Emacs' compile mode understands us.
10712 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
10713 if some file was changed instead of `print'.
10714 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
10715 (&parse_args): Remove the dead options.
10716 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
10717 autoheader's quiet mode.
10718 (AT_CHECK_AUTOUPDATE): Likewise.
10719 * tests/tools.at (autoupdate): Adjust.
10720 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
10722 2002-10-11 Akim Demaille <akim@epita.fr>
10724 No longer use CPP to check for the existing of headers: use CC to
10725 check for compilability.
10727 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
10728 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
10729 (_AC_CHECK_HEADER_NEW): Rename as...
10730 (AC_CHECK_HEADER): this.
10732 * lib/autotest/general.m4 (AT_INIT): Include the failed test
10733 numbers in the Subject suggestion.
10735 2002-10-11 Akim Demaille <akim@epita.fr>
10737 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
10738 Suggest using AC_CHECK_DECLS instead.
10740 2002-10-11 Akim Demaille <akim@epita.fr>
10742 * tests/torture.at (AC_ARG_VAR): Have configure report the value
10745 2002-10-11 Akim Demaille <akim@epita.fr>
10747 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
10748 file name to enable parallel executions.
10749 From Sam Varshavchik.
10751 2002-10-08 Akim Demaille <akim@epita.fr>
10753 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
10754 aclocal invocation, as Gettext macros might not be visible to
10756 Instead of blindly running autopoint, scan configure.ac (not the
10757 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
10758 Reported by Paul D. Smith.
10760 2002-10-08 Paul Eggert <eggert@twinsun.com>
10762 Work around problems found when POSIXLY_CORRECT=1 is set.
10763 None of this seems to have anything to do with POSIX, really,
10764 but it's how Perl getopt works.
10765 * bin/autom4te.in (parse_args): Configure GetOpt with
10767 * doc/autoconf.texi (Invoking autom4te):
10768 --warning -> --warnings.
10769 * lib/autom4te.in: --warning -> --warnings.
10771 2002-09-28 Akim Demaille <akim@epita.fr>
10773 * doc/autoconf.texi (autom4te.cache): New section.
10775 2002-09-28 Akim Demaille <akim@epita.fr>
10777 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
10778 (Automake-preselections): Update.
10779 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
10781 2002-09-28 Akim Demaille <akim@epita.fr>
10783 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
10784 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
10785 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10786 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
10788 2002-09-28 Akim Demaille <akim@epita.fr>
10790 * tests/torture.at (Configuring subdirectories): Be robust to
10791 users who use config.site to require for a cache: in this case,
10792 the two last configure runs, using two different sets of
10793 arguments, trigger a legitimate error.
10795 2002-09-28 Akim Demaille <akim@epita.fr>
10797 * tests/m4sh.at (Functions Support, Functions and return Support):
10800 2002-09-28 Akim Demaille <akim@epita.fr>
10802 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
10803 autoheader are Perl programs.
10804 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
10805 (autom4te): Specify that the sources are in the $srcdir.
10806 * doc/autoconf.texi (Installation Directory Variables): Adjust.
10808 2002-09-28 Akim Demaille <akim@epita.fr>
10810 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
10811 (tm_zone): Move their rules to...
10812 * lib/autoconf/types.m4: here, using AN_ macros.
10813 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
10814 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
10815 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
10816 * lib/autoconf/programs.m4: here.
10817 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
10818 (ETAGS_FOR_AUTOCONF): New.
10821 2002-09-28 Akim Demaille <akim@epita.fr>
10823 * lib/autoconf/autoscan.m4: New file.
10824 * lib/autoconf/autoconf.m4: Include it.
10825 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
10826 that were listed in the original autoscan.list.
10827 * lib/autoconf/headers.m4: Similarly with headers.
10828 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
10829 (.m4.m4f): Don't pass --prepend-include, since that's done by
10830 tests/autom4te itself.
10831 * lib/autoscan/Makefile.am: Include freeze.mk.
10832 (autoscan.list): New target --this file is no longer a source.
10833 (autoscan.pre): New file.
10835 2002-09-28 Akim Demaille <akim@epita.fr>
10837 * bin/autoscan.in (@kinds): Make them singular.
10839 (&init_tables): When --debug, report the list of rules to ease
10840 tracking changes in autoscan.list.
10841 * lib/autoscan/autoscan.list (function): Strip comments, sort.
10843 2002-09-28 Akim Demaille <akim@epita.fr>
10845 * lib/autoscan/functions, lib/autoscan/headers,
10846 * lib/autoscan/identifiers, lib/autoscan/makevars,
10847 * lib/autoscan/programs: Merge into...
10848 * lib/autoscan/autoscan.list: this.
10849 * bin/autoscan.in (&init_tables): Adjust.
10851 2002-09-28 Akim Demaille <akim@epita.fr>
10853 * lib/autoscan/functions, lib/autoscan/headers,
10854 * lib/autoscan/identifiers, lib/autoscan/makevars,
10855 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
10856 `functions' line is now prefixed with `function:'.
10857 * bin/autoscan.in (&init_tables): Adjust.
10859 2002-09-28 Akim Demaille <akim@epita.fr>
10861 From now on, autoscan files must always map a macro name to a
10862 word: there is no `default' macro for autoscan.
10864 * bin/autoscan.in (&init_tables): Reject entries with no macro at
10866 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
10869 2002-09-28 Akim Demaille <akim@epita.fr>
10871 * bin/autoscan.in (%c_keywords): Remove.
10872 (&used): Keep only track of the words we might be interested in.
10873 (&output_kind): It is no longer needed to look for non active
10876 2002-09-27 Akim Demaille <akim@epita.fr>
10878 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
10879 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
10880 * lib/autoscan/functions: Adjust.
10881 * doc/autoconf.texi (Particular Functions): Adjust.
10883 2002-09-27 Akim Demaille <akim@epita.fr>
10885 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
10887 Thanks to Bill Moseley and Paul Eggert.
10888 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
10889 the tmpdir must be created.
10890 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
10891 dir be in the build tree, instead of $TMPDIR.
10893 2002-09-27 Akim Demaille <akim@epita.fr>
10895 * bin/autoscan.in: Improve the comments.
10896 (&parse_args): Drop obsolete undocumented options.
10897 (&output_kind): Output warnings.
10898 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
10899 (getwd): Trigger a warning.
10901 2002-09-26 Akim Demaille <akim@epita.fr>
10903 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
10904 Reported by Ralf Corsepius.
10905 * doc/autoconf.texi (autoreconf Invocation): Likewise.
10907 2002-09-26 Akim Demaille <akim@epita.fr>
10909 Single suffix rules and seperated dependencies are not portable.
10911 * doc/autoconf.texi (Installation Directory Variables): Update.
10912 (Limitations of Make): Some about `Single Suffix Rules and
10913 Separated Dependencies'.
10914 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
10915 (ifnames, autoscan, autom4te): Un-factor into several rules.
10917 2002-09-25 Paul Eggert <eggert@twinsun.com>
10919 * BUGS (Interoperability bugs): New section. Mention libtool
10920 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
10922 2002-09-24 Paul Eggert <eggert@twinsun.com>
10924 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
10925 make handles suffix-rules differently from GNU make.
10927 * bin/Makefile.am (SUFFIXES, .in): Remove.
10928 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
10929 Move the body of the old .in rule here.
10931 2002-09-16 Akim Demaille <akim@epita.fr>
10933 i960 compilers create `b.out' files by default.
10934 Reported by Ralf Corsepius.
10936 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
10937 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
10939 2002-09-13 Paul Eggert <eggert@twinsun.com>
10941 * doc/autoconf.texi (Particular Headers): Remove obsolete
10942 reference to `struct timezone' in the description of
10945 2002-09-13 Akim Demaille <akim@epita.fr>
10949 * config/config.sub, config/config.guess: Update.
10950 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
10951 * Makefile.am: Adjust.
10953 2002-09-13 Akim Demaille <akim@epita.fr>
10955 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
10956 reading config.log when the compiler is rejected.
10957 Suggested by Guido Draheim.
10959 2002-09-13 Akim Demaille <akim@epita.fr>
10961 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
10962 (chdir_init) might hang when stat'ing mounted directories.
10963 Reported by Vance Shipley.
10965 2002-09-12 Akim Demaille <akim@epita.fr>
10967 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
10970 2002-09-12 Akim Demaille <akim@epita.fr>
10972 * doc/autoconf.texi (Defining Symbols): Present two different
10973 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
10974 difference between 1 argument calls, and 2-3 argument calls.
10976 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
10978 * doc/autoconf.texi: Review grammar and punctuation.
10980 2002-09-11 Paul Eggert <eggert@twinsun.com>
10982 * doc/autoconf.texi: Fix minor formatting, spelling, and
10984 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
10985 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
10988 2002-09-11 Akim Demaille <akim@epita.fr>
10990 * doc/autoconf.texi (Questions): Rename as...
10992 (Defining Directories): New.
10994 2002-09-09 Akim Demaille <akim@epita.fr>
10996 * doc/autoconf.texi (Making testsuite Scripts): Update.
10997 Suggested by Nishio Futoshi.
10999 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
11001 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
11002 plain `@' is wanted.
11004 2002-09-09 Akim Demaille <akim@epita.fr>
11006 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
11007 `duplicates', since the algorithm was too naive and could keep
11008 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
11009 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
11010 Reported by Ralf Corsepius.
11011 * tests/torture.at (Configuring subdirectories): Exercise these
11014 2002-09-09 Akim Demaille <akim@epita.fr>
11016 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
11017 looking for a replacement file.
11018 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
11019 directory is relative.
11020 * doc/autoconf.texi (Generic Functions): Clarify the replacement
11021 directory definition.
11022 Reported by Andreas Schwab and Jim Meyering.
11024 2002-09-06 Akim Demaille <akim@epita.fr>
11026 * doc/autoconf.texi (Setting Output Variables): Clarify what
11027 precious variables are.
11028 Suggested by Pontus Skoeld.
11030 2002-09-05 Akim Demaille <akim@epita.fr>
11032 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
11033 (ifnames, autoscan, autom4te): Since we don't only depend on
11034 configure.ac variables (such as VERSION etc.), but also on prefix
11035 and so forth, depend on Makefile, not configure.ac.
11036 Reported by Alexandre Duret-Lutz.
11037 * doc/autoconf.texi (Installation Directory Variables): Adjust.
11039 2002-09-05 Kevin Ryde <user42@zip.com.au>
11041 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
11042 doesn't seem to be confined to ia64, just say "some versions".
11044 2002-09-04 Akim Demaille <akim@epita.fr>
11046 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
11048 * Makefile.am (maintainer-clean-local): Remove.
11049 (MAINTAINERCLEANFILES): Remove COPYING.
11051 2002-09-03 Paul Eggert <eggert@twinsun.com>
11053 * doc/autoconf.texi (Configuration Commands): Remove obsolete
11054 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
11057 2002-09-03 Akim Demaille <akim@epita.fr>
11059 * configure.ac: Bump to 2.53d.
11060 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
11061 as of today, on Automake's team suggestion.
11063 2002-09-03 Akim Demaille <akim@epita.fr>
11067 2002-09-02 Akim Demaille <akim@epita.fr>
11069 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
11071 * configure.ac: Disable SITE_MACRO_DIR.
11073 2002-09-02 Jim Meyering <meyering@lucent.com>
11075 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
11076 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
11077 Also, tweak grammar: s/make sure to/be sure to/.
11079 2002-09-02 Paul Eggert <eggert@twinsun.com>
11081 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
11082 directory names are generally preferable to physical names.
11084 2002-09-02 Akim Demaille <akim@epita.fr>
11086 * lib/Autom4te/General.pm (&update_file): s/die/error/.
11087 Reported by Raja R. Harinath.
11088 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
11089 * bin/autoupdate.in: Use error instead of die.
11091 2002-09-01 Paul Eggert <eggert@twinsun.com>
11093 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
11094 ordinary shell concatenation rather than echo+tr+sed command that
11095 runs afoul of a long-line-related sed bug in Solaris 8.
11097 * bin/autoheader.in (parse_args): --warning -> --warnings.
11099 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
11100 stdout, as traditional "ls" does.
11101 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
11102 _AC_COMPILER_EXEEXT_O): Likewise.
11103 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
11105 * bin/autoconf.as: Add --prepend-include option. This patch was
11106 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
11107 but bin/autoconf.in is generated automatically from bin/autoconf.as.
11109 * bin/autoconf.in, configure: Regenerate.
11111 * doc/autoconf.texi (Special Shell Variables): Mention
11112 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
11114 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
11115 MAILPATH and set PS1, PS2, PS4 to default values, to work
11116 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
11117 For LC_ALL etc, first try to set to "C" as POSIX requires and as
11118 the Autoconf documentation specifies; fall back to "unset" only if
11119 this fails. Use a shell for-loop for this rather than an m4 loop,
11120 to shorten the output script.
11122 2002-08-30 Paul Eggert <eggert@twinsun.com>
11124 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
11125 1003.1-2001's requirements for CDPATH. Give a simpler workaround
11126 for the CDPATH problem. Document PWD.
11127 (Limitations of Builtins): Document the problem that "cd $foo" and
11128 "ls $foo" may refer to different directories in shells conforming
11129 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
11130 example, since the old example is now out of date.
11132 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
11133 FOO" and "ls FOO" talk about different directories; this catches
11134 problems when POSIX 1003.1-2001 "cd" fails due to symlink
11137 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
11138 of rolling our own unset.
11139 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
11140 in practice we needn't worry about CDPATH if unset doesn't work.
11142 * Makefile.in, aclocal.m4, bin/Makefile.in,
11143 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
11144 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
11145 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
11146 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
11147 tests/Makefile.in: Regenerate with Automake 1.6.3.
11149 * config/config.guess, config/config.sub, config/mkinstalldirs:
11152 * configure: Regenerate with self.
11154 2002-08-30 Kevin Ryde <user42@zip.com.au>
11156 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
11159 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11161 * bin/autom4te.in (Request::load): Correctly test for "do" read
11164 2002-08-29 Akim Demaille <akim@epita.fr>
11166 * lib/Autom4te/General.pm (&xqx): New.
11167 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
11168 hand, which is not portable.
11170 * bin/autom4te.in: Use them.
11171 Use &error instead of die.
11172 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
11175 2002-08-17 Paul Eggert <eggert@twinsun.com>
11177 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
11178 default list of compilers to try, since it was long ago superseded
11179 by the ksh fc builtin. Suggested by Steven G. Johnson.
11181 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
11183 * doc/autoconf.texi (Invoking autom4te): End the option table,
11184 fixing a bug introduced by the previous patch.
11185 (Limitations of Make): Add a 'target lookup' subentry in the
11186 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
11188 2002-07-29 Mark D. Roth <roth@feep.net>
11190 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
11191 options and use $AUTOM4TE_PATH.
11192 * doc/autoconf.texi: Remove documentation of autom4te
11193 --include-envvar and --site-macro-subdir options and document
11194 use of $AUTOM4TE_PATH.
11195 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
11196 arguments from each language section.
11198 2002-07-29 Paul Eggert <eggert@twinsun.com>
11200 * doc/install.texi: Include copyright symbol in copyright notice.
11202 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
11204 (AM_MAKEINFOFLAGS): New macro.
11205 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
11206 * Makefile.am (INSTALL): Use the new macros.
11207 Use -o rather than --output, since "missing" does not grok --output.
11209 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
11211 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
11212 comments do not always work. Never trust the exit status of
11215 2002-07-24 Kevin Ryde <user42@zip.com.au>
11217 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
11218 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
11220 2002-07-23 Paul Eggert <eggert@twinsun.com>
11222 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
11223 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
11224 apparently treats PATH="nonexistent" as if it contained ".".
11225 Bug reported by Stefan `Sec' Zehl.
11227 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
11229 * doc/autoconf.texi (Limitations of Make): Mention the special
11230 handling of the obj/ directory by BSD make.
11232 2002-07-20 Kevin Ryde <user42@zip.com.au>
11234 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
11237 2002-07-19 Akim Demaille <akim@epita.fr>
11239 * doc/autoconf.texi (Function Portability): `exit'.
11240 (Programming in M4sh): Ethymology of M4sh.
11242 2002-07-19 Akim Demaille <akim@epita.fr>
11244 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
11246 2002-07-18 Akim Demaille <akim@epita.fr>
11250 2002-07-18 Akim Demaille <akim@epita.fr>
11252 * config/config.guess, config/config.sub: Update.
11254 2002-07-18 Akim Demaille <akim@epita.fr>
11256 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
11259 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
11260 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
11261 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
11263 2002-07-18 Akim Demaille <akim@epita.fr>,
11264 Alexandre Duret-Lutz <duret_g@epita.fr>
11266 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
11267 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
11269 2002-07-17 Russ Allbery <rra@stanford.edu>
11271 * doc/autoconf.texi (Initializing configure): Clarify the
11272 description of the tarname default.
11274 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
11276 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
11277 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
11278 latter was not run.
11280 2002-07-17 Akim Demaille <akim@epita.fr>
11282 * lib/Autom4te/General.pm (find_file): Browse the directories in
11283 the order they are given.
11285 2002-07-17 Akim Demaille <akim@epita.fr>
11287 * tests/wrapsh.as, tests/wrappl.as: Merge into...
11288 * tests/wrapper.as: this.
11289 * tests/Makefile.am, configure.ac: Adjust.
11291 2002-07-17 Mark D. Roth <roth@feep.net>
11293 * configure.ac: Add --enable-site-macro-dir option.
11294 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
11295 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
11296 --site-macro-subdir options.
11297 * bin/autoconf.in: Add --prepend-include option.
11298 * bin/autoheader.in: Add --prepend-include option.
11299 * bin/autoreconf.in: Add --prepend-include option.
11300 * bin/autoscan.in: Add --prepend-include option.
11301 * bin/autoupdate.in: Add --prepend-include option.
11302 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
11303 macro directory, remove note that include path directories are
11304 used in reverse order, and document --prepend-include option.
11305 * lib/autom4te.in: Use --prepend-include instead of --include.
11306 * tests/wrapsh.in: Use --prepend-include instead of --include.
11308 2002-07-17 Akim Demaille <akim@epita.fr>
11310 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
11312 * doc/autoconf.texi (Initializing configure): Adjust.
11314 2002-07-17 Akim Demaille <akim@epita.fr>
11316 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
11317 (_AC_FUNC_MALLOC): New.
11318 (AC_FUNC_MALLOC): Use the latter.
11319 Define HAVE_MALLOC to 0 if broken.
11320 * doc/autoconf.texi (Particular Functions): Adjust.
11322 2002-07-16 Akim Demaille <akim@epita.fr>
11324 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
11325 * doc/autoconf.texi (C Compiler): Adjust.
11327 2002-07-09 Akim Demaille <akim@epita.fr>
11329 * doc/autoconf.texi: Properly set the ``header'' part.
11331 2002-07-09 Akim Demaille <akim@epita.fr>
11333 * doc/autoconf.texi (Systemology): Some about Darwin.
11335 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
11337 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
11338 Don't use AC_REQUIRE in AU_DEFUN.
11340 2002-07-09 Art Haas <ahaas@neosoft.com>
11342 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
11344 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
11346 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
11347 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
11348 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
11349 so that Emacs setups GNU style for perl-mode and cperl-mode.
11351 2002-06-27 Paul Eggert <eggert@twinsun.com>
11353 * config/install-sh: Quote $src. Prefer || to test's -o option,
11354 as per "Limitations of Builtins".
11355 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
11356 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
11358 * tests/mktests.sh: Use grep instead of fgrep, as per
11359 "Limitations of Builtins".
11361 2002-06-15 Paul Eggert <eggert@twinsun.com>
11363 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
11364 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
11365 so that we consistently test the just-built programs.
11366 * tests/wrappl.as: Likewise.
11368 2002-06-12 Paul Eggert <eggert@twinsun.com>
11370 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
11371 name, so that symlinks to 'autoconf' work properly. Bug reported
11373 * bin/autoheader.in (AUTOM4TE): Likewise.
11374 * bin/autoreconf.in (autoconf, autoheader): Likewise.
11375 * bin/autoscan.in (autom4te): Likewise.
11376 * bin/autoupdate.in (autom4te): Likewise.
11378 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
11379 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
11382 2002-06-11 Andreas Schwab <schwab@suse.de>
11384 * doc/autoconf.texi: Add more dir entries.
11386 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
11388 * bin/autom4te.in ($cache): Don't define using `$me', the name
11389 of the cache should not depend on the name under which autom4te
11392 2002-06-07 Akim Demaille <akim@epita.fr>
11394 * tests/tools.at (autoconf: forbidden tokens, basic)
11395 (autoconf: forbidden tokens, exceptions): Adjust to the change of
11396 words in autom4te.in.
11398 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
11400 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
11401 _AC_LANG_PROGRAM_C_F77_HOOKS.
11403 2002-06-07 Akim Demaille <akim@epita.fr>
11405 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
11407 (AC_REPLACE_FNMATCH): this.
11408 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
11409 AC_FUNC_FNMATCH_GNU.
11411 2002-06-07 Akim Demaille <akim@epita.fr>
11413 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
11414 Rosetta Stone for Unix.
11416 2002-06-07 Akim Demaille <akim@epita.fr>
11418 * bin/autom4te.in (warn_forbidden): When rejecting a token,
11419 suggest m4_pattern_allow.
11420 Suggested by Adam J. Richter.
11422 2002-06-07 Akim Demaille <akim@epita.fr>
11424 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
11425 ac_config_libobj_dir.
11426 (AC_CONFIG_LIBOBJ_DIR): New.
11427 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
11428 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
11429 Use ac_config_libobj_dir to find the replacement files.
11430 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
11431 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
11432 (AC_REPLACE_FNMATCH_GNU): these.
11433 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
11434 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
11435 * tests/mktests.sh (ac_exclude_list): Don't check
11436 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
11438 2002-06-06 Paul Eggert <eggert@twinsun.com>
11440 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
11441 if ln doesn't work.
11443 * doc/autoconf.texi (Configuration Links): Likewise.
11444 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
11446 2002-06-05 Paul Eggert <eggert@twinsun.com>
11448 * config/config.guess, config/config.sub, config/texinfo.tex:
11449 Update from masters.
11451 2002-05-29 Paul Eggert <eggert@twinsun.com>
11453 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
11454 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
11455 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
11457 * lib/autoconf/Makefile.am (check-local): Likewise.
11458 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
11459 * lib/autoconf/types.m4 (commentary only): Likewise.
11460 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
11461 * lib/autotest/Makefile.am (check-local): Likewise.
11462 * lib/m4sugar/Makefile.am (check-local): Likewise.
11463 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
11464 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
11466 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
11467 * doc/autoconf.texi (Particular Programs): Document them.
11468 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
11471 2002-05-27 Paul Eggert <eggert@twinsun.com>
11473 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
11474 * NEWS, doc/autoconf.texi (Particular Types): Document it.
11475 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
11476 instead of AC_MBSTATE_T, which never existed.
11478 2002-05-23 Akim Demaille <akim@epita.fr>
11480 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
11481 version of Autoconf that is discussed.
11483 2002-05-22 Paul Eggert <eggert@twinsun.com>
11485 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
11486 from the default list of compilers to try. Suggested by
11488 * NEWS: Document the above.
11489 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
11491 2002-05-17 Paul Eggert <eggert@twinsun.com>
11493 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
11494 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
11495 This improves on an earlier suggestion by H. Peter Anvin.
11497 2002-05-16 Paul Eggert <eggert@twinsun.com>
11499 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
11500 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
11501 Both macros now accept an optional source-dir arg.
11502 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
11504 * NEWS: Document this.
11505 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
11507 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
11508 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
11509 not for GNU extensions; this undoes part of the 2000-11-03 change,
11510 reverting to 2.13-compatible behavior.
11511 Add new optional argument DIR.
11512 (AC_FUNC_FNMATCH_GNU): New macro.
11514 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
11516 2002-05-08 Paul Eggert <eggert@twinsun.com>
11518 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
11519 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
11520 and it causes a 'test' syntax error if it fails.
11521 Bug reported by Stephen Gildea.
11523 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
11524 If prototypes are supported, use them to check this at compile-time,
11525 instead of trying to check it at run-time. If we must do a run-time
11526 check, assume that setvbuf is standard when cross-compiling, as
11527 nonstandard setvbuf occurs only on ancient and unlikely hosts.
11528 Bug reported by Paul D. Smith.
11530 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
11531 argument specifying location of getloadavg.c. This removes a
11532 FIXME. This idea was taken from Jim Meyering's implementation in
11534 * doc/autoconf.texi (Particular Functions): Document this.
11535 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
11536 that's what the code does; this fixes a bug reported by
11539 2002-05-03 Akim Demaille <akim@epita.fr>
11541 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
11542 autopoint instead of gettextize.
11543 ($uses_alocal): Rename as...
11544 ($uses_aclocal): this.
11545 * doc/autoconf.texi (autoreconf Invocation): Adjust.
11546 Suggested by Bruno Haible.
11548 2002-05-03 Akim Demaille <akim@epita.fr>
11550 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
11552 2002-04-29 Paul Eggert <eggert@twinsun.com>
11554 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
11555 files to be 1 second older; just set them to be the same time.
11556 Also, sleep 1 second after the first aclocal, to work around
11557 problems with sub-second time stamps on the input files.
11559 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
11561 * doc/autoconf.texi: Mention "set -e -x" lossage
11562 under node "Limitations of Builtins".
11564 2002-04-29 Akim Demaille <akim@epita.fr>
11566 * doc/install.texi: Better wording for setting variables when
11568 From Christian Cornelssen.
11570 2002-04-29 Akim Demaille <akim@epita.fr>
11572 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
11573 of lack of $LINENO support, then the test will compare the $LINENO
11574 in testsuite vs. the lineno in the test file. This is wrong, of
11576 Be sure to protect it.
11577 Reported by Patrick Welche.
11579 2002-04-25 Akim Demaille <akim@epita.fr>
11581 * doc/autoconf.texi (Obsolete Macros): Typo.
11582 Reported by Vladimir Volovich.
11584 2002-04-25 Akim Demaille <akim@epita.fr>
11586 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
11587 than some of the input files, hence, on the second run of aclocal,
11588 if some of its input are younger, make them older.
11589 Suggested by Paul Eggert.
11591 2002-04-25 Akim Demaille <akim@epita.fr>
11593 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
11594 Thanks to Paul Eggert.
11596 2002-04-25 Akim Demaille <akim@epita.fr>
11598 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
11599 and ac_subst_vars be sh variables containing the list of
11600 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
11602 (_AC_INIT_PREPARE): Use them to log them.
11603 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
11604 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
11605 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
11606 _AC_SUBST_FILES and _AC_SUBST_VARS.
11607 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
11609 2002-04-24 Akim Demaille <akim@epita.fr>
11611 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
11612 autoheader, so that automake does not complain about a missing
11613 config.h.in that was to be created.
11615 2002-04-23 Akim Demaille <akim@epita.fr>
11617 * bin/autoheader.in (parse_args): --warning takes an argument.
11620 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
11622 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
11623 and bb.out when cleaning up.
11625 2002-04-22 Akim Demaille <akim@epita.fr>
11629 2002-04-22 Akim Demaille <akim@epita.fr>
11631 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
11633 2002-04-22 Akim Demaille <akim@epita.fr>
11635 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
11637 Reported by Gregory Giannoni.
11639 2002-04-22 Akim Demaille <akim@epita.fr>
11641 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
11642 Fixes false failures on Darwin.
11644 2002-04-21 Paul Eggert <eggert@twinsun.com>
11646 * TODO, bin/autoupdate.in, doc/autoconf.texi,
11647 lib/autoconf/general.m4, lib/autoconf/libs.m4,
11648 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
11649 tests/tools.at: Minor spelling and grammar fixes.
11651 2002-04-20 Paul Eggert <eggert@twinsun.com>
11653 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
11654 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
11655 * lib/autotest/general.m4 (AT_INIT): Likewise.
11656 * tests/atgeneral.m4 (AT_INIT): Likewise.
11658 2002-04-19 Paul Eggert <eggert@twinsun.com>
11660 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
11661 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
11662 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
11663 lib/autoconf/functions.m4, lib/autoconf/general.m4,
11664 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
11665 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
11666 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
11667 Minor spelling and grammar fixes.
11669 * doc/autoconf.texi: Follow the outline suggested in the GNU
11670 Sample Texts sections of the Texinfo 4.2 manual. Most
11671 importantly, this makes sure that the copyright notices appear in
11672 all output formats. You probably need Texinfo 4.2 to generate
11675 Fix some bugs when using "$@" when there might be zero positional
11676 arguments in cases where this matters.
11678 * bin/autoconf.as: Rewrite so that the problem does not come up.
11679 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
11680 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
11681 * lib/autotest/general.m4 (AT_INIT): Likewise.
11683 * bin/autoheader.in: Use 'case' statement to work around problem.
11684 * bin/auto4mte.in: Likewise.
11685 * bin/autoreconf.in: Likewise.
11686 * bin/autoscan.in: Likewise.
11687 * bin/autoupdate.in: Likewise.
11688 * bin/ifnames.in: Likewise.
11690 * doc/autoconf.texi (Shell Substitutions): Document the problem.
11692 * lib/autotest/general.m4 (AT_INIT):
11693 Use Zsh alias to work around problem.
11694 * tests/atgeneral.m4 (AT_INIT): Likewise.
11696 * tests/c.at: We can't have zero arguments, so remove workaround
11697 that is not portable to Zsh.
11699 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
11701 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
11702 from aclocal.m4 too.
11704 2002-04-12 Akim Demaille <akim@epita.fr>
11706 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
11708 2002-04-10 Akim Demaille <akim@epita.fr>
11710 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
11711 workaround for ${1+"$@"}.
11712 * doc/autoconf.texi (Shell Substitutions): Explain it.
11713 From Oliver Kiddle and Peter Stephenson.
11715 Have M4sh perform minimal shell sanitizing.
11717 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
11719 (_AS_PREPARE): this new macro.
11721 (AS_INIT): Invoke AS_SHELL_SANITIZE.
11722 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
11724 Adjust Autoconf and Autotest.
11726 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
11727 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
11728 * lib/autotest/general.m4 (AT_INIT): Likewise.
11729 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
11730 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
11733 Use this M4sh to generate Autoconf's shell scripts.
11735 * tests/wrapsh.as: New, precursor of wrapsh.in.
11736 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
11737 on Autotest and M4sh.
11738 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
11739 (wrapsh.in): New target.
11740 * bin/autoconf.as: New, precursor of autoconf.in.
11741 (autoconf.in): New target.
11743 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
11745 * doc/autoconf.texi (Limitations of Make): Mention the issue
11746 with indented comments in rules.
11748 2002-04-09 Andreas Schwab <schwab@suse.de>
11750 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
11751 ac_top_builddir when setting ac_abs_top_builddir.
11753 2002-04-06 Kevin Ryde <user42@zip.com.au>
11755 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
11756 (Portable Shell): Cross reference to Systemology.
11758 2002-04-05 Akim Demaille <akim@epita.fr>
11760 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
11761 directories when descending in a SUBDIRS.
11762 Reported by Ezra Peisach.
11764 2002-04-04 Andreas Schwab <schwab@suse.de>
11766 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
11767 contains no literal separators.
11769 2002-04-03 Akim Demaille <akim@epita.fr>
11771 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
11772 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
11773 Use dnl, not the KILL diversion.
11775 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
11776 (AC_CONFIG_LINKS): here.
11778 Don't use the KILL diversion, as it kills spurious output, which
11779 results in failures being hidden.
11780 Use m4_defn where appropriate.
11781 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
11782 after the second argument.
11784 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
11785 syntax, as it is provided by M4sugar.
11786 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
11788 2002-04-03 Andreas Schwab <schwab@suse.de>
11790 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
11791 expanded if $# <= 2.
11793 * bin/autoreconf.in (autoreconf): Run automake after rerunning
11796 2002-04-03 Akim Demaille <akim@epita.fr>
11798 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
11799 (_AC_COMPILER_EXEEXT_REJECT): New.
11800 Also recognize *.bb and *.bbg as compilation byproducts.
11801 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
11802 (_AC_COMPILER_OBJEXT): Use them.
11803 Fixes Debian #138666.
11805 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
11807 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
11809 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
11810 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
11811 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
11812 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
11813 (AC_C_CONST): Same.
11814 (AC_C_INLINE): Same.
11815 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
11816 * doc/autoconf.texi, NEWS: Document.
11817 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
11820 2002-04-02 Akim Demaille <akim@epita.fr>
11822 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
11823 _AS_MKDIR_P_PREPARE.
11825 2002-03-28 Kevin Ryde <user42@zip.com.au>
11827 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
11828 to avoid versions of HP C which don't allow that.
11830 2002-03-27 Paul Eggert <eggert@twinsun.com>
11832 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
11833 (AS_SHELL_SANITIZE): Invoke it.
11834 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
11836 2002-03-26 Akim Demaille <akim@epita.fr>
11838 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
11840 2002-03-26 Akim Demaille <akim@epita.fr>
11842 * doc/autoconf.texi (Introduction): The GNATS base moved.
11844 2002-03-25 Paul Eggert <eggert@twinsun.com>
11846 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
11847 as POSIX requires, as it doesn't work with Zsh.
11848 * doc/autoconf.texi (Assignments): Document the problem.
11850 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
11852 * doc/autoconf.texi (Limitations of Make): Mention more issue
11853 about VPATH, overriding of macros in sub-makes, and handling of
11856 2002-03-21 Paul Eggert <eggert@twinsun.com>
11858 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
11859 problem with here-document buffer boundaries.
11861 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
11862 when reinvoking the shell, to work around problems with installers
11863 who put strange things like "cd" commands in their environments.
11865 2002-03-19 Akim Demaille <akim@epita.fr>
11867 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
11870 2002-03-19 Akim Demaille <akim@epita.fr>
11872 * bin/autoscan.in (scan_file): Specify the location in `&used'
11876 2002-03-19 Akim Demaille <akim@epita.fr>
11878 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
11879 From Nishio Futoshi.
11881 2002-03-19 Akim Demaille <akim@epita.fr>
11883 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
11885 2002-03-18 Paul Eggert <eggert@twinsun.com>
11887 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
11888 (Limitations of Usual Tools): Add mkdir section.
11890 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
11891 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
11892 back on AS_DIRNAME to compute prefixes otherwise; this is
11893 roughly what mkinstalldirs does. That way, we need not have
11894 our own filename disassembler. The old disassembler did not
11895 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
11897 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
11898 Create at_test_all by a series of assignments,
11899 not by a single assignment of a long string. The latter causes ksh
11900 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
11901 presumably because of a buffer overrun.
11903 2002-03-14 Paul Eggert <eggert@twinsun.com>
11905 * lib/autotest/general.m4 (at_times_skip):
11906 Renamed from at_times. Now a boolean.
11907 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
11908 says 'times: not found'.
11910 2002-03-14 Akim Demaille <akim@epita.fr>
11912 * bin/autoreconf.in (&study_gettextize): New.
11913 (&autoreconf): Handle newest gettextize.
11914 Rerun aclocal if needed.
11915 Suggested by Andreas Schwab.
11917 2002-03-13 Akim Demaille <akim@epita.fr>
11919 * doc/autoconf.texi (Special Shell Variables): More about IFS.
11921 2002-03-13 Akim Demaille <akim@epita.fr>
11923 * doc/autoconf.texi (Header Portability): New.
11924 Add information about stdint.h and inttypes.h from Paul Eggert.
11926 2002-03-13 Akim Demaille <akim@epita.fr>
11928 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
11932 2002-03-12 Akim Demaille <akim@epita.fr>
11934 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
11937 2002-03-11 Andreas Schwab <schwab@suse.de>
11939 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
11940 does not do it if --with-lispdir is given.
11942 2002-03-08 Akim Demaille <akim@epita.fr>
11946 2002-03-08 Akim Demaille <akim@epita.fr>
11948 * doc/autoconf.texi (Subdirectories): Clarify that the
11949 subdirectory should exist.
11951 2002-03-08 Akim Demaille <akim@epita.fr>
11953 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
11955 2002-03-08 Akim Demaille <akim@epita.fr>
11957 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
11958 aliases the actual variables, and modifications of the former
11961 2002-03-08 Akim Demaille <akim@epita.fr>
11963 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
11964 because of C-c: have m4 output in tmp files, then mv them.
11966 2002-03-08 Akim Demaille <akim@epita.fr>
11968 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
11969 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
11970 * bin/ifnames.in: Copyright update.
11972 2002-03-08 Akim Demaille <akim@epita.fr>
11974 * doc/autoconf.texi (Invoking autom4te): New.
11976 2002-03-05 Akim Demaille <akim@epita.fr>
11978 * doc/autoconf.texi (Specifying Names): Clarification suggested by
11981 2002-03-05 Akim Demaille <akim@epita.fr>
11985 2002-03-04 Akim Demaille <akim@epita.fr>
11987 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
11988 * lib/autoconf/general.m4 (AC_INIT): More informative error
11989 message for LIBOBJ.
11991 2002-03-04 Akim Demaille <akim@epita.fr>
11993 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
11996 2002-03-04 Akim Demaille <akim@epita.fr>
11998 * doc/autoconf.texi (Transforming Names): Equality between target
11999 and host is irrelevant.
12000 (Specifying Names, Canonicalizing): Remove all references to the
12001 backward compatibility hooks. Rather, collect them all into...
12002 (Hosts and Cross-Compilation): this new section.
12003 * doc/install.texi (System Type): Ditto.
12004 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
12005 that `--host' implies cross-compilation.
12007 2002-03-04 Akim Demaille <akim@epita.fr>
12009 * doc/autoconf.texi (Evaluation Macros): New.
12010 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
12012 (_m4_foreach): Define the variant with immediate evaluation so
12013 that it contains exactly the items, not an expression which
12014 evaluation is the current item.
12015 (m4_re_string, m4_re_word): Don't over quote them.
12017 2002-03-04 Akim Demaille <akim@epita.fr>
12019 Instead of having stacking `shift's evaluated at the end, let
12020 `foreach' loops immediately evaluate them.
12022 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
12023 $*. This is the n-th time I change my mind, but hopefully this is
12026 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
12028 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
12029 it was only a hack for m4_text_wrap.
12030 (m4_car2): Remove, replaced by...
12032 (_m4_foreach): Adjust.
12033 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
12034 m4_bpatsubst for clarification.
12036 2002-03-04 Akim Demaille <akim@epita.fr>
12038 * doc/autoconf.texi (Changequote is Evil): New.
12040 2002-03-03 Kevin Ryde <user42@zip.com.au>
12042 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
12043 on old systems like SunOS.
12045 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
12047 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
12048 lib/autoconf/functions.m4, lib/autoconf/general.m4,
12049 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
12050 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
12053 2002-02-28 Akim Demaille <akim@epita.fr>
12055 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
12056 message to be sent.
12058 2002-02-28 Kevin Ryde <user42@zip.com.au>
12060 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
12062 2002-02-25 Akim Demaille <akim@epita.fr>
12064 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
12065 From Akinori Musha.
12067 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
12069 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
12070 translate \r\n to \n.
12072 2002-02-07 Akim Demaille <akim@epita.fr>
12076 2002-02-07 Akim Demaille <akim@epita.fr>
12078 Fix Autoconf PR/209.
12079 Also reported by Frank Denis.
12081 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
12083 2002-02-07 Akim Demaille <akim@epita.fr>
12085 Fix Autoconf PR/207:
12086 AC_PREFIX_PROGRAM fails with dashed program names
12088 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
12089 variable when looking for the prefix program.
12090 Now it also works for shell variables.
12092 2002-02-07 Akim Demaille <akim@epita.fr>
12094 * doc/autoconf.texi (Limitations of Builtins): More about
12097 2002-02-06 Akim Demaille <akim@epita.fr>
12099 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
12100 case/esac, some shells don't support it.
12101 Reported by Zack Weinberg.
12102 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
12104 2002-02-06 Akim Demaille <akim@epita.fr>
12106 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
12107 sure not to introduce newlines in at_groups.
12108 * lib/autotest/Makefile.am (autotest.m4f): Typo.
12110 2002-02-06 Akim Demaille <akim@epita.fr>
12112 * tests/torture.at (Configuring subdirectories): Skip if aclocal
12115 2002-02-05 Paul Eggert <eggert@twinsun.com>
12117 * doc/autoconf.texi (Specific Compiler Characteristics):
12118 Describe HP-UX cc bug workaround more accurately.
12119 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
12121 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
12122 cross-compilers, too. This undoes some of the most recent change
12125 2002-02-05 Akim Demaille <akim@epita.fr>
12127 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
12128 to make sure they are up to date when `check' is run.
12130 2002-02-05 Akim Demaille <akim@epita.fr>
12132 * doc/autoconf.texi (Making testsuite Scripts): Document
12135 2002-02-05 Akim Demaille <akim@epita.fr>
12137 * lib/freeze.mk: New.
12139 2002-02-05 Akim Demaille <akim@epita.fr>
12141 Implement `autom4te --freeze'.
12143 * bin/autom4te.in (&freeze): New.
12144 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
12145 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
12147 2002-02-05 Akim Demaille <akim@epita.fr>
12149 * bin/autom4te.in (&parse_args): Implement `frozen files are
12150 optional are the sum of the previous files on the command line'.
12151 Also, pass `--reload-state=' on them, so...
12152 (handle_m4): don't.
12153 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
12154 (M4sh): Rely on M4sugar.
12155 (Autotest, M4sh, M4sugar): Use frozen files.
12157 2002-01-31 Akim Demaille <akim@epita.fr>
12159 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
12160 * doc/autoconf.texi (Initializing configure): Adjust.
12162 2002-01-30 Akim Demaille <akim@epita.fr>
12164 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
12165 alphanumeric to `-' instead of `_'.
12167 2002-01-30 Akim Demaille <akim@epita.fr>
12169 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
12170 for plain code, the other for cross-compilation code. The latter
12171 is now run with GCC only.
12172 * doc/autoconf.texi (Compilers and Preprocessors): New.
12174 2002-01-30 Akim Demaille <akim@epita.fr>
12176 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
12178 * doc/autoconf.texi (Initializing configure): Explain how to
12179 change AC_INIT default values.
12181 2002-01-29 Akim Demaille <akim@epita.fr>
12183 * tests/torture.at (Configuring subdirectories): Use configure.in,
12184 so that aclocal 1.4 works.
12185 Reported by Alexandre Duret-Lutz and Larry Schmitt.
12187 2002-01-28 Akim Demaille <akim@epita.fr>
12189 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
12192 2002-01-28 Akim Demaille <akim@epita.fr>
12194 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
12195 AUTOTEST_PATH *after* it was set.
12196 Don't put `.' in the PATH: the user should be precise and `./' if
12197 needed. In addition, given that the test suite does some `cd', if
12198 `.' is in the path, the `tested programs' sections will report
12199 programs found in the test suite's directory, while during the
12200 tests (performed in their own directory), these programs are no
12201 longer visible. In other words, the results is confusing and
12203 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
12205 2002-01-24 Akim Demaille <akim@epita.fr>
12209 2002-01-24 Akim Demaille <akim@epita.fr>
12211 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
12212 * doc/autoconf.texi: Finally add Akim as an author.
12214 2002-01-24 Akim Demaille <akim@epita.fr>
12216 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
12217 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
12218 Bourne. Use /bin/sh.
12219 From Andreas Buening.
12221 2002-01-24 Akim Demaille <akim@epita.fr>
12223 * config/config.guess, config/config.sub, config/texinfo.tex:
12224 Update from masters.
12226 2002-01-24 Akim Demaille <akim@epita.fr>
12228 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
12229 * config/auxdir.m4, config/cond.m4, config/depend.m4,
12230 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
12231 * config/missing.m4, config/sanity.m4, config/select.m4,
12232 * config/strip.m4: Remove, to ease sync'ing with any version of
12235 2002-01-24 Akim Demaille <akim@epita.fr>
12237 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
12238 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
12239 Reported by Geir Ove Myhr.
12241 2002-01-21 Akim Demaille <akim@epita.fr>
12243 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
12245 2002-01-21 Akim Demaille <akim@epita.fr>
12247 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
12248 message on invalid options.
12249 * bin/autom4te.in (parse_args): Don't use
12250 Autoconf::General::getopt with non valid options.
12252 2002-01-17 Jim Meyering <meyering@lucent.com>
12254 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
12255 $ac_cv_exeext so we don't use an old, invalid, cached value.
12257 2002-01-11 Akim Demaille <akim@epita.fr>
12259 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
12261 * doc/autoconf.texi (Function Portability): Document the strnlen
12263 (Particular Functions): Document AC_FUNC_STRNLEN.
12264 * lib/autoscan/functions: Adjust.
12266 2002-01-06 Akim Demaille <akim@epita.fr>
12268 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
12269 package.m4, since is really depends upon configure.ac, not
12271 * doc/autoconf.texi (testsuite Scripts): Adjust.
12272 * tests/Makefile.am (package.m4): New.
12273 EXTRA_DIST it since its a source.
12275 2002-01-06 Akim Demaille <akim@epita.fr>
12277 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
12278 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
12279 and PACKAGE_BUGREPORT from here...
12280 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
12282 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
12283 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
12284 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
12285 * tests/tools.at (autoheader): Adjust.
12286 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
12288 2002-01-06 Akim Demaille <akim@epita.fr>
12290 * bin/autoscan.in (scan_file): Use `&used'.
12292 2002-01-03 Akim Demaille <akim@epita.fr>
12294 * doc/autoconf.texi (Output): Improved wording regarding use of
12298 2001-12-18 Kevin Ryde <user42@zip.com.au>
12300 * doc/autoconf.texi (Function Portability): Add notes on sscanf
12301 sometimes needing writable input.
12303 2001-12-17 Jim Meyering <meyering@lucent.com>
12305 * doc/autoconf.texi (New Macros): Tweak wording.
12307 2001-12-14 Akim Demaille <akim@epita.fr>
12309 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
12310 trailing files, don't apply `-rf' to files which might not be
12311 created by configure (core, core.*, and *.core), but just `rm -f'.
12312 Suggested by Jonathan Kamens.
12314 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
12316 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
12318 2001-12-14 Akim Demaille <akim@epita.fr>
12320 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
12322 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
12324 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
12325 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
12326 abs_srcdir, top_srcpath to abs_top_srcdir.
12327 (_AC_OUTPUT_FILES): Adjust.
12328 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
12329 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
12330 * tests/wrappl.in, tests/wrapsh.in: Adjust.
12332 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
12334 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
12335 C/Fortran linking on HP/UX, by extracting the Fortran library
12336 search path from the LPATH line in the $F77 -v output.
12338 2001-12-12 Kevin Ryde <user42@zip.com.au>
12340 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
12341 forbidden file descriptors table.
12343 2001-11-26 Akim Demaille <akim@epita.fr>
12345 * bin/autoscan.in (%c_keywords): Build it at top level.
12346 Map to 1 in order to simplify its uses.
12348 2001-11-26 Akim Demaille <akim@epita.fr>
12350 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
12351 Remove $filepath, useless.
12352 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
12353 variables, they are really part of the tokens.
12354 Split the input line on spaces and then look for tokens.
12355 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
12356 because of `lex$U.$(OBJEXT)'.
12357 (&scan_files): Use "@list" instead of join.
12358 * doc/Makefile.am (CLEANFILES): Add *.fns.
12360 2001-11-26 Akim Demaille <akim@epita.fr>
12362 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
12363 Remove, replaced by...
12364 * tests/wrappl.in: Be common for all the Perl executables.
12365 In particular autoscan and autoheader want -I.
12366 * configure.ac: Adjust.
12367 * lib/autoscan/headers: errno.h is portable.
12369 2001-11-26 Akim Demaille <akim@epita.fr>
12371 * bin/autoscan.in (used): New.
12374 2001-11-26 Akim Demaille <akim@epita.fr>
12376 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
12378 (&scan_sh_file): Remove a duplicate pattern.
12379 (&check_configure_ac): Use long options.
12380 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
12382 2001-11-26 Akim Demaille <akim@epita.fr>
12384 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
12385 Before, having a line containing the opening of a multi line
12386 comment made the whole line be ignored.
12388 2001-11-26 Akim Demaille <akim@epita.fr>
12390 * doc/autoconf.texi (Using an Autotest Test Suite): New.
12391 (testsuite Scripts): Be one of its subsection.
12392 (Autotest Logs): New.
12394 2001-11-26 Akim Demaille <akim@epita.fr>
12396 Test groups are now run two directories deeper.
12398 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
12399 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
12401 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
12402 top_srcdir, builddir and top_builddir.
12403 Use `at_*dir' relatively to the directory containing the
12404 suite, use `*dir' when relatively to the current group dir.
12406 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
12408 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
12409 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
12410 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
12413 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
12415 * doc/autoconf.texi (Using System Type): Add an example of `case
12416 $host' usage so people quit using `case $target' everywhere.
12418 2001-11-22 Akim Demaille <akim@epita.fr>
12420 * doc/autoconf.texi (Installation Directory Variables): Englishoes
12421 spotted by Jim Meyering.
12423 2001-11-16 Paul Eggert <eggert@twinsun.com>
12425 This patch implements a `long double' suggestion by Oliver Kiddle.
12427 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
12428 static, to catch errors if the value isn't known at compile-time
12429 and the compiler supports dynamic arrays. Change its name from
12430 `_array_' to `test_array' to avoid potential name clashes.
12431 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
12432 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
12433 better than double. Catch a bug in GCC 2.95.2 x86.
12434 * doc/autoconf.texi (C Compiler): Document the above.
12437 2001-11-13 Akim Demaille <akim@epita.fr>
12439 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
12441 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
12443 2001-11-13 Akim Demaille <akim@epita.fr>
12445 * lib/autotest/general.m4 (AT_INIT): After having run the test
12446 group, go back to the initial directory, not to at_suite_dir.
12448 2001-11-13 Akim Demaille <akim@epita.fr>
12450 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
12451 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
12452 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
12454 (AT_CHECK_CONFIGURE): Use absolute paths.
12455 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
12456 The problem is still the old one: there is no means in M4 (that I
12457 know about) to create a defining macro, because there is no means
12458 to create `$1' etc., therefore, the defining macro ``swallows''
12459 all the arguments meant to the defined macro.
12461 2001-11-13 Akim Demaille <akim@epita.fr>
12463 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
12464 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
12466 * tests/aclocal.m4: Remove, as it is no longer used.
12468 2001-11-13 Akim Demaille <akim@epita.fr>
12470 * lib/autotest/general.m4: Change `tests?' into `groups?' in
12471 variable names when referring to a single test group, or to
12472 `suite' when referring to the whole test suite.
12473 `at_last_test' is removed: m4 compute at_format itself.
12474 (at_stdout, at_stder1, at_stderr): New variables.
12475 (AT_CHECK): Use them.
12477 2001-11-13 Akim Demaille <akim@epita.fr>
12479 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
12481 Create `testsuite.dir/003/run' instead of `testsuite.003'.
12482 Do it as soon as a test fails, don't wait till the end of the test
12484 Don't remove $as_me.[0-9]*, since these files no longer exist.
12486 2001-11-13 Akim Demaille <akim@epita.fr>
12488 * tests/tools.at: Use absolute paths, since we are no longer run
12491 2001-11-13 Akim Demaille <akim@epita.fr>
12493 Now that tests are running in their own private dir, there is no
12494 need to list the files to remove at the end of tests groups.
12496 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
12497 (AT_data_files, at_data_files): Remove.
12498 (AT_CLEANUP, AT_DATA): Simplify.
12500 Remove the group dir if !debug && !failed.
12501 * tests/atspecific.m4: Adjust.
12503 2001-11-13 Akim Demaille <akim@epita.fr>
12505 Start a new layout for Autotest: `testsuite' creates
12506 `testsuite.dir' in which the at-check-line etc. files are to be
12507 found, and `testsuite.dir/003' where the test group 3 is run.
12509 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
12510 at_check_line_file, at_format, at_test_normalized, at_group_dir
12512 Create the directories.
12513 Use absolute paths for at- files.
12514 (AT_CHECK): Adjust.
12516 2001-11-11 Michael Matz <matz@kde.org>
12518 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
12520 (m4_car): Properly quote arguments.
12522 2001-11-13 Akim Demaille <akim@epita.fr>
12524 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
12525 with stricter rules on LIBOBJS.
12527 2001-11-12 Paul Eggert <eggert@twinsun.com>
12529 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
12530 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
12533 2001-11-12 Akim Demaille <akim@epita.fr>
12535 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
12537 2001-11-12 Akim Demaille <akim@epita.fr>
12539 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
12540 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
12541 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
12542 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
12543 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
12544 specify to what the macro should be defined (typically to 1).
12546 2001-11-12 Akim Demaille <akim@epita.fr>
12548 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
12551 2001-11-12 Akim Demaille <akim@epita.fr>
12553 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
12554 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
12555 definition used by Automake where LEX is +/- "${missing} lex" and
12556 `missing' itself contains variables.
12558 2001-11-12 Akim Demaille <akim@epita.fr>
12560 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
12561 Now that M4sh pushes BODY, the comments were output at the end of
12564 2001-11-08 Akim Demaille <akim@epita.fr>
12566 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
12567 that we can trace macros from aclocal.m4.
12568 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
12569 obsoleted, and redirect to the former anyway.
12570 Reported by Ralf Corsepius.
12572 2001-11-08 Akim Demaille <akim@epita.fr>
12574 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
12575 processed only if present.
12576 * tests/torture.at (Configuring subdirectories): Use autoreconf
12577 instead of successive calls to autoconf.
12578 Add a nonexistent subdirectory to exercise the patch above.
12579 Reported by Ralf Corsepius.
12581 2001-11-08 Kevin Ryde <user42@zip.com.au>
12583 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
12584 doesn't accept .S files.
12586 2001-11-07 Akim Demaille <akim@epita.fr>
12588 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
12589 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
12590 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
12591 * bin/autom4te.in (warn_forbidden): New.
12592 (handle_output): Use it.
12593 Read m4_pattern_forbid with messages.
12595 2001-11-05 Akim Demaille <akim@epita.fr>
12597 * bin/autom4te.in (--normalize): Remove.
12598 * lib/autom4te.in: Adjust.
12600 2001-11-05 Akim Demaille <akim@epita.fr>
12602 * tests/Makefile.am (testsuite): Rename this target as...
12603 ($(TESTSUITE)): this.
12606 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
12608 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
12609 the --prefix option, also remove it's argument.
12611 2001-11-05 Akim Demaille <akim@epita.fr>
12613 * doc/autoconf.texi (testsuite Invocation): Update.
12614 (Writing testsuite.at): Update.
12616 2001-11-03 Akim Demaille <akim@epita.fr>
12618 * doc/autoconf.texi: s/@code/@command/ where appropriate.
12620 2001-11-03 Akim Demaille <akim@epita.fr>
12622 * lib/Autom4te/General.pm: (&catfile, &canonfile)
12623 (&file_name_is_absolute): New, wrappers around routines from
12625 Use and export them.
12626 (&find_configure_ac): Optionally take a directory where to look at.
12627 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
12629 Default @ARGV to `.', not find_configure_ac.
12630 (&autoreconf): Argument is a directory.
12631 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
12632 * doc/autoconf.texi (autoreconf Invocation): Update.
12634 2001-11-03 Akim Demaille <akim@epita.fr>
12636 * lib/Autom4te/General.pm (@export_vars, @export_subs)
12637 (@export_forward_subs): New.
12638 Add basename, dirname, and fileparse.
12640 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
12641 Don't look for aclocal flags if we already know aclocal is not
12643 Move aclocal.m4t only if it exists.
12644 Reported by Ezra Peisach.
12646 2001-11-03 Akim Demaille <akim@epita.fr>
12648 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
12649 passed on command line, defaulting to ./configure.ac if present.
12650 (&maybe_autoreconf, File::Find): Remove, unused.
12651 (&autoreconf): If autoconf is not used, don't try to trace.
12653 2001-11-02 Akim Demaille <akim@epita.fr>
12655 * configure.ac: Bump to 2.52g.
12657 2001-11-02 Akim Demaille <akim@epita.fr>
12661 2001-11-02 Akim Demaille <akim@epita.fr>
12663 * config/config.guess, config/config.sub, doc/standards.texi:
12664 * config/lispdir.m4: Update from masters.
12665 * configure.ac: Bump to 2.52f.
12667 2001-11-02 Akim Demaille <akim@epita.fr>
12669 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
12670 Don't run aclocal when aclocal.m4 is not from aclocal.
12672 Don't run libtoolize and gettextize if --install is not given.
12674 2001-11-01 Paul Eggert <eggert@twinsun.com>
12676 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
12677 be invoked before _AS_LINENO_PREPARE.
12678 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
12679 than character ranges.
12681 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
12682 invoking AS_BASENAME. Set the locale variables to 'C' if
12683 possible, as POSIX requires this to get the traditional
12685 * doc/autoconf.texi (Special Shell Variables): Describe the above.
12687 2001-10-31 Paul Eggert <eggert@twinsun.com>
12689 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
12690 with {}, as that triggers a bug in Bash 2.05.
12692 (_AS_LINENO_PREPARE): Use Sed rather than
12693 Awk. Fix the sed prepass to work even if there are multiple
12694 instances of $LINENO on the same line. Do not substitute for
12695 other variables like $LINENOT. Do not check file dates; such a
12696 check is unreliable on sufficiently fast machines, and removing
12697 the check makes the code simpler and more reliable. Check for
12698 output and chmod failures.
12700 * doc/autoconf.texi (Special Shell Variables): Document
12703 2001-10-31 Akim Demaille <akim@epita.fr>
12705 * tests/Makefile.am (atconfig): Remove this target, Automake
12708 2001-10-31 Akim Demaille <akim@epita.fr>
12710 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
12711 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
12712 provided, while it is optional.
12713 * configure.ac: Adjust.
12715 2001-10-26 Paul Eggert <eggert@twinsun.com>
12717 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
12718 lib/Autom4te/Struct.pm:
12719 Require Perl 5.005_03 instead of just 5.005, as some tests fail
12722 * doc/autoconf.texi (Special Shell Variables): Document some
12723 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
12725 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
12726 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
12727 eval $LINENO is not portable in practice.
12729 2001-10-24 Akim Demaille <akim@epita.fr>
12731 * lib/Autom4te/General.pm (backname): New.
12733 2001-10-24 Akim Demaille <akim@epita.fr>
12735 * m4/: Remove, merged into...
12738 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
12740 * doc/autoconf.texi (Shellology): Mention the problems with bash
12741 2.05's use of ANSI quoting in its `set' builtin.
12743 2001-10-22 Paul Eggert <eggert@twinsun.com>
12745 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
12746 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
12747 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
12748 POSIX decided to standardize on the int flavor of strerror_r.
12749 Always do char* test, as there's no reason not to.
12750 Assign to a char* var, to catch strerror_r that returns int*.
12752 * doc/autoconf.texi (Particular Functions):
12753 Document the above changes. Also, document the fact that
12754 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
12756 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
12758 2001-10-20 Akim Demaille <akim@epita.fr>
12760 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
12761 the executable was missing from the log.
12763 2001-10-20 Akim Demaille <akim@epita.fr>
12765 * lib/Autom4te/General.pm (&update_file): If destination is
12766 unchanged, remove the source.
12767 (&up_to_date_p): Don't be verbose, be debug.
12768 * bin/autoreconf.in: No longer support --m4dir.
12769 (&autoreconf): Display the full path of the configure.ac we are
12771 Trace it only once.
12772 Be sure to honor --force with gettextize.
12773 Always run aclocal.
12774 * doc/autoconf.texi: Adjust.
12776 2001-10-20 Akim Demaille <akim@epita.fr>
12778 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
12780 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
12781 `intl' is already present, as it refuses unless --force.
12782 (&parse_args): Use -I, --include instead of the old Autoconf
12784 ($localdir, $autoconf_dir): Remove.
12786 (&maybe_autoreconf): New, to preserve $_ for File::Find.
12788 2001-10-19 Jens Petersen <petersen@redhat.com>
12790 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
12791 * doc/autoconf.texi (Particular Programs): Likewise.
12793 2001-10-19 Akim Demaille <akim@epita.fr>
12795 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
12796 file in @configure_input@.
12797 Don't mention `automatically' in addition to `generated'.
12798 * tests/torture.at (#define header templates): Adjust.
12800 2001-10-19 Akim Demaille <akim@epita.fr>
12802 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
12803 comment, explain how to install automatic mode selection.
12806 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
12808 * bin/autoreconf.in (autoreconf): Display the path to the
12809 configure.ac being studied.
12811 2001-10-18 Paul Eggert <eggert@twinsun.com>
12813 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
12814 long, to work around a bug in the HP C compiler version HP92453-01
12817 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
12818 (AS_BASENAME_EXPR): New macro.
12819 (AS_BASENAME_SED): Do not assume GNU sed semantics.
12820 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
12821 and fall back on 'sed' only if the other two fail. This makes
12822 AS_BASENAME act more like AS_DIRNAME.
12823 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
12824 contains white space.
12825 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
12826 Use AS_DIRNAME, since I think it's now DOS-friendly.
12827 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
12828 Allow "dirname //FOO" to return either / or //, as POSIX allows
12831 2001-10-10 Akim Demaille <akim@epita.fr>
12833 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
12834 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
12837 2001-10-10 Akim Demaille <akim@epita.fr>
12839 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
12840 m4_define, since...
12841 (_AS_ECHO_N): AS_REQUIREs it.
12843 2001-10-10 Akim Demaille <akim@epita.fr>
12845 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
12846 (AC_INCLUDES_DEFAULT): Move to...
12847 * lib/autoconf/headers.m4: here.
12848 * lib/autoconf/types.m4: Comment changes.
12849 * doc/autoconf.texi: Specify where the default includes are used
12850 in the macro prototypes.
12852 2001-10-09 Akim Demaille <akim@epita.fr>
12854 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
12857 2001-10-08 Akim Demaille <akim@epita.fr>
12859 * bin/autoreconf.in (&autoreconf): Remove debugging code.
12860 (&parse_args): Pass verbosity/debugging options to subtools when
12861 --debug, not when --verbose.
12862 * lib/autom4te.in (Autoreconf-preselections): New.
12863 (Autoconf): Use it.
12865 2001-10-08 Akim Demaille <akim@epita.fr>
12867 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
12869 2001-10-08 Akim Demaille <akim@epita.fr>
12871 * doc/autoconf.texi (autoreconf Invocation): Adjust.
12872 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
12874 2001-10-08 Akim Demaille <akim@epita.fr>
12876 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
12877 (Syntax of the shell scripts): Don't.
12878 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
12879 bother with $force since...
12880 * lib/Autom4te/General.pm: does.
12882 2001-10-08 Akim Demaille <akim@epita.fr>
12884 * bin/autoreconf.in: Rewrite in Perl.
12885 * configure.ac: Adjust.
12886 * lib/Autom4te/General.pm (&up_to_date_p): New.
12887 * bin/autom4te.in (&up_to_date_p): Use it.
12889 (&up_to_date): this.
12891 2001-10-08 Akim Demaille <akim@epita.fr>
12893 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
12894 (m4_list_cmp): Use $0 to reinvoke yourself.
12895 (m4_patsubsts): New.
12896 (m4_strip, m4_version_unletter): Use it.
12897 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
12899 2001-10-08 Akim Demaille <akim@epita.fr>
12901 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
12902 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
12903 * lib/autoconf/types.m4, lib/autotest/general.m4,
12904 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
12905 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
12906 m4_bregexp, m4_bpatsubst, and m4_bmatch.
12907 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
12909 2001-10-08 Akim Demaille <akim@epita.fr>
12911 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
12913 2001-10-08 Akim Demaille <akim@epita.fr>
12915 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
12916 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
12917 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
12918 * tests/tools.at, tests/m4sh.at: Use it.
12919 * tests/m4sh.at: Don't rely on Autoconf macros.
12920 (DIRNAME_TEST): Also exercise the expr variant.
12921 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
12922 preferred M4sugar extension is now `.4s'.
12923 * tests/README: Remove.
12925 2001-10-08 Akim Demaille <akim@epita.fr>
12927 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
12928 (m4_provide_if): this.
12929 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
12930 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
12931 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
12932 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
12934 2001-10-08 Akim Demaille <akim@epita.fr>
12936 Use `add-log-current-defun-function' for ChangeLog creation.
12937 Suggested by Tom Tromey.
12939 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
12940 (autotest-mode): Adjust.
12941 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
12942 'comment-region onto `C-c ;'.
12943 Comments are `#', not `dnl'.
12944 (autoconf-current-defun): New.
12945 (autoconf-font-lock-keywords): Recognize `m4_defun'.
12947 2001-10-08 Akim Demaille <akim@epita.fr>
12949 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
12950 * lib/m4sugar/m4sh.m4: here.
12951 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
12952 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
12953 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
12954 include handle the m4_pattern_*, no longer push the
12955 BODY diversion nor set the /bin/sh line, AS_INIT does it.
12956 * lib/autotest/general.m4 (AT_INIT): Likewise.
12957 * tests/base.at: Adjust the tests to use AS_INIT.
12958 * tests/tools.at (AT_DATA_FORBIDDEN): New.
12959 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
12962 2001-10-07 Paul Eggert <eggert@twinsun.com>
12964 * doc/autoconf.texi (config.status Invocation):
12965 CONFIG_SHELL defaults to a shell that supports LINENO if available.
12967 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
12968 shell does not support LINENO, and if CONFIG_SHELL is unset or
12969 empty, and if we can find a shell that does support LINENO,
12970 then set CONFIG_SHELL to that shell and then re-execute
12971 ourselves with CONFIG_SHELL.
12973 2001-10-05 Paul Eggert <eggert@twinsun.com>
12975 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
12976 doesn't exist. Remove *.tmp, as a .tmp file is created during the
12977 build of $(TESTSUITE).
12979 2001-10-05 Akim Demaille <akim@epita.fr>
12981 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
12982 iff we are a bareword.
12983 Reported by Raja R Harinath.
12985 2001-10-05 Akim Demaille <akim@epita.fr>
12987 * tests/m4sh.at (LINENO): New.
12988 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
12989 PATH_SEPARATOR before using it.
12990 Fix the absolute path case/esac pattern.
12991 Provide $0 as fallback for as_myself.
12992 Reported by Raja R Harinath.
12994 2001-10-05 Akim Demaille <akim@epita.fr>
12996 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
12997 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
12999 2001-10-05 Akim Demaille <akim@epita.fr>
13001 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
13002 (AS_SHELL_SANITIZE): here. Use it.
13003 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
13006 2001-10-04 Akim Demaille <akim@epita.fr>
13008 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
13009 combination of Awk and sed to replace $LINENO.
13011 2001-10-02 Paul Eggert <eggert@twinsun.com>
13013 * doc/autoconf.texi (Limitations of Builtins): You can't use
13014 "source"; it's not portable. Remove confusing and
13015 somewhat-incorrect example involving "." and "/".
13017 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
13018 compatibility with POSIX shells.
13020 2001-10-02 Akim Demaille <akim@epita.fr>
13022 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
13023 instead of exec'ing to preserve $0 and $@.
13025 2001-10-01 Akim Demaille <akim@epita.fr>
13027 * tests/testsuite (AT_INIT) <at_pass_list>: New.
13028 Don't run twice the same test.
13030 2001-10-01 Akim Demaille <akim@epita.fr>
13032 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
13033 No longer output the list of tests.
13034 <--list>: New option.
13035 <--full-help>: Remove.
13036 Complete the short/long options duality.
13037 Various small adjustments.
13039 2001-10-01 Akim Demaille <akim@epita.fr>
13041 * doc/autoconf.texi: Use @kbd for user input.
13042 Always use `$' as shell prompt.
13044 2001-09-30 Paul Eggert <eggert@twinsun.com>
13046 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
13047 Don't use nested parenthesization. This patch was originally
13048 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
13049 but somehow it didn't get incorporated then.
13050 * doc/autoconf.texi (Limitations of Usual Tools):
13051 Clarify remark about sed and nested parenthesization.
13053 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
13054 Report an error if the size cannot be determined even though
13056 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
13057 Check for `expr' arithmetic overflow, and for compilation failure,
13058 and invoke a new argument $4 if either is discovered.
13059 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
13060 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
13062 2001-09-28 Akim Demaille <akim@epita.fr>
13064 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
13065 * m4/lispdir.m4: New.
13066 * aclocal.m4, configure.ac: Adjust.
13068 2001-09-28 Akim Demaille <akim@epita.fr>
13070 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
13072 (AT_INIT): More the wrapped section to where it will be expanded.
13073 Output `AT_tested' only when existing.
13074 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
13076 2001-09-27 Akim Demaille <akim@epita.fr>
13078 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
13079 generates too many bug reports.
13081 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
13082 status when executing the ACTION-IF-FALSE.
13083 * tests/base.at (AC_TRY_*): Rename as...
13084 (AC_TRY_COMMAND): this.
13085 (AC_RUN_IFELSE): New.
13086 * tests/compile.at (Extensions, C keywords)
13087 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
13088 (Broken/missing compilers, AC_PROG_CPP with warnings)
13089 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
13090 * tests/c.at (Extensions, C keywords)
13091 (Broken/missing compilers, AC_PROG_CPP with warnings)
13092 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
13093 (AC_PROG_CPP requires AC_PROG_CC): here and...
13094 * tests/fortran.at (GNU Fortran 77): there.
13095 * doc/autoconf.texi (autoconf Invocation): Fix the example:
13096 AC_TRY_RUN is about compilation, not shell commands.
13097 (Test Programs): AC_TRY_RUN works as used to be advertised.
13099 2001-09-27 Akim Demaille <akim@epita.fr>
13101 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
13103 Be sure to detect when $LINENO always returns the same value.
13104 Look for the original script, basename($0) is certainly not
13106 Pass the CLI arguments to `$as_me.lineno'.
13108 2001-09-25 Akim Demaille <akim@epita.fr>
13110 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
13111 Be sure the close and reopen the LOG fd before and after using tee
13113 <at_tests_pattern>: Adjust to the new format of at_help_all.
13115 2001-09-23 Akim Demaille <akim@epita.fr>
13117 * bin/autom4te.in (parse_args): There can be several invocations
13120 2001-09-23 Akim Demaille <akim@epita.fr>
13122 * doc/autoconf.texi (Top): Wrap in @ifnottex.
13124 2001-09-23 Akim Demaille <akim@epita.fr>
13126 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
13127 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
13128 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
13129 builddir, buildpath, top_builddir, and top_buildpath.
13130 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
13131 the current directory.
13132 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
13133 variables *before* changing the current directory.
13134 Skip nonexistent dirs.
13135 * doc/autoconf.texi (Preset Output Variables): Document these
13138 * lib/autotest/general.m4: Do not reset AT_victims.
13139 Don't compute at_srcdir nor at_top_srcdir.
13141 * tests/tools.at: Hence use top_srcdir.
13143 * tests/Makefile.am, tests/autoconf, tests/autoheader,
13144 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
13146 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
13147 * tests/wrapsh.in, tests/autoupdate.in: New.
13148 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
13149 * configure.ac: Build the position independent wrappers.
13151 * man/Makefile.am: Now that test wrappers are position
13152 independent, use them and drop dark envvar magic.
13154 2001-09-23 Akim Demaille <akim@epita.fr>
13156 * doc/autoconf.texi (Common Shell Constructs): Rename as...
13157 (Programming in M4sh): this.
13158 Promote to @section.
13160 2001-09-23 Akim Demaille <akim@epita.fr>
13162 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
13163 Pass $at_debug_args to the rerun test suite.
13164 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
13165 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
13168 2001-09-23 Akim Demaille <akim@epita.fr>
13170 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
13172 2001-09-23 Akim Demaille <akim@epita.fr>
13174 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
13177 2001-09-23 Akim Demaille <akim@epita.fr>
13179 * lib/Autom4te/General.pm (&debug): New.
13180 * bin/autom4te.in ($language): Move to...
13181 (parse_args): here.
13182 Handle --language in languages.
13183 * lib/autom4te.in (Automake-selections, Autoheader-selections)
13184 (Autoscan-selections): New.
13185 (Autoconf): Adjust.
13187 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
13189 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
13190 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
13191 to match current versions from CVS Automake.
13193 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
13195 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
13198 2001-09-22 Akim Demaille <akim@epita.fr>
13200 * lib/autoconf/autotest.m4: Create `package.m4'.
13201 * tests/Makefile.am (package.m4): Remove.
13203 2001-09-22 Akim Demaille <akim@epita.fr>
13205 Rely on `$LINENO' when possible instead of `__oline__'.
13207 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
13208 `$LINENO' support replacement when not supported.
13209 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
13210 them explicitly to be sure they are not output before this section
13211 (via m4_require). Cosmetic only.
13212 * lib/autoconf/c.m4, lib/autoconf/general.m4,
13213 * lib/autoconf/programs.m4: Replace all the occurrences of
13214 `__oline__' with `$LINENO'.
13215 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
13217 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
13219 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
13220 character (u: -> ue) in a code comment.
13221 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
13224 2001-09-21 Akim Demaille <akim@epita.fr>
13226 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
13227 Suggested by Jim Meyering.
13229 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
13231 * lib/autoconf/programs.m4: Use extensions listed in
13232 $ac_executable_extensions when looking for programs.
13234 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
13236 * lib/autoconf/general.m4: Fix a small Englisho.
13237 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
13238 setting up ac_dir_suffix and ac_top_builddir.
13239 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
13241 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
13243 * doc/autoconf.texi (File System Conventions): Clarify the use of
13245 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
13246 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
13247 be used instead of ':'.
13248 * lib/autotest/general.m4: Replace occurrences of ':' in
13249 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
13251 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
13253 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
13254 arguments. Fixed a typo.
13256 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
13258 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
13259 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
13261 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
13263 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
13264 * bin/autoupdate.in: Ditto.
13265 * bin/autoheader.in: Reworded a few comments.
13266 * bin/autoconf.in: Reworded help text for a few options.
13267 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
13268 * bin/autoscan.in, bin/autoupdate.in: Ditto.
13270 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
13272 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
13273 already have $file). Set output files to binary mode (helps avoid
13274 CR issues on DOSish systems).
13276 2001-09-19 Akim Demaille <akim@epita.fr>
13278 * lib/autotest/general.m4: Englishoes.
13279 From Tim Van Holder and Alexey Mahotkin.
13281 2001-09-18 Paul Eggert <eggert@twinsun.com>
13283 * doc/autoconf.texi (Common Shell Constructs): New node,
13284 documenting AS_DIRNAME.
13285 (Limitations of Usual Tools): Refer to it when discussing dirname.
13286 Also, update discussion of POSIX standard to reflect latest draft.
13288 * lib/autoconf/c.m4:
13289 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
13291 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
13292 Do not pass a first argument with leading '-'
13293 to expr, by parenthesizing initial integers that might be negative.
13295 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
13296 now merely checks whether it is an error to pass an argument
13299 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
13300 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
13301 whether it is a (compile-time) error to pass an argument to
13302 getpgrp. This simpler test supports the revised documentation,
13303 and is all that AC_FUNC_GETPGRP's users really need.
13305 2001-09-18 Akim Demaille <akim@epita.fr>
13307 * doc/autoconf.texi (Limitations of Make) <$<>: New.
13309 2001-09-18 Akim Demaille <akim@epita.fr>
13311 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
13313 * lib/autotest/general.m4 (AT_INIT): Adjust.
13315 2001-09-18 Paul Wagland <paul@wagland.net>
13317 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
13319 Add test for AS_BASENAME.
13320 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
13321 added test. It now correctly handles /1/2/3/, returning '3' not ''.
13322 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
13323 * tests/base.at: Fixed the expected responses. The old ones were
13325 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
13326 the documentation claims it should (and how it behaved in 2.13).
13328 2001-09-18 Akim Demaille <akim@epita.fr>
13330 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
13331 the AC_CONFIG_COMMANDS invocation.
13332 This also solves the name clash problems.
13333 Don't set the package's ID.
13334 * lib/m4sugar/Makefile.am (version.m4): Revamp.
13335 No longer to be shipped.
13336 (version.in): Remove.
13337 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
13338 * lib/autoconf/status.m4: Adjust.
13339 Use `m4_PACKAGE_STRING'.
13340 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
13341 the only optional argument is the name of the test suite.
13342 Expect `package.m4' to define the package signature.
13343 * lib/autom4te.in (Autotest): Add `package.m4?'.
13344 * tests/Makefile.am (package.m4): New.
13345 * tests/suite.at: ifnames is a victim.
13347 2001-09-18 Akim Demaille <akim@epita.fr>
13349 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
13350 AC_LIBSOURCE, AC_CONFIG_FILES.
13351 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
13352 program version string doesn't match the package's.
13353 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
13356 2001-09-17 Paul Eggert <eggert@twinsun.com>
13358 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
13359 Allow expression to return any value that can fit into unsigned long
13360 (not int, as before). Check for output errors.
13362 2001-09-17 Bruno Haible <haible@ilog.fr>
13364 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
13365 Always include <stdio.h> and <stdlib.h>. Evaluate
13366 the expression in an extra function before these includes. Call
13367 fprintf "%d" only after ensuring the argument is of type 'int'.
13368 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
13370 2001-09-17 Paul Eggert <eggert@twinsun.com>
13372 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
13373 or CFLAGS=-O5. In that case, the linker has a relaxed view of
13374 fatal errors, and AC_CHECK_LIB causes it to include libraries even
13375 when they don't exist.
13377 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
13378 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
13381 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
13382 version with the version used by fileutils 4.1, except use
13383 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
13386 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
13388 2001-09-13 Akim Demaille <akim@epita.fr>
13390 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
13392 Reported by Gerrit P. Haase.
13394 2001-09-13 Akim Demaille <akim@epita.fr>
13396 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
13397 m4_defn'ing is valid.
13399 2001-09-13 Akim Demaille <akim@epita.fr>
13401 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
13402 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
13405 2001-09-13 Akim Demaille <akim@epita.fr>
13407 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
13409 (m4_re_escape): New.
13410 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
13411 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
13412 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
13414 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
13415 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
13416 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
13417 AT_tests_all for consistency.
13419 (AT_VICTIMS): Similar to AT_KEYWORDS.
13420 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
13422 2001-09-13 Akim Demaille <akim@epita.fr>
13424 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
13426 2001-09-13 Akim Demaille <akim@epita.fr>
13428 * lib/autotest/general.m4 (AT_INIT): Create and remove
13429 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
13430 test suites can cohabit.
13432 2001-09-13 Akim Demaille <akim@epita.fr>
13434 * tests/mktests.sh: Don't output banners for empty test files.
13436 2001-09-13 Akim Demaille <akim@epita.fr>
13438 Test suites can be run independently of configure.
13440 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
13441 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
13442 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
13444 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
13446 * lib/autotest/general.m4: Use ECHO_*.
13448 2001-09-13 Akim Demaille <akim@epita.fr>
13450 * bin/ifnames.in: Rewrite in Perl.
13451 * configure.ac: Don't look for AWK.
13452 * tests/tools.at (AWK portability): Remove.
13453 (Syntax of the shell scripts): Don't check ifnames.
13454 (AT_CHECK_PERL_SYNTAX): New.
13455 (Syntax of the Perl scripts): Check ifnames.
13456 * tests/ifnames: New.
13458 2001-09-13 Akim Demaille <akim@epita.fr>
13460 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
13462 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
13463 Remove all the other keywords.
13465 2001-09-10 Akim Demaille <akim@epita.fr>
13467 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
13468 SETUP: no longer used.
13469 Support -k, --keywords.
13470 <at_help>: Be `no', `short', or `long'.
13471 <at_help_all>: New variable.
13472 (AT_KEYWORDS): New.
13473 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
13474 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
13475 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
13476 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
13477 No longer fill the HELP diversion.
13478 (AT_CLEANUP): Use them.
13479 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
13480 (m4_list_append): Remove.
13482 Spread a few keywords in the Autoconf test suite.
13484 2001-09-10 Akim Demaille <akim@epita.fr>
13486 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
13487 PATH_SEPARATOR, let M4sh compute it.
13488 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
13489 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
13491 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
13492 Simplify when the path is not a literal.
13493 (AS_UNAME): Use it to report PATH.
13494 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
13495 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
13496 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
13497 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
13498 normalize the path, and to look for victims.
13499 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
13500 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
13502 2001-09-07 Akim Demaille <akim@epita.fr>
13504 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
13505 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
13506 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
13507 related variables into `at_package_*'.
13508 * lib/autotest/general.m4 (AT_VICTIMS): New.
13509 (AT_INIT): Adjust for stand-alone/embedded test suites.
13510 (AS_MESSAGE_LOG_FD): Define and use it.
13511 * tests/suite.at (AT_VICTIMS): Use it.
13512 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
13515 2001-09-07 Akim Demaille <akim@epita.fr>
13517 Move toward possibly stand-alone test suites.
13519 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
13520 in addition, it introduces useless differences in logs.
13521 (AT_INIT): Let atconfig and atlocal be both optional.
13522 Adjust PATH computation.
13523 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
13525 2001-09-07 Akim Demaille <akim@epita.fr>
13527 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
13528 m4sugar/version.m4.
13530 2001-09-05 Akim Demaille <akim@epita.fr>
13532 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
13533 to avoid GCC warnings.
13536 2001-09-05 Akim Demaille <akim@epita.fr>
13538 * bin/autom4te.in: --language is -l, not -s.
13540 2001-09-05 Akim Demaille <akim@epita.fr>
13542 Be ready to handle filenames as stupid as `dnl.at', for if even
13543 the maintainer is dumb enough to do that...
13545 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
13546 excellence in M4 quotation: consider `__file__' is active.
13548 And BTW, when invoking m4, pass the --include in the right order:
13551 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
13554 2001-09-05 Akim Demaille <akim@epita.fr>
13556 * lib/Autom4te/XFile.pm: New lib file.
13557 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
13558 * bin/autoheader.in: Use it.
13560 2001-09-05 Akim Demaille <akim@epita.fr>
13562 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
13565 2001-09-05 Akim Demaille <akim@epita.fr>
13567 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
13568 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
13570 * bin/autoscan.in: Use `getopt' and `find_files' etc.
13571 Add -I, --include support.
13572 * doc/autoconf.texi (autoscan Invocation): Adjust.
13574 2001-09-05 Akim Demaille <akim@epita.fr>
13576 CVS GNU M4 doesn't like `undefine(undefined)'.
13578 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
13579 New, extracted from main.
13580 Use IO::File wherever possible.
13581 (input.m4): Be constant, use -I instead of hard coding $tmp.
13582 Therefore be a quoted heredoc.
13583 Don't invoke `_au_disable', since ac was not loaded, but just
13586 2001-08-31 Akim Demaille <akim@epita.fr>
13590 2001-08-31 Akim Demaille <akim@epita.fr>
13592 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
13594 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
13596 2001-08-31 Akim Demaille <akim@epita.fr>
13598 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
13599 serious problems handling heredocs in heredocs.
13600 Reported by Nicolas Joly.
13602 2001-08-31 Akim Demaille <akim@epita.fr>
13604 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
13605 (Making testsuite Scripts): Update.
13607 2001-08-31 Akim Demaille <akim@epita.fr>
13609 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
13611 2001-08-31 Akim Demaille <akim@epita.fr>
13613 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
13614 (testsuite Scripts): There is no such thing as `atconfig.in'.
13615 And actually one diagram is missing: test suite runtime.
13617 2001-08-31 Akim Demaille <akim@epita.fr>
13619 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
13622 2001-08-31 Akim Demaille <akim@epita.fr>
13624 * bin/autoupdate.in (@include): `installcheck' revealed the path
13625 to m4sugar was lacking!
13627 2001-08-31 Akim Demaille <akim@epita.fr>
13629 * man/Makefile.am (.x.1): We really have to pass
13630 autom4te_perllibdir.
13632 2001-08-31 Akim Demaille <akim@epita.fr>
13634 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
13635 debug scripts, in particular passing explicitly listed tests to
13638 2001-08-31 Akim Demaille <akim@epita.fr>
13640 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
13641 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
13642 Use directly autom4te, not autoconf.
13643 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
13645 2001-08-31 Akim Demaille <akim@epita.fr>
13647 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
13648 * bin/autoheader.in (%symbol): Strip arguments of macros.
13650 2001-08-31 Akim Demaille <akim@epita.fr>
13652 * doc/autoconf.texi: Catch up -I, --include changes.
13654 2001-08-31 Akim Demaille <akim@epita.fr>
13656 * bin/autom4te.in (&parse_args): Die on unknown languages.
13657 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
13659 Promote --include over --macrodir and other obsolete options.
13661 2001-08-31 Akim Demaille <akim@epita.fr>
13663 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
13664 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
13665 * bin/autom4te.in ($autoconf): Pass --force.
13666 `print $out' doesn't print `$_' but `$out'.
13667 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
13668 (autoheader): Pass --force since the test suite goes too fast for
13670 Adjust to the new autoheader messages.
13672 2001-08-31 Akim Demaille <akim@epita.fr>
13674 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
13675 Check the completeness of the #template.
13676 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
13677 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
13680 2001-08-31 Akim Demaille <akim@epita.fr>
13682 * lib/Autom4te/General.pm (&find_file, &update_file): New.
13683 * bin/autoupdate.in, bin/autoheader.in: Adjust.
13684 Drop AC_MACRODIR dead for real.
13685 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
13686 `autoheader: `config.hin' is created'.
13687 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
13689 2001-08-31 Akim Demaille <akim@epita.fr>
13691 * bin/autoheader.in: Rewrite in Perl.
13692 * tests/autoheader: Adjust.
13694 2001-08-31 Akim Demaille <akim@epita.fr>
13696 * bin/autoconf.in (--include, -I): New option.
13697 Map --localdir, --autoconf-dir onto it.
13698 Forward autom4te's options instead of interpreting them.
13699 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
13700 There is no such envvar since the inception of autom4te.cfg.
13701 * bin/autom4te.in (&parse_args): Uniquify `@include'.
13702 * bin/autoupdate.in: Adjust, and perform more control.
13703 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
13704 * tests/autoconf: Dittowise.
13706 2001-08-31 Akim Demaille <akim@epita.fr>
13708 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
13709 * bin/autom4te.in (&find_file): Support `FILE?' standing for
13711 Use -e, not -f, since /dev/null for instance is OK.
13712 (&parse_args): Adjust.
13713 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
13715 2001-08-31 Akim Demaille <akim@epita.fr>
13717 * configure.ac: Also find tested executables in bin.
13718 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
13719 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
13720 installed peer executables, only PATH is allowed to resolve it.
13721 Pass `autoconf_dir' via options, not via invisible envvars.
13722 * lib/Autom4te/General.pm (&find_peer): Remove.
13723 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
13724 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
13725 * man/Makefile.am: Let help2man rely on PATH instead of trying to
13726 find the executables for it.
13727 * tests/Makefile.am: Major cleanup. Too lazy to document...
13728 * tests/atlocal.in: Remove all the obscure envvar manipulations.
13730 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
13731 indeed related to running the test suite, while passing
13732 --autoconf-dir and others is related to running non installed
13733 Autoconf executables. So don't do that, leave it to...
13734 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
13735 * tests/autoscan: New.
13736 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
13737 refer to library files: rely on --language.
13739 2001-08-29 Akim Demaille <akim@epita.fr>
13741 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
13742 s/--set/--language/.
13744 2001-08-29 Akim Demaille <akim@epita.fr>
13746 * doc/autoconf.texi: Strip the @nodes.
13747 Suggested by Paul Eggert.
13748 (Initializing configure): Typo.
13750 2001-08-29 Akim Demaille <akim@epita.fr>
13752 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
13753 Suggested by Paul Eggert.
13755 2001-08-29 Akim Demaille <akim@epita.fr>
13757 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
13758 download in a tmp dir.
13760 2001-08-29 Akim Demaille <akim@epita.fr>
13762 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
13763 case insensitive OSes out there :(
13764 From Tim Van Holder.
13766 2001-08-29 Akim Demaille <akim@epita.fr>
13768 * lib/autom4te.in: New.
13769 * lib/Makefile.am (edit, autom4te.cfg): New.
13770 * bin/autom4te.in (BEGIN): Simplify.
13771 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
13772 (&load_configuration): New. Use it.
13773 (&parse_args): Support --mode, --set, and --melt.
13774 * bin/autoconf.in: Simplify and adjust.
13775 * tests/Makefile.am (AUTOMAKE): Use --set.
13776 * tests/atlocal.in: Adjust.
13777 * BUGS: distcheck and check are weak.
13779 2001-08-29 Akim Demaille <akim@epita.fr>
13781 * lib/autotest/general.m4: Use
13782 foo=`(command) 2>/dev/null`
13784 foo=`command` 2>/dev/null
13785 (at-devnull): Rename as...
13786 (AT-devnull): this.
13787 (--clean): Remove AT-* files too.
13788 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
13789 Reported by Nicolas Joly.
13791 2001-08-28 Akim Demaille <akim@epita.fr>
13793 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
13794 quotes inside single quotes.
13795 Reported by Nicolas Joly.
13797 2001-08-28 Kevin Ryde <user42@zip.com.au>
13799 * doc/autoconf.texi (Function Portability): Mention C right shifts.
13801 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
13803 * lib/autotest/general.m4: Reword some messages.
13804 (AT_INIT): Check for the `times' builtin before using it.
13805 Support test ranges as arguments to the testsuite.
13806 Have -e imply -d as the help text suggested.
13808 2001-08-27 Akim Demaille <akim@epita.fr>
13810 * Makefile.maint: Formatting changes.
13811 (do-po-update, po-update, cvs-update, update): New targets.
13814 2001-08-27 Akim Demaille <akim@epita.fr>
13816 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
13817 <at_cmd_line>: New.
13818 Pass it to debug-*.sh scripts.
13819 <AUTOTEST_PATH>: May contain absolute dir names.
13821 2001-08-27 Akim Demaille <akim@epita.fr>
13823 * lib/autotest/general.m4 (AT_INIT): Log the command line.
13824 Support `VAR=VAL' as arguments.
13825 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
13826 may be set via the command line.
13828 2001-08-27 Akim Demaille <akim@epita.fr>
13830 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
13831 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
13832 first the build dirs, then the src dirs.
13833 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
13835 2001-08-27 Akim Demaille <akim@epita.fr>
13837 * lib/autotest/general.m4 (AT_INIT): Output the definition of
13838 at_data_files earlier.
13839 (--clean, -c): New option.
13840 * tests/Makefile.am: Use this option.
13842 2001-08-27 Akim Demaille <akim@epita.fr>
13844 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
13845 `ac_top_builddir' to mimic Automake's vocabulary, which much more
13848 * doc/autoconf.texi (Configuration Actions): Document the vars
13849 available in commands.
13850 Emphasize the risks of collisions in init-cmds.
13852 2001-08-27 Akim Demaille <akim@epita.fr>
13854 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
13855 (Initializing configure): this new node.
13857 2001-08-27 Akim Demaille <akim@epita.fr>
13859 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
13861 2001-08-27 Akim Demaille <akim@epita.fr>
13863 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
13864 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
13866 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
13868 2001-08-27 Akim Demaille <akim@epita.fr>
13870 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
13872 * lib/autoconf/autoheader.m4: this new file.
13873 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
13874 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
13876 * lib/autoconf/autoupdate.m4: this new file.
13878 2001-08-27 Akim Demaille <akim@epita.fr>
13880 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
13881 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
13882 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
13884 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
13885 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
13887 2001-08-27 Akim Demaille <akim@epita.fr>
13889 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
13890 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
13891 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
13892 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
13893 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
13894 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
13895 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
13896 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
13897 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
13898 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
13899 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
13900 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
13901 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
13902 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
13903 (_AC_OUTPUT_SUBDIRS): Move to...
13904 * lib/autoconf/status.m4: this new file.
13905 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
13906 * tests/Makefile.am, tests/suite.at: Adjust.
13908 2001-08-27 Akim Demaille <akim@epita.fr>
13912 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
13913 (AMTAR): Help automake define it.
13914 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
13915 needed, 1.5 can have a macro and a target with the same name.
13916 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
13917 * m4/strip.m4: New.
13918 * m4/init.m4, m4/sanity.m4: Update.
13919 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
13920 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
13921 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
13922 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
13924 2001-08-27 Akim Demaille <akim@epita.fr>
13926 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
13928 * lib/autoconf/version.in: Remove.
13929 * lib/m4sugar/version.in: New.
13930 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
13932 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
13933 the name of the directory they're in, instead of the filename,
13934 since version.m4 is now in m4sugar, but m4_acversion must not be
13935 classified as an Autoconf macro.
13936 ($input_m4): Don't qualify the path to m4sugar.
13937 Rather, pass autoconf_dir to m4.
13938 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
13939 * tests/suite.at: Require 2.52c.
13941 2001-08-27 Akim Demaille <akim@epita.fr>
13943 testsuite.log should include config.log.
13945 * lib/autotest/autotest.m4: New.
13946 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
13947 * tests/suite.at : Adjust.
13948 (AT_INIT): Log config.log.
13949 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
13950 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
13951 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
13952 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
13953 of config.log on traps.
13954 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
13955 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
13956 for config.status'.
13957 Open the log as soon as possible.
13958 Use the same log introduction as configure's.
13960 2001-08-22 Paul Eggert <eggert@twinsun.com>
13962 * doc/autoconf.texi (Indices): New node.
13963 Move indices out of the top level menu and into this submenu.
13965 2001-08-22 Akim Demaille <akim@epita.fr>
13967 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
13969 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
13971 2001-08-22 Akim Demaille <akim@epita.fr>
13973 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
13974 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
13975 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
13976 * lib/autoconf/programs.m4: here.
13977 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
13978 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
13979 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
13980 * lib/autoconf/programs.m4: here.
13981 (_AC_DECL_YYTEXT): Rename as...
13982 (_AC_PROG_LEX_YYTEXT_DECL): this.
13983 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
13984 * tests/Makefile.am, tests/suite.am: Adjust.
13986 2001-08-22 Akim Demaille <akim@epita.fr>
13988 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
13990 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
13992 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
13993 * lib/autoconf/functions.m4: here.
13994 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
13995 (AH_CHECK_LIB): Move to...
13996 * lib/autoconf/libs: this new file.
13997 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
13998 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
13999 * lib/autoconf/libs.m4: here.
14000 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
14002 2001-08-22 Akim Demaille <akim@epita.fr>
14004 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
14005 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
14006 (AC_SITE_LOAD): Better logging of config.site.
14008 2001-08-20 Akim Demaille <akim@epita.fr>
14010 * configure.ac (AT_CONFIG): Fix the path.
14011 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
14014 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
14016 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
14017 program with AC_LANG_PROGRAM before feeding it to
14018 AC_COMPILE_IFELSE. Cleanup grep usage.
14020 2001-08-20 Akim Demaille <akim@epita.fr>
14022 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
14023 * NEWS, README, README-alpha, TODO, tests/README: This package is
14024 `Autoconf', not `autoconf' (the executable).
14026 2001-08-20 Akim Demaille <akim@epita.fr>
14028 Info readers seem to need `Index' in the index node title :(
14030 * doc/autoconf.texi: Reverse the 2001-08-15 change which
14031 simplified index node names.
14033 2001-08-20 Akim Demaille <akim@epita.fr>
14035 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
14036 arguments are not literals.
14037 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
14038 Specify the output variables, and macros defined.
14040 2001-08-20 Akim Demaille <akim@epita.fr>
14042 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
14043 (Examining Syntax) <AC_TRY_COMPILE>
14044 (Examining Libraries) <AC_TRY_LINK>
14045 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
14047 Reported by Werner Lemberg.
14049 2001-08-20 Akim Demaille <akim@epita.fr>
14051 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
14052 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
14053 Load atlocal late enough to dump it in the log.
14054 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
14056 2001-08-20 Akim Demaille <akim@epita.fr>
14058 * tests/torture.at (Configuring subdirectories): New test.
14059 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
14061 * m4/atconfig.m4: Be sure the let $[0] be expandable.
14062 (top_srcdir): Fix its computation.
14064 2001-08-20 Akim Demaille <akim@epita.fr>
14066 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
14067 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
14069 Create `atconfig' automagically.
14070 Configure atlocal.in if present.
14071 * tests/atconfig.in: Remove.
14072 * tests/atlocal.in: New.
14073 * tests/Makefile.am: Adjust.
14075 2001-08-20 Akim Demaille <akim@epita.fr>
14077 Huh!?!?! There are still some user EOF tags used, which prevents
14078 their use in AC_CONFIG_COMMANDS for instance...
14080 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
14081 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
14082 `_CSEOF', or `_ATEOF', as appropriate.
14083 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
14084 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
14086 2001-08-20 Akim Demaille <akim@epita.fr>
14088 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
14089 * tests/semantics.at, tests/tools.at, tests/torture.at:
14090 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
14092 2001-08-20 Akim Demaille <akim@epita.fr>
14094 Autotest invokes M4sh's initialization.
14096 * lib/autotest/general.m4: Adjust the diversion names.
14097 (AT_INIT): Run AS_INIT.
14098 Use the BINSH diversion to invoke /bin/sh.
14099 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
14100 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
14102 2001-08-20 Akim Demaille <akim@epita.fr>
14104 Let M4sh have its own diversions.
14106 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
14107 (_m4_divert(NOTICE)): Rename as...
14108 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
14109 (_m4_divert(HEADER-COMMENT)): these.
14110 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
14111 (_m4_divert(NOTICE)): New, for Libtool.
14112 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
14113 long ago with `_m4_divert(GROW)'.
14114 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
14116 2001-08-20 Akim Demaille <akim@epita.fr>
14118 * tests/base.at, tests/compile.at, tests/foreign.at,
14119 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
14120 * tests/semantics.at, tests/suite.at, tests/tools.at,
14121 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
14123 2001-08-20 Akim Demaille <akim@epita.fr>
14125 * bin/autom4te.in (handle_output): Handle @__@.
14127 2001-08-20 Akim Demaille <akim@epita.fr>
14129 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
14130 * lib/autotest/general.m4: Adjust the license.
14132 2001-08-17 Paul Eggert <eggert@twinsun.com>
14134 * doc/autoconf.texi (Function Portability): Mention snprintf,
14135 following up on a suggestion by Kevin Ryde.
14137 2001-08-17 Akim Demaille <akim@epita.fr>
14139 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
14140 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
14142 2001-08-17 Akim Demaille <akim@epita.fr>
14144 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
14145 `$0.log' as for projects where testsuite is in src, we'd have
14146 testsuite.log created in src.
14148 2001-08-17 Akim Demaille <akim@epita.fr>
14150 * bin/autom4te.in (&parse_args): Recognize --normalize.
14152 2001-08-17 Akim Demaille <akim@epita.fr>
14154 Start implementing the AC_CHECK_HEADER transition scheme.
14156 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
14157 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
14158 (AC_CHECK_HEADER): Use them.
14160 2001-08-17 Akim Demaille <akim@epita.fr>
14162 * doc/autoconf.texi: Work around Texinfo buglets.
14163 (Transformation Rules): One example is enough, users are expected
14164 to have their brains on. And BTW, use DESTDIR.
14165 (dvar): New macro. Use it.
14167 2001-08-17 Akim Demaille <akim@epita.fr>
14169 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
14170 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
14171 looking for ChangeLogs.
14173 2001-08-17 Akim Demaille <akim@epita.fr>
14175 * bin/autom4te.in: --normalize is a new option.
14176 * bin/autoconf.in: Use it.
14178 2001-08-17 Akim Demaille <akim@epita.fr>
14180 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
14181 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
14183 2001-08-16 Paul Eggert <eggert@twinsun.com>
14185 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
14188 2001-08-15 Akim Demaille <akim@epita.fr>
14190 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
14193 2001-08-15 Akim Demaille <akim@epita.fr>
14195 * doc/autoconf.texi (pr): New index.
14196 (prindex, findex): Use, merge, and output them.
14197 (Environment Variable Index, Output Variable Index)
14198 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
14199 (Autotest Macro Index): Rename as...
14200 (Environment Variables, Output Variables,Preprocessor Symbols)
14201 (Autoconf Macros, M4 Macros, Autotest Macros): these.
14202 * doc/install.texi: Use @command.
14203 (Environment Variables): Rename as...
14204 (Defining Variables): this.
14206 2001-08-15 Akim Demaille <akim@epita.fr>
14208 * doc/autoconf.texi (Function Portability): sprintf's return
14212 2001-08-15 Akim Demaille <akim@epita.fr>
14214 * Makefile.maint (CVS): New.
14215 (local-check): Run changelog-check. last.
14216 (alpha): Don't depend upon local-check, since...
14217 (cvs-dist): depends upon it.
14219 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
14221 * tests/Makefile.am: Use a clean-local rule to remove
14222 autom4te.cache (it's a directory, not a file.
14223 * Makefile.am: Ditto (but maintainer-clean-local).
14225 2001-08-15 Akim Demaille <akim@epita.fr>
14227 * bin/autom4te.in (@m4_warning): New.
14228 (&handle_m4): Use it.
14229 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
14230 warnings are issued at each run.
14231 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
14232 is in the src tree.
14234 2001-08-15 Akim Demaille <akim@epita.fr>
14236 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
14237 don't waste time running `autoupdate --version' works.
14238 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
14240 2001-08-13 Akim Demaille <akim@epita.fr>
14242 * doc/autoconf.texi (ma): Rename this index as...
14245 2001-08-13 Akim Demaille <akim@epita.fr>
14247 * Makefile.am: Remove dead code and dead comments.
14248 (pdf, html): New targets.
14249 * doc/autoconf.texi (Using Autotest): New chapter.
14250 * doc/Makefile.am (pdf): New targets.
14251 (CLEANFILES): Adjust.
14253 2001-08-13 Akim Demaille <akim@epita.fr>
14255 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
14256 duration of the test suite.
14258 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
14260 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
14261 endianness for comparison instead of relying on AT_CHECK_ENV.
14263 2001-08-11 Paul Eggert <eggert@twinsun.com>
14265 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
14266 to the INSTALL file.
14268 2001-08-11 Paul Eggert <eggert@twinsun.com>
14270 * NEWS: The autoconf manual now is distributed under the terms
14271 of the GNU Free Documentation License.
14273 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
14274 Add an appendix "Copying This Manual" for the FDL.
14276 * doc/fdl.texi: New file, from
14277 <http://www.gnu.org/licenses/fdl.texi>.
14279 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
14281 2001-08-10 Paul Eggert <eggert@twinsun.com>
14283 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
14284 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
14285 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
14286 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
14287 m4/sanity.m4, tests/README, tests/aclocal.m4,
14288 tests/atspecific.m4, tests/base.at, tests/compile.at,
14289 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
14290 tests/semantics.at, tests/suite.at, tests/tools.at,
14291 tests/torture.at: Add copyright notice.
14293 * tests/mktests.sh: Update year in copyright notice.
14295 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
14297 * tests/semantics.at (AC_C_BIGENDIAN): New test.
14299 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
14301 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
14302 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
14303 * doc/autoconf.texi (C Compiler Characteristics): Update
14304 documentation for AC_C_BIGENDIAN.
14306 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
14308 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
14309 magic values from an object file when cross-compiling.
14310 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
14312 2001-08-10 Akim Demaille <akim@epita.fr>
14314 * bin/autom4te.in (&handle_output): Don't use `grep' with side
14316 Suggested by Russ Allbery.
14318 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
14320 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
14321 current $prefix to the sub-configures.
14323 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
14325 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
14326 extension (needed on BeOS). Reported by Guido van Rossum.
14328 2001-08-09 Akim Demaille <akim@epita.fr>
14330 * bin/autom4te.in ($icache): Load it only if older than autom4te.
14332 2001-08-07 Akim Demaille <akim@epita.fr>
14334 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
14336 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
14337 No need to remove the files before and after the each test, before
14338 each test and at the end of the suite is enough.
14339 Display only the children `times', not the shell's.
14340 If the test failed or was skipped, at-times is not available.
14342 2001-08-07 Akim Demaille <akim@epita.fr>
14344 Always produce testsuite.log, including when there are no
14345 failures. This helps getting information on skipped tests, and
14346 duration of the tests. Err, implement the latter btw.
14348 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
14349 Dump information on the first run of each test.
14350 (AT_CLEANUP): Create `at-times' containing the duration of the
14353 2001-08-07 Akim Demaille <akim@epita.fr>
14355 The use of `dumpstat' revealed that `len' was used although it
14356 should not. m4_text_wrap was using it, but in the Autoconf world
14357 where it is legal. Hence (i) test M4sh in its own world, not
14358 Autoconf's, and (ii), ahem, fix the bug :)
14360 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
14361 does not like `' instead of [].
14362 (AT_INIT): Forbid `^_?AT_'.
14363 And don't output such tokens.
14364 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
14365 `script.as', and `autom4te.cache'.
14366 Remove `empty' and `macro' which are no longer used.
14367 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
14368 * tests/m4sugar.at: Use it.
14369 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
14371 2001-08-07 Akim Demaille <akim@epita.fr>
14373 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
14375 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
14377 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
14379 2001-08-04 Akim Demaille <akim@epita.fr>
14381 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
14382 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
14384 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
14385 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
14386 (AC_F77_MAIN): Likewise.
14388 2001-08-04 Akim Demaille <akim@epita.fr>
14390 Don't rely on M4sugar outputting the patterns in files, since we
14391 might process the output _without_ running m4, hence without these
14394 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
14395 * bin/autom4te.in (@Request::includes): Remove, unused.
14396 (@Request::source): Rename as...
14397 (@Request::input): this.
14398 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
14399 (&handle_output): Fetch the patterns from the traces.
14400 `$forbidden' and `$allowed' are constant: use m//o.
14401 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
14402 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
14404 2001-08-04 Akim Demaille <akim@epita.fr>
14406 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
14407 autoconf', i.e., in addition to caching traces, cache the output.
14409 * bin/autom4te.in (Request::cache): Rename as...
14410 (Request::id): this.
14411 ($cache, $icache, $tcache, $ocache): New.
14412 (&handle_m4): Save M4 output in the cache instead of $tmp.
14413 (&handle_output): Adjust.
14414 (&up_to_date_p): Check that the output cache is up to date too.
14415 (top level): Run `&handle_m4' iff force or the cache is invalid.
14416 Run `&handle_output' if the output cache is more recent.
14418 2001-08-04 Akim Demaille <akim@epita.fr>
14420 * bin/autom4te.in ($force): New.
14421 (&parse_args, &print_usage): -f, --force is a new option.
14422 (&handle_output): CPP directives might have spaces after `#'.
14423 (&parse_args): The first file only can be frozen.
14425 2001-08-04 Akim Demaille <akim@epita.fr>
14427 Don't let autom4te compute the `include' traces several times:
14428 first check that the trace cache file is up to date, and then
14429 compare its timestamp with that of the output.
14431 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
14432 the preamble. Don't require 5.005 as Autom4te::General does it,
14433 and better yet (use `use', not `require'!).
14434 * lib/Autom4te/Struct.pm: Rename the last occurrences of
14435 Class::Struct as Autom4te::Struct.
14436 * lib/Autom4te/General.pm (File::stat): Use it.
14437 (&mtime): New, export it.
14438 * bin/autom4te.in: Use it.
14439 Declare `$req' is invalid if it is outdated.
14440 Don't declare it valid before saving it if something went wrong.
14442 2001-08-04 Akim Demaille <akim@epita.fr>
14444 Autom4te shall not encode Autoconf data, and preselecting traces
14445 must be proposed to the users.
14447 * bin/autom4te.in (@required_trace): Remove.
14449 (&parse_args, &print_usage): -p, --preselect is a new option.
14450 (&up_to_date_p): Adjust.
14451 * bin/autoconf.in: Preselect some Autoconf macros.
14453 2001-08-04 Akim Demaille <akim@epita.fr>
14455 * tests/tools.at (autoconf --trace: user macros): Check traces on
14456 macros invoked without arguments, and macros invoked with multiple
14459 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
14461 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
14464 2001-08-03 Akim Demaille <akim@epita.fr>
14466 * bin/autoconf.in ($@): Work around the usual sh bug.
14469 2001-08-03 Akim Demaille <akim@epita.fr>
14471 Clean up the handling of the M4 builtins tracing exception.
14473 * bin/autom4te.in (Request::request): Don't complete M4 builtins
14475 (@m4_builtins): Rename as...
14476 (@m4_builtin): this.
14477 (%m4_builtin_alternate_name): New.
14478 (&parse_args): Complete the trace requests with alternate names.
14479 (&handle_traces): Hence no longer do it here.
14480 (&trace_requests): Remove, unused.
14482 2001-08-03 Akim Demaille <akim@epita.fr>
14484 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
14485 m4_if, and m4_wrap.
14487 2001-08-03 Akim Demaille <akim@epita.fr>
14489 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
14490 (m4_divert_pop): Dump the whole diversion stack when a diversion
14492 * bin/autom4te.in (&handle_output): Remember of the first
14493 occurrence of a possibly undefined macro, not the last.
14494 Complain about the possibly undefined macros in the same order as
14495 the appear in the output.
14496 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
14497 * tests/tools.at (autoconf: forbidden tokens, basic)
14498 (autoconf: forbidden tokens, exceptions): No longer sort
14499 autoconf's stderr, as it is now deterministic.
14500 Check that `dnl' is caught.
14502 2001-08-01 Akim Demaille <akim@epita.fr>
14504 * configure.ac: Bump to 2.52c.
14506 2001-08-01 Akim Demaille <akim@epita.fr>
14510 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
14512 2001-08-01 Akim Demaille <akim@epita.fr>
14516 2001-08-01 Akim Demaille <akim@epita.fr>
14518 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
14521 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
14522 `END', as `Autom4te::General::END' will be triggered.
14523 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
14524 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
14525 system to run `mv', `rm', and `cmp'.
14527 2001-08-01 Akim Demaille <akim@epita.fr>
14529 * lib/Autom4te/General.pm (&unique): New.
14530 * bin/autoscan.in (&output): Use it to issue trace requests once.
14532 2001-08-01 Akim Demaille <akim@epita.fr>
14534 * lib/Autom4te/General.pm: New.
14535 * bin/autom4te.in (Autom4te::General): Use it.
14536 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
14537 (&find_configure_ac, &find_slave): Remove.
14538 * bin/autoscan.in: Likewise.
14539 * bin/autoupdate.in: Likewise.
14541 2001-08-01 Akim Demaille <akim@epita.fr>
14543 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
14544 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
14545 * bin: here, new directory.
14546 * lib/Autoconf: Rename as...
14547 * lib/Autom4te: this, to please case insensitive junkie OSes.
14549 2001-08-01 Akim Demaille <akim@epita.fr>
14551 * autom4te.in ($m4): Handle the --nesting-limit.
14552 * autoconf.in (M4): Remove.
14554 2001-08-01 Akim Demaille <akim@epita.fr>
14556 * autoconf.in ($AWK): Remove, no longer used.
14557 * test/tools.at: Use AT_CHECK_AUTOCONF.
14558 (AWK portability): Remove, for autoconf no longer uses AWK.
14559 (Syntax of the Perl scripts): New.
14560 * configure.ac: autoconf no longer needs an AWK with a good
14562 Use a static test on AC_PACKAGE_VERSION.
14563 * autom4te.in (&up_to_date_p): Output depends on the arguments.
14564 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
14565 * tests/atconfig.in (PERL): New.
14567 2001-08-01 Akim Demaille <akim@epita.fr>
14569 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
14570 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
14571 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
14572 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
14573 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
14574 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
14575 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
14576 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
14577 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
14578 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
14579 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
14580 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
14581 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
14582 * lib/autoconf/c.m4: here, new file.
14584 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
14585 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
14586 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
14587 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
14588 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
14589 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
14590 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
14591 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
14592 (AC_F77_FUNC): Move to...
14593 * lib/autoconf/fortran.m4: here, new file.
14595 2001-08-01 Akim Demaille <akim@epita.fr>
14597 * acfunctions.m4: Rename as...
14598 * lib/autoconf/functions.m4: this.
14599 * acgeneral.m4: Rename as...
14600 * lib/autoconf/general.m4: this.
14601 * acheaders.m4: Rename as...
14602 * lib/autoconf/headers.m4: this.
14603 * aclang.m4: Rename as...
14604 * lib/autoconf/lang.m4: this.
14605 * acoldnames.m4: Rename as...
14606 * lib/autoconf/oldnames.m4: this.
14607 * acspecific.m4: Rename as...
14608 * lib/autoconf/specific.m4: this.
14609 * actypes.m4: Rename as...
14610 * lib/autoconf/types.m4: this.
14611 * autoconf.m4: Rename as...
14612 * lib/autoconf/autoconf.m4: this.
14614 * m4sugar.m4: Rename as...
14615 * lib/m4sugar/m4sugar.m4: this.
14616 * m4sh.m4: Rename as...
14617 * lib/m4sugar/m4sh.m4: this.
14619 * tests/atgeneral.m4: Rename as...
14620 * lib/autotest/general.m4: this.
14622 * acfunctions: Rename as...
14623 * lib/autoscan/functions: this.
14624 * acheaders: Rename as...
14625 * lib/autoscan/headers: this.
14626 * acidentifiers: Rename as...
14627 * lib/autoscan/identifiers: this.
14628 * aclibraries: Rename as...
14629 * lib/autoscan/libraries: this.
14630 * acmakevars: Rename as...
14631 * lib/autoscan/makevars: this.
14632 * acprograms: Rename as...
14633 * lib/autoscan/programs: this.
14635 2001-08-01 Akim Demaille <akim@epita.fr>
14637 * doc/autoconf.texi: Moving/deleting open files is not portable.
14638 Portability issues for `.' (source), and more information about sed.
14640 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
14642 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
14643 which has a special meaning and is not a reference to libibmil.a.
14644 Reported by Matteo Frigo.
14646 2001-07-25 Pavel Roskin <proski@gnu.org>
14648 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
14651 2001-07-25 Akim Demaille <akim@epita.fr>
14653 * autoconf.in: Try to define the variables before using them.
14654 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
14655 instead of `$perllibdir'.
14656 * tests/atconfig.in ($autom4te_perllibdir): Export it.
14658 2001-07-25 Akim Demaille <akim@epita.fr>
14660 * autoconf.in (ac_LF_and_DOT): Remove, unused.
14662 2001-07-24 Akim Demaille <akim@epita.fr>
14664 Let autoconf use autom4te for traces.
14666 * autoconf.in ($task, task trace): Remove, merely pass --trace to
14668 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
14669 (Because I found no way for autom4te to accept `-').
14670 * autom4te.in (&Request::request): Beware of M4 builtins.
14671 (END): Don't try to remove the content of an empty dir.
14672 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
14673 (&handle_output): Set a default value to `$forbidden'.
14674 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
14675 ($autoconf): Pass --debug and --verbose.
14676 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
14679 2001-07-24 Akim Demaille <akim@epita.fr>
14681 Let autoconf use autom4te to create configure.
14683 * autoconf.in ($automate): New var.
14684 (task script): Use autom4te.
14685 * autom4te.in (File::Spec): Use it.
14687 (&parse_args): --warning is -W, not -w.
14688 Find the top level files.
14689 (&handle_m4): Pass the warnings flags.
14690 Don't report verbosely m4's failures, unless requested.
14691 (&handle_output): Don't complain for forbidden tokens in comments.
14692 Be sure to report all the forbidden tokens within a single line.
14693 (&trace_format_to_m4): Preserve `$_'.
14694 (&handle_traces): Sort the output macros.
14695 (&up_to_date_p): Find the files before trying to get its time stamp.
14697 2001-07-24 Akim Demaille <akim@epita.fr>
14699 * Makefile.am: Ship, build and install Autom4te.
14700 (SUBDIRS): Add lib.
14701 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
14702 * configure.in: Require Perl.
14703 * man/autom4te.in: New.
14705 2001-07-19 Paul Eggert <eggert@twinsun.com>
14707 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
14708 example, rather than (exit 1); exit (which isn't portable).
14710 2001-07-18 Akim Demaille <akim@epita.fr>
14714 2001-07-18 Akim Demaille <akim@epita.fr>
14716 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
14717 was run, while they are needed also when it is expanded.
14718 Reported by Nicolas Joly.
14720 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
14721 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
14722 AC_F77_DUMMY_MAIN being expanded.
14724 2001-07-18 Akim Demaille <akim@epita.fr>
14726 * configure.in: Bump to 2.51a.
14728 2001-07-17 Akim Demaille <akim@epita.fr>
14732 2001-07-17 Akim Demaille <akim@epita.fr>
14734 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
14735 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
14737 2001-07-17 Akim Demaille <akim@epita.fr>
14739 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
14740 used. Well, then use the prototypes when you can, and runtime as
14742 Reported by Artur Frysiak
14744 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
14745 (AC_FUNC_GETPGRP): Use it.
14746 First try to compile with 0-ary or 1-ary calls.
14748 2001-07-17 Akim Demaille <akim@epita.fr>
14750 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
14754 2001-07-17 Akim Demaille <akim@epita.fr>
14756 * Makefile.maint: Sync. with cppi 1.10.
14758 2001-07-17 Akim Demaille <akim@epita.fr>
14760 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
14761 AC_F77_DUMMY_MAIN has been run.
14762 From Pavel Roskin and Steven G. Johnson.
14764 2001-07-17 Akim Demaille <akim@epita.fr>
14766 * configure.in: Rename as...
14767 * configure.ac: this.
14769 2001-07-17 Akim Demaille <akim@epita.fr>
14771 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
14774 * Makefile.maint (release-archive-dir): Rename as...
14775 (release_archive_dir): this, so that it can be specialized in
14778 2001-07-14 Akim Demaille <akim@epita.fr>
14780 * configure.in: Bump to 2.50d.
14782 2001-07-14 Akim Demaille <akim@epita.fr>
14785 * Makefile.maint (alpha): Typo.
14787 2001-07-14 Akim Demaille <akim@epita.fr>
14789 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
14791 2001-07-14 Akim Demaille <akim@epita.fr>
14793 * config/config.guess, config/config.sub, config/texinfo.tex
14794 * doc/standards.texi, doc/make-stds.texi: Update.
14796 2001-07-14 Akim Demaille <akim@epita.fr>
14798 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
14800 2001-07-14 Akim Demaille <akim@epita.fr>
14802 * Makefile.maint (maintainer-check): Rename as...
14803 (maintainer-distcheck): this.
14804 (changelog-check, static-check): New.
14807 2001-07-14 Kevin Ryde <user42@zip.com.au>
14809 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
14810 for CXX is g++, not gcc.
14812 2001-07-14 Akim Demaille <akim@epita.fr>
14814 * doc/autoconf.texi (Files): New subsection.
14816 2001-07-14 Akim Demaille <akim@epita.fr>
14818 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
14820 (Generic Compiler Characteristics): this.
14821 (C++ Compiler): New subsection.
14823 2001-07-14 Akim Demaille <akim@epita.fr>
14825 * autoscan.in: Use IO::File.
14826 Adjust all the routines to use it.
14827 ($log): New file (autoscan.log).
14828 (output): Dump detailed logs into $log, and a shortened version to
14830 (&scan_makefile): Refine the regexp catching tokens in the code.
14831 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
14832 and the `configure.ac' checking feature.
14834 2001-07-12 Akim Demaille <akim@epita.fr>
14836 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
14837 Reported by Michael Elizabeth Chastain.
14839 * autoconf.in: Refuse such AWK.
14840 * configure.in: Likewise.
14841 * Makefile.am (acversion.m4): Do not use move-if-change this file
14843 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
14845 2001-07-10 Jens Petersen <petersen@redhat.com>
14847 * autoscan.in (&scan_makefile): Improve programs regexp to parse
14848 things like "g++", "file.c" and "some-conf" as tokens.
14849 (&scan_file): Match C++ files extensions.
14850 If the filename extension is C++ then ask for c++.
14852 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
14854 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
14855 AC_TRY_LINK_FUNC, to check whether defining a dummy
14856 main-like routine is needed for linking with F77 libs.
14858 2001-07-05 Pavel Roskin <proski@gnu.org>
14860 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
14862 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
14865 2001-07-05 Akim Demaille <akim@epita.fr>
14867 * Makefile.am (move_if_change): New. Use it instead of `mv'.
14868 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
14870 Reported by Nicolas Joly.
14872 2001-07-04 Akim Demaille <akim@epita.fr>
14874 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
14876 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
14877 warnings from compilers.
14878 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
14879 for all the compilers, not only GNU. Hence move from here...
14880 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
14882 2001-07-04 Akim Demaille <akim@epita.fr>
14884 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
14885 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
14888 2001-07-04 Akim Demaille <akim@epita.fr>
14890 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
14891 the ``strings.h'' change claimed below.
14893 2001-07-04 Akim Demaille <akim@epita.fr>
14895 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
14897 2001-07-04 Akim Demaille <akim@epita.fr>
14899 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14900 strings.h if usable with string.h.
14901 Suggested by Paul Eggert.
14903 2001-07-04 Akim Demaille <akim@epita.fr>
14905 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
14906 From Jens Petersen.
14908 2001-07-03 Akim Demaille <akim@epita.fr>
14910 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
14913 2001-07-03 Akim Demaille <akim@epita.fr>
14915 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
14916 compiler, not the preprocessor.
14917 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
14918 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
14920 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
14921 earlier if there are.
14923 2001-07-03 Akim Demaille <akim@epita.fr>
14925 * autoscan.in ($initfile): Remove.
14926 (&find_file): Rename as...
14927 (&scan_file): this.
14928 Immediately scan the current file, instead of gathering them, and
14929 later having them handled by &scan_files.
14930 (&scan_files): Merely invoke Find::File.
14933 2001-07-02 Akim Demaille <akim@epita.fr>
14935 * autoscan.in: Formatting changes, matching the invocation order.
14936 (File::Find): Use it instead of Perl 4's `find.pl'.
14937 (&wanted): Rename as...
14938 (&find_file): this.
14940 2001-07-01 Pavel Roskin <proski@gnu.org>
14942 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
14943 break in the argument to AC_TRY_LINK_FUNC.
14944 (AC_F77_MAIN): Remove conftest* after using break in the
14945 argument to AC_TRY_LINK.
14947 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
14949 Add alternate 'main' routine detection for linking C/C++ with Fortran,
14950 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
14952 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
14953 dummy alternate main is required even if the user provides her own
14955 (AC_F77_MAIN): New macro to detect whether it is possible to
14956 provide an alternate 'main' function name, using the 'main' from
14957 the Fortran libraries.
14958 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
14959 cross-language link tests can be performed successfully.
14960 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
14961 after $LIBS, for consistency; this should be the general rule since
14962 the user may want to link to Fortran libraries that require $FLIBS.
14963 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
14965 2001-06-29 Pavel Roskin <proski@gnu.org>
14967 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
14968 at-stdout and at-stderr instead of removing the newline
14969 from the echo output, which is not guaranteed to work.
14971 2001-06-28 Jens Petersen <petersen@redhat.com>
14973 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
14974 confdefs.h when non-zero.
14976 2001-06-28 Akim Demaille <akim@epita.fr>
14978 * configure.in: Bump to 2.50c.
14980 2001-06-26 Akim Demaille <akim@epita.fr>
14984 2001-06-26 Akim Demaille <akim@epita.fr>
14988 2001-06-25 Pavel Roskin <proski@gnu.org>
14990 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
14991 argument, AUTOCONF-FLAGS.
14992 * tests/mktests.sh (update_exclude_list): Add
14993 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
14994 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
14995 AC_FUNC_WAIT3 with "-W no-obsolete".
14997 2001-06-25 Akim Demaille <akim@epita.fr>
14999 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
15001 2001-06-25 Akim Demaille <akim@epita.fr>
15003 * autoscan.in (%macro): Now maps from word to list of macros.
15004 (&init_tables): Die when a word which is already handled by
15005 explicit macros is mapped to the default macro.
15006 (&print_unique): Remove, inlined in...
15007 (&output_kind): here.
15008 (File::Basename): Use it.
15009 (&output): Sort the CONFIG_FILES.
15010 * acheaders: Normalize.
15011 * acfunctions: Likewise.
15013 2001-06-25 Akim Demaille <akim@epita.fr>
15015 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
15016 characteristics in the logs.
15017 Suggested by Mo DeJong.
15019 2001-06-24 Akim Demaille <akim@epita.fr>
15021 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
15022 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
15023 * doc/autoconf.texi (Autoconf 2.13): New section.
15025 2001-06-24 Akim Demaille <akim@epita.fr>
15027 * autoconf.in (Task traces): Separate the error messages from the
15028 traces to improve robustness.
15030 2001-06-23 Akim Demaille <akim@epita.fr>
15032 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
15033 three as failures are unlikely, and speed matters.
15035 2001-06-23 Akim Demaille <akim@epita.fr>
15037 * doc/autoconf.texi (Redefined M4 Macros): New.
15039 2001-06-23 Akim Demaille <akim@epita.fr>
15041 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
15042 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
15045 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
15047 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
15048 config.status targets to after the evaluation of the INIT-CMDS.
15049 Double quote config.status targets (used to be single quoted).
15051 2001-06-23 Akim Demaille <akim@epita.fr>
15053 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
15054 Check the content of the created file.
15055 Check the ./config.status command line invocation.
15057 2001-06-23 Akim Demaille <akim@epita.fr>
15059 * tests/foreign.at (Libtool): Reject prehistoric versions.
15061 2001-06-23 Akim Demaille <akim@epita.fr>
15063 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
15064 preexisting files matching a.*.
15066 2001-06-23 Akim Demaille <akim@epita.fr>
15068 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
15070 * doc/autoconf.texi (AC_ARG_VAR): Update.
15072 2001-06-21 Akim Demaille <akim@epita.fr>
15074 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
15075 precious variables have changed.
15076 * tests/torture.at (AC_ARG_VAR): Adjust.
15078 2001-06-21 Akim Demaille <akim@epita.fr>
15080 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
15081 but some sed choke on multiple `;', and other tools (e.g.,
15082 Automake), include the separator themselves.
15084 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
15086 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
15088 * doc/autoconf.texi (Functions Portability): Rename as...
15089 (Function Portability): this.
15090 (Function Portability): Document potential problems with unlink().
15092 2001-06-19 Paul Eggert <eggert@twinsun.com>
15094 * NEWS, doc/autoconf.texi: Document quadrigraphs.
15096 2001-06-18 Akim Demaille <akim@epita.fr>
15098 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
15100 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
15102 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
15103 (_AC_FUNC_VFORK): this.
15104 Remove AC_DEFINEs and don't guess cross-compilation values.
15105 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
15106 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
15107 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
15108 vfork doesn't work.
15109 Guess values if cross-compiling, but warn.
15110 * acfunctions: Add AC_FUNC_FORK.
15111 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
15112 and vfork appropriately.
15114 2001-06-18 Akim Demaille <akim@epita.fr>
15116 * doc/autoconf.texi (Functions Portability): New section.
15118 2001-06-18 Akim Demaille <akim@epita.fr>
15120 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
15122 Suggested by Andreas Schwab.
15124 2001-06-18 Akim Demaille <akim@epita.fr>
15126 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
15127 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
15128 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
15129 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
15130 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
15131 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
15132 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
15135 2001-06-18 Akim Demaille <akim@epita.fr>
15137 * doc/autoconf.texi (ms): New index.
15138 (Macro Index): Rename as...
15139 (Autoconf Macro Index): this.
15140 (M4 Macro Index): New appendix.
15141 (Programming in M4): New chapter.
15142 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
15143 (Quoting): Rename as...
15144 (M$ Quotation): this.
15145 Be part of `Programming in M4).
15147 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
15149 * tests/torture.at (AC_ARG_VAR): Set variables and export them
15150 in separate statements for compatibility with Tru64 v5.1.
15152 2001-06-17 Akim Demaille <akim@epita.fr>
15154 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
15155 current values of the precious variables, not the previously
15157 Pass precious variables which are set to config.status.
15158 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
15159 * tests/torture.at (AC_ARG_VAR): New.
15161 2001-06-15 Paul Eggert <eggert@twinsun.com>
15163 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
15164 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
15165 and explain why and how to replace them.
15166 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
15167 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
15169 2001-06-15 Akim Demaille <akim@epita.fr>
15171 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
15172 Reported by Bruno Haible.
15174 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
15175 (_AC_ARG_VAR_PRECIOUS): to here.
15177 2001-06-15 Pavel Roskin <proski@gnu.org>
15179 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
15180 an unused pointer use cast to this type and `if' statement to
15181 avoid warnings from the compiler.
15182 (AC_HEADER_TIME): Likewise.
15183 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
15184 in `if' statement to avoid warnings from the compiler. Declare
15185 ac_aggr static to avoid the need to initialize it.
15187 2001-06-14 Akim Demaille <akim@epita.fr>
15189 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
15192 2001-06-13 Akim Demaille <akim@epita.fr>
15194 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
15195 Suggested by Alexander Mai.
15197 2001-06-13 Akim Demaille <akim@epita.fr>
15199 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
15200 sys/types.h and sys/stat.h, and check for them.
15202 2001-06-13 Akim Demaille <akim@epita.fr>
15204 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
15207 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
15209 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
15210 succeeds and only try adding libdnet upon a failure.
15212 2001-06-12 Akim Demaille <akim@epita.fr>
15214 * autoscan.in (&output_kind): Output the comment only if it exists.
15215 (%kind_comment): Add entry for `programs'.
15216 (&output_programs): Use &output_kind.
15217 (&output_functions, &output_identifiers, &output_headers)
15218 (&output_programs): Inline, and remove.
15220 2001-06-12 Akim Demaille <akim@epita.fr>
15222 * autoscan.in (%kind_comment): New.
15223 (output_kind): New.
15224 (output_functions, output_identifiers, output_headers): Use it.
15226 2001-06-12 Akim Demaille <akim@epita.fr>
15228 * autoscan.in (&print_unique): Take `$kind' and `$word' as
15229 arguments, to factor indirections into `%macro' and `%used'.
15230 (%generic_macro): Fix a typo.
15232 2001-06-12 Akim Demaille <akim@epita.fr>
15234 * aclibraries: New.
15235 * autoscan.in (@kinds): Add `libraries'.
15236 Use `@kinds' instead of hard coded lists.
15237 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
15238 Remove, replaced by...
15241 2001-06-12 Akim Demaille <akim@epita.fr>
15243 * autoscan.in (%functions_macros %headers_macros)
15244 (%identifiers_macros %programs_macros %makevars_macros): Remove,
15248 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
15250 * aclang.m4 (AC_NO_EXECUTABLES): Override
15251 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
15253 2001-06-11 Akim Demaille <akim@epita.fr>
15255 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
15257 Reported by Andreas Schwab.
15259 2001-06-11 Akim Demaille <akim@epita.fr>
15261 * Makefile.am, Makefile.maint: Typos.
15263 2001-06-09 Akim Demaille <akim@epita.fr>
15265 * doc/autoconf.texi (Here-Documents): New section, gathering
15266 documentation about here-documents.
15267 Use `href', not `uref', and other changes.
15269 2001-06-09 Akim Demaille <akim@epita.fr>
15271 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
15274 2001-06-09 Akim Demaille <akim@epita.fr>
15276 * doc/autoconf.texi (Limitations of Builtins): Complete the
15277 description of the here-docs penalties with Alexandre Oliva's
15280 2001-06-01 Paul Eggert <eggert@twinsun.com>
15282 * doc/autoconf.texi: Talk about here documents and speedups.
15283 Do not use "echo" on arbitrary strings.
15284 Spell "here-documents" consistently with the standard.
15286 2001-06-09 Akim Demaille <akim@epita.fr>
15288 * doc/autoconf.texi (Concept Index): Introduce it.
15289 Regenerate the menus.
15291 2001-06-09 Akim Demaille <akim@epita.fr>
15293 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
15294 * config/prev-version.txt: New.
15295 * config/move-if-change: New, for GNU libc.
15297 2001-06-06 Pavel Roskin <proski@gnu.org>
15299 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
15301 2001-06-06 Akim Demaille <akim@epita.fr>
15303 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
15304 properly when $1 is not a literal.
15305 Fixes PR Autoconf/187, reported by Bram Moolenaar.
15307 2001-06-06 Akim Demaille <akim@epita.fr>
15309 Invoking AC_COPYRIGHT before AC_INIT fails.
15311 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
15312 * acgeneral.m4 (_m4_divert(VERSION_FSF))
15313 (_m4_divert(VERSION_USER)): New.
15314 (AC_COPYRIGHT): $2 is the diversion to use.
15315 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
15316 (AC_INIT): Remove dead comments as now it's commutative.
15318 2001-06-06 Akim Demaille <akim@epita.fr>
15320 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
15323 2001-06-05 Akim Demaille <akim@epita.fr>
15325 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
15327 `*dir' variables cannot be NONE.
15328 Reported by Mark Kettenis.
15330 2001-06-05 Paul Eggert <eggert@twinsun.com>
15332 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
15334 2001-06-04 Akim Demaille <akim@epita.fr>
15336 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
15337 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
15338 (AC_TR_SH): Move as...
15339 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
15340 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
15342 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
15343 (_AS_TR_SH_PREPARE): New.
15344 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
15345 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
15347 2001-06-02 Akim Demaille <akim@epita.fr>
15349 * Makefile.am (.m4.m4f): Pass the options first.
15350 Fixes PR autoconf/182.
15352 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
15354 GNU getopt, when POSIXLY_CORRECT does not permute options and
15355 arguments. So pass the options first.
15356 Fixes PR autoconf/184.
15358 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
15359 (run_m4): Remove files.
15361 Update remainder of script to use them.
15362 (for warning in): Do not use a literal comma as it will not be
15365 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
15367 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
15368 Fortran compilers to check.
15369 (_AC_PROG_F77_V): Add '-###' as a possible option to print
15370 information on library and object files.
15371 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
15374 2001-06-02 Akim Demaille <akim@epita.fr>
15376 * autom4te.in (Request::@request): Declare with `vars', not `my',
15377 as it prevents updates via `do FILENAME'.
15379 2001-06-02 Akim Demaille <akim@epita.fr>
15381 * configure.in (standards_texi): Remove, dead code.
15383 2001-06-02 Akim Demaille <akim@epita.fr>
15385 * autom4te.in: New.
15387 2001-06-02 Pavel Roskin <proski@gnu.org>
15389 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
15390 for signals other than 0 - exit with code 1.
15391 * m4sh.m4 (AS_TMPDIR): Likewise.
15392 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
15393 * autoheader.in: Likewise.
15394 * autoreconf.in: Likewise.
15395 * tests/torture.at (Signal handling): New test for the above.
15397 2001-06-01 Akim Demaille <akim@epita.fr>
15399 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
15402 2001-05-31 Akim Demaille <akim@epita.fr>
15404 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
15405 Add copyright and comments.
15406 * acheaders: Add stdint.h.
15407 Suggested by Paul Eggert.
15409 2001-05-31 Akim Demaille <akim@epita.fr>
15411 * atgeneral.m4 (AT_INIT): Use $SHELL.
15412 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
15414 2001-05-31 Akim Demaille <akim@epita.fr>
15416 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
15418 From Paul Eggert and Lars Hecking.
15420 2001-05-31 Akim Demaille <akim@epita.fr>
15422 * tests/base.at: Adjust line numbers in error messages.
15424 2001-05-31 Akim Demaille <akim@epita.fr>
15426 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
15427 to emit the bangshe line.
15428 Reported by David Carter.
15430 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
15432 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
15433 Fortran (95) compilers to check.
15435 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
15437 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
15440 2001-05-23 Pavel Roskin <proski@gnu.org>
15442 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
15443 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
15444 (AC_PROG_CXXCPP): Likewise.
15446 2001-05-22 Akim Demaille <akim@epita.fr>
15448 * config: New directory.
15449 * configure.in: AC_CONFIG_AUX_DIR it.
15450 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
15452 2001-05-22 Akim Demaille <akim@epita.fr>
15454 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
15455 * autoupdate.in: Specify the Emacs mode.
15456 * acversion.m4.in: Rename as...
15457 * acversion.m4: this.
15458 * tests/Makefile.am (CLEANFILES): More garbage.
15460 2001-05-22 Akim Demaille <akim@epita.fr>
15462 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
15464 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
15467 2001-05-21 Akim Demaille <akim@epita.fr>
15469 * configure.in: Bump to 2.50a.
15474 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
15475 Software Foundation, Inc.
15477 Copying and distribution of this file, with or without
15478 modification, are permitted provided the copyright notice and this
15479 notice are preserved.