1 2007-07-03 Paul Eggert <eggert@cs.ucla.edu>
3 * COPYING: Update to GPLv3. All uses changed.
5 2007-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6 and Paul Eggert <eggert@cs.ucla.edu>
8 * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
11 2007-06-17 Noah Misch <noah@cs.caltech.edu>
13 * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
14 * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
15 `srcdir' as subdirectory of `builddir'.
17 2007-06-13 Noah Misch <noah@cs.caltech.edu>
19 * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
20 * tests/autotest.at (srcdir propagation): New test.
22 Reported by Mike Frysinger.
24 2007-06-13 Paul Eggert <eggert@cs.ucla.edu>
26 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
27 Problem reported by Fred Kreek in
28 <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
29 * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
30 (Macro Names, Defining Directories): Don't mention PATH as a name
31 for a fully qualified file name, as this usage violates the GNU
32 coding standards and we shouldn't recommend it.
34 * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
35 string and then assume shell builtins like "test" will work.
37 2007-06-12 Noah Misch <noah@cs.caltech.edu>
39 * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
40 not a valid shell variable name.
41 * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
42 * tests/torture.at (AC_SUBST: variable name validation): New test.
43 Reported by Andreas Schwab.
45 2007-06-04 Noah Misch <noah@cs.caltech.edu>
47 * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
48 works with both C and C++.
50 2007-06-03 Noah Misch <noah@cs.caltech.edu>,
51 Bruno Haible <bruno@clisp.org>
53 * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
56 2007-05-31 Paul Eggert <eggert@cs.ucla.edu>
58 * doc/autoconf.texi (Particular Types): Give example of use for
61 2007-05-29 Stepan Kasal <kasal@ucw.cz>
63 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
65 2007-05-28 Paul Eggert <eggert@cs.ucla.edu>
67 * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
68 define HAVE_INT8_T, and likewise for similar macros.
69 Problem reported by Patrick Welche in
70 <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
72 2007-05-25 Noah Misch <noah@cs.caltech.edu>
74 * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
76 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
78 * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
79 choice, since that's what we do with --enable-largefile etc.
80 Redo indenting and assignments to simplify things a bit, and make
81 the parens work with Emacs.
83 * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
84 in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
87 2007-05-21 Noah Misch <noah@cs.caltech.edu>
89 * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
90 * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
92 2007-05-21 Bruno Haible <bruno@clisp.org>
94 * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
95 * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
96 * doc/autoconf.texi (Generic Compiler Characteristics): Move
97 renamed AC_OPENMP documentation here, from "C compiler".
98 Mention C++ and Fortran.
100 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
102 * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
104 2007-05-21 Bruno Haible <bruno@clisp.org>
106 * NEWS: Mention AC_C_OPENMP.
107 * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
108 * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
110 2007-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
112 * bin/autom4te.in: Fix typos.
114 2007-05-16 Noah Misch <noah@cs.caltech.edu>
116 * bin/autoconf.as: Handle `-' just like other input files.
117 * bin/autom4te.in (parse_args): Pass `-' through.
118 (handle_output): Skip the forbidden token search if we read from stdin.
119 (up_to_date): Always treat stdin as out of date.
120 * tests/tools.at (autoconf: input from stdin): New test.
121 (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
123 2007-05-16 Stepan Kasal <kasal@ucw.cz>
125 * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
126 parameters for AT_CLEANUP.
127 * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
129 2007-05-14 Paul Eggert <eggert@cs.ucla.edu>
131 * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
132 * doc/autoconf.texi (C Compiler): Likewise.
134 2007-05-14 Noah Misch <noah@cs.caltech.edu>
136 * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
138 2007-05-09 Stepan Kasal <kasal@ucw.cz>
140 * doc/autoconf.texi: Direntry for "autoconf Invocation"
141 renamed to "autoconf-invocation"
143 * doc/autoconf.texi (Caching Results): The CACHE-ID variable
144 in the examples should not use the internal "ac_" prefix.
146 2007-05-05 Noah Misch <noah@cs.caltech.edu>
148 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
149 * doc/autoconf.texi ($@, case): Document Zsh limitations.
151 2007-05-03 Stepan Kasal <kasal@ucw.cz>
153 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
154 Reorganize the comments before and in the macro.
156 2007-05-02 Stepan Kasal <kasal@ucw.cz>
158 * lib/autoconf/lang.m4, lib/autoconf/c.m4,
159 lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
160 section titles and other comments; no code change.
162 2007-05-01 Kevin Ryde <user42@zip.com.au>
164 * doc/autoconf.texi (Particular Programs): Typo
165 @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
167 2007-04-30 Paul Eggert <eggert@cs.ucla.edu>
169 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
170 'configure' will fail if the shell lacks proper support for shell
171 functions. Suggested by RMS.
173 2007-04-29 Paul Eggert <eggert@cs.ucla.edu>
175 * doc/autoconf.texi (Limitations of Builtins): Correct the warning
176 about Solaris /bin/printf '%010000x' 123. Problem reported by
179 2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
181 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
182 for a.* when searching for executables, as this prevents users
183 from having files like a.c. Problem reported by Ralf Wildenhues in:
184 http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
185 This fixes a problem introduced on 2000-12-19.
187 2007-04-26 Paul Eggert <eggert@cs.ucla.edu>
189 * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
190 /bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko
193 2007-04-12 Paul Eggert <eggert@cs.ucla.edu>
195 * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
196 AC_CHECK_TYPE, AC_CHECK_TYPES.
197 * doc/autoconf.texi (Generic types): C types must be type-names
198 (the C terminology), not type-ids (the C++ term). C++ types
199 must not be anonymous.
200 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
201 for C++; this drops support for anonymous struct and union types,
202 which were problematic anyway.
203 * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
206 2007-04-12 Jim Meyering <jim@meyering.net>
208 * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
210 2007-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
212 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
213 to prefer a link source from the build tree, if it exists.
214 Report by Pallav Gupta <pallavgupta@gmail.com>.
216 2007-04-11 Paul Eggert <eggert@cs.ucla.edu>
218 * doc/autoconf.texi (Generic Types): Document the restrictions
219 on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
220 (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
221 with objects too. Document the restrictions on its use.
222 Document the restrictions on AC_CHECK_ALIGNOF's type argument.
223 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
224 For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
225 works but the latter doesn't, then it's a valid type.
226 This lets people use function types and so forth.
227 For C++ there doesn't seem to be a simple solution, so leave it alone.
228 (AC_CHECK_SIZEOF): Allow argument to be a variable.
229 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
230 AC_CHECK_TYPE; that wasn't documented or necessary.
232 2007-04-11 Stepan Kasal <kasal@ucw.cz>
234 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
235 when cross-compiling.
237 2007-04-11 Stepan Kasal <kasal@ucw.cz>
239 * doc/autoconf.texi (External Software): Fix a typo in the
242 2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
244 * doc/autoconf.texi (External Software, Package Options):
245 Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
247 2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
249 * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
250 obsolescent. Suggested by Bruno Haible.
251 * NEWS: Document this.
253 2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
255 * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
256 (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
257 default still has the problem. Problem reported by Bruce Korb.
259 2007-03-28 Stepan Kasal <kasal@ucw.cz>
260 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
262 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
263 comment in the generated config.status.
265 2007-03-27 Stepan Kasal <kasal@ucw.cz>
267 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
269 2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
271 * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
272 command and case statements to make it a bit clearer and describe
275 2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
277 * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
278 checks for unsigned long long int.
280 2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
282 * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
283 nonstandard grep R.E. escape sequences.
285 2007-03-17 Jim Meyering <jim@meyering.net>
287 * doc/autoconf.texi: Adjust grammar around use of "heuristics".
288 (Limitations of Usual Tools): Also list \< and \>, and mention that
289 HP-UX's grep, like the one from Solaris, does not support that syntax.
291 2007-03-09 Stepan Kasal <kasal@ucw.cz>
293 * doc/autoconf.texi (Specifying Names): `--host' does not
294 change the build type.
296 2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
298 * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
299 suggests AC_CONFIG_HEADERS.
300 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
301 AC_CONFIG_HEADERS. Problem reported by
304 2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
306 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
307 Problem reported by Paolo Bonzini in:
308 http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
309 * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
310 universal binaries. Problem reported by Elias Pipping.
312 2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
314 * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
315 * doc/autoconf.texi (C Compiler): Document this. There is a new
316 extra argument ACTION-IF-UNIVERSAL.
317 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
318 Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
319 Reindent for sanity's sake.
321 2007-02-24 Eric Blake <ebb9@byu.net>
323 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
325 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
326 * lib/autotest/general.m4 (AT_INIT): Likewise.
327 (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
329 2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
331 * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
332 status of rm so we know when it failed.
333 If cleaning of test dir failed before running the test, warn.
334 Output the line separator in verbose mode before the warning
335 to make clear the warning belongs to the following test.
337 2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
339 * doc/autoconf.texi (Parentheses): Mention problem with (( in
342 2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
343 and Paul Eggert <eggert@cs.ucla.edu>
345 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
346 errors introduced in last change.
348 2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
350 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
351 an actual carriage return. Use "ac_cr" to contain the actual
353 * doc/autoconf.texi (Limitations of Usual Tools): Document problem
354 with traditional Awk and begin.
355 * tests/torture.at (Limitations of Builtins): Document the problem
356 with Bash 2.03 printf.
357 (Substitute and define special characters):
358 Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
360 2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
362 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
363 input from /dev/null in awk test, so even Solaris /usr/bin/awk
364 will not wait for input with a script containing only a BEGIN
367 2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
369 * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
373 2007-02-02 Eric Blake <ebb9@byu.net>
375 * NEWS: Update copyright.
377 * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
379 * configure.ac: Update error message.
380 * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
381 Reported by Gary Vaughan and Jim Meyering, and problem analyzed
383 http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
385 2007-01-31 Eric Blake <ebb9@byu.net>
387 * THANKS (people): Update.
389 2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
391 * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
393 (Shell Substitutions): Note problems with @{var:=value} etc.
394 Add a new section for problems with @{#var} etc. Problem noted
395 by Ralf Wildenhues. See:
396 http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
398 2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
400 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
401 AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
402 trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
403 substitution will still be done by the special code.
404 Report by Jim Meyering.
406 * doc/autoconf.texi (File System Conventions): Mention that
407 $PATH_SEPARATOR is for the build system only.
408 Report by Keith Marshall.
410 2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
412 * doc/autoconf.texi (Setting Output Variables): Mention that
413 all non-NUL characters are ok in substituted values.
414 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
415 (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
416 carriage return for $AWK, needed for BSD awk.
417 * tests/torture.at (Substitute and define special characters):
418 Test all 8 bit non-NUL characters.
419 Report against Automake by Patrick Welche.
421 2007-01-15 Stepan Kasal <kasal@ucw.cz>
423 * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
425 2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
427 * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
428 early on the reader side, drop stderr of the input to avoid
429 `broken pipe' error output; this may happen even with shell
430 builtin `echo' of some bash versions. Reports by Ian Macdonald
431 <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
433 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
435 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
436 separate items of `ac_user_opts', to avoid long lines.
437 (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
439 2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
441 * doc/autoconf.texi: Fix some typos.
443 2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
445 Fix some wording problems noted by Paolo Bonzini in:
446 http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
447 * doc/autoconf.texi (Signed Overflow Examples): Give more
448 discussion about the allow_superuser_privileges example,
449 and change it a bit to make things clearer.
450 (Optimization and Wraparound): Clarify whether the compiler
451 will generate an infinite loop for the example derived from
452 Autoconf's mktime test.
453 (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
454 Also, clarify unsigned multiplication overflow.
456 2007-01-04 Eric Blake <ebb9@byu.net>
458 * bin/Makefile.am (RELEASE_YEAR): New macro.
459 (edit): Use it to supply correct copyright year to scripts.
460 * bin/autoconf.as (version): Use it.
461 * bin/autoheader.in ($version): Likewise.
462 * bin/autom4te.in ($version): Likewise.
463 * bin/autoreconf.in ($version): Likewise.
464 * bin/autoscan.in ($version): Likewise.
465 * bin/autoupdate.in ($version): Likewise.
466 * bin/ifnames.in ($version): Likewise.
468 2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
470 * doc/autoconf.texi (Integer Overflow): Revised based on today's
471 feedback. The most important changes document what happens when
472 you convert an out-of-range value to a signed integer type, and
473 say that (sum < a) != (b < 0) reliably detects overflow when sum =
476 * doc/autoconf.texi (Integer Overflow): Greatly expand and
477 rewrite, taking notions from the recent discussion on the gcc and
478 autoconf mailing lists; please see
479 http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
480 and follow the many links.
481 (Integer Overflow Basics, Signed Overflow Examples):
482 (Optimization and Wraparound, Signed Overflow Advice):
483 (Signed Integer Division): New sections.
485 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
487 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
488 preprocessor macro arguments in traced name.
489 * doc/autoconf.texi (Defining symbols): Document longstanding
490 support for AC_DEFINE-ing macros with arguments, and document
491 behavior when the same variable has multiple AC_DEFINEs.
492 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
493 old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
494 macros directly, giving much shorter and simpler code.
496 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
498 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
499 space before "$ac_configure_args" to prevent a 'config.status
500 --recheck' failure if ac_configure_args doesn't contain a leading
501 space. This works around a problem with the XEmacs configure.ac,
502 which uses the (undocumented) ac_configure_args variable
503 inconsistently with Autoconf.
505 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
507 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
508 Include <limits.h>, and use its INT_MAX to rewrite the
509 j loop so that it does not overflow 'int'. Problem reported by
511 <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
512 Play it safe by shifting left by 1 rather than multiplying by 2,
513 as GCC is less likely to optimize this away when the value
514 is signed (when it assumes overflow leads to undefined behavior).
515 Also, don't assume time_t uses two's complement.
517 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
519 * tests/torture.at (Substitute a 2000-byte string): Avoid using
520 a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
521 dumps core on it. Report by Tim Rice.
523 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
525 * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
526 --disable-option-checking to --help output even when
527 AC_PRESERVE_HELP_ORDER is not used.
528 (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
529 --with argument, rather than argument with [-.] replaced by
531 * NEWS: Fix typo in previous change; the news was in the
534 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
536 * NEWS: Warnings are now generated by default for unknown
537 --enable-* and --with-* options.
538 * doc/autoconf.texi (Option Checking): Renamed from
539 (Configure Option Checking). Tighten up the wording a bit.
540 (External Software, Package Options): Cross-reference to Option
541 Checking, and use this to shorten our section.
542 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
543 "$x" to test "x$foo" != x.
544 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
545 Don't warn if $enable_option_checking is "no".
546 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
547 ac_unrecognized_opts to the empty string.
548 Don't echo the unrecognized opts, as this might mishandle
549 backslashes or leading -.
550 (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
551 usage next to the other --disable-FEATURE options in the
554 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
556 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
557 (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
558 Print warning for unrecognized --with and --enable options
559 (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
560 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
561 Disable option checking when subdirs are configured.
562 (AC_OUTPUT): If warnings are enabled, print warning about
563 unrecognized --with and --enable options at the end of
564 the configure output (as well as at the beginning).
565 * doc/autoconf.texi (Option Checking): New node.
566 Document new option warning functionality.
568 2006-12-16 Eric Blake <ebb9@byu.net>
570 * configure.ac (AC_INIT): Bump version, since 2.61a is released.
571 * NEWS: Start news for current version.
573 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
575 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
576 Define HAVE_GETMNTENT to 1, not to the empty string.
577 Problem originally reported by Jochen Friedrich in
578 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
580 This change prompted by a problem report by Andrey Simonenko in
581 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
582 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
583 object-like macros only, in the traditional portable character
585 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
586 Warn about attempts to define things that are not identifiers.
587 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
588 awful hack that AC_DEFINEd macro names containing parentheses.
590 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
592 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
593 too drastic, even if Texinfo in theory requires it for info mode.
595 (config.status Invocation): Renamed back from Recreating a
597 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
598 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
600 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
602 * NEWS: Version 2.61a.
604 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
605 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
607 * NEWS: Document changes with echo and printf, and the lack
608 of limits on the total size of multi-line values of substituted
609 variables, and the AC_FUNC_FSEEKO fix.
611 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
613 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
614 Writing configure.ac.
615 (Autoconf Input Layout): Renamed from configure.ac Layout.
616 (Recreating a Configuration): Renamed from config.status Invocation.
617 (Obsolete Recreation): Renamed from Obsolete config.status Use.
618 (acconfig Header): Renamed from acconfig.h.
619 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
620 (Writing Testsuites): Renamed from Writing testsuite.at.
621 (Autom4te Cache): Renamed from autom4te.cache.
623 * BUGS: Remove mention of VPATH problem, since it's now documented
624 not to be a bug in the Autoconf build procedure itself, but rather
625 a problem with the proprietary `make' programs.
627 * doc/autoconf.texi (Build Directories): Add a cross reference
630 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
631 * doc/standards.texi: Sync from gnulib.
633 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
634 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
635 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
636 generated automatically.
638 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
640 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
641 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
642 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
644 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
646 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
647 `CEOF$ac_eof' special marker, the awk script cannot contain a
648 line matching `^CEOF', so this is not needed any more.
649 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
650 special marker in the test.
652 2006-12-06 Stepan Kasal <kasal@ucw.cz>
654 * tests/tools.at (autom4te preselections): Use `find -newer';
655 remove one of the sleeps.
657 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
658 more readable, using ...
659 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
661 * doc/autoconf.texi (autoheader Invocation): Do not double-
662 quote the parameter of `AH_BOTTOM' in the example.
664 2006-12-05 Stepan Kasal <kasal@ucw.cz>
666 * doc/autoconf.texi (Configuration Headers): Remove the
667 example with multiple input files.
668 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
669 multiple input files.
671 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
673 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
674 creating the awk substitution script, handle one input line at a
675 time, so that the maximum length of a substituted (multi-line)
676 value is not limited by the size of the sed pattern space.
677 The trade-off is a slightly repetitive sed script.
678 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
679 can only have up to 7 characters, due to Solaris 10 /bin/sed.
680 * tests/torture.at (Substitute a 2000-byte string): Increase the
681 test with several long lines, they should not be caught by sed
684 * tests/tools.at (autom4te preselections): New test, to flag
685 entries missing from autom4te.cfg.
686 Report by David Byron <dbyron@hheld.com>.
688 * tests/torture.at (Substitute a 2000-byte string): Actually use
689 AC_PROG_AWK, so the last change works as intended.
690 (Substitute and define special characters): Likewise.
691 (Substitute a newline): Likewise.
693 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
694 instead of `awk' consistently.
695 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
696 * tests/torture.at (Torturing config.status): Test both the
697 result of AC_PROG_AWK and plain awk.
698 (Substitute a 2000-byte string): Likewise.
699 (Substitute and define special characters): Likewise.
700 (Substitute a newline): Likewise.
702 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
704 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
705 can be assigned to a function pointer. Problem reported by
706 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
707 part of a patch by Ralf Wildenhues in that same bug report.
709 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
711 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
712 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
714 2006-12-01 Eric Blake <ebb9@byu.net>
716 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
717 cross-compiling from cygwin to mingw.
718 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
719 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
720 to lib/autoconf/c.m4.
722 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
724 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
725 string for more reliable failure. Wrap the entire test that
726 causes the broken Solaris printf to dump core, in a subshell,
727 so the segmentation fault message is reliably suppressed.
728 Fix shell expansion errors by using /usr/ucb/echo always;
729 avoid an error on systems without it by another subshell.
730 Avoid m4 expansion of `$1'. Set the zeroth argument of the
731 subshell-$as_echo to `as_echo', for better error message.
733 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
735 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
736 `BASH_SOURCE' contain a newline, set them to empty, as they may
739 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
741 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
742 years and is too hard to maintain now. The last straw was
743 reported by Jerker Baeck in
744 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
745 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
746 * doc/autoconf.texi (Particular Functions): Move
747 AC_FUNC_SETVBUF_REVERSED from here...
748 (Obsolete Macros): ... to here. Say that it does nothing now.
749 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
750 Turn into (almost) a no-op.
752 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
754 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
755 These macros are obsolescent and new applications shouldn't need them.
756 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
757 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
758 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
759 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
760 (AC_FUNC_VPRINTF): Likewise.
761 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
762 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
763 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
765 * doc/autoconf.texi (Setting Output Variables): Mention that
766 @VAR1@VAR2 has unspecified behavior. Problem reported by
768 * NEWS: Mention this.
770 * Makefile.am: Put only a single '#' into the copyright notice,
771 so that it's also present in the output file. Standardize wording
772 in makefile copyright notices to match GNU coding standards.
773 * bin/Makefile.am: Likewise.
774 * doc/Makefile.am: Likewise.
775 * lib/Makefile.am: Likewise.
776 * lib/freeze.mk: Likewise.
777 * lib/autoconf/Makefile.am: Likewise.
778 * lib/autoscan/Makefile.am: Likewise.
779 * lib/autotest/Makefile.am: Likewise.
780 * lib/m4sugar/Makefile.am: Likewise.
781 * man/Makefile.am: Likewise.
782 * tests/Makefile.am: Likewise.
783 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
786 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
788 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
789 in the sed script that mangles the awk script: delete up to the
790 first exclamation mark only.
791 * tests/torture.at (Substitute and define special characters):
794 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
796 Rewrite config files generation: avoid quadratic growth in
797 the number of substituted variables by using awk instead of sed
798 for the bulk of the substitutions.
799 * NEWS: Mention this.
800 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
801 forbidden in the output (and thus input) file.
802 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
803 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
804 generate just one large awk script for substitutions,
805 eliminating much of the earlier complexity, while adding some
806 new complexity. Only expand the substitution templates at
807 configure time, for smaller configure script size. If
808 _AC_SUBST_FILES are used, test 'awk' for working getline support
809 at config.status time. If absent, interpolate through the
810 shell. The awk script was written with much help
811 from Paolo Bonzini and Paul Eggert.
812 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
813 (_AC_SED_FRAG_NUM): Likewise.
814 (_AC_SUBST_CMDS): Renamed from...
815 (_AC_SED_CMDS): ...this.
816 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
817 * tests/torture.at (Substitute a 2000-byte string): Also
818 substitute a line with 1000 words, and a variable with several
820 (Substitute and define special characters): Test awk special
821 characters, and put substitution input strings `@foo@' in the
822 output, to test that no recursion happens; test several other
823 combinations from Paolo Bonzini.
825 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
827 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
828 that replaced echo with AS_ECHO where this wasn't necessary.
829 Problem reportd by Ralf Wildenhues.
830 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
831 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
832 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
834 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
836 * lib/freeze.mk (GREP): Removed, no need to initialize this.
838 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
840 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
841 that traditional Awk lacks 3-arg "split". It has it.
842 Mention that FS must be a single character, and a few other
843 99-byte limits of traditional Awk.
844 Mention that if (i in a) doesn't work with traditional Awk.
846 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
848 * tests/autotest.at (BSx641-newline in command):
849 (BS-BS-newline in command, BSx640-newline in command):
850 (Newline-CODE-BS-newline in command):
851 (Single-quote-BS-newline in command):
852 (Single-quote-newline-BS-newline in command):
853 Use printf '%s\n' instead of echo, for portability to hosts
854 where echo interprets backslashes. This will break on hosts
855 that lack printf, but for now let's assume all such hosts
856 are dead (if not, we should get reports of test failures).
858 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
860 'echo' has some portability problems, when given a first argument
861 with a leading '-', or when given any argument containing '\'.
862 Avoid using 'echo' in these cases.
863 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
864 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
865 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
866 * lib/autotest/general.m4 (AT_INIT): Likewise.
867 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
868 argument might be unportable.
869 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
870 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
871 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
872 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
873 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
874 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
875 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
876 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
877 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
878 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
879 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
880 (AC_PROG_MAKE_SET): Likewise.
881 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
882 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
883 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
884 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
885 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
886 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
887 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
888 * bin/autoconf.as: Redo verbose flag implementation, as the old
889 scheme wouldn't work with AS_ECHO.
890 * lib/autotest/general.m4 (AT_INIT): Likewise.
891 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
892 Don't use ECHO_T, since ECHO_N is now reliable.
893 * lib/autotest/general.m4 (AT_INIT): Likewise.
894 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
895 rather than using a here-document to put the script into a file.
896 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
898 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
899 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
900 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
901 bug, but we might as well stop using ECHO_N and ECHO_C internally.
902 * lib/autotest/general.m4 (AT_SETUP): Likewise.
903 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
904 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
905 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
906 operand, as AS_ECHO requires. Avoid double file name expansion.
907 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
908 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
909 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
910 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
911 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
912 Double-quote strings that would otherwise contain M4 comments.
913 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
915 * configure.ac (AC_INIT): Bump to 2.61a.
918 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
922 * configure.ac (AC_INIT): Bump to 2.61.
925 * tests/autotest.at (Macro with backslash in a test title):
926 Comment out for now, as this tests neither fails nor passes
927 reliably. Problem reported by Ralf Wildenhues.
929 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
931 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
932 in previous change, which caused test failures.
934 2006-11-16 Stepan Kasal <kasal@ucw.cz>
936 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
937 code for --enable, --disable, --with, and --without to...
938 (_AC_INIT_PARSE_ENABLE): ... a new macro.
939 * doc/autoconf.texi (Package Options):
940 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
942 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
944 Import these changes from config via gnulib:
946 2006-11-15 Ben Elliston <bje@gnu.org>
948 From Josselin Mouette <joss@debian.org>:
949 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
951 2006-11-08 Ben Elliston <bje@gnu.org>
953 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
955 2006-11-07 Steve Woodford <scw@NetBSD.org>
956 Ben Elliston <bje@gnu.org>
958 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
959 * build-aux/config.sub (sh5el): New basic_machine.
962 Import this change from coreutils:
964 2006-02-13 Jim Meyering <jim@meyering.net>
966 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
969 Import this change from gnustandards via gnulib:
971 2006-11-15 Karl Berry <karl@gnu.org>
973 * standards.texi: core -> memory, throughout.
974 (CPU Portability): show correct example of calling write
975 on a char value; thanks to Paul Eggert for the code.
976 Both of these suggestions from Eugene Y. Vasserman.
979 Import these changes from texinfo via gnulib:
981 2006-11-08 Karl Berry <karl@gnu.org>
983 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
984 as well as pdf images, since they are supported in pdftex with
987 2006-11-05 Karl Berry <karl@gnu.org>
989 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
991 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
993 * NEWS: Document the AC_ARG_WITH change.
995 2006-11-13 Bruno Haible <bruno@clisp.org>
997 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
998 options, transliterate also dots to underscores.
999 (_AC_ENABLE_IF): Transliterate also dots to underscores.
1000 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
1001 first argument may also contain dots.
1003 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
1005 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
1006 benefit of platforms like Solaris+GCC where it is common to have a
1007 non-working g++ installation.
1009 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1010 and Joel E. Denny <jdenny@ces.clemson.edu>
1011 and Paul Eggert <eggert@cs.ucla.edu>
1013 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
1014 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
1017 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
1019 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
1020 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
1021 Imported from a similar patch to gnulib by Bruno Haible.
1023 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
1025 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
1026 * doc/autoconf.texi (C Compiler): Document them.
1027 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
1028 New macros, taken from gnulib.
1030 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
1032 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
1033 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
1036 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1038 * tests/torture.at (Configuring subdirectories): Do not skip
1039 Automake 1.10 nor future Automake 11.1 (sic).
1041 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
1042 and Stepan Kasal <kasal@ucw.cz>
1044 Handle special characters in test case titles correctly.
1045 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
1047 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
1048 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
1049 argument. Extend to check titles printed by ./micro-suite and
1050 ./micro-suite -l and the title in micro-suite.log.
1051 (Backquote in a test title,
1052 Single-quote in a test title,
1053 Double-quote in a test title): Don't expect failure anymore.
1054 (Backslash in a test title): Put a non-whitespace character after the
1055 backslash so that Bourne shells might actually see it as an escape
1057 (Brackets in a test title,
1058 Pound in a test title,
1059 Comma in a test title,
1060 Quoted Macro in a test title,
1061 Macro in a test title,
1062 Macro with single-quote in a test title): New tests.
1063 (Macro with backquote in a test title,
1064 Macro with double-quote in a test title,
1065 Macro with backslash in a test title): New tests expected to fail.
1066 * tests/torture.at (#define header templates): M4-quote this title in
1067 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
1068 The visible effect was a stray [] in the testsuite output.
1070 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1072 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
1073 `trap ... 0' inside a function, for AIX sh.
1075 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
1077 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
1078 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
1079 5363) simply issues a warning when dividing by zero at compile
1080 time. Problem reported by Elias Pipping.
1082 2006-10-26 Eric Blake <ebb9@byu.net>
1085 * doc/autoconf.texi (Evaluation Macros): Improve the example to
1086 show effect on macros that expand with commas.
1087 Reported by Joel E. Denny.
1089 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1090 Also work with M4 1.4.8.
1092 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
1094 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
1097 2006-10-25 Stepan Kasal <kasal@ucw.cz>
1099 * tests/tools.at (autom4te --force): New test, verifies that
1100 `--force' always rewrites the output file.
1102 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
1104 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
1105 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
1107 2006-10-24 Stepan Kasal <kasal@ucw.cz>
1109 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
1111 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
1113 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1114 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
1115 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
1116 reported by Nelson H. F. Beebe for Coreutils 6.4.
1118 * tests/tools.at (autoconf --trace: user macros): Remove test
1119 for tracing multiline macros, since m4 1.4.7a uses a different
1120 way to number lines. Problem reported by Ralf Wildenhues.
1122 2006-10-24 Stepan Kasal <kasal@ucw.cz>
1124 * bin/autom4te.in (handle_m4): Do not redirect stdin to
1125 /dev/null since the heuristics for interactive behaviour was
1128 * bin/autom4te.in: With --force, always refresh the output
1129 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
1131 * bin/autoconf.as: Fix the verbose message at the end.
1133 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
1135 * configure.ac (AC_INIT): Bump to 2.60c.
1138 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
1140 * NEWS: Version 2.60b.
1142 Import this change from Texinfo:
1143 2006-10-15 Karl Berry <karl@gnu.org>
1144 * build-aux/texinfo.tex: automake 1.10
1146 * NEWS: Remove AC_CACHE_CHECK_INT.
1147 * doc/autoconf.texi (Caching Results): Likewise.
1148 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
1149 AC_CACHE_CHECK_INT, since it's no longer public.
1150 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
1151 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
1153 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1155 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
1157 2006-10-19 Eric Blake <ebb9@byu.net>
1159 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
1160 (m4_maketemp): Avoid warnings with M4 1.9a.
1161 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
1163 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
1166 2006-10-16 Eric Blake <ebb9@byu.net>
1168 * doc/autoconf.texi (Setting Output Variables): Fix typo.
1170 * bin/autoconf.as (version): Reword to match GNU Coding
1172 * bin/autoheader.in (version): Likewise.
1173 * bin/autom4te.in (version): Likewise.
1174 * bin/autoreconf.in (version): Likewise.
1175 * bin/autoscan.in (version): Likewise.
1176 * bin/autoupdate.in (version): Likewise.
1177 * bin/ifnames.in (version): Likewise.
1179 2006-10-14 Stepan Kasal <kasal@ucw.cz>
1181 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
1182 looking for special shell characters.
1183 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
1184 macro defined by AS_VAR_PUSHDEF before passing it as a
1186 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
1187 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
1188 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
1189 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
1190 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
1192 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
1194 * tests/m4sh.at (AS_LITERAL_IF): New test.
1196 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
1198 (Imported from Automake.)
1199 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
1200 which incorrectly sets the mode of an existing destination
1201 directory. In some cases the unpatched install-sh could do the
1202 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
1203 system. We hope this is rare in practice, but it's clearly worth
1204 fixing. Problem reported by Alex Unleashed in
1205 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
1206 Also, don't bother to check for -m bugs unless we're using -m;
1207 suggested by Stepan Kasal.
1209 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
1211 Import this change from Automake:
1213 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
1214 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
1215 is enabled by default with gnu and gnits strictness.
1216 Report from Bruno Haible.
1218 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
1219 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
1220 gnu and gnits modes.
1222 Import this change from Config:
1224 2006-09-20 Ben Elliston <bje@gnu.org>
1225 * build-aux/config.sub (score, score-*): New.
1227 Import this change from Gnulib:
1229 2006-09-16 Karl Berry <karl@gnu.org>
1230 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
1231 to avoid sectioning errors.
1233 Import these changes from Texinfo:
1235 2006-10-04 Karl Berry <karl@gnu.org>
1236 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
1237 (\quoteexpand): rename to \rquoteexpand.
1238 (\codequoteleft): new def, to look for @set codequotebacktick.
1239 (\lquoteexpand, \quoteexpand): new defs.
1240 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
1241 (\code): must use new \...Char values, since now ` is active.
1243 2006-08-26 Karl Berry <karl@gnu.org>
1244 * build-aux/texinfo.tex (\textdegree): New command.
1246 2006-08-12 Karl Berry <karl@gnu.org>
1247 * build-aux/texinfo.tex (error \box0): smaller font.
1249 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1251 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
1253 2006-10-13 Stepan Kasal <kasal@ucw.cz>
1255 * doc/autoconf.texi (Autoheader Macros): Warn that the text
1256 added to the template can get mangled.
1258 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1260 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
1261 include the default headers, and redefine obstack_chunk_alloc
1262 and obstack_chunk_free. Fixes false failure with glibc.
1264 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
1266 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
1267 for backward compatibility with Libtool 1.5.22. Problem reported
1270 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1272 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
1274 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
1276 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
1278 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
1279 the NonStop platform.
1280 * doc/autoconf.texi (Posix Variants): Likewise.
1281 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
1283 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
1284 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
1285 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
1286 Use a better substitute, by inspecting the output of "ls"
1287 rather than just using ":".
1288 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
1289 rather than AS_EXECUTABLE_P, since we needn't worry about
1290 non-regular files here.
1292 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
1293 due to configuration hassles with this. See Tonya Underwood's report
1294 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
1295 * doc/autoconf.texi (Special Shell Variables): Likewise.
1297 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
1298 Stepan Kasal <kasal@ucw.cz>
1300 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
1301 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
1303 2006-10-11 Stepan Kasal <kasal@ucw.cz>
1305 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
1306 initialization which is not inherited through the environment
1307 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
1308 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
1310 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
1312 * doc/autoconf.texi (Limitations of Usual Tools): Describe
1313 problems with mkdir -p -m.
1315 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
1317 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
1318 comment about ac_cpp_err; it was incorrect, and anyway
1319 ac_cpp_err is being removed below.
1320 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
1321 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
1322 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
1324 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
1325 with werror_flag and conftest.err and so forth. This is more
1326 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
1327 and anyway the user shouldn't normally want to see this gorp logged.
1328 Problem reported by Ralf Wildenhues.
1329 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
1330 empty, not 'no', since the rest of the code uses 'test -z'.
1332 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
1334 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
1335 Use a single call to AC_DO_TOKENS rather than multiple, for
1337 (_AC_LINK_IFELSE): Test that resulting file is executable.
1338 Problem reported by mwoehlke in
1339 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
1341 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
1342 than creating a file to use with test -x; this is much faster.
1344 2006-10-02 Bruno Haible <bruno@clisp.org>
1346 * lib/autom4te.in (Automake-preselections): Add
1347 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
1349 2006-09-27 Stepan Kasal <kasal@ucw.cz>
1351 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
1352 standard error, `experr' should be used, not `expout'.
1354 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
1356 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
1357 fseeko testing program twice; just use the earlier result.
1358 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1359 Set cache var to 'unknown' (not 'no') if leaving the macro unset
1360 still doesn't let the program compile.
1361 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
1364 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
1365 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
1366 include it, without including anything else.
1367 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
1369 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
1371 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1373 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
1374 `error.h', and include it, for a `error_at_line' prototype.
1375 Use a nonempty format string in the link test.
1376 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
1377 for a declaration of wait3.
1379 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
1381 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
1382 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
1383 can apply to constants too, and that it checks for macro defns.
1384 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
1385 and simply cast the identifier to void. This handles structure
1386 values. Problem reported by Ralf Wildenhues.
1387 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
1389 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1391 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
1392 structure, and function symbols.
1394 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1396 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
1399 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
1401 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
1403 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1405 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
1406 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1408 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
1409 warnings (uninitialized value).
1410 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
1412 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
1414 (AC_STRUCT_TM): Likewise, avoid unused variables.
1416 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1418 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
1419 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
1420 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
1421 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
1422 Report by Olly Betts.
1424 2006-09-19 Eric Blake <ebb9@byu.net>
1426 * m4/m4.m4: Change copyright.
1427 * configure: Regenerate.
1428 * Makefile.in: Likewise.
1429 * bin/Makefile.in: Likewise.
1430 * doc/Makefile.in: Likewise.
1431 * lib/Makefile.in: Likewise.
1432 * lib/Autom4te/Makefile.in: Likewise.
1433 * lib/autoconf/Makefile.in: Likewise.
1434 * lib/autoscan/Makefile.in: Likewise.
1435 * lib/autotest/Makefile.in: Likewise.
1436 * lib/emacs/Makefile.in: Likewise.
1437 * lib/m4sugar/Makefile.in: Likewise.
1438 * man/Makefile.in: Likewise.
1439 * tests/Makefile.in: Likewise.
1441 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
1442 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
1443 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
1444 --error-output, to avoid warnings with M4 2.0.
1446 2006-09-19 Stepan Kasal <kasal@ucw.cz>
1448 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
1449 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
1450 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
1452 2006-09-15 Stepan Kasal <kasal@ucw.cz>
1454 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
1455 expansion of AC_CHECK_FUNCS.
1457 2006-09-14 Stepan Kasal <kasal@ucw.cz>
1459 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
1460 mistaken comment: the path has to be relative; do not use
1461 the path at runtime.
1463 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1465 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
1466 argument to `--prefix' for sub-configure scripts.
1467 Pass `--silent' to sub-configure scripts.
1468 * tests/torture.at (Configuring subdirectories): Add tests
1470 * doc/autoconf.texi (Setting Output Variables): Fix example to
1471 not show `--silent' being passed to a `configure' re-run.
1473 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
1475 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
1476 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
1477 for the existence of the directory at configure-time. That's
1478 too late, anyway. Problem reported by Stefan Seefeld.
1480 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
1481 7.1.4 /usr/bin/posix/sh described by Tim Rice in
1482 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
1484 2006-09-11 Stepan Kasal <kasal@ucw.cz>
1486 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
1487 works with GNU M4 1.4.3 again; make the normalized form
1488 match the current m4 message; fix the description.
1489 * test/tools.at (autom4te cache): Adapt to the change.
1491 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
1493 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
1494 to catch glibc bug 2821
1495 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
1497 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
1498 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
1499 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
1502 2006-09-08 Stepan Kasal <kasal@ucw.cz>
1504 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
1506 (Autoconf): ... here.
1507 (Autoscan-preselections): Delete.
1509 2006-09-07 Stepan Kasal <kasal@ucw.cz>
1511 * lib/autom4te.in (Automake-preselections): Preselect
1514 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
1516 * doc/autoconf.texi (Preset Output Variables): srcdir and
1517 top_srcdir are not necessarily relative. Problem reported
1520 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1522 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
1523 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
1524 accept files with extension `.f'. For consistency, also prefer
1526 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
1529 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1531 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
1532 of ERLANG_LIB_VER_* variables.
1533 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
1536 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
1537 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1539 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
1540 bugs of Bash 2.01 and 2.05a.
1541 (Fortran Compiler): Document that AC_PROG_CC should be called
1542 before AC_PROG_FC, due to a bug in Autoconf.
1544 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
1546 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
1547 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
1548 except the first two arguments are reversed.
1549 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
1550 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
1551 caches nor outputs a diagnostic. Suggested by Bruno Haible.
1552 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
1553 equivalent to the old AC_COMPUTE_INT.
1554 (AC_COMPUTE_INT): No longer caches or reports. New signature.
1555 All uses changed to AC_CACHE_CHECK_INT.
1556 * tests/base.at (AC_CACHE_CHECK_INT): New test.
1557 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
1559 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
1561 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
1562 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
1563 programs should use their Gnulib counterparts.
1564 * doc/autoconf.texi (Particular Functions): Likewise.
1565 (Macro Names, testsuite Invocation): Replace uses of these
1566 obsolete macros with uses of non-obsolete macros.
1568 2006-08-29 Eric Blake <ebb9@byu.net>
1570 * configure.ac (AC_INIT): Bump to 2.60b.
1573 2006-08-28 Eric Blake <ebb9@byu.net>
1575 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
1576 mistakenly swapped on 2006-08-15.
1578 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
1580 * NEWS: Version 2.60a.
1582 2006-08-25 Stepan Kasal <kasal@ucw.cz>
1584 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
1585 file created by the PGI compiler.
1587 2006-08-25 Noah Misch <noah@cs.caltech.edu>
1589 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
1592 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
1594 Fix Lex library problem reported to us by Julio Garvia.
1595 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
1596 for the default, which the user can override.
1597 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
1599 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
1600 didn't work if some values were cached but not others. Test for
1601 broken lex libraries like native ia64-hp-hpux11.22; see
1602 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
1603 work around the problem by preferring an empty LEXLIB to -lfl or
1604 -ll. Let the user set LEXLIB='' to indicate no library needed.
1606 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
1608 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1610 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
1612 Rework to use more-modern build style.
1613 Many files are renamed; all uses of their names were changed.
1614 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
1615 * .x-sc_useless_cpp_parens: New file.
1616 * build-aux/config.guess: Renamed from config/config.guess. Update.
1617 * build-aux/config.sub: Renamed from config/config.sub. Update.
1618 * build-aux/elisp-comp: Renamed from config/elisp-comp.
1619 * build-aux/install-sh: Renamed from config/install-sh. Update.
1620 * build-aux/mdate-sh: Renamed from config/mdate-sh.
1621 * build-aux/missing: Renamed from config/missing.
1622 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
1623 * build-aux/vc-list-files: Renamed from config/vc-list-files.
1624 * config/Makefile.am: Removed.
1625 * config/mkinstalldirs: Removed.
1626 * config/move-if-change: Removed.
1627 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
1628 * Makefile.am (SUBDIRS): Remove config.
1629 (ACLOCAL_AMFLAGS): Include from m4, not config.
1630 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
1631 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
1632 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
1633 Fail if there's an error.
1634 * Makefile.cfg (move_if_change): Remove.
1635 (wget_files): Remove.
1636 (cvs_executable_files): New macro.
1637 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
1638 (executable-update): Use $(cvs_executable_files).
1639 (local-checks-to-skip): Remove.
1640 * Makefile.maint: Merge from coreutils, plus add our own changes
1641 (gzip_rsyncable): New macro.
1643 (CVS_LIST): Use build-aux/vc-list-files.
1644 (VERSION_REGEXP): New macro.
1645 (local-checks-available): Add patch-check, $(syntax-check-rules),
1647 (syntax-check-rules): Compute dynamically.
1648 (sc_cast_of_x_alloc_return_value): Work even if no source files.
1649 (sc_cast_of_alloca_return_value): Likewise.
1650 (sc_prohibit_atoi_atof): Simplify regexp.
1651 (sc_no_if_have_config_h, sc_require_config_h):
1652 (sc_prohibit_assert_without_use,
1653 (sc_obsolete_symbols): Check for O_NDELAY.
1654 (sc_texi_notab): Remove.
1655 (sc-changelog): Don't make an exception for '----' lines.
1656 (.re-list): Remove, so we don't have a junk file behind.
1657 (sc_system_h_headers): Remove the need for .re-list.
1658 (sc_the_the): New rule.
1659 (sc_tight_scope): Simplify.
1660 (sc_trailing_blank): Renamed from sc_trailing_space.
1661 (longopt_re): New macro.
1662 (sc_two_space_separator_in_usage): New rule.
1663 (sc_unmarked_diagnostics): Look at all files under CVS.
1664 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
1665 (news-date-check, changelog-check): Version is OK.
1666 (po-check): Look for lib files even if not in CVS.
1667 (copyright-check): Use $() not ``.
1668 (maintainer-distcheck): Do not depend on changelog-check.
1669 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
1670 Also check for -Wpointer-arith.
1671 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
1672 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
1674 (announcement): Add --gpg-key-id arg.
1676 (move_if_change): Just use mv.
1677 (local_updates: Remove wget-update, po-update.
1678 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
1679 (config.guess-url_prefix, config.sub-url_prefix): Remove.
1680 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
1681 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
1682 ($(get-targets)): Remove.
1683 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
1684 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
1685 (cvs-update): Get from gnulib.
1686 (emut_upload_commands): gnupload is in build-aux now.
1687 (alpha beta major): Add changelog-check. Check version.
1688 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
1689 (AC_CONFIG_FILES): Remove.
1690 * bin/autoconf.as: Add spaces to avoid distcheck warning.
1691 * config/announce-gen: Sync from coreutils.
1692 * doc/make-stds.texi: Sync from gnulib.
1693 * doc/standards.texi: Likewise.
1694 * man/Makefile.am: Adjust for config -> build-aux renaming.
1695 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
1696 * tests/local.at: Adjust from config -> build-aux renaming.
1697 * tests/tools.at: Likewise.
1698 * tests/torture.at: Likewise.
1700 * NEWS: The C99 check now tests for vararg macros and 64-bit
1702 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
1703 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
1704 64-bit preprocessor ints. Check for static initialization of
1705 long long. Remove unnecessary casts.
1707 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1709 * doc/autoconf.texi (Particular Programs): Mention that
1710 @INSTALL@ and @MKDIR_P@ may vary for different output files.
1711 Reported by Alexandre Duret-Lutz.
1713 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
1715 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
1716 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
1718 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
1720 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
1722 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
1723 pacify insanely picky compilers. Problem reported by Eric Blake.
1725 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
1726 longer supported by Sun.
1728 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
1730 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
1731 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
1732 -Wundef -Werror". Problem reported by David Fang in
1733 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
1734 * doc/autoconf.texi (Header Templates, Default Includes):
1735 (Particular Functions, Generic Functions, Header Portability):
1736 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
1737 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
1738 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
1739 Prefer #ifdef to #if.
1740 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
1741 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
1742 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1743 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
1745 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1746 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
1747 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
1748 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1749 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
1750 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
1753 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
1755 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
1756 problems with arg script text that doesn't end in newline, and
1757 with '-e a...'. Problems reported by Ralf Wildenhues.
1759 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
1761 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
1762 check for libXt by a check for libX11.
1764 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1766 * doc/autoconf.texi (config.status Invocation): Adjust according
1769 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1771 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
1772 --help' should mention that `--version' outputs configuration
1773 settings. Report by Bruno Haible.
1775 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
1777 Fix test suite failures reported by Pierre in
1778 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
1779 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
1780 the compiler created a file "b.out" when it didn't create anything
1782 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
1783 Discard stderr too, when invoking the test script.
1785 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
1787 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
1788 in the restoring of the werror flag.
1790 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
1792 * doc/autoconf.texi (Volatile Objects): Be even a little
1793 less skeptical about "volatile", after discussion with
1794 Bruno Haible on bug-gnulib.
1795 (Limitations of Usual Tools): Warn about sed stripping
1796 leading white space from text. From Bruno Haible.
1798 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
1800 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
1801 compiler complains about it, even if things works after the
1802 complaint. Problem reported by Peter O'Gorman.
1804 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
1805 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
1806 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
1808 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
1810 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
1811 after -R regardless of host. Patrick Welche reports that this
1812 fixes things on NetBSD 3.99.
1814 * NEWS: Recommend M4 1.4.5.
1816 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1817 * tests/tools.at (autom4te cache): Update wording of diagnostic
1820 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
1822 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
1823 under AC_C_VOLATILE.
1824 (Volatile Objects): Be a little less skeptical about what
1825 "volatile" means. Derived from thoughts by Ben Pfaff in
1826 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
1828 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1830 * doc/autoconf.texi: Fix some typos.
1832 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
1834 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1835 more globally, since the 2006-06-30 patch didn't suffice. Problem
1836 reported by Keith Marshall. Also, don't bother with builddir2,
1837 since it shouldn't be needed any more.
1839 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
1841 * doc/autoconf.texi (Generic compiler characteristics):
1842 Document AC_COMPUTE_INT. Fix wrong statements on Default
1843 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
1845 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
1846 (_AC_COMPUTE_INT): Add obsoletion warnings.
1847 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
1850 * NEWS: Document change.
1852 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
1854 * doc/autoconf.texi (Volatile Objects): New section.
1856 * NEWS: Document previous change.
1858 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
1860 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1861 Require that long long int be at least 64 bits wide. C99 requires
1862 this and enough programs depend on it so we should check for it.
1863 Bruno Haible reports in
1864 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
1865 that long long int is 32 bits wide with some nonstandard compilers.
1866 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
1868 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
1870 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1871 to a nonexistent file, so that we don't have to worry about
1872 a local site configuration that doesn't use /usr/local.
1873 Problem reported by Keith Marshall in
1874 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
1876 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
1878 * doc/autoconf.texi: Be more consistent about using @acronym with
1879 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
1880 quite right (it talked about "OSF/Tru64", even though the
1881 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
1882 and it even mentioned "OSF 4"!) and at this point there's little
1883 reason to talk about OSF any more, since it died in 1994.
1884 (Specific Compiler Characteristics): Simplify example of
1885 negative-size array.
1886 (File Descriptors): Reorder to make the text flow better.
1887 Remove joke about "appreciate the various levels"; I didn't get it.
1888 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
1889 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
1890 (File Descriptors, Limitations of Usual Tools):
1891 Tone down the advice against renaming or removing open files.
1892 (Limitations of Usual Tools): Add a new section, on 'rm'.
1894 2006-06-26 Stepan Kasal <kasal@ucw.cz>
1896 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
1897 -lXt in LIBS, idea from Karsten Hopp; this was due since
1900 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
1901 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1902 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1903 (which belong to Xt, not X itself). See Debian bug 327655.
1905 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1907 * configure.ac (AC_INIT): Bump to 2.60a.
1910 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1914 * configure.ac, NEWS: Update.
1916 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1918 * config/texinfo.tex: Sync from upstream.
1920 * bin/autom4te.in (handle_traces): Transform the `@S|@'
1921 quadrigraph correctly in traces.
1923 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
1926 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
1927 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
1929 * doc/autoconf.texi (Changed Directory Variables): New node,
1930 to document the whole `datarootdir' business a bit better.
1932 * tests/torture.at (datarootdir workaround): Extend test.
1933 Prompted by report by Alexandre Julliard.
1935 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
1937 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
1938 when using default mode of IBM C 6 for AIX. Problem and two-line
1939 fix reported by Larry Jones.
1941 2006-06-22 Alexandre Julliard <julliard@winehq.org>
1943 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
1944 about literal '${datarootdir}' if a definition is found in the
1947 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
1949 * NEWS: Use "M4" rather than "m4" when appropriate.
1950 Problem reported by Eric Blake.
1951 * doc/autoconf.texi: Likewise.
1952 Use @acronym around BSD, GCC, and GNU when appropriate.
1953 (Why GNU M4): Renamed from "Why GNU m4".
1954 (Redefined M4 Macros): Mention that Posix
1955 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
1956 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
1959 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1961 * bin/autom4te.in (handle_output): Do not forbid the empty
1963 * tests/tools.at (autoconf: the empty token): New test.
1965 2006-06-20 Stepan Kasal <kasal@ucw.cz>
1967 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
1968 calls, so that we do not care whether they are LIFO or FIFO;
1969 in the m4_wrap, do not check which diversion is the topmost
1970 one, just check that the stack is balanced at the end.
1971 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
1972 base diversion forever--pop the previous diversion before
1973 opening the new one; consequently, remove the m4_wrap call.
1974 * lib/autotest/general.m4 (AT_INIT): Likewise.
1975 * tests/m4sugar.at: Do not use
1976 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
1978 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
1979 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1981 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
1982 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
1983 Rework example of m4wrap token-pasting trouble so that it doesn't
1984 care whether it's LIFO or FIFO.
1985 Fix some "contrary to"s that are awkward in English.
1987 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1989 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
1990 to `yes' instead of `int$1_t' if the type is found, for more
1991 consistent configure output (where $1 is the number of bits).
1992 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
1993 Suggested by Bruno Haible.
1995 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
1996 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
1997 with system headers. Report by Bruno Haible.
1999 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2001 * config/config.guess, config/config.sub: Sync from upstream.
2003 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
2004 in order to avoid picking up an older installed frozen m4sh.m4f.
2005 Besides an outdated shell startup, this could have been created
2006 by an earlier M4 version with incompatible frozen file format.
2008 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
2010 * README: Recommend m4 1.4.4 instead of 1.4.3..
2011 * doc/autoconf.texi: Likewise.
2012 (Special Chars in Names): Say that $(.FOO) is portable, as
2013 suggested by Stepan Kasal.
2014 (Installation Directory Variables, Build Directories):
2015 (Automatic Remaking, Subdirectories, Fortran Compiler):
2016 (Making testsuite Scripts, Defining Directories):
2017 Quote variable usages better.
2018 (Making testsuite Scripts): Add clean-local rule to makefile
2019 snippet, by Eric Blake.
2020 (Installation Directory Variables): Fix table item font.
2021 Reword slightly to clarify. Generalize advice about
2022 not using special characters to include all file-related
2023 vars, not just VPATH.
2024 (Special Chars in Variables): Warn about special characters in
2026 (Assignments): Clarify default-value example as suggested by
2028 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
2029 (Special Shell Variables): Note leading ./ or ../, as suggested
2031 (Limitations of Builtins): Under cd, warn about CDPATH.
2032 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
2035 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2037 * doc/autoconf.texi (Configuration Actions): Remove duplicate
2038 `@var', for texi2html.
2039 (Systemology): Some more word wrapping, for DVI output.
2040 (autom4te Invocation): The short option for `--melt' is `-M',
2043 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
2045 * doc/autoconf.texi: More formatting and English tweaks,
2046 many suggested by Ralf Wildenhues.
2047 Reword to avoid "@code{...}'s" and the like, since it's ugly
2048 with Emacs info mode. discontents -> woes.
2049 Put a few "will"s back. time stamp -> timestamp.
2050 side-effect -> side effect.
2052 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
2054 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
2055 Warn about $@ not persisting. Problem reported by Julien Danjou in
2056 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
2057 (Special Chars in Names): Renamed from Leading _ in Macro Names.
2058 Mention other special chars, too.
2060 2006-06-14 Eric Blake <ebb9@byu.net>
2062 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
2064 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
2066 * doc/autoconf.texi: Some systematic minor improvements, as
2067 follows. Use "makefile" when talking about makefiles
2068 generally (which might be named "makefile" or "Makefile" or even
2069 "foo.mk"), "Makefile" when talking about a specific makefile
2070 called "Makefile". This unclutters the text from weird quotes
2071 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
2072 values" rather than "@var{foo}s" and similar constructs containing
2073 "}s". Use "Make rules" rather than "Makefile rules". Minor
2074 English-language improvements. Change the prefix "sub-" to "sub"
2076 Put blank lines around examples more consistently.
2077 Avoid "rather" and "very" as intensifiers.
2078 Avoid "will" as an auxiliary.
2079 (Limitations of Make): Split this node into....
2080 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
2081 (Leading _ in Macro Names, Backslash-Newline-Newline):
2082 (Backslash-Newline Comments, Long Lines in Makefiles):
2083 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
2084 (obj/ and Make, make -k Status, VPATH and Make):
2085 (VPATH and Double-colon, $< in Explicit Rules):
2086 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
2087 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
2088 New nodes, resulting from splitup of Limitations of Make.
2089 All cross-references changed. Raise the top node from
2090 a section to a chapter, and all subnodes accordingly.
2091 Redo the introductory wording to match the new organization.
2092 (Installation Directory Variables): Use an example that is
2093 closer to what Autoconf actually does. Mention that VPATH's
2094 value should not contain metacharacters or white space.
2095 (Fortran Compiler): Fix a VPATH bug in an example.
2096 (Leading _ in Macro Names): Mention that this problem is no longer
2097 of practical concern.
2098 (VPATH and Make): Reword the advice to make it clearer
2099 that Autoconf and Automake support VPATH in non-GNU make, but
2100 many packages have bugs in this area.
2101 ($< in Explicit Rules): Refer to Build Directories rather
2102 than using a (non-VPATH-safe) example.
2103 (Automatic Rule Rewriting): Mention the sort of disaster that
2104 can ensue with Solaris-style rule rewriting with VPATH.
2106 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2108 * doc/install.texi (Compilers and Options): Weaken the
2109 suggestion to use GNU make for VPATH builds.
2111 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
2112 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
2114 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
2115 in regular expression.
2117 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2119 * doc/autoconf.texi (Installation Directory Variables):
2120 Drop extra @samp from `@table @samp' item.
2121 (Limitations of Usual Tools): Comment fix.
2122 Do not nest @samp just to point to other table items.
2123 (Writing testsuite.at) <AT_CHECK>: The second argument to
2124 `@dvar' is already @samp'ed.
2125 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
2126 do not use @var in the second argument.
2128 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
2130 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
2131 $as_shell.exe too. Problem reported by Andreas Buening in
2132 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
2134 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2136 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
2137 `unused variable' compiler warning, for `-Wall -Werror'.
2138 Reported by Jaap Haitsma in
2139 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
2141 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
2143 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
2144 case the compiler dumps core. Problem reported for
2145 OpenServer 5.0.7 by Tim Rice in
2146 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
2147 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2150 2006-06-06 Tim Rice <tim@multitalents.net>.
2152 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
2153 "ERROR" only shows up in "make check" output if there is an
2156 2006-06-06 Eric Blake <ebb9@byu.net>
2158 * tests/tools.at (automatically allowed tokens): Fix typo.
2160 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
2162 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
2164 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
2165 typically overflows on x86 CPUs, even though the C standard
2168 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2170 * configure.ac (AC_INIT): Bump to 2.59e.
2173 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2177 * config/texinfo.tex: Sync from upstream.
2179 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
2180 seen, invoke libtoolize with `--ltdl' argument.
2181 * lib/autom4te.in (Autoreconf-preselections): Adjust.
2183 Suggested by Eric Blake.
2185 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
2187 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
2188 reported by Ralf Wildenhues.
2189 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
2191 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2195 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
2197 * doc/autoconf.texi: Modernize some of the references to Solaris.
2199 2006-06-05 Stepan Kasal <kasal@ucw.cz>
2201 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
2202 message issued by AC_REQUIRE.
2203 * tests/m4sugar.at: Check m4_require's error message.
2204 * tests/base.at: Check AC_REQUIRE's error message.
2205 * tests/local.at (AT_CHECK_M4): New macro, almost identical
2207 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
2209 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
2210 `expout' as the last parameter.
2211 * tests/tools.at: Adapt to the above change.
2213 2006-06-04 Stepan Kasal <kasal@ucw.cz>
2215 * doc/autoconf.texi (Limitations of Usual Tools): Correct
2216 information about race-free implementations of mkdir.
2218 2006-06-04 Eric Blake <ebb9@byu.net>
2220 * bin/autoreconf.in (help): Document M4 environment variable.
2221 * bin/autoconf.as (Usage): Likewise.
2222 * bin/autom4te.in (help): Likewise.
2223 * doc/autoconf.texi (autom4te Invocation): Likewise.
2225 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
2227 * NEWS: GNU make now recommended for VPATH builds.
2228 Mention that some macros are now documented to be obsolescent.
2229 * doc/autoconf.texi:
2230 Prefer "current" to "modern" to describe
2231 currently-used (albeit perhaps old-fashioned) hosts.
2232 Mention which ancient features no longer need to be worried about.
2233 setgid -> set-group-ID
2234 setuid -> set-user-ID (these are the Posix terms)
2235 Fix some misuses of "only".
2236 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
2237 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
2238 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
2239 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
2240 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
2241 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
2242 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
2243 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
2244 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
2245 Mention that these macros are obsolescent.
2246 (Installation Directory Variables): shall -> should
2247 (File Descriptors): Mention that 0, 1, 2 might get reopened.
2248 Mention that it's now safe to use 3 and 4.
2249 (Limitations of Usual Tools): cp -r is now specified by Posix.
2250 Omit longwinded and obsolescent discussion of cp -f.
2251 Modernize discussion of expr, ls.
2252 (Limitations of Make): Modernize discussion of VPATH builds.
2253 Mention $? as a workaround in some cases.
2254 * doc/install.texi (Basic Installation):
2255 Mention "./configure; make; make install" first. Be more
2256 specific about why this file is generic. Remove unnecessary
2257 parens. Remove misleading "only". Remove obsolete advice
2258 about csh. Don't say "configure" takes awhile; say it
2259 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
2260 and CC=c99 rather than CC=c89, as these are blessed by current
2261 Posix. Recommend GNU make if doing a VPATH build.
2263 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
2265 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
2266 examples involving shell prompts.
2268 2006-06-02 Stepan Kasal <kasal@ucw.cz>
2269 and Paul Eggert <eggert@cs.ucla.edu>
2271 * doc/autoconf.texi (Here-Documents): Add details about the
2272 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
2273 use "here-documents" instead of "here documents".
2275 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2277 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
2279 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
2281 * doc/autoconf.texi (File System Conventions): Warn about ":"
2282 anywhere in directory names.
2284 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
2286 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
2287 about quoting the case statement, just in case.
2288 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
2289 was fixed in ksh93g; reported by Ralf Wildenhues.
2291 2006-05-31 Stepan Kasal <kasal@ucw.cz>
2293 * doc/autoconf.texi (System Services): Do not document
2294 overriding EXEEXT via ac_cv_exeext=ext.
2295 (Particular Programs) <AC_PROG_MKDIR_P>:
2296 Document that ${MKDIR_P} understands --.
2297 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
2300 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2302 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
2303 argument with leading hyphen. Problem reported by Paul Eggert.
2305 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
2307 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
2308 about quoting ac_try: quote all of it, if any of it seems suspicious.
2309 This means we don't have to worry about ${ or sed any more.
2310 Also, double-quote the case statement, to work around misuses via
2311 underquoting as reported by Ralf Wildenhues in
2312 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
2313 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
2314 undocumented and dangerous macro.
2315 Problem reported by Ralf Wildenhues in
2316 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
2318 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2320 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
2321 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
2322 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
2324 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
2326 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
2327 since evidently some packages rely on the old, broken behavior.
2328 Problem reported by Ralf Wildenhues in
2329 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
2330 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
2331 pre-2006-05-26 definitions, but leave in the comments that
2332 these macros are dangerous and should not be used.
2333 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
2334 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
2335 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
2336 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
2337 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
2339 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
2341 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
2342 the use of 'tr', since this is our only use of 'tr'.
2344 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2345 and Paul Eggert <eggert@cs.ucla.edu>
2347 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
2348 Don't assume 'grep' works on long lines, since AIX grep doesn't.
2350 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2352 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
2353 the output file in the `${datarootdir}' test.
2355 2005-05-28 Stepan Kasal <kasal@ucw.cz>
2356 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2358 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
2359 mention of `datarootdir' in the input file(s), but literal
2360 `${datarootdir}' in the output file, and we haven't warned yet,
2361 then warn as well: the user may have (erroneously) used
2362 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
2363 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
2364 * tests/torture.at (datarootdir workaround): Extend this test.
2367 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2368 and Paul Eggert <eggert@cs.ucla.edu>
2370 * doc/autoconf.texi (autoheader Invocation): The first argument to
2371 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
2372 alternatives and clear up the language a bit.
2374 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
2376 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
2377 ac_config_guess, ac_config_sub, ac_configure.
2378 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2379 Fix typo that prevented an unnecessary space from being removed.
2380 Problems reported by Ralf Wildenhues in:
2381 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
2383 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
2385 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
2386 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
2387 Don't use the term "thread-safe" to talk about mkdir race
2388 conditions, since the problem is more a process than a thread
2389 issue. Problem reported by Stepan Kasal in:
2390 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
2391 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
2392 the test for 'install' more closely. Look at MKDIR_P first.
2393 Look in the PATH, and at /opt/sfw/bin.
2394 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
2395 Don't bother to try mkdir -p, since we already check mkdir --version;
2396 just look at the version number. (There's no easy way to check
2397 for race-free implementations.)
2398 * tests/tools.at (autoconf: subdirectories): Adjust to above
2399 changes, since MKDIR_P now might end in "/mkdir -p".
2401 * doc/autoconf.texi (autoheader Invocation): Mention that the
2402 first arg of AC_DEFINE_UNQUOTED must be a literal.
2403 Problem reported by Ben Pfaff in
2404 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
2406 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
2407 * doc/autoconf.texi (Special Chars in Variables): New section.
2408 (Preset Output Variables): Warn about special chars in CPPFLAGS.
2409 (Installation Directory Variables): Quote $(datadir) better.
2410 (Limitations of Builtins): Describe some of eval's trickiness.
2412 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
2413 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
2414 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
2415 in front of every arg, not just trailing args. Quote apostrophes.
2416 (_AC_EVAL_ECHO): New macro.
2417 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
2418 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
2420 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
2421 exposed by quoting of eval argument. Put the command on line line
2423 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
2424 (_AC_PATH_X, AC_PATH_X): Quote more safely.
2425 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
2426 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
2427 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
2428 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
2429 Use eval more safely.
2430 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
2431 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
2433 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
2434 lines, exposed by quoting of eval argument.
2436 2006-05-26 Stepan Kasal <kasal@ucw.cz>
2437 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2439 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
2440 initialization of `ac_cv_exeext', do not override it if it was
2441 already set, unless it was set to `no', for compatibility with
2442 Autoconf-2.13, and comment this.
2443 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
2444 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
2445 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
2446 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
2447 Document that this test may be overridden by setting
2450 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2452 Revert these two patches:
2454 2006-04-06 Eric Blake <ebb9@byu.net>
2455 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
2456 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
2459 2006-04-01 Stepan Kasal <kasal@ucw.cz>
2460 Clean up _AC_COMPILER_EXEEXT* macros.
2461 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
2462 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
2463 ac_file to the name of the default output file and call
2464 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
2465 initial `rm' of the candidate files...
2466 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
2467 the same list in subsequent `rm' calls, and for the temporary
2468 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
2469 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
2470 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
2471 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
2472 no longer needed) by libtool. Make it a cache check.
2473 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
2474 copied here by mistake.
2475 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
2476 _AC_COMPILER_EXEEXT.
2477 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
2478 _AC_COMPILER_OBJEXT directly.
2479 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2481 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2483 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
2484 Fix description of how the buggy `sed' works.
2486 2006-05-25 Noah Misch <noah@cs.caltech.edu>
2490 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
2491 ENOLCK. Only mention `make -j' when applicable. Only raise
2492 fatal errors when `make -j' is involved. Improve error message.
2494 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2496 * doc/autoconf.texi (Here-Documents): We now know more about
2497 the variable expansion in here documents bug.
2498 Thanks to Tim Rice and Stepan Kasal.
2500 * doc/autoconf.texi (Making testsuite Scripts): Add an example
2501 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
2503 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2505 * tests/autotest.at (Multiline command from M4 expansion):
2506 No failure to be expected if the shell quotes newlines in
2507 commands in the `set -x' output. Report by Tim Rice.
2510 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
2512 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
2513 expansion in the here-documents used by config.status, as that
2514 runs afoul of the Korn shell version M-12/28/93d bug described in
2515 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
2516 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
2517 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
2519 2006-05-23 Jim Meyering <jim@meyering.net>
2521 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
2522 Fix typo introduced with 2006-04-02 change. It reversed the sense
2525 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
2527 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
2528 ac_dB slightly, to save bytes in the script.
2529 Max out at 50 lines, rather than 96; this is more likely
2530 (though not guaranteed) to avoid obscure 'sed' failures.
2532 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2534 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
2535 `tr -d -' as bad option argument. Work around this by deleting
2536 an unrelated character.
2537 Report by Tim Rice <tim@multitalents.net>.
2539 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
2540 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
2541 Stepan Kasal <kasal@ucw.cz>
2543 * doc/autoconf.texi (Particular Programs): Do not promise that
2544 we always prefer the GNU version of the program, and that we
2545 search according to PATH; both rules can have exceptions.
2546 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
2547 AC_PROG_SED. Move descriptions of limitations
2548 to the Limitations of Usual Tools section.
2549 (Limitations of Usual Tools) <sed>: Mention script length
2550 limitations with Solaris /usr/ucb/sed.
2551 <grep>: Fix wording for empty alternative. Mention that -c and
2552 -l should not be combined, and that -E and -F should not be
2555 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2556 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2558 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
2559 limits in Solaris 8 /usr/ucb/sed by testing a long script.
2561 2006-05-22 Stepan Kasal <kasal@ucw.cz>
2563 * doc/autoconf.texi (Defining Symbols): Literal parameter of
2564 AC_DEFINE is now passed to m4_pattern_allow.
2565 * NEWS: Mention that; likewise for AC_SUBST.
2566 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
2567 the parameter to m4_pattern_allow.
2568 * tests/tools.at: Add a check for that.
2570 2006-05-22 Stepan Kasal <kasal@ucw.cz>
2572 * lib/autoconf/status.m4: Fix typos.
2574 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2576 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2577 only the files that this macro generates.
2579 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2581 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
2582 the HP-UX sed limitation of 99 commands, labels do not count.
2583 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
2585 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
2587 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2589 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
2590 Import the following fix from coreutils:
2592 2006-01-13 Jim Meyering <jim@meyering.net>
2594 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
2595 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
2596 not double-quote uses of that variable, to accommodate the rare
2597 case in which getmntent is available in none of the libraries
2598 checked. This happens at least on FreeBSD 5.0.
2600 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
2602 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
2603 ac_config_guess, ac_config_sub, and ac_configure, since evidently
2604 some other programs unwisely rely on these undocumented vars.
2605 But put in warning comments about them.
2606 Problem reported by Ralf Wildenhues in
2607 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
2608 * NEWS: Document that these variables are intended to go away.
2610 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2612 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
2613 and set the language to C++ (analogous to the equivalent Fortran
2616 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
2617 * doc/autoconf.texi (C++ Compiler): Document it.
2618 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
2621 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
2623 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
2624 that caused config.status to generate 100-command sed scripts; the
2625 portable limit is 99.
2627 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2629 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
2630 variable `ac_d' instead of `d' to avoid infringing namespace.
2631 Report by Ralf Menzel.
2633 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
2635 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
2636 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
2637 * tests/tools.at (autoconf: subdirectories): New test, taken from
2638 the corresponding problem report by Ralf Wildenhues in:
2639 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
2641 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
2642 Quote some uses of shell variables if they might suffer unexpected
2643 globbing. This doesn't fix all instances of quoting problems that
2644 I found, just the easy ones that look safe.
2645 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
2646 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
2647 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
2648 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
2649 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
2650 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2651 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
2653 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
2654 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
2656 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2658 * bin/autoreconf.in ($help): Reword according to the manual.
2659 Suggested by Olly Betts.
2661 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
2662 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2664 * bin/autoreconf.in: Pass the directory argument to
2665 `require_configure_ac'. Fix comment.
2666 * tests/torture.at (Configuring subdirectories): Expose this.
2667 Reported by Olly Betts.
2669 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2671 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
2672 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
2673 Automake as follows:
2675 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
2676 `$configure_in' instead of `configure.in', to preserve
2677 directory component.
2679 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2681 * config/config.guess, config/config.sub, config/texinfo.tex,
2682 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
2684 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
2686 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
2687 test for C99 conformance; (bool) 0.5 is an integer constant
2688 expression, but (bool) -0.5 is not. Problem reported by Fedor
2689 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
2691 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
2693 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
2694 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
2695 Warn about obsolete install-sh files. Remove stray sentence
2696 fragment and fix cross reference.
2697 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
2698 install -d; this undoes the 2006-05-10 change.
2699 (MKDIR_P): Mark with AN_MAKEVAR.
2700 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
2701 that we don't require $INSTALL to be thread-safe. Move comments
2702 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
2703 of AC_PROG_INSTALL. Output a message saying that we're checking
2704 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
2705 MKDIR_P instead of AC_SUBST.
2706 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
2707 Special magic for MKDIR_P, too.
2708 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
2710 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
2712 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
2714 Sync from Automake, as follows:
2716 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2717 * config/install-sh: Initialize IFS, so field splitting isn't
2719 * config/mkinstalldirs: Likewise.
2720 * config/missing: Remove superfluous quotes. Replace all uses of
2721 `[' by `test', for consistency, and for..
2722 * config/missing (sed_minuso, sed_output): New variables.
2723 (autom4te, help2man, makeinfo): Use them. Unifies detection of
2724 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
2725 Fixes `missing' to detect `--output' for help2man. Fixes
2726 PR automake/483. Report by Dennis J. Linse.
2727 (autom4te): Document in `missing --help'.
2729 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
2731 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
2732 * config/install-sh: Don't use 'path' to talk about file names,
2733 as per GNU coding standards. Close a race condition reported by Ralf
2734 Wildenhues and Stepan Kasal. There is still a race condition
2735 on hosts that predate Posix 1003.1-1992, but we can't help this.
2736 Don't mishandle weird characters like space on pre-Posix hosts.
2737 Invoke mkdir at most once per dir arg on pre-Posix hosts.
2738 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
2739 AC_PROG_MKDIR_P from AS_MKDIR_P.
2740 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
2741 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
2742 earlier editions are not (including Automake 1.8.3).
2743 Do not suggest mkinstalldirs for thread-safety.
2744 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
2745 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
2746 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
2747 presence of special characters and race conditions.
2748 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
2749 in Autoconf's name space.
2751 2006-05-10 Bruno Haible <bruno@clisp.org>
2752 and Paul Eggert <eggert@cs.ucla.edu>
2754 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
2755 from Automake with minor changes.
2756 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
2758 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
2760 * config/install-sh: Update to Automake CVS version, as follows:
2761 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2762 * lib/install-sh: Simplify the expr implementation of dirname.
2763 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
2764 * lib/install-sh: Handle --, and diagnose unknown options.
2766 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2768 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
2769 `./autom4te' to create `./testsuite', since the `all' target
2770 will ensure its presence, but `installcheck' should not create
2771 the uninstalled wrappers.
2773 * tests/torture.at (Unusual Automake input files): Skip if we
2774 detect automake < 1.8.
2776 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2778 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
2779 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
2780 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
2783 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2785 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
2786 munge (multiple) white space and other oddities.
2787 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
2788 single quotes in variable assignment.
2789 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
2790 and similar failures by adding multiple spaces, tabs, and other
2792 Report and different test suggested by Francesco Romani
2793 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
2795 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
2796 single quotes, we only need to search for single quotes; this
2797 both simplifies the search pattern, and makes us less
2798 susceptible to `echo' variations for arguments not containing
2800 (_AC_ARG_VAR_VALIDATE): Likewise.
2802 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2804 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
2805 `$*' and IFS concatenation issue with traditional shells and
2806 bash-2.04. Report by Seanster@Seanster.com.
2808 2006-05-03 Bruno Haible <bruno@clisp.org>
2810 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
2811 precisely which Mac OS X versions have the od problem.
2813 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
2815 * doc/autoconf.texi: Use @option systematically.
2817 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
2818 and Bruno Haible <bruno@clisp.org>
2820 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
2822 (Integer Overflow): Mention the special case of integer division
2825 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2827 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
2828 traditional shells like the Solaris one that do not use the
2829 first IFS character for assembling `$*'.
2830 Prompted by a related report from autoconf_bug@nro.ca.
2832 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
2833 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2835 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
2836 Mention more problems with the -e option.
2838 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2841 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
2843 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
2844 in URLs to improve DVI formatted output (requires texinfo 4.6).
2845 (System Services, Systemology, Shellology): Likewise.
2846 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
2849 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
2851 (Runtime): Fix macro argument names to match description:
2852 `action-if-found' -> `action-if-true' and similarly.
2853 (Obsolete Macros): Likewise.
2854 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
2855 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
2856 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
2858 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2860 * doc/autoconf.texi (Limitations of Make): Clean up markup.
2863 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
2866 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2868 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
2869 /bin/sh set unsorted output.
2870 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
2871 * tests/local.at: Likewise.
2873 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
2875 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
2876 (Integer Overflow, Null Pointers, Buffer Overruns):
2877 (Floating Point Portability, Exiting Portably): New sections.
2878 (Writing Test Programs): Fix some langauge. Recommend exiting
2879 with status 1, not merely nonzero. Clarify exit declaration.
2880 (Run Time): Move C exit status stuff to new Exiting Portably section.
2881 (Systemology): Mention Posix and levenez. Update v7 reference.
2882 (Portable Shell): Mention the Posix shell.
2884 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2886 * bin/autoconf.as (me): Replace by as_me.
2888 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
2890 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
2891 since as_me isn't set yet.
2893 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
2895 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
2896 a few minor bugs in this area.
2898 * doc/autoconf.texi (Programming in M4sh): Comment out the
2899 documentation of AS_BASENAME, for now.
2900 (Shell Substitutions): Do not use AS_DIRNAME in an example.
2901 (Limitations of Builtins) <basename>: Do not refer to
2903 * bin/autoconf.as (me): Don't use AS_BASENAME.
2904 (dir): Remove the unused variable.
2905 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
2906 AS_DETECT_REQUIRED. All uses changed.
2907 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
2909 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
2910 (AS_BASENAME): Use "basename --" to protect against leading "-".
2911 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
2912 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
2913 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
2914 (_AS_DIRNAME_PREPARE): Likewise.
2915 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
2916 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
2917 (AS_DIRNAME): Use "dirname --".
2919 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
2921 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
2922 of "run time" and "run-time" changed to "runtime", for consistency.
2923 * lib/autoconf/fortran.m4: Likewise (in comment).
2924 * lib/autoconf/functions.m4: Likewise.
2925 * lib/autoconf/general.m4: Likewise.
2926 * lib/autoconf/headers.m4: Likewise.
2928 * doc/autoconf.texi (Run Time): Document the exit status situation
2929 with more accuracy and detail.
2931 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2933 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
2934 Archive is not officially `GNU' any more. Update URL.
2935 (Defining Directories): Likewise
2936 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
2938 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2940 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
2941 newline from the `trap' code to finish `config.log'; the NetBSD
2942 /bin/sh resets the exit status after an empty command, as
2943 documented in doc/autoconf.texi.
2944 Reported by Dalibor Topic <robilad@kaffe.org>.
2946 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
2948 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
2949 Suggested by Bruno Haible.
2951 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
2953 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
2954 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
2955 Instead, just list the shells that we know work.
2956 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
2957 changed. Be more cautious about the _cv_ variable.
2958 * tests/tools.at (Syntax of the shell scripts): Check the
2959 _cv_ variable once, at first, to avoid an internal autoconf error
2960 when sh -n does not work.
2962 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2964 * lib/Autom4te/FileUtils.pm: Sync from Automake.
2966 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
2968 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
2969 use ">&-" since we're only 99.999% sure that this is portable,
2970 and since the MinGW bug is fixed in a different way.
2971 * lib/autotest/general.m4 (AT_INIT): Likewise.
2973 2006-04-16 Stepan Kasal <kasal@ucw.cz>
2975 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
2976 before opening config.log, to avoid hitting a bug on MinGW.
2978 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
2980 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
2981 AS_MESSAGE_LOG_FD before reopening it onto the log file.
2982 This works around a MinGW bug reported by Eric Paire.
2983 Make sure that all writes to the log file append to it,
2984 rather than possibly losing data.
2985 * lib/autotest/general.m4 (AT_INIT): Likewise.
2987 2006-04-14 Stepan Kasal <kasal@ucw.cz>
2989 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
2992 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2996 * configure.ac (AC_INIT): Bump to 2.59d.
2998 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3002 * Makefile.maint (news-date-check): Do not require a leading `*'
3003 before the release date in NEWS.
3005 2006-04-12 Stepan Kasal <kasal@ucw.cz>
3006 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3008 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
3009 the instantiated file do not contain the string 'datarootdir'
3010 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
3011 @mandir@, replace the reference '${datarootdir}' by the value.
3012 * tests/torture.at (datarootdir workaround): New test.
3013 * NEWS: Advertise this temporary fixup.
3014 Based on a patch by Bruno Haible, reported and analyzed by
3015 Paul Eggert and Noah Misch.
3017 2006-04-12 Eric Blake <ebb9@byu.net>
3019 * tests/autotest.at (Debugging a failed test): Fix comment.
3021 2006-04-12 Stepan Kasal <kasal@ucw.cz>
3023 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
3024 all the changes since 2006-04-07.
3026 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3028 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
3029 succeeded, but `ln -s file dir' failed, take care to remove the
3030 leftover target before the next test, to prevent its spurious
3031 failure; also make sure `ln file dir' works before selecting it.
3032 Thanks to Keith Marshall for pointing this out.
3035 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
3036 assignments in `at_debug_args', so that we put them correctly
3037 in the `run' script.
3038 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
3039 Reported by Eric Blake.
3041 2006-04-11 Eric Blake <ebb9@byu.net>
3043 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
3044 top-level tests after micro-suite has been run. Used in...
3045 (Debugging a successful test, Debugging script and environment),
3046 (Debugging a failed test): ...these new tests. The first of these
3048 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
3049 macro, split out from...
3050 (AT_INIT): ...here, so that using -d also generates a run script.
3051 Document that -d inhibits top-level logging.
3052 * doc/autoconf.texi (testsuite Invocation): Document that -d only
3053 inhibits top-level logging; debug scripts are created.
3055 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
3057 * tests/autotest.at (Empty test, Empty check): New test to check it.
3059 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
3062 2006-04-10 Stepan Kasal <kasal@ucw.cz>
3064 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
3065 the files if a problem appears. Make the empty *.at files
3066 read-only, too. Proposed by Ralf Wildenhues.
3068 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3070 * config/Makefile.am: Add comment to force updated Makefile.in.
3072 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
3073 space only patch to this file, this patch causes the Makefile.in
3074 files that include freeze.mk to be updated, and thus have a
3075 newer time stamp again, which in turn makes a pristine CVS
3076 checkout have correct time stamps.
3078 * Makefile.maint (cvs-sv): New macro, to be used..
3079 (config.guess-url_prefix, config.sub-url_prefix)
3080 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
3081 point to CVS text checkout of Gnulib files.
3082 (copyright-check): Bump current year.
3083 (announcement): Do not hard-wire `./announce-gen'.
3084 (cvs-update): Propagate failures of `cvs' and `move-if-change'
3086 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
3088 (wget_files): Update config.guess, config.sub, texinfo.tex by
3089 `wget-update', now that their URLs work again.
3091 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
3093 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
3094 Problem noted by Paul D. Smith.
3096 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3098 * doc/autoconf.texi: Remove unused words from word list.
3099 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
3100 .x-sc_trailing_space: New files.
3102 * doc/standards.texi: Sync from gnulib.
3104 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
3105 `LIBOBJDIR' as experimental.
3107 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
3108 with a target directory; it's internally implemented as `cp'
3109 anyway, but since Autoconf advertises the possibility to use
3110 a target directory when LN_S is `ln -s', we need to find out.
3111 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
3112 analyzed by Keith Marshall <keith.marshall@total.com>.
3116 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
3118 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
3119 confdefs.h as-is. In general, if it has backslash-newline or the
3120 like, then it doesn't work either to sort or to remove empty
3123 2006-04-09 Stepan Kasal <kasal@ucw.cz>
3125 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
3127 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
3129 * lib/autom4te.in (Automake-preselections): Preselect
3132 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
3134 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
3135 apostrophe within a single-quoted string, as this is the usual
3136 tradition and is easier to read than '"'"'. Don't rely on the
3137 shell treating "$/" like '$/'. Use a more-consistent indenting
3140 2006-04-09 Eric Blake <ebb9@byu.net>
3142 * tests/autotest.at (Backquote command substitution),
3143 (Multiline backquote command substitution): Remove mistaken
3144 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
3146 (Parenthetical command substitution, Multiline parenthetical
3147 command substitution): here.
3149 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
3151 Import macros from gnulib (often changing their name).
3153 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
3154 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
3155 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
3156 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
3157 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
3158 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3159 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
3160 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
3161 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
3162 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
3163 The manual mentions Gnulib more prominently.
3164 * doc/autoconf.texi (Gnulib): New node.
3165 (Pointers): Add Gnulib URL.
3166 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
3167 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
3169 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
3170 suggest a #define rather than a typedef for _Bool, and mention
3171 Gnulib rather than trying to substitute stdbool code.
3172 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
3173 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
3174 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
3175 AC_STRUCT_DIRENT_D_TYPE.
3176 (Particular Types): Mention stdint.h and inttypes.h as standard
3178 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3179 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
3180 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
3181 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
3182 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
3183 (C Compiler): Move AC_C_LONG_DOUBLE to ...
3184 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
3185 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
3186 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
3187 (Coding Style). Don't mention m4_expand_once.
3188 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
3189 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
3190 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
3191 (AC_CHECK_FUNCS): Use it.
3192 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
3193 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
3194 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
3195 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
3196 (AC_HEADER_ASSERT): New macro.
3197 (AC_HEADER_STDBOOL): Don't assume "#error" works.
3198 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
3199 Catch a bug in an HP-UX C compiler.
3200 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
3201 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
3202 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
3203 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
3204 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
3205 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
3208 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
3209 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
3211 2006-04-08 Stepan Kasal <kasal@ucw.cz>
3213 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
3214 of the warning introduced by the 2001-08-28 change.
3216 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
3217 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3219 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
3220 variables shall be overriden by the cache.
3221 * tests/torture.at (AC_ARG_VAR): Test also with a first value
3222 that contains braces.
3224 2006-04-07 Stepan Kasal <kasal@ucw.cz>
3226 Revert the patch from 2006-04-01 and only improve
3227 _AS_DETECT_BETTER_SHELL:
3229 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
3230 skip nonexistent directories.
3231 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
3232 only shell candidates which exist.
3233 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
3234 * lib/autotest/general.m4 (AT_INIT): No need to give three
3235 parameters to _AS_PATH_WALK.
3237 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
3238 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3240 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
3241 distinguish m4sugar macros.
3242 * tests/tools.at (autoupdating with aclocal and m4_include):
3243 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
3244 test case by Noah Misch <noah@cs.caltech.edu>.
3246 2006-04-07 Stepan Kasal <kasal@ucw.cz>
3248 Revert my change from 2006-03-17, in other words:
3249 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
3251 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
3252 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
3255 2006-04-07 Eric Blake <ebb9@byu.net>
3257 * doc/autoconf.texi (Programming in M4sh): Document that
3258 AS_MKDIR_P exits the script on failure.
3259 * lib/autotest/general.m4: Remove redundant AS_ERROR.
3261 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3263 * config/elisp-comp, config/install-sh, config/mdate-sh,
3264 config/missing, config/mkinstalldirs: Sync from Automake.
3266 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
3269 * doc/make-stds.texi: Sync from gnulib.
3271 2006-04-06 Eric Blake <ebb9@byu.net>
3273 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3274 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
3277 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
3278 Eric Blake <ebb9@byu.net>,
3279 Paul Eggert <eggert@cs.ucla.edu>,
3280 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3282 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
3283 whether `set' quotes correctly: redirect stderr of the tested
3284 `set', and use a subshell, for Ultrix; use `sed' instead of
3285 `grep' for zsh `set' which may write binary output; match only
3286 at the beginning of a line, to avoid false positives.
3287 In order to avoid false positives by unrelated variables with
3288 multiline content, put the dump algorithm in a subshell and
3289 unset all variables containing newlines (except some which are
3290 special to the shell). Warn about cache variables that are
3293 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3295 * config/config.guess, config/config.sub, config/texinfo.tex:
3298 * tests/mktests.sh: Reword comments.
3300 * tests/mktests.sh: Only skip internal macros starting with
3301 `_AC_' or `__AC_'. Noted by Stepan Kasal.
3302 Update exclusion lists for the test suite to this end:
3303 (AC_ARG_VAR): Do test this now.
3304 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
3305 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
3306 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
3307 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
3309 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
3310 shell issue with double-quoted command substitutions of native
3312 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
3315 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
3316 no file matches the glob, discard the warning, set `nullglob'.
3317 (syntax-check): Likewise.
3318 (sc_cast_of_x_alloc_return_value): Likewise.
3319 (sc_cast_of_alloca_return_value, sc_error_exit_success)
3320 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
3321 (m4-check): Likewise.
3322 (sc_system_h_headers): Do not print rule on execution.
3323 (sc_tight_scope): Do not fail for non-existing `src' directory.
3324 (sc_changelog): Skip the Copyright footer.
3325 * lib/autoconf/lang.m4: Remove trailing space.
3327 * lib/autoconf/status.m4: More replacements to
3328 <tab><space> where this makes sense.
3330 2006-04-06 Stepan Kasal <kasal@ucw.cz>
3332 * tests/Makefile.am (maintainer-check-posix):
3333 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
3335 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
3336 ac_config_<foo>s again, sometimes normalized, sometimes not.
3337 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
3338 (AC_CONFIG_COMMANDS): Do not do so here.
3339 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
3340 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
3341 2005-07-25 rewrite. Noticed by Noah Misch.
3343 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
3344 _AC_PRESERVE_HELP_ORDER, ...
3345 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
3347 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
3348 inside m4_expand_once; it is redundant.
3350 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
3351 for --help from Cygnus `configure.'
3353 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
3355 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
3356 on a patch proposed by Ralf Wildenhues.
3358 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
3360 * lib/autoconf/status.m4: Replace <space>''<tab> with
3361 <tab><space> where this makes sense.
3363 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
3364 Noah Misch <noah@cs.caltech.edu>
3366 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
3367 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
3368 * doc/autoconf.texi (Help Formatting): New node.
3369 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
3371 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3373 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
3374 lib/autoconf/specific.m4, lib/autoconf/status.m4,
3375 lib/autoconf/types.m4, lib/autotest/general.m4,
3376 tests/mktests.sh, tests/torture.at: White space cleanup:
3377 remove some SPACE before TAB, or add quoting ('' or @&t@).
3379 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
3381 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
3383 2006-04-05 Eric Blake <ebb9@byu.net>
3385 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
3386 empty test suite works.
3387 * tests/autotest.at (Empty test suite): Remove xfail.
3389 2006-04-05 Noah Misch <noah@cs.caltech.edu>
3391 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
3392 TAGS to ac_config_<foo>s.
3393 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
3394 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
3395 normalizing it, consistent it with previous releases.
3396 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
3398 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
3400 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
3401 Use simplified args that Eric Blake originally suggested.
3403 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
3405 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
3406 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
3407 Use 'comm' rather than N instances of grep; this also fixes a bug
3408 whereby substrings were incorrectly matched, causing us to not
3409 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
3410 (exclude_list): Exclude empty macros.
3411 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
3413 Use awk rather than grep -E or egrep, to avoid
3414 portability problems with regular expressions containing newlines.
3415 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
3416 Switch from grep to awk syntax.
3417 (ac_exclude_script): Renamed from ac_exclude_egrep.
3418 (au_exclude_script): Renamed from au_exclude_egrep.
3420 2006-04-04 Noah Misch <noah@cs.caltech.edu>
3422 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
3423 a subdirectory subject to Cygnus `configure'.
3424 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
3426 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
3427 report request when we have no AC_PACKAGE_BUGREPORT.
3429 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3433 * tests/mktests.sh: Update copyright year in the header of the
3436 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
3437 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
3438 typedef'ed restricted pointer, to catch a compiler bug on
3439 HP-UX 11.x, and fix warnings so it passes with -Werror.
3440 (_AC_PROG_CC_C99): Likewise.
3441 Reported by Albert Chin <china@thewrittenword.com>.
3442 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
3444 2006-04-03 Noah Misch <noah@cs.caltech.edu>
3446 * bin/autoscan.in (subdirs): New global.
3447 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
3448 (output): Emit AC_CONFIG_SUBDIRS as needed.
3449 * tests/autoscan.at (autoscan): Remove XFAIL.
3451 2006-04-03 Noah Misch <noah@cs.caltech.edu>
3453 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
3455 2006-04-03 Eric Blake <ebb9@byu.net>
3457 * THANKS: Add myself.
3459 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3461 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
3462 to log, point to testsuite output tree.
3464 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
3466 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
3467 * doc/autoconf.texi (Function Portability): Mention that C++
3468 has trouble with 'exit'.
3469 (Guidelines): Test programs shouldn't use 'exit'.
3470 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3471 Remove; all uses removed.
3472 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
3473 Return from 'main' instead of calling 'exit'.
3474 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
3475 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
3476 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
3477 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
3478 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
3479 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3480 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
3481 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
3482 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3483 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
3484 * tests/compile.at: Likewise.
3486 2006-04-02 Pavel Roskin <proski@gnu.org>
3488 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
3490 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3492 Clean up _AC_COMPILER_EXEEXT* macros.
3494 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3495 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3496 ac_file to the name of the default output file and call
3497 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
3498 initial `rm' of the candidate files...
3499 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
3500 the same list in subsequent `rm' calls, and for the temporary
3501 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3502 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3503 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3504 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3505 no longer needed) by libtool. Make it a cache check.
3506 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3507 copied here by mistake.
3508 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3509 _AC_COMPILER_EXEEXT.
3510 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3511 _AC_COMPILER_OBJEXT directly.
3512 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3514 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3516 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
3517 (AS_DIRNAME): Use it.
3518 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
3520 * tests/*.at: Remove the generated ones.
3522 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3524 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
3526 2006-04-01 Eric Blake <ebb9@byu.net>
3528 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
3529 directories, unless optional third argument supplied.
3530 (AS_UNAME): Don't optimize PATH walk.
3532 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
3534 2006-04-01 Eric Blake <ebb9@byu.net>
3535 and Stepan Kasal <kasal@ucw.cz>
3537 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
3540 2006-04-01 Noah Misch <noah@cs.caltech.edu>
3542 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
3543 Autoconf version number despite a zero- or one-argument AC_INIT.
3545 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
3547 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
3548 * doc/autoconf.texi (autoreconf Invocation): Document it.
3550 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
3551 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
3553 2006-04-01 Eric Blake <ebb9@byu.net>
3555 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
3556 * lib/autotest/general.m4: Be tolerant of existing directory when
3557 rm failed to remove it.
3559 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3561 * bin/autoupdate.in: Redefine m4_location so that warnings print
3562 the correct lines of the input file by subtracting..
3563 (_au__first_line): ..this new definition.
3565 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
3566 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
3567 Remove stray newline in output.
3568 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
3569 AC_DEFUN this for autoconf, including the obsoletion diagnose.
3570 Fixes autoupdating of code where the replacement output contains
3572 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
3573 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
3574 (au_exclude_list): Add AC_LANG_SAVE.
3575 * tests/tools.at: Several new tests for all of this.
3576 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
3578 The AC_LANG_SAVE issue was reported against Libtool by
3579 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
3580 Kristian Kvilekval <kris@cs.ucsb.edu>.
3582 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3584 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
3585 switch all of them on and of when necessary. Fixes the bug when
3586 m4sugar macros (e.g., m4_define) were expanded after the first
3587 automatic update (e.g., after AC_PREREQ or AC_INIT).
3589 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
3591 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
3592 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
3594 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
3595 correctly. Problem reported by Eric Blake.
3596 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
3599 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
3601 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
3602 Tighten up the basename/dirname wording.
3604 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3606 * Makefile.maint (sc_texi_notab): New check: do not use TABs
3607 in texinfo files outside of verbatim environments.
3608 (syntax-check-rules): Update.
3609 * doc/autoconf.texi (Configuration Headers): Conform to it.
3611 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
3613 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
3614 aclocal cannot be given on the command line.
3616 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
3618 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
3619 Give an example for AS_DIRNAME instead of referring to Posix..
3620 (File System Conventions): Put discussion of // versus / here, and
3622 (Limitations of Usual Tools): Add basename. Remove verbiage
3623 after dirname, since it got moved to the above sections.
3624 All this was inspired by a patch proposed earlier by Eric Blake.
3626 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3628 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
3629 `$0' to protect against spaces.
3630 * lib/autotest/general.m4 (AT_INIT): Likewise.
3631 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
3634 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3636 * bin/autoscan.in: The value of find_configure_ac should be
3637 checked for existence, so we don't barf over a nonexisting
3638 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
3640 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3642 * bin/autoupdate.in: Fix some typos.
3644 2006-03-21 Stepan Kasal <kasal@ucw.cz>
3646 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
3648 * lib/autoscan/autoscan.list: Refreshed.
3650 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3652 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
3653 and Erlang related variables.
3655 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
3656 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
3657 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
3658 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
3659 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
3660 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
3661 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
3662 (_AC_PROG_OBJC_G): New macros.
3663 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
3664 * doc/autoconf.texi (Objective C Compiler): New node.
3665 (Preset Output Variables): Document OBJCFLAGS.
3666 (Language Choice): Document `Objective C' language.
3667 (Fortran Compiler): Fix typo.
3669 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
3671 2006-03-20 Stepan Kasal <kasal@ucw.cz>
3673 * doc/autoconf.texi (Default Includes): Fix typo
3674 s/AC_HEADERS_STDC/AC_HEADER_STDC/
3675 (Limitations of Usual Tools): s/unwriteable/unwritable/
3676 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
3677 Fix typos in the comments.
3679 2006-03-17 Stepan Kasal <kasal@ucw.cz>
3681 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
3682 Factor out the warning to...
3683 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
3684 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
3685 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3687 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
3688 case `ac_delim' when writing the sed script.
3690 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
3691 moved DUALCASE=1 ...
3692 (AS_SHELL_SANITIZE): ... here.
3693 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
3696 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
3698 (_AC_PATH_PROG): Store the result to VARIABLE.
3699 (AC_PATH_PROG): No need to set VARIABLE again.
3701 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
3702 the first one is usual AT_CHECK_MACRO test, the second one checks
3703 that the same works when cross-compiling.
3704 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
3705 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
3707 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3709 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
3710 the directory `/usr/bin/posix' in the shell search, to prefer
3711 the Posix shell not only in subsequent spawns as with `$BIN_SH'
3714 * doc/autoconf.texi (contents): To fix texi2html output, hide
3715 `@setcontentsaftertitlepage' for HTML.
3716 (Writing Autoconf Macros): Likewise, insert space after `@c'.
3717 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
3720 2006-03-16 Stepan Kasal <kasal@ucw.cz>
3722 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
3724 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
3725 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
3726 why IFS is restored so late; thank you, Ralf, for reminding us.
3728 2006-03-15 Stepan Kasal <kasal@ucw.cz>
3730 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
3731 variables in the examples.
3733 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3735 * doc/autoconf.texi (several sections): Cleaned up documentation for
3736 macros in erlang.m4.
3738 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3740 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
3741 failure condition for `$(cmd)' style command substitutions.
3742 (Parenthetical command substition, Multiline parenthetical
3743 command substition): Use it.
3745 * doc/autoconf.texi (Special Shell Variables): Missing word.
3746 Reported by Keith Marshall <keith.marshall@total.com>.
3748 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
3749 IFS even in case of empty `$PATH'.
3751 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3753 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
3754 `expr' away if there is nothing to do.
3755 < --keywords >: Simplify and robustify argument handling.
3756 Revert erroneous comment from 2005-08-23. Extend to allow
3757 keyword negation with `!'.
3758 Update help message. Remove broken code to prevent running
3759 tests multiple times.
3760 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
3761 Update and fix the documentation accordingly.
3762 * tests/autotest.at (Keywords): Renamed to..
3763 (Keywords and ranges): .. this. Extended to make sure negated
3764 keywords, keywords taken from AT_SETUP arguments, and numeric
3765 test ranges work, and that matching is case-insensitive.
3767 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3769 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
3770 allow to pass unnamed structs even in C++.
3771 (AC_CHECK_SIZEOF): Likewise.
3772 Also fix quoting error in `AC_MSG_FAILURE' arguments.
3773 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
3774 struct): New tests for unnamed structs, each both native and
3777 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
3778 a structure inside a cast, for C++ conformance.
3779 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
3780 Also fix quoting error in `AC_MSG_FAILURE' arguments.
3782 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
3783 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
3784 trying to execute the command `no'.
3786 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
3787 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
3790 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
3791 example. Do not emphasize `$%', it is hardly new and special.
3792 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
3794 * doc/autoconf.texi (Limitations of Usual Tools): Document
3795 OpenBSD and traditional `grep' failure to handle multiple
3796 patterns separated by newlines.
3798 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3800 * doc/autoconf.texi (several sections): Add documentation for macros
3803 2006-03-10 Eric Blake <ebb9@byu.net>
3805 * doc/autoconf.texi (Obsolete Macros): Fix wording of
3808 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
3810 * doc/autoconf.texi: Use @acronym more consistently for acronyms
3811 like BSD, GPL, LGPL. Fix minor English typos.
3812 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
3813 Mention that these macros are becoming obsolete.
3814 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
3815 Use more modern terminology for which standard is what.
3816 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
3818 (AC_PROG_CXX): Likewise.
3819 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
3820 Remove obsolete discussion about how to port to K&R.
3821 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
3822 the obsolescent AC_HEADER_STDC.
3823 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
3826 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3828 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3829 Remove stdin redirection from /dev/null to allow pipe to work.
3831 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
3833 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3834 Require that /lib/cpp include stdio.h correctly. Solaris 10's
3835 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
3838 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3840 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
3841 HP-UX sed is 99 commands, not 100.
3842 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
3843 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
3844 newline for portability.
3845 * tests/torture.at (Torturing config.status): Also test 100
3846 AC_SUBST_FILE invocations. Fix test to actually verify the
3847 AC_CONFIG_FILES output.
3848 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
3849 command, label, and read-file `r' limits. Unify HP-UX spelling.
3851 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
3853 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
3855 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
3856 * tests/mktests.sh: Small shell portability fixes.
3858 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3860 * doc/autoconf.texi (Caching Results): Fix the examples to use a
3861 recommended quoting style and discard unwanted output.
3863 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
3865 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
3866 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
3867 cases, and to work around Tru64 expr bug.
3869 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3871 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
3872 expr bug that turns the result of a regex match into a number if
3875 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3877 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
3878 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
3879 in section `Specific Compiler Characteristics'.
3881 2006-03-04 Eric Blake <ebb9@byu.net>
3883 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
3886 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3888 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
3889 order of variable initialization, so even the Solaris 2.6 shell
3890 can create a config header correctly. Fixes lots of test suite
3893 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3895 * doc/autoconf.texi (Text processing Macros): New node to
3896 document the m4sugar macros m4_re_escape, m4_tolower,
3897 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
3899 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
3901 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
3902 XrmInitialize (0) -> XrmInitialize ().
3903 Reported by Toshio Kuratomi.
3905 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3907 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
3908 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
3909 * doc/autoconf.texi (Programming in M4sh): Adjusted.
3910 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
3911 both macros are defun'ed so that required macros are evaluated
3914 * doc/autoconf.texi (Prerequisite Macros): State more precisely
3915 where a required macro will be expanded.
3916 (Coding Style): Another reason not to use `m4_define'.
3918 2006-02-21 Eric Blake <ebb9@byu.net>
3920 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
3922 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3924 * doc/autoconf.texi (Looping constructs): New node, to
3925 document m4_for, m4_foreach, m4_foreach_w, and mention
3926 obsolete AC_FOREACH.
3927 (Obsolete Macros): Document AC_FOREACH.
3928 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
3929 (m4_for): Fix to never loop (almost) endlessly, work correctly
3930 with arithmetic expressions in arguments, a step of zero or
3931 non-integer multiple of the interval, and avoid integer
3933 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
3936 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3938 Add basic support for Erlang, both for configuring Erlang/OTP
3939 tools, and Erlang as a conf test language.
3940 * lib/autoconf/erlang.m4: New file.
3941 * lib/autoconf/autoconf.m4: Add erlang.m4.
3942 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
3943 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
3944 * NEWS: Add short description of new macros.
3945 * THANKS: Add Romain Lenglet.
3947 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3949 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
3950 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
3952 2006-02-15 Eric Blake <ebb9@byu.net>
3954 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
3957 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3959 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
3960 (_AS_CASE): Private helper macro.
3961 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
3962 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
3963 Fix syntax of AS_IF description
3964 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
3965 for the AC_REQUIRE mess.
3966 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
3969 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
3971 * doc/autoconf.texi: Minor style cleanup.
3972 Be consistent about spaces after commas.
3973 Insert [] where empty args look a bit funny.
3974 Fix some "i.e." and "e.g." usages.
3975 Try to avoid "X/Y" usages.
3976 Don't be pedantic about "ISO C99"; just say C99.
3977 Prefer GNU style for spaces in front of parens.
3978 (Function Portability): Comment about C89 versus C99
3979 signed integer division.
3980 (Particular Headers): Use current gnulib style for dirent
3983 2006-02-14 Stepan Kasal <kasal@ucw.cz>
3984 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3986 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
3987 macros without parameters.
3988 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
3989 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
3990 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
3992 (autoupdate): Updated to match AU_ALIAS fix.
3994 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3995 and Paul Eggert <eggert@cs.ucla.edu>
3997 * doc/autoconf.texi (Programming in M4sh): Document
3998 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
4000 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4002 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
4003 (AS_BOURNE_COMPATIBLE): ..this.
4004 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
4006 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
4008 * doc/install.texi (Defining Variables): Tighten up the
4009 CONFIG_SHELL wording.
4011 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
4012 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4014 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
4015 of (set -o) rather than testing whether (set -o posix) succeeds,
4016 to work around a bug in the AIX 5.3 shell. Problem originally
4017 reportd by Howard Chu for libtool.
4019 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
4021 * doc/autoconf.texi (Running the Compiler, Running the Linker):
4022 Changes the macro arguments in summaries to match the
4025 2006-02-04 Stepan Kasal <kasal@ucw.cz>
4027 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
4028 hint as ``a workaround for a bug.''
4030 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4032 * bin/autoreconf.in: New option `--no-recursive'.
4033 Improve wording for subpackages a bit.
4034 * doc/autoconf.texi (autoreconf Invocation): Updated.
4037 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
4038 in environment of `configure', not the command line.
4039 Reported by Howard Chu <hyc@highlandsun.com>.
4041 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
4043 * doc/autoconf.texi (Limitations of Builtins): Document the
4044 problem with "trap -".
4046 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
4048 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
4049 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
4050 messages to differentiate Fortran and Fortran 77 tests.
4051 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
4052 AC_LANG_ASSERT, to allow use in mixed-language projects.
4054 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
4056 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
4057 FOO" to "defined (FOO)".
4058 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
4059 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
4060 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
4061 * tests/tools.at (ifnames): Likewise.
4063 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4065 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
4066 * lib/Autom4te/General.pm (mktmpdir): Likewise.
4067 (END): Improve error message a bit.
4068 Reported by Bruce Korb <bkorb@gnu.org>.
4070 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4072 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4073 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
4075 2006-01-11 Stepan Kasal <kasal@ucw.cz>
4077 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
4078 requires sys/stream.h. Reported by Oliver Kiddle.
4080 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4081 Stepan Kasal <kasal@ucw.cz>
4083 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
4084 before the removals of test dirs, use `find' to avoid modification
4085 of symlinked directories.
4087 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
4089 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
4090 Don't ignore the macro arguments.
4092 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
4094 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
4095 declaration that works for MSVC.
4097 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4099 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
4100 Add `*.map' and `.inf' for Green Hills compiler.
4101 Reported by Stefan Seefeld <stefan@codesourcery.com>.
4103 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
4104 correctly: pad with spaces after FIRST_PREFIX if necessary,
4105 and compute string lenghts with `m4_qlen' instead of `m4_len'.
4106 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
4107 * tests/m4sh.at (AS_HELP_STRING): Test extended.
4109 Reported by numerous people, numerous times.
4111 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
4113 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
4114 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
4115 * lib/autoconf/general.m4, lib/autoconf/status.m4:
4116 * lib/autotest/general.m4, tests/local.at:
4117 Update copyright year to 2006.
4119 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
4121 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
4122 for file names, again. Reported by Noah Misch.
4123 (Coding Style): Explain that s|a|b| is preferred for file names.
4124 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
4125 (AC_OUTPUT_MAKE_DEFS): Likewise.
4126 * lib/autotest/general.m4 (AT_INIT): Likewise.
4127 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
4128 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
4130 Fix Posix-conformance bugs re use of { command in sed scripts,
4131 and improve the sed-related documentation a bit.
4132 * doc/autoconf.texi (Installation Directory Variables): Use
4133 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
4134 rather than "sed" when talking about Sed in general.
4135 (Particular Programs): Likewise.
4136 (Coding Style): y is like s with respect to / and ,.
4137 (Limitations of Usual Tools): Document the weird restrictions
4138 that Posix has about { }. Use better quoting.
4139 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
4140 Rewrite to conform to Posix rules about { } in sed scripts.
4141 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
4142 * tests/foreign.at (Libtool): Likewise.
4143 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
4144 Use our own style advice re 's,a,b,' versus 's|a|b|'.
4146 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4148 * lib/autoconf/status.m4: Fix typo.
4150 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4151 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
4152 `-def', for the benefit of Portland `pgf90 -Mipa'.
4153 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
4155 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
4157 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
4158 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
4159 shell from zsh to bash.
4161 2005-12-31 Stepan Kasal <kasal@ucw.cz>
4163 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
4164 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
4166 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
4168 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
4169 parentheses in $(...). Problem reported by Eric Blake.
4171 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
4173 * doc/autoconf.texi (Limitations of Usual Tools):
4174 Mention which characters can be escaped with \ in portable regular
4175 expressions used in grep, sed, expr. Mention the leading ^ problem
4176 with expr. Clean up some confusing wording. Mention which
4177 grep options are portable.
4179 2005-12-09 Stepan Kasal <kasal@ucw.cz>
4181 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
4183 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
4185 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
4186 patch, noted by Ralf Wildenhues.
4188 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4190 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
4191 posix' unconditionally, for pdksh in `native sh' emulation.
4193 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
4195 * doc/autoconf.texi (Shellology): Document eval $? problem
4197 (Limitations of Builtins): Likewise.
4199 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4201 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
4202 CONFIG_SHELL in the environment of the configure rerun.
4203 * doc/autoconf.texi (Here-Documents, config.status Invocation):
4204 Suggest passing CONFIG_SHELL absolute, and in the environment
4205 rather than as option.
4207 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4209 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
4210 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
4211 Fix macro quoting. Fix output for n * 98 substituted variables.
4213 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4215 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
4216 `tmp' to avoid file removal race.
4218 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4220 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4221 ac_clean_files and LIBOBJS.
4223 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4225 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
4226 Factor functionality to..
4227 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
4228 `AC_SUBST($1)' in the public version.
4229 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
4230 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
4233 2005-11-01 Stepan Kasal <kasal@ucw.cz>
4235 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
4238 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4240 * NEWS: Move AH_HEADER mention to right place.
4242 2005-10-27 Stepan Kasal <kasal@ucw.cz>
4244 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
4245 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4247 2005-10-25 Stepan Kasal <kasal@ucw.cz>
4249 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
4250 conftst2.$ac_objext.
4251 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4253 2005-10-24 Stepan Kasal <kasal@ucw.cz>
4255 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
4256 conftest.o, to see whether the compiler really obeys; rm the object
4257 file before and after the test and register it with ac_clean_files.
4258 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4260 2005-10-21 Stepan Kasal <kasal@ucw.cz>
4262 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
4263 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
4264 code so that the most common case requires less forks.
4266 2005-10-20 Stepan Kasal <kasal@ucw.cz>
4268 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
4269 not portable; thanks to Paul Eggert and Alexandre.
4271 * NEWS: Fix an old typo.
4273 2005-10-20 Jim Meyering <jim@meyering.net>
4275 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
4276 the latter'', in two places.
4278 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
4280 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
4281 AC_LANG_PROGRAM, fixing a typo. Don't give details about
4282 the inner workings of AC_LANG_FUNC_LINK_TRY.
4283 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
4284 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
4285 by the function rather than ignoring it.
4286 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
4287 comparing its address. Intel's interprocedural optimization was
4288 outsmarting the old heuristic. Problem reported by
4291 2005-10-19 Stepan Kasal <kasal@ucw.cz>
4293 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
4295 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
4297 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
4298 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
4300 2005-10-04 Stepan Kasal <kasal@ucw.cz>
4302 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
4303 before removing it (chmod -R u+rwx); there are three instances of this.
4305 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4306 Stepan Kasal <kasal@ucw.cz>
4308 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
4309 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
4310 make its content writable before removing it. Remove an errorneous
4311 comment from the end, where the logs of the failed tests are copied
4312 to the main log file.
4314 2005-09-27 Stepan Kasal <kasal@ucw.cz>
4316 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
4317 in case the computer is too quick. Double quote the configure.ac
4320 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
4321 problems if the testsuite were running too fast.
4323 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
4325 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
4326 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
4327 (which belong to Xt, not X itself). See Debian bug 327655.
4328 * NEWS: Mention this.
4330 2005-09-07 Stepan Kasal <kasal@ucw.cz>
4332 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
4334 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
4336 * config/move-if-change: Don't output "$2 is unchanged";
4337 suggested by Ben Elliston. Handle weird characters correctly.
4339 2005-09-06 Stepan Kasal <kasal@ucw.cz>
4341 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
4342 calls, so that the final expansion of this macro is shorter.
4343 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
4344 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
4345 the cleanup there. Use AS_VAR_* macros, to be more general.
4346 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
4348 * lib/autoconf/general.m4: Use AS_IF where appropriate.
4350 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
4352 2005-09-01 Stepan Kasal <kasal@ucw.cz>
4354 * doc/autoconf.texi (Configuration Headers): Add an index entry
4357 2005-08-26 Pavel Roskin <proski@gnu.org>
4359 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
4360 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
4363 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
4365 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
4366 The previous patch didn't work, so try a better one.
4368 2005-08-26 Stepan Kasal <kasal@ucw.cz>
4370 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
4371 in the example. Reported by Bruno Haible.
4372 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
4373 "if $undefined_var;" succeeds with my shell.
4375 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
4376 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
4377 but change the m4_divert_text to m4_divert_once.
4379 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
4381 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
4382 Work around bug in Solaris /usr/xpg4/bin/awk.
4383 The bug is present in at least Solaris 8 through 10.
4385 2005-08-24 Stepan Kasal <kasal@ucw.cz>
4387 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
4388 some evil values and relying on the fact that $* concatenates the
4389 parameters by the first character from IFS.
4391 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
4392 Stepan Kasal <kasal@ucw.cz>
4394 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
4395 first header appears, define AH_HEADER.
4396 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
4397 Update limitations about when to call AC_CONFIG_HEADERS.
4398 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
4399 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
4400 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
4401 ``Configuration Actions''; fix their index entries.
4403 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
4404 options correctly. Process N-M as M-N if M is smaller than N.
4405 Process ranges correctly so that N-N will run only N.
4406 Sort and uniquify the tests that will be run. If there is more
4407 than one test, reinsert the banners for the tests.
4408 * tests/autotest.at (Keywords): Unmark XFAIL.
4410 2005-08-23 Stepan Kasal <kasal@ucw.cz>
4412 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
4413 before passing the macro name to AH_TEMPLATE.
4415 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
4416 now opens log after option processing; in particular, --version
4417 and --help do not touch config.log.
4419 * Makefile.maint: Revert the change from 2005-08-12.
4421 2005-08-22 Stepan Kasal <kasal@ucw.cz>
4423 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
4425 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
4427 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4429 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
4430 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
4433 * doc/autoconf.texi (Defining Symbols, Changed Results):
4434 Prepend to LIBS, not append, in examples.
4436 2005-08-16 Stepan Kasal <kasal@ucw.cz>
4438 When building in place, set srcdir="."; suggested by Tim Van Holder.
4440 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
4441 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
4442 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
4443 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
4444 does not mean "no --srcdir option".
4446 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4448 * tests/autoscan.at (autoscan): New file.
4449 * tests/suite.at: Use it.
4450 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
4451 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
4453 * tests/autotest.at (Keywords): Test keywords combinations.
4455 2005-08-12 Stepan Kasal <kasal@ucw.cz>
4457 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
4458 add "2>&1"; gzip 1.2.4 prints help on stderr.
4460 2005-07-27 Stepan Kasal <kasal@ucw.cz>
4462 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
4463 was pushdef'ed twice while popped only once. Push it only once.
4464 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
4466 2005-07-26 Stepan Kasal <kasal@ucw.cz>
4468 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
4469 prefixed by mere "===", not "configure: === ".
4471 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
4473 * Makefile.maint: Update from Bison.
4475 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
4476 "<tab>" in comment, so that the point is understandable.
4478 2005-07-25 Stepan Kasal <kasal@ucw.cz>
4480 Rewrite substantial part of lib/autoconf/status.m4.
4481 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
4482 and CONFIG_COMMANDS are not processed in four separate loops.
4483 Instead, there is one main loop. This alows that the common code
4484 is expanded only once, thus config.status (and configure) is smaller.
4486 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
4487 the AC_LIST_FILES and cousins macros are no longer used.
4489 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
4490 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
4491 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
4492 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
4493 contain the initialization, nor the for loop, nor the associated
4494 commands; all these go to ...
4495 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
4496 _AC_OUTPUT_CONFIG_STATUS.
4497 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
4498 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
4499 (_AC_OUTPUT_FILE): The creation of the sed script ...
4500 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
4501 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
4502 _AC_OUTPUT_MAIN_LOOP.
4503 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
4504 _AC_CONFIG_COMMANDS): Use ...
4505 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
4506 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
4507 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
4508 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
4509 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
4510 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
4512 (_AC_CONFIG_UNIQUE): Update.
4513 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
4514 Replaced by this ...
4515 (_AC_LIST_TAGS): ... new common macro.
4516 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
4517 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
4518 (_AC_LIST_TAG_COMMANDS): ... new common macro.
4519 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
4520 this didn't belong to the `config commands' section.
4521 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
4522 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
4523 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
4524 to the `config commands' section either.
4525 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
4526 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
4528 ... and many changes to the comments nearby.
4530 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
4531 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
4532 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
4533 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
4534 (#define header templates): The comment at the top of the generated
4535 header now includes the name(s) of the source file(s).
4537 Several unrelated small changes:
4539 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
4540 parameter to AC_DIAGNOSE.
4541 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
4542 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
4543 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
4544 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
4546 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
4547 in AC_OUTPUT doesn't double-quote it either.
4548 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
4551 2005-07-10 Stepan Kasal <kasal@ucw.cz>
4553 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
4554 versions of Portland Group compiler produce single- and double-quoted
4555 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
4556 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4558 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
4560 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4561 This is a corrected version of yesterday's patch.
4563 2005-07-07 Stepan Kasal <kasal@ucw.cz>
4565 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
4566 path, too; insert a "===" to emphasize the line.
4568 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
4569 ac_cv_build_alias to ac_build_alias.
4570 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
4572 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
4573 change eliminates it. Problem reported by Alexandre Duret-Lutz.
4574 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
4575 (AC_ARG_VAR): ... here.
4576 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
4579 Keep a list of all precious variables and process them with one simple
4580 for loop, instead of expanding all commands, or, OTOH, complicated
4581 processing of output of "set".
4582 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
4583 variable names in new macro...
4584 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
4585 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
4586 a loop to assign all ac_env_* and ac_cv_env_* variables.
4587 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
4589 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
4590 its value to shell variable ac_precious_vars and call
4591 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
4592 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
4593 _AC_ARG_VAR_VALIDATE.
4595 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
4596 and the AC_SUBSTs ...
4597 (AC_INIT): ... here.
4599 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
4600 the ac_subst_files section in config.log.
4602 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
4604 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
4606 * NEWS: New macro AC_C_TYPEOF.
4607 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
4608 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
4609 * tests/c.at (C keywords): Test AC_C_TYPEOF.
4611 Fix problems reported by Nicolas Joly.
4612 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
4613 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4614 They are generated by the Tru64 v5.1B shell.
4616 2005-07-05 Stepan Kasal <kasal@ucw.cz>
4618 Fix my changes from 2005-07-01; reported by Noah Misch.
4619 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
4620 description, the macro now accepts only a single tag.
4621 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
4623 Fix cases when the varsions of Autoconf and Autotest don't match.
4624 Reported by Noah Misch.
4625 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
4626 at_top_builddir, for compatibility with older autotest.
4627 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
4628 is not set, use at_top_builddir, for compatibility with older
4629 versions of autoconf.
4631 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
4633 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
4634 Problem reported by Patrick Welche.
4636 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
4638 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
4639 sed substitution command, so that we allow | in program prefixes
4640 and program suffixes. (& is a problem anyway; we're not fixing
4642 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
4643 configure_input, top_builddir, srcdir, etc.
4644 * lib/autotest/general.m4 (AT_INIT): Likewise, for
4645 PATH_SEPARATOR in AUTOTEST_PATH.
4647 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
4649 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
4650 for loop over config.site files using `set', to allow
4651 directory names containing IFS characters.
4653 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
4655 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
4656 directories with weird names. Apparently some people like living
4657 on the edge. However, improve the test that "pwd" actually does
4658 report a name for the working directory.
4659 * NEWS: Remove the claim that we test for funny chars in dir names.
4661 2005-07-01 Stepan Kasal <kasal@ucw.cz>
4663 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
4665 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
4666 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
4667 Now accept a single tag, not whitespace separated list.
4668 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
4670 2005-06-30 Stepan Kasal <kasal@ucw.cz>
4672 * doc/autoconf.texi (Configuration Headers): Change the explanation
4673 about #include <config.h>.
4674 (Generic Functions): Mention the Gnulib project.
4675 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
4677 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
4678 document to output the default config_* lists to config.status.
4679 Don't recognize option --file, if the functionality is not there.
4680 Likewise for --header; moreover, recognize --he and --h as shortcuts
4681 for --help in that case.
4683 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
4684 matches the order of execution. No code changed.
4686 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4688 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
4689 single-quoted -cmdline argument in Portland Group compiler.
4690 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4692 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
4694 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
4696 2005-06-29 Stepan Kasal <kasal@ucw.cz>
4698 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
4699 descriptors to child processes; reported by Norman Gray.
4701 2005-06-29 Stepan Kasal <kasal@ucw.cz>
4703 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
4705 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
4706 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
4707 (AC_SUBST): Call it.
4708 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
4709 the directory specific variables; but don't call it for configure_input.
4711 2005-06-28 Derek Price <derek@ximbiot.com>
4713 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
4716 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
4718 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
4719 directory have inherent problems with special characters like spaces,
4720 due to limitations in Make syntax. Problem reported by Alexandre
4722 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
4723 Also, fix Tru64 porting problem with shell patterns,
4724 reported by Ralf Wildenhues.
4726 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4728 * doc/autoconf.texi (Subdirectories): Fix markup typos.
4730 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
4732 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
4734 Fix some more shell quoting problems. Prompted by a bug report
4735 from Justace Clutter.
4736 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
4737 variable into diagnostic. Make the diagnostic an error, not a warning,
4738 because we really don't support spaces and suchlike in dir names.
4739 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
4740 Don't worry about backslashes in srcdir; it can't happen now.
4741 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
4742 Simplify ac_optarg handling.
4743 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
4745 2005-06-22 Stepan Kasal <kasal@ucw.cz>
4747 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
4748 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
4749 * tests/atlocal.in: Propagate $EGREP and $SED.
4750 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
4751 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
4753 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
4754 that '\|' is not allowed in BREs; recommend using newline separated
4755 list of patterns instead of multiple -e options.
4757 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
4759 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
4761 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4763 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
4765 2005-06-21 Stepan Kasal <kasal@ucw.cz>
4767 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
4768 b, t, r, w commands require single space, while : cannot have any.
4769 (Special Shell Variables): Fix sed code this in the example.
4770 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
4771 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
4773 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
4774 expand to the empty list. Don't use two pairs of m4_changequote,
4777 2005-06-20 Derek Price <derek@ximbiot.com>
4779 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
4781 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
4783 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
4784 * doc/autoconf.texi:
4785 Don't mention Solaris versions so much, if a
4786 problem is common to all extant versions of Solaris. Say "SunOS
4787 4" instead of "SunOS" for SunOS 4.
4788 (awk): Mention more of the limitations of traditional Awk.
4789 (cat): Don't talk about cat -v.
4791 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
4793 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
4794 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
4795 but the implementation is entirely different and is designed
4796 to be compatible with glibc strverscmp.
4797 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
4799 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
4800 on Mac OS X 10.4 reported by Peter O'Gorman in:
4801 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
4802 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
4803 Use shell builtins rather than 'expr', to work around expr bug.
4805 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
4807 * doc/autoconf.texi: "filesystem" -> "file system".
4808 "behaviour" -> "behavior".
4809 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
4810 * lib/autoconf/general.m4: Omit blank after ":" sed command,
4812 * lib/m4sugar/m4sh.m4: Likewise.
4813 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
4814 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
4816 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
4817 (.x.1): Ignore the time stamp in the .TH line when deciding whether
4818 to update the man page. That way, we don't have to check in new
4819 man pages every month.
4821 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
4822 quotes and backslashes. Patch from Derek Price.
4824 2005-06-10 Derek Price <derek@ximbiot.com>
4826 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
4829 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
4831 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
4832 -u, since it outputs chatter if the input files are the same.
4833 Problem reported by Ralf Menzel.
4835 2005-06-08 Derek Price <derek@ximbiot.com>
4837 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
4838 renaming them since they are about to be redefined anyhow.
4840 2005-06-08 Derek Price <derek@ximbiot.com>
4842 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
4843 redefined M4 macros to this node. Document m4_include & m4_sinclude.
4844 Move m4_undefine to alphabetical order.
4846 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
4848 * README: Recommend GNU M4 1.4.3 or later.
4849 * doc/autoconf.texi (Introduction): Likewise.
4850 Reword to avoid some formatting glitches.
4851 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
4852 Clarify explanation of HP compiler bug.
4853 Redo example output tp match current CVS snapshot.
4854 Use @example.org in email addresses when the examples
4855 might get inadvertently cut-and-pasted into user code.
4856 Remove example of autom4te usage that doesn't seem to work now.
4857 Use modern AC_INIT (except when the example is meant to be
4858 shown with Autoconf 2.13).
4859 Update ksh info for Solaris 9 and later.
4861 Modernize description of Automake versions a bit.
4862 Don't claim a future version of Autoconf is near.
4863 * doc/install.texi: Reword to avoid some formatting glitches.
4865 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4867 * doc/autoconf.texi: Add [] to examples, so that the manual
4868 follows its own advice about quoting better.
4869 Reword to avoid some formatting glitches.
4870 * doc/installt.exi: Reword to avoid some formatting glitches.
4872 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
4873 Tru64 ksh pattern matching bug. Reported against Libtool by
4874 Albert Chin <libtool@mlists.thewrittenword.com> and
4875 Nicolas Joly <njoly@pasteur.fr>.
4877 2005-06-06 Stepan Kasal <kasal@ucw.cz>
4879 m4_cdr of one-member list was [[]] (one-member list containing an
4880 empty string) instead of [] (an empty list. Callers were skewed to
4881 match this misbehaviour. As a consequence of this:
4882 - m4_foreach([x], [], [foo]) expanded to `foo', while
4883 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
4884 This bug has been fixed:
4886 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
4887 expand to an empty string; print error msg if called without
4889 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
4890 misbehaviour; handle [] and [[]] correctly.
4892 2005-06-06 Stepan Kasal <kasal@ucw.cz>
4894 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
4895 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
4896 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
4898 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
4900 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
4901 swallow records with more than 99 fields.
4902 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
4903 parse the long line.
4905 2005-06-04 Stepan Kasal <kasal@ucw.cz>
4907 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
4908 swallow literals longer than 399. Reported by Ralf Wildenhues.
4909 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
4910 to workaround this limitation.
4912 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
4914 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
4915 to gfortran, and make these the first two compiler names
4916 checked (following the general autoconf preference for gcc).
4918 2005-06-03 Stepan Kasal <kasal@ucw.cz>
4920 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
4921 (DISTCLEANFILES): Remove $(check_SCRIPTS).
4922 (testsuite): Make sure autotest.m4f is up-to-date before using it.
4924 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
4926 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
4927 expression of unbounded size when processing the --list
4928 option. This runs afoul of a limit of 399 bytes per regular
4929 expression on AIX. Problem reported by Ralf Wildenhues.
4931 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
4933 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
4934 * doc/autoconf.texi (Particular Headers): Reword example
4935 for multiline stdbool replacement.
4936 (Setting Output Variables): Reword text a bit. Don't
4937 give all the details about |#_!!_#|.
4938 Reword description of line replacement.
4940 2005-05-31 Dan Manthey <dan_manthey@partech.com>
4942 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
4943 now contain newlines, and substituted files must be referenced on
4944 a line alone; the sed scripts to substitute them are now very
4946 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
4947 commands can be put in a sed script portably.
4948 * doc/autoconf.texi (Setting Output Variables): Document above
4949 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
4950 use of multiline substitution.
4951 * tests/torture.at: No longer expect substitution of newline to fail.
4953 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
4955 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
4956 From Ralf Menzel (trivial change).
4958 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
4960 * tests/local.at: Don't attempt to check for negated character
4961 classes in shell scripts. The test was too brittle.
4963 2005-05-25 Stepan Kasal <kasal@ucw.cz>
4965 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
4966 * doc/autoconf.texi (Limitations of Builtins): Document this
4969 2005-05-24 Stepan Kasal <kasal@ucw.cz>
4971 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
4972 common code; used in many places in the tree.
4973 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
4974 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
4976 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
4978 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
4979 messages when ac_unique_file is not found.
4980 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
4981 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
4982 commands, for consistency with AC_MSG_ERROR and such.
4984 * bin/autoconf.as: Make more use of "shift 2" in option processing.
4986 * bin/Makefile.am: Merge the two rules for creating scripts.
4988 2005-05-23 Stepan Kasal <kasal@ucw.cz>
4990 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
4991 obsolete; it was never documented.
4992 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
4994 2005-05-20 Stepan Kasal <kasal@ucw.cz>
4996 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
4997 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
4998 (ac_top_builddir): ... this ...
4999 (ac_top_build_prefix): ... to this; the old name is also kept, for
5000 backward compatibility.
5001 (ac_top_builddir_sub): New variable, without the trailing slash,
5003 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
5004 * doc/autoconf.texi (Configuration Actions): Rename
5005 ac_top_builddir to ac_top_build_prefix.
5006 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
5007 at_top_builddir to at_top_build_prefix.
5008 * lib/autotest/general.m4 (AT_INIT): Likewise.
5010 2005-05-20 Stepan Kasal <kasal@ucw.cz>
5012 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
5015 2005-05-17 Stepan Kasal <kasal@ucw.cz>
5017 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
5018 argument to m4_foreach. I guess it was necessary in the past,
5019 but I think it's a no-op now.
5021 2005-05-17 Stepan Kasal <kasal@ucw.cz>
5023 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
5024 ``cat <<_ACEOF'' commands to one.
5025 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
5026 * lib/autoconf/status.m4: On various places, use expr instead of
5028 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
5029 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
5030 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
5032 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
5033 the wrong patterns between ``case'' and ``esac.'' The previous
5034 code had false positives.
5036 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
5038 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
5040 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
5043 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
5045 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
5046 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
5047 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
5048 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
5049 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
5050 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
5051 config/config.guess, config/config.sub, config/elisp-comp,
5052 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
5053 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
5054 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
5055 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
5056 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
5057 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
5058 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
5059 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
5060 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
5061 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
5062 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
5063 lib/autoconf/general.m4, lib/autoconf/headers.m4,
5064 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
5065 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
5066 lib/autoconf/specific.m4, lib/autoconf/status.m4,
5067 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
5068 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
5069 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
5070 lib/autotest/general.m4, lib/emacs/Makefile.am,
5071 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
5072 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
5073 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
5074 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
5075 tests/compile.at, tests/foreign.at, tests/fortran.at,
5076 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5077 tests/semantics.at, tests/suite.at, tests/tools.at,
5078 tests/torture.at, tests/wrapper.as:
5079 Update FSF postal mail address.
5081 2005-05-13 Stepan Kasal <kasal@ucw.cz>
5083 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
5085 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
5086 enough arguments, similarly as in m4_bpatsubsts.
5088 2005-05-12 Stepan Kasal <kasal@ucw.cz>
5090 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
5093 2005-05-11 Stepan Kasal <kasal@ucw.cz>
5095 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
5096 for absolute directory names in one loop.
5097 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
5098 abbreviations of --version and --debug.
5100 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
5102 * doc/autoconf.texi (Autoconf Language): Be more precise about
5103 quoting rules. Problems noted by Stepan Kasal.
5104 Also, throughout this document, be more careful about white space.
5105 "blank", "white space", and "space" all have different meanings
5106 and we should be careful to say what we mean.
5108 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
5110 Fix C++ related problems reported by Werner Lemberg.
5111 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
5112 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
5113 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
5114 avoid problems with C++ and throw.
5115 * tests/compile.at: .cpp, not .cc.
5117 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
5119 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5121 * doc/autoconf.texi (Generic Functions): Typos.
5123 2005-05-02 Gary V. Vaughan <gary@gnu.org>
5125 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
5126 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
5127 set by latest automake.
5129 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
5131 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
5132 outputs 0 on GNU/Linux these days.
5134 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
5136 * doc/autoconf.texi (Autoconf Language): Add more description
5137 about quoting heuristics.
5138 (Limitations of Builtins): Describe "set -" problems.
5140 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5142 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
5145 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
5146 by AC_DEFINE; it was a mistake.
5147 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
5149 2005-04-25 Stepan Kasal <kasal@ucw.cz>
5151 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
5153 2005-04-22 Stepan Kasal <kasal@ucw.cz>
5155 * doc/autoconf.texi (External Software): Quadrigraphs are not
5156 processed correctly in AS_HELP_STRING; avoid this in the examples.
5157 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
5158 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
5159 comment and reduce m4_default([foo], []) to [foo].
5160 (m4_strip): Update the explanation.
5162 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
5164 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
5165 Remove core.conftest.* too; it's generated by Tru64 5.1.
5166 Problem reported by Jennis Pruett.
5167 * lib/autoconf/functions.m4
5168 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
5169 Don't bother to remove core files; AC_RUN_IFELSE should do that
5172 2005-04-19 Stepan Kasal <kasal@ucw.cz>
5174 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
5176 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
5178 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
5179 Report from Horst Wente.
5181 2005-04-15 Stepan Kasal <kasal@ucw.cz>
5183 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
5186 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
5188 * doc/autoconf.texi (External Software, Package Options): Add
5189 examples showing how to implement --with-* and --enable-* options.
5191 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
5193 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
5194 as well as configure.in. Problem reported by Gregorio Guidi.
5196 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
5198 * doc/autoconf.texi (Particular Functions): Use gnulib's current
5199 pattern for alloca snippet.
5201 2005-04-04 Stepan Kasal <kasal@ucw.cz>
5203 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
5205 2005-04-01 Stepan Kasal <kasal@ucw.cz>
5207 * doc/autoconf.texi (Generic Programs): Fix a typo.
5209 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
5211 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
5212 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
5214 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5216 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
5217 Merge `-z option' as well for the benefit of Solaris link flags. Pass
5218 whole-archive (-zallextract, -zdefaultextract) options in the hope of
5219 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
5220 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
5222 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
5224 * NEWS: The configure command now warns you if you attempt to use
5225 a directory whose name contains a special character like space,
5227 * doc/autoconf.texi (Installation Directory Variables): Allow
5228 "," in file names. Do not use \@; it's not a portable regexp.
5229 * bin/Makefile.am (edit): Likewise.
5230 * lib/Makefile.am (edit): Likewise.
5231 * tests/Makefile.am (edit): Likewise.
5232 * tests/semantics.at: Likewise.
5233 * tests/torture.at: Likewise.
5234 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
5235 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
5236 * doc/autoconf.texi (File System Conventions): Warn about
5237 unportable file names.
5238 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
5240 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
5241 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
5242 ac_pwd, and quote srcdir.
5243 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
5245 * doc/autoconf.texi: Fix some systematic formatting problems.
5246 ".)" needs a following @: if not at the end of a sentence, and
5247 similarly for "!)". "etc." should be preceded by a comma.
5248 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
5250 2005-03-22 Bruno Haible <bruno@clisp.org>
5252 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
5253 argument is often called 'build-aux'.
5255 2005-03-07 Stepan Kasal <kasal@ucw.cz>
5257 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
5258 macro AC_TRY_LINK is obsolete.
5259 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
5262 2005-02-24 Stepan Kasal <kasal@ucw.cz>
5264 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
5265 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
5266 from a Common Lisp's `cl'.
5267 (AC_PROG_CXX): Behave according to the documentation: don't
5268 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
5269 make the variable CCC precious; use `cl.exe', not `cl'.
5271 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
5272 Alexandre Duret-Lutz <adl@gnu.org>
5274 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
5275 /dev/null, as "configure" shouldn't read stdin, and this insulates
5276 us from problems (e.g., when testing for "cl"). Also, do this
5277 redirection before invoking "hostname" or "uname", and keep the
5278 original input stream available via...
5279 (AS_ORIGINAL_STDIN_FD): ... this new macro.
5280 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
5281 bother with "</dev/null" since it's now done at the top of
5283 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
5284 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5285 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5286 * doc/autoconf.texi (File Descriptor Macros): New section.
5287 (Printing Messages): Mention it.
5288 * tests/base.at (Input/Output): New test.
5290 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
5292 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
5293 newline if neither \c nor -n work, as that would output two
5294 newlines. Prefer -n to \c. Reported by Stepan Kasal.
5296 2005-02-12 Stepan Kasal <kasal@ucw.cz>
5298 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
5299 This causes that any required macros inside will get before the if.
5300 * doc/autoconf.texi (autom4te.cache): A typo.
5302 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
5304 Undo previous change, except keep the change to
5305 lib/autoconf/programs.m4 that replaced grep with shell
5306 pattern-matching. This is because net-snmp configure reads stdin.
5307 Reported by Noah Misch.
5309 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
5311 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
5312 from /dev/null, as "configure" shouldn't read stdin, and this
5313 insulates us from problems (e.g., when testing for "cl").
5314 Suggested by Alexandre Duret-Lutz. Also, do this redirection
5315 before invoking "hostname" or "uname".
5316 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
5317 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
5318 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
5319 "</dev/null" since it's now done at the top of 'configure'.
5320 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5321 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5322 Also, replace grep with shell pattern-matching, to save a process.
5324 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
5326 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
5327 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
5328 avoid thinking that Allegro Common Lisp's "cl" command is a C++
5331 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
5333 * doc/autoconf.texi (Limitations of Usual Tools): Document that
5334 grep -q isn't portable. Improve grep -s explanation.
5335 Problem reported by Dan Manthey.
5337 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
5339 * doc/autoconf.texi (Special Shell Variables): Clarify
5340 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
5342 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
5344 * doc/autoconf.texi: Use @acronym for DJGPP.
5345 Fix some @code's that should have been @env's, and vice versa.
5346 Sort environment variable names.
5347 Mention that shells no longer inherit IFS.
5348 Don't recommend PATH_SEPARATOR=';' so strongly.
5349 Mention that $RANDOM might expand to the empty string.
5350 "symlink" and "soft link" -> "symbolic link".
5351 Improve mktemp description (reported by Bruno Haible).
5353 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
5355 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
5356 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
5358 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
5361 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
5363 * NEWS: Mention AT_COPYRIGHT.
5365 * tests/local.at (AT_CMP): Use diff directly on input files rather
5368 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
5369 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
5371 2005-02-04 Noah Misch <noah@cs.caltech.edu>
5372 and Paul Eggert <eggert@cs.ucla.edu>
5374 * tests/autotest.at (Empty test suite): New test.
5375 * tests/torture.at (Substitute and define special characters)
5376 (Substitute a 2000-byte string, Define to a 2000-byte string)
5377 (Substitute a newline, Define a newline): New tests.
5379 2005-02-04 Noah Misch <noah@cs.caltech.edu>
5381 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
5382 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
5383 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
5384 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
5385 (Standard regular expressions): New test.
5386 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
5387 excess test name quoting.
5388 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
5389 CPPFLAGS to `configure' instead of setting it in `configure'.
5391 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
5392 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
5395 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
5396 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
5398 * tests/local.at (AT_CMP): New macro.
5399 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
5400 (AC_SAVE_STATE): Move environment grep...
5401 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
5402 (AT_CONFIG_CMP): New macro.
5403 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
5404 * tests/c.at (Extensions): Do not exit early.
5405 * tests/atlocal.in: Inherit $GREP.
5407 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
5408 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
5410 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
5411 (AC_COPYRIGHT): Factor header comment portion out and move into...
5412 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
5413 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
5414 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
5416 * tests/local.at: Add Autoconf test suite copyright notice.
5417 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
5419 2005-02-04 Bruno Haible <bruno@clisp.org>
5420 and Paul Eggert <eggert@cs.ucla.edu>
5422 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
5424 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
5426 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
5427 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
5429 Try not to generated lines of unlimited length, as POSIX places a
5430 2047-byte limit on line length of portable text files.
5431 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
5432 Use newline as a separator, not space.
5433 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
5434 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
5437 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5439 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
5440 as_func_*. Add test to check whether positional parameters
5441 are restored after function return.
5443 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
5445 * doc/autoconf.texi (Special Shell Variables): Mention _,
5446 BIN_SH, DUALCASE. Say that variables other than "status" are safe
5447 if they contain a lower-case letter. The DUALCASE problem was
5448 reported by Ralf Wildenhues.
5450 * bin/autoconf.as: Don't exit with status 0 after write failure
5451 with --help or --version.
5452 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
5453 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
5455 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5457 * doc/autoconf.texi (Limitations of Usual Tools):
5458 Unicos 9 sed limitations.
5459 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
5460 to get the option-enhanced interface on older Crays. Try ftn for
5461 Fortran 95 (newer Crays).
5463 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
5465 * man/Makefile.am (.x.1): Go back to the simple solution, but take
5466 care to echo the commands, so the user knows what's going on.
5467 Modified from a suggestion by Stepan Kasal.
5469 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
5470 with a cross reference. Derived from a suggestion by Bruce Korb.
5472 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
5474 * doc/autoconf.texi (config.status Invocation): Warn about
5475 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
5476 * doc/install.texi (Defining Variables): Likewise.
5477 Based on a proposed patch by Ralf Wildenhues.
5479 * man/Makefile.am (.x.1): Make sure the required generated files
5480 are up to date. Problem and original solution proposed by Stepan Kasal.
5481 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
5482 implicit-man-prerequisites): New rules, used by the above.
5484 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
5485 * config/config.guess, config/config.sub, config/install-sh: Likewise.
5486 * config/missing, config/texinfo.tex: Likewise.
5488 2005-01-29 Stepan Kasal <kasal@ucw.cz>
5490 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
5491 Update the long comment explaining it.
5493 m4_require no longer writes an ``is required by'' line to the
5494 execution stack. It contains only one bit of non-redundant
5495 information: that the macro was required, not called. And even
5496 this bit is useless in most situations: have you ever met a macro
5497 which both calls and requires the same macro?
5499 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
5500 (_m4_defun_pro_outer): ... only via this macro, for the outermost
5502 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
5503 (m4_expansion_stack_pop): Remove the misplaced comment.
5504 (m4_require): Don't put the ``is required by'' line to the
5505 execution stack; slightly improve the out-of-a-defun error message.
5506 (_m4_divert_grow): New macro, counter for the temporary diversions.
5507 (_m4_require_call): Use it.
5508 * tests/m4sugar.at (m4_require): Expect output without the
5509 ``is required by'' messages.
5511 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
5513 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
5514 rather than x for expr.
5516 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
5518 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
5519 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
5520 * lib/autotest/general.m4 (AT_INIT): Likewise.
5521 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
5522 * tests/mktests.sh: Likewise.
5524 2005-01-27 Akim Demaille <akim@epita.fr>
5526 Have autoheader honor --force.
5528 * doc/make-stds.texi, doc/standards.texi: Update from masters.
5529 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
5530 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
5531 from masters, so that FileUtils.pm's update_file provide --force
5533 * bin/autoheader.in: Pass $force to update_file so that
5534 config.h.in is always recreated when --force.
5536 2005-01-24 Stepan Kasal <kasal@ucw.cz>
5538 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
5540 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
5542 * doc/autoconf.texi (Limitations of Builtins): Clarify that
5543 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
5545 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
5547 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
5548 Warn about newline stripping in `` and $(). Update Solaris
5550 (Limitations of Builtins): Use expr "X...", not expr "x...", as
5551 X insulates us from future changes to Posix.
5552 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
5555 2005-01-19 Stepan Kasal <kasal@ucw.cz>
5557 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
5558 you cannot use AC_DEFINE to define macros containing `[' or `]'.
5560 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
5562 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
5563 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
5564 bug-tar mailing list.
5566 2005-01-05 Stepan Kasal <kasal@ucw.cz>
5568 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
5570 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
5572 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
5573 ulongval to be static, to avoid unwanted GCC warning. Problem
5574 reported by Michael Jennings via Daniel Reed; see
5575 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
5577 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
5579 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
5580 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
5581 datadir, infodir, and mandir. Adjust argument parsing code.
5582 (_AC_INIT_HELP): Update help text.
5583 * doc/autoconf.texi (Installation Directory Variables): Document
5586 2005-01-04 Noah Misch <noah@cs.caltech.edu>
5588 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
5589 not seem to work, assume it does set $(MAKE).
5590 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
5592 2005-01-03 Stepan Kasal <kasal@ucw.cz>
5594 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
5596 2005-01-03 Stepan Kasal <kasal@ucw.cz>
5598 A cleanup of the diversion support in m4sugar.
5600 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
5601 (_m4_divert_n_stack): New macro; the expansion is
5602 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
5604 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
5605 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
5606 stored in _m4_divert_diversion or _m4_divert_dump.
5607 (m4_divert_pop): When the parameter is given, compare the symbolic
5608 name with the last diversion pushed on the stack. Previously, the
5609 current diversion was compared with the numeric value of the
5610 diversion given as the parameter.
5611 (m4_require): If the macro hasn't been expanded yet, call ...
5612 (_m4_require_call): this new macro.
5614 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5616 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
5617 Workarounds for documented `case' limitations.
5619 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
5621 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
5622 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
5624 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
5626 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
5627 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5628 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
5630 Patch from Roger Leigh (with some minor changes) as follows:
5631 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
5632 Resurrect AC_PROG_CC_STDC.
5633 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
5634 AC_PROG_CC_C89, AC_PROG_CC_C99.
5635 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
5636 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
5637 AC_PROG_CC_C99): New macros.
5638 (AC_PROG_CC_STDC): Use them.
5639 (_AC_PROG_CC_STDC): Remove.
5640 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
5641 * THANKS: Add Roger Leigh.
5643 2004-12-30 Noah Misch <noah@cs.caltech.edu>
5645 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
5646 signals that the package uses Automake; a `Makefile.am' is typical but
5647 not essential. Reported by Magnus Therning.
5648 * tests/torture.at (autoreconf.): New banner.
5649 (autoreconf and non-AC configure): Rename to `Non-Autoconf
5651 (autoreconf an empty directory): Rename to `Empty directory'.
5652 (Unusual Automake input files): New test.
5654 2004-12-30 Noah Misch <noah@cs.caltech.edu>
5656 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
5657 (AT_SETUP): Clear AT_capture_files.
5658 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
5659 (AT_KEYWORDS): Fix comment typo.
5660 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
5661 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
5662 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
5664 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
5666 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
5667 If the variable to set is already set, set ac_cv_path_$1
5668 to the preset value so caller can assume ac_cv_path_$1
5669 is available. (trivial change)
5671 2004-12-27 Noah Misch <noah@cs.caltech.edu>
5673 * BUGS (Minor Problems): Warn about makefile limitations.
5674 * Makefile.am: Find and update `INSTALL' in $(srcdir).
5675 * man/Makefile.am: Find and update manual pages in $(srcdir).
5677 2004-12-24 Eric Blake <ebb9@byu.net>
5679 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
5680 shells in subshell, to avoid noise from ash. (trivial change)
5682 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5684 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5685 problems with SunOS ksh and backslash escaping, Bourne shells and
5686 closing brackets (both within character classes). Bug reported
5687 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
5688 <read>: New entry. Mention non-availability of -r.
5690 2004-12-21 Akim Demaille <akim@epita.fr>
5692 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
5693 avoid cluttering displayed messages. Rather, prepend srcdir where
5694 AT_LINE is used for log files.
5696 2004-12-21 Stepan Kasal <kasal@ucw.cz>
5698 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
5699 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
5700 no longer part of the macro, quote the occurrence of ``$tmp''.
5701 * doc/autoconf.texi (Forbidden Patterns): Typo.
5703 2004-12-21 Akim Demaille <akim@epita.fr>
5705 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
5706 separated from the test title by forcing a white space.
5708 2004-12-21 Akim Demaille <akim@epita.fr>
5710 Enable Emacs navigation within testsuite.log files.
5712 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
5713 use the compilation mode.
5714 (AT_LINE): Point to the srcdir.
5716 2004-12-19 Noah Misch <noah@cs.caltech.edu>
5718 * tests/Makefile.am (installcheck-local): Use $(bindir).
5719 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
5720 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
5721 Makefile.am scheme Autoconf now uses.
5723 2004-12-18 Noah Misch <noah@cs.caltech.edu>
5725 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
5726 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
5728 2004-12-18 Noah Misch <noah@cs.caltech.edu>
5730 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
5731 (_AT_CHECK): Use it.
5732 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
5733 (AS_ESCAPE): Fix comment.
5734 * tests/autotest.at: Adjust section banner comments.
5735 (AT_CHECK_AT): Accept STATUS and STDERR.
5736 (AT_CHECK_AT_TEST): Likewise.
5737 (Invalid brace-enclosed parameter expansion)
5738 (Multiline command from M4 expansion)
5739 (Double-M4-quoted command): New tests.
5741 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
5743 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
5745 2004-12-17 Akim Demaille <akim@epita.fr>
5747 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
5749 Suggested by Alexandre Duret-Lutz.
5750 * doc/autoconf.texi (Setting Output Variables): Catch up.
5752 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5754 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
5756 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5758 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
5759 remove the comment which said we cannot.
5761 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5763 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
5764 Reini Urban and Paul Eggert for reporting the dependencies.
5766 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
5767 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
5768 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
5770 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5772 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
5773 so that eg. ``autoscan --help'' doesn't truncate it.
5775 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
5777 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
5778 generated conftest files.
5780 2004-12-13 Noah Misch <noah@cs.caltech.edu>
5782 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
5783 tracing on commands with possibly-escaped newlines.
5784 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
5785 discontinued behavior and its implications.
5786 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
5787 (BSx641-newline in command, BS-BS-newline in command)
5788 (BSx640-newline in command, Newline-CODE-BS-newline in command)
5789 (Single-quote-BS-newline in command)
5790 (Single-quote-newline-BS-newline in command): New tests.
5792 2004-12-13 Stepan Kasal <kasal@ucw.cz>
5794 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
5795 on platforms where it works.
5796 (_AS_TEST_PREPARE): Test for ``test -x''.
5797 (_AS_BROKEN_TEST_PREPARE): Nuke.
5799 2004-12-13 Stepan Kasal <kasal@ucw.cz>
5801 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
5802 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
5803 give only 4-letter prefix to AS_TMPDIR, comment fixed.
5804 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
5805 create the temporary directory.
5806 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
5808 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
5810 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
5813 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
5815 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
5817 2004-12-11 Noah Misch <noah@cs.caltech.edu>
5819 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
5820 to avoid using a negated character class. Reported by Nicolas Joly.
5821 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
5823 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
5825 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
5826 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
5827 Don't depend on .x file explicitly, since "make" does that for us.
5828 Suggested by Stepan Kasal.
5830 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
5832 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
5833 ifnames): Factor common code. And they said it couldn't be done!
5835 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
5837 * bin/.cvsignore: Add autoconf.in.
5838 * tests/.cvsignore: Add wrapper.in.
5839 * lib/autotest/general.m4: Escape '$' in case pattern.
5841 2004-12-09 Noah Misch <noah@cs.caltech.edu>
5843 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
5845 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
5847 * tests/autotest.at: New file.
5848 * tests/suite.at: Include it.
5849 * tests/Makefile.am: Distribute it.
5851 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
5852 shell tracing on a command that could contain multiple lines.
5853 * doc/autoconf.text: Document that fact and its implications.
5854 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
5855 * tests/autotest.at (Multiline backquote command substitution,
5856 Multiline parameter expansion, Literal multiline command,
5857 Multiline parenthetical command substitution): Remove XFAIL.
5859 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
5861 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
5862 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
5864 2004-12-08 Noah Misch <noah@cs.caltech.edu>
5866 * configure.ac (test suite): Cease to generate wrapper scripts.
5867 * configure: Regenerate.
5868 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
5869 (m4f_dependencies): Adjust accordingly.
5870 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
5871 (wrapper.in): Generate it in the build directory.
5872 (MAINTAINERCLEANFILES): Delete wrapper.in.
5873 (CLEANFILES): Add wrapper.in.
5874 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
5875 the output. Replace each $as_me with a @wrap_program@.
5876 * tests/wrapper.in: Delete it; we always build it.
5878 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
5879 (EXTRA_DIST): Remove autoconf.in.
5880 (CLEANFILES): Add autoconf.in.
5881 (autoconf): Find autoconf.in in the build directory.
5882 * bin/autoconf.in: Delete it; we always build it.
5884 2004-12-08 Noah Misch <noah@cs.caltech.edu>
5886 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
5887 PATH members so as to not prepend an empty element. Move a comment.
5888 * Makefile.am (SUBDIRS): Build in `tests' last.
5889 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
5891 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
5893 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
5894 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
5895 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
5896 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
5898 2004-12-07 Stepan Kasal <kasal@ucw.cz>
5900 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
5903 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
5905 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
5906 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
5907 * doc/autoconf.texi (Particular Functions): Mention new behavior.
5909 2004-12-03 Stepan Kasal <kasal@ucw.cz>
5911 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
5912 out the common code to ...
5913 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
5914 value of the #define--default to 1, iff the macro was called
5915 with exactly one parameter.
5917 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
5919 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
5920 "char c = '\200';" rather than "char c = 0x80;" as the
5921 latter doesn't conform to the strict C standard due to
5922 overflow on signed char hosts.
5924 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
5925 to -qlanglvl=ansi. We don't want to disable extensions.
5927 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
5929 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
5930 (Using Autotest, testsuite Scripts, Writing testsuite.at):
5931 Reword slightly to avoid some English-language problems noted
5932 by Ralf Wildenhues in:
5933 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
5935 2004-11-29 Stepan Kasal <kasal@ucw.cz>
5937 * NEWS: Add ^L above each release.
5939 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
5941 Fix documentation problems reported by Russ Boylan in
5942 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
5943 along with some nearby cruft.
5944 * doc/autoconf.texi (Libtool): Libtool can be used without
5945 Automake (not without Autoconf).
5946 (Introduction): Mention lists.gnu.org.
5947 * BUGS: Don't mention bugs.gnu.org.
5948 Remove mention of ancient libtool compatibility problem.
5949 * NEWS: Mention that bugs.gnu.org is kaput.
5950 * README: Likewise. Mention where mailing list archives can be found.
5952 2004-11-28 Stepan Kasal <kasal@ucw.cz>
5954 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
5956 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
5958 * doc/autoconf.texi (Pretty Help Strings): Go back to
5959 single-quoting assignments to cache variables.
5961 2004-11-23 Stepan Kasal <kasal@ucw.cz>
5963 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
5964 with the examples; fix the bug in MY_ARG_WITH example reported
5965 by Alexandre Duret-Lutz.
5966 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
5967 expansion of $1 in the comment emitted to configure.
5969 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
5971 * doc/autoconf.texi (Pretty Help Strings): Fix typo
5972 in my editing of the previous patch. Problem reported
5973 by Alexandre Duret-Lutz.
5975 2004-11-22 Stepan Kasal <kasal@ucw.cz>
5977 * doc/autoconf.texi (Autoconf Language): Explain that
5978 ``descriptions'' may not be double quotes.
5979 (Quotation Rule Of Thumb): Likewise.
5980 (Pretty Help Strings): Likewise; remove the wrong comment;
5981 simplify the examples and improve their quoting.
5983 2004-11-13 Stepan Kasal <kasal@ucw.cz>
5985 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
5986 the $1_found variable, don't test whether the file is executable;
5987 Both things are checked ...
5988 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
5989 the former ``test -f''.
5990 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
5992 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
5994 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
5997 2004-11-10 Derek R. Price <derek@ximbiot.com>
5999 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
6000 limitations. Reorder paragraphs for clarity.
6002 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
6004 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
6005 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
6006 variants", "Unix", and some related minor wording fixups.
6008 (Shellology, Special Shell Variables): Document that the Zsh
6009 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
6010 to Alexandre Duret-Lutz for this info.
6012 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
6014 * doc/autoconf.texi (One-Shot Macros): New node.
6016 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
6018 * doc/autoconf.texi (Function Portability): Fix misdescription
6019 of putenv. Problem reported by Michael Wardle.
6021 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
6023 * doc/autoconf.texi (auindex): New macro.
6024 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
6025 Problem reported by Stepan Kasal.
6027 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
6029 Fix problems reported by Andreas Buening in:
6030 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
6031 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
6033 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
6034 readable; it's not true in OS/2-emx.
6036 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
6038 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
6039 "/usr/include", clear ac_x_includes instead of leaving it as "no"
6040 (trivial change). Problem and patch reported by Andrew Church in:
6041 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
6043 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
6045 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
6046 three args in examples. Problem reported by Frederik Fouvry in:
6047 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
6048 Also, fix some minor spacing and punctuation bugs.
6050 2004-09-02 Akim Demaille <akim@epita.fr>
6052 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
6053 "case" to restore ordering.
6054 Reported by Stepan Kasal.
6056 2004-08-26 Akim Demaille <akim@epita.fr>
6058 * doc/autoconf.texi: Minor typos and stylos.
6060 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
6062 * configure.ac (AC_INIT): Bump to 2.59c.
6064 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
6068 * README: Add advice about m4 1.4.2.
6070 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
6071 texinfo.tex for now (done by hand now).
6072 * Makefile.maint (wget_files, cvs_files):
6073 Remove ansi2knr.c; nobody uses it.
6074 (ansi2knr.c-url_prefix): Remove.
6075 (cvs-update): Fix test for failure. I don't know why it ever
6078 * doc/autoconf.texi: Update URLs, some of which went stale.
6079 Use @uref rather than @href.
6081 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
6082 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
6084 * config/config.guess, config/config.sub, config/elisp-comp,
6085 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
6086 doc/fdl.texi, doc/standards.texi: Sync with master copy.
6088 * NEWS, TODO, configure.ac, bin/autoscan.in,
6089 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
6090 doc/install.texi, lib/Autom4te/Configure_ac.pm,
6091 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
6092 lib/autoconf/programs.m4, lib/autoconf/status.m4,
6093 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
6094 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
6095 tests/tools.at, tests/torture.at:
6096 Use "file name" rather than "filename" or "path",
6097 to be consistent with the terminology of the GNU coding standards.
6099 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
6101 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
6102 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
6103 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
6104 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
6106 More fixes to support spaces in the name of the build directory.
6107 This isn't a complete fix but it's an improvement.
6109 * bin/autoconf.as (autom4te_options): New var.
6110 Use it instead of appending to AUTOM4TE, so that we can allow
6111 spaces in the build directory's absolute name.
6112 * bin/autoheader.in ($autoconf): Allow spaces in file names.
6113 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
6114 AT_CHECK_NOESCAPE): Likewise.
6115 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
6116 main program): Likewise.
6118 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
6120 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
6121 From Ralf Corsepius in:
6122 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
6124 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
6126 * doc/autoconf.texi (Function Portability): Document isinf and
6127 and isnan. From a suggestion by Kevin Ryde.
6129 * lib/Autom4te/General.pm (END): Return correct exit status even
6130 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
6132 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
6134 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
6135 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
6136 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
6138 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
6140 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
6141 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
6142 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
6143 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
6144 * lib/autom4te.in (Automake-preselections): Preselect
6145 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
6147 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
6149 * lib/autom4te.in (Automake-preselections): Preselect
6150 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
6153 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
6155 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
6157 * doc/autoconf.texi (Shellology): Mention BIN_SH.
6158 Document problem with "`""`" in pdksh POSIX mode.
6160 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
6162 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
6163 with pdksh, too. Problem reported by Patrick Welche via
6165 * doc/autoconf.texi (Shellology): Note that set -o posix is
6166 useful for pkdsh, too.
6168 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
6170 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
6171 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
6172 Don't fail if ENV or BASH_ENV is readonly.
6173 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
6174 etc. are read only. Problem reported by Ludovic Courtes.
6176 2004-06-23 Noah Misch <noah@cs.caltech.edu>
6178 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
6179 zsh, disable GLOB_SUBST to avoid backslash handling problems.
6182 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
6184 * doc/autoconf.texi (File System Conventions): Warn about
6185 names like "aux". Problem reported by Eric Blake.
6187 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
6188 by zero instead of array size, so that we can use any arithmetic
6189 constant expression (instead of requiring an integer constant
6190 expression). This allows us to test expressions like DBL_MAX <
6191 LDBL_MAX, which didn't conform to the C standard using the old
6193 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
6194 now that we can do floating-point tests at compile time.
6196 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
6198 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
6199 and LDBL_EPSILON, as the resulting expression isn't an
6200 integer constant expression and violates the C standard.
6201 Problem reported by Nelson H. F. Beebe. Also, check
6202 for "L" suffix, and check that long double doesn't have
6203 worse range or precision than double, that mixed-mode
6204 arithmetic doesn't generate a diagnostic, that double
6205 constants fit in long double.
6207 2004-06-03 Kevin Ryde <user42@zip.com.au>
6209 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
6210 malloc(0) and realloc(NULL,size).
6212 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
6215 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
6217 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
6218 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
6221 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
6223 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
6224 can be rewritten using if-then-else. Suggested by Bruno Haible.
6226 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
6228 * doc/autoconf.texi (testsuite Scripts): Fix typo.
6229 Problem reported by Stepan Kasal.
6231 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
6233 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
6234 change). Patch reported by Ralf Wildenhues in
6235 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
6237 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
6238 function F exists if the compiler and linker let you compile an
6239 expression like (F != 0). Recent versions of GCC optimize away
6240 the reference to F in that case, since every function address must
6241 be nonzero, so the link succeeds even if F does not exist.
6242 Problem reported by Manu in
6243 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
6245 * doc/autoconf.texi (Systemology): Standardize on the spelling of
6246 "Unix". Many uses changed.
6247 (Limitations of Builtins): Explain better why the ! command isn't
6250 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
6252 * lib/autom4te.in (Automake-preselections): Preselect
6253 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
6255 2004-05-19 Kevin Ryde <user42@zip.com.au>
6257 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
6258 referencing AC_FUNC_STRERROR_R.
6260 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
6261 note pessimistic assumption when cross compiling.
6263 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
6265 * doc/autoconf.texi (Limitations of Make): Note that BSD make
6266 (until 2004) invoked subcommands with sh -e, contra POSIX.
6267 Reported by Kevin Ryde.
6269 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
6271 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
6272 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
6273 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
6274 `test -f " /usr/bin/grep"', which _always_ failed.
6275 (AC_PROG_SED): Ditto bogus PATH fix.
6276 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
6277 requires that grep correctly supports _multiple_ `-e' options, rather
6278 than stating only that grep should accept `-e'.
6280 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
6282 Port to C99, which requires that 'exit' be declared.
6284 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
6285 to ensure that stdlib.h is included.
6286 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
6287 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
6288 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
6289 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6290 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
6291 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
6292 when using 'exit' in a test; C99 requires that 'exit' be declared.
6294 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
6296 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
6297 now prefers 'grep' implementations that accept -e.
6298 (Limitations of Usual Tools): Describe problems of traditional
6299 egrep and fgrep with long input lines, and of traditional grep
6301 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
6302 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
6303 All callers changed. Append /usr/xpg4/bin to the PATH, for
6305 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
6306 the user with complaints about multiple -e options.
6307 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
6308 Define it with AC_PROG_GREP.
6309 * configure.ac (AC_PROG_GREP): Add.
6310 * lib/freeze.mk (GREP): New macro.
6312 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
6314 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
6315 a possible candidate only after all others fail, rather than
6316 consulting it first. This improves backward compatibility by
6317 better reflecting the way shell selection occurred in previous
6318 versions of Autoconf, and should help to avoid triggering latent
6319 problems in other packages, such as the one in Automake where zsh
6320 is not handled robustly:
6321 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
6322 Although it is not Autoconf's responsibility to work around
6323 problems in Automake, it nevertheless makes sense to avoid
6324 introducing unnecessary incompatibilites.
6326 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
6327 Gary V. Vaughan <gary@gnu.org>
6329 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
6330 how deeply nested we are when a suitable tool is found, set the
6331 ac_path_TOOL_found flag.
6332 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
6333 nested we are in this macro. Break out of all 3 nested loops if
6334 ac_path_TOOL_found is set.
6336 2004-04-21 Gary V. Vaughan <gary@gnu.org>
6338 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
6339 of the _AS_PATH_WALK loop too if GNU flavor is found.
6341 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
6343 * doc/autoconf.texi (Limitations of Make): Update documentation
6344 for `$<'. New entry `Long lines', based on a report from Simon
6345 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
6346 paragraph about DJGPP, based on a mail from Richard Dawe.
6348 2004-04-20 Paul Eggert <eggert@twinsun.com>
6350 * tests/c.at (C keywords): Don't assume that GCC supports
6351 "restrict" and "inline", as sufficiently-old GCC versions do not
6352 (also, GCC configured to be in pedantic C89 mode does not).
6353 Problem reported by Sumit Pandya in:
6354 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
6356 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
6357 consider -g to work if it generates warnings when plain compiles
6358 don't. Problem reported by Braden McDaniel in:
6359 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
6361 * doc/autoconf.texi (Slashes): New section, to document a problem
6362 reported by Jim Meyering in:
6363 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
6365 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
6366 linker output files before linking, to work around IRIX 6 linker bug.
6367 Problem reported by Rainer Orth in:
6368 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
6370 2004-04-20 Gary V. Vaughan <gary@gnu.org>
6372 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
6373 best tool so far counter rely on the tool path variable name to
6374 avoid checks for one tool being affected by the results of running
6375 the length check on a previous tool.
6377 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
6378 match expression argument, as different greps have different
6379 regular expression flavours.
6380 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
6382 (AC_PROG_EGREP): Pass 'EGREP$'.
6383 (AC_PROG_GREP): Pass 'GREP$'.
6385 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
6387 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
6388 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
6390 2004-03-29 Paul Eggert <eggert@twinsun.com>
6392 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
6393 Types, Specific Compiler Characteristics, System Services,
6394 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
6395 etc. consistently instead of 'long', 'short', 'unsigned' etc.
6396 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
6397 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
6399 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
6400 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
6401 AC_TYPE_OFF_T): Likewise.
6402 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
6405 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
6406 pacify libtool 1.5.2. Fix quoting problems in sed command.
6408 2004-03-28 Paul Eggert <eggert@twinsun.com>
6410 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
6411 now defines HAVE_DECL_TZNAME if it is declared, when
6412 HAVE_STRUCT_TM_TM_ZONE is not defined.
6413 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
6414 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
6417 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
6419 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
6420 superfluous backslashing of quotes (") in sed expressions;
6421 thanks to Paul Eggert.
6423 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
6425 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
6426 Fortran compiler is ifort, also added pghpf; thanks to Nelson
6427 H. F. Beebe for the bug report.
6429 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
6431 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
6432 quoted -cmdline argument in Portland Group compiler (bug
6433 reported by Jeffrey J. Barteet).
6435 2004-03-25 Kevin Ryde <user42@zip.com.au>
6437 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
6438 (Run Time): ... here, where it's now mentioned.
6440 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
6442 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
6443 inherits from language Autoconf-without-aclocal-m4.
6444 (Customizing autom4te): Adjust example; the cache must now be
6445 disabled for language Autoconf-without-aclocal-m4.
6447 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
6448 Nathanael Nerode <neroden@twcny.rr.com>
6450 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
6451 AC_CHECK_TOOLS): Warn if a cross-tool is found without
6453 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
6454 AC_CHECK_TARGET_TOOLS): New macros.
6455 * doc/autoconf.texi (Generic Programs): Document
6456 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
6457 AC_CHECK_TARGET_TOOLS, and warn for future changes
6458 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
6460 (Specifying Names): Document the reason for these future
6462 * tests/mktests.sh: Do not generate tests for the
6464 * NEWS: Document these changes.
6466 * doc/autoconf.texi: Avoid macros with unbraced arguments,
6467 they make TeX hang up.
6469 2004-03-15 Paul Eggert <eggert@bogus.example.com>
6471 * NEWS: New macro AC_CHECK_ALIGNOF.
6472 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
6473 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
6474 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
6476 (AC_CHECK_ALIGNOF): New macro.
6477 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
6478 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
6481 2004-03-03 Paul Eggert <eggert@twinsun.com>
6483 * bin/Makefile.am (edit): Don't use $< in a context where
6484 POSIX doesn't require support for it. Use $@.in instead.
6485 Problem reported by Anthony N. Frasso in
6486 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
6487 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
6489 2004-02-23 Gary V. Vaughan <gary@gnu.org>
6491 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
6492 from the next generation of Libtool.
6493 * lib/autom4te.in (Autoreconf-preselections): Ditto.
6495 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
6497 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
6498 is not always thread-safe. Report from Nathanael Nerode.
6500 2004-02-18 Paul Eggert <eggert@twinsun.com>
6502 Fix a dependencies problem, stemming from a Autoconf 2.59 build
6503 problem on QNX reported by Stephen Rasku in
6504 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
6506 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
6507 $(m4sh_m4f_dependencies); this removes a FIXME.
6508 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
6509 (MAINTAINERCLEANFILES): Split into pieces,
6510 one per related section. Add $(srcdir)/wrapper.in.
6512 2004-02-09 Paul Eggert <eggert@twinsun.com>
6514 * doc/autoconf.texi (Setting Output Variables): Emphasize that
6515 AC_SUBST provides no portable way to escape literal newlines.
6517 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
6518 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
6519 Darwin uses -lcrt2.o and there's little point to cataloging all
6520 the system variants. Partial fix reported by Andreas Waechter in:
6521 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
6522 for bug reported by Nelson H. F. Beebe in:
6523 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
6525 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
6527 * doc/autoconf.texi (AU_DEFUN): Fix English,
6528 suggested by Paul Eggert.
6529 * lib/autoconf/autoupdate.m4: Correct reference to
6530 acobsolete.m4, suggested by Alexandre Duret-Lutz.
6532 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
6534 * bin/autoupdate.in: Define __file__ so that warnings
6535 refer to the correct file.
6536 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
6537 the behavior of the third argument.
6538 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
6539 correctly the behavior of the third argument. Document
6540 what the three macros that AU_DEFUN defines do. Fix
6541 warning message when the third argument includes $0
6542 (reported by Alexandre Duret-Lutz).
6544 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
6545 Eric Sunshine <sunshine@sunshineco.com>
6546 Paul Eggert <eggert@twinsun.com>
6548 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
6549 (AS_INIT): Output shell initialization there. Removed optional
6550 parameter. Expand _AS_SHELL_FN_SPY.
6551 (AS_INIT_WITH_SHELL_FN): Removed.
6552 (_AS_SHELL_FN_SPY): New macro.
6553 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
6555 (AS_SHELL_SANITIZE): Remove loop to find better shell
6556 and documentation for the parameter.
6557 (_AS_DETECT_BETTER_SHELL): Move it here.
6558 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
6559 (_AS_RUN): Move it here, support testing with eval.
6560 (AS_REQUIRE_SHELL_FN): Require shell functions when
6562 (_AS_LINENO_WORKS): Put around braces, we do not
6563 trigger the bash bug anymore.
6564 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
6565 use AS_INIT_WITH_SHELL_FN.
6566 * bin/autoconf.in, tests/wrapper.in: Regenerated.
6568 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
6570 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
6571 * doc/autoconf.texi: Don't say that the third parameter
6573 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
6574 (AU_DEFUN): Honor the third parameter, create autoupdate
6575 macros with AU_DEFINE.
6576 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
6577 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
6578 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
6579 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
6580 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
6581 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
6582 AC_XENIX_DIR): Likewise.
6583 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
6584 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
6585 * lib/autoconf/status.m4: Remove FIXME.
6586 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
6587 that the macro is not present anymore in the updated
6589 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
6592 2004-01-28 Paul Eggert <eggert@twinsun.com>
6594 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
6596 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
6597 2003 (except 1997) to the list of copyright years. This undoes
6598 the 2003-05-22 change, which removed the older years from the list.
6599 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
6601 2004-01-27 Gary V. Vaughan <gary@gnu.org>
6602 Albert Chin-A-Young <china@thewrittenword.com>
6604 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
6605 grep or ggrep program in PATH that accepts as long lines as
6607 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
6609 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
6610 egrep and fgrep respectively if $GREP -E/-F don't work.
6611 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
6612 _AC_PROG_GREP, and AC_PROG_SED.
6613 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
6614 longest input length accepted by a command.
6615 (AC_PROG_SED): Use it.
6616 * doc/autoconf.texi (Particular Programs): Document the changes.
6619 2004-01-27 Paul Eggert <eggert@twinsun.com>
6621 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
6622 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6623 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
6624 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
6626 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
6627 bin/autoconf.in, config/Makefile.in, config/config.guess,
6628 config/config.sub, config/install-sh, config/mdate-sh,
6629 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
6630 lib/Makefile.in, lib/Autom4te/Makefile.in,
6631 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
6632 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
6633 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
6634 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
6635 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
6636 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
6637 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
6638 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
6639 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
6640 tests/actypes.at: Regenerate and/or sync with original
6643 2004-01-26 Paul Eggert <eggert@twinsun.com>
6645 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
6646 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
6647 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
6648 not <inttypes.h>. Problem reported by Tim Mooney in
6649 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
6650 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
6653 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
6654 otherwise "make check" fails because it forbids cmp (I guess
6655 because cmp treats files as binary on DOS-like systems).
6657 * tests/mktests.sh: Update copyright date to 2004, since some tests
6658 have changed in 2004.
6660 2004-01-23 Gary V. Vaughan <gary@gnu.org>
6662 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
6663 non-truncating sed or gsed program in PATH.
6664 * tests/acprograms.at: Add it.
6665 * doc/autoconf.texi (Particular Programs): Document it.
6668 2004-01-15 Paul Eggert <eggert@twinsun.com>
6670 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
6671 -std1 disables some useful extensions on Tru64. Problem reported
6673 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
6675 2004-01-14 Paul Eggert <eggert@twinsun.com>
6677 * doc/autoconf.texi (Programming in M4sh): Document that
6678 AS_MKDIR_P succeeds if the destination is a symbolic link
6679 to an existing directory.
6680 (Limitations of Usual Tools): Note that mkdir -p might not
6681 succeed on symlinks to directories.
6683 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
6685 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
6686 * bin/autoheader.in: Grammar fix in message.
6687 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
6688 Test for dir before calling mkdir -p. (trivial changes)
6690 2004-01-13 Eric Blake <ebb9@byu.net>
6692 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
6693 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
6695 2004-01-10 Jim Meyering <jim@meyering.net>
6697 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
6699 2004-01-09 Paul Eggert <eggert@twinsun.com>
6701 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
6702 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
6703 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
6704 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
6705 AC_COMPILE_IFELSE, since we now assume our caller invokes
6706 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
6707 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
6708 of AC_RUN_IFELSE; this avoids the warning mentioned above.
6709 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
6711 2004-01-07 Paul Eggert <eggert@twinsun.com>
6713 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
6714 `"'...'"`, as it's confusing (and I suspect it may not work on
6715 some platforms). The code was incorrect anyway, as it assumed
6716 that \$ evaluated to itself in that context. Reported by
6717 Alexandre Duret-Lutz.
6719 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
6721 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
6722 and _LT_AC_TAGCONFIG.
6724 2004-01-06 Paul Eggert <eggert@twinsun.com>
6726 * doc/autoconf.texi (One Macro Call): Fix an incorrect
6727 example, and add more examples. Reported by Eric Sunshine.
6729 2004-01-05 Paul Eggert <eggert@twinsun.com>
6731 * doc/autoconf.texi (Limitations of Usual Tools):
6732 Remove warning against "rm -fr" introduced yesterday; it
6735 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
6736 autoscan, autoupdate, ifnames): Don't use chmod -w.
6737 * lib/Makefile.am (autom4te.cfg): Likewise.
6738 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
6741 2004-01-04 Paul Eggert <eggert@twinsun.com>
6742 Paolo Bonzini <bonzini@gnu.org>
6744 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
6745 by doing lineno substitution only on lines containing "$LINENO".
6747 2004-01-04 Paul Eggert <eggert@twinsun.com>
6749 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
6750 Use "rm -f" to remove conftest.sed, not plain "rm".
6751 Bug reported by David Relson in
6752 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
6754 * Makefile.am (autom4te-update):
6755 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
6756 * Makefile.maint (my-distcheck, do-po-update): Likewise.
6757 * doc/autoconf.texi (Guidelines): Likewise.
6758 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
6759 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
6760 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6761 * lib/autotest/general.m4 (AT_INIT): Likewise.
6762 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
6763 * tests/Makefile.am (clean-local): Likewise.
6764 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
6766 * doc/autoconf.texi (Limitations of Usual Tools):
6767 Warn against "rm -fr".
6769 2004-01-03 Paul Eggert <eggert@twinsun.com>
6771 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
6772 -c -o might not work. From a suggestion by Kevin Ryde.
6773 (C Compiler, Generating Sources, Limitations
6774 of Usual Tools, Limitations of Make, Making testsuite Scripts):
6775 Don't put '-o' after non-options, as POSIX doesn't allow this.
6776 Mention that cc's name might be gcc or c89 or whatever.
6778 2004-01-04 Kevin Ryde <user42@zip.com.au>
6780 * doc/autoconf.texi: Add various further index entries.
6782 2003-12-29 Paul Eggert <eggert@twinsun.com>
6784 * bin/autoreconf.in (autoreconf_current_directory):
6785 Fix typo: mkdir without umask arg.
6787 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
6789 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
6790 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
6791 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
6792 explanation clearer.
6794 2003-12-24 Andreas Schwab <schwab@suse.de>
6796 * doc/autoconf.texi (Default Includes): Fix misspelling of
6797 AC_INCLUDES_DEFAULT.
6799 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
6801 * configure.ac: Test if sh -n works.
6802 * configure: Regenerate.
6803 * tests/atlocal.in: Store the result here.
6804 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
6805 tools.at, looking in atlocal's ac_cv_sh_n_works instead
6806 of explicitly testing.
6807 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
6808 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
6809 * tests/tools.at (Syntax of the shell scripts): Simplify
6810 using AT_CHECK_SHELL_SYNTAX.
6811 (Syntax of the Perl scripts): Remove definition of
6812 AT_CHECK_PERL_SYNTAX.
6814 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
6816 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
6817 stderr to /dev/null.
6818 * bin/autoconf.in: Regenerate.
6819 * bin/wrapper.in: Regenerate.
6821 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
6823 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
6824 Extracted from AS_SHELL_SANITIZE.
6825 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
6827 (AS_SHELL_SANITIZE): Move reinvocation code from
6828 _AS_LINENO_WORKS, use it to find out if shell
6830 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
6832 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
6833 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
6835 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
6836 * bin/autoconf.in: Regenerate.
6837 * tests/wrapper.in: Regenerate.
6838 * tests/tools.at: Test the syntax of tests/autoconf
6839 and tests/testsuite.
6841 2003-11-24 Akim Demaille <akim@epita.fr>
6843 * config/announce-gen (&print_locations, &print_signatures)
6846 No longer rely on Gnus to inline the list of signatures: compute
6849 2003-11-24 Akim Demaille <akim@epita.fr>
6851 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
6852 override some files.
6853 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
6854 From Debian Autoconf 2.58.
6856 2003-11-24 Akim Demaille <akim@epita.fr>
6858 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
6860 From Debian Autoconf 2.58.
6862 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6864 * TODO: Remove already done things. Update the part about finding
6865 tools for the target.
6867 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6869 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
6870 Make wording more consistent.
6871 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6872 Explain the transition better.
6873 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
6874 the transition better.
6876 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6878 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
6879 parameter of AU_DEFUN.
6880 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
6881 (AU_DEFUN): Remove the third parameter, it was not used.
6882 Use AC_DEFUN directly, not AU_DEFINE.
6883 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
6884 the expanded body, consistently with other macros such as AC_USG.
6886 2003-11-17 Paul Eggert <eggert@twinsun.com>
6888 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
6889 into the initial confdefs.h, to work around a bug in NextStep 3.3
6890 patch 3 reported by Eric Sunshine.
6892 2003-11-15 Kevin Ryde <user42@zip.com.au>
6894 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
6895 than $target since the latter is not usual, add guidelines on when to
6896 use or not use the system type.
6898 2003-11-12 Derek Price <derek@ximbiot.com>
6900 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
6901 typo misrepaired by an auto-spellcheck.
6903 2003-11-12 Akim Demaille <akim@epita.fr>
6905 * bin/autoreconf.in (&parse_args): Don't call automake with
6906 --force-missing unless it actually supports it.
6907 From Debian #219336.
6909 2003-11-12 Akim Demaille <akim@epita.fr>
6911 * configure.ac: Bump to 2.59a.
6914 2003-11-06 Akim Demaille <akim@epita.fr>
6918 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
6920 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
6921 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
6922 and ac_abs_top_srcdir are absolute paths.
6923 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
6925 2003-11-05 Akim Demaille <akim@epita.fr>
6927 * configure.ac: Bump to 2.58a.
6929 2003-11-05 Kevin Ryde <user42@zip.com.au>
6931 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
6932 it provokes a warning from makeinfo about looking like a cross
6933 reference in info output.
6935 * doc/autoconf.texi (Function Portability): Add notes on signal
6936 handler return type, as per AC_TYPE_SIGNAL.
6938 2003-11-04 Akim Demaille <akim@epita.fr>
6941 * doc/standards.texi: Update from master.
6943 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
6945 2003-11-04 Akim Demaille <akim@epita.fr>
6947 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
6948 computing the absolute path to d1 in the source hierarchy: it may
6949 not exist at all. So don't cd into it.
6950 From Alexandre Duret-Lutz.
6951 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
6953 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
6954 From Paul Eggert, but named after Perl's IO::Spec->catfile.
6955 * doc/autoconf.texi (Programming in M4sh): Document.
6956 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
6958 2003-11-03 Pavel Roskin <proski@gnu.org>
6960 * doc/autoconf.texi (Generic Structure Checks): Describe
6961 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
6963 2003-10-31 Akim Demaille <akim@epita.fr>
6965 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
6967 * doc/autoconf.texi (Language Choice): Document.
6968 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
6969 the current language is Fortran.
6971 2003-10-31 Akim Demaille <akim@epita.fr>
6973 * bin/autom4te.in (&freeze): Use a less likely warning separator
6974 than `\n\n', so that `\n\n\n' is valid in warnings.
6975 Reported by Steve Huston.
6977 2003-10-28 Akim Demaille <akim@epita.fr>
6979 * Makefile.cfg (local_updates, executable-update): Tweak to be
6980 robust to parallel makes.
6981 Suggested by Alexandre Duret-Lutz.
6983 2003-10-27 Akim Demaille <akim@epita.fr>
6985 * Makefile.cfg (executable-update): New.
6986 (local_updates): Call it.
6988 2003-10-27 Akim Demaille <akim@epita.fr>
6990 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
6991 Don't remove core.* as it may remove valid user files.
6992 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
6993 (AC_FUNC_UTIME_NULL): Likewise.
6995 2003-10-23 Akim Demaille <akim@epita.fr>
6998 * config/config.guess, config/config.sub: Upgrade from masters.
7000 2003-10-23 Akim Demaille <akim@epita.fr>
7002 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
7003 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
7006 2003-10-23 Akim Demaille <akim@epita.fr>
7008 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
7009 Don't forget to remove conftest.err.
7011 2003-10-23 Akim Demaille <akim@epita.fr>
7013 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
7014 same object file in $LIBOBJS.
7015 Reported by Alexandre Duret-Lutz & Derek Robert Price.
7016 * doc/autoconf.texi (Generic Functions): Adjust.
7018 2003-10-20 Paul Eggert <eggert@twinsun.com>
7020 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
7021 Use 'eval', so that the resulting configure scripts work even if
7022 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
7024 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
7026 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
7027 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
7028 (_AC_LINK_IFELSE): Check the werror flag.
7029 * doc/autoconf.texi (Generic Compiler Characteristics): Document
7033 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
7035 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
7036 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
7037 override AC_LINK_IFELSE.
7039 2003-10-15 Paul Eggert <eggert@twinsun.com>
7041 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
7042 pdksh 5.2.14. Bug reported by Ralf Corsepius.
7043 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
7044 Mention /usr/dt/bin/dtksh on Solaris.
7045 (Shell Substitutions): Warn about $((...)).
7046 (Parentheses): New section.
7048 2003-10-15 Kevin Ryde <user42@zip.com.au>
7050 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
7051 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
7053 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
7055 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
7058 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
7060 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
7061 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
7063 2003-10-10 Andreas Schwab <schwab@suse.de>
7065 * bin/autoheader.in: Avoid empty first line in --version and
7067 * bin/ifnames.in: Likewise.
7069 2003-10-09 Paul Eggert <eggert@twinsun.com>
7071 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
7072 Issue a more-informative diagnostic.
7073 Problems reported by Eric Sunshine.
7075 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
7077 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
7078 -mGLOB_options_string stuff for Intel ifc, which can cause
7079 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
7080 pattern-matching instead of grep.
7082 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
7084 * doc/autoconf.texi: Document new FC Fortran macros.
7086 2003-10-08 Gary V. Vaughan <gary@gnu.org>
7088 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
7089 that future autopoint/aclocal/automake/autoreconf will be able
7090 to trace to find where to install local m4 macros.
7091 * doc/autoconf.texi (Input): Document it.
7094 2003-10-06 Gary V. Vaughan <gary@gnu.org>
7096 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
7097 -lcrtbegin.o to list of ignored flags and fix underquoting of
7100 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
7102 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
7103 cache variable instead of $G77 to decide whether to include -O2,
7104 since $G77 is specific to Fortran 77.
7106 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
7108 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
7109 free" flag. Re-order flags tested into rough order of popularity.
7111 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
7113 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
7114 arguments so that it can be used with syntax identical to
7115 AC_PROG_F77, and so that we can more easily decide to
7116 remove/deprecate the DIALECT optional argument in the future if it
7118 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
7119 non-freeform-supporting compilers. Document freeform flags.
7121 2003-10-03 Akim Demaille <akim@epita.fr>
7123 * configure.ac: Look for emacs, not macs.
7124 Reported by Eric Sunshine.
7126 2003-10-03 Akim Demaille <akim@epita.fr>
7128 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
7129 * bin/autoreconf.in (autoreconf_current_directory): Create the
7130 AUX_DIR if needed, for sake of automake --add-missing etc.
7131 Suggested by Alexandre Duret-Lutz.
7133 2003-10-03 Akim Demaille <akim@epita.fr>
7135 * configure.ac: Quotation and formatting changes.
7136 (EMACS): Don't set it if it is not recent enough to support
7140 2003-10-02 Akim Demaille <akim@epita.fr>
7142 * bin/ifnames.in (&scan_file): Skip C++ comments.
7145 2003-10-01 Pavel Roskin <proski@gnu.org>
7147 * doc/autoconf.texi (Particular Structure Checks):
7148 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
7150 2003-10-01 Akim Demaille <akim@epita.fr>
7154 2003-09-30 Paul Eggert <eggert@twinsun.com>
7156 * lib/Autom4te/XFile.pm: Use Errno.
7157 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
7158 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
7160 2003-09-30 Akim Demaille <akim@epita.fr>
7162 * config/announce-gen (&print_news_deltas): Extracted from...
7163 (&print_changelog_deltas): here.
7164 (&news_file): Rename as...
7167 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
7169 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
7170 have been created when invoking the compiler.
7171 * tests/fortran.at (GNU Fortran 77): Quote $G77.
7173 2003-09-29 Akim Demaille <akim@epita.fr>
7177 * config/mkinstalldirs: Upgrade.
7179 2003-09-28 Paul Eggert <eggert@twinsun.com>
7181 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
7182 Problem reported by Lars J. Aas in
7183 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
7184 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
7185 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
7186 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
7188 2003-09-26 Akim Demaille <akim@epita.fr>
7190 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
7191 directory for AC_CONFIG_COMMANDS' first argument exists.
7192 This makes valid the invocation of _AC_SRCPATH that follows.
7193 Reported by Eric Sunshine.
7194 * doc/autoconf.texi (Configuration Commands): Adjust.
7196 2003-09-26 Akim Demaille <akim@epita.fr>
7198 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
7199 Reported by Ralf Corsepius.
7201 2003-09-26 Akim Demaille <akim@epita.fr>
7203 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
7205 Actually, use AU_ALIAS.
7208 2003-09-26 Paul Eggert <eggert@twinsun.com>
7210 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
7211 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
7212 Problem reported by Eric Sunshine in:
7213 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
7215 2003-09-26 Akim Demaille <akim@epita.fr>
7217 The test suite are sometimes assigning timings incorrectly.
7218 Reported by Henk Krus.
7219 Diagnosed by Nicolas Joly.
7221 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
7223 Instead of making AT_help a sequence of assignments to grow
7224 $at_help_all, just make AT_help_all be the growing contents of
7225 $at_help_all, and make a single assignment in...
7227 (at_times_skip): Flip the meaning and rename as...
7229 (AT_INIT): When summarizing the test that ran, remove
7230 $at_times_file after use, and check it is present before trying to
7233 2003-09-25 Akim Demaille <akim@epita.fr>
7237 * bin/Makefile.am (edit): Handle '@configure_input@'.
7238 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
7239 (ifnames): chmod -w.
7240 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
7241 executables, not bin/ executables! Otherwise all the magic needed
7242 to find non installed files is turned off. This caused a failure
7243 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
7244 as found in its environment (sent by tests/autoreconf): pointing
7245 to bin/autom4te that could not find its files.
7246 * tests/mktests.sh: Force the replacement of generated files, for
7247 the sake of "mv" program that are interactive when overwriting a
7249 * config/install-sh: Upgrade from CVS Automake.
7251 2003-09-23 Paul Eggert <eggert@twinsun.com>
7253 * doc/autoconf.texi (Limitations of Builtins): Document test -h
7254 versus test -L issues.
7256 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
7257 Paul Eggert <eggert@twinsun.com>
7259 Trivial change to support GCC's configuration procedure.
7260 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
7261 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
7262 about inconsistency if the preprocessor is set to give errors for
7264 * doc/autoconf.texi (C Compiler Characteristics): Document this.
7266 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
7268 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
7269 and XFile.pm from Automake.
7270 * lib/Autom4te/XFile.pm: Update from Automake.
7272 2003-09-12 Akim Demaille <akim@epita.fr>
7276 2003-09-12 Akim Demaille <akim@epita.fr>
7278 * config/config.guess, config/config.sub, config/missing,
7279 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
7282 2003-09-12 Akim Demaille <akim@epita.fr>
7284 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
7287 2003-09-11 Akim Demaille <akim@epita.fr>
7289 * doc/autoconf.texi (Header Portability): linux/random.h.
7290 From Peter Hendrickson.
7292 2003-09-10 Akim Demaille <akim@epita.fr>
7294 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
7295 willing to edit the output files.
7297 2003-09-10 Akim Demaille <akim@epita.fr>
7299 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
7301 * tests/mktests.sh: Skip AC_FC_SRCEXT.
7302 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
7304 2003-09-09 Akim Demaille <akim@epita.fr>
7306 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
7307 Reported by Gary Vaughan.
7308 * bin/autom4te.in (handle_m4): Likewise.
7310 2003-09-09 Akim Demaille <akim@epita.fr>
7312 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
7315 2003-09-07 Paul Eggert <eggert@twinsun.com>
7317 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
7318 Improve the accuracy of the wording about obsolescence.
7319 From a suggestion by Ian Lance Taylor in
7320 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
7322 2003-09-05 Paul Eggert <eggert@twinsun.com>
7324 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
7325 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
7327 2003-09-04 Akim Demaille <akim@epita.fr>
7329 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
7332 2003-09-04 Akim Demaille <akim@epita.fr>
7334 * bin/autom4te.in: Use &fatal where more appropriate than &error.
7335 (freeze): When exiting, use $exit_code.
7336 * lib/autoconf/fortran.m4: Comment changes.
7338 2003-09-04 Akim Demaille <akim@epita.fr>
7340 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
7342 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
7344 Add support for newer Fortran dialects. The F77 interface is
7345 unchanged, and continues to support Fortran 77. New FC macros
7346 correspond to all the old F77 macros, with output variables FC,
7347 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
7348 available dialect, but older dialects can be specified. There are
7349 new macros AC_FC_SRCEXT to set the source extension, and
7350 AC_FC_FREEFORM to accept free-form source files.
7352 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
7354 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
7355 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
7356 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
7357 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
7358 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
7359 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
7360 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
7361 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
7362 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
7363 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
7364 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
7365 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
7366 AC_FC_SRCEXT, AC_FC_FREEFORM):
7368 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
7369 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
7370 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
7371 Rewrite in terms of the above.
7372 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
7373 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
7374 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
7375 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
7377 2003-09-02 Paul Eggert <eggert@twinsun.com>
7379 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
7380 Document problems with timestamp resolution that 'make', 'cp -p', and
7383 2003-08-27 Akim Demaille <akim@epita.fr>
7385 * tests/m4sugar.at (cross_warning): Make sure to enable the
7386 output, so that we can track spurious m4sugar output.
7387 * tests/local.at: Require 2.57.
7388 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
7389 are defaulted by AT_CHECK anyway.
7390 Use AT_CHECK_AUTOM4TE.
7391 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
7394 2003-08-27 Akim Demaille <akim@epita.fr>
7396 * bin/autoheader.in: Issue the "Using auxiliary..." message only
7397 when -Wobsolete is set.
7398 Set it on by default.
7399 Suggested by Klee Dienes.
7401 2003-08-27 Akim Demaille <akim@epita.fr>
7403 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
7407 2003-08-26 Akim Demaille <akim@epita.fr>
7409 * doc/autoconf.texi (Output): Make clear that one can run code
7412 2003-08-25 Akim Demaille <akim@epita.fr>
7414 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
7417 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
7419 * bin/autoreconf.in (parse_args): Do not pass --no-force to
7420 Automake versions prior to 1.8.
7422 2003-08-25 Akim Demaille <akim@epita.fr>
7424 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
7427 2003-08-24 Akim Demaille <akim@epita.fr>
7429 * configure.ac: Bump to 2.57c.
7431 2003-08-22 Akim Demaille <akim@epita.fr>
7435 * Makefile.cfg (local-checks-to-skip): New.
7436 * Makefile.maint (local-check): Rename as...
7437 (local-checks-available): this.
7440 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
7441 * configure.ac: Require Automake 1.7.6.
7443 2003-08-22 Akim Demaille <akim@epita.fr>
7445 Output stack traces in warnings.
7447 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
7448 Replace the former...
7449 (m4_warn): Pass the call stack to _m4_warn.
7450 * bin/autom4te.in: Adjust to output the call stack.
7451 * tests/m4sugar.at (m4@&t@_warn): Adjust.
7453 2003-08-22 Akim Demaille <akim@epita.fr>
7455 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
7456 * bin/autom4te.in: Adjust.
7458 2003-08-21 Akim Demaille <akim@epita.fr>
7460 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
7462 (&getopt): Adjust the note and verb channels, depending upon
7464 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
7465 * bin/autoupdate.in: Adjust.
7466 Use &verb, not &verbose.
7468 2003-08-21 Akim Demaille <akim@epita.fr>
7470 * bin/autoheader.in (&parse_args): Use &parse_warnings and
7472 ($help): Use Autom4te::ChannelDefs::usage.
7473 * bin/autoscan.in: Use Autom4te::ChannelDefs.
7474 * lib/Autom4te/General.pm: Don't export error: you don't own it.
7476 2003-08-21 Akim Demaille <akim@epita.fr>
7478 First stab at preserving warnings between calls to autom4te,
7479 including when the cache is used.
7481 There are still several issues: (i) there are too many runs of m4
7482 (one for include, one for warnings, and some more), (ii) warnings
7483 spreading on several lines are not handled gracefully, (iii) the
7484 code meant to have the call stack display for errors does not work
7485 (its handling should move from m4 to autom4te).
7487 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
7489 (@preselect): Add m4_warn.
7490 ($exit_status): Remove, use $exit_code.
7491 ($help): Use Autom4te::ChannelDefs::usage.
7492 (&handle_m4): No longer define the m4_warnings.
7493 At each run, extract and report the warnings.
7494 Always cache the result, including if the exit status is on
7495 failure, since if nothing changes, we should result in the same
7496 failure, hence we can use the cache.
7497 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
7498 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
7500 (m4_warn): Redefine as a do-nothing: it is its invocation that
7501 matters, as warnings are now reported via traces.
7502 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
7503 the contents of m4_warn: make it _call_ m4_warn, so that tracing
7504 the latter reveals calls to the former.
7508 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
7510 2003-08-21 Akim Demaille <akim@epita.fr>
7512 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
7515 2003-08-21 Akim Demaille <akim@epita.fr>
7517 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
7519 * lib/Autom4te/ChannelDefs.pm: Doc typos.
7520 (&parse_warnings): Accept a list of warning requests.
7521 (&usage): Return a string, not a side effect.
7522 (cross): New warning category.
7524 2003-08-21 Akim Demaille <akim@epita.fr>
7526 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
7527 (&require_configure_ac): Accept an optional directory argument.
7528 ($configure_ac): Remove.
7529 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
7531 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
7532 * bin/autoscan.in: Adjust.
7534 2003-08-20 Akim Demaille <akim@epita.fr>
7536 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
7537 Reported by Alexandre Duret-Lutz.
7539 2003-08-20 Akim Demaille <akim@epita.fr>
7541 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
7542 * bin/autom4te: Adjust.
7543 In particular, be Autoconf tools are really silent when properly
7544 working, bind the verbosity of the 'note' channel to $verbose.
7545 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
7546 (&xsystem, &contents): Remove, since they are exported by...
7547 * lib/Autom4te/FileUtils.pm: this.
7549 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
7550 * lib/Autom4te/FileUtils.pm: here.
7552 2003-08-20 Akim Demaille <akim@epita.fr>
7554 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
7555 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
7558 2003-08-20 Akim Demaille <akim@epita.fr>
7560 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
7561 (autom4te-update): New.
7562 * Makefile.cfg (update): Bind autom4te-update.
7564 2003-08-19 Derek Price <derek@ximbiot.com>
7566 * lib/autotest/general.m4: Comment various HELP_* diversions.
7567 (PARSE_ARGS_BEGIN): New section for option parsing related
7569 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
7570 package specific options and associated help.
7572 2003-08-19 Akim Demaille <akim@epita.fr>
7574 * config/announce-gen, Makefile.cfg: New.
7575 * Makefile.am: Adjust.
7576 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
7578 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
7580 * lib/autom4te.in (Automake-preselections): Preselect
7581 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
7584 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
7586 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
7587 (Autoconf-without-aclocal-m4): ... this new language.
7588 * doc/autoconf.texi (autom4te Invocation): Mention
7589 Autoconf-without-aclocal-m4.
7591 2003-08-18 Derek Price <derek@ximbiot.com>
7593 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
7594 RUN-IF-PASS optional arguments.
7596 2003-08-18 Derek Price <derek@ximbiot.com>
7598 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
7600 2003-08-16 Derek Price <derek@ximbiot.com>
7602 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
7603 STDOUT & STDERR arguments.
7605 2003-08-14 Derek Price <derek@ximbiot.com>
7607 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
7608 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
7609 shorter column three. Add DESCRIPTION to log file content.
7611 2003-08-13 Derek Price <derek@ximbiot.com>
7613 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
7616 2003-08-12 Derek Price <derek@ximbiot.com>
7618 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
7619 (AT_CHECK_NOESCAPE): Move core functionality to...
7620 (_AT_CHECK): ...this new macro.
7622 2003-08-07 Derek Price <derek@ximbiot.com>
7624 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
7625 (AT_CHECK_NOESCAPE): ...to this new macro.
7627 2003-07-31 Paul Eggert <eggert@twinsun.com>
7629 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
7630 in Bash 2.01. Problem reported by Brian Gough in
7631 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
7633 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
7635 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
7636 -lcrt1.o, for OS X. (trivial change)
7638 2003-07-07 Paul Eggert <eggert@twinsun.com>
7640 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
7641 inside '#ifndef __cplusplus'. Problem reported by
7644 2003-07-06 Bill Clarke <llib@computer.org>
7646 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
7647 'long', not 'int', for benefit of Sun's recent C++ compilers
7648 (trivial change). See:
7649 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
7650 (This really should be 'intptr_t', not 'long', but that would
7653 2003-06-25 Akim Demaille <akim@epita.fr>
7655 * lib/Makefile.am (autom4te.cfg): Make it read only.
7656 Depend on Makefile since it contains substitutions.
7658 * lib/autom4te.in (args): Add local.at? for Autotest args.
7659 This change was made on autom4te.cfg which is generated.
7660 Reported by Raja R. Harinath.
7662 2003-06-25 Akim Demaille <akim@epita.fr>
7664 * doc/autoconf.texi (Header Portability): sys/mount.h.
7665 From Gareth McCaughan.
7667 2003-06-23 Akim Demaille <akim@epita.fr>
7669 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
7670 not all of them. This fixes 1. the fact that when testing
7671 Autoconf there are many many config.log, 2. the incorrect use of
7672 top_srcdir to find config.log.
7673 Don't mix the detailed output of failed test with the summary of
7674 failures. Rather, append detailed log afterwards.
7676 2003-06-23 Akim Demaille <akim@epita.fr>
7678 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
7679 always run: output config.log on $at_group_log.
7681 2003-06-23 Akim Demaille <akim@epita.fr>
7683 * tests/torture.at (#define header templates): Don't use quotes in
7684 C++ comments as it puzzles Emacs' sh font-lock-mode.
7686 2003-06-23 Akim Demaille <akim@epita.fr>
7688 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
7689 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
7690 * tests/atspecific.m4: Rename as...
7691 * tests/local.at: This.
7692 * tests/suite.at: Move the globals into...
7693 * tests/local.at: here.
7694 * tests/Makefile.am: Adjust.
7695 * doc/autoconf.texi (testsuite Scripts): Adjust.
7697 2003-06-21 Kevin Ryde <user42@zip.com.au>
7699 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
7700 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
7701 ensuring we add -std1 for full-ANSI.
7703 * doc/autoconf.texi (hdrindex): New macro.
7704 Add index entries for portability of various standard header files.
7706 2003-06-20 Akim Demaille <akim@epita.fr>
7708 * configure.ac: Bump to 2.57b.
7710 2003-06-20 Akim Demaille <akim@epita.fr>
7714 2003-06-20 Akim Demaille <akim@epita.fr>
7716 * bin/autom4te.in: Don't rely on $HOME being defined.
7717 Reported by Marc Espie as PR/233.
7719 2003-06-20 Akim Demaille <akim@epita.fr>
7721 * lib/autotest/general.m4: Use at_times_file only if used.
7724 2003-06-20 Akim Demaille <akim@epita.fr>
7726 * config/config.guess, config/config.sub, config/elisp-comp,
7727 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
7728 Update from masters.
7730 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
7732 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
7733 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
7734 (TEST_SCRIPT): New diversion.
7735 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
7736 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
7737 (AT_INIT): Support for expected failures.
7739 2003-06-02 Akim Demaille <akim@epita.fr>
7741 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
7743 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
7744 Autoconf nor Automake.
7745 (&contents): New, from Automake.
7748 2003-05-28 Paul Eggert <eggert@twinsun.com>
7750 * NEWS, doc/autoconf.texi (Particular Functions),
7751 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
7752 is the inverse of localtime.
7754 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
7756 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
7757 (handle_exec_errors): New function. Work around $! being
7758 altered by WEXITSTATUS.
7759 (xqx, xsystem): Use handle_exec_errors.
7761 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
7763 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
7764 Do not call `_exit()', simply modify `$?'.
7765 (xsystem): Reset $! before running system, and check it afterward.
7766 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
7767 63 for version mismatches.
7769 2003-05-23 Akim Demaille <akim@epita.fr>
7771 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
7772 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
7773 the middle of a line).
7774 * lib/m4sugar/m4sugar.m4: Likewise.
7775 Remove useless spaces in comments.
7777 2003-05-23 Akim Demaille <akim@epita.fr>
7779 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
7780 exit 63, so that we (or Automake's "missing") can tell the
7781 difference with a plain failure.
7782 * doc/autoconf.texi (Notices): Adjust.
7784 2003-05-23 Akim Demaille <akim@epita.fr>
7786 * Makefile.am, bin/Makefile.am, config/Makefile.am,
7787 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
7788 White spaces cleanup.
7790 2003-05-22 Jim Meyering <jim@meyering.net>
7791 Paul Eggert <eggert@twinsun.com>
7793 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
7794 Remove `#include <stdlib.h>' from the list; we should never
7795 make confdefs.h include <stdlib.h> or <cstdlib>, because the
7796 resulting namespace pollution would cause other tests to fail.
7797 Configure scripts run with some older versions of g++ and HP's
7798 aCC would fail due to such an #include. Problems reported by
7799 Matthew Mueller in <http://bugs.debian.org/120704> and by
7801 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
7802 In the test, use the test declaration before including <stdlib.h>,
7803 as that's closer to how it'll be used.
7805 2003-05-23 Akim Demaille <akim@epita.fr>
7807 * doc/autoconf.texi (Header Portability): ucred.h.
7810 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
7812 Overhaul Autotest's logging: generate separate log files
7813 in testsuite.dir/NNN/testsuite.log, and append them to
7814 testsuite.log instead of re-running the test verbosely.
7816 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
7817 file descriptor, write 0 to at_status_file instead of setting
7818 at_status=0, initialize some new variables (at_status_file,
7819 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
7820 to rerun the tests, instead append the at_group_log to the
7821 at_suite_log when a test fails.
7822 (AT_SETUP): pipe the test case's output into at_tee_pipe,
7823 with the AS_MESSAGE_LOG_FD redirected to stdout.
7824 (AT_CLEANUP): save the output status in $at_status_file
7825 and restore it, redirect the AS_MESSAGE_LOG_FD back to
7827 (AT_CHECK): since tests are run with a redirected stdout,
7828 and used to be re-run in verbose mode, turn some $at_verbose
7829 into echo, and don't redirect the output of testing stdout
7832 * lib/autotest/autoconf.texi (testsuite Scripts): Update
7833 the name of the debugging directory and information about
7836 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
7838 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
7841 2003-05-22 Akim Demaille <akim@epita.fr>
7843 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
7844 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
7845 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
7846 * lib/autoconf/status.m4: Fix and adjust copyright notices.
7848 2003-05-22 Akim Demaille <akim@epita.fr>
7850 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
7851 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
7852 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7853 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
7854 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7855 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7856 * lib/autoconf/status.m4, lib/autoconf/types.m4,
7857 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
7858 * tests/atspecific.m4, tests/base.at, tests/compile.at,
7859 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
7860 * tests/tools.at, tests/torture.at:
7861 Whitespace clean up.
7862 Suggested by Jim Meyering.
7864 2003-05-22 Akim Demaille <akim@epita.fr>
7866 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
7867 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
7868 Reported by Jim Meyering.
7870 2003-05-22 Akim Demaille <akim@epita.fr>
7872 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
7873 Add AC_HELP_STRING to the obsolete macros section.
7875 Use '@.' for sentences that ended in a capital letter.
7878 2003-05-22 Akim Demaille <akim@epita.fr>
7880 * config/config.guess, config/config.sub, config/elisp-comp,
7881 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
7882 * config/texinfo.tex, doc/standards.texi: Update from masters.
7884 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
7886 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
7889 2003-05-21 Akim Demaille <akim@epita.fr>
7891 * bin/autoupdate.in ($m4): Fix quotation.
7892 Reported by Martin Mokrejs.
7894 2003-05-19 Paul Eggert <eggert@twinsun.com>
7896 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
7897 Remove non-ASCII characters.
7899 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
7901 * tests/semantics.at (AC_SEARCH_LIBS): New test.
7902 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
7903 AC_CHECK_HEADERS_NEW): New tests.
7905 2003-05-17 Akim Demaille <akim@epita.fr>
7907 * lib/autoconf/functions.m4: Use the default includes so that
7908 memcmp be declared before being tested.
7909 Reported by Sander Niemeijer.
7910 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
7911 * doc/autoconf.texi (Default Includes): Document
7912 AC_INCLUDES_DEFAULT.
7914 2003-05-17 Akim Demaille <akim@epita.fr>
7916 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
7917 * doc/autoconf.texi (Obsolete Macros): Adjust.
7918 Reported by Werner LEMBERG and Debian Bug 190886.
7920 2003-05-16 Akim Demaille <akim@epita.fr>
7922 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
7923 user name space clashes.
7924 Reported by Bruno Haible.
7926 2003-05-16 Akim Demaille <akim@epita.fr>
7928 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7929 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
7930 them uniform, and more robust to Perl special characters.
7931 Reported by Martin Mokrejs.
7933 2003-05-14 Akim Demaille <akim@epita.fr>
7935 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
7937 2003-05-14 Akim Demaille <akim@epita.fr>
7939 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
7942 2003-05-12 Akim Demaille <akim@epita.fr>
7944 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
7946 From Matthias Andree.
7948 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
7950 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
7953 2003-05-06 Akim Demaille <akim@epita.fr>
7955 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
7956 longer updates aclocal.m4 if useless, (ii) if a file m4_included
7957 by aclocal.m4 is changed it might require the importing of another
7958 m4 extension file, i.e., aclocal must be run.
7960 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
7961 (&parse_args): Use --force with aclocal if required and supported.
7962 (&autoreconf_current_directory): Use &run_aclocal.
7964 2003-05-06 Akim Demaille <akim@epita.fr>
7966 Lock autom4te's cache.
7968 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
7969 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
7970 argument instead of a file name, so that the request file remains
7971 open during the whole autom4te run.
7972 ($icache_file): New.
7973 (&freeze): Lock the $icache_file.
7975 2003-04-29 Derek Price <derek@ximbiot.com>
7977 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
7978 seperator with m4_append_uniq(). It doesn't work.
7979 (AT_CLEANUP): Add `;' to end of at_help_all.
7980 (AT_INIT): Allow --keywords to be specified more than once. When
7981 grepping $at_help_all for keywords, use the field and keyword
7982 seperators to ensure a complete keyword match. Alter at_prev handling
7983 to support the new --keywords behavior.
7985 2003-04-27 Karl Berry <karl@freefriends.org>
7987 * doc/autoconf.texi: Make the dir entries in the autoconf manual
7988 align better with others. I also made some of the individual
7989 entries on one line, for brevity and to make it easier for me to
7990 sort my dir-example file in the Texinfo distribution :).
7992 2003-04-12 Jim Meyering <jim@meyering.net>
7994 * NEWS: Mention the new macro.
7995 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
7996 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
7997 * tests/c.at: Test AC_C_RESTRICT.
7998 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
8000 2003-04-08 Akim Demaille <akim@epita.fr>
8002 * bin/ifnames.in: Skip C++ comments.
8005 2003-04-08 Akim Demaille <akim@epita.fr>
8007 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
8008 From Ilya Zakharevich.
8010 2003-04-08 Akim Demaille <akim@epita.fr>
8012 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
8015 2003-04-01 Derek Price <derek@ximbiot.com>
8017 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
8018 from Akim's checkin of 2003-03-29.
8020 2003-04-01 Derek Price <derek@ximbiot.com>
8022 * tests/torture.at (Configuring subdirectories): Add missing
8023 close-quote for Akim's change from 2003-03-28.
8025 2003-04-01 Akim Demaille <akim@epita.fr>
8027 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
8028 (AC, AT, MS): these.
8029 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
8032 * doc/Makefile.am (CLEANFILES): Adjust.
8033 (TEXI2DVI): Make it --batch.
8035 2003-03-31 Derek Price <derek@ximbiot.com>
8037 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
8038 which removed the main loop.
8039 Thanks to Akim Demaille.
8041 2003-03-29 Akim Demaille <akim@epita.fr>
8043 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
8045 From Ilya Zakharevich.
8047 2003-03-29 Akim Demaille <akim@epita.fr>
8049 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
8050 documentation to read is Autoconf's.
8051 Suggested by Paul Eggert.
8053 2003-03-28 Akim Demaille <akim@epita.fr>
8055 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
8056 reading the section "Present But Cannot Be Compiled" when the
8057 header causes problems.
8059 2003-03-28 Akim Demaille <akim@epita.fr>
8061 * tests/torture.at (Configuring subdirectories): Require aclocal
8062 1.4, otherwise the test fails, as it does support configure.ac.
8063 This fixes the "test 40 failed" bug reports.
8065 2003-03-28 Akim Demaille <akim@epita.fr>
8067 * doc/autoconf.texi (C Compiler): `#line' portability.
8068 From Paul Eggert and Nelson H. F. Beebe.
8070 2003-03-27 Derek Price <derek@ximbiot.com>
8072 * lib/autotest/general.m4: Eliminate main loop and reorganize test
8073 layout in order to allow scripting around test groups.
8075 2003-03-27 Derek Price <derek@ximbiot.com>
8077 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
8078 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
8079 use new diversions in preparation for accepting new arguments and
8080 allowing scripting around tests.
8081 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
8083 2003-03-26 Derek Price <derek@ximbiot.com>
8085 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
8086 obsolete AC_HELP_STRING.
8087 (AC_HELP_STRING): AU_DEFUN to...
8088 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
8089 * tests/m4sh.at (AS_HELP_STRING): New test.
8091 * tests/acgeneral.at: Regenerated.
8093 2003-03-26 Derek Price <derek@ximbiot.com>
8095 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
8096 sense. Verbosify the diversion definitions comment.
8098 2003-03-26 Derek Price <derek@ximbiot.com>
8100 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
8103 2003-03-21 Eric Siegerman <eric_97@pobox.com>
8105 * doc/autoconf.texi (Present But Cannot Be Compiled):
8106 Grammar fixes and minor rewording. (trivial change)
8108 2003-03-06 Paul Eggert <eggert@twinsun.com>
8110 Work around a problem noted by Nelson H. F. Beebe with coreutils
8111 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
8112 2002/05/09) rejects '#line 32768 "configure"' because the line
8114 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
8116 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
8117 * doc/autoconf.texi (Generating Sources): Document this.
8119 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
8121 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
8122 file name for the m4 program, when it has an "exe" file extension.
8123 DJGPP's error messages include the error code in brackets -
8124 remove the error code during normalization.
8126 2003-02-28 Akim Demaille <akim@epita.fr>
8128 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
8130 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
8132 * doc/autoconf.texi (Limitations of Make): Remove the section
8133 about `$<' in inference rules, it was a bogus interpretation of
8134 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
8135 Tru64 make in the "target lookup" section.
8136 (Automake): Automake 1.5+ no longer requires special tools to be
8137 present on the developer's host.
8139 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
8141 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
8142 to a shell that can handle redirection or quoting correctly.
8143 Override SHELL with the shell detected by configure.
8144 Use of $^O suggested by Tim van Holder.
8145 * bin/autom4te.in (BEGIN): Likewise.
8146 * bin/autoreconf.in (BEGIN): Likewise.
8147 * bin/autoscan.in (BEGIN): Likewise.
8148 * bin/autoupdate.in (BEGIN): Likewise.
8149 * bin/ifnames.in (BEGIN): Likewise.
8151 * bin/ifnames.in: Add final newline to help and version messages.
8153 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
8154 to cope with DOS-style absolute paths, when constructing
8157 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
8158 When constructing paths with IFS=:, quote the path. If we're
8159 constructing a DOS-style absolute path, we don't want to split it
8162 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
8165 2003-02-25 Pavel Roskin <proski@gnu.org>
8167 * bin/autoheader.in: Add missing newline when printing
8168 suggestion how change AC_DEFINE call.
8170 2003-02-24 Paul Eggert <eggert@twinsun.com>
8172 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
8173 2002-09-01 patch by replacing "test -n" with "test -z".
8174 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
8175 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
8177 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
8178 to fix a mismatch between example and discussion.
8180 2003-02-24 Kevin Ryde <user42@zip.com.au>
8182 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
8183 format starting with "-".
8185 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
8187 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
8188 is not portable inside Makefile.
8190 2003-02-20 Akim Demaille <akim@epita.fr>
8192 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
8193 compiler says yeah, but preproc says nope, compiler is right.
8194 Conversely, prompt the reader to send a bug report to the
8195 maintainers of the package, not of Autoconf.
8197 2003-02-20 Klee Dienes <kdienes@apple.com>
8199 * bin/autoreconf.in (autoreconf_current_directory): Properly
8200 handle an empty aclocal.m4.
8202 2003-02-20 Akim Demaille <akim@epita.fr>
8204 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
8208 2002-12-23 Paul Eggert <eggert@twinsun.com>
8210 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
8211 innocuous variant befor including <limits.h> or <assert.h>. This
8212 works around a bug reported by Albert Chin: HP-UX 11i
8213 (and earlier versions) have a <limits.h> that declares
8214 gettimeofday and many other functions.
8216 2002-12-03 Paul Eggert <eggert@twinsun.com>
8220 * NEWS, configure.ac: Update version.
8222 * doc/fdl.texi: Upgrade to FDL version 1.2.
8224 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
8225 nontrivially in main's body, so that f's external declaration is
8226 not optimized away in AIX. This should fix the bug reported by
8228 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
8230 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
8231 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
8232 defined, to support freestanding compilers. This should fix the
8233 bug reported by Momchil Velkov in
8234 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
8236 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
8237 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
8238 obsolete AC_CHECK_TYPE. The missing empty arg was reported
8239 by Simon Josefsson in
8240 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
8242 * Makefile.maint (www-gnu): New macro.
8243 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
8244 the location has moved.
8246 2002-12-02 Martin Frydl <martin@systinet.com>
8248 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
8249 \(.*\) match is too long and there is something more to be checked.
8250 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
8252 2002-11-15 Akim Demaille <akim@epita.fr>
8256 * config/install-sh: chmod +x.
8258 * config/move-if-change: Indenting changes.
8259 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
8260 * configure.ac (AM_INIT_AUTOMAKE): here.
8263 2002-11-14 Akim Demaille <akim@epita.fr>
8267 * config/config.guess, config/config.sub, config/install-sh:
8268 Update from masters.
8270 2002-11-14 Akim Demaille <akim@epita.fr>
8272 * Makefile.maint: Sync with Bison, i.e.:
8273 (po-check): Scan .l and .y files instead of the
8274 .c and the .h files that they generate. This fixes the bug
8275 reported by Tim Van Holder in:
8276 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
8277 Look for N_ as well as for _. Try to avoid matching #define for
8281 2002-11-14 Akim Demaille <akim@epita.fr>
8283 * doc/autoconf.texi (C Compiler): Compiling several files at once.
8284 From Paul Eggert and Albert Chin-A-Young.
8286 2002-11-14 Akim Demaille <akim@epita.fr>
8288 * doc/autoconf.texi (C Compiler): Solitary backslashes.
8289 From Paul Eggert and Albert Chin-A-Young.
8291 2002-11-14 Kevin Ryde <user42@zip.com.au>
8293 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
8294 than assigning in main, to avoid HP cc +O3 optimizing it away.
8296 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
8298 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
8299 option. Process --recheck after parsing all options. Pass -q
8300 option to configure on --recheck.
8301 (AC_OUTPUT): Pass -q from configure to config.status.
8302 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
8303 arguments to record.
8304 * doc/autoconf.texi (config.status Invocation): Document
8305 config.status -q option.
8307 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
8309 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
8310 Makefile.in if Makefile.am exists.
8311 (output): Strip `.am' from Makefiles. Don't
8312 output AC_CONFIG_FILES if no Makefiles were found.
8314 2002-11-07 Akim Demaille <akim@epita.fr>
8316 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
8317 (local_updates): New.
8318 * Makefile.maint: Update, from CVS Bison.
8319 (local_updates): New.
8321 2002-11-06 Akim Demaille <akim@epita.fr>
8323 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
8324 declaration in extern "C" too.
8325 Reported by Roberto Bagnara.
8327 2002-11-06 Akim Demaille <akim@epita.fr>
8329 * tests/torture.at (Configuring subdirectories): Don't use grep
8331 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
8332 Reported by Ezra Peisach.
8334 2002-11-05 Akim Demaille <akim@epita.fr>
8336 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
8338 We _have_ to stop using the old compatibility scheme that tried to
8339 avoid useless backslashes because Libtool 1.4.3 contains a
8340 AC_DEFINE([error_t], [int],
8341 [Define to a type to use for \`error_t' if it is not
8342 otherwise available.])
8343 We _have_ to quote the single quote and backslashes with \. The
8344 old compatibility scheme saw that ` was backslashed, and therefore
8345 did not quote the single quote. Hence before this patch, Autoconf
8346 was not compatible with Libtool.
8348 2002-11-04 Paul Eggert <eggert@twinsun.com>
8350 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
8351 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
8352 LC_NAME, LC_PAPER, LC_TELEPHONE.
8353 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
8355 2002-11-04 Akim Demaille <akim@epita.fr>
8359 * Makefile.maint (update, cvs-update, po-update, do-po-update):
8361 * config/texinfo.tex: Update.
8363 2002-11-03 Akim Demaille <akim@epita.fr>
8365 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
8367 (&autoreconf): here.
8368 ($help, $make, &parse_args, &autoreconf_current_directory):
8370 * doc/autoconf.texi (autoreconf Invocation): Adjust.
8372 2002-10-31 Bruno Haible <bruno@clisp.org>
8374 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
8375 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
8376 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
8377 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
8378 to ac_cv_func_realloc_0_nonnull.
8379 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
8381 2002-10-31 Akim Demaille <akim@epita.fr>
8383 The test suite was no longer checking for trailing envvars and files.
8385 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
8386 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
8388 2002-10-31 Akim Demaille <akim@epita.fr>
8390 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
8391 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
8392 Make variable, not a shell variable.
8393 Suggested by Bruno Haible.
8395 2002-10-31 Akim Demaille <akim@epita.fr>
8397 * bin/autom4te.in (load_configuration): Reject #args out of any
8400 2002-10-31 Akim Demaille <akim@epita.fr>
8402 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
8403 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
8404 (_AC_RUN_IFELSE): Use it.
8405 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
8406 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
8407 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
8410 2002-10-30 Akim Demaille <akim@epita.fr>
8412 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
8413 * doc/autoconf.texi (autom4te Invocation): Adjust.
8414 Suggested by Tim van Holder.
8416 2002-10-29 Paul Eggert <eggert@twinsun.com>
8418 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
8419 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
8420 Problem reported by Bruno Haible.
8422 2002-10-29 Akim Demaille <akim@epita.fr>
8424 * doc/autoconf.texi (Header Templates): Put also in words what the
8425 pictures says to assist free style readers.
8426 (Customizing autom4te): s/--cache=/--cache /.
8428 2002-10-29 Akim Demaille <akim@epita.fr>
8430 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
8432 sparc_address_test returns void.
8433 Use it with an argument, as prototyped.
8436 2002-10-29 Akim Demaille <akim@epita.fr>
8438 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
8439 configure.in, not configure.ac.
8440 Reported by Bruno Haible.
8442 2002-10-29 Akim Demaille <akim@epita.fr>
8444 * tests/torture.at (Deep Package): New test.
8445 (Configuring subdirectories): Don't use a testSubDir as Autotest
8448 2002-10-29 Akim Demaille <akim@epita.fr>
8450 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
8451 * doc/autoconf.texi (Invoking autom4te): Rename as...
8452 (autom4te Invocation): this, for consistency with the other nodes.
8454 2002-10-29 Akim Demaille <akim@epita.fr>
8456 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
8457 Reported by Ralf Corsepius.
8459 2002-10-29 Akim Demaille <akim@epita.fr>
8461 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8462 characters is a back as an `obsolete' warning now.
8463 Reported by Ralf Corsepius.
8465 2002-10-28 Akim Demaille <akim@epita.fr>
8467 * configure.ac: Bump to 2.54c.
8469 2002-10-28 Akim Demaille <akim@epita.fr>
8473 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
8475 2002-10-28 Akim Demaille <akim@epita.fr>
8477 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
8478 m4 executable names, and different GNU M4 version.
8479 Reported by Ezra Peisach and Paul Jarc.
8481 2002-10-27 Akim Demaille <akim@epita.fr>
8483 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
8486 2002-10-27 Akim Demaille <akim@epita.fr>
8488 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
8489 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
8490 Die when a simple Fortran program cannot be compiled.
8491 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
8492 Issue a warning if no function is given.
8494 2002-10-27 Akim Demaille <akim@epita.fr>
8496 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
8497 Move the documentation of AC_TRY_RUN to...
8498 (Obsolete Macros): here.
8499 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
8500 (autoconf Invocation): Remove the duplicates with `invoking
8502 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
8503 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
8505 2002-10-27 Akim Demaille <akim@epita.fr>
8507 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
8508 and AC_LANG_FUNC_LINK_TRY.
8509 (Examining Libraries): Rename as...
8510 (Running the Linker): this.
8511 Document AC_LINK_IFELSE.
8512 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
8513 (Obsolete Macros): here.
8514 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
8515 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
8516 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
8517 * lib/autoconf/headers.m4 (AC_USG): Likewise.
8519 2002-10-27 Akim Demaille <akim@epita.fr>
8521 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
8523 More `check config.log' messages.
8525 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
8526 * doc/autoconf.texi (Printing Messages): Document it.
8527 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
8529 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
8530 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
8531 (_AC_COMPILER_OBJEXT): Likewise.
8532 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
8533 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
8535 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
8538 Deprecate macros with unusual interfaces.
8540 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
8541 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
8543 Document the new ones, and proper style.
8545 * doc/autoconf.texi (Generating Sources): New.
8546 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
8547 (Examining Declarations): Rename as...
8548 (Running the Preprocessor): this.
8549 Document AC_PREPROC_IFELSE.
8550 (Examining Syntax): Rename as...
8551 (Running the Compiler): this.
8552 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
8553 (Obsolete Macros): Move the definition of AC_TRY_CPP and
8554 AC_TRY_COMPILE here.
8556 2002-10-27 Akim Demaille <akim@epita.fr>
8558 Move sections around.
8560 * doc/autoconf.texi (Customizing autom4te): Remove a lost
8562 Reported by Burno Haible.
8563 (Language Choice): Now the first section of...
8564 (Writing Tests): this section.
8565 Make the introduction less C-centric.
8566 (Guidelines, Test Functions): Move to...
8567 (Writing Test Programs): this new section.
8568 (Test Programs): Merge into...
8571 2002-10-27 Akim Demaille <akim@epita.fr>
8573 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
8574 autom4te.in that resulted in the need for two `make' runs.
8576 2002-10-27 Akim Demaille <akim@epita.fr>
8578 * configure.ac: Bump to 2.54b.
8580 2002-10-25 Akim Demaille <akim@epita.fr>
8584 * Makefile.maint: Update from the Coreutils.
8585 (AMTAR): Remove, obsolete.
8586 (automake_repo): Update to redhat.com.
8588 Adjust to the fact that ansi2knr is now hosted by Automake.
8589 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
8590 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
8591 Update from masters.
8592 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
8593 autoscan.pre is not to be installed, and autoscan.list is not to
8595 (CLEANFILES): Add autoscan.list.
8596 (autoscan.list): Disable the cache.
8597 * bin/Makefile.am: Include freeze.mk.
8599 2002-10-25 Akim Demaille <akim@epita.fr>
8601 * bin/autom4te.in (&load_configuration): Take the file as
8603 (&parse_args): Handle -C, --cache.
8605 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
8606 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
8607 * doc/autoconf.texi (Invoking autom4te): Document --cache.
8608 Now a subsection of...
8609 (Using autom4te): This new section.
8610 (Customizing autom4te): New.
8611 (autom4te.cache): Adjust.
8613 2002-10-25 Akim Demaille <akim@epita.fr>
8615 * doc/autoconf.texi (Generic Headers): More information on how to
8616 use AC_CHECK_HEADERS.
8618 2002-10-25 Akim Demaille <akim@epita.fr>
8620 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
8623 2002-10-25 Akim Demaille <akim@epita.fr>
8625 * bin/autoscan.in (output): Output AC_PREREQ.
8626 (%needed_macros): Add AC_PREREQ so that configure.ac without one
8629 2002-10-23 Akim Demaille <akim@epita.fr>
8631 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
8634 2002-10-23 Akim Demaille <akim@epita.fr>
8636 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
8637 Reported by Peter Eisentraut.
8639 2002-10-23 Akim Demaille <akim@epita.fr>
8641 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
8644 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
8645 Eggert's recommandations.
8647 2002-10-22 Akim Demaille <akim@epita.fr>
8649 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
8650 Bison, by Paul Eggert.
8651 * doc/autoconf.texi (Particular Headers): Document it.
8653 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
8655 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
8656 `$ac_configure_args'.
8658 2002-10-22 Akim Demaille <akim@epita.fr>
8660 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
8661 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
8664 2002-10-22 Akim Demaille <akim@epita.fr>
8666 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
8668 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8669 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
8670 (_AC_CHECK_HEADER_NEW): Rename as...
8671 (AC_CHECK_HEADER): this.
8673 2002-10-22 Akim Demaille <akim@epita.fr>
8675 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
8676 words about HP-UX cmp: it was actually a user-written cmp.
8678 2002-10-22 Akim Demaille <akim@epita.fr>
8680 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
8682 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8683 Quote for Perl '' strings, not "".
8684 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
8687 2002-10-22 Akim Demaille <akim@epita.fr>
8689 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8690 characters is a syntax warning now.
8691 (_AS_QUOTE): Accept $2 as list of characters to quote.
8692 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8693 Quote for Perl, not sh.
8694 * bin/autoheader.in: When $debug, report the file which is
8696 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
8697 `@', to tickle Perl's lists.
8698 Reported by Carlos Velasco.
8700 2002-10-18 Akim Demaille <akim@epita.fr>
8702 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
8703 missing included files _are_ errors.
8704 Thanks to Alexandre Duret-Lutz.
8705 * tests/tools.at (autom4te cache): Adjust.
8706 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
8707 (AT_CHECK_M4SUGAR): Use it.
8708 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8710 * tests/tools.at (autom4te): Now it does exit 1.
8712 2002-10-17 Akim Demaille <akim@epita.fr>
8714 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
8715 Fixes the `AC_ARG_VAR' test failures.
8716 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
8717 * lib/freeze.mk (check-forbidden-patterns): New.
8718 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
8719 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
8720 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
8722 Reported months ago by H. Merijn Brand.
8724 2002-10-17 Akim Demaille <akim@epita.fr>
8726 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
8728 2002-10-16 Paul Eggert <eggert@twinsun.com>
8730 * Makefile.maint (wget_files): Remove ansi2knr.c.
8731 (ansi2knr.c-url_prefix): Remove.
8733 2002-10-16 Akim Demaille <akim@epita.fr>
8735 Because of caching, some files that no longer exist and are no
8736 longer required can still cause errors.
8737 Reported by Alexandre Duret-Lutz.
8739 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
8740 to frozen files in @ARGV, as @ARGV must remain being a list of
8741 files. Rather, at M4 call sites, use this...
8742 (&files_to_options): New function.
8743 (&freeze): Use &error.
8744 (&up_to_date): If a file that was included according to the cache
8745 is no longer there, then the output is out dated.
8746 (&main): Don't even check whether a file is up to date is anyway
8748 * tests/tools.at (autom4te cache): New.
8750 2002-10-16 Akim Demaille <akim@epita.fr>
8752 * bin/autoconf.as: Kill dead options.
8753 * bin/autoupdate.in (&parse_args): Kill old options.
8754 * bin/autoreconf.in (&parse_args): Remove dead options.
8756 (&autoreconf): Report the directories we enter *and leave*, so
8757 that error messages can be easily located, and use GNU Make
8758 format, so that Emacs' compile mode understands us.
8759 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
8760 if some file was changed instead of `print'.
8761 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
8762 (&parse_args): Remove the dead options.
8763 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
8764 autoheader's quiet mode.
8765 (AT_CHECK_AUTOUPDATE): Likewise.
8766 * tests/tools.at (autoupdate): Adjust.
8767 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8769 2002-10-11 Akim Demaille <akim@epita.fr>
8771 No longer use CPP to check for the existing of headers: use CC to
8772 check for compilability.
8774 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8775 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
8776 (_AC_CHECK_HEADER_NEW): Rename as...
8777 (AC_CHECK_HEADER): this.
8779 * lib/autotest/general.m4 (AT_INIT): Include the failed test
8780 numbers in the Subject suggestion.
8782 2002-10-11 Akim Demaille <akim@epita.fr>
8784 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
8785 Suggest using AC_CHECK_DECLS instead.
8787 2002-10-11 Akim Demaille <akim@epita.fr>
8789 * tests/torture.at (AC_ARG_VAR): Have configure report the value
8792 2002-10-11 Akim Demaille <akim@epita.fr>
8794 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
8795 file name to enable parallel executions.
8796 From Sam Varshavchik.
8798 2002-10-08 Akim Demaille <akim@epita.fr>
8800 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
8801 aclocal invocation, as Gettext macros might not be visible to
8803 Instead of blindly running autopoint, scan configure.ac (not the
8804 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
8805 Reported by Paul D. Smith.
8807 2002-10-08 Paul Eggert <eggert@twinsun.com>
8809 Work around problems found when POSIXLY_CORRECT=1 is set.
8810 None of this seems to have anything to do with POSIX, really,
8811 but it's how Perl getopt works.
8812 * bin/autom4te.in (parse_args): Configure GetOpt with
8814 * doc/autoconf.texi (Invoking autom4te):
8815 --warning -> --warnings.
8816 * lib/autom4te.in: --warning -> --warnings.
8818 2002-09-28 Akim Demaille <akim@epita.fr>
8820 * doc/autoconf.texi (autom4te.cache): New section.
8822 2002-09-28 Akim Demaille <akim@epita.fr>
8824 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
8825 (Automake-preselections): Update.
8826 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
8828 2002-09-28 Akim Demaille <akim@epita.fr>
8830 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
8831 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
8832 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8833 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
8835 2002-09-28 Akim Demaille <akim@epita.fr>
8837 * tests/torture.at (Configuring subdirectories): Be robust to
8838 users who use config.site to require for a cache: in this case,
8839 the two last configure runs, using two different sets of
8840 arguments, trigger a legitimate error.
8842 2002-09-28 Akim Demaille <akim@epita.fr>
8844 * tests/m4sh.at (Functions Support, Functions and return Support):
8847 2002-09-28 Akim Demaille <akim@epita.fr>
8849 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
8850 autoheader are Perl programs.
8851 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
8852 (autom4te): Specify that the sources are in the $srcdir.
8853 * doc/autoconf.texi (Installation Directory Variables): Adjust.
8855 2002-09-28 Akim Demaille <akim@epita.fr>
8857 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
8858 (tm_zone): Move their rules to...
8859 * lib/autoconf/types.m4: here, using AN_ macros.
8860 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
8861 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
8862 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
8863 * lib/autoconf/programs.m4: here.
8864 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
8865 (ETAGS_FOR_AUTOCONF): New.
8868 2002-09-28 Akim Demaille <akim@epita.fr>
8870 * lib/autoconf/autoscan.m4: New file.
8871 * lib/autoconf/autoconf.m4: Include it.
8872 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
8873 that were listed in the original autoscan.list.
8874 * lib/autoconf/headers.m4: Similarly with headers.
8875 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
8876 (.m4.m4f): Don't pass --prepend-include, since that's done by
8877 tests/autom4te itself.
8878 * lib/autoscan/Makefile.am: Include freeze.mk.
8879 (autoscan.list): New target --this file is no longer a source.
8880 (autoscan.pre): New file.
8882 2002-09-28 Akim Demaille <akim@epita.fr>
8884 * bin/autoscan.in (@kinds): Make them singular.
8886 (&init_tables): When --debug, report the list of rules to ease
8887 tracking changes in autoscan.list.
8888 * lib/autoscan/autoscan.list (function): Strip comments, sort.
8890 2002-09-28 Akim Demaille <akim@epita.fr>
8892 * lib/autoscan/functions, lib/autoscan/headers,
8893 * lib/autoscan/identifiers, lib/autoscan/makevars,
8894 * lib/autoscan/programs: Merge into...
8895 * lib/autoscan/autoscan.list: this.
8896 * bin/autoscan.in (&init_tables): Adjust.
8898 2002-09-28 Akim Demaille <akim@epita.fr>
8900 * lib/autoscan/functions, lib/autoscan/headers,
8901 * lib/autoscan/identifiers, lib/autoscan/makevars,
8902 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
8903 `functions' line is now prefixed with `function:'.
8904 * bin/autoscan.in (&init_tables): Adjust.
8906 2002-09-28 Akim Demaille <akim@epita.fr>
8908 From now on, autoscan files must always map a macro name to a
8909 word: there is no `default' macro for autoscan.
8911 * bin/autoscan.in (&init_tables): Reject entries with no macro at
8913 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
8916 2002-09-28 Akim Demaille <akim@epita.fr>
8918 * bin/autoscan.in (%c_keywords): Remove.
8919 (&used): Keep only track of the words we might be interested in.
8920 (&output_kind): It is no longer needed to look for non active
8923 2002-09-27 Akim Demaille <akim@epita.fr>
8925 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
8926 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
8927 * lib/autoscan/functions: Adjust.
8928 * doc/autoconf.texi (Particular Functions): Adjust.
8930 2002-09-27 Akim Demaille <akim@epita.fr>
8932 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
8934 Thanks to Bill Moseley and Paul Eggert.
8935 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
8936 the tmpdir must be created.
8937 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
8938 dir be in the build tree, instead of $TMPDIR.
8940 2002-09-27 Akim Demaille <akim@epita.fr>
8942 * bin/autoscan.in: Improve the comments.
8943 (&parse_args): Drop obsolete undocumented options.
8944 (&output_kind): Output warnings.
8945 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
8946 (getwd): Trigger a warning.
8948 2002-09-26 Akim Demaille <akim@epita.fr>
8950 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
8951 Reported by Ralf Corsepius.
8952 * doc/autoconf.texi (autoreconf Invocation): Likewise.
8954 2002-09-26 Akim Demaille <akim@epita.fr>
8956 Single suffix rules and seperated dependencies are not portable.
8958 * doc/autoconf.texi (Installation Directory Variables): Update.
8959 (Limitations of Make): Some about `Single Suffix Rules and
8960 Separated Dependencies'.
8961 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8962 (ifnames, autoscan, autom4te): Un-factor into several rules.
8964 2002-09-25 Paul Eggert <eggert@twinsun.com>
8966 * BUGS (Interoperability bugs): New section. Mention libtool
8967 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
8969 2002-09-24 Paul Eggert <eggert@twinsun.com>
8971 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
8972 make handles suffix-rules differently from GNU make.
8974 * bin/Makefile.am (SUFFIXES, .in): Remove.
8975 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
8976 Move the body of the old .in rule here.
8978 2002-09-16 Akim Demaille <akim@epita.fr>
8980 i960 compilers create `b.out' files by default.
8981 Reported by Ralf Corsepius.
8983 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
8984 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
8986 2002-09-13 Paul Eggert <eggert@twinsun.com>
8988 * doc/autoconf.texi (Particular Headers): Remove obsolete
8989 reference to `struct timezone' in the description of
8992 2002-09-13 Akim Demaille <akim@epita.fr>
8996 * config/config.sub, config/config.guess: Update.
8997 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
8998 * Makefile.am: Adjust.
9000 2002-09-13 Akim Demaille <akim@epita.fr>
9002 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
9003 reading config.log when the compiler is rejected.
9004 Suggested by Guido Draheim.
9006 2002-09-13 Akim Demaille <akim@epita.fr>
9008 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
9009 (chdir_init) might hang when stat'ing mounted directories.
9010 Reported by Vance Shipley.
9012 2002-09-12 Akim Demaille <akim@epita.fr>
9014 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
9017 2002-09-12 Akim Demaille <akim@epita.fr>
9019 * doc/autoconf.texi (Defining Symbols): Present two different
9020 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
9021 difference between 1 argument calls, and 2-3 argument calls.
9023 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
9025 * doc/autoconf.texi: Review grammar and punctuation.
9027 2002-09-11 Paul Eggert <eggert@twinsun.com>
9029 * doc/autoconf.texi: Fix minor formatting, spelling, and
9031 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
9032 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
9035 2002-09-11 Akim Demaille <akim@epita.fr>
9037 * doc/autoconf.texi (Questions): Rename as...
9039 (Defining Directories): New.
9041 2002-09-09 Akim Demaille <akim@epita.fr>
9043 * doc/autoconf.texi (Making testsuite Scripts): Update.
9044 Suggested by Nishio Futoshi.
9046 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
9048 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
9049 plain `@' is wanted.
9051 2002-09-09 Akim Demaille <akim@epita.fr>
9053 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
9054 `duplicates', since the algorithm was too naive and could keep
9055 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
9056 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
9057 Reported by Ralf Corsepius.
9058 * tests/torture.at (Configuring subdirectories): Exercise these
9061 2002-09-09 Akim Demaille <akim@epita.fr>
9063 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
9064 looking for a replacement file.
9065 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
9066 directory is relative.
9067 * doc/autoconf.texi (Generic Functions): Clarify the replacement
9068 directory definition.
9069 Reported by Andreas Schwab and Jim Meyering.
9071 2002-09-06 Akim Demaille <akim@epita.fr>
9073 * doc/autoconf.texi (Setting Output Variables): Clarify what
9074 precious variables are.
9075 Suggested by Pontus Skoeld.
9077 2002-09-05 Akim Demaille <akim@epita.fr>
9079 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9080 (ifnames, autoscan, autom4te): Since we don't only depend on
9081 configure.ac variables (such as VERSION etc.), but also on prefix
9082 and so forth, depend on Makefile, not configure.ac.
9083 Reported by Alexandre Duret-Lutz.
9084 * doc/autoconf.texi (Installation Directory Variables): Adjust.
9086 2002-09-05 Kevin Ryde <user42@zip.com.au>
9088 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
9089 doesn't seem to be confined to ia64, just say "some versions".
9091 2002-09-04 Akim Demaille <akim@epita.fr>
9093 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
9095 * Makefile.am (maintainer-clean-local): Remove.
9096 (MAINTAINERCLEANFILES): Remove COPYING.
9098 2002-09-03 Paul Eggert <eggert@twinsun.com>
9100 * doc/autoconf.texi (Configuration Commands): Remove obsolete
9101 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
9104 2002-09-03 Akim Demaille <akim@epita.fr>
9106 * configure.ac: Bump to 2.53d.
9107 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
9108 as of today, on Automake's team suggestion.
9110 2002-09-03 Akim Demaille <akim@epita.fr>
9114 2002-09-02 Akim Demaille <akim@epita.fr>
9116 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
9118 * configure.ac: Disable SITE_MACRO_DIR.
9120 2002-09-02 Jim Meyering <meyering@lucent.com>
9122 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
9123 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
9124 Also, tweak grammar: s/make sure to/be sure to/.
9126 2002-09-02 Paul Eggert <eggert@twinsun.com>
9128 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
9129 directory names are generally preferable to physical names.
9131 2002-09-02 Akim Demaille <akim@epita.fr>
9133 * lib/Autom4te/General.pm (&update_file): s/die/error/.
9134 Reported by Raja R. Harinath.
9135 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
9136 * bin/autoupdate.in: Use error instead of die.
9138 2002-09-01 Paul Eggert <eggert@twinsun.com>
9140 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
9141 ordinary shell concatenation rather than echo+tr+sed command that
9142 runs afoul of a long-line-related sed bug in Solaris 8.
9144 * bin/autoheader.in (parse_args): --warning -> --warnings.
9146 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
9147 stdout, as traditional "ls" does.
9148 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
9149 _AC_COMPILER_EXEEXT_O): Likewise.
9150 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
9152 * bin/autoconf.as: Add --prepend-include option. This patch was
9153 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
9154 but bin/autoconf.in is generated automatically from bin/autoconf.as.
9156 * bin/autoconf.in, configure: Regenerate.
9158 * doc/autoconf.texi (Special Shell Variables): Mention
9159 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
9161 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
9162 MAILPATH and set PS1, PS2, PS4 to default values, to work
9163 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
9164 For LC_ALL etc, first try to set to "C" as POSIX requires and as
9165 the Autoconf documentation specifies; fall back to "unset" only if
9166 this fails. Use a shell for-loop for this rather than an m4 loop,
9167 to shorten the output script.
9169 2002-08-30 Paul Eggert <eggert@twinsun.com>
9171 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
9172 1003.1-2001's requirements for CDPATH. Give a simpler workaround
9173 for the CDPATH problem. Document PWD.
9174 (Limitations of Builtins): Document the problem that "cd $foo" and
9175 "ls $foo" may refer to different directories in shells conforming
9176 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
9177 example, since the old example is now out of date.
9179 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
9180 FOO" and "ls FOO" talk about different directories; this catches
9181 problems when POSIX 1003.1-2001 "cd" fails due to symlink
9184 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
9185 of rolling our own unset.
9186 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
9187 in practice we needn't worry about CDPATH if unset doesn't work.
9189 * Makefile.in, aclocal.m4, bin/Makefile.in,
9190 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
9191 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
9192 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
9193 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
9194 tests/Makefile.in: Regenerate with Automake 1.6.3.
9196 * config/config.guess, config/config.sub, config/mkinstalldirs:
9199 * configure: Regenerate with self.
9201 2002-08-30 Kevin Ryde <user42@zip.com.au>
9203 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
9206 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9208 * bin/autom4te.in (Request::load): Correctly test for "do" read
9211 2002-08-29 Akim Demaille <akim@epita.fr>
9213 * lib/Autom4te/General.pm (&xqx): New.
9214 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
9215 hand, which is not portable.
9217 * bin/autom4te.in: Use them.
9218 Use &error instead of die.
9219 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9222 2002-08-17 Paul Eggert <eggert@twinsun.com>
9224 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
9225 default list of compilers to try, since it was long ago superseded
9226 by the ksh fc builtin. Suggested by Steven G. Johnson.
9228 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
9230 * doc/autoconf.texi (Invoking autom4te): End the option table,
9231 fixing a bug introduced by the previous patch.
9232 (Limitations of Make): Add a 'target lookup' subentry in the
9233 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
9235 2002-07-29 Mark D. Roth <roth@feep.net>
9237 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
9238 options and use $AUTOM4TE_PATH.
9239 * doc/autoconf.texi: Remove documentation of autom4te
9240 --include-envvar and --site-macro-subdir options and document
9241 use of $AUTOM4TE_PATH.
9242 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
9243 arguments from each language section.
9245 2002-07-29 Paul Eggert <eggert@twinsun.com>
9247 * doc/install.texi: Include copyright symbol in copyright notice.
9249 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
9251 (AM_MAKEINFOFLAGS): New macro.
9252 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
9253 * Makefile.am (INSTALL): Use the new macros.
9254 Use -o rather than --output, since "missing" does not grok --output.
9256 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
9258 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
9259 comments do not always work. Never trust the exit status of
9262 2002-07-24 Kevin Ryde <user42@zip.com.au>
9264 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
9265 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
9267 2002-07-23 Paul Eggert <eggert@twinsun.com>
9269 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
9270 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
9271 apparently treats PATH="nonexistent" as if it contained ".".
9272 Bug reported by Stefan `Sec' Zehl.
9274 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
9276 * doc/autoconf.texi (Limitations of Make): Mention the special
9277 handling of the obj/ directory by BSD make.
9279 2002-07-20 Kevin Ryde <user42@zip.com.au>
9281 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
9284 2002-07-19 Akim Demaille <akim@epita.fr>
9286 * doc/autoconf.texi (Function Portability): `exit'.
9287 (Programming in M4sh): Ethymology of M4sh.
9289 2002-07-19 Akim Demaille <akim@epita.fr>
9291 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
9293 2002-07-18 Akim Demaille <akim@epita.fr>
9297 2002-07-18 Akim Demaille <akim@epita.fr>
9299 * config/config.guess, config/config.sub: Update.
9301 2002-07-18 Akim Demaille <akim@epita.fr>
9303 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
9306 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
9307 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
9308 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
9310 2002-07-18 Akim Demaille <akim@epita.fr>,
9311 Alexandre Duret-Lutz <duret_g@epita.fr>
9313 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
9314 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
9316 2002-07-17 Russ Allbery <rra@stanford.edu>
9318 * doc/autoconf.texi (Initializing configure): Clarify the
9319 description of the tarname default.
9321 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
9323 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
9324 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
9327 2002-07-17 Akim Demaille <akim@epita.fr>
9329 * lib/Autom4te/General.pm (find_file): Browse the directories in
9330 the order they are given.
9332 2002-07-17 Akim Demaille <akim@epita.fr>
9334 * tests/wrapsh.as, tests/wrappl.as: Merge into...
9335 * tests/wrapper.as: this.
9336 * tests/Makefile.am, configure.ac: Adjust.
9338 2002-07-17 Mark D. Roth <roth@feep.net>
9340 * configure.ac: Add --enable-site-macro-dir option.
9341 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
9342 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
9343 --site-macro-subdir options.
9344 * bin/autoconf.in: Add --prepend-include option.
9345 * bin/autoheader.in: Add --prepend-include option.
9346 * bin/autoreconf.in: Add --prepend-include option.
9347 * bin/autoscan.in: Add --prepend-include option.
9348 * bin/autoupdate.in: Add --prepend-include option.
9349 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
9350 macro directory, remove note that include path directories are
9351 used in reverse order, and document --prepend-include option.
9352 * lib/autom4te.in: Use --prepend-include instead of --include.
9353 * tests/wrapsh.in: Use --prepend-include instead of --include.
9355 2002-07-17 Akim Demaille <akim@epita.fr>
9357 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
9359 * doc/autoconf.texi (Initializing configure): Adjust.
9361 2002-07-17 Akim Demaille <akim@epita.fr>
9363 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
9364 (_AC_FUNC_MALLOC): New.
9365 (AC_FUNC_MALLOC): Use the latter.
9366 Define HAVE_MALLOC to 0 if broken.
9367 * doc/autoconf.texi (Particular Functions): Adjust.
9369 2002-07-16 Akim Demaille <akim@epita.fr>
9371 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
9372 * doc/autoconf.texi (C Compiler): Adjust.
9374 2002-07-09 Akim Demaille <akim@epita.fr>
9376 * doc/autoconf.texi: Properly set the ``header'' part.
9378 2002-07-09 Akim Demaille <akim@epita.fr>
9380 * doc/autoconf.texi (Systemology): Some about Darwin.
9382 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
9384 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
9385 Don't use AC_REQUIRE in AU_DEFUN.
9387 2002-07-09 Art Haas <ahaas@neosoft.com>
9389 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
9391 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
9393 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9394 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
9395 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
9396 so that Emacs setups GNU style for perl-mode and cperl-mode.
9398 2002-06-27 Paul Eggert <eggert@twinsun.com>
9400 * config/install-sh: Quote $src. Prefer || to test's -o option,
9401 as per "Limitations of Builtins".
9402 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
9403 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9405 * tests/mktests.sh: Use grep instead of fgrep, as per
9406 "Limitations of Builtins".
9408 2002-06-15 Paul Eggert <eggert@twinsun.com>
9410 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
9411 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
9412 so that we consistently test the just-built programs.
9413 * tests/wrappl.as: Likewise.
9415 2002-06-12 Paul Eggert <eggert@twinsun.com>
9417 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
9418 name, so that symlinks to 'autoconf' work properly. Bug reported
9420 * bin/autoheader.in (AUTOM4TE): Likewise.
9421 * bin/autoreconf.in (autoconf, autoheader): Likewise.
9422 * bin/autoscan.in (autom4te): Likewise.
9423 * bin/autoupdate.in (autom4te): Likewise.
9425 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
9426 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
9429 2002-06-11 Andreas Schwab <schwab@suse.de>
9431 * doc/autoconf.texi: Add more dir entries.
9433 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
9435 * bin/autom4te.in ($cache): Don't define using `$me', the name
9436 of the cache should not depend on the name under which autom4te
9439 2002-06-07 Akim Demaille <akim@epita.fr>
9441 * tests/tools.at (autoconf: forbidden tokens, basic)
9442 (autoconf: forbidden tokens, exceptions): Adjust to the change of
9443 words in autom4te.in.
9445 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
9447 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
9448 _AC_LANG_PROGRAM_C_F77_HOOKS.
9450 2002-06-07 Akim Demaille <akim@epita.fr>
9452 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
9454 (AC_REPLACE_FNMATCH): this.
9455 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
9456 AC_FUNC_FNMATCH_GNU.
9458 2002-06-07 Akim Demaille <akim@epita.fr>
9460 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
9461 Rosetta Stone for Unix.
9463 2002-06-07 Akim Demaille <akim@epita.fr>
9465 * bin/autom4te.in (warn_forbidden): When rejecting a token,
9466 suggest m4_pattern_allow.
9467 Suggested by Adam J. Richter.
9469 2002-06-07 Akim Demaille <akim@epita.fr>
9471 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
9472 ac_config_libobj_dir.
9473 (AC_CONFIG_LIBOBJ_DIR): New.
9474 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
9475 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
9476 Use ac_config_libobj_dir to find the replacement files.
9477 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
9478 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
9479 (AC_REPLACE_FNMATCH_GNU): these.
9480 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
9481 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
9482 * tests/mktests.sh (ac_exclude_list): Don't check
9483 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
9485 2002-06-06 Paul Eggert <eggert@twinsun.com>
9487 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
9490 * doc/autoconf.texi (Configuration Links): Likewise.
9491 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
9493 2002-06-05 Paul Eggert <eggert@twinsun.com>
9495 * config/config.guess, config/config.sub, config/texinfo.tex:
9496 Update from masters.
9498 2002-05-29 Paul Eggert <eggert@twinsun.com>
9500 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
9501 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9502 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
9504 * lib/autoconf/Makefile.am (check-local): Likewise.
9505 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
9506 * lib/autoconf/types.m4 (commentary only): Likewise.
9507 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
9508 * lib/autotest/Makefile.am (check-local): Likewise.
9509 * lib/m4sugar/Makefile.am (check-local): Likewise.
9510 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
9511 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
9513 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
9514 * doc/autoconf.texi (Particular Programs): Document them.
9515 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
9518 2002-05-27 Paul Eggert <eggert@twinsun.com>
9520 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
9521 * NEWS, doc/autoconf.texi (Particular Types): Document it.
9522 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
9523 instead of AC_MBSTATE_T, which never existed.
9525 2002-05-23 Akim Demaille <akim@epita.fr>
9527 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
9528 version of Autoconf that is discussed.
9530 2002-05-22 Paul Eggert <eggert@twinsun.com>
9532 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
9533 from the default list of compilers to try. Suggested by
9535 * NEWS: Document the above.
9536 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
9538 2002-05-17 Paul Eggert <eggert@twinsun.com>
9540 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
9541 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
9542 This improves on an earlier suggestion by H. Peter Anvin.
9544 2002-05-16 Paul Eggert <eggert@twinsun.com>
9546 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
9547 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
9548 Both macros now accept an optional source-dir arg.
9549 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
9551 * NEWS: Document this.
9552 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
9554 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
9555 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
9556 not for GNU extensions; this undoes part of the 2000-11-03 change,
9557 reverting to 2.13-compatible behavior.
9558 Add new optional argument DIR.
9559 (AC_FUNC_FNMATCH_GNU): New macro.
9561 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
9563 2002-05-08 Paul Eggert <eggert@twinsun.com>
9565 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
9566 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
9567 and it causes a 'test' syntax error if it fails.
9568 Bug reported by Stephen Gildea.
9570 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
9571 If prototypes are supported, use them to check this at compile-time,
9572 instead of trying to check it at run-time. If we must do a run-time
9573 check, assume that setvbuf is standard when cross-compiling, as
9574 nonstandard setvbuf occurs only on ancient and unlikely hosts.
9575 Bug reported by Paul D. Smith.
9577 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
9578 argument specifying location of getloadavg.c. This removes a
9579 FIXME. This idea was taken from Jim Meyering's implementation in
9581 * doc/autoconf.texi (Particular Functions): Document this.
9582 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
9583 that's what the code does; this fixes a bug reported by
9586 2002-05-03 Akim Demaille <akim@epita.fr>
9588 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
9589 autopoint instead of gettextize.
9590 ($uses_alocal): Rename as...
9591 ($uses_aclocal): this.
9592 * doc/autoconf.texi (autoreconf Invocation): Adjust.
9593 Suggested by Bruno Haible.
9595 2002-05-03 Akim Demaille <akim@epita.fr>
9597 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
9599 2002-04-29 Paul Eggert <eggert@twinsun.com>
9601 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
9602 files to be 1 second older; just set them to be the same time.
9603 Also, sleep 1 second after the first aclocal, to work around
9604 problems with sub-second time stamps on the input files.
9606 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
9608 * doc/autoconf.texi: Mention "set -e -x" lossage
9609 under node "Limitations of Builtins".
9611 2002-04-29 Akim Demaille <akim@epita.fr>
9613 * doc/install.texi: Better wording for setting variables when
9615 From Christian Cornelssen.
9617 2002-04-29 Akim Demaille <akim@epita.fr>
9619 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
9620 of lack of $LINENO support, then the test will compare the $LINENO
9621 in testsuite vs. the lineno in the test file. This is wrong, of
9623 Be sure to protect it.
9624 Reported by Patrick Welche.
9626 2002-04-25 Akim Demaille <akim@epita.fr>
9628 * doc/autoconf.texi (Obsolete Macros): Typo.
9629 Reported by Vladimir Volovich.
9631 2002-04-25 Akim Demaille <akim@epita.fr>
9633 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
9634 than some of the input files, hence, on the second run of aclocal,
9635 if some of its input are younger, make them older.
9636 Suggested by Paul Eggert.
9638 2002-04-25 Akim Demaille <akim@epita.fr>
9640 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
9641 Thanks to Paul Eggert.
9643 2002-04-25 Akim Demaille <akim@epita.fr>
9645 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
9646 and ac_subst_vars be sh variables containing the list of
9647 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
9649 (_AC_INIT_PREPARE): Use them to log them.
9650 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
9651 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
9652 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
9653 _AC_SUBST_FILES and _AC_SUBST_VARS.
9654 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
9656 2002-04-24 Akim Demaille <akim@epita.fr>
9658 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
9659 autoheader, so that automake does not complain about a missing
9660 config.h.in that was to be created.
9662 2002-04-23 Akim Demaille <akim@epita.fr>
9664 * bin/autoheader.in (parse_args): --warning takes an argument.
9667 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
9669 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
9670 and bb.out when cleaning up.
9672 2002-04-22 Akim Demaille <akim@epita.fr>
9676 2002-04-22 Akim Demaille <akim@epita.fr>
9678 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
9680 2002-04-22 Akim Demaille <akim@epita.fr>
9682 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
9684 Reported by Gregory Giannoni.
9686 2002-04-22 Akim Demaille <akim@epita.fr>
9688 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
9689 Fixes false failures on Darwin.
9691 2002-04-21 Paul Eggert <eggert@twinsun.com>
9693 * TODO, bin/autoupdate.in, doc/autoconf.texi,
9694 lib/autoconf/general.m4, lib/autoconf/libs.m4,
9695 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
9696 tests/tools.at: Minor spelling and grammar fixes.
9698 2002-04-20 Paul Eggert <eggert@twinsun.com>
9700 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
9701 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
9702 * lib/autotest/general.m4 (AT_INIT): Likewise.
9703 * tests/atgeneral.m4 (AT_INIT): Likewise.
9705 2002-04-19 Paul Eggert <eggert@twinsun.com>
9707 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
9708 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
9709 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
9710 lib/autoconf/functions.m4, lib/autoconf/general.m4,
9711 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
9712 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
9713 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
9714 Minor spelling and grammar fixes.
9716 * doc/autoconf.texi: Follow the outline suggested in the GNU
9717 Sample Texts sections of the Texinfo 4.2 manual. Most
9718 importantly, this makes sure that the copyright notices appear in
9719 all output formats. You probably need Texinfo 4.2 to generate
9722 Fix some bugs when using "$@" when there might be zero positional
9723 arguments in cases where this matters.
9725 * bin/autoconf.as: Rewrite so that the problem does not come up.
9726 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
9727 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
9728 * lib/autotest/general.m4 (AT_INIT): Likewise.
9730 * bin/autoheader.in: Use 'case' statement to work around problem.
9731 * bin/auto4mte.in: Likewise.
9732 * bin/autoreconf.in: Likewise.
9733 * bin/autoscan.in: Likewise.
9734 * bin/autoupdate.in: Likewise.
9735 * bin/ifnames.in: Likewise.
9737 * doc/autoconf.texi (Shell Substitutions): Document the problem.
9739 * lib/autotest/general.m4 (AT_INIT):
9740 Use Zsh alias to work around problem.
9741 * tests/atgeneral.m4 (AT_INIT): Likewise.
9743 * tests/c.at: We can't have zero arguments, so remove workaround
9744 that is not portable to Zsh.
9746 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
9748 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
9749 from aclocal.m4 too.
9751 2002-04-12 Akim Demaille <akim@epita.fr>
9753 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
9755 2002-04-10 Akim Demaille <akim@epita.fr>
9757 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
9758 workaround for ${1+"$@"}.
9759 * doc/autoconf.texi (Shell Substitutions): Explain it.
9760 From Oliver Kiddle and Peter Stephenson.
9762 Have M4sh perform minimal shell sanitizing.
9764 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
9766 (_AS_PREPARE): this new macro.
9768 (AS_INIT): Invoke AS_SHELL_SANITIZE.
9769 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
9771 Adjust Autoconf and Autotest.
9773 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
9774 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
9775 * lib/autotest/general.m4 (AT_INIT): Likewise.
9776 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
9777 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
9780 Use this M4sh to generate Autoconf's shell scripts.
9782 * tests/wrapsh.as: New, precursor of wrapsh.in.
9783 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
9784 on Autotest and M4sh.
9785 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
9786 (wrapsh.in): New target.
9787 * bin/autoconf.as: New, precursor of autoconf.in.
9788 (autoconf.in): New target.
9790 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
9792 * doc/autoconf.texi (Limitations of Make): Mention the issue
9793 with indented comments in rules.
9795 2002-04-09 Andreas Schwab <schwab@suse.de>
9797 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
9798 ac_top_builddir when setting ac_abs_top_builddir.
9800 2002-04-06 Kevin Ryde <user42@zip.com.au>
9802 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
9803 (Portable Shell): Cross reference to Systemology.
9805 2002-04-05 Akim Demaille <akim@epita.fr>
9807 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
9808 directories when descending in a SUBDIRS.
9809 Reported by Ezra Peisach.
9811 2002-04-04 Andreas Schwab <schwab@suse.de>
9813 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
9814 contains no literal separators.
9816 2002-04-03 Akim Demaille <akim@epita.fr>
9818 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
9819 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
9820 Use dnl, not the KILL diversion.
9822 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
9823 (AC_CONFIG_LINKS): here.
9825 Don't use the KILL diversion, as it kills spurious output, which
9826 results in failures being hidden.
9827 Use m4_defn where appropriate.
9828 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
9829 after the second argument.
9831 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
9832 syntax, as it is provided by M4sugar.
9833 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
9835 2002-04-03 Andreas Schwab <schwab@suse.de>
9837 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
9838 expanded if $# <= 2.
9840 * bin/autoreconf.in (autoreconf): Run automake after rerunning
9843 2002-04-03 Akim Demaille <akim@epita.fr>
9845 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
9846 (_AC_COMPILER_EXEEXT_REJECT): New.
9847 Also recognize *.bb and *.bbg as compilation byproducts.
9848 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
9849 (_AC_COMPILER_OBJEXT): Use them.
9850 Fixes Debian #138666.
9852 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
9854 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
9856 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
9857 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
9858 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
9859 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
9861 (AC_C_INLINE): Same.
9862 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
9863 * doc/autoconf.texi, NEWS: Document.
9864 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
9867 2002-04-02 Akim Demaille <akim@epita.fr>
9869 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
9870 _AS_MKDIR_P_PREPARE.
9872 2002-03-28 Kevin Ryde <user42@zip.com.au>
9874 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
9875 to avoid versions of HP C which don't allow that.
9877 2002-03-27 Paul Eggert <eggert@twinsun.com>
9879 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
9880 (AS_SHELL_SANITIZE): Invoke it.
9881 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
9883 2002-03-26 Akim Demaille <akim@epita.fr>
9885 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
9887 2002-03-26 Akim Demaille <akim@epita.fr>
9889 * doc/autoconf.texi (Introduction): The GNATS base moved.
9891 2002-03-25 Paul Eggert <eggert@twinsun.com>
9893 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
9894 as POSIX requires, as it doesn't work with Zsh.
9895 * doc/autoconf.texi (Assignments): Document the problem.
9897 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
9899 * doc/autoconf.texi (Limitations of Make): Mention more issue
9900 about VPATH, overriding of macros in sub-makes, and handling of
9903 2002-03-21 Paul Eggert <eggert@twinsun.com>
9905 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
9906 problem with here-document buffer boundaries.
9908 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
9909 when reinvoking the shell, to work around problems with installers
9910 who put strange things like "cd" commands in their environments.
9912 2002-03-19 Akim Demaille <akim@epita.fr>
9914 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
9917 2002-03-19 Akim Demaille <akim@epita.fr>
9919 * bin/autoscan.in (scan_file): Specify the location in `&used'
9923 2002-03-19 Akim Demaille <akim@epita.fr>
9925 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
9926 From Nishio Futoshi.
9928 2002-03-19 Akim Demaille <akim@epita.fr>
9930 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
9932 2002-03-18 Paul Eggert <eggert@twinsun.com>
9934 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
9935 (Limitations of Usual Tools): Add mkdir section.
9937 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
9938 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
9939 back on AS_DIRNAME to compute prefixes otherwise; this is
9940 roughly what mkinstalldirs does. That way, we need not have
9941 our own filename disassembler. The old disassembler did not
9942 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
9944 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
9945 Create at_test_all by a series of assignments,
9946 not by a single assignment of a long string. The latter causes ksh
9947 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
9948 presumably because of a buffer overrun.
9950 2002-03-14 Paul Eggert <eggert@twinsun.com>
9952 * lib/autotest/general.m4 (at_times_skip):
9953 Renamed from at_times. Now a boolean.
9954 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
9955 says 'times: not found'.
9957 2002-03-14 Akim Demaille <akim@epita.fr>
9959 * bin/autoreconf.in (&study_gettextize): New.
9960 (&autoreconf): Handle newest gettextize.
9961 Rerun aclocal if needed.
9962 Suggested by Andreas Schwab.
9964 2002-03-13 Akim Demaille <akim@epita.fr>
9966 * doc/autoconf.texi (Special Shell Variables): More about IFS.
9968 2002-03-13 Akim Demaille <akim@epita.fr>
9970 * doc/autoconf.texi (Header Portability): New.
9971 Add information about stdint.h and inttypes.h from Paul Eggert.
9973 2002-03-13 Akim Demaille <akim@epita.fr>
9975 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
9979 2002-03-12 Akim Demaille <akim@epita.fr>
9981 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
9984 2002-03-11 Andreas Schwab <schwab@suse.de>
9986 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
9987 does not do it if --with-lispdir is given.
9989 2002-03-08 Akim Demaille <akim@epita.fr>
9993 2002-03-08 Akim Demaille <akim@epita.fr>
9995 * doc/autoconf.texi (Subdirectories): Clarify that the
9996 subdirectory should exist.
9998 2002-03-08 Akim Demaille <akim@epita.fr>
10000 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
10002 2002-03-08 Akim Demaille <akim@epita.fr>
10004 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
10005 aliases the actual variables, and modifications of the former
10008 2002-03-08 Akim Demaille <akim@epita.fr>
10010 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
10011 because of C-c: have m4 output in tmp files, then mv them.
10013 2002-03-08 Akim Demaille <akim@epita.fr>
10015 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
10016 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
10017 * bin/ifnames.in: Copyright update.
10019 2002-03-08 Akim Demaille <akim@epita.fr>
10021 * doc/autoconf.texi (Invoking autom4te): New.
10023 2002-03-05 Akim Demaille <akim@epita.fr>
10025 * doc/autoconf.texi (Specifying Names): Clarification suggested by
10028 2002-03-05 Akim Demaille <akim@epita.fr>
10032 2002-03-04 Akim Demaille <akim@epita.fr>
10034 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
10035 * lib/autoconf/general.m4 (AC_INIT): More informative error
10036 message for LIBOBJ.
10038 2002-03-04 Akim Demaille <akim@epita.fr>
10040 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
10043 2002-03-04 Akim Demaille <akim@epita.fr>
10045 * doc/autoconf.texi (Transforming Names): Equality between target
10046 and host is irrelevant.
10047 (Specifying Names, Canonicalizing): Remove all references to the
10048 backward compatibility hooks. Rather, collect them all into...
10049 (Hosts and Cross-Compilation): this new section.
10050 * doc/install.texi (System Type): Ditto.
10051 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
10052 that `--host' implies cross-compilation.
10054 2002-03-04 Akim Demaille <akim@epita.fr>
10056 * doc/autoconf.texi (Evaluation Macros): New.
10057 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
10059 (_m4_foreach): Define the variant with immediate evaluation so
10060 that it contains exactly the items, not an expression which
10061 evaluation is the current item.
10062 (m4_re_string, m4_re_word): Don't over quote them.
10064 2002-03-04 Akim Demaille <akim@epita.fr>
10066 Instead of having stacking `shift's evaluated at the end, let
10067 `foreach' loops immediately evaluate them.
10069 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
10070 $*. This is the n-th time I change my mind, but hopefully this is
10073 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
10075 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
10076 it was only a hack for m4_text_wrap.
10077 (m4_car2): Remove, replaced by...
10079 (_m4_foreach): Adjust.
10080 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
10081 m4_bpatsubst for clarification.
10083 2002-03-04 Akim Demaille <akim@epita.fr>
10085 * doc/autoconf.texi (Changequote is Evil): New.
10087 2002-03-03 Kevin Ryde <user42@zip.com.au>
10089 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
10090 on old systems like SunOS.
10092 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
10094 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10095 lib/autoconf/functions.m4, lib/autoconf/general.m4,
10096 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
10097 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
10100 2002-02-28 Akim Demaille <akim@epita.fr>
10102 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
10103 message to be sent.
10105 2002-02-28 Kevin Ryde <user42@zip.com.au>
10107 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
10109 2002-02-25 Akim Demaille <akim@epita.fr>
10111 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
10112 From Akinori Musha.
10114 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
10116 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
10117 translate \r\n to \n.
10119 2002-02-07 Akim Demaille <akim@epita.fr>
10123 2002-02-07 Akim Demaille <akim@epita.fr>
10125 Fix Autoconf PR/209.
10126 Also reported by Frank Denis.
10128 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
10130 2002-02-07 Akim Demaille <akim@epita.fr>
10132 Fix Autoconf PR/207:
10133 AC_PREFIX_PROGRAM fails with dashed program names
10135 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
10136 variable when looking for the prefix program.
10137 Now it also works for shell variables.
10139 2002-02-07 Akim Demaille <akim@epita.fr>
10141 * doc/autoconf.texi (Limitations of Builtins): More about
10144 2002-02-06 Akim Demaille <akim@epita.fr>
10146 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
10147 case/esac, some shells don't support it.
10148 Reported by Zack Weinberg.
10149 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
10151 2002-02-06 Akim Demaille <akim@epita.fr>
10153 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
10154 sure not to introduce newlines in at_groups.
10155 * lib/autotest/Makefile.am (autotest.m4f): Typo.
10157 2002-02-06 Akim Demaille <akim@epita.fr>
10159 * tests/torture.at (Configuring subdirectories): Skip if aclocal
10162 2002-02-05 Paul Eggert <eggert@twinsun.com>
10164 * doc/autoconf.texi (Specific Compiler Characteristics):
10165 Describe HP-UX cc bug workaround more accurately.
10166 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
10168 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
10169 cross-compilers, too. This undoes some of the most recent change
10172 2002-02-05 Akim Demaille <akim@epita.fr>
10174 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
10175 to make sure they are up to date when `check' is run.
10177 2002-02-05 Akim Demaille <akim@epita.fr>
10179 * doc/autoconf.texi (Making testsuite Scripts): Document
10182 2002-02-05 Akim Demaille <akim@epita.fr>
10184 * lib/freeze.mk: New.
10186 2002-02-05 Akim Demaille <akim@epita.fr>
10188 Implement `autom4te --freeze'.
10190 * bin/autom4te.in (&freeze): New.
10191 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
10192 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
10194 2002-02-05 Akim Demaille <akim@epita.fr>
10196 * bin/autom4te.in (&parse_args): Implement `frozen files are
10197 optional are the sum of the previous files on the command line'.
10198 Also, pass `--reload-state=' on them, so...
10199 (handle_m4): don't.
10200 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
10201 (M4sh): Rely on M4sugar.
10202 (Autotest, M4sh, M4sugar): Use frozen files.
10204 2002-01-31 Akim Demaille <akim@epita.fr>
10206 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
10207 * doc/autoconf.texi (Initializing configure): Adjust.
10209 2002-01-30 Akim Demaille <akim@epita.fr>
10211 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
10212 alphanumeric to `-' instead of `_'.
10214 2002-01-30 Akim Demaille <akim@epita.fr>
10216 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
10217 for plain code, the other for cross-compilation code. The latter
10218 is now run with GCC only.
10219 * doc/autoconf.texi (Compilers and Preprocessors): New.
10221 2002-01-30 Akim Demaille <akim@epita.fr>
10223 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
10225 * doc/autoconf.texi (Initializing configure): Explain how to
10226 change AC_INIT default values.
10228 2002-01-29 Akim Demaille <akim@epita.fr>
10230 * tests/torture.at (Configuring subdirectories): Use configure.in,
10231 so that aclocal 1.4 works.
10232 Reported by Alexandre Duret-Lutz and Larry Schmitt.
10234 2002-01-28 Akim Demaille <akim@epita.fr>
10236 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
10239 2002-01-28 Akim Demaille <akim@epita.fr>
10241 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
10242 AUTOTEST_PATH *after* it was set.
10243 Don't put `.' in the PATH: the user should be precise and `./' if
10244 needed. In addition, given that the test suite does some `cd', if
10245 `.' is in the path, the `tested programs' sections will report
10246 programs found in the test suite's directory, while during the
10247 tests (performed in their own directory), these programs are no
10248 longer visible. In other words, the results is confusing and
10250 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
10252 2002-01-24 Akim Demaille <akim@epita.fr>
10256 2002-01-24 Akim Demaille <akim@epita.fr>
10258 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
10259 * doc/autoconf.texi: Finally add Akim as an author.
10261 2002-01-24 Akim Demaille <akim@epita.fr>
10263 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
10264 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
10265 Bourne. Use /bin/sh.
10266 From Andreas Buening.
10268 2002-01-24 Akim Demaille <akim@epita.fr>
10270 * config/config.guess, config/config.sub, config/texinfo.tex:
10271 Update from masters.
10273 2002-01-24 Akim Demaille <akim@epita.fr>
10275 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
10276 * config/auxdir.m4, config/cond.m4, config/depend.m4,
10277 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
10278 * config/missing.m4, config/sanity.m4, config/select.m4,
10279 * config/strip.m4: Remove, to ease sync'ing with any version of
10282 2002-01-24 Akim Demaille <akim@epita.fr>
10284 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
10285 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
10286 Reported by Geir Ove Myhr.
10288 2002-01-21 Akim Demaille <akim@epita.fr>
10290 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
10292 2002-01-21 Akim Demaille <akim@epita.fr>
10294 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
10295 message on invalid options.
10296 * bin/autom4te.in (parse_args): Don't use
10297 Autoconf::General::getopt with non valid options.
10299 2002-01-17 Jim Meyering <meyering@lucent.com>
10301 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
10302 $ac_cv_exeext so we don't use an old, invalid, cached value.
10304 2002-01-11 Akim Demaille <akim@epita.fr>
10306 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
10308 * doc/autoconf.texi (Function Portability): Document the strnlen
10310 (Particular Functions): Document AC_FUNC_STRNLEN.
10311 * lib/autoscan/functions: Adjust.
10313 2002-01-06 Akim Demaille <akim@epita.fr>
10315 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
10316 package.m4, since is really depends upon configure.ac, not
10318 * doc/autoconf.texi (testsuite Scripts): Adjust.
10319 * tests/Makefile.am (package.m4): New.
10320 EXTRA_DIST it since its a source.
10322 2002-01-06 Akim Demaille <akim@epita.fr>
10324 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
10325 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
10326 and PACKAGE_BUGREPORT from here...
10327 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
10329 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
10330 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
10331 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
10332 * tests/tools.at (autoheader): Adjust.
10333 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
10335 2002-01-06 Akim Demaille <akim@epita.fr>
10337 * bin/autoscan.in (scan_file): Use `&used'.
10339 2002-01-03 Akim Demaille <akim@epita.fr>
10341 * doc/autoconf.texi (Output): Improved wording regarding use of
10345 2001-12-18 Kevin Ryde <user42@zip.com.au>
10347 * doc/autoconf.texi (Function Portability): Add notes on sscanf
10348 sometimes needing writable input.
10350 2001-12-17 Jim Meyering <meyering@lucent.com>
10352 * doc/autoconf.texi (New Macros): Tweak wording.
10354 2001-12-14 Akim Demaille <akim@epita.fr>
10356 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
10357 trailing files, don't apply `-rf' to files which might not be
10358 created by configure (core, core.*, and *.core), but just `rm -f'.
10359 Suggested by Jonathan Kamens.
10361 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
10363 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
10365 2001-12-14 Akim Demaille <akim@epita.fr>
10367 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
10369 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
10371 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
10372 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
10373 abs_srcdir, top_srcpath to abs_top_srcdir.
10374 (_AC_OUTPUT_FILES): Adjust.
10375 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
10376 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
10377 * tests/wrappl.in, tests/wrapsh.in: Adjust.
10379 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
10381 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
10382 C/Fortran linking on HP/UX, by extracting the Fortran library
10383 search path from the LPATH line in the $F77 -v output.
10385 2001-12-12 Kevin Ryde <user42@zip.com.au>
10387 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
10388 forbidden file descriptors table.
10390 2001-11-26 Akim Demaille <akim@epita.fr>
10392 * bin/autoscan.in (%c_keywords): Build it at top level.
10393 Map to 1 in order to simplify its uses.
10395 2001-11-26 Akim Demaille <akim@epita.fr>
10397 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
10398 Remove $filepath, useless.
10399 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
10400 variables, they are really part of the tokens.
10401 Split the input line on spaces and then look for tokens.
10402 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
10403 because of `lex$U.$(OBJEXT)'.
10404 (&scan_files): Use "@list" instead of join.
10405 * doc/Makefile.am (CLEANFILES): Add *.fns.
10407 2001-11-26 Akim Demaille <akim@epita.fr>
10409 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
10410 Remove, replaced by...
10411 * tests/wrappl.in: Be common for all the Perl executables.
10412 In particular autoscan and autoheader want -I.
10413 * configure.ac: Adjust.
10414 * lib/autoscan/headers: errno.h is portable.
10416 2001-11-26 Akim Demaille <akim@epita.fr>
10418 * bin/autoscan.in (used): New.
10421 2001-11-26 Akim Demaille <akim@epita.fr>
10423 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
10425 (&scan_sh_file): Remove a duplicate pattern.
10426 (&check_configure_ac): Use long options.
10427 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
10429 2001-11-26 Akim Demaille <akim@epita.fr>
10431 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
10432 Before, having a line containing the opening of a multi line
10433 comment made the whole line be ignored.
10435 2001-11-26 Akim Demaille <akim@epita.fr>
10437 * doc/autoconf.texi (Using an Autotest Test Suite): New.
10438 (testsuite Scripts): Be one of its subsection.
10439 (Autotest Logs): New.
10441 2001-11-26 Akim Demaille <akim@epita.fr>
10443 Test groups are now run two directories deeper.
10445 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
10446 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
10448 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
10449 top_srcdir, builddir and top_builddir.
10450 Use `at_*dir' relatively to the directory containing the
10451 suite, use `*dir' when relatively to the current group dir.
10453 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
10455 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
10456 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
10457 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
10460 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
10462 * doc/autoconf.texi (Using System Type): Add an example of `case
10463 $host' usage so people quit using `case $target' everywhere.
10465 2001-11-22 Akim Demaille <akim@epita.fr>
10467 * doc/autoconf.texi (Installation Directory Variables): Englishoes
10468 spotted by Jim Meyering.
10470 2001-11-16 Paul Eggert <eggert@twinsun.com>
10472 This patch implements a `long double' suggestion by Oliver Kiddle.
10474 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
10475 static, to catch errors if the value isn't known at compile-time
10476 and the compiler supports dynamic arrays. Change its name from
10477 `_array_' to `test_array' to avoid potential name clashes.
10478 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
10479 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
10480 better than double. Catch a bug in GCC 2.95.2 x86.
10481 * doc/autoconf.texi (C Compiler): Document the above.
10484 2001-11-13 Akim Demaille <akim@epita.fr>
10486 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
10488 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
10490 2001-11-13 Akim Demaille <akim@epita.fr>
10492 * lib/autotest/general.m4 (AT_INIT): After having run the test
10493 group, go back to the initial directory, not to at_suite_dir.
10495 2001-11-13 Akim Demaille <akim@epita.fr>
10497 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
10498 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
10499 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
10501 (AT_CHECK_CONFIGURE): Use absolute paths.
10502 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
10503 The problem is still the old one: there is no means in M4 (that I
10504 know about) to create a defining macro, because there is no means
10505 to create `$1' etc., therefore, the defining macro ``swallows''
10506 all the arguments meant to the defined macro.
10508 2001-11-13 Akim Demaille <akim@epita.fr>
10510 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
10511 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
10513 * tests/aclocal.m4: Remove, as it is no longer used.
10515 2001-11-13 Akim Demaille <akim@epita.fr>
10517 * lib/autotest/general.m4: Change `tests?' into `groups?' in
10518 variable names when referring to a single test group, or to
10519 `suite' when referring to the whole test suite.
10520 `at_last_test' is removed: m4 compute at_format itself.
10521 (at_stdout, at_stder1, at_stderr): New variables.
10522 (AT_CHECK): Use them.
10524 2001-11-13 Akim Demaille <akim@epita.fr>
10526 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
10528 Create `testsuite.dir/003/run' instead of `testsuite.003'.
10529 Do it as soon as a test fails, don't wait till the end of the test
10531 Don't remove $as_me.[0-9]*, since these files no longer exist.
10533 2001-11-13 Akim Demaille <akim@epita.fr>
10535 * tests/tools.at: Use absolute paths, since we are no longer run
10538 2001-11-13 Akim Demaille <akim@epita.fr>
10540 Now that tests are running in their own private dir, there is no
10541 need to list the files to remove at the end of tests groups.
10543 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
10544 (AT_data_files, at_data_files): Remove.
10545 (AT_CLEANUP, AT_DATA): Simplify.
10547 Remove the group dir if !debug && !failed.
10548 * tests/atspecific.m4: Adjust.
10550 2001-11-13 Akim Demaille <akim@epita.fr>
10552 Start a new layout for Autotest: `testsuite' creates
10553 `testsuite.dir' in which the at-check-line etc. files are to be
10554 found, and `testsuite.dir/003' where the test group 3 is run.
10556 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
10557 at_check_line_file, at_format, at_test_normalized, at_group_dir
10559 Create the directories.
10560 Use absolute paths for at- files.
10561 (AT_CHECK): Adjust.
10563 2001-11-11 Michael Matz <matz@kde.org>
10565 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
10567 (m4_car): Properly quote arguments.
10569 2001-11-13 Akim Demaille <akim@epita.fr>
10571 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
10572 with stricter rules on LIBOBJS.
10574 2001-11-12 Paul Eggert <eggert@twinsun.com>
10576 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
10577 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
10580 2001-11-12 Akim Demaille <akim@epita.fr>
10582 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
10584 2001-11-12 Akim Demaille <akim@epita.fr>
10586 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10587 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
10588 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10589 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
10590 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
10591 specify to what the macro should be defined (typically to 1).
10593 2001-11-12 Akim Demaille <akim@epita.fr>
10595 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
10598 2001-11-12 Akim Demaille <akim@epita.fr>
10600 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10601 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
10602 definition used by Automake where LEX is +/- "${missing} lex" and
10603 `missing' itself contains variables.
10605 2001-11-12 Akim Demaille <akim@epita.fr>
10607 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
10608 Now that M4sh pushes BODY, the comments were output at the end of
10611 2001-11-08 Akim Demaille <akim@epita.fr>
10613 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
10614 that we can trace macros from aclocal.m4.
10615 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
10616 obsoleted, and redirect to the former anyway.
10617 Reported by Ralf Corsepius.
10619 2001-11-08 Akim Demaille <akim@epita.fr>
10621 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
10622 processed only if present.
10623 * tests/torture.at (Configuring subdirectories): Use autoreconf
10624 instead of successive calls to autoconf.
10625 Add a nonexistent subdirectory to exercise the patch above.
10626 Reported by Ralf Corsepius.
10628 2001-11-08 Kevin Ryde <user42@zip.com.au>
10630 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
10631 doesn't accept .S files.
10633 2001-11-07 Akim Demaille <akim@epita.fr>
10635 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
10636 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
10637 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
10638 * bin/autom4te.in (warn_forbidden): New.
10639 (handle_output): Use it.
10640 Read m4_pattern_forbid with messages.
10642 2001-11-05 Akim Demaille <akim@epita.fr>
10644 * bin/autom4te.in (--normalize): Remove.
10645 * lib/autom4te.in: Adjust.
10647 2001-11-05 Akim Demaille <akim@epita.fr>
10649 * tests/Makefile.am (testsuite): Rename this target as...
10650 ($(TESTSUITE)): this.
10653 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
10655 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
10656 the --prefix option, also remove it's argument.
10658 2001-11-05 Akim Demaille <akim@epita.fr>
10660 * doc/autoconf.texi (testsuite Invocation): Update.
10661 (Writing testsuite.at): Update.
10663 2001-11-03 Akim Demaille <akim@epita.fr>
10665 * doc/autoconf.texi: s/@code/@command/ where appropriate.
10667 2001-11-03 Akim Demaille <akim@epita.fr>
10669 * lib/Autom4te/General.pm: (&catfile, &canonfile)
10670 (&file_name_is_absolute): New, wrappers around routines from
10672 Use and export them.
10673 (&find_configure_ac): Optionally take a directory where to look at.
10674 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
10676 Default @ARGV to `.', not find_configure_ac.
10677 (&autoreconf): Argument is a directory.
10678 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
10679 * doc/autoconf.texi (autoreconf Invocation): Update.
10681 2001-11-03 Akim Demaille <akim@epita.fr>
10683 * lib/Autom4te/General.pm (@export_vars, @export_subs)
10684 (@export_forward_subs): New.
10685 Add basename, dirname, and fileparse.
10687 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
10688 Don't look for aclocal flags if we already know aclocal is not
10690 Move aclocal.m4t only if it exists.
10691 Reported by Ezra Peisach.
10693 2001-11-03 Akim Demaille <akim@epita.fr>
10695 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
10696 passed on command line, defaulting to ./configure.ac if present.
10697 (&maybe_autoreconf, File::Find): Remove, unused.
10698 (&autoreconf): If autoconf is not used, don't try to trace.
10700 2001-11-02 Akim Demaille <akim@epita.fr>
10702 * configure.ac: Bump to 2.52g.
10704 2001-11-02 Akim Demaille <akim@epita.fr>
10708 2001-11-02 Akim Demaille <akim@epita.fr>
10710 * config/config.guess, config/config.sub, doc/standards.texi:
10711 * config/lispdir.m4: Update from masters.
10712 * configure.ac: Bump to 2.52f.
10714 2001-11-02 Akim Demaille <akim@epita.fr>
10716 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
10717 Don't run aclocal when aclocal.m4 is not from aclocal.
10719 Don't run libtoolize and gettextize if --install is not given.
10721 2001-11-01 Paul Eggert <eggert@twinsun.com>
10723 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
10724 be invoked before _AS_LINENO_PREPARE.
10725 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
10726 than character ranges.
10728 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
10729 invoking AS_BASENAME. Set the locale variables to 'C' if
10730 possible, as POSIX requires this to get the traditional
10732 * doc/autoconf.texi (Special Shell Variables): Describe the above.
10734 2001-10-31 Paul Eggert <eggert@twinsun.com>
10736 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
10737 with {}, as that triggers a bug in Bash 2.05.
10739 (_AS_LINENO_PREPARE): Use Sed rather than
10740 Awk. Fix the sed prepass to work even if there are multiple
10741 instances of $LINENO on the same line. Do not substitute for
10742 other variables like $LINENOT. Do not check file dates; such a
10743 check is unreliable on sufficiently fast machines, and removing
10744 the check makes the code simpler and more reliable. Check for
10745 output and chmod failures.
10747 * doc/autoconf.texi (Special Shell Variables): Document
10750 2001-10-31 Akim Demaille <akim@epita.fr>
10752 * tests/Makefile.am (atconfig): Remove this target, Automake
10755 2001-10-31 Akim Demaille <akim@epita.fr>
10757 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
10758 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
10759 provided, while it is optional.
10760 * configure.ac: Adjust.
10762 2001-10-26 Paul Eggert <eggert@twinsun.com>
10764 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
10765 lib/Autom4te/Struct.pm:
10766 Require Perl 5.005_03 instead of just 5.005, as some tests fail
10769 * doc/autoconf.texi (Special Shell Variables): Document some
10770 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
10772 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
10773 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
10774 eval $LINENO is not portable in practice.
10776 2001-10-24 Akim Demaille <akim@epita.fr>
10778 * lib/Autom4te/General.pm (backname): New.
10780 2001-10-24 Akim Demaille <akim@epita.fr>
10782 * m4/: Remove, merged into...
10785 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
10787 * doc/autoconf.texi (Shellology): Mention the problems with bash
10788 2.05's use of ANSI quoting in its `set' builtin.
10790 2001-10-22 Paul Eggert <eggert@twinsun.com>
10792 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
10793 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
10794 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
10795 POSIX decided to standardize on the int flavor of strerror_r.
10796 Always do char* test, as there's no reason not to.
10797 Assign to a char* var, to catch strerror_r that returns int*.
10799 * doc/autoconf.texi (Particular Functions):
10800 Document the above changes. Also, document the fact that
10801 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
10803 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
10805 2001-10-20 Akim Demaille <akim@epita.fr>
10807 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
10808 the executable was missing from the log.
10810 2001-10-20 Akim Demaille <akim@epita.fr>
10812 * lib/Autom4te/General.pm (&update_file): If destination is
10813 unchanged, remove the source.
10814 (&up_to_date_p): Don't be verbose, be debug.
10815 * bin/autoreconf.in: No longer support --m4dir.
10816 (&autoreconf): Display the full path of the configure.ac we are
10818 Trace it only once.
10819 Be sure to honor --force with gettextize.
10820 Always run aclocal.
10821 * doc/autoconf.texi: Adjust.
10823 2001-10-20 Akim Demaille <akim@epita.fr>
10825 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
10827 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
10828 `intl' is already present, as it refuses unless --force.
10829 (&parse_args): Use -I, --include instead of the old Autoconf
10831 ($localdir, $autoconf_dir): Remove.
10833 (&maybe_autoreconf): New, to preserve $_ for File::Find.
10835 2001-10-19 Jens Petersen <petersen@redhat.com>
10837 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
10838 * doc/autoconf.texi (Particular Programs): Likewise.
10840 2001-10-19 Akim Demaille <akim@epita.fr>
10842 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
10843 file in @configure_input@.
10844 Don't mention `automatically' in addition to `generated'.
10845 * tests/torture.at (#define header templates): Adjust.
10847 2001-10-19 Akim Demaille <akim@epita.fr>
10849 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
10850 comment, explain how to install automatic mode selection.
10853 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
10855 * bin/autoreconf.in (autoreconf): Display the path to the
10856 configure.ac being studied.
10858 2001-10-18 Paul Eggert <eggert@twinsun.com>
10860 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
10861 long, to work around a bug in the HP C compiler version HP92453-01
10864 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
10865 (AS_BASENAME_EXPR): New macro.
10866 (AS_BASENAME_SED): Do not assume GNU sed semantics.
10867 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
10868 and fall back on 'sed' only if the other two fail. This makes
10869 AS_BASENAME act more like AS_DIRNAME.
10870 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
10871 contains white space.
10872 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
10873 Use AS_DIRNAME, since I think it's now DOS-friendly.
10874 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
10875 Allow "dirname //FOO" to return either / or //, as POSIX allows
10878 2001-10-10 Akim Demaille <akim@epita.fr>
10880 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
10881 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
10884 2001-10-10 Akim Demaille <akim@epita.fr>
10886 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
10887 m4_define, since...
10888 (_AS_ECHO_N): AS_REQUIREs it.
10890 2001-10-10 Akim Demaille <akim@epita.fr>
10892 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
10893 (AC_INCLUDES_DEFAULT): Move to...
10894 * lib/autoconf/headers.m4: here.
10895 * lib/autoconf/types.m4: Comment changes.
10896 * doc/autoconf.texi: Specify where the default includes are used
10897 in the macro prototypes.
10899 2001-10-09 Akim Demaille <akim@epita.fr>
10901 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
10904 2001-10-08 Akim Demaille <akim@epita.fr>
10906 * bin/autoreconf.in (&autoreconf): Remove debugging code.
10907 (&parse_args): Pass verbosity/debugging options to subtools when
10908 --debug, not when --verbose.
10909 * lib/autom4te.in (Autoreconf-preselections): New.
10910 (Autoconf): Use it.
10912 2001-10-08 Akim Demaille <akim@epita.fr>
10914 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
10916 2001-10-08 Akim Demaille <akim@epita.fr>
10918 * doc/autoconf.texi (autoreconf Invocation): Adjust.
10919 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
10921 2001-10-08 Akim Demaille <akim@epita.fr>
10923 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
10924 (Syntax of the shell scripts): Don't.
10925 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
10926 bother with $force since...
10927 * lib/Autom4te/General.pm: does.
10929 2001-10-08 Akim Demaille <akim@epita.fr>
10931 * bin/autoreconf.in: Rewrite in Perl.
10932 * configure.ac: Adjust.
10933 * lib/Autom4te/General.pm (&up_to_date_p): New.
10934 * bin/autom4te.in (&up_to_date_p): Use it.
10936 (&up_to_date): this.
10938 2001-10-08 Akim Demaille <akim@epita.fr>
10940 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
10941 (m4_list_cmp): Use $0 to reinvoke yourself.
10942 (m4_patsubsts): New.
10943 (m4_strip, m4_version_unletter): Use it.
10944 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
10946 2001-10-08 Akim Demaille <akim@epita.fr>
10948 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
10949 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
10950 * lib/autoconf/types.m4, lib/autotest/general.m4,
10951 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
10952 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
10953 m4_bregexp, m4_bpatsubst, and m4_bmatch.
10954 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
10956 2001-10-08 Akim Demaille <akim@epita.fr>
10958 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
10960 2001-10-08 Akim Demaille <akim@epita.fr>
10962 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
10963 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
10964 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
10965 * tests/tools.at, tests/m4sh.at: Use it.
10966 * tests/m4sh.at: Don't rely on Autoconf macros.
10967 (DIRNAME_TEST): Also exercise the expr variant.
10968 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
10969 preferred M4sugar extension is now `.4s'.
10970 * tests/README: Remove.
10972 2001-10-08 Akim Demaille <akim@epita.fr>
10974 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
10975 (m4_provide_if): this.
10976 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
10977 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
10978 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
10979 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
10981 2001-10-08 Akim Demaille <akim@epita.fr>
10983 Use `add-log-current-defun-function' for ChangeLog creation.
10984 Suggested by Tom Tromey.
10986 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
10987 (autotest-mode): Adjust.
10988 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
10989 'comment-region onto `C-c ;'.
10990 Comments are `#', not `dnl'.
10991 (autoconf-current-defun): New.
10992 (autoconf-font-lock-keywords): Recognize `m4_defun'.
10994 2001-10-08 Akim Demaille <akim@epita.fr>
10996 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
10997 * lib/m4sugar/m4sh.m4: here.
10998 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
10999 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
11000 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
11001 include handle the m4_pattern_*, no longer push the
11002 BODY diversion nor set the /bin/sh line, AS_INIT does it.
11003 * lib/autotest/general.m4 (AT_INIT): Likewise.
11004 * tests/base.at: Adjust the tests to use AS_INIT.
11005 * tests/tools.at (AT_DATA_FORBIDDEN): New.
11006 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
11009 2001-10-07 Paul Eggert <eggert@twinsun.com>
11011 * doc/autoconf.texi (config.status Invocation):
11012 CONFIG_SHELL defaults to a shell that supports LINENO if available.
11014 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
11015 shell does not support LINENO, and if CONFIG_SHELL is unset or
11016 empty, and if we can find a shell that does support LINENO,
11017 then set CONFIG_SHELL to that shell and then re-execute
11018 ourselves with CONFIG_SHELL.
11020 2001-10-05 Paul Eggert <eggert@twinsun.com>
11022 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
11023 doesn't exist. Remove *.tmp, as a .tmp file is created during the
11024 build of $(TESTSUITE).
11026 2001-10-05 Akim Demaille <akim@epita.fr>
11028 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
11029 iff we are a bareword.
11030 Reported by Raja R Harinath.
11032 2001-10-05 Akim Demaille <akim@epita.fr>
11034 * tests/m4sh.at (LINENO): New.
11035 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
11036 PATH_SEPARATOR before using it.
11037 Fix the absolute path case/esac pattern.
11038 Provide $0 as fallback for as_myself.
11039 Reported by Raja R Harinath.
11041 2001-10-05 Akim Demaille <akim@epita.fr>
11043 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
11044 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
11046 2001-10-05 Akim Demaille <akim@epita.fr>
11048 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
11049 (AS_SHELL_SANITIZE): here. Use it.
11050 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
11053 2001-10-04 Akim Demaille <akim@epita.fr>
11055 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
11056 combination of Awk and sed to replace $LINENO.
11058 2001-10-02 Paul Eggert <eggert@twinsun.com>
11060 * doc/autoconf.texi (Limitations of Builtins): You can't use
11061 "source"; it's not portable. Remove confusing and
11062 somewhat-incorrect example involving "." and "/".
11064 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
11065 compatibility with POSIX shells.
11067 2001-10-02 Akim Demaille <akim@epita.fr>
11069 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
11070 instead of exec'ing to preserve $0 and $@.
11072 2001-10-01 Akim Demaille <akim@epita.fr>
11074 * tests/testsuite (AT_INIT) <at_pass_list>: New.
11075 Don't run twice the same test.
11077 2001-10-01 Akim Demaille <akim@epita.fr>
11079 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
11080 No longer output the list of tests.
11081 <--list>: New option.
11082 <--full-help>: Remove.
11083 Complete the short/long options duality.
11084 Various small adjustments.
11086 2001-10-01 Akim Demaille <akim@epita.fr>
11088 * doc/autoconf.texi: Use @kbd for user input.
11089 Always use `$' as shell prompt.
11091 2001-09-30 Paul Eggert <eggert@twinsun.com>
11093 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
11094 Don't use nested parenthesization. This patch was originally
11095 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
11096 but somehow it didn't get incorporated then.
11097 * doc/autoconf.texi (Limitations of Usual Tools):
11098 Clarify remark about sed and nested parenthesization.
11100 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
11101 Report an error if the size cannot be determined even though
11103 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
11104 Check for `expr' arithmetic overflow, and for compilation failure,
11105 and invoke a new argument $4 if either is discovered.
11106 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
11107 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
11109 2001-09-28 Akim Demaille <akim@epita.fr>
11111 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
11112 * m4/lispdir.m4: New.
11113 * aclocal.m4, configure.ac: Adjust.
11115 2001-09-28 Akim Demaille <akim@epita.fr>
11117 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
11119 (AT_INIT): More the wrapped section to where it will be expanded.
11120 Output `AT_tested' only when existing.
11121 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
11123 2001-09-27 Akim Demaille <akim@epita.fr>
11125 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
11126 generates too many bug reports.
11128 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
11129 status when executing the ACTION-IF-FALSE.
11130 * tests/base.at (AC_TRY_*): Rename as...
11131 (AC_TRY_COMMAND): this.
11132 (AC_RUN_IFELSE): New.
11133 * tests/compile.at (Extensions, C keywords)
11134 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
11135 (Broken/missing compilers, AC_PROG_CPP with warnings)
11136 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
11137 * tests/c.at (Extensions, C keywords)
11138 (Broken/missing compilers, AC_PROG_CPP with warnings)
11139 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
11140 (AC_PROG_CPP requires AC_PROG_CC): here and...
11141 * tests/fortran.at (GNU Fortran 77): there.
11142 * doc/autoconf.texi (autoconf Invocation): Fix the example:
11143 AC_TRY_RUN is about compilation, not shell commands.
11144 (Test Programs): AC_TRY_RUN works as used to be advertised.
11146 2001-09-27 Akim Demaille <akim@epita.fr>
11148 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
11150 Be sure to detect when $LINENO always returns the same value.
11151 Look for the original script, basename($0) is certainly not
11153 Pass the CLI arguments to `$as_me.lineno'.
11155 2001-09-25 Akim Demaille <akim@epita.fr>
11157 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
11158 Be sure the close and reopen the LOG fd before and after using tee
11160 <at_tests_pattern>: Adjust to the new format of at_help_all.
11162 2001-09-23 Akim Demaille <akim@epita.fr>
11164 * bin/autom4te.in (parse_args): There can be several invocations
11167 2001-09-23 Akim Demaille <akim@epita.fr>
11169 * doc/autoconf.texi (Top): Wrap in @ifnottex.
11171 2001-09-23 Akim Demaille <akim@epita.fr>
11173 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
11174 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
11175 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
11176 builddir, buildpath, top_builddir, and top_buildpath.
11177 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
11178 the current directory.
11179 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
11180 variables *before* changing the current directory.
11181 Skip nonexistent dirs.
11182 * doc/autoconf.texi (Preset Output Variables): Document these
11185 * lib/autotest/general.m4: Do not reset AT_victims.
11186 Don't compute at_srcdir nor at_top_srcdir.
11188 * tests/tools.at: Hence use top_srcdir.
11190 * tests/Makefile.am, tests/autoconf, tests/autoheader,
11191 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
11193 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
11194 * tests/wrapsh.in, tests/autoupdate.in: New.
11195 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
11196 * configure.ac: Build the position independent wrappers.
11198 * man/Makefile.am: Now that test wrappers are position
11199 independent, use them and drop dark envvar magic.
11201 2001-09-23 Akim Demaille <akim@epita.fr>
11203 * doc/autoconf.texi (Common Shell Constructs): Rename as...
11204 (Programming in M4sh): this.
11205 Promote to @section.
11207 2001-09-23 Akim Demaille <akim@epita.fr>
11209 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
11210 Pass $at_debug_args to the rerun test suite.
11211 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
11212 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
11215 2001-09-23 Akim Demaille <akim@epita.fr>
11217 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
11219 2001-09-23 Akim Demaille <akim@epita.fr>
11221 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
11224 2001-09-23 Akim Demaille <akim@epita.fr>
11226 * lib/Autom4te/General.pm (&debug): New.
11227 * bin/autom4te.in ($language): Move to...
11228 (parse_args): here.
11229 Handle --language in languages.
11230 * lib/autom4te.in (Automake-selections, Autoheader-selections)
11231 (Autoscan-selections): New.
11232 (Autoconf): Adjust.
11234 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
11236 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
11237 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
11238 to match current versions from CVS Automake.
11240 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
11242 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
11245 2001-09-22 Akim Demaille <akim@epita.fr>
11247 * lib/autoconf/autotest.m4: Create `package.m4'.
11248 * tests/Makefile.am (package.m4): Remove.
11250 2001-09-22 Akim Demaille <akim@epita.fr>
11252 Rely on `$LINENO' when possible instead of `__oline__'.
11254 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
11255 `$LINENO' support replacement when not supported.
11256 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
11257 them explicitly to be sure they are not output before this section
11258 (via m4_require). Cosmetic only.
11259 * lib/autoconf/c.m4, lib/autoconf/general.m4,
11260 * lib/autoconf/programs.m4: Replace all the occurrences of
11261 `__oline__' with `$LINENO'.
11262 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
11264 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
11266 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
11267 character (u: -> ue) in a code comment.
11268 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
11271 2001-09-21 Akim Demaille <akim@epita.fr>
11273 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
11274 Suggested by Jim Meyering.
11276 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11278 * lib/autoconf/programs.m4: Use extensions listed in
11279 $ac_executable_extensions when looking for programs.
11281 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11283 * lib/autoconf/general.m4: Fix a small Englisho.
11284 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
11285 setting up ac_dir_suffix and ac_top_builddir.
11286 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
11288 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11290 * doc/autoconf.texi (File System Conventions): Clarify the use of
11292 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
11293 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
11294 be used instead of ':'.
11295 * lib/autotest/general.m4: Replace occurrences of ':' in
11296 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
11298 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11300 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
11301 arguments. Fixed a typo.
11303 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11305 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
11306 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
11308 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11310 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
11311 * bin/autoupdate.in: Ditto.
11312 * bin/autoheader.in: Reworded a few comments.
11313 * bin/autoconf.in: Reworded help text for a few options.
11314 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
11315 * bin/autoscan.in, bin/autoupdate.in: Ditto.
11317 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11319 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
11320 already have $file). Set output files to binary mode (helps avoid
11321 CR issues on DOSish systems).
11323 2001-09-19 Akim Demaille <akim@epita.fr>
11325 * lib/autotest/general.m4: Englishoes.
11326 From Tim Van Holder and Alexey Mahotkin.
11328 2001-09-18 Paul Eggert <eggert@twinsun.com>
11330 * doc/autoconf.texi (Common Shell Constructs): New node,
11331 documenting AS_DIRNAME.
11332 (Limitations of Usual Tools): Refer to it when discussing dirname.
11333 Also, update discussion of POSIX standard to reflect latest draft.
11335 * lib/autoconf/c.m4:
11336 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
11338 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
11339 Do not pass a first argument with leading '-'
11340 to expr, by parenthesizing initial integers that might be negative.
11342 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
11343 now merely checks whether it is an error to pass an argument
11346 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
11347 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
11348 whether it is a (compile-time) error to pass an argument to
11349 getpgrp. This simpler test supports the revised documentation,
11350 and is all that AC_FUNC_GETPGRP's users really need.
11352 2001-09-18 Akim Demaille <akim@epita.fr>
11354 * doc/autoconf.texi (Limitations of Make) <$<>: New.
11356 2001-09-18 Akim Demaille <akim@epita.fr>
11358 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
11360 * lib/autotest/general.m4 (AT_INIT): Adjust.
11362 2001-09-18 Paul Wagland <paul@wagland.net>
11364 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
11366 Add test for AS_BASENAME.
11367 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
11368 added test. It now correctly handles /1/2/3/, returning '3' not ''.
11369 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
11370 * tests/base.at: Fixed the expected responses. The old ones were
11372 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
11373 the documentation claims it should (and how it behaved in 2.13).
11375 2001-09-18 Akim Demaille <akim@epita.fr>
11377 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
11378 the AC_CONFIG_COMMANDS invocation.
11379 This also solves the name clash problems.
11380 Don't set the package's ID.
11381 * lib/m4sugar/Makefile.am (version.m4): Revamp.
11382 No longer to be shipped.
11383 (version.in): Remove.
11384 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
11385 * lib/autoconf/status.m4: Adjust.
11386 Use `m4_PACKAGE_STRING'.
11387 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
11388 the only optional argument is the name of the test suite.
11389 Expect `package.m4' to define the package signature.
11390 * lib/autom4te.in (Autotest): Add `package.m4?'.
11391 * tests/Makefile.am (package.m4): New.
11392 * tests/suite.at: ifnames is a victim.
11394 2001-09-18 Akim Demaille <akim@epita.fr>
11396 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
11397 AC_LIBSOURCE, AC_CONFIG_FILES.
11398 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
11399 program version string doesn't match the package's.
11400 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
11403 2001-09-17 Paul Eggert <eggert@twinsun.com>
11405 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
11406 Allow expression to return any value that can fit into unsigned long
11407 (not int, as before). Check for output errors.
11409 2001-09-17 Bruno Haible <haible@ilog.fr>
11411 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
11412 Always include <stdio.h> and <stdlib.h>. Evaluate
11413 the expression in an extra function before these includes. Call
11414 fprintf "%d" only after ensuring the argument is of type 'int'.
11415 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
11417 2001-09-17 Paul Eggert <eggert@twinsun.com>
11419 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
11420 or CFLAGS=-O5. In that case, the linker has a relaxed view of
11421 fatal errors, and AC_CHECK_LIB causes it to include libraries even
11422 when they don't exist.
11424 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
11425 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
11428 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
11429 version with the version used by fileutils 4.1, except use
11430 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
11433 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
11435 2001-09-13 Akim Demaille <akim@epita.fr>
11437 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
11439 Reported by Gerrit P. Haase.
11441 2001-09-13 Akim Demaille <akim@epita.fr>
11443 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
11444 m4_defn'ing is valid.
11446 2001-09-13 Akim Demaille <akim@epita.fr>
11448 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
11449 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
11452 2001-09-13 Akim Demaille <akim@epita.fr>
11454 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
11456 (m4_re_escape): New.
11457 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
11458 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
11459 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
11461 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
11462 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
11463 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
11464 AT_tests_all for consistency.
11466 (AT_VICTIMS): Similar to AT_KEYWORDS.
11467 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
11469 2001-09-13 Akim Demaille <akim@epita.fr>
11471 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
11473 2001-09-13 Akim Demaille <akim@epita.fr>
11475 * lib/autotest/general.m4 (AT_INIT): Create and remove
11476 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
11477 test suites can cohabit.
11479 2001-09-13 Akim Demaille <akim@epita.fr>
11481 * tests/mktests.sh: Don't output banners for empty test files.
11483 2001-09-13 Akim Demaille <akim@epita.fr>
11485 Test suites can be run independently of configure.
11487 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
11488 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
11489 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
11491 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
11493 * lib/autotest/general.m4: Use ECHO_*.
11495 2001-09-13 Akim Demaille <akim@epita.fr>
11497 * bin/ifnames.in: Rewrite in Perl.
11498 * configure.ac: Don't look for AWK.
11499 * tests/tools.at (AWK portability): Remove.
11500 (Syntax of the shell scripts): Don't check ifnames.
11501 (AT_CHECK_PERL_SYNTAX): New.
11502 (Syntax of the Perl scripts): Check ifnames.
11503 * tests/ifnames: New.
11505 2001-09-13 Akim Demaille <akim@epita.fr>
11507 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
11509 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
11510 Remove all the other keywords.
11512 2001-09-10 Akim Demaille <akim@epita.fr>
11514 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
11515 SETUP: no longer used.
11516 Support -k, --keywords.
11517 <at_help>: Be `no', `short', or `long'.
11518 <at_help_all>: New variable.
11519 (AT_KEYWORDS): New.
11520 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
11521 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
11522 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
11523 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
11524 No longer fill the HELP diversion.
11525 (AT_CLEANUP): Use them.
11526 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
11527 (m4_list_append): Remove.
11529 Spread a few keywords in the Autoconf test suite.
11531 2001-09-10 Akim Demaille <akim@epita.fr>
11533 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
11534 PATH_SEPARATOR, let M4sh compute it.
11535 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
11536 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
11538 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
11539 Simplify when the path is not a literal.
11540 (AS_UNAME): Use it to report PATH.
11541 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
11542 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
11543 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
11544 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
11545 normalize the path, and to look for victims.
11546 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
11547 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
11549 2001-09-07 Akim Demaille <akim@epita.fr>
11551 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
11552 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
11553 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
11554 related variables into `at_package_*'.
11555 * lib/autotest/general.m4 (AT_VICTIMS): New.
11556 (AT_INIT): Adjust for stand-alone/embedded test suites.
11557 (AS_MESSAGE_LOG_FD): Define and use it.
11558 * tests/suite.at (AT_VICTIMS): Use it.
11559 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
11562 2001-09-07 Akim Demaille <akim@epita.fr>
11564 Move toward possibly stand-alone test suites.
11566 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
11567 in addition, it introduces useless differences in logs.
11568 (AT_INIT): Let atconfig and atlocal be both optional.
11569 Adjust PATH computation.
11570 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
11572 2001-09-07 Akim Demaille <akim@epita.fr>
11574 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
11575 m4sugar/version.m4.
11577 2001-09-05 Akim Demaille <akim@epita.fr>
11579 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
11580 to avoid GCC warnings.
11583 2001-09-05 Akim Demaille <akim@epita.fr>
11585 * bin/autom4te.in: --language is -l, not -s.
11587 2001-09-05 Akim Demaille <akim@epita.fr>
11589 Be ready to handle filenames as stupid as `dnl.at', for if even
11590 the maintainer is dumb enough to do that...
11592 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
11593 excellence in M4 quotation: consider `__file__' is active.
11595 And BTW, when invoking m4, pass the --include in the right order:
11598 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
11601 2001-09-05 Akim Demaille <akim@epita.fr>
11603 * lib/Autom4te/XFile.pm: New lib file.
11604 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
11605 * bin/autoheader.in: Use it.
11607 2001-09-05 Akim Demaille <akim@epita.fr>
11609 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
11612 2001-09-05 Akim Demaille <akim@epita.fr>
11614 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
11615 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
11617 * bin/autoscan.in: Use `getopt' and `find_files' etc.
11618 Add -I, --include support.
11619 * doc/autoconf.texi (autoscan Invocation): Adjust.
11621 2001-09-05 Akim Demaille <akim@epita.fr>
11623 CVS GNU M4 doesn't like `undefine(undefined)'.
11625 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
11626 New, extracted from main.
11627 Use IO::File wherever possible.
11628 (input.m4): Be constant, use -I instead of hard coding $tmp.
11629 Therefore be a quoted heredoc.
11630 Don't invoke `_au_disable', since ac was not loaded, but just
11633 2001-08-31 Akim Demaille <akim@epita.fr>
11637 2001-08-31 Akim Demaille <akim@epita.fr>
11639 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
11641 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
11643 2001-08-31 Akim Demaille <akim@epita.fr>
11645 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
11646 serious problems handling heredocs in heredocs.
11647 Reported by Nicolas Joly.
11649 2001-08-31 Akim Demaille <akim@epita.fr>
11651 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
11652 (Making testsuite Scripts): Update.
11654 2001-08-31 Akim Demaille <akim@epita.fr>
11656 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
11658 2001-08-31 Akim Demaille <akim@epita.fr>
11660 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
11661 (testsuite Scripts): There is no such thing as `atconfig.in'.
11662 And actually one diagram is missing: test suite runtime.
11664 2001-08-31 Akim Demaille <akim@epita.fr>
11666 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
11669 2001-08-31 Akim Demaille <akim@epita.fr>
11671 * bin/autoupdate.in (@include): `installcheck' revealed the path
11672 to m4sugar was lacking!
11674 2001-08-31 Akim Demaille <akim@epita.fr>
11676 * man/Makefile.am (.x.1): We really have to pass
11677 autom4te_perllibdir.
11679 2001-08-31 Akim Demaille <akim@epita.fr>
11681 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
11682 debug scripts, in particular passing explicitly listed tests to
11685 2001-08-31 Akim Demaille <akim@epita.fr>
11687 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
11688 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
11689 Use directly autom4te, not autoconf.
11690 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
11692 2001-08-31 Akim Demaille <akim@epita.fr>
11694 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
11695 * bin/autoheader.in (%symbol): Strip arguments of macros.
11697 2001-08-31 Akim Demaille <akim@epita.fr>
11699 * doc/autoconf.texi: Catch up -I, --include changes.
11701 2001-08-31 Akim Demaille <akim@epita.fr>
11703 * bin/autom4te.in (&parse_args): Die on unknown languages.
11704 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
11706 Promote --include over --macrodir and other obsolete options.
11708 2001-08-31 Akim Demaille <akim@epita.fr>
11710 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
11711 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
11712 * bin/autom4te.in ($autoconf): Pass --force.
11713 `print $out' doesn't print `$_' but `$out'.
11714 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
11715 (autoheader): Pass --force since the test suite goes too fast for
11717 Adjust to the new autoheader messages.
11719 2001-08-31 Akim Demaille <akim@epita.fr>
11721 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
11722 Check the completeness of the #template.
11723 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
11724 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
11727 2001-08-31 Akim Demaille <akim@epita.fr>
11729 * lib/Autom4te/General.pm (&find_file, &update_file): New.
11730 * bin/autoupdate.in, bin/autoheader.in: Adjust.
11731 Drop AC_MACRODIR dead for real.
11732 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
11733 `autoheader: `config.hin' is created'.
11734 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
11736 2001-08-31 Akim Demaille <akim@epita.fr>
11738 * bin/autoheader.in: Rewrite in Perl.
11739 * tests/autoheader: Adjust.
11741 2001-08-31 Akim Demaille <akim@epita.fr>
11743 * bin/autoconf.in (--include, -I): New option.
11744 Map --localdir, --autoconf-dir onto it.
11745 Forward autom4te's options instead of interpreting them.
11746 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
11747 There is no such envvar since the inception of autom4te.cfg.
11748 * bin/autom4te.in (&parse_args): Uniquify `@include'.
11749 * bin/autoupdate.in: Adjust, and perform more control.
11750 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
11751 * tests/autoconf: Dittowise.
11753 2001-08-31 Akim Demaille <akim@epita.fr>
11755 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
11756 * bin/autom4te.in (&find_file): Support `FILE?' standing for
11758 Use -e, not -f, since /dev/null for instance is OK.
11759 (&parse_args): Adjust.
11760 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
11762 2001-08-31 Akim Demaille <akim@epita.fr>
11764 * configure.ac: Also find tested executables in bin.
11765 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
11766 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
11767 installed peer executables, only PATH is allowed to resolve it.
11768 Pass `autoconf_dir' via options, not via invisible envvars.
11769 * lib/Autom4te/General.pm (&find_peer): Remove.
11770 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
11771 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
11772 * man/Makefile.am: Let help2man rely on PATH instead of trying to
11773 find the executables for it.
11774 * tests/Makefile.am: Major cleanup. Too lazy to document...
11775 * tests/atlocal.in: Remove all the obscure envvar manipulations.
11777 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
11778 indeed related to running the test suite, while passing
11779 --autoconf-dir and others is related to running non installed
11780 Autoconf executables. So don't do that, leave it to...
11781 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
11782 * tests/autoscan: New.
11783 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
11784 refer to library files: rely on --language.
11786 2001-08-29 Akim Demaille <akim@epita.fr>
11788 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
11789 s/--set/--language/.
11791 2001-08-29 Akim Demaille <akim@epita.fr>
11793 * doc/autoconf.texi: Strip the @nodes.
11794 Suggested by Paul Eggert.
11795 (Initializing configure): Typo.
11797 2001-08-29 Akim Demaille <akim@epita.fr>
11799 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
11800 Suggested by Paul Eggert.
11802 2001-08-29 Akim Demaille <akim@epita.fr>
11804 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
11805 download in a tmp dir.
11807 2001-08-29 Akim Demaille <akim@epita.fr>
11809 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
11810 case insensitive OSes out there :(
11811 From Tim Van Holder.
11813 2001-08-29 Akim Demaille <akim@epita.fr>
11815 * lib/autom4te.in: New.
11816 * lib/Makefile.am (edit, autom4te.cfg): New.
11817 * bin/autom4te.in (BEGIN): Simplify.
11818 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
11819 (&load_configuration): New. Use it.
11820 (&parse_args): Support --mode, --set, and --melt.
11821 * bin/autoconf.in: Simplify and adjust.
11822 * tests/Makefile.am (AUTOMAKE): Use --set.
11823 * tests/atlocal.in: Adjust.
11824 * BUGS: distcheck and check are weak.
11826 2001-08-29 Akim Demaille <akim@epita.fr>
11828 * lib/autotest/general.m4: Use
11829 foo=`(command) 2>/dev/null`
11831 foo=`command` 2>/dev/null
11832 (at-devnull): Rename as...
11833 (AT-devnull): this.
11834 (--clean): Remove AT-* files too.
11835 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
11836 Reported by Nicolas Joly.
11838 2001-08-28 Akim Demaille <akim@epita.fr>
11840 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
11841 quotes inside single quotes.
11842 Reported by Nicolas Joly.
11844 2001-08-28 Kevin Ryde <user42@zip.com.au>
11846 * doc/autoconf.texi (Function Portability): Mention C right shifts.
11848 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
11850 * lib/autotest/general.m4: Reword some messages.
11851 (AT_INIT): Check for the `times' builtin before using it.
11852 Support test ranges as arguments to the testsuite.
11853 Have -e imply -d as the help text suggested.
11855 2001-08-27 Akim Demaille <akim@epita.fr>
11857 * Makefile.maint: Formatting changes.
11858 (do-po-update, po-update, cvs-update, update): New targets.
11861 2001-08-27 Akim Demaille <akim@epita.fr>
11863 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
11864 <at_cmd_line>: New.
11865 Pass it to debug-*.sh scripts.
11866 <AUTOTEST_PATH>: May contain absolute dir names.
11868 2001-08-27 Akim Demaille <akim@epita.fr>
11870 * lib/autotest/general.m4 (AT_INIT): Log the command line.
11871 Support `VAR=VAL' as arguments.
11872 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
11873 may be set via the command line.
11875 2001-08-27 Akim Demaille <akim@epita.fr>
11877 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
11878 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
11879 first the build dirs, then the src dirs.
11880 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
11882 2001-08-27 Akim Demaille <akim@epita.fr>
11884 * lib/autotest/general.m4 (AT_INIT): Output the definition of
11885 at_data_files earlier.
11886 (--clean, -c): New option.
11887 * tests/Makefile.am: Use this option.
11889 2001-08-27 Akim Demaille <akim@epita.fr>
11891 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
11892 `ac_top_builddir' to mimic Automake's vocabulary, which much more
11895 * doc/autoconf.texi (Configuration Actions): Document the vars
11896 available in commands.
11897 Emphasize the risks of collisions in init-cmds.
11899 2001-08-27 Akim Demaille <akim@epita.fr>
11901 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
11902 (Initializing configure): this new node.
11904 2001-08-27 Akim Demaille <akim@epita.fr>
11906 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
11908 2001-08-27 Akim Demaille <akim@epita.fr>
11910 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
11911 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
11913 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
11915 2001-08-27 Akim Demaille <akim@epita.fr>
11917 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
11919 * lib/autoconf/autoheader.m4: this new file.
11920 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
11921 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
11923 * lib/autoconf/autoupdate.m4: this new file.
11925 2001-08-27 Akim Demaille <akim@epita.fr>
11927 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
11928 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
11929 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
11931 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
11932 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
11934 2001-08-27 Akim Demaille <akim@epita.fr>
11936 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
11937 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
11938 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
11939 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
11940 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
11941 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
11942 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
11943 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
11944 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
11945 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
11946 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
11947 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
11948 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
11949 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
11950 (_AC_OUTPUT_SUBDIRS): Move to...
11951 * lib/autoconf/status.m4: this new file.
11952 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
11953 * tests/Makefile.am, tests/suite.at: Adjust.
11955 2001-08-27 Akim Demaille <akim@epita.fr>
11959 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
11960 (AMTAR): Help automake define it.
11961 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
11962 needed, 1.5 can have a macro and a target with the same name.
11963 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
11964 * m4/strip.m4: New.
11965 * m4/init.m4, m4/sanity.m4: Update.
11966 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
11967 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
11968 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
11969 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
11971 2001-08-27 Akim Demaille <akim@epita.fr>
11973 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
11975 * lib/autoconf/version.in: Remove.
11976 * lib/m4sugar/version.in: New.
11977 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
11979 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
11980 the name of the directory they're in, instead of the filename,
11981 since version.m4 is now in m4sugar, but m4_acversion must not be
11982 classified as an Autoconf macro.
11983 ($input_m4): Don't qualify the path to m4sugar.
11984 Rather, pass autoconf_dir to m4.
11985 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
11986 * tests/suite.at: Require 2.52c.
11988 2001-08-27 Akim Demaille <akim@epita.fr>
11990 testsuite.log should include config.log.
11992 * lib/autotest/autotest.m4: New.
11993 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
11994 * tests/suite.at : Adjust.
11995 (AT_INIT): Log config.log.
11996 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
11997 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
11998 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
11999 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
12000 of config.log on traps.
12001 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
12002 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
12003 for config.status'.
12004 Open the log as soon as possible.
12005 Use the same log introduction as configure's.
12007 2001-08-22 Paul Eggert <eggert@twinsun.com>
12009 * doc/autoconf.texi (Indices): New node.
12010 Move indices out of the top level menu and into this submenu.
12012 2001-08-22 Akim Demaille <akim@epita.fr>
12014 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
12016 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
12018 2001-08-22 Akim Demaille <akim@epita.fr>
12020 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
12021 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
12022 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
12023 * lib/autoconf/programs.m4: here.
12024 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
12025 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
12026 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
12027 * lib/autoconf/programs.m4: here.
12028 (_AC_DECL_YYTEXT): Rename as...
12029 (_AC_PROG_LEX_YYTEXT_DECL): this.
12030 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
12031 * tests/Makefile.am, tests/suite.am: Adjust.
12033 2001-08-22 Akim Demaille <akim@epita.fr>
12035 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
12037 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
12039 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
12040 * lib/autoconf/functions.m4: here.
12041 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
12042 (AH_CHECK_LIB): Move to...
12043 * lib/autoconf/libs: this new file.
12044 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
12045 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
12046 * lib/autoconf/libs.m4: here.
12047 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
12049 2001-08-22 Akim Demaille <akim@epita.fr>
12051 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
12052 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
12053 (AC_SITE_LOAD): Better logging of config.site.
12055 2001-08-20 Akim Demaille <akim@epita.fr>
12057 * configure.ac (AT_CONFIG): Fix the path.
12058 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
12061 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
12063 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
12064 program with AC_LANG_PROGRAM before feeding it to
12065 AC_COMPILE_IFELSE. Cleanup grep usage.
12067 2001-08-20 Akim Demaille <akim@epita.fr>
12069 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
12070 * NEWS, README, README-alpha, TODO, tests/README: This package is
12071 `Autoconf', not `autoconf' (the executable).
12073 2001-08-20 Akim Demaille <akim@epita.fr>
12075 Info readers seem to need `Index' in the index node title :(
12077 * doc/autoconf.texi: Reverse the 2001-08-15 change which
12078 simplified index node names.
12080 2001-08-20 Akim Demaille <akim@epita.fr>
12082 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
12083 arguments are not literals.
12084 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
12085 Specify the output variables, and macros defined.
12087 2001-08-20 Akim Demaille <akim@epita.fr>
12089 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
12090 (Examining Syntax) <AC_TRY_COMPILE>
12091 (Examining Libraries) <AC_TRY_LINK>
12092 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
12094 Reported by Werner Lemberg.
12096 2001-08-20 Akim Demaille <akim@epita.fr>
12098 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
12099 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
12100 Load atlocal late enough to dump it in the log.
12101 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
12103 2001-08-20 Akim Demaille <akim@epita.fr>
12105 * tests/torture.at (Configuring subdirectories): New test.
12106 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
12108 * m4/atconfig.m4: Be sure the let $[0] be expandable.
12109 (top_srcdir): Fix its computation.
12111 2001-08-20 Akim Demaille <akim@epita.fr>
12113 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
12114 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
12116 Create `atconfig' automagically.
12117 Configure atlocal.in if present.
12118 * tests/atconfig.in: Remove.
12119 * tests/atlocal.in: New.
12120 * tests/Makefile.am: Adjust.
12122 2001-08-20 Akim Demaille <akim@epita.fr>
12124 Huh!?!?! There are still some user EOF tags used, which prevents
12125 their use in AC_CONFIG_COMMANDS for instance...
12127 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
12128 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
12129 `_CSEOF', or `_ATEOF', as appropriate.
12130 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
12131 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
12133 2001-08-20 Akim Demaille <akim@epita.fr>
12135 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
12136 * tests/semantics.at, tests/tools.at, tests/torture.at:
12137 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
12139 2001-08-20 Akim Demaille <akim@epita.fr>
12141 Autotest invokes M4sh's initialization.
12143 * lib/autotest/general.m4: Adjust the diversion names.
12144 (AT_INIT): Run AS_INIT.
12145 Use the BINSH diversion to invoke /bin/sh.
12146 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
12147 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
12149 2001-08-20 Akim Demaille <akim@epita.fr>
12151 Let M4sh have its own diversions.
12153 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
12154 (_m4_divert(NOTICE)): Rename as...
12155 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
12156 (_m4_divert(HEADER-COMMENT)): these.
12157 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
12158 (_m4_divert(NOTICE)): New, for Libtool.
12159 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
12160 long ago with `_m4_divert(GROW)'.
12161 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
12163 2001-08-20 Akim Demaille <akim@epita.fr>
12165 * tests/base.at, tests/compile.at, tests/foreign.at,
12166 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
12167 * tests/semantics.at, tests/suite.at, tests/tools.at,
12168 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
12170 2001-08-20 Akim Demaille <akim@epita.fr>
12172 * bin/autom4te.in (handle_output): Handle @__@.
12174 2001-08-20 Akim Demaille <akim@epita.fr>
12176 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
12177 * lib/autotest/general.m4: Adjust the license.
12179 2001-08-17 Paul Eggert <eggert@twinsun.com>
12181 * doc/autoconf.texi (Function Portability): Mention snprintf,
12182 following up on a suggestion by Kevin Ryde.
12184 2001-08-17 Akim Demaille <akim@epita.fr>
12186 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
12187 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
12189 2001-08-17 Akim Demaille <akim@epita.fr>
12191 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
12192 `$0.log' as for projects where testsuite is in src, we'd have
12193 testsuite.log created in src.
12195 2001-08-17 Akim Demaille <akim@epita.fr>
12197 * bin/autom4te.in (&parse_args): Recognize --normalize.
12199 2001-08-17 Akim Demaille <akim@epita.fr>
12201 Start implementing the AC_CHECK_HEADER transition scheme.
12203 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
12204 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
12205 (AC_CHECK_HEADER): Use them.
12207 2001-08-17 Akim Demaille <akim@epita.fr>
12209 * doc/autoconf.texi: Work around Texinfo buglets.
12210 (Transformation Rules): One example is enough, users are expected
12211 to have their brains on. And BTW, use DESTDIR.
12212 (dvar): New macro. Use it.
12214 2001-08-17 Akim Demaille <akim@epita.fr>
12216 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
12217 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
12218 looking for ChangeLogs.
12220 2001-08-17 Akim Demaille <akim@epita.fr>
12222 * bin/autom4te.in: --normalize is a new option.
12223 * bin/autoconf.in: Use it.
12225 2001-08-17 Akim Demaille <akim@epita.fr>
12227 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
12228 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
12230 2001-08-16 Paul Eggert <eggert@twinsun.com>
12232 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
12235 2001-08-15 Akim Demaille <akim@epita.fr>
12237 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
12240 2001-08-15 Akim Demaille <akim@epita.fr>
12242 * doc/autoconf.texi (pr): New index.
12243 (prindex, findex): Use, merge, and output them.
12244 (Environment Variable Index, Output Variable Index)
12245 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
12246 (Autotest Macro Index): Rename as...
12247 (Environment Variables, Output Variables,Preprocessor Symbols)
12248 (Autoconf Macros, M4 Macros, Autotest Macros): these.
12249 * doc/install.texi: Use @command.
12250 (Environment Variables): Rename as...
12251 (Defining Variables): this.
12253 2001-08-15 Akim Demaille <akim@epita.fr>
12255 * doc/autoconf.texi (Function Portability): sprintf's return
12259 2001-08-15 Akim Demaille <akim@epita.fr>
12261 * Makefile.maint (CVS): New.
12262 (local-check): Run changelog-check. last.
12263 (alpha): Don't depend upon local-check, since...
12264 (cvs-dist): depends upon it.
12266 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
12268 * tests/Makefile.am: Use a clean-local rule to remove
12269 autom4te.cache (it's a directory, not a file.
12270 * Makefile.am: Ditto (but maintainer-clean-local).
12272 2001-08-15 Akim Demaille <akim@epita.fr>
12274 * bin/autom4te.in (@m4_warning): New.
12275 (&handle_m4): Use it.
12276 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
12277 warnings are issued at each run.
12278 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
12279 is in the src tree.
12281 2001-08-15 Akim Demaille <akim@epita.fr>
12283 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
12284 don't waste time running `autoupdate --version' works.
12285 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
12287 2001-08-13 Akim Demaille <akim@epita.fr>
12289 * doc/autoconf.texi (ma): Rename this index as...
12292 2001-08-13 Akim Demaille <akim@epita.fr>
12294 * Makefile.am: Remove dead code and dead comments.
12295 (pdf, html): New targets.
12296 * doc/autoconf.texi (Using Autotest): New chapter.
12297 * doc/Makefile.am (pdf): New targets.
12298 (CLEANFILES): Adjust.
12300 2001-08-13 Akim Demaille <akim@epita.fr>
12302 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
12303 duration of the test suite.
12305 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
12307 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
12308 endianness for comparison instead of relying on AT_CHECK_ENV.
12310 2001-08-11 Paul Eggert <eggert@twinsun.com>
12312 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
12313 to the INSTALL file.
12315 2001-08-11 Paul Eggert <eggert@twinsun.com>
12317 * NEWS: The autoconf manual now is distributed under the terms
12318 of the GNU Free Documentation License.
12320 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
12321 Add an appendix "Copying This Manual" for the FDL.
12323 * doc/fdl.texi: New file, from
12324 <http://www.gnu.org/licenses/fdl.texi>.
12326 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
12328 2001-08-10 Paul Eggert <eggert@twinsun.com>
12330 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
12331 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
12332 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
12333 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
12334 m4/sanity.m4, tests/README, tests/aclocal.m4,
12335 tests/atspecific.m4, tests/base.at, tests/compile.at,
12336 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
12337 tests/semantics.at, tests/suite.at, tests/tools.at,
12338 tests/torture.at: Add copyright notice.
12340 * tests/mktests.sh: Update year in copyright notice.
12342 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
12344 * tests/semantics.at (AC_C_BIGENDIAN): New test.
12346 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
12348 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
12349 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
12350 * doc/autoconf.texi (C Compiler Characteristics): Update
12351 documentation for AC_C_BIGENDIAN.
12353 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
12355 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
12356 magic values from an object file when cross-compiling.
12357 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
12359 2001-08-10 Akim Demaille <akim@epita.fr>
12361 * bin/autom4te.in (&handle_output): Don't use `grep' with side
12363 Suggested by Russ Allbery.
12365 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12367 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
12368 current $prefix to the sub-configures.
12370 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
12372 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
12373 extension (needed on BeOS). Reported by Guido van Rossum.
12375 2001-08-09 Akim Demaille <akim@epita.fr>
12377 * bin/autom4te.in ($icache): Load it only if older than autom4te.
12379 2001-08-07 Akim Demaille <akim@epita.fr>
12381 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
12383 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
12384 No need to remove the files before and after the each test, before
12385 each test and at the end of the suite is enough.
12386 Display only the children `times', not the shell's.
12387 If the test failed or was skipped, at-times is not available.
12389 2001-08-07 Akim Demaille <akim@epita.fr>
12391 Always produce testsuite.log, including when there are no
12392 failures. This helps getting information on skipped tests, and
12393 duration of the tests. Err, implement the latter btw.
12395 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
12396 Dump information on the first run of each test.
12397 (AT_CLEANUP): Create `at-times' containing the duration of the
12400 2001-08-07 Akim Demaille <akim@epita.fr>
12402 The use of `dumpstat' revealed that `len' was used although it
12403 should not. m4_text_wrap was using it, but in the Autoconf world
12404 where it is legal. Hence (i) test M4sh in its own world, not
12405 Autoconf's, and (ii), ahem, fix the bug :)
12407 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
12408 does not like `' instead of [].
12409 (AT_INIT): Forbid `^_?AT_'.
12410 And don't output such tokens.
12411 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
12412 `script.as', and `autom4te.cache'.
12413 Remove `empty' and `macro' which are no longer used.
12414 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
12415 * tests/m4sugar.at: Use it.
12416 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
12418 2001-08-07 Akim Demaille <akim@epita.fr>
12420 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
12422 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
12424 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
12426 2001-08-04 Akim Demaille <akim@epita.fr>
12428 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
12429 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
12431 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
12432 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
12433 (AC_F77_MAIN): Likewise.
12435 2001-08-04 Akim Demaille <akim@epita.fr>
12437 Don't rely on M4sugar outputting the patterns in files, since we
12438 might process the output _without_ running m4, hence without these
12441 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
12442 * bin/autom4te.in (@Request::includes): Remove, unused.
12443 (@Request::source): Rename as...
12444 (@Request::input): this.
12445 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
12446 (&handle_output): Fetch the patterns from the traces.
12447 `$forbidden' and `$allowed' are constant: use m//o.
12448 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
12449 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
12451 2001-08-04 Akim Demaille <akim@epita.fr>
12453 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
12454 autoconf', i.e., in addition to caching traces, cache the output.
12456 * bin/autom4te.in (Request::cache): Rename as...
12457 (Request::id): this.
12458 ($cache, $icache, $tcache, $ocache): New.
12459 (&handle_m4): Save M4 output in the cache instead of $tmp.
12460 (&handle_output): Adjust.
12461 (&up_to_date_p): Check that the output cache is up to date too.
12462 (top level): Run `&handle_m4' iff force or the cache is invalid.
12463 Run `&handle_output' if the output cache is more recent.
12465 2001-08-04 Akim Demaille <akim@epita.fr>
12467 * bin/autom4te.in ($force): New.
12468 (&parse_args, &print_usage): -f, --force is a new option.
12469 (&handle_output): CPP directives might have spaces after `#'.
12470 (&parse_args): The first file only can be frozen.
12472 2001-08-04 Akim Demaille <akim@epita.fr>
12474 Don't let autom4te compute the `include' traces several times:
12475 first check that the trace cache file is up to date, and then
12476 compare its timestamp with that of the output.
12478 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
12479 the preamble. Don't require 5.005 as Autom4te::General does it,
12480 and better yet (use `use', not `require'!).
12481 * lib/Autom4te/Struct.pm: Rename the last occurrences of
12482 Class::Struct as Autom4te::Struct.
12483 * lib/Autom4te/General.pm (File::stat): Use it.
12484 (&mtime): New, export it.
12485 * bin/autom4te.in: Use it.
12486 Declare `$req' is invalid if it is outdated.
12487 Don't declare it valid before saving it if something went wrong.
12489 2001-08-04 Akim Demaille <akim@epita.fr>
12491 Autom4te shall not encode Autoconf data, and preselecting traces
12492 must be proposed to the users.
12494 * bin/autom4te.in (@required_trace): Remove.
12496 (&parse_args, &print_usage): -p, --preselect is a new option.
12497 (&up_to_date_p): Adjust.
12498 * bin/autoconf.in: Preselect some Autoconf macros.
12500 2001-08-04 Akim Demaille <akim@epita.fr>
12502 * tests/tools.at (autoconf --trace: user macros): Check traces on
12503 macros invoked without arguments, and macros invoked with multiple
12506 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
12508 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
12511 2001-08-03 Akim Demaille <akim@epita.fr>
12513 * bin/autoconf.in ($@): Work around the usual sh bug.
12516 2001-08-03 Akim Demaille <akim@epita.fr>
12518 Clean up the handling of the M4 builtins tracing exception.
12520 * bin/autom4te.in (Request::request): Don't complete M4 builtins
12522 (@m4_builtins): Rename as...
12523 (@m4_builtin): this.
12524 (%m4_builtin_alternate_name): New.
12525 (&parse_args): Complete the trace requests with alternate names.
12526 (&handle_traces): Hence no longer do it here.
12527 (&trace_requests): Remove, unused.
12529 2001-08-03 Akim Demaille <akim@epita.fr>
12531 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
12532 m4_if, and m4_wrap.
12534 2001-08-03 Akim Demaille <akim@epita.fr>
12536 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
12537 (m4_divert_pop): Dump the whole diversion stack when a diversion
12539 * bin/autom4te.in (&handle_output): Remember of the first
12540 occurrence of a possibly undefined macro, not the last.
12541 Complain about the possibly undefined macros in the same order as
12542 the appear in the output.
12543 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
12544 * tests/tools.at (autoconf: forbidden tokens, basic)
12545 (autoconf: forbidden tokens, exceptions): No longer sort
12546 autoconf's stderr, as it is now deterministic.
12547 Check that `dnl' is caught.
12549 2001-08-01 Akim Demaille <akim@epita.fr>
12551 * configure.ac: Bump to 2.52c.
12553 2001-08-01 Akim Demaille <akim@epita.fr>
12557 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
12559 2001-08-01 Akim Demaille <akim@epita.fr>
12563 2001-08-01 Akim Demaille <akim@epita.fr>
12565 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
12568 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
12569 `END', as `Autom4te::General::END' will be triggered.
12570 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
12571 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
12572 system to run `mv', `rm', and `cmp'.
12574 2001-08-01 Akim Demaille <akim@epita.fr>
12576 * lib/Autom4te/General.pm (&unique): New.
12577 * bin/autoscan.in (&output): Use it to issue trace requests once.
12579 2001-08-01 Akim Demaille <akim@epita.fr>
12581 * lib/Autom4te/General.pm: New.
12582 * bin/autom4te.in (Autom4te::General): Use it.
12583 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
12584 (&find_configure_ac, &find_slave): Remove.
12585 * bin/autoscan.in: Likewise.
12586 * bin/autoupdate.in: Likewise.
12588 2001-08-01 Akim Demaille <akim@epita.fr>
12590 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
12591 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
12592 * bin: here, new directory.
12593 * lib/Autoconf: Rename as...
12594 * lib/Autom4te: this, to please case insensitive junkie OSes.
12596 2001-08-01 Akim Demaille <akim@epita.fr>
12598 * autom4te.in ($m4): Handle the --nesting-limit.
12599 * autoconf.in (M4): Remove.
12601 2001-08-01 Akim Demaille <akim@epita.fr>
12603 * autoconf.in ($AWK): Remove, no longer used.
12604 * test/tools.at: Use AT_CHECK_AUTOCONF.
12605 (AWK portability): Remove, for autoconf no longer uses AWK.
12606 (Syntax of the Perl scripts): New.
12607 * configure.ac: autoconf no longer needs an AWK with a good
12609 Use a static test on AC_PACKAGE_VERSION.
12610 * autom4te.in (&up_to_date_p): Output depends on the arguments.
12611 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
12612 * tests/atconfig.in (PERL): New.
12614 2001-08-01 Akim Demaille <akim@epita.fr>
12616 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
12617 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
12618 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
12619 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
12620 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
12621 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
12622 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
12623 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
12624 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
12625 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
12626 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
12627 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
12628 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
12629 * lib/autoconf/c.m4: here, new file.
12631 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
12632 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
12633 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
12634 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
12635 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
12636 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
12637 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
12638 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
12639 (AC_F77_FUNC): Move to...
12640 * lib/autoconf/fortran.m4: here, new file.
12642 2001-08-01 Akim Demaille <akim@epita.fr>
12644 * acfunctions.m4: Rename as...
12645 * lib/autoconf/functions.m4: this.
12646 * acgeneral.m4: Rename as...
12647 * lib/autoconf/general.m4: this.
12648 * acheaders.m4: Rename as...
12649 * lib/autoconf/headers.m4: this.
12650 * aclang.m4: Rename as...
12651 * lib/autoconf/lang.m4: this.
12652 * acoldnames.m4: Rename as...
12653 * lib/autoconf/oldnames.m4: this.
12654 * acspecific.m4: Rename as...
12655 * lib/autoconf/specific.m4: this.
12656 * actypes.m4: Rename as...
12657 * lib/autoconf/types.m4: this.
12658 * autoconf.m4: Rename as...
12659 * lib/autoconf/autoconf.m4: this.
12661 * m4sugar.m4: Rename as...
12662 * lib/m4sugar/m4sugar.m4: this.
12663 * m4sh.m4: Rename as...
12664 * lib/m4sugar/m4sh.m4: this.
12666 * tests/atgeneral.m4: Rename as...
12667 * lib/autotest/general.m4: this.
12669 * acfunctions: Rename as...
12670 * lib/autoscan/functions: this.
12671 * acheaders: Rename as...
12672 * lib/autoscan/headers: this.
12673 * acidentifiers: Rename as...
12674 * lib/autoscan/identifiers: this.
12675 * aclibraries: Rename as...
12676 * lib/autoscan/libraries: this.
12677 * acmakevars: Rename as...
12678 * lib/autoscan/makevars: this.
12679 * acprograms: Rename as...
12680 * lib/autoscan/programs: this.
12682 2001-08-01 Akim Demaille <akim@epita.fr>
12684 * doc/autoconf.texi: Moving/deleting open files is not portable.
12685 Portability issues for `.' (source), and more information about sed.
12687 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
12689 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
12690 which has a special meaning and is not a reference to libibmil.a.
12691 Reported by Matteo Frigo.
12693 2001-07-25 Pavel Roskin <proski@gnu.org>
12695 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
12698 2001-07-25 Akim Demaille <akim@epita.fr>
12700 * autoconf.in: Try to define the variables before using them.
12701 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
12702 instead of `$perllibdir'.
12703 * tests/atconfig.in ($autom4te_perllibdir): Export it.
12705 2001-07-25 Akim Demaille <akim@epita.fr>
12707 * autoconf.in (ac_LF_and_DOT): Remove, unused.
12709 2001-07-24 Akim Demaille <akim@epita.fr>
12711 Let autoconf use autom4te for traces.
12713 * autoconf.in ($task, task trace): Remove, merely pass --trace to
12715 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
12716 (Because I found no way for autom4te to accept `-').
12717 * autom4te.in (&Request::request): Beware of M4 builtins.
12718 (END): Don't try to remove the content of an empty dir.
12719 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
12720 (&handle_output): Set a default value to `$forbidden'.
12721 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
12722 ($autoconf): Pass --debug and --verbose.
12723 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
12726 2001-07-24 Akim Demaille <akim@epita.fr>
12728 Let autoconf use autom4te to create configure.
12730 * autoconf.in ($automate): New var.
12731 (task script): Use autom4te.
12732 * autom4te.in (File::Spec): Use it.
12734 (&parse_args): --warning is -W, not -w.
12735 Find the top level files.
12736 (&handle_m4): Pass the warnings flags.
12737 Don't report verbosely m4's failures, unless requested.
12738 (&handle_output): Don't complain for forbidden tokens in comments.
12739 Be sure to report all the forbidden tokens within a single line.
12740 (&trace_format_to_m4): Preserve `$_'.
12741 (&handle_traces): Sort the output macros.
12742 (&up_to_date_p): Find the files before trying to get its time stamp.
12744 2001-07-24 Akim Demaille <akim@epita.fr>
12746 * Makefile.am: Ship, build and install Autom4te.
12747 (SUBDIRS): Add lib.
12748 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
12749 * configure.in: Require Perl.
12750 * man/autom4te.in: New.
12752 2001-07-19 Paul Eggert <eggert@twinsun.com>
12754 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
12755 example, rather than (exit 1); exit (which isn't portable).
12757 2001-07-18 Akim Demaille <akim@epita.fr>
12761 2001-07-18 Akim Demaille <akim@epita.fr>
12763 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
12764 was run, while they are needed also when it is expanded.
12765 Reported by Nicolas Joly.
12767 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
12768 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
12769 AC_F77_DUMMY_MAIN being expanded.
12771 2001-07-18 Akim Demaille <akim@epita.fr>
12773 * configure.in: Bump to 2.51a.
12775 2001-07-17 Akim Demaille <akim@epita.fr>
12779 2001-07-17 Akim Demaille <akim@epita.fr>
12781 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
12782 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
12784 2001-07-17 Akim Demaille <akim@epita.fr>
12786 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
12787 used. Well, then use the prototypes when you can, and runtime as
12789 Reported by Artur Frysiak
12791 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
12792 (AC_FUNC_GETPGRP): Use it.
12793 First try to compile with 0-ary or 1-ary calls.
12795 2001-07-17 Akim Demaille <akim@epita.fr>
12797 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
12801 2001-07-17 Akim Demaille <akim@epita.fr>
12803 * Makefile.maint: Sync. with cppi 1.10.
12805 2001-07-17 Akim Demaille <akim@epita.fr>
12807 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
12808 AC_F77_DUMMY_MAIN has been run.
12809 From Pavel Roskin and Steven G. Johnson.
12811 2001-07-17 Akim Demaille <akim@epita.fr>
12813 * configure.in: Rename as...
12814 * configure.ac: this.
12816 2001-07-17 Akim Demaille <akim@epita.fr>
12818 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
12821 * Makefile.maint (release-archive-dir): Rename as...
12822 (release_archive_dir): this, so that it can be specialized in
12825 2001-07-14 Akim Demaille <akim@epita.fr>
12827 * configure.in: Bump to 2.50d.
12829 2001-07-14 Akim Demaille <akim@epita.fr>
12832 * Makefile.maint (alpha): Typo.
12834 2001-07-14 Akim Demaille <akim@epita.fr>
12836 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
12838 2001-07-14 Akim Demaille <akim@epita.fr>
12840 * config/config.guess, config/config.sub, config/texinfo.tex
12841 * doc/standards.texi, doc/make-stds.texi: Update.
12843 2001-07-14 Akim Demaille <akim@epita.fr>
12845 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
12847 2001-07-14 Akim Demaille <akim@epita.fr>
12849 * Makefile.maint (maintainer-check): Rename as...
12850 (maintainer-distcheck): this.
12851 (changelog-check, static-check): New.
12854 2001-07-14 Kevin Ryde <user42@zip.com.au>
12856 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
12857 for CXX is g++, not gcc.
12859 2001-07-14 Akim Demaille <akim@epita.fr>
12861 * doc/autoconf.texi (Files): New subsection.
12863 2001-07-14 Akim Demaille <akim@epita.fr>
12865 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
12867 (Generic Compiler Characteristics): this.
12868 (C++ Compiler): New subsection.
12870 2001-07-14 Akim Demaille <akim@epita.fr>
12872 * autoscan.in: Use IO::File.
12873 Adjust all the routines to use it.
12874 ($log): New file (autoscan.log).
12875 (output): Dump detailed logs into $log, and a shortened version to
12877 (&scan_makefile): Refine the regexp catching tokens in the code.
12878 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
12879 and the `configure.ac' checking feature.
12881 2001-07-12 Akim Demaille <akim@epita.fr>
12883 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
12884 Reported by Michael Elizabeth Chastain.
12886 * autoconf.in: Refuse such AWK.
12887 * configure.in: Likewise.
12888 * Makefile.am (acversion.m4): Do not use move-if-change this file
12890 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
12892 2001-07-10 Jens Petersen <petersen@redhat.com>
12894 * autoscan.in (&scan_makefile): Improve programs regexp to parse
12895 things like "g++", "file.c" and "some-conf" as tokens.
12896 (&scan_file): Match C++ files extensions.
12897 If the filename extension is C++ then ask for c++.
12899 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
12901 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
12902 AC_TRY_LINK_FUNC, to check whether defining a dummy
12903 main-like routine is needed for linking with F77 libs.
12905 2001-07-05 Pavel Roskin <proski@gnu.org>
12907 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
12909 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
12912 2001-07-05 Akim Demaille <akim@epita.fr>
12914 * Makefile.am (move_if_change): New. Use it instead of `mv'.
12915 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
12917 Reported by Nicolas Joly.
12919 2001-07-04 Akim Demaille <akim@epita.fr>
12921 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
12923 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
12924 warnings from compilers.
12925 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
12926 for all the compilers, not only GNU. Hence move from here...
12927 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
12929 2001-07-04 Akim Demaille <akim@epita.fr>
12931 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
12932 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
12935 2001-07-04 Akim Demaille <akim@epita.fr>
12937 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
12938 the ``strings.h'' change claimed below.
12940 2001-07-04 Akim Demaille <akim@epita.fr>
12942 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
12944 2001-07-04 Akim Demaille <akim@epita.fr>
12946 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12947 strings.h if usable with string.h.
12948 Suggested by Paul Eggert.
12950 2001-07-04 Akim Demaille <akim@epita.fr>
12952 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
12953 From Jens Petersen.
12955 2001-07-03 Akim Demaille <akim@epita.fr>
12957 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
12960 2001-07-03 Akim Demaille <akim@epita.fr>
12962 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
12963 compiler, not the preprocessor.
12964 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
12965 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
12967 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
12968 earlier if there are.
12970 2001-07-03 Akim Demaille <akim@epita.fr>
12972 * autoscan.in ($initfile): Remove.
12973 (&find_file): Rename as...
12974 (&scan_file): this.
12975 Immediately scan the current file, instead of gathering them, and
12976 later having them handled by &scan_files.
12977 (&scan_files): Merely invoke Find::File.
12980 2001-07-02 Akim Demaille <akim@epita.fr>
12982 * autoscan.in: Formatting changes, matching the invocation order.
12983 (File::Find): Use it instead of Perl 4's `find.pl'.
12984 (&wanted): Rename as...
12985 (&find_file): this.
12987 2001-07-01 Pavel Roskin <proski@gnu.org>
12989 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
12990 break in the argument to AC_TRY_LINK_FUNC.
12991 (AC_F77_MAIN): Remove conftest* after using break in the
12992 argument to AC_TRY_LINK.
12994 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
12996 Add alternate 'main' routine detection for linking C/C++ with Fortran,
12997 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
12999 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
13000 dummy alternate main is required even if the user provides her own
13002 (AC_F77_MAIN): New macro to detect whether it is possible to
13003 provide an alternate 'main' function name, using the 'main' from
13004 the Fortran libraries.
13005 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
13006 cross-language link tests can be performed successfully.
13007 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
13008 after $LIBS, for consistency; this should be the general rule since
13009 the user may want to link to Fortran libraries that require $FLIBS.
13010 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
13012 2001-06-29 Pavel Roskin <proski@gnu.org>
13014 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
13015 at-stdout and at-stderr instead of removing the newline
13016 from the echo output, which is not guaranteed to work.
13018 2001-06-28 Jens Petersen <petersen@redhat.com>
13020 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
13021 confdefs.h when non-zero.
13023 2001-06-28 Akim Demaille <akim@epita.fr>
13025 * configure.in: Bump to 2.50c.
13027 2001-06-26 Akim Demaille <akim@epita.fr>
13031 2001-06-26 Akim Demaille <akim@epita.fr>
13035 2001-06-25 Pavel Roskin <proski@gnu.org>
13037 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
13038 argument, AUTOCONF-FLAGS.
13039 * tests/mktests.sh (update_exclude_list): Add
13040 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
13041 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
13042 AC_FUNC_WAIT3 with "-W no-obsolete".
13044 2001-06-25 Akim Demaille <akim@epita.fr>
13046 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
13048 2001-06-25 Akim Demaille <akim@epita.fr>
13050 * autoscan.in (%macro): Now maps from word to list of macros.
13051 (&init_tables): Die when a word which is already handled by
13052 explicit macros is mapped to the default macro.
13053 (&print_unique): Remove, inlined in...
13054 (&output_kind): here.
13055 (File::Basename): Use it.
13056 (&output): Sort the CONFIG_FILES.
13057 * acheaders: Normalize.
13058 * acfunctions: Likewise.
13060 2001-06-25 Akim Demaille <akim@epita.fr>
13062 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
13063 characteristics in the logs.
13064 Suggested by Mo DeJong.
13066 2001-06-24 Akim Demaille <akim@epita.fr>
13068 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
13069 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
13070 * doc/autoconf.texi (Autoconf 2.13): New section.
13072 2001-06-24 Akim Demaille <akim@epita.fr>
13074 * autoconf.in (Task traces): Separate the error messages from the
13075 traces to improve robustness.
13077 2001-06-23 Akim Demaille <akim@epita.fr>
13079 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
13080 three as failures are unlikely, and speed matters.
13082 2001-06-23 Akim Demaille <akim@epita.fr>
13084 * doc/autoconf.texi (Redefined M4 Macros): New.
13086 2001-06-23 Akim Demaille <akim@epita.fr>
13088 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
13089 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
13092 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
13094 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
13095 config.status targets to after the evaluation of the INIT-CMDS.
13096 Double quote config.status targets (used to be single quoted).
13098 2001-06-23 Akim Demaille <akim@epita.fr>
13100 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
13101 Check the content of the created file.
13102 Check the ./config.status command line invocation.
13104 2001-06-23 Akim Demaille <akim@epita.fr>
13106 * tests/foreign.at (Libtool): Reject prehistoric versions.
13108 2001-06-23 Akim Demaille <akim@epita.fr>
13110 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
13111 preexisting files matching a.*.
13113 2001-06-23 Akim Demaille <akim@epita.fr>
13115 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
13117 * doc/autoconf.texi (AC_ARG_VAR): Update.
13119 2001-06-21 Akim Demaille <akim@epita.fr>
13121 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
13122 precious variables have changed.
13123 * tests/torture.at (AC_ARG_VAR): Adjust.
13125 2001-06-21 Akim Demaille <akim@epita.fr>
13127 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
13128 but some sed choke on multiple `;', and other tools (e.g.,
13129 Automake), include the separator themselves.
13131 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
13133 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
13135 * doc/autoconf.texi (Functions Portability): Rename as...
13136 (Function Portability): this.
13137 (Function Portability): Document potential problems with unlink().
13139 2001-06-19 Paul Eggert <eggert@twinsun.com>
13141 * NEWS, doc/autoconf.texi: Document quadrigraphs.
13143 2001-06-18 Akim Demaille <akim@epita.fr>
13145 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
13147 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
13149 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
13150 (_AC_FUNC_VFORK): this.
13151 Remove AC_DEFINEs and don't guess cross-compilation values.
13152 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
13153 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
13154 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
13155 vfork doesn't work.
13156 Guess values if cross-compiling, but warn.
13157 * acfunctions: Add AC_FUNC_FORK.
13158 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
13159 and vfork appropriately.
13161 2001-06-18 Akim Demaille <akim@epita.fr>
13163 * doc/autoconf.texi (Functions Portability): New section.
13165 2001-06-18 Akim Demaille <akim@epita.fr>
13167 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
13169 Suggested by Andreas Schwab.
13171 2001-06-18 Akim Demaille <akim@epita.fr>
13173 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
13174 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
13175 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
13176 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
13177 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
13178 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
13179 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
13182 2001-06-18 Akim Demaille <akim@epita.fr>
13184 * doc/autoconf.texi (ms): New index.
13185 (Macro Index): Rename as...
13186 (Autoconf Macro Index): this.
13187 (M4 Macro Index): New appendix.
13188 (Programming in M4): New chapter.
13189 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
13190 (Quoting): Rename as...
13191 (M$ Quotation): this.
13192 Be part of `Programming in M4).
13194 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
13196 * tests/torture.at (AC_ARG_VAR): Set variables and export them
13197 in separate statements for compatibility with Tru64 v5.1.
13199 2001-06-17 Akim Demaille <akim@epita.fr>
13201 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
13202 current values of the precious variables, not the previously
13204 Pass precious variables which are set to config.status.
13205 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
13206 * tests/torture.at (AC_ARG_VAR): New.
13208 2001-06-15 Paul Eggert <eggert@twinsun.com>
13210 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
13211 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
13212 and explain why and how to replace them.
13213 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
13214 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
13216 2001-06-15 Akim Demaille <akim@epita.fr>
13218 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
13219 Reported by Bruno Haible.
13221 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
13222 (_AC_ARG_VAR_PRECIOUS): to here.
13224 2001-06-15 Pavel Roskin <proski@gnu.org>
13226 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
13227 an unused pointer use cast to this type and `if' statement to
13228 avoid warnings from the compiler.
13229 (AC_HEADER_TIME): Likewise.
13230 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
13231 in `if' statement to avoid warnings from the compiler. Declare
13232 ac_aggr static to avoid the need to initialize it.
13234 2001-06-14 Akim Demaille <akim@epita.fr>
13236 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
13239 2001-06-13 Akim Demaille <akim@epita.fr>
13241 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
13242 Suggested by Alexander Mai.
13244 2001-06-13 Akim Demaille <akim@epita.fr>
13246 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
13247 sys/types.h and sys/stat.h, and check for them.
13249 2001-06-13 Akim Demaille <akim@epita.fr>
13251 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
13254 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
13256 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
13257 succeeds and only try adding libdnet upon a failure.
13259 2001-06-12 Akim Demaille <akim@epita.fr>
13261 * autoscan.in (&output_kind): Output the comment only if it exists.
13262 (%kind_comment): Add entry for `programs'.
13263 (&output_programs): Use &output_kind.
13264 (&output_functions, &output_identifiers, &output_headers)
13265 (&output_programs): Inline, and remove.
13267 2001-06-12 Akim Demaille <akim@epita.fr>
13269 * autoscan.in (%kind_comment): New.
13270 (output_kind): New.
13271 (output_functions, output_identifiers, output_headers): Use it.
13273 2001-06-12 Akim Demaille <akim@epita.fr>
13275 * autoscan.in (&print_unique): Take `$kind' and `$word' as
13276 arguments, to factor indirections into `%macro' and `%used'.
13277 (%generic_macro): Fix a typo.
13279 2001-06-12 Akim Demaille <akim@epita.fr>
13281 * aclibraries: New.
13282 * autoscan.in (@kinds): Add `libraries'.
13283 Use `@kinds' instead of hard coded lists.
13284 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
13285 Remove, replaced by...
13288 2001-06-12 Akim Demaille <akim@epita.fr>
13290 * autoscan.in (%functions_macros %headers_macros)
13291 (%identifiers_macros %programs_macros %makevars_macros): Remove,
13295 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
13297 * aclang.m4 (AC_NO_EXECUTABLES): Override
13298 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
13300 2001-06-11 Akim Demaille <akim@epita.fr>
13302 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
13304 Reported by Andreas Schwab.
13306 2001-06-11 Akim Demaille <akim@epita.fr>
13308 * Makefile.am, Makefile.maint: Typos.
13310 2001-06-09 Akim Demaille <akim@epita.fr>
13312 * doc/autoconf.texi (Here-Documents): New section, gathering
13313 documentation about here-documents.
13314 Use `href', not `uref', and other changes.
13316 2001-06-09 Akim Demaille <akim@epita.fr>
13318 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
13321 2001-06-09 Akim Demaille <akim@epita.fr>
13323 * doc/autoconf.texi (Limitations of Builtins): Complete the
13324 description of the here-docs penalties with Alexandre Oliva's
13327 2001-06-01 Paul Eggert <eggert@twinsun.com>
13329 * doc/autoconf.texi: Talk about here documents and speedups.
13330 Do not use "echo" on arbitrary strings.
13331 Spell "here-documents" consistently with the standard.
13333 2001-06-09 Akim Demaille <akim@epita.fr>
13335 * doc/autoconf.texi (Concept Index): Introduce it.
13336 Regenerate the menus.
13338 2001-06-09 Akim Demaille <akim@epita.fr>
13340 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
13341 * config/prev-version.txt: New.
13342 * config/move-if-change: New, for GNU libc.
13344 2001-06-06 Pavel Roskin <proski@gnu.org>
13346 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
13348 2001-06-06 Akim Demaille <akim@epita.fr>
13350 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
13351 properly when $1 is not a literal.
13352 Fixes PR Autoconf/187, reported by Bram Moolenaar.
13354 2001-06-06 Akim Demaille <akim@epita.fr>
13356 Invoking AC_COPYRIGHT before AC_INIT fails.
13358 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
13359 * acgeneral.m4 (_m4_divert(VERSION_FSF))
13360 (_m4_divert(VERSION_USER)): New.
13361 (AC_COPYRIGHT): $2 is the diversion to use.
13362 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
13363 (AC_INIT): Remove dead comments as now it's commutative.
13365 2001-06-06 Akim Demaille <akim@epita.fr>
13367 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
13370 2001-06-05 Akim Demaille <akim@epita.fr>
13372 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
13374 `*dir' variables cannot be NONE.
13375 Reported by Mark Kettenis.
13377 2001-06-05 Paul Eggert <eggert@twinsun.com>
13379 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
13381 2001-06-04 Akim Demaille <akim@epita.fr>
13383 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
13384 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
13385 (AC_TR_SH): Move as...
13386 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
13387 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
13389 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
13390 (_AS_TR_SH_PREPARE): New.
13391 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
13392 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
13394 2001-06-02 Akim Demaille <akim@epita.fr>
13396 * Makefile.am (.m4.m4f): Pass the options first.
13397 Fixes PR autoconf/182.
13399 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
13401 GNU getopt, when POSIXLY_CORRECT does not permute options and
13402 arguments. So pass the options first.
13403 Fixes PR autoconf/184.
13405 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
13406 (run_m4): Remove files.
13408 Update remainder of script to use them.
13409 (for warning in): Do not use a literal comma as it will not be
13412 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
13414 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
13415 Fortran compilers to check.
13416 (_AC_PROG_F77_V): Add '-###' as a possible option to print
13417 information on library and object files.
13418 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
13421 2001-06-02 Akim Demaille <akim@epita.fr>
13423 * autom4te.in (Request::@request): Declare with `vars', not `my',
13424 as it prevents updates via `do FILENAME'.
13426 2001-06-02 Akim Demaille <akim@epita.fr>
13428 * configure.in (standards_texi): Remove, dead code.
13430 2001-06-02 Akim Demaille <akim@epita.fr>
13432 * autom4te.in: New.
13434 2001-06-02 Pavel Roskin <proski@gnu.org>
13436 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
13437 for signals other than 0 - exit with code 1.
13438 * m4sh.m4 (AS_TMPDIR): Likewise.
13439 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
13440 * autoheader.in: Likewise.
13441 * autoreconf.in: Likewise.
13442 * tests/torture.at (Signal handling): New test for the above.
13444 2001-06-01 Akim Demaille <akim@epita.fr>
13446 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
13449 2001-05-31 Akim Demaille <akim@epita.fr>
13451 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
13452 Add copyright and comments.
13453 * acheaders: Add stdint.h.
13454 Suggested by Paul Eggert.
13456 2001-05-31 Akim Demaille <akim@epita.fr>
13458 * atgeneral.m4 (AT_INIT): Use $SHELL.
13459 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
13461 2001-05-31 Akim Demaille <akim@epita.fr>
13463 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
13465 From Paul Eggert and Lars Hecking.
13467 2001-05-31 Akim Demaille <akim@epita.fr>
13469 * tests/base.at: Adjust line numbers in error messages.
13471 2001-05-31 Akim Demaille <akim@epita.fr>
13473 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
13474 to emit the bangshe line.
13475 Reported by David Carter.
13477 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
13479 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
13480 Fortran (95) compilers to check.
13482 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
13484 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
13487 2001-05-23 Pavel Roskin <proski@gnu.org>
13489 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
13490 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
13491 (AC_PROG_CXXCPP): Likewise.
13493 2001-05-22 Akim Demaille <akim@epita.fr>
13495 * config: New directory.
13496 * configure.in: AC_CONFIG_AUX_DIR it.
13497 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
13499 2001-05-22 Akim Demaille <akim@epita.fr>
13501 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
13502 * autoupdate.in: Specify the Emacs mode.
13503 * acversion.m4.in: Rename as...
13504 * acversion.m4: this.
13505 * tests/Makefile.am (CLEANFILES): More garbage.
13507 2001-05-22 Akim Demaille <akim@epita.fr>
13509 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
13511 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
13514 2001-05-21 Akim Demaille <akim@epita.fr>
13516 * configure.in: Bump to 2.50a.
13521 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
13522 Software Foundation, Inc.
13524 This file is part of GNU Autoconf.
13526 GNU Autoconf is free software; you can redistribute it and/or modify
13527 it under the terms of the GNU General Public License as published by
13528 the Free Software Foundation; either version 3, or (at your option)
13531 GNU Autoconf is distributed in the hope that it will be useful,
13532 but WITHOUT ANY WARRANTY; without even the implied warranty of
13533 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13534 GNU General Public License for more details.
13536 You should have received a copy of the GNU General Public License
13537 along with autoconf; see the file COPYING. If not, write to
13538 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
13539 Boston, MA 02110-1301, USA.