1 2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * doc/autoconf.texi (External Software, Package Options):
4 Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
6 2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
8 * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
9 obsolescent. Suggested by Bruno Haible.
10 * NEWS: Document this.
12 2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
14 * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
15 (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
16 default still has the problem. Problem reported by Bruce Korb.
18 2007-03-28 Stepan Kasal <kasal@ucw.cz>
19 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
21 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
22 comment in the generated config.status.
24 2007-03-27 Stepan Kasal <kasal@ucw.cz>
26 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
28 2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
30 * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
31 command and case statements to make it a bit clearer and describe
34 2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
36 * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
37 checks for unsigned long long int.
39 2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
41 * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
42 nonstandard grep R.E. escape sequences.
44 2007-03-17 Jim Meyering <jim@meyering.net>
46 * doc/autoconf.texi: Adjust grammar around use of "heuristics".
47 (Limitations of Usual Tools): Also list \< and \>, and mention that
48 HP-UX's grep, like the one from Solaris, does not support that syntax.
50 2007-03-09 Stepan Kasal <kasal@ucw.cz>
52 * doc/autoconf.texi (Specifying Names): `--host' does not
53 change the build type.
55 2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
57 * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
58 suggests AC_CONFIG_HEADERS.
59 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
60 AC_CONFIG_HEADERS. Problem reported by
63 2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
65 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
66 Problem reported by Paolo Bonzini in:
67 http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
68 * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
69 universal binaries. Problem reported by Elias Pipping.
71 2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
73 * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
74 * doc/autoconf.texi (C Compiler): Document this. There is a new
75 extra argument ACTION-IF-UNIVERSAL.
76 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
77 Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
78 Reindent for sanity's sake.
80 2007-02-24 Eric Blake <ebb9@byu.net>
82 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
84 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
85 * lib/autotest/general.m4 (AT_INIT): Likewise.
86 (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
88 2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
90 * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
91 status of rm so we know when it failed.
92 If cleaning of test dir failed before running the test, warn.
93 Output the line separator in verbose mode before the warning
94 to make clear the warning belongs to the following test.
96 2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
98 * doc/autoconf.texi (Parentheses): Mention problem with (( in
101 2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
102 and Paul Eggert <eggert@cs.ucla.edu>
104 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
105 errors introduced in last change.
107 2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
109 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
110 an actual carriage return. Use "ac_cr" to contain the actual
112 * doc/autoconf.texi (Limitations of Usual Tools): Document problem
113 with traditional Awk and begin.
114 * tests/torture.at (Limitations of Builtins): Document the problem
115 with Bash 2.03 printf.
116 (Substitute and define special characters):
117 Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
119 2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
121 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
122 input from /dev/null in awk test, so even Solaris /usr/bin/awk
123 will not wait for input with a script containing only a BEGIN
126 2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
128 * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
132 2007-02-02 Eric Blake <ebb9@byu.net>
134 * NEWS: Update copyright.
136 * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
138 * configure.ac: Update error message.
139 * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
140 Reported by Gary Vaughan and Jim Meyering, and problem analyzed
142 http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
144 2007-01-31 Eric Blake <ebb9@byu.net>
146 * THANKS (people): Update.
148 2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
150 * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
152 (Shell Substitutions): Note problems with @{var:=value} etc.
153 Add a new section for problems with @{#var} etc. Problem noted
154 by Ralf Wildenhues. See:
155 http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
157 2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
159 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
160 AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
161 trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
162 substitution will still be done by the special code.
163 Report by Jim Meyering.
165 * doc/autoconf.texi (File System Conventions): Mention that
166 $PATH_SEPARATOR is for the build system only.
167 Report by Keith Marshall.
169 2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
171 * doc/autoconf.texi (Setting Output Variables): Mention that
172 all non-NUL characters are ok in substituted values.
173 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
174 (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
175 carriage return for $AWK, needed for BSD awk.
176 * tests/torture.at (Substitute and define special characters):
177 Test all 8 bit non-NUL characters.
178 Report against Automake by Patrick Welche.
180 2007-01-15 Stepan Kasal <kasal@ucw.cz>
182 * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
184 2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
186 * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
187 early on the reader side, drop stderr of the input to avoid
188 `broken pipe' error output; this may happen even with shell
189 builtin `echo' of some bash versions. Reports by Ian Macdonald
190 <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
192 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
194 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
195 separate items of `ac_user_opts', to avoid long lines.
196 (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
198 2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
200 * doc/autoconf.texi: Fix some typos.
202 2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
204 Fix some wording problems noted by Paolo Bonzini in:
205 http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
206 * doc/autoconf.texi (Signed Overflow Examples): Give more
207 discussion about the allow_superuser_privileges example,
208 and change it a bit to make things clearer.
209 (Optimization and Wraparound): Clarify whether the compiler
210 will generate an infinite loop for the example derived from
211 Autoconf's mktime test.
212 (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
213 Also, clarify unsigned multiplication overflow.
215 2007-01-04 Eric Blake <ebb9@byu.net>
217 * bin/Makefile.am (RELEASE_YEAR): New macro.
218 (edit): Use it to supply correct copyright year to scripts.
219 * bin/autoconf.as (version): Use it.
220 * bin/autoheader.in ($version): Likewise.
221 * bin/autom4te.in ($version): Likewise.
222 * bin/autoreconf.in ($version): Likewise.
223 * bin/autoscan.in ($version): Likewise.
224 * bin/autoupdate.in ($version): Likewise.
225 * bin/ifnames.in ($version): Likewise.
227 2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
229 * doc/autoconf.texi (Integer Overflow): Revised based on today's
230 feedback. The most important changes document what happens when
231 you convert an out-of-range value to a signed integer type, and
232 say that (sum < a) != (b < 0) reliably detects overflow when sum =
235 * doc/autoconf.texi (Integer Overflow): Greatly expand and
236 rewrite, taking notions from the recent discussion on the gcc and
237 autoconf mailing lists; please see
238 http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
239 and follow the many links.
240 (Integer Overflow Basics, Signed Overflow Examples):
241 (Optimization and Wraparound, Signed Overflow Advice):
242 (Signed Integer Division): New sections.
244 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
246 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
247 preprocessor macro arguments in traced name.
248 * doc/autoconf.texi (Defining symbols): Document longstanding
249 support for AC_DEFINE-ing macros with arguments, and document
250 behavior when the same variable has multiple AC_DEFINEs.
251 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
252 old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
253 macros directly, giving much shorter and simpler code.
255 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
257 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
258 space before "$ac_configure_args" to prevent a 'config.status
259 --recheck' failure if ac_configure_args doesn't contain a leading
260 space. This works around a problem with the XEmacs configure.ac,
261 which uses the (undocumented) ac_configure_args variable
262 inconsistently with Autoconf.
264 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
266 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
267 Include <limits.h>, and use its INT_MAX to rewrite the
268 j loop so that it does not overflow 'int'. Problem reported by
270 <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
271 Play it safe by shifting left by 1 rather than multiplying by 2,
272 as GCC is less likely to optimize this away when the value
273 is signed (when it assumes overflow leads to undefined behavior).
274 Also, don't assume time_t uses two's complement.
276 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
278 * tests/torture.at (Substitute a 2000-byte string): Avoid using
279 a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
280 dumps core on it. Report by Tim Rice.
282 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
284 * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
285 --disable-option-checking to --help output even when
286 AC_PRESERVE_HELP_ORDER is not used.
287 (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
288 --with argument, rather than argument with [-.] replaced by
290 * NEWS: Fix typo in previous change; the news was in the
293 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
295 * NEWS: Warnings are now generated by default for unknown
296 --enable-* and --with-* options.
297 * doc/autoconf.texi (Option Checking): Renamed from
298 (Configure Option Checking). Tighten up the wording a bit.
299 (External Software, Package Options): Cross-reference to Option
300 Checking, and use this to shorten our section.
301 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
302 "$x" to test "x$foo" != x.
303 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
304 Don't warn if $enable_option_checking is "no".
305 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
306 ac_unrecognized_opts to the empty string.
307 Don't echo the unrecognized opts, as this might mishandle
308 backslashes or leading -.
309 (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
310 usage next to the other --disable-FEATURE options in the
313 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
315 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
316 (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
317 Print warning for unrecognized --with and --enable options
318 (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
319 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
320 Disable option checking when subdirs are configured.
321 (AC_OUTPUT): If warnings are enabled, print warning about
322 unrecognized --with and --enable options at the end of
323 the configure output (as well as at the beginning).
324 * doc/autoconf.texi (Option Checking): New node.
325 Document new option warning functionality.
327 2006-12-16 Eric Blake <ebb9@byu.net>
329 * configure.ac (AC_INIT): Bump version, since 2.61a is released.
330 * NEWS: Start news for current version.
332 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
334 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
335 Define HAVE_GETMNTENT to 1, not to the empty string.
336 Problem originally reported by Jochen Friedrich in
337 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
339 This change prompted by a problem report by Andrey Simonenko in
340 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
341 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
342 object-like macros only, in the traditional portable character
344 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
345 Warn about attempts to define things that are not identifiers.
346 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
347 awful hack that AC_DEFINEd macro names containing parentheses.
349 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
351 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
352 too drastic, even if Texinfo in theory requires it for info mode.
354 (config.status Invocation): Renamed back from Recreating a
356 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
357 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
359 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
361 * NEWS: Version 2.61a.
363 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
364 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
366 * NEWS: Document changes with echo and printf, and the lack
367 of limits on the total size of multi-line values of substituted
368 variables, and the AC_FUNC_FSEEKO fix.
370 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
372 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
373 Writing configure.ac.
374 (Autoconf Input Layout): Renamed from configure.ac Layout.
375 (Recreating a Configuration): Renamed from config.status Invocation.
376 (Obsolete Recreation): Renamed from Obsolete config.status Use.
377 (acconfig Header): Renamed from acconfig.h.
378 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
379 (Writing Testsuites): Renamed from Writing testsuite.at.
380 (Autom4te Cache): Renamed from autom4te.cache.
382 * BUGS: Remove mention of VPATH problem, since it's now documented
383 not to be a bug in the Autoconf build procedure itself, but rather
384 a problem with the proprietary `make' programs.
386 * doc/autoconf.texi (Build Directories): Add a cross reference
389 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
390 * doc/standards.texi: Sync from gnulib.
392 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
393 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
394 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
395 generated automatically.
397 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
399 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
400 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
401 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
403 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
405 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
406 `CEOF$ac_eof' special marker, the awk script cannot contain a
407 line matching `^CEOF', so this is not needed any more.
408 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
409 special marker in the test.
411 2006-12-06 Stepan Kasal <kasal@ucw.cz>
413 * tests/tools.at (autom4te preselections): Use `find -newer';
414 remove one of the sleeps.
416 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
417 more readable, using ...
418 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
420 * doc/autoconf.texi (autoheader Invocation): Do not double-
421 quote the parameter of `AH_BOTTOM' in the example.
423 2006-12-05 Stepan Kasal <kasal@ucw.cz>
425 * doc/autoconf.texi (Configuration Headers): Remove the
426 example with multiple input files.
427 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
428 multiple input files.
430 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
432 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
433 creating the awk substitution script, handle one input line at a
434 time, so that the maximum length of a substituted (multi-line)
435 value is not limited by the size of the sed pattern space.
436 The trade-off is a slightly repetitive sed script.
437 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
438 can only have up to 7 characters, due to Solaris 10 /bin/sed.
439 * tests/torture.at (Substitute a 2000-byte string): Increase the
440 test with several long lines, they should not be caught by sed
443 * tests/tools.at (autom4te preselections): New test, to flag
444 entries missing from autom4te.cfg.
445 Report by David Byron <dbyron@hheld.com>.
447 * tests/torture.at (Substitute a 2000-byte string): Actually use
448 AC_PROG_AWK, so the last change works as intended.
449 (Substitute and define special characters): Likewise.
450 (Substitute a newline): Likewise.
452 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
453 instead of `awk' consistently.
454 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
455 * tests/torture.at (Torturing config.status): Test both the
456 result of AC_PROG_AWK and plain awk.
457 (Substitute a 2000-byte string): Likewise.
458 (Substitute and define special characters): Likewise.
459 (Substitute a newline): Likewise.
461 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
463 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
464 can be assigned to a function pointer. Problem reported by
465 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
466 part of a patch by Ralf Wildenhues in that same bug report.
468 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
470 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
471 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
473 2006-12-01 Eric Blake <ebb9@byu.net>
475 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
476 cross-compiling from cygwin to mingw.
477 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
478 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
479 to lib/autoconf/c.m4.
481 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
483 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
484 string for more reliable failure. Wrap the entire test that
485 causes the broken Solaris printf to dump core, in a subshell,
486 so the segmentation fault message is reliably suppressed.
487 Fix shell expansion errors by using /usr/ucb/echo always;
488 avoid an error on systems without it by another subshell.
489 Avoid m4 expansion of `$1'. Set the zeroth argument of the
490 subshell-$as_echo to `as_echo', for better error message.
492 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
494 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
495 `BASH_SOURCE' contain a newline, set them to empty, as they may
498 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
500 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
501 years and is too hard to maintain now. The last straw was
502 reported by Jerker Baeck in
503 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
504 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
505 * doc/autoconf.texi (Particular Functions): Move
506 AC_FUNC_SETVBUF_REVERSED from here...
507 (Obsolete Macros): ... to here. Say that it does nothing now.
508 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
509 Turn into (almost) a no-op.
511 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
513 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
514 These macros are obsolescent and new applications shouldn't need them.
515 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
516 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
517 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
518 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
519 (AC_FUNC_VPRINTF): Likewise.
520 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
521 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
522 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
524 * doc/autoconf.texi (Setting Output Variables): Mention that
525 @VAR1@VAR2 has unspecified behavior. Problem reported by
527 * NEWS: Mention this.
529 * Makefile.am: Put only a single '#' into the copyright notice,
530 so that it's also present in the output file. Standardize wording
531 in makefile copyright notices to match GNU coding standards.
532 * bin/Makefile.am: Likewise.
533 * doc/Makefile.am: Likewise.
534 * lib/Makefile.am: Likewise.
535 * lib/freeze.mk: Likewise.
536 * lib/autoconf/Makefile.am: Likewise.
537 * lib/autoscan/Makefile.am: Likewise.
538 * lib/autotest/Makefile.am: Likewise.
539 * lib/m4sugar/Makefile.am: Likewise.
540 * man/Makefile.am: Likewise.
541 * tests/Makefile.am: Likewise.
542 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
545 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
547 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
548 in the sed script that mangles the awk script: delete up to the
549 first exclamation mark only.
550 * tests/torture.at (Substitute and define special characters):
553 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
555 Rewrite config files generation: avoid quadratic growth in
556 the number of substituted variables by using awk instead of sed
557 for the bulk of the substitutions.
558 * NEWS: Mention this.
559 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
560 forbidden in the output (and thus input) file.
561 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
562 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
563 generate just one large awk script for substitutions,
564 eliminating much of the earlier complexity, while adding some
565 new complexity. Only expand the substitution templates at
566 configure time, for smaller configure script size. If
567 _AC_SUBST_FILES are used, test 'awk' for working getline support
568 at config.status time. If absent, interpolate through the
569 shell. The awk script was written with much help
570 from Paolo Bonzini and Paul Eggert.
571 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
572 (_AC_SED_FRAG_NUM): Likewise.
573 (_AC_SUBST_CMDS): Renamed from...
574 (_AC_SED_CMDS): ...this.
575 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
576 * tests/torture.at (Substitute a 2000-byte string): Also
577 substitute a line with 1000 words, and a variable with several
579 (Substitute and define special characters): Test awk special
580 characters, and put substitution input strings `@foo@' in the
581 output, to test that no recursion happens; test several other
582 combinations from Paolo Bonzini.
584 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
586 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
587 that replaced echo with AS_ECHO where this wasn't necessary.
588 Problem reportd by Ralf Wildenhues.
589 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
590 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
591 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
593 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
595 * lib/freeze.mk (GREP): Removed, no need to initialize this.
597 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
599 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
600 that traditional Awk lacks 3-arg "split". It has it.
601 Mention that FS must be a single character, and a few other
602 99-byte limits of traditional Awk.
603 Mention that if (i in a) doesn't work with traditional Awk.
605 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
607 * tests/autotest.at (BSx641-newline in command):
608 (BS-BS-newline in command, BSx640-newline in command):
609 (Newline-CODE-BS-newline in command):
610 (Single-quote-BS-newline in command):
611 (Single-quote-newline-BS-newline in command):
612 Use printf '%s\n' instead of echo, for portability to hosts
613 where echo interprets backslashes. This will break on hosts
614 that lack printf, but for now let's assume all such hosts
615 are dead (if not, we should get reports of test failures).
617 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
619 'echo' has some portability problems, when given a first argument
620 with a leading '-', or when given any argument containing '\'.
621 Avoid using 'echo' in these cases.
622 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
623 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
624 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
625 * lib/autotest/general.m4 (AT_INIT): Likewise.
626 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
627 argument might be unportable.
628 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
629 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
630 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
631 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
632 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
633 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
634 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
635 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
636 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
637 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
638 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
639 (AC_PROG_MAKE_SET): Likewise.
640 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
641 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
642 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
643 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
644 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
645 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
646 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
647 * bin/autoconf.as: Redo verbose flag implementation, as the old
648 scheme wouldn't work with AS_ECHO.
649 * lib/autotest/general.m4 (AT_INIT): Likewise.
650 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
651 Don't use ECHO_T, since ECHO_N is now reliable.
652 * lib/autotest/general.m4 (AT_INIT): Likewise.
653 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
654 rather than using a here-document to put the script into a file.
655 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
657 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
658 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
659 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
660 bug, but we might as well stop using ECHO_N and ECHO_C internally.
661 * lib/autotest/general.m4 (AT_SETUP): Likewise.
662 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
663 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
664 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
665 operand, as AS_ECHO requires. Avoid double file name expansion.
666 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
667 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
668 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
669 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
670 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
671 Double-quote strings that would otherwise contain M4 comments.
672 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
674 * configure.ac (AC_INIT): Bump to 2.61a.
677 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
681 * configure.ac (AC_INIT): Bump to 2.61.
684 * tests/autotest.at (Macro with backslash in a test title):
685 Comment out for now, as this tests neither fails nor passes
686 reliably. Problem reported by Ralf Wildenhues.
688 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
690 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
691 in previous change, which caused test failures.
693 2006-11-16 Stepan Kasal <kasal@ucw.cz>
695 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
696 code for --enable, --disable, --with, and --without to...
697 (_AC_INIT_PARSE_ENABLE): ... a new macro.
698 * doc/autoconf.texi (Package Options):
699 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
701 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
703 Import these changes from config via gnulib:
705 2006-11-15 Ben Elliston <bje@gnu.org>
707 From Josselin Mouette <joss@debian.org>:
708 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
710 2006-11-08 Ben Elliston <bje@gnu.org>
712 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
714 2006-11-07 Steve Woodford <scw@NetBSD.org>
715 Ben Elliston <bje@gnu.org>
717 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
718 * build-aux/config.sub (sh5el): New basic_machine.
721 Import this change from coreutils:
723 2006-02-13 Jim Meyering <jim@meyering.net>
725 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
728 Import this change from gnustandards via gnulib:
730 2006-11-15 Karl Berry <karl@gnu.org>
732 * standards.texi: core -> memory, throughout.
733 (CPU Portability): show correct example of calling write
734 on a char value; thanks to Paul Eggert for the code.
735 Both of these suggestions from Eugene Y. Vasserman.
738 Import these changes from texinfo via gnulib:
740 2006-11-08 Karl Berry <karl@gnu.org>
742 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
743 as well as pdf images, since they are supported in pdftex with
746 2006-11-05 Karl Berry <karl@gnu.org>
748 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
750 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
752 * NEWS: Document the AC_ARG_WITH change.
754 2006-11-13 Bruno Haible <bruno@clisp.org>
756 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
757 options, transliterate also dots to underscores.
758 (_AC_ENABLE_IF): Transliterate also dots to underscores.
759 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
760 first argument may also contain dots.
762 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
764 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
765 benefit of platforms like Solaris+GCC where it is common to have a
766 non-working g++ installation.
768 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
769 and Joel E. Denny <jdenny@ces.clemson.edu>
770 and Paul Eggert <eggert@cs.ucla.edu>
772 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
773 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
776 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
778 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
779 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
780 Imported from a similar patch to gnulib by Bruno Haible.
782 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
784 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
785 * doc/autoconf.texi (C Compiler): Document them.
786 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
787 New macros, taken from gnulib.
789 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
791 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
792 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
795 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
797 * tests/torture.at (Configuring subdirectories): Do not skip
798 Automake 1.10 nor future Automake 11.1 (sic).
800 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
801 and Stepan Kasal <kasal@ucw.cz>
803 Handle special characters in test case titles correctly.
804 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
806 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
807 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
808 argument. Extend to check titles printed by ./micro-suite and
809 ./micro-suite -l and the title in micro-suite.log.
810 (Backquote in a test title,
811 Single-quote in a test title,
812 Double-quote in a test title): Don't expect failure anymore.
813 (Backslash in a test title): Put a non-whitespace character after the
814 backslash so that Bourne shells might actually see it as an escape
816 (Brackets in a test title,
817 Pound in a test title,
818 Comma in a test title,
819 Quoted Macro in a test title,
820 Macro in a test title,
821 Macro with single-quote in a test title): New tests.
822 (Macro with backquote in a test title,
823 Macro with double-quote in a test title,
824 Macro with backslash in a test title): New tests expected to fail.
825 * tests/torture.at (#define header templates): M4-quote this title in
826 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
827 The visible effect was a stray [] in the testsuite output.
829 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
831 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
832 `trap ... 0' inside a function, for AIX sh.
834 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
836 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
837 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
838 5363) simply issues a warning when dividing by zero at compile
839 time. Problem reported by Elias Pipping.
841 2006-10-26 Eric Blake <ebb9@byu.net>
844 * doc/autoconf.texi (Evaluation Macros): Improve the example to
845 show effect on macros that expand with commas.
846 Reported by Joel E. Denny.
848 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
849 Also work with M4 1.4.8.
851 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
853 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
856 2006-10-25 Stepan Kasal <kasal@ucw.cz>
858 * tests/tools.at (autom4te --force): New test, verifies that
859 `--force' always rewrites the output file.
861 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
863 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
864 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
866 2006-10-24 Stepan Kasal <kasal@ucw.cz>
868 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
870 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
872 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
873 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
874 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
875 reported by Nelson H. F. Beebe for Coreutils 6.4.
877 * tests/tools.at (autoconf --trace: user macros): Remove test
878 for tracing multiline macros, since m4 1.4.7a uses a different
879 way to number lines. Problem reported by Ralf Wildenhues.
881 2006-10-24 Stepan Kasal <kasal@ucw.cz>
883 * bin/autom4te.in (handle_m4): Do not redirect stdin to
884 /dev/null since the heuristics for interactive behaviour was
887 * bin/autom4te.in: With --force, always refresh the output
888 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
890 * bin/autoconf.as: Fix the verbose message at the end.
892 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
894 * configure.ac (AC_INIT): Bump to 2.60c.
897 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
899 * NEWS: Version 2.60b.
901 Import this change from Texinfo:
902 2006-10-15 Karl Berry <karl@gnu.org>
903 * build-aux/texinfo.tex: automake 1.10
905 * NEWS: Remove AC_CACHE_CHECK_INT.
906 * doc/autoconf.texi (Caching Results): Likewise.
907 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
908 AC_CACHE_CHECK_INT, since it's no longer public.
909 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
910 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
912 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
914 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
916 2006-10-19 Eric Blake <ebb9@byu.net>
918 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
919 (m4_maketemp): Avoid warnings with M4 1.9a.
920 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
922 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
925 2006-10-16 Eric Blake <ebb9@byu.net>
927 * doc/autoconf.texi (Setting Output Variables): Fix typo.
929 * bin/autoconf.as (version): Reword to match GNU Coding
931 * bin/autoheader.in (version): Likewise.
932 * bin/autom4te.in (version): Likewise.
933 * bin/autoreconf.in (version): Likewise.
934 * bin/autoscan.in (version): Likewise.
935 * bin/autoupdate.in (version): Likewise.
936 * bin/ifnames.in (version): Likewise.
938 2006-10-14 Stepan Kasal <kasal@ucw.cz>
940 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
941 looking for special shell characters.
942 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
943 macro defined by AS_VAR_PUSHDEF before passing it as a
945 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
946 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
947 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
948 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
949 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
951 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
953 * tests/m4sh.at (AS_LITERAL_IF): New test.
955 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
957 (Imported from Automake.)
958 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
959 which incorrectly sets the mode of an existing destination
960 directory. In some cases the unpatched install-sh could do the
961 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
962 system. We hope this is rare in practice, but it's clearly worth
963 fixing. Problem reported by Alex Unleashed in
964 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
965 Also, don't bother to check for -m bugs unless we're using -m;
966 suggested by Stepan Kasal.
968 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
970 Import this change from Automake:
972 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
973 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
974 is enabled by default with gnu and gnits strictness.
975 Report from Bruno Haible.
977 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
978 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
981 Import this change from Config:
983 2006-09-20 Ben Elliston <bje@gnu.org>
984 * build-aux/config.sub (score, score-*): New.
986 Import this change from Gnulib:
988 2006-09-16 Karl Berry <karl@gnu.org>
989 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
990 to avoid sectioning errors.
992 Import these changes from Texinfo:
994 2006-10-04 Karl Berry <karl@gnu.org>
995 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
996 (\quoteexpand): rename to \rquoteexpand.
997 (\codequoteleft): new def, to look for @set codequotebacktick.
998 (\lquoteexpand, \quoteexpand): new defs.
999 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
1000 (\code): must use new \...Char values, since now ` is active.
1002 2006-08-26 Karl Berry <karl@gnu.org>
1003 * build-aux/texinfo.tex (\textdegree): New command.
1005 2006-08-12 Karl Berry <karl@gnu.org>
1006 * build-aux/texinfo.tex (error \box0): smaller font.
1008 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1010 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
1012 2006-10-13 Stepan Kasal <kasal@ucw.cz>
1014 * doc/autoconf.texi (Autoheader Macros): Warn that the text
1015 added to the template can get mangled.
1017 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1019 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
1020 include the default headers, and redefine obstack_chunk_alloc
1021 and obstack_chunk_free. Fixes false failure with glibc.
1023 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
1025 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
1026 for backward compatibility with Libtool 1.5.22. Problem reported
1029 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1031 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
1033 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
1035 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
1037 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
1038 the NonStop platform.
1039 * doc/autoconf.texi (Posix Variants): Likewise.
1040 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
1042 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
1043 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
1044 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
1045 Use a better substitute, by inspecting the output of "ls"
1046 rather than just using ":".
1047 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
1048 rather than AS_EXECUTABLE_P, since we needn't worry about
1049 non-regular files here.
1051 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
1052 due to configuration hassles with this. See Tonya Underwood's report
1053 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
1054 * doc/autoconf.texi (Special Shell Variables): Likewise.
1056 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
1057 Stepan Kasal <kasal@ucw.cz>
1059 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
1060 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
1062 2006-10-11 Stepan Kasal <kasal@ucw.cz>
1064 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
1065 initialization which is not inherited through the environment
1066 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
1067 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
1069 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
1071 * doc/autoconf.texi (Limitations of Usual Tools): Describe
1072 problems with mkdir -p -m.
1074 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
1076 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
1077 comment about ac_cpp_err; it was incorrect, and anyway
1078 ac_cpp_err is being removed below.
1079 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
1080 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
1081 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
1083 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
1084 with werror_flag and conftest.err and so forth. This is more
1085 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
1086 and anyway the user shouldn't normally want to see this gorp logged.
1087 Problem reported by Ralf Wildenhues.
1088 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
1089 empty, not 'no', since the rest of the code uses 'test -z'.
1091 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
1093 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
1094 Use a single call to AC_DO_TOKENS rather than multiple, for
1096 (_AC_LINK_IFELSE): Test that resulting file is executable.
1097 Problem reported by mwoehlke in
1098 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
1100 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
1101 than creating a file to use with test -x; this is much faster.
1103 2006-10-02 Bruno Haible <bruno@clisp.org>
1105 * lib/autom4te.in (Automake-preselections): Add
1106 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
1108 2006-09-27 Stepan Kasal <kasal@ucw.cz>
1110 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
1111 standard error, `experr' should be used, not `expout'.
1113 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
1115 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
1116 fseeko testing program twice; just use the earlier result.
1117 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1118 Set cache var to 'unknown' (not 'no') if leaving the macro unset
1119 still doesn't let the program compile.
1120 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
1123 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
1124 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
1125 include it, without including anything else.
1126 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
1128 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
1130 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1132 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
1133 `error.h', and include it, for a `error_at_line' prototype.
1134 Use a nonempty format string in the link test.
1135 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
1136 for a declaration of wait3.
1138 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
1140 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
1141 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
1142 can apply to constants too, and that it checks for macro defns.
1143 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
1144 and simply cast the identifier to void. This handles structure
1145 values. Problem reported by Ralf Wildenhues.
1146 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
1148 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1150 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
1151 structure, and function symbols.
1153 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1155 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
1158 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
1160 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
1162 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1164 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
1165 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1167 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
1168 warnings (uninitialized value).
1169 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
1171 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
1173 (AC_STRUCT_TM): Likewise, avoid unused variables.
1175 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1177 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
1178 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
1179 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
1180 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
1181 Report by Olly Betts.
1183 2006-09-19 Eric Blake <ebb9@byu.net>
1185 * m4/m4.m4: Change copyright.
1186 * configure: Regenerate.
1187 * Makefile.in: Likewise.
1188 * bin/Makefile.in: Likewise.
1189 * doc/Makefile.in: Likewise.
1190 * lib/Makefile.in: Likewise.
1191 * lib/Autom4te/Makefile.in: Likewise.
1192 * lib/autoconf/Makefile.in: Likewise.
1193 * lib/autoscan/Makefile.in: Likewise.
1194 * lib/autotest/Makefile.in: Likewise.
1195 * lib/emacs/Makefile.in: Likewise.
1196 * lib/m4sugar/Makefile.in: Likewise.
1197 * man/Makefile.in: Likewise.
1198 * tests/Makefile.in: Likewise.
1200 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
1201 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
1202 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
1203 --error-output, to avoid warnings with M4 2.0.
1205 2006-09-19 Stepan Kasal <kasal@ucw.cz>
1207 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
1208 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
1209 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
1211 2006-09-15 Stepan Kasal <kasal@ucw.cz>
1213 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
1214 expansion of AC_CHECK_FUNCS.
1216 2006-09-14 Stepan Kasal <kasal@ucw.cz>
1218 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
1219 mistaken comment: the path has to be relative; do not use
1220 the path at runtime.
1222 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1224 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
1225 argument to `--prefix' for sub-configure scripts.
1226 Pass `--silent' to sub-configure scripts.
1227 * tests/torture.at (Configuring subdirectories): Add tests
1229 * doc/autoconf.texi (Setting Output Variables): Fix example to
1230 not show `--silent' being passed to a `configure' re-run.
1232 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
1234 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
1235 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
1236 for the existence of the directory at configure-time. That's
1237 too late, anyway. Problem reported by Stefan Seefeld.
1239 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
1240 7.1.4 /usr/bin/posix/sh described by Tim Rice in
1241 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
1243 2006-09-11 Stepan Kasal <kasal@ucw.cz>
1245 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
1246 works with GNU M4 1.4.3 again; make the normalized form
1247 match the current m4 message; fix the description.
1248 * test/tools.at (autom4te cache): Adapt to the change.
1250 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
1252 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
1253 to catch glibc bug 2821
1254 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
1256 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
1257 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
1258 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
1261 2006-09-08 Stepan Kasal <kasal@ucw.cz>
1263 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
1265 (Autoconf): ... here.
1266 (Autoscan-preselections): Delete.
1268 2006-09-07 Stepan Kasal <kasal@ucw.cz>
1270 * lib/autom4te.in (Automake-preselections): Preselect
1273 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
1275 * doc/autoconf.texi (Preset Output Variables): srcdir and
1276 top_srcdir are not necessarily relative. Problem reported
1279 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1281 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
1282 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
1283 accept files with extension `.f'. For consistency, also prefer
1285 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
1288 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1290 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
1291 of ERLANG_LIB_VER_* variables.
1292 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
1295 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
1296 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1298 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
1299 bugs of Bash 2.01 and 2.05a.
1300 (Fortran Compiler): Document that AC_PROG_CC should be called
1301 before AC_PROG_FC, due to a bug in Autoconf.
1303 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
1305 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
1306 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
1307 except the first two arguments are reversed.
1308 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
1309 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
1310 caches nor outputs a diagnostic. Suggested by Bruno Haible.
1311 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
1312 equivalent to the old AC_COMPUTE_INT.
1313 (AC_COMPUTE_INT): No longer caches or reports. New signature.
1314 All uses changed to AC_CACHE_CHECK_INT.
1315 * tests/base.at (AC_CACHE_CHECK_INT): New test.
1316 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
1318 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
1320 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
1321 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
1322 programs should use their Gnulib counterparts.
1323 * doc/autoconf.texi (Particular Functions): Likewise.
1324 (Macro Names, testsuite Invocation): Replace uses of these
1325 obsolete macros with uses of non-obsolete macros.
1327 2006-08-29 Eric Blake <ebb9@byu.net>
1329 * configure.ac (AC_INIT): Bump to 2.60b.
1332 2006-08-28 Eric Blake <ebb9@byu.net>
1334 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
1335 mistakenly swapped on 2006-08-15.
1337 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
1339 * NEWS: Version 2.60a.
1341 2006-08-25 Stepan Kasal <kasal@ucw.cz>
1343 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
1344 file created by the PGI compiler.
1346 2006-08-25 Noah Misch <noah@cs.caltech.edu>
1348 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
1351 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
1353 Fix Lex library problem reported to us by Julio Garvia.
1354 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
1355 for the default, which the user can override.
1356 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
1358 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
1359 didn't work if some values were cached but not others. Test for
1360 broken lex libraries like native ia64-hp-hpux11.22; see
1361 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
1362 work around the problem by preferring an empty LEXLIB to -lfl or
1363 -ll. Let the user set LEXLIB='' to indicate no library needed.
1365 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
1367 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1369 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
1371 Rework to use more-modern build style.
1372 Many files are renamed; all uses of their names were changed.
1373 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
1374 * .x-sc_useless_cpp_parens: New file.
1375 * build-aux/config.guess: Renamed from config/config.guess. Update.
1376 * build-aux/config.sub: Renamed from config/config.sub. Update.
1377 * build-aux/elisp-comp: Renamed from config/elisp-comp.
1378 * build-aux/install-sh: Renamed from config/install-sh. Update.
1379 * build-aux/mdate-sh: Renamed from config/mdate-sh.
1380 * build-aux/missing: Renamed from config/missing.
1381 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
1382 * build-aux/vc-list-files: Renamed from config/vc-list-files.
1383 * config/Makefile.am: Removed.
1384 * config/mkinstalldirs: Removed.
1385 * config/move-if-change: Removed.
1386 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
1387 * Makefile.am (SUBDIRS): Remove config.
1388 (ACLOCAL_AMFLAGS): Include from m4, not config.
1389 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
1390 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
1391 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
1392 Fail if there's an error.
1393 * Makefile.cfg (move_if_change): Remove.
1394 (wget_files): Remove.
1395 (cvs_executable_files): New macro.
1396 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
1397 (executable-update): Use $(cvs_executable_files).
1398 (local-checks-to-skip): Remove.
1399 * Makefile.maint: Merge from coreutils, plus add our own changes
1400 (gzip_rsyncable): New macro.
1402 (CVS_LIST): Use build-aux/vc-list-files.
1403 (VERSION_REGEXP): New macro.
1404 (local-checks-available): Add patch-check, $(syntax-check-rules),
1406 (syntax-check-rules): Compute dynamically.
1407 (sc_cast_of_x_alloc_return_value): Work even if no source files.
1408 (sc_cast_of_alloca_return_value): Likewise.
1409 (sc_prohibit_atoi_atof): Simplify regexp.
1410 (sc_no_if_have_config_h, sc_require_config_h):
1411 (sc_prohibit_assert_without_use,
1412 (sc_obsolete_symbols): Check for O_NDELAY.
1413 (sc_texi_notab): Remove.
1414 (sc-changelog): Don't make an exception for '----' lines.
1415 (.re-list): Remove, so we don't have a junk file behind.
1416 (sc_system_h_headers): Remove the need for .re-list.
1417 (sc_the_the): New rule.
1418 (sc_tight_scope): Simplify.
1419 (sc_trailing_blank): Renamed from sc_trailing_space.
1420 (longopt_re): New macro.
1421 (sc_two_space_separator_in_usage): New rule.
1422 (sc_unmarked_diagnostics): Look at all files under CVS.
1423 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
1424 (news-date-check, changelog-check): Version is OK.
1425 (po-check): Look for lib files even if not in CVS.
1426 (copyright-check): Use $() not ``.
1427 (maintainer-distcheck): Do not depend on changelog-check.
1428 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
1429 Also check for -Wpointer-arith.
1430 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
1431 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
1433 (announcement): Add --gpg-key-id arg.
1435 (move_if_change): Just use mv.
1436 (local_updates: Remove wget-update, po-update.
1437 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
1438 (config.guess-url_prefix, config.sub-url_prefix): Remove.
1439 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
1440 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
1441 ($(get-targets)): Remove.
1442 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
1443 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
1444 (cvs-update): Get from gnulib.
1445 (emut_upload_commands): gnupload is in build-aux now.
1446 (alpha beta major): Add changelog-check. Check version.
1447 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
1448 (AC_CONFIG_FILES): Remove.
1449 * bin/autoconf.as: Add spaces to avoid distcheck warning.
1450 * config/announce-gen: Sync from coreutils.
1451 * doc/make-stds.texi: Sync from gnulib.
1452 * doc/standards.texi: Likewise.
1453 * man/Makefile.am: Adjust for config -> build-aux renaming.
1454 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
1455 * tests/local.at: Adjust from config -> build-aux renaming.
1456 * tests/tools.at: Likewise.
1457 * tests/torture.at: Likewise.
1459 * NEWS: The C99 check now tests for vararg macros and 64-bit
1461 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
1462 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
1463 64-bit preprocessor ints. Check for static initialization of
1464 long long. Remove unnecessary casts.
1466 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1468 * doc/autoconf.texi (Particular Programs): Mention that
1469 @INSTALL@ and @MKDIR_P@ may vary for different output files.
1470 Reported by Alexandre Duret-Lutz.
1472 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
1474 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
1475 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
1477 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
1479 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
1481 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
1482 pacify insanely picky compilers. Problem reported by Eric Blake.
1484 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
1485 longer supported by Sun.
1487 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
1489 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
1490 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
1491 -Wundef -Werror". Problem reported by David Fang in
1492 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
1493 * doc/autoconf.texi (Header Templates, Default Includes):
1494 (Particular Functions, Generic Functions, Header Portability):
1495 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
1496 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
1497 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
1498 Prefer #ifdef to #if.
1499 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
1500 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
1501 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1502 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
1504 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1505 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
1506 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
1507 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1508 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
1509 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
1512 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
1514 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
1515 problems with arg script text that doesn't end in newline, and
1516 with '-e a...'. Problems reported by Ralf Wildenhues.
1518 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
1520 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
1521 check for libXt by a check for libX11.
1523 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1525 * doc/autoconf.texi (config.status Invocation): Adjust according
1528 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1530 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
1531 --help' should mention that `--version' outputs configuration
1532 settings. Report by Bruno Haible.
1534 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
1536 Fix test suite failures reported by Pierre in
1537 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
1538 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
1539 the compiler created a file "b.out" when it didn't create anything
1541 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
1542 Discard stderr too, when invoking the test script.
1544 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
1546 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
1547 in the restoring of the werror flag.
1549 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
1551 * doc/autoconf.texi (Volatile Objects): Be even a little
1552 less skeptical about "volatile", after discussion with
1553 Bruno Haible on bug-gnulib.
1554 (Limitations of Usual Tools): Warn about sed stripping
1555 leading white space from text. From Bruno Haible.
1557 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
1559 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
1560 compiler complains about it, even if things works after the
1561 complaint. Problem reported by Peter O'Gorman.
1563 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
1564 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
1565 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
1567 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
1569 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
1570 after -R regardless of host. Patrick Welche reports that this
1571 fixes things on NetBSD 3.99.
1573 * NEWS: Recommend M4 1.4.5.
1575 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1576 * tests/tools.at (autom4te cache): Update wording of diagnostic
1579 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
1581 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
1582 under AC_C_VOLATILE.
1583 (Volatile Objects): Be a little less skeptical about what
1584 "volatile" means. Derived from thoughts by Ben Pfaff in
1585 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
1587 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1589 * doc/autoconf.texi: Fix some typos.
1591 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
1593 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1594 more globally, since the 2006-06-30 patch didn't suffice. Problem
1595 reported by Keith Marshall. Also, don't bother with builddir2,
1596 since it shouldn't be needed any more.
1598 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
1600 * doc/autoconf.texi (Generic compiler characteristics):
1601 Document AC_COMPUTE_INT. Fix wrong statements on Default
1602 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
1604 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
1605 (_AC_COMPUTE_INT): Add obsoletion warnings.
1606 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
1609 * NEWS: Document change.
1611 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
1613 * doc/autoconf.texi (Volatile Objects): New section.
1615 * NEWS: Document previous change.
1617 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
1619 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1620 Require that long long int be at least 64 bits wide. C99 requires
1621 this and enough programs depend on it so we should check for it.
1622 Bruno Haible reports in
1623 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
1624 that long long int is 32 bits wide with some nonstandard compilers.
1625 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
1627 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
1629 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1630 to a nonexistent file, so that we don't have to worry about
1631 a local site configuration that doesn't use /usr/local.
1632 Problem reported by Keith Marshall in
1633 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
1635 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
1637 * doc/autoconf.texi: Be more consistent about using @acronym with
1638 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
1639 quite right (it talked about "OSF/Tru64", even though the
1640 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
1641 and it even mentioned "OSF 4"!) and at this point there's little
1642 reason to talk about OSF any more, since it died in 1994.
1643 (Specific Compiler Characteristics): Simplify example of
1644 negative-size array.
1645 (File Descriptors): Reorder to make the text flow better.
1646 Remove joke about "appreciate the various levels"; I didn't get it.
1647 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
1648 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
1649 (File Descriptors, Limitations of Usual Tools):
1650 Tone down the advice against renaming or removing open files.
1651 (Limitations of Usual Tools): Add a new section, on 'rm'.
1653 2006-06-26 Stepan Kasal <kasal@ucw.cz>
1655 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
1656 -lXt in LIBS, idea from Karsten Hopp; this was due since
1659 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
1660 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1661 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1662 (which belong to Xt, not X itself). See Debian bug 327655.
1664 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1666 * configure.ac (AC_INIT): Bump to 2.60a.
1669 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1673 * configure.ac, NEWS: Update.
1675 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1677 * config/texinfo.tex: Sync from upstream.
1679 * bin/autom4te.in (handle_traces): Transform the `@S|@'
1680 quadrigraph correctly in traces.
1682 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
1685 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
1686 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
1688 * doc/autoconf.texi (Changed Directory Variables): New node,
1689 to document the whole `datarootdir' business a bit better.
1691 * tests/torture.at (datarootdir workaround): Extend test.
1692 Prompted by report by Alexandre Julliard.
1694 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
1696 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
1697 when using default mode of IBM C 6 for AIX. Problem and two-line
1698 fix reported by Larry Jones.
1700 2006-06-22 Alexandre Julliard <julliard@winehq.org>
1702 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
1703 about literal '${datarootdir}' if a definition is found in the
1706 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
1708 * NEWS: Use "M4" rather than "m4" when appropriate.
1709 Problem reported by Eric Blake.
1710 * doc/autoconf.texi: Likewise.
1711 Use @acronym around BSD, GCC, and GNU when appropriate.
1712 (Why GNU M4): Renamed from "Why GNU m4".
1713 (Redefined M4 Macros): Mention that Posix
1714 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
1715 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
1718 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1720 * bin/autom4te.in (handle_output): Do not forbid the empty
1722 * tests/tools.at (autoconf: the empty token): New test.
1724 2006-06-20 Stepan Kasal <kasal@ucw.cz>
1726 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
1727 calls, so that we do not care whether they are LIFO or FIFO;
1728 in the m4_wrap, do not check which diversion is the topmost
1729 one, just check that the stack is balanced at the end.
1730 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
1731 base diversion forever--pop the previous diversion before
1732 opening the new one; consequently, remove the m4_wrap call.
1733 * lib/autotest/general.m4 (AT_INIT): Likewise.
1734 * tests/m4sugar.at: Do not use
1735 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
1737 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
1738 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1740 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
1741 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
1742 Rework example of m4wrap token-pasting trouble so that it doesn't
1743 care whether it's LIFO or FIFO.
1744 Fix some "contrary to"s that are awkward in English.
1746 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1748 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
1749 to `yes' instead of `int$1_t' if the type is found, for more
1750 consistent configure output (where $1 is the number of bits).
1751 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
1752 Suggested by Bruno Haible.
1754 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
1755 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
1756 with system headers. Report by Bruno Haible.
1758 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1760 * config/config.guess, config/config.sub: Sync from upstream.
1762 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
1763 in order to avoid picking up an older installed frozen m4sh.m4f.
1764 Besides an outdated shell startup, this could have been created
1765 by an earlier M4 version with incompatible frozen file format.
1767 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
1769 * README: Recommend m4 1.4.4 instead of 1.4.3..
1770 * doc/autoconf.texi: Likewise.
1771 (Special Chars in Names): Say that $(.FOO) is portable, as
1772 suggested by Stepan Kasal.
1773 (Installation Directory Variables, Build Directories):
1774 (Automatic Remaking, Subdirectories, Fortran Compiler):
1775 (Making testsuite Scripts, Defining Directories):
1776 Quote variable usages better.
1777 (Making testsuite Scripts): Add clean-local rule to makefile
1778 snippet, by Eric Blake.
1779 (Installation Directory Variables): Fix table item font.
1780 Reword slightly to clarify. Generalize advice about
1781 not using special characters to include all file-related
1782 vars, not just VPATH.
1783 (Special Chars in Variables): Warn about special characters in
1785 (Assignments): Clarify default-value example as suggested by
1787 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
1788 (Special Shell Variables): Note leading ./ or ../, as suggested
1790 (Limitations of Builtins): Under cd, warn about CDPATH.
1791 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
1794 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1796 * doc/autoconf.texi (Configuration Actions): Remove duplicate
1797 `@var', for texi2html.
1798 (Systemology): Some more word wrapping, for DVI output.
1799 (autom4te Invocation): The short option for `--melt' is `-M',
1802 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
1804 * doc/autoconf.texi: More formatting and English tweaks,
1805 many suggested by Ralf Wildenhues.
1806 Reword to avoid "@code{...}'s" and the like, since it's ugly
1807 with Emacs info mode. discontents -> woes.
1808 Put a few "will"s back. time stamp -> timestamp.
1809 side-effect -> side effect.
1811 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
1813 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
1814 Warn about $@ not persisting. Problem reported by Julien Danjou in
1815 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
1816 (Special Chars in Names): Renamed from Leading _ in Macro Names.
1817 Mention other special chars, too.
1819 2006-06-14 Eric Blake <ebb9@byu.net>
1821 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
1823 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
1825 * doc/autoconf.texi: Some systematic minor improvements, as
1826 follows. Use "makefile" when talking about makefiles
1827 generally (which might be named "makefile" or "Makefile" or even
1828 "foo.mk"), "Makefile" when talking about a specific makefile
1829 called "Makefile". This unclutters the text from weird quotes
1830 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
1831 values" rather than "@var{foo}s" and similar constructs containing
1832 "}s". Use "Make rules" rather than "Makefile rules". Minor
1833 English-language improvements. Change the prefix "sub-" to "sub"
1835 Put blank lines around examples more consistently.
1836 Avoid "rather" and "very" as intensifiers.
1837 Avoid "will" as an auxiliary.
1838 (Limitations of Make): Split this node into....
1839 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
1840 (Leading _ in Macro Names, Backslash-Newline-Newline):
1841 (Backslash-Newline Comments, Long Lines in Makefiles):
1842 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
1843 (obj/ and Make, make -k Status, VPATH and Make):
1844 (VPATH and Double-colon, $< in Explicit Rules):
1845 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
1846 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
1847 New nodes, resulting from splitup of Limitations of Make.
1848 All cross-references changed. Raise the top node from
1849 a section to a chapter, and all subnodes accordingly.
1850 Redo the introductory wording to match the new organization.
1851 (Installation Directory Variables): Use an example that is
1852 closer to what Autoconf actually does. Mention that VPATH's
1853 value should not contain metacharacters or white space.
1854 (Fortran Compiler): Fix a VPATH bug in an example.
1855 (Leading _ in Macro Names): Mention that this problem is no longer
1856 of practical concern.
1857 (VPATH and Make): Reword the advice to make it clearer
1858 that Autoconf and Automake support VPATH in non-GNU make, but
1859 many packages have bugs in this area.
1860 ($< in Explicit Rules): Refer to Build Directories rather
1861 than using a (non-VPATH-safe) example.
1862 (Automatic Rule Rewriting): Mention the sort of disaster that
1863 can ensue with Solaris-style rule rewriting with VPATH.
1865 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1867 * doc/install.texi (Compilers and Options): Weaken the
1868 suggestion to use GNU make for VPATH builds.
1870 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
1871 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
1873 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
1874 in regular expression.
1876 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1878 * doc/autoconf.texi (Installation Directory Variables):
1879 Drop extra @samp from `@table @samp' item.
1880 (Limitations of Usual Tools): Comment fix.
1881 Do not nest @samp just to point to other table items.
1882 (Writing testsuite.at) <AT_CHECK>: The second argument to
1883 `@dvar' is already @samp'ed.
1884 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
1885 do not use @var in the second argument.
1887 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
1889 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
1890 $as_shell.exe too. Problem reported by Andreas Buening in
1891 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
1893 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1895 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
1896 `unused variable' compiler warning, for `-Wall -Werror'.
1897 Reported by Jaap Haitsma in
1898 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
1900 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
1902 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
1903 case the compiler dumps core. Problem reported for
1904 OpenServer 5.0.7 by Tim Rice in
1905 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
1906 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
1909 2006-06-06 Tim Rice <tim@multitalents.net>.
1911 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
1912 "ERROR" only shows up in "make check" output if there is an
1915 2006-06-06 Eric Blake <ebb9@byu.net>
1917 * tests/tools.at (automatically allowed tokens): Fix typo.
1919 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
1921 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
1923 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
1924 typically overflows on x86 CPUs, even though the C standard
1927 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1929 * configure.ac (AC_INIT): Bump to 2.59e.
1932 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1936 * config/texinfo.tex: Sync from upstream.
1938 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
1939 seen, invoke libtoolize with `--ltdl' argument.
1940 * lib/autom4te.in (Autoreconf-preselections): Adjust.
1942 Suggested by Eric Blake.
1944 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
1946 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
1947 reported by Ralf Wildenhues.
1948 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
1950 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1954 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
1956 * doc/autoconf.texi: Modernize some of the references to Solaris.
1958 2006-06-05 Stepan Kasal <kasal@ucw.cz>
1960 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
1961 message issued by AC_REQUIRE.
1962 * tests/m4sugar.at: Check m4_require's error message.
1963 * tests/base.at: Check AC_REQUIRE's error message.
1964 * tests/local.at (AT_CHECK_M4): New macro, almost identical
1966 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
1968 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
1969 `expout' as the last parameter.
1970 * tests/tools.at: Adapt to the above change.
1972 2006-06-04 Stepan Kasal <kasal@ucw.cz>
1974 * doc/autoconf.texi (Limitations of Usual Tools): Correct
1975 information about race-free implementations of mkdir.
1977 2006-06-04 Eric Blake <ebb9@byu.net>
1979 * bin/autoreconf.in (help): Document M4 environment variable.
1980 * bin/autoconf.as (Usage): Likewise.
1981 * bin/autom4te.in (help): Likewise.
1982 * doc/autoconf.texi (autom4te Invocation): Likewise.
1984 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
1986 * NEWS: GNU make now recommended for VPATH builds.
1987 Mention that some macros are now documented to be obsolescent.
1988 * doc/autoconf.texi:
1989 Prefer "current" to "modern" to describe
1990 currently-used (albeit perhaps old-fashioned) hosts.
1991 Mention which ancient features no longer need to be worried about.
1992 setgid -> set-group-ID
1993 setuid -> set-user-ID (these are the Posix terms)
1994 Fix some misuses of "only".
1995 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
1996 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
1997 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
1998 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
1999 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
2000 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
2001 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
2002 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
2003 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
2004 Mention that these macros are obsolescent.
2005 (Installation Directory Variables): shall -> should
2006 (File Descriptors): Mention that 0, 1, 2 might get reopened.
2007 Mention that it's now safe to use 3 and 4.
2008 (Limitations of Usual Tools): cp -r is now specified by Posix.
2009 Omit longwinded and obsolescent discussion of cp -f.
2010 Modernize discussion of expr, ls.
2011 (Limitations of Make): Modernize discussion of VPATH builds.
2012 Mention $? as a workaround in some cases.
2013 * doc/install.texi (Basic Installation):
2014 Mention "./configure; make; make install" first. Be more
2015 specific about why this file is generic. Remove unnecessary
2016 parens. Remove misleading "only". Remove obsolete advice
2017 about csh. Don't say "configure" takes awhile; say it
2018 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
2019 and CC=c99 rather than CC=c89, as these are blessed by current
2020 Posix. Recommend GNU make if doing a VPATH build.
2022 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
2024 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
2025 examples involving shell prompts.
2027 2006-06-02 Stepan Kasal <kasal@ucw.cz>
2028 and Paul Eggert <eggert@cs.ucla.edu>
2030 * doc/autoconf.texi (Here-Documents): Add details about the
2031 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
2032 use "here-documents" instead of "here documents".
2034 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2036 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
2038 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
2040 * doc/autoconf.texi (File System Conventions): Warn about ":"
2041 anywhere in directory names.
2043 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
2045 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
2046 about quoting the case statement, just in case.
2047 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
2048 was fixed in ksh93g; reported by Ralf Wildenhues.
2050 2006-05-31 Stepan Kasal <kasal@ucw.cz>
2052 * doc/autoconf.texi (System Services): Do not document
2053 overriding EXEEXT via ac_cv_exeext=ext.
2054 (Particular Programs) <AC_PROG_MKDIR_P>:
2055 Document that ${MKDIR_P} understands --.
2056 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
2059 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2061 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
2062 argument with leading hyphen. Problem reported by Paul Eggert.
2064 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
2066 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
2067 about quoting ac_try: quote all of it, if any of it seems suspicious.
2068 This means we don't have to worry about ${ or sed any more.
2069 Also, double-quote the case statement, to work around misuses via
2070 underquoting as reported by Ralf Wildenhues in
2071 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
2072 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
2073 undocumented and dangerous macro.
2074 Problem reported by Ralf Wildenhues in
2075 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
2077 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2079 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
2080 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
2081 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
2083 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
2085 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
2086 since evidently some packages rely on the old, broken behavior.
2087 Problem reported by Ralf Wildenhues in
2088 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
2089 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
2090 pre-2006-05-26 definitions, but leave in the comments that
2091 these macros are dangerous and should not be used.
2092 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
2093 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
2094 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
2095 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
2096 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
2098 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
2100 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
2101 the use of 'tr', since this is our only use of 'tr'.
2103 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2104 and Paul Eggert <eggert@cs.ucla.edu>
2106 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
2107 Don't assume 'grep' works on long lines, since AIX grep doesn't.
2109 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2111 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
2112 the output file in the `${datarootdir}' test.
2114 2005-05-28 Stepan Kasal <kasal@ucw.cz>
2115 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2117 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
2118 mention of `datarootdir' in the input file(s), but literal
2119 `${datarootdir}' in the output file, and we haven't warned yet,
2120 then warn as well: the user may have (erroneously) used
2121 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
2122 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
2123 * tests/torture.at (datarootdir workaround): Extend this test.
2126 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2127 and Paul Eggert <eggert@cs.ucla.edu>
2129 * doc/autoconf.texi (autoheader Invocation): The first argument to
2130 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
2131 alternatives and clear up the language a bit.
2133 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
2135 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
2136 ac_config_guess, ac_config_sub, ac_configure.
2137 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2138 Fix typo that prevented an unnecessary space from being removed.
2139 Problems reported by Ralf Wildenhues in:
2140 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
2142 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
2144 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
2145 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
2146 Don't use the term "thread-safe" to talk about mkdir race
2147 conditions, since the problem is more a process than a thread
2148 issue. Problem reported by Stepan Kasal in:
2149 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
2150 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
2151 the test for 'install' more closely. Look at MKDIR_P first.
2152 Look in the PATH, and at /opt/sfw/bin.
2153 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
2154 Don't bother to try mkdir -p, since we already check mkdir --version;
2155 just look at the version number. (There's no easy way to check
2156 for race-free implementations.)
2157 * tests/tools.at (autoconf: subdirectories): Adjust to above
2158 changes, since MKDIR_P now might end in "/mkdir -p".
2160 * doc/autoconf.texi (autoheader Invocation): Mention that the
2161 first arg of AC_DEFINE_UNQUOTED must be a literal.
2162 Problem reported by Ben Pfaff in
2163 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
2165 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
2166 * doc/autoconf.texi (Special Chars in Variables): New section.
2167 (Preset Output Variables): Warn about special chars in CPPFLAGS.
2168 (Installation Directory Variables): Quote $(datadir) better.
2169 (Limitations of Builtins): Describe some of eval's trickiness.
2171 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
2172 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
2173 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
2174 in front of every arg, not just trailing args. Quote apostrophes.
2175 (_AC_EVAL_ECHO): New macro.
2176 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
2177 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
2179 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
2180 exposed by quoting of eval argument. Put the command on line line
2182 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
2183 (_AC_PATH_X, AC_PATH_X): Quote more safely.
2184 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
2185 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
2186 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
2187 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
2188 Use eval more safely.
2189 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
2190 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
2192 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
2193 lines, exposed by quoting of eval argument.
2195 2006-05-26 Stepan Kasal <kasal@ucw.cz>
2196 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2198 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
2199 initialization of `ac_cv_exeext', do not override it if it was
2200 already set, unless it was set to `no', for compatibility with
2201 Autoconf-2.13, and comment this.
2202 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
2203 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
2204 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
2205 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
2206 Document that this test may be overridden by setting
2209 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2211 Revert these two patches:
2213 2006-04-06 Eric Blake <ebb9@byu.net>
2214 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
2215 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
2218 2006-04-01 Stepan Kasal <kasal@ucw.cz>
2219 Clean up _AC_COMPILER_EXEEXT* macros.
2220 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
2221 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
2222 ac_file to the name of the default output file and call
2223 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
2224 initial `rm' of the candidate files...
2225 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
2226 the same list in subsequent `rm' calls, and for the temporary
2227 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
2228 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
2229 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
2230 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
2231 no longer needed) by libtool. Make it a cache check.
2232 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
2233 copied here by mistake.
2234 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
2235 _AC_COMPILER_EXEEXT.
2236 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
2237 _AC_COMPILER_OBJEXT directly.
2238 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2240 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2242 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
2243 Fix description of how the buggy `sed' works.
2245 2006-05-25 Noah Misch <noah@cs.caltech.edu>
2249 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
2250 ENOLCK. Only mention `make -j' when applicable. Only raise
2251 fatal errors when `make -j' is involved. Improve error message.
2253 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2255 * doc/autoconf.texi (Here-Documents): We now know more about
2256 the variable expansion in here documents bug.
2257 Thanks to Tim Rice and Stepan Kasal.
2259 * doc/autoconf.texi (Making testsuite Scripts): Add an example
2260 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
2262 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2264 * tests/autotest.at (Multiline command from M4 expansion):
2265 No failure to be expected if the shell quotes newlines in
2266 commands in the `set -x' output. Report by Tim Rice.
2269 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
2271 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
2272 expansion in the here-documents used by config.status, as that
2273 runs afoul of the Korn shell version M-12/28/93d bug described in
2274 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
2275 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
2276 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
2278 2006-05-23 Jim Meyering <jim@meyering.net>
2280 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
2281 Fix typo introduced with 2006-04-02 change. It reversed the sense
2284 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
2286 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
2287 ac_dB slightly, to save bytes in the script.
2288 Max out at 50 lines, rather than 96; this is more likely
2289 (though not guaranteed) to avoid obscure 'sed' failures.
2291 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2293 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
2294 `tr -d -' as bad option argument. Work around this by deleting
2295 an unrelated character.
2296 Report by Tim Rice <tim@multitalents.net>.
2298 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
2299 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
2300 Stepan Kasal <kasal@ucw.cz>
2302 * doc/autoconf.texi (Particular Programs): Do not promise that
2303 we always prefer the GNU version of the program, and that we
2304 search according to PATH; both rules can have exceptions.
2305 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
2306 AC_PROG_SED. Move descriptions of limitations
2307 to the Limitations of Usual Tools section.
2308 (Limitations of Usual Tools) <sed>: Mention script length
2309 limitations with Solaris /usr/ucb/sed.
2310 <grep>: Fix wording for empty alternative. Mention that -c and
2311 -l should not be combined, and that -E and -F should not be
2314 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2315 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2317 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
2318 limits in Solaris 8 /usr/ucb/sed by testing a long script.
2320 2006-05-22 Stepan Kasal <kasal@ucw.cz>
2322 * doc/autoconf.texi (Defining Symbols): Literal parameter of
2323 AC_DEFINE is now passed to m4_pattern_allow.
2324 * NEWS: Mention that; likewise for AC_SUBST.
2325 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
2326 the parameter to m4_pattern_allow.
2327 * tests/tools.at: Add a check for that.
2329 2006-05-22 Stepan Kasal <kasal@ucw.cz>
2331 * lib/autoconf/status.m4: Fix typos.
2333 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2335 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2336 only the files that this macro generates.
2338 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2340 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
2341 the HP-UX sed limitation of 99 commands, labels do not count.
2342 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
2344 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
2346 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2348 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
2349 Import the following fix from coreutils:
2351 2006-01-13 Jim Meyering <jim@meyering.net>
2353 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
2354 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
2355 not double-quote uses of that variable, to accommodate the rare
2356 case in which getmntent is available in none of the libraries
2357 checked. This happens at least on FreeBSD 5.0.
2359 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
2361 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
2362 ac_config_guess, ac_config_sub, and ac_configure, since evidently
2363 some other programs unwisely rely on these undocumented vars.
2364 But put in warning comments about them.
2365 Problem reported by Ralf Wildenhues in
2366 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
2367 * NEWS: Document that these variables are intended to go away.
2369 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2371 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
2372 and set the language to C++ (analogous to the equivalent Fortran
2375 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
2376 * doc/autoconf.texi (C++ Compiler): Document it.
2377 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
2380 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
2382 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
2383 that caused config.status to generate 100-command sed scripts; the
2384 portable limit is 99.
2386 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2388 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
2389 variable `ac_d' instead of `d' to avoid infringing namespace.
2390 Report by Ralf Menzel.
2392 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
2394 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
2395 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
2396 * tests/tools.at (autoconf: subdirectories): New test, taken from
2397 the corresponding problem report by Ralf Wildenhues in:
2398 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
2400 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
2401 Quote some uses of shell variables if they might suffer unexpected
2402 globbing. This doesn't fix all instances of quoting problems that
2403 I found, just the easy ones that look safe.
2404 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
2405 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
2406 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
2407 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
2408 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
2409 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2410 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
2412 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
2413 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
2415 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2417 * bin/autoreconf.in ($help): Reword according to the manual.
2418 Suggested by Olly Betts.
2420 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
2421 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2423 * bin/autoreconf.in: Pass the directory argument to
2424 `require_configure_ac'. Fix comment.
2425 * tests/torture.at (Configuring subdirectories): Expose this.
2426 Reported by Olly Betts.
2428 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2430 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
2431 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
2432 Automake as follows:
2434 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
2435 `$configure_in' instead of `configure.in', to preserve
2436 directory component.
2438 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2440 * config/config.guess, config/config.sub, config/texinfo.tex,
2441 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
2443 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
2445 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
2446 test for C99 conformance; (bool) 0.5 is an integer constant
2447 expression, but (bool) -0.5 is not. Problem reported by Fedor
2448 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
2450 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
2452 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
2453 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
2454 Warn about obsolete install-sh files. Remove stray sentence
2455 fragment and fix cross reference.
2456 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
2457 install -d; this undoes the 2006-05-10 change.
2458 (MKDIR_P): Mark with AN_MAKEVAR.
2459 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
2460 that we don't require $INSTALL to be thread-safe. Move comments
2461 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
2462 of AC_PROG_INSTALL. Output a message saying that we're checking
2463 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
2464 MKDIR_P instead of AC_SUBST.
2465 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
2466 Special magic for MKDIR_P, too.
2467 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
2469 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
2471 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
2473 Sync from Automake, as follows:
2475 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2476 * config/install-sh: Initialize IFS, so field splitting isn't
2478 * config/mkinstalldirs: Likewise.
2479 * config/missing: Remove superfluous quotes. Replace all uses of
2480 `[' by `test', for consistency, and for..
2481 * config/missing (sed_minuso, sed_output): New variables.
2482 (autom4te, help2man, makeinfo): Use them. Unifies detection of
2483 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
2484 Fixes `missing' to detect `--output' for help2man. Fixes
2485 PR automake/483. Report by Dennis J. Linse.
2486 (autom4te): Document in `missing --help'.
2488 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
2490 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
2491 * config/install-sh: Don't use 'path' to talk about file names,
2492 as per GNU coding standards. Close a race condition reported by Ralf
2493 Wildenhues and Stepan Kasal. There is still a race condition
2494 on hosts that predate Posix 1003.1-1992, but we can't help this.
2495 Don't mishandle weird characters like space on pre-Posix hosts.
2496 Invoke mkdir at most once per dir arg on pre-Posix hosts.
2497 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
2498 AC_PROG_MKDIR_P from AS_MKDIR_P.
2499 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
2500 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
2501 earlier editions are not (including Automake 1.8.3).
2502 Do not suggest mkinstalldirs for thread-safety.
2503 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
2504 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
2505 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
2506 presence of special characters and race conditions.
2507 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
2508 in Autoconf's name space.
2510 2006-05-10 Bruno Haible <bruno@clisp.org>
2511 and Paul Eggert <eggert@cs.ucla.edu>
2513 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
2514 from Automake with minor changes.
2515 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
2517 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
2519 * config/install-sh: Update to Automake CVS version, as follows:
2520 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2521 * lib/install-sh: Simplify the expr implementation of dirname.
2522 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
2523 * lib/install-sh: Handle --, and diagnose unknown options.
2525 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2527 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
2528 `./autom4te' to create `./testsuite', since the `all' target
2529 will ensure its presence, but `installcheck' should not create
2530 the uninstalled wrappers.
2532 * tests/torture.at (Unusual Automake input files): Skip if we
2533 detect automake < 1.8.
2535 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2537 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
2538 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
2539 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
2542 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2544 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
2545 munge (multiple) white space and other oddities.
2546 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
2547 single quotes in variable assignment.
2548 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
2549 and similar failures by adding multiple spaces, tabs, and other
2551 Report and different test suggested by Francesco Romani
2552 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
2554 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
2555 single quotes, we only need to search for single quotes; this
2556 both simplifies the search pattern, and makes us less
2557 susceptible to `echo' variations for arguments not containing
2559 (_AC_ARG_VAR_VALIDATE): Likewise.
2561 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2563 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
2564 `$*' and IFS concatenation issue with traditional shells and
2565 bash-2.04. Report by Seanster@Seanster.com.
2567 2006-05-03 Bruno Haible <bruno@clisp.org>
2569 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
2570 precisely which Mac OS X versions have the od problem.
2572 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
2574 * doc/autoconf.texi: Use @option systematically.
2576 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
2577 and Bruno Haible <bruno@clisp.org>
2579 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
2581 (Integer Overflow): Mention the special case of integer division
2584 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2586 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
2587 traditional shells like the Solaris one that do not use the
2588 first IFS character for assembling `$*'.
2589 Prompted by a related report from autoconf_bug@nro.ca.
2591 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
2592 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2594 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
2595 Mention more problems with the -e option.
2597 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2600 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
2602 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
2603 in URLs to improve DVI formatted output (requires texinfo 4.6).
2604 (System Services, Systemology, Shellology): Likewise.
2605 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
2608 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
2610 (Runtime): Fix macro argument names to match description:
2611 `action-if-found' -> `action-if-true' and similarly.
2612 (Obsolete Macros): Likewise.
2613 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
2614 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
2615 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
2617 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2619 * doc/autoconf.texi (Limitations of Make): Clean up markup.
2622 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
2625 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2627 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
2628 /bin/sh set unsorted output.
2629 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
2630 * tests/local.at: Likewise.
2632 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
2634 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
2635 (Integer Overflow, Null Pointers, Buffer Overruns):
2636 (Floating Point Portability, Exiting Portably): New sections.
2637 (Writing Test Programs): Fix some langauge. Recommend exiting
2638 with status 1, not merely nonzero. Clarify exit declaration.
2639 (Run Time): Move C exit status stuff to new Exiting Portably section.
2640 (Systemology): Mention Posix and levenez. Update v7 reference.
2641 (Portable Shell): Mention the Posix shell.
2643 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2645 * bin/autoconf.as (me): Replace by as_me.
2647 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
2649 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
2650 since as_me isn't set yet.
2652 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
2654 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
2655 a few minor bugs in this area.
2657 * doc/autoconf.texi (Programming in M4sh): Comment out the
2658 documentation of AS_BASENAME, for now.
2659 (Shell Substitutions): Do not use AS_DIRNAME in an example.
2660 (Limitations of Builtins) <basename>: Do not refer to
2662 * bin/autoconf.as (me): Don't use AS_BASENAME.
2663 (dir): Remove the unused variable.
2664 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
2665 AS_DETECT_REQUIRED. All uses changed.
2666 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
2668 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
2669 (AS_BASENAME): Use "basename --" to protect against leading "-".
2670 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
2671 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
2672 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
2673 (_AS_DIRNAME_PREPARE): Likewise.
2674 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
2675 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
2676 (AS_DIRNAME): Use "dirname --".
2678 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
2680 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
2681 of "run time" and "run-time" changed to "runtime", for consistency.
2682 * lib/autoconf/fortran.m4: Likewise (in comment).
2683 * lib/autoconf/functions.m4: Likewise.
2684 * lib/autoconf/general.m4: Likewise.
2685 * lib/autoconf/headers.m4: Likewise.
2687 * doc/autoconf.texi (Run Time): Document the exit status situation
2688 with more accuracy and detail.
2690 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2692 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
2693 Archive is not officially `GNU' any more. Update URL.
2694 (Defining Directories): Likewise
2695 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
2697 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2699 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
2700 newline from the `trap' code to finish `config.log'; the NetBSD
2701 /bin/sh resets the exit status after an empty command, as
2702 documented in doc/autoconf.texi.
2703 Reported by Dalibor Topic <robilad@kaffe.org>.
2705 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
2707 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
2708 Suggested by Bruno Haible.
2710 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
2712 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
2713 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
2714 Instead, just list the shells that we know work.
2715 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
2716 changed. Be more cautious about the _cv_ variable.
2717 * tests/tools.at (Syntax of the shell scripts): Check the
2718 _cv_ variable once, at first, to avoid an internal autoconf error
2719 when sh -n does not work.
2721 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2723 * lib/Autom4te/FileUtils.pm: Sync from Automake.
2725 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
2727 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
2728 use ">&-" since we're only 99.999% sure that this is portable,
2729 and since the MinGW bug is fixed in a different way.
2730 * lib/autotest/general.m4 (AT_INIT): Likewise.
2732 2006-04-16 Stepan Kasal <kasal@ucw.cz>
2734 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
2735 before opening config.log, to avoid hitting a bug on MinGW.
2737 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
2739 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
2740 AS_MESSAGE_LOG_FD before reopening it onto the log file.
2741 This works around a MinGW bug reported by Eric Paire.
2742 Make sure that all writes to the log file append to it,
2743 rather than possibly losing data.
2744 * lib/autotest/general.m4 (AT_INIT): Likewise.
2746 2006-04-14 Stepan Kasal <kasal@ucw.cz>
2748 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
2751 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2755 * configure.ac (AC_INIT): Bump to 2.59d.
2757 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2761 * Makefile.maint (news-date-check): Do not require a leading `*'
2762 before the release date in NEWS.
2764 2006-04-12 Stepan Kasal <kasal@ucw.cz>
2765 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2767 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
2768 the instantiated file do not contain the string 'datarootdir'
2769 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
2770 @mandir@, replace the reference '${datarootdir}' by the value.
2771 * tests/torture.at (datarootdir workaround): New test.
2772 * NEWS: Advertise this temporary fixup.
2773 Based on a patch by Bruno Haible, reported and analyzed by
2774 Paul Eggert and Noah Misch.
2776 2006-04-12 Eric Blake <ebb9@byu.net>
2778 * tests/autotest.at (Debugging a failed test): Fix comment.
2780 2006-04-12 Stepan Kasal <kasal@ucw.cz>
2782 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
2783 all the changes since 2006-04-07.
2785 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2787 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
2788 succeeded, but `ln -s file dir' failed, take care to remove the
2789 leftover target before the next test, to prevent its spurious
2790 failure; also make sure `ln file dir' works before selecting it.
2791 Thanks to Keith Marshall for pointing this out.
2794 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
2795 assignments in `at_debug_args', so that we put them correctly
2796 in the `run' script.
2797 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
2798 Reported by Eric Blake.
2800 2006-04-11 Eric Blake <ebb9@byu.net>
2802 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
2803 top-level tests after micro-suite has been run. Used in...
2804 (Debugging a successful test, Debugging script and environment),
2805 (Debugging a failed test): ...these new tests. The first of these
2807 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
2808 macro, split out from...
2809 (AT_INIT): ...here, so that using -d also generates a run script.
2810 Document that -d inhibits top-level logging.
2811 * doc/autoconf.texi (testsuite Invocation): Document that -d only
2812 inhibits top-level logging; debug scripts are created.
2814 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
2816 * tests/autotest.at (Empty test, Empty check): New test to check it.
2818 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
2821 2006-04-10 Stepan Kasal <kasal@ucw.cz>
2823 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
2824 the files if a problem appears. Make the empty *.at files
2825 read-only, too. Proposed by Ralf Wildenhues.
2827 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2829 * config/Makefile.am: Add comment to force updated Makefile.in.
2831 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
2832 space only patch to this file, this patch causes the Makefile.in
2833 files that include freeze.mk to be updated, and thus have a
2834 newer time stamp again, which in turn makes a pristine CVS
2835 checkout have correct time stamps.
2837 * Makefile.maint (cvs-sv): New macro, to be used..
2838 (config.guess-url_prefix, config.sub-url_prefix)
2839 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
2840 point to CVS text checkout of Gnulib files.
2841 (copyright-check): Bump current year.
2842 (announcement): Do not hard-wire `./announce-gen'.
2843 (cvs-update): Propagate failures of `cvs' and `move-if-change'
2845 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
2847 (wget_files): Update config.guess, config.sub, texinfo.tex by
2848 `wget-update', now that their URLs work again.
2850 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
2852 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
2853 Problem noted by Paul D. Smith.
2855 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2857 * doc/autoconf.texi: Remove unused words from word list.
2858 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
2859 .x-sc_trailing_space: New files.
2861 * doc/standards.texi: Sync from gnulib.
2863 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
2864 `LIBOBJDIR' as experimental.
2866 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
2867 with a target directory; it's internally implemented as `cp'
2868 anyway, but since Autoconf advertises the possibility to use
2869 a target directory when LN_S is `ln -s', we need to find out.
2870 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
2871 analyzed by Keith Marshall <keith.marshall@total.com>.
2875 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
2877 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
2878 confdefs.h as-is. In general, if it has backslash-newline or the
2879 like, then it doesn't work either to sort or to remove empty
2882 2006-04-09 Stepan Kasal <kasal@ucw.cz>
2884 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
2886 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
2888 * lib/autom4te.in (Automake-preselections): Preselect
2891 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
2893 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
2894 apostrophe within a single-quoted string, as this is the usual
2895 tradition and is easier to read than '"'"'. Don't rely on the
2896 shell treating "$/" like '$/'. Use a more-consistent indenting
2899 2006-04-09 Eric Blake <ebb9@byu.net>
2901 * tests/autotest.at (Backquote command substitution),
2902 (Multiline backquote command substitution): Remove mistaken
2903 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
2905 (Parenthetical command substitution, Multiline parenthetical
2906 command substitution): here.
2908 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
2910 Import macros from gnulib (often changing their name).
2912 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
2913 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
2914 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
2915 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
2916 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
2917 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2918 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
2919 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
2920 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
2921 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
2922 The manual mentions Gnulib more prominently.
2923 * doc/autoconf.texi (Gnulib): New node.
2924 (Pointers): Add Gnulib URL.
2925 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
2926 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
2928 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
2929 suggest a #define rather than a typedef for _Bool, and mention
2930 Gnulib rather than trying to substitute stdbool code.
2931 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
2932 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
2933 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
2934 AC_STRUCT_DIRENT_D_TYPE.
2935 (Particular Types): Mention stdint.h and inttypes.h as standard
2937 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2938 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
2939 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
2940 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
2941 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
2942 (C Compiler): Move AC_C_LONG_DOUBLE to ...
2943 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
2944 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
2945 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
2946 (Coding Style). Don't mention m4_expand_once.
2947 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
2948 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
2949 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
2950 (AC_CHECK_FUNCS): Use it.
2951 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
2952 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
2953 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
2954 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
2955 (AC_HEADER_ASSERT): New macro.
2956 (AC_HEADER_STDBOOL): Don't assume "#error" works.
2957 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
2958 Catch a bug in an HP-UX C compiler.
2959 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
2960 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
2961 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
2962 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
2963 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
2964 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
2967 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
2968 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
2970 2006-04-08 Stepan Kasal <kasal@ucw.cz>
2972 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
2973 of the warning introduced by the 2001-08-28 change.
2975 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
2976 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2978 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
2979 variables shall be overriden by the cache.
2980 * tests/torture.at (AC_ARG_VAR): Test also with a first value
2981 that contains braces.
2983 2006-04-07 Stepan Kasal <kasal@ucw.cz>
2985 Revert the patch from 2006-04-01 and only improve
2986 _AS_DETECT_BETTER_SHELL:
2988 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
2989 skip nonexistent directories.
2990 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
2991 only shell candidates which exist.
2992 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
2993 * lib/autotest/general.m4 (AT_INIT): No need to give three
2994 parameters to _AS_PATH_WALK.
2996 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
2997 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2999 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
3000 distinguish m4sugar macros.
3001 * tests/tools.at (autoupdating with aclocal and m4_include):
3002 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
3003 test case by Noah Misch <noah@cs.caltech.edu>.
3005 2006-04-07 Stepan Kasal <kasal@ucw.cz>
3007 Revert my change from 2006-03-17, in other words:
3008 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
3010 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
3011 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
3014 2006-04-07 Eric Blake <ebb9@byu.net>
3016 * doc/autoconf.texi (Programming in M4sh): Document that
3017 AS_MKDIR_P exits the script on failure.
3018 * lib/autotest/general.m4: Remove redundant AS_ERROR.
3020 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3022 * config/elisp-comp, config/install-sh, config/mdate-sh,
3023 config/missing, config/mkinstalldirs: Sync from Automake.
3025 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
3028 * doc/make-stds.texi: Sync from gnulib.
3030 2006-04-06 Eric Blake <ebb9@byu.net>
3032 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3033 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
3036 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
3037 Eric Blake <ebb9@byu.net>,
3038 Paul Eggert <eggert@cs.ucla.edu>,
3039 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3041 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
3042 whether `set' quotes correctly: redirect stderr of the tested
3043 `set', and use a subshell, for Ultrix; use `sed' instead of
3044 `grep' for zsh `set' which may write binary output; match only
3045 at the beginning of a line, to avoid false positives.
3046 In order to avoid false positives by unrelated variables with
3047 multiline content, put the dump algorithm in a subshell and
3048 unset all variables containing newlines (except some which are
3049 special to the shell). Warn about cache variables that are
3052 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3054 * config/config.guess, config/config.sub, config/texinfo.tex:
3057 * tests/mktests.sh: Reword comments.
3059 * tests/mktests.sh: Only skip internal macros starting with
3060 `_AC_' or `__AC_'. Noted by Stepan Kasal.
3061 Update exclusion lists for the test suite to this end:
3062 (AC_ARG_VAR): Do test this now.
3063 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
3064 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
3065 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
3066 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
3068 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
3069 shell issue with double-quoted command substitutions of native
3071 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
3074 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
3075 no file matches the glob, discard the warning, set `nullglob'.
3076 (syntax-check): Likewise.
3077 (sc_cast_of_x_alloc_return_value): Likewise.
3078 (sc_cast_of_alloca_return_value, sc_error_exit_success)
3079 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
3080 (m4-check): Likewise.
3081 (sc_system_h_headers): Do not print rule on execution.
3082 (sc_tight_scope): Do not fail for non-existing `src' directory.
3083 (sc_changelog): Skip the Copyright footer.
3084 * lib/autoconf/lang.m4: Remove trailing space.
3086 * lib/autoconf/status.m4: More replacements to
3087 <tab><space> where this makes sense.
3089 2006-04-06 Stepan Kasal <kasal@ucw.cz>
3091 * tests/Makefile.am (maintainer-check-posix):
3092 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
3094 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
3095 ac_config_<foo>s again, sometimes normalized, sometimes not.
3096 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
3097 (AC_CONFIG_COMMANDS): Do not do so here.
3098 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
3099 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
3100 2005-07-25 rewrite. Noticed by Noah Misch.
3102 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
3103 _AC_PRESERVE_HELP_ORDER, ...
3104 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
3106 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
3107 inside m4_expand_once; it is redundant.
3109 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
3110 for --help from Cygnus `configure.'
3112 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
3114 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
3115 on a patch proposed by Ralf Wildenhues.
3117 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
3119 * lib/autoconf/status.m4: Replace <space>''<tab> with
3120 <tab><space> where this makes sense.
3122 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
3123 Noah Misch <noah@cs.caltech.edu>
3125 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
3126 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
3127 * doc/autoconf.texi (Help Formatting): New node.
3128 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
3130 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3132 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
3133 lib/autoconf/specific.m4, lib/autoconf/status.m4,
3134 lib/autoconf/types.m4, lib/autotest/general.m4,
3135 tests/mktests.sh, tests/torture.at: White space cleanup:
3136 remove some SPACE before TAB, or add quoting ('' or @&t@).
3138 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
3140 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
3142 2006-04-05 Eric Blake <ebb9@byu.net>
3144 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
3145 empty test suite works.
3146 * tests/autotest.at (Empty test suite): Remove xfail.
3148 2006-04-05 Noah Misch <noah@cs.caltech.edu>
3150 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
3151 TAGS to ac_config_<foo>s.
3152 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
3153 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
3154 normalizing it, consistent it with previous releases.
3155 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
3157 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
3159 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
3160 Use simplified args that Eric Blake originally suggested.
3162 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
3164 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
3165 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
3166 Use 'comm' rather than N instances of grep; this also fixes a bug
3167 whereby substrings were incorrectly matched, causing us to not
3168 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
3169 (exclude_list): Exclude empty macros.
3170 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
3172 Use awk rather than grep -E or egrep, to avoid
3173 portability problems with regular expressions containing newlines.
3174 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
3175 Switch from grep to awk syntax.
3176 (ac_exclude_script): Renamed from ac_exclude_egrep.
3177 (au_exclude_script): Renamed from au_exclude_egrep.
3179 2006-04-04 Noah Misch <noah@cs.caltech.edu>
3181 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
3182 a subdirectory subject to Cygnus `configure'.
3183 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
3185 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
3186 report request when we have no AC_PACKAGE_BUGREPORT.
3188 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3192 * tests/mktests.sh: Update copyright year in the header of the
3195 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
3196 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
3197 typedef'ed restricted pointer, to catch a compiler bug on
3198 HP-UX 11.x, and fix warnings so it passes with -Werror.
3199 (_AC_PROG_CC_C99): Likewise.
3200 Reported by Albert Chin <china@thewrittenword.com>.
3201 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
3203 2006-04-03 Noah Misch <noah@cs.caltech.edu>
3205 * bin/autoscan.in (subdirs): New global.
3206 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
3207 (output): Emit AC_CONFIG_SUBDIRS as needed.
3208 * tests/autoscan.at (autoscan): Remove XFAIL.
3210 2006-04-03 Noah Misch <noah@cs.caltech.edu>
3212 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
3214 2006-04-03 Eric Blake <ebb9@byu.net>
3216 * THANKS: Add myself.
3218 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3220 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
3221 to log, point to testsuite output tree.
3223 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
3225 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
3226 * doc/autoconf.texi (Function Portability): Mention that C++
3227 has trouble with 'exit'.
3228 (Guidelines): Test programs shouldn't use 'exit'.
3229 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3230 Remove; all uses removed.
3231 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
3232 Return from 'main' instead of calling 'exit'.
3233 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
3234 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
3235 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
3236 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
3237 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
3238 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3239 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
3240 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
3241 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3242 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
3243 * tests/compile.at: Likewise.
3245 2006-04-02 Pavel Roskin <proski@gnu.org>
3247 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
3249 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3251 Clean up _AC_COMPILER_EXEEXT* macros.
3253 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3254 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3255 ac_file to the name of the default output file and call
3256 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
3257 initial `rm' of the candidate files...
3258 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
3259 the same list in subsequent `rm' calls, and for the temporary
3260 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3261 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3262 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3263 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3264 no longer needed) by libtool. Make it a cache check.
3265 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3266 copied here by mistake.
3267 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3268 _AC_COMPILER_EXEEXT.
3269 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3270 _AC_COMPILER_OBJEXT directly.
3271 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3273 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3275 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
3276 (AS_DIRNAME): Use it.
3277 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
3279 * tests/*.at: Remove the generated ones.
3281 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3283 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
3285 2006-04-01 Eric Blake <ebb9@byu.net>
3287 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
3288 directories, unless optional third argument supplied.
3289 (AS_UNAME): Don't optimize PATH walk.
3291 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
3293 2006-04-01 Eric Blake <ebb9@byu.net>
3294 and Stepan Kasal <kasal@ucw.cz>
3296 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
3299 2006-04-01 Noah Misch <noah@cs.caltech.edu>
3301 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
3302 Autoconf version number despite a zero- or one-argument AC_INIT.
3304 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
3306 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
3307 * doc/autoconf.texi (autoreconf Invocation): Document it.
3309 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
3310 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
3312 2006-04-01 Eric Blake <ebb9@byu.net>
3314 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
3315 * lib/autotest/general.m4: Be tolerant of existing directory when
3316 rm failed to remove it.
3318 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3320 * bin/autoupdate.in: Redefine m4_location so that warnings print
3321 the correct lines of the input file by subtracting..
3322 (_au__first_line): ..this new definition.
3324 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
3325 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
3326 Remove stray newline in output.
3327 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
3328 AC_DEFUN this for autoconf, including the obsoletion diagnose.
3329 Fixes autoupdating of code where the replacement output contains
3331 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
3332 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
3333 (au_exclude_list): Add AC_LANG_SAVE.
3334 * tests/tools.at: Several new tests for all of this.
3335 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
3337 The AC_LANG_SAVE issue was reported against Libtool by
3338 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
3339 Kristian Kvilekval <kris@cs.ucsb.edu>.
3341 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3343 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
3344 switch all of them on and of when necessary. Fixes the bug when
3345 m4sugar macros (e.g., m4_define) were expanded after the first
3346 automatic update (e.g., after AC_PREREQ or AC_INIT).
3348 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
3350 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
3351 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
3353 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
3354 correctly. Problem reported by Eric Blake.
3355 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
3358 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
3360 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
3361 Tighten up the basename/dirname wording.
3363 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3365 * Makefile.maint (sc_texi_notab): New check: do not use TABs
3366 in texinfo files outside of verbatim environments.
3367 (syntax-check-rules): Update.
3368 * doc/autoconf.texi (Configuration Headers): Conform to it.
3370 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
3372 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
3373 aclocal cannot be given on the command line.
3375 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
3377 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
3378 Give an example for AS_DIRNAME instead of referring to Posix..
3379 (File System Conventions): Put discussion of // versus / here, and
3381 (Limitations of Usual Tools): Add basename. Remove verbiage
3382 after dirname, since it got moved to the above sections.
3383 All this was inspired by a patch proposed earlier by Eric Blake.
3385 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3387 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
3388 `$0' to protect against spaces.
3389 * lib/autotest/general.m4 (AT_INIT): Likewise.
3390 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
3393 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3395 * bin/autoscan.in: The value of find_configure_ac should be
3396 checked for existence, so we don't barf over a nonexisting
3397 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
3399 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3401 * bin/autoupdate.in: Fix some typos.
3403 2006-03-21 Stepan Kasal <kasal@ucw.cz>
3405 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
3407 * lib/autoscan/autoscan.list: Refreshed.
3409 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3411 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
3412 and Erlang related variables.
3414 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
3415 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
3416 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
3417 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
3418 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
3419 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
3420 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
3421 (_AC_PROG_OBJC_G): New macros.
3422 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
3423 * doc/autoconf.texi (Objective C Compiler): New node.
3424 (Preset Output Variables): Document OBJCFLAGS.
3425 (Language Choice): Document `Objective C' language.
3426 (Fortran Compiler): Fix typo.
3428 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
3430 2006-03-20 Stepan Kasal <kasal@ucw.cz>
3432 * doc/autoconf.texi (Default Includes): Fix typo
3433 s/AC_HEADERS_STDC/AC_HEADER_STDC/
3434 (Limitations of Usual Tools): s/unwriteable/unwritable/
3435 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
3436 Fix typos in the comments.
3438 2006-03-17 Stepan Kasal <kasal@ucw.cz>
3440 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
3441 Factor out the warning to...
3442 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
3443 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
3444 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3446 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
3447 case `ac_delim' when writing the sed script.
3449 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
3450 moved DUALCASE=1 ...
3451 (AS_SHELL_SANITIZE): ... here.
3452 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
3455 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
3457 (_AC_PATH_PROG): Store the result to VARIABLE.
3458 (AC_PATH_PROG): No need to set VARIABLE again.
3460 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
3461 the first one is usual AT_CHECK_MACRO test, the second one checks
3462 that the same works when cross-compiling.
3463 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
3464 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
3466 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3468 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
3469 the directory `/usr/bin/posix' in the shell search, to prefer
3470 the Posix shell not only in subsequent spawns as with `$BIN_SH'
3473 * doc/autoconf.texi (contents): To fix texi2html output, hide
3474 `@setcontentsaftertitlepage' for HTML.
3475 (Writing Autoconf Macros): Likewise, insert space after `@c'.
3476 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
3479 2006-03-16 Stepan Kasal <kasal@ucw.cz>
3481 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
3483 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
3484 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
3485 why IFS is restored so late; thank you, Ralf, for reminding us.
3487 2006-03-15 Stepan Kasal <kasal@ucw.cz>
3489 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
3490 variables in the examples.
3492 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3494 * doc/autoconf.texi (several sections): Cleaned up documentation for
3495 macros in erlang.m4.
3497 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3499 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
3500 failure condition for `$(cmd)' style command substitutions.
3501 (Parenthetical command substition, Multiline parenthetical
3502 command substition): Use it.
3504 * doc/autoconf.texi (Special Shell Variables): Missing word.
3505 Reported by Keith Marshall <keith.marshall@total.com>.
3507 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
3508 IFS even in case of empty `$PATH'.
3510 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3512 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
3513 `expr' away if there is nothing to do.
3514 < --keywords >: Simplify and robustify argument handling.
3515 Revert erroneous comment from 2005-08-23. Extend to allow
3516 keyword negation with `!'.
3517 Update help message. Remove broken code to prevent running
3518 tests multiple times.
3519 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
3520 Update and fix the documentation accordingly.
3521 * tests/autotest.at (Keywords): Renamed to..
3522 (Keywords and ranges): .. this. Extended to make sure negated
3523 keywords, keywords taken from AT_SETUP arguments, and numeric
3524 test ranges work, and that matching is case-insensitive.
3526 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3528 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
3529 allow to pass unnamed structs even in C++.
3530 (AC_CHECK_SIZEOF): Likewise.
3531 Also fix quoting error in `AC_MSG_FAILURE' arguments.
3532 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
3533 struct): New tests for unnamed structs, each both native and
3536 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
3537 a structure inside a cast, for C++ conformance.
3538 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
3539 Also fix quoting error in `AC_MSG_FAILURE' arguments.
3541 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
3542 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
3543 trying to execute the command `no'.
3545 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
3546 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
3549 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
3550 example. Do not emphasize `$%', it is hardly new and special.
3551 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
3553 * doc/autoconf.texi (Limitations of Usual Tools): Document
3554 OpenBSD and traditional `grep' failure to handle multiple
3555 patterns separated by newlines.
3557 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3559 * doc/autoconf.texi (several sections): Add documentation for macros
3562 2006-03-10 Eric Blake <ebb9@byu.net>
3564 * doc/autoconf.texi (Obsolete Macros): Fix wording of
3567 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
3569 * doc/autoconf.texi: Use @acronym more consistently for acronyms
3570 like BSD, GPL, LGPL. Fix minor English typos.
3571 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
3572 Mention that these macros are becoming obsolete.
3573 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
3574 Use more modern terminology for which standard is what.
3575 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
3577 (AC_PROG_CXX): Likewise.
3578 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
3579 Remove obsolete discussion about how to port to K&R.
3580 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
3581 the obsolescent AC_HEADER_STDC.
3582 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
3585 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3587 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3588 Remove stdin redirection from /dev/null to allow pipe to work.
3590 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
3592 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3593 Require that /lib/cpp include stdio.h correctly. Solaris 10's
3594 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
3597 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3599 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
3600 HP-UX sed is 99 commands, not 100.
3601 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
3602 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
3603 newline for portability.
3604 * tests/torture.at (Torturing config.status): Also test 100
3605 AC_SUBST_FILE invocations. Fix test to actually verify the
3606 AC_CONFIG_FILES output.
3607 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
3608 command, label, and read-file `r' limits. Unify HP-UX spelling.
3610 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
3612 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
3614 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
3615 * tests/mktests.sh: Small shell portability fixes.
3617 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3619 * doc/autoconf.texi (Caching Results): Fix the examples to use a
3620 recommended quoting style and discard unwanted output.
3622 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
3624 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
3625 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
3626 cases, and to work around Tru64 expr bug.
3628 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3630 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
3631 expr bug that turns the result of a regex match into a number if
3634 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3636 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
3637 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
3638 in section `Specific Compiler Characteristics'.
3640 2006-03-04 Eric Blake <ebb9@byu.net>
3642 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
3645 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3647 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
3648 order of variable initialization, so even the Solaris 2.6 shell
3649 can create a config header correctly. Fixes lots of test suite
3652 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3654 * doc/autoconf.texi (Text processing Macros): New node to
3655 document the m4sugar macros m4_re_escape, m4_tolower,
3656 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
3658 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
3660 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
3661 XrmInitialize (0) -> XrmInitialize ().
3662 Reported by Toshio Kuratomi.
3664 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3666 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
3667 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
3668 * doc/autoconf.texi (Programming in M4sh): Adjusted.
3669 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
3670 both macros are defun'ed so that required macros are evaluated
3673 * doc/autoconf.texi (Prerequisite Macros): State more precisely
3674 where a required macro will be expanded.
3675 (Coding Style): Another reason not to use `m4_define'.
3677 2006-02-21 Eric Blake <ebb9@byu.net>
3679 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
3681 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3683 * doc/autoconf.texi (Looping constructs): New node, to
3684 document m4_for, m4_foreach, m4_foreach_w, and mention
3685 obsolete AC_FOREACH.
3686 (Obsolete Macros): Document AC_FOREACH.
3687 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
3688 (m4_for): Fix to never loop (almost) endlessly, work correctly
3689 with arithmetic expressions in arguments, a step of zero or
3690 non-integer multiple of the interval, and avoid integer
3692 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
3695 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3697 Add basic support for Erlang, both for configuring Erlang/OTP
3698 tools, and Erlang as a conf test language.
3699 * lib/autoconf/erlang.m4: New file.
3700 * lib/autoconf/autoconf.m4: Add erlang.m4.
3701 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
3702 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
3703 * NEWS: Add short description of new macros.
3704 * THANKS: Add Romain Lenglet.
3706 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3708 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
3709 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
3711 2006-02-15 Eric Blake <ebb9@byu.net>
3713 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
3716 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3718 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
3719 (_AS_CASE): Private helper macro.
3720 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
3721 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
3722 Fix syntax of AS_IF description
3723 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
3724 for the AC_REQUIRE mess.
3725 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
3728 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
3730 * doc/autoconf.texi: Minor style cleanup.
3731 Be consistent about spaces after commas.
3732 Insert [] where empty args look a bit funny.
3733 Fix some "i.e." and "e.g." usages.
3734 Try to avoid "X/Y" usages.
3735 Don't be pedantic about "ISO C99"; just say C99.
3736 Prefer GNU style for spaces in front of parens.
3737 (Function Portability): Comment about C89 versus C99
3738 signed integer division.
3739 (Particular Headers): Use current gnulib style for dirent
3742 2006-02-14 Stepan Kasal <kasal@ucw.cz>
3743 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3745 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
3746 macros without parameters.
3747 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
3748 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
3749 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
3751 (autoupdate): Updated to match AU_ALIAS fix.
3753 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3754 and Paul Eggert <eggert@cs.ucla.edu>
3756 * doc/autoconf.texi (Programming in M4sh): Document
3757 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
3759 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3761 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
3762 (AS_BOURNE_COMPATIBLE): ..this.
3763 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
3765 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
3767 * doc/install.texi (Defining Variables): Tighten up the
3768 CONFIG_SHELL wording.
3770 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
3771 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3773 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
3774 of (set -o) rather than testing whether (set -o posix) succeeds,
3775 to work around a bug in the AIX 5.3 shell. Problem originally
3776 reportd by Howard Chu for libtool.
3778 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
3780 * doc/autoconf.texi (Running the Compiler, Running the Linker):
3781 Changes the macro arguments in summaries to match the
3784 2006-02-04 Stepan Kasal <kasal@ucw.cz>
3786 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
3787 hint as ``a workaround for a bug.''
3789 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3791 * bin/autoreconf.in: New option `--no-recursive'.
3792 Improve wording for subpackages a bit.
3793 * doc/autoconf.texi (autoreconf Invocation): Updated.
3796 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
3797 in environment of `configure', not the command line.
3798 Reported by Howard Chu <hyc@highlandsun.com>.
3800 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
3802 * doc/autoconf.texi (Limitations of Builtins): Document the
3803 problem with "trap -".
3805 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
3807 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
3808 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
3809 messages to differentiate Fortran and Fortran 77 tests.
3810 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
3811 AC_LANG_ASSERT, to allow use in mixed-language projects.
3813 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
3815 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
3816 FOO" to "defined (FOO)".
3817 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
3818 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
3819 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
3820 * tests/tools.at (ifnames): Likewise.
3822 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3824 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
3825 * lib/Autom4te/General.pm (mktmpdir): Likewise.
3826 (END): Improve error message a bit.
3827 Reported by Bruce Korb <bkorb@gnu.org>.
3829 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3831 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3832 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
3834 2006-01-11 Stepan Kasal <kasal@ucw.cz>
3836 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
3837 requires sys/stream.h. Reported by Oliver Kiddle.
3839 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3840 Stepan Kasal <kasal@ucw.cz>
3842 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
3843 before the removals of test dirs, use `find' to avoid modification
3844 of symlinked directories.
3846 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
3848 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
3849 Don't ignore the macro arguments.
3851 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
3853 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
3854 declaration that works for MSVC.
3856 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3858 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
3859 Add `*.map' and `.inf' for Green Hills compiler.
3860 Reported by Stefan Seefeld <stefan@codesourcery.com>.
3862 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
3863 correctly: pad with spaces after FIRST_PREFIX if necessary,
3864 and compute string lenghts with `m4_qlen' instead of `m4_len'.
3865 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
3866 * tests/m4sh.at (AS_HELP_STRING): Test extended.
3868 Reported by numerous people, numerous times.
3870 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
3872 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
3873 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
3874 * lib/autoconf/general.m4, lib/autoconf/status.m4:
3875 * lib/autotest/general.m4, tests/local.at:
3876 Update copyright year to 2006.
3878 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
3880 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
3881 for file names, again. Reported by Noah Misch.
3882 (Coding Style): Explain that s|a|b| is preferred for file names.
3883 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
3884 (AC_OUTPUT_MAKE_DEFS): Likewise.
3885 * lib/autotest/general.m4 (AT_INIT): Likewise.
3886 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
3887 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
3889 Fix Posix-conformance bugs re use of { command in sed scripts,
3890 and improve the sed-related documentation a bit.
3891 * doc/autoconf.texi (Installation Directory Variables): Use
3892 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
3893 rather than "sed" when talking about Sed in general.
3894 (Particular Programs): Likewise.
3895 (Coding Style): y is like s with respect to / and ,.
3896 (Limitations of Usual Tools): Document the weird restrictions
3897 that Posix has about { }. Use better quoting.
3898 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
3899 Rewrite to conform to Posix rules about { } in sed scripts.
3900 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
3901 * tests/foreign.at (Libtool): Likewise.
3902 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
3903 Use our own style advice re 's,a,b,' versus 's|a|b|'.
3905 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3907 * lib/autoconf/status.m4: Fix typo.
3909 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3910 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
3911 `-def', for the benefit of Portland `pgf90 -Mipa'.
3912 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
3914 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
3916 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
3917 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
3918 shell from zsh to bash.
3920 2005-12-31 Stepan Kasal <kasal@ucw.cz>
3922 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
3923 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
3925 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
3927 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
3928 parentheses in $(...). Problem reported by Eric Blake.
3930 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
3932 * doc/autoconf.texi (Limitations of Usual Tools):
3933 Mention which characters can be escaped with \ in portable regular
3934 expressions used in grep, sed, expr. Mention the leading ^ problem
3935 with expr. Clean up some confusing wording. Mention which
3936 grep options are portable.
3938 2005-12-09 Stepan Kasal <kasal@ucw.cz>
3940 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
3942 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
3944 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
3945 patch, noted by Ralf Wildenhues.
3947 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3949 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
3950 posix' unconditionally, for pdksh in `native sh' emulation.
3952 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
3954 * doc/autoconf.texi (Shellology): Document eval $? problem
3956 (Limitations of Builtins): Likewise.
3958 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3960 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
3961 CONFIG_SHELL in the environment of the configure rerun.
3962 * doc/autoconf.texi (Here-Documents, config.status Invocation):
3963 Suggest passing CONFIG_SHELL absolute, and in the environment
3964 rather than as option.
3966 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3968 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3969 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
3970 Fix macro quoting. Fix output for n * 98 substituted variables.
3972 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3974 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
3975 `tmp' to avoid file removal race.
3977 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3979 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
3980 ac_clean_files and LIBOBJS.
3982 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3984 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
3985 Factor functionality to..
3986 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
3987 `AC_SUBST($1)' in the public version.
3988 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
3989 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
3992 2005-11-01 Stepan Kasal <kasal@ucw.cz>
3994 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
3997 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3999 * NEWS: Move AH_HEADER mention to right place.
4001 2005-10-27 Stepan Kasal <kasal@ucw.cz>
4003 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
4004 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4006 2005-10-25 Stepan Kasal <kasal@ucw.cz>
4008 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
4009 conftst2.$ac_objext.
4010 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4012 2005-10-24 Stepan Kasal <kasal@ucw.cz>
4014 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
4015 conftest.o, to see whether the compiler really obeys; rm the object
4016 file before and after the test and register it with ac_clean_files.
4017 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4019 2005-10-21 Stepan Kasal <kasal@ucw.cz>
4021 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
4022 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
4023 code so that the most common case requires less forks.
4025 2005-10-20 Stepan Kasal <kasal@ucw.cz>
4027 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
4028 not portable; thanks to Paul Eggert and Alexandre.
4030 * NEWS: Fix an old typo.
4032 2005-10-20 Jim Meyering <jim@meyering.net>
4034 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
4035 the latter'', in two places.
4037 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
4039 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
4040 AC_LANG_PROGRAM, fixing a typo. Don't give details about
4041 the inner workings of AC_LANG_FUNC_LINK_TRY.
4042 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
4043 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
4044 by the function rather than ignoring it.
4045 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
4046 comparing its address. Intel's interprocedural optimization was
4047 outsmarting the old heuristic. Problem reported by
4050 2005-10-19 Stepan Kasal <kasal@ucw.cz>
4052 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
4054 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
4056 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
4057 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
4059 2005-10-04 Stepan Kasal <kasal@ucw.cz>
4061 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
4062 before removing it (chmod -R u+rwx); there are three instances of this.
4064 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4065 Stepan Kasal <kasal@ucw.cz>
4067 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
4068 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
4069 make its content writable before removing it. Remove an errorneous
4070 comment from the end, where the logs of the failed tests are copied
4071 to the main log file.
4073 2005-09-27 Stepan Kasal <kasal@ucw.cz>
4075 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
4076 in case the computer is too quick. Double quote the configure.ac
4079 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
4080 problems if the testsuite were running too fast.
4082 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
4084 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
4085 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
4086 (which belong to Xt, not X itself). See Debian bug 327655.
4087 * NEWS: Mention this.
4089 2005-09-07 Stepan Kasal <kasal@ucw.cz>
4091 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
4093 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
4095 * config/move-if-change: Don't output "$2 is unchanged";
4096 suggested by Ben Elliston. Handle weird characters correctly.
4098 2005-09-06 Stepan Kasal <kasal@ucw.cz>
4100 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
4101 calls, so that the final expansion of this macro is shorter.
4102 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
4103 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
4104 the cleanup there. Use AS_VAR_* macros, to be more general.
4105 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
4107 * lib/autoconf/general.m4: Use AS_IF where appropriate.
4109 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
4111 2005-09-01 Stepan Kasal <kasal@ucw.cz>
4113 * doc/autoconf.texi (Configuration Headers): Add an index entry
4116 2005-08-26 Pavel Roskin <proski@gnu.org>
4118 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
4119 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
4122 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
4124 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
4125 The previous patch didn't work, so try a better one.
4127 2005-08-26 Stepan Kasal <kasal@ucw.cz>
4129 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
4130 in the example. Reported by Bruno Haible.
4131 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
4132 "if $undefined_var;" succeeds with my shell.
4134 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
4135 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
4136 but change the m4_divert_text to m4_divert_once.
4138 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
4140 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
4141 Work around bug in Solaris /usr/xpg4/bin/awk.
4142 The bug is present in at least Solaris 8 through 10.
4144 2005-08-24 Stepan Kasal <kasal@ucw.cz>
4146 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
4147 some evil values and relying on the fact that $* concatenates the
4148 parameters by the first character from IFS.
4150 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
4151 Stepan Kasal <kasal@ucw.cz>
4153 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
4154 first header appears, define AH_HEADER.
4155 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
4156 Update limitations about when to call AC_CONFIG_HEADERS.
4157 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
4158 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
4159 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
4160 ``Configuration Actions''; fix their index entries.
4162 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
4163 options correctly. Process N-M as M-N if M is smaller than N.
4164 Process ranges correctly so that N-N will run only N.
4165 Sort and uniquify the tests that will be run. If there is more
4166 than one test, reinsert the banners for the tests.
4167 * tests/autotest.at (Keywords): Unmark XFAIL.
4169 2005-08-23 Stepan Kasal <kasal@ucw.cz>
4171 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
4172 before passing the macro name to AH_TEMPLATE.
4174 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
4175 now opens log after option processing; in particular, --version
4176 and --help do not touch config.log.
4178 * Makefile.maint: Revert the change from 2005-08-12.
4180 2005-08-22 Stepan Kasal <kasal@ucw.cz>
4182 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
4184 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
4186 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4188 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
4189 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
4192 * doc/autoconf.texi (Defining Symbols, Changed Results):
4193 Prepend to LIBS, not append, in examples.
4195 2005-08-16 Stepan Kasal <kasal@ucw.cz>
4197 When building in place, set srcdir="."; suggested by Tim Van Holder.
4199 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
4200 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
4201 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
4202 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
4203 does not mean "no --srcdir option".
4205 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4207 * tests/autoscan.at (autoscan): New file.
4208 * tests/suite.at: Use it.
4209 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
4210 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
4212 * tests/autotest.at (Keywords): Test keywords combinations.
4214 2005-08-12 Stepan Kasal <kasal@ucw.cz>
4216 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
4217 add "2>&1"; gzip 1.2.4 prints help on stderr.
4219 2005-07-27 Stepan Kasal <kasal@ucw.cz>
4221 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
4222 was pushdef'ed twice while popped only once. Push it only once.
4223 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
4225 2005-07-26 Stepan Kasal <kasal@ucw.cz>
4227 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
4228 prefixed by mere "===", not "configure: === ".
4230 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
4232 * Makefile.maint: Update from Bison.
4234 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
4235 "<tab>" in comment, so that the point is understandable.
4237 2005-07-25 Stepan Kasal <kasal@ucw.cz>
4239 Rewrite substantial part of lib/autoconf/status.m4.
4240 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
4241 and CONFIG_COMMANDS are not processed in four separate loops.
4242 Instead, there is one main loop. This alows that the common code
4243 is expanded only once, thus config.status (and configure) is smaller.
4245 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
4246 the AC_LIST_FILES and cousins macros are no longer used.
4248 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
4249 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
4250 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
4251 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
4252 contain the initialization, nor the for loop, nor the associated
4253 commands; all these go to ...
4254 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
4255 _AC_OUTPUT_CONFIG_STATUS.
4256 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
4257 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
4258 (_AC_OUTPUT_FILE): The creation of the sed script ...
4259 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
4260 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
4261 _AC_OUTPUT_MAIN_LOOP.
4262 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
4263 _AC_CONFIG_COMMANDS): Use ...
4264 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
4265 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
4266 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
4267 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
4268 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
4269 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
4271 (_AC_CONFIG_UNIQUE): Update.
4272 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
4273 Replaced by this ...
4274 (_AC_LIST_TAGS): ... new common macro.
4275 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
4276 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
4277 (_AC_LIST_TAG_COMMANDS): ... new common macro.
4278 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
4279 this didn't belong to the `config commands' section.
4280 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
4281 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
4282 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
4283 to the `config commands' section either.
4284 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
4285 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
4287 ... and many changes to the comments nearby.
4289 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
4290 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
4291 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
4292 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
4293 (#define header templates): The comment at the top of the generated
4294 header now includes the name(s) of the source file(s).
4296 Several unrelated small changes:
4298 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
4299 parameter to AC_DIAGNOSE.
4300 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
4301 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
4302 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
4303 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
4305 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
4306 in AC_OUTPUT doesn't double-quote it either.
4307 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
4310 2005-07-10 Stepan Kasal <kasal@ucw.cz>
4312 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
4313 versions of Portland Group compiler produce single- and double-quoted
4314 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
4315 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4317 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
4319 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4320 This is a corrected version of yesterday's patch.
4322 2005-07-07 Stepan Kasal <kasal@ucw.cz>
4324 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
4325 path, too; insert a "===" to emphasize the line.
4327 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
4328 ac_cv_build_alias to ac_build_alias.
4329 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
4331 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
4332 change eliminates it. Problem reported by Alexandre Duret-Lutz.
4333 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
4334 (AC_ARG_VAR): ... here.
4335 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
4338 Keep a list of all precious variables and process them with one simple
4339 for loop, instead of expanding all commands, or, OTOH, complicated
4340 processing of output of "set".
4341 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
4342 variable names in new macro...
4343 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
4344 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
4345 a loop to assign all ac_env_* and ac_cv_env_* variables.
4346 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
4348 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
4349 its value to shell variable ac_precious_vars and call
4350 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
4351 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
4352 _AC_ARG_VAR_VALIDATE.
4354 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
4355 and the AC_SUBSTs ...
4356 (AC_INIT): ... here.
4358 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
4359 the ac_subst_files section in config.log.
4361 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
4363 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
4365 * NEWS: New macro AC_C_TYPEOF.
4366 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
4367 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
4368 * tests/c.at (C keywords): Test AC_C_TYPEOF.
4370 Fix problems reported by Nicolas Joly.
4371 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
4372 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4373 They are generated by the Tru64 v5.1B shell.
4375 2005-07-05 Stepan Kasal <kasal@ucw.cz>
4377 Fix my changes from 2005-07-01; reported by Noah Misch.
4378 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
4379 description, the macro now accepts only a single tag.
4380 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
4382 Fix cases when the varsions of Autoconf and Autotest don't match.
4383 Reported by Noah Misch.
4384 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
4385 at_top_builddir, for compatibility with older autotest.
4386 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
4387 is not set, use at_top_builddir, for compatibility with older
4388 versions of autoconf.
4390 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
4392 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
4393 Problem reported by Patrick Welche.
4395 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
4397 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
4398 sed substitution command, so that we allow | in program prefixes
4399 and program suffixes. (& is a problem anyway; we're not fixing
4401 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
4402 configure_input, top_builddir, srcdir, etc.
4403 * lib/autotest/general.m4 (AT_INIT): Likewise, for
4404 PATH_SEPARATOR in AUTOTEST_PATH.
4406 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
4408 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
4409 for loop over config.site files using `set', to allow
4410 directory names containing IFS characters.
4412 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
4414 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
4415 directories with weird names. Apparently some people like living
4416 on the edge. However, improve the test that "pwd" actually does
4417 report a name for the working directory.
4418 * NEWS: Remove the claim that we test for funny chars in dir names.
4420 2005-07-01 Stepan Kasal <kasal@ucw.cz>
4422 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
4424 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
4425 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
4426 Now accept a single tag, not whitespace separated list.
4427 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
4429 2005-06-30 Stepan Kasal <kasal@ucw.cz>
4431 * doc/autoconf.texi (Configuration Headers): Change the explanation
4432 about #include <config.h>.
4433 (Generic Functions): Mention the Gnulib project.
4434 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
4436 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
4437 document to output the default config_* lists to config.status.
4438 Don't recognize option --file, if the functionality is not there.
4439 Likewise for --header; moreover, recognize --he and --h as shortcuts
4440 for --help in that case.
4442 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
4443 matches the order of execution. No code changed.
4445 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4447 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
4448 single-quoted -cmdline argument in Portland Group compiler.
4449 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4451 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
4453 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
4455 2005-06-29 Stepan Kasal <kasal@ucw.cz>
4457 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
4458 descriptors to child processes; reported by Norman Gray.
4460 2005-06-29 Stepan Kasal <kasal@ucw.cz>
4462 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
4464 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
4465 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
4466 (AC_SUBST): Call it.
4467 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
4468 the directory specific variables; but don't call it for configure_input.
4470 2005-06-28 Derek Price <derek@ximbiot.com>
4472 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
4475 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
4477 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
4478 directory have inherent problems with special characters like spaces,
4479 due to limitations in Make syntax. Problem reported by Alexandre
4481 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
4482 Also, fix Tru64 porting problem with shell patterns,
4483 reported by Ralf Wildenhues.
4485 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4487 * doc/autoconf.texi (Subdirectories): Fix markup typos.
4489 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
4491 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
4493 Fix some more shell quoting problems. Prompted by a bug report
4494 from Justace Clutter.
4495 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
4496 variable into diagnostic. Make the diagnostic an error, not a warning,
4497 because we really don't support spaces and suchlike in dir names.
4498 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
4499 Don't worry about backslashes in srcdir; it can't happen now.
4500 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
4501 Simplify ac_optarg handling.
4502 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
4504 2005-06-22 Stepan Kasal <kasal@ucw.cz>
4506 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
4507 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
4508 * tests/atlocal.in: Propagate $EGREP and $SED.
4509 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
4510 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
4512 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
4513 that '\|' is not allowed in BREs; recommend using newline separated
4514 list of patterns instead of multiple -e options.
4516 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
4518 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
4520 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4522 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
4524 2005-06-21 Stepan Kasal <kasal@ucw.cz>
4526 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
4527 b, t, r, w commands require single space, while : cannot have any.
4528 (Special Shell Variables): Fix sed code this in the example.
4529 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
4530 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
4532 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
4533 expand to the empty list. Don't use two pairs of m4_changequote,
4536 2005-06-20 Derek Price <derek@ximbiot.com>
4538 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
4540 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
4542 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
4543 * doc/autoconf.texi:
4544 Don't mention Solaris versions so much, if a
4545 problem is common to all extant versions of Solaris. Say "SunOS
4546 4" instead of "SunOS" for SunOS 4.
4547 (awk): Mention more of the limitations of traditional Awk.
4548 (cat): Don't talk about cat -v.
4550 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
4552 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
4553 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
4554 but the implementation is entirely different and is designed
4555 to be compatible with glibc strverscmp.
4556 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
4558 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
4559 on Mac OS X 10.4 reported by Peter O'Gorman in:
4560 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
4561 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
4562 Use shell builtins rather than 'expr', to work around expr bug.
4564 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
4566 * doc/autoconf.texi: "filesystem" -> "file system".
4567 "behaviour" -> "behavior".
4568 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
4569 * lib/autoconf/general.m4: Omit blank after ":" sed command,
4571 * lib/m4sugar/m4sh.m4: Likewise.
4572 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
4573 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
4575 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
4576 (.x.1): Ignore the time stamp in the .TH line when deciding whether
4577 to update the man page. That way, we don't have to check in new
4578 man pages every month.
4580 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
4581 quotes and backslashes. Patch from Derek Price.
4583 2005-06-10 Derek Price <derek@ximbiot.com>
4585 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
4588 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
4590 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
4591 -u, since it outputs chatter if the input files are the same.
4592 Problem reported by Ralf Menzel.
4594 2005-06-08 Derek Price <derek@ximbiot.com>
4596 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
4597 renaming them since they are about to be redefined anyhow.
4599 2005-06-08 Derek Price <derek@ximbiot.com>
4601 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
4602 redefined M4 macros to this node. Document m4_include & m4_sinclude.
4603 Move m4_undefine to alphabetical order.
4605 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
4607 * README: Recommend GNU M4 1.4.3 or later.
4608 * doc/autoconf.texi (Introduction): Likewise.
4609 Reword to avoid some formatting glitches.
4610 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
4611 Clarify explanation of HP compiler bug.
4612 Redo example output tp match current CVS snapshot.
4613 Use @example.org in email addresses when the examples
4614 might get inadvertently cut-and-pasted into user code.
4615 Remove example of autom4te usage that doesn't seem to work now.
4616 Use modern AC_INIT (except when the example is meant to be
4617 shown with Autoconf 2.13).
4618 Update ksh info for Solaris 9 and later.
4620 Modernize description of Automake versions a bit.
4621 Don't claim a future version of Autoconf is near.
4622 * doc/install.texi: Reword to avoid some formatting glitches.
4624 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4626 * doc/autoconf.texi: Add [] to examples, so that the manual
4627 follows its own advice about quoting better.
4628 Reword to avoid some formatting glitches.
4629 * doc/installt.exi: Reword to avoid some formatting glitches.
4631 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
4632 Tru64 ksh pattern matching bug. Reported against Libtool by
4633 Albert Chin <libtool@mlists.thewrittenword.com> and
4634 Nicolas Joly <njoly@pasteur.fr>.
4636 2005-06-06 Stepan Kasal <kasal@ucw.cz>
4638 m4_cdr of one-member list was [[]] (one-member list containing an
4639 empty string) instead of [] (an empty list. Callers were skewed to
4640 match this misbehaviour. As a consequence of this:
4641 - m4_foreach([x], [], [foo]) expanded to `foo', while
4642 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
4643 This bug has been fixed:
4645 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
4646 expand to an empty string; print error msg if called without
4648 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
4649 misbehaviour; handle [] and [[]] correctly.
4651 2005-06-06 Stepan Kasal <kasal@ucw.cz>
4653 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
4654 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
4655 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
4657 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
4659 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
4660 swallow records with more than 99 fields.
4661 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
4662 parse the long line.
4664 2005-06-04 Stepan Kasal <kasal@ucw.cz>
4666 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
4667 swallow literals longer than 399. Reported by Ralf Wildenhues.
4668 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
4669 to workaround this limitation.
4671 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
4673 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
4674 to gfortran, and make these the first two compiler names
4675 checked (following the general autoconf preference for gcc).
4677 2005-06-03 Stepan Kasal <kasal@ucw.cz>
4679 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
4680 (DISTCLEANFILES): Remove $(check_SCRIPTS).
4681 (testsuite): Make sure autotest.m4f is up-to-date before using it.
4683 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
4685 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
4686 expression of unbounded size when processing the --list
4687 option. This runs afoul of a limit of 399 bytes per regular
4688 expression on AIX. Problem reported by Ralf Wildenhues.
4690 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
4692 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
4693 * doc/autoconf.texi (Particular Headers): Reword example
4694 for multiline stdbool replacement.
4695 (Setting Output Variables): Reword text a bit. Don't
4696 give all the details about |#_!!_#|.
4697 Reword description of line replacement.
4699 2005-05-31 Dan Manthey <dan_manthey@partech.com>
4701 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
4702 now contain newlines, and substituted files must be referenced on
4703 a line alone; the sed scripts to substitute them are now very
4705 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
4706 commands can be put in a sed script portably.
4707 * doc/autoconf.texi (Setting Output Variables): Document above
4708 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
4709 use of multiline substitution.
4710 * tests/torture.at: No longer expect substitution of newline to fail.
4712 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
4714 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
4715 From Ralf Menzel (trivial change).
4717 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
4719 * tests/local.at: Don't attempt to check for negated character
4720 classes in shell scripts. The test was too brittle.
4722 2005-05-25 Stepan Kasal <kasal@ucw.cz>
4724 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
4725 * doc/autoconf.texi (Limitations of Builtins): Document this
4728 2005-05-24 Stepan Kasal <kasal@ucw.cz>
4730 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
4731 common code; used in many places in the tree.
4732 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
4733 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
4735 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
4737 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
4738 messages when ac_unique_file is not found.
4739 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
4740 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
4741 commands, for consistency with AC_MSG_ERROR and such.
4743 * bin/autoconf.as: Make more use of "shift 2" in option processing.
4745 * bin/Makefile.am: Merge the two rules for creating scripts.
4747 2005-05-23 Stepan Kasal <kasal@ucw.cz>
4749 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
4750 obsolete; it was never documented.
4751 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
4753 2005-05-20 Stepan Kasal <kasal@ucw.cz>
4755 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
4756 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
4757 (ac_top_builddir): ... this ...
4758 (ac_top_build_prefix): ... to this; the old name is also kept, for
4759 backward compatibility.
4760 (ac_top_builddir_sub): New variable, without the trailing slash,
4762 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
4763 * doc/autoconf.texi (Configuration Actions): Rename
4764 ac_top_builddir to ac_top_build_prefix.
4765 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
4766 at_top_builddir to at_top_build_prefix.
4767 * lib/autotest/general.m4 (AT_INIT): Likewise.
4769 2005-05-20 Stepan Kasal <kasal@ucw.cz>
4771 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
4774 2005-05-17 Stepan Kasal <kasal@ucw.cz>
4776 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
4777 argument to m4_foreach. I guess it was necessary in the past,
4778 but I think it's a no-op now.
4780 2005-05-17 Stepan Kasal <kasal@ucw.cz>
4782 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
4783 ``cat <<_ACEOF'' commands to one.
4784 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
4785 * lib/autoconf/status.m4: On various places, use expr instead of
4787 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
4788 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
4789 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
4791 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
4792 the wrong patterns between ``case'' and ``esac.'' The previous
4793 code had false positives.
4795 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
4797 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
4799 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
4802 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
4804 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
4805 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
4806 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
4807 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
4808 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
4809 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
4810 config/config.guess, config/config.sub, config/elisp-comp,
4811 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
4812 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
4813 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
4814 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
4815 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
4816 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
4817 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
4818 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
4819 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
4820 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
4821 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
4822 lib/autoconf/general.m4, lib/autoconf/headers.m4,
4823 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
4824 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
4825 lib/autoconf/specific.m4, lib/autoconf/status.m4,
4826 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
4827 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
4828 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
4829 lib/autotest/general.m4, lib/emacs/Makefile.am,
4830 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
4831 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
4832 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
4833 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
4834 tests/compile.at, tests/foreign.at, tests/fortran.at,
4835 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
4836 tests/semantics.at, tests/suite.at, tests/tools.at,
4837 tests/torture.at, tests/wrapper.as:
4838 Update FSF postal mail address.
4840 2005-05-13 Stepan Kasal <kasal@ucw.cz>
4842 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
4844 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
4845 enough arguments, similarly as in m4_bpatsubsts.
4847 2005-05-12 Stepan Kasal <kasal@ucw.cz>
4849 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
4852 2005-05-11 Stepan Kasal <kasal@ucw.cz>
4854 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
4855 for absolute directory names in one loop.
4856 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
4857 abbreviations of --version and --debug.
4859 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
4861 * doc/autoconf.texi (Autoconf Language): Be more precise about
4862 quoting rules. Problems noted by Stepan Kasal.
4863 Also, throughout this document, be more careful about white space.
4864 "blank", "white space", and "space" all have different meanings
4865 and we should be careful to say what we mean.
4867 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
4869 Fix C++ related problems reported by Werner Lemberg.
4870 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
4871 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
4872 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
4873 avoid problems with C++ and throw.
4874 * tests/compile.at: .cpp, not .cc.
4876 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
4878 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4880 * doc/autoconf.texi (Generic Functions): Typos.
4882 2005-05-02 Gary V. Vaughan <gary@gnu.org>
4884 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
4885 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
4886 set by latest automake.
4888 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
4890 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
4891 outputs 0 on GNU/Linux these days.
4893 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
4895 * doc/autoconf.texi (Autoconf Language): Add more description
4896 about quoting heuristics.
4897 (Limitations of Builtins): Describe "set -" problems.
4899 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4901 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
4904 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
4905 by AC_DEFINE; it was a mistake.
4906 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
4908 2005-04-25 Stepan Kasal <kasal@ucw.cz>
4910 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
4912 2005-04-22 Stepan Kasal <kasal@ucw.cz>
4914 * doc/autoconf.texi (External Software): Quadrigraphs are not
4915 processed correctly in AS_HELP_STRING; avoid this in the examples.
4916 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
4917 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
4918 comment and reduce m4_default([foo], []) to [foo].
4919 (m4_strip): Update the explanation.
4921 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
4923 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
4924 Remove core.conftest.* too; it's generated by Tru64 5.1.
4925 Problem reported by Jennis Pruett.
4926 * lib/autoconf/functions.m4
4927 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4928 Don't bother to remove core files; AC_RUN_IFELSE should do that
4931 2005-04-19 Stepan Kasal <kasal@ucw.cz>
4933 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
4935 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
4937 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
4938 Report from Horst Wente.
4940 2005-04-15 Stepan Kasal <kasal@ucw.cz>
4942 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
4945 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
4947 * doc/autoconf.texi (External Software, Package Options): Add
4948 examples showing how to implement --with-* and --enable-* options.
4950 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
4952 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
4953 as well as configure.in. Problem reported by Gregorio Guidi.
4955 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
4957 * doc/autoconf.texi (Particular Functions): Use gnulib's current
4958 pattern for alloca snippet.
4960 2005-04-04 Stepan Kasal <kasal@ucw.cz>
4962 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
4964 2005-04-01 Stepan Kasal <kasal@ucw.cz>
4966 * doc/autoconf.texi (Generic Programs): Fix a typo.
4968 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
4970 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
4971 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
4973 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4975 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
4976 Merge `-z option' as well for the benefit of Solaris link flags. Pass
4977 whole-archive (-zallextract, -zdefaultextract) options in the hope of
4978 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
4979 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
4981 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
4983 * NEWS: The configure command now warns you if you attempt to use
4984 a directory whose name contains a special character like space,
4986 * doc/autoconf.texi (Installation Directory Variables): Allow
4987 "," in file names. Do not use \@; it's not a portable regexp.
4988 * bin/Makefile.am (edit): Likewise.
4989 * lib/Makefile.am (edit): Likewise.
4990 * tests/Makefile.am (edit): Likewise.
4991 * tests/semantics.at: Likewise.
4992 * tests/torture.at: Likewise.
4993 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
4994 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
4995 * doc/autoconf.texi (File System Conventions): Warn about
4996 unportable file names.
4997 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
4999 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
5000 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
5001 ac_pwd, and quote srcdir.
5002 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
5004 * doc/autoconf.texi: Fix some systematic formatting problems.
5005 ".)" needs a following @: if not at the end of a sentence, and
5006 similarly for "!)". "etc." should be preceded by a comma.
5007 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
5009 2005-03-22 Bruno Haible <bruno@clisp.org>
5011 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
5012 argument is often called 'build-aux'.
5014 2005-03-07 Stepan Kasal <kasal@ucw.cz>
5016 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
5017 macro AC_TRY_LINK is obsolete.
5018 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
5021 2005-02-24 Stepan Kasal <kasal@ucw.cz>
5023 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
5024 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
5025 from a Common Lisp's `cl'.
5026 (AC_PROG_CXX): Behave according to the documentation: don't
5027 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
5028 make the variable CCC precious; use `cl.exe', not `cl'.
5030 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
5031 Alexandre Duret-Lutz <adl@gnu.org>
5033 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
5034 /dev/null, as "configure" shouldn't read stdin, and this insulates
5035 us from problems (e.g., when testing for "cl"). Also, do this
5036 redirection before invoking "hostname" or "uname", and keep the
5037 original input stream available via...
5038 (AS_ORIGINAL_STDIN_FD): ... this new macro.
5039 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
5040 bother with "</dev/null" since it's now done at the top of
5042 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
5043 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5044 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5045 * doc/autoconf.texi (File Descriptor Macros): New section.
5046 (Printing Messages): Mention it.
5047 * tests/base.at (Input/Output): New test.
5049 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
5051 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
5052 newline if neither \c nor -n work, as that would output two
5053 newlines. Prefer -n to \c. Reported by Stepan Kasal.
5055 2005-02-12 Stepan Kasal <kasal@ucw.cz>
5057 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
5058 This causes that any required macros inside will get before the if.
5059 * doc/autoconf.texi (autom4te.cache): A typo.
5061 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
5063 Undo previous change, except keep the change to
5064 lib/autoconf/programs.m4 that replaced grep with shell
5065 pattern-matching. This is because net-snmp configure reads stdin.
5066 Reported by Noah Misch.
5068 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
5070 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
5071 from /dev/null, as "configure" shouldn't read stdin, and this
5072 insulates us from problems (e.g., when testing for "cl").
5073 Suggested by Alexandre Duret-Lutz. Also, do this redirection
5074 before invoking "hostname" or "uname".
5075 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
5076 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
5077 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
5078 "</dev/null" since it's now done at the top of 'configure'.
5079 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5080 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5081 Also, replace grep with shell pattern-matching, to save a process.
5083 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
5085 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
5086 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
5087 avoid thinking that Allegro Common Lisp's "cl" command is a C++
5090 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
5092 * doc/autoconf.texi (Limitations of Usual Tools): Document that
5093 grep -q isn't portable. Improve grep -s explanation.
5094 Problem reported by Dan Manthey.
5096 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
5098 * doc/autoconf.texi (Special Shell Variables): Clarify
5099 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
5101 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
5103 * doc/autoconf.texi: Use @acronym for DJGPP.
5104 Fix some @code's that should have been @env's, and vice versa.
5105 Sort environment variable names.
5106 Mention that shells no longer inherit IFS.
5107 Don't recommend PATH_SEPARATOR=';' so strongly.
5108 Mention that $RANDOM might expand to the empty string.
5109 "symlink" and "soft link" -> "symbolic link".
5110 Improve mktemp description (reported by Bruno Haible).
5112 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
5114 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
5115 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
5117 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
5120 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
5122 * NEWS: Mention AT_COPYRIGHT.
5124 * tests/local.at (AT_CMP): Use diff directly on input files rather
5127 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
5128 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
5130 2005-02-04 Noah Misch <noah@cs.caltech.edu>
5131 and Paul Eggert <eggert@cs.ucla.edu>
5133 * tests/autotest.at (Empty test suite): New test.
5134 * tests/torture.at (Substitute and define special characters)
5135 (Substitute a 2000-byte string, Define to a 2000-byte string)
5136 (Substitute a newline, Define a newline): New tests.
5138 2005-02-04 Noah Misch <noah@cs.caltech.edu>
5140 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
5141 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
5142 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
5143 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
5144 (Standard regular expressions): New test.
5145 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
5146 excess test name quoting.
5147 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
5148 CPPFLAGS to `configure' instead of setting it in `configure'.
5150 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
5151 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
5154 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
5155 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
5157 * tests/local.at (AT_CMP): New macro.
5158 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
5159 (AC_SAVE_STATE): Move environment grep...
5160 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
5161 (AT_CONFIG_CMP): New macro.
5162 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
5163 * tests/c.at (Extensions): Do not exit early.
5164 * tests/atlocal.in: Inherit $GREP.
5166 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
5167 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
5169 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
5170 (AC_COPYRIGHT): Factor header comment portion out and move into...
5171 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
5172 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
5173 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
5175 * tests/local.at: Add Autoconf test suite copyright notice.
5176 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
5178 2005-02-04 Bruno Haible <bruno@clisp.org>
5179 and Paul Eggert <eggert@cs.ucla.edu>
5181 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
5183 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
5185 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
5186 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
5188 Try not to generated lines of unlimited length, as POSIX places a
5189 2047-byte limit on line length of portable text files.
5190 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
5191 Use newline as a separator, not space.
5192 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
5193 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
5196 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5198 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
5199 as_func_*. Add test to check whether positional parameters
5200 are restored after function return.
5202 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
5204 * doc/autoconf.texi (Special Shell Variables): Mention _,
5205 BIN_SH, DUALCASE. Say that variables other than "status" are safe
5206 if they contain a lower-case letter. The DUALCASE problem was
5207 reported by Ralf Wildenhues.
5209 * bin/autoconf.as: Don't exit with status 0 after write failure
5210 with --help or --version.
5211 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
5212 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
5214 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5216 * doc/autoconf.texi (Limitations of Usual Tools):
5217 Unicos 9 sed limitations.
5218 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
5219 to get the option-enhanced interface on older Crays. Try ftn for
5220 Fortran 95 (newer Crays).
5222 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
5224 * man/Makefile.am (.x.1): Go back to the simple solution, but take
5225 care to echo the commands, so the user knows what's going on.
5226 Modified from a suggestion by Stepan Kasal.
5228 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
5229 with a cross reference. Derived from a suggestion by Bruce Korb.
5231 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
5233 * doc/autoconf.texi (config.status Invocation): Warn about
5234 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
5235 * doc/install.texi (Defining Variables): Likewise.
5236 Based on a proposed patch by Ralf Wildenhues.
5238 * man/Makefile.am (.x.1): Make sure the required generated files
5239 are up to date. Problem and original solution proposed by Stepan Kasal.
5240 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
5241 implicit-man-prerequisites): New rules, used by the above.
5243 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
5244 * config/config.guess, config/config.sub, config/install-sh: Likewise.
5245 * config/missing, config/texinfo.tex: Likewise.
5247 2005-01-29 Stepan Kasal <kasal@ucw.cz>
5249 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
5250 Update the long comment explaining it.
5252 m4_require no longer writes an ``is required by'' line to the
5253 execution stack. It contains only one bit of non-redundant
5254 information: that the macro was required, not called. And even
5255 this bit is useless in most situations: have you ever met a macro
5256 which both calls and requires the same macro?
5258 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
5259 (_m4_defun_pro_outer): ... only via this macro, for the outermost
5261 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
5262 (m4_expansion_stack_pop): Remove the misplaced comment.
5263 (m4_require): Don't put the ``is required by'' line to the
5264 execution stack; slightly improve the out-of-a-defun error message.
5265 (_m4_divert_grow): New macro, counter for the temporary diversions.
5266 (_m4_require_call): Use it.
5267 * tests/m4sugar.at (m4_require): Expect output without the
5268 ``is required by'' messages.
5270 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
5272 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
5273 rather than x for expr.
5275 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
5277 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
5278 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
5279 * lib/autotest/general.m4 (AT_INIT): Likewise.
5280 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
5281 * tests/mktests.sh: Likewise.
5283 2005-01-27 Akim Demaille <akim@epita.fr>
5285 Have autoheader honor --force.
5287 * doc/make-stds.texi, doc/standards.texi: Update from masters.
5288 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
5289 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
5290 from masters, so that FileUtils.pm's update_file provide --force
5292 * bin/autoheader.in: Pass $force to update_file so that
5293 config.h.in is always recreated when --force.
5295 2005-01-24 Stepan Kasal <kasal@ucw.cz>
5297 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
5299 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
5301 * doc/autoconf.texi (Limitations of Builtins): Clarify that
5302 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
5304 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
5306 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
5307 Warn about newline stripping in `` and $(). Update Solaris
5309 (Limitations of Builtins): Use expr "X...", not expr "x...", as
5310 X insulates us from future changes to Posix.
5311 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
5314 2005-01-19 Stepan Kasal <kasal@ucw.cz>
5316 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
5317 you cannot use AC_DEFINE to define macros containing `[' or `]'.
5319 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
5321 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
5322 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
5323 bug-tar mailing list.
5325 2005-01-05 Stepan Kasal <kasal@ucw.cz>
5327 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
5329 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
5331 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
5332 ulongval to be static, to avoid unwanted GCC warning. Problem
5333 reported by Michael Jennings via Daniel Reed; see
5334 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
5336 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
5338 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
5339 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
5340 datadir, infodir, and mandir. Adjust argument parsing code.
5341 (_AC_INIT_HELP): Update help text.
5342 * doc/autoconf.texi (Installation Directory Variables): Document
5345 2005-01-04 Noah Misch <noah@cs.caltech.edu>
5347 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
5348 not seem to work, assume it does set $(MAKE).
5349 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
5351 2005-01-03 Stepan Kasal <kasal@ucw.cz>
5353 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
5355 2005-01-03 Stepan Kasal <kasal@ucw.cz>
5357 A cleanup of the diversion support in m4sugar.
5359 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
5360 (_m4_divert_n_stack): New macro; the expansion is
5361 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
5363 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
5364 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
5365 stored in _m4_divert_diversion or _m4_divert_dump.
5366 (m4_divert_pop): When the parameter is given, compare the symbolic
5367 name with the last diversion pushed on the stack. Previously, the
5368 current diversion was compared with the numeric value of the
5369 diversion given as the parameter.
5370 (m4_require): If the macro hasn't been expanded yet, call ...
5371 (_m4_require_call): this new macro.
5373 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5375 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
5376 Workarounds for documented `case' limitations.
5378 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
5380 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
5381 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
5383 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
5385 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
5386 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5387 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
5389 Patch from Roger Leigh (with some minor changes) as follows:
5390 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
5391 Resurrect AC_PROG_CC_STDC.
5392 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
5393 AC_PROG_CC_C89, AC_PROG_CC_C99.
5394 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
5395 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
5396 AC_PROG_CC_C99): New macros.
5397 (AC_PROG_CC_STDC): Use them.
5398 (_AC_PROG_CC_STDC): Remove.
5399 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
5400 * THANKS: Add Roger Leigh.
5402 2004-12-30 Noah Misch <noah@cs.caltech.edu>
5404 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
5405 signals that the package uses Automake; a `Makefile.am' is typical but
5406 not essential. Reported by Magnus Therning.
5407 * tests/torture.at (autoreconf.): New banner.
5408 (autoreconf and non-AC configure): Rename to `Non-Autoconf
5410 (autoreconf an empty directory): Rename to `Empty directory'.
5411 (Unusual Automake input files): New test.
5413 2004-12-30 Noah Misch <noah@cs.caltech.edu>
5415 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
5416 (AT_SETUP): Clear AT_capture_files.
5417 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
5418 (AT_KEYWORDS): Fix comment typo.
5419 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
5420 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
5421 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
5423 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
5425 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
5426 If the variable to set is already set, set ac_cv_path_$1
5427 to the preset value so caller can assume ac_cv_path_$1
5428 is available. (trivial change)
5430 2004-12-27 Noah Misch <noah@cs.caltech.edu>
5432 * BUGS (Minor Problems): Warn about makefile limitations.
5433 * Makefile.am: Find and update `INSTALL' in $(srcdir).
5434 * man/Makefile.am: Find and update manual pages in $(srcdir).
5436 2004-12-24 Eric Blake <ebb9@byu.net>
5438 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
5439 shells in subshell, to avoid noise from ash. (trivial change)
5441 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5443 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5444 problems with SunOS ksh and backslash escaping, Bourne shells and
5445 closing brackets (both within character classes). Bug reported
5446 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
5447 <read>: New entry. Mention non-availability of -r.
5449 2004-12-21 Akim Demaille <akim@epita.fr>
5451 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
5452 avoid cluttering displayed messages. Rather, prepend srcdir where
5453 AT_LINE is used for log files.
5455 2004-12-21 Stepan Kasal <kasal@ucw.cz>
5457 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
5458 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
5459 no longer part of the macro, quote the occurrence of ``$tmp''.
5460 * doc/autoconf.texi (Forbidden Patterns): Typo.
5462 2004-12-21 Akim Demaille <akim@epita.fr>
5464 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
5465 separated from the test title by forcing a white space.
5467 2004-12-21 Akim Demaille <akim@epita.fr>
5469 Enable Emacs navigation within testsuite.log files.
5471 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
5472 use the compilation mode.
5473 (AT_LINE): Point to the srcdir.
5475 2004-12-19 Noah Misch <noah@cs.caltech.edu>
5477 * tests/Makefile.am (installcheck-local): Use $(bindir).
5478 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
5479 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
5480 Makefile.am scheme Autoconf now uses.
5482 2004-12-18 Noah Misch <noah@cs.caltech.edu>
5484 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
5485 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
5487 2004-12-18 Noah Misch <noah@cs.caltech.edu>
5489 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
5490 (_AT_CHECK): Use it.
5491 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
5492 (AS_ESCAPE): Fix comment.
5493 * tests/autotest.at: Adjust section banner comments.
5494 (AT_CHECK_AT): Accept STATUS and STDERR.
5495 (AT_CHECK_AT_TEST): Likewise.
5496 (Invalid brace-enclosed parameter expansion)
5497 (Multiline command from M4 expansion)
5498 (Double-M4-quoted command): New tests.
5500 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
5502 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
5504 2004-12-17 Akim Demaille <akim@epita.fr>
5506 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
5508 Suggested by Alexandre Duret-Lutz.
5509 * doc/autoconf.texi (Setting Output Variables): Catch up.
5511 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5513 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
5515 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5517 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
5518 remove the comment which said we cannot.
5520 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5522 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
5523 Reini Urban and Paul Eggert for reporting the dependencies.
5525 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
5526 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
5527 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
5529 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5531 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
5532 so that eg. ``autoscan --help'' doesn't truncate it.
5534 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
5536 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
5537 generated conftest files.
5539 2004-12-13 Noah Misch <noah@cs.caltech.edu>
5541 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
5542 tracing on commands with possibly-escaped newlines.
5543 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
5544 discontinued behavior and its implications.
5545 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
5546 (BSx641-newline in command, BS-BS-newline in command)
5547 (BSx640-newline in command, Newline-CODE-BS-newline in command)
5548 (Single-quote-BS-newline in command)
5549 (Single-quote-newline-BS-newline in command): New tests.
5551 2004-12-13 Stepan Kasal <kasal@ucw.cz>
5553 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
5554 on platforms where it works.
5555 (_AS_TEST_PREPARE): Test for ``test -x''.
5556 (_AS_BROKEN_TEST_PREPARE): Nuke.
5558 2004-12-13 Stepan Kasal <kasal@ucw.cz>
5560 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
5561 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
5562 give only 4-letter prefix to AS_TMPDIR, comment fixed.
5563 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
5564 create the temporary directory.
5565 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
5567 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
5569 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
5572 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
5574 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
5576 2004-12-11 Noah Misch <noah@cs.caltech.edu>
5578 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
5579 to avoid using a negated character class. Reported by Nicolas Joly.
5580 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
5582 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
5584 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
5585 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
5586 Don't depend on .x file explicitly, since "make" does that for us.
5587 Suggested by Stepan Kasal.
5589 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
5591 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
5592 ifnames): Factor common code. And they said it couldn't be done!
5594 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
5596 * bin/.cvsignore: Add autoconf.in.
5597 * tests/.cvsignore: Add wrapper.in.
5598 * lib/autotest/general.m4: Escape '$' in case pattern.
5600 2004-12-09 Noah Misch <noah@cs.caltech.edu>
5602 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
5604 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
5606 * tests/autotest.at: New file.
5607 * tests/suite.at: Include it.
5608 * tests/Makefile.am: Distribute it.
5610 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
5611 shell tracing on a command that could contain multiple lines.
5612 * doc/autoconf.text: Document that fact and its implications.
5613 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
5614 * tests/autotest.at (Multiline backquote command substitution,
5615 Multiline parameter expansion, Literal multiline command,
5616 Multiline parenthetical command substitution): Remove XFAIL.
5618 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
5620 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
5621 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
5623 2004-12-08 Noah Misch <noah@cs.caltech.edu>
5625 * configure.ac (test suite): Cease to generate wrapper scripts.
5626 * configure: Regenerate.
5627 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
5628 (m4f_dependencies): Adjust accordingly.
5629 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
5630 (wrapper.in): Generate it in the build directory.
5631 (MAINTAINERCLEANFILES): Delete wrapper.in.
5632 (CLEANFILES): Add wrapper.in.
5633 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
5634 the output. Replace each $as_me with a @wrap_program@.
5635 * tests/wrapper.in: Delete it; we always build it.
5637 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
5638 (EXTRA_DIST): Remove autoconf.in.
5639 (CLEANFILES): Add autoconf.in.
5640 (autoconf): Find autoconf.in in the build directory.
5641 * bin/autoconf.in: Delete it; we always build it.
5643 2004-12-08 Noah Misch <noah@cs.caltech.edu>
5645 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
5646 PATH members so as to not prepend an empty element. Move a comment.
5647 * Makefile.am (SUBDIRS): Build in `tests' last.
5648 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
5650 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
5652 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
5653 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
5654 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
5655 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
5657 2004-12-07 Stepan Kasal <kasal@ucw.cz>
5659 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
5662 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
5664 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
5665 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
5666 * doc/autoconf.texi (Particular Functions): Mention new behavior.
5668 2004-12-03 Stepan Kasal <kasal@ucw.cz>
5670 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
5671 out the common code to ...
5672 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
5673 value of the #define--default to 1, iff the macro was called
5674 with exactly one parameter.
5676 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
5678 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
5679 "char c = '\200';" rather than "char c = 0x80;" as the
5680 latter doesn't conform to the strict C standard due to
5681 overflow on signed char hosts.
5683 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
5684 to -qlanglvl=ansi. We don't want to disable extensions.
5686 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
5688 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
5689 (Using Autotest, testsuite Scripts, Writing testsuite.at):
5690 Reword slightly to avoid some English-language problems noted
5691 by Ralf Wildenhues in:
5692 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
5694 2004-11-29 Stepan Kasal <kasal@ucw.cz>
5696 * NEWS: Add ^L above each release.
5698 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
5700 Fix documentation problems reported by Russ Boylan in
5701 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
5702 along with some nearby cruft.
5703 * doc/autoconf.texi (Libtool): Libtool can be used without
5704 Automake (not without Autoconf).
5705 (Introduction): Mention lists.gnu.org.
5706 * BUGS: Don't mention bugs.gnu.org.
5707 Remove mention of ancient libtool compatibility problem.
5708 * NEWS: Mention that bugs.gnu.org is kaput.
5709 * README: Likewise. Mention where mailing list archives can be found.
5711 2004-11-28 Stepan Kasal <kasal@ucw.cz>
5713 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
5715 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
5717 * doc/autoconf.texi (Pretty Help Strings): Go back to
5718 single-quoting assignments to cache variables.
5720 2004-11-23 Stepan Kasal <kasal@ucw.cz>
5722 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
5723 with the examples; fix the bug in MY_ARG_WITH example reported
5724 by Alexandre Duret-Lutz.
5725 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
5726 expansion of $1 in the comment emitted to configure.
5728 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
5730 * doc/autoconf.texi (Pretty Help Strings): Fix typo
5731 in my editing of the previous patch. Problem reported
5732 by Alexandre Duret-Lutz.
5734 2004-11-22 Stepan Kasal <kasal@ucw.cz>
5736 * doc/autoconf.texi (Autoconf Language): Explain that
5737 ``descriptions'' may not be double quotes.
5738 (Quotation Rule Of Thumb): Likewise.
5739 (Pretty Help Strings): Likewise; remove the wrong comment;
5740 simplify the examples and improve their quoting.
5742 2004-11-13 Stepan Kasal <kasal@ucw.cz>
5744 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
5745 the $1_found variable, don't test whether the file is executable;
5746 Both things are checked ...
5747 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
5748 the former ``test -f''.
5749 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
5751 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
5753 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
5756 2004-11-10 Derek R. Price <derek@ximbiot.com>
5758 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
5759 limitations. Reorder paragraphs for clarity.
5761 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
5763 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
5764 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
5765 variants", "Unix", and some related minor wording fixups.
5767 (Shellology, Special Shell Variables): Document that the Zsh
5768 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
5769 to Alexandre Duret-Lutz for this info.
5771 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
5773 * doc/autoconf.texi (One-Shot Macros): New node.
5775 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
5777 * doc/autoconf.texi (Function Portability): Fix misdescription
5778 of putenv. Problem reported by Michael Wardle.
5780 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
5782 * doc/autoconf.texi (auindex): New macro.
5783 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
5784 Problem reported by Stepan Kasal.
5786 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
5788 Fix problems reported by Andreas Buening in:
5789 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
5790 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
5792 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
5793 readable; it's not true in OS/2-emx.
5795 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
5797 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
5798 "/usr/include", clear ac_x_includes instead of leaving it as "no"
5799 (trivial change). Problem and patch reported by Andrew Church in:
5800 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
5802 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
5804 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
5805 three args in examples. Problem reported by Frederik Fouvry in:
5806 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
5807 Also, fix some minor spacing and punctuation bugs.
5809 2004-09-02 Akim Demaille <akim@epita.fr>
5811 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
5812 "case" to restore ordering.
5813 Reported by Stepan Kasal.
5815 2004-08-26 Akim Demaille <akim@epita.fr>
5817 * doc/autoconf.texi: Minor typos and stylos.
5819 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
5821 * configure.ac (AC_INIT): Bump to 2.59c.
5823 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
5827 * README: Add advice about m4 1.4.2.
5829 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
5830 texinfo.tex for now (done by hand now).
5831 * Makefile.maint (wget_files, cvs_files):
5832 Remove ansi2knr.c; nobody uses it.
5833 (ansi2knr.c-url_prefix): Remove.
5834 (cvs-update): Fix test for failure. I don't know why it ever
5837 * doc/autoconf.texi: Update URLs, some of which went stale.
5838 Use @uref rather than @href.
5840 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
5841 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
5843 * config/config.guess, config/config.sub, config/elisp-comp,
5844 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
5845 doc/fdl.texi, doc/standards.texi: Sync with master copy.
5847 * NEWS, TODO, configure.ac, bin/autoscan.in,
5848 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
5849 doc/install.texi, lib/Autom4te/Configure_ac.pm,
5850 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
5851 lib/autoconf/programs.m4, lib/autoconf/status.m4,
5852 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
5853 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
5854 tests/tools.at, tests/torture.at:
5855 Use "file name" rather than "filename" or "path",
5856 to be consistent with the terminology of the GNU coding standards.
5858 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
5860 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
5861 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
5862 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
5863 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
5865 More fixes to support spaces in the name of the build directory.
5866 This isn't a complete fix but it's an improvement.
5868 * bin/autoconf.as (autom4te_options): New var.
5869 Use it instead of appending to AUTOM4TE, so that we can allow
5870 spaces in the build directory's absolute name.
5871 * bin/autoheader.in ($autoconf): Allow spaces in file names.
5872 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
5873 AT_CHECK_NOESCAPE): Likewise.
5874 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
5875 main program): Likewise.
5877 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
5879 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
5880 From Ralf Corsepius in:
5881 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
5883 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
5885 * doc/autoconf.texi (Function Portability): Document isinf and
5886 and isnan. From a suggestion by Kevin Ryde.
5888 * lib/Autom4te/General.pm (END): Return correct exit status even
5889 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
5891 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
5893 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
5894 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
5895 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
5897 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
5899 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
5900 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
5901 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
5902 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
5903 * lib/autom4te.in (Automake-preselections): Preselect
5904 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
5906 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
5908 * lib/autom4te.in (Automake-preselections): Preselect
5909 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
5912 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
5914 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
5916 * doc/autoconf.texi (Shellology): Mention BIN_SH.
5917 Document problem with "`""`" in pdksh POSIX mode.
5919 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
5921 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
5922 with pdksh, too. Problem reported by Patrick Welche via
5924 * doc/autoconf.texi (Shellology): Note that set -o posix is
5925 useful for pkdsh, too.
5927 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
5929 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
5930 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
5931 Don't fail if ENV or BASH_ENV is readonly.
5932 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
5933 etc. are read only. Problem reported by Ludovic Courtes.
5935 2004-06-23 Noah Misch <noah@cs.caltech.edu>
5937 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
5938 zsh, disable GLOB_SUBST to avoid backslash handling problems.
5941 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
5943 * doc/autoconf.texi (File System Conventions): Warn about
5944 names like "aux". Problem reported by Eric Blake.
5946 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
5947 by zero instead of array size, so that we can use any arithmetic
5948 constant expression (instead of requiring an integer constant
5949 expression). This allows us to test expressions like DBL_MAX <
5950 LDBL_MAX, which didn't conform to the C standard using the old
5952 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
5953 now that we can do floating-point tests at compile time.
5955 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
5957 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
5958 and LDBL_EPSILON, as the resulting expression isn't an
5959 integer constant expression and violates the C standard.
5960 Problem reported by Nelson H. F. Beebe. Also, check
5961 for "L" suffix, and check that long double doesn't have
5962 worse range or precision than double, that mixed-mode
5963 arithmetic doesn't generate a diagnostic, that double
5964 constants fit in long double.
5966 2004-06-03 Kevin Ryde <user42@zip.com.au>
5968 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
5969 malloc(0) and realloc(NULL,size).
5971 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
5974 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
5976 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
5977 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
5980 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
5982 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
5983 can be rewritten using if-then-else. Suggested by Bruno Haible.
5985 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
5987 * doc/autoconf.texi (testsuite Scripts): Fix typo.
5988 Problem reported by Stepan Kasal.
5990 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
5992 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
5993 change). Patch reported by Ralf Wildenhues in
5994 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
5996 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
5997 function F exists if the compiler and linker let you compile an
5998 expression like (F != 0). Recent versions of GCC optimize away
5999 the reference to F in that case, since every function address must
6000 be nonzero, so the link succeeds even if F does not exist.
6001 Problem reported by Manu in
6002 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
6004 * doc/autoconf.texi (Systemology): Standardize on the spelling of
6005 "Unix". Many uses changed.
6006 (Limitations of Builtins): Explain better why the ! command isn't
6009 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
6011 * lib/autom4te.in (Automake-preselections): Preselect
6012 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
6014 2004-05-19 Kevin Ryde <user42@zip.com.au>
6016 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
6017 referencing AC_FUNC_STRERROR_R.
6019 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
6020 note pessimistic assumption when cross compiling.
6022 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
6024 * doc/autoconf.texi (Limitations of Make): Note that BSD make
6025 (until 2004) invoked subcommands with sh -e, contra POSIX.
6026 Reported by Kevin Ryde.
6028 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
6030 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
6031 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
6032 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
6033 `test -f " /usr/bin/grep"', which _always_ failed.
6034 (AC_PROG_SED): Ditto bogus PATH fix.
6035 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
6036 requires that grep correctly supports _multiple_ `-e' options, rather
6037 than stating only that grep should accept `-e'.
6039 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
6041 Port to C99, which requires that 'exit' be declared.
6043 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
6044 to ensure that stdlib.h is included.
6045 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
6046 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
6047 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
6048 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6049 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
6050 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
6051 when using 'exit' in a test; C99 requires that 'exit' be declared.
6053 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
6055 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
6056 now prefers 'grep' implementations that accept -e.
6057 (Limitations of Usual Tools): Describe problems of traditional
6058 egrep and fgrep with long input lines, and of traditional grep
6060 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
6061 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
6062 All callers changed. Append /usr/xpg4/bin to the PATH, for
6064 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
6065 the user with complaints about multiple -e options.
6066 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
6067 Define it with AC_PROG_GREP.
6068 * configure.ac (AC_PROG_GREP): Add.
6069 * lib/freeze.mk (GREP): New macro.
6071 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
6073 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
6074 a possible candidate only after all others fail, rather than
6075 consulting it first. This improves backward compatibility by
6076 better reflecting the way shell selection occurred in previous
6077 versions of Autoconf, and should help to avoid triggering latent
6078 problems in other packages, such as the one in Automake where zsh
6079 is not handled robustly:
6080 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
6081 Although it is not Autoconf's responsibility to work around
6082 problems in Automake, it nevertheless makes sense to avoid
6083 introducing unnecessary incompatibilites.
6085 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
6086 Gary V. Vaughan <gary@gnu.org>
6088 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
6089 how deeply nested we are when a suitable tool is found, set the
6090 ac_path_TOOL_found flag.
6091 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
6092 nested we are in this macro. Break out of all 3 nested loops if
6093 ac_path_TOOL_found is set.
6095 2004-04-21 Gary V. Vaughan <gary@gnu.org>
6097 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
6098 of the _AS_PATH_WALK loop too if GNU flavor is found.
6100 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
6102 * doc/autoconf.texi (Limitations of Make): Update documentation
6103 for `$<'. New entry `Long lines', based on a report from Simon
6104 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
6105 paragraph about DJGPP, based on a mail from Richard Dawe.
6107 2004-04-20 Paul Eggert <eggert@twinsun.com>
6109 * tests/c.at (C keywords): Don't assume that GCC supports
6110 "restrict" and "inline", as sufficiently-old GCC versions do not
6111 (also, GCC configured to be in pedantic C89 mode does not).
6112 Problem reported by Sumit Pandya in:
6113 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
6115 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
6116 consider -g to work if it generates warnings when plain compiles
6117 don't. Problem reported by Braden McDaniel in:
6118 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
6120 * doc/autoconf.texi (Slashes): New section, to document a problem
6121 reported by Jim Meyering in:
6122 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
6124 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
6125 linker output files before linking, to work around IRIX 6 linker bug.
6126 Problem reported by Rainer Orth in:
6127 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
6129 2004-04-20 Gary V. Vaughan <gary@gnu.org>
6131 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
6132 best tool so far counter rely on the tool path variable name to
6133 avoid checks for one tool being affected by the results of running
6134 the length check on a previous tool.
6136 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
6137 match expression argument, as different greps have different
6138 regular expression flavours.
6139 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
6141 (AC_PROG_EGREP): Pass 'EGREP$'.
6142 (AC_PROG_GREP): Pass 'GREP$'.
6144 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
6146 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
6147 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
6149 2004-03-29 Paul Eggert <eggert@twinsun.com>
6151 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
6152 Types, Specific Compiler Characteristics, System Services,
6153 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
6154 etc. consistently instead of 'long', 'short', 'unsigned' etc.
6155 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
6156 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
6158 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
6159 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
6160 AC_TYPE_OFF_T): Likewise.
6161 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
6164 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
6165 pacify libtool 1.5.2. Fix quoting problems in sed command.
6167 2004-03-28 Paul Eggert <eggert@twinsun.com>
6169 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
6170 now defines HAVE_DECL_TZNAME if it is declared, when
6171 HAVE_STRUCT_TM_TM_ZONE is not defined.
6172 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
6173 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
6176 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
6178 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
6179 superfluous backslashing of quotes (") in sed expressions;
6180 thanks to Paul Eggert.
6182 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
6184 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
6185 Fortran compiler is ifort, also added pghpf; thanks to Nelson
6186 H. F. Beebe for the bug report.
6188 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
6190 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
6191 quoted -cmdline argument in Portland Group compiler (bug
6192 reported by Jeffrey J. Barteet).
6194 2004-03-25 Kevin Ryde <user42@zip.com.au>
6196 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
6197 (Run Time): ... here, where it's now mentioned.
6199 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
6201 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
6202 inherits from language Autoconf-without-aclocal-m4.
6203 (Customizing autom4te): Adjust example; the cache must now be
6204 disabled for language Autoconf-without-aclocal-m4.
6206 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
6207 Nathanael Nerode <neroden@twcny.rr.com>
6209 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
6210 AC_CHECK_TOOLS): Warn if a cross-tool is found without
6212 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
6213 AC_CHECK_TARGET_TOOLS): New macros.
6214 * doc/autoconf.texi (Generic Programs): Document
6215 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
6216 AC_CHECK_TARGET_TOOLS, and warn for future changes
6217 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
6219 (Specifying Names): Document the reason for these future
6221 * tests/mktests.sh: Do not generate tests for the
6223 * NEWS: Document these changes.
6225 * doc/autoconf.texi: Avoid macros with unbraced arguments,
6226 they make TeX hang up.
6228 2004-03-15 Paul Eggert <eggert@bogus.example.com>
6230 * NEWS: New macro AC_CHECK_ALIGNOF.
6231 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
6232 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
6233 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
6235 (AC_CHECK_ALIGNOF): New macro.
6236 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
6237 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
6240 2004-03-03 Paul Eggert <eggert@twinsun.com>
6242 * bin/Makefile.am (edit): Don't use $< in a context where
6243 POSIX doesn't require support for it. Use $@.in instead.
6244 Problem reported by Anthony N. Frasso in
6245 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
6246 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
6248 2004-02-23 Gary V. Vaughan <gary@gnu.org>
6250 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
6251 from the next generation of Libtool.
6252 * lib/autom4te.in (Autoreconf-preselections): Ditto.
6254 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
6256 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
6257 is not always thread-safe. Report from Nathanael Nerode.
6259 2004-02-18 Paul Eggert <eggert@twinsun.com>
6261 Fix a dependencies problem, stemming from a Autoconf 2.59 build
6262 problem on QNX reported by Stephen Rasku in
6263 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
6265 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
6266 $(m4sh_m4f_dependencies); this removes a FIXME.
6267 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
6268 (MAINTAINERCLEANFILES): Split into pieces,
6269 one per related section. Add $(srcdir)/wrapper.in.
6271 2004-02-09 Paul Eggert <eggert@twinsun.com>
6273 * doc/autoconf.texi (Setting Output Variables): Emphasize that
6274 AC_SUBST provides no portable way to escape literal newlines.
6276 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
6277 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
6278 Darwin uses -lcrt2.o and there's little point to cataloging all
6279 the system variants. Partial fix reported by Andreas Waechter in:
6280 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
6281 for bug reported by Nelson H. F. Beebe in:
6282 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
6284 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
6286 * doc/autoconf.texi (AU_DEFUN): Fix English,
6287 suggested by Paul Eggert.
6288 * lib/autoconf/autoupdate.m4: Correct reference to
6289 acobsolete.m4, suggested by Alexandre Duret-Lutz.
6291 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
6293 * bin/autoupdate.in: Define __file__ so that warnings
6294 refer to the correct file.
6295 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
6296 the behavior of the third argument.
6297 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
6298 correctly the behavior of the third argument. Document
6299 what the three macros that AU_DEFUN defines do. Fix
6300 warning message when the third argument includes $0
6301 (reported by Alexandre Duret-Lutz).
6303 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
6304 Eric Sunshine <sunshine@sunshineco.com>
6305 Paul Eggert <eggert@twinsun.com>
6307 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
6308 (AS_INIT): Output shell initialization there. Removed optional
6309 parameter. Expand _AS_SHELL_FN_SPY.
6310 (AS_INIT_WITH_SHELL_FN): Removed.
6311 (_AS_SHELL_FN_SPY): New macro.
6312 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
6314 (AS_SHELL_SANITIZE): Remove loop to find better shell
6315 and documentation for the parameter.
6316 (_AS_DETECT_BETTER_SHELL): Move it here.
6317 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
6318 (_AS_RUN): Move it here, support testing with eval.
6319 (AS_REQUIRE_SHELL_FN): Require shell functions when
6321 (_AS_LINENO_WORKS): Put around braces, we do not
6322 trigger the bash bug anymore.
6323 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
6324 use AS_INIT_WITH_SHELL_FN.
6325 * bin/autoconf.in, tests/wrapper.in: Regenerated.
6327 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
6329 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
6330 * doc/autoconf.texi: Don't say that the third parameter
6332 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
6333 (AU_DEFUN): Honor the third parameter, create autoupdate
6334 macros with AU_DEFINE.
6335 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
6336 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
6337 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
6338 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
6339 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
6340 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
6341 AC_XENIX_DIR): Likewise.
6342 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
6343 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
6344 * lib/autoconf/status.m4: Remove FIXME.
6345 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
6346 that the macro is not present anymore in the updated
6348 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
6351 2004-01-28 Paul Eggert <eggert@twinsun.com>
6353 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
6355 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
6356 2003 (except 1997) to the list of copyright years. This undoes
6357 the 2003-05-22 change, which removed the older years from the list.
6358 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
6360 2004-01-27 Gary V. Vaughan <gary@gnu.org>
6361 Albert Chin-A-Young <china@thewrittenword.com>
6363 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
6364 grep or ggrep program in PATH that accepts as long lines as
6366 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
6368 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
6369 egrep and fgrep respectively if $GREP -E/-F don't work.
6370 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
6371 _AC_PROG_GREP, and AC_PROG_SED.
6372 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
6373 longest input length accepted by a command.
6374 (AC_PROG_SED): Use it.
6375 * doc/autoconf.texi (Particular Programs): Document the changes.
6378 2004-01-27 Paul Eggert <eggert@twinsun.com>
6380 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
6381 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6382 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
6383 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
6385 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
6386 bin/autoconf.in, config/Makefile.in, config/config.guess,
6387 config/config.sub, config/install-sh, config/mdate-sh,
6388 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
6389 lib/Makefile.in, lib/Autom4te/Makefile.in,
6390 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
6391 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
6392 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
6393 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
6394 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
6395 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
6396 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
6397 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
6398 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
6399 tests/actypes.at: Regenerate and/or sync with original
6402 2004-01-26 Paul Eggert <eggert@twinsun.com>
6404 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
6405 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
6406 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
6407 not <inttypes.h>. Problem reported by Tim Mooney in
6408 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
6409 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
6412 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
6413 otherwise "make check" fails because it forbids cmp (I guess
6414 because cmp treats files as binary on DOS-like systems).
6416 * tests/mktests.sh: Update copyright date to 2004, since some tests
6417 have changed in 2004.
6419 2004-01-23 Gary V. Vaughan <gary@gnu.org>
6421 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
6422 non-truncating sed or gsed program in PATH.
6423 * tests/acprograms.at: Add it.
6424 * doc/autoconf.texi (Particular Programs): Document it.
6427 2004-01-15 Paul Eggert <eggert@twinsun.com>
6429 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
6430 -std1 disables some useful extensions on Tru64. Problem reported
6432 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
6434 2004-01-14 Paul Eggert <eggert@twinsun.com>
6436 * doc/autoconf.texi (Programming in M4sh): Document that
6437 AS_MKDIR_P succeeds if the destination is a symbolic link
6438 to an existing directory.
6439 (Limitations of Usual Tools): Note that mkdir -p might not
6440 succeed on symlinks to directories.
6442 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
6444 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
6445 * bin/autoheader.in: Grammar fix in message.
6446 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
6447 Test for dir before calling mkdir -p. (trivial changes)
6449 2004-01-13 Eric Blake <ebb9@byu.net>
6451 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
6452 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
6454 2004-01-10 Jim Meyering <jim@meyering.net>
6456 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
6458 2004-01-09 Paul Eggert <eggert@twinsun.com>
6460 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
6461 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
6462 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
6463 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
6464 AC_COMPILE_IFELSE, since we now assume our caller invokes
6465 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
6466 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
6467 of AC_RUN_IFELSE; this avoids the warning mentioned above.
6468 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
6470 2004-01-07 Paul Eggert <eggert@twinsun.com>
6472 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
6473 `"'...'"`, as it's confusing (and I suspect it may not work on
6474 some platforms). The code was incorrect anyway, as it assumed
6475 that \$ evaluated to itself in that context. Reported by
6476 Alexandre Duret-Lutz.
6478 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
6480 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
6481 and _LT_AC_TAGCONFIG.
6483 2004-01-06 Paul Eggert <eggert@twinsun.com>
6485 * doc/autoconf.texi (One Macro Call): Fix an incorrect
6486 example, and add more examples. Reported by Eric Sunshine.
6488 2004-01-05 Paul Eggert <eggert@twinsun.com>
6490 * doc/autoconf.texi (Limitations of Usual Tools):
6491 Remove warning against "rm -fr" introduced yesterday; it
6494 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
6495 autoscan, autoupdate, ifnames): Don't use chmod -w.
6496 * lib/Makefile.am (autom4te.cfg): Likewise.
6497 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
6500 2004-01-04 Paul Eggert <eggert@twinsun.com>
6501 Paolo Bonzini <bonzini@gnu.org>
6503 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
6504 by doing lineno substitution only on lines containing "$LINENO".
6506 2004-01-04 Paul Eggert <eggert@twinsun.com>
6508 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
6509 Use "rm -f" to remove conftest.sed, not plain "rm".
6510 Bug reported by David Relson in
6511 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
6513 * Makefile.am (autom4te-update):
6514 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
6515 * Makefile.maint (my-distcheck, do-po-update): Likewise.
6516 * doc/autoconf.texi (Guidelines): Likewise.
6517 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
6518 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
6519 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6520 * lib/autotest/general.m4 (AT_INIT): Likewise.
6521 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
6522 * tests/Makefile.am (clean-local): Likewise.
6523 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
6525 * doc/autoconf.texi (Limitations of Usual Tools):
6526 Warn against "rm -fr".
6528 2004-01-03 Paul Eggert <eggert@twinsun.com>
6530 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
6531 -c -o might not work. From a suggestion by Kevin Ryde.
6532 (C Compiler, Generating Sources, Limitations
6533 of Usual Tools, Limitations of Make, Making testsuite Scripts):
6534 Don't put '-o' after non-options, as POSIX doesn't allow this.
6535 Mention that cc's name might be gcc or c89 or whatever.
6537 2004-01-04 Kevin Ryde <user42@zip.com.au>
6539 * doc/autoconf.texi: Add various further index entries.
6541 2003-12-29 Paul Eggert <eggert@twinsun.com>
6543 * bin/autoreconf.in (autoreconf_current_directory):
6544 Fix typo: mkdir without umask arg.
6546 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
6548 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
6549 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
6550 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
6551 explanation clearer.
6553 2003-12-24 Andreas Schwab <schwab@suse.de>
6555 * doc/autoconf.texi (Default Includes): Fix misspelling of
6556 AC_INCLUDES_DEFAULT.
6558 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
6560 * configure.ac: Test if sh -n works.
6561 * configure: Regenerate.
6562 * tests/atlocal.in: Store the result here.
6563 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
6564 tools.at, looking in atlocal's ac_cv_sh_n_works instead
6565 of explicitly testing.
6566 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
6567 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
6568 * tests/tools.at (Syntax of the shell scripts): Simplify
6569 using AT_CHECK_SHELL_SYNTAX.
6570 (Syntax of the Perl scripts): Remove definition of
6571 AT_CHECK_PERL_SYNTAX.
6573 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
6575 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
6576 stderr to /dev/null.
6577 * bin/autoconf.in: Regenerate.
6578 * bin/wrapper.in: Regenerate.
6580 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
6582 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
6583 Extracted from AS_SHELL_SANITIZE.
6584 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
6586 (AS_SHELL_SANITIZE): Move reinvocation code from
6587 _AS_LINENO_WORKS, use it to find out if shell
6589 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
6591 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
6592 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
6594 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
6595 * bin/autoconf.in: Regenerate.
6596 * tests/wrapper.in: Regenerate.
6597 * tests/tools.at: Test the syntax of tests/autoconf
6598 and tests/testsuite.
6600 2003-11-24 Akim Demaille <akim@epita.fr>
6602 * config/announce-gen (&print_locations, &print_signatures)
6605 No longer rely on Gnus to inline the list of signatures: compute
6608 2003-11-24 Akim Demaille <akim@epita.fr>
6610 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
6611 override some files.
6612 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
6613 From Debian Autoconf 2.58.
6615 2003-11-24 Akim Demaille <akim@epita.fr>
6617 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
6619 From Debian Autoconf 2.58.
6621 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6623 * TODO: Remove already done things. Update the part about finding
6624 tools for the target.
6626 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6628 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
6629 Make wording more consistent.
6630 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6631 Explain the transition better.
6632 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
6633 the transition better.
6635 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6637 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
6638 parameter of AU_DEFUN.
6639 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
6640 (AU_DEFUN): Remove the third parameter, it was not used.
6641 Use AC_DEFUN directly, not AU_DEFINE.
6642 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
6643 the expanded body, consistently with other macros such as AC_USG.
6645 2003-11-17 Paul Eggert <eggert@twinsun.com>
6647 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
6648 into the initial confdefs.h, to work around a bug in NextStep 3.3
6649 patch 3 reported by Eric Sunshine.
6651 2003-11-15 Kevin Ryde <user42@zip.com.au>
6653 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
6654 than $target since the latter is not usual, add guidelines on when to
6655 use or not use the system type.
6657 2003-11-12 Derek Price <derek@ximbiot.com>
6659 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
6660 typo misrepaired by an auto-spellcheck.
6662 2003-11-12 Akim Demaille <akim@epita.fr>
6664 * bin/autoreconf.in (&parse_args): Don't call automake with
6665 --force-missing unless it actually supports it.
6666 From Debian #219336.
6668 2003-11-12 Akim Demaille <akim@epita.fr>
6670 * configure.ac: Bump to 2.59a.
6673 2003-11-06 Akim Demaille <akim@epita.fr>
6677 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
6679 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
6680 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
6681 and ac_abs_top_srcdir are absolute paths.
6682 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
6684 2003-11-05 Akim Demaille <akim@epita.fr>
6686 * configure.ac: Bump to 2.58a.
6688 2003-11-05 Kevin Ryde <user42@zip.com.au>
6690 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
6691 it provokes a warning from makeinfo about looking like a cross
6692 reference in info output.
6694 * doc/autoconf.texi (Function Portability): Add notes on signal
6695 handler return type, as per AC_TYPE_SIGNAL.
6697 2003-11-04 Akim Demaille <akim@epita.fr>
6700 * doc/standards.texi: Update from master.
6702 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
6704 2003-11-04 Akim Demaille <akim@epita.fr>
6706 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
6707 computing the absolute path to d1 in the source hierarchy: it may
6708 not exist at all. So don't cd into it.
6709 From Alexandre Duret-Lutz.
6710 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
6712 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
6713 From Paul Eggert, but named after Perl's IO::Spec->catfile.
6714 * doc/autoconf.texi (Programming in M4sh): Document.
6715 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
6717 2003-11-03 Pavel Roskin <proski@gnu.org>
6719 * doc/autoconf.texi (Generic Structure Checks): Describe
6720 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
6722 2003-10-31 Akim Demaille <akim@epita.fr>
6724 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
6726 * doc/autoconf.texi (Language Choice): Document.
6727 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
6728 the current language is Fortran.
6730 2003-10-31 Akim Demaille <akim@epita.fr>
6732 * bin/autom4te.in (&freeze): Use a less likely warning separator
6733 than `\n\n', so that `\n\n\n' is valid in warnings.
6734 Reported by Steve Huston.
6736 2003-10-28 Akim Demaille <akim@epita.fr>
6738 * Makefile.cfg (local_updates, executable-update): Tweak to be
6739 robust to parallel makes.
6740 Suggested by Alexandre Duret-Lutz.
6742 2003-10-27 Akim Demaille <akim@epita.fr>
6744 * Makefile.cfg (executable-update): New.
6745 (local_updates): Call it.
6747 2003-10-27 Akim Demaille <akim@epita.fr>
6749 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
6750 Don't remove core.* as it may remove valid user files.
6751 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
6752 (AC_FUNC_UTIME_NULL): Likewise.
6754 2003-10-23 Akim Demaille <akim@epita.fr>
6757 * config/config.guess, config/config.sub: Upgrade from masters.
6759 2003-10-23 Akim Demaille <akim@epita.fr>
6761 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
6762 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
6765 2003-10-23 Akim Demaille <akim@epita.fr>
6767 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
6768 Don't forget to remove conftest.err.
6770 2003-10-23 Akim Demaille <akim@epita.fr>
6772 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
6773 same object file in $LIBOBJS.
6774 Reported by Alexandre Duret-Lutz & Derek Robert Price.
6775 * doc/autoconf.texi (Generic Functions): Adjust.
6777 2003-10-20 Paul Eggert <eggert@twinsun.com>
6779 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
6780 Use 'eval', so that the resulting configure scripts work even if
6781 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
6783 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
6785 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
6786 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
6787 (_AC_LINK_IFELSE): Check the werror flag.
6788 * doc/autoconf.texi (Generic Compiler Characteristics): Document
6792 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
6794 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
6795 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
6796 override AC_LINK_IFELSE.
6798 2003-10-15 Paul Eggert <eggert@twinsun.com>
6800 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
6801 pdksh 5.2.14. Bug reported by Ralf Corsepius.
6802 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
6803 Mention /usr/dt/bin/dtksh on Solaris.
6804 (Shell Substitutions): Warn about $((...)).
6805 (Parentheses): New section.
6807 2003-10-15 Kevin Ryde <user42@zip.com.au>
6809 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
6810 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
6812 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
6814 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
6817 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
6819 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
6820 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
6822 2003-10-10 Andreas Schwab <schwab@suse.de>
6824 * bin/autoheader.in: Avoid empty first line in --version and
6826 * bin/ifnames.in: Likewise.
6828 2003-10-09 Paul Eggert <eggert@twinsun.com>
6830 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
6831 Issue a more-informative diagnostic.
6832 Problems reported by Eric Sunshine.
6834 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
6836 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
6837 -mGLOB_options_string stuff for Intel ifc, which can cause
6838 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
6839 pattern-matching instead of grep.
6841 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
6843 * doc/autoconf.texi: Document new FC Fortran macros.
6845 2003-10-08 Gary V. Vaughan <gary@gnu.org>
6847 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
6848 that future autopoint/aclocal/automake/autoreconf will be able
6849 to trace to find where to install local m4 macros.
6850 * doc/autoconf.texi (Input): Document it.
6853 2003-10-06 Gary V. Vaughan <gary@gnu.org>
6855 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
6856 -lcrtbegin.o to list of ignored flags and fix underquoting of
6859 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
6861 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
6862 cache variable instead of $G77 to decide whether to include -O2,
6863 since $G77 is specific to Fortran 77.
6865 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
6867 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
6868 free" flag. Re-order flags tested into rough order of popularity.
6870 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
6872 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
6873 arguments so that it can be used with syntax identical to
6874 AC_PROG_F77, and so that we can more easily decide to
6875 remove/deprecate the DIALECT optional argument in the future if it
6877 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
6878 non-freeform-supporting compilers. Document freeform flags.
6880 2003-10-03 Akim Demaille <akim@epita.fr>
6882 * configure.ac: Look for emacs, not macs.
6883 Reported by Eric Sunshine.
6885 2003-10-03 Akim Demaille <akim@epita.fr>
6887 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
6888 * bin/autoreconf.in (autoreconf_current_directory): Create the
6889 AUX_DIR if needed, for sake of automake --add-missing etc.
6890 Suggested by Alexandre Duret-Lutz.
6892 2003-10-03 Akim Demaille <akim@epita.fr>
6894 * configure.ac: Quotation and formatting changes.
6895 (EMACS): Don't set it if it is not recent enough to support
6899 2003-10-02 Akim Demaille <akim@epita.fr>
6901 * bin/ifnames.in (&scan_file): Skip C++ comments.
6904 2003-10-01 Pavel Roskin <proski@gnu.org>
6906 * doc/autoconf.texi (Particular Structure Checks):
6907 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
6909 2003-10-01 Akim Demaille <akim@epita.fr>
6913 2003-09-30 Paul Eggert <eggert@twinsun.com>
6915 * lib/Autom4te/XFile.pm: Use Errno.
6916 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
6917 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
6919 2003-09-30 Akim Demaille <akim@epita.fr>
6921 * config/announce-gen (&print_news_deltas): Extracted from...
6922 (&print_changelog_deltas): here.
6923 (&news_file): Rename as...
6926 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
6928 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
6929 have been created when invoking the compiler.
6930 * tests/fortran.at (GNU Fortran 77): Quote $G77.
6932 2003-09-29 Akim Demaille <akim@epita.fr>
6936 * config/mkinstalldirs: Upgrade.
6938 2003-09-28 Paul Eggert <eggert@twinsun.com>
6940 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
6941 Problem reported by Lars J. Aas in
6942 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
6943 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
6944 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
6945 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
6947 2003-09-26 Akim Demaille <akim@epita.fr>
6949 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
6950 directory for AC_CONFIG_COMMANDS' first argument exists.
6951 This makes valid the invocation of _AC_SRCPATH that follows.
6952 Reported by Eric Sunshine.
6953 * doc/autoconf.texi (Configuration Commands): Adjust.
6955 2003-09-26 Akim Demaille <akim@epita.fr>
6957 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
6958 Reported by Ralf Corsepius.
6960 2003-09-26 Akim Demaille <akim@epita.fr>
6962 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
6964 Actually, use AU_ALIAS.
6967 2003-09-26 Paul Eggert <eggert@twinsun.com>
6969 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
6970 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
6971 Problem reported by Eric Sunshine in:
6972 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
6974 2003-09-26 Akim Demaille <akim@epita.fr>
6976 The test suite are sometimes assigning timings incorrectly.
6977 Reported by Henk Krus.
6978 Diagnosed by Nicolas Joly.
6980 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
6982 Instead of making AT_help a sequence of assignments to grow
6983 $at_help_all, just make AT_help_all be the growing contents of
6984 $at_help_all, and make a single assignment in...
6986 (at_times_skip): Flip the meaning and rename as...
6988 (AT_INIT): When summarizing the test that ran, remove
6989 $at_times_file after use, and check it is present before trying to
6992 2003-09-25 Akim Demaille <akim@epita.fr>
6996 * bin/Makefile.am (edit): Handle '@configure_input@'.
6997 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
6998 (ifnames): chmod -w.
6999 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
7000 executables, not bin/ executables! Otherwise all the magic needed
7001 to find non installed files is turned off. This caused a failure
7002 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
7003 as found in its environment (sent by tests/autoreconf): pointing
7004 to bin/autom4te that could not find its files.
7005 * tests/mktests.sh: Force the replacement of generated files, for
7006 the sake of "mv" program that are interactive when overwriting a
7008 * config/install-sh: Upgrade from CVS Automake.
7010 2003-09-23 Paul Eggert <eggert@twinsun.com>
7012 * doc/autoconf.texi (Limitations of Builtins): Document test -h
7013 versus test -L issues.
7015 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
7016 Paul Eggert <eggert@twinsun.com>
7018 Trivial change to support GCC's configuration procedure.
7019 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
7020 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
7021 about inconsistency if the preprocessor is set to give errors for
7023 * doc/autoconf.texi (C Compiler Characteristics): Document this.
7025 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
7027 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
7028 and XFile.pm from Automake.
7029 * lib/Autom4te/XFile.pm: Update from Automake.
7031 2003-09-12 Akim Demaille <akim@epita.fr>
7035 2003-09-12 Akim Demaille <akim@epita.fr>
7037 * config/config.guess, config/config.sub, config/missing,
7038 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
7041 2003-09-12 Akim Demaille <akim@epita.fr>
7043 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
7046 2003-09-11 Akim Demaille <akim@epita.fr>
7048 * doc/autoconf.texi (Header Portability): linux/random.h.
7049 From Peter Hendrickson.
7051 2003-09-10 Akim Demaille <akim@epita.fr>
7053 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
7054 willing to edit the output files.
7056 2003-09-10 Akim Demaille <akim@epita.fr>
7058 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
7060 * tests/mktests.sh: Skip AC_FC_SRCEXT.
7061 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
7063 2003-09-09 Akim Demaille <akim@epita.fr>
7065 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
7066 Reported by Gary Vaughan.
7067 * bin/autom4te.in (handle_m4): Likewise.
7069 2003-09-09 Akim Demaille <akim@epita.fr>
7071 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
7074 2003-09-07 Paul Eggert <eggert@twinsun.com>
7076 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
7077 Improve the accuracy of the wording about obsolescence.
7078 From a suggestion by Ian Lance Taylor in
7079 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
7081 2003-09-05 Paul Eggert <eggert@twinsun.com>
7083 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
7084 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
7086 2003-09-04 Akim Demaille <akim@epita.fr>
7088 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
7091 2003-09-04 Akim Demaille <akim@epita.fr>
7093 * bin/autom4te.in: Use &fatal where more appropriate than &error.
7094 (freeze): When exiting, use $exit_code.
7095 * lib/autoconf/fortran.m4: Comment changes.
7097 2003-09-04 Akim Demaille <akim@epita.fr>
7099 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
7101 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
7103 Add support for newer Fortran dialects. The F77 interface is
7104 unchanged, and continues to support Fortran 77. New FC macros
7105 correspond to all the old F77 macros, with output variables FC,
7106 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
7107 available dialect, but older dialects can be specified. There are
7108 new macros AC_FC_SRCEXT to set the source extension, and
7109 AC_FC_FREEFORM to accept free-form source files.
7111 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
7113 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
7114 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
7115 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
7116 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
7117 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
7118 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
7119 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
7120 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
7121 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
7122 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
7123 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
7124 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
7125 AC_FC_SRCEXT, AC_FC_FREEFORM):
7127 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
7128 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
7129 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
7130 Rewrite in terms of the above.
7131 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
7132 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
7133 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
7134 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
7136 2003-09-02 Paul Eggert <eggert@twinsun.com>
7138 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
7139 Document problems with timestamp resolution that 'make', 'cp -p', and
7142 2003-08-27 Akim Demaille <akim@epita.fr>
7144 * tests/m4sugar.at (cross_warning): Make sure to enable the
7145 output, so that we can track spurious m4sugar output.
7146 * tests/local.at: Require 2.57.
7147 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
7148 are defaulted by AT_CHECK anyway.
7149 Use AT_CHECK_AUTOM4TE.
7150 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
7153 2003-08-27 Akim Demaille <akim@epita.fr>
7155 * bin/autoheader.in: Issue the "Using auxiliary..." message only
7156 when -Wobsolete is set.
7157 Set it on by default.
7158 Suggested by Klee Dienes.
7160 2003-08-27 Akim Demaille <akim@epita.fr>
7162 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
7166 2003-08-26 Akim Demaille <akim@epita.fr>
7168 * doc/autoconf.texi (Output): Make clear that one can run code
7171 2003-08-25 Akim Demaille <akim@epita.fr>
7173 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
7176 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
7178 * bin/autoreconf.in (parse_args): Do not pass --no-force to
7179 Automake versions prior to 1.8.
7181 2003-08-25 Akim Demaille <akim@epita.fr>
7183 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
7186 2003-08-24 Akim Demaille <akim@epita.fr>
7188 * configure.ac: Bump to 2.57c.
7190 2003-08-22 Akim Demaille <akim@epita.fr>
7194 * Makefile.cfg (local-checks-to-skip): New.
7195 * Makefile.maint (local-check): Rename as...
7196 (local-checks-available): this.
7199 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
7200 * configure.ac: Require Automake 1.7.6.
7202 2003-08-22 Akim Demaille <akim@epita.fr>
7204 Output stack traces in warnings.
7206 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
7207 Replace the former...
7208 (m4_warn): Pass the call stack to _m4_warn.
7209 * bin/autom4te.in: Adjust to output the call stack.
7210 * tests/m4sugar.at (m4@&t@_warn): Adjust.
7212 2003-08-22 Akim Demaille <akim@epita.fr>
7214 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
7215 * bin/autom4te.in: Adjust.
7217 2003-08-21 Akim Demaille <akim@epita.fr>
7219 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
7221 (&getopt): Adjust the note and verb channels, depending upon
7223 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
7224 * bin/autoupdate.in: Adjust.
7225 Use &verb, not &verbose.
7227 2003-08-21 Akim Demaille <akim@epita.fr>
7229 * bin/autoheader.in (&parse_args): Use &parse_warnings and
7231 ($help): Use Autom4te::ChannelDefs::usage.
7232 * bin/autoscan.in: Use Autom4te::ChannelDefs.
7233 * lib/Autom4te/General.pm: Don't export error: you don't own it.
7235 2003-08-21 Akim Demaille <akim@epita.fr>
7237 First stab at preserving warnings between calls to autom4te,
7238 including when the cache is used.
7240 There are still several issues: (i) there are too many runs of m4
7241 (one for include, one for warnings, and some more), (ii) warnings
7242 spreading on several lines are not handled gracefully, (iii) the
7243 code meant to have the call stack display for errors does not work
7244 (its handling should move from m4 to autom4te).
7246 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
7248 (@preselect): Add m4_warn.
7249 ($exit_status): Remove, use $exit_code.
7250 ($help): Use Autom4te::ChannelDefs::usage.
7251 (&handle_m4): No longer define the m4_warnings.
7252 At each run, extract and report the warnings.
7253 Always cache the result, including if the exit status is on
7254 failure, since if nothing changes, we should result in the same
7255 failure, hence we can use the cache.
7256 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
7257 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
7259 (m4_warn): Redefine as a do-nothing: it is its invocation that
7260 matters, as warnings are now reported via traces.
7261 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
7262 the contents of m4_warn: make it _call_ m4_warn, so that tracing
7263 the latter reveals calls to the former.
7267 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
7269 2003-08-21 Akim Demaille <akim@epita.fr>
7271 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
7274 2003-08-21 Akim Demaille <akim@epita.fr>
7276 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
7278 * lib/Autom4te/ChannelDefs.pm: Doc typos.
7279 (&parse_warnings): Accept a list of warning requests.
7280 (&usage): Return a string, not a side effect.
7281 (cross): New warning category.
7283 2003-08-21 Akim Demaille <akim@epita.fr>
7285 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
7286 (&require_configure_ac): Accept an optional directory argument.
7287 ($configure_ac): Remove.
7288 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
7290 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
7291 * bin/autoscan.in: Adjust.
7293 2003-08-20 Akim Demaille <akim@epita.fr>
7295 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
7296 Reported by Alexandre Duret-Lutz.
7298 2003-08-20 Akim Demaille <akim@epita.fr>
7300 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
7301 * bin/autom4te: Adjust.
7302 In particular, be Autoconf tools are really silent when properly
7303 working, bind the verbosity of the 'note' channel to $verbose.
7304 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
7305 (&xsystem, &contents): Remove, since they are exported by...
7306 * lib/Autom4te/FileUtils.pm: this.
7308 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
7309 * lib/Autom4te/FileUtils.pm: here.
7311 2003-08-20 Akim Demaille <akim@epita.fr>
7313 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
7314 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
7317 2003-08-20 Akim Demaille <akim@epita.fr>
7319 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
7320 (autom4te-update): New.
7321 * Makefile.cfg (update): Bind autom4te-update.
7323 2003-08-19 Derek Price <derek@ximbiot.com>
7325 * lib/autotest/general.m4: Comment various HELP_* diversions.
7326 (PARSE_ARGS_BEGIN): New section for option parsing related
7328 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
7329 package specific options and associated help.
7331 2003-08-19 Akim Demaille <akim@epita.fr>
7333 * config/announce-gen, Makefile.cfg: New.
7334 * Makefile.am: Adjust.
7335 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
7337 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
7339 * lib/autom4te.in (Automake-preselections): Preselect
7340 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
7343 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
7345 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
7346 (Autoconf-without-aclocal-m4): ... this new language.
7347 * doc/autoconf.texi (autom4te Invocation): Mention
7348 Autoconf-without-aclocal-m4.
7350 2003-08-18 Derek Price <derek@ximbiot.com>
7352 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
7353 RUN-IF-PASS optional arguments.
7355 2003-08-18 Derek Price <derek@ximbiot.com>
7357 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
7359 2003-08-16 Derek Price <derek@ximbiot.com>
7361 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
7362 STDOUT & STDERR arguments.
7364 2003-08-14 Derek Price <derek@ximbiot.com>
7366 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
7367 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
7368 shorter column three. Add DESCRIPTION to log file content.
7370 2003-08-13 Derek Price <derek@ximbiot.com>
7372 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
7375 2003-08-12 Derek Price <derek@ximbiot.com>
7377 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
7378 (AT_CHECK_NOESCAPE): Move core functionality to...
7379 (_AT_CHECK): ...this new macro.
7381 2003-08-07 Derek Price <derek@ximbiot.com>
7383 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
7384 (AT_CHECK_NOESCAPE): ...to this new macro.
7386 2003-07-31 Paul Eggert <eggert@twinsun.com>
7388 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
7389 in Bash 2.01. Problem reported by Brian Gough in
7390 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
7392 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
7394 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
7395 -lcrt1.o, for OS X. (trivial change)
7397 2003-07-07 Paul Eggert <eggert@twinsun.com>
7399 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
7400 inside '#ifndef __cplusplus'. Problem reported by
7403 2003-07-06 Bill Clarke <llib@computer.org>
7405 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
7406 'long', not 'int', for benefit of Sun's recent C++ compilers
7407 (trivial change). See:
7408 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
7409 (This really should be 'intptr_t', not 'long', but that would
7412 2003-06-25 Akim Demaille <akim@epita.fr>
7414 * lib/Makefile.am (autom4te.cfg): Make it read only.
7415 Depend on Makefile since it contains substitutions.
7417 * lib/autom4te.in (args): Add local.at? for Autotest args.
7418 This change was made on autom4te.cfg which is generated.
7419 Reported by Raja R. Harinath.
7421 2003-06-25 Akim Demaille <akim@epita.fr>
7423 * doc/autoconf.texi (Header Portability): sys/mount.h.
7424 From Gareth McCaughan.
7426 2003-06-23 Akim Demaille <akim@epita.fr>
7428 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
7429 not all of them. This fixes 1. the fact that when testing
7430 Autoconf there are many many config.log, 2. the incorrect use of
7431 top_srcdir to find config.log.
7432 Don't mix the detailed output of failed test with the summary of
7433 failures. Rather, append detailed log afterwards.
7435 2003-06-23 Akim Demaille <akim@epita.fr>
7437 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
7438 always run: output config.log on $at_group_log.
7440 2003-06-23 Akim Demaille <akim@epita.fr>
7442 * tests/torture.at (#define header templates): Don't use quotes in
7443 C++ comments as it puzzles Emacs' sh font-lock-mode.
7445 2003-06-23 Akim Demaille <akim@epita.fr>
7447 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
7448 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
7449 * tests/atspecific.m4: Rename as...
7450 * tests/local.at: This.
7451 * tests/suite.at: Move the globals into...
7452 * tests/local.at: here.
7453 * tests/Makefile.am: Adjust.
7454 * doc/autoconf.texi (testsuite Scripts): Adjust.
7456 2003-06-21 Kevin Ryde <user42@zip.com.au>
7458 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
7459 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
7460 ensuring we add -std1 for full-ANSI.
7462 * doc/autoconf.texi (hdrindex): New macro.
7463 Add index entries for portability of various standard header files.
7465 2003-06-20 Akim Demaille <akim@epita.fr>
7467 * configure.ac: Bump to 2.57b.
7469 2003-06-20 Akim Demaille <akim@epita.fr>
7473 2003-06-20 Akim Demaille <akim@epita.fr>
7475 * bin/autom4te.in: Don't rely on $HOME being defined.
7476 Reported by Marc Espie as PR/233.
7478 2003-06-20 Akim Demaille <akim@epita.fr>
7480 * lib/autotest/general.m4: Use at_times_file only if used.
7483 2003-06-20 Akim Demaille <akim@epita.fr>
7485 * config/config.guess, config/config.sub, config/elisp-comp,
7486 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
7487 Update from masters.
7489 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
7491 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
7492 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
7493 (TEST_SCRIPT): New diversion.
7494 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
7495 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
7496 (AT_INIT): Support for expected failures.
7498 2003-06-02 Akim Demaille <akim@epita.fr>
7500 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
7502 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
7503 Autoconf nor Automake.
7504 (&contents): New, from Automake.
7507 2003-05-28 Paul Eggert <eggert@twinsun.com>
7509 * NEWS, doc/autoconf.texi (Particular Functions),
7510 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
7511 is the inverse of localtime.
7513 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
7515 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
7516 (handle_exec_errors): New function. Work around $! being
7517 altered by WEXITSTATUS.
7518 (xqx, xsystem): Use handle_exec_errors.
7520 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
7522 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
7523 Do not call `_exit()', simply modify `$?'.
7524 (xsystem): Reset $! before running system, and check it afterward.
7525 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
7526 63 for version mismatches.
7528 2003-05-23 Akim Demaille <akim@epita.fr>
7530 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
7531 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
7532 the middle of a line).
7533 * lib/m4sugar/m4sugar.m4: Likewise.
7534 Remove useless spaces in comments.
7536 2003-05-23 Akim Demaille <akim@epita.fr>
7538 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
7539 exit 63, so that we (or Automake's "missing") can tell the
7540 difference with a plain failure.
7541 * doc/autoconf.texi (Notices): Adjust.
7543 2003-05-23 Akim Demaille <akim@epita.fr>
7545 * Makefile.am, bin/Makefile.am, config/Makefile.am,
7546 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
7547 White spaces cleanup.
7549 2003-05-22 Jim Meyering <jim@meyering.net>
7550 Paul Eggert <eggert@twinsun.com>
7552 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
7553 Remove `#include <stdlib.h>' from the list; we should never
7554 make confdefs.h include <stdlib.h> or <cstdlib>, because the
7555 resulting namespace pollution would cause other tests to fail.
7556 Configure scripts run with some older versions of g++ and HP's
7557 aCC would fail due to such an #include. Problems reported by
7558 Matthew Mueller in <http://bugs.debian.org/120704> and by
7560 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
7561 In the test, use the test declaration before including <stdlib.h>,
7562 as that's closer to how it'll be used.
7564 2003-05-23 Akim Demaille <akim@epita.fr>
7566 * doc/autoconf.texi (Header Portability): ucred.h.
7569 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
7571 Overhaul Autotest's logging: generate separate log files
7572 in testsuite.dir/NNN/testsuite.log, and append them to
7573 testsuite.log instead of re-running the test verbosely.
7575 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
7576 file descriptor, write 0 to at_status_file instead of setting
7577 at_status=0, initialize some new variables (at_status_file,
7578 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
7579 to rerun the tests, instead append the at_group_log to the
7580 at_suite_log when a test fails.
7581 (AT_SETUP): pipe the test case's output into at_tee_pipe,
7582 with the AS_MESSAGE_LOG_FD redirected to stdout.
7583 (AT_CLEANUP): save the output status in $at_status_file
7584 and restore it, redirect the AS_MESSAGE_LOG_FD back to
7586 (AT_CHECK): since tests are run with a redirected stdout,
7587 and used to be re-run in verbose mode, turn some $at_verbose
7588 into echo, and don't redirect the output of testing stdout
7591 * lib/autotest/autoconf.texi (testsuite Scripts): Update
7592 the name of the debugging directory and information about
7595 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
7597 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
7600 2003-05-22 Akim Demaille <akim@epita.fr>
7602 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
7603 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
7604 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
7605 * lib/autoconf/status.m4: Fix and adjust copyright notices.
7607 2003-05-22 Akim Demaille <akim@epita.fr>
7609 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
7610 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
7611 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7612 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
7613 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7614 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7615 * lib/autoconf/status.m4, lib/autoconf/types.m4,
7616 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
7617 * tests/atspecific.m4, tests/base.at, tests/compile.at,
7618 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
7619 * tests/tools.at, tests/torture.at:
7620 Whitespace clean up.
7621 Suggested by Jim Meyering.
7623 2003-05-22 Akim Demaille <akim@epita.fr>
7625 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
7626 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
7627 Reported by Jim Meyering.
7629 2003-05-22 Akim Demaille <akim@epita.fr>
7631 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
7632 Add AC_HELP_STRING to the obsolete macros section.
7634 Use '@.' for sentences that ended in a capital letter.
7637 2003-05-22 Akim Demaille <akim@epita.fr>
7639 * config/config.guess, config/config.sub, config/elisp-comp,
7640 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
7641 * config/texinfo.tex, doc/standards.texi: Update from masters.
7643 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
7645 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
7648 2003-05-21 Akim Demaille <akim@epita.fr>
7650 * bin/autoupdate.in ($m4): Fix quotation.
7651 Reported by Martin Mokrejs.
7653 2003-05-19 Paul Eggert <eggert@twinsun.com>
7655 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
7656 Remove non-ASCII characters.
7658 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
7660 * tests/semantics.at (AC_SEARCH_LIBS): New test.
7661 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
7662 AC_CHECK_HEADERS_NEW): New tests.
7664 2003-05-17 Akim Demaille <akim@epita.fr>
7666 * lib/autoconf/functions.m4: Use the default includes so that
7667 memcmp be declared before being tested.
7668 Reported by Sander Niemeijer.
7669 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
7670 * doc/autoconf.texi (Default Includes): Document
7671 AC_INCLUDES_DEFAULT.
7673 2003-05-17 Akim Demaille <akim@epita.fr>
7675 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
7676 * doc/autoconf.texi (Obsolete Macros): Adjust.
7677 Reported by Werner LEMBERG and Debian Bug 190886.
7679 2003-05-16 Akim Demaille <akim@epita.fr>
7681 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
7682 user name space clashes.
7683 Reported by Bruno Haible.
7685 2003-05-16 Akim Demaille <akim@epita.fr>
7687 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7688 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
7689 them uniform, and more robust to Perl special characters.
7690 Reported by Martin Mokrejs.
7692 2003-05-14 Akim Demaille <akim@epita.fr>
7694 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
7696 2003-05-14 Akim Demaille <akim@epita.fr>
7698 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
7701 2003-05-12 Akim Demaille <akim@epita.fr>
7703 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
7705 From Matthias Andree.
7707 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
7709 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
7712 2003-05-06 Akim Demaille <akim@epita.fr>
7714 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
7715 longer updates aclocal.m4 if useless, (ii) if a file m4_included
7716 by aclocal.m4 is changed it might require the importing of another
7717 m4 extension file, i.e., aclocal must be run.
7719 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
7720 (&parse_args): Use --force with aclocal if required and supported.
7721 (&autoreconf_current_directory): Use &run_aclocal.
7723 2003-05-06 Akim Demaille <akim@epita.fr>
7725 Lock autom4te's cache.
7727 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
7728 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
7729 argument instead of a file name, so that the request file remains
7730 open during the whole autom4te run.
7731 ($icache_file): New.
7732 (&freeze): Lock the $icache_file.
7734 2003-04-29 Derek Price <derek@ximbiot.com>
7736 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
7737 seperator with m4_append_uniq(). It doesn't work.
7738 (AT_CLEANUP): Add `;' to end of at_help_all.
7739 (AT_INIT): Allow --keywords to be specified more than once. When
7740 grepping $at_help_all for keywords, use the field and keyword
7741 seperators to ensure a complete keyword match. Alter at_prev handling
7742 to support the new --keywords behavior.
7744 2003-04-27 Karl Berry <karl@freefriends.org>
7746 * doc/autoconf.texi: Make the dir entries in the autoconf manual
7747 align better with others. I also made some of the individual
7748 entries on one line, for brevity and to make it easier for me to
7749 sort my dir-example file in the Texinfo distribution :).
7751 2003-04-12 Jim Meyering <jim@meyering.net>
7753 * NEWS: Mention the new macro.
7754 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
7755 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
7756 * tests/c.at: Test AC_C_RESTRICT.
7757 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
7759 2003-04-08 Akim Demaille <akim@epita.fr>
7761 * bin/ifnames.in: Skip C++ comments.
7764 2003-04-08 Akim Demaille <akim@epita.fr>
7766 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
7767 From Ilya Zakharevich.
7769 2003-04-08 Akim Demaille <akim@epita.fr>
7771 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
7774 2003-04-01 Derek Price <derek@ximbiot.com>
7776 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
7777 from Akim's checkin of 2003-03-29.
7779 2003-04-01 Derek Price <derek@ximbiot.com>
7781 * tests/torture.at (Configuring subdirectories): Add missing
7782 close-quote for Akim's change from 2003-03-28.
7784 2003-04-01 Akim Demaille <akim@epita.fr>
7786 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
7787 (AC, AT, MS): these.
7788 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
7791 * doc/Makefile.am (CLEANFILES): Adjust.
7792 (TEXI2DVI): Make it --batch.
7794 2003-03-31 Derek Price <derek@ximbiot.com>
7796 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
7797 which removed the main loop.
7798 Thanks to Akim Demaille.
7800 2003-03-29 Akim Demaille <akim@epita.fr>
7802 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
7804 From Ilya Zakharevich.
7806 2003-03-29 Akim Demaille <akim@epita.fr>
7808 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
7809 documentation to read is Autoconf's.
7810 Suggested by Paul Eggert.
7812 2003-03-28 Akim Demaille <akim@epita.fr>
7814 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
7815 reading the section "Present But Cannot Be Compiled" when the
7816 header causes problems.
7818 2003-03-28 Akim Demaille <akim@epita.fr>
7820 * tests/torture.at (Configuring subdirectories): Require aclocal
7821 1.4, otherwise the test fails, as it does support configure.ac.
7822 This fixes the "test 40 failed" bug reports.
7824 2003-03-28 Akim Demaille <akim@epita.fr>
7826 * doc/autoconf.texi (C Compiler): `#line' portability.
7827 From Paul Eggert and Nelson H. F. Beebe.
7829 2003-03-27 Derek Price <derek@ximbiot.com>
7831 * lib/autotest/general.m4: Eliminate main loop and reorganize test
7832 layout in order to allow scripting around test groups.
7834 2003-03-27 Derek Price <derek@ximbiot.com>
7836 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
7837 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
7838 use new diversions in preparation for accepting new arguments and
7839 allowing scripting around tests.
7840 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
7842 2003-03-26 Derek Price <derek@ximbiot.com>
7844 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
7845 obsolete AC_HELP_STRING.
7846 (AC_HELP_STRING): AU_DEFUN to...
7847 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
7848 * tests/m4sh.at (AS_HELP_STRING): New test.
7850 * tests/acgeneral.at: Regenerated.
7852 2003-03-26 Derek Price <derek@ximbiot.com>
7854 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
7855 sense. Verbosify the diversion definitions comment.
7857 2003-03-26 Derek Price <derek@ximbiot.com>
7859 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
7862 2003-03-21 Eric Siegerman <eric_97@pobox.com>
7864 * doc/autoconf.texi (Present But Cannot Be Compiled):
7865 Grammar fixes and minor rewording. (trivial change)
7867 2003-03-06 Paul Eggert <eggert@twinsun.com>
7869 Work around a problem noted by Nelson H. F. Beebe with coreutils
7870 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
7871 2002/05/09) rejects '#line 32768 "configure"' because the line
7873 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
7875 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
7876 * doc/autoconf.texi (Generating Sources): Document this.
7878 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
7880 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
7881 file name for the m4 program, when it has an "exe" file extension.
7882 DJGPP's error messages include the error code in brackets -
7883 remove the error code during normalization.
7885 2003-02-28 Akim Demaille <akim@epita.fr>
7887 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
7889 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
7891 * doc/autoconf.texi (Limitations of Make): Remove the section
7892 about `$<' in inference rules, it was a bogus interpretation of
7893 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
7894 Tru64 make in the "target lookup" section.
7895 (Automake): Automake 1.5+ no longer requires special tools to be
7896 present on the developer's host.
7898 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
7900 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
7901 to a shell that can handle redirection or quoting correctly.
7902 Override SHELL with the shell detected by configure.
7903 Use of $^O suggested by Tim van Holder.
7904 * bin/autom4te.in (BEGIN): Likewise.
7905 * bin/autoreconf.in (BEGIN): Likewise.
7906 * bin/autoscan.in (BEGIN): Likewise.
7907 * bin/autoupdate.in (BEGIN): Likewise.
7908 * bin/ifnames.in (BEGIN): Likewise.
7910 * bin/ifnames.in: Add final newline to help and version messages.
7912 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
7913 to cope with DOS-style absolute paths, when constructing
7916 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
7917 When constructing paths with IFS=:, quote the path. If we're
7918 constructing a DOS-style absolute path, we don't want to split it
7921 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
7924 2003-02-25 Pavel Roskin <proski@gnu.org>
7926 * bin/autoheader.in: Add missing newline when printing
7927 suggestion how change AC_DEFINE call.
7929 2003-02-24 Paul Eggert <eggert@twinsun.com>
7931 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
7932 2002-09-01 patch by replacing "test -n" with "test -z".
7933 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
7934 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
7936 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
7937 to fix a mismatch between example and discussion.
7939 2003-02-24 Kevin Ryde <user42@zip.com.au>
7941 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
7942 format starting with "-".
7944 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
7946 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
7947 is not portable inside Makefile.
7949 2003-02-20 Akim Demaille <akim@epita.fr>
7951 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
7952 compiler says yeah, but preproc says nope, compiler is right.
7953 Conversely, prompt the reader to send a bug report to the
7954 maintainers of the package, not of Autoconf.
7956 2003-02-20 Klee Dienes <kdienes@apple.com>
7958 * bin/autoreconf.in (autoreconf_current_directory): Properly
7959 handle an empty aclocal.m4.
7961 2003-02-20 Akim Demaille <akim@epita.fr>
7963 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
7967 2002-12-23 Paul Eggert <eggert@twinsun.com>
7969 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
7970 innocuous variant befor including <limits.h> or <assert.h>. This
7971 works around a bug reported by Albert Chin: HP-UX 11i
7972 (and earlier versions) have a <limits.h> that declares
7973 gettimeofday and many other functions.
7975 2002-12-03 Paul Eggert <eggert@twinsun.com>
7979 * NEWS, configure.ac: Update version.
7981 * doc/fdl.texi: Upgrade to FDL version 1.2.
7983 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
7984 nontrivially in main's body, so that f's external declaration is
7985 not optimized away in AIX. This should fix the bug reported by
7987 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
7989 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
7990 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
7991 defined, to support freestanding compilers. This should fix the
7992 bug reported by Momchil Velkov in
7993 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
7995 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
7996 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
7997 obsolete AC_CHECK_TYPE. The missing empty arg was reported
7998 by Simon Josefsson in
7999 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
8001 * Makefile.maint (www-gnu): New macro.
8002 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
8003 the location has moved.
8005 2002-12-02 Martin Frydl <martin@systinet.com>
8007 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
8008 \(.*\) match is too long and there is something more to be checked.
8009 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
8011 2002-11-15 Akim Demaille <akim@epita.fr>
8015 * config/install-sh: chmod +x.
8017 * config/move-if-change: Indenting changes.
8018 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
8019 * configure.ac (AM_INIT_AUTOMAKE): here.
8022 2002-11-14 Akim Demaille <akim@epita.fr>
8026 * config/config.guess, config/config.sub, config/install-sh:
8027 Update from masters.
8029 2002-11-14 Akim Demaille <akim@epita.fr>
8031 * Makefile.maint: Sync with Bison, i.e.:
8032 (po-check): Scan .l and .y files instead of the
8033 .c and the .h files that they generate. This fixes the bug
8034 reported by Tim Van Holder in:
8035 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
8036 Look for N_ as well as for _. Try to avoid matching #define for
8040 2002-11-14 Akim Demaille <akim@epita.fr>
8042 * doc/autoconf.texi (C Compiler): Compiling several files at once.
8043 From Paul Eggert and Albert Chin-A-Young.
8045 2002-11-14 Akim Demaille <akim@epita.fr>
8047 * doc/autoconf.texi (C Compiler): Solitary backslashes.
8048 From Paul Eggert and Albert Chin-A-Young.
8050 2002-11-14 Kevin Ryde <user42@zip.com.au>
8052 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
8053 than assigning in main, to avoid HP cc +O3 optimizing it away.
8055 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
8057 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
8058 option. Process --recheck after parsing all options. Pass -q
8059 option to configure on --recheck.
8060 (AC_OUTPUT): Pass -q from configure to config.status.
8061 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
8062 arguments to record.
8063 * doc/autoconf.texi (config.status Invocation): Document
8064 config.status -q option.
8066 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
8068 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
8069 Makefile.in if Makefile.am exists.
8070 (output): Strip `.am' from Makefiles. Don't
8071 output AC_CONFIG_FILES if no Makefiles were found.
8073 2002-11-07 Akim Demaille <akim@epita.fr>
8075 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
8076 (local_updates): New.
8077 * Makefile.maint: Update, from CVS Bison.
8078 (local_updates): New.
8080 2002-11-06 Akim Demaille <akim@epita.fr>
8082 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
8083 declaration in extern "C" too.
8084 Reported by Roberto Bagnara.
8086 2002-11-06 Akim Demaille <akim@epita.fr>
8088 * tests/torture.at (Configuring subdirectories): Don't use grep
8090 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
8091 Reported by Ezra Peisach.
8093 2002-11-05 Akim Demaille <akim@epita.fr>
8095 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
8097 We _have_ to stop using the old compatibility scheme that tried to
8098 avoid useless backslashes because Libtool 1.4.3 contains a
8099 AC_DEFINE([error_t], [int],
8100 [Define to a type to use for \`error_t' if it is not
8101 otherwise available.])
8102 We _have_ to quote the single quote and backslashes with \. The
8103 old compatibility scheme saw that ` was backslashed, and therefore
8104 did not quote the single quote. Hence before this patch, Autoconf
8105 was not compatible with Libtool.
8107 2002-11-04 Paul Eggert <eggert@twinsun.com>
8109 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
8110 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
8111 LC_NAME, LC_PAPER, LC_TELEPHONE.
8112 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
8114 2002-11-04 Akim Demaille <akim@epita.fr>
8118 * Makefile.maint (update, cvs-update, po-update, do-po-update):
8120 * config/texinfo.tex: Update.
8122 2002-11-03 Akim Demaille <akim@epita.fr>
8124 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
8126 (&autoreconf): here.
8127 ($help, $make, &parse_args, &autoreconf_current_directory):
8129 * doc/autoconf.texi (autoreconf Invocation): Adjust.
8131 2002-10-31 Bruno Haible <bruno@clisp.org>
8133 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
8134 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
8135 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
8136 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
8137 to ac_cv_func_realloc_0_nonnull.
8138 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
8140 2002-10-31 Akim Demaille <akim@epita.fr>
8142 The test suite was no longer checking for trailing envvars and files.
8144 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
8145 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
8147 2002-10-31 Akim Demaille <akim@epita.fr>
8149 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
8150 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
8151 Make variable, not a shell variable.
8152 Suggested by Bruno Haible.
8154 2002-10-31 Akim Demaille <akim@epita.fr>
8156 * bin/autom4te.in (load_configuration): Reject #args out of any
8159 2002-10-31 Akim Demaille <akim@epita.fr>
8161 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
8162 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
8163 (_AC_RUN_IFELSE): Use it.
8164 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
8165 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
8166 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
8169 2002-10-30 Akim Demaille <akim@epita.fr>
8171 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
8172 * doc/autoconf.texi (autom4te Invocation): Adjust.
8173 Suggested by Tim van Holder.
8175 2002-10-29 Paul Eggert <eggert@twinsun.com>
8177 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
8178 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
8179 Problem reported by Bruno Haible.
8181 2002-10-29 Akim Demaille <akim@epita.fr>
8183 * doc/autoconf.texi (Header Templates): Put also in words what the
8184 pictures says to assist free style readers.
8185 (Customizing autom4te): s/--cache=/--cache /.
8187 2002-10-29 Akim Demaille <akim@epita.fr>
8189 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
8191 sparc_address_test returns void.
8192 Use it with an argument, as prototyped.
8195 2002-10-29 Akim Demaille <akim@epita.fr>
8197 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
8198 configure.in, not configure.ac.
8199 Reported by Bruno Haible.
8201 2002-10-29 Akim Demaille <akim@epita.fr>
8203 * tests/torture.at (Deep Package): New test.
8204 (Configuring subdirectories): Don't use a testSubDir as Autotest
8207 2002-10-29 Akim Demaille <akim@epita.fr>
8209 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
8210 * doc/autoconf.texi (Invoking autom4te): Rename as...
8211 (autom4te Invocation): this, for consistency with the other nodes.
8213 2002-10-29 Akim Demaille <akim@epita.fr>
8215 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
8216 Reported by Ralf Corsepius.
8218 2002-10-29 Akim Demaille <akim@epita.fr>
8220 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8221 characters is a back as an `obsolete' warning now.
8222 Reported by Ralf Corsepius.
8224 2002-10-28 Akim Demaille <akim@epita.fr>
8226 * configure.ac: Bump to 2.54c.
8228 2002-10-28 Akim Demaille <akim@epita.fr>
8232 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
8234 2002-10-28 Akim Demaille <akim@epita.fr>
8236 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
8237 m4 executable names, and different GNU M4 version.
8238 Reported by Ezra Peisach and Paul Jarc.
8240 2002-10-27 Akim Demaille <akim@epita.fr>
8242 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
8245 2002-10-27 Akim Demaille <akim@epita.fr>
8247 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
8248 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
8249 Die when a simple Fortran program cannot be compiled.
8250 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
8251 Issue a warning if no function is given.
8253 2002-10-27 Akim Demaille <akim@epita.fr>
8255 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
8256 Move the documentation of AC_TRY_RUN to...
8257 (Obsolete Macros): here.
8258 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
8259 (autoconf Invocation): Remove the duplicates with `invoking
8261 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
8262 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
8264 2002-10-27 Akim Demaille <akim@epita.fr>
8266 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
8267 and AC_LANG_FUNC_LINK_TRY.
8268 (Examining Libraries): Rename as...
8269 (Running the Linker): this.
8270 Document AC_LINK_IFELSE.
8271 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
8272 (Obsolete Macros): here.
8273 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
8274 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
8275 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
8276 * lib/autoconf/headers.m4 (AC_USG): Likewise.
8278 2002-10-27 Akim Demaille <akim@epita.fr>
8280 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
8282 More `check config.log' messages.
8284 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
8285 * doc/autoconf.texi (Printing Messages): Document it.
8286 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
8288 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
8289 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
8290 (_AC_COMPILER_OBJEXT): Likewise.
8291 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
8292 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
8294 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
8297 Deprecate macros with unusual interfaces.
8299 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
8300 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
8302 Document the new ones, and proper style.
8304 * doc/autoconf.texi (Generating Sources): New.
8305 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
8306 (Examining Declarations): Rename as...
8307 (Running the Preprocessor): this.
8308 Document AC_PREPROC_IFELSE.
8309 (Examining Syntax): Rename as...
8310 (Running the Compiler): this.
8311 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
8312 (Obsolete Macros): Move the definition of AC_TRY_CPP and
8313 AC_TRY_COMPILE here.
8315 2002-10-27 Akim Demaille <akim@epita.fr>
8317 Move sections around.
8319 * doc/autoconf.texi (Customizing autom4te): Remove a lost
8321 Reported by Burno Haible.
8322 (Language Choice): Now the first section of...
8323 (Writing Tests): this section.
8324 Make the introduction less C-centric.
8325 (Guidelines, Test Functions): Move to...
8326 (Writing Test Programs): this new section.
8327 (Test Programs): Merge into...
8330 2002-10-27 Akim Demaille <akim@epita.fr>
8332 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
8333 autom4te.in that resulted in the need for two `make' runs.
8335 2002-10-27 Akim Demaille <akim@epita.fr>
8337 * configure.ac: Bump to 2.54b.
8339 2002-10-25 Akim Demaille <akim@epita.fr>
8343 * Makefile.maint: Update from the Coreutils.
8344 (AMTAR): Remove, obsolete.
8345 (automake_repo): Update to redhat.com.
8347 Adjust to the fact that ansi2knr is now hosted by Automake.
8348 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
8349 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
8350 Update from masters.
8351 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
8352 autoscan.pre is not to be installed, and autoscan.list is not to
8354 (CLEANFILES): Add autoscan.list.
8355 (autoscan.list): Disable the cache.
8356 * bin/Makefile.am: Include freeze.mk.
8358 2002-10-25 Akim Demaille <akim@epita.fr>
8360 * bin/autom4te.in (&load_configuration): Take the file as
8362 (&parse_args): Handle -C, --cache.
8364 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
8365 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
8366 * doc/autoconf.texi (Invoking autom4te): Document --cache.
8367 Now a subsection of...
8368 (Using autom4te): This new section.
8369 (Customizing autom4te): New.
8370 (autom4te.cache): Adjust.
8372 2002-10-25 Akim Demaille <akim@epita.fr>
8374 * doc/autoconf.texi (Generic Headers): More information on how to
8375 use AC_CHECK_HEADERS.
8377 2002-10-25 Akim Demaille <akim@epita.fr>
8379 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
8382 2002-10-25 Akim Demaille <akim@epita.fr>
8384 * bin/autoscan.in (output): Output AC_PREREQ.
8385 (%needed_macros): Add AC_PREREQ so that configure.ac without one
8388 2002-10-23 Akim Demaille <akim@epita.fr>
8390 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
8393 2002-10-23 Akim Demaille <akim@epita.fr>
8395 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
8396 Reported by Peter Eisentraut.
8398 2002-10-23 Akim Demaille <akim@epita.fr>
8400 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
8403 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
8404 Eggert's recommandations.
8406 2002-10-22 Akim Demaille <akim@epita.fr>
8408 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
8409 Bison, by Paul Eggert.
8410 * doc/autoconf.texi (Particular Headers): Document it.
8412 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
8414 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
8415 `$ac_configure_args'.
8417 2002-10-22 Akim Demaille <akim@epita.fr>
8419 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
8420 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
8423 2002-10-22 Akim Demaille <akim@epita.fr>
8425 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
8427 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8428 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
8429 (_AC_CHECK_HEADER_NEW): Rename as...
8430 (AC_CHECK_HEADER): this.
8432 2002-10-22 Akim Demaille <akim@epita.fr>
8434 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
8435 words about HP-UX cmp: it was actually a user-written cmp.
8437 2002-10-22 Akim Demaille <akim@epita.fr>
8439 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
8441 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8442 Quote for Perl '' strings, not "".
8443 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
8446 2002-10-22 Akim Demaille <akim@epita.fr>
8448 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8449 characters is a syntax warning now.
8450 (_AS_QUOTE): Accept $2 as list of characters to quote.
8451 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8452 Quote for Perl, not sh.
8453 * bin/autoheader.in: When $debug, report the file which is
8455 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
8456 `@', to tickle Perl's lists.
8457 Reported by Carlos Velasco.
8459 2002-10-18 Akim Demaille <akim@epita.fr>
8461 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
8462 missing included files _are_ errors.
8463 Thanks to Alexandre Duret-Lutz.
8464 * tests/tools.at (autom4te cache): Adjust.
8465 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
8466 (AT_CHECK_M4SUGAR): Use it.
8467 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8469 * tests/tools.at (autom4te): Now it does exit 1.
8471 2002-10-17 Akim Demaille <akim@epita.fr>
8473 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
8474 Fixes the `AC_ARG_VAR' test failures.
8475 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
8476 * lib/freeze.mk (check-forbidden-patterns): New.
8477 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
8478 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
8479 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
8481 Reported months ago by H. Merijn Brand.
8483 2002-10-17 Akim Demaille <akim@epita.fr>
8485 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
8487 2002-10-16 Paul Eggert <eggert@twinsun.com>
8489 * Makefile.maint (wget_files): Remove ansi2knr.c.
8490 (ansi2knr.c-url_prefix): Remove.
8492 2002-10-16 Akim Demaille <akim@epita.fr>
8494 Because of caching, some files that no longer exist and are no
8495 longer required can still cause errors.
8496 Reported by Alexandre Duret-Lutz.
8498 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
8499 to frozen files in @ARGV, as @ARGV must remain being a list of
8500 files. Rather, at M4 call sites, use this...
8501 (&files_to_options): New function.
8502 (&freeze): Use &error.
8503 (&up_to_date): If a file that was included according to the cache
8504 is no longer there, then the output is out dated.
8505 (&main): Don't even check whether a file is up to date is anyway
8507 * tests/tools.at (autom4te cache): New.
8509 2002-10-16 Akim Demaille <akim@epita.fr>
8511 * bin/autoconf.as: Kill dead options.
8512 * bin/autoupdate.in (&parse_args): Kill old options.
8513 * bin/autoreconf.in (&parse_args): Remove dead options.
8515 (&autoreconf): Report the directories we enter *and leave*, so
8516 that error messages can be easily located, and use GNU Make
8517 format, so that Emacs' compile mode understands us.
8518 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
8519 if some file was changed instead of `print'.
8520 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
8521 (&parse_args): Remove the dead options.
8522 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
8523 autoheader's quiet mode.
8524 (AT_CHECK_AUTOUPDATE): Likewise.
8525 * tests/tools.at (autoupdate): Adjust.
8526 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8528 2002-10-11 Akim Demaille <akim@epita.fr>
8530 No longer use CPP to check for the existing of headers: use CC to
8531 check for compilability.
8533 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8534 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
8535 (_AC_CHECK_HEADER_NEW): Rename as...
8536 (AC_CHECK_HEADER): this.
8538 * lib/autotest/general.m4 (AT_INIT): Include the failed test
8539 numbers in the Subject suggestion.
8541 2002-10-11 Akim Demaille <akim@epita.fr>
8543 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
8544 Suggest using AC_CHECK_DECLS instead.
8546 2002-10-11 Akim Demaille <akim@epita.fr>
8548 * tests/torture.at (AC_ARG_VAR): Have configure report the value
8551 2002-10-11 Akim Demaille <akim@epita.fr>
8553 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
8554 file name to enable parallel executions.
8555 From Sam Varshavchik.
8557 2002-10-08 Akim Demaille <akim@epita.fr>
8559 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
8560 aclocal invocation, as Gettext macros might not be visible to
8562 Instead of blindly running autopoint, scan configure.ac (not the
8563 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
8564 Reported by Paul D. Smith.
8566 2002-10-08 Paul Eggert <eggert@twinsun.com>
8568 Work around problems found when POSIXLY_CORRECT=1 is set.
8569 None of this seems to have anything to do with POSIX, really,
8570 but it's how Perl getopt works.
8571 * bin/autom4te.in (parse_args): Configure GetOpt with
8573 * doc/autoconf.texi (Invoking autom4te):
8574 --warning -> --warnings.
8575 * lib/autom4te.in: --warning -> --warnings.
8577 2002-09-28 Akim Demaille <akim@epita.fr>
8579 * doc/autoconf.texi (autom4te.cache): New section.
8581 2002-09-28 Akim Demaille <akim@epita.fr>
8583 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
8584 (Automake-preselections): Update.
8585 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
8587 2002-09-28 Akim Demaille <akim@epita.fr>
8589 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
8590 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
8591 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8592 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
8594 2002-09-28 Akim Demaille <akim@epita.fr>
8596 * tests/torture.at (Configuring subdirectories): Be robust to
8597 users who use config.site to require for a cache: in this case,
8598 the two last configure runs, using two different sets of
8599 arguments, trigger a legitimate error.
8601 2002-09-28 Akim Demaille <akim@epita.fr>
8603 * tests/m4sh.at (Functions Support, Functions and return Support):
8606 2002-09-28 Akim Demaille <akim@epita.fr>
8608 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
8609 autoheader are Perl programs.
8610 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
8611 (autom4te): Specify that the sources are in the $srcdir.
8612 * doc/autoconf.texi (Installation Directory Variables): Adjust.
8614 2002-09-28 Akim Demaille <akim@epita.fr>
8616 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
8617 (tm_zone): Move their rules to...
8618 * lib/autoconf/types.m4: here, using AN_ macros.
8619 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
8620 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
8621 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
8622 * lib/autoconf/programs.m4: here.
8623 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
8624 (ETAGS_FOR_AUTOCONF): New.
8627 2002-09-28 Akim Demaille <akim@epita.fr>
8629 * lib/autoconf/autoscan.m4: New file.
8630 * lib/autoconf/autoconf.m4: Include it.
8631 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
8632 that were listed in the original autoscan.list.
8633 * lib/autoconf/headers.m4: Similarly with headers.
8634 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
8635 (.m4.m4f): Don't pass --prepend-include, since that's done by
8636 tests/autom4te itself.
8637 * lib/autoscan/Makefile.am: Include freeze.mk.
8638 (autoscan.list): New target --this file is no longer a source.
8639 (autoscan.pre): New file.
8641 2002-09-28 Akim Demaille <akim@epita.fr>
8643 * bin/autoscan.in (@kinds): Make them singular.
8645 (&init_tables): When --debug, report the list of rules to ease
8646 tracking changes in autoscan.list.
8647 * lib/autoscan/autoscan.list (function): Strip comments, sort.
8649 2002-09-28 Akim Demaille <akim@epita.fr>
8651 * lib/autoscan/functions, lib/autoscan/headers,
8652 * lib/autoscan/identifiers, lib/autoscan/makevars,
8653 * lib/autoscan/programs: Merge into...
8654 * lib/autoscan/autoscan.list: this.
8655 * bin/autoscan.in (&init_tables): Adjust.
8657 2002-09-28 Akim Demaille <akim@epita.fr>
8659 * lib/autoscan/functions, lib/autoscan/headers,
8660 * lib/autoscan/identifiers, lib/autoscan/makevars,
8661 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
8662 `functions' line is now prefixed with `function:'.
8663 * bin/autoscan.in (&init_tables): Adjust.
8665 2002-09-28 Akim Demaille <akim@epita.fr>
8667 From now on, autoscan files must always map a macro name to a
8668 word: there is no `default' macro for autoscan.
8670 * bin/autoscan.in (&init_tables): Reject entries with no macro at
8672 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
8675 2002-09-28 Akim Demaille <akim@epita.fr>
8677 * bin/autoscan.in (%c_keywords): Remove.
8678 (&used): Keep only track of the words we might be interested in.
8679 (&output_kind): It is no longer needed to look for non active
8682 2002-09-27 Akim Demaille <akim@epita.fr>
8684 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
8685 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
8686 * lib/autoscan/functions: Adjust.
8687 * doc/autoconf.texi (Particular Functions): Adjust.
8689 2002-09-27 Akim Demaille <akim@epita.fr>
8691 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
8693 Thanks to Bill Moseley and Paul Eggert.
8694 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
8695 the tmpdir must be created.
8696 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
8697 dir be in the build tree, instead of $TMPDIR.
8699 2002-09-27 Akim Demaille <akim@epita.fr>
8701 * bin/autoscan.in: Improve the comments.
8702 (&parse_args): Drop obsolete undocumented options.
8703 (&output_kind): Output warnings.
8704 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
8705 (getwd): Trigger a warning.
8707 2002-09-26 Akim Demaille <akim@epita.fr>
8709 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
8710 Reported by Ralf Corsepius.
8711 * doc/autoconf.texi (autoreconf Invocation): Likewise.
8713 2002-09-26 Akim Demaille <akim@epita.fr>
8715 Single suffix rules and seperated dependencies are not portable.
8717 * doc/autoconf.texi (Installation Directory Variables): Update.
8718 (Limitations of Make): Some about `Single Suffix Rules and
8719 Separated Dependencies'.
8720 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8721 (ifnames, autoscan, autom4te): Un-factor into several rules.
8723 2002-09-25 Paul Eggert <eggert@twinsun.com>
8725 * BUGS (Interoperability bugs): New section. Mention libtool
8726 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
8728 2002-09-24 Paul Eggert <eggert@twinsun.com>
8730 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
8731 make handles suffix-rules differently from GNU make.
8733 * bin/Makefile.am (SUFFIXES, .in): Remove.
8734 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
8735 Move the body of the old .in rule here.
8737 2002-09-16 Akim Demaille <akim@epita.fr>
8739 i960 compilers create `b.out' files by default.
8740 Reported by Ralf Corsepius.
8742 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
8743 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
8745 2002-09-13 Paul Eggert <eggert@twinsun.com>
8747 * doc/autoconf.texi (Particular Headers): Remove obsolete
8748 reference to `struct timezone' in the description of
8751 2002-09-13 Akim Demaille <akim@epita.fr>
8755 * config/config.sub, config/config.guess: Update.
8756 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
8757 * Makefile.am: Adjust.
8759 2002-09-13 Akim Demaille <akim@epita.fr>
8761 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
8762 reading config.log when the compiler is rejected.
8763 Suggested by Guido Draheim.
8765 2002-09-13 Akim Demaille <akim@epita.fr>
8767 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
8768 (chdir_init) might hang when stat'ing mounted directories.
8769 Reported by Vance Shipley.
8771 2002-09-12 Akim Demaille <akim@epita.fr>
8773 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
8776 2002-09-12 Akim Demaille <akim@epita.fr>
8778 * doc/autoconf.texi (Defining Symbols): Present two different
8779 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
8780 difference between 1 argument calls, and 2-3 argument calls.
8782 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
8784 * doc/autoconf.texi: Review grammar and punctuation.
8786 2002-09-11 Paul Eggert <eggert@twinsun.com>
8788 * doc/autoconf.texi: Fix minor formatting, spelling, and
8790 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
8791 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
8794 2002-09-11 Akim Demaille <akim@epita.fr>
8796 * doc/autoconf.texi (Questions): Rename as...
8798 (Defining Directories): New.
8800 2002-09-09 Akim Demaille <akim@epita.fr>
8802 * doc/autoconf.texi (Making testsuite Scripts): Update.
8803 Suggested by Nishio Futoshi.
8805 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
8807 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
8808 plain `@' is wanted.
8810 2002-09-09 Akim Demaille <akim@epita.fr>
8812 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
8813 `duplicates', since the algorithm was too naive and could keep
8814 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
8815 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
8816 Reported by Ralf Corsepius.
8817 * tests/torture.at (Configuring subdirectories): Exercise these
8820 2002-09-09 Akim Demaille <akim@epita.fr>
8822 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
8823 looking for a replacement file.
8824 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
8825 directory is relative.
8826 * doc/autoconf.texi (Generic Functions): Clarify the replacement
8827 directory definition.
8828 Reported by Andreas Schwab and Jim Meyering.
8830 2002-09-06 Akim Demaille <akim@epita.fr>
8832 * doc/autoconf.texi (Setting Output Variables): Clarify what
8833 precious variables are.
8834 Suggested by Pontus Skoeld.
8836 2002-09-05 Akim Demaille <akim@epita.fr>
8838 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8839 (ifnames, autoscan, autom4te): Since we don't only depend on
8840 configure.ac variables (such as VERSION etc.), but also on prefix
8841 and so forth, depend on Makefile, not configure.ac.
8842 Reported by Alexandre Duret-Lutz.
8843 * doc/autoconf.texi (Installation Directory Variables): Adjust.
8845 2002-09-05 Kevin Ryde <user42@zip.com.au>
8847 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
8848 doesn't seem to be confined to ia64, just say "some versions".
8850 2002-09-04 Akim Demaille <akim@epita.fr>
8852 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
8854 * Makefile.am (maintainer-clean-local): Remove.
8855 (MAINTAINERCLEANFILES): Remove COPYING.
8857 2002-09-03 Paul Eggert <eggert@twinsun.com>
8859 * doc/autoconf.texi (Configuration Commands): Remove obsolete
8860 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
8863 2002-09-03 Akim Demaille <akim@epita.fr>
8865 * configure.ac: Bump to 2.53d.
8866 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
8867 as of today, on Automake's team suggestion.
8869 2002-09-03 Akim Demaille <akim@epita.fr>
8873 2002-09-02 Akim Demaille <akim@epita.fr>
8875 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
8877 * configure.ac: Disable SITE_MACRO_DIR.
8879 2002-09-02 Jim Meyering <meyering@lucent.com>
8881 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
8882 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
8883 Also, tweak grammar: s/make sure to/be sure to/.
8885 2002-09-02 Paul Eggert <eggert@twinsun.com>
8887 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
8888 directory names are generally preferable to physical names.
8890 2002-09-02 Akim Demaille <akim@epita.fr>
8892 * lib/Autom4te/General.pm (&update_file): s/die/error/.
8893 Reported by Raja R. Harinath.
8894 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
8895 * bin/autoupdate.in: Use error instead of die.
8897 2002-09-01 Paul Eggert <eggert@twinsun.com>
8899 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
8900 ordinary shell concatenation rather than echo+tr+sed command that
8901 runs afoul of a long-line-related sed bug in Solaris 8.
8903 * bin/autoheader.in (parse_args): --warning -> --warnings.
8905 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
8906 stdout, as traditional "ls" does.
8907 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
8908 _AC_COMPILER_EXEEXT_O): Likewise.
8909 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
8911 * bin/autoconf.as: Add --prepend-include option. This patch was
8912 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
8913 but bin/autoconf.in is generated automatically from bin/autoconf.as.
8915 * bin/autoconf.in, configure: Regenerate.
8917 * doc/autoconf.texi (Special Shell Variables): Mention
8918 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
8920 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
8921 MAILPATH and set PS1, PS2, PS4 to default values, to work
8922 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
8923 For LC_ALL etc, first try to set to "C" as POSIX requires and as
8924 the Autoconf documentation specifies; fall back to "unset" only if
8925 this fails. Use a shell for-loop for this rather than an m4 loop,
8926 to shorten the output script.
8928 2002-08-30 Paul Eggert <eggert@twinsun.com>
8930 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
8931 1003.1-2001's requirements for CDPATH. Give a simpler workaround
8932 for the CDPATH problem. Document PWD.
8933 (Limitations of Builtins): Document the problem that "cd $foo" and
8934 "ls $foo" may refer to different directories in shells conforming
8935 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
8936 example, since the old example is now out of date.
8938 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
8939 FOO" and "ls FOO" talk about different directories; this catches
8940 problems when POSIX 1003.1-2001 "cd" fails due to symlink
8943 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
8944 of rolling our own unset.
8945 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
8946 in practice we needn't worry about CDPATH if unset doesn't work.
8948 * Makefile.in, aclocal.m4, bin/Makefile.in,
8949 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
8950 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
8951 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
8952 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
8953 tests/Makefile.in: Regenerate with Automake 1.6.3.
8955 * config/config.guess, config/config.sub, config/mkinstalldirs:
8958 * configure: Regenerate with self.
8960 2002-08-30 Kevin Ryde <user42@zip.com.au>
8962 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
8965 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8967 * bin/autom4te.in (Request::load): Correctly test for "do" read
8970 2002-08-29 Akim Demaille <akim@epita.fr>
8972 * lib/Autom4te/General.pm (&xqx): New.
8973 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
8974 hand, which is not portable.
8976 * bin/autom4te.in: Use them.
8977 Use &error instead of die.
8978 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8981 2002-08-17 Paul Eggert <eggert@twinsun.com>
8983 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
8984 default list of compilers to try, since it was long ago superseded
8985 by the ksh fc builtin. Suggested by Steven G. Johnson.
8987 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
8989 * doc/autoconf.texi (Invoking autom4te): End the option table,
8990 fixing a bug introduced by the previous patch.
8991 (Limitations of Make): Add a 'target lookup' subentry in the
8992 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
8994 2002-07-29 Mark D. Roth <roth@feep.net>
8996 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
8997 options and use $AUTOM4TE_PATH.
8998 * doc/autoconf.texi: Remove documentation of autom4te
8999 --include-envvar and --site-macro-subdir options and document
9000 use of $AUTOM4TE_PATH.
9001 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
9002 arguments from each language section.
9004 2002-07-29 Paul Eggert <eggert@twinsun.com>
9006 * doc/install.texi: Include copyright symbol in copyright notice.
9008 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
9010 (AM_MAKEINFOFLAGS): New macro.
9011 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
9012 * Makefile.am (INSTALL): Use the new macros.
9013 Use -o rather than --output, since "missing" does not grok --output.
9015 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
9017 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
9018 comments do not always work. Never trust the exit status of
9021 2002-07-24 Kevin Ryde <user42@zip.com.au>
9023 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
9024 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
9026 2002-07-23 Paul Eggert <eggert@twinsun.com>
9028 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
9029 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
9030 apparently treats PATH="nonexistent" as if it contained ".".
9031 Bug reported by Stefan `Sec' Zehl.
9033 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
9035 * doc/autoconf.texi (Limitations of Make): Mention the special
9036 handling of the obj/ directory by BSD make.
9038 2002-07-20 Kevin Ryde <user42@zip.com.au>
9040 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
9043 2002-07-19 Akim Demaille <akim@epita.fr>
9045 * doc/autoconf.texi (Function Portability): `exit'.
9046 (Programming in M4sh): Ethymology of M4sh.
9048 2002-07-19 Akim Demaille <akim@epita.fr>
9050 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
9052 2002-07-18 Akim Demaille <akim@epita.fr>
9056 2002-07-18 Akim Demaille <akim@epita.fr>
9058 * config/config.guess, config/config.sub: Update.
9060 2002-07-18 Akim Demaille <akim@epita.fr>
9062 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
9065 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
9066 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
9067 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
9069 2002-07-18 Akim Demaille <akim@epita.fr>,
9070 Alexandre Duret-Lutz <duret_g@epita.fr>
9072 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
9073 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
9075 2002-07-17 Russ Allbery <rra@stanford.edu>
9077 * doc/autoconf.texi (Initializing configure): Clarify the
9078 description of the tarname default.
9080 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
9082 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
9083 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
9086 2002-07-17 Akim Demaille <akim@epita.fr>
9088 * lib/Autom4te/General.pm (find_file): Browse the directories in
9089 the order they are given.
9091 2002-07-17 Akim Demaille <akim@epita.fr>
9093 * tests/wrapsh.as, tests/wrappl.as: Merge into...
9094 * tests/wrapper.as: this.
9095 * tests/Makefile.am, configure.ac: Adjust.
9097 2002-07-17 Mark D. Roth <roth@feep.net>
9099 * configure.ac: Add --enable-site-macro-dir option.
9100 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
9101 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
9102 --site-macro-subdir options.
9103 * bin/autoconf.in: Add --prepend-include option.
9104 * bin/autoheader.in: Add --prepend-include option.
9105 * bin/autoreconf.in: Add --prepend-include option.
9106 * bin/autoscan.in: Add --prepend-include option.
9107 * bin/autoupdate.in: Add --prepend-include option.
9108 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
9109 macro directory, remove note that include path directories are
9110 used in reverse order, and document --prepend-include option.
9111 * lib/autom4te.in: Use --prepend-include instead of --include.
9112 * tests/wrapsh.in: Use --prepend-include instead of --include.
9114 2002-07-17 Akim Demaille <akim@epita.fr>
9116 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
9118 * doc/autoconf.texi (Initializing configure): Adjust.
9120 2002-07-17 Akim Demaille <akim@epita.fr>
9122 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
9123 (_AC_FUNC_MALLOC): New.
9124 (AC_FUNC_MALLOC): Use the latter.
9125 Define HAVE_MALLOC to 0 if broken.
9126 * doc/autoconf.texi (Particular Functions): Adjust.
9128 2002-07-16 Akim Demaille <akim@epita.fr>
9130 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
9131 * doc/autoconf.texi (C Compiler): Adjust.
9133 2002-07-09 Akim Demaille <akim@epita.fr>
9135 * doc/autoconf.texi: Properly set the ``header'' part.
9137 2002-07-09 Akim Demaille <akim@epita.fr>
9139 * doc/autoconf.texi (Systemology): Some about Darwin.
9141 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
9143 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
9144 Don't use AC_REQUIRE in AU_DEFUN.
9146 2002-07-09 Art Haas <ahaas@neosoft.com>
9148 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
9150 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
9152 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9153 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
9154 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
9155 so that Emacs setups GNU style for perl-mode and cperl-mode.
9157 2002-06-27 Paul Eggert <eggert@twinsun.com>
9159 * config/install-sh: Quote $src. Prefer || to test's -o option,
9160 as per "Limitations of Builtins".
9161 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
9162 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9164 * tests/mktests.sh: Use grep instead of fgrep, as per
9165 "Limitations of Builtins".
9167 2002-06-15 Paul Eggert <eggert@twinsun.com>
9169 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
9170 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
9171 so that we consistently test the just-built programs.
9172 * tests/wrappl.as: Likewise.
9174 2002-06-12 Paul Eggert <eggert@twinsun.com>
9176 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
9177 name, so that symlinks to 'autoconf' work properly. Bug reported
9179 * bin/autoheader.in (AUTOM4TE): Likewise.
9180 * bin/autoreconf.in (autoconf, autoheader): Likewise.
9181 * bin/autoscan.in (autom4te): Likewise.
9182 * bin/autoupdate.in (autom4te): Likewise.
9184 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
9185 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
9188 2002-06-11 Andreas Schwab <schwab@suse.de>
9190 * doc/autoconf.texi: Add more dir entries.
9192 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
9194 * bin/autom4te.in ($cache): Don't define using `$me', the name
9195 of the cache should not depend on the name under which autom4te
9198 2002-06-07 Akim Demaille <akim@epita.fr>
9200 * tests/tools.at (autoconf: forbidden tokens, basic)
9201 (autoconf: forbidden tokens, exceptions): Adjust to the change of
9202 words in autom4te.in.
9204 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
9206 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
9207 _AC_LANG_PROGRAM_C_F77_HOOKS.
9209 2002-06-07 Akim Demaille <akim@epita.fr>
9211 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
9213 (AC_REPLACE_FNMATCH): this.
9214 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
9215 AC_FUNC_FNMATCH_GNU.
9217 2002-06-07 Akim Demaille <akim@epita.fr>
9219 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
9220 Rosetta Stone for Unix.
9222 2002-06-07 Akim Demaille <akim@epita.fr>
9224 * bin/autom4te.in (warn_forbidden): When rejecting a token,
9225 suggest m4_pattern_allow.
9226 Suggested by Adam J. Richter.
9228 2002-06-07 Akim Demaille <akim@epita.fr>
9230 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
9231 ac_config_libobj_dir.
9232 (AC_CONFIG_LIBOBJ_DIR): New.
9233 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
9234 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
9235 Use ac_config_libobj_dir to find the replacement files.
9236 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
9237 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
9238 (AC_REPLACE_FNMATCH_GNU): these.
9239 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
9240 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
9241 * tests/mktests.sh (ac_exclude_list): Don't check
9242 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
9244 2002-06-06 Paul Eggert <eggert@twinsun.com>
9246 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
9249 * doc/autoconf.texi (Configuration Links): Likewise.
9250 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
9252 2002-06-05 Paul Eggert <eggert@twinsun.com>
9254 * config/config.guess, config/config.sub, config/texinfo.tex:
9255 Update from masters.
9257 2002-05-29 Paul Eggert <eggert@twinsun.com>
9259 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
9260 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9261 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
9263 * lib/autoconf/Makefile.am (check-local): Likewise.
9264 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
9265 * lib/autoconf/types.m4 (commentary only): Likewise.
9266 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
9267 * lib/autotest/Makefile.am (check-local): Likewise.
9268 * lib/m4sugar/Makefile.am (check-local): Likewise.
9269 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
9270 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
9272 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
9273 * doc/autoconf.texi (Particular Programs): Document them.
9274 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
9277 2002-05-27 Paul Eggert <eggert@twinsun.com>
9279 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
9280 * NEWS, doc/autoconf.texi (Particular Types): Document it.
9281 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
9282 instead of AC_MBSTATE_T, which never existed.
9284 2002-05-23 Akim Demaille <akim@epita.fr>
9286 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
9287 version of Autoconf that is discussed.
9289 2002-05-22 Paul Eggert <eggert@twinsun.com>
9291 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
9292 from the default list of compilers to try. Suggested by
9294 * NEWS: Document the above.
9295 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
9297 2002-05-17 Paul Eggert <eggert@twinsun.com>
9299 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
9300 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
9301 This improves on an earlier suggestion by H. Peter Anvin.
9303 2002-05-16 Paul Eggert <eggert@twinsun.com>
9305 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
9306 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
9307 Both macros now accept an optional source-dir arg.
9308 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
9310 * NEWS: Document this.
9311 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
9313 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
9314 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
9315 not for GNU extensions; this undoes part of the 2000-11-03 change,
9316 reverting to 2.13-compatible behavior.
9317 Add new optional argument DIR.
9318 (AC_FUNC_FNMATCH_GNU): New macro.
9320 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
9322 2002-05-08 Paul Eggert <eggert@twinsun.com>
9324 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
9325 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
9326 and it causes a 'test' syntax error if it fails.
9327 Bug reported by Stephen Gildea.
9329 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
9330 If prototypes are supported, use them to check this at compile-time,
9331 instead of trying to check it at run-time. If we must do a run-time
9332 check, assume that setvbuf is standard when cross-compiling, as
9333 nonstandard setvbuf occurs only on ancient and unlikely hosts.
9334 Bug reported by Paul D. Smith.
9336 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
9337 argument specifying location of getloadavg.c. This removes a
9338 FIXME. This idea was taken from Jim Meyering's implementation in
9340 * doc/autoconf.texi (Particular Functions): Document this.
9341 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
9342 that's what the code does; this fixes a bug reported by
9345 2002-05-03 Akim Demaille <akim@epita.fr>
9347 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
9348 autopoint instead of gettextize.
9349 ($uses_alocal): Rename as...
9350 ($uses_aclocal): this.
9351 * doc/autoconf.texi (autoreconf Invocation): Adjust.
9352 Suggested by Bruno Haible.
9354 2002-05-03 Akim Demaille <akim@epita.fr>
9356 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
9358 2002-04-29 Paul Eggert <eggert@twinsun.com>
9360 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
9361 files to be 1 second older; just set them to be the same time.
9362 Also, sleep 1 second after the first aclocal, to work around
9363 problems with sub-second time stamps on the input files.
9365 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
9367 * doc/autoconf.texi: Mention "set -e -x" lossage
9368 under node "Limitations of Builtins".
9370 2002-04-29 Akim Demaille <akim@epita.fr>
9372 * doc/install.texi: Better wording for setting variables when
9374 From Christian Cornelssen.
9376 2002-04-29 Akim Demaille <akim@epita.fr>
9378 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
9379 of lack of $LINENO support, then the test will compare the $LINENO
9380 in testsuite vs. the lineno in the test file. This is wrong, of
9382 Be sure to protect it.
9383 Reported by Patrick Welche.
9385 2002-04-25 Akim Demaille <akim@epita.fr>
9387 * doc/autoconf.texi (Obsolete Macros): Typo.
9388 Reported by Vladimir Volovich.
9390 2002-04-25 Akim Demaille <akim@epita.fr>
9392 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
9393 than some of the input files, hence, on the second run of aclocal,
9394 if some of its input are younger, make them older.
9395 Suggested by Paul Eggert.
9397 2002-04-25 Akim Demaille <akim@epita.fr>
9399 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
9400 Thanks to Paul Eggert.
9402 2002-04-25 Akim Demaille <akim@epita.fr>
9404 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
9405 and ac_subst_vars be sh variables containing the list of
9406 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
9408 (_AC_INIT_PREPARE): Use them to log them.
9409 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
9410 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
9411 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
9412 _AC_SUBST_FILES and _AC_SUBST_VARS.
9413 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
9415 2002-04-24 Akim Demaille <akim@epita.fr>
9417 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
9418 autoheader, so that automake does not complain about a missing
9419 config.h.in that was to be created.
9421 2002-04-23 Akim Demaille <akim@epita.fr>
9423 * bin/autoheader.in (parse_args): --warning takes an argument.
9426 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
9428 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
9429 and bb.out when cleaning up.
9431 2002-04-22 Akim Demaille <akim@epita.fr>
9435 2002-04-22 Akim Demaille <akim@epita.fr>
9437 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
9439 2002-04-22 Akim Demaille <akim@epita.fr>
9441 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
9443 Reported by Gregory Giannoni.
9445 2002-04-22 Akim Demaille <akim@epita.fr>
9447 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
9448 Fixes false failures on Darwin.
9450 2002-04-21 Paul Eggert <eggert@twinsun.com>
9452 * TODO, bin/autoupdate.in, doc/autoconf.texi,
9453 lib/autoconf/general.m4, lib/autoconf/libs.m4,
9454 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
9455 tests/tools.at: Minor spelling and grammar fixes.
9457 2002-04-20 Paul Eggert <eggert@twinsun.com>
9459 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
9460 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
9461 * lib/autotest/general.m4 (AT_INIT): Likewise.
9462 * tests/atgeneral.m4 (AT_INIT): Likewise.
9464 2002-04-19 Paul Eggert <eggert@twinsun.com>
9466 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
9467 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
9468 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
9469 lib/autoconf/functions.m4, lib/autoconf/general.m4,
9470 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
9471 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
9472 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
9473 Minor spelling and grammar fixes.
9475 * doc/autoconf.texi: Follow the outline suggested in the GNU
9476 Sample Texts sections of the Texinfo 4.2 manual. Most
9477 importantly, this makes sure that the copyright notices appear in
9478 all output formats. You probably need Texinfo 4.2 to generate
9481 Fix some bugs when using "$@" when there might be zero positional
9482 arguments in cases where this matters.
9484 * bin/autoconf.as: Rewrite so that the problem does not come up.
9485 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
9486 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
9487 * lib/autotest/general.m4 (AT_INIT): Likewise.
9489 * bin/autoheader.in: Use 'case' statement to work around problem.
9490 * bin/auto4mte.in: Likewise.
9491 * bin/autoreconf.in: Likewise.
9492 * bin/autoscan.in: Likewise.
9493 * bin/autoupdate.in: Likewise.
9494 * bin/ifnames.in: Likewise.
9496 * doc/autoconf.texi (Shell Substitutions): Document the problem.
9498 * lib/autotest/general.m4 (AT_INIT):
9499 Use Zsh alias to work around problem.
9500 * tests/atgeneral.m4 (AT_INIT): Likewise.
9502 * tests/c.at: We can't have zero arguments, so remove workaround
9503 that is not portable to Zsh.
9505 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
9507 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
9508 from aclocal.m4 too.
9510 2002-04-12 Akim Demaille <akim@epita.fr>
9512 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
9514 2002-04-10 Akim Demaille <akim@epita.fr>
9516 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
9517 workaround for ${1+"$@"}.
9518 * doc/autoconf.texi (Shell Substitutions): Explain it.
9519 From Oliver Kiddle and Peter Stephenson.
9521 Have M4sh perform minimal shell sanitizing.
9523 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
9525 (_AS_PREPARE): this new macro.
9527 (AS_INIT): Invoke AS_SHELL_SANITIZE.
9528 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
9530 Adjust Autoconf and Autotest.
9532 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
9533 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
9534 * lib/autotest/general.m4 (AT_INIT): Likewise.
9535 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
9536 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
9539 Use this M4sh to generate Autoconf's shell scripts.
9541 * tests/wrapsh.as: New, precursor of wrapsh.in.
9542 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
9543 on Autotest and M4sh.
9544 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
9545 (wrapsh.in): New target.
9546 * bin/autoconf.as: New, precursor of autoconf.in.
9547 (autoconf.in): New target.
9549 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
9551 * doc/autoconf.texi (Limitations of Make): Mention the issue
9552 with indented comments in rules.
9554 2002-04-09 Andreas Schwab <schwab@suse.de>
9556 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
9557 ac_top_builddir when setting ac_abs_top_builddir.
9559 2002-04-06 Kevin Ryde <user42@zip.com.au>
9561 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
9562 (Portable Shell): Cross reference to Systemology.
9564 2002-04-05 Akim Demaille <akim@epita.fr>
9566 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
9567 directories when descending in a SUBDIRS.
9568 Reported by Ezra Peisach.
9570 2002-04-04 Andreas Schwab <schwab@suse.de>
9572 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
9573 contains no literal separators.
9575 2002-04-03 Akim Demaille <akim@epita.fr>
9577 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
9578 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
9579 Use dnl, not the KILL diversion.
9581 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
9582 (AC_CONFIG_LINKS): here.
9584 Don't use the KILL diversion, as it kills spurious output, which
9585 results in failures being hidden.
9586 Use m4_defn where appropriate.
9587 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
9588 after the second argument.
9590 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
9591 syntax, as it is provided by M4sugar.
9592 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
9594 2002-04-03 Andreas Schwab <schwab@suse.de>
9596 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
9597 expanded if $# <= 2.
9599 * bin/autoreconf.in (autoreconf): Run automake after rerunning
9602 2002-04-03 Akim Demaille <akim@epita.fr>
9604 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
9605 (_AC_COMPILER_EXEEXT_REJECT): New.
9606 Also recognize *.bb and *.bbg as compilation byproducts.
9607 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
9608 (_AC_COMPILER_OBJEXT): Use them.
9609 Fixes Debian #138666.
9611 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
9613 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
9615 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
9616 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
9617 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
9618 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
9620 (AC_C_INLINE): Same.
9621 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
9622 * doc/autoconf.texi, NEWS: Document.
9623 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
9626 2002-04-02 Akim Demaille <akim@epita.fr>
9628 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
9629 _AS_MKDIR_P_PREPARE.
9631 2002-03-28 Kevin Ryde <user42@zip.com.au>
9633 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
9634 to avoid versions of HP C which don't allow that.
9636 2002-03-27 Paul Eggert <eggert@twinsun.com>
9638 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
9639 (AS_SHELL_SANITIZE): Invoke it.
9640 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
9642 2002-03-26 Akim Demaille <akim@epita.fr>
9644 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
9646 2002-03-26 Akim Demaille <akim@epita.fr>
9648 * doc/autoconf.texi (Introduction): The GNATS base moved.
9650 2002-03-25 Paul Eggert <eggert@twinsun.com>
9652 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
9653 as POSIX requires, as it doesn't work with Zsh.
9654 * doc/autoconf.texi (Assignments): Document the problem.
9656 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
9658 * doc/autoconf.texi (Limitations of Make): Mention more issue
9659 about VPATH, overriding of macros in sub-makes, and handling of
9662 2002-03-21 Paul Eggert <eggert@twinsun.com>
9664 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
9665 problem with here-document buffer boundaries.
9667 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
9668 when reinvoking the shell, to work around problems with installers
9669 who put strange things like "cd" commands in their environments.
9671 2002-03-19 Akim Demaille <akim@epita.fr>
9673 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
9676 2002-03-19 Akim Demaille <akim@epita.fr>
9678 * bin/autoscan.in (scan_file): Specify the location in `&used'
9682 2002-03-19 Akim Demaille <akim@epita.fr>
9684 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
9685 From Nishio Futoshi.
9687 2002-03-19 Akim Demaille <akim@epita.fr>
9689 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
9691 2002-03-18 Paul Eggert <eggert@twinsun.com>
9693 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
9694 (Limitations of Usual Tools): Add mkdir section.
9696 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
9697 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
9698 back on AS_DIRNAME to compute prefixes otherwise; this is
9699 roughly what mkinstalldirs does. That way, we need not have
9700 our own filename disassembler. The old disassembler did not
9701 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
9703 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
9704 Create at_test_all by a series of assignments,
9705 not by a single assignment of a long string. The latter causes ksh
9706 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
9707 presumably because of a buffer overrun.
9709 2002-03-14 Paul Eggert <eggert@twinsun.com>
9711 * lib/autotest/general.m4 (at_times_skip):
9712 Renamed from at_times. Now a boolean.
9713 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
9714 says 'times: not found'.
9716 2002-03-14 Akim Demaille <akim@epita.fr>
9718 * bin/autoreconf.in (&study_gettextize): New.
9719 (&autoreconf): Handle newest gettextize.
9720 Rerun aclocal if needed.
9721 Suggested by Andreas Schwab.
9723 2002-03-13 Akim Demaille <akim@epita.fr>
9725 * doc/autoconf.texi (Special Shell Variables): More about IFS.
9727 2002-03-13 Akim Demaille <akim@epita.fr>
9729 * doc/autoconf.texi (Header Portability): New.
9730 Add information about stdint.h and inttypes.h from Paul Eggert.
9732 2002-03-13 Akim Demaille <akim@epita.fr>
9734 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
9738 2002-03-12 Akim Demaille <akim@epita.fr>
9740 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
9743 2002-03-11 Andreas Schwab <schwab@suse.de>
9745 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
9746 does not do it if --with-lispdir is given.
9748 2002-03-08 Akim Demaille <akim@epita.fr>
9752 2002-03-08 Akim Demaille <akim@epita.fr>
9754 * doc/autoconf.texi (Subdirectories): Clarify that the
9755 subdirectory should exist.
9757 2002-03-08 Akim Demaille <akim@epita.fr>
9759 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
9761 2002-03-08 Akim Demaille <akim@epita.fr>
9763 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
9764 aliases the actual variables, and modifications of the former
9767 2002-03-08 Akim Demaille <akim@epita.fr>
9769 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
9770 because of C-c: have m4 output in tmp files, then mv them.
9772 2002-03-08 Akim Demaille <akim@epita.fr>
9774 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
9775 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
9776 * bin/ifnames.in: Copyright update.
9778 2002-03-08 Akim Demaille <akim@epita.fr>
9780 * doc/autoconf.texi (Invoking autom4te): New.
9782 2002-03-05 Akim Demaille <akim@epita.fr>
9784 * doc/autoconf.texi (Specifying Names): Clarification suggested by
9787 2002-03-05 Akim Demaille <akim@epita.fr>
9791 2002-03-04 Akim Demaille <akim@epita.fr>
9793 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
9794 * lib/autoconf/general.m4 (AC_INIT): More informative error
9797 2002-03-04 Akim Demaille <akim@epita.fr>
9799 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
9802 2002-03-04 Akim Demaille <akim@epita.fr>
9804 * doc/autoconf.texi (Transforming Names): Equality between target
9805 and host is irrelevant.
9806 (Specifying Names, Canonicalizing): Remove all references to the
9807 backward compatibility hooks. Rather, collect them all into...
9808 (Hosts and Cross-Compilation): this new section.
9809 * doc/install.texi (System Type): Ditto.
9810 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
9811 that `--host' implies cross-compilation.
9813 2002-03-04 Akim Demaille <akim@epita.fr>
9815 * doc/autoconf.texi (Evaluation Macros): New.
9816 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
9818 (_m4_foreach): Define the variant with immediate evaluation so
9819 that it contains exactly the items, not an expression which
9820 evaluation is the current item.
9821 (m4_re_string, m4_re_word): Don't over quote them.
9823 2002-03-04 Akim Demaille <akim@epita.fr>
9825 Instead of having stacking `shift's evaluated at the end, let
9826 `foreach' loops immediately evaluate them.
9828 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
9829 $*. This is the n-th time I change my mind, but hopefully this is
9832 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
9834 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
9835 it was only a hack for m4_text_wrap.
9836 (m4_car2): Remove, replaced by...
9838 (_m4_foreach): Adjust.
9839 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
9840 m4_bpatsubst for clarification.
9842 2002-03-04 Akim Demaille <akim@epita.fr>
9844 * doc/autoconf.texi (Changequote is Evil): New.
9846 2002-03-03 Kevin Ryde <user42@zip.com.au>
9848 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
9849 on old systems like SunOS.
9851 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
9853 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9854 lib/autoconf/functions.m4, lib/autoconf/general.m4,
9855 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
9856 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
9859 2002-02-28 Akim Demaille <akim@epita.fr>
9861 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
9864 2002-02-28 Kevin Ryde <user42@zip.com.au>
9866 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
9868 2002-02-25 Akim Demaille <akim@epita.fr>
9870 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
9873 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
9875 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
9876 translate \r\n to \n.
9878 2002-02-07 Akim Demaille <akim@epita.fr>
9882 2002-02-07 Akim Demaille <akim@epita.fr>
9884 Fix Autoconf PR/209.
9885 Also reported by Frank Denis.
9887 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
9889 2002-02-07 Akim Demaille <akim@epita.fr>
9891 Fix Autoconf PR/207:
9892 AC_PREFIX_PROGRAM fails with dashed program names
9894 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
9895 variable when looking for the prefix program.
9896 Now it also works for shell variables.
9898 2002-02-07 Akim Demaille <akim@epita.fr>
9900 * doc/autoconf.texi (Limitations of Builtins): More about
9903 2002-02-06 Akim Demaille <akim@epita.fr>
9905 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
9906 case/esac, some shells don't support it.
9907 Reported by Zack Weinberg.
9908 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
9910 2002-02-06 Akim Demaille <akim@epita.fr>
9912 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
9913 sure not to introduce newlines in at_groups.
9914 * lib/autotest/Makefile.am (autotest.m4f): Typo.
9916 2002-02-06 Akim Demaille <akim@epita.fr>
9918 * tests/torture.at (Configuring subdirectories): Skip if aclocal
9921 2002-02-05 Paul Eggert <eggert@twinsun.com>
9923 * doc/autoconf.texi (Specific Compiler Characteristics):
9924 Describe HP-UX cc bug workaround more accurately.
9925 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
9927 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
9928 cross-compilers, too. This undoes some of the most recent change
9931 2002-02-05 Akim Demaille <akim@epita.fr>
9933 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
9934 to make sure they are up to date when `check' is run.
9936 2002-02-05 Akim Demaille <akim@epita.fr>
9938 * doc/autoconf.texi (Making testsuite Scripts): Document
9941 2002-02-05 Akim Demaille <akim@epita.fr>
9943 * lib/freeze.mk: New.
9945 2002-02-05 Akim Demaille <akim@epita.fr>
9947 Implement `autom4te --freeze'.
9949 * bin/autom4te.in (&freeze): New.
9950 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
9951 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
9953 2002-02-05 Akim Demaille <akim@epita.fr>
9955 * bin/autom4te.in (&parse_args): Implement `frozen files are
9956 optional are the sum of the previous files on the command line'.
9957 Also, pass `--reload-state=' on them, so...
9959 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
9960 (M4sh): Rely on M4sugar.
9961 (Autotest, M4sh, M4sugar): Use frozen files.
9963 2002-01-31 Akim Demaille <akim@epita.fr>
9965 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
9966 * doc/autoconf.texi (Initializing configure): Adjust.
9968 2002-01-30 Akim Demaille <akim@epita.fr>
9970 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
9971 alphanumeric to `-' instead of `_'.
9973 2002-01-30 Akim Demaille <akim@epita.fr>
9975 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
9976 for plain code, the other for cross-compilation code. The latter
9977 is now run with GCC only.
9978 * doc/autoconf.texi (Compilers and Preprocessors): New.
9980 2002-01-30 Akim Demaille <akim@epita.fr>
9982 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
9984 * doc/autoconf.texi (Initializing configure): Explain how to
9985 change AC_INIT default values.
9987 2002-01-29 Akim Demaille <akim@epita.fr>
9989 * tests/torture.at (Configuring subdirectories): Use configure.in,
9990 so that aclocal 1.4 works.
9991 Reported by Alexandre Duret-Lutz and Larry Schmitt.
9993 2002-01-28 Akim Demaille <akim@epita.fr>
9995 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
9998 2002-01-28 Akim Demaille <akim@epita.fr>
10000 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
10001 AUTOTEST_PATH *after* it was set.
10002 Don't put `.' in the PATH: the user should be precise and `./' if
10003 needed. In addition, given that the test suite does some `cd', if
10004 `.' is in the path, the `tested programs' sections will report
10005 programs found in the test suite's directory, while during the
10006 tests (performed in their own directory), these programs are no
10007 longer visible. In other words, the results is confusing and
10009 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
10011 2002-01-24 Akim Demaille <akim@epita.fr>
10015 2002-01-24 Akim Demaille <akim@epita.fr>
10017 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
10018 * doc/autoconf.texi: Finally add Akim as an author.
10020 2002-01-24 Akim Demaille <akim@epita.fr>
10022 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
10023 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
10024 Bourne. Use /bin/sh.
10025 From Andreas Buening.
10027 2002-01-24 Akim Demaille <akim@epita.fr>
10029 * config/config.guess, config/config.sub, config/texinfo.tex:
10030 Update from masters.
10032 2002-01-24 Akim Demaille <akim@epita.fr>
10034 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
10035 * config/auxdir.m4, config/cond.m4, config/depend.m4,
10036 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
10037 * config/missing.m4, config/sanity.m4, config/select.m4,
10038 * config/strip.m4: Remove, to ease sync'ing with any version of
10041 2002-01-24 Akim Demaille <akim@epita.fr>
10043 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
10044 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
10045 Reported by Geir Ove Myhr.
10047 2002-01-21 Akim Demaille <akim@epita.fr>
10049 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
10051 2002-01-21 Akim Demaille <akim@epita.fr>
10053 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
10054 message on invalid options.
10055 * bin/autom4te.in (parse_args): Don't use
10056 Autoconf::General::getopt with non valid options.
10058 2002-01-17 Jim Meyering <meyering@lucent.com>
10060 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
10061 $ac_cv_exeext so we don't use an old, invalid, cached value.
10063 2002-01-11 Akim Demaille <akim@epita.fr>
10065 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
10067 * doc/autoconf.texi (Function Portability): Document the strnlen
10069 (Particular Functions): Document AC_FUNC_STRNLEN.
10070 * lib/autoscan/functions: Adjust.
10072 2002-01-06 Akim Demaille <akim@epita.fr>
10074 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
10075 package.m4, since is really depends upon configure.ac, not
10077 * doc/autoconf.texi (testsuite Scripts): Adjust.
10078 * tests/Makefile.am (package.m4): New.
10079 EXTRA_DIST it since its a source.
10081 2002-01-06 Akim Demaille <akim@epita.fr>
10083 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
10084 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
10085 and PACKAGE_BUGREPORT from here...
10086 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
10088 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
10089 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
10090 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
10091 * tests/tools.at (autoheader): Adjust.
10092 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
10094 2002-01-06 Akim Demaille <akim@epita.fr>
10096 * bin/autoscan.in (scan_file): Use `&used'.
10098 2002-01-03 Akim Demaille <akim@epita.fr>
10100 * doc/autoconf.texi (Output): Improved wording regarding use of
10104 2001-12-18 Kevin Ryde <user42@zip.com.au>
10106 * doc/autoconf.texi (Function Portability): Add notes on sscanf
10107 sometimes needing writable input.
10109 2001-12-17 Jim Meyering <meyering@lucent.com>
10111 * doc/autoconf.texi (New Macros): Tweak wording.
10113 2001-12-14 Akim Demaille <akim@epita.fr>
10115 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
10116 trailing files, don't apply `-rf' to files which might not be
10117 created by configure (core, core.*, and *.core), but just `rm -f'.
10118 Suggested by Jonathan Kamens.
10120 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
10122 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
10124 2001-12-14 Akim Demaille <akim@epita.fr>
10126 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
10128 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
10130 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
10131 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
10132 abs_srcdir, top_srcpath to abs_top_srcdir.
10133 (_AC_OUTPUT_FILES): Adjust.
10134 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
10135 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
10136 * tests/wrappl.in, tests/wrapsh.in: Adjust.
10138 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
10140 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
10141 C/Fortran linking on HP/UX, by extracting the Fortran library
10142 search path from the LPATH line in the $F77 -v output.
10144 2001-12-12 Kevin Ryde <user42@zip.com.au>
10146 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
10147 forbidden file descriptors table.
10149 2001-11-26 Akim Demaille <akim@epita.fr>
10151 * bin/autoscan.in (%c_keywords): Build it at top level.
10152 Map to 1 in order to simplify its uses.
10154 2001-11-26 Akim Demaille <akim@epita.fr>
10156 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
10157 Remove $filepath, useless.
10158 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
10159 variables, they are really part of the tokens.
10160 Split the input line on spaces and then look for tokens.
10161 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
10162 because of `lex$U.$(OBJEXT)'.
10163 (&scan_files): Use "@list" instead of join.
10164 * doc/Makefile.am (CLEANFILES): Add *.fns.
10166 2001-11-26 Akim Demaille <akim@epita.fr>
10168 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
10169 Remove, replaced by...
10170 * tests/wrappl.in: Be common for all the Perl executables.
10171 In particular autoscan and autoheader want -I.
10172 * configure.ac: Adjust.
10173 * lib/autoscan/headers: errno.h is portable.
10175 2001-11-26 Akim Demaille <akim@epita.fr>
10177 * bin/autoscan.in (used): New.
10180 2001-11-26 Akim Demaille <akim@epita.fr>
10182 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
10184 (&scan_sh_file): Remove a duplicate pattern.
10185 (&check_configure_ac): Use long options.
10186 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
10188 2001-11-26 Akim Demaille <akim@epita.fr>
10190 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
10191 Before, having a line containing the opening of a multi line
10192 comment made the whole line be ignored.
10194 2001-11-26 Akim Demaille <akim@epita.fr>
10196 * doc/autoconf.texi (Using an Autotest Test Suite): New.
10197 (testsuite Scripts): Be one of its subsection.
10198 (Autotest Logs): New.
10200 2001-11-26 Akim Demaille <akim@epita.fr>
10202 Test groups are now run two directories deeper.
10204 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
10205 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
10207 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
10208 top_srcdir, builddir and top_builddir.
10209 Use `at_*dir' relatively to the directory containing the
10210 suite, use `*dir' when relatively to the current group dir.
10212 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
10214 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
10215 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
10216 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
10219 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
10221 * doc/autoconf.texi (Using System Type): Add an example of `case
10222 $host' usage so people quit using `case $target' everywhere.
10224 2001-11-22 Akim Demaille <akim@epita.fr>
10226 * doc/autoconf.texi (Installation Directory Variables): Englishoes
10227 spotted by Jim Meyering.
10229 2001-11-16 Paul Eggert <eggert@twinsun.com>
10231 This patch implements a `long double' suggestion by Oliver Kiddle.
10233 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
10234 static, to catch errors if the value isn't known at compile-time
10235 and the compiler supports dynamic arrays. Change its name from
10236 `_array_' to `test_array' to avoid potential name clashes.
10237 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
10238 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
10239 better than double. Catch a bug in GCC 2.95.2 x86.
10240 * doc/autoconf.texi (C Compiler): Document the above.
10243 2001-11-13 Akim Demaille <akim@epita.fr>
10245 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
10247 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
10249 2001-11-13 Akim Demaille <akim@epita.fr>
10251 * lib/autotest/general.m4 (AT_INIT): After having run the test
10252 group, go back to the initial directory, not to at_suite_dir.
10254 2001-11-13 Akim Demaille <akim@epita.fr>
10256 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
10257 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
10258 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
10260 (AT_CHECK_CONFIGURE): Use absolute paths.
10261 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
10262 The problem is still the old one: there is no means in M4 (that I
10263 know about) to create a defining macro, because there is no means
10264 to create `$1' etc., therefore, the defining macro ``swallows''
10265 all the arguments meant to the defined macro.
10267 2001-11-13 Akim Demaille <akim@epita.fr>
10269 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
10270 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
10272 * tests/aclocal.m4: Remove, as it is no longer used.
10274 2001-11-13 Akim Demaille <akim@epita.fr>
10276 * lib/autotest/general.m4: Change `tests?' into `groups?' in
10277 variable names when referring to a single test group, or to
10278 `suite' when referring to the whole test suite.
10279 `at_last_test' is removed: m4 compute at_format itself.
10280 (at_stdout, at_stder1, at_stderr): New variables.
10281 (AT_CHECK): Use them.
10283 2001-11-13 Akim Demaille <akim@epita.fr>
10285 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
10287 Create `testsuite.dir/003/run' instead of `testsuite.003'.
10288 Do it as soon as a test fails, don't wait till the end of the test
10290 Don't remove $as_me.[0-9]*, since these files no longer exist.
10292 2001-11-13 Akim Demaille <akim@epita.fr>
10294 * tests/tools.at: Use absolute paths, since we are no longer run
10297 2001-11-13 Akim Demaille <akim@epita.fr>
10299 Now that tests are running in their own private dir, there is no
10300 need to list the files to remove at the end of tests groups.
10302 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
10303 (AT_data_files, at_data_files): Remove.
10304 (AT_CLEANUP, AT_DATA): Simplify.
10306 Remove the group dir if !debug && !failed.
10307 * tests/atspecific.m4: Adjust.
10309 2001-11-13 Akim Demaille <akim@epita.fr>
10311 Start a new layout for Autotest: `testsuite' creates
10312 `testsuite.dir' in which the at-check-line etc. files are to be
10313 found, and `testsuite.dir/003' where the test group 3 is run.
10315 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
10316 at_check_line_file, at_format, at_test_normalized, at_group_dir
10318 Create the directories.
10319 Use absolute paths for at- files.
10320 (AT_CHECK): Adjust.
10322 2001-11-11 Michael Matz <matz@kde.org>
10324 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
10326 (m4_car): Properly quote arguments.
10328 2001-11-13 Akim Demaille <akim@epita.fr>
10330 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
10331 with stricter rules on LIBOBJS.
10333 2001-11-12 Paul Eggert <eggert@twinsun.com>
10335 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
10336 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
10339 2001-11-12 Akim Demaille <akim@epita.fr>
10341 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
10343 2001-11-12 Akim Demaille <akim@epita.fr>
10345 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10346 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
10347 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10348 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
10349 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
10350 specify to what the macro should be defined (typically to 1).
10352 2001-11-12 Akim Demaille <akim@epita.fr>
10354 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
10357 2001-11-12 Akim Demaille <akim@epita.fr>
10359 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10360 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
10361 definition used by Automake where LEX is +/- "${missing} lex" and
10362 `missing' itself contains variables.
10364 2001-11-12 Akim Demaille <akim@epita.fr>
10366 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
10367 Now that M4sh pushes BODY, the comments were output at the end of
10370 2001-11-08 Akim Demaille <akim@epita.fr>
10372 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
10373 that we can trace macros from aclocal.m4.
10374 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
10375 obsoleted, and redirect to the former anyway.
10376 Reported by Ralf Corsepius.
10378 2001-11-08 Akim Demaille <akim@epita.fr>
10380 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
10381 processed only if present.
10382 * tests/torture.at (Configuring subdirectories): Use autoreconf
10383 instead of successive calls to autoconf.
10384 Add a nonexistent subdirectory to exercise the patch above.
10385 Reported by Ralf Corsepius.
10387 2001-11-08 Kevin Ryde <user42@zip.com.au>
10389 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
10390 doesn't accept .S files.
10392 2001-11-07 Akim Demaille <akim@epita.fr>
10394 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
10395 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
10396 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
10397 * bin/autom4te.in (warn_forbidden): New.
10398 (handle_output): Use it.
10399 Read m4_pattern_forbid with messages.
10401 2001-11-05 Akim Demaille <akim@epita.fr>
10403 * bin/autom4te.in (--normalize): Remove.
10404 * lib/autom4te.in: Adjust.
10406 2001-11-05 Akim Demaille <akim@epita.fr>
10408 * tests/Makefile.am (testsuite): Rename this target as...
10409 ($(TESTSUITE)): this.
10412 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
10414 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
10415 the --prefix option, also remove it's argument.
10417 2001-11-05 Akim Demaille <akim@epita.fr>
10419 * doc/autoconf.texi (testsuite Invocation): Update.
10420 (Writing testsuite.at): Update.
10422 2001-11-03 Akim Demaille <akim@epita.fr>
10424 * doc/autoconf.texi: s/@code/@command/ where appropriate.
10426 2001-11-03 Akim Demaille <akim@epita.fr>
10428 * lib/Autom4te/General.pm: (&catfile, &canonfile)
10429 (&file_name_is_absolute): New, wrappers around routines from
10431 Use and export them.
10432 (&find_configure_ac): Optionally take a directory where to look at.
10433 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
10435 Default @ARGV to `.', not find_configure_ac.
10436 (&autoreconf): Argument is a directory.
10437 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
10438 * doc/autoconf.texi (autoreconf Invocation): Update.
10440 2001-11-03 Akim Demaille <akim@epita.fr>
10442 * lib/Autom4te/General.pm (@export_vars, @export_subs)
10443 (@export_forward_subs): New.
10444 Add basename, dirname, and fileparse.
10446 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
10447 Don't look for aclocal flags if we already know aclocal is not
10449 Move aclocal.m4t only if it exists.
10450 Reported by Ezra Peisach.
10452 2001-11-03 Akim Demaille <akim@epita.fr>
10454 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
10455 passed on command line, defaulting to ./configure.ac if present.
10456 (&maybe_autoreconf, File::Find): Remove, unused.
10457 (&autoreconf): If autoconf is not used, don't try to trace.
10459 2001-11-02 Akim Demaille <akim@epita.fr>
10461 * configure.ac: Bump to 2.52g.
10463 2001-11-02 Akim Demaille <akim@epita.fr>
10467 2001-11-02 Akim Demaille <akim@epita.fr>
10469 * config/config.guess, config/config.sub, doc/standards.texi:
10470 * config/lispdir.m4: Update from masters.
10471 * configure.ac: Bump to 2.52f.
10473 2001-11-02 Akim Demaille <akim@epita.fr>
10475 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
10476 Don't run aclocal when aclocal.m4 is not from aclocal.
10478 Don't run libtoolize and gettextize if --install is not given.
10480 2001-11-01 Paul Eggert <eggert@twinsun.com>
10482 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
10483 be invoked before _AS_LINENO_PREPARE.
10484 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
10485 than character ranges.
10487 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
10488 invoking AS_BASENAME. Set the locale variables to 'C' if
10489 possible, as POSIX requires this to get the traditional
10491 * doc/autoconf.texi (Special Shell Variables): Describe the above.
10493 2001-10-31 Paul Eggert <eggert@twinsun.com>
10495 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
10496 with {}, as that triggers a bug in Bash 2.05.
10498 (_AS_LINENO_PREPARE): Use Sed rather than
10499 Awk. Fix the sed prepass to work even if there are multiple
10500 instances of $LINENO on the same line. Do not substitute for
10501 other variables like $LINENOT. Do not check file dates; such a
10502 check is unreliable on sufficiently fast machines, and removing
10503 the check makes the code simpler and more reliable. Check for
10504 output and chmod failures.
10506 * doc/autoconf.texi (Special Shell Variables): Document
10509 2001-10-31 Akim Demaille <akim@epita.fr>
10511 * tests/Makefile.am (atconfig): Remove this target, Automake
10514 2001-10-31 Akim Demaille <akim@epita.fr>
10516 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
10517 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
10518 provided, while it is optional.
10519 * configure.ac: Adjust.
10521 2001-10-26 Paul Eggert <eggert@twinsun.com>
10523 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
10524 lib/Autom4te/Struct.pm:
10525 Require Perl 5.005_03 instead of just 5.005, as some tests fail
10528 * doc/autoconf.texi (Special Shell Variables): Document some
10529 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
10531 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
10532 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
10533 eval $LINENO is not portable in practice.
10535 2001-10-24 Akim Demaille <akim@epita.fr>
10537 * lib/Autom4te/General.pm (backname): New.
10539 2001-10-24 Akim Demaille <akim@epita.fr>
10541 * m4/: Remove, merged into...
10544 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
10546 * doc/autoconf.texi (Shellology): Mention the problems with bash
10547 2.05's use of ANSI quoting in its `set' builtin.
10549 2001-10-22 Paul Eggert <eggert@twinsun.com>
10551 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
10552 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
10553 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
10554 POSIX decided to standardize on the int flavor of strerror_r.
10555 Always do char* test, as there's no reason not to.
10556 Assign to a char* var, to catch strerror_r that returns int*.
10558 * doc/autoconf.texi (Particular Functions):
10559 Document the above changes. Also, document the fact that
10560 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
10562 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
10564 2001-10-20 Akim Demaille <akim@epita.fr>
10566 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
10567 the executable was missing from the log.
10569 2001-10-20 Akim Demaille <akim@epita.fr>
10571 * lib/Autom4te/General.pm (&update_file): If destination is
10572 unchanged, remove the source.
10573 (&up_to_date_p): Don't be verbose, be debug.
10574 * bin/autoreconf.in: No longer support --m4dir.
10575 (&autoreconf): Display the full path of the configure.ac we are
10577 Trace it only once.
10578 Be sure to honor --force with gettextize.
10579 Always run aclocal.
10580 * doc/autoconf.texi: Adjust.
10582 2001-10-20 Akim Demaille <akim@epita.fr>
10584 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
10586 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
10587 `intl' is already present, as it refuses unless --force.
10588 (&parse_args): Use -I, --include instead of the old Autoconf
10590 ($localdir, $autoconf_dir): Remove.
10592 (&maybe_autoreconf): New, to preserve $_ for File::Find.
10594 2001-10-19 Jens Petersen <petersen@redhat.com>
10596 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
10597 * doc/autoconf.texi (Particular Programs): Likewise.
10599 2001-10-19 Akim Demaille <akim@epita.fr>
10601 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
10602 file in @configure_input@.
10603 Don't mention `automatically' in addition to `generated'.
10604 * tests/torture.at (#define header templates): Adjust.
10606 2001-10-19 Akim Demaille <akim@epita.fr>
10608 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
10609 comment, explain how to install automatic mode selection.
10612 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
10614 * bin/autoreconf.in (autoreconf): Display the path to the
10615 configure.ac being studied.
10617 2001-10-18 Paul Eggert <eggert@twinsun.com>
10619 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
10620 long, to work around a bug in the HP C compiler version HP92453-01
10623 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
10624 (AS_BASENAME_EXPR): New macro.
10625 (AS_BASENAME_SED): Do not assume GNU sed semantics.
10626 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
10627 and fall back on 'sed' only if the other two fail. This makes
10628 AS_BASENAME act more like AS_DIRNAME.
10629 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
10630 contains white space.
10631 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
10632 Use AS_DIRNAME, since I think it's now DOS-friendly.
10633 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
10634 Allow "dirname //FOO" to return either / or //, as POSIX allows
10637 2001-10-10 Akim Demaille <akim@epita.fr>
10639 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
10640 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
10643 2001-10-10 Akim Demaille <akim@epita.fr>
10645 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
10646 m4_define, since...
10647 (_AS_ECHO_N): AS_REQUIREs it.
10649 2001-10-10 Akim Demaille <akim@epita.fr>
10651 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
10652 (AC_INCLUDES_DEFAULT): Move to...
10653 * lib/autoconf/headers.m4: here.
10654 * lib/autoconf/types.m4: Comment changes.
10655 * doc/autoconf.texi: Specify where the default includes are used
10656 in the macro prototypes.
10658 2001-10-09 Akim Demaille <akim@epita.fr>
10660 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
10663 2001-10-08 Akim Demaille <akim@epita.fr>
10665 * bin/autoreconf.in (&autoreconf): Remove debugging code.
10666 (&parse_args): Pass verbosity/debugging options to subtools when
10667 --debug, not when --verbose.
10668 * lib/autom4te.in (Autoreconf-preselections): New.
10669 (Autoconf): Use it.
10671 2001-10-08 Akim Demaille <akim@epita.fr>
10673 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
10675 2001-10-08 Akim Demaille <akim@epita.fr>
10677 * doc/autoconf.texi (autoreconf Invocation): Adjust.
10678 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
10680 2001-10-08 Akim Demaille <akim@epita.fr>
10682 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
10683 (Syntax of the shell scripts): Don't.
10684 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
10685 bother with $force since...
10686 * lib/Autom4te/General.pm: does.
10688 2001-10-08 Akim Demaille <akim@epita.fr>
10690 * bin/autoreconf.in: Rewrite in Perl.
10691 * configure.ac: Adjust.
10692 * lib/Autom4te/General.pm (&up_to_date_p): New.
10693 * bin/autom4te.in (&up_to_date_p): Use it.
10695 (&up_to_date): this.
10697 2001-10-08 Akim Demaille <akim@epita.fr>
10699 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
10700 (m4_list_cmp): Use $0 to reinvoke yourself.
10701 (m4_patsubsts): New.
10702 (m4_strip, m4_version_unletter): Use it.
10703 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
10705 2001-10-08 Akim Demaille <akim@epita.fr>
10707 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
10708 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
10709 * lib/autoconf/types.m4, lib/autotest/general.m4,
10710 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
10711 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
10712 m4_bregexp, m4_bpatsubst, and m4_bmatch.
10713 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
10715 2001-10-08 Akim Demaille <akim@epita.fr>
10717 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
10719 2001-10-08 Akim Demaille <akim@epita.fr>
10721 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
10722 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
10723 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
10724 * tests/tools.at, tests/m4sh.at: Use it.
10725 * tests/m4sh.at: Don't rely on Autoconf macros.
10726 (DIRNAME_TEST): Also exercise the expr variant.
10727 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
10728 preferred M4sugar extension is now `.4s'.
10729 * tests/README: Remove.
10731 2001-10-08 Akim Demaille <akim@epita.fr>
10733 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
10734 (m4_provide_if): this.
10735 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
10736 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
10737 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
10738 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
10740 2001-10-08 Akim Demaille <akim@epita.fr>
10742 Use `add-log-current-defun-function' for ChangeLog creation.
10743 Suggested by Tom Tromey.
10745 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
10746 (autotest-mode): Adjust.
10747 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
10748 'comment-region onto `C-c ;'.
10749 Comments are `#', not `dnl'.
10750 (autoconf-current-defun): New.
10751 (autoconf-font-lock-keywords): Recognize `m4_defun'.
10753 2001-10-08 Akim Demaille <akim@epita.fr>
10755 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
10756 * lib/m4sugar/m4sh.m4: here.
10757 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
10758 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
10759 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
10760 include handle the m4_pattern_*, no longer push the
10761 BODY diversion nor set the /bin/sh line, AS_INIT does it.
10762 * lib/autotest/general.m4 (AT_INIT): Likewise.
10763 * tests/base.at: Adjust the tests to use AS_INIT.
10764 * tests/tools.at (AT_DATA_FORBIDDEN): New.
10765 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
10768 2001-10-07 Paul Eggert <eggert@twinsun.com>
10770 * doc/autoconf.texi (config.status Invocation):
10771 CONFIG_SHELL defaults to a shell that supports LINENO if available.
10773 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
10774 shell does not support LINENO, and if CONFIG_SHELL is unset or
10775 empty, and if we can find a shell that does support LINENO,
10776 then set CONFIG_SHELL to that shell and then re-execute
10777 ourselves with CONFIG_SHELL.
10779 2001-10-05 Paul Eggert <eggert@twinsun.com>
10781 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
10782 doesn't exist. Remove *.tmp, as a .tmp file is created during the
10783 build of $(TESTSUITE).
10785 2001-10-05 Akim Demaille <akim@epita.fr>
10787 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
10788 iff we are a bareword.
10789 Reported by Raja R Harinath.
10791 2001-10-05 Akim Demaille <akim@epita.fr>
10793 * tests/m4sh.at (LINENO): New.
10794 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
10795 PATH_SEPARATOR before using it.
10796 Fix the absolute path case/esac pattern.
10797 Provide $0 as fallback for as_myself.
10798 Reported by Raja R Harinath.
10800 2001-10-05 Akim Demaille <akim@epita.fr>
10802 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
10803 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
10805 2001-10-05 Akim Demaille <akim@epita.fr>
10807 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
10808 (AS_SHELL_SANITIZE): here. Use it.
10809 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
10812 2001-10-04 Akim Demaille <akim@epita.fr>
10814 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
10815 combination of Awk and sed to replace $LINENO.
10817 2001-10-02 Paul Eggert <eggert@twinsun.com>
10819 * doc/autoconf.texi (Limitations of Builtins): You can't use
10820 "source"; it's not portable. Remove confusing and
10821 somewhat-incorrect example involving "." and "/".
10823 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
10824 compatibility with POSIX shells.
10826 2001-10-02 Akim Demaille <akim@epita.fr>
10828 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
10829 instead of exec'ing to preserve $0 and $@.
10831 2001-10-01 Akim Demaille <akim@epita.fr>
10833 * tests/testsuite (AT_INIT) <at_pass_list>: New.
10834 Don't run twice the same test.
10836 2001-10-01 Akim Demaille <akim@epita.fr>
10838 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
10839 No longer output the list of tests.
10840 <--list>: New option.
10841 <--full-help>: Remove.
10842 Complete the short/long options duality.
10843 Various small adjustments.
10845 2001-10-01 Akim Demaille <akim@epita.fr>
10847 * doc/autoconf.texi: Use @kbd for user input.
10848 Always use `$' as shell prompt.
10850 2001-09-30 Paul Eggert <eggert@twinsun.com>
10852 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
10853 Don't use nested parenthesization. This patch was originally
10854 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
10855 but somehow it didn't get incorporated then.
10856 * doc/autoconf.texi (Limitations of Usual Tools):
10857 Clarify remark about sed and nested parenthesization.
10859 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
10860 Report an error if the size cannot be determined even though
10862 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10863 Check for `expr' arithmetic overflow, and for compilation failure,
10864 and invoke a new argument $4 if either is discovered.
10865 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
10866 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
10868 2001-09-28 Akim Demaille <akim@epita.fr>
10870 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
10871 * m4/lispdir.m4: New.
10872 * aclocal.m4, configure.ac: Adjust.
10874 2001-09-28 Akim Demaille <akim@epita.fr>
10876 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
10878 (AT_INIT): More the wrapped section to where it will be expanded.
10879 Output `AT_tested' only when existing.
10880 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
10882 2001-09-27 Akim Demaille <akim@epita.fr>
10884 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
10885 generates too many bug reports.
10887 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
10888 status when executing the ACTION-IF-FALSE.
10889 * tests/base.at (AC_TRY_*): Rename as...
10890 (AC_TRY_COMMAND): this.
10891 (AC_RUN_IFELSE): New.
10892 * tests/compile.at (Extensions, C keywords)
10893 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
10894 (Broken/missing compilers, AC_PROG_CPP with warnings)
10895 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
10896 * tests/c.at (Extensions, C keywords)
10897 (Broken/missing compilers, AC_PROG_CPP with warnings)
10898 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
10899 (AC_PROG_CPP requires AC_PROG_CC): here and...
10900 * tests/fortran.at (GNU Fortran 77): there.
10901 * doc/autoconf.texi (autoconf Invocation): Fix the example:
10902 AC_TRY_RUN is about compilation, not shell commands.
10903 (Test Programs): AC_TRY_RUN works as used to be advertised.
10905 2001-09-27 Akim Demaille <akim@epita.fr>
10907 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
10909 Be sure to detect when $LINENO always returns the same value.
10910 Look for the original script, basename($0) is certainly not
10912 Pass the CLI arguments to `$as_me.lineno'.
10914 2001-09-25 Akim Demaille <akim@epita.fr>
10916 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
10917 Be sure the close and reopen the LOG fd before and after using tee
10919 <at_tests_pattern>: Adjust to the new format of at_help_all.
10921 2001-09-23 Akim Demaille <akim@epita.fr>
10923 * bin/autom4te.in (parse_args): There can be several invocations
10926 2001-09-23 Akim Demaille <akim@epita.fr>
10928 * doc/autoconf.texi (Top): Wrap in @ifnottex.
10930 2001-09-23 Akim Demaille <akim@epita.fr>
10932 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
10933 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
10934 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
10935 builddir, buildpath, top_builddir, and top_buildpath.
10936 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
10937 the current directory.
10938 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
10939 variables *before* changing the current directory.
10940 Skip nonexistent dirs.
10941 * doc/autoconf.texi (Preset Output Variables): Document these
10944 * lib/autotest/general.m4: Do not reset AT_victims.
10945 Don't compute at_srcdir nor at_top_srcdir.
10947 * tests/tools.at: Hence use top_srcdir.
10949 * tests/Makefile.am, tests/autoconf, tests/autoheader,
10950 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
10952 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
10953 * tests/wrapsh.in, tests/autoupdate.in: New.
10954 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
10955 * configure.ac: Build the position independent wrappers.
10957 * man/Makefile.am: Now that test wrappers are position
10958 independent, use them and drop dark envvar magic.
10960 2001-09-23 Akim Demaille <akim@epita.fr>
10962 * doc/autoconf.texi (Common Shell Constructs): Rename as...
10963 (Programming in M4sh): this.
10964 Promote to @section.
10966 2001-09-23 Akim Demaille <akim@epita.fr>
10968 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
10969 Pass $at_debug_args to the rerun test suite.
10970 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
10971 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
10974 2001-09-23 Akim Demaille <akim@epita.fr>
10976 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
10978 2001-09-23 Akim Demaille <akim@epita.fr>
10980 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
10983 2001-09-23 Akim Demaille <akim@epita.fr>
10985 * lib/Autom4te/General.pm (&debug): New.
10986 * bin/autom4te.in ($language): Move to...
10987 (parse_args): here.
10988 Handle --language in languages.
10989 * lib/autom4te.in (Automake-selections, Autoheader-selections)
10990 (Autoscan-selections): New.
10991 (Autoconf): Adjust.
10993 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
10995 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
10996 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
10997 to match current versions from CVS Automake.
10999 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
11001 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
11004 2001-09-22 Akim Demaille <akim@epita.fr>
11006 * lib/autoconf/autotest.m4: Create `package.m4'.
11007 * tests/Makefile.am (package.m4): Remove.
11009 2001-09-22 Akim Demaille <akim@epita.fr>
11011 Rely on `$LINENO' when possible instead of `__oline__'.
11013 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
11014 `$LINENO' support replacement when not supported.
11015 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
11016 them explicitly to be sure they are not output before this section
11017 (via m4_require). Cosmetic only.
11018 * lib/autoconf/c.m4, lib/autoconf/general.m4,
11019 * lib/autoconf/programs.m4: Replace all the occurrences of
11020 `__oline__' with `$LINENO'.
11021 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
11023 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
11025 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
11026 character (u: -> ue) in a code comment.
11027 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
11030 2001-09-21 Akim Demaille <akim@epita.fr>
11032 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
11033 Suggested by Jim Meyering.
11035 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11037 * lib/autoconf/programs.m4: Use extensions listed in
11038 $ac_executable_extensions when looking for programs.
11040 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11042 * lib/autoconf/general.m4: Fix a small Englisho.
11043 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
11044 setting up ac_dir_suffix and ac_top_builddir.
11045 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
11047 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11049 * doc/autoconf.texi (File System Conventions): Clarify the use of
11051 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
11052 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
11053 be used instead of ':'.
11054 * lib/autotest/general.m4: Replace occurrences of ':' in
11055 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
11057 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11059 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
11060 arguments. Fixed a typo.
11062 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11064 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
11065 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
11067 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11069 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
11070 * bin/autoupdate.in: Ditto.
11071 * bin/autoheader.in: Reworded a few comments.
11072 * bin/autoconf.in: Reworded help text for a few options.
11073 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
11074 * bin/autoscan.in, bin/autoupdate.in: Ditto.
11076 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11078 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
11079 already have $file). Set output files to binary mode (helps avoid
11080 CR issues on DOSish systems).
11082 2001-09-19 Akim Demaille <akim@epita.fr>
11084 * lib/autotest/general.m4: Englishoes.
11085 From Tim Van Holder and Alexey Mahotkin.
11087 2001-09-18 Paul Eggert <eggert@twinsun.com>
11089 * doc/autoconf.texi (Common Shell Constructs): New node,
11090 documenting AS_DIRNAME.
11091 (Limitations of Usual Tools): Refer to it when discussing dirname.
11092 Also, update discussion of POSIX standard to reflect latest draft.
11094 * lib/autoconf/c.m4:
11095 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
11097 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
11098 Do not pass a first argument with leading '-'
11099 to expr, by parenthesizing initial integers that might be negative.
11101 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
11102 now merely checks whether it is an error to pass an argument
11105 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
11106 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
11107 whether it is a (compile-time) error to pass an argument to
11108 getpgrp. This simpler test supports the revised documentation,
11109 and is all that AC_FUNC_GETPGRP's users really need.
11111 2001-09-18 Akim Demaille <akim@epita.fr>
11113 * doc/autoconf.texi (Limitations of Make) <$<>: New.
11115 2001-09-18 Akim Demaille <akim@epita.fr>
11117 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
11119 * lib/autotest/general.m4 (AT_INIT): Adjust.
11121 2001-09-18 Paul Wagland <paul@wagland.net>
11123 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
11125 Add test for AS_BASENAME.
11126 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
11127 added test. It now correctly handles /1/2/3/, returning '3' not ''.
11128 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
11129 * tests/base.at: Fixed the expected responses. The old ones were
11131 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
11132 the documentation claims it should (and how it behaved in 2.13).
11134 2001-09-18 Akim Demaille <akim@epita.fr>
11136 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
11137 the AC_CONFIG_COMMANDS invocation.
11138 This also solves the name clash problems.
11139 Don't set the package's ID.
11140 * lib/m4sugar/Makefile.am (version.m4): Revamp.
11141 No longer to be shipped.
11142 (version.in): Remove.
11143 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
11144 * lib/autoconf/status.m4: Adjust.
11145 Use `m4_PACKAGE_STRING'.
11146 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
11147 the only optional argument is the name of the test suite.
11148 Expect `package.m4' to define the package signature.
11149 * lib/autom4te.in (Autotest): Add `package.m4?'.
11150 * tests/Makefile.am (package.m4): New.
11151 * tests/suite.at: ifnames is a victim.
11153 2001-09-18 Akim Demaille <akim@epita.fr>
11155 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
11156 AC_LIBSOURCE, AC_CONFIG_FILES.
11157 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
11158 program version string doesn't match the package's.
11159 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
11162 2001-09-17 Paul Eggert <eggert@twinsun.com>
11164 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
11165 Allow expression to return any value that can fit into unsigned long
11166 (not int, as before). Check for output errors.
11168 2001-09-17 Bruno Haible <haible@ilog.fr>
11170 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
11171 Always include <stdio.h> and <stdlib.h>. Evaluate
11172 the expression in an extra function before these includes. Call
11173 fprintf "%d" only after ensuring the argument is of type 'int'.
11174 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
11176 2001-09-17 Paul Eggert <eggert@twinsun.com>
11178 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
11179 or CFLAGS=-O5. In that case, the linker has a relaxed view of
11180 fatal errors, and AC_CHECK_LIB causes it to include libraries even
11181 when they don't exist.
11183 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
11184 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
11187 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
11188 version with the version used by fileutils 4.1, except use
11189 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
11192 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
11194 2001-09-13 Akim Demaille <akim@epita.fr>
11196 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
11198 Reported by Gerrit P. Haase.
11200 2001-09-13 Akim Demaille <akim@epita.fr>
11202 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
11203 m4_defn'ing is valid.
11205 2001-09-13 Akim Demaille <akim@epita.fr>
11207 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
11208 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
11211 2001-09-13 Akim Demaille <akim@epita.fr>
11213 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
11215 (m4_re_escape): New.
11216 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
11217 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
11218 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
11220 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
11221 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
11222 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
11223 AT_tests_all for consistency.
11225 (AT_VICTIMS): Similar to AT_KEYWORDS.
11226 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
11228 2001-09-13 Akim Demaille <akim@epita.fr>
11230 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
11232 2001-09-13 Akim Demaille <akim@epita.fr>
11234 * lib/autotest/general.m4 (AT_INIT): Create and remove
11235 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
11236 test suites can cohabit.
11238 2001-09-13 Akim Demaille <akim@epita.fr>
11240 * tests/mktests.sh: Don't output banners for empty test files.
11242 2001-09-13 Akim Demaille <akim@epita.fr>
11244 Test suites can be run independently of configure.
11246 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
11247 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
11248 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
11250 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
11252 * lib/autotest/general.m4: Use ECHO_*.
11254 2001-09-13 Akim Demaille <akim@epita.fr>
11256 * bin/ifnames.in: Rewrite in Perl.
11257 * configure.ac: Don't look for AWK.
11258 * tests/tools.at (AWK portability): Remove.
11259 (Syntax of the shell scripts): Don't check ifnames.
11260 (AT_CHECK_PERL_SYNTAX): New.
11261 (Syntax of the Perl scripts): Check ifnames.
11262 * tests/ifnames: New.
11264 2001-09-13 Akim Demaille <akim@epita.fr>
11266 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
11268 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
11269 Remove all the other keywords.
11271 2001-09-10 Akim Demaille <akim@epita.fr>
11273 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
11274 SETUP: no longer used.
11275 Support -k, --keywords.
11276 <at_help>: Be `no', `short', or `long'.
11277 <at_help_all>: New variable.
11278 (AT_KEYWORDS): New.
11279 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
11280 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
11281 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
11282 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
11283 No longer fill the HELP diversion.
11284 (AT_CLEANUP): Use them.
11285 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
11286 (m4_list_append): Remove.
11288 Spread a few keywords in the Autoconf test suite.
11290 2001-09-10 Akim Demaille <akim@epita.fr>
11292 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
11293 PATH_SEPARATOR, let M4sh compute it.
11294 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
11295 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
11297 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
11298 Simplify when the path is not a literal.
11299 (AS_UNAME): Use it to report PATH.
11300 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
11301 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
11302 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
11303 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
11304 normalize the path, and to look for victims.
11305 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
11306 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
11308 2001-09-07 Akim Demaille <akim@epita.fr>
11310 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
11311 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
11312 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
11313 related variables into `at_package_*'.
11314 * lib/autotest/general.m4 (AT_VICTIMS): New.
11315 (AT_INIT): Adjust for stand-alone/embedded test suites.
11316 (AS_MESSAGE_LOG_FD): Define and use it.
11317 * tests/suite.at (AT_VICTIMS): Use it.
11318 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
11321 2001-09-07 Akim Demaille <akim@epita.fr>
11323 Move toward possibly stand-alone test suites.
11325 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
11326 in addition, it introduces useless differences in logs.
11327 (AT_INIT): Let atconfig and atlocal be both optional.
11328 Adjust PATH computation.
11329 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
11331 2001-09-07 Akim Demaille <akim@epita.fr>
11333 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
11334 m4sugar/version.m4.
11336 2001-09-05 Akim Demaille <akim@epita.fr>
11338 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
11339 to avoid GCC warnings.
11342 2001-09-05 Akim Demaille <akim@epita.fr>
11344 * bin/autom4te.in: --language is -l, not -s.
11346 2001-09-05 Akim Demaille <akim@epita.fr>
11348 Be ready to handle filenames as stupid as `dnl.at', for if even
11349 the maintainer is dumb enough to do that...
11351 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
11352 excellence in M4 quotation: consider `__file__' is active.
11354 And BTW, when invoking m4, pass the --include in the right order:
11357 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
11360 2001-09-05 Akim Demaille <akim@epita.fr>
11362 * lib/Autom4te/XFile.pm: New lib file.
11363 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
11364 * bin/autoheader.in: Use it.
11366 2001-09-05 Akim Demaille <akim@epita.fr>
11368 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
11371 2001-09-05 Akim Demaille <akim@epita.fr>
11373 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
11374 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
11376 * bin/autoscan.in: Use `getopt' and `find_files' etc.
11377 Add -I, --include support.
11378 * doc/autoconf.texi (autoscan Invocation): Adjust.
11380 2001-09-05 Akim Demaille <akim@epita.fr>
11382 CVS GNU M4 doesn't like `undefine(undefined)'.
11384 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
11385 New, extracted from main.
11386 Use IO::File wherever possible.
11387 (input.m4): Be constant, use -I instead of hard coding $tmp.
11388 Therefore be a quoted heredoc.
11389 Don't invoke `_au_disable', since ac was not loaded, but just
11392 2001-08-31 Akim Demaille <akim@epita.fr>
11396 2001-08-31 Akim Demaille <akim@epita.fr>
11398 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
11400 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
11402 2001-08-31 Akim Demaille <akim@epita.fr>
11404 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
11405 serious problems handling heredocs in heredocs.
11406 Reported by Nicolas Joly.
11408 2001-08-31 Akim Demaille <akim@epita.fr>
11410 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
11411 (Making testsuite Scripts): Update.
11413 2001-08-31 Akim Demaille <akim@epita.fr>
11415 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
11417 2001-08-31 Akim Demaille <akim@epita.fr>
11419 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
11420 (testsuite Scripts): There is no such thing as `atconfig.in'.
11421 And actually one diagram is missing: test suite runtime.
11423 2001-08-31 Akim Demaille <akim@epita.fr>
11425 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
11428 2001-08-31 Akim Demaille <akim@epita.fr>
11430 * bin/autoupdate.in (@include): `installcheck' revealed the path
11431 to m4sugar was lacking!
11433 2001-08-31 Akim Demaille <akim@epita.fr>
11435 * man/Makefile.am (.x.1): We really have to pass
11436 autom4te_perllibdir.
11438 2001-08-31 Akim Demaille <akim@epita.fr>
11440 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
11441 debug scripts, in particular passing explicitly listed tests to
11444 2001-08-31 Akim Demaille <akim@epita.fr>
11446 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
11447 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
11448 Use directly autom4te, not autoconf.
11449 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
11451 2001-08-31 Akim Demaille <akim@epita.fr>
11453 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
11454 * bin/autoheader.in (%symbol): Strip arguments of macros.
11456 2001-08-31 Akim Demaille <akim@epita.fr>
11458 * doc/autoconf.texi: Catch up -I, --include changes.
11460 2001-08-31 Akim Demaille <akim@epita.fr>
11462 * bin/autom4te.in (&parse_args): Die on unknown languages.
11463 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
11465 Promote --include over --macrodir and other obsolete options.
11467 2001-08-31 Akim Demaille <akim@epita.fr>
11469 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
11470 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
11471 * bin/autom4te.in ($autoconf): Pass --force.
11472 `print $out' doesn't print `$_' but `$out'.
11473 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
11474 (autoheader): Pass --force since the test suite goes too fast for
11476 Adjust to the new autoheader messages.
11478 2001-08-31 Akim Demaille <akim@epita.fr>
11480 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
11481 Check the completeness of the #template.
11482 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
11483 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
11486 2001-08-31 Akim Demaille <akim@epita.fr>
11488 * lib/Autom4te/General.pm (&find_file, &update_file): New.
11489 * bin/autoupdate.in, bin/autoheader.in: Adjust.
11490 Drop AC_MACRODIR dead for real.
11491 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
11492 `autoheader: `config.hin' is created'.
11493 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
11495 2001-08-31 Akim Demaille <akim@epita.fr>
11497 * bin/autoheader.in: Rewrite in Perl.
11498 * tests/autoheader: Adjust.
11500 2001-08-31 Akim Demaille <akim@epita.fr>
11502 * bin/autoconf.in (--include, -I): New option.
11503 Map --localdir, --autoconf-dir onto it.
11504 Forward autom4te's options instead of interpreting them.
11505 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
11506 There is no such envvar since the inception of autom4te.cfg.
11507 * bin/autom4te.in (&parse_args): Uniquify `@include'.
11508 * bin/autoupdate.in: Adjust, and perform more control.
11509 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
11510 * tests/autoconf: Dittowise.
11512 2001-08-31 Akim Demaille <akim@epita.fr>
11514 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
11515 * bin/autom4te.in (&find_file): Support `FILE?' standing for
11517 Use -e, not -f, since /dev/null for instance is OK.
11518 (&parse_args): Adjust.
11519 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
11521 2001-08-31 Akim Demaille <akim@epita.fr>
11523 * configure.ac: Also find tested executables in bin.
11524 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
11525 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
11526 installed peer executables, only PATH is allowed to resolve it.
11527 Pass `autoconf_dir' via options, not via invisible envvars.
11528 * lib/Autom4te/General.pm (&find_peer): Remove.
11529 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
11530 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
11531 * man/Makefile.am: Let help2man rely on PATH instead of trying to
11532 find the executables for it.
11533 * tests/Makefile.am: Major cleanup. Too lazy to document...
11534 * tests/atlocal.in: Remove all the obscure envvar manipulations.
11536 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
11537 indeed related to running the test suite, while passing
11538 --autoconf-dir and others is related to running non installed
11539 Autoconf executables. So don't do that, leave it to...
11540 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
11541 * tests/autoscan: New.
11542 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
11543 refer to library files: rely on --language.
11545 2001-08-29 Akim Demaille <akim@epita.fr>
11547 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
11548 s/--set/--language/.
11550 2001-08-29 Akim Demaille <akim@epita.fr>
11552 * doc/autoconf.texi: Strip the @nodes.
11553 Suggested by Paul Eggert.
11554 (Initializing configure): Typo.
11556 2001-08-29 Akim Demaille <akim@epita.fr>
11558 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
11559 Suggested by Paul Eggert.
11561 2001-08-29 Akim Demaille <akim@epita.fr>
11563 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
11564 download in a tmp dir.
11566 2001-08-29 Akim Demaille <akim@epita.fr>
11568 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
11569 case insensitive OSes out there :(
11570 From Tim Van Holder.
11572 2001-08-29 Akim Demaille <akim@epita.fr>
11574 * lib/autom4te.in: New.
11575 * lib/Makefile.am (edit, autom4te.cfg): New.
11576 * bin/autom4te.in (BEGIN): Simplify.
11577 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
11578 (&load_configuration): New. Use it.
11579 (&parse_args): Support --mode, --set, and --melt.
11580 * bin/autoconf.in: Simplify and adjust.
11581 * tests/Makefile.am (AUTOMAKE): Use --set.
11582 * tests/atlocal.in: Adjust.
11583 * BUGS: distcheck and check are weak.
11585 2001-08-29 Akim Demaille <akim@epita.fr>
11587 * lib/autotest/general.m4: Use
11588 foo=`(command) 2>/dev/null`
11590 foo=`command` 2>/dev/null
11591 (at-devnull): Rename as...
11592 (AT-devnull): this.
11593 (--clean): Remove AT-* files too.
11594 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
11595 Reported by Nicolas Joly.
11597 2001-08-28 Akim Demaille <akim@epita.fr>
11599 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
11600 quotes inside single quotes.
11601 Reported by Nicolas Joly.
11603 2001-08-28 Kevin Ryde <user42@zip.com.au>
11605 * doc/autoconf.texi (Function Portability): Mention C right shifts.
11607 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
11609 * lib/autotest/general.m4: Reword some messages.
11610 (AT_INIT): Check for the `times' builtin before using it.
11611 Support test ranges as arguments to the testsuite.
11612 Have -e imply -d as the help text suggested.
11614 2001-08-27 Akim Demaille <akim@epita.fr>
11616 * Makefile.maint: Formatting changes.
11617 (do-po-update, po-update, cvs-update, update): New targets.
11620 2001-08-27 Akim Demaille <akim@epita.fr>
11622 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
11623 <at_cmd_line>: New.
11624 Pass it to debug-*.sh scripts.
11625 <AUTOTEST_PATH>: May contain absolute dir names.
11627 2001-08-27 Akim Demaille <akim@epita.fr>
11629 * lib/autotest/general.m4 (AT_INIT): Log the command line.
11630 Support `VAR=VAL' as arguments.
11631 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
11632 may be set via the command line.
11634 2001-08-27 Akim Demaille <akim@epita.fr>
11636 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
11637 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
11638 first the build dirs, then the src dirs.
11639 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
11641 2001-08-27 Akim Demaille <akim@epita.fr>
11643 * lib/autotest/general.m4 (AT_INIT): Output the definition of
11644 at_data_files earlier.
11645 (--clean, -c): New option.
11646 * tests/Makefile.am: Use this option.
11648 2001-08-27 Akim Demaille <akim@epita.fr>
11650 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
11651 `ac_top_builddir' to mimic Automake's vocabulary, which much more
11654 * doc/autoconf.texi (Configuration Actions): Document the vars
11655 available in commands.
11656 Emphasize the risks of collisions in init-cmds.
11658 2001-08-27 Akim Demaille <akim@epita.fr>
11660 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
11661 (Initializing configure): this new node.
11663 2001-08-27 Akim Demaille <akim@epita.fr>
11665 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
11667 2001-08-27 Akim Demaille <akim@epita.fr>
11669 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
11670 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
11672 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
11674 2001-08-27 Akim Demaille <akim@epita.fr>
11676 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
11678 * lib/autoconf/autoheader.m4: this new file.
11679 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
11680 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
11682 * lib/autoconf/autoupdate.m4: this new file.
11684 2001-08-27 Akim Demaille <akim@epita.fr>
11686 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
11687 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
11688 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
11690 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
11691 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
11693 2001-08-27 Akim Demaille <akim@epita.fr>
11695 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
11696 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
11697 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
11698 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
11699 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
11700 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
11701 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
11702 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
11703 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
11704 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
11705 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
11706 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
11707 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
11708 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
11709 (_AC_OUTPUT_SUBDIRS): Move to...
11710 * lib/autoconf/status.m4: this new file.
11711 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
11712 * tests/Makefile.am, tests/suite.at: Adjust.
11714 2001-08-27 Akim Demaille <akim@epita.fr>
11718 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
11719 (AMTAR): Help automake define it.
11720 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
11721 needed, 1.5 can have a macro and a target with the same name.
11722 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
11723 * m4/strip.m4: New.
11724 * m4/init.m4, m4/sanity.m4: Update.
11725 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
11726 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
11727 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
11728 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
11730 2001-08-27 Akim Demaille <akim@epita.fr>
11732 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
11734 * lib/autoconf/version.in: Remove.
11735 * lib/m4sugar/version.in: New.
11736 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
11738 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
11739 the name of the directory they're in, instead of the filename,
11740 since version.m4 is now in m4sugar, but m4_acversion must not be
11741 classified as an Autoconf macro.
11742 ($input_m4): Don't qualify the path to m4sugar.
11743 Rather, pass autoconf_dir to m4.
11744 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
11745 * tests/suite.at: Require 2.52c.
11747 2001-08-27 Akim Demaille <akim@epita.fr>
11749 testsuite.log should include config.log.
11751 * lib/autotest/autotest.m4: New.
11752 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
11753 * tests/suite.at : Adjust.
11754 (AT_INIT): Log config.log.
11755 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
11756 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
11757 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
11758 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
11759 of config.log on traps.
11760 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
11761 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
11762 for config.status'.
11763 Open the log as soon as possible.
11764 Use the same log introduction as configure's.
11766 2001-08-22 Paul Eggert <eggert@twinsun.com>
11768 * doc/autoconf.texi (Indices): New node.
11769 Move indices out of the top level menu and into this submenu.
11771 2001-08-22 Akim Demaille <akim@epita.fr>
11773 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11775 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
11777 2001-08-22 Akim Demaille <akim@epita.fr>
11779 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
11780 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
11781 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
11782 * lib/autoconf/programs.m4: here.
11783 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
11784 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
11785 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
11786 * lib/autoconf/programs.m4: here.
11787 (_AC_DECL_YYTEXT): Rename as...
11788 (_AC_PROG_LEX_YYTEXT_DECL): this.
11789 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
11790 * tests/Makefile.am, tests/suite.am: Adjust.
11792 2001-08-22 Akim Demaille <akim@epita.fr>
11794 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
11796 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
11798 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
11799 * lib/autoconf/functions.m4: here.
11800 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
11801 (AH_CHECK_LIB): Move to...
11802 * lib/autoconf/libs: this new file.
11803 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
11804 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
11805 * lib/autoconf/libs.m4: here.
11806 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
11808 2001-08-22 Akim Demaille <akim@epita.fr>
11810 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
11811 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
11812 (AC_SITE_LOAD): Better logging of config.site.
11814 2001-08-20 Akim Demaille <akim@epita.fr>
11816 * configure.ac (AT_CONFIG): Fix the path.
11817 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
11820 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
11822 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
11823 program with AC_LANG_PROGRAM before feeding it to
11824 AC_COMPILE_IFELSE. Cleanup grep usage.
11826 2001-08-20 Akim Demaille <akim@epita.fr>
11828 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
11829 * NEWS, README, README-alpha, TODO, tests/README: This package is
11830 `Autoconf', not `autoconf' (the executable).
11832 2001-08-20 Akim Demaille <akim@epita.fr>
11834 Info readers seem to need `Index' in the index node title :(
11836 * doc/autoconf.texi: Reverse the 2001-08-15 change which
11837 simplified index node names.
11839 2001-08-20 Akim Demaille <akim@epita.fr>
11841 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
11842 arguments are not literals.
11843 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
11844 Specify the output variables, and macros defined.
11846 2001-08-20 Akim Demaille <akim@epita.fr>
11848 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
11849 (Examining Syntax) <AC_TRY_COMPILE>
11850 (Examining Libraries) <AC_TRY_LINK>
11851 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
11853 Reported by Werner Lemberg.
11855 2001-08-20 Akim Demaille <akim@epita.fr>
11857 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
11858 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
11859 Load atlocal late enough to dump it in the log.
11860 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
11862 2001-08-20 Akim Demaille <akim@epita.fr>
11864 * tests/torture.at (Configuring subdirectories): New test.
11865 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
11867 * m4/atconfig.m4: Be sure the let $[0] be expandable.
11868 (top_srcdir): Fix its computation.
11870 2001-08-20 Akim Demaille <akim@epita.fr>
11872 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
11873 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
11875 Create `atconfig' automagically.
11876 Configure atlocal.in if present.
11877 * tests/atconfig.in: Remove.
11878 * tests/atlocal.in: New.
11879 * tests/Makefile.am: Adjust.
11881 2001-08-20 Akim Demaille <akim@epita.fr>
11883 Huh!?!?! There are still some user EOF tags used, which prevents
11884 their use in AC_CONFIG_COMMANDS for instance...
11886 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
11887 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
11888 `_CSEOF', or `_ATEOF', as appropriate.
11889 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
11890 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
11892 2001-08-20 Akim Demaille <akim@epita.fr>
11894 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
11895 * tests/semantics.at, tests/tools.at, tests/torture.at:
11896 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
11898 2001-08-20 Akim Demaille <akim@epita.fr>
11900 Autotest invokes M4sh's initialization.
11902 * lib/autotest/general.m4: Adjust the diversion names.
11903 (AT_INIT): Run AS_INIT.
11904 Use the BINSH diversion to invoke /bin/sh.
11905 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
11906 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
11908 2001-08-20 Akim Demaille <akim@epita.fr>
11910 Let M4sh have its own diversions.
11912 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
11913 (_m4_divert(NOTICE)): Rename as...
11914 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
11915 (_m4_divert(HEADER-COMMENT)): these.
11916 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
11917 (_m4_divert(NOTICE)): New, for Libtool.
11918 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
11919 long ago with `_m4_divert(GROW)'.
11920 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
11922 2001-08-20 Akim Demaille <akim@epita.fr>
11924 * tests/base.at, tests/compile.at, tests/foreign.at,
11925 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
11926 * tests/semantics.at, tests/suite.at, tests/tools.at,
11927 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
11929 2001-08-20 Akim Demaille <akim@epita.fr>
11931 * bin/autom4te.in (handle_output): Handle @__@.
11933 2001-08-20 Akim Demaille <akim@epita.fr>
11935 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
11936 * lib/autotest/general.m4: Adjust the license.
11938 2001-08-17 Paul Eggert <eggert@twinsun.com>
11940 * doc/autoconf.texi (Function Portability): Mention snprintf,
11941 following up on a suggestion by Kevin Ryde.
11943 2001-08-17 Akim Demaille <akim@epita.fr>
11945 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
11946 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
11948 2001-08-17 Akim Demaille <akim@epita.fr>
11950 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
11951 `$0.log' as for projects where testsuite is in src, we'd have
11952 testsuite.log created in src.
11954 2001-08-17 Akim Demaille <akim@epita.fr>
11956 * bin/autom4te.in (&parse_args): Recognize --normalize.
11958 2001-08-17 Akim Demaille <akim@epita.fr>
11960 Start implementing the AC_CHECK_HEADER transition scheme.
11962 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
11963 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
11964 (AC_CHECK_HEADER): Use them.
11966 2001-08-17 Akim Demaille <akim@epita.fr>
11968 * doc/autoconf.texi: Work around Texinfo buglets.
11969 (Transformation Rules): One example is enough, users are expected
11970 to have their brains on. And BTW, use DESTDIR.
11971 (dvar): New macro. Use it.
11973 2001-08-17 Akim Demaille <akim@epita.fr>
11975 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
11976 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
11977 looking for ChangeLogs.
11979 2001-08-17 Akim Demaille <akim@epita.fr>
11981 * bin/autom4te.in: --normalize is a new option.
11982 * bin/autoconf.in: Use it.
11984 2001-08-17 Akim Demaille <akim@epita.fr>
11986 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
11987 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
11989 2001-08-16 Paul Eggert <eggert@twinsun.com>
11991 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
11994 2001-08-15 Akim Demaille <akim@epita.fr>
11996 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
11999 2001-08-15 Akim Demaille <akim@epita.fr>
12001 * doc/autoconf.texi (pr): New index.
12002 (prindex, findex): Use, merge, and output them.
12003 (Environment Variable Index, Output Variable Index)
12004 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
12005 (Autotest Macro Index): Rename as...
12006 (Environment Variables, Output Variables,Preprocessor Symbols)
12007 (Autoconf Macros, M4 Macros, Autotest Macros): these.
12008 * doc/install.texi: Use @command.
12009 (Environment Variables): Rename as...
12010 (Defining Variables): this.
12012 2001-08-15 Akim Demaille <akim@epita.fr>
12014 * doc/autoconf.texi (Function Portability): sprintf's return
12018 2001-08-15 Akim Demaille <akim@epita.fr>
12020 * Makefile.maint (CVS): New.
12021 (local-check): Run changelog-check. last.
12022 (alpha): Don't depend upon local-check, since...
12023 (cvs-dist): depends upon it.
12025 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
12027 * tests/Makefile.am: Use a clean-local rule to remove
12028 autom4te.cache (it's a directory, not a file.
12029 * Makefile.am: Ditto (but maintainer-clean-local).
12031 2001-08-15 Akim Demaille <akim@epita.fr>
12033 * bin/autom4te.in (@m4_warning): New.
12034 (&handle_m4): Use it.
12035 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
12036 warnings are issued at each run.
12037 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
12038 is in the src tree.
12040 2001-08-15 Akim Demaille <akim@epita.fr>
12042 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
12043 don't waste time running `autoupdate --version' works.
12044 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
12046 2001-08-13 Akim Demaille <akim@epita.fr>
12048 * doc/autoconf.texi (ma): Rename this index as...
12051 2001-08-13 Akim Demaille <akim@epita.fr>
12053 * Makefile.am: Remove dead code and dead comments.
12054 (pdf, html): New targets.
12055 * doc/autoconf.texi (Using Autotest): New chapter.
12056 * doc/Makefile.am (pdf): New targets.
12057 (CLEANFILES): Adjust.
12059 2001-08-13 Akim Demaille <akim@epita.fr>
12061 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
12062 duration of the test suite.
12064 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
12066 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
12067 endianness for comparison instead of relying on AT_CHECK_ENV.
12069 2001-08-11 Paul Eggert <eggert@twinsun.com>
12071 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
12072 to the INSTALL file.
12074 2001-08-11 Paul Eggert <eggert@twinsun.com>
12076 * NEWS: The autoconf manual now is distributed under the terms
12077 of the GNU Free Documentation License.
12079 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
12080 Add an appendix "Copying This Manual" for the FDL.
12082 * doc/fdl.texi: New file, from
12083 <http://www.gnu.org/licenses/fdl.texi>.
12085 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
12087 2001-08-10 Paul Eggert <eggert@twinsun.com>
12089 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
12090 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
12091 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
12092 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
12093 m4/sanity.m4, tests/README, tests/aclocal.m4,
12094 tests/atspecific.m4, tests/base.at, tests/compile.at,
12095 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
12096 tests/semantics.at, tests/suite.at, tests/tools.at,
12097 tests/torture.at: Add copyright notice.
12099 * tests/mktests.sh: Update year in copyright notice.
12101 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
12103 * tests/semantics.at (AC_C_BIGENDIAN): New test.
12105 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
12107 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
12108 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
12109 * doc/autoconf.texi (C Compiler Characteristics): Update
12110 documentation for AC_C_BIGENDIAN.
12112 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
12114 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
12115 magic values from an object file when cross-compiling.
12116 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
12118 2001-08-10 Akim Demaille <akim@epita.fr>
12120 * bin/autom4te.in (&handle_output): Don't use `grep' with side
12122 Suggested by Russ Allbery.
12124 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12126 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
12127 current $prefix to the sub-configures.
12129 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
12131 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
12132 extension (needed on BeOS). Reported by Guido van Rossum.
12134 2001-08-09 Akim Demaille <akim@epita.fr>
12136 * bin/autom4te.in ($icache): Load it only if older than autom4te.
12138 2001-08-07 Akim Demaille <akim@epita.fr>
12140 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
12142 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
12143 No need to remove the files before and after the each test, before
12144 each test and at the end of the suite is enough.
12145 Display only the children `times', not the shell's.
12146 If the test failed or was skipped, at-times is not available.
12148 2001-08-07 Akim Demaille <akim@epita.fr>
12150 Always produce testsuite.log, including when there are no
12151 failures. This helps getting information on skipped tests, and
12152 duration of the tests. Err, implement the latter btw.
12154 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
12155 Dump information on the first run of each test.
12156 (AT_CLEANUP): Create `at-times' containing the duration of the
12159 2001-08-07 Akim Demaille <akim@epita.fr>
12161 The use of `dumpstat' revealed that `len' was used although it
12162 should not. m4_text_wrap was using it, but in the Autoconf world
12163 where it is legal. Hence (i) test M4sh in its own world, not
12164 Autoconf's, and (ii), ahem, fix the bug :)
12166 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
12167 does not like `' instead of [].
12168 (AT_INIT): Forbid `^_?AT_'.
12169 And don't output such tokens.
12170 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
12171 `script.as', and `autom4te.cache'.
12172 Remove `empty' and `macro' which are no longer used.
12173 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
12174 * tests/m4sugar.at: Use it.
12175 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
12177 2001-08-07 Akim Demaille <akim@epita.fr>
12179 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
12181 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
12183 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
12185 2001-08-04 Akim Demaille <akim@epita.fr>
12187 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
12188 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
12190 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
12191 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
12192 (AC_F77_MAIN): Likewise.
12194 2001-08-04 Akim Demaille <akim@epita.fr>
12196 Don't rely on M4sugar outputting the patterns in files, since we
12197 might process the output _without_ running m4, hence without these
12200 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
12201 * bin/autom4te.in (@Request::includes): Remove, unused.
12202 (@Request::source): Rename as...
12203 (@Request::input): this.
12204 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
12205 (&handle_output): Fetch the patterns from the traces.
12206 `$forbidden' and `$allowed' are constant: use m//o.
12207 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
12208 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
12210 2001-08-04 Akim Demaille <akim@epita.fr>
12212 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
12213 autoconf', i.e., in addition to caching traces, cache the output.
12215 * bin/autom4te.in (Request::cache): Rename as...
12216 (Request::id): this.
12217 ($cache, $icache, $tcache, $ocache): New.
12218 (&handle_m4): Save M4 output in the cache instead of $tmp.
12219 (&handle_output): Adjust.
12220 (&up_to_date_p): Check that the output cache is up to date too.
12221 (top level): Run `&handle_m4' iff force or the cache is invalid.
12222 Run `&handle_output' if the output cache is more recent.
12224 2001-08-04 Akim Demaille <akim@epita.fr>
12226 * bin/autom4te.in ($force): New.
12227 (&parse_args, &print_usage): -f, --force is a new option.
12228 (&handle_output): CPP directives might have spaces after `#'.
12229 (&parse_args): The first file only can be frozen.
12231 2001-08-04 Akim Demaille <akim@epita.fr>
12233 Don't let autom4te compute the `include' traces several times:
12234 first check that the trace cache file is up to date, and then
12235 compare its timestamp with that of the output.
12237 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
12238 the preamble. Don't require 5.005 as Autom4te::General does it,
12239 and better yet (use `use', not `require'!).
12240 * lib/Autom4te/Struct.pm: Rename the last occurrences of
12241 Class::Struct as Autom4te::Struct.
12242 * lib/Autom4te/General.pm (File::stat): Use it.
12243 (&mtime): New, export it.
12244 * bin/autom4te.in: Use it.
12245 Declare `$req' is invalid if it is outdated.
12246 Don't declare it valid before saving it if something went wrong.
12248 2001-08-04 Akim Demaille <akim@epita.fr>
12250 Autom4te shall not encode Autoconf data, and preselecting traces
12251 must be proposed to the users.
12253 * bin/autom4te.in (@required_trace): Remove.
12255 (&parse_args, &print_usage): -p, --preselect is a new option.
12256 (&up_to_date_p): Adjust.
12257 * bin/autoconf.in: Preselect some Autoconf macros.
12259 2001-08-04 Akim Demaille <akim@epita.fr>
12261 * tests/tools.at (autoconf --trace: user macros): Check traces on
12262 macros invoked without arguments, and macros invoked with multiple
12265 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
12267 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
12270 2001-08-03 Akim Demaille <akim@epita.fr>
12272 * bin/autoconf.in ($@): Work around the usual sh bug.
12275 2001-08-03 Akim Demaille <akim@epita.fr>
12277 Clean up the handling of the M4 builtins tracing exception.
12279 * bin/autom4te.in (Request::request): Don't complete M4 builtins
12281 (@m4_builtins): Rename as...
12282 (@m4_builtin): this.
12283 (%m4_builtin_alternate_name): New.
12284 (&parse_args): Complete the trace requests with alternate names.
12285 (&handle_traces): Hence no longer do it here.
12286 (&trace_requests): Remove, unused.
12288 2001-08-03 Akim Demaille <akim@epita.fr>
12290 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
12291 m4_if, and m4_wrap.
12293 2001-08-03 Akim Demaille <akim@epita.fr>
12295 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
12296 (m4_divert_pop): Dump the whole diversion stack when a diversion
12298 * bin/autom4te.in (&handle_output): Remember of the first
12299 occurrence of a possibly undefined macro, not the last.
12300 Complain about the possibly undefined macros in the same order as
12301 the appear in the output.
12302 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
12303 * tests/tools.at (autoconf: forbidden tokens, basic)
12304 (autoconf: forbidden tokens, exceptions): No longer sort
12305 autoconf's stderr, as it is now deterministic.
12306 Check that `dnl' is caught.
12308 2001-08-01 Akim Demaille <akim@epita.fr>
12310 * configure.ac: Bump to 2.52c.
12312 2001-08-01 Akim Demaille <akim@epita.fr>
12316 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
12318 2001-08-01 Akim Demaille <akim@epita.fr>
12322 2001-08-01 Akim Demaille <akim@epita.fr>
12324 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
12327 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
12328 `END', as `Autom4te::General::END' will be triggered.
12329 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
12330 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
12331 system to run `mv', `rm', and `cmp'.
12333 2001-08-01 Akim Demaille <akim@epita.fr>
12335 * lib/Autom4te/General.pm (&unique): New.
12336 * bin/autoscan.in (&output): Use it to issue trace requests once.
12338 2001-08-01 Akim Demaille <akim@epita.fr>
12340 * lib/Autom4te/General.pm: New.
12341 * bin/autom4te.in (Autom4te::General): Use it.
12342 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
12343 (&find_configure_ac, &find_slave): Remove.
12344 * bin/autoscan.in: Likewise.
12345 * bin/autoupdate.in: Likewise.
12347 2001-08-01 Akim Demaille <akim@epita.fr>
12349 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
12350 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
12351 * bin: here, new directory.
12352 * lib/Autoconf: Rename as...
12353 * lib/Autom4te: this, to please case insensitive junkie OSes.
12355 2001-08-01 Akim Demaille <akim@epita.fr>
12357 * autom4te.in ($m4): Handle the --nesting-limit.
12358 * autoconf.in (M4): Remove.
12360 2001-08-01 Akim Demaille <akim@epita.fr>
12362 * autoconf.in ($AWK): Remove, no longer used.
12363 * test/tools.at: Use AT_CHECK_AUTOCONF.
12364 (AWK portability): Remove, for autoconf no longer uses AWK.
12365 (Syntax of the Perl scripts): New.
12366 * configure.ac: autoconf no longer needs an AWK with a good
12368 Use a static test on AC_PACKAGE_VERSION.
12369 * autom4te.in (&up_to_date_p): Output depends on the arguments.
12370 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
12371 * tests/atconfig.in (PERL): New.
12373 2001-08-01 Akim Demaille <akim@epita.fr>
12375 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
12376 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
12377 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
12378 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
12379 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
12380 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
12381 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
12382 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
12383 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
12384 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
12385 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
12386 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
12387 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
12388 * lib/autoconf/c.m4: here, new file.
12390 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
12391 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
12392 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
12393 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
12394 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
12395 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
12396 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
12397 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
12398 (AC_F77_FUNC): Move to...
12399 * lib/autoconf/fortran.m4: here, new file.
12401 2001-08-01 Akim Demaille <akim@epita.fr>
12403 * acfunctions.m4: Rename as...
12404 * lib/autoconf/functions.m4: this.
12405 * acgeneral.m4: Rename as...
12406 * lib/autoconf/general.m4: this.
12407 * acheaders.m4: Rename as...
12408 * lib/autoconf/headers.m4: this.
12409 * aclang.m4: Rename as...
12410 * lib/autoconf/lang.m4: this.
12411 * acoldnames.m4: Rename as...
12412 * lib/autoconf/oldnames.m4: this.
12413 * acspecific.m4: Rename as...
12414 * lib/autoconf/specific.m4: this.
12415 * actypes.m4: Rename as...
12416 * lib/autoconf/types.m4: this.
12417 * autoconf.m4: Rename as...
12418 * lib/autoconf/autoconf.m4: this.
12420 * m4sugar.m4: Rename as...
12421 * lib/m4sugar/m4sugar.m4: this.
12422 * m4sh.m4: Rename as...
12423 * lib/m4sugar/m4sh.m4: this.
12425 * tests/atgeneral.m4: Rename as...
12426 * lib/autotest/general.m4: this.
12428 * acfunctions: Rename as...
12429 * lib/autoscan/functions: this.
12430 * acheaders: Rename as...
12431 * lib/autoscan/headers: this.
12432 * acidentifiers: Rename as...
12433 * lib/autoscan/identifiers: this.
12434 * aclibraries: Rename as...
12435 * lib/autoscan/libraries: this.
12436 * acmakevars: Rename as...
12437 * lib/autoscan/makevars: this.
12438 * acprograms: Rename as...
12439 * lib/autoscan/programs: this.
12441 2001-08-01 Akim Demaille <akim@epita.fr>
12443 * doc/autoconf.texi: Moving/deleting open files is not portable.
12444 Portability issues for `.' (source), and more information about sed.
12446 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
12448 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
12449 which has a special meaning and is not a reference to libibmil.a.
12450 Reported by Matteo Frigo.
12452 2001-07-25 Pavel Roskin <proski@gnu.org>
12454 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
12457 2001-07-25 Akim Demaille <akim@epita.fr>
12459 * autoconf.in: Try to define the variables before using them.
12460 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
12461 instead of `$perllibdir'.
12462 * tests/atconfig.in ($autom4te_perllibdir): Export it.
12464 2001-07-25 Akim Demaille <akim@epita.fr>
12466 * autoconf.in (ac_LF_and_DOT): Remove, unused.
12468 2001-07-24 Akim Demaille <akim@epita.fr>
12470 Let autoconf use autom4te for traces.
12472 * autoconf.in ($task, task trace): Remove, merely pass --trace to
12474 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
12475 (Because I found no way for autom4te to accept `-').
12476 * autom4te.in (&Request::request): Beware of M4 builtins.
12477 (END): Don't try to remove the content of an empty dir.
12478 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
12479 (&handle_output): Set a default value to `$forbidden'.
12480 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
12481 ($autoconf): Pass --debug and --verbose.
12482 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
12485 2001-07-24 Akim Demaille <akim@epita.fr>
12487 Let autoconf use autom4te to create configure.
12489 * autoconf.in ($automate): New var.
12490 (task script): Use autom4te.
12491 * autom4te.in (File::Spec): Use it.
12493 (&parse_args): --warning is -W, not -w.
12494 Find the top level files.
12495 (&handle_m4): Pass the warnings flags.
12496 Don't report verbosely m4's failures, unless requested.
12497 (&handle_output): Don't complain for forbidden tokens in comments.
12498 Be sure to report all the forbidden tokens within a single line.
12499 (&trace_format_to_m4): Preserve `$_'.
12500 (&handle_traces): Sort the output macros.
12501 (&up_to_date_p): Find the files before trying to get its time stamp.
12503 2001-07-24 Akim Demaille <akim@epita.fr>
12505 * Makefile.am: Ship, build and install Autom4te.
12506 (SUBDIRS): Add lib.
12507 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
12508 * configure.in: Require Perl.
12509 * man/autom4te.in: New.
12511 2001-07-19 Paul Eggert <eggert@twinsun.com>
12513 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
12514 example, rather than (exit 1); exit (which isn't portable).
12516 2001-07-18 Akim Demaille <akim@epita.fr>
12520 2001-07-18 Akim Demaille <akim@epita.fr>
12522 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
12523 was run, while they are needed also when it is expanded.
12524 Reported by Nicolas Joly.
12526 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
12527 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
12528 AC_F77_DUMMY_MAIN being expanded.
12530 2001-07-18 Akim Demaille <akim@epita.fr>
12532 * configure.in: Bump to 2.51a.
12534 2001-07-17 Akim Demaille <akim@epita.fr>
12538 2001-07-17 Akim Demaille <akim@epita.fr>
12540 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
12541 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
12543 2001-07-17 Akim Demaille <akim@epita.fr>
12545 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
12546 used. Well, then use the prototypes when you can, and runtime as
12548 Reported by Artur Frysiak
12550 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
12551 (AC_FUNC_GETPGRP): Use it.
12552 First try to compile with 0-ary or 1-ary calls.
12554 2001-07-17 Akim Demaille <akim@epita.fr>
12556 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
12560 2001-07-17 Akim Demaille <akim@epita.fr>
12562 * Makefile.maint: Sync. with cppi 1.10.
12564 2001-07-17 Akim Demaille <akim@epita.fr>
12566 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
12567 AC_F77_DUMMY_MAIN has been run.
12568 From Pavel Roskin and Steven G. Johnson.
12570 2001-07-17 Akim Demaille <akim@epita.fr>
12572 * configure.in: Rename as...
12573 * configure.ac: this.
12575 2001-07-17 Akim Demaille <akim@epita.fr>
12577 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
12580 * Makefile.maint (release-archive-dir): Rename as...
12581 (release_archive_dir): this, so that it can be specialized in
12584 2001-07-14 Akim Demaille <akim@epita.fr>
12586 * configure.in: Bump to 2.50d.
12588 2001-07-14 Akim Demaille <akim@epita.fr>
12591 * Makefile.maint (alpha): Typo.
12593 2001-07-14 Akim Demaille <akim@epita.fr>
12595 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
12597 2001-07-14 Akim Demaille <akim@epita.fr>
12599 * config/config.guess, config/config.sub, config/texinfo.tex
12600 * doc/standards.texi, doc/make-stds.texi: Update.
12602 2001-07-14 Akim Demaille <akim@epita.fr>
12604 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
12606 2001-07-14 Akim Demaille <akim@epita.fr>
12608 * Makefile.maint (maintainer-check): Rename as...
12609 (maintainer-distcheck): this.
12610 (changelog-check, static-check): New.
12613 2001-07-14 Kevin Ryde <user42@zip.com.au>
12615 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
12616 for CXX is g++, not gcc.
12618 2001-07-14 Akim Demaille <akim@epita.fr>
12620 * doc/autoconf.texi (Files): New subsection.
12622 2001-07-14 Akim Demaille <akim@epita.fr>
12624 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
12626 (Generic Compiler Characteristics): this.
12627 (C++ Compiler): New subsection.
12629 2001-07-14 Akim Demaille <akim@epita.fr>
12631 * autoscan.in: Use IO::File.
12632 Adjust all the routines to use it.
12633 ($log): New file (autoscan.log).
12634 (output): Dump detailed logs into $log, and a shortened version to
12636 (&scan_makefile): Refine the regexp catching tokens in the code.
12637 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
12638 and the `configure.ac' checking feature.
12640 2001-07-12 Akim Demaille <akim@epita.fr>
12642 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
12643 Reported by Michael Elizabeth Chastain.
12645 * autoconf.in: Refuse such AWK.
12646 * configure.in: Likewise.
12647 * Makefile.am (acversion.m4): Do not use move-if-change this file
12649 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
12651 2001-07-10 Jens Petersen <petersen@redhat.com>
12653 * autoscan.in (&scan_makefile): Improve programs regexp to parse
12654 things like "g++", "file.c" and "some-conf" as tokens.
12655 (&scan_file): Match C++ files extensions.
12656 If the filename extension is C++ then ask for c++.
12658 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
12660 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
12661 AC_TRY_LINK_FUNC, to check whether defining a dummy
12662 main-like routine is needed for linking with F77 libs.
12664 2001-07-05 Pavel Roskin <proski@gnu.org>
12666 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
12668 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
12671 2001-07-05 Akim Demaille <akim@epita.fr>
12673 * Makefile.am (move_if_change): New. Use it instead of `mv'.
12674 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
12676 Reported by Nicolas Joly.
12678 2001-07-04 Akim Demaille <akim@epita.fr>
12680 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
12682 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
12683 warnings from compilers.
12684 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
12685 for all the compilers, not only GNU. Hence move from here...
12686 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
12688 2001-07-04 Akim Demaille <akim@epita.fr>
12690 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
12691 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
12694 2001-07-04 Akim Demaille <akim@epita.fr>
12696 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
12697 the ``strings.h'' change claimed below.
12699 2001-07-04 Akim Demaille <akim@epita.fr>
12701 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
12703 2001-07-04 Akim Demaille <akim@epita.fr>
12705 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12706 strings.h if usable with string.h.
12707 Suggested by Paul Eggert.
12709 2001-07-04 Akim Demaille <akim@epita.fr>
12711 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
12712 From Jens Petersen.
12714 2001-07-03 Akim Demaille <akim@epita.fr>
12716 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
12719 2001-07-03 Akim Demaille <akim@epita.fr>
12721 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
12722 compiler, not the preprocessor.
12723 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
12724 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
12726 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
12727 earlier if there are.
12729 2001-07-03 Akim Demaille <akim@epita.fr>
12731 * autoscan.in ($initfile): Remove.
12732 (&find_file): Rename as...
12733 (&scan_file): this.
12734 Immediately scan the current file, instead of gathering them, and
12735 later having them handled by &scan_files.
12736 (&scan_files): Merely invoke Find::File.
12739 2001-07-02 Akim Demaille <akim@epita.fr>
12741 * autoscan.in: Formatting changes, matching the invocation order.
12742 (File::Find): Use it instead of Perl 4's `find.pl'.
12743 (&wanted): Rename as...
12744 (&find_file): this.
12746 2001-07-01 Pavel Roskin <proski@gnu.org>
12748 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
12749 break in the argument to AC_TRY_LINK_FUNC.
12750 (AC_F77_MAIN): Remove conftest* after using break in the
12751 argument to AC_TRY_LINK.
12753 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
12755 Add alternate 'main' routine detection for linking C/C++ with Fortran,
12756 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
12758 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
12759 dummy alternate main is required even if the user provides her own
12761 (AC_F77_MAIN): New macro to detect whether it is possible to
12762 provide an alternate 'main' function name, using the 'main' from
12763 the Fortran libraries.
12764 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
12765 cross-language link tests can be performed successfully.
12766 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
12767 after $LIBS, for consistency; this should be the general rule since
12768 the user may want to link to Fortran libraries that require $FLIBS.
12769 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
12771 2001-06-29 Pavel Roskin <proski@gnu.org>
12773 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
12774 at-stdout and at-stderr instead of removing the newline
12775 from the echo output, which is not guaranteed to work.
12777 2001-06-28 Jens Petersen <petersen@redhat.com>
12779 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
12780 confdefs.h when non-zero.
12782 2001-06-28 Akim Demaille <akim@epita.fr>
12784 * configure.in: Bump to 2.50c.
12786 2001-06-26 Akim Demaille <akim@epita.fr>
12790 2001-06-26 Akim Demaille <akim@epita.fr>
12794 2001-06-25 Pavel Roskin <proski@gnu.org>
12796 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
12797 argument, AUTOCONF-FLAGS.
12798 * tests/mktests.sh (update_exclude_list): Add
12799 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
12800 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
12801 AC_FUNC_WAIT3 with "-W no-obsolete".
12803 2001-06-25 Akim Demaille <akim@epita.fr>
12805 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
12807 2001-06-25 Akim Demaille <akim@epita.fr>
12809 * autoscan.in (%macro): Now maps from word to list of macros.
12810 (&init_tables): Die when a word which is already handled by
12811 explicit macros is mapped to the default macro.
12812 (&print_unique): Remove, inlined in...
12813 (&output_kind): here.
12814 (File::Basename): Use it.
12815 (&output): Sort the CONFIG_FILES.
12816 * acheaders: Normalize.
12817 * acfunctions: Likewise.
12819 2001-06-25 Akim Demaille <akim@epita.fr>
12821 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
12822 characteristics in the logs.
12823 Suggested by Mo DeJong.
12825 2001-06-24 Akim Demaille <akim@epita.fr>
12827 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
12828 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
12829 * doc/autoconf.texi (Autoconf 2.13): New section.
12831 2001-06-24 Akim Demaille <akim@epita.fr>
12833 * autoconf.in (Task traces): Separate the error messages from the
12834 traces to improve robustness.
12836 2001-06-23 Akim Demaille <akim@epita.fr>
12838 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
12839 three as failures are unlikely, and speed matters.
12841 2001-06-23 Akim Demaille <akim@epita.fr>
12843 * doc/autoconf.texi (Redefined M4 Macros): New.
12845 2001-06-23 Akim Demaille <akim@epita.fr>
12847 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
12848 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
12851 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
12853 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
12854 config.status targets to after the evaluation of the INIT-CMDS.
12855 Double quote config.status targets (used to be single quoted).
12857 2001-06-23 Akim Demaille <akim@epita.fr>
12859 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
12860 Check the content of the created file.
12861 Check the ./config.status command line invocation.
12863 2001-06-23 Akim Demaille <akim@epita.fr>
12865 * tests/foreign.at (Libtool): Reject prehistoric versions.
12867 2001-06-23 Akim Demaille <akim@epita.fr>
12869 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
12870 preexisting files matching a.*.
12872 2001-06-23 Akim Demaille <akim@epita.fr>
12874 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
12876 * doc/autoconf.texi (AC_ARG_VAR): Update.
12878 2001-06-21 Akim Demaille <akim@epita.fr>
12880 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
12881 precious variables have changed.
12882 * tests/torture.at (AC_ARG_VAR): Adjust.
12884 2001-06-21 Akim Demaille <akim@epita.fr>
12886 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
12887 but some sed choke on multiple `;', and other tools (e.g.,
12888 Automake), include the separator themselves.
12890 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
12892 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
12894 * doc/autoconf.texi (Functions Portability): Rename as...
12895 (Function Portability): this.
12896 (Function Portability): Document potential problems with unlink().
12898 2001-06-19 Paul Eggert <eggert@twinsun.com>
12900 * NEWS, doc/autoconf.texi: Document quadrigraphs.
12902 2001-06-18 Akim Demaille <akim@epita.fr>
12904 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
12906 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
12908 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
12909 (_AC_FUNC_VFORK): this.
12910 Remove AC_DEFINEs and don't guess cross-compilation values.
12911 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
12912 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
12913 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
12914 vfork doesn't work.
12915 Guess values if cross-compiling, but warn.
12916 * acfunctions: Add AC_FUNC_FORK.
12917 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
12918 and vfork appropriately.
12920 2001-06-18 Akim Demaille <akim@epita.fr>
12922 * doc/autoconf.texi (Functions Portability): New section.
12924 2001-06-18 Akim Demaille <akim@epita.fr>
12926 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
12928 Suggested by Andreas Schwab.
12930 2001-06-18 Akim Demaille <akim@epita.fr>
12932 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
12933 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
12934 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
12935 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
12936 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
12937 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
12938 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
12941 2001-06-18 Akim Demaille <akim@epita.fr>
12943 * doc/autoconf.texi (ms): New index.
12944 (Macro Index): Rename as...
12945 (Autoconf Macro Index): this.
12946 (M4 Macro Index): New appendix.
12947 (Programming in M4): New chapter.
12948 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
12949 (Quoting): Rename as...
12950 (M$ Quotation): this.
12951 Be part of `Programming in M4).
12953 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
12955 * tests/torture.at (AC_ARG_VAR): Set variables and export them
12956 in separate statements for compatibility with Tru64 v5.1.
12958 2001-06-17 Akim Demaille <akim@epita.fr>
12960 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
12961 current values of the precious variables, not the previously
12963 Pass precious variables which are set to config.status.
12964 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
12965 * tests/torture.at (AC_ARG_VAR): New.
12967 2001-06-15 Paul Eggert <eggert@twinsun.com>
12969 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
12970 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
12971 and explain why and how to replace them.
12972 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
12973 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
12975 2001-06-15 Akim Demaille <akim@epita.fr>
12977 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
12978 Reported by Bruno Haible.
12980 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
12981 (_AC_ARG_VAR_PRECIOUS): to here.
12983 2001-06-15 Pavel Roskin <proski@gnu.org>
12985 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
12986 an unused pointer use cast to this type and `if' statement to
12987 avoid warnings from the compiler.
12988 (AC_HEADER_TIME): Likewise.
12989 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
12990 in `if' statement to avoid warnings from the compiler. Declare
12991 ac_aggr static to avoid the need to initialize it.
12993 2001-06-14 Akim Demaille <akim@epita.fr>
12995 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
12998 2001-06-13 Akim Demaille <akim@epita.fr>
13000 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
13001 Suggested by Alexander Mai.
13003 2001-06-13 Akim Demaille <akim@epita.fr>
13005 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
13006 sys/types.h and sys/stat.h, and check for them.
13008 2001-06-13 Akim Demaille <akim@epita.fr>
13010 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
13013 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
13015 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
13016 succeeds and only try adding libdnet upon a failure.
13018 2001-06-12 Akim Demaille <akim@epita.fr>
13020 * autoscan.in (&output_kind): Output the comment only if it exists.
13021 (%kind_comment): Add entry for `programs'.
13022 (&output_programs): Use &output_kind.
13023 (&output_functions, &output_identifiers, &output_headers)
13024 (&output_programs): Inline, and remove.
13026 2001-06-12 Akim Demaille <akim@epita.fr>
13028 * autoscan.in (%kind_comment): New.
13029 (output_kind): New.
13030 (output_functions, output_identifiers, output_headers): Use it.
13032 2001-06-12 Akim Demaille <akim@epita.fr>
13034 * autoscan.in (&print_unique): Take `$kind' and `$word' as
13035 arguments, to factor indirections into `%macro' and `%used'.
13036 (%generic_macro): Fix a typo.
13038 2001-06-12 Akim Demaille <akim@epita.fr>
13040 * aclibraries: New.
13041 * autoscan.in (@kinds): Add `libraries'.
13042 Use `@kinds' instead of hard coded lists.
13043 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
13044 Remove, replaced by...
13047 2001-06-12 Akim Demaille <akim@epita.fr>
13049 * autoscan.in (%functions_macros %headers_macros)
13050 (%identifiers_macros %programs_macros %makevars_macros): Remove,
13054 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
13056 * aclang.m4 (AC_NO_EXECUTABLES): Override
13057 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
13059 2001-06-11 Akim Demaille <akim@epita.fr>
13061 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
13063 Reported by Andreas Schwab.
13065 2001-06-11 Akim Demaille <akim@epita.fr>
13067 * Makefile.am, Makefile.maint: Typos.
13069 2001-06-09 Akim Demaille <akim@epita.fr>
13071 * doc/autoconf.texi (Here-Documents): New section, gathering
13072 documentation about here-documents.
13073 Use `href', not `uref', and other changes.
13075 2001-06-09 Akim Demaille <akim@epita.fr>
13077 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
13080 2001-06-09 Akim Demaille <akim@epita.fr>
13082 * doc/autoconf.texi (Limitations of Builtins): Complete the
13083 description of the here-docs penalties with Alexandre Oliva's
13086 2001-06-01 Paul Eggert <eggert@twinsun.com>
13088 * doc/autoconf.texi: Talk about here documents and speedups.
13089 Do not use "echo" on arbitrary strings.
13090 Spell "here-documents" consistently with the standard.
13092 2001-06-09 Akim Demaille <akim@epita.fr>
13094 * doc/autoconf.texi (Concept Index): Introduce it.
13095 Regenerate the menus.
13097 2001-06-09 Akim Demaille <akim@epita.fr>
13099 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
13100 * config/prev-version.txt: New.
13101 * config/move-if-change: New, for GNU libc.
13103 2001-06-06 Pavel Roskin <proski@gnu.org>
13105 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
13107 2001-06-06 Akim Demaille <akim@epita.fr>
13109 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
13110 properly when $1 is not a literal.
13111 Fixes PR Autoconf/187, reported by Bram Moolenaar.
13113 2001-06-06 Akim Demaille <akim@epita.fr>
13115 Invoking AC_COPYRIGHT before AC_INIT fails.
13117 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
13118 * acgeneral.m4 (_m4_divert(VERSION_FSF))
13119 (_m4_divert(VERSION_USER)): New.
13120 (AC_COPYRIGHT): $2 is the diversion to use.
13121 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
13122 (AC_INIT): Remove dead comments as now it's commutative.
13124 2001-06-06 Akim Demaille <akim@epita.fr>
13126 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
13129 2001-06-05 Akim Demaille <akim@epita.fr>
13131 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
13133 `*dir' variables cannot be NONE.
13134 Reported by Mark Kettenis.
13136 2001-06-05 Paul Eggert <eggert@twinsun.com>
13138 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
13140 2001-06-04 Akim Demaille <akim@epita.fr>
13142 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
13143 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
13144 (AC_TR_SH): Move as...
13145 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
13146 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
13148 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
13149 (_AS_TR_SH_PREPARE): New.
13150 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
13151 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
13153 2001-06-02 Akim Demaille <akim@epita.fr>
13155 * Makefile.am (.m4.m4f): Pass the options first.
13156 Fixes PR autoconf/182.
13158 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
13160 GNU getopt, when POSIXLY_CORRECT does not permute options and
13161 arguments. So pass the options first.
13162 Fixes PR autoconf/184.
13164 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
13165 (run_m4): Remove files.
13167 Update remainder of script to use them.
13168 (for warning in): Do not use a literal comma as it will not be
13171 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
13173 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
13174 Fortran compilers to check.
13175 (_AC_PROG_F77_V): Add '-###' as a possible option to print
13176 information on library and object files.
13177 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
13180 2001-06-02 Akim Demaille <akim@epita.fr>
13182 * autom4te.in (Request::@request): Declare with `vars', not `my',
13183 as it prevents updates via `do FILENAME'.
13185 2001-06-02 Akim Demaille <akim@epita.fr>
13187 * configure.in (standards_texi): Remove, dead code.
13189 2001-06-02 Akim Demaille <akim@epita.fr>
13191 * autom4te.in: New.
13193 2001-06-02 Pavel Roskin <proski@gnu.org>
13195 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
13196 for signals other than 0 - exit with code 1.
13197 * m4sh.m4 (AS_TMPDIR): Likewise.
13198 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
13199 * autoheader.in: Likewise.
13200 * autoreconf.in: Likewise.
13201 * tests/torture.at (Signal handling): New test for the above.
13203 2001-06-01 Akim Demaille <akim@epita.fr>
13205 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
13208 2001-05-31 Akim Demaille <akim@epita.fr>
13210 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
13211 Add copyright and comments.
13212 * acheaders: Add stdint.h.
13213 Suggested by Paul Eggert.
13215 2001-05-31 Akim Demaille <akim@epita.fr>
13217 * atgeneral.m4 (AT_INIT): Use $SHELL.
13218 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
13220 2001-05-31 Akim Demaille <akim@epita.fr>
13222 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
13224 From Paul Eggert and Lars Hecking.
13226 2001-05-31 Akim Demaille <akim@epita.fr>
13228 * tests/base.at: Adjust line numbers in error messages.
13230 2001-05-31 Akim Demaille <akim@epita.fr>
13232 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
13233 to emit the bangshe line.
13234 Reported by David Carter.
13236 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
13238 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
13239 Fortran (95) compilers to check.
13241 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
13243 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
13246 2001-05-23 Pavel Roskin <proski@gnu.org>
13248 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
13249 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
13250 (AC_PROG_CXXCPP): Likewise.
13252 2001-05-22 Akim Demaille <akim@epita.fr>
13254 * config: New directory.
13255 * configure.in: AC_CONFIG_AUX_DIR it.
13256 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
13258 2001-05-22 Akim Demaille <akim@epita.fr>
13260 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
13261 * autoupdate.in: Specify the Emacs mode.
13262 * acversion.m4.in: Rename as...
13263 * acversion.m4: this.
13264 * tests/Makefile.am (CLEANFILES): More garbage.
13266 2001-05-22 Akim Demaille <akim@epita.fr>
13268 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
13270 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
13273 2001-05-21 Akim Demaille <akim@epita.fr>
13275 * configure.in: Bump to 2.50a.
13280 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
13281 Software Foundation, Inc.
13283 This file is part of GNU Autoconf.
13285 GNU Autoconf is free software; you can redistribute it and/or modify
13286 it under the terms of the GNU General Public License as published by
13287 the Free Software Foundation; either version 2, or (at your option)
13290 GNU Autoconf is distributed in the hope that it will be useful,
13291 but WITHOUT ANY WARRANTY; without even the implied warranty of
13292 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13293 GNU General Public License for more details.
13295 You should have received a copy of the GNU General Public License
13296 along with autoconf; see the file COPYING. If not, write to
13297 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
13298 Boston, MA 02110-1301, USA.