1 2007-05-31 Paul Eggert <eggert@cs.ucla.edu>
3 * doc/autoconf.texi (Particular Types): Give example of use for
6 2007-05-29 Stepan Kasal <kasal@ucw.cz>
8 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
10 2007-05-28 Paul Eggert <eggert@cs.ucla.edu>
12 * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
13 define HAVE_INT8_T, and likewise for similar macros.
14 Problem reported by Patrick Welche in
15 <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
17 2007-05-25 Noah Misch <noah@cs.caltech.edu>
19 * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
21 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
23 * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
24 choice, since that's what we do with --enable-largefile etc.
25 Redo indenting and assignments to simplify things a bit, and make
26 the parens work with Emacs.
28 * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
29 in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
32 2007-05-21 Noah Misch <noah@cs.caltech.edu>
34 * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
35 * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
37 2007-05-21 Bruno Haible <bruno@clisp.org>
39 * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
40 * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
41 * doc/autoconf.texi (Generic Compiler Characteristics): Move
42 renamed AC_OPENMP documentation here, from "C compiler".
43 Mention C++ and Fortran.
45 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
47 * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
49 2007-05-21 Bruno Haible <bruno@clisp.org>
51 * NEWS: Mention AC_C_OPENMP.
52 * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
53 * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
55 2007-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
57 * bin/autom4te.in: Fix typos.
59 2007-05-16 Noah Misch <noah@cs.caltech.edu>
61 * bin/autoconf.as: Handle `-' just like other input files.
62 * bin/autom4te.in (parse_args): Pass `-' through.
63 (handle_output): Skip the forbidden token search if we read from stdin.
64 (up_to_date): Always treat stdin as out of date.
65 * tests/tools.at (autoconf: input from stdin): New test.
66 (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
68 2007-05-16 Stepan Kasal <kasal@ucw.cz>
70 * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
71 parameters for AT_CLEANUP.
72 * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
74 2007-05-14 Paul Eggert <eggert@cs.ucla.edu>
76 * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
77 * doc/autoconf.texi (C Compiler): Likewise.
79 2007-05-14 Noah Misch <noah@cs.caltech.edu>
81 * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
83 2007-05-09 Stepan Kasal <kasal@ucw.cz>
85 * doc/autoconf.texi: Direntry for "autoconf Invocation"
86 renamed to "autoconf-invocation"
88 * doc/autoconf.texi (Caching Results): The CACHE-ID variable
89 in the examples should not use the internal "ac_" prefix.
91 2007-05-05 Noah Misch <noah@cs.caltech.edu>
93 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
94 * doc/autoconf.texi ($@, case): Document Zsh limitations.
96 2007-05-03 Stepan Kasal <kasal@ucw.cz>
98 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
99 Reorganize the comments before and in the macro.
101 2007-05-02 Stepan Kasal <kasal@ucw.cz>
103 * lib/autoconf/lang.m4, lib/autoconf/c.m4,
104 lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
105 section titles and other comments; no code change.
107 2007-05-01 Kevin Ryde <user42@zip.com.au>
109 * doc/autoconf.texi (Particular Programs): Typo
110 @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
112 2007-04-30 Paul Eggert <eggert@cs.ucla.edu>
114 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
115 'configure' will fail if the shell lacks proper support for shell
116 functions. Suggested by RMS.
118 2007-04-29 Paul Eggert <eggert@cs.ucla.edu>
120 * doc/autoconf.texi (Limitations of Builtins): Correct the warning
121 about Solaris /bin/printf '%010000x' 123. Problem reported by
124 2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
126 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
127 for a.* when searching for executables, as this prevents users
128 from having files like a.c. Problem reported by Ralf Wildenhues in:
129 http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
130 This fixes a problem introduced on 2000-12-19.
132 2007-04-26 Paul Eggert <eggert@cs.ucla.edu>
134 * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
135 /bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko
138 2007-04-12 Paul Eggert <eggert@cs.ucla.edu>
140 * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
141 AC_CHECK_TYPE, AC_CHECK_TYPES.
142 * doc/autoconf.texi (Generic types): C types must be type-names
143 (the C terminology), not type-ids (the C++ term). C++ types
144 must not be anonymous.
145 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
146 for C++; this drops support for anonymous struct and union types,
147 which were problematic anyway.
148 * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
151 2007-04-12 Jim Meyering <jim@meyering.net>
153 * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
155 2007-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
157 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
158 to prefer a link source from the build tree, if it exists.
159 Report by Pallav Gupta <pallavgupta@gmail.com>.
161 2007-04-11 Paul Eggert <eggert@cs.ucla.edu>
163 * doc/autoconf.texi (Generic Types): Document the restrictions
164 on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
165 (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
166 with objects too. Document the restrictions on its use.
167 Document the restrictions on AC_CHECK_ALIGNOF's type argument.
168 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
169 For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
170 works but the latter doesn't, then it's a valid type.
171 This lets people use function types and so forth.
172 For C++ there doesn't seem to be a simple solution, so leave it alone.
173 (AC_CHECK_SIZEOF): Allow argument to be a variable.
174 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
175 AC_CHECK_TYPE; that wasn't documented or necessary.
177 2007-04-11 Stepan Kasal <kasal@ucw.cz>
179 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
180 when cross-compiling.
182 2007-04-11 Stepan Kasal <kasal@ucw.cz>
184 * doc/autoconf.texi (External Software): Fix a typo in the
187 2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
189 * doc/autoconf.texi (External Software, Package Options):
190 Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
192 2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
194 * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
195 obsolescent. Suggested by Bruno Haible.
196 * NEWS: Document this.
198 2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
200 * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
201 (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
202 default still has the problem. Problem reported by Bruce Korb.
204 2007-03-28 Stepan Kasal <kasal@ucw.cz>
205 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
207 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
208 comment in the generated config.status.
210 2007-03-27 Stepan Kasal <kasal@ucw.cz>
212 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
214 2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
216 * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
217 command and case statements to make it a bit clearer and describe
220 2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
222 * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
223 checks for unsigned long long int.
225 2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
227 * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
228 nonstandard grep R.E. escape sequences.
230 2007-03-17 Jim Meyering <jim@meyering.net>
232 * doc/autoconf.texi: Adjust grammar around use of "heuristics".
233 (Limitations of Usual Tools): Also list \< and \>, and mention that
234 HP-UX's grep, like the one from Solaris, does not support that syntax.
236 2007-03-09 Stepan Kasal <kasal@ucw.cz>
238 * doc/autoconf.texi (Specifying Names): `--host' does not
239 change the build type.
241 2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
243 * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
244 suggests AC_CONFIG_HEADERS.
245 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
246 AC_CONFIG_HEADERS. Problem reported by
249 2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
251 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
252 Problem reported by Paolo Bonzini in:
253 http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
254 * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
255 universal binaries. Problem reported by Elias Pipping.
257 2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
259 * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
260 * doc/autoconf.texi (C Compiler): Document this. There is a new
261 extra argument ACTION-IF-UNIVERSAL.
262 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
263 Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
264 Reindent for sanity's sake.
266 2007-02-24 Eric Blake <ebb9@byu.net>
268 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
270 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
271 * lib/autotest/general.m4 (AT_INIT): Likewise.
272 (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
274 2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
276 * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
277 status of rm so we know when it failed.
278 If cleaning of test dir failed before running the test, warn.
279 Output the line separator in verbose mode before the warning
280 to make clear the warning belongs to the following test.
282 2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
284 * doc/autoconf.texi (Parentheses): Mention problem with (( in
287 2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
288 and Paul Eggert <eggert@cs.ucla.edu>
290 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
291 errors introduced in last change.
293 2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
295 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
296 an actual carriage return. Use "ac_cr" to contain the actual
298 * doc/autoconf.texi (Limitations of Usual Tools): Document problem
299 with traditional Awk and begin.
300 * tests/torture.at (Limitations of Builtins): Document the problem
301 with Bash 2.03 printf.
302 (Substitute and define special characters):
303 Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
305 2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
307 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
308 input from /dev/null in awk test, so even Solaris /usr/bin/awk
309 will not wait for input with a script containing only a BEGIN
312 2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
314 * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
318 2007-02-02 Eric Blake <ebb9@byu.net>
320 * NEWS: Update copyright.
322 * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
324 * configure.ac: Update error message.
325 * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
326 Reported by Gary Vaughan and Jim Meyering, and problem analyzed
328 http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
330 2007-01-31 Eric Blake <ebb9@byu.net>
332 * THANKS (people): Update.
334 2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
336 * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
338 (Shell Substitutions): Note problems with @{var:=value} etc.
339 Add a new section for problems with @{#var} etc. Problem noted
340 by Ralf Wildenhues. See:
341 http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
343 2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
345 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
346 AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
347 trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
348 substitution will still be done by the special code.
349 Report by Jim Meyering.
351 * doc/autoconf.texi (File System Conventions): Mention that
352 $PATH_SEPARATOR is for the build system only.
353 Report by Keith Marshall.
355 2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
357 * doc/autoconf.texi (Setting Output Variables): Mention that
358 all non-NUL characters are ok in substituted values.
359 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
360 (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
361 carriage return for $AWK, needed for BSD awk.
362 * tests/torture.at (Substitute and define special characters):
363 Test all 8 bit non-NUL characters.
364 Report against Automake by Patrick Welche.
366 2007-01-15 Stepan Kasal <kasal@ucw.cz>
368 * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
370 2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
372 * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
373 early on the reader side, drop stderr of the input to avoid
374 `broken pipe' error output; this may happen even with shell
375 builtin `echo' of some bash versions. Reports by Ian Macdonald
376 <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
378 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
380 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
381 separate items of `ac_user_opts', to avoid long lines.
382 (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
384 2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
386 * doc/autoconf.texi: Fix some typos.
388 2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
390 Fix some wording problems noted by Paolo Bonzini in:
391 http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
392 * doc/autoconf.texi (Signed Overflow Examples): Give more
393 discussion about the allow_superuser_privileges example,
394 and change it a bit to make things clearer.
395 (Optimization and Wraparound): Clarify whether the compiler
396 will generate an infinite loop for the example derived from
397 Autoconf's mktime test.
398 (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
399 Also, clarify unsigned multiplication overflow.
401 2007-01-04 Eric Blake <ebb9@byu.net>
403 * bin/Makefile.am (RELEASE_YEAR): New macro.
404 (edit): Use it to supply correct copyright year to scripts.
405 * bin/autoconf.as (version): Use it.
406 * bin/autoheader.in ($version): Likewise.
407 * bin/autom4te.in ($version): Likewise.
408 * bin/autoreconf.in ($version): Likewise.
409 * bin/autoscan.in ($version): Likewise.
410 * bin/autoupdate.in ($version): Likewise.
411 * bin/ifnames.in ($version): Likewise.
413 2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
415 * doc/autoconf.texi (Integer Overflow): Revised based on today's
416 feedback. The most important changes document what happens when
417 you convert an out-of-range value to a signed integer type, and
418 say that (sum < a) != (b < 0) reliably detects overflow when sum =
421 * doc/autoconf.texi (Integer Overflow): Greatly expand and
422 rewrite, taking notions from the recent discussion on the gcc and
423 autoconf mailing lists; please see
424 http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
425 and follow the many links.
426 (Integer Overflow Basics, Signed Overflow Examples):
427 (Optimization and Wraparound, Signed Overflow Advice):
428 (Signed Integer Division): New sections.
430 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
432 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
433 preprocessor macro arguments in traced name.
434 * doc/autoconf.texi (Defining symbols): Document longstanding
435 support for AC_DEFINE-ing macros with arguments, and document
436 behavior when the same variable has multiple AC_DEFINEs.
437 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
438 old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
439 macros directly, giving much shorter and simpler code.
441 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
443 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
444 space before "$ac_configure_args" to prevent a 'config.status
445 --recheck' failure if ac_configure_args doesn't contain a leading
446 space. This works around a problem with the XEmacs configure.ac,
447 which uses the (undocumented) ac_configure_args variable
448 inconsistently with Autoconf.
450 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
452 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
453 Include <limits.h>, and use its INT_MAX to rewrite the
454 j loop so that it does not overflow 'int'. Problem reported by
456 <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
457 Play it safe by shifting left by 1 rather than multiplying by 2,
458 as GCC is less likely to optimize this away when the value
459 is signed (when it assumes overflow leads to undefined behavior).
460 Also, don't assume time_t uses two's complement.
462 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
464 * tests/torture.at (Substitute a 2000-byte string): Avoid using
465 a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
466 dumps core on it. Report by Tim Rice.
468 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
470 * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
471 --disable-option-checking to --help output even when
472 AC_PRESERVE_HELP_ORDER is not used.
473 (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
474 --with argument, rather than argument with [-.] replaced by
476 * NEWS: Fix typo in previous change; the news was in the
479 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
481 * NEWS: Warnings are now generated by default for unknown
482 --enable-* and --with-* options.
483 * doc/autoconf.texi (Option Checking): Renamed from
484 (Configure Option Checking). Tighten up the wording a bit.
485 (External Software, Package Options): Cross-reference to Option
486 Checking, and use this to shorten our section.
487 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
488 "$x" to test "x$foo" != x.
489 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
490 Don't warn if $enable_option_checking is "no".
491 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
492 ac_unrecognized_opts to the empty string.
493 Don't echo the unrecognized opts, as this might mishandle
494 backslashes or leading -.
495 (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
496 usage next to the other --disable-FEATURE options in the
499 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
501 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
502 (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
503 Print warning for unrecognized --with and --enable options
504 (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
505 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
506 Disable option checking when subdirs are configured.
507 (AC_OUTPUT): If warnings are enabled, print warning about
508 unrecognized --with and --enable options at the end of
509 the configure output (as well as at the beginning).
510 * doc/autoconf.texi (Option Checking): New node.
511 Document new option warning functionality.
513 2006-12-16 Eric Blake <ebb9@byu.net>
515 * configure.ac (AC_INIT): Bump version, since 2.61a is released.
516 * NEWS: Start news for current version.
518 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
520 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
521 Define HAVE_GETMNTENT to 1, not to the empty string.
522 Problem originally reported by Jochen Friedrich in
523 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
525 This change prompted by a problem report by Andrey Simonenko in
526 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
527 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
528 object-like macros only, in the traditional portable character
530 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
531 Warn about attempts to define things that are not identifiers.
532 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
533 awful hack that AC_DEFINEd macro names containing parentheses.
535 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
537 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
538 too drastic, even if Texinfo in theory requires it for info mode.
540 (config.status Invocation): Renamed back from Recreating a
542 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
543 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
545 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
547 * NEWS: Version 2.61a.
549 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
550 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
552 * NEWS: Document changes with echo and printf, and the lack
553 of limits on the total size of multi-line values of substituted
554 variables, and the AC_FUNC_FSEEKO fix.
556 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
558 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
559 Writing configure.ac.
560 (Autoconf Input Layout): Renamed from configure.ac Layout.
561 (Recreating a Configuration): Renamed from config.status Invocation.
562 (Obsolete Recreation): Renamed from Obsolete config.status Use.
563 (acconfig Header): Renamed from acconfig.h.
564 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
565 (Writing Testsuites): Renamed from Writing testsuite.at.
566 (Autom4te Cache): Renamed from autom4te.cache.
568 * BUGS: Remove mention of VPATH problem, since it's now documented
569 not to be a bug in the Autoconf build procedure itself, but rather
570 a problem with the proprietary `make' programs.
572 * doc/autoconf.texi (Build Directories): Add a cross reference
575 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
576 * doc/standards.texi: Sync from gnulib.
578 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
579 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
580 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
581 generated automatically.
583 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
585 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
586 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
587 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
589 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
591 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
592 `CEOF$ac_eof' special marker, the awk script cannot contain a
593 line matching `^CEOF', so this is not needed any more.
594 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
595 special marker in the test.
597 2006-12-06 Stepan Kasal <kasal@ucw.cz>
599 * tests/tools.at (autom4te preselections): Use `find -newer';
600 remove one of the sleeps.
602 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
603 more readable, using ...
604 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
606 * doc/autoconf.texi (autoheader Invocation): Do not double-
607 quote the parameter of `AH_BOTTOM' in the example.
609 2006-12-05 Stepan Kasal <kasal@ucw.cz>
611 * doc/autoconf.texi (Configuration Headers): Remove the
612 example with multiple input files.
613 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
614 multiple input files.
616 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
618 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
619 creating the awk substitution script, handle one input line at a
620 time, so that the maximum length of a substituted (multi-line)
621 value is not limited by the size of the sed pattern space.
622 The trade-off is a slightly repetitive sed script.
623 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
624 can only have up to 7 characters, due to Solaris 10 /bin/sed.
625 * tests/torture.at (Substitute a 2000-byte string): Increase the
626 test with several long lines, they should not be caught by sed
629 * tests/tools.at (autom4te preselections): New test, to flag
630 entries missing from autom4te.cfg.
631 Report by David Byron <dbyron@hheld.com>.
633 * tests/torture.at (Substitute a 2000-byte string): Actually use
634 AC_PROG_AWK, so the last change works as intended.
635 (Substitute and define special characters): Likewise.
636 (Substitute a newline): Likewise.
638 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
639 instead of `awk' consistently.
640 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
641 * tests/torture.at (Torturing config.status): Test both the
642 result of AC_PROG_AWK and plain awk.
643 (Substitute a 2000-byte string): Likewise.
644 (Substitute and define special characters): Likewise.
645 (Substitute a newline): Likewise.
647 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
649 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
650 can be assigned to a function pointer. Problem reported by
651 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
652 part of a patch by Ralf Wildenhues in that same bug report.
654 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
656 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
657 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
659 2006-12-01 Eric Blake <ebb9@byu.net>
661 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
662 cross-compiling from cygwin to mingw.
663 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
664 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
665 to lib/autoconf/c.m4.
667 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
669 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
670 string for more reliable failure. Wrap the entire test that
671 causes the broken Solaris printf to dump core, in a subshell,
672 so the segmentation fault message is reliably suppressed.
673 Fix shell expansion errors by using /usr/ucb/echo always;
674 avoid an error on systems without it by another subshell.
675 Avoid m4 expansion of `$1'. Set the zeroth argument of the
676 subshell-$as_echo to `as_echo', for better error message.
678 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
680 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
681 `BASH_SOURCE' contain a newline, set them to empty, as they may
684 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
686 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
687 years and is too hard to maintain now. The last straw was
688 reported by Jerker Baeck in
689 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
690 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
691 * doc/autoconf.texi (Particular Functions): Move
692 AC_FUNC_SETVBUF_REVERSED from here...
693 (Obsolete Macros): ... to here. Say that it does nothing now.
694 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
695 Turn into (almost) a no-op.
697 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
699 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
700 These macros are obsolescent and new applications shouldn't need them.
701 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
702 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
703 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
704 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
705 (AC_FUNC_VPRINTF): Likewise.
706 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
707 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
708 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
710 * doc/autoconf.texi (Setting Output Variables): Mention that
711 @VAR1@VAR2 has unspecified behavior. Problem reported by
713 * NEWS: Mention this.
715 * Makefile.am: Put only a single '#' into the copyright notice,
716 so that it's also present in the output file. Standardize wording
717 in makefile copyright notices to match GNU coding standards.
718 * bin/Makefile.am: Likewise.
719 * doc/Makefile.am: Likewise.
720 * lib/Makefile.am: Likewise.
721 * lib/freeze.mk: Likewise.
722 * lib/autoconf/Makefile.am: Likewise.
723 * lib/autoscan/Makefile.am: Likewise.
724 * lib/autotest/Makefile.am: Likewise.
725 * lib/m4sugar/Makefile.am: Likewise.
726 * man/Makefile.am: Likewise.
727 * tests/Makefile.am: Likewise.
728 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
731 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
733 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
734 in the sed script that mangles the awk script: delete up to the
735 first exclamation mark only.
736 * tests/torture.at (Substitute and define special characters):
739 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
741 Rewrite config files generation: avoid quadratic growth in
742 the number of substituted variables by using awk instead of sed
743 for the bulk of the substitutions.
744 * NEWS: Mention this.
745 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
746 forbidden in the output (and thus input) file.
747 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
748 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
749 generate just one large awk script for substitutions,
750 eliminating much of the earlier complexity, while adding some
751 new complexity. Only expand the substitution templates at
752 configure time, for smaller configure script size. If
753 _AC_SUBST_FILES are used, test 'awk' for working getline support
754 at config.status time. If absent, interpolate through the
755 shell. The awk script was written with much help
756 from Paolo Bonzini and Paul Eggert.
757 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
758 (_AC_SED_FRAG_NUM): Likewise.
759 (_AC_SUBST_CMDS): Renamed from...
760 (_AC_SED_CMDS): ...this.
761 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
762 * tests/torture.at (Substitute a 2000-byte string): Also
763 substitute a line with 1000 words, and a variable with several
765 (Substitute and define special characters): Test awk special
766 characters, and put substitution input strings `@foo@' in the
767 output, to test that no recursion happens; test several other
768 combinations from Paolo Bonzini.
770 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
772 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
773 that replaced echo with AS_ECHO where this wasn't necessary.
774 Problem reportd by Ralf Wildenhues.
775 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
776 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
777 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
779 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
781 * lib/freeze.mk (GREP): Removed, no need to initialize this.
783 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
785 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
786 that traditional Awk lacks 3-arg "split". It has it.
787 Mention that FS must be a single character, and a few other
788 99-byte limits of traditional Awk.
789 Mention that if (i in a) doesn't work with traditional Awk.
791 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
793 * tests/autotest.at (BSx641-newline in command):
794 (BS-BS-newline in command, BSx640-newline in command):
795 (Newline-CODE-BS-newline in command):
796 (Single-quote-BS-newline in command):
797 (Single-quote-newline-BS-newline in command):
798 Use printf '%s\n' instead of echo, for portability to hosts
799 where echo interprets backslashes. This will break on hosts
800 that lack printf, but for now let's assume all such hosts
801 are dead (if not, we should get reports of test failures).
803 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
805 'echo' has some portability problems, when given a first argument
806 with a leading '-', or when given any argument containing '\'.
807 Avoid using 'echo' in these cases.
808 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
809 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
810 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
811 * lib/autotest/general.m4 (AT_INIT): Likewise.
812 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
813 argument might be unportable.
814 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
815 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
816 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
817 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
818 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
819 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
820 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
821 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
822 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
823 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
824 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
825 (AC_PROG_MAKE_SET): Likewise.
826 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
827 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
828 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
829 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
830 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
831 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
832 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
833 * bin/autoconf.as: Redo verbose flag implementation, as the old
834 scheme wouldn't work with AS_ECHO.
835 * lib/autotest/general.m4 (AT_INIT): Likewise.
836 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
837 Don't use ECHO_T, since ECHO_N is now reliable.
838 * lib/autotest/general.m4 (AT_INIT): Likewise.
839 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
840 rather than using a here-document to put the script into a file.
841 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
843 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
844 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
845 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
846 bug, but we might as well stop using ECHO_N and ECHO_C internally.
847 * lib/autotest/general.m4 (AT_SETUP): Likewise.
848 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
849 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
850 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
851 operand, as AS_ECHO requires. Avoid double file name expansion.
852 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
853 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
854 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
855 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
856 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
857 Double-quote strings that would otherwise contain M4 comments.
858 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
860 * configure.ac (AC_INIT): Bump to 2.61a.
863 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
867 * configure.ac (AC_INIT): Bump to 2.61.
870 * tests/autotest.at (Macro with backslash in a test title):
871 Comment out for now, as this tests neither fails nor passes
872 reliably. Problem reported by Ralf Wildenhues.
874 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
876 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
877 in previous change, which caused test failures.
879 2006-11-16 Stepan Kasal <kasal@ucw.cz>
881 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
882 code for --enable, --disable, --with, and --without to...
883 (_AC_INIT_PARSE_ENABLE): ... a new macro.
884 * doc/autoconf.texi (Package Options):
885 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
887 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
889 Import these changes from config via gnulib:
891 2006-11-15 Ben Elliston <bje@gnu.org>
893 From Josselin Mouette <joss@debian.org>:
894 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
896 2006-11-08 Ben Elliston <bje@gnu.org>
898 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
900 2006-11-07 Steve Woodford <scw@NetBSD.org>
901 Ben Elliston <bje@gnu.org>
903 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
904 * build-aux/config.sub (sh5el): New basic_machine.
907 Import this change from coreutils:
909 2006-02-13 Jim Meyering <jim@meyering.net>
911 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
914 Import this change from gnustandards via gnulib:
916 2006-11-15 Karl Berry <karl@gnu.org>
918 * standards.texi: core -> memory, throughout.
919 (CPU Portability): show correct example of calling write
920 on a char value; thanks to Paul Eggert for the code.
921 Both of these suggestions from Eugene Y. Vasserman.
924 Import these changes from texinfo via gnulib:
926 2006-11-08 Karl Berry <karl@gnu.org>
928 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
929 as well as pdf images, since they are supported in pdftex with
932 2006-11-05 Karl Berry <karl@gnu.org>
934 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
936 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
938 * NEWS: Document the AC_ARG_WITH change.
940 2006-11-13 Bruno Haible <bruno@clisp.org>
942 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
943 options, transliterate also dots to underscores.
944 (_AC_ENABLE_IF): Transliterate also dots to underscores.
945 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
946 first argument may also contain dots.
948 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
950 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
951 benefit of platforms like Solaris+GCC where it is common to have a
952 non-working g++ installation.
954 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
955 and Joel E. Denny <jdenny@ces.clemson.edu>
956 and Paul Eggert <eggert@cs.ucla.edu>
958 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
959 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
962 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
964 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
965 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
966 Imported from a similar patch to gnulib by Bruno Haible.
968 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
970 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
971 * doc/autoconf.texi (C Compiler): Document them.
972 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
973 New macros, taken from gnulib.
975 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
977 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
978 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
981 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
983 * tests/torture.at (Configuring subdirectories): Do not skip
984 Automake 1.10 nor future Automake 11.1 (sic).
986 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
987 and Stepan Kasal <kasal@ucw.cz>
989 Handle special characters in test case titles correctly.
990 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
992 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
993 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
994 argument. Extend to check titles printed by ./micro-suite and
995 ./micro-suite -l and the title in micro-suite.log.
996 (Backquote in a test title,
997 Single-quote in a test title,
998 Double-quote in a test title): Don't expect failure anymore.
999 (Backslash in a test title): Put a non-whitespace character after the
1000 backslash so that Bourne shells might actually see it as an escape
1002 (Brackets in a test title,
1003 Pound in a test title,
1004 Comma in a test title,
1005 Quoted Macro in a test title,
1006 Macro in a test title,
1007 Macro with single-quote in a test title): New tests.
1008 (Macro with backquote in a test title,
1009 Macro with double-quote in a test title,
1010 Macro with backslash in a test title): New tests expected to fail.
1011 * tests/torture.at (#define header templates): M4-quote this title in
1012 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
1013 The visible effect was a stray [] in the testsuite output.
1015 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1017 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
1018 `trap ... 0' inside a function, for AIX sh.
1020 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
1022 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
1023 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
1024 5363) simply issues a warning when dividing by zero at compile
1025 time. Problem reported by Elias Pipping.
1027 2006-10-26 Eric Blake <ebb9@byu.net>
1030 * doc/autoconf.texi (Evaluation Macros): Improve the example to
1031 show effect on macros that expand with commas.
1032 Reported by Joel E. Denny.
1034 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1035 Also work with M4 1.4.8.
1037 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
1039 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
1042 2006-10-25 Stepan Kasal <kasal@ucw.cz>
1044 * tests/tools.at (autom4te --force): New test, verifies that
1045 `--force' always rewrites the output file.
1047 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
1049 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
1050 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
1052 2006-10-24 Stepan Kasal <kasal@ucw.cz>
1054 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
1056 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
1058 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1059 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
1060 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
1061 reported by Nelson H. F. Beebe for Coreutils 6.4.
1063 * tests/tools.at (autoconf --trace: user macros): Remove test
1064 for tracing multiline macros, since m4 1.4.7a uses a different
1065 way to number lines. Problem reported by Ralf Wildenhues.
1067 2006-10-24 Stepan Kasal <kasal@ucw.cz>
1069 * bin/autom4te.in (handle_m4): Do not redirect stdin to
1070 /dev/null since the heuristics for interactive behaviour was
1073 * bin/autom4te.in: With --force, always refresh the output
1074 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
1076 * bin/autoconf.as: Fix the verbose message at the end.
1078 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
1080 * configure.ac (AC_INIT): Bump to 2.60c.
1083 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
1085 * NEWS: Version 2.60b.
1087 Import this change from Texinfo:
1088 2006-10-15 Karl Berry <karl@gnu.org>
1089 * build-aux/texinfo.tex: automake 1.10
1091 * NEWS: Remove AC_CACHE_CHECK_INT.
1092 * doc/autoconf.texi (Caching Results): Likewise.
1093 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
1094 AC_CACHE_CHECK_INT, since it's no longer public.
1095 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
1096 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
1098 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1100 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
1102 2006-10-19 Eric Blake <ebb9@byu.net>
1104 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
1105 (m4_maketemp): Avoid warnings with M4 1.9a.
1106 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
1108 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
1111 2006-10-16 Eric Blake <ebb9@byu.net>
1113 * doc/autoconf.texi (Setting Output Variables): Fix typo.
1115 * bin/autoconf.as (version): Reword to match GNU Coding
1117 * bin/autoheader.in (version): Likewise.
1118 * bin/autom4te.in (version): Likewise.
1119 * bin/autoreconf.in (version): Likewise.
1120 * bin/autoscan.in (version): Likewise.
1121 * bin/autoupdate.in (version): Likewise.
1122 * bin/ifnames.in (version): Likewise.
1124 2006-10-14 Stepan Kasal <kasal@ucw.cz>
1126 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
1127 looking for special shell characters.
1128 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
1129 macro defined by AS_VAR_PUSHDEF before passing it as a
1131 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
1132 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
1133 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
1134 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
1135 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
1137 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
1139 * tests/m4sh.at (AS_LITERAL_IF): New test.
1141 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
1143 (Imported from Automake.)
1144 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
1145 which incorrectly sets the mode of an existing destination
1146 directory. In some cases the unpatched install-sh could do the
1147 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
1148 system. We hope this is rare in practice, but it's clearly worth
1149 fixing. Problem reported by Alex Unleashed in
1150 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
1151 Also, don't bother to check for -m bugs unless we're using -m;
1152 suggested by Stepan Kasal.
1154 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
1156 Import this change from Automake:
1158 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
1159 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
1160 is enabled by default with gnu and gnits strictness.
1161 Report from Bruno Haible.
1163 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
1164 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
1165 gnu and gnits modes.
1167 Import this change from Config:
1169 2006-09-20 Ben Elliston <bje@gnu.org>
1170 * build-aux/config.sub (score, score-*): New.
1172 Import this change from Gnulib:
1174 2006-09-16 Karl Berry <karl@gnu.org>
1175 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
1176 to avoid sectioning errors.
1178 Import these changes from Texinfo:
1180 2006-10-04 Karl Berry <karl@gnu.org>
1181 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
1182 (\quoteexpand): rename to \rquoteexpand.
1183 (\codequoteleft): new def, to look for @set codequotebacktick.
1184 (\lquoteexpand, \quoteexpand): new defs.
1185 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
1186 (\code): must use new \...Char values, since now ` is active.
1188 2006-08-26 Karl Berry <karl@gnu.org>
1189 * build-aux/texinfo.tex (\textdegree): New command.
1191 2006-08-12 Karl Berry <karl@gnu.org>
1192 * build-aux/texinfo.tex (error \box0): smaller font.
1194 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1196 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
1198 2006-10-13 Stepan Kasal <kasal@ucw.cz>
1200 * doc/autoconf.texi (Autoheader Macros): Warn that the text
1201 added to the template can get mangled.
1203 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1205 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
1206 include the default headers, and redefine obstack_chunk_alloc
1207 and obstack_chunk_free. Fixes false failure with glibc.
1209 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
1211 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
1212 for backward compatibility with Libtool 1.5.22. Problem reported
1215 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1217 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
1219 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
1221 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
1223 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
1224 the NonStop platform.
1225 * doc/autoconf.texi (Posix Variants): Likewise.
1226 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
1228 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
1229 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
1230 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
1231 Use a better substitute, by inspecting the output of "ls"
1232 rather than just using ":".
1233 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
1234 rather than AS_EXECUTABLE_P, since we needn't worry about
1235 non-regular files here.
1237 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
1238 due to configuration hassles with this. See Tonya Underwood's report
1239 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
1240 * doc/autoconf.texi (Special Shell Variables): Likewise.
1242 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
1243 Stepan Kasal <kasal@ucw.cz>
1245 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
1246 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
1248 2006-10-11 Stepan Kasal <kasal@ucw.cz>
1250 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
1251 initialization which is not inherited through the environment
1252 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
1253 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
1255 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
1257 * doc/autoconf.texi (Limitations of Usual Tools): Describe
1258 problems with mkdir -p -m.
1260 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
1262 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
1263 comment about ac_cpp_err; it was incorrect, and anyway
1264 ac_cpp_err is being removed below.
1265 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
1266 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
1267 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
1269 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
1270 with werror_flag and conftest.err and so forth. This is more
1271 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
1272 and anyway the user shouldn't normally want to see this gorp logged.
1273 Problem reported by Ralf Wildenhues.
1274 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
1275 empty, not 'no', since the rest of the code uses 'test -z'.
1277 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
1279 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
1280 Use a single call to AC_DO_TOKENS rather than multiple, for
1282 (_AC_LINK_IFELSE): Test that resulting file is executable.
1283 Problem reported by mwoehlke in
1284 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
1286 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
1287 than creating a file to use with test -x; this is much faster.
1289 2006-10-02 Bruno Haible <bruno@clisp.org>
1291 * lib/autom4te.in (Automake-preselections): Add
1292 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
1294 2006-09-27 Stepan Kasal <kasal@ucw.cz>
1296 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
1297 standard error, `experr' should be used, not `expout'.
1299 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
1301 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
1302 fseeko testing program twice; just use the earlier result.
1303 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1304 Set cache var to 'unknown' (not 'no') if leaving the macro unset
1305 still doesn't let the program compile.
1306 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
1309 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
1310 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
1311 include it, without including anything else.
1312 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
1314 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
1316 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1318 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
1319 `error.h', and include it, for a `error_at_line' prototype.
1320 Use a nonempty format string in the link test.
1321 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
1322 for a declaration of wait3.
1324 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
1326 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
1327 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
1328 can apply to constants too, and that it checks for macro defns.
1329 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
1330 and simply cast the identifier to void. This handles structure
1331 values. Problem reported by Ralf Wildenhues.
1332 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
1334 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1336 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
1337 structure, and function symbols.
1339 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1341 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
1344 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
1346 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
1348 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1350 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
1351 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1353 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
1354 warnings (uninitialized value).
1355 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
1357 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
1359 (AC_STRUCT_TM): Likewise, avoid unused variables.
1361 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1363 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
1364 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
1365 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
1366 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
1367 Report by Olly Betts.
1369 2006-09-19 Eric Blake <ebb9@byu.net>
1371 * m4/m4.m4: Change copyright.
1372 * configure: Regenerate.
1373 * Makefile.in: Likewise.
1374 * bin/Makefile.in: Likewise.
1375 * doc/Makefile.in: Likewise.
1376 * lib/Makefile.in: Likewise.
1377 * lib/Autom4te/Makefile.in: Likewise.
1378 * lib/autoconf/Makefile.in: Likewise.
1379 * lib/autoscan/Makefile.in: Likewise.
1380 * lib/autotest/Makefile.in: Likewise.
1381 * lib/emacs/Makefile.in: Likewise.
1382 * lib/m4sugar/Makefile.in: Likewise.
1383 * man/Makefile.in: Likewise.
1384 * tests/Makefile.in: Likewise.
1386 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
1387 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
1388 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
1389 --error-output, to avoid warnings with M4 2.0.
1391 2006-09-19 Stepan Kasal <kasal@ucw.cz>
1393 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
1394 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
1395 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
1397 2006-09-15 Stepan Kasal <kasal@ucw.cz>
1399 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
1400 expansion of AC_CHECK_FUNCS.
1402 2006-09-14 Stepan Kasal <kasal@ucw.cz>
1404 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
1405 mistaken comment: the path has to be relative; do not use
1406 the path at runtime.
1408 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1410 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
1411 argument to `--prefix' for sub-configure scripts.
1412 Pass `--silent' to sub-configure scripts.
1413 * tests/torture.at (Configuring subdirectories): Add tests
1415 * doc/autoconf.texi (Setting Output Variables): Fix example to
1416 not show `--silent' being passed to a `configure' re-run.
1418 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
1420 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
1421 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
1422 for the existence of the directory at configure-time. That's
1423 too late, anyway. Problem reported by Stefan Seefeld.
1425 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
1426 7.1.4 /usr/bin/posix/sh described by Tim Rice in
1427 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
1429 2006-09-11 Stepan Kasal <kasal@ucw.cz>
1431 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
1432 works with GNU M4 1.4.3 again; make the normalized form
1433 match the current m4 message; fix the description.
1434 * test/tools.at (autom4te cache): Adapt to the change.
1436 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
1438 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
1439 to catch glibc bug 2821
1440 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
1442 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
1443 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
1444 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
1447 2006-09-08 Stepan Kasal <kasal@ucw.cz>
1449 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
1451 (Autoconf): ... here.
1452 (Autoscan-preselections): Delete.
1454 2006-09-07 Stepan Kasal <kasal@ucw.cz>
1456 * lib/autom4te.in (Automake-preselections): Preselect
1459 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
1461 * doc/autoconf.texi (Preset Output Variables): srcdir and
1462 top_srcdir are not necessarily relative. Problem reported
1465 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1467 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
1468 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
1469 accept files with extension `.f'. For consistency, also prefer
1471 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
1474 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1476 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
1477 of ERLANG_LIB_VER_* variables.
1478 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
1481 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
1482 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1484 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
1485 bugs of Bash 2.01 and 2.05a.
1486 (Fortran Compiler): Document that AC_PROG_CC should be called
1487 before AC_PROG_FC, due to a bug in Autoconf.
1489 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
1491 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
1492 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
1493 except the first two arguments are reversed.
1494 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
1495 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
1496 caches nor outputs a diagnostic. Suggested by Bruno Haible.
1497 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
1498 equivalent to the old AC_COMPUTE_INT.
1499 (AC_COMPUTE_INT): No longer caches or reports. New signature.
1500 All uses changed to AC_CACHE_CHECK_INT.
1501 * tests/base.at (AC_CACHE_CHECK_INT): New test.
1502 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
1504 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
1506 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
1507 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
1508 programs should use their Gnulib counterparts.
1509 * doc/autoconf.texi (Particular Functions): Likewise.
1510 (Macro Names, testsuite Invocation): Replace uses of these
1511 obsolete macros with uses of non-obsolete macros.
1513 2006-08-29 Eric Blake <ebb9@byu.net>
1515 * configure.ac (AC_INIT): Bump to 2.60b.
1518 2006-08-28 Eric Blake <ebb9@byu.net>
1520 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
1521 mistakenly swapped on 2006-08-15.
1523 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
1525 * NEWS: Version 2.60a.
1527 2006-08-25 Stepan Kasal <kasal@ucw.cz>
1529 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
1530 file created by the PGI compiler.
1532 2006-08-25 Noah Misch <noah@cs.caltech.edu>
1534 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
1537 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
1539 Fix Lex library problem reported to us by Julio Garvia.
1540 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
1541 for the default, which the user can override.
1542 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
1544 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
1545 didn't work if some values were cached but not others. Test for
1546 broken lex libraries like native ia64-hp-hpux11.22; see
1547 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
1548 work around the problem by preferring an empty LEXLIB to -lfl or
1549 -ll. Let the user set LEXLIB='' to indicate no library needed.
1551 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
1553 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1555 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
1557 Rework to use more-modern build style.
1558 Many files are renamed; all uses of their names were changed.
1559 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
1560 * .x-sc_useless_cpp_parens: New file.
1561 * build-aux/config.guess: Renamed from config/config.guess. Update.
1562 * build-aux/config.sub: Renamed from config/config.sub. Update.
1563 * build-aux/elisp-comp: Renamed from config/elisp-comp.
1564 * build-aux/install-sh: Renamed from config/install-sh. Update.
1565 * build-aux/mdate-sh: Renamed from config/mdate-sh.
1566 * build-aux/missing: Renamed from config/missing.
1567 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
1568 * build-aux/vc-list-files: Renamed from config/vc-list-files.
1569 * config/Makefile.am: Removed.
1570 * config/mkinstalldirs: Removed.
1571 * config/move-if-change: Removed.
1572 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
1573 * Makefile.am (SUBDIRS): Remove config.
1574 (ACLOCAL_AMFLAGS): Include from m4, not config.
1575 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
1576 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
1577 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
1578 Fail if there's an error.
1579 * Makefile.cfg (move_if_change): Remove.
1580 (wget_files): Remove.
1581 (cvs_executable_files): New macro.
1582 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
1583 (executable-update): Use $(cvs_executable_files).
1584 (local-checks-to-skip): Remove.
1585 * Makefile.maint: Merge from coreutils, plus add our own changes
1586 (gzip_rsyncable): New macro.
1588 (CVS_LIST): Use build-aux/vc-list-files.
1589 (VERSION_REGEXP): New macro.
1590 (local-checks-available): Add patch-check, $(syntax-check-rules),
1592 (syntax-check-rules): Compute dynamically.
1593 (sc_cast_of_x_alloc_return_value): Work even if no source files.
1594 (sc_cast_of_alloca_return_value): Likewise.
1595 (sc_prohibit_atoi_atof): Simplify regexp.
1596 (sc_no_if_have_config_h, sc_require_config_h):
1597 (sc_prohibit_assert_without_use,
1598 (sc_obsolete_symbols): Check for O_NDELAY.
1599 (sc_texi_notab): Remove.
1600 (sc-changelog): Don't make an exception for '----' lines.
1601 (.re-list): Remove, so we don't have a junk file behind.
1602 (sc_system_h_headers): Remove the need for .re-list.
1603 (sc_the_the): New rule.
1604 (sc_tight_scope): Simplify.
1605 (sc_trailing_blank): Renamed from sc_trailing_space.
1606 (longopt_re): New macro.
1607 (sc_two_space_separator_in_usage): New rule.
1608 (sc_unmarked_diagnostics): Look at all files under CVS.
1609 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
1610 (news-date-check, changelog-check): Version is OK.
1611 (po-check): Look for lib files even if not in CVS.
1612 (copyright-check): Use $() not ``.
1613 (maintainer-distcheck): Do not depend on changelog-check.
1614 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
1615 Also check for -Wpointer-arith.
1616 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
1617 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
1619 (announcement): Add --gpg-key-id arg.
1621 (move_if_change): Just use mv.
1622 (local_updates: Remove wget-update, po-update.
1623 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
1624 (config.guess-url_prefix, config.sub-url_prefix): Remove.
1625 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
1626 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
1627 ($(get-targets)): Remove.
1628 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
1629 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
1630 (cvs-update): Get from gnulib.
1631 (emut_upload_commands): gnupload is in build-aux now.
1632 (alpha beta major): Add changelog-check. Check version.
1633 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
1634 (AC_CONFIG_FILES): Remove.
1635 * bin/autoconf.as: Add spaces to avoid distcheck warning.
1636 * config/announce-gen: Sync from coreutils.
1637 * doc/make-stds.texi: Sync from gnulib.
1638 * doc/standards.texi: Likewise.
1639 * man/Makefile.am: Adjust for config -> build-aux renaming.
1640 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
1641 * tests/local.at: Adjust from config -> build-aux renaming.
1642 * tests/tools.at: Likewise.
1643 * tests/torture.at: Likewise.
1645 * NEWS: The C99 check now tests for vararg macros and 64-bit
1647 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
1648 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
1649 64-bit preprocessor ints. Check for static initialization of
1650 long long. Remove unnecessary casts.
1652 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1654 * doc/autoconf.texi (Particular Programs): Mention that
1655 @INSTALL@ and @MKDIR_P@ may vary for different output files.
1656 Reported by Alexandre Duret-Lutz.
1658 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
1660 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
1661 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
1663 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
1665 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
1667 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
1668 pacify insanely picky compilers. Problem reported by Eric Blake.
1670 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
1671 longer supported by Sun.
1673 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
1675 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
1676 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
1677 -Wundef -Werror". Problem reported by David Fang in
1678 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
1679 * doc/autoconf.texi (Header Templates, Default Includes):
1680 (Particular Functions, Generic Functions, Header Portability):
1681 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
1682 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
1683 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
1684 Prefer #ifdef to #if.
1685 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
1686 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
1687 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1688 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
1690 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1691 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
1692 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
1693 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1694 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
1695 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
1698 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
1700 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
1701 problems with arg script text that doesn't end in newline, and
1702 with '-e a...'. Problems reported by Ralf Wildenhues.
1704 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
1706 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
1707 check for libXt by a check for libX11.
1709 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1711 * doc/autoconf.texi (config.status Invocation): Adjust according
1714 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1716 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
1717 --help' should mention that `--version' outputs configuration
1718 settings. Report by Bruno Haible.
1720 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
1722 Fix test suite failures reported by Pierre in
1723 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
1724 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
1725 the compiler created a file "b.out" when it didn't create anything
1727 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
1728 Discard stderr too, when invoking the test script.
1730 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
1732 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
1733 in the restoring of the werror flag.
1735 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
1737 * doc/autoconf.texi (Volatile Objects): Be even a little
1738 less skeptical about "volatile", after discussion with
1739 Bruno Haible on bug-gnulib.
1740 (Limitations of Usual Tools): Warn about sed stripping
1741 leading white space from text. From Bruno Haible.
1743 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
1745 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
1746 compiler complains about it, even if things works after the
1747 complaint. Problem reported by Peter O'Gorman.
1749 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
1750 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
1751 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
1753 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
1755 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
1756 after -R regardless of host. Patrick Welche reports that this
1757 fixes things on NetBSD 3.99.
1759 * NEWS: Recommend M4 1.4.5.
1761 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1762 * tests/tools.at (autom4te cache): Update wording of diagnostic
1765 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
1767 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
1768 under AC_C_VOLATILE.
1769 (Volatile Objects): Be a little less skeptical about what
1770 "volatile" means. Derived from thoughts by Ben Pfaff in
1771 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
1773 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1775 * doc/autoconf.texi: Fix some typos.
1777 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
1779 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1780 more globally, since the 2006-06-30 patch didn't suffice. Problem
1781 reported by Keith Marshall. Also, don't bother with builddir2,
1782 since it shouldn't be needed any more.
1784 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
1786 * doc/autoconf.texi (Generic compiler characteristics):
1787 Document AC_COMPUTE_INT. Fix wrong statements on Default
1788 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
1790 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
1791 (_AC_COMPUTE_INT): Add obsoletion warnings.
1792 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
1795 * NEWS: Document change.
1797 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
1799 * doc/autoconf.texi (Volatile Objects): New section.
1801 * NEWS: Document previous change.
1803 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
1805 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1806 Require that long long int be at least 64 bits wide. C99 requires
1807 this and enough programs depend on it so we should check for it.
1808 Bruno Haible reports in
1809 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
1810 that long long int is 32 bits wide with some nonstandard compilers.
1811 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
1813 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
1815 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1816 to a nonexistent file, so that we don't have to worry about
1817 a local site configuration that doesn't use /usr/local.
1818 Problem reported by Keith Marshall in
1819 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
1821 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
1823 * doc/autoconf.texi: Be more consistent about using @acronym with
1824 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
1825 quite right (it talked about "OSF/Tru64", even though the
1826 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
1827 and it even mentioned "OSF 4"!) and at this point there's little
1828 reason to talk about OSF any more, since it died in 1994.
1829 (Specific Compiler Characteristics): Simplify example of
1830 negative-size array.
1831 (File Descriptors): Reorder to make the text flow better.
1832 Remove joke about "appreciate the various levels"; I didn't get it.
1833 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
1834 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
1835 (File Descriptors, Limitations of Usual Tools):
1836 Tone down the advice against renaming or removing open files.
1837 (Limitations of Usual Tools): Add a new section, on 'rm'.
1839 2006-06-26 Stepan Kasal <kasal@ucw.cz>
1841 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
1842 -lXt in LIBS, idea from Karsten Hopp; this was due since
1845 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
1846 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1847 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1848 (which belong to Xt, not X itself). See Debian bug 327655.
1850 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1852 * configure.ac (AC_INIT): Bump to 2.60a.
1855 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1859 * configure.ac, NEWS: Update.
1861 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1863 * config/texinfo.tex: Sync from upstream.
1865 * bin/autom4te.in (handle_traces): Transform the `@S|@'
1866 quadrigraph correctly in traces.
1868 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
1871 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
1872 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
1874 * doc/autoconf.texi (Changed Directory Variables): New node,
1875 to document the whole `datarootdir' business a bit better.
1877 * tests/torture.at (datarootdir workaround): Extend test.
1878 Prompted by report by Alexandre Julliard.
1880 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
1882 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
1883 when using default mode of IBM C 6 for AIX. Problem and two-line
1884 fix reported by Larry Jones.
1886 2006-06-22 Alexandre Julliard <julliard@winehq.org>
1888 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
1889 about literal '${datarootdir}' if a definition is found in the
1892 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
1894 * NEWS: Use "M4" rather than "m4" when appropriate.
1895 Problem reported by Eric Blake.
1896 * doc/autoconf.texi: Likewise.
1897 Use @acronym around BSD, GCC, and GNU when appropriate.
1898 (Why GNU M4): Renamed from "Why GNU m4".
1899 (Redefined M4 Macros): Mention that Posix
1900 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
1901 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
1904 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1906 * bin/autom4te.in (handle_output): Do not forbid the empty
1908 * tests/tools.at (autoconf: the empty token): New test.
1910 2006-06-20 Stepan Kasal <kasal@ucw.cz>
1912 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
1913 calls, so that we do not care whether they are LIFO or FIFO;
1914 in the m4_wrap, do not check which diversion is the topmost
1915 one, just check that the stack is balanced at the end.
1916 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
1917 base diversion forever--pop the previous diversion before
1918 opening the new one; consequently, remove the m4_wrap call.
1919 * lib/autotest/general.m4 (AT_INIT): Likewise.
1920 * tests/m4sugar.at: Do not use
1921 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
1923 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
1924 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1926 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
1927 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
1928 Rework example of m4wrap token-pasting trouble so that it doesn't
1929 care whether it's LIFO or FIFO.
1930 Fix some "contrary to"s that are awkward in English.
1932 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1934 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
1935 to `yes' instead of `int$1_t' if the type is found, for more
1936 consistent configure output (where $1 is the number of bits).
1937 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
1938 Suggested by Bruno Haible.
1940 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
1941 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
1942 with system headers. Report by Bruno Haible.
1944 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1946 * config/config.guess, config/config.sub: Sync from upstream.
1948 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
1949 in order to avoid picking up an older installed frozen m4sh.m4f.
1950 Besides an outdated shell startup, this could have been created
1951 by an earlier M4 version with incompatible frozen file format.
1953 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
1955 * README: Recommend m4 1.4.4 instead of 1.4.3..
1956 * doc/autoconf.texi: Likewise.
1957 (Special Chars in Names): Say that $(.FOO) is portable, as
1958 suggested by Stepan Kasal.
1959 (Installation Directory Variables, Build Directories):
1960 (Automatic Remaking, Subdirectories, Fortran Compiler):
1961 (Making testsuite Scripts, Defining Directories):
1962 Quote variable usages better.
1963 (Making testsuite Scripts): Add clean-local rule to makefile
1964 snippet, by Eric Blake.
1965 (Installation Directory Variables): Fix table item font.
1966 Reword slightly to clarify. Generalize advice about
1967 not using special characters to include all file-related
1968 vars, not just VPATH.
1969 (Special Chars in Variables): Warn about special characters in
1971 (Assignments): Clarify default-value example as suggested by
1973 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
1974 (Special Shell Variables): Note leading ./ or ../, as suggested
1976 (Limitations of Builtins): Under cd, warn about CDPATH.
1977 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
1980 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1982 * doc/autoconf.texi (Configuration Actions): Remove duplicate
1983 `@var', for texi2html.
1984 (Systemology): Some more word wrapping, for DVI output.
1985 (autom4te Invocation): The short option for `--melt' is `-M',
1988 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
1990 * doc/autoconf.texi: More formatting and English tweaks,
1991 many suggested by Ralf Wildenhues.
1992 Reword to avoid "@code{...}'s" and the like, since it's ugly
1993 with Emacs info mode. discontents -> woes.
1994 Put a few "will"s back. time stamp -> timestamp.
1995 side-effect -> side effect.
1997 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
1999 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
2000 Warn about $@ not persisting. Problem reported by Julien Danjou in
2001 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
2002 (Special Chars in Names): Renamed from Leading _ in Macro Names.
2003 Mention other special chars, too.
2005 2006-06-14 Eric Blake <ebb9@byu.net>
2007 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
2009 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
2011 * doc/autoconf.texi: Some systematic minor improvements, as
2012 follows. Use "makefile" when talking about makefiles
2013 generally (which might be named "makefile" or "Makefile" or even
2014 "foo.mk"), "Makefile" when talking about a specific makefile
2015 called "Makefile". This unclutters the text from weird quotes
2016 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
2017 values" rather than "@var{foo}s" and similar constructs containing
2018 "}s". Use "Make rules" rather than "Makefile rules". Minor
2019 English-language improvements. Change the prefix "sub-" to "sub"
2021 Put blank lines around examples more consistently.
2022 Avoid "rather" and "very" as intensifiers.
2023 Avoid "will" as an auxiliary.
2024 (Limitations of Make): Split this node into....
2025 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
2026 (Leading _ in Macro Names, Backslash-Newline-Newline):
2027 (Backslash-Newline Comments, Long Lines in Makefiles):
2028 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
2029 (obj/ and Make, make -k Status, VPATH and Make):
2030 (VPATH and Double-colon, $< in Explicit Rules):
2031 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
2032 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
2033 New nodes, resulting from splitup of Limitations of Make.
2034 All cross-references changed. Raise the top node from
2035 a section to a chapter, and all subnodes accordingly.
2036 Redo the introductory wording to match the new organization.
2037 (Installation Directory Variables): Use an example that is
2038 closer to what Autoconf actually does. Mention that VPATH's
2039 value should not contain metacharacters or white space.
2040 (Fortran Compiler): Fix a VPATH bug in an example.
2041 (Leading _ in Macro Names): Mention that this problem is no longer
2042 of practical concern.
2043 (VPATH and Make): Reword the advice to make it clearer
2044 that Autoconf and Automake support VPATH in non-GNU make, but
2045 many packages have bugs in this area.
2046 ($< in Explicit Rules): Refer to Build Directories rather
2047 than using a (non-VPATH-safe) example.
2048 (Automatic Rule Rewriting): Mention the sort of disaster that
2049 can ensue with Solaris-style rule rewriting with VPATH.
2051 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2053 * doc/install.texi (Compilers and Options): Weaken the
2054 suggestion to use GNU make for VPATH builds.
2056 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
2057 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
2059 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
2060 in regular expression.
2062 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2064 * doc/autoconf.texi (Installation Directory Variables):
2065 Drop extra @samp from `@table @samp' item.
2066 (Limitations of Usual Tools): Comment fix.
2067 Do not nest @samp just to point to other table items.
2068 (Writing testsuite.at) <AT_CHECK>: The second argument to
2069 `@dvar' is already @samp'ed.
2070 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
2071 do not use @var in the second argument.
2073 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
2075 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
2076 $as_shell.exe too. Problem reported by Andreas Buening in
2077 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
2079 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2081 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
2082 `unused variable' compiler warning, for `-Wall -Werror'.
2083 Reported by Jaap Haitsma in
2084 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
2086 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
2088 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
2089 case the compiler dumps core. Problem reported for
2090 OpenServer 5.0.7 by Tim Rice in
2091 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
2092 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2095 2006-06-06 Tim Rice <tim@multitalents.net>.
2097 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
2098 "ERROR" only shows up in "make check" output if there is an
2101 2006-06-06 Eric Blake <ebb9@byu.net>
2103 * tests/tools.at (automatically allowed tokens): Fix typo.
2105 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
2107 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
2109 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
2110 typically overflows on x86 CPUs, even though the C standard
2113 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2115 * configure.ac (AC_INIT): Bump to 2.59e.
2118 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2122 * config/texinfo.tex: Sync from upstream.
2124 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
2125 seen, invoke libtoolize with `--ltdl' argument.
2126 * lib/autom4te.in (Autoreconf-preselections): Adjust.
2128 Suggested by Eric Blake.
2130 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
2132 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
2133 reported by Ralf Wildenhues.
2134 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
2136 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2140 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
2142 * doc/autoconf.texi: Modernize some of the references to Solaris.
2144 2006-06-05 Stepan Kasal <kasal@ucw.cz>
2146 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
2147 message issued by AC_REQUIRE.
2148 * tests/m4sugar.at: Check m4_require's error message.
2149 * tests/base.at: Check AC_REQUIRE's error message.
2150 * tests/local.at (AT_CHECK_M4): New macro, almost identical
2152 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
2154 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
2155 `expout' as the last parameter.
2156 * tests/tools.at: Adapt to the above change.
2158 2006-06-04 Stepan Kasal <kasal@ucw.cz>
2160 * doc/autoconf.texi (Limitations of Usual Tools): Correct
2161 information about race-free implementations of mkdir.
2163 2006-06-04 Eric Blake <ebb9@byu.net>
2165 * bin/autoreconf.in (help): Document M4 environment variable.
2166 * bin/autoconf.as (Usage): Likewise.
2167 * bin/autom4te.in (help): Likewise.
2168 * doc/autoconf.texi (autom4te Invocation): Likewise.
2170 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
2172 * NEWS: GNU make now recommended for VPATH builds.
2173 Mention that some macros are now documented to be obsolescent.
2174 * doc/autoconf.texi:
2175 Prefer "current" to "modern" to describe
2176 currently-used (albeit perhaps old-fashioned) hosts.
2177 Mention which ancient features no longer need to be worried about.
2178 setgid -> set-group-ID
2179 setuid -> set-user-ID (these are the Posix terms)
2180 Fix some misuses of "only".
2181 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
2182 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
2183 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
2184 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
2185 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
2186 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
2187 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
2188 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
2189 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
2190 Mention that these macros are obsolescent.
2191 (Installation Directory Variables): shall -> should
2192 (File Descriptors): Mention that 0, 1, 2 might get reopened.
2193 Mention that it's now safe to use 3 and 4.
2194 (Limitations of Usual Tools): cp -r is now specified by Posix.
2195 Omit longwinded and obsolescent discussion of cp -f.
2196 Modernize discussion of expr, ls.
2197 (Limitations of Make): Modernize discussion of VPATH builds.
2198 Mention $? as a workaround in some cases.
2199 * doc/install.texi (Basic Installation):
2200 Mention "./configure; make; make install" first. Be more
2201 specific about why this file is generic. Remove unnecessary
2202 parens. Remove misleading "only". Remove obsolete advice
2203 about csh. Don't say "configure" takes awhile; say it
2204 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
2205 and CC=c99 rather than CC=c89, as these are blessed by current
2206 Posix. Recommend GNU make if doing a VPATH build.
2208 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
2210 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
2211 examples involving shell prompts.
2213 2006-06-02 Stepan Kasal <kasal@ucw.cz>
2214 and Paul Eggert <eggert@cs.ucla.edu>
2216 * doc/autoconf.texi (Here-Documents): Add details about the
2217 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
2218 use "here-documents" instead of "here documents".
2220 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2222 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
2224 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
2226 * doc/autoconf.texi (File System Conventions): Warn about ":"
2227 anywhere in directory names.
2229 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
2231 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
2232 about quoting the case statement, just in case.
2233 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
2234 was fixed in ksh93g; reported by Ralf Wildenhues.
2236 2006-05-31 Stepan Kasal <kasal@ucw.cz>
2238 * doc/autoconf.texi (System Services): Do not document
2239 overriding EXEEXT via ac_cv_exeext=ext.
2240 (Particular Programs) <AC_PROG_MKDIR_P>:
2241 Document that ${MKDIR_P} understands --.
2242 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
2245 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2247 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
2248 argument with leading hyphen. Problem reported by Paul Eggert.
2250 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
2252 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
2253 about quoting ac_try: quote all of it, if any of it seems suspicious.
2254 This means we don't have to worry about ${ or sed any more.
2255 Also, double-quote the case statement, to work around misuses via
2256 underquoting as reported by Ralf Wildenhues in
2257 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
2258 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
2259 undocumented and dangerous macro.
2260 Problem reported by Ralf Wildenhues in
2261 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
2263 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2265 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
2266 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
2267 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
2269 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
2271 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
2272 since evidently some packages rely on the old, broken behavior.
2273 Problem reported by Ralf Wildenhues in
2274 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
2275 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
2276 pre-2006-05-26 definitions, but leave in the comments that
2277 these macros are dangerous and should not be used.
2278 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
2279 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
2280 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
2281 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
2282 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
2284 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
2286 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
2287 the use of 'tr', since this is our only use of 'tr'.
2289 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2290 and Paul Eggert <eggert@cs.ucla.edu>
2292 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
2293 Don't assume 'grep' works on long lines, since AIX grep doesn't.
2295 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2297 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
2298 the output file in the `${datarootdir}' test.
2300 2005-05-28 Stepan Kasal <kasal@ucw.cz>
2301 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2303 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
2304 mention of `datarootdir' in the input file(s), but literal
2305 `${datarootdir}' in the output file, and we haven't warned yet,
2306 then warn as well: the user may have (erroneously) used
2307 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
2308 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
2309 * tests/torture.at (datarootdir workaround): Extend this test.
2312 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2313 and Paul Eggert <eggert@cs.ucla.edu>
2315 * doc/autoconf.texi (autoheader Invocation): The first argument to
2316 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
2317 alternatives and clear up the language a bit.
2319 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
2321 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
2322 ac_config_guess, ac_config_sub, ac_configure.
2323 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2324 Fix typo that prevented an unnecessary space from being removed.
2325 Problems reported by Ralf Wildenhues in:
2326 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
2328 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
2330 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
2331 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
2332 Don't use the term "thread-safe" to talk about mkdir race
2333 conditions, since the problem is more a process than a thread
2334 issue. Problem reported by Stepan Kasal in:
2335 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
2336 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
2337 the test for 'install' more closely. Look at MKDIR_P first.
2338 Look in the PATH, and at /opt/sfw/bin.
2339 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
2340 Don't bother to try mkdir -p, since we already check mkdir --version;
2341 just look at the version number. (There's no easy way to check
2342 for race-free implementations.)
2343 * tests/tools.at (autoconf: subdirectories): Adjust to above
2344 changes, since MKDIR_P now might end in "/mkdir -p".
2346 * doc/autoconf.texi (autoheader Invocation): Mention that the
2347 first arg of AC_DEFINE_UNQUOTED must be a literal.
2348 Problem reported by Ben Pfaff in
2349 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
2351 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
2352 * doc/autoconf.texi (Special Chars in Variables): New section.
2353 (Preset Output Variables): Warn about special chars in CPPFLAGS.
2354 (Installation Directory Variables): Quote $(datadir) better.
2355 (Limitations of Builtins): Describe some of eval's trickiness.
2357 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
2358 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
2359 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
2360 in front of every arg, not just trailing args. Quote apostrophes.
2361 (_AC_EVAL_ECHO): New macro.
2362 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
2363 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
2365 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
2366 exposed by quoting of eval argument. Put the command on line line
2368 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
2369 (_AC_PATH_X, AC_PATH_X): Quote more safely.
2370 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
2371 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
2372 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
2373 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
2374 Use eval more safely.
2375 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
2376 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
2378 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
2379 lines, exposed by quoting of eval argument.
2381 2006-05-26 Stepan Kasal <kasal@ucw.cz>
2382 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2384 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
2385 initialization of `ac_cv_exeext', do not override it if it was
2386 already set, unless it was set to `no', for compatibility with
2387 Autoconf-2.13, and comment this.
2388 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
2389 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
2390 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
2391 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
2392 Document that this test may be overridden by setting
2395 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2397 Revert these two patches:
2399 2006-04-06 Eric Blake <ebb9@byu.net>
2400 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
2401 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
2404 2006-04-01 Stepan Kasal <kasal@ucw.cz>
2405 Clean up _AC_COMPILER_EXEEXT* macros.
2406 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
2407 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
2408 ac_file to the name of the default output file and call
2409 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
2410 initial `rm' of the candidate files...
2411 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
2412 the same list in subsequent `rm' calls, and for the temporary
2413 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
2414 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
2415 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
2416 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
2417 no longer needed) by libtool. Make it a cache check.
2418 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
2419 copied here by mistake.
2420 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
2421 _AC_COMPILER_EXEEXT.
2422 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
2423 _AC_COMPILER_OBJEXT directly.
2424 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2426 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2428 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
2429 Fix description of how the buggy `sed' works.
2431 2006-05-25 Noah Misch <noah@cs.caltech.edu>
2435 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
2436 ENOLCK. Only mention `make -j' when applicable. Only raise
2437 fatal errors when `make -j' is involved. Improve error message.
2439 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2441 * doc/autoconf.texi (Here-Documents): We now know more about
2442 the variable expansion in here documents bug.
2443 Thanks to Tim Rice and Stepan Kasal.
2445 * doc/autoconf.texi (Making testsuite Scripts): Add an example
2446 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
2448 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2450 * tests/autotest.at (Multiline command from M4 expansion):
2451 No failure to be expected if the shell quotes newlines in
2452 commands in the `set -x' output. Report by Tim Rice.
2455 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
2457 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
2458 expansion in the here-documents used by config.status, as that
2459 runs afoul of the Korn shell version M-12/28/93d bug described in
2460 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
2461 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
2462 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
2464 2006-05-23 Jim Meyering <jim@meyering.net>
2466 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
2467 Fix typo introduced with 2006-04-02 change. It reversed the sense
2470 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
2472 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
2473 ac_dB slightly, to save bytes in the script.
2474 Max out at 50 lines, rather than 96; this is more likely
2475 (though not guaranteed) to avoid obscure 'sed' failures.
2477 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2479 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
2480 `tr -d -' as bad option argument. Work around this by deleting
2481 an unrelated character.
2482 Report by Tim Rice <tim@multitalents.net>.
2484 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
2485 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
2486 Stepan Kasal <kasal@ucw.cz>
2488 * doc/autoconf.texi (Particular Programs): Do not promise that
2489 we always prefer the GNU version of the program, and that we
2490 search according to PATH; both rules can have exceptions.
2491 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
2492 AC_PROG_SED. Move descriptions of limitations
2493 to the Limitations of Usual Tools section.
2494 (Limitations of Usual Tools) <sed>: Mention script length
2495 limitations with Solaris /usr/ucb/sed.
2496 <grep>: Fix wording for empty alternative. Mention that -c and
2497 -l should not be combined, and that -E and -F should not be
2500 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2501 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2503 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
2504 limits in Solaris 8 /usr/ucb/sed by testing a long script.
2506 2006-05-22 Stepan Kasal <kasal@ucw.cz>
2508 * doc/autoconf.texi (Defining Symbols): Literal parameter of
2509 AC_DEFINE is now passed to m4_pattern_allow.
2510 * NEWS: Mention that; likewise for AC_SUBST.
2511 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
2512 the parameter to m4_pattern_allow.
2513 * tests/tools.at: Add a check for that.
2515 2006-05-22 Stepan Kasal <kasal@ucw.cz>
2517 * lib/autoconf/status.m4: Fix typos.
2519 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2521 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2522 only the files that this macro generates.
2524 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2526 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
2527 the HP-UX sed limitation of 99 commands, labels do not count.
2528 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
2530 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
2532 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2534 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
2535 Import the following fix from coreutils:
2537 2006-01-13 Jim Meyering <jim@meyering.net>
2539 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
2540 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
2541 not double-quote uses of that variable, to accommodate the rare
2542 case in which getmntent is available in none of the libraries
2543 checked. This happens at least on FreeBSD 5.0.
2545 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
2547 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
2548 ac_config_guess, ac_config_sub, and ac_configure, since evidently
2549 some other programs unwisely rely on these undocumented vars.
2550 But put in warning comments about them.
2551 Problem reported by Ralf Wildenhues in
2552 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
2553 * NEWS: Document that these variables are intended to go away.
2555 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2557 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
2558 and set the language to C++ (analogous to the equivalent Fortran
2561 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
2562 * doc/autoconf.texi (C++ Compiler): Document it.
2563 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
2566 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
2568 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
2569 that caused config.status to generate 100-command sed scripts; the
2570 portable limit is 99.
2572 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2574 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
2575 variable `ac_d' instead of `d' to avoid infringing namespace.
2576 Report by Ralf Menzel.
2578 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
2580 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
2581 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
2582 * tests/tools.at (autoconf: subdirectories): New test, taken from
2583 the corresponding problem report by Ralf Wildenhues in:
2584 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
2586 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
2587 Quote some uses of shell variables if they might suffer unexpected
2588 globbing. This doesn't fix all instances of quoting problems that
2589 I found, just the easy ones that look safe.
2590 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
2591 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
2592 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
2593 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
2594 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
2595 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2596 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
2598 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
2599 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
2601 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2603 * bin/autoreconf.in ($help): Reword according to the manual.
2604 Suggested by Olly Betts.
2606 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
2607 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2609 * bin/autoreconf.in: Pass the directory argument to
2610 `require_configure_ac'. Fix comment.
2611 * tests/torture.at (Configuring subdirectories): Expose this.
2612 Reported by Olly Betts.
2614 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2616 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
2617 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
2618 Automake as follows:
2620 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
2621 `$configure_in' instead of `configure.in', to preserve
2622 directory component.
2624 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2626 * config/config.guess, config/config.sub, config/texinfo.tex,
2627 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
2629 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
2631 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
2632 test for C99 conformance; (bool) 0.5 is an integer constant
2633 expression, but (bool) -0.5 is not. Problem reported by Fedor
2634 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
2636 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
2638 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
2639 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
2640 Warn about obsolete install-sh files. Remove stray sentence
2641 fragment and fix cross reference.
2642 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
2643 install -d; this undoes the 2006-05-10 change.
2644 (MKDIR_P): Mark with AN_MAKEVAR.
2645 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
2646 that we don't require $INSTALL to be thread-safe. Move comments
2647 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
2648 of AC_PROG_INSTALL. Output a message saying that we're checking
2649 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
2650 MKDIR_P instead of AC_SUBST.
2651 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
2652 Special magic for MKDIR_P, too.
2653 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
2655 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
2657 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
2659 Sync from Automake, as follows:
2661 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2662 * config/install-sh: Initialize IFS, so field splitting isn't
2664 * config/mkinstalldirs: Likewise.
2665 * config/missing: Remove superfluous quotes. Replace all uses of
2666 `[' by `test', for consistency, and for..
2667 * config/missing (sed_minuso, sed_output): New variables.
2668 (autom4te, help2man, makeinfo): Use them. Unifies detection of
2669 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
2670 Fixes `missing' to detect `--output' for help2man. Fixes
2671 PR automake/483. Report by Dennis J. Linse.
2672 (autom4te): Document in `missing --help'.
2674 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
2676 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
2677 * config/install-sh: Don't use 'path' to talk about file names,
2678 as per GNU coding standards. Close a race condition reported by Ralf
2679 Wildenhues and Stepan Kasal. There is still a race condition
2680 on hosts that predate Posix 1003.1-1992, but we can't help this.
2681 Don't mishandle weird characters like space on pre-Posix hosts.
2682 Invoke mkdir at most once per dir arg on pre-Posix hosts.
2683 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
2684 AC_PROG_MKDIR_P from AS_MKDIR_P.
2685 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
2686 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
2687 earlier editions are not (including Automake 1.8.3).
2688 Do not suggest mkinstalldirs for thread-safety.
2689 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
2690 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
2691 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
2692 presence of special characters and race conditions.
2693 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
2694 in Autoconf's name space.
2696 2006-05-10 Bruno Haible <bruno@clisp.org>
2697 and Paul Eggert <eggert@cs.ucla.edu>
2699 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
2700 from Automake with minor changes.
2701 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
2703 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
2705 * config/install-sh: Update to Automake CVS version, as follows:
2706 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2707 * lib/install-sh: Simplify the expr implementation of dirname.
2708 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
2709 * lib/install-sh: Handle --, and diagnose unknown options.
2711 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2713 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
2714 `./autom4te' to create `./testsuite', since the `all' target
2715 will ensure its presence, but `installcheck' should not create
2716 the uninstalled wrappers.
2718 * tests/torture.at (Unusual Automake input files): Skip if we
2719 detect automake < 1.8.
2721 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2723 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
2724 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
2725 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
2728 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2730 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
2731 munge (multiple) white space and other oddities.
2732 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
2733 single quotes in variable assignment.
2734 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
2735 and similar failures by adding multiple spaces, tabs, and other
2737 Report and different test suggested by Francesco Romani
2738 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
2740 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
2741 single quotes, we only need to search for single quotes; this
2742 both simplifies the search pattern, and makes us less
2743 susceptible to `echo' variations for arguments not containing
2745 (_AC_ARG_VAR_VALIDATE): Likewise.
2747 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2749 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
2750 `$*' and IFS concatenation issue with traditional shells and
2751 bash-2.04. Report by Seanster@Seanster.com.
2753 2006-05-03 Bruno Haible <bruno@clisp.org>
2755 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
2756 precisely which Mac OS X versions have the od problem.
2758 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
2760 * doc/autoconf.texi: Use @option systematically.
2762 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
2763 and Bruno Haible <bruno@clisp.org>
2765 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
2767 (Integer Overflow): Mention the special case of integer division
2770 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2772 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
2773 traditional shells like the Solaris one that do not use the
2774 first IFS character for assembling `$*'.
2775 Prompted by a related report from autoconf_bug@nro.ca.
2777 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
2778 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2780 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
2781 Mention more problems with the -e option.
2783 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2786 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
2788 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
2789 in URLs to improve DVI formatted output (requires texinfo 4.6).
2790 (System Services, Systemology, Shellology): Likewise.
2791 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
2794 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
2796 (Runtime): Fix macro argument names to match description:
2797 `action-if-found' -> `action-if-true' and similarly.
2798 (Obsolete Macros): Likewise.
2799 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
2800 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
2801 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
2803 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2805 * doc/autoconf.texi (Limitations of Make): Clean up markup.
2808 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
2811 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2813 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
2814 /bin/sh set unsorted output.
2815 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
2816 * tests/local.at: Likewise.
2818 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
2820 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
2821 (Integer Overflow, Null Pointers, Buffer Overruns):
2822 (Floating Point Portability, Exiting Portably): New sections.
2823 (Writing Test Programs): Fix some langauge. Recommend exiting
2824 with status 1, not merely nonzero. Clarify exit declaration.
2825 (Run Time): Move C exit status stuff to new Exiting Portably section.
2826 (Systemology): Mention Posix and levenez. Update v7 reference.
2827 (Portable Shell): Mention the Posix shell.
2829 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2831 * bin/autoconf.as (me): Replace by as_me.
2833 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
2835 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
2836 since as_me isn't set yet.
2838 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
2840 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
2841 a few minor bugs in this area.
2843 * doc/autoconf.texi (Programming in M4sh): Comment out the
2844 documentation of AS_BASENAME, for now.
2845 (Shell Substitutions): Do not use AS_DIRNAME in an example.
2846 (Limitations of Builtins) <basename>: Do not refer to
2848 * bin/autoconf.as (me): Don't use AS_BASENAME.
2849 (dir): Remove the unused variable.
2850 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
2851 AS_DETECT_REQUIRED. All uses changed.
2852 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
2854 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
2855 (AS_BASENAME): Use "basename --" to protect against leading "-".
2856 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
2857 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
2858 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
2859 (_AS_DIRNAME_PREPARE): Likewise.
2860 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
2861 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
2862 (AS_DIRNAME): Use "dirname --".
2864 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
2866 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
2867 of "run time" and "run-time" changed to "runtime", for consistency.
2868 * lib/autoconf/fortran.m4: Likewise (in comment).
2869 * lib/autoconf/functions.m4: Likewise.
2870 * lib/autoconf/general.m4: Likewise.
2871 * lib/autoconf/headers.m4: Likewise.
2873 * doc/autoconf.texi (Run Time): Document the exit status situation
2874 with more accuracy and detail.
2876 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2878 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
2879 Archive is not officially `GNU' any more. Update URL.
2880 (Defining Directories): Likewise
2881 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
2883 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2885 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
2886 newline from the `trap' code to finish `config.log'; the NetBSD
2887 /bin/sh resets the exit status after an empty command, as
2888 documented in doc/autoconf.texi.
2889 Reported by Dalibor Topic <robilad@kaffe.org>.
2891 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
2893 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
2894 Suggested by Bruno Haible.
2896 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
2898 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
2899 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
2900 Instead, just list the shells that we know work.
2901 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
2902 changed. Be more cautious about the _cv_ variable.
2903 * tests/tools.at (Syntax of the shell scripts): Check the
2904 _cv_ variable once, at first, to avoid an internal autoconf error
2905 when sh -n does not work.
2907 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2909 * lib/Autom4te/FileUtils.pm: Sync from Automake.
2911 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
2913 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
2914 use ">&-" since we're only 99.999% sure that this is portable,
2915 and since the MinGW bug is fixed in a different way.
2916 * lib/autotest/general.m4 (AT_INIT): Likewise.
2918 2006-04-16 Stepan Kasal <kasal@ucw.cz>
2920 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
2921 before opening config.log, to avoid hitting a bug on MinGW.
2923 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
2925 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
2926 AS_MESSAGE_LOG_FD before reopening it onto the log file.
2927 This works around a MinGW bug reported by Eric Paire.
2928 Make sure that all writes to the log file append to it,
2929 rather than possibly losing data.
2930 * lib/autotest/general.m4 (AT_INIT): Likewise.
2932 2006-04-14 Stepan Kasal <kasal@ucw.cz>
2934 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
2937 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2941 * configure.ac (AC_INIT): Bump to 2.59d.
2943 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2947 * Makefile.maint (news-date-check): Do not require a leading `*'
2948 before the release date in NEWS.
2950 2006-04-12 Stepan Kasal <kasal@ucw.cz>
2951 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2953 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
2954 the instantiated file do not contain the string 'datarootdir'
2955 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
2956 @mandir@, replace the reference '${datarootdir}' by the value.
2957 * tests/torture.at (datarootdir workaround): New test.
2958 * NEWS: Advertise this temporary fixup.
2959 Based on a patch by Bruno Haible, reported and analyzed by
2960 Paul Eggert and Noah Misch.
2962 2006-04-12 Eric Blake <ebb9@byu.net>
2964 * tests/autotest.at (Debugging a failed test): Fix comment.
2966 2006-04-12 Stepan Kasal <kasal@ucw.cz>
2968 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
2969 all the changes since 2006-04-07.
2971 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2973 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
2974 succeeded, but `ln -s file dir' failed, take care to remove the
2975 leftover target before the next test, to prevent its spurious
2976 failure; also make sure `ln file dir' works before selecting it.
2977 Thanks to Keith Marshall for pointing this out.
2980 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
2981 assignments in `at_debug_args', so that we put them correctly
2982 in the `run' script.
2983 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
2984 Reported by Eric Blake.
2986 2006-04-11 Eric Blake <ebb9@byu.net>
2988 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
2989 top-level tests after micro-suite has been run. Used in...
2990 (Debugging a successful test, Debugging script and environment),
2991 (Debugging a failed test): ...these new tests. The first of these
2993 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
2994 macro, split out from...
2995 (AT_INIT): ...here, so that using -d also generates a run script.
2996 Document that -d inhibits top-level logging.
2997 * doc/autoconf.texi (testsuite Invocation): Document that -d only
2998 inhibits top-level logging; debug scripts are created.
3000 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
3002 * tests/autotest.at (Empty test, Empty check): New test to check it.
3004 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
3007 2006-04-10 Stepan Kasal <kasal@ucw.cz>
3009 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
3010 the files if a problem appears. Make the empty *.at files
3011 read-only, too. Proposed by Ralf Wildenhues.
3013 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3015 * config/Makefile.am: Add comment to force updated Makefile.in.
3017 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
3018 space only patch to this file, this patch causes the Makefile.in
3019 files that include freeze.mk to be updated, and thus have a
3020 newer time stamp again, which in turn makes a pristine CVS
3021 checkout have correct time stamps.
3023 * Makefile.maint (cvs-sv): New macro, to be used..
3024 (config.guess-url_prefix, config.sub-url_prefix)
3025 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
3026 point to CVS text checkout of Gnulib files.
3027 (copyright-check): Bump current year.
3028 (announcement): Do not hard-wire `./announce-gen'.
3029 (cvs-update): Propagate failures of `cvs' and `move-if-change'
3031 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
3033 (wget_files): Update config.guess, config.sub, texinfo.tex by
3034 `wget-update', now that their URLs work again.
3036 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
3038 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
3039 Problem noted by Paul D. Smith.
3041 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3043 * doc/autoconf.texi: Remove unused words from word list.
3044 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
3045 .x-sc_trailing_space: New files.
3047 * doc/standards.texi: Sync from gnulib.
3049 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
3050 `LIBOBJDIR' as experimental.
3052 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
3053 with a target directory; it's internally implemented as `cp'
3054 anyway, but since Autoconf advertises the possibility to use
3055 a target directory when LN_S is `ln -s', we need to find out.
3056 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
3057 analyzed by Keith Marshall <keith.marshall@total.com>.
3061 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
3063 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
3064 confdefs.h as-is. In general, if it has backslash-newline or the
3065 like, then it doesn't work either to sort or to remove empty
3068 2006-04-09 Stepan Kasal <kasal@ucw.cz>
3070 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
3072 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
3074 * lib/autom4te.in (Automake-preselections): Preselect
3077 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
3079 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
3080 apostrophe within a single-quoted string, as this is the usual
3081 tradition and is easier to read than '"'"'. Don't rely on the
3082 shell treating "$/" like '$/'. Use a more-consistent indenting
3085 2006-04-09 Eric Blake <ebb9@byu.net>
3087 * tests/autotest.at (Backquote command substitution),
3088 (Multiline backquote command substitution): Remove mistaken
3089 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
3091 (Parenthetical command substitution, Multiline parenthetical
3092 command substitution): here.
3094 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
3096 Import macros from gnulib (often changing their name).
3098 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
3099 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
3100 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
3101 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
3102 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
3103 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3104 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
3105 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
3106 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
3107 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
3108 The manual mentions Gnulib more prominently.
3109 * doc/autoconf.texi (Gnulib): New node.
3110 (Pointers): Add Gnulib URL.
3111 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
3112 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
3114 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
3115 suggest a #define rather than a typedef for _Bool, and mention
3116 Gnulib rather than trying to substitute stdbool code.
3117 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
3118 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
3119 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
3120 AC_STRUCT_DIRENT_D_TYPE.
3121 (Particular Types): Mention stdint.h and inttypes.h as standard
3123 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3124 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
3125 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
3126 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
3127 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
3128 (C Compiler): Move AC_C_LONG_DOUBLE to ...
3129 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
3130 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
3131 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
3132 (Coding Style). Don't mention m4_expand_once.
3133 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
3134 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
3135 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
3136 (AC_CHECK_FUNCS): Use it.
3137 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
3138 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
3139 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
3140 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
3141 (AC_HEADER_ASSERT): New macro.
3142 (AC_HEADER_STDBOOL): Don't assume "#error" works.
3143 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
3144 Catch a bug in an HP-UX C compiler.
3145 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
3146 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
3147 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
3148 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
3149 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
3150 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
3153 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
3154 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
3156 2006-04-08 Stepan Kasal <kasal@ucw.cz>
3158 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
3159 of the warning introduced by the 2001-08-28 change.
3161 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
3162 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3164 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
3165 variables shall be overriden by the cache.
3166 * tests/torture.at (AC_ARG_VAR): Test also with a first value
3167 that contains braces.
3169 2006-04-07 Stepan Kasal <kasal@ucw.cz>
3171 Revert the patch from 2006-04-01 and only improve
3172 _AS_DETECT_BETTER_SHELL:
3174 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
3175 skip nonexistent directories.
3176 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
3177 only shell candidates which exist.
3178 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
3179 * lib/autotest/general.m4 (AT_INIT): No need to give three
3180 parameters to _AS_PATH_WALK.
3182 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
3183 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3185 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
3186 distinguish m4sugar macros.
3187 * tests/tools.at (autoupdating with aclocal and m4_include):
3188 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
3189 test case by Noah Misch <noah@cs.caltech.edu>.
3191 2006-04-07 Stepan Kasal <kasal@ucw.cz>
3193 Revert my change from 2006-03-17, in other words:
3194 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
3196 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
3197 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
3200 2006-04-07 Eric Blake <ebb9@byu.net>
3202 * doc/autoconf.texi (Programming in M4sh): Document that
3203 AS_MKDIR_P exits the script on failure.
3204 * lib/autotest/general.m4: Remove redundant AS_ERROR.
3206 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3208 * config/elisp-comp, config/install-sh, config/mdate-sh,
3209 config/missing, config/mkinstalldirs: Sync from Automake.
3211 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
3214 * doc/make-stds.texi: Sync from gnulib.
3216 2006-04-06 Eric Blake <ebb9@byu.net>
3218 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3219 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
3222 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
3223 Eric Blake <ebb9@byu.net>,
3224 Paul Eggert <eggert@cs.ucla.edu>,
3225 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3227 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
3228 whether `set' quotes correctly: redirect stderr of the tested
3229 `set', and use a subshell, for Ultrix; use `sed' instead of
3230 `grep' for zsh `set' which may write binary output; match only
3231 at the beginning of a line, to avoid false positives.
3232 In order to avoid false positives by unrelated variables with
3233 multiline content, put the dump algorithm in a subshell and
3234 unset all variables containing newlines (except some which are
3235 special to the shell). Warn about cache variables that are
3238 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3240 * config/config.guess, config/config.sub, config/texinfo.tex:
3243 * tests/mktests.sh: Reword comments.
3245 * tests/mktests.sh: Only skip internal macros starting with
3246 `_AC_' or `__AC_'. Noted by Stepan Kasal.
3247 Update exclusion lists for the test suite to this end:
3248 (AC_ARG_VAR): Do test this now.
3249 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
3250 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
3251 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
3252 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
3254 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
3255 shell issue with double-quoted command substitutions of native
3257 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
3260 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
3261 no file matches the glob, discard the warning, set `nullglob'.
3262 (syntax-check): Likewise.
3263 (sc_cast_of_x_alloc_return_value): Likewise.
3264 (sc_cast_of_alloca_return_value, sc_error_exit_success)
3265 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
3266 (m4-check): Likewise.
3267 (sc_system_h_headers): Do not print rule on execution.
3268 (sc_tight_scope): Do not fail for non-existing `src' directory.
3269 (sc_changelog): Skip the Copyright footer.
3270 * lib/autoconf/lang.m4: Remove trailing space.
3272 * lib/autoconf/status.m4: More replacements to
3273 <tab><space> where this makes sense.
3275 2006-04-06 Stepan Kasal <kasal@ucw.cz>
3277 * tests/Makefile.am (maintainer-check-posix):
3278 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
3280 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
3281 ac_config_<foo>s again, sometimes normalized, sometimes not.
3282 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
3283 (AC_CONFIG_COMMANDS): Do not do so here.
3284 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
3285 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
3286 2005-07-25 rewrite. Noticed by Noah Misch.
3288 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
3289 _AC_PRESERVE_HELP_ORDER, ...
3290 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
3292 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
3293 inside m4_expand_once; it is redundant.
3295 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
3296 for --help from Cygnus `configure.'
3298 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
3300 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
3301 on a patch proposed by Ralf Wildenhues.
3303 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
3305 * lib/autoconf/status.m4: Replace <space>''<tab> with
3306 <tab><space> where this makes sense.
3308 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
3309 Noah Misch <noah@cs.caltech.edu>
3311 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
3312 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
3313 * doc/autoconf.texi (Help Formatting): New node.
3314 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
3316 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3318 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
3319 lib/autoconf/specific.m4, lib/autoconf/status.m4,
3320 lib/autoconf/types.m4, lib/autotest/general.m4,
3321 tests/mktests.sh, tests/torture.at: White space cleanup:
3322 remove some SPACE before TAB, or add quoting ('' or @&t@).
3324 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
3326 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
3328 2006-04-05 Eric Blake <ebb9@byu.net>
3330 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
3331 empty test suite works.
3332 * tests/autotest.at (Empty test suite): Remove xfail.
3334 2006-04-05 Noah Misch <noah@cs.caltech.edu>
3336 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
3337 TAGS to ac_config_<foo>s.
3338 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
3339 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
3340 normalizing it, consistent it with previous releases.
3341 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
3343 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
3345 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
3346 Use simplified args that Eric Blake originally suggested.
3348 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
3350 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
3351 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
3352 Use 'comm' rather than N instances of grep; this also fixes a bug
3353 whereby substrings were incorrectly matched, causing us to not
3354 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
3355 (exclude_list): Exclude empty macros.
3356 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
3358 Use awk rather than grep -E or egrep, to avoid
3359 portability problems with regular expressions containing newlines.
3360 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
3361 Switch from grep to awk syntax.
3362 (ac_exclude_script): Renamed from ac_exclude_egrep.
3363 (au_exclude_script): Renamed from au_exclude_egrep.
3365 2006-04-04 Noah Misch <noah@cs.caltech.edu>
3367 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
3368 a subdirectory subject to Cygnus `configure'.
3369 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
3371 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
3372 report request when we have no AC_PACKAGE_BUGREPORT.
3374 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3378 * tests/mktests.sh: Update copyright year in the header of the
3381 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
3382 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
3383 typedef'ed restricted pointer, to catch a compiler bug on
3384 HP-UX 11.x, and fix warnings so it passes with -Werror.
3385 (_AC_PROG_CC_C99): Likewise.
3386 Reported by Albert Chin <china@thewrittenword.com>.
3387 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
3389 2006-04-03 Noah Misch <noah@cs.caltech.edu>
3391 * bin/autoscan.in (subdirs): New global.
3392 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
3393 (output): Emit AC_CONFIG_SUBDIRS as needed.
3394 * tests/autoscan.at (autoscan): Remove XFAIL.
3396 2006-04-03 Noah Misch <noah@cs.caltech.edu>
3398 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
3400 2006-04-03 Eric Blake <ebb9@byu.net>
3402 * THANKS: Add myself.
3404 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3406 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
3407 to log, point to testsuite output tree.
3409 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
3411 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
3412 * doc/autoconf.texi (Function Portability): Mention that C++
3413 has trouble with 'exit'.
3414 (Guidelines): Test programs shouldn't use 'exit'.
3415 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3416 Remove; all uses removed.
3417 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
3418 Return from 'main' instead of calling 'exit'.
3419 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
3420 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
3421 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
3422 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
3423 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
3424 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3425 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
3426 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
3427 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3428 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
3429 * tests/compile.at: Likewise.
3431 2006-04-02 Pavel Roskin <proski@gnu.org>
3433 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
3435 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3437 Clean up _AC_COMPILER_EXEEXT* macros.
3439 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3440 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3441 ac_file to the name of the default output file and call
3442 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
3443 initial `rm' of the candidate files...
3444 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
3445 the same list in subsequent `rm' calls, and for the temporary
3446 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3447 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3448 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3449 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3450 no longer needed) by libtool. Make it a cache check.
3451 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3452 copied here by mistake.
3453 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3454 _AC_COMPILER_EXEEXT.
3455 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3456 _AC_COMPILER_OBJEXT directly.
3457 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3459 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3461 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
3462 (AS_DIRNAME): Use it.
3463 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
3465 * tests/*.at: Remove the generated ones.
3467 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3469 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
3471 2006-04-01 Eric Blake <ebb9@byu.net>
3473 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
3474 directories, unless optional third argument supplied.
3475 (AS_UNAME): Don't optimize PATH walk.
3477 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
3479 2006-04-01 Eric Blake <ebb9@byu.net>
3480 and Stepan Kasal <kasal@ucw.cz>
3482 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
3485 2006-04-01 Noah Misch <noah@cs.caltech.edu>
3487 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
3488 Autoconf version number despite a zero- or one-argument AC_INIT.
3490 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
3492 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
3493 * doc/autoconf.texi (autoreconf Invocation): Document it.
3495 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
3496 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
3498 2006-04-01 Eric Blake <ebb9@byu.net>
3500 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
3501 * lib/autotest/general.m4: Be tolerant of existing directory when
3502 rm failed to remove it.
3504 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3506 * bin/autoupdate.in: Redefine m4_location so that warnings print
3507 the correct lines of the input file by subtracting..
3508 (_au__first_line): ..this new definition.
3510 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
3511 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
3512 Remove stray newline in output.
3513 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
3514 AC_DEFUN this for autoconf, including the obsoletion diagnose.
3515 Fixes autoupdating of code where the replacement output contains
3517 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
3518 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
3519 (au_exclude_list): Add AC_LANG_SAVE.
3520 * tests/tools.at: Several new tests for all of this.
3521 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
3523 The AC_LANG_SAVE issue was reported against Libtool by
3524 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
3525 Kristian Kvilekval <kris@cs.ucsb.edu>.
3527 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3529 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
3530 switch all of them on and of when necessary. Fixes the bug when
3531 m4sugar macros (e.g., m4_define) were expanded after the first
3532 automatic update (e.g., after AC_PREREQ or AC_INIT).
3534 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
3536 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
3537 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
3539 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
3540 correctly. Problem reported by Eric Blake.
3541 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
3544 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
3546 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
3547 Tighten up the basename/dirname wording.
3549 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3551 * Makefile.maint (sc_texi_notab): New check: do not use TABs
3552 in texinfo files outside of verbatim environments.
3553 (syntax-check-rules): Update.
3554 * doc/autoconf.texi (Configuration Headers): Conform to it.
3556 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
3558 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
3559 aclocal cannot be given on the command line.
3561 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
3563 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
3564 Give an example for AS_DIRNAME instead of referring to Posix..
3565 (File System Conventions): Put discussion of // versus / here, and
3567 (Limitations of Usual Tools): Add basename. Remove verbiage
3568 after dirname, since it got moved to the above sections.
3569 All this was inspired by a patch proposed earlier by Eric Blake.
3571 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3573 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
3574 `$0' to protect against spaces.
3575 * lib/autotest/general.m4 (AT_INIT): Likewise.
3576 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
3579 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3581 * bin/autoscan.in: The value of find_configure_ac should be
3582 checked for existence, so we don't barf over a nonexisting
3583 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
3585 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3587 * bin/autoupdate.in: Fix some typos.
3589 2006-03-21 Stepan Kasal <kasal@ucw.cz>
3591 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
3593 * lib/autoscan/autoscan.list: Refreshed.
3595 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3597 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
3598 and Erlang related variables.
3600 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
3601 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
3602 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
3603 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
3604 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
3605 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
3606 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
3607 (_AC_PROG_OBJC_G): New macros.
3608 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
3609 * doc/autoconf.texi (Objective C Compiler): New node.
3610 (Preset Output Variables): Document OBJCFLAGS.
3611 (Language Choice): Document `Objective C' language.
3612 (Fortran Compiler): Fix typo.
3614 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
3616 2006-03-20 Stepan Kasal <kasal@ucw.cz>
3618 * doc/autoconf.texi (Default Includes): Fix typo
3619 s/AC_HEADERS_STDC/AC_HEADER_STDC/
3620 (Limitations of Usual Tools): s/unwriteable/unwritable/
3621 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
3622 Fix typos in the comments.
3624 2006-03-17 Stepan Kasal <kasal@ucw.cz>
3626 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
3627 Factor out the warning to...
3628 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
3629 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
3630 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3632 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
3633 case `ac_delim' when writing the sed script.
3635 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
3636 moved DUALCASE=1 ...
3637 (AS_SHELL_SANITIZE): ... here.
3638 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
3641 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
3643 (_AC_PATH_PROG): Store the result to VARIABLE.
3644 (AC_PATH_PROG): No need to set VARIABLE again.
3646 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
3647 the first one is usual AT_CHECK_MACRO test, the second one checks
3648 that the same works when cross-compiling.
3649 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
3650 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
3652 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3654 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
3655 the directory `/usr/bin/posix' in the shell search, to prefer
3656 the Posix shell not only in subsequent spawns as with `$BIN_SH'
3659 * doc/autoconf.texi (contents): To fix texi2html output, hide
3660 `@setcontentsaftertitlepage' for HTML.
3661 (Writing Autoconf Macros): Likewise, insert space after `@c'.
3662 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
3665 2006-03-16 Stepan Kasal <kasal@ucw.cz>
3667 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
3669 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
3670 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
3671 why IFS is restored so late; thank you, Ralf, for reminding us.
3673 2006-03-15 Stepan Kasal <kasal@ucw.cz>
3675 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
3676 variables in the examples.
3678 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3680 * doc/autoconf.texi (several sections): Cleaned up documentation for
3681 macros in erlang.m4.
3683 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3685 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
3686 failure condition for `$(cmd)' style command substitutions.
3687 (Parenthetical command substition, Multiline parenthetical
3688 command substition): Use it.
3690 * doc/autoconf.texi (Special Shell Variables): Missing word.
3691 Reported by Keith Marshall <keith.marshall@total.com>.
3693 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
3694 IFS even in case of empty `$PATH'.
3696 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3698 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
3699 `expr' away if there is nothing to do.
3700 < --keywords >: Simplify and robustify argument handling.
3701 Revert erroneous comment from 2005-08-23. Extend to allow
3702 keyword negation with `!'.
3703 Update help message. Remove broken code to prevent running
3704 tests multiple times.
3705 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
3706 Update and fix the documentation accordingly.
3707 * tests/autotest.at (Keywords): Renamed to..
3708 (Keywords and ranges): .. this. Extended to make sure negated
3709 keywords, keywords taken from AT_SETUP arguments, and numeric
3710 test ranges work, and that matching is case-insensitive.
3712 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3714 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
3715 allow to pass unnamed structs even in C++.
3716 (AC_CHECK_SIZEOF): Likewise.
3717 Also fix quoting error in `AC_MSG_FAILURE' arguments.
3718 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
3719 struct): New tests for unnamed structs, each both native and
3722 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
3723 a structure inside a cast, for C++ conformance.
3724 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
3725 Also fix quoting error in `AC_MSG_FAILURE' arguments.
3727 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
3728 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
3729 trying to execute the command `no'.
3731 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
3732 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
3735 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
3736 example. Do not emphasize `$%', it is hardly new and special.
3737 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
3739 * doc/autoconf.texi (Limitations of Usual Tools): Document
3740 OpenBSD and traditional `grep' failure to handle multiple
3741 patterns separated by newlines.
3743 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3745 * doc/autoconf.texi (several sections): Add documentation for macros
3748 2006-03-10 Eric Blake <ebb9@byu.net>
3750 * doc/autoconf.texi (Obsolete Macros): Fix wording of
3753 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
3755 * doc/autoconf.texi: Use @acronym more consistently for acronyms
3756 like BSD, GPL, LGPL. Fix minor English typos.
3757 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
3758 Mention that these macros are becoming obsolete.
3759 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
3760 Use more modern terminology for which standard is what.
3761 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
3763 (AC_PROG_CXX): Likewise.
3764 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
3765 Remove obsolete discussion about how to port to K&R.
3766 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
3767 the obsolescent AC_HEADER_STDC.
3768 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
3771 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3773 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3774 Remove stdin redirection from /dev/null to allow pipe to work.
3776 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
3778 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3779 Require that /lib/cpp include stdio.h correctly. Solaris 10's
3780 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
3783 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3785 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
3786 HP-UX sed is 99 commands, not 100.
3787 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
3788 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
3789 newline for portability.
3790 * tests/torture.at (Torturing config.status): Also test 100
3791 AC_SUBST_FILE invocations. Fix test to actually verify the
3792 AC_CONFIG_FILES output.
3793 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
3794 command, label, and read-file `r' limits. Unify HP-UX spelling.
3796 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
3798 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
3800 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
3801 * tests/mktests.sh: Small shell portability fixes.
3803 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3805 * doc/autoconf.texi (Caching Results): Fix the examples to use a
3806 recommended quoting style and discard unwanted output.
3808 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
3810 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
3811 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
3812 cases, and to work around Tru64 expr bug.
3814 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3816 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
3817 expr bug that turns the result of a regex match into a number if
3820 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3822 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
3823 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
3824 in section `Specific Compiler Characteristics'.
3826 2006-03-04 Eric Blake <ebb9@byu.net>
3828 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
3831 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3833 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
3834 order of variable initialization, so even the Solaris 2.6 shell
3835 can create a config header correctly. Fixes lots of test suite
3838 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3840 * doc/autoconf.texi (Text processing Macros): New node to
3841 document the m4sugar macros m4_re_escape, m4_tolower,
3842 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
3844 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
3846 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
3847 XrmInitialize (0) -> XrmInitialize ().
3848 Reported by Toshio Kuratomi.
3850 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3852 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
3853 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
3854 * doc/autoconf.texi (Programming in M4sh): Adjusted.
3855 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
3856 both macros are defun'ed so that required macros are evaluated
3859 * doc/autoconf.texi (Prerequisite Macros): State more precisely
3860 where a required macro will be expanded.
3861 (Coding Style): Another reason not to use `m4_define'.
3863 2006-02-21 Eric Blake <ebb9@byu.net>
3865 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
3867 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3869 * doc/autoconf.texi (Looping constructs): New node, to
3870 document m4_for, m4_foreach, m4_foreach_w, and mention
3871 obsolete AC_FOREACH.
3872 (Obsolete Macros): Document AC_FOREACH.
3873 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
3874 (m4_for): Fix to never loop (almost) endlessly, work correctly
3875 with arithmetic expressions in arguments, a step of zero or
3876 non-integer multiple of the interval, and avoid integer
3878 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
3881 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3883 Add basic support for Erlang, both for configuring Erlang/OTP
3884 tools, and Erlang as a conf test language.
3885 * lib/autoconf/erlang.m4: New file.
3886 * lib/autoconf/autoconf.m4: Add erlang.m4.
3887 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
3888 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
3889 * NEWS: Add short description of new macros.
3890 * THANKS: Add Romain Lenglet.
3892 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3894 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
3895 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
3897 2006-02-15 Eric Blake <ebb9@byu.net>
3899 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
3902 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3904 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
3905 (_AS_CASE): Private helper macro.
3906 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
3907 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
3908 Fix syntax of AS_IF description
3909 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
3910 for the AC_REQUIRE mess.
3911 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
3914 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
3916 * doc/autoconf.texi: Minor style cleanup.
3917 Be consistent about spaces after commas.
3918 Insert [] where empty args look a bit funny.
3919 Fix some "i.e." and "e.g." usages.
3920 Try to avoid "X/Y" usages.
3921 Don't be pedantic about "ISO C99"; just say C99.
3922 Prefer GNU style for spaces in front of parens.
3923 (Function Portability): Comment about C89 versus C99
3924 signed integer division.
3925 (Particular Headers): Use current gnulib style for dirent
3928 2006-02-14 Stepan Kasal <kasal@ucw.cz>
3929 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3931 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
3932 macros without parameters.
3933 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
3934 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
3935 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
3937 (autoupdate): Updated to match AU_ALIAS fix.
3939 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3940 and Paul Eggert <eggert@cs.ucla.edu>
3942 * doc/autoconf.texi (Programming in M4sh): Document
3943 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
3945 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3947 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
3948 (AS_BOURNE_COMPATIBLE): ..this.
3949 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
3951 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
3953 * doc/install.texi (Defining Variables): Tighten up the
3954 CONFIG_SHELL wording.
3956 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
3957 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3959 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
3960 of (set -o) rather than testing whether (set -o posix) succeeds,
3961 to work around a bug in the AIX 5.3 shell. Problem originally
3962 reportd by Howard Chu for libtool.
3964 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
3966 * doc/autoconf.texi (Running the Compiler, Running the Linker):
3967 Changes the macro arguments in summaries to match the
3970 2006-02-04 Stepan Kasal <kasal@ucw.cz>
3972 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
3973 hint as ``a workaround for a bug.''
3975 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3977 * bin/autoreconf.in: New option `--no-recursive'.
3978 Improve wording for subpackages a bit.
3979 * doc/autoconf.texi (autoreconf Invocation): Updated.
3982 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
3983 in environment of `configure', not the command line.
3984 Reported by Howard Chu <hyc@highlandsun.com>.
3986 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
3988 * doc/autoconf.texi (Limitations of Builtins): Document the
3989 problem with "trap -".
3991 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
3993 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
3994 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
3995 messages to differentiate Fortran and Fortran 77 tests.
3996 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
3997 AC_LANG_ASSERT, to allow use in mixed-language projects.
3999 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
4001 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
4002 FOO" to "defined (FOO)".
4003 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
4004 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
4005 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
4006 * tests/tools.at (ifnames): Likewise.
4008 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4010 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
4011 * lib/Autom4te/General.pm (mktmpdir): Likewise.
4012 (END): Improve error message a bit.
4013 Reported by Bruce Korb <bkorb@gnu.org>.
4015 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4017 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4018 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
4020 2006-01-11 Stepan Kasal <kasal@ucw.cz>
4022 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
4023 requires sys/stream.h. Reported by Oliver Kiddle.
4025 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4026 Stepan Kasal <kasal@ucw.cz>
4028 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
4029 before the removals of test dirs, use `find' to avoid modification
4030 of symlinked directories.
4032 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
4034 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
4035 Don't ignore the macro arguments.
4037 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
4039 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
4040 declaration that works for MSVC.
4042 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4044 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
4045 Add `*.map' and `.inf' for Green Hills compiler.
4046 Reported by Stefan Seefeld <stefan@codesourcery.com>.
4048 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
4049 correctly: pad with spaces after FIRST_PREFIX if necessary,
4050 and compute string lenghts with `m4_qlen' instead of `m4_len'.
4051 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
4052 * tests/m4sh.at (AS_HELP_STRING): Test extended.
4054 Reported by numerous people, numerous times.
4056 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
4058 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
4059 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
4060 * lib/autoconf/general.m4, lib/autoconf/status.m4:
4061 * lib/autotest/general.m4, tests/local.at:
4062 Update copyright year to 2006.
4064 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
4066 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
4067 for file names, again. Reported by Noah Misch.
4068 (Coding Style): Explain that s|a|b| is preferred for file names.
4069 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
4070 (AC_OUTPUT_MAKE_DEFS): Likewise.
4071 * lib/autotest/general.m4 (AT_INIT): Likewise.
4072 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
4073 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
4075 Fix Posix-conformance bugs re use of { command in sed scripts,
4076 and improve the sed-related documentation a bit.
4077 * doc/autoconf.texi (Installation Directory Variables): Use
4078 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
4079 rather than "sed" when talking about Sed in general.
4080 (Particular Programs): Likewise.
4081 (Coding Style): y is like s with respect to / and ,.
4082 (Limitations of Usual Tools): Document the weird restrictions
4083 that Posix has about { }. Use better quoting.
4084 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
4085 Rewrite to conform to Posix rules about { } in sed scripts.
4086 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
4087 * tests/foreign.at (Libtool): Likewise.
4088 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
4089 Use our own style advice re 's,a,b,' versus 's|a|b|'.
4091 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4093 * lib/autoconf/status.m4: Fix typo.
4095 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4096 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
4097 `-def', for the benefit of Portland `pgf90 -Mipa'.
4098 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
4100 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
4102 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
4103 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
4104 shell from zsh to bash.
4106 2005-12-31 Stepan Kasal <kasal@ucw.cz>
4108 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
4109 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
4111 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
4113 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
4114 parentheses in $(...). Problem reported by Eric Blake.
4116 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
4118 * doc/autoconf.texi (Limitations of Usual Tools):
4119 Mention which characters can be escaped with \ in portable regular
4120 expressions used in grep, sed, expr. Mention the leading ^ problem
4121 with expr. Clean up some confusing wording. Mention which
4122 grep options are portable.
4124 2005-12-09 Stepan Kasal <kasal@ucw.cz>
4126 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
4128 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
4130 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
4131 patch, noted by Ralf Wildenhues.
4133 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4135 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
4136 posix' unconditionally, for pdksh in `native sh' emulation.
4138 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
4140 * doc/autoconf.texi (Shellology): Document eval $? problem
4142 (Limitations of Builtins): Likewise.
4144 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4146 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
4147 CONFIG_SHELL in the environment of the configure rerun.
4148 * doc/autoconf.texi (Here-Documents, config.status Invocation):
4149 Suggest passing CONFIG_SHELL absolute, and in the environment
4150 rather than as option.
4152 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4154 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
4155 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
4156 Fix macro quoting. Fix output for n * 98 substituted variables.
4158 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4160 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
4161 `tmp' to avoid file removal race.
4163 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4165 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4166 ac_clean_files and LIBOBJS.
4168 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4170 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
4171 Factor functionality to..
4172 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
4173 `AC_SUBST($1)' in the public version.
4174 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
4175 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
4178 2005-11-01 Stepan Kasal <kasal@ucw.cz>
4180 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
4183 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4185 * NEWS: Move AH_HEADER mention to right place.
4187 2005-10-27 Stepan Kasal <kasal@ucw.cz>
4189 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
4190 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4192 2005-10-25 Stepan Kasal <kasal@ucw.cz>
4194 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
4195 conftst2.$ac_objext.
4196 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4198 2005-10-24 Stepan Kasal <kasal@ucw.cz>
4200 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
4201 conftest.o, to see whether the compiler really obeys; rm the object
4202 file before and after the test and register it with ac_clean_files.
4203 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4205 2005-10-21 Stepan Kasal <kasal@ucw.cz>
4207 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
4208 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
4209 code so that the most common case requires less forks.
4211 2005-10-20 Stepan Kasal <kasal@ucw.cz>
4213 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
4214 not portable; thanks to Paul Eggert and Alexandre.
4216 * NEWS: Fix an old typo.
4218 2005-10-20 Jim Meyering <jim@meyering.net>
4220 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
4221 the latter'', in two places.
4223 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
4225 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
4226 AC_LANG_PROGRAM, fixing a typo. Don't give details about
4227 the inner workings of AC_LANG_FUNC_LINK_TRY.
4228 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
4229 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
4230 by the function rather than ignoring it.
4231 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
4232 comparing its address. Intel's interprocedural optimization was
4233 outsmarting the old heuristic. Problem reported by
4236 2005-10-19 Stepan Kasal <kasal@ucw.cz>
4238 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
4240 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
4242 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
4243 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
4245 2005-10-04 Stepan Kasal <kasal@ucw.cz>
4247 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
4248 before removing it (chmod -R u+rwx); there are three instances of this.
4250 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4251 Stepan Kasal <kasal@ucw.cz>
4253 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
4254 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
4255 make its content writable before removing it. Remove an errorneous
4256 comment from the end, where the logs of the failed tests are copied
4257 to the main log file.
4259 2005-09-27 Stepan Kasal <kasal@ucw.cz>
4261 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
4262 in case the computer is too quick. Double quote the configure.ac
4265 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
4266 problems if the testsuite were running too fast.
4268 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
4270 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
4271 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
4272 (which belong to Xt, not X itself). See Debian bug 327655.
4273 * NEWS: Mention this.
4275 2005-09-07 Stepan Kasal <kasal@ucw.cz>
4277 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
4279 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
4281 * config/move-if-change: Don't output "$2 is unchanged";
4282 suggested by Ben Elliston. Handle weird characters correctly.
4284 2005-09-06 Stepan Kasal <kasal@ucw.cz>
4286 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
4287 calls, so that the final expansion of this macro is shorter.
4288 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
4289 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
4290 the cleanup there. Use AS_VAR_* macros, to be more general.
4291 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
4293 * lib/autoconf/general.m4: Use AS_IF where appropriate.
4295 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
4297 2005-09-01 Stepan Kasal <kasal@ucw.cz>
4299 * doc/autoconf.texi (Configuration Headers): Add an index entry
4302 2005-08-26 Pavel Roskin <proski@gnu.org>
4304 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
4305 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
4308 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
4310 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
4311 The previous patch didn't work, so try a better one.
4313 2005-08-26 Stepan Kasal <kasal@ucw.cz>
4315 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
4316 in the example. Reported by Bruno Haible.
4317 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
4318 "if $undefined_var;" succeeds with my shell.
4320 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
4321 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
4322 but change the m4_divert_text to m4_divert_once.
4324 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
4326 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
4327 Work around bug in Solaris /usr/xpg4/bin/awk.
4328 The bug is present in at least Solaris 8 through 10.
4330 2005-08-24 Stepan Kasal <kasal@ucw.cz>
4332 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
4333 some evil values and relying on the fact that $* concatenates the
4334 parameters by the first character from IFS.
4336 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
4337 Stepan Kasal <kasal@ucw.cz>
4339 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
4340 first header appears, define AH_HEADER.
4341 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
4342 Update limitations about when to call AC_CONFIG_HEADERS.
4343 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
4344 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
4345 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
4346 ``Configuration Actions''; fix their index entries.
4348 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
4349 options correctly. Process N-M as M-N if M is smaller than N.
4350 Process ranges correctly so that N-N will run only N.
4351 Sort and uniquify the tests that will be run. If there is more
4352 than one test, reinsert the banners for the tests.
4353 * tests/autotest.at (Keywords): Unmark XFAIL.
4355 2005-08-23 Stepan Kasal <kasal@ucw.cz>
4357 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
4358 before passing the macro name to AH_TEMPLATE.
4360 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
4361 now opens log after option processing; in particular, --version
4362 and --help do not touch config.log.
4364 * Makefile.maint: Revert the change from 2005-08-12.
4366 2005-08-22 Stepan Kasal <kasal@ucw.cz>
4368 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
4370 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
4372 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4374 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
4375 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
4378 * doc/autoconf.texi (Defining Symbols, Changed Results):
4379 Prepend to LIBS, not append, in examples.
4381 2005-08-16 Stepan Kasal <kasal@ucw.cz>
4383 When building in place, set srcdir="."; suggested by Tim Van Holder.
4385 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
4386 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
4387 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
4388 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
4389 does not mean "no --srcdir option".
4391 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4393 * tests/autoscan.at (autoscan): New file.
4394 * tests/suite.at: Use it.
4395 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
4396 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
4398 * tests/autotest.at (Keywords): Test keywords combinations.
4400 2005-08-12 Stepan Kasal <kasal@ucw.cz>
4402 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
4403 add "2>&1"; gzip 1.2.4 prints help on stderr.
4405 2005-07-27 Stepan Kasal <kasal@ucw.cz>
4407 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
4408 was pushdef'ed twice while popped only once. Push it only once.
4409 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
4411 2005-07-26 Stepan Kasal <kasal@ucw.cz>
4413 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
4414 prefixed by mere "===", not "configure: === ".
4416 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
4418 * Makefile.maint: Update from Bison.
4420 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
4421 "<tab>" in comment, so that the point is understandable.
4423 2005-07-25 Stepan Kasal <kasal@ucw.cz>
4425 Rewrite substantial part of lib/autoconf/status.m4.
4426 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
4427 and CONFIG_COMMANDS are not processed in four separate loops.
4428 Instead, there is one main loop. This alows that the common code
4429 is expanded only once, thus config.status (and configure) is smaller.
4431 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
4432 the AC_LIST_FILES and cousins macros are no longer used.
4434 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
4435 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
4436 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
4437 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
4438 contain the initialization, nor the for loop, nor the associated
4439 commands; all these go to ...
4440 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
4441 _AC_OUTPUT_CONFIG_STATUS.
4442 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
4443 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
4444 (_AC_OUTPUT_FILE): The creation of the sed script ...
4445 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
4446 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
4447 _AC_OUTPUT_MAIN_LOOP.
4448 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
4449 _AC_CONFIG_COMMANDS): Use ...
4450 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
4451 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
4452 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
4453 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
4454 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
4455 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
4457 (_AC_CONFIG_UNIQUE): Update.
4458 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
4459 Replaced by this ...
4460 (_AC_LIST_TAGS): ... new common macro.
4461 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
4462 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
4463 (_AC_LIST_TAG_COMMANDS): ... new common macro.
4464 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
4465 this didn't belong to the `config commands' section.
4466 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
4467 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
4468 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
4469 to the `config commands' section either.
4470 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
4471 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
4473 ... and many changes to the comments nearby.
4475 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
4476 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
4477 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
4478 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
4479 (#define header templates): The comment at the top of the generated
4480 header now includes the name(s) of the source file(s).
4482 Several unrelated small changes:
4484 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
4485 parameter to AC_DIAGNOSE.
4486 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
4487 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
4488 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
4489 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
4491 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
4492 in AC_OUTPUT doesn't double-quote it either.
4493 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
4496 2005-07-10 Stepan Kasal <kasal@ucw.cz>
4498 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
4499 versions of Portland Group compiler produce single- and double-quoted
4500 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
4501 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4503 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
4505 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4506 This is a corrected version of yesterday's patch.
4508 2005-07-07 Stepan Kasal <kasal@ucw.cz>
4510 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
4511 path, too; insert a "===" to emphasize the line.
4513 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
4514 ac_cv_build_alias to ac_build_alias.
4515 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
4517 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
4518 change eliminates it. Problem reported by Alexandre Duret-Lutz.
4519 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
4520 (AC_ARG_VAR): ... here.
4521 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
4524 Keep a list of all precious variables and process them with one simple
4525 for loop, instead of expanding all commands, or, OTOH, complicated
4526 processing of output of "set".
4527 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
4528 variable names in new macro...
4529 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
4530 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
4531 a loop to assign all ac_env_* and ac_cv_env_* variables.
4532 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
4534 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
4535 its value to shell variable ac_precious_vars and call
4536 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
4537 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
4538 _AC_ARG_VAR_VALIDATE.
4540 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
4541 and the AC_SUBSTs ...
4542 (AC_INIT): ... here.
4544 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
4545 the ac_subst_files section in config.log.
4547 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
4549 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
4551 * NEWS: New macro AC_C_TYPEOF.
4552 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
4553 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
4554 * tests/c.at (C keywords): Test AC_C_TYPEOF.
4556 Fix problems reported by Nicolas Joly.
4557 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
4558 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4559 They are generated by the Tru64 v5.1B shell.
4561 2005-07-05 Stepan Kasal <kasal@ucw.cz>
4563 Fix my changes from 2005-07-01; reported by Noah Misch.
4564 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
4565 description, the macro now accepts only a single tag.
4566 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
4568 Fix cases when the varsions of Autoconf and Autotest don't match.
4569 Reported by Noah Misch.
4570 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
4571 at_top_builddir, for compatibility with older autotest.
4572 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
4573 is not set, use at_top_builddir, for compatibility with older
4574 versions of autoconf.
4576 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
4578 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
4579 Problem reported by Patrick Welche.
4581 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
4583 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
4584 sed substitution command, so that we allow | in program prefixes
4585 and program suffixes. (& is a problem anyway; we're not fixing
4587 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
4588 configure_input, top_builddir, srcdir, etc.
4589 * lib/autotest/general.m4 (AT_INIT): Likewise, for
4590 PATH_SEPARATOR in AUTOTEST_PATH.
4592 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
4594 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
4595 for loop over config.site files using `set', to allow
4596 directory names containing IFS characters.
4598 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
4600 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
4601 directories with weird names. Apparently some people like living
4602 on the edge. However, improve the test that "pwd" actually does
4603 report a name for the working directory.
4604 * NEWS: Remove the claim that we test for funny chars in dir names.
4606 2005-07-01 Stepan Kasal <kasal@ucw.cz>
4608 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
4610 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
4611 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
4612 Now accept a single tag, not whitespace separated list.
4613 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
4615 2005-06-30 Stepan Kasal <kasal@ucw.cz>
4617 * doc/autoconf.texi (Configuration Headers): Change the explanation
4618 about #include <config.h>.
4619 (Generic Functions): Mention the Gnulib project.
4620 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
4622 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
4623 document to output the default config_* lists to config.status.
4624 Don't recognize option --file, if the functionality is not there.
4625 Likewise for --header; moreover, recognize --he and --h as shortcuts
4626 for --help in that case.
4628 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
4629 matches the order of execution. No code changed.
4631 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4633 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
4634 single-quoted -cmdline argument in Portland Group compiler.
4635 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4637 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
4639 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
4641 2005-06-29 Stepan Kasal <kasal@ucw.cz>
4643 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
4644 descriptors to child processes; reported by Norman Gray.
4646 2005-06-29 Stepan Kasal <kasal@ucw.cz>
4648 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
4650 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
4651 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
4652 (AC_SUBST): Call it.
4653 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
4654 the directory specific variables; but don't call it for configure_input.
4656 2005-06-28 Derek Price <derek@ximbiot.com>
4658 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
4661 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
4663 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
4664 directory have inherent problems with special characters like spaces,
4665 due to limitations in Make syntax. Problem reported by Alexandre
4667 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
4668 Also, fix Tru64 porting problem with shell patterns,
4669 reported by Ralf Wildenhues.
4671 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4673 * doc/autoconf.texi (Subdirectories): Fix markup typos.
4675 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
4677 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
4679 Fix some more shell quoting problems. Prompted by a bug report
4680 from Justace Clutter.
4681 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
4682 variable into diagnostic. Make the diagnostic an error, not a warning,
4683 because we really don't support spaces and suchlike in dir names.
4684 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
4685 Don't worry about backslashes in srcdir; it can't happen now.
4686 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
4687 Simplify ac_optarg handling.
4688 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
4690 2005-06-22 Stepan Kasal <kasal@ucw.cz>
4692 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
4693 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
4694 * tests/atlocal.in: Propagate $EGREP and $SED.
4695 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
4696 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
4698 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
4699 that '\|' is not allowed in BREs; recommend using newline separated
4700 list of patterns instead of multiple -e options.
4702 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
4704 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
4706 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4708 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
4710 2005-06-21 Stepan Kasal <kasal@ucw.cz>
4712 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
4713 b, t, r, w commands require single space, while : cannot have any.
4714 (Special Shell Variables): Fix sed code this in the example.
4715 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
4716 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
4718 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
4719 expand to the empty list. Don't use two pairs of m4_changequote,
4722 2005-06-20 Derek Price <derek@ximbiot.com>
4724 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
4726 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
4728 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
4729 * doc/autoconf.texi:
4730 Don't mention Solaris versions so much, if a
4731 problem is common to all extant versions of Solaris. Say "SunOS
4732 4" instead of "SunOS" for SunOS 4.
4733 (awk): Mention more of the limitations of traditional Awk.
4734 (cat): Don't talk about cat -v.
4736 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
4738 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
4739 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
4740 but the implementation is entirely different and is designed
4741 to be compatible with glibc strverscmp.
4742 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
4744 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
4745 on Mac OS X 10.4 reported by Peter O'Gorman in:
4746 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
4747 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
4748 Use shell builtins rather than 'expr', to work around expr bug.
4750 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
4752 * doc/autoconf.texi: "filesystem" -> "file system".
4753 "behaviour" -> "behavior".
4754 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
4755 * lib/autoconf/general.m4: Omit blank after ":" sed command,
4757 * lib/m4sugar/m4sh.m4: Likewise.
4758 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
4759 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
4761 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
4762 (.x.1): Ignore the time stamp in the .TH line when deciding whether
4763 to update the man page. That way, we don't have to check in new
4764 man pages every month.
4766 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
4767 quotes and backslashes. Patch from Derek Price.
4769 2005-06-10 Derek Price <derek@ximbiot.com>
4771 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
4774 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
4776 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
4777 -u, since it outputs chatter if the input files are the same.
4778 Problem reported by Ralf Menzel.
4780 2005-06-08 Derek Price <derek@ximbiot.com>
4782 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
4783 renaming them since they are about to be redefined anyhow.
4785 2005-06-08 Derek Price <derek@ximbiot.com>
4787 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
4788 redefined M4 macros to this node. Document m4_include & m4_sinclude.
4789 Move m4_undefine to alphabetical order.
4791 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
4793 * README: Recommend GNU M4 1.4.3 or later.
4794 * doc/autoconf.texi (Introduction): Likewise.
4795 Reword to avoid some formatting glitches.
4796 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
4797 Clarify explanation of HP compiler bug.
4798 Redo example output tp match current CVS snapshot.
4799 Use @example.org in email addresses when the examples
4800 might get inadvertently cut-and-pasted into user code.
4801 Remove example of autom4te usage that doesn't seem to work now.
4802 Use modern AC_INIT (except when the example is meant to be
4803 shown with Autoconf 2.13).
4804 Update ksh info for Solaris 9 and later.
4806 Modernize description of Automake versions a bit.
4807 Don't claim a future version of Autoconf is near.
4808 * doc/install.texi: Reword to avoid some formatting glitches.
4810 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4812 * doc/autoconf.texi: Add [] to examples, so that the manual
4813 follows its own advice about quoting better.
4814 Reword to avoid some formatting glitches.
4815 * doc/installt.exi: Reword to avoid some formatting glitches.
4817 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
4818 Tru64 ksh pattern matching bug. Reported against Libtool by
4819 Albert Chin <libtool@mlists.thewrittenword.com> and
4820 Nicolas Joly <njoly@pasteur.fr>.
4822 2005-06-06 Stepan Kasal <kasal@ucw.cz>
4824 m4_cdr of one-member list was [[]] (one-member list containing an
4825 empty string) instead of [] (an empty list. Callers were skewed to
4826 match this misbehaviour. As a consequence of this:
4827 - m4_foreach([x], [], [foo]) expanded to `foo', while
4828 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
4829 This bug has been fixed:
4831 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
4832 expand to an empty string; print error msg if called without
4834 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
4835 misbehaviour; handle [] and [[]] correctly.
4837 2005-06-06 Stepan Kasal <kasal@ucw.cz>
4839 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
4840 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
4841 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
4843 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
4845 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
4846 swallow records with more than 99 fields.
4847 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
4848 parse the long line.
4850 2005-06-04 Stepan Kasal <kasal@ucw.cz>
4852 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
4853 swallow literals longer than 399. Reported by Ralf Wildenhues.
4854 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
4855 to workaround this limitation.
4857 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
4859 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
4860 to gfortran, and make these the first two compiler names
4861 checked (following the general autoconf preference for gcc).
4863 2005-06-03 Stepan Kasal <kasal@ucw.cz>
4865 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
4866 (DISTCLEANFILES): Remove $(check_SCRIPTS).
4867 (testsuite): Make sure autotest.m4f is up-to-date before using it.
4869 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
4871 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
4872 expression of unbounded size when processing the --list
4873 option. This runs afoul of a limit of 399 bytes per regular
4874 expression on AIX. Problem reported by Ralf Wildenhues.
4876 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
4878 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
4879 * doc/autoconf.texi (Particular Headers): Reword example
4880 for multiline stdbool replacement.
4881 (Setting Output Variables): Reword text a bit. Don't
4882 give all the details about |#_!!_#|.
4883 Reword description of line replacement.
4885 2005-05-31 Dan Manthey <dan_manthey@partech.com>
4887 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
4888 now contain newlines, and substituted files must be referenced on
4889 a line alone; the sed scripts to substitute them are now very
4891 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
4892 commands can be put in a sed script portably.
4893 * doc/autoconf.texi (Setting Output Variables): Document above
4894 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
4895 use of multiline substitution.
4896 * tests/torture.at: No longer expect substitution of newline to fail.
4898 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
4900 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
4901 From Ralf Menzel (trivial change).
4903 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
4905 * tests/local.at: Don't attempt to check for negated character
4906 classes in shell scripts. The test was too brittle.
4908 2005-05-25 Stepan Kasal <kasal@ucw.cz>
4910 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
4911 * doc/autoconf.texi (Limitations of Builtins): Document this
4914 2005-05-24 Stepan Kasal <kasal@ucw.cz>
4916 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
4917 common code; used in many places in the tree.
4918 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
4919 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
4921 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
4923 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
4924 messages when ac_unique_file is not found.
4925 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
4926 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
4927 commands, for consistency with AC_MSG_ERROR and such.
4929 * bin/autoconf.as: Make more use of "shift 2" in option processing.
4931 * bin/Makefile.am: Merge the two rules for creating scripts.
4933 2005-05-23 Stepan Kasal <kasal@ucw.cz>
4935 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
4936 obsolete; it was never documented.
4937 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
4939 2005-05-20 Stepan Kasal <kasal@ucw.cz>
4941 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
4942 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
4943 (ac_top_builddir): ... this ...
4944 (ac_top_build_prefix): ... to this; the old name is also kept, for
4945 backward compatibility.
4946 (ac_top_builddir_sub): New variable, without the trailing slash,
4948 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
4949 * doc/autoconf.texi (Configuration Actions): Rename
4950 ac_top_builddir to ac_top_build_prefix.
4951 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
4952 at_top_builddir to at_top_build_prefix.
4953 * lib/autotest/general.m4 (AT_INIT): Likewise.
4955 2005-05-20 Stepan Kasal <kasal@ucw.cz>
4957 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
4960 2005-05-17 Stepan Kasal <kasal@ucw.cz>
4962 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
4963 argument to m4_foreach. I guess it was necessary in the past,
4964 but I think it's a no-op now.
4966 2005-05-17 Stepan Kasal <kasal@ucw.cz>
4968 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
4969 ``cat <<_ACEOF'' commands to one.
4970 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
4971 * lib/autoconf/status.m4: On various places, use expr instead of
4973 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
4974 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
4975 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
4977 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
4978 the wrong patterns between ``case'' and ``esac.'' The previous
4979 code had false positives.
4981 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
4983 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
4985 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
4988 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
4990 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
4991 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
4992 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
4993 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
4994 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
4995 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
4996 config/config.guess, config/config.sub, config/elisp-comp,
4997 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
4998 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
4999 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
5000 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
5001 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
5002 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
5003 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
5004 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
5005 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
5006 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
5007 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
5008 lib/autoconf/general.m4, lib/autoconf/headers.m4,
5009 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
5010 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
5011 lib/autoconf/specific.m4, lib/autoconf/status.m4,
5012 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
5013 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
5014 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
5015 lib/autotest/general.m4, lib/emacs/Makefile.am,
5016 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
5017 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
5018 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
5019 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
5020 tests/compile.at, tests/foreign.at, tests/fortran.at,
5021 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5022 tests/semantics.at, tests/suite.at, tests/tools.at,
5023 tests/torture.at, tests/wrapper.as:
5024 Update FSF postal mail address.
5026 2005-05-13 Stepan Kasal <kasal@ucw.cz>
5028 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
5030 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
5031 enough arguments, similarly as in m4_bpatsubsts.
5033 2005-05-12 Stepan Kasal <kasal@ucw.cz>
5035 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
5038 2005-05-11 Stepan Kasal <kasal@ucw.cz>
5040 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
5041 for absolute directory names in one loop.
5042 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
5043 abbreviations of --version and --debug.
5045 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
5047 * doc/autoconf.texi (Autoconf Language): Be more precise about
5048 quoting rules. Problems noted by Stepan Kasal.
5049 Also, throughout this document, be more careful about white space.
5050 "blank", "white space", and "space" all have different meanings
5051 and we should be careful to say what we mean.
5053 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
5055 Fix C++ related problems reported by Werner Lemberg.
5056 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
5057 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
5058 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
5059 avoid problems with C++ and throw.
5060 * tests/compile.at: .cpp, not .cc.
5062 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
5064 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5066 * doc/autoconf.texi (Generic Functions): Typos.
5068 2005-05-02 Gary V. Vaughan <gary@gnu.org>
5070 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
5071 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
5072 set by latest automake.
5074 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
5076 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
5077 outputs 0 on GNU/Linux these days.
5079 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
5081 * doc/autoconf.texi (Autoconf Language): Add more description
5082 about quoting heuristics.
5083 (Limitations of Builtins): Describe "set -" problems.
5085 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5087 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
5090 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
5091 by AC_DEFINE; it was a mistake.
5092 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
5094 2005-04-25 Stepan Kasal <kasal@ucw.cz>
5096 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
5098 2005-04-22 Stepan Kasal <kasal@ucw.cz>
5100 * doc/autoconf.texi (External Software): Quadrigraphs are not
5101 processed correctly in AS_HELP_STRING; avoid this in the examples.
5102 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
5103 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
5104 comment and reduce m4_default([foo], []) to [foo].
5105 (m4_strip): Update the explanation.
5107 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
5109 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
5110 Remove core.conftest.* too; it's generated by Tru64 5.1.
5111 Problem reported by Jennis Pruett.
5112 * lib/autoconf/functions.m4
5113 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
5114 Don't bother to remove core files; AC_RUN_IFELSE should do that
5117 2005-04-19 Stepan Kasal <kasal@ucw.cz>
5119 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
5121 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
5123 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
5124 Report from Horst Wente.
5126 2005-04-15 Stepan Kasal <kasal@ucw.cz>
5128 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
5131 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
5133 * doc/autoconf.texi (External Software, Package Options): Add
5134 examples showing how to implement --with-* and --enable-* options.
5136 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
5138 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
5139 as well as configure.in. Problem reported by Gregorio Guidi.
5141 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
5143 * doc/autoconf.texi (Particular Functions): Use gnulib's current
5144 pattern for alloca snippet.
5146 2005-04-04 Stepan Kasal <kasal@ucw.cz>
5148 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
5150 2005-04-01 Stepan Kasal <kasal@ucw.cz>
5152 * doc/autoconf.texi (Generic Programs): Fix a typo.
5154 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
5156 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
5157 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
5159 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5161 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
5162 Merge `-z option' as well for the benefit of Solaris link flags. Pass
5163 whole-archive (-zallextract, -zdefaultextract) options in the hope of
5164 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
5165 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
5167 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
5169 * NEWS: The configure command now warns you if you attempt to use
5170 a directory whose name contains a special character like space,
5172 * doc/autoconf.texi (Installation Directory Variables): Allow
5173 "," in file names. Do not use \@; it's not a portable regexp.
5174 * bin/Makefile.am (edit): Likewise.
5175 * lib/Makefile.am (edit): Likewise.
5176 * tests/Makefile.am (edit): Likewise.
5177 * tests/semantics.at: Likewise.
5178 * tests/torture.at: Likewise.
5179 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
5180 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
5181 * doc/autoconf.texi (File System Conventions): Warn about
5182 unportable file names.
5183 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
5185 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
5186 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
5187 ac_pwd, and quote srcdir.
5188 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
5190 * doc/autoconf.texi: Fix some systematic formatting problems.
5191 ".)" needs a following @: if not at the end of a sentence, and
5192 similarly for "!)". "etc." should be preceded by a comma.
5193 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
5195 2005-03-22 Bruno Haible <bruno@clisp.org>
5197 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
5198 argument is often called 'build-aux'.
5200 2005-03-07 Stepan Kasal <kasal@ucw.cz>
5202 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
5203 macro AC_TRY_LINK is obsolete.
5204 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
5207 2005-02-24 Stepan Kasal <kasal@ucw.cz>
5209 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
5210 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
5211 from a Common Lisp's `cl'.
5212 (AC_PROG_CXX): Behave according to the documentation: don't
5213 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
5214 make the variable CCC precious; use `cl.exe', not `cl'.
5216 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
5217 Alexandre Duret-Lutz <adl@gnu.org>
5219 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
5220 /dev/null, as "configure" shouldn't read stdin, and this insulates
5221 us from problems (e.g., when testing for "cl"). Also, do this
5222 redirection before invoking "hostname" or "uname", and keep the
5223 original input stream available via...
5224 (AS_ORIGINAL_STDIN_FD): ... this new macro.
5225 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
5226 bother with "</dev/null" since it's now done at the top of
5228 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
5229 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5230 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5231 * doc/autoconf.texi (File Descriptor Macros): New section.
5232 (Printing Messages): Mention it.
5233 * tests/base.at (Input/Output): New test.
5235 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
5237 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
5238 newline if neither \c nor -n work, as that would output two
5239 newlines. Prefer -n to \c. Reported by Stepan Kasal.
5241 2005-02-12 Stepan Kasal <kasal@ucw.cz>
5243 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
5244 This causes that any required macros inside will get before the if.
5245 * doc/autoconf.texi (autom4te.cache): A typo.
5247 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
5249 Undo previous change, except keep the change to
5250 lib/autoconf/programs.m4 that replaced grep with shell
5251 pattern-matching. This is because net-snmp configure reads stdin.
5252 Reported by Noah Misch.
5254 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
5256 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
5257 from /dev/null, as "configure" shouldn't read stdin, and this
5258 insulates us from problems (e.g., when testing for "cl").
5259 Suggested by Alexandre Duret-Lutz. Also, do this redirection
5260 before invoking "hostname" or "uname".
5261 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
5262 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
5263 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
5264 "</dev/null" since it's now done at the top of 'configure'.
5265 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5266 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5267 Also, replace grep with shell pattern-matching, to save a process.
5269 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
5271 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
5272 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
5273 avoid thinking that Allegro Common Lisp's "cl" command is a C++
5276 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
5278 * doc/autoconf.texi (Limitations of Usual Tools): Document that
5279 grep -q isn't portable. Improve grep -s explanation.
5280 Problem reported by Dan Manthey.
5282 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
5284 * doc/autoconf.texi (Special Shell Variables): Clarify
5285 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
5287 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
5289 * doc/autoconf.texi: Use @acronym for DJGPP.
5290 Fix some @code's that should have been @env's, and vice versa.
5291 Sort environment variable names.
5292 Mention that shells no longer inherit IFS.
5293 Don't recommend PATH_SEPARATOR=';' so strongly.
5294 Mention that $RANDOM might expand to the empty string.
5295 "symlink" and "soft link" -> "symbolic link".
5296 Improve mktemp description (reported by Bruno Haible).
5298 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
5300 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
5301 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
5303 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
5306 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
5308 * NEWS: Mention AT_COPYRIGHT.
5310 * tests/local.at (AT_CMP): Use diff directly on input files rather
5313 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
5314 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
5316 2005-02-04 Noah Misch <noah@cs.caltech.edu>
5317 and Paul Eggert <eggert@cs.ucla.edu>
5319 * tests/autotest.at (Empty test suite): New test.
5320 * tests/torture.at (Substitute and define special characters)
5321 (Substitute a 2000-byte string, Define to a 2000-byte string)
5322 (Substitute a newline, Define a newline): New tests.
5324 2005-02-04 Noah Misch <noah@cs.caltech.edu>
5326 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
5327 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
5328 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
5329 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
5330 (Standard regular expressions): New test.
5331 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
5332 excess test name quoting.
5333 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
5334 CPPFLAGS to `configure' instead of setting it in `configure'.
5336 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
5337 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
5340 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
5341 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
5343 * tests/local.at (AT_CMP): New macro.
5344 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
5345 (AC_SAVE_STATE): Move environment grep...
5346 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
5347 (AT_CONFIG_CMP): New macro.
5348 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
5349 * tests/c.at (Extensions): Do not exit early.
5350 * tests/atlocal.in: Inherit $GREP.
5352 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
5353 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
5355 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
5356 (AC_COPYRIGHT): Factor header comment portion out and move into...
5357 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
5358 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
5359 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
5361 * tests/local.at: Add Autoconf test suite copyright notice.
5362 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
5364 2005-02-04 Bruno Haible <bruno@clisp.org>
5365 and Paul Eggert <eggert@cs.ucla.edu>
5367 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
5369 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
5371 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
5372 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
5374 Try not to generated lines of unlimited length, as POSIX places a
5375 2047-byte limit on line length of portable text files.
5376 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
5377 Use newline as a separator, not space.
5378 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
5379 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
5382 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5384 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
5385 as_func_*. Add test to check whether positional parameters
5386 are restored after function return.
5388 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
5390 * doc/autoconf.texi (Special Shell Variables): Mention _,
5391 BIN_SH, DUALCASE. Say that variables other than "status" are safe
5392 if they contain a lower-case letter. The DUALCASE problem was
5393 reported by Ralf Wildenhues.
5395 * bin/autoconf.as: Don't exit with status 0 after write failure
5396 with --help or --version.
5397 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
5398 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
5400 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5402 * doc/autoconf.texi (Limitations of Usual Tools):
5403 Unicos 9 sed limitations.
5404 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
5405 to get the option-enhanced interface on older Crays. Try ftn for
5406 Fortran 95 (newer Crays).
5408 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
5410 * man/Makefile.am (.x.1): Go back to the simple solution, but take
5411 care to echo the commands, so the user knows what's going on.
5412 Modified from a suggestion by Stepan Kasal.
5414 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
5415 with a cross reference. Derived from a suggestion by Bruce Korb.
5417 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
5419 * doc/autoconf.texi (config.status Invocation): Warn about
5420 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
5421 * doc/install.texi (Defining Variables): Likewise.
5422 Based on a proposed patch by Ralf Wildenhues.
5424 * man/Makefile.am (.x.1): Make sure the required generated files
5425 are up to date. Problem and original solution proposed by Stepan Kasal.
5426 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
5427 implicit-man-prerequisites): New rules, used by the above.
5429 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
5430 * config/config.guess, config/config.sub, config/install-sh: Likewise.
5431 * config/missing, config/texinfo.tex: Likewise.
5433 2005-01-29 Stepan Kasal <kasal@ucw.cz>
5435 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
5436 Update the long comment explaining it.
5438 m4_require no longer writes an ``is required by'' line to the
5439 execution stack. It contains only one bit of non-redundant
5440 information: that the macro was required, not called. And even
5441 this bit is useless in most situations: have you ever met a macro
5442 which both calls and requires the same macro?
5444 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
5445 (_m4_defun_pro_outer): ... only via this macro, for the outermost
5447 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
5448 (m4_expansion_stack_pop): Remove the misplaced comment.
5449 (m4_require): Don't put the ``is required by'' line to the
5450 execution stack; slightly improve the out-of-a-defun error message.
5451 (_m4_divert_grow): New macro, counter for the temporary diversions.
5452 (_m4_require_call): Use it.
5453 * tests/m4sugar.at (m4_require): Expect output without the
5454 ``is required by'' messages.
5456 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
5458 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
5459 rather than x for expr.
5461 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
5463 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
5464 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
5465 * lib/autotest/general.m4 (AT_INIT): Likewise.
5466 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
5467 * tests/mktests.sh: Likewise.
5469 2005-01-27 Akim Demaille <akim@epita.fr>
5471 Have autoheader honor --force.
5473 * doc/make-stds.texi, doc/standards.texi: Update from masters.
5474 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
5475 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
5476 from masters, so that FileUtils.pm's update_file provide --force
5478 * bin/autoheader.in: Pass $force to update_file so that
5479 config.h.in is always recreated when --force.
5481 2005-01-24 Stepan Kasal <kasal@ucw.cz>
5483 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
5485 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
5487 * doc/autoconf.texi (Limitations of Builtins): Clarify that
5488 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
5490 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
5492 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
5493 Warn about newline stripping in `` and $(). Update Solaris
5495 (Limitations of Builtins): Use expr "X...", not expr "x...", as
5496 X insulates us from future changes to Posix.
5497 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
5500 2005-01-19 Stepan Kasal <kasal@ucw.cz>
5502 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
5503 you cannot use AC_DEFINE to define macros containing `[' or `]'.
5505 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
5507 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
5508 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
5509 bug-tar mailing list.
5511 2005-01-05 Stepan Kasal <kasal@ucw.cz>
5513 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
5515 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
5517 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
5518 ulongval to be static, to avoid unwanted GCC warning. Problem
5519 reported by Michael Jennings via Daniel Reed; see
5520 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
5522 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
5524 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
5525 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
5526 datadir, infodir, and mandir. Adjust argument parsing code.
5527 (_AC_INIT_HELP): Update help text.
5528 * doc/autoconf.texi (Installation Directory Variables): Document
5531 2005-01-04 Noah Misch <noah@cs.caltech.edu>
5533 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
5534 not seem to work, assume it does set $(MAKE).
5535 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
5537 2005-01-03 Stepan Kasal <kasal@ucw.cz>
5539 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
5541 2005-01-03 Stepan Kasal <kasal@ucw.cz>
5543 A cleanup of the diversion support in m4sugar.
5545 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
5546 (_m4_divert_n_stack): New macro; the expansion is
5547 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
5549 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
5550 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
5551 stored in _m4_divert_diversion or _m4_divert_dump.
5552 (m4_divert_pop): When the parameter is given, compare the symbolic
5553 name with the last diversion pushed on the stack. Previously, the
5554 current diversion was compared with the numeric value of the
5555 diversion given as the parameter.
5556 (m4_require): If the macro hasn't been expanded yet, call ...
5557 (_m4_require_call): this new macro.
5559 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5561 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
5562 Workarounds for documented `case' limitations.
5564 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
5566 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
5567 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
5569 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
5571 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
5572 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5573 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
5575 Patch from Roger Leigh (with some minor changes) as follows:
5576 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
5577 Resurrect AC_PROG_CC_STDC.
5578 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
5579 AC_PROG_CC_C89, AC_PROG_CC_C99.
5580 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
5581 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
5582 AC_PROG_CC_C99): New macros.
5583 (AC_PROG_CC_STDC): Use them.
5584 (_AC_PROG_CC_STDC): Remove.
5585 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
5586 * THANKS: Add Roger Leigh.
5588 2004-12-30 Noah Misch <noah@cs.caltech.edu>
5590 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
5591 signals that the package uses Automake; a `Makefile.am' is typical but
5592 not essential. Reported by Magnus Therning.
5593 * tests/torture.at (autoreconf.): New banner.
5594 (autoreconf and non-AC configure): Rename to `Non-Autoconf
5596 (autoreconf an empty directory): Rename to `Empty directory'.
5597 (Unusual Automake input files): New test.
5599 2004-12-30 Noah Misch <noah@cs.caltech.edu>
5601 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
5602 (AT_SETUP): Clear AT_capture_files.
5603 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
5604 (AT_KEYWORDS): Fix comment typo.
5605 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
5606 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
5607 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
5609 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
5611 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
5612 If the variable to set is already set, set ac_cv_path_$1
5613 to the preset value so caller can assume ac_cv_path_$1
5614 is available. (trivial change)
5616 2004-12-27 Noah Misch <noah@cs.caltech.edu>
5618 * BUGS (Minor Problems): Warn about makefile limitations.
5619 * Makefile.am: Find and update `INSTALL' in $(srcdir).
5620 * man/Makefile.am: Find and update manual pages in $(srcdir).
5622 2004-12-24 Eric Blake <ebb9@byu.net>
5624 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
5625 shells in subshell, to avoid noise from ash. (trivial change)
5627 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5629 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5630 problems with SunOS ksh and backslash escaping, Bourne shells and
5631 closing brackets (both within character classes). Bug reported
5632 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
5633 <read>: New entry. Mention non-availability of -r.
5635 2004-12-21 Akim Demaille <akim@epita.fr>
5637 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
5638 avoid cluttering displayed messages. Rather, prepend srcdir where
5639 AT_LINE is used for log files.
5641 2004-12-21 Stepan Kasal <kasal@ucw.cz>
5643 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
5644 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
5645 no longer part of the macro, quote the occurrence of ``$tmp''.
5646 * doc/autoconf.texi (Forbidden Patterns): Typo.
5648 2004-12-21 Akim Demaille <akim@epita.fr>
5650 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
5651 separated from the test title by forcing a white space.
5653 2004-12-21 Akim Demaille <akim@epita.fr>
5655 Enable Emacs navigation within testsuite.log files.
5657 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
5658 use the compilation mode.
5659 (AT_LINE): Point to the srcdir.
5661 2004-12-19 Noah Misch <noah@cs.caltech.edu>
5663 * tests/Makefile.am (installcheck-local): Use $(bindir).
5664 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
5665 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
5666 Makefile.am scheme Autoconf now uses.
5668 2004-12-18 Noah Misch <noah@cs.caltech.edu>
5670 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
5671 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
5673 2004-12-18 Noah Misch <noah@cs.caltech.edu>
5675 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
5676 (_AT_CHECK): Use it.
5677 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
5678 (AS_ESCAPE): Fix comment.
5679 * tests/autotest.at: Adjust section banner comments.
5680 (AT_CHECK_AT): Accept STATUS and STDERR.
5681 (AT_CHECK_AT_TEST): Likewise.
5682 (Invalid brace-enclosed parameter expansion)
5683 (Multiline command from M4 expansion)
5684 (Double-M4-quoted command): New tests.
5686 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
5688 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
5690 2004-12-17 Akim Demaille <akim@epita.fr>
5692 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
5694 Suggested by Alexandre Duret-Lutz.
5695 * doc/autoconf.texi (Setting Output Variables): Catch up.
5697 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5699 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
5701 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5703 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
5704 remove the comment which said we cannot.
5706 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5708 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
5709 Reini Urban and Paul Eggert for reporting the dependencies.
5711 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
5712 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
5713 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
5715 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5717 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
5718 so that eg. ``autoscan --help'' doesn't truncate it.
5720 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
5722 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
5723 generated conftest files.
5725 2004-12-13 Noah Misch <noah@cs.caltech.edu>
5727 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
5728 tracing on commands with possibly-escaped newlines.
5729 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
5730 discontinued behavior and its implications.
5731 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
5732 (BSx641-newline in command, BS-BS-newline in command)
5733 (BSx640-newline in command, Newline-CODE-BS-newline in command)
5734 (Single-quote-BS-newline in command)
5735 (Single-quote-newline-BS-newline in command): New tests.
5737 2004-12-13 Stepan Kasal <kasal@ucw.cz>
5739 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
5740 on platforms where it works.
5741 (_AS_TEST_PREPARE): Test for ``test -x''.
5742 (_AS_BROKEN_TEST_PREPARE): Nuke.
5744 2004-12-13 Stepan Kasal <kasal@ucw.cz>
5746 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
5747 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
5748 give only 4-letter prefix to AS_TMPDIR, comment fixed.
5749 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
5750 create the temporary directory.
5751 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
5753 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
5755 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
5758 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
5760 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
5762 2004-12-11 Noah Misch <noah@cs.caltech.edu>
5764 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
5765 to avoid using a negated character class. Reported by Nicolas Joly.
5766 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
5768 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
5770 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
5771 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
5772 Don't depend on .x file explicitly, since "make" does that for us.
5773 Suggested by Stepan Kasal.
5775 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
5777 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
5778 ifnames): Factor common code. And they said it couldn't be done!
5780 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
5782 * bin/.cvsignore: Add autoconf.in.
5783 * tests/.cvsignore: Add wrapper.in.
5784 * lib/autotest/general.m4: Escape '$' in case pattern.
5786 2004-12-09 Noah Misch <noah@cs.caltech.edu>
5788 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
5790 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
5792 * tests/autotest.at: New file.
5793 * tests/suite.at: Include it.
5794 * tests/Makefile.am: Distribute it.
5796 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
5797 shell tracing on a command that could contain multiple lines.
5798 * doc/autoconf.text: Document that fact and its implications.
5799 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
5800 * tests/autotest.at (Multiline backquote command substitution,
5801 Multiline parameter expansion, Literal multiline command,
5802 Multiline parenthetical command substitution): Remove XFAIL.
5804 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
5806 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
5807 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
5809 2004-12-08 Noah Misch <noah@cs.caltech.edu>
5811 * configure.ac (test suite): Cease to generate wrapper scripts.
5812 * configure: Regenerate.
5813 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
5814 (m4f_dependencies): Adjust accordingly.
5815 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
5816 (wrapper.in): Generate it in the build directory.
5817 (MAINTAINERCLEANFILES): Delete wrapper.in.
5818 (CLEANFILES): Add wrapper.in.
5819 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
5820 the output. Replace each $as_me with a @wrap_program@.
5821 * tests/wrapper.in: Delete it; we always build it.
5823 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
5824 (EXTRA_DIST): Remove autoconf.in.
5825 (CLEANFILES): Add autoconf.in.
5826 (autoconf): Find autoconf.in in the build directory.
5827 * bin/autoconf.in: Delete it; we always build it.
5829 2004-12-08 Noah Misch <noah@cs.caltech.edu>
5831 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
5832 PATH members so as to not prepend an empty element. Move a comment.
5833 * Makefile.am (SUBDIRS): Build in `tests' last.
5834 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
5836 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
5838 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
5839 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
5840 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
5841 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
5843 2004-12-07 Stepan Kasal <kasal@ucw.cz>
5845 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
5848 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
5850 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
5851 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
5852 * doc/autoconf.texi (Particular Functions): Mention new behavior.
5854 2004-12-03 Stepan Kasal <kasal@ucw.cz>
5856 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
5857 out the common code to ...
5858 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
5859 value of the #define--default to 1, iff the macro was called
5860 with exactly one parameter.
5862 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
5864 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
5865 "char c = '\200';" rather than "char c = 0x80;" as the
5866 latter doesn't conform to the strict C standard due to
5867 overflow on signed char hosts.
5869 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
5870 to -qlanglvl=ansi. We don't want to disable extensions.
5872 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
5874 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
5875 (Using Autotest, testsuite Scripts, Writing testsuite.at):
5876 Reword slightly to avoid some English-language problems noted
5877 by Ralf Wildenhues in:
5878 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
5880 2004-11-29 Stepan Kasal <kasal@ucw.cz>
5882 * NEWS: Add ^L above each release.
5884 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
5886 Fix documentation problems reported by Russ Boylan in
5887 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
5888 along with some nearby cruft.
5889 * doc/autoconf.texi (Libtool): Libtool can be used without
5890 Automake (not without Autoconf).
5891 (Introduction): Mention lists.gnu.org.
5892 * BUGS: Don't mention bugs.gnu.org.
5893 Remove mention of ancient libtool compatibility problem.
5894 * NEWS: Mention that bugs.gnu.org is kaput.
5895 * README: Likewise. Mention where mailing list archives can be found.
5897 2004-11-28 Stepan Kasal <kasal@ucw.cz>
5899 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
5901 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
5903 * doc/autoconf.texi (Pretty Help Strings): Go back to
5904 single-quoting assignments to cache variables.
5906 2004-11-23 Stepan Kasal <kasal@ucw.cz>
5908 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
5909 with the examples; fix the bug in MY_ARG_WITH example reported
5910 by Alexandre Duret-Lutz.
5911 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
5912 expansion of $1 in the comment emitted to configure.
5914 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
5916 * doc/autoconf.texi (Pretty Help Strings): Fix typo
5917 in my editing of the previous patch. Problem reported
5918 by Alexandre Duret-Lutz.
5920 2004-11-22 Stepan Kasal <kasal@ucw.cz>
5922 * doc/autoconf.texi (Autoconf Language): Explain that
5923 ``descriptions'' may not be double quotes.
5924 (Quotation Rule Of Thumb): Likewise.
5925 (Pretty Help Strings): Likewise; remove the wrong comment;
5926 simplify the examples and improve their quoting.
5928 2004-11-13 Stepan Kasal <kasal@ucw.cz>
5930 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
5931 the $1_found variable, don't test whether the file is executable;
5932 Both things are checked ...
5933 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
5934 the former ``test -f''.
5935 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
5937 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
5939 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
5942 2004-11-10 Derek R. Price <derek@ximbiot.com>
5944 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
5945 limitations. Reorder paragraphs for clarity.
5947 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
5949 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
5950 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
5951 variants", "Unix", and some related minor wording fixups.
5953 (Shellology, Special Shell Variables): Document that the Zsh
5954 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
5955 to Alexandre Duret-Lutz for this info.
5957 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
5959 * doc/autoconf.texi (One-Shot Macros): New node.
5961 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
5963 * doc/autoconf.texi (Function Portability): Fix misdescription
5964 of putenv. Problem reported by Michael Wardle.
5966 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
5968 * doc/autoconf.texi (auindex): New macro.
5969 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
5970 Problem reported by Stepan Kasal.
5972 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
5974 Fix problems reported by Andreas Buening in:
5975 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
5976 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
5978 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
5979 readable; it's not true in OS/2-emx.
5981 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
5983 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
5984 "/usr/include", clear ac_x_includes instead of leaving it as "no"
5985 (trivial change). Problem and patch reported by Andrew Church in:
5986 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
5988 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
5990 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
5991 three args in examples. Problem reported by Frederik Fouvry in:
5992 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
5993 Also, fix some minor spacing and punctuation bugs.
5995 2004-09-02 Akim Demaille <akim@epita.fr>
5997 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
5998 "case" to restore ordering.
5999 Reported by Stepan Kasal.
6001 2004-08-26 Akim Demaille <akim@epita.fr>
6003 * doc/autoconf.texi: Minor typos and stylos.
6005 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
6007 * configure.ac (AC_INIT): Bump to 2.59c.
6009 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
6013 * README: Add advice about m4 1.4.2.
6015 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
6016 texinfo.tex for now (done by hand now).
6017 * Makefile.maint (wget_files, cvs_files):
6018 Remove ansi2knr.c; nobody uses it.
6019 (ansi2knr.c-url_prefix): Remove.
6020 (cvs-update): Fix test for failure. I don't know why it ever
6023 * doc/autoconf.texi: Update URLs, some of which went stale.
6024 Use @uref rather than @href.
6026 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
6027 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
6029 * config/config.guess, config/config.sub, config/elisp-comp,
6030 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
6031 doc/fdl.texi, doc/standards.texi: Sync with master copy.
6033 * NEWS, TODO, configure.ac, bin/autoscan.in,
6034 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
6035 doc/install.texi, lib/Autom4te/Configure_ac.pm,
6036 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
6037 lib/autoconf/programs.m4, lib/autoconf/status.m4,
6038 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
6039 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
6040 tests/tools.at, tests/torture.at:
6041 Use "file name" rather than "filename" or "path",
6042 to be consistent with the terminology of the GNU coding standards.
6044 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
6046 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
6047 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
6048 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
6049 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
6051 More fixes to support spaces in the name of the build directory.
6052 This isn't a complete fix but it's an improvement.
6054 * bin/autoconf.as (autom4te_options): New var.
6055 Use it instead of appending to AUTOM4TE, so that we can allow
6056 spaces in the build directory's absolute name.
6057 * bin/autoheader.in ($autoconf): Allow spaces in file names.
6058 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
6059 AT_CHECK_NOESCAPE): Likewise.
6060 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
6061 main program): Likewise.
6063 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
6065 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
6066 From Ralf Corsepius in:
6067 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
6069 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
6071 * doc/autoconf.texi (Function Portability): Document isinf and
6072 and isnan. From a suggestion by Kevin Ryde.
6074 * lib/Autom4te/General.pm (END): Return correct exit status even
6075 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
6077 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
6079 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
6080 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
6081 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
6083 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
6085 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
6086 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
6087 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
6088 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
6089 * lib/autom4te.in (Automake-preselections): Preselect
6090 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
6092 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
6094 * lib/autom4te.in (Automake-preselections): Preselect
6095 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
6098 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
6100 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
6102 * doc/autoconf.texi (Shellology): Mention BIN_SH.
6103 Document problem with "`""`" in pdksh POSIX mode.
6105 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
6107 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
6108 with pdksh, too. Problem reported by Patrick Welche via
6110 * doc/autoconf.texi (Shellology): Note that set -o posix is
6111 useful for pkdsh, too.
6113 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
6115 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
6116 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
6117 Don't fail if ENV or BASH_ENV is readonly.
6118 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
6119 etc. are read only. Problem reported by Ludovic Courtes.
6121 2004-06-23 Noah Misch <noah@cs.caltech.edu>
6123 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
6124 zsh, disable GLOB_SUBST to avoid backslash handling problems.
6127 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
6129 * doc/autoconf.texi (File System Conventions): Warn about
6130 names like "aux". Problem reported by Eric Blake.
6132 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
6133 by zero instead of array size, so that we can use any arithmetic
6134 constant expression (instead of requiring an integer constant
6135 expression). This allows us to test expressions like DBL_MAX <
6136 LDBL_MAX, which didn't conform to the C standard using the old
6138 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
6139 now that we can do floating-point tests at compile time.
6141 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
6143 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
6144 and LDBL_EPSILON, as the resulting expression isn't an
6145 integer constant expression and violates the C standard.
6146 Problem reported by Nelson H. F. Beebe. Also, check
6147 for "L" suffix, and check that long double doesn't have
6148 worse range or precision than double, that mixed-mode
6149 arithmetic doesn't generate a diagnostic, that double
6150 constants fit in long double.
6152 2004-06-03 Kevin Ryde <user42@zip.com.au>
6154 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
6155 malloc(0) and realloc(NULL,size).
6157 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
6160 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
6162 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
6163 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
6166 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
6168 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
6169 can be rewritten using if-then-else. Suggested by Bruno Haible.
6171 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
6173 * doc/autoconf.texi (testsuite Scripts): Fix typo.
6174 Problem reported by Stepan Kasal.
6176 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
6178 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
6179 change). Patch reported by Ralf Wildenhues in
6180 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
6182 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
6183 function F exists if the compiler and linker let you compile an
6184 expression like (F != 0). Recent versions of GCC optimize away
6185 the reference to F in that case, since every function address must
6186 be nonzero, so the link succeeds even if F does not exist.
6187 Problem reported by Manu in
6188 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
6190 * doc/autoconf.texi (Systemology): Standardize on the spelling of
6191 "Unix". Many uses changed.
6192 (Limitations of Builtins): Explain better why the ! command isn't
6195 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
6197 * lib/autom4te.in (Automake-preselections): Preselect
6198 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
6200 2004-05-19 Kevin Ryde <user42@zip.com.au>
6202 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
6203 referencing AC_FUNC_STRERROR_R.
6205 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
6206 note pessimistic assumption when cross compiling.
6208 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
6210 * doc/autoconf.texi (Limitations of Make): Note that BSD make
6211 (until 2004) invoked subcommands with sh -e, contra POSIX.
6212 Reported by Kevin Ryde.
6214 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
6216 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
6217 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
6218 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
6219 `test -f " /usr/bin/grep"', which _always_ failed.
6220 (AC_PROG_SED): Ditto bogus PATH fix.
6221 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
6222 requires that grep correctly supports _multiple_ `-e' options, rather
6223 than stating only that grep should accept `-e'.
6225 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
6227 Port to C99, which requires that 'exit' be declared.
6229 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
6230 to ensure that stdlib.h is included.
6231 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
6232 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
6233 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
6234 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6235 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
6236 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
6237 when using 'exit' in a test; C99 requires that 'exit' be declared.
6239 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
6241 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
6242 now prefers 'grep' implementations that accept -e.
6243 (Limitations of Usual Tools): Describe problems of traditional
6244 egrep and fgrep with long input lines, and of traditional grep
6246 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
6247 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
6248 All callers changed. Append /usr/xpg4/bin to the PATH, for
6250 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
6251 the user with complaints about multiple -e options.
6252 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
6253 Define it with AC_PROG_GREP.
6254 * configure.ac (AC_PROG_GREP): Add.
6255 * lib/freeze.mk (GREP): New macro.
6257 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
6259 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
6260 a possible candidate only after all others fail, rather than
6261 consulting it first. This improves backward compatibility by
6262 better reflecting the way shell selection occurred in previous
6263 versions of Autoconf, and should help to avoid triggering latent
6264 problems in other packages, such as the one in Automake where zsh
6265 is not handled robustly:
6266 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
6267 Although it is not Autoconf's responsibility to work around
6268 problems in Automake, it nevertheless makes sense to avoid
6269 introducing unnecessary incompatibilites.
6271 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
6272 Gary V. Vaughan <gary@gnu.org>
6274 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
6275 how deeply nested we are when a suitable tool is found, set the
6276 ac_path_TOOL_found flag.
6277 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
6278 nested we are in this macro. Break out of all 3 nested loops if
6279 ac_path_TOOL_found is set.
6281 2004-04-21 Gary V. Vaughan <gary@gnu.org>
6283 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
6284 of the _AS_PATH_WALK loop too if GNU flavor is found.
6286 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
6288 * doc/autoconf.texi (Limitations of Make): Update documentation
6289 for `$<'. New entry `Long lines', based on a report from Simon
6290 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
6291 paragraph about DJGPP, based on a mail from Richard Dawe.
6293 2004-04-20 Paul Eggert <eggert@twinsun.com>
6295 * tests/c.at (C keywords): Don't assume that GCC supports
6296 "restrict" and "inline", as sufficiently-old GCC versions do not
6297 (also, GCC configured to be in pedantic C89 mode does not).
6298 Problem reported by Sumit Pandya in:
6299 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
6301 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
6302 consider -g to work if it generates warnings when plain compiles
6303 don't. Problem reported by Braden McDaniel in:
6304 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
6306 * doc/autoconf.texi (Slashes): New section, to document a problem
6307 reported by Jim Meyering in:
6308 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
6310 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
6311 linker output files before linking, to work around IRIX 6 linker bug.
6312 Problem reported by Rainer Orth in:
6313 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
6315 2004-04-20 Gary V. Vaughan <gary@gnu.org>
6317 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
6318 best tool so far counter rely on the tool path variable name to
6319 avoid checks for one tool being affected by the results of running
6320 the length check on a previous tool.
6322 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
6323 match expression argument, as different greps have different
6324 regular expression flavours.
6325 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
6327 (AC_PROG_EGREP): Pass 'EGREP$'.
6328 (AC_PROG_GREP): Pass 'GREP$'.
6330 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
6332 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
6333 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
6335 2004-03-29 Paul Eggert <eggert@twinsun.com>
6337 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
6338 Types, Specific Compiler Characteristics, System Services,
6339 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
6340 etc. consistently instead of 'long', 'short', 'unsigned' etc.
6341 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
6342 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
6344 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
6345 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
6346 AC_TYPE_OFF_T): Likewise.
6347 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
6350 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
6351 pacify libtool 1.5.2. Fix quoting problems in sed command.
6353 2004-03-28 Paul Eggert <eggert@twinsun.com>
6355 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
6356 now defines HAVE_DECL_TZNAME if it is declared, when
6357 HAVE_STRUCT_TM_TM_ZONE is not defined.
6358 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
6359 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
6362 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
6364 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
6365 superfluous backslashing of quotes (") in sed expressions;
6366 thanks to Paul Eggert.
6368 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
6370 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
6371 Fortran compiler is ifort, also added pghpf; thanks to Nelson
6372 H. F. Beebe for the bug report.
6374 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
6376 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
6377 quoted -cmdline argument in Portland Group compiler (bug
6378 reported by Jeffrey J. Barteet).
6380 2004-03-25 Kevin Ryde <user42@zip.com.au>
6382 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
6383 (Run Time): ... here, where it's now mentioned.
6385 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
6387 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
6388 inherits from language Autoconf-without-aclocal-m4.
6389 (Customizing autom4te): Adjust example; the cache must now be
6390 disabled for language Autoconf-without-aclocal-m4.
6392 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
6393 Nathanael Nerode <neroden@twcny.rr.com>
6395 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
6396 AC_CHECK_TOOLS): Warn if a cross-tool is found without
6398 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
6399 AC_CHECK_TARGET_TOOLS): New macros.
6400 * doc/autoconf.texi (Generic Programs): Document
6401 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
6402 AC_CHECK_TARGET_TOOLS, and warn for future changes
6403 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
6405 (Specifying Names): Document the reason for these future
6407 * tests/mktests.sh: Do not generate tests for the
6409 * NEWS: Document these changes.
6411 * doc/autoconf.texi: Avoid macros with unbraced arguments,
6412 they make TeX hang up.
6414 2004-03-15 Paul Eggert <eggert@bogus.example.com>
6416 * NEWS: New macro AC_CHECK_ALIGNOF.
6417 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
6418 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
6419 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
6421 (AC_CHECK_ALIGNOF): New macro.
6422 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
6423 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
6426 2004-03-03 Paul Eggert <eggert@twinsun.com>
6428 * bin/Makefile.am (edit): Don't use $< in a context where
6429 POSIX doesn't require support for it. Use $@.in instead.
6430 Problem reported by Anthony N. Frasso in
6431 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
6432 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
6434 2004-02-23 Gary V. Vaughan <gary@gnu.org>
6436 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
6437 from the next generation of Libtool.
6438 * lib/autom4te.in (Autoreconf-preselections): Ditto.
6440 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
6442 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
6443 is not always thread-safe. Report from Nathanael Nerode.
6445 2004-02-18 Paul Eggert <eggert@twinsun.com>
6447 Fix a dependencies problem, stemming from a Autoconf 2.59 build
6448 problem on QNX reported by Stephen Rasku in
6449 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
6451 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
6452 $(m4sh_m4f_dependencies); this removes a FIXME.
6453 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
6454 (MAINTAINERCLEANFILES): Split into pieces,
6455 one per related section. Add $(srcdir)/wrapper.in.
6457 2004-02-09 Paul Eggert <eggert@twinsun.com>
6459 * doc/autoconf.texi (Setting Output Variables): Emphasize that
6460 AC_SUBST provides no portable way to escape literal newlines.
6462 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
6463 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
6464 Darwin uses -lcrt2.o and there's little point to cataloging all
6465 the system variants. Partial fix reported by Andreas Waechter in:
6466 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
6467 for bug reported by Nelson H. F. Beebe in:
6468 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
6470 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
6472 * doc/autoconf.texi (AU_DEFUN): Fix English,
6473 suggested by Paul Eggert.
6474 * lib/autoconf/autoupdate.m4: Correct reference to
6475 acobsolete.m4, suggested by Alexandre Duret-Lutz.
6477 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
6479 * bin/autoupdate.in: Define __file__ so that warnings
6480 refer to the correct file.
6481 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
6482 the behavior of the third argument.
6483 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
6484 correctly the behavior of the third argument. Document
6485 what the three macros that AU_DEFUN defines do. Fix
6486 warning message when the third argument includes $0
6487 (reported by Alexandre Duret-Lutz).
6489 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
6490 Eric Sunshine <sunshine@sunshineco.com>
6491 Paul Eggert <eggert@twinsun.com>
6493 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
6494 (AS_INIT): Output shell initialization there. Removed optional
6495 parameter. Expand _AS_SHELL_FN_SPY.
6496 (AS_INIT_WITH_SHELL_FN): Removed.
6497 (_AS_SHELL_FN_SPY): New macro.
6498 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
6500 (AS_SHELL_SANITIZE): Remove loop to find better shell
6501 and documentation for the parameter.
6502 (_AS_DETECT_BETTER_SHELL): Move it here.
6503 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
6504 (_AS_RUN): Move it here, support testing with eval.
6505 (AS_REQUIRE_SHELL_FN): Require shell functions when
6507 (_AS_LINENO_WORKS): Put around braces, we do not
6508 trigger the bash bug anymore.
6509 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
6510 use AS_INIT_WITH_SHELL_FN.
6511 * bin/autoconf.in, tests/wrapper.in: Regenerated.
6513 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
6515 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
6516 * doc/autoconf.texi: Don't say that the third parameter
6518 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
6519 (AU_DEFUN): Honor the third parameter, create autoupdate
6520 macros with AU_DEFINE.
6521 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
6522 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
6523 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
6524 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
6525 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
6526 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
6527 AC_XENIX_DIR): Likewise.
6528 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
6529 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
6530 * lib/autoconf/status.m4: Remove FIXME.
6531 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
6532 that the macro is not present anymore in the updated
6534 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
6537 2004-01-28 Paul Eggert <eggert@twinsun.com>
6539 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
6541 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
6542 2003 (except 1997) to the list of copyright years. This undoes
6543 the 2003-05-22 change, which removed the older years from the list.
6544 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
6546 2004-01-27 Gary V. Vaughan <gary@gnu.org>
6547 Albert Chin-A-Young <china@thewrittenword.com>
6549 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
6550 grep or ggrep program in PATH that accepts as long lines as
6552 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
6554 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
6555 egrep and fgrep respectively if $GREP -E/-F don't work.
6556 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
6557 _AC_PROG_GREP, and AC_PROG_SED.
6558 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
6559 longest input length accepted by a command.
6560 (AC_PROG_SED): Use it.
6561 * doc/autoconf.texi (Particular Programs): Document the changes.
6564 2004-01-27 Paul Eggert <eggert@twinsun.com>
6566 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
6567 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6568 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
6569 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
6571 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
6572 bin/autoconf.in, config/Makefile.in, config/config.guess,
6573 config/config.sub, config/install-sh, config/mdate-sh,
6574 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
6575 lib/Makefile.in, lib/Autom4te/Makefile.in,
6576 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
6577 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
6578 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
6579 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
6580 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
6581 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
6582 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
6583 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
6584 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
6585 tests/actypes.at: Regenerate and/or sync with original
6588 2004-01-26 Paul Eggert <eggert@twinsun.com>
6590 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
6591 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
6592 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
6593 not <inttypes.h>. Problem reported by Tim Mooney in
6594 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
6595 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
6598 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
6599 otherwise "make check" fails because it forbids cmp (I guess
6600 because cmp treats files as binary on DOS-like systems).
6602 * tests/mktests.sh: Update copyright date to 2004, since some tests
6603 have changed in 2004.
6605 2004-01-23 Gary V. Vaughan <gary@gnu.org>
6607 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
6608 non-truncating sed or gsed program in PATH.
6609 * tests/acprograms.at: Add it.
6610 * doc/autoconf.texi (Particular Programs): Document it.
6613 2004-01-15 Paul Eggert <eggert@twinsun.com>
6615 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
6616 -std1 disables some useful extensions on Tru64. Problem reported
6618 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
6620 2004-01-14 Paul Eggert <eggert@twinsun.com>
6622 * doc/autoconf.texi (Programming in M4sh): Document that
6623 AS_MKDIR_P succeeds if the destination is a symbolic link
6624 to an existing directory.
6625 (Limitations of Usual Tools): Note that mkdir -p might not
6626 succeed on symlinks to directories.
6628 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
6630 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
6631 * bin/autoheader.in: Grammar fix in message.
6632 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
6633 Test for dir before calling mkdir -p. (trivial changes)
6635 2004-01-13 Eric Blake <ebb9@byu.net>
6637 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
6638 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
6640 2004-01-10 Jim Meyering <jim@meyering.net>
6642 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
6644 2004-01-09 Paul Eggert <eggert@twinsun.com>
6646 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
6647 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
6648 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
6649 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
6650 AC_COMPILE_IFELSE, since we now assume our caller invokes
6651 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
6652 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
6653 of AC_RUN_IFELSE; this avoids the warning mentioned above.
6654 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
6656 2004-01-07 Paul Eggert <eggert@twinsun.com>
6658 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
6659 `"'...'"`, as it's confusing (and I suspect it may not work on
6660 some platforms). The code was incorrect anyway, as it assumed
6661 that \$ evaluated to itself in that context. Reported by
6662 Alexandre Duret-Lutz.
6664 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
6666 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
6667 and _LT_AC_TAGCONFIG.
6669 2004-01-06 Paul Eggert <eggert@twinsun.com>
6671 * doc/autoconf.texi (One Macro Call): Fix an incorrect
6672 example, and add more examples. Reported by Eric Sunshine.
6674 2004-01-05 Paul Eggert <eggert@twinsun.com>
6676 * doc/autoconf.texi (Limitations of Usual Tools):
6677 Remove warning against "rm -fr" introduced yesterday; it
6680 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
6681 autoscan, autoupdate, ifnames): Don't use chmod -w.
6682 * lib/Makefile.am (autom4te.cfg): Likewise.
6683 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
6686 2004-01-04 Paul Eggert <eggert@twinsun.com>
6687 Paolo Bonzini <bonzini@gnu.org>
6689 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
6690 by doing lineno substitution only on lines containing "$LINENO".
6692 2004-01-04 Paul Eggert <eggert@twinsun.com>
6694 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
6695 Use "rm -f" to remove conftest.sed, not plain "rm".
6696 Bug reported by David Relson in
6697 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
6699 * Makefile.am (autom4te-update):
6700 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
6701 * Makefile.maint (my-distcheck, do-po-update): Likewise.
6702 * doc/autoconf.texi (Guidelines): Likewise.
6703 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
6704 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
6705 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6706 * lib/autotest/general.m4 (AT_INIT): Likewise.
6707 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
6708 * tests/Makefile.am (clean-local): Likewise.
6709 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
6711 * doc/autoconf.texi (Limitations of Usual Tools):
6712 Warn against "rm -fr".
6714 2004-01-03 Paul Eggert <eggert@twinsun.com>
6716 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
6717 -c -o might not work. From a suggestion by Kevin Ryde.
6718 (C Compiler, Generating Sources, Limitations
6719 of Usual Tools, Limitations of Make, Making testsuite Scripts):
6720 Don't put '-o' after non-options, as POSIX doesn't allow this.
6721 Mention that cc's name might be gcc or c89 or whatever.
6723 2004-01-04 Kevin Ryde <user42@zip.com.au>
6725 * doc/autoconf.texi: Add various further index entries.
6727 2003-12-29 Paul Eggert <eggert@twinsun.com>
6729 * bin/autoreconf.in (autoreconf_current_directory):
6730 Fix typo: mkdir without umask arg.
6732 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
6734 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
6735 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
6736 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
6737 explanation clearer.
6739 2003-12-24 Andreas Schwab <schwab@suse.de>
6741 * doc/autoconf.texi (Default Includes): Fix misspelling of
6742 AC_INCLUDES_DEFAULT.
6744 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
6746 * configure.ac: Test if sh -n works.
6747 * configure: Regenerate.
6748 * tests/atlocal.in: Store the result here.
6749 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
6750 tools.at, looking in atlocal's ac_cv_sh_n_works instead
6751 of explicitly testing.
6752 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
6753 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
6754 * tests/tools.at (Syntax of the shell scripts): Simplify
6755 using AT_CHECK_SHELL_SYNTAX.
6756 (Syntax of the Perl scripts): Remove definition of
6757 AT_CHECK_PERL_SYNTAX.
6759 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
6761 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
6762 stderr to /dev/null.
6763 * bin/autoconf.in: Regenerate.
6764 * bin/wrapper.in: Regenerate.
6766 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
6768 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
6769 Extracted from AS_SHELL_SANITIZE.
6770 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
6772 (AS_SHELL_SANITIZE): Move reinvocation code from
6773 _AS_LINENO_WORKS, use it to find out if shell
6775 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
6777 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
6778 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
6780 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
6781 * bin/autoconf.in: Regenerate.
6782 * tests/wrapper.in: Regenerate.
6783 * tests/tools.at: Test the syntax of tests/autoconf
6784 and tests/testsuite.
6786 2003-11-24 Akim Demaille <akim@epita.fr>
6788 * config/announce-gen (&print_locations, &print_signatures)
6791 No longer rely on Gnus to inline the list of signatures: compute
6794 2003-11-24 Akim Demaille <akim@epita.fr>
6796 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
6797 override some files.
6798 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
6799 From Debian Autoconf 2.58.
6801 2003-11-24 Akim Demaille <akim@epita.fr>
6803 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
6805 From Debian Autoconf 2.58.
6807 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6809 * TODO: Remove already done things. Update the part about finding
6810 tools for the target.
6812 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6814 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
6815 Make wording more consistent.
6816 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6817 Explain the transition better.
6818 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
6819 the transition better.
6821 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6823 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
6824 parameter of AU_DEFUN.
6825 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
6826 (AU_DEFUN): Remove the third parameter, it was not used.
6827 Use AC_DEFUN directly, not AU_DEFINE.
6828 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
6829 the expanded body, consistently with other macros such as AC_USG.
6831 2003-11-17 Paul Eggert <eggert@twinsun.com>
6833 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
6834 into the initial confdefs.h, to work around a bug in NextStep 3.3
6835 patch 3 reported by Eric Sunshine.
6837 2003-11-15 Kevin Ryde <user42@zip.com.au>
6839 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
6840 than $target since the latter is not usual, add guidelines on when to
6841 use or not use the system type.
6843 2003-11-12 Derek Price <derek@ximbiot.com>
6845 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
6846 typo misrepaired by an auto-spellcheck.
6848 2003-11-12 Akim Demaille <akim@epita.fr>
6850 * bin/autoreconf.in (&parse_args): Don't call automake with
6851 --force-missing unless it actually supports it.
6852 From Debian #219336.
6854 2003-11-12 Akim Demaille <akim@epita.fr>
6856 * configure.ac: Bump to 2.59a.
6859 2003-11-06 Akim Demaille <akim@epita.fr>
6863 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
6865 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
6866 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
6867 and ac_abs_top_srcdir are absolute paths.
6868 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
6870 2003-11-05 Akim Demaille <akim@epita.fr>
6872 * configure.ac: Bump to 2.58a.
6874 2003-11-05 Kevin Ryde <user42@zip.com.au>
6876 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
6877 it provokes a warning from makeinfo about looking like a cross
6878 reference in info output.
6880 * doc/autoconf.texi (Function Portability): Add notes on signal
6881 handler return type, as per AC_TYPE_SIGNAL.
6883 2003-11-04 Akim Demaille <akim@epita.fr>
6886 * doc/standards.texi: Update from master.
6888 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
6890 2003-11-04 Akim Demaille <akim@epita.fr>
6892 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
6893 computing the absolute path to d1 in the source hierarchy: it may
6894 not exist at all. So don't cd into it.
6895 From Alexandre Duret-Lutz.
6896 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
6898 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
6899 From Paul Eggert, but named after Perl's IO::Spec->catfile.
6900 * doc/autoconf.texi (Programming in M4sh): Document.
6901 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
6903 2003-11-03 Pavel Roskin <proski@gnu.org>
6905 * doc/autoconf.texi (Generic Structure Checks): Describe
6906 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
6908 2003-10-31 Akim Demaille <akim@epita.fr>
6910 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
6912 * doc/autoconf.texi (Language Choice): Document.
6913 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
6914 the current language is Fortran.
6916 2003-10-31 Akim Demaille <akim@epita.fr>
6918 * bin/autom4te.in (&freeze): Use a less likely warning separator
6919 than `\n\n', so that `\n\n\n' is valid in warnings.
6920 Reported by Steve Huston.
6922 2003-10-28 Akim Demaille <akim@epita.fr>
6924 * Makefile.cfg (local_updates, executable-update): Tweak to be
6925 robust to parallel makes.
6926 Suggested by Alexandre Duret-Lutz.
6928 2003-10-27 Akim Demaille <akim@epita.fr>
6930 * Makefile.cfg (executable-update): New.
6931 (local_updates): Call it.
6933 2003-10-27 Akim Demaille <akim@epita.fr>
6935 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
6936 Don't remove core.* as it may remove valid user files.
6937 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
6938 (AC_FUNC_UTIME_NULL): Likewise.
6940 2003-10-23 Akim Demaille <akim@epita.fr>
6943 * config/config.guess, config/config.sub: Upgrade from masters.
6945 2003-10-23 Akim Demaille <akim@epita.fr>
6947 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
6948 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
6951 2003-10-23 Akim Demaille <akim@epita.fr>
6953 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
6954 Don't forget to remove conftest.err.
6956 2003-10-23 Akim Demaille <akim@epita.fr>
6958 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
6959 same object file in $LIBOBJS.
6960 Reported by Alexandre Duret-Lutz & Derek Robert Price.
6961 * doc/autoconf.texi (Generic Functions): Adjust.
6963 2003-10-20 Paul Eggert <eggert@twinsun.com>
6965 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
6966 Use 'eval', so that the resulting configure scripts work even if
6967 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
6969 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
6971 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
6972 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
6973 (_AC_LINK_IFELSE): Check the werror flag.
6974 * doc/autoconf.texi (Generic Compiler Characteristics): Document
6978 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
6980 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
6981 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
6982 override AC_LINK_IFELSE.
6984 2003-10-15 Paul Eggert <eggert@twinsun.com>
6986 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
6987 pdksh 5.2.14. Bug reported by Ralf Corsepius.
6988 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
6989 Mention /usr/dt/bin/dtksh on Solaris.
6990 (Shell Substitutions): Warn about $((...)).
6991 (Parentheses): New section.
6993 2003-10-15 Kevin Ryde <user42@zip.com.au>
6995 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
6996 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
6998 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
7000 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
7003 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
7005 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
7006 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
7008 2003-10-10 Andreas Schwab <schwab@suse.de>
7010 * bin/autoheader.in: Avoid empty first line in --version and
7012 * bin/ifnames.in: Likewise.
7014 2003-10-09 Paul Eggert <eggert@twinsun.com>
7016 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
7017 Issue a more-informative diagnostic.
7018 Problems reported by Eric Sunshine.
7020 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
7022 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
7023 -mGLOB_options_string stuff for Intel ifc, which can cause
7024 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
7025 pattern-matching instead of grep.
7027 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
7029 * doc/autoconf.texi: Document new FC Fortran macros.
7031 2003-10-08 Gary V. Vaughan <gary@gnu.org>
7033 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
7034 that future autopoint/aclocal/automake/autoreconf will be able
7035 to trace to find where to install local m4 macros.
7036 * doc/autoconf.texi (Input): Document it.
7039 2003-10-06 Gary V. Vaughan <gary@gnu.org>
7041 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
7042 -lcrtbegin.o to list of ignored flags and fix underquoting of
7045 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
7047 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
7048 cache variable instead of $G77 to decide whether to include -O2,
7049 since $G77 is specific to Fortran 77.
7051 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
7053 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
7054 free" flag. Re-order flags tested into rough order of popularity.
7056 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
7058 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
7059 arguments so that it can be used with syntax identical to
7060 AC_PROG_F77, and so that we can more easily decide to
7061 remove/deprecate the DIALECT optional argument in the future if it
7063 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
7064 non-freeform-supporting compilers. Document freeform flags.
7066 2003-10-03 Akim Demaille <akim@epita.fr>
7068 * configure.ac: Look for emacs, not macs.
7069 Reported by Eric Sunshine.
7071 2003-10-03 Akim Demaille <akim@epita.fr>
7073 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
7074 * bin/autoreconf.in (autoreconf_current_directory): Create the
7075 AUX_DIR if needed, for sake of automake --add-missing etc.
7076 Suggested by Alexandre Duret-Lutz.
7078 2003-10-03 Akim Demaille <akim@epita.fr>
7080 * configure.ac: Quotation and formatting changes.
7081 (EMACS): Don't set it if it is not recent enough to support
7085 2003-10-02 Akim Demaille <akim@epita.fr>
7087 * bin/ifnames.in (&scan_file): Skip C++ comments.
7090 2003-10-01 Pavel Roskin <proski@gnu.org>
7092 * doc/autoconf.texi (Particular Structure Checks):
7093 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
7095 2003-10-01 Akim Demaille <akim@epita.fr>
7099 2003-09-30 Paul Eggert <eggert@twinsun.com>
7101 * lib/Autom4te/XFile.pm: Use Errno.
7102 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
7103 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
7105 2003-09-30 Akim Demaille <akim@epita.fr>
7107 * config/announce-gen (&print_news_deltas): Extracted from...
7108 (&print_changelog_deltas): here.
7109 (&news_file): Rename as...
7112 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
7114 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
7115 have been created when invoking the compiler.
7116 * tests/fortran.at (GNU Fortran 77): Quote $G77.
7118 2003-09-29 Akim Demaille <akim@epita.fr>
7122 * config/mkinstalldirs: Upgrade.
7124 2003-09-28 Paul Eggert <eggert@twinsun.com>
7126 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
7127 Problem reported by Lars J. Aas in
7128 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
7129 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
7130 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
7131 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
7133 2003-09-26 Akim Demaille <akim@epita.fr>
7135 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
7136 directory for AC_CONFIG_COMMANDS' first argument exists.
7137 This makes valid the invocation of _AC_SRCPATH that follows.
7138 Reported by Eric Sunshine.
7139 * doc/autoconf.texi (Configuration Commands): Adjust.
7141 2003-09-26 Akim Demaille <akim@epita.fr>
7143 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
7144 Reported by Ralf Corsepius.
7146 2003-09-26 Akim Demaille <akim@epita.fr>
7148 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
7150 Actually, use AU_ALIAS.
7153 2003-09-26 Paul Eggert <eggert@twinsun.com>
7155 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
7156 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
7157 Problem reported by Eric Sunshine in:
7158 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
7160 2003-09-26 Akim Demaille <akim@epita.fr>
7162 The test suite are sometimes assigning timings incorrectly.
7163 Reported by Henk Krus.
7164 Diagnosed by Nicolas Joly.
7166 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
7168 Instead of making AT_help a sequence of assignments to grow
7169 $at_help_all, just make AT_help_all be the growing contents of
7170 $at_help_all, and make a single assignment in...
7172 (at_times_skip): Flip the meaning and rename as...
7174 (AT_INIT): When summarizing the test that ran, remove
7175 $at_times_file after use, and check it is present before trying to
7178 2003-09-25 Akim Demaille <akim@epita.fr>
7182 * bin/Makefile.am (edit): Handle '@configure_input@'.
7183 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
7184 (ifnames): chmod -w.
7185 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
7186 executables, not bin/ executables! Otherwise all the magic needed
7187 to find non installed files is turned off. This caused a failure
7188 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
7189 as found in its environment (sent by tests/autoreconf): pointing
7190 to bin/autom4te that could not find its files.
7191 * tests/mktests.sh: Force the replacement of generated files, for
7192 the sake of "mv" program that are interactive when overwriting a
7194 * config/install-sh: Upgrade from CVS Automake.
7196 2003-09-23 Paul Eggert <eggert@twinsun.com>
7198 * doc/autoconf.texi (Limitations of Builtins): Document test -h
7199 versus test -L issues.
7201 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
7202 Paul Eggert <eggert@twinsun.com>
7204 Trivial change to support GCC's configuration procedure.
7205 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
7206 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
7207 about inconsistency if the preprocessor is set to give errors for
7209 * doc/autoconf.texi (C Compiler Characteristics): Document this.
7211 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
7213 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
7214 and XFile.pm from Automake.
7215 * lib/Autom4te/XFile.pm: Update from Automake.
7217 2003-09-12 Akim Demaille <akim@epita.fr>
7221 2003-09-12 Akim Demaille <akim@epita.fr>
7223 * config/config.guess, config/config.sub, config/missing,
7224 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
7227 2003-09-12 Akim Demaille <akim@epita.fr>
7229 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
7232 2003-09-11 Akim Demaille <akim@epita.fr>
7234 * doc/autoconf.texi (Header Portability): linux/random.h.
7235 From Peter Hendrickson.
7237 2003-09-10 Akim Demaille <akim@epita.fr>
7239 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
7240 willing to edit the output files.
7242 2003-09-10 Akim Demaille <akim@epita.fr>
7244 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
7246 * tests/mktests.sh: Skip AC_FC_SRCEXT.
7247 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
7249 2003-09-09 Akim Demaille <akim@epita.fr>
7251 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
7252 Reported by Gary Vaughan.
7253 * bin/autom4te.in (handle_m4): Likewise.
7255 2003-09-09 Akim Demaille <akim@epita.fr>
7257 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
7260 2003-09-07 Paul Eggert <eggert@twinsun.com>
7262 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
7263 Improve the accuracy of the wording about obsolescence.
7264 From a suggestion by Ian Lance Taylor in
7265 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
7267 2003-09-05 Paul Eggert <eggert@twinsun.com>
7269 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
7270 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
7272 2003-09-04 Akim Demaille <akim@epita.fr>
7274 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
7277 2003-09-04 Akim Demaille <akim@epita.fr>
7279 * bin/autom4te.in: Use &fatal where more appropriate than &error.
7280 (freeze): When exiting, use $exit_code.
7281 * lib/autoconf/fortran.m4: Comment changes.
7283 2003-09-04 Akim Demaille <akim@epita.fr>
7285 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
7287 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
7289 Add support for newer Fortran dialects. The F77 interface is
7290 unchanged, and continues to support Fortran 77. New FC macros
7291 correspond to all the old F77 macros, with output variables FC,
7292 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
7293 available dialect, but older dialects can be specified. There are
7294 new macros AC_FC_SRCEXT to set the source extension, and
7295 AC_FC_FREEFORM to accept free-form source files.
7297 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
7299 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
7300 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
7301 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
7302 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
7303 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
7304 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
7305 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
7306 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
7307 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
7308 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
7309 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
7310 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
7311 AC_FC_SRCEXT, AC_FC_FREEFORM):
7313 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
7314 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
7315 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
7316 Rewrite in terms of the above.
7317 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
7318 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
7319 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
7320 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
7322 2003-09-02 Paul Eggert <eggert@twinsun.com>
7324 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
7325 Document problems with timestamp resolution that 'make', 'cp -p', and
7328 2003-08-27 Akim Demaille <akim@epita.fr>
7330 * tests/m4sugar.at (cross_warning): Make sure to enable the
7331 output, so that we can track spurious m4sugar output.
7332 * tests/local.at: Require 2.57.
7333 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
7334 are defaulted by AT_CHECK anyway.
7335 Use AT_CHECK_AUTOM4TE.
7336 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
7339 2003-08-27 Akim Demaille <akim@epita.fr>
7341 * bin/autoheader.in: Issue the "Using auxiliary..." message only
7342 when -Wobsolete is set.
7343 Set it on by default.
7344 Suggested by Klee Dienes.
7346 2003-08-27 Akim Demaille <akim@epita.fr>
7348 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
7352 2003-08-26 Akim Demaille <akim@epita.fr>
7354 * doc/autoconf.texi (Output): Make clear that one can run code
7357 2003-08-25 Akim Demaille <akim@epita.fr>
7359 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
7362 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
7364 * bin/autoreconf.in (parse_args): Do not pass --no-force to
7365 Automake versions prior to 1.8.
7367 2003-08-25 Akim Demaille <akim@epita.fr>
7369 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
7372 2003-08-24 Akim Demaille <akim@epita.fr>
7374 * configure.ac: Bump to 2.57c.
7376 2003-08-22 Akim Demaille <akim@epita.fr>
7380 * Makefile.cfg (local-checks-to-skip): New.
7381 * Makefile.maint (local-check): Rename as...
7382 (local-checks-available): this.
7385 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
7386 * configure.ac: Require Automake 1.7.6.
7388 2003-08-22 Akim Demaille <akim@epita.fr>
7390 Output stack traces in warnings.
7392 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
7393 Replace the former...
7394 (m4_warn): Pass the call stack to _m4_warn.
7395 * bin/autom4te.in: Adjust to output the call stack.
7396 * tests/m4sugar.at (m4@&t@_warn): Adjust.
7398 2003-08-22 Akim Demaille <akim@epita.fr>
7400 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
7401 * bin/autom4te.in: Adjust.
7403 2003-08-21 Akim Demaille <akim@epita.fr>
7405 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
7407 (&getopt): Adjust the note and verb channels, depending upon
7409 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
7410 * bin/autoupdate.in: Adjust.
7411 Use &verb, not &verbose.
7413 2003-08-21 Akim Demaille <akim@epita.fr>
7415 * bin/autoheader.in (&parse_args): Use &parse_warnings and
7417 ($help): Use Autom4te::ChannelDefs::usage.
7418 * bin/autoscan.in: Use Autom4te::ChannelDefs.
7419 * lib/Autom4te/General.pm: Don't export error: you don't own it.
7421 2003-08-21 Akim Demaille <akim@epita.fr>
7423 First stab at preserving warnings between calls to autom4te,
7424 including when the cache is used.
7426 There are still several issues: (i) there are too many runs of m4
7427 (one for include, one for warnings, and some more), (ii) warnings
7428 spreading on several lines are not handled gracefully, (iii) the
7429 code meant to have the call stack display for errors does not work
7430 (its handling should move from m4 to autom4te).
7432 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
7434 (@preselect): Add m4_warn.
7435 ($exit_status): Remove, use $exit_code.
7436 ($help): Use Autom4te::ChannelDefs::usage.
7437 (&handle_m4): No longer define the m4_warnings.
7438 At each run, extract and report the warnings.
7439 Always cache the result, including if the exit status is on
7440 failure, since if nothing changes, we should result in the same
7441 failure, hence we can use the cache.
7442 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
7443 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
7445 (m4_warn): Redefine as a do-nothing: it is its invocation that
7446 matters, as warnings are now reported via traces.
7447 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
7448 the contents of m4_warn: make it _call_ m4_warn, so that tracing
7449 the latter reveals calls to the former.
7453 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
7455 2003-08-21 Akim Demaille <akim@epita.fr>
7457 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
7460 2003-08-21 Akim Demaille <akim@epita.fr>
7462 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
7464 * lib/Autom4te/ChannelDefs.pm: Doc typos.
7465 (&parse_warnings): Accept a list of warning requests.
7466 (&usage): Return a string, not a side effect.
7467 (cross): New warning category.
7469 2003-08-21 Akim Demaille <akim@epita.fr>
7471 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
7472 (&require_configure_ac): Accept an optional directory argument.
7473 ($configure_ac): Remove.
7474 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
7476 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
7477 * bin/autoscan.in: Adjust.
7479 2003-08-20 Akim Demaille <akim@epita.fr>
7481 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
7482 Reported by Alexandre Duret-Lutz.
7484 2003-08-20 Akim Demaille <akim@epita.fr>
7486 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
7487 * bin/autom4te: Adjust.
7488 In particular, be Autoconf tools are really silent when properly
7489 working, bind the verbosity of the 'note' channel to $verbose.
7490 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
7491 (&xsystem, &contents): Remove, since they are exported by...
7492 * lib/Autom4te/FileUtils.pm: this.
7494 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
7495 * lib/Autom4te/FileUtils.pm: here.
7497 2003-08-20 Akim Demaille <akim@epita.fr>
7499 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
7500 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
7503 2003-08-20 Akim Demaille <akim@epita.fr>
7505 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
7506 (autom4te-update): New.
7507 * Makefile.cfg (update): Bind autom4te-update.
7509 2003-08-19 Derek Price <derek@ximbiot.com>
7511 * lib/autotest/general.m4: Comment various HELP_* diversions.
7512 (PARSE_ARGS_BEGIN): New section for option parsing related
7514 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
7515 package specific options and associated help.
7517 2003-08-19 Akim Demaille <akim@epita.fr>
7519 * config/announce-gen, Makefile.cfg: New.
7520 * Makefile.am: Adjust.
7521 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
7523 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
7525 * lib/autom4te.in (Automake-preselections): Preselect
7526 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
7529 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
7531 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
7532 (Autoconf-without-aclocal-m4): ... this new language.
7533 * doc/autoconf.texi (autom4te Invocation): Mention
7534 Autoconf-without-aclocal-m4.
7536 2003-08-18 Derek Price <derek@ximbiot.com>
7538 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
7539 RUN-IF-PASS optional arguments.
7541 2003-08-18 Derek Price <derek@ximbiot.com>
7543 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
7545 2003-08-16 Derek Price <derek@ximbiot.com>
7547 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
7548 STDOUT & STDERR arguments.
7550 2003-08-14 Derek Price <derek@ximbiot.com>
7552 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
7553 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
7554 shorter column three. Add DESCRIPTION to log file content.
7556 2003-08-13 Derek Price <derek@ximbiot.com>
7558 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
7561 2003-08-12 Derek Price <derek@ximbiot.com>
7563 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
7564 (AT_CHECK_NOESCAPE): Move core functionality to...
7565 (_AT_CHECK): ...this new macro.
7567 2003-08-07 Derek Price <derek@ximbiot.com>
7569 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
7570 (AT_CHECK_NOESCAPE): ...to this new macro.
7572 2003-07-31 Paul Eggert <eggert@twinsun.com>
7574 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
7575 in Bash 2.01. Problem reported by Brian Gough in
7576 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
7578 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
7580 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
7581 -lcrt1.o, for OS X. (trivial change)
7583 2003-07-07 Paul Eggert <eggert@twinsun.com>
7585 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
7586 inside '#ifndef __cplusplus'. Problem reported by
7589 2003-07-06 Bill Clarke <llib@computer.org>
7591 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
7592 'long', not 'int', for benefit of Sun's recent C++ compilers
7593 (trivial change). See:
7594 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
7595 (This really should be 'intptr_t', not 'long', but that would
7598 2003-06-25 Akim Demaille <akim@epita.fr>
7600 * lib/Makefile.am (autom4te.cfg): Make it read only.
7601 Depend on Makefile since it contains substitutions.
7603 * lib/autom4te.in (args): Add local.at? for Autotest args.
7604 This change was made on autom4te.cfg which is generated.
7605 Reported by Raja R. Harinath.
7607 2003-06-25 Akim Demaille <akim@epita.fr>
7609 * doc/autoconf.texi (Header Portability): sys/mount.h.
7610 From Gareth McCaughan.
7612 2003-06-23 Akim Demaille <akim@epita.fr>
7614 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
7615 not all of them. This fixes 1. the fact that when testing
7616 Autoconf there are many many config.log, 2. the incorrect use of
7617 top_srcdir to find config.log.
7618 Don't mix the detailed output of failed test with the summary of
7619 failures. Rather, append detailed log afterwards.
7621 2003-06-23 Akim Demaille <akim@epita.fr>
7623 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
7624 always run: output config.log on $at_group_log.
7626 2003-06-23 Akim Demaille <akim@epita.fr>
7628 * tests/torture.at (#define header templates): Don't use quotes in
7629 C++ comments as it puzzles Emacs' sh font-lock-mode.
7631 2003-06-23 Akim Demaille <akim@epita.fr>
7633 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
7634 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
7635 * tests/atspecific.m4: Rename as...
7636 * tests/local.at: This.
7637 * tests/suite.at: Move the globals into...
7638 * tests/local.at: here.
7639 * tests/Makefile.am: Adjust.
7640 * doc/autoconf.texi (testsuite Scripts): Adjust.
7642 2003-06-21 Kevin Ryde <user42@zip.com.au>
7644 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
7645 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
7646 ensuring we add -std1 for full-ANSI.
7648 * doc/autoconf.texi (hdrindex): New macro.
7649 Add index entries for portability of various standard header files.
7651 2003-06-20 Akim Demaille <akim@epita.fr>
7653 * configure.ac: Bump to 2.57b.
7655 2003-06-20 Akim Demaille <akim@epita.fr>
7659 2003-06-20 Akim Demaille <akim@epita.fr>
7661 * bin/autom4te.in: Don't rely on $HOME being defined.
7662 Reported by Marc Espie as PR/233.
7664 2003-06-20 Akim Demaille <akim@epita.fr>
7666 * lib/autotest/general.m4: Use at_times_file only if used.
7669 2003-06-20 Akim Demaille <akim@epita.fr>
7671 * config/config.guess, config/config.sub, config/elisp-comp,
7672 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
7673 Update from masters.
7675 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
7677 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
7678 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
7679 (TEST_SCRIPT): New diversion.
7680 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
7681 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
7682 (AT_INIT): Support for expected failures.
7684 2003-06-02 Akim Demaille <akim@epita.fr>
7686 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
7688 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
7689 Autoconf nor Automake.
7690 (&contents): New, from Automake.
7693 2003-05-28 Paul Eggert <eggert@twinsun.com>
7695 * NEWS, doc/autoconf.texi (Particular Functions),
7696 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
7697 is the inverse of localtime.
7699 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
7701 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
7702 (handle_exec_errors): New function. Work around $! being
7703 altered by WEXITSTATUS.
7704 (xqx, xsystem): Use handle_exec_errors.
7706 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
7708 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
7709 Do not call `_exit()', simply modify `$?'.
7710 (xsystem): Reset $! before running system, and check it afterward.
7711 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
7712 63 for version mismatches.
7714 2003-05-23 Akim Demaille <akim@epita.fr>
7716 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
7717 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
7718 the middle of a line).
7719 * lib/m4sugar/m4sugar.m4: Likewise.
7720 Remove useless spaces in comments.
7722 2003-05-23 Akim Demaille <akim@epita.fr>
7724 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
7725 exit 63, so that we (or Automake's "missing") can tell the
7726 difference with a plain failure.
7727 * doc/autoconf.texi (Notices): Adjust.
7729 2003-05-23 Akim Demaille <akim@epita.fr>
7731 * Makefile.am, bin/Makefile.am, config/Makefile.am,
7732 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
7733 White spaces cleanup.
7735 2003-05-22 Jim Meyering <jim@meyering.net>
7736 Paul Eggert <eggert@twinsun.com>
7738 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
7739 Remove `#include <stdlib.h>' from the list; we should never
7740 make confdefs.h include <stdlib.h> or <cstdlib>, because the
7741 resulting namespace pollution would cause other tests to fail.
7742 Configure scripts run with some older versions of g++ and HP's
7743 aCC would fail due to such an #include. Problems reported by
7744 Matthew Mueller in <http://bugs.debian.org/120704> and by
7746 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
7747 In the test, use the test declaration before including <stdlib.h>,
7748 as that's closer to how it'll be used.
7750 2003-05-23 Akim Demaille <akim@epita.fr>
7752 * doc/autoconf.texi (Header Portability): ucred.h.
7755 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
7757 Overhaul Autotest's logging: generate separate log files
7758 in testsuite.dir/NNN/testsuite.log, and append them to
7759 testsuite.log instead of re-running the test verbosely.
7761 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
7762 file descriptor, write 0 to at_status_file instead of setting
7763 at_status=0, initialize some new variables (at_status_file,
7764 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
7765 to rerun the tests, instead append the at_group_log to the
7766 at_suite_log when a test fails.
7767 (AT_SETUP): pipe the test case's output into at_tee_pipe,
7768 with the AS_MESSAGE_LOG_FD redirected to stdout.
7769 (AT_CLEANUP): save the output status in $at_status_file
7770 and restore it, redirect the AS_MESSAGE_LOG_FD back to
7772 (AT_CHECK): since tests are run with a redirected stdout,
7773 and used to be re-run in verbose mode, turn some $at_verbose
7774 into echo, and don't redirect the output of testing stdout
7777 * lib/autotest/autoconf.texi (testsuite Scripts): Update
7778 the name of the debugging directory and information about
7781 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
7783 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
7786 2003-05-22 Akim Demaille <akim@epita.fr>
7788 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
7789 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
7790 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
7791 * lib/autoconf/status.m4: Fix and adjust copyright notices.
7793 2003-05-22 Akim Demaille <akim@epita.fr>
7795 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
7796 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
7797 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7798 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
7799 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7800 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7801 * lib/autoconf/status.m4, lib/autoconf/types.m4,
7802 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
7803 * tests/atspecific.m4, tests/base.at, tests/compile.at,
7804 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
7805 * tests/tools.at, tests/torture.at:
7806 Whitespace clean up.
7807 Suggested by Jim Meyering.
7809 2003-05-22 Akim Demaille <akim@epita.fr>
7811 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
7812 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
7813 Reported by Jim Meyering.
7815 2003-05-22 Akim Demaille <akim@epita.fr>
7817 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
7818 Add AC_HELP_STRING to the obsolete macros section.
7820 Use '@.' for sentences that ended in a capital letter.
7823 2003-05-22 Akim Demaille <akim@epita.fr>
7825 * config/config.guess, config/config.sub, config/elisp-comp,
7826 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
7827 * config/texinfo.tex, doc/standards.texi: Update from masters.
7829 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
7831 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
7834 2003-05-21 Akim Demaille <akim@epita.fr>
7836 * bin/autoupdate.in ($m4): Fix quotation.
7837 Reported by Martin Mokrejs.
7839 2003-05-19 Paul Eggert <eggert@twinsun.com>
7841 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
7842 Remove non-ASCII characters.
7844 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
7846 * tests/semantics.at (AC_SEARCH_LIBS): New test.
7847 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
7848 AC_CHECK_HEADERS_NEW): New tests.
7850 2003-05-17 Akim Demaille <akim@epita.fr>
7852 * lib/autoconf/functions.m4: Use the default includes so that
7853 memcmp be declared before being tested.
7854 Reported by Sander Niemeijer.
7855 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
7856 * doc/autoconf.texi (Default Includes): Document
7857 AC_INCLUDES_DEFAULT.
7859 2003-05-17 Akim Demaille <akim@epita.fr>
7861 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
7862 * doc/autoconf.texi (Obsolete Macros): Adjust.
7863 Reported by Werner LEMBERG and Debian Bug 190886.
7865 2003-05-16 Akim Demaille <akim@epita.fr>
7867 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
7868 user name space clashes.
7869 Reported by Bruno Haible.
7871 2003-05-16 Akim Demaille <akim@epita.fr>
7873 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7874 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
7875 them uniform, and more robust to Perl special characters.
7876 Reported by Martin Mokrejs.
7878 2003-05-14 Akim Demaille <akim@epita.fr>
7880 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
7882 2003-05-14 Akim Demaille <akim@epita.fr>
7884 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
7887 2003-05-12 Akim Demaille <akim@epita.fr>
7889 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
7891 From Matthias Andree.
7893 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
7895 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
7898 2003-05-06 Akim Demaille <akim@epita.fr>
7900 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
7901 longer updates aclocal.m4 if useless, (ii) if a file m4_included
7902 by aclocal.m4 is changed it might require the importing of another
7903 m4 extension file, i.e., aclocal must be run.
7905 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
7906 (&parse_args): Use --force with aclocal if required and supported.
7907 (&autoreconf_current_directory): Use &run_aclocal.
7909 2003-05-06 Akim Demaille <akim@epita.fr>
7911 Lock autom4te's cache.
7913 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
7914 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
7915 argument instead of a file name, so that the request file remains
7916 open during the whole autom4te run.
7917 ($icache_file): New.
7918 (&freeze): Lock the $icache_file.
7920 2003-04-29 Derek Price <derek@ximbiot.com>
7922 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
7923 seperator with m4_append_uniq(). It doesn't work.
7924 (AT_CLEANUP): Add `;' to end of at_help_all.
7925 (AT_INIT): Allow --keywords to be specified more than once. When
7926 grepping $at_help_all for keywords, use the field and keyword
7927 seperators to ensure a complete keyword match. Alter at_prev handling
7928 to support the new --keywords behavior.
7930 2003-04-27 Karl Berry <karl@freefriends.org>
7932 * doc/autoconf.texi: Make the dir entries in the autoconf manual
7933 align better with others. I also made some of the individual
7934 entries on one line, for brevity and to make it easier for me to
7935 sort my dir-example file in the Texinfo distribution :).
7937 2003-04-12 Jim Meyering <jim@meyering.net>
7939 * NEWS: Mention the new macro.
7940 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
7941 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
7942 * tests/c.at: Test AC_C_RESTRICT.
7943 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
7945 2003-04-08 Akim Demaille <akim@epita.fr>
7947 * bin/ifnames.in: Skip C++ comments.
7950 2003-04-08 Akim Demaille <akim@epita.fr>
7952 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
7953 From Ilya Zakharevich.
7955 2003-04-08 Akim Demaille <akim@epita.fr>
7957 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
7960 2003-04-01 Derek Price <derek@ximbiot.com>
7962 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
7963 from Akim's checkin of 2003-03-29.
7965 2003-04-01 Derek Price <derek@ximbiot.com>
7967 * tests/torture.at (Configuring subdirectories): Add missing
7968 close-quote for Akim's change from 2003-03-28.
7970 2003-04-01 Akim Demaille <akim@epita.fr>
7972 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
7973 (AC, AT, MS): these.
7974 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
7977 * doc/Makefile.am (CLEANFILES): Adjust.
7978 (TEXI2DVI): Make it --batch.
7980 2003-03-31 Derek Price <derek@ximbiot.com>
7982 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
7983 which removed the main loop.
7984 Thanks to Akim Demaille.
7986 2003-03-29 Akim Demaille <akim@epita.fr>
7988 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
7990 From Ilya Zakharevich.
7992 2003-03-29 Akim Demaille <akim@epita.fr>
7994 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
7995 documentation to read is Autoconf's.
7996 Suggested by Paul Eggert.
7998 2003-03-28 Akim Demaille <akim@epita.fr>
8000 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
8001 reading the section "Present But Cannot Be Compiled" when the
8002 header causes problems.
8004 2003-03-28 Akim Demaille <akim@epita.fr>
8006 * tests/torture.at (Configuring subdirectories): Require aclocal
8007 1.4, otherwise the test fails, as it does support configure.ac.
8008 This fixes the "test 40 failed" bug reports.
8010 2003-03-28 Akim Demaille <akim@epita.fr>
8012 * doc/autoconf.texi (C Compiler): `#line' portability.
8013 From Paul Eggert and Nelson H. F. Beebe.
8015 2003-03-27 Derek Price <derek@ximbiot.com>
8017 * lib/autotest/general.m4: Eliminate main loop and reorganize test
8018 layout in order to allow scripting around test groups.
8020 2003-03-27 Derek Price <derek@ximbiot.com>
8022 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
8023 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
8024 use new diversions in preparation for accepting new arguments and
8025 allowing scripting around tests.
8026 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
8028 2003-03-26 Derek Price <derek@ximbiot.com>
8030 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
8031 obsolete AC_HELP_STRING.
8032 (AC_HELP_STRING): AU_DEFUN to...
8033 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
8034 * tests/m4sh.at (AS_HELP_STRING): New test.
8036 * tests/acgeneral.at: Regenerated.
8038 2003-03-26 Derek Price <derek@ximbiot.com>
8040 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
8041 sense. Verbosify the diversion definitions comment.
8043 2003-03-26 Derek Price <derek@ximbiot.com>
8045 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
8048 2003-03-21 Eric Siegerman <eric_97@pobox.com>
8050 * doc/autoconf.texi (Present But Cannot Be Compiled):
8051 Grammar fixes and minor rewording. (trivial change)
8053 2003-03-06 Paul Eggert <eggert@twinsun.com>
8055 Work around a problem noted by Nelson H. F. Beebe with coreutils
8056 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
8057 2002/05/09) rejects '#line 32768 "configure"' because the line
8059 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
8061 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
8062 * doc/autoconf.texi (Generating Sources): Document this.
8064 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
8066 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
8067 file name for the m4 program, when it has an "exe" file extension.
8068 DJGPP's error messages include the error code in brackets -
8069 remove the error code during normalization.
8071 2003-02-28 Akim Demaille <akim@epita.fr>
8073 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
8075 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
8077 * doc/autoconf.texi (Limitations of Make): Remove the section
8078 about `$<' in inference rules, it was a bogus interpretation of
8079 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
8080 Tru64 make in the "target lookup" section.
8081 (Automake): Automake 1.5+ no longer requires special tools to be
8082 present on the developer's host.
8084 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
8086 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
8087 to a shell that can handle redirection or quoting correctly.
8088 Override SHELL with the shell detected by configure.
8089 Use of $^O suggested by Tim van Holder.
8090 * bin/autom4te.in (BEGIN): Likewise.
8091 * bin/autoreconf.in (BEGIN): Likewise.
8092 * bin/autoscan.in (BEGIN): Likewise.
8093 * bin/autoupdate.in (BEGIN): Likewise.
8094 * bin/ifnames.in (BEGIN): Likewise.
8096 * bin/ifnames.in: Add final newline to help and version messages.
8098 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
8099 to cope with DOS-style absolute paths, when constructing
8102 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
8103 When constructing paths with IFS=:, quote the path. If we're
8104 constructing a DOS-style absolute path, we don't want to split it
8107 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
8110 2003-02-25 Pavel Roskin <proski@gnu.org>
8112 * bin/autoheader.in: Add missing newline when printing
8113 suggestion how change AC_DEFINE call.
8115 2003-02-24 Paul Eggert <eggert@twinsun.com>
8117 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
8118 2002-09-01 patch by replacing "test -n" with "test -z".
8119 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
8120 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
8122 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
8123 to fix a mismatch between example and discussion.
8125 2003-02-24 Kevin Ryde <user42@zip.com.au>
8127 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
8128 format starting with "-".
8130 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
8132 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
8133 is not portable inside Makefile.
8135 2003-02-20 Akim Demaille <akim@epita.fr>
8137 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
8138 compiler says yeah, but preproc says nope, compiler is right.
8139 Conversely, prompt the reader to send a bug report to the
8140 maintainers of the package, not of Autoconf.
8142 2003-02-20 Klee Dienes <kdienes@apple.com>
8144 * bin/autoreconf.in (autoreconf_current_directory): Properly
8145 handle an empty aclocal.m4.
8147 2003-02-20 Akim Demaille <akim@epita.fr>
8149 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
8153 2002-12-23 Paul Eggert <eggert@twinsun.com>
8155 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
8156 innocuous variant befor including <limits.h> or <assert.h>. This
8157 works around a bug reported by Albert Chin: HP-UX 11i
8158 (and earlier versions) have a <limits.h> that declares
8159 gettimeofday and many other functions.
8161 2002-12-03 Paul Eggert <eggert@twinsun.com>
8165 * NEWS, configure.ac: Update version.
8167 * doc/fdl.texi: Upgrade to FDL version 1.2.
8169 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
8170 nontrivially in main's body, so that f's external declaration is
8171 not optimized away in AIX. This should fix the bug reported by
8173 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
8175 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
8176 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
8177 defined, to support freestanding compilers. This should fix the
8178 bug reported by Momchil Velkov in
8179 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
8181 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
8182 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
8183 obsolete AC_CHECK_TYPE. The missing empty arg was reported
8184 by Simon Josefsson in
8185 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
8187 * Makefile.maint (www-gnu): New macro.
8188 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
8189 the location has moved.
8191 2002-12-02 Martin Frydl <martin@systinet.com>
8193 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
8194 \(.*\) match is too long and there is something more to be checked.
8195 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
8197 2002-11-15 Akim Demaille <akim@epita.fr>
8201 * config/install-sh: chmod +x.
8203 * config/move-if-change: Indenting changes.
8204 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
8205 * configure.ac (AM_INIT_AUTOMAKE): here.
8208 2002-11-14 Akim Demaille <akim@epita.fr>
8212 * config/config.guess, config/config.sub, config/install-sh:
8213 Update from masters.
8215 2002-11-14 Akim Demaille <akim@epita.fr>
8217 * Makefile.maint: Sync with Bison, i.e.:
8218 (po-check): Scan .l and .y files instead of the
8219 .c and the .h files that they generate. This fixes the bug
8220 reported by Tim Van Holder in:
8221 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
8222 Look for N_ as well as for _. Try to avoid matching #define for
8226 2002-11-14 Akim Demaille <akim@epita.fr>
8228 * doc/autoconf.texi (C Compiler): Compiling several files at once.
8229 From Paul Eggert and Albert Chin-A-Young.
8231 2002-11-14 Akim Demaille <akim@epita.fr>
8233 * doc/autoconf.texi (C Compiler): Solitary backslashes.
8234 From Paul Eggert and Albert Chin-A-Young.
8236 2002-11-14 Kevin Ryde <user42@zip.com.au>
8238 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
8239 than assigning in main, to avoid HP cc +O3 optimizing it away.
8241 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
8243 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
8244 option. Process --recheck after parsing all options. Pass -q
8245 option to configure on --recheck.
8246 (AC_OUTPUT): Pass -q from configure to config.status.
8247 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
8248 arguments to record.
8249 * doc/autoconf.texi (config.status Invocation): Document
8250 config.status -q option.
8252 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
8254 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
8255 Makefile.in if Makefile.am exists.
8256 (output): Strip `.am' from Makefiles. Don't
8257 output AC_CONFIG_FILES if no Makefiles were found.
8259 2002-11-07 Akim Demaille <akim@epita.fr>
8261 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
8262 (local_updates): New.
8263 * Makefile.maint: Update, from CVS Bison.
8264 (local_updates): New.
8266 2002-11-06 Akim Demaille <akim@epita.fr>
8268 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
8269 declaration in extern "C" too.
8270 Reported by Roberto Bagnara.
8272 2002-11-06 Akim Demaille <akim@epita.fr>
8274 * tests/torture.at (Configuring subdirectories): Don't use grep
8276 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
8277 Reported by Ezra Peisach.
8279 2002-11-05 Akim Demaille <akim@epita.fr>
8281 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
8283 We _have_ to stop using the old compatibility scheme that tried to
8284 avoid useless backslashes because Libtool 1.4.3 contains a
8285 AC_DEFINE([error_t], [int],
8286 [Define to a type to use for \`error_t' if it is not
8287 otherwise available.])
8288 We _have_ to quote the single quote and backslashes with \. The
8289 old compatibility scheme saw that ` was backslashed, and therefore
8290 did not quote the single quote. Hence before this patch, Autoconf
8291 was not compatible with Libtool.
8293 2002-11-04 Paul Eggert <eggert@twinsun.com>
8295 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
8296 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
8297 LC_NAME, LC_PAPER, LC_TELEPHONE.
8298 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
8300 2002-11-04 Akim Demaille <akim@epita.fr>
8304 * Makefile.maint (update, cvs-update, po-update, do-po-update):
8306 * config/texinfo.tex: Update.
8308 2002-11-03 Akim Demaille <akim@epita.fr>
8310 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
8312 (&autoreconf): here.
8313 ($help, $make, &parse_args, &autoreconf_current_directory):
8315 * doc/autoconf.texi (autoreconf Invocation): Adjust.
8317 2002-10-31 Bruno Haible <bruno@clisp.org>
8319 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
8320 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
8321 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
8322 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
8323 to ac_cv_func_realloc_0_nonnull.
8324 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
8326 2002-10-31 Akim Demaille <akim@epita.fr>
8328 The test suite was no longer checking for trailing envvars and files.
8330 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
8331 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
8333 2002-10-31 Akim Demaille <akim@epita.fr>
8335 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
8336 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
8337 Make variable, not a shell variable.
8338 Suggested by Bruno Haible.
8340 2002-10-31 Akim Demaille <akim@epita.fr>
8342 * bin/autom4te.in (load_configuration): Reject #args out of any
8345 2002-10-31 Akim Demaille <akim@epita.fr>
8347 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
8348 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
8349 (_AC_RUN_IFELSE): Use it.
8350 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
8351 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
8352 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
8355 2002-10-30 Akim Demaille <akim@epita.fr>
8357 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
8358 * doc/autoconf.texi (autom4te Invocation): Adjust.
8359 Suggested by Tim van Holder.
8361 2002-10-29 Paul Eggert <eggert@twinsun.com>
8363 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
8364 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
8365 Problem reported by Bruno Haible.
8367 2002-10-29 Akim Demaille <akim@epita.fr>
8369 * doc/autoconf.texi (Header Templates): Put also in words what the
8370 pictures says to assist free style readers.
8371 (Customizing autom4te): s/--cache=/--cache /.
8373 2002-10-29 Akim Demaille <akim@epita.fr>
8375 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
8377 sparc_address_test returns void.
8378 Use it with an argument, as prototyped.
8381 2002-10-29 Akim Demaille <akim@epita.fr>
8383 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
8384 configure.in, not configure.ac.
8385 Reported by Bruno Haible.
8387 2002-10-29 Akim Demaille <akim@epita.fr>
8389 * tests/torture.at (Deep Package): New test.
8390 (Configuring subdirectories): Don't use a testSubDir as Autotest
8393 2002-10-29 Akim Demaille <akim@epita.fr>
8395 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
8396 * doc/autoconf.texi (Invoking autom4te): Rename as...
8397 (autom4te Invocation): this, for consistency with the other nodes.
8399 2002-10-29 Akim Demaille <akim@epita.fr>
8401 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
8402 Reported by Ralf Corsepius.
8404 2002-10-29 Akim Demaille <akim@epita.fr>
8406 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8407 characters is a back as an `obsolete' warning now.
8408 Reported by Ralf Corsepius.
8410 2002-10-28 Akim Demaille <akim@epita.fr>
8412 * configure.ac: Bump to 2.54c.
8414 2002-10-28 Akim Demaille <akim@epita.fr>
8418 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
8420 2002-10-28 Akim Demaille <akim@epita.fr>
8422 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
8423 m4 executable names, and different GNU M4 version.
8424 Reported by Ezra Peisach and Paul Jarc.
8426 2002-10-27 Akim Demaille <akim@epita.fr>
8428 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
8431 2002-10-27 Akim Demaille <akim@epita.fr>
8433 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
8434 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
8435 Die when a simple Fortran program cannot be compiled.
8436 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
8437 Issue a warning if no function is given.
8439 2002-10-27 Akim Demaille <akim@epita.fr>
8441 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
8442 Move the documentation of AC_TRY_RUN to...
8443 (Obsolete Macros): here.
8444 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
8445 (autoconf Invocation): Remove the duplicates with `invoking
8447 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
8448 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
8450 2002-10-27 Akim Demaille <akim@epita.fr>
8452 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
8453 and AC_LANG_FUNC_LINK_TRY.
8454 (Examining Libraries): Rename as...
8455 (Running the Linker): this.
8456 Document AC_LINK_IFELSE.
8457 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
8458 (Obsolete Macros): here.
8459 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
8460 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
8461 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
8462 * lib/autoconf/headers.m4 (AC_USG): Likewise.
8464 2002-10-27 Akim Demaille <akim@epita.fr>
8466 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
8468 More `check config.log' messages.
8470 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
8471 * doc/autoconf.texi (Printing Messages): Document it.
8472 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
8474 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
8475 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
8476 (_AC_COMPILER_OBJEXT): Likewise.
8477 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
8478 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
8480 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
8483 Deprecate macros with unusual interfaces.
8485 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
8486 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
8488 Document the new ones, and proper style.
8490 * doc/autoconf.texi (Generating Sources): New.
8491 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
8492 (Examining Declarations): Rename as...
8493 (Running the Preprocessor): this.
8494 Document AC_PREPROC_IFELSE.
8495 (Examining Syntax): Rename as...
8496 (Running the Compiler): this.
8497 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
8498 (Obsolete Macros): Move the definition of AC_TRY_CPP and
8499 AC_TRY_COMPILE here.
8501 2002-10-27 Akim Demaille <akim@epita.fr>
8503 Move sections around.
8505 * doc/autoconf.texi (Customizing autom4te): Remove a lost
8507 Reported by Burno Haible.
8508 (Language Choice): Now the first section of...
8509 (Writing Tests): this section.
8510 Make the introduction less C-centric.
8511 (Guidelines, Test Functions): Move to...
8512 (Writing Test Programs): this new section.
8513 (Test Programs): Merge into...
8516 2002-10-27 Akim Demaille <akim@epita.fr>
8518 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
8519 autom4te.in that resulted in the need for two `make' runs.
8521 2002-10-27 Akim Demaille <akim@epita.fr>
8523 * configure.ac: Bump to 2.54b.
8525 2002-10-25 Akim Demaille <akim@epita.fr>
8529 * Makefile.maint: Update from the Coreutils.
8530 (AMTAR): Remove, obsolete.
8531 (automake_repo): Update to redhat.com.
8533 Adjust to the fact that ansi2knr is now hosted by Automake.
8534 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
8535 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
8536 Update from masters.
8537 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
8538 autoscan.pre is not to be installed, and autoscan.list is not to
8540 (CLEANFILES): Add autoscan.list.
8541 (autoscan.list): Disable the cache.
8542 * bin/Makefile.am: Include freeze.mk.
8544 2002-10-25 Akim Demaille <akim@epita.fr>
8546 * bin/autom4te.in (&load_configuration): Take the file as
8548 (&parse_args): Handle -C, --cache.
8550 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
8551 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
8552 * doc/autoconf.texi (Invoking autom4te): Document --cache.
8553 Now a subsection of...
8554 (Using autom4te): This new section.
8555 (Customizing autom4te): New.
8556 (autom4te.cache): Adjust.
8558 2002-10-25 Akim Demaille <akim@epita.fr>
8560 * doc/autoconf.texi (Generic Headers): More information on how to
8561 use AC_CHECK_HEADERS.
8563 2002-10-25 Akim Demaille <akim@epita.fr>
8565 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
8568 2002-10-25 Akim Demaille <akim@epita.fr>
8570 * bin/autoscan.in (output): Output AC_PREREQ.
8571 (%needed_macros): Add AC_PREREQ so that configure.ac without one
8574 2002-10-23 Akim Demaille <akim@epita.fr>
8576 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
8579 2002-10-23 Akim Demaille <akim@epita.fr>
8581 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
8582 Reported by Peter Eisentraut.
8584 2002-10-23 Akim Demaille <akim@epita.fr>
8586 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
8589 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
8590 Eggert's recommandations.
8592 2002-10-22 Akim Demaille <akim@epita.fr>
8594 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
8595 Bison, by Paul Eggert.
8596 * doc/autoconf.texi (Particular Headers): Document it.
8598 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
8600 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
8601 `$ac_configure_args'.
8603 2002-10-22 Akim Demaille <akim@epita.fr>
8605 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
8606 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
8609 2002-10-22 Akim Demaille <akim@epita.fr>
8611 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
8613 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8614 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
8615 (_AC_CHECK_HEADER_NEW): Rename as...
8616 (AC_CHECK_HEADER): this.
8618 2002-10-22 Akim Demaille <akim@epita.fr>
8620 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
8621 words about HP-UX cmp: it was actually a user-written cmp.
8623 2002-10-22 Akim Demaille <akim@epita.fr>
8625 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
8627 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8628 Quote for Perl '' strings, not "".
8629 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
8632 2002-10-22 Akim Demaille <akim@epita.fr>
8634 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8635 characters is a syntax warning now.
8636 (_AS_QUOTE): Accept $2 as list of characters to quote.
8637 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8638 Quote for Perl, not sh.
8639 * bin/autoheader.in: When $debug, report the file which is
8641 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
8642 `@', to tickle Perl's lists.
8643 Reported by Carlos Velasco.
8645 2002-10-18 Akim Demaille <akim@epita.fr>
8647 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
8648 missing included files _are_ errors.
8649 Thanks to Alexandre Duret-Lutz.
8650 * tests/tools.at (autom4te cache): Adjust.
8651 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
8652 (AT_CHECK_M4SUGAR): Use it.
8653 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8655 * tests/tools.at (autom4te): Now it does exit 1.
8657 2002-10-17 Akim Demaille <akim@epita.fr>
8659 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
8660 Fixes the `AC_ARG_VAR' test failures.
8661 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
8662 * lib/freeze.mk (check-forbidden-patterns): New.
8663 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
8664 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
8665 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
8667 Reported months ago by H. Merijn Brand.
8669 2002-10-17 Akim Demaille <akim@epita.fr>
8671 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
8673 2002-10-16 Paul Eggert <eggert@twinsun.com>
8675 * Makefile.maint (wget_files): Remove ansi2knr.c.
8676 (ansi2knr.c-url_prefix): Remove.
8678 2002-10-16 Akim Demaille <akim@epita.fr>
8680 Because of caching, some files that no longer exist and are no
8681 longer required can still cause errors.
8682 Reported by Alexandre Duret-Lutz.
8684 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
8685 to frozen files in @ARGV, as @ARGV must remain being a list of
8686 files. Rather, at M4 call sites, use this...
8687 (&files_to_options): New function.
8688 (&freeze): Use &error.
8689 (&up_to_date): If a file that was included according to the cache
8690 is no longer there, then the output is out dated.
8691 (&main): Don't even check whether a file is up to date is anyway
8693 * tests/tools.at (autom4te cache): New.
8695 2002-10-16 Akim Demaille <akim@epita.fr>
8697 * bin/autoconf.as: Kill dead options.
8698 * bin/autoupdate.in (&parse_args): Kill old options.
8699 * bin/autoreconf.in (&parse_args): Remove dead options.
8701 (&autoreconf): Report the directories we enter *and leave*, so
8702 that error messages can be easily located, and use GNU Make
8703 format, so that Emacs' compile mode understands us.
8704 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
8705 if some file was changed instead of `print'.
8706 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
8707 (&parse_args): Remove the dead options.
8708 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
8709 autoheader's quiet mode.
8710 (AT_CHECK_AUTOUPDATE): Likewise.
8711 * tests/tools.at (autoupdate): Adjust.
8712 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8714 2002-10-11 Akim Demaille <akim@epita.fr>
8716 No longer use CPP to check for the existing of headers: use CC to
8717 check for compilability.
8719 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8720 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
8721 (_AC_CHECK_HEADER_NEW): Rename as...
8722 (AC_CHECK_HEADER): this.
8724 * lib/autotest/general.m4 (AT_INIT): Include the failed test
8725 numbers in the Subject suggestion.
8727 2002-10-11 Akim Demaille <akim@epita.fr>
8729 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
8730 Suggest using AC_CHECK_DECLS instead.
8732 2002-10-11 Akim Demaille <akim@epita.fr>
8734 * tests/torture.at (AC_ARG_VAR): Have configure report the value
8737 2002-10-11 Akim Demaille <akim@epita.fr>
8739 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
8740 file name to enable parallel executions.
8741 From Sam Varshavchik.
8743 2002-10-08 Akim Demaille <akim@epita.fr>
8745 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
8746 aclocal invocation, as Gettext macros might not be visible to
8748 Instead of blindly running autopoint, scan configure.ac (not the
8749 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
8750 Reported by Paul D. Smith.
8752 2002-10-08 Paul Eggert <eggert@twinsun.com>
8754 Work around problems found when POSIXLY_CORRECT=1 is set.
8755 None of this seems to have anything to do with POSIX, really,
8756 but it's how Perl getopt works.
8757 * bin/autom4te.in (parse_args): Configure GetOpt with
8759 * doc/autoconf.texi (Invoking autom4te):
8760 --warning -> --warnings.
8761 * lib/autom4te.in: --warning -> --warnings.
8763 2002-09-28 Akim Demaille <akim@epita.fr>
8765 * doc/autoconf.texi (autom4te.cache): New section.
8767 2002-09-28 Akim Demaille <akim@epita.fr>
8769 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
8770 (Automake-preselections): Update.
8771 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
8773 2002-09-28 Akim Demaille <akim@epita.fr>
8775 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
8776 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
8777 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8778 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
8780 2002-09-28 Akim Demaille <akim@epita.fr>
8782 * tests/torture.at (Configuring subdirectories): Be robust to
8783 users who use config.site to require for a cache: in this case,
8784 the two last configure runs, using two different sets of
8785 arguments, trigger a legitimate error.
8787 2002-09-28 Akim Demaille <akim@epita.fr>
8789 * tests/m4sh.at (Functions Support, Functions and return Support):
8792 2002-09-28 Akim Demaille <akim@epita.fr>
8794 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
8795 autoheader are Perl programs.
8796 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
8797 (autom4te): Specify that the sources are in the $srcdir.
8798 * doc/autoconf.texi (Installation Directory Variables): Adjust.
8800 2002-09-28 Akim Demaille <akim@epita.fr>
8802 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
8803 (tm_zone): Move their rules to...
8804 * lib/autoconf/types.m4: here, using AN_ macros.
8805 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
8806 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
8807 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
8808 * lib/autoconf/programs.m4: here.
8809 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
8810 (ETAGS_FOR_AUTOCONF): New.
8813 2002-09-28 Akim Demaille <akim@epita.fr>
8815 * lib/autoconf/autoscan.m4: New file.
8816 * lib/autoconf/autoconf.m4: Include it.
8817 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
8818 that were listed in the original autoscan.list.
8819 * lib/autoconf/headers.m4: Similarly with headers.
8820 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
8821 (.m4.m4f): Don't pass --prepend-include, since that's done by
8822 tests/autom4te itself.
8823 * lib/autoscan/Makefile.am: Include freeze.mk.
8824 (autoscan.list): New target --this file is no longer a source.
8825 (autoscan.pre): New file.
8827 2002-09-28 Akim Demaille <akim@epita.fr>
8829 * bin/autoscan.in (@kinds): Make them singular.
8831 (&init_tables): When --debug, report the list of rules to ease
8832 tracking changes in autoscan.list.
8833 * lib/autoscan/autoscan.list (function): Strip comments, sort.
8835 2002-09-28 Akim Demaille <akim@epita.fr>
8837 * lib/autoscan/functions, lib/autoscan/headers,
8838 * lib/autoscan/identifiers, lib/autoscan/makevars,
8839 * lib/autoscan/programs: Merge into...
8840 * lib/autoscan/autoscan.list: this.
8841 * bin/autoscan.in (&init_tables): Adjust.
8843 2002-09-28 Akim Demaille <akim@epita.fr>
8845 * lib/autoscan/functions, lib/autoscan/headers,
8846 * lib/autoscan/identifiers, lib/autoscan/makevars,
8847 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
8848 `functions' line is now prefixed with `function:'.
8849 * bin/autoscan.in (&init_tables): Adjust.
8851 2002-09-28 Akim Demaille <akim@epita.fr>
8853 From now on, autoscan files must always map a macro name to a
8854 word: there is no `default' macro for autoscan.
8856 * bin/autoscan.in (&init_tables): Reject entries with no macro at
8858 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
8861 2002-09-28 Akim Demaille <akim@epita.fr>
8863 * bin/autoscan.in (%c_keywords): Remove.
8864 (&used): Keep only track of the words we might be interested in.
8865 (&output_kind): It is no longer needed to look for non active
8868 2002-09-27 Akim Demaille <akim@epita.fr>
8870 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
8871 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
8872 * lib/autoscan/functions: Adjust.
8873 * doc/autoconf.texi (Particular Functions): Adjust.
8875 2002-09-27 Akim Demaille <akim@epita.fr>
8877 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
8879 Thanks to Bill Moseley and Paul Eggert.
8880 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
8881 the tmpdir must be created.
8882 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
8883 dir be in the build tree, instead of $TMPDIR.
8885 2002-09-27 Akim Demaille <akim@epita.fr>
8887 * bin/autoscan.in: Improve the comments.
8888 (&parse_args): Drop obsolete undocumented options.
8889 (&output_kind): Output warnings.
8890 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
8891 (getwd): Trigger a warning.
8893 2002-09-26 Akim Demaille <akim@epita.fr>
8895 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
8896 Reported by Ralf Corsepius.
8897 * doc/autoconf.texi (autoreconf Invocation): Likewise.
8899 2002-09-26 Akim Demaille <akim@epita.fr>
8901 Single suffix rules and seperated dependencies are not portable.
8903 * doc/autoconf.texi (Installation Directory Variables): Update.
8904 (Limitations of Make): Some about `Single Suffix Rules and
8905 Separated Dependencies'.
8906 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8907 (ifnames, autoscan, autom4te): Un-factor into several rules.
8909 2002-09-25 Paul Eggert <eggert@twinsun.com>
8911 * BUGS (Interoperability bugs): New section. Mention libtool
8912 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
8914 2002-09-24 Paul Eggert <eggert@twinsun.com>
8916 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
8917 make handles suffix-rules differently from GNU make.
8919 * bin/Makefile.am (SUFFIXES, .in): Remove.
8920 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
8921 Move the body of the old .in rule here.
8923 2002-09-16 Akim Demaille <akim@epita.fr>
8925 i960 compilers create `b.out' files by default.
8926 Reported by Ralf Corsepius.
8928 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
8929 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
8931 2002-09-13 Paul Eggert <eggert@twinsun.com>
8933 * doc/autoconf.texi (Particular Headers): Remove obsolete
8934 reference to `struct timezone' in the description of
8937 2002-09-13 Akim Demaille <akim@epita.fr>
8941 * config/config.sub, config/config.guess: Update.
8942 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
8943 * Makefile.am: Adjust.
8945 2002-09-13 Akim Demaille <akim@epita.fr>
8947 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
8948 reading config.log when the compiler is rejected.
8949 Suggested by Guido Draheim.
8951 2002-09-13 Akim Demaille <akim@epita.fr>
8953 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
8954 (chdir_init) might hang when stat'ing mounted directories.
8955 Reported by Vance Shipley.
8957 2002-09-12 Akim Demaille <akim@epita.fr>
8959 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
8962 2002-09-12 Akim Demaille <akim@epita.fr>
8964 * doc/autoconf.texi (Defining Symbols): Present two different
8965 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
8966 difference between 1 argument calls, and 2-3 argument calls.
8968 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
8970 * doc/autoconf.texi: Review grammar and punctuation.
8972 2002-09-11 Paul Eggert <eggert@twinsun.com>
8974 * doc/autoconf.texi: Fix minor formatting, spelling, and
8976 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
8977 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
8980 2002-09-11 Akim Demaille <akim@epita.fr>
8982 * doc/autoconf.texi (Questions): Rename as...
8984 (Defining Directories): New.
8986 2002-09-09 Akim Demaille <akim@epita.fr>
8988 * doc/autoconf.texi (Making testsuite Scripts): Update.
8989 Suggested by Nishio Futoshi.
8991 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
8993 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
8994 plain `@' is wanted.
8996 2002-09-09 Akim Demaille <akim@epita.fr>
8998 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
8999 `duplicates', since the algorithm was too naive and could keep
9000 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
9001 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
9002 Reported by Ralf Corsepius.
9003 * tests/torture.at (Configuring subdirectories): Exercise these
9006 2002-09-09 Akim Demaille <akim@epita.fr>
9008 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
9009 looking for a replacement file.
9010 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
9011 directory is relative.
9012 * doc/autoconf.texi (Generic Functions): Clarify the replacement
9013 directory definition.
9014 Reported by Andreas Schwab and Jim Meyering.
9016 2002-09-06 Akim Demaille <akim@epita.fr>
9018 * doc/autoconf.texi (Setting Output Variables): Clarify what
9019 precious variables are.
9020 Suggested by Pontus Skoeld.
9022 2002-09-05 Akim Demaille <akim@epita.fr>
9024 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9025 (ifnames, autoscan, autom4te): Since we don't only depend on
9026 configure.ac variables (such as VERSION etc.), but also on prefix
9027 and so forth, depend on Makefile, not configure.ac.
9028 Reported by Alexandre Duret-Lutz.
9029 * doc/autoconf.texi (Installation Directory Variables): Adjust.
9031 2002-09-05 Kevin Ryde <user42@zip.com.au>
9033 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
9034 doesn't seem to be confined to ia64, just say "some versions".
9036 2002-09-04 Akim Demaille <akim@epita.fr>
9038 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
9040 * Makefile.am (maintainer-clean-local): Remove.
9041 (MAINTAINERCLEANFILES): Remove COPYING.
9043 2002-09-03 Paul Eggert <eggert@twinsun.com>
9045 * doc/autoconf.texi (Configuration Commands): Remove obsolete
9046 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
9049 2002-09-03 Akim Demaille <akim@epita.fr>
9051 * configure.ac: Bump to 2.53d.
9052 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
9053 as of today, on Automake's team suggestion.
9055 2002-09-03 Akim Demaille <akim@epita.fr>
9059 2002-09-02 Akim Demaille <akim@epita.fr>
9061 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
9063 * configure.ac: Disable SITE_MACRO_DIR.
9065 2002-09-02 Jim Meyering <meyering@lucent.com>
9067 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
9068 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
9069 Also, tweak grammar: s/make sure to/be sure to/.
9071 2002-09-02 Paul Eggert <eggert@twinsun.com>
9073 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
9074 directory names are generally preferable to physical names.
9076 2002-09-02 Akim Demaille <akim@epita.fr>
9078 * lib/Autom4te/General.pm (&update_file): s/die/error/.
9079 Reported by Raja R. Harinath.
9080 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
9081 * bin/autoupdate.in: Use error instead of die.
9083 2002-09-01 Paul Eggert <eggert@twinsun.com>
9085 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
9086 ordinary shell concatenation rather than echo+tr+sed command that
9087 runs afoul of a long-line-related sed bug in Solaris 8.
9089 * bin/autoheader.in (parse_args): --warning -> --warnings.
9091 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
9092 stdout, as traditional "ls" does.
9093 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
9094 _AC_COMPILER_EXEEXT_O): Likewise.
9095 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
9097 * bin/autoconf.as: Add --prepend-include option. This patch was
9098 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
9099 but bin/autoconf.in is generated automatically from bin/autoconf.as.
9101 * bin/autoconf.in, configure: Regenerate.
9103 * doc/autoconf.texi (Special Shell Variables): Mention
9104 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
9106 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
9107 MAILPATH and set PS1, PS2, PS4 to default values, to work
9108 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
9109 For LC_ALL etc, first try to set to "C" as POSIX requires and as
9110 the Autoconf documentation specifies; fall back to "unset" only if
9111 this fails. Use a shell for-loop for this rather than an m4 loop,
9112 to shorten the output script.
9114 2002-08-30 Paul Eggert <eggert@twinsun.com>
9116 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
9117 1003.1-2001's requirements for CDPATH. Give a simpler workaround
9118 for the CDPATH problem. Document PWD.
9119 (Limitations of Builtins): Document the problem that "cd $foo" and
9120 "ls $foo" may refer to different directories in shells conforming
9121 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
9122 example, since the old example is now out of date.
9124 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
9125 FOO" and "ls FOO" talk about different directories; this catches
9126 problems when POSIX 1003.1-2001 "cd" fails due to symlink
9129 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
9130 of rolling our own unset.
9131 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
9132 in practice we needn't worry about CDPATH if unset doesn't work.
9134 * Makefile.in, aclocal.m4, bin/Makefile.in,
9135 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
9136 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
9137 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
9138 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
9139 tests/Makefile.in: Regenerate with Automake 1.6.3.
9141 * config/config.guess, config/config.sub, config/mkinstalldirs:
9144 * configure: Regenerate with self.
9146 2002-08-30 Kevin Ryde <user42@zip.com.au>
9148 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
9151 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9153 * bin/autom4te.in (Request::load): Correctly test for "do" read
9156 2002-08-29 Akim Demaille <akim@epita.fr>
9158 * lib/Autom4te/General.pm (&xqx): New.
9159 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
9160 hand, which is not portable.
9162 * bin/autom4te.in: Use them.
9163 Use &error instead of die.
9164 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9167 2002-08-17 Paul Eggert <eggert@twinsun.com>
9169 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
9170 default list of compilers to try, since it was long ago superseded
9171 by the ksh fc builtin. Suggested by Steven G. Johnson.
9173 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
9175 * doc/autoconf.texi (Invoking autom4te): End the option table,
9176 fixing a bug introduced by the previous patch.
9177 (Limitations of Make): Add a 'target lookup' subentry in the
9178 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
9180 2002-07-29 Mark D. Roth <roth@feep.net>
9182 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
9183 options and use $AUTOM4TE_PATH.
9184 * doc/autoconf.texi: Remove documentation of autom4te
9185 --include-envvar and --site-macro-subdir options and document
9186 use of $AUTOM4TE_PATH.
9187 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
9188 arguments from each language section.
9190 2002-07-29 Paul Eggert <eggert@twinsun.com>
9192 * doc/install.texi: Include copyright symbol in copyright notice.
9194 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
9196 (AM_MAKEINFOFLAGS): New macro.
9197 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
9198 * Makefile.am (INSTALL): Use the new macros.
9199 Use -o rather than --output, since "missing" does not grok --output.
9201 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
9203 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
9204 comments do not always work. Never trust the exit status of
9207 2002-07-24 Kevin Ryde <user42@zip.com.au>
9209 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
9210 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
9212 2002-07-23 Paul Eggert <eggert@twinsun.com>
9214 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
9215 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
9216 apparently treats PATH="nonexistent" as if it contained ".".
9217 Bug reported by Stefan `Sec' Zehl.
9219 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
9221 * doc/autoconf.texi (Limitations of Make): Mention the special
9222 handling of the obj/ directory by BSD make.
9224 2002-07-20 Kevin Ryde <user42@zip.com.au>
9226 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
9229 2002-07-19 Akim Demaille <akim@epita.fr>
9231 * doc/autoconf.texi (Function Portability): `exit'.
9232 (Programming in M4sh): Ethymology of M4sh.
9234 2002-07-19 Akim Demaille <akim@epita.fr>
9236 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
9238 2002-07-18 Akim Demaille <akim@epita.fr>
9242 2002-07-18 Akim Demaille <akim@epita.fr>
9244 * config/config.guess, config/config.sub: Update.
9246 2002-07-18 Akim Demaille <akim@epita.fr>
9248 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
9251 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
9252 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
9253 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
9255 2002-07-18 Akim Demaille <akim@epita.fr>,
9256 Alexandre Duret-Lutz <duret_g@epita.fr>
9258 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
9259 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
9261 2002-07-17 Russ Allbery <rra@stanford.edu>
9263 * doc/autoconf.texi (Initializing configure): Clarify the
9264 description of the tarname default.
9266 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
9268 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
9269 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
9272 2002-07-17 Akim Demaille <akim@epita.fr>
9274 * lib/Autom4te/General.pm (find_file): Browse the directories in
9275 the order they are given.
9277 2002-07-17 Akim Demaille <akim@epita.fr>
9279 * tests/wrapsh.as, tests/wrappl.as: Merge into...
9280 * tests/wrapper.as: this.
9281 * tests/Makefile.am, configure.ac: Adjust.
9283 2002-07-17 Mark D. Roth <roth@feep.net>
9285 * configure.ac: Add --enable-site-macro-dir option.
9286 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
9287 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
9288 --site-macro-subdir options.
9289 * bin/autoconf.in: Add --prepend-include option.
9290 * bin/autoheader.in: Add --prepend-include option.
9291 * bin/autoreconf.in: Add --prepend-include option.
9292 * bin/autoscan.in: Add --prepend-include option.
9293 * bin/autoupdate.in: Add --prepend-include option.
9294 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
9295 macro directory, remove note that include path directories are
9296 used in reverse order, and document --prepend-include option.
9297 * lib/autom4te.in: Use --prepend-include instead of --include.
9298 * tests/wrapsh.in: Use --prepend-include instead of --include.
9300 2002-07-17 Akim Demaille <akim@epita.fr>
9302 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
9304 * doc/autoconf.texi (Initializing configure): Adjust.
9306 2002-07-17 Akim Demaille <akim@epita.fr>
9308 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
9309 (_AC_FUNC_MALLOC): New.
9310 (AC_FUNC_MALLOC): Use the latter.
9311 Define HAVE_MALLOC to 0 if broken.
9312 * doc/autoconf.texi (Particular Functions): Adjust.
9314 2002-07-16 Akim Demaille <akim@epita.fr>
9316 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
9317 * doc/autoconf.texi (C Compiler): Adjust.
9319 2002-07-09 Akim Demaille <akim@epita.fr>
9321 * doc/autoconf.texi: Properly set the ``header'' part.
9323 2002-07-09 Akim Demaille <akim@epita.fr>
9325 * doc/autoconf.texi (Systemology): Some about Darwin.
9327 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
9329 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
9330 Don't use AC_REQUIRE in AU_DEFUN.
9332 2002-07-09 Art Haas <ahaas@neosoft.com>
9334 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
9336 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
9338 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9339 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
9340 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
9341 so that Emacs setups GNU style for perl-mode and cperl-mode.
9343 2002-06-27 Paul Eggert <eggert@twinsun.com>
9345 * config/install-sh: Quote $src. Prefer || to test's -o option,
9346 as per "Limitations of Builtins".
9347 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
9348 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9350 * tests/mktests.sh: Use grep instead of fgrep, as per
9351 "Limitations of Builtins".
9353 2002-06-15 Paul Eggert <eggert@twinsun.com>
9355 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
9356 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
9357 so that we consistently test the just-built programs.
9358 * tests/wrappl.as: Likewise.
9360 2002-06-12 Paul Eggert <eggert@twinsun.com>
9362 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
9363 name, so that symlinks to 'autoconf' work properly. Bug reported
9365 * bin/autoheader.in (AUTOM4TE): Likewise.
9366 * bin/autoreconf.in (autoconf, autoheader): Likewise.
9367 * bin/autoscan.in (autom4te): Likewise.
9368 * bin/autoupdate.in (autom4te): Likewise.
9370 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
9371 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
9374 2002-06-11 Andreas Schwab <schwab@suse.de>
9376 * doc/autoconf.texi: Add more dir entries.
9378 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
9380 * bin/autom4te.in ($cache): Don't define using `$me', the name
9381 of the cache should not depend on the name under which autom4te
9384 2002-06-07 Akim Demaille <akim@epita.fr>
9386 * tests/tools.at (autoconf: forbidden tokens, basic)
9387 (autoconf: forbidden tokens, exceptions): Adjust to the change of
9388 words in autom4te.in.
9390 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
9392 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
9393 _AC_LANG_PROGRAM_C_F77_HOOKS.
9395 2002-06-07 Akim Demaille <akim@epita.fr>
9397 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
9399 (AC_REPLACE_FNMATCH): this.
9400 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
9401 AC_FUNC_FNMATCH_GNU.
9403 2002-06-07 Akim Demaille <akim@epita.fr>
9405 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
9406 Rosetta Stone for Unix.
9408 2002-06-07 Akim Demaille <akim@epita.fr>
9410 * bin/autom4te.in (warn_forbidden): When rejecting a token,
9411 suggest m4_pattern_allow.
9412 Suggested by Adam J. Richter.
9414 2002-06-07 Akim Demaille <akim@epita.fr>
9416 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
9417 ac_config_libobj_dir.
9418 (AC_CONFIG_LIBOBJ_DIR): New.
9419 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
9420 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
9421 Use ac_config_libobj_dir to find the replacement files.
9422 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
9423 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
9424 (AC_REPLACE_FNMATCH_GNU): these.
9425 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
9426 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
9427 * tests/mktests.sh (ac_exclude_list): Don't check
9428 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
9430 2002-06-06 Paul Eggert <eggert@twinsun.com>
9432 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
9435 * doc/autoconf.texi (Configuration Links): Likewise.
9436 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
9438 2002-06-05 Paul Eggert <eggert@twinsun.com>
9440 * config/config.guess, config/config.sub, config/texinfo.tex:
9441 Update from masters.
9443 2002-05-29 Paul Eggert <eggert@twinsun.com>
9445 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
9446 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9447 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
9449 * lib/autoconf/Makefile.am (check-local): Likewise.
9450 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
9451 * lib/autoconf/types.m4 (commentary only): Likewise.
9452 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
9453 * lib/autotest/Makefile.am (check-local): Likewise.
9454 * lib/m4sugar/Makefile.am (check-local): Likewise.
9455 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
9456 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
9458 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
9459 * doc/autoconf.texi (Particular Programs): Document them.
9460 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
9463 2002-05-27 Paul Eggert <eggert@twinsun.com>
9465 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
9466 * NEWS, doc/autoconf.texi (Particular Types): Document it.
9467 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
9468 instead of AC_MBSTATE_T, which never existed.
9470 2002-05-23 Akim Demaille <akim@epita.fr>
9472 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
9473 version of Autoconf that is discussed.
9475 2002-05-22 Paul Eggert <eggert@twinsun.com>
9477 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
9478 from the default list of compilers to try. Suggested by
9480 * NEWS: Document the above.
9481 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
9483 2002-05-17 Paul Eggert <eggert@twinsun.com>
9485 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
9486 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
9487 This improves on an earlier suggestion by H. Peter Anvin.
9489 2002-05-16 Paul Eggert <eggert@twinsun.com>
9491 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
9492 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
9493 Both macros now accept an optional source-dir arg.
9494 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
9496 * NEWS: Document this.
9497 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
9499 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
9500 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
9501 not for GNU extensions; this undoes part of the 2000-11-03 change,
9502 reverting to 2.13-compatible behavior.
9503 Add new optional argument DIR.
9504 (AC_FUNC_FNMATCH_GNU): New macro.
9506 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
9508 2002-05-08 Paul Eggert <eggert@twinsun.com>
9510 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
9511 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
9512 and it causes a 'test' syntax error if it fails.
9513 Bug reported by Stephen Gildea.
9515 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
9516 If prototypes are supported, use them to check this at compile-time,
9517 instead of trying to check it at run-time. If we must do a run-time
9518 check, assume that setvbuf is standard when cross-compiling, as
9519 nonstandard setvbuf occurs only on ancient and unlikely hosts.
9520 Bug reported by Paul D. Smith.
9522 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
9523 argument specifying location of getloadavg.c. This removes a
9524 FIXME. This idea was taken from Jim Meyering's implementation in
9526 * doc/autoconf.texi (Particular Functions): Document this.
9527 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
9528 that's what the code does; this fixes a bug reported by
9531 2002-05-03 Akim Demaille <akim@epita.fr>
9533 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
9534 autopoint instead of gettextize.
9535 ($uses_alocal): Rename as...
9536 ($uses_aclocal): this.
9537 * doc/autoconf.texi (autoreconf Invocation): Adjust.
9538 Suggested by Bruno Haible.
9540 2002-05-03 Akim Demaille <akim@epita.fr>
9542 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
9544 2002-04-29 Paul Eggert <eggert@twinsun.com>
9546 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
9547 files to be 1 second older; just set them to be the same time.
9548 Also, sleep 1 second after the first aclocal, to work around
9549 problems with sub-second time stamps on the input files.
9551 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
9553 * doc/autoconf.texi: Mention "set -e -x" lossage
9554 under node "Limitations of Builtins".
9556 2002-04-29 Akim Demaille <akim@epita.fr>
9558 * doc/install.texi: Better wording for setting variables when
9560 From Christian Cornelssen.
9562 2002-04-29 Akim Demaille <akim@epita.fr>
9564 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
9565 of lack of $LINENO support, then the test will compare the $LINENO
9566 in testsuite vs. the lineno in the test file. This is wrong, of
9568 Be sure to protect it.
9569 Reported by Patrick Welche.
9571 2002-04-25 Akim Demaille <akim@epita.fr>
9573 * doc/autoconf.texi (Obsolete Macros): Typo.
9574 Reported by Vladimir Volovich.
9576 2002-04-25 Akim Demaille <akim@epita.fr>
9578 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
9579 than some of the input files, hence, on the second run of aclocal,
9580 if some of its input are younger, make them older.
9581 Suggested by Paul Eggert.
9583 2002-04-25 Akim Demaille <akim@epita.fr>
9585 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
9586 Thanks to Paul Eggert.
9588 2002-04-25 Akim Demaille <akim@epita.fr>
9590 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
9591 and ac_subst_vars be sh variables containing the list of
9592 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
9594 (_AC_INIT_PREPARE): Use them to log them.
9595 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
9596 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
9597 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
9598 _AC_SUBST_FILES and _AC_SUBST_VARS.
9599 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
9601 2002-04-24 Akim Demaille <akim@epita.fr>
9603 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
9604 autoheader, so that automake does not complain about a missing
9605 config.h.in that was to be created.
9607 2002-04-23 Akim Demaille <akim@epita.fr>
9609 * bin/autoheader.in (parse_args): --warning takes an argument.
9612 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
9614 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
9615 and bb.out when cleaning up.
9617 2002-04-22 Akim Demaille <akim@epita.fr>
9621 2002-04-22 Akim Demaille <akim@epita.fr>
9623 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
9625 2002-04-22 Akim Demaille <akim@epita.fr>
9627 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
9629 Reported by Gregory Giannoni.
9631 2002-04-22 Akim Demaille <akim@epita.fr>
9633 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
9634 Fixes false failures on Darwin.
9636 2002-04-21 Paul Eggert <eggert@twinsun.com>
9638 * TODO, bin/autoupdate.in, doc/autoconf.texi,
9639 lib/autoconf/general.m4, lib/autoconf/libs.m4,
9640 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
9641 tests/tools.at: Minor spelling and grammar fixes.
9643 2002-04-20 Paul Eggert <eggert@twinsun.com>
9645 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
9646 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
9647 * lib/autotest/general.m4 (AT_INIT): Likewise.
9648 * tests/atgeneral.m4 (AT_INIT): Likewise.
9650 2002-04-19 Paul Eggert <eggert@twinsun.com>
9652 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
9653 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
9654 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
9655 lib/autoconf/functions.m4, lib/autoconf/general.m4,
9656 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
9657 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
9658 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
9659 Minor spelling and grammar fixes.
9661 * doc/autoconf.texi: Follow the outline suggested in the GNU
9662 Sample Texts sections of the Texinfo 4.2 manual. Most
9663 importantly, this makes sure that the copyright notices appear in
9664 all output formats. You probably need Texinfo 4.2 to generate
9667 Fix some bugs when using "$@" when there might be zero positional
9668 arguments in cases where this matters.
9670 * bin/autoconf.as: Rewrite so that the problem does not come up.
9671 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
9672 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
9673 * lib/autotest/general.m4 (AT_INIT): Likewise.
9675 * bin/autoheader.in: Use 'case' statement to work around problem.
9676 * bin/auto4mte.in: Likewise.
9677 * bin/autoreconf.in: Likewise.
9678 * bin/autoscan.in: Likewise.
9679 * bin/autoupdate.in: Likewise.
9680 * bin/ifnames.in: Likewise.
9682 * doc/autoconf.texi (Shell Substitutions): Document the problem.
9684 * lib/autotest/general.m4 (AT_INIT):
9685 Use Zsh alias to work around problem.
9686 * tests/atgeneral.m4 (AT_INIT): Likewise.
9688 * tests/c.at: We can't have zero arguments, so remove workaround
9689 that is not portable to Zsh.
9691 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
9693 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
9694 from aclocal.m4 too.
9696 2002-04-12 Akim Demaille <akim@epita.fr>
9698 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
9700 2002-04-10 Akim Demaille <akim@epita.fr>
9702 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
9703 workaround for ${1+"$@"}.
9704 * doc/autoconf.texi (Shell Substitutions): Explain it.
9705 From Oliver Kiddle and Peter Stephenson.
9707 Have M4sh perform minimal shell sanitizing.
9709 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
9711 (_AS_PREPARE): this new macro.
9713 (AS_INIT): Invoke AS_SHELL_SANITIZE.
9714 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
9716 Adjust Autoconf and Autotest.
9718 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
9719 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
9720 * lib/autotest/general.m4 (AT_INIT): Likewise.
9721 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
9722 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
9725 Use this M4sh to generate Autoconf's shell scripts.
9727 * tests/wrapsh.as: New, precursor of wrapsh.in.
9728 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
9729 on Autotest and M4sh.
9730 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
9731 (wrapsh.in): New target.
9732 * bin/autoconf.as: New, precursor of autoconf.in.
9733 (autoconf.in): New target.
9735 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
9737 * doc/autoconf.texi (Limitations of Make): Mention the issue
9738 with indented comments in rules.
9740 2002-04-09 Andreas Schwab <schwab@suse.de>
9742 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
9743 ac_top_builddir when setting ac_abs_top_builddir.
9745 2002-04-06 Kevin Ryde <user42@zip.com.au>
9747 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
9748 (Portable Shell): Cross reference to Systemology.
9750 2002-04-05 Akim Demaille <akim@epita.fr>
9752 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
9753 directories when descending in a SUBDIRS.
9754 Reported by Ezra Peisach.
9756 2002-04-04 Andreas Schwab <schwab@suse.de>
9758 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
9759 contains no literal separators.
9761 2002-04-03 Akim Demaille <akim@epita.fr>
9763 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
9764 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
9765 Use dnl, not the KILL diversion.
9767 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
9768 (AC_CONFIG_LINKS): here.
9770 Don't use the KILL diversion, as it kills spurious output, which
9771 results in failures being hidden.
9772 Use m4_defn where appropriate.
9773 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
9774 after the second argument.
9776 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
9777 syntax, as it is provided by M4sugar.
9778 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
9780 2002-04-03 Andreas Schwab <schwab@suse.de>
9782 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
9783 expanded if $# <= 2.
9785 * bin/autoreconf.in (autoreconf): Run automake after rerunning
9788 2002-04-03 Akim Demaille <akim@epita.fr>
9790 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
9791 (_AC_COMPILER_EXEEXT_REJECT): New.
9792 Also recognize *.bb and *.bbg as compilation byproducts.
9793 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
9794 (_AC_COMPILER_OBJEXT): Use them.
9795 Fixes Debian #138666.
9797 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
9799 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
9801 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
9802 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
9803 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
9804 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
9806 (AC_C_INLINE): Same.
9807 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
9808 * doc/autoconf.texi, NEWS: Document.
9809 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
9812 2002-04-02 Akim Demaille <akim@epita.fr>
9814 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
9815 _AS_MKDIR_P_PREPARE.
9817 2002-03-28 Kevin Ryde <user42@zip.com.au>
9819 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
9820 to avoid versions of HP C which don't allow that.
9822 2002-03-27 Paul Eggert <eggert@twinsun.com>
9824 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
9825 (AS_SHELL_SANITIZE): Invoke it.
9826 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
9828 2002-03-26 Akim Demaille <akim@epita.fr>
9830 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
9832 2002-03-26 Akim Demaille <akim@epita.fr>
9834 * doc/autoconf.texi (Introduction): The GNATS base moved.
9836 2002-03-25 Paul Eggert <eggert@twinsun.com>
9838 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
9839 as POSIX requires, as it doesn't work with Zsh.
9840 * doc/autoconf.texi (Assignments): Document the problem.
9842 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
9844 * doc/autoconf.texi (Limitations of Make): Mention more issue
9845 about VPATH, overriding of macros in sub-makes, and handling of
9848 2002-03-21 Paul Eggert <eggert@twinsun.com>
9850 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
9851 problem with here-document buffer boundaries.
9853 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
9854 when reinvoking the shell, to work around problems with installers
9855 who put strange things like "cd" commands in their environments.
9857 2002-03-19 Akim Demaille <akim@epita.fr>
9859 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
9862 2002-03-19 Akim Demaille <akim@epita.fr>
9864 * bin/autoscan.in (scan_file): Specify the location in `&used'
9868 2002-03-19 Akim Demaille <akim@epita.fr>
9870 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
9871 From Nishio Futoshi.
9873 2002-03-19 Akim Demaille <akim@epita.fr>
9875 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
9877 2002-03-18 Paul Eggert <eggert@twinsun.com>
9879 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
9880 (Limitations of Usual Tools): Add mkdir section.
9882 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
9883 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
9884 back on AS_DIRNAME to compute prefixes otherwise; this is
9885 roughly what mkinstalldirs does. That way, we need not have
9886 our own filename disassembler. The old disassembler did not
9887 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
9889 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
9890 Create at_test_all by a series of assignments,
9891 not by a single assignment of a long string. The latter causes ksh
9892 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
9893 presumably because of a buffer overrun.
9895 2002-03-14 Paul Eggert <eggert@twinsun.com>
9897 * lib/autotest/general.m4 (at_times_skip):
9898 Renamed from at_times. Now a boolean.
9899 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
9900 says 'times: not found'.
9902 2002-03-14 Akim Demaille <akim@epita.fr>
9904 * bin/autoreconf.in (&study_gettextize): New.
9905 (&autoreconf): Handle newest gettextize.
9906 Rerun aclocal if needed.
9907 Suggested by Andreas Schwab.
9909 2002-03-13 Akim Demaille <akim@epita.fr>
9911 * doc/autoconf.texi (Special Shell Variables): More about IFS.
9913 2002-03-13 Akim Demaille <akim@epita.fr>
9915 * doc/autoconf.texi (Header Portability): New.
9916 Add information about stdint.h and inttypes.h from Paul Eggert.
9918 2002-03-13 Akim Demaille <akim@epita.fr>
9920 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
9924 2002-03-12 Akim Demaille <akim@epita.fr>
9926 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
9929 2002-03-11 Andreas Schwab <schwab@suse.de>
9931 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
9932 does not do it if --with-lispdir is given.
9934 2002-03-08 Akim Demaille <akim@epita.fr>
9938 2002-03-08 Akim Demaille <akim@epita.fr>
9940 * doc/autoconf.texi (Subdirectories): Clarify that the
9941 subdirectory should exist.
9943 2002-03-08 Akim Demaille <akim@epita.fr>
9945 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
9947 2002-03-08 Akim Demaille <akim@epita.fr>
9949 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
9950 aliases the actual variables, and modifications of the former
9953 2002-03-08 Akim Demaille <akim@epita.fr>
9955 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
9956 because of C-c: have m4 output in tmp files, then mv them.
9958 2002-03-08 Akim Demaille <akim@epita.fr>
9960 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
9961 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
9962 * bin/ifnames.in: Copyright update.
9964 2002-03-08 Akim Demaille <akim@epita.fr>
9966 * doc/autoconf.texi (Invoking autom4te): New.
9968 2002-03-05 Akim Demaille <akim@epita.fr>
9970 * doc/autoconf.texi (Specifying Names): Clarification suggested by
9973 2002-03-05 Akim Demaille <akim@epita.fr>
9977 2002-03-04 Akim Demaille <akim@epita.fr>
9979 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
9980 * lib/autoconf/general.m4 (AC_INIT): More informative error
9983 2002-03-04 Akim Demaille <akim@epita.fr>
9985 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
9988 2002-03-04 Akim Demaille <akim@epita.fr>
9990 * doc/autoconf.texi (Transforming Names): Equality between target
9991 and host is irrelevant.
9992 (Specifying Names, Canonicalizing): Remove all references to the
9993 backward compatibility hooks. Rather, collect them all into...
9994 (Hosts and Cross-Compilation): this new section.
9995 * doc/install.texi (System Type): Ditto.
9996 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
9997 that `--host' implies cross-compilation.
9999 2002-03-04 Akim Demaille <akim@epita.fr>
10001 * doc/autoconf.texi (Evaluation Macros): New.
10002 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
10004 (_m4_foreach): Define the variant with immediate evaluation so
10005 that it contains exactly the items, not an expression which
10006 evaluation is the current item.
10007 (m4_re_string, m4_re_word): Don't over quote them.
10009 2002-03-04 Akim Demaille <akim@epita.fr>
10011 Instead of having stacking `shift's evaluated at the end, let
10012 `foreach' loops immediately evaluate them.
10014 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
10015 $*. This is the n-th time I change my mind, but hopefully this is
10018 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
10020 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
10021 it was only a hack for m4_text_wrap.
10022 (m4_car2): Remove, replaced by...
10024 (_m4_foreach): Adjust.
10025 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
10026 m4_bpatsubst for clarification.
10028 2002-03-04 Akim Demaille <akim@epita.fr>
10030 * doc/autoconf.texi (Changequote is Evil): New.
10032 2002-03-03 Kevin Ryde <user42@zip.com.au>
10034 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
10035 on old systems like SunOS.
10037 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
10039 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10040 lib/autoconf/functions.m4, lib/autoconf/general.m4,
10041 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
10042 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
10045 2002-02-28 Akim Demaille <akim@epita.fr>
10047 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
10048 message to be sent.
10050 2002-02-28 Kevin Ryde <user42@zip.com.au>
10052 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
10054 2002-02-25 Akim Demaille <akim@epita.fr>
10056 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
10057 From Akinori Musha.
10059 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
10061 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
10062 translate \r\n to \n.
10064 2002-02-07 Akim Demaille <akim@epita.fr>
10068 2002-02-07 Akim Demaille <akim@epita.fr>
10070 Fix Autoconf PR/209.
10071 Also reported by Frank Denis.
10073 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
10075 2002-02-07 Akim Demaille <akim@epita.fr>
10077 Fix Autoconf PR/207:
10078 AC_PREFIX_PROGRAM fails with dashed program names
10080 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
10081 variable when looking for the prefix program.
10082 Now it also works for shell variables.
10084 2002-02-07 Akim Demaille <akim@epita.fr>
10086 * doc/autoconf.texi (Limitations of Builtins): More about
10089 2002-02-06 Akim Demaille <akim@epita.fr>
10091 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
10092 case/esac, some shells don't support it.
10093 Reported by Zack Weinberg.
10094 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
10096 2002-02-06 Akim Demaille <akim@epita.fr>
10098 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
10099 sure not to introduce newlines in at_groups.
10100 * lib/autotest/Makefile.am (autotest.m4f): Typo.
10102 2002-02-06 Akim Demaille <akim@epita.fr>
10104 * tests/torture.at (Configuring subdirectories): Skip if aclocal
10107 2002-02-05 Paul Eggert <eggert@twinsun.com>
10109 * doc/autoconf.texi (Specific Compiler Characteristics):
10110 Describe HP-UX cc bug workaround more accurately.
10111 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
10113 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
10114 cross-compilers, too. This undoes some of the most recent change
10117 2002-02-05 Akim Demaille <akim@epita.fr>
10119 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
10120 to make sure they are up to date when `check' is run.
10122 2002-02-05 Akim Demaille <akim@epita.fr>
10124 * doc/autoconf.texi (Making testsuite Scripts): Document
10127 2002-02-05 Akim Demaille <akim@epita.fr>
10129 * lib/freeze.mk: New.
10131 2002-02-05 Akim Demaille <akim@epita.fr>
10133 Implement `autom4te --freeze'.
10135 * bin/autom4te.in (&freeze): New.
10136 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
10137 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
10139 2002-02-05 Akim Demaille <akim@epita.fr>
10141 * bin/autom4te.in (&parse_args): Implement `frozen files are
10142 optional are the sum of the previous files on the command line'.
10143 Also, pass `--reload-state=' on them, so...
10144 (handle_m4): don't.
10145 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
10146 (M4sh): Rely on M4sugar.
10147 (Autotest, M4sh, M4sugar): Use frozen files.
10149 2002-01-31 Akim Demaille <akim@epita.fr>
10151 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
10152 * doc/autoconf.texi (Initializing configure): Adjust.
10154 2002-01-30 Akim Demaille <akim@epita.fr>
10156 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
10157 alphanumeric to `-' instead of `_'.
10159 2002-01-30 Akim Demaille <akim@epita.fr>
10161 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
10162 for plain code, the other for cross-compilation code. The latter
10163 is now run with GCC only.
10164 * doc/autoconf.texi (Compilers and Preprocessors): New.
10166 2002-01-30 Akim Demaille <akim@epita.fr>
10168 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
10170 * doc/autoconf.texi (Initializing configure): Explain how to
10171 change AC_INIT default values.
10173 2002-01-29 Akim Demaille <akim@epita.fr>
10175 * tests/torture.at (Configuring subdirectories): Use configure.in,
10176 so that aclocal 1.4 works.
10177 Reported by Alexandre Duret-Lutz and Larry Schmitt.
10179 2002-01-28 Akim Demaille <akim@epita.fr>
10181 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
10184 2002-01-28 Akim Demaille <akim@epita.fr>
10186 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
10187 AUTOTEST_PATH *after* it was set.
10188 Don't put `.' in the PATH: the user should be precise and `./' if
10189 needed. In addition, given that the test suite does some `cd', if
10190 `.' is in the path, the `tested programs' sections will report
10191 programs found in the test suite's directory, while during the
10192 tests (performed in their own directory), these programs are no
10193 longer visible. In other words, the results is confusing and
10195 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
10197 2002-01-24 Akim Demaille <akim@epita.fr>
10201 2002-01-24 Akim Demaille <akim@epita.fr>
10203 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
10204 * doc/autoconf.texi: Finally add Akim as an author.
10206 2002-01-24 Akim Demaille <akim@epita.fr>
10208 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
10209 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
10210 Bourne. Use /bin/sh.
10211 From Andreas Buening.
10213 2002-01-24 Akim Demaille <akim@epita.fr>
10215 * config/config.guess, config/config.sub, config/texinfo.tex:
10216 Update from masters.
10218 2002-01-24 Akim Demaille <akim@epita.fr>
10220 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
10221 * config/auxdir.m4, config/cond.m4, config/depend.m4,
10222 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
10223 * config/missing.m4, config/sanity.m4, config/select.m4,
10224 * config/strip.m4: Remove, to ease sync'ing with any version of
10227 2002-01-24 Akim Demaille <akim@epita.fr>
10229 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
10230 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
10231 Reported by Geir Ove Myhr.
10233 2002-01-21 Akim Demaille <akim@epita.fr>
10235 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
10237 2002-01-21 Akim Demaille <akim@epita.fr>
10239 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
10240 message on invalid options.
10241 * bin/autom4te.in (parse_args): Don't use
10242 Autoconf::General::getopt with non valid options.
10244 2002-01-17 Jim Meyering <meyering@lucent.com>
10246 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
10247 $ac_cv_exeext so we don't use an old, invalid, cached value.
10249 2002-01-11 Akim Demaille <akim@epita.fr>
10251 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
10253 * doc/autoconf.texi (Function Portability): Document the strnlen
10255 (Particular Functions): Document AC_FUNC_STRNLEN.
10256 * lib/autoscan/functions: Adjust.
10258 2002-01-06 Akim Demaille <akim@epita.fr>
10260 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
10261 package.m4, since is really depends upon configure.ac, not
10263 * doc/autoconf.texi (testsuite Scripts): Adjust.
10264 * tests/Makefile.am (package.m4): New.
10265 EXTRA_DIST it since its a source.
10267 2002-01-06 Akim Demaille <akim@epita.fr>
10269 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
10270 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
10271 and PACKAGE_BUGREPORT from here...
10272 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
10274 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
10275 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
10276 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
10277 * tests/tools.at (autoheader): Adjust.
10278 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
10280 2002-01-06 Akim Demaille <akim@epita.fr>
10282 * bin/autoscan.in (scan_file): Use `&used'.
10284 2002-01-03 Akim Demaille <akim@epita.fr>
10286 * doc/autoconf.texi (Output): Improved wording regarding use of
10290 2001-12-18 Kevin Ryde <user42@zip.com.au>
10292 * doc/autoconf.texi (Function Portability): Add notes on sscanf
10293 sometimes needing writable input.
10295 2001-12-17 Jim Meyering <meyering@lucent.com>
10297 * doc/autoconf.texi (New Macros): Tweak wording.
10299 2001-12-14 Akim Demaille <akim@epita.fr>
10301 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
10302 trailing files, don't apply `-rf' to files which might not be
10303 created by configure (core, core.*, and *.core), but just `rm -f'.
10304 Suggested by Jonathan Kamens.
10306 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
10308 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
10310 2001-12-14 Akim Demaille <akim@epita.fr>
10312 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
10314 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
10316 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
10317 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
10318 abs_srcdir, top_srcpath to abs_top_srcdir.
10319 (_AC_OUTPUT_FILES): Adjust.
10320 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
10321 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
10322 * tests/wrappl.in, tests/wrapsh.in: Adjust.
10324 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
10326 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
10327 C/Fortran linking on HP/UX, by extracting the Fortran library
10328 search path from the LPATH line in the $F77 -v output.
10330 2001-12-12 Kevin Ryde <user42@zip.com.au>
10332 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
10333 forbidden file descriptors table.
10335 2001-11-26 Akim Demaille <akim@epita.fr>
10337 * bin/autoscan.in (%c_keywords): Build it at top level.
10338 Map to 1 in order to simplify its uses.
10340 2001-11-26 Akim Demaille <akim@epita.fr>
10342 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
10343 Remove $filepath, useless.
10344 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
10345 variables, they are really part of the tokens.
10346 Split the input line on spaces and then look for tokens.
10347 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
10348 because of `lex$U.$(OBJEXT)'.
10349 (&scan_files): Use "@list" instead of join.
10350 * doc/Makefile.am (CLEANFILES): Add *.fns.
10352 2001-11-26 Akim Demaille <akim@epita.fr>
10354 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
10355 Remove, replaced by...
10356 * tests/wrappl.in: Be common for all the Perl executables.
10357 In particular autoscan and autoheader want -I.
10358 * configure.ac: Adjust.
10359 * lib/autoscan/headers: errno.h is portable.
10361 2001-11-26 Akim Demaille <akim@epita.fr>
10363 * bin/autoscan.in (used): New.
10366 2001-11-26 Akim Demaille <akim@epita.fr>
10368 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
10370 (&scan_sh_file): Remove a duplicate pattern.
10371 (&check_configure_ac): Use long options.
10372 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
10374 2001-11-26 Akim Demaille <akim@epita.fr>
10376 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
10377 Before, having a line containing the opening of a multi line
10378 comment made the whole line be ignored.
10380 2001-11-26 Akim Demaille <akim@epita.fr>
10382 * doc/autoconf.texi (Using an Autotest Test Suite): New.
10383 (testsuite Scripts): Be one of its subsection.
10384 (Autotest Logs): New.
10386 2001-11-26 Akim Demaille <akim@epita.fr>
10388 Test groups are now run two directories deeper.
10390 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
10391 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
10393 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
10394 top_srcdir, builddir and top_builddir.
10395 Use `at_*dir' relatively to the directory containing the
10396 suite, use `*dir' when relatively to the current group dir.
10398 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
10400 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
10401 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
10402 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
10405 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
10407 * doc/autoconf.texi (Using System Type): Add an example of `case
10408 $host' usage so people quit using `case $target' everywhere.
10410 2001-11-22 Akim Demaille <akim@epita.fr>
10412 * doc/autoconf.texi (Installation Directory Variables): Englishoes
10413 spotted by Jim Meyering.
10415 2001-11-16 Paul Eggert <eggert@twinsun.com>
10417 This patch implements a `long double' suggestion by Oliver Kiddle.
10419 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
10420 static, to catch errors if the value isn't known at compile-time
10421 and the compiler supports dynamic arrays. Change its name from
10422 `_array_' to `test_array' to avoid potential name clashes.
10423 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
10424 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
10425 better than double. Catch a bug in GCC 2.95.2 x86.
10426 * doc/autoconf.texi (C Compiler): Document the above.
10429 2001-11-13 Akim Demaille <akim@epita.fr>
10431 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
10433 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
10435 2001-11-13 Akim Demaille <akim@epita.fr>
10437 * lib/autotest/general.m4 (AT_INIT): After having run the test
10438 group, go back to the initial directory, not to at_suite_dir.
10440 2001-11-13 Akim Demaille <akim@epita.fr>
10442 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
10443 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
10444 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
10446 (AT_CHECK_CONFIGURE): Use absolute paths.
10447 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
10448 The problem is still the old one: there is no means in M4 (that I
10449 know about) to create a defining macro, because there is no means
10450 to create `$1' etc., therefore, the defining macro ``swallows''
10451 all the arguments meant to the defined macro.
10453 2001-11-13 Akim Demaille <akim@epita.fr>
10455 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
10456 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
10458 * tests/aclocal.m4: Remove, as it is no longer used.
10460 2001-11-13 Akim Demaille <akim@epita.fr>
10462 * lib/autotest/general.m4: Change `tests?' into `groups?' in
10463 variable names when referring to a single test group, or to
10464 `suite' when referring to the whole test suite.
10465 `at_last_test' is removed: m4 compute at_format itself.
10466 (at_stdout, at_stder1, at_stderr): New variables.
10467 (AT_CHECK): Use them.
10469 2001-11-13 Akim Demaille <akim@epita.fr>
10471 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
10473 Create `testsuite.dir/003/run' instead of `testsuite.003'.
10474 Do it as soon as a test fails, don't wait till the end of the test
10476 Don't remove $as_me.[0-9]*, since these files no longer exist.
10478 2001-11-13 Akim Demaille <akim@epita.fr>
10480 * tests/tools.at: Use absolute paths, since we are no longer run
10483 2001-11-13 Akim Demaille <akim@epita.fr>
10485 Now that tests are running in their own private dir, there is no
10486 need to list the files to remove at the end of tests groups.
10488 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
10489 (AT_data_files, at_data_files): Remove.
10490 (AT_CLEANUP, AT_DATA): Simplify.
10492 Remove the group dir if !debug && !failed.
10493 * tests/atspecific.m4: Adjust.
10495 2001-11-13 Akim Demaille <akim@epita.fr>
10497 Start a new layout for Autotest: `testsuite' creates
10498 `testsuite.dir' in which the at-check-line etc. files are to be
10499 found, and `testsuite.dir/003' where the test group 3 is run.
10501 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
10502 at_check_line_file, at_format, at_test_normalized, at_group_dir
10504 Create the directories.
10505 Use absolute paths for at- files.
10506 (AT_CHECK): Adjust.
10508 2001-11-11 Michael Matz <matz@kde.org>
10510 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
10512 (m4_car): Properly quote arguments.
10514 2001-11-13 Akim Demaille <akim@epita.fr>
10516 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
10517 with stricter rules on LIBOBJS.
10519 2001-11-12 Paul Eggert <eggert@twinsun.com>
10521 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
10522 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
10525 2001-11-12 Akim Demaille <akim@epita.fr>
10527 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
10529 2001-11-12 Akim Demaille <akim@epita.fr>
10531 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10532 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
10533 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10534 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
10535 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
10536 specify to what the macro should be defined (typically to 1).
10538 2001-11-12 Akim Demaille <akim@epita.fr>
10540 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
10543 2001-11-12 Akim Demaille <akim@epita.fr>
10545 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10546 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
10547 definition used by Automake where LEX is +/- "${missing} lex" and
10548 `missing' itself contains variables.
10550 2001-11-12 Akim Demaille <akim@epita.fr>
10552 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
10553 Now that M4sh pushes BODY, the comments were output at the end of
10556 2001-11-08 Akim Demaille <akim@epita.fr>
10558 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
10559 that we can trace macros from aclocal.m4.
10560 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
10561 obsoleted, and redirect to the former anyway.
10562 Reported by Ralf Corsepius.
10564 2001-11-08 Akim Demaille <akim@epita.fr>
10566 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
10567 processed only if present.
10568 * tests/torture.at (Configuring subdirectories): Use autoreconf
10569 instead of successive calls to autoconf.
10570 Add a nonexistent subdirectory to exercise the patch above.
10571 Reported by Ralf Corsepius.
10573 2001-11-08 Kevin Ryde <user42@zip.com.au>
10575 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
10576 doesn't accept .S files.
10578 2001-11-07 Akim Demaille <akim@epita.fr>
10580 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
10581 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
10582 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
10583 * bin/autom4te.in (warn_forbidden): New.
10584 (handle_output): Use it.
10585 Read m4_pattern_forbid with messages.
10587 2001-11-05 Akim Demaille <akim@epita.fr>
10589 * bin/autom4te.in (--normalize): Remove.
10590 * lib/autom4te.in: Adjust.
10592 2001-11-05 Akim Demaille <akim@epita.fr>
10594 * tests/Makefile.am (testsuite): Rename this target as...
10595 ($(TESTSUITE)): this.
10598 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
10600 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
10601 the --prefix option, also remove it's argument.
10603 2001-11-05 Akim Demaille <akim@epita.fr>
10605 * doc/autoconf.texi (testsuite Invocation): Update.
10606 (Writing testsuite.at): Update.
10608 2001-11-03 Akim Demaille <akim@epita.fr>
10610 * doc/autoconf.texi: s/@code/@command/ where appropriate.
10612 2001-11-03 Akim Demaille <akim@epita.fr>
10614 * lib/Autom4te/General.pm: (&catfile, &canonfile)
10615 (&file_name_is_absolute): New, wrappers around routines from
10617 Use and export them.
10618 (&find_configure_ac): Optionally take a directory where to look at.
10619 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
10621 Default @ARGV to `.', not find_configure_ac.
10622 (&autoreconf): Argument is a directory.
10623 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
10624 * doc/autoconf.texi (autoreconf Invocation): Update.
10626 2001-11-03 Akim Demaille <akim@epita.fr>
10628 * lib/Autom4te/General.pm (@export_vars, @export_subs)
10629 (@export_forward_subs): New.
10630 Add basename, dirname, and fileparse.
10632 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
10633 Don't look for aclocal flags if we already know aclocal is not
10635 Move aclocal.m4t only if it exists.
10636 Reported by Ezra Peisach.
10638 2001-11-03 Akim Demaille <akim@epita.fr>
10640 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
10641 passed on command line, defaulting to ./configure.ac if present.
10642 (&maybe_autoreconf, File::Find): Remove, unused.
10643 (&autoreconf): If autoconf is not used, don't try to trace.
10645 2001-11-02 Akim Demaille <akim@epita.fr>
10647 * configure.ac: Bump to 2.52g.
10649 2001-11-02 Akim Demaille <akim@epita.fr>
10653 2001-11-02 Akim Demaille <akim@epita.fr>
10655 * config/config.guess, config/config.sub, doc/standards.texi:
10656 * config/lispdir.m4: Update from masters.
10657 * configure.ac: Bump to 2.52f.
10659 2001-11-02 Akim Demaille <akim@epita.fr>
10661 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
10662 Don't run aclocal when aclocal.m4 is not from aclocal.
10664 Don't run libtoolize and gettextize if --install is not given.
10666 2001-11-01 Paul Eggert <eggert@twinsun.com>
10668 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
10669 be invoked before _AS_LINENO_PREPARE.
10670 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
10671 than character ranges.
10673 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
10674 invoking AS_BASENAME. Set the locale variables to 'C' if
10675 possible, as POSIX requires this to get the traditional
10677 * doc/autoconf.texi (Special Shell Variables): Describe the above.
10679 2001-10-31 Paul Eggert <eggert@twinsun.com>
10681 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
10682 with {}, as that triggers a bug in Bash 2.05.
10684 (_AS_LINENO_PREPARE): Use Sed rather than
10685 Awk. Fix the sed prepass to work even if there are multiple
10686 instances of $LINENO on the same line. Do not substitute for
10687 other variables like $LINENOT. Do not check file dates; such a
10688 check is unreliable on sufficiently fast machines, and removing
10689 the check makes the code simpler and more reliable. Check for
10690 output and chmod failures.
10692 * doc/autoconf.texi (Special Shell Variables): Document
10695 2001-10-31 Akim Demaille <akim@epita.fr>
10697 * tests/Makefile.am (atconfig): Remove this target, Automake
10700 2001-10-31 Akim Demaille <akim@epita.fr>
10702 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
10703 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
10704 provided, while it is optional.
10705 * configure.ac: Adjust.
10707 2001-10-26 Paul Eggert <eggert@twinsun.com>
10709 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
10710 lib/Autom4te/Struct.pm:
10711 Require Perl 5.005_03 instead of just 5.005, as some tests fail
10714 * doc/autoconf.texi (Special Shell Variables): Document some
10715 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
10717 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
10718 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
10719 eval $LINENO is not portable in practice.
10721 2001-10-24 Akim Demaille <akim@epita.fr>
10723 * lib/Autom4te/General.pm (backname): New.
10725 2001-10-24 Akim Demaille <akim@epita.fr>
10727 * m4/: Remove, merged into...
10730 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
10732 * doc/autoconf.texi (Shellology): Mention the problems with bash
10733 2.05's use of ANSI quoting in its `set' builtin.
10735 2001-10-22 Paul Eggert <eggert@twinsun.com>
10737 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
10738 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
10739 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
10740 POSIX decided to standardize on the int flavor of strerror_r.
10741 Always do char* test, as there's no reason not to.
10742 Assign to a char* var, to catch strerror_r that returns int*.
10744 * doc/autoconf.texi (Particular Functions):
10745 Document the above changes. Also, document the fact that
10746 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
10748 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
10750 2001-10-20 Akim Demaille <akim@epita.fr>
10752 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
10753 the executable was missing from the log.
10755 2001-10-20 Akim Demaille <akim@epita.fr>
10757 * lib/Autom4te/General.pm (&update_file): If destination is
10758 unchanged, remove the source.
10759 (&up_to_date_p): Don't be verbose, be debug.
10760 * bin/autoreconf.in: No longer support --m4dir.
10761 (&autoreconf): Display the full path of the configure.ac we are
10763 Trace it only once.
10764 Be sure to honor --force with gettextize.
10765 Always run aclocal.
10766 * doc/autoconf.texi: Adjust.
10768 2001-10-20 Akim Demaille <akim@epita.fr>
10770 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
10772 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
10773 `intl' is already present, as it refuses unless --force.
10774 (&parse_args): Use -I, --include instead of the old Autoconf
10776 ($localdir, $autoconf_dir): Remove.
10778 (&maybe_autoreconf): New, to preserve $_ for File::Find.
10780 2001-10-19 Jens Petersen <petersen@redhat.com>
10782 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
10783 * doc/autoconf.texi (Particular Programs): Likewise.
10785 2001-10-19 Akim Demaille <akim@epita.fr>
10787 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
10788 file in @configure_input@.
10789 Don't mention `automatically' in addition to `generated'.
10790 * tests/torture.at (#define header templates): Adjust.
10792 2001-10-19 Akim Demaille <akim@epita.fr>
10794 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
10795 comment, explain how to install automatic mode selection.
10798 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
10800 * bin/autoreconf.in (autoreconf): Display the path to the
10801 configure.ac being studied.
10803 2001-10-18 Paul Eggert <eggert@twinsun.com>
10805 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
10806 long, to work around a bug in the HP C compiler version HP92453-01
10809 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
10810 (AS_BASENAME_EXPR): New macro.
10811 (AS_BASENAME_SED): Do not assume GNU sed semantics.
10812 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
10813 and fall back on 'sed' only if the other two fail. This makes
10814 AS_BASENAME act more like AS_DIRNAME.
10815 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
10816 contains white space.
10817 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
10818 Use AS_DIRNAME, since I think it's now DOS-friendly.
10819 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
10820 Allow "dirname //FOO" to return either / or //, as POSIX allows
10823 2001-10-10 Akim Demaille <akim@epita.fr>
10825 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
10826 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
10829 2001-10-10 Akim Demaille <akim@epita.fr>
10831 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
10832 m4_define, since...
10833 (_AS_ECHO_N): AS_REQUIREs it.
10835 2001-10-10 Akim Demaille <akim@epita.fr>
10837 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
10838 (AC_INCLUDES_DEFAULT): Move to...
10839 * lib/autoconf/headers.m4: here.
10840 * lib/autoconf/types.m4: Comment changes.
10841 * doc/autoconf.texi: Specify where the default includes are used
10842 in the macro prototypes.
10844 2001-10-09 Akim Demaille <akim@epita.fr>
10846 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
10849 2001-10-08 Akim Demaille <akim@epita.fr>
10851 * bin/autoreconf.in (&autoreconf): Remove debugging code.
10852 (&parse_args): Pass verbosity/debugging options to subtools when
10853 --debug, not when --verbose.
10854 * lib/autom4te.in (Autoreconf-preselections): New.
10855 (Autoconf): Use it.
10857 2001-10-08 Akim Demaille <akim@epita.fr>
10859 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
10861 2001-10-08 Akim Demaille <akim@epita.fr>
10863 * doc/autoconf.texi (autoreconf Invocation): Adjust.
10864 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
10866 2001-10-08 Akim Demaille <akim@epita.fr>
10868 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
10869 (Syntax of the shell scripts): Don't.
10870 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
10871 bother with $force since...
10872 * lib/Autom4te/General.pm: does.
10874 2001-10-08 Akim Demaille <akim@epita.fr>
10876 * bin/autoreconf.in: Rewrite in Perl.
10877 * configure.ac: Adjust.
10878 * lib/Autom4te/General.pm (&up_to_date_p): New.
10879 * bin/autom4te.in (&up_to_date_p): Use it.
10881 (&up_to_date): this.
10883 2001-10-08 Akim Demaille <akim@epita.fr>
10885 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
10886 (m4_list_cmp): Use $0 to reinvoke yourself.
10887 (m4_patsubsts): New.
10888 (m4_strip, m4_version_unletter): Use it.
10889 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
10891 2001-10-08 Akim Demaille <akim@epita.fr>
10893 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
10894 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
10895 * lib/autoconf/types.m4, lib/autotest/general.m4,
10896 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
10897 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
10898 m4_bregexp, m4_bpatsubst, and m4_bmatch.
10899 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
10901 2001-10-08 Akim Demaille <akim@epita.fr>
10903 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
10905 2001-10-08 Akim Demaille <akim@epita.fr>
10907 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
10908 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
10909 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
10910 * tests/tools.at, tests/m4sh.at: Use it.
10911 * tests/m4sh.at: Don't rely on Autoconf macros.
10912 (DIRNAME_TEST): Also exercise the expr variant.
10913 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
10914 preferred M4sugar extension is now `.4s'.
10915 * tests/README: Remove.
10917 2001-10-08 Akim Demaille <akim@epita.fr>
10919 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
10920 (m4_provide_if): this.
10921 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
10922 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
10923 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
10924 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
10926 2001-10-08 Akim Demaille <akim@epita.fr>
10928 Use `add-log-current-defun-function' for ChangeLog creation.
10929 Suggested by Tom Tromey.
10931 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
10932 (autotest-mode): Adjust.
10933 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
10934 'comment-region onto `C-c ;'.
10935 Comments are `#', not `dnl'.
10936 (autoconf-current-defun): New.
10937 (autoconf-font-lock-keywords): Recognize `m4_defun'.
10939 2001-10-08 Akim Demaille <akim@epita.fr>
10941 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
10942 * lib/m4sugar/m4sh.m4: here.
10943 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
10944 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
10945 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
10946 include handle the m4_pattern_*, no longer push the
10947 BODY diversion nor set the /bin/sh line, AS_INIT does it.
10948 * lib/autotest/general.m4 (AT_INIT): Likewise.
10949 * tests/base.at: Adjust the tests to use AS_INIT.
10950 * tests/tools.at (AT_DATA_FORBIDDEN): New.
10951 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
10954 2001-10-07 Paul Eggert <eggert@twinsun.com>
10956 * doc/autoconf.texi (config.status Invocation):
10957 CONFIG_SHELL defaults to a shell that supports LINENO if available.
10959 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
10960 shell does not support LINENO, and if CONFIG_SHELL is unset or
10961 empty, and if we can find a shell that does support LINENO,
10962 then set CONFIG_SHELL to that shell and then re-execute
10963 ourselves with CONFIG_SHELL.
10965 2001-10-05 Paul Eggert <eggert@twinsun.com>
10967 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
10968 doesn't exist. Remove *.tmp, as a .tmp file is created during the
10969 build of $(TESTSUITE).
10971 2001-10-05 Akim Demaille <akim@epita.fr>
10973 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
10974 iff we are a bareword.
10975 Reported by Raja R Harinath.
10977 2001-10-05 Akim Demaille <akim@epita.fr>
10979 * tests/m4sh.at (LINENO): New.
10980 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
10981 PATH_SEPARATOR before using it.
10982 Fix the absolute path case/esac pattern.
10983 Provide $0 as fallback for as_myself.
10984 Reported by Raja R Harinath.
10986 2001-10-05 Akim Demaille <akim@epita.fr>
10988 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
10989 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
10991 2001-10-05 Akim Demaille <akim@epita.fr>
10993 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
10994 (AS_SHELL_SANITIZE): here. Use it.
10995 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
10998 2001-10-04 Akim Demaille <akim@epita.fr>
11000 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
11001 combination of Awk and sed to replace $LINENO.
11003 2001-10-02 Paul Eggert <eggert@twinsun.com>
11005 * doc/autoconf.texi (Limitations of Builtins): You can't use
11006 "source"; it's not portable. Remove confusing and
11007 somewhat-incorrect example involving "." and "/".
11009 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
11010 compatibility with POSIX shells.
11012 2001-10-02 Akim Demaille <akim@epita.fr>
11014 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
11015 instead of exec'ing to preserve $0 and $@.
11017 2001-10-01 Akim Demaille <akim@epita.fr>
11019 * tests/testsuite (AT_INIT) <at_pass_list>: New.
11020 Don't run twice the same test.
11022 2001-10-01 Akim Demaille <akim@epita.fr>
11024 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
11025 No longer output the list of tests.
11026 <--list>: New option.
11027 <--full-help>: Remove.
11028 Complete the short/long options duality.
11029 Various small adjustments.
11031 2001-10-01 Akim Demaille <akim@epita.fr>
11033 * doc/autoconf.texi: Use @kbd for user input.
11034 Always use `$' as shell prompt.
11036 2001-09-30 Paul Eggert <eggert@twinsun.com>
11038 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
11039 Don't use nested parenthesization. This patch was originally
11040 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
11041 but somehow it didn't get incorporated then.
11042 * doc/autoconf.texi (Limitations of Usual Tools):
11043 Clarify remark about sed and nested parenthesization.
11045 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
11046 Report an error if the size cannot be determined even though
11048 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
11049 Check for `expr' arithmetic overflow, and for compilation failure,
11050 and invoke a new argument $4 if either is discovered.
11051 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
11052 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
11054 2001-09-28 Akim Demaille <akim@epita.fr>
11056 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
11057 * m4/lispdir.m4: New.
11058 * aclocal.m4, configure.ac: Adjust.
11060 2001-09-28 Akim Demaille <akim@epita.fr>
11062 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
11064 (AT_INIT): More the wrapped section to where it will be expanded.
11065 Output `AT_tested' only when existing.
11066 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
11068 2001-09-27 Akim Demaille <akim@epita.fr>
11070 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
11071 generates too many bug reports.
11073 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
11074 status when executing the ACTION-IF-FALSE.
11075 * tests/base.at (AC_TRY_*): Rename as...
11076 (AC_TRY_COMMAND): this.
11077 (AC_RUN_IFELSE): New.
11078 * tests/compile.at (Extensions, C keywords)
11079 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
11080 (Broken/missing compilers, AC_PROG_CPP with warnings)
11081 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
11082 * tests/c.at (Extensions, C keywords)
11083 (Broken/missing compilers, AC_PROG_CPP with warnings)
11084 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
11085 (AC_PROG_CPP requires AC_PROG_CC): here and...
11086 * tests/fortran.at (GNU Fortran 77): there.
11087 * doc/autoconf.texi (autoconf Invocation): Fix the example:
11088 AC_TRY_RUN is about compilation, not shell commands.
11089 (Test Programs): AC_TRY_RUN works as used to be advertised.
11091 2001-09-27 Akim Demaille <akim@epita.fr>
11093 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
11095 Be sure to detect when $LINENO always returns the same value.
11096 Look for the original script, basename($0) is certainly not
11098 Pass the CLI arguments to `$as_me.lineno'.
11100 2001-09-25 Akim Demaille <akim@epita.fr>
11102 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
11103 Be sure the close and reopen the LOG fd before and after using tee
11105 <at_tests_pattern>: Adjust to the new format of at_help_all.
11107 2001-09-23 Akim Demaille <akim@epita.fr>
11109 * bin/autom4te.in (parse_args): There can be several invocations
11112 2001-09-23 Akim Demaille <akim@epita.fr>
11114 * doc/autoconf.texi (Top): Wrap in @ifnottex.
11116 2001-09-23 Akim Demaille <akim@epita.fr>
11118 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
11119 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
11120 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
11121 builddir, buildpath, top_builddir, and top_buildpath.
11122 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
11123 the current directory.
11124 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
11125 variables *before* changing the current directory.
11126 Skip nonexistent dirs.
11127 * doc/autoconf.texi (Preset Output Variables): Document these
11130 * lib/autotest/general.m4: Do not reset AT_victims.
11131 Don't compute at_srcdir nor at_top_srcdir.
11133 * tests/tools.at: Hence use top_srcdir.
11135 * tests/Makefile.am, tests/autoconf, tests/autoheader,
11136 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
11138 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
11139 * tests/wrapsh.in, tests/autoupdate.in: New.
11140 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
11141 * configure.ac: Build the position independent wrappers.
11143 * man/Makefile.am: Now that test wrappers are position
11144 independent, use them and drop dark envvar magic.
11146 2001-09-23 Akim Demaille <akim@epita.fr>
11148 * doc/autoconf.texi (Common Shell Constructs): Rename as...
11149 (Programming in M4sh): this.
11150 Promote to @section.
11152 2001-09-23 Akim Demaille <akim@epita.fr>
11154 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
11155 Pass $at_debug_args to the rerun test suite.
11156 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
11157 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
11160 2001-09-23 Akim Demaille <akim@epita.fr>
11162 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
11164 2001-09-23 Akim Demaille <akim@epita.fr>
11166 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
11169 2001-09-23 Akim Demaille <akim@epita.fr>
11171 * lib/Autom4te/General.pm (&debug): New.
11172 * bin/autom4te.in ($language): Move to...
11173 (parse_args): here.
11174 Handle --language in languages.
11175 * lib/autom4te.in (Automake-selections, Autoheader-selections)
11176 (Autoscan-selections): New.
11177 (Autoconf): Adjust.
11179 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
11181 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
11182 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
11183 to match current versions from CVS Automake.
11185 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
11187 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
11190 2001-09-22 Akim Demaille <akim@epita.fr>
11192 * lib/autoconf/autotest.m4: Create `package.m4'.
11193 * tests/Makefile.am (package.m4): Remove.
11195 2001-09-22 Akim Demaille <akim@epita.fr>
11197 Rely on `$LINENO' when possible instead of `__oline__'.
11199 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
11200 `$LINENO' support replacement when not supported.
11201 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
11202 them explicitly to be sure they are not output before this section
11203 (via m4_require). Cosmetic only.
11204 * lib/autoconf/c.m4, lib/autoconf/general.m4,
11205 * lib/autoconf/programs.m4: Replace all the occurrences of
11206 `__oline__' with `$LINENO'.
11207 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
11209 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
11211 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
11212 character (u: -> ue) in a code comment.
11213 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
11216 2001-09-21 Akim Demaille <akim@epita.fr>
11218 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
11219 Suggested by Jim Meyering.
11221 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11223 * lib/autoconf/programs.m4: Use extensions listed in
11224 $ac_executable_extensions when looking for programs.
11226 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11228 * lib/autoconf/general.m4: Fix a small Englisho.
11229 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
11230 setting up ac_dir_suffix and ac_top_builddir.
11231 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
11233 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11235 * doc/autoconf.texi (File System Conventions): Clarify the use of
11237 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
11238 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
11239 be used instead of ':'.
11240 * lib/autotest/general.m4: Replace occurrences of ':' in
11241 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
11243 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11245 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
11246 arguments. Fixed a typo.
11248 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11250 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
11251 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
11253 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11255 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
11256 * bin/autoupdate.in: Ditto.
11257 * bin/autoheader.in: Reworded a few comments.
11258 * bin/autoconf.in: Reworded help text for a few options.
11259 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
11260 * bin/autoscan.in, bin/autoupdate.in: Ditto.
11262 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11264 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
11265 already have $file). Set output files to binary mode (helps avoid
11266 CR issues on DOSish systems).
11268 2001-09-19 Akim Demaille <akim@epita.fr>
11270 * lib/autotest/general.m4: Englishoes.
11271 From Tim Van Holder and Alexey Mahotkin.
11273 2001-09-18 Paul Eggert <eggert@twinsun.com>
11275 * doc/autoconf.texi (Common Shell Constructs): New node,
11276 documenting AS_DIRNAME.
11277 (Limitations of Usual Tools): Refer to it when discussing dirname.
11278 Also, update discussion of POSIX standard to reflect latest draft.
11280 * lib/autoconf/c.m4:
11281 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
11283 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
11284 Do not pass a first argument with leading '-'
11285 to expr, by parenthesizing initial integers that might be negative.
11287 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
11288 now merely checks whether it is an error to pass an argument
11291 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
11292 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
11293 whether it is a (compile-time) error to pass an argument to
11294 getpgrp. This simpler test supports the revised documentation,
11295 and is all that AC_FUNC_GETPGRP's users really need.
11297 2001-09-18 Akim Demaille <akim@epita.fr>
11299 * doc/autoconf.texi (Limitations of Make) <$<>: New.
11301 2001-09-18 Akim Demaille <akim@epita.fr>
11303 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
11305 * lib/autotest/general.m4 (AT_INIT): Adjust.
11307 2001-09-18 Paul Wagland <paul@wagland.net>
11309 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
11311 Add test for AS_BASENAME.
11312 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
11313 added test. It now correctly handles /1/2/3/, returning '3' not ''.
11314 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
11315 * tests/base.at: Fixed the expected responses. The old ones were
11317 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
11318 the documentation claims it should (and how it behaved in 2.13).
11320 2001-09-18 Akim Demaille <akim@epita.fr>
11322 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
11323 the AC_CONFIG_COMMANDS invocation.
11324 This also solves the name clash problems.
11325 Don't set the package's ID.
11326 * lib/m4sugar/Makefile.am (version.m4): Revamp.
11327 No longer to be shipped.
11328 (version.in): Remove.
11329 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
11330 * lib/autoconf/status.m4: Adjust.
11331 Use `m4_PACKAGE_STRING'.
11332 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
11333 the only optional argument is the name of the test suite.
11334 Expect `package.m4' to define the package signature.
11335 * lib/autom4te.in (Autotest): Add `package.m4?'.
11336 * tests/Makefile.am (package.m4): New.
11337 * tests/suite.at: ifnames is a victim.
11339 2001-09-18 Akim Demaille <akim@epita.fr>
11341 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
11342 AC_LIBSOURCE, AC_CONFIG_FILES.
11343 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
11344 program version string doesn't match the package's.
11345 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
11348 2001-09-17 Paul Eggert <eggert@twinsun.com>
11350 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
11351 Allow expression to return any value that can fit into unsigned long
11352 (not int, as before). Check for output errors.
11354 2001-09-17 Bruno Haible <haible@ilog.fr>
11356 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
11357 Always include <stdio.h> and <stdlib.h>. Evaluate
11358 the expression in an extra function before these includes. Call
11359 fprintf "%d" only after ensuring the argument is of type 'int'.
11360 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
11362 2001-09-17 Paul Eggert <eggert@twinsun.com>
11364 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
11365 or CFLAGS=-O5. In that case, the linker has a relaxed view of
11366 fatal errors, and AC_CHECK_LIB causes it to include libraries even
11367 when they don't exist.
11369 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
11370 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
11373 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
11374 version with the version used by fileutils 4.1, except use
11375 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
11378 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
11380 2001-09-13 Akim Demaille <akim@epita.fr>
11382 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
11384 Reported by Gerrit P. Haase.
11386 2001-09-13 Akim Demaille <akim@epita.fr>
11388 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
11389 m4_defn'ing is valid.
11391 2001-09-13 Akim Demaille <akim@epita.fr>
11393 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
11394 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
11397 2001-09-13 Akim Demaille <akim@epita.fr>
11399 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
11401 (m4_re_escape): New.
11402 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
11403 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
11404 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
11406 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
11407 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
11408 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
11409 AT_tests_all for consistency.
11411 (AT_VICTIMS): Similar to AT_KEYWORDS.
11412 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
11414 2001-09-13 Akim Demaille <akim@epita.fr>
11416 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
11418 2001-09-13 Akim Demaille <akim@epita.fr>
11420 * lib/autotest/general.m4 (AT_INIT): Create and remove
11421 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
11422 test suites can cohabit.
11424 2001-09-13 Akim Demaille <akim@epita.fr>
11426 * tests/mktests.sh: Don't output banners for empty test files.
11428 2001-09-13 Akim Demaille <akim@epita.fr>
11430 Test suites can be run independently of configure.
11432 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
11433 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
11434 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
11436 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
11438 * lib/autotest/general.m4: Use ECHO_*.
11440 2001-09-13 Akim Demaille <akim@epita.fr>
11442 * bin/ifnames.in: Rewrite in Perl.
11443 * configure.ac: Don't look for AWK.
11444 * tests/tools.at (AWK portability): Remove.
11445 (Syntax of the shell scripts): Don't check ifnames.
11446 (AT_CHECK_PERL_SYNTAX): New.
11447 (Syntax of the Perl scripts): Check ifnames.
11448 * tests/ifnames: New.
11450 2001-09-13 Akim Demaille <akim@epita.fr>
11452 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
11454 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
11455 Remove all the other keywords.
11457 2001-09-10 Akim Demaille <akim@epita.fr>
11459 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
11460 SETUP: no longer used.
11461 Support -k, --keywords.
11462 <at_help>: Be `no', `short', or `long'.
11463 <at_help_all>: New variable.
11464 (AT_KEYWORDS): New.
11465 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
11466 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
11467 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
11468 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
11469 No longer fill the HELP diversion.
11470 (AT_CLEANUP): Use them.
11471 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
11472 (m4_list_append): Remove.
11474 Spread a few keywords in the Autoconf test suite.
11476 2001-09-10 Akim Demaille <akim@epita.fr>
11478 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
11479 PATH_SEPARATOR, let M4sh compute it.
11480 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
11481 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
11483 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
11484 Simplify when the path is not a literal.
11485 (AS_UNAME): Use it to report PATH.
11486 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
11487 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
11488 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
11489 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
11490 normalize the path, and to look for victims.
11491 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
11492 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
11494 2001-09-07 Akim Demaille <akim@epita.fr>
11496 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
11497 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
11498 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
11499 related variables into `at_package_*'.
11500 * lib/autotest/general.m4 (AT_VICTIMS): New.
11501 (AT_INIT): Adjust for stand-alone/embedded test suites.
11502 (AS_MESSAGE_LOG_FD): Define and use it.
11503 * tests/suite.at (AT_VICTIMS): Use it.
11504 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
11507 2001-09-07 Akim Demaille <akim@epita.fr>
11509 Move toward possibly stand-alone test suites.
11511 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
11512 in addition, it introduces useless differences in logs.
11513 (AT_INIT): Let atconfig and atlocal be both optional.
11514 Adjust PATH computation.
11515 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
11517 2001-09-07 Akim Demaille <akim@epita.fr>
11519 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
11520 m4sugar/version.m4.
11522 2001-09-05 Akim Demaille <akim@epita.fr>
11524 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
11525 to avoid GCC warnings.
11528 2001-09-05 Akim Demaille <akim@epita.fr>
11530 * bin/autom4te.in: --language is -l, not -s.
11532 2001-09-05 Akim Demaille <akim@epita.fr>
11534 Be ready to handle filenames as stupid as `dnl.at', for if even
11535 the maintainer is dumb enough to do that...
11537 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
11538 excellence in M4 quotation: consider `__file__' is active.
11540 And BTW, when invoking m4, pass the --include in the right order:
11543 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
11546 2001-09-05 Akim Demaille <akim@epita.fr>
11548 * lib/Autom4te/XFile.pm: New lib file.
11549 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
11550 * bin/autoheader.in: Use it.
11552 2001-09-05 Akim Demaille <akim@epita.fr>
11554 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
11557 2001-09-05 Akim Demaille <akim@epita.fr>
11559 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
11560 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
11562 * bin/autoscan.in: Use `getopt' and `find_files' etc.
11563 Add -I, --include support.
11564 * doc/autoconf.texi (autoscan Invocation): Adjust.
11566 2001-09-05 Akim Demaille <akim@epita.fr>
11568 CVS GNU M4 doesn't like `undefine(undefined)'.
11570 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
11571 New, extracted from main.
11572 Use IO::File wherever possible.
11573 (input.m4): Be constant, use -I instead of hard coding $tmp.
11574 Therefore be a quoted heredoc.
11575 Don't invoke `_au_disable', since ac was not loaded, but just
11578 2001-08-31 Akim Demaille <akim@epita.fr>
11582 2001-08-31 Akim Demaille <akim@epita.fr>
11584 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
11586 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
11588 2001-08-31 Akim Demaille <akim@epita.fr>
11590 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
11591 serious problems handling heredocs in heredocs.
11592 Reported by Nicolas Joly.
11594 2001-08-31 Akim Demaille <akim@epita.fr>
11596 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
11597 (Making testsuite Scripts): Update.
11599 2001-08-31 Akim Demaille <akim@epita.fr>
11601 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
11603 2001-08-31 Akim Demaille <akim@epita.fr>
11605 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
11606 (testsuite Scripts): There is no such thing as `atconfig.in'.
11607 And actually one diagram is missing: test suite runtime.
11609 2001-08-31 Akim Demaille <akim@epita.fr>
11611 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
11614 2001-08-31 Akim Demaille <akim@epita.fr>
11616 * bin/autoupdate.in (@include): `installcheck' revealed the path
11617 to m4sugar was lacking!
11619 2001-08-31 Akim Demaille <akim@epita.fr>
11621 * man/Makefile.am (.x.1): We really have to pass
11622 autom4te_perllibdir.
11624 2001-08-31 Akim Demaille <akim@epita.fr>
11626 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
11627 debug scripts, in particular passing explicitly listed tests to
11630 2001-08-31 Akim Demaille <akim@epita.fr>
11632 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
11633 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
11634 Use directly autom4te, not autoconf.
11635 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
11637 2001-08-31 Akim Demaille <akim@epita.fr>
11639 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
11640 * bin/autoheader.in (%symbol): Strip arguments of macros.
11642 2001-08-31 Akim Demaille <akim@epita.fr>
11644 * doc/autoconf.texi: Catch up -I, --include changes.
11646 2001-08-31 Akim Demaille <akim@epita.fr>
11648 * bin/autom4te.in (&parse_args): Die on unknown languages.
11649 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
11651 Promote --include over --macrodir and other obsolete options.
11653 2001-08-31 Akim Demaille <akim@epita.fr>
11655 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
11656 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
11657 * bin/autom4te.in ($autoconf): Pass --force.
11658 `print $out' doesn't print `$_' but `$out'.
11659 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
11660 (autoheader): Pass --force since the test suite goes too fast for
11662 Adjust to the new autoheader messages.
11664 2001-08-31 Akim Demaille <akim@epita.fr>
11666 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
11667 Check the completeness of the #template.
11668 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
11669 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
11672 2001-08-31 Akim Demaille <akim@epita.fr>
11674 * lib/Autom4te/General.pm (&find_file, &update_file): New.
11675 * bin/autoupdate.in, bin/autoheader.in: Adjust.
11676 Drop AC_MACRODIR dead for real.
11677 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
11678 `autoheader: `config.hin' is created'.
11679 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
11681 2001-08-31 Akim Demaille <akim@epita.fr>
11683 * bin/autoheader.in: Rewrite in Perl.
11684 * tests/autoheader: Adjust.
11686 2001-08-31 Akim Demaille <akim@epita.fr>
11688 * bin/autoconf.in (--include, -I): New option.
11689 Map --localdir, --autoconf-dir onto it.
11690 Forward autom4te's options instead of interpreting them.
11691 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
11692 There is no such envvar since the inception of autom4te.cfg.
11693 * bin/autom4te.in (&parse_args): Uniquify `@include'.
11694 * bin/autoupdate.in: Adjust, and perform more control.
11695 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
11696 * tests/autoconf: Dittowise.
11698 2001-08-31 Akim Demaille <akim@epita.fr>
11700 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
11701 * bin/autom4te.in (&find_file): Support `FILE?' standing for
11703 Use -e, not -f, since /dev/null for instance is OK.
11704 (&parse_args): Adjust.
11705 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
11707 2001-08-31 Akim Demaille <akim@epita.fr>
11709 * configure.ac: Also find tested executables in bin.
11710 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
11711 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
11712 installed peer executables, only PATH is allowed to resolve it.
11713 Pass `autoconf_dir' via options, not via invisible envvars.
11714 * lib/Autom4te/General.pm (&find_peer): Remove.
11715 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
11716 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
11717 * man/Makefile.am: Let help2man rely on PATH instead of trying to
11718 find the executables for it.
11719 * tests/Makefile.am: Major cleanup. Too lazy to document...
11720 * tests/atlocal.in: Remove all the obscure envvar manipulations.
11722 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
11723 indeed related to running the test suite, while passing
11724 --autoconf-dir and others is related to running non installed
11725 Autoconf executables. So don't do that, leave it to...
11726 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
11727 * tests/autoscan: New.
11728 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
11729 refer to library files: rely on --language.
11731 2001-08-29 Akim Demaille <akim@epita.fr>
11733 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
11734 s/--set/--language/.
11736 2001-08-29 Akim Demaille <akim@epita.fr>
11738 * doc/autoconf.texi: Strip the @nodes.
11739 Suggested by Paul Eggert.
11740 (Initializing configure): Typo.
11742 2001-08-29 Akim Demaille <akim@epita.fr>
11744 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
11745 Suggested by Paul Eggert.
11747 2001-08-29 Akim Demaille <akim@epita.fr>
11749 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
11750 download in a tmp dir.
11752 2001-08-29 Akim Demaille <akim@epita.fr>
11754 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
11755 case insensitive OSes out there :(
11756 From Tim Van Holder.
11758 2001-08-29 Akim Demaille <akim@epita.fr>
11760 * lib/autom4te.in: New.
11761 * lib/Makefile.am (edit, autom4te.cfg): New.
11762 * bin/autom4te.in (BEGIN): Simplify.
11763 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
11764 (&load_configuration): New. Use it.
11765 (&parse_args): Support --mode, --set, and --melt.
11766 * bin/autoconf.in: Simplify and adjust.
11767 * tests/Makefile.am (AUTOMAKE): Use --set.
11768 * tests/atlocal.in: Adjust.
11769 * BUGS: distcheck and check are weak.
11771 2001-08-29 Akim Demaille <akim@epita.fr>
11773 * lib/autotest/general.m4: Use
11774 foo=`(command) 2>/dev/null`
11776 foo=`command` 2>/dev/null
11777 (at-devnull): Rename as...
11778 (AT-devnull): this.
11779 (--clean): Remove AT-* files too.
11780 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
11781 Reported by Nicolas Joly.
11783 2001-08-28 Akim Demaille <akim@epita.fr>
11785 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
11786 quotes inside single quotes.
11787 Reported by Nicolas Joly.
11789 2001-08-28 Kevin Ryde <user42@zip.com.au>
11791 * doc/autoconf.texi (Function Portability): Mention C right shifts.
11793 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
11795 * lib/autotest/general.m4: Reword some messages.
11796 (AT_INIT): Check for the `times' builtin before using it.
11797 Support test ranges as arguments to the testsuite.
11798 Have -e imply -d as the help text suggested.
11800 2001-08-27 Akim Demaille <akim@epita.fr>
11802 * Makefile.maint: Formatting changes.
11803 (do-po-update, po-update, cvs-update, update): New targets.
11806 2001-08-27 Akim Demaille <akim@epita.fr>
11808 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
11809 <at_cmd_line>: New.
11810 Pass it to debug-*.sh scripts.
11811 <AUTOTEST_PATH>: May contain absolute dir names.
11813 2001-08-27 Akim Demaille <akim@epita.fr>
11815 * lib/autotest/general.m4 (AT_INIT): Log the command line.
11816 Support `VAR=VAL' as arguments.
11817 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
11818 may be set via the command line.
11820 2001-08-27 Akim Demaille <akim@epita.fr>
11822 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
11823 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
11824 first the build dirs, then the src dirs.
11825 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
11827 2001-08-27 Akim Demaille <akim@epita.fr>
11829 * lib/autotest/general.m4 (AT_INIT): Output the definition of
11830 at_data_files earlier.
11831 (--clean, -c): New option.
11832 * tests/Makefile.am: Use this option.
11834 2001-08-27 Akim Demaille <akim@epita.fr>
11836 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
11837 `ac_top_builddir' to mimic Automake's vocabulary, which much more
11840 * doc/autoconf.texi (Configuration Actions): Document the vars
11841 available in commands.
11842 Emphasize the risks of collisions in init-cmds.
11844 2001-08-27 Akim Demaille <akim@epita.fr>
11846 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
11847 (Initializing configure): this new node.
11849 2001-08-27 Akim Demaille <akim@epita.fr>
11851 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
11853 2001-08-27 Akim Demaille <akim@epita.fr>
11855 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
11856 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
11858 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
11860 2001-08-27 Akim Demaille <akim@epita.fr>
11862 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
11864 * lib/autoconf/autoheader.m4: this new file.
11865 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
11866 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
11868 * lib/autoconf/autoupdate.m4: this new file.
11870 2001-08-27 Akim Demaille <akim@epita.fr>
11872 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
11873 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
11874 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
11876 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
11877 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
11879 2001-08-27 Akim Demaille <akim@epita.fr>
11881 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
11882 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
11883 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
11884 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
11885 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
11886 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
11887 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
11888 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
11889 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
11890 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
11891 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
11892 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
11893 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
11894 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
11895 (_AC_OUTPUT_SUBDIRS): Move to...
11896 * lib/autoconf/status.m4: this new file.
11897 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
11898 * tests/Makefile.am, tests/suite.at: Adjust.
11900 2001-08-27 Akim Demaille <akim@epita.fr>
11904 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
11905 (AMTAR): Help automake define it.
11906 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
11907 needed, 1.5 can have a macro and a target with the same name.
11908 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
11909 * m4/strip.m4: New.
11910 * m4/init.m4, m4/sanity.m4: Update.
11911 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
11912 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
11913 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
11914 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
11916 2001-08-27 Akim Demaille <akim@epita.fr>
11918 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
11920 * lib/autoconf/version.in: Remove.
11921 * lib/m4sugar/version.in: New.
11922 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
11924 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
11925 the name of the directory they're in, instead of the filename,
11926 since version.m4 is now in m4sugar, but m4_acversion must not be
11927 classified as an Autoconf macro.
11928 ($input_m4): Don't qualify the path to m4sugar.
11929 Rather, pass autoconf_dir to m4.
11930 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
11931 * tests/suite.at: Require 2.52c.
11933 2001-08-27 Akim Demaille <akim@epita.fr>
11935 testsuite.log should include config.log.
11937 * lib/autotest/autotest.m4: New.
11938 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
11939 * tests/suite.at : Adjust.
11940 (AT_INIT): Log config.log.
11941 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
11942 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
11943 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
11944 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
11945 of config.log on traps.
11946 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
11947 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
11948 for config.status'.
11949 Open the log as soon as possible.
11950 Use the same log introduction as configure's.
11952 2001-08-22 Paul Eggert <eggert@twinsun.com>
11954 * doc/autoconf.texi (Indices): New node.
11955 Move indices out of the top level menu and into this submenu.
11957 2001-08-22 Akim Demaille <akim@epita.fr>
11959 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11961 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
11963 2001-08-22 Akim Demaille <akim@epita.fr>
11965 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
11966 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
11967 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
11968 * lib/autoconf/programs.m4: here.
11969 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
11970 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
11971 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
11972 * lib/autoconf/programs.m4: here.
11973 (_AC_DECL_YYTEXT): Rename as...
11974 (_AC_PROG_LEX_YYTEXT_DECL): this.
11975 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
11976 * tests/Makefile.am, tests/suite.am: Adjust.
11978 2001-08-22 Akim Demaille <akim@epita.fr>
11980 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
11982 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
11984 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
11985 * lib/autoconf/functions.m4: here.
11986 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
11987 (AH_CHECK_LIB): Move to...
11988 * lib/autoconf/libs: this new file.
11989 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
11990 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
11991 * lib/autoconf/libs.m4: here.
11992 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
11994 2001-08-22 Akim Demaille <akim@epita.fr>
11996 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
11997 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
11998 (AC_SITE_LOAD): Better logging of config.site.
12000 2001-08-20 Akim Demaille <akim@epita.fr>
12002 * configure.ac (AT_CONFIG): Fix the path.
12003 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
12006 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
12008 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
12009 program with AC_LANG_PROGRAM before feeding it to
12010 AC_COMPILE_IFELSE. Cleanup grep usage.
12012 2001-08-20 Akim Demaille <akim@epita.fr>
12014 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
12015 * NEWS, README, README-alpha, TODO, tests/README: This package is
12016 `Autoconf', not `autoconf' (the executable).
12018 2001-08-20 Akim Demaille <akim@epita.fr>
12020 Info readers seem to need `Index' in the index node title :(
12022 * doc/autoconf.texi: Reverse the 2001-08-15 change which
12023 simplified index node names.
12025 2001-08-20 Akim Demaille <akim@epita.fr>
12027 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
12028 arguments are not literals.
12029 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
12030 Specify the output variables, and macros defined.
12032 2001-08-20 Akim Demaille <akim@epita.fr>
12034 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
12035 (Examining Syntax) <AC_TRY_COMPILE>
12036 (Examining Libraries) <AC_TRY_LINK>
12037 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
12039 Reported by Werner Lemberg.
12041 2001-08-20 Akim Demaille <akim@epita.fr>
12043 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
12044 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
12045 Load atlocal late enough to dump it in the log.
12046 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
12048 2001-08-20 Akim Demaille <akim@epita.fr>
12050 * tests/torture.at (Configuring subdirectories): New test.
12051 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
12053 * m4/atconfig.m4: Be sure the let $[0] be expandable.
12054 (top_srcdir): Fix its computation.
12056 2001-08-20 Akim Demaille <akim@epita.fr>
12058 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
12059 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
12061 Create `atconfig' automagically.
12062 Configure atlocal.in if present.
12063 * tests/atconfig.in: Remove.
12064 * tests/atlocal.in: New.
12065 * tests/Makefile.am: Adjust.
12067 2001-08-20 Akim Demaille <akim@epita.fr>
12069 Huh!?!?! There are still some user EOF tags used, which prevents
12070 their use in AC_CONFIG_COMMANDS for instance...
12072 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
12073 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
12074 `_CSEOF', or `_ATEOF', as appropriate.
12075 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
12076 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
12078 2001-08-20 Akim Demaille <akim@epita.fr>
12080 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
12081 * tests/semantics.at, tests/tools.at, tests/torture.at:
12082 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
12084 2001-08-20 Akim Demaille <akim@epita.fr>
12086 Autotest invokes M4sh's initialization.
12088 * lib/autotest/general.m4: Adjust the diversion names.
12089 (AT_INIT): Run AS_INIT.
12090 Use the BINSH diversion to invoke /bin/sh.
12091 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
12092 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
12094 2001-08-20 Akim Demaille <akim@epita.fr>
12096 Let M4sh have its own diversions.
12098 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
12099 (_m4_divert(NOTICE)): Rename as...
12100 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
12101 (_m4_divert(HEADER-COMMENT)): these.
12102 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
12103 (_m4_divert(NOTICE)): New, for Libtool.
12104 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
12105 long ago with `_m4_divert(GROW)'.
12106 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
12108 2001-08-20 Akim Demaille <akim@epita.fr>
12110 * tests/base.at, tests/compile.at, tests/foreign.at,
12111 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
12112 * tests/semantics.at, tests/suite.at, tests/tools.at,
12113 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
12115 2001-08-20 Akim Demaille <akim@epita.fr>
12117 * bin/autom4te.in (handle_output): Handle @__@.
12119 2001-08-20 Akim Demaille <akim@epita.fr>
12121 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
12122 * lib/autotest/general.m4: Adjust the license.
12124 2001-08-17 Paul Eggert <eggert@twinsun.com>
12126 * doc/autoconf.texi (Function Portability): Mention snprintf,
12127 following up on a suggestion by Kevin Ryde.
12129 2001-08-17 Akim Demaille <akim@epita.fr>
12131 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
12132 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
12134 2001-08-17 Akim Demaille <akim@epita.fr>
12136 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
12137 `$0.log' as for projects where testsuite is in src, we'd have
12138 testsuite.log created in src.
12140 2001-08-17 Akim Demaille <akim@epita.fr>
12142 * bin/autom4te.in (&parse_args): Recognize --normalize.
12144 2001-08-17 Akim Demaille <akim@epita.fr>
12146 Start implementing the AC_CHECK_HEADER transition scheme.
12148 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
12149 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
12150 (AC_CHECK_HEADER): Use them.
12152 2001-08-17 Akim Demaille <akim@epita.fr>
12154 * doc/autoconf.texi: Work around Texinfo buglets.
12155 (Transformation Rules): One example is enough, users are expected
12156 to have their brains on. And BTW, use DESTDIR.
12157 (dvar): New macro. Use it.
12159 2001-08-17 Akim Demaille <akim@epita.fr>
12161 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
12162 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
12163 looking for ChangeLogs.
12165 2001-08-17 Akim Demaille <akim@epita.fr>
12167 * bin/autom4te.in: --normalize is a new option.
12168 * bin/autoconf.in: Use it.
12170 2001-08-17 Akim Demaille <akim@epita.fr>
12172 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
12173 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
12175 2001-08-16 Paul Eggert <eggert@twinsun.com>
12177 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
12180 2001-08-15 Akim Demaille <akim@epita.fr>
12182 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
12185 2001-08-15 Akim Demaille <akim@epita.fr>
12187 * doc/autoconf.texi (pr): New index.
12188 (prindex, findex): Use, merge, and output them.
12189 (Environment Variable Index, Output Variable Index)
12190 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
12191 (Autotest Macro Index): Rename as...
12192 (Environment Variables, Output Variables,Preprocessor Symbols)
12193 (Autoconf Macros, M4 Macros, Autotest Macros): these.
12194 * doc/install.texi: Use @command.
12195 (Environment Variables): Rename as...
12196 (Defining Variables): this.
12198 2001-08-15 Akim Demaille <akim@epita.fr>
12200 * doc/autoconf.texi (Function Portability): sprintf's return
12204 2001-08-15 Akim Demaille <akim@epita.fr>
12206 * Makefile.maint (CVS): New.
12207 (local-check): Run changelog-check. last.
12208 (alpha): Don't depend upon local-check, since...
12209 (cvs-dist): depends upon it.
12211 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
12213 * tests/Makefile.am: Use a clean-local rule to remove
12214 autom4te.cache (it's a directory, not a file.
12215 * Makefile.am: Ditto (but maintainer-clean-local).
12217 2001-08-15 Akim Demaille <akim@epita.fr>
12219 * bin/autom4te.in (@m4_warning): New.
12220 (&handle_m4): Use it.
12221 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
12222 warnings are issued at each run.
12223 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
12224 is in the src tree.
12226 2001-08-15 Akim Demaille <akim@epita.fr>
12228 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
12229 don't waste time running `autoupdate --version' works.
12230 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
12232 2001-08-13 Akim Demaille <akim@epita.fr>
12234 * doc/autoconf.texi (ma): Rename this index as...
12237 2001-08-13 Akim Demaille <akim@epita.fr>
12239 * Makefile.am: Remove dead code and dead comments.
12240 (pdf, html): New targets.
12241 * doc/autoconf.texi (Using Autotest): New chapter.
12242 * doc/Makefile.am (pdf): New targets.
12243 (CLEANFILES): Adjust.
12245 2001-08-13 Akim Demaille <akim@epita.fr>
12247 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
12248 duration of the test suite.
12250 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
12252 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
12253 endianness for comparison instead of relying on AT_CHECK_ENV.
12255 2001-08-11 Paul Eggert <eggert@twinsun.com>
12257 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
12258 to the INSTALL file.
12260 2001-08-11 Paul Eggert <eggert@twinsun.com>
12262 * NEWS: The autoconf manual now is distributed under the terms
12263 of the GNU Free Documentation License.
12265 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
12266 Add an appendix "Copying This Manual" for the FDL.
12268 * doc/fdl.texi: New file, from
12269 <http://www.gnu.org/licenses/fdl.texi>.
12271 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
12273 2001-08-10 Paul Eggert <eggert@twinsun.com>
12275 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
12276 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
12277 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
12278 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
12279 m4/sanity.m4, tests/README, tests/aclocal.m4,
12280 tests/atspecific.m4, tests/base.at, tests/compile.at,
12281 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
12282 tests/semantics.at, tests/suite.at, tests/tools.at,
12283 tests/torture.at: Add copyright notice.
12285 * tests/mktests.sh: Update year in copyright notice.
12287 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
12289 * tests/semantics.at (AC_C_BIGENDIAN): New test.
12291 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
12293 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
12294 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
12295 * doc/autoconf.texi (C Compiler Characteristics): Update
12296 documentation for AC_C_BIGENDIAN.
12298 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
12300 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
12301 magic values from an object file when cross-compiling.
12302 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
12304 2001-08-10 Akim Demaille <akim@epita.fr>
12306 * bin/autom4te.in (&handle_output): Don't use `grep' with side
12308 Suggested by Russ Allbery.
12310 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12312 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
12313 current $prefix to the sub-configures.
12315 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
12317 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
12318 extension (needed on BeOS). Reported by Guido van Rossum.
12320 2001-08-09 Akim Demaille <akim@epita.fr>
12322 * bin/autom4te.in ($icache): Load it only if older than autom4te.
12324 2001-08-07 Akim Demaille <akim@epita.fr>
12326 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
12328 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
12329 No need to remove the files before and after the each test, before
12330 each test and at the end of the suite is enough.
12331 Display only the children `times', not the shell's.
12332 If the test failed or was skipped, at-times is not available.
12334 2001-08-07 Akim Demaille <akim@epita.fr>
12336 Always produce testsuite.log, including when there are no
12337 failures. This helps getting information on skipped tests, and
12338 duration of the tests. Err, implement the latter btw.
12340 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
12341 Dump information on the first run of each test.
12342 (AT_CLEANUP): Create `at-times' containing the duration of the
12345 2001-08-07 Akim Demaille <akim@epita.fr>
12347 The use of `dumpstat' revealed that `len' was used although it
12348 should not. m4_text_wrap was using it, but in the Autoconf world
12349 where it is legal. Hence (i) test M4sh in its own world, not
12350 Autoconf's, and (ii), ahem, fix the bug :)
12352 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
12353 does not like `' instead of [].
12354 (AT_INIT): Forbid `^_?AT_'.
12355 And don't output such tokens.
12356 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
12357 `script.as', and `autom4te.cache'.
12358 Remove `empty' and `macro' which are no longer used.
12359 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
12360 * tests/m4sugar.at: Use it.
12361 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
12363 2001-08-07 Akim Demaille <akim@epita.fr>
12365 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
12367 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
12369 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
12371 2001-08-04 Akim Demaille <akim@epita.fr>
12373 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
12374 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
12376 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
12377 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
12378 (AC_F77_MAIN): Likewise.
12380 2001-08-04 Akim Demaille <akim@epita.fr>
12382 Don't rely on M4sugar outputting the patterns in files, since we
12383 might process the output _without_ running m4, hence without these
12386 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
12387 * bin/autom4te.in (@Request::includes): Remove, unused.
12388 (@Request::source): Rename as...
12389 (@Request::input): this.
12390 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
12391 (&handle_output): Fetch the patterns from the traces.
12392 `$forbidden' and `$allowed' are constant: use m//o.
12393 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
12394 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
12396 2001-08-04 Akim Demaille <akim@epita.fr>
12398 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
12399 autoconf', i.e., in addition to caching traces, cache the output.
12401 * bin/autom4te.in (Request::cache): Rename as...
12402 (Request::id): this.
12403 ($cache, $icache, $tcache, $ocache): New.
12404 (&handle_m4): Save M4 output in the cache instead of $tmp.
12405 (&handle_output): Adjust.
12406 (&up_to_date_p): Check that the output cache is up to date too.
12407 (top level): Run `&handle_m4' iff force or the cache is invalid.
12408 Run `&handle_output' if the output cache is more recent.
12410 2001-08-04 Akim Demaille <akim@epita.fr>
12412 * bin/autom4te.in ($force): New.
12413 (&parse_args, &print_usage): -f, --force is a new option.
12414 (&handle_output): CPP directives might have spaces after `#'.
12415 (&parse_args): The first file only can be frozen.
12417 2001-08-04 Akim Demaille <akim@epita.fr>
12419 Don't let autom4te compute the `include' traces several times:
12420 first check that the trace cache file is up to date, and then
12421 compare its timestamp with that of the output.
12423 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
12424 the preamble. Don't require 5.005 as Autom4te::General does it,
12425 and better yet (use `use', not `require'!).
12426 * lib/Autom4te/Struct.pm: Rename the last occurrences of
12427 Class::Struct as Autom4te::Struct.
12428 * lib/Autom4te/General.pm (File::stat): Use it.
12429 (&mtime): New, export it.
12430 * bin/autom4te.in: Use it.
12431 Declare `$req' is invalid if it is outdated.
12432 Don't declare it valid before saving it if something went wrong.
12434 2001-08-04 Akim Demaille <akim@epita.fr>
12436 Autom4te shall not encode Autoconf data, and preselecting traces
12437 must be proposed to the users.
12439 * bin/autom4te.in (@required_trace): Remove.
12441 (&parse_args, &print_usage): -p, --preselect is a new option.
12442 (&up_to_date_p): Adjust.
12443 * bin/autoconf.in: Preselect some Autoconf macros.
12445 2001-08-04 Akim Demaille <akim@epita.fr>
12447 * tests/tools.at (autoconf --trace: user macros): Check traces on
12448 macros invoked without arguments, and macros invoked with multiple
12451 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
12453 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
12456 2001-08-03 Akim Demaille <akim@epita.fr>
12458 * bin/autoconf.in ($@): Work around the usual sh bug.
12461 2001-08-03 Akim Demaille <akim@epita.fr>
12463 Clean up the handling of the M4 builtins tracing exception.
12465 * bin/autom4te.in (Request::request): Don't complete M4 builtins
12467 (@m4_builtins): Rename as...
12468 (@m4_builtin): this.
12469 (%m4_builtin_alternate_name): New.
12470 (&parse_args): Complete the trace requests with alternate names.
12471 (&handle_traces): Hence no longer do it here.
12472 (&trace_requests): Remove, unused.
12474 2001-08-03 Akim Demaille <akim@epita.fr>
12476 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
12477 m4_if, and m4_wrap.
12479 2001-08-03 Akim Demaille <akim@epita.fr>
12481 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
12482 (m4_divert_pop): Dump the whole diversion stack when a diversion
12484 * bin/autom4te.in (&handle_output): Remember of the first
12485 occurrence of a possibly undefined macro, not the last.
12486 Complain about the possibly undefined macros in the same order as
12487 the appear in the output.
12488 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
12489 * tests/tools.at (autoconf: forbidden tokens, basic)
12490 (autoconf: forbidden tokens, exceptions): No longer sort
12491 autoconf's stderr, as it is now deterministic.
12492 Check that `dnl' is caught.
12494 2001-08-01 Akim Demaille <akim@epita.fr>
12496 * configure.ac: Bump to 2.52c.
12498 2001-08-01 Akim Demaille <akim@epita.fr>
12502 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
12504 2001-08-01 Akim Demaille <akim@epita.fr>
12508 2001-08-01 Akim Demaille <akim@epita.fr>
12510 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
12513 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
12514 `END', as `Autom4te::General::END' will be triggered.
12515 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
12516 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
12517 system to run `mv', `rm', and `cmp'.
12519 2001-08-01 Akim Demaille <akim@epita.fr>
12521 * lib/Autom4te/General.pm (&unique): New.
12522 * bin/autoscan.in (&output): Use it to issue trace requests once.
12524 2001-08-01 Akim Demaille <akim@epita.fr>
12526 * lib/Autom4te/General.pm: New.
12527 * bin/autom4te.in (Autom4te::General): Use it.
12528 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
12529 (&find_configure_ac, &find_slave): Remove.
12530 * bin/autoscan.in: Likewise.
12531 * bin/autoupdate.in: Likewise.
12533 2001-08-01 Akim Demaille <akim@epita.fr>
12535 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
12536 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
12537 * bin: here, new directory.
12538 * lib/Autoconf: Rename as...
12539 * lib/Autom4te: this, to please case insensitive junkie OSes.
12541 2001-08-01 Akim Demaille <akim@epita.fr>
12543 * autom4te.in ($m4): Handle the --nesting-limit.
12544 * autoconf.in (M4): Remove.
12546 2001-08-01 Akim Demaille <akim@epita.fr>
12548 * autoconf.in ($AWK): Remove, no longer used.
12549 * test/tools.at: Use AT_CHECK_AUTOCONF.
12550 (AWK portability): Remove, for autoconf no longer uses AWK.
12551 (Syntax of the Perl scripts): New.
12552 * configure.ac: autoconf no longer needs an AWK with a good
12554 Use a static test on AC_PACKAGE_VERSION.
12555 * autom4te.in (&up_to_date_p): Output depends on the arguments.
12556 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
12557 * tests/atconfig.in (PERL): New.
12559 2001-08-01 Akim Demaille <akim@epita.fr>
12561 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
12562 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
12563 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
12564 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
12565 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
12566 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
12567 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
12568 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
12569 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
12570 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
12571 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
12572 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
12573 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
12574 * lib/autoconf/c.m4: here, new file.
12576 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
12577 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
12578 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
12579 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
12580 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
12581 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
12582 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
12583 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
12584 (AC_F77_FUNC): Move to...
12585 * lib/autoconf/fortran.m4: here, new file.
12587 2001-08-01 Akim Demaille <akim@epita.fr>
12589 * acfunctions.m4: Rename as...
12590 * lib/autoconf/functions.m4: this.
12591 * acgeneral.m4: Rename as...
12592 * lib/autoconf/general.m4: this.
12593 * acheaders.m4: Rename as...
12594 * lib/autoconf/headers.m4: this.
12595 * aclang.m4: Rename as...
12596 * lib/autoconf/lang.m4: this.
12597 * acoldnames.m4: Rename as...
12598 * lib/autoconf/oldnames.m4: this.
12599 * acspecific.m4: Rename as...
12600 * lib/autoconf/specific.m4: this.
12601 * actypes.m4: Rename as...
12602 * lib/autoconf/types.m4: this.
12603 * autoconf.m4: Rename as...
12604 * lib/autoconf/autoconf.m4: this.
12606 * m4sugar.m4: Rename as...
12607 * lib/m4sugar/m4sugar.m4: this.
12608 * m4sh.m4: Rename as...
12609 * lib/m4sugar/m4sh.m4: this.
12611 * tests/atgeneral.m4: Rename as...
12612 * lib/autotest/general.m4: this.
12614 * acfunctions: Rename as...
12615 * lib/autoscan/functions: this.
12616 * acheaders: Rename as...
12617 * lib/autoscan/headers: this.
12618 * acidentifiers: Rename as...
12619 * lib/autoscan/identifiers: this.
12620 * aclibraries: Rename as...
12621 * lib/autoscan/libraries: this.
12622 * acmakevars: Rename as...
12623 * lib/autoscan/makevars: this.
12624 * acprograms: Rename as...
12625 * lib/autoscan/programs: this.
12627 2001-08-01 Akim Demaille <akim@epita.fr>
12629 * doc/autoconf.texi: Moving/deleting open files is not portable.
12630 Portability issues for `.' (source), and more information about sed.
12632 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
12634 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
12635 which has a special meaning and is not a reference to libibmil.a.
12636 Reported by Matteo Frigo.
12638 2001-07-25 Pavel Roskin <proski@gnu.org>
12640 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
12643 2001-07-25 Akim Demaille <akim@epita.fr>
12645 * autoconf.in: Try to define the variables before using them.
12646 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
12647 instead of `$perllibdir'.
12648 * tests/atconfig.in ($autom4te_perllibdir): Export it.
12650 2001-07-25 Akim Demaille <akim@epita.fr>
12652 * autoconf.in (ac_LF_and_DOT): Remove, unused.
12654 2001-07-24 Akim Demaille <akim@epita.fr>
12656 Let autoconf use autom4te for traces.
12658 * autoconf.in ($task, task trace): Remove, merely pass --trace to
12660 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
12661 (Because I found no way for autom4te to accept `-').
12662 * autom4te.in (&Request::request): Beware of M4 builtins.
12663 (END): Don't try to remove the content of an empty dir.
12664 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
12665 (&handle_output): Set a default value to `$forbidden'.
12666 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
12667 ($autoconf): Pass --debug and --verbose.
12668 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
12671 2001-07-24 Akim Demaille <akim@epita.fr>
12673 Let autoconf use autom4te to create configure.
12675 * autoconf.in ($automate): New var.
12676 (task script): Use autom4te.
12677 * autom4te.in (File::Spec): Use it.
12679 (&parse_args): --warning is -W, not -w.
12680 Find the top level files.
12681 (&handle_m4): Pass the warnings flags.
12682 Don't report verbosely m4's failures, unless requested.
12683 (&handle_output): Don't complain for forbidden tokens in comments.
12684 Be sure to report all the forbidden tokens within a single line.
12685 (&trace_format_to_m4): Preserve `$_'.
12686 (&handle_traces): Sort the output macros.
12687 (&up_to_date_p): Find the files before trying to get its time stamp.
12689 2001-07-24 Akim Demaille <akim@epita.fr>
12691 * Makefile.am: Ship, build and install Autom4te.
12692 (SUBDIRS): Add lib.
12693 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
12694 * configure.in: Require Perl.
12695 * man/autom4te.in: New.
12697 2001-07-19 Paul Eggert <eggert@twinsun.com>
12699 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
12700 example, rather than (exit 1); exit (which isn't portable).
12702 2001-07-18 Akim Demaille <akim@epita.fr>
12706 2001-07-18 Akim Demaille <akim@epita.fr>
12708 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
12709 was run, while they are needed also when it is expanded.
12710 Reported by Nicolas Joly.
12712 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
12713 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
12714 AC_F77_DUMMY_MAIN being expanded.
12716 2001-07-18 Akim Demaille <akim@epita.fr>
12718 * configure.in: Bump to 2.51a.
12720 2001-07-17 Akim Demaille <akim@epita.fr>
12724 2001-07-17 Akim Demaille <akim@epita.fr>
12726 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
12727 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
12729 2001-07-17 Akim Demaille <akim@epita.fr>
12731 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
12732 used. Well, then use the prototypes when you can, and runtime as
12734 Reported by Artur Frysiak
12736 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
12737 (AC_FUNC_GETPGRP): Use it.
12738 First try to compile with 0-ary or 1-ary calls.
12740 2001-07-17 Akim Demaille <akim@epita.fr>
12742 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
12746 2001-07-17 Akim Demaille <akim@epita.fr>
12748 * Makefile.maint: Sync. with cppi 1.10.
12750 2001-07-17 Akim Demaille <akim@epita.fr>
12752 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
12753 AC_F77_DUMMY_MAIN has been run.
12754 From Pavel Roskin and Steven G. Johnson.
12756 2001-07-17 Akim Demaille <akim@epita.fr>
12758 * configure.in: Rename as...
12759 * configure.ac: this.
12761 2001-07-17 Akim Demaille <akim@epita.fr>
12763 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
12766 * Makefile.maint (release-archive-dir): Rename as...
12767 (release_archive_dir): this, so that it can be specialized in
12770 2001-07-14 Akim Demaille <akim@epita.fr>
12772 * configure.in: Bump to 2.50d.
12774 2001-07-14 Akim Demaille <akim@epita.fr>
12777 * Makefile.maint (alpha): Typo.
12779 2001-07-14 Akim Demaille <akim@epita.fr>
12781 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
12783 2001-07-14 Akim Demaille <akim@epita.fr>
12785 * config/config.guess, config/config.sub, config/texinfo.tex
12786 * doc/standards.texi, doc/make-stds.texi: Update.
12788 2001-07-14 Akim Demaille <akim@epita.fr>
12790 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
12792 2001-07-14 Akim Demaille <akim@epita.fr>
12794 * Makefile.maint (maintainer-check): Rename as...
12795 (maintainer-distcheck): this.
12796 (changelog-check, static-check): New.
12799 2001-07-14 Kevin Ryde <user42@zip.com.au>
12801 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
12802 for CXX is g++, not gcc.
12804 2001-07-14 Akim Demaille <akim@epita.fr>
12806 * doc/autoconf.texi (Files): New subsection.
12808 2001-07-14 Akim Demaille <akim@epita.fr>
12810 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
12812 (Generic Compiler Characteristics): this.
12813 (C++ Compiler): New subsection.
12815 2001-07-14 Akim Demaille <akim@epita.fr>
12817 * autoscan.in: Use IO::File.
12818 Adjust all the routines to use it.
12819 ($log): New file (autoscan.log).
12820 (output): Dump detailed logs into $log, and a shortened version to
12822 (&scan_makefile): Refine the regexp catching tokens in the code.
12823 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
12824 and the `configure.ac' checking feature.
12826 2001-07-12 Akim Demaille <akim@epita.fr>
12828 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
12829 Reported by Michael Elizabeth Chastain.
12831 * autoconf.in: Refuse such AWK.
12832 * configure.in: Likewise.
12833 * Makefile.am (acversion.m4): Do not use move-if-change this file
12835 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
12837 2001-07-10 Jens Petersen <petersen@redhat.com>
12839 * autoscan.in (&scan_makefile): Improve programs regexp to parse
12840 things like "g++", "file.c" and "some-conf" as tokens.
12841 (&scan_file): Match C++ files extensions.
12842 If the filename extension is C++ then ask for c++.
12844 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
12846 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
12847 AC_TRY_LINK_FUNC, to check whether defining a dummy
12848 main-like routine is needed for linking with F77 libs.
12850 2001-07-05 Pavel Roskin <proski@gnu.org>
12852 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
12854 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
12857 2001-07-05 Akim Demaille <akim@epita.fr>
12859 * Makefile.am (move_if_change): New. Use it instead of `mv'.
12860 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
12862 Reported by Nicolas Joly.
12864 2001-07-04 Akim Demaille <akim@epita.fr>
12866 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
12868 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
12869 warnings from compilers.
12870 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
12871 for all the compilers, not only GNU. Hence move from here...
12872 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
12874 2001-07-04 Akim Demaille <akim@epita.fr>
12876 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
12877 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
12880 2001-07-04 Akim Demaille <akim@epita.fr>
12882 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
12883 the ``strings.h'' change claimed below.
12885 2001-07-04 Akim Demaille <akim@epita.fr>
12887 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
12889 2001-07-04 Akim Demaille <akim@epita.fr>
12891 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12892 strings.h if usable with string.h.
12893 Suggested by Paul Eggert.
12895 2001-07-04 Akim Demaille <akim@epita.fr>
12897 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
12898 From Jens Petersen.
12900 2001-07-03 Akim Demaille <akim@epita.fr>
12902 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
12905 2001-07-03 Akim Demaille <akim@epita.fr>
12907 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
12908 compiler, not the preprocessor.
12909 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
12910 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
12912 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
12913 earlier if there are.
12915 2001-07-03 Akim Demaille <akim@epita.fr>
12917 * autoscan.in ($initfile): Remove.
12918 (&find_file): Rename as...
12919 (&scan_file): this.
12920 Immediately scan the current file, instead of gathering them, and
12921 later having them handled by &scan_files.
12922 (&scan_files): Merely invoke Find::File.
12925 2001-07-02 Akim Demaille <akim@epita.fr>
12927 * autoscan.in: Formatting changes, matching the invocation order.
12928 (File::Find): Use it instead of Perl 4's `find.pl'.
12929 (&wanted): Rename as...
12930 (&find_file): this.
12932 2001-07-01 Pavel Roskin <proski@gnu.org>
12934 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
12935 break in the argument to AC_TRY_LINK_FUNC.
12936 (AC_F77_MAIN): Remove conftest* after using break in the
12937 argument to AC_TRY_LINK.
12939 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
12941 Add alternate 'main' routine detection for linking C/C++ with Fortran,
12942 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
12944 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
12945 dummy alternate main is required even if the user provides her own
12947 (AC_F77_MAIN): New macro to detect whether it is possible to
12948 provide an alternate 'main' function name, using the 'main' from
12949 the Fortran libraries.
12950 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
12951 cross-language link tests can be performed successfully.
12952 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
12953 after $LIBS, for consistency; this should be the general rule since
12954 the user may want to link to Fortran libraries that require $FLIBS.
12955 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
12957 2001-06-29 Pavel Roskin <proski@gnu.org>
12959 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
12960 at-stdout and at-stderr instead of removing the newline
12961 from the echo output, which is not guaranteed to work.
12963 2001-06-28 Jens Petersen <petersen@redhat.com>
12965 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
12966 confdefs.h when non-zero.
12968 2001-06-28 Akim Demaille <akim@epita.fr>
12970 * configure.in: Bump to 2.50c.
12972 2001-06-26 Akim Demaille <akim@epita.fr>
12976 2001-06-26 Akim Demaille <akim@epita.fr>
12980 2001-06-25 Pavel Roskin <proski@gnu.org>
12982 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
12983 argument, AUTOCONF-FLAGS.
12984 * tests/mktests.sh (update_exclude_list): Add
12985 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
12986 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
12987 AC_FUNC_WAIT3 with "-W no-obsolete".
12989 2001-06-25 Akim Demaille <akim@epita.fr>
12991 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
12993 2001-06-25 Akim Demaille <akim@epita.fr>
12995 * autoscan.in (%macro): Now maps from word to list of macros.
12996 (&init_tables): Die when a word which is already handled by
12997 explicit macros is mapped to the default macro.
12998 (&print_unique): Remove, inlined in...
12999 (&output_kind): here.
13000 (File::Basename): Use it.
13001 (&output): Sort the CONFIG_FILES.
13002 * acheaders: Normalize.
13003 * acfunctions: Likewise.
13005 2001-06-25 Akim Demaille <akim@epita.fr>
13007 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
13008 characteristics in the logs.
13009 Suggested by Mo DeJong.
13011 2001-06-24 Akim Demaille <akim@epita.fr>
13013 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
13014 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
13015 * doc/autoconf.texi (Autoconf 2.13): New section.
13017 2001-06-24 Akim Demaille <akim@epita.fr>
13019 * autoconf.in (Task traces): Separate the error messages from the
13020 traces to improve robustness.
13022 2001-06-23 Akim Demaille <akim@epita.fr>
13024 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
13025 three as failures are unlikely, and speed matters.
13027 2001-06-23 Akim Demaille <akim@epita.fr>
13029 * doc/autoconf.texi (Redefined M4 Macros): New.
13031 2001-06-23 Akim Demaille <akim@epita.fr>
13033 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
13034 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
13037 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
13039 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
13040 config.status targets to after the evaluation of the INIT-CMDS.
13041 Double quote config.status targets (used to be single quoted).
13043 2001-06-23 Akim Demaille <akim@epita.fr>
13045 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
13046 Check the content of the created file.
13047 Check the ./config.status command line invocation.
13049 2001-06-23 Akim Demaille <akim@epita.fr>
13051 * tests/foreign.at (Libtool): Reject prehistoric versions.
13053 2001-06-23 Akim Demaille <akim@epita.fr>
13055 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
13056 preexisting files matching a.*.
13058 2001-06-23 Akim Demaille <akim@epita.fr>
13060 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
13062 * doc/autoconf.texi (AC_ARG_VAR): Update.
13064 2001-06-21 Akim Demaille <akim@epita.fr>
13066 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
13067 precious variables have changed.
13068 * tests/torture.at (AC_ARG_VAR): Adjust.
13070 2001-06-21 Akim Demaille <akim@epita.fr>
13072 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
13073 but some sed choke on multiple `;', and other tools (e.g.,
13074 Automake), include the separator themselves.
13076 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
13078 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
13080 * doc/autoconf.texi (Functions Portability): Rename as...
13081 (Function Portability): this.
13082 (Function Portability): Document potential problems with unlink().
13084 2001-06-19 Paul Eggert <eggert@twinsun.com>
13086 * NEWS, doc/autoconf.texi: Document quadrigraphs.
13088 2001-06-18 Akim Demaille <akim@epita.fr>
13090 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
13092 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
13094 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
13095 (_AC_FUNC_VFORK): this.
13096 Remove AC_DEFINEs and don't guess cross-compilation values.
13097 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
13098 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
13099 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
13100 vfork doesn't work.
13101 Guess values if cross-compiling, but warn.
13102 * acfunctions: Add AC_FUNC_FORK.
13103 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
13104 and vfork appropriately.
13106 2001-06-18 Akim Demaille <akim@epita.fr>
13108 * doc/autoconf.texi (Functions Portability): New section.
13110 2001-06-18 Akim Demaille <akim@epita.fr>
13112 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
13114 Suggested by Andreas Schwab.
13116 2001-06-18 Akim Demaille <akim@epita.fr>
13118 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
13119 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
13120 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
13121 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
13122 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
13123 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
13124 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
13127 2001-06-18 Akim Demaille <akim@epita.fr>
13129 * doc/autoconf.texi (ms): New index.
13130 (Macro Index): Rename as...
13131 (Autoconf Macro Index): this.
13132 (M4 Macro Index): New appendix.
13133 (Programming in M4): New chapter.
13134 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
13135 (Quoting): Rename as...
13136 (M$ Quotation): this.
13137 Be part of `Programming in M4).
13139 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
13141 * tests/torture.at (AC_ARG_VAR): Set variables and export them
13142 in separate statements for compatibility with Tru64 v5.1.
13144 2001-06-17 Akim Demaille <akim@epita.fr>
13146 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
13147 current values of the precious variables, not the previously
13149 Pass precious variables which are set to config.status.
13150 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
13151 * tests/torture.at (AC_ARG_VAR): New.
13153 2001-06-15 Paul Eggert <eggert@twinsun.com>
13155 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
13156 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
13157 and explain why and how to replace them.
13158 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
13159 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
13161 2001-06-15 Akim Demaille <akim@epita.fr>
13163 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
13164 Reported by Bruno Haible.
13166 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
13167 (_AC_ARG_VAR_PRECIOUS): to here.
13169 2001-06-15 Pavel Roskin <proski@gnu.org>
13171 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
13172 an unused pointer use cast to this type and `if' statement to
13173 avoid warnings from the compiler.
13174 (AC_HEADER_TIME): Likewise.
13175 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
13176 in `if' statement to avoid warnings from the compiler. Declare
13177 ac_aggr static to avoid the need to initialize it.
13179 2001-06-14 Akim Demaille <akim@epita.fr>
13181 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
13184 2001-06-13 Akim Demaille <akim@epita.fr>
13186 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
13187 Suggested by Alexander Mai.
13189 2001-06-13 Akim Demaille <akim@epita.fr>
13191 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
13192 sys/types.h and sys/stat.h, and check for them.
13194 2001-06-13 Akim Demaille <akim@epita.fr>
13196 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
13199 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
13201 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
13202 succeeds and only try adding libdnet upon a failure.
13204 2001-06-12 Akim Demaille <akim@epita.fr>
13206 * autoscan.in (&output_kind): Output the comment only if it exists.
13207 (%kind_comment): Add entry for `programs'.
13208 (&output_programs): Use &output_kind.
13209 (&output_functions, &output_identifiers, &output_headers)
13210 (&output_programs): Inline, and remove.
13212 2001-06-12 Akim Demaille <akim@epita.fr>
13214 * autoscan.in (%kind_comment): New.
13215 (output_kind): New.
13216 (output_functions, output_identifiers, output_headers): Use it.
13218 2001-06-12 Akim Demaille <akim@epita.fr>
13220 * autoscan.in (&print_unique): Take `$kind' and `$word' as
13221 arguments, to factor indirections into `%macro' and `%used'.
13222 (%generic_macro): Fix a typo.
13224 2001-06-12 Akim Demaille <akim@epita.fr>
13226 * aclibraries: New.
13227 * autoscan.in (@kinds): Add `libraries'.
13228 Use `@kinds' instead of hard coded lists.
13229 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
13230 Remove, replaced by...
13233 2001-06-12 Akim Demaille <akim@epita.fr>
13235 * autoscan.in (%functions_macros %headers_macros)
13236 (%identifiers_macros %programs_macros %makevars_macros): Remove,
13240 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
13242 * aclang.m4 (AC_NO_EXECUTABLES): Override
13243 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
13245 2001-06-11 Akim Demaille <akim@epita.fr>
13247 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
13249 Reported by Andreas Schwab.
13251 2001-06-11 Akim Demaille <akim@epita.fr>
13253 * Makefile.am, Makefile.maint: Typos.
13255 2001-06-09 Akim Demaille <akim@epita.fr>
13257 * doc/autoconf.texi (Here-Documents): New section, gathering
13258 documentation about here-documents.
13259 Use `href', not `uref', and other changes.
13261 2001-06-09 Akim Demaille <akim@epita.fr>
13263 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
13266 2001-06-09 Akim Demaille <akim@epita.fr>
13268 * doc/autoconf.texi (Limitations of Builtins): Complete the
13269 description of the here-docs penalties with Alexandre Oliva's
13272 2001-06-01 Paul Eggert <eggert@twinsun.com>
13274 * doc/autoconf.texi: Talk about here documents and speedups.
13275 Do not use "echo" on arbitrary strings.
13276 Spell "here-documents" consistently with the standard.
13278 2001-06-09 Akim Demaille <akim@epita.fr>
13280 * doc/autoconf.texi (Concept Index): Introduce it.
13281 Regenerate the menus.
13283 2001-06-09 Akim Demaille <akim@epita.fr>
13285 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
13286 * config/prev-version.txt: New.
13287 * config/move-if-change: New, for GNU libc.
13289 2001-06-06 Pavel Roskin <proski@gnu.org>
13291 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
13293 2001-06-06 Akim Demaille <akim@epita.fr>
13295 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
13296 properly when $1 is not a literal.
13297 Fixes PR Autoconf/187, reported by Bram Moolenaar.
13299 2001-06-06 Akim Demaille <akim@epita.fr>
13301 Invoking AC_COPYRIGHT before AC_INIT fails.
13303 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
13304 * acgeneral.m4 (_m4_divert(VERSION_FSF))
13305 (_m4_divert(VERSION_USER)): New.
13306 (AC_COPYRIGHT): $2 is the diversion to use.
13307 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
13308 (AC_INIT): Remove dead comments as now it's commutative.
13310 2001-06-06 Akim Demaille <akim@epita.fr>
13312 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
13315 2001-06-05 Akim Demaille <akim@epita.fr>
13317 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
13319 `*dir' variables cannot be NONE.
13320 Reported by Mark Kettenis.
13322 2001-06-05 Paul Eggert <eggert@twinsun.com>
13324 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
13326 2001-06-04 Akim Demaille <akim@epita.fr>
13328 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
13329 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
13330 (AC_TR_SH): Move as...
13331 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
13332 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
13334 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
13335 (_AS_TR_SH_PREPARE): New.
13336 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
13337 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
13339 2001-06-02 Akim Demaille <akim@epita.fr>
13341 * Makefile.am (.m4.m4f): Pass the options first.
13342 Fixes PR autoconf/182.
13344 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
13346 GNU getopt, when POSIXLY_CORRECT does not permute options and
13347 arguments. So pass the options first.
13348 Fixes PR autoconf/184.
13350 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
13351 (run_m4): Remove files.
13353 Update remainder of script to use them.
13354 (for warning in): Do not use a literal comma as it will not be
13357 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
13359 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
13360 Fortran compilers to check.
13361 (_AC_PROG_F77_V): Add '-###' as a possible option to print
13362 information on library and object files.
13363 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
13366 2001-06-02 Akim Demaille <akim@epita.fr>
13368 * autom4te.in (Request::@request): Declare with `vars', not `my',
13369 as it prevents updates via `do FILENAME'.
13371 2001-06-02 Akim Demaille <akim@epita.fr>
13373 * configure.in (standards_texi): Remove, dead code.
13375 2001-06-02 Akim Demaille <akim@epita.fr>
13377 * autom4te.in: New.
13379 2001-06-02 Pavel Roskin <proski@gnu.org>
13381 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
13382 for signals other than 0 - exit with code 1.
13383 * m4sh.m4 (AS_TMPDIR): Likewise.
13384 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
13385 * autoheader.in: Likewise.
13386 * autoreconf.in: Likewise.
13387 * tests/torture.at (Signal handling): New test for the above.
13389 2001-06-01 Akim Demaille <akim@epita.fr>
13391 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
13394 2001-05-31 Akim Demaille <akim@epita.fr>
13396 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
13397 Add copyright and comments.
13398 * acheaders: Add stdint.h.
13399 Suggested by Paul Eggert.
13401 2001-05-31 Akim Demaille <akim@epita.fr>
13403 * atgeneral.m4 (AT_INIT): Use $SHELL.
13404 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
13406 2001-05-31 Akim Demaille <akim@epita.fr>
13408 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
13410 From Paul Eggert and Lars Hecking.
13412 2001-05-31 Akim Demaille <akim@epita.fr>
13414 * tests/base.at: Adjust line numbers in error messages.
13416 2001-05-31 Akim Demaille <akim@epita.fr>
13418 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
13419 to emit the bangshe line.
13420 Reported by David Carter.
13422 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
13424 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
13425 Fortran (95) compilers to check.
13427 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
13429 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
13432 2001-05-23 Pavel Roskin <proski@gnu.org>
13434 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
13435 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
13436 (AC_PROG_CXXCPP): Likewise.
13438 2001-05-22 Akim Demaille <akim@epita.fr>
13440 * config: New directory.
13441 * configure.in: AC_CONFIG_AUX_DIR it.
13442 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
13444 2001-05-22 Akim Demaille <akim@epita.fr>
13446 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
13447 * autoupdate.in: Specify the Emacs mode.
13448 * acversion.m4.in: Rename as...
13449 * acversion.m4: this.
13450 * tests/Makefile.am (CLEANFILES): More garbage.
13452 2001-05-22 Akim Demaille <akim@epita.fr>
13454 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
13456 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
13459 2001-05-21 Akim Demaille <akim@epita.fr>
13461 * configure.in: Bump to 2.50a.
13466 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
13467 Software Foundation, Inc.
13469 This file is part of GNU Autoconf.
13471 GNU Autoconf is free software; you can redistribute it and/or modify
13472 it under the terms of the GNU General Public License as published by
13473 the Free Software Foundation; either version 2, or (at your option)
13476 GNU Autoconf is distributed in the hope that it will be useful,
13477 but WITHOUT ANY WARRANTY; without even the implied warranty of
13478 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13479 GNU General Public License for more details.
13481 You should have received a copy of the GNU General Public License
13482 along with autoconf; see the file COPYING. If not, write to
13483 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
13484 Boston, MA 02110-1301, USA.