1 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
3 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
4 preprocessor macro arguments in traced name.
5 * doc/autoconf.texi (Defining symbols): Document longstanding
6 support for AC_DEFINE-ing macros with arguments, and document
7 behavior when the same variable has multiple AC_DEFINEs.
8 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
9 old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
10 macros directly, giving much shorter and simpler code.
12 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
14 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
15 space before "$ac_configure_args" to prevent a 'config.status
16 --recheck' failure if ac_configure_args doesn't contain a leading
17 space. This works around a problem with the XEmacs configure.ac,
18 which uses the (undocumented) ac_configure_args variable
19 inconsistently with Autoconf.
21 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
23 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
24 Include <limits.h>, and use its INT_MAX to rewrite the
25 j loop so that it does not overflow 'int'. Problem reported by
27 <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
28 Play it safe by shifting left by 1 rather than multiplying by 2,
29 as GCC is less likely to optimize this away when the value
30 is signed (when it assumes overflow leads to undefined behavior).
31 Also, don't assume time_t uses two's complement.
33 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
35 * tests/torture.at (Substitute a 2000-byte string): Avoid using
36 a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
37 dumps core on it. Report by Tim Rice.
39 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
41 * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
42 --disable-option-checking to --help output even when
43 AC_PRESERVE_HELP_ORDER is not used.
44 (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
45 --with argument, rather than argument with [-.] replaced by
47 * NEWS: Fix typo in previous change; the news was in the
50 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
52 * NEWS: Warnings are now generated by default for unknown
53 --enable-* and --with-* options.
54 * doc/autoconf.texi (Option Checking): Renamed from
55 (Configure Option Checking). Tighten up the wording a bit.
56 (External Software, Package Options): Cross-reference to Option
57 Checking, and use this to shorten our section.
58 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
59 "$x" to test "x$foo" != x.
60 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
61 Don't warn if $enable_option_checking is "no".
62 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
63 ac_unrecognized_opts to the empty string.
64 Don't echo the unrecognized opts, as this might mishandle
65 backslashes or leading -.
66 (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
67 usage next to the other --disable-FEATURE options in the
70 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
72 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
73 (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
74 Print warning for unrecognized --with and --enable options
75 (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
76 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
77 Disable option checking when subdirs are configured.
78 (AC_OUTPUT): If warnings are enabled, print warning about
79 unrecognized --with and --enable options at the end of
80 the configure output (as well as at the beginning).
81 * doc/autoconf.texi (Option Checking): New node.
82 Document new option warning functionality.
84 2006-12-16 Eric Blake <ebb9@byu.net>
86 * configure.ac (AC_INIT): Bump version, since 2.61a is released.
87 * NEWS: Start news for current version.
89 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
91 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
92 Define HAVE_GETMNTENT to 1, not to the empty string.
93 Problem originally reported by Jochen Friedrich in
94 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
96 This change prompted by a problem report by Andrey Simonenko in
97 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
98 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
99 object-like macros only, in the traditional portable character
101 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
102 Warn about attempts to define things that are not identifiers.
103 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
104 awful hack that AC_DEFINEd macro names containing parentheses.
106 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
108 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
109 too drastic, even if Texinfo in theory requires it for info mode.
111 (config.status Invocation): Renamed back from Recreating a
113 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
114 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
116 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
118 * NEWS: Version 2.61a.
120 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
121 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
123 * NEWS: Document changes with echo and printf, and the lack
124 of limits on the total size of multi-line values of substituted
125 variables, and the AC_FUNC_FSEEKO fix.
127 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
129 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
130 Writing configure.ac.
131 (Autoconf Input Layout): Renamed from configure.ac Layout.
132 (Recreating a Configuration): Renamed from config.status Invocation.
133 (Obsolete Recreation): Renamed from Obsolete config.status Use.
134 (acconfig Header): Renamed from acconfig.h.
135 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
136 (Writing Testsuites): Renamed from Writing testsuite.at.
137 (Autom4te Cache): Renamed from autom4te.cache.
139 * BUGS: Remove mention of VPATH problem, since it's now documented
140 not to be a bug in the Autoconf build procedure itself, but rather
141 a problem with the proprietary `make' programs.
143 * doc/autoconf.texi (Build Directories): Add a cross reference
146 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
147 * doc/standards.texi: Sync from gnulib.
149 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
150 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
151 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
152 generated automatically.
154 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
156 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
157 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
158 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
160 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
162 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
163 `CEOF$ac_eof' special marker, the awk script cannot contain a
164 line matching `^CEOF', so this is not needed any more.
165 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
166 special marker in the test.
168 2006-12-06 Stepan Kasal <kasal@ucw.cz>
170 * tests/tools.at (autom4te preselections): Use `find -newer';
171 remove one of the sleeps.
173 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
174 more readable, using ...
175 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
177 * doc/autoconf.texi (autoheader Invocation): Do not double-
178 quote the parameter of `AH_BOTTOM' in the example.
180 2006-12-05 Stepan Kasal <kasal@ucw.cz>
182 * doc/autoconf.texi (Configuration Headers): Remove the
183 example with multiple input files.
184 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
185 multiple input files.
187 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
189 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
190 creating the awk substitution script, handle one input line at a
191 time, so that the maximum length of a substituted (multi-line)
192 value is not limited by the size of the sed pattern space.
193 The trade-off is a slightly repetitive sed script.
194 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
195 can only have up to 7 characters, due to Solaris 10 /bin/sed.
196 * tests/torture.at (Substitute a 2000-byte string): Increase the
197 test with several long lines, they should not be caught by sed
200 * tests/tools.at (autom4te preselections): New test, to flag
201 entries missing from autom4te.cfg.
202 Report by David Byron <dbyron@hheld.com>.
204 * tests/torture.at (Substitute a 2000-byte string): Actually use
205 AC_PROG_AWK, so the last change works as intended.
206 (Substitute and define special characters): Likewise.
207 (Substitute a newline): Likewise.
209 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
210 instead of `awk' consistently.
211 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
212 * tests/torture.at (Torturing config.status): Test both the
213 result of AC_PROG_AWK and plain awk.
214 (Substitute a 2000-byte string): Likewise.
215 (Substitute and define special characters): Likewise.
216 (Substitute a newline): Likewise.
218 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
220 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
221 can be assigned to a function pointer. Problem reported by
222 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
223 part of a patch by Ralf Wildenhues in that same bug report.
225 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
227 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
228 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
230 2006-12-01 Eric Blake <ebb9@byu.net>
232 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
233 cross-compiling from cygwin to mingw.
234 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
235 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
236 to lib/autoconf/c.m4.
238 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
240 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
241 string for more reliable failure. Wrap the entire test that
242 causes the broken Solaris printf to dump core, in a subshell,
243 so the segmentation fault message is reliably suppressed.
244 Fix shell expansion errors by using /usr/ucb/echo always;
245 avoid an error on systems without it by another subshell.
246 Avoid m4 expansion of `$1'. Set the zeroth argument of the
247 subshell-$as_echo to `as_echo', for better error message.
249 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
251 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
252 `BASH_SOURCE' contain a newline, set them to empty, as they may
255 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
257 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
258 years and is too hard to maintain now. The last straw was
259 reported by Jerker Baeck in
260 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
261 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
262 * doc/autoconf.texi (Particular Functions): Move
263 AC_FUNC_SETVBUF_REVERSED from here...
264 (Obsolete Macros): ... to here. Say that it does nothing now.
265 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
266 Turn into (almost) a no-op.
268 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
270 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
271 These macros are obsolescent and new applications shouldn't need them.
272 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
273 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
274 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
275 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
276 (AC_FUNC_VPRINTF): Likewise.
277 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
278 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
279 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
281 * doc/autoconf.texi (Setting Output Variables): Mention that
282 @VAR1@VAR2 has unspecified behavior. Problem reported by
284 * NEWS: Mention this.
286 * Makefile.am: Put only a single '#' into the copyright notice,
287 so that it's also present in the output file. Standardize wording
288 in makefile copyright notices to match GNU coding standards.
289 * bin/Makefile.am: Likewise.
290 * doc/Makefile.am: Likewise.
291 * lib/Makefile.am: Likewise.
292 * lib/freeze.mk: Likewise.
293 * lib/autoconf/Makefile.am: Likewise.
294 * lib/autoscan/Makefile.am: Likewise.
295 * lib/autotest/Makefile.am: Likewise.
296 * lib/m4sugar/Makefile.am: Likewise.
297 * man/Makefile.am: Likewise.
298 * tests/Makefile.am: Likewise.
299 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
302 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
304 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
305 in the sed script that mangles the awk script: delete up to the
306 first exclamation mark only.
307 * tests/torture.at (Substitute and define special characters):
310 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
312 Rewrite config files generation: avoid quadratic growth in
313 the number of substituted variables by using awk instead of sed
314 for the bulk of the substitutions.
315 * NEWS: Mention this.
316 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
317 forbidden in the output (and thus input) file.
318 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
319 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
320 generate just one large awk script for substitutions,
321 eliminating much of the earlier complexity, while adding some
322 new complexity. Only expand the substitution templates at
323 configure time, for smaller configure script size. If
324 _AC_SUBST_FILES are used, test 'awk' for working getline support
325 at config.status time. If absent, interpolate through the
326 shell. The awk script was written with much help
327 from Paolo Bonzini and Paul Eggert.
328 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
329 (_AC_SED_FRAG_NUM): Likewise.
330 (_AC_SUBST_CMDS): Renamed from...
331 (_AC_SED_CMDS): ...this.
332 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
333 * tests/torture.at (Substitute a 2000-byte string): Also
334 substitute a line with 1000 words, and a variable with several
336 (Substitute and define special characters): Test awk special
337 characters, and put substitution input strings `@foo@' in the
338 output, to test that no recursion happens; test several other
339 combinations from Paolo Bonzini.
341 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
343 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
344 that replaced echo with AS_ECHO where this wasn't necessary.
345 Problem reportd by Ralf Wildenhues.
346 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
347 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
348 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
350 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
352 * lib/freeze.mk (GREP): Removed, no need to initialize this.
354 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
356 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
357 that traditional Awk lacks 3-arg "split". It has it.
358 Mention that FS must be a single character, and a few other
359 99-byte limits of traditional Awk.
360 Mention that if (i in a) doesn't work with traditional Awk.
362 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
364 * tests/autotest.at (BSx641-newline in command):
365 (BS-BS-newline in command, BSx640-newline in command):
366 (Newline-CODE-BS-newline in command):
367 (Single-quote-BS-newline in command):
368 (Single-quote-newline-BS-newline in command):
369 Use printf '%s\n' instead of echo, for portability to hosts
370 where echo interprets backslashes. This will break on hosts
371 that lack printf, but for now let's assume all such hosts
372 are dead (if not, we should get reports of test failures).
374 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
376 'echo' has some portability problems, when given a first argument
377 with a leading '-', or when given any argument containing '\'.
378 Avoid using 'echo' in these cases.
379 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
380 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
381 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
382 * lib/autotest/general.m4 (AT_INIT): Likewise.
383 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
384 argument might be unportable.
385 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
386 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
387 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
388 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
389 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
390 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
391 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
392 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
393 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
394 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
395 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
396 (AC_PROG_MAKE_SET): Likewise.
397 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
398 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
399 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
400 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
401 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
402 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
403 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
404 * bin/autoconf.as: Redo verbose flag implementation, as the old
405 scheme wouldn't work with AS_ECHO.
406 * lib/autotest/general.m4 (AT_INIT): Likewise.
407 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
408 Don't use ECHO_T, since ECHO_N is now reliable.
409 * lib/autotest/general.m4 (AT_INIT): Likewise.
410 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
411 rather than using a here-document to put the script into a file.
412 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
414 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
415 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
416 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
417 bug, but we might as well stop using ECHO_N and ECHO_C internally.
418 * lib/autotest/general.m4 (AT_SETUP): Likewise.
419 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
420 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
421 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
422 operand, as AS_ECHO requires. Avoid double file name expansion.
423 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
424 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
425 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
426 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
427 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
428 Double-quote strings that would otherwise contain M4 comments.
429 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
431 * configure.ac (AC_INIT): Bump to 2.61a.
434 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
438 * configure.ac (AC_INIT): Bump to 2.61.
441 * tests/autotest.at (Macro with backslash in a test title):
442 Comment out for now, as this tests neither fails nor passes
443 reliably. Problem reported by Ralf Wildenhues.
445 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
447 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
448 in previous change, which caused test failures.
450 2006-11-16 Stepan Kasal <kasal@ucw.cz>
452 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
453 code for --enable, --disable, --with, and --without to...
454 (_AC_INIT_PARSE_ENABLE): ... a new macro.
455 * doc/autoconf.texi (Package Options):
456 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
458 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
460 Import these changes from config via gnulib:
462 2006-11-15 Ben Elliston <bje@gnu.org>
464 From Josselin Mouette <joss@debian.org>:
465 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
467 2006-11-08 Ben Elliston <bje@gnu.org>
469 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
471 2006-11-07 Steve Woodford <scw@NetBSD.org>
472 Ben Elliston <bje@gnu.org>
474 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
475 * build-aux/config.sub (sh5el): New basic_machine.
478 Import this change from coreutils:
480 2006-02-13 Jim Meyering <jim@meyering.net>
482 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
485 Import this change from gnustandards via gnulib:
487 2006-11-15 Karl Berry <karl@gnu.org>
489 * standards.texi: core -> memory, throughout.
490 (CPU Portability): show correct example of calling write
491 on a char value; thanks to Paul Eggert for the code.
492 Both of these suggestions from Eugene Y. Vasserman.
495 Import these changes from texinfo via gnulib:
497 2006-11-08 Karl Berry <karl@gnu.org>
499 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
500 as well as pdf images, since they are supported in pdftex with
503 2006-11-05 Karl Berry <karl@gnu.org>
505 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
507 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
509 * NEWS: Document the AC_ARG_WITH change.
511 2006-11-13 Bruno Haible <bruno@clisp.org>
513 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
514 options, transliterate also dots to underscores.
515 (_AC_ENABLE_IF): Transliterate also dots to underscores.
516 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
517 first argument may also contain dots.
519 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
521 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
522 benefit of platforms like Solaris+GCC where it is common to have a
523 non-working g++ installation.
525 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
526 and Joel E. Denny <jdenny@ces.clemson.edu>
527 and Paul Eggert <eggert@cs.ucla.edu>
529 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
530 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
533 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
535 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
536 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
537 Imported from a similar patch to gnulib by Bruno Haible.
539 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
541 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
542 * doc/autoconf.texi (C Compiler): Document them.
543 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
544 New macros, taken from gnulib.
546 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
548 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
549 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
552 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
554 * tests/torture.at (Configuring subdirectories): Do not skip
555 Automake 1.10 nor future Automake 11.1 (sic).
557 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
558 and Stepan Kasal <kasal@ucw.cz>
560 Handle special characters in test case titles correctly.
561 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
563 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
564 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
565 argument. Extend to check titles printed by ./micro-suite and
566 ./micro-suite -l and the title in micro-suite.log.
567 (Backquote in a test title,
568 Single-quote in a test title,
569 Double-quote in a test title): Don't expect failure anymore.
570 (Backslash in a test title): Put a non-whitespace character after the
571 backslash so that Bourne shells might actually see it as an escape
573 (Brackets in a test title,
574 Pound in a test title,
575 Comma in a test title,
576 Quoted Macro in a test title,
577 Macro in a test title,
578 Macro with single-quote in a test title): New tests.
579 (Macro with backquote in a test title,
580 Macro with double-quote in a test title,
581 Macro with backslash in a test title): New tests expected to fail.
582 * tests/torture.at (#define header templates): M4-quote this title in
583 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
584 The visible effect was a stray [] in the testsuite output.
586 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
588 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
589 `trap ... 0' inside a function, for AIX sh.
591 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
593 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
594 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
595 5363) simply issues a warning when dividing by zero at compile
596 time. Problem reported by Elias Pipping.
598 2006-10-26 Eric Blake <ebb9@byu.net>
601 * doc/autoconf.texi (Evaluation Macros): Improve the example to
602 show effect on macros that expand with commas.
603 Reported by Joel E. Denny.
605 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
606 Also work with M4 1.4.8.
608 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
610 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
613 2006-10-25 Stepan Kasal <kasal@ucw.cz>
615 * tests/tools.at (autom4te --force): New test, verifies that
616 `--force' always rewrites the output file.
618 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
620 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
621 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
623 2006-10-24 Stepan Kasal <kasal@ucw.cz>
625 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
627 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
629 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
630 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
631 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
632 reported by Nelson H. F. Beebe for Coreutils 6.4.
634 * tests/tools.at (autoconf --trace: user macros): Remove test
635 for tracing multiline macros, since m4 1.4.7a uses a different
636 way to number lines. Problem reported by Ralf Wildenhues.
638 2006-10-24 Stepan Kasal <kasal@ucw.cz>
640 * bin/autom4te.in (handle_m4): Do not redirect stdin to
641 /dev/null since the heuristics for interactive behaviour was
644 * bin/autom4te.in: With --force, always refresh the output
645 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
647 * bin/autoconf.as: Fix the verbose message at the end.
649 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
651 * configure.ac (AC_INIT): Bump to 2.60c.
654 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
656 * NEWS: Version 2.60b.
658 Import this change from Texinfo:
659 2006-10-15 Karl Berry <karl@gnu.org>
660 * build-aux/texinfo.tex: automake 1.10
662 * NEWS: Remove AC_CACHE_CHECK_INT.
663 * doc/autoconf.texi (Caching Results): Likewise.
664 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
665 AC_CACHE_CHECK_INT, since it's no longer public.
666 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
667 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
669 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
671 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
673 2006-10-19 Eric Blake <ebb9@byu.net>
675 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
676 (m4_maketemp): Avoid warnings with M4 1.9a.
677 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
679 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
682 2006-10-16 Eric Blake <ebb9@byu.net>
684 * doc/autoconf.texi (Setting Output Variables): Fix typo.
686 * bin/autoconf.as (version): Reword to match GNU Coding
688 * bin/autoheader.in (version): Likewise.
689 * bin/autom4te.in (version): Likewise.
690 * bin/autoreconf.in (version): Likewise.
691 * bin/autoscan.in (version): Likewise.
692 * bin/autoupdate.in (version): Likewise.
693 * bin/ifnames.in (version): Likewise.
695 2006-10-14 Stepan Kasal <kasal@ucw.cz>
697 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
698 looking for special shell characters.
699 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
700 macro defined by AS_VAR_PUSHDEF before passing it as a
702 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
703 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
704 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
705 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
706 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
708 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
710 * tests/m4sh.at (AS_LITERAL_IF): New test.
712 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
714 (Imported from Automake.)
715 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
716 which incorrectly sets the mode of an existing destination
717 directory. In some cases the unpatched install-sh could do the
718 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
719 system. We hope this is rare in practice, but it's clearly worth
720 fixing. Problem reported by Alex Unleashed in
721 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
722 Also, don't bother to check for -m bugs unless we're using -m;
723 suggested by Stepan Kasal.
725 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
727 Import this change from Automake:
729 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
730 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
731 is enabled by default with gnu and gnits strictness.
732 Report from Bruno Haible.
734 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
735 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
738 Import this change from Config:
740 2006-09-20 Ben Elliston <bje@gnu.org>
741 * build-aux/config.sub (score, score-*): New.
743 Import this change from Gnulib:
745 2006-09-16 Karl Berry <karl@gnu.org>
746 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
747 to avoid sectioning errors.
749 Import these changes from Texinfo:
751 2006-10-04 Karl Berry <karl@gnu.org>
752 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
753 (\quoteexpand): rename to \rquoteexpand.
754 (\codequoteleft): new def, to look for @set codequotebacktick.
755 (\lquoteexpand, \quoteexpand): new defs.
756 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
757 (\code): must use new \...Char values, since now ` is active.
759 2006-08-26 Karl Berry <karl@gnu.org>
760 * build-aux/texinfo.tex (\textdegree): New command.
762 2006-08-12 Karl Berry <karl@gnu.org>
763 * build-aux/texinfo.tex (error \box0): smaller font.
765 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
767 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
769 2006-10-13 Stepan Kasal <kasal@ucw.cz>
771 * doc/autoconf.texi (Autoheader Macros): Warn that the text
772 added to the template can get mangled.
774 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
776 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
777 include the default headers, and redefine obstack_chunk_alloc
778 and obstack_chunk_free. Fixes false failure with glibc.
780 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
782 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
783 for backward compatibility with Libtool 1.5.22. Problem reported
786 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
788 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
790 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
792 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
794 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
795 the NonStop platform.
796 * doc/autoconf.texi (Posix Variants): Likewise.
797 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
799 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
800 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
801 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
802 Use a better substitute, by inspecting the output of "ls"
803 rather than just using ":".
804 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
805 rather than AS_EXECUTABLE_P, since we needn't worry about
806 non-regular files here.
808 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
809 due to configuration hassles with this. See Tonya Underwood's report
810 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
811 * doc/autoconf.texi (Special Shell Variables): Likewise.
813 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
814 Stepan Kasal <kasal@ucw.cz>
816 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
817 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
819 2006-10-11 Stepan Kasal <kasal@ucw.cz>
821 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
822 initialization which is not inherited through the environment
823 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
824 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
826 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
828 * doc/autoconf.texi (Limitations of Usual Tools): Describe
829 problems with mkdir -p -m.
831 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
833 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
834 comment about ac_cpp_err; it was incorrect, and anyway
835 ac_cpp_err is being removed below.
836 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
837 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
838 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
840 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
841 with werror_flag and conftest.err and so forth. This is more
842 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
843 and anyway the user shouldn't normally want to see this gorp logged.
844 Problem reported by Ralf Wildenhues.
845 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
846 empty, not 'no', since the rest of the code uses 'test -z'.
848 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
850 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
851 Use a single call to AC_DO_TOKENS rather than multiple, for
853 (_AC_LINK_IFELSE): Test that resulting file is executable.
854 Problem reported by mwoehlke in
855 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
857 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
858 than creating a file to use with test -x; this is much faster.
860 2006-10-02 Bruno Haible <bruno@clisp.org>
862 * lib/autom4te.in (Automake-preselections): Add
863 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
865 2006-09-27 Stepan Kasal <kasal@ucw.cz>
867 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
868 standard error, `experr' should be used, not `expout'.
870 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
872 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
873 fseeko testing program twice; just use the earlier result.
874 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
875 Set cache var to 'unknown' (not 'no') if leaving the macro unset
876 still doesn't let the program compile.
877 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
880 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
881 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
882 include it, without including anything else.
883 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
885 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
887 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
889 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
890 `error.h', and include it, for a `error_at_line' prototype.
891 Use a nonempty format string in the link test.
892 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
893 for a declaration of wait3.
895 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
897 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
898 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
899 can apply to constants too, and that it checks for macro defns.
900 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
901 and simply cast the identifier to void. This handles structure
902 values. Problem reported by Ralf Wildenhues.
903 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
905 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
907 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
908 structure, and function symbols.
910 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
912 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
915 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
917 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
919 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
921 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
922 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
924 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
925 warnings (uninitialized value).
926 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
928 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
930 (AC_STRUCT_TM): Likewise, avoid unused variables.
932 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
934 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
935 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
936 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
937 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
938 Report by Olly Betts.
940 2006-09-19 Eric Blake <ebb9@byu.net>
942 * m4/m4.m4: Change copyright.
943 * configure: Regenerate.
944 * Makefile.in: Likewise.
945 * bin/Makefile.in: Likewise.
946 * doc/Makefile.in: Likewise.
947 * lib/Makefile.in: Likewise.
948 * lib/Autom4te/Makefile.in: Likewise.
949 * lib/autoconf/Makefile.in: Likewise.
950 * lib/autoscan/Makefile.in: Likewise.
951 * lib/autotest/Makefile.in: Likewise.
952 * lib/emacs/Makefile.in: Likewise.
953 * lib/m4sugar/Makefile.in: Likewise.
954 * man/Makefile.in: Likewise.
955 * tests/Makefile.in: Likewise.
957 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
958 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
959 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
960 --error-output, to avoid warnings with M4 2.0.
962 2006-09-19 Stepan Kasal <kasal@ucw.cz>
964 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
965 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
966 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
968 2006-09-15 Stepan Kasal <kasal@ucw.cz>
970 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
971 expansion of AC_CHECK_FUNCS.
973 2006-09-14 Stepan Kasal <kasal@ucw.cz>
975 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
976 mistaken comment: the path has to be relative; do not use
979 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
981 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
982 argument to `--prefix' for sub-configure scripts.
983 Pass `--silent' to sub-configure scripts.
984 * tests/torture.at (Configuring subdirectories): Add tests
986 * doc/autoconf.texi (Setting Output Variables): Fix example to
987 not show `--silent' being passed to a `configure' re-run.
989 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
991 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
992 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
993 for the existence of the directory at configure-time. That's
994 too late, anyway. Problem reported by Stefan Seefeld.
996 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
997 7.1.4 /usr/bin/posix/sh described by Tim Rice in
998 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
1000 2006-09-11 Stepan Kasal <kasal@ucw.cz>
1002 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
1003 works with GNU M4 1.4.3 again; make the normalized form
1004 match the current m4 message; fix the description.
1005 * test/tools.at (autom4te cache): Adapt to the change.
1007 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
1009 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
1010 to catch glibc bug 2821
1011 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
1013 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
1014 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
1015 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
1018 2006-09-08 Stepan Kasal <kasal@ucw.cz>
1020 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
1022 (Autoconf): ... here.
1023 (Autoscan-preselections): Delete.
1025 2006-09-07 Stepan Kasal <kasal@ucw.cz>
1027 * lib/autom4te.in (Automake-preselections): Preselect
1030 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
1032 * doc/autoconf.texi (Preset Output Variables): srcdir and
1033 top_srcdir are not necessarily relative. Problem reported
1036 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1038 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
1039 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
1040 accept files with extension `.f'. For consistency, also prefer
1042 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
1045 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1047 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
1048 of ERLANG_LIB_VER_* variables.
1049 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
1052 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
1053 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1055 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
1056 bugs of Bash 2.01 and 2.05a.
1057 (Fortran Compiler): Document that AC_PROG_CC should be called
1058 before AC_PROG_FC, due to a bug in Autoconf.
1060 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
1062 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
1063 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
1064 except the first two arguments are reversed.
1065 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
1066 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
1067 caches nor outputs a diagnostic. Suggested by Bruno Haible.
1068 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
1069 equivalent to the old AC_COMPUTE_INT.
1070 (AC_COMPUTE_INT): No longer caches or reports. New signature.
1071 All uses changed to AC_CACHE_CHECK_INT.
1072 * tests/base.at (AC_CACHE_CHECK_INT): New test.
1073 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
1075 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
1077 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
1078 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
1079 programs should use their Gnulib counterparts.
1080 * doc/autoconf.texi (Particular Functions): Likewise.
1081 (Macro Names, testsuite Invocation): Replace uses of these
1082 obsolete macros with uses of non-obsolete macros.
1084 2006-08-29 Eric Blake <ebb9@byu.net>
1086 * configure.ac (AC_INIT): Bump to 2.60b.
1089 2006-08-28 Eric Blake <ebb9@byu.net>
1091 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
1092 mistakenly swapped on 2006-08-15.
1094 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
1096 * NEWS: Version 2.60a.
1098 2006-08-25 Stepan Kasal <kasal@ucw.cz>
1100 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
1101 file created by the PGI compiler.
1103 2006-08-25 Noah Misch <noah@cs.caltech.edu>
1105 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
1108 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
1110 Fix Lex library problem reported to us by Julio Garvia.
1111 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
1112 for the default, which the user can override.
1113 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
1115 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
1116 didn't work if some values were cached but not others. Test for
1117 broken lex libraries like native ia64-hp-hpux11.22; see
1118 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
1119 work around the problem by preferring an empty LEXLIB to -lfl or
1120 -ll. Let the user set LEXLIB='' to indicate no library needed.
1122 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
1124 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1126 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
1128 Rework to use more-modern build style.
1129 Many files are renamed; all uses of their names were changed.
1130 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
1131 * .x-sc_useless_cpp_parens: New file.
1132 * build-aux/config.guess: Renamed from config/config.guess. Update.
1133 * build-aux/config.sub: Renamed from config/config.sub. Update.
1134 * build-aux/elisp-comp: Renamed from config/elisp-comp.
1135 * build-aux/install-sh: Renamed from config/install-sh. Update.
1136 * build-aux/mdate-sh: Renamed from config/mdate-sh.
1137 * build-aux/missing: Renamed from config/missing.
1138 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
1139 * build-aux/vc-list-files: Renamed from config/vc-list-files.
1140 * config/Makefile.am: Removed.
1141 * config/mkinstalldirs: Removed.
1142 * config/move-if-change: Removed.
1143 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
1144 * Makefile.am (SUBDIRS): Remove config.
1145 (ACLOCAL_AMFLAGS): Include from m4, not config.
1146 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
1147 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
1148 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
1149 Fail if there's an error.
1150 * Makefile.cfg (move_if_change): Remove.
1151 (wget_files): Remove.
1152 (cvs_executable_files): New macro.
1153 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
1154 (executable-update): Use $(cvs_executable_files).
1155 (local-checks-to-skip): Remove.
1156 * Makefile.maint: Merge from coreutils, plus add our own changes
1157 (gzip_rsyncable): New macro.
1159 (CVS_LIST): Use build-aux/vc-list-files.
1160 (VERSION_REGEXP): New macro.
1161 (local-checks-available): Add patch-check, $(syntax-check-rules),
1163 (syntax-check-rules): Compute dynamically.
1164 (sc_cast_of_x_alloc_return_value): Work even if no source files.
1165 (sc_cast_of_alloca_return_value): Likewise.
1166 (sc_prohibit_atoi_atof): Simplify regexp.
1167 (sc_no_if_have_config_h, sc_require_config_h):
1168 (sc_prohibit_assert_without_use,
1169 (sc_obsolete_symbols): Check for O_NDELAY.
1170 (sc_texi_notab): Remove.
1171 (sc-changelog): Don't make an exception for '----' lines.
1172 (.re-list): Remove, so we don't have a junk file behind.
1173 (sc_system_h_headers): Remove the need for .re-list.
1174 (sc_the_the): New rule.
1175 (sc_tight_scope): Simplify.
1176 (sc_trailing_blank): Renamed from sc_trailing_space.
1177 (longopt_re): New macro.
1178 (sc_two_space_separator_in_usage): New rule.
1179 (sc_unmarked_diagnostics): Look at all files under CVS.
1180 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
1181 (news-date-check, changelog-check): Version is OK.
1182 (po-check): Look for lib files even if not in CVS.
1183 (copyright-check): Use $() not ``.
1184 (maintainer-distcheck): Do not depend on changelog-check.
1185 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
1186 Also check for -Wpointer-arith.
1187 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
1188 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
1190 (announcement): Add --gpg-key-id arg.
1192 (move_if_change): Just use mv.
1193 (local_updates: Remove wget-update, po-update.
1194 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
1195 (config.guess-url_prefix, config.sub-url_prefix): Remove.
1196 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
1197 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
1198 ($(get-targets)): Remove.
1199 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
1200 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
1201 (cvs-update): Get from gnulib.
1202 (emut_upload_commands): gnupload is in build-aux now.
1203 (alpha beta major): Add changelog-check. Check version.
1204 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
1205 (AC_CONFIG_FILES): Remove.
1206 * bin/autoconf.as: Add spaces to avoid distcheck warning.
1207 * config/announce-gen: Sync from coreutils.
1208 * doc/make-stds.texi: Sync from gnulib.
1209 * doc/standards.texi: Likewise.
1210 * man/Makefile.am: Adjust for config -> build-aux renaming.
1211 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
1212 * tests/local.at: Adjust from config -> build-aux renaming.
1213 * tests/tools.at: Likewise.
1214 * tests/torture.at: Likewise.
1216 * NEWS: The C99 check now tests for vararg macros and 64-bit
1218 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
1219 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
1220 64-bit preprocessor ints. Check for static initialization of
1221 long long. Remove unnecessary casts.
1223 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1225 * doc/autoconf.texi (Particular Programs): Mention that
1226 @INSTALL@ and @MKDIR_P@ may vary for different output files.
1227 Reported by Alexandre Duret-Lutz.
1229 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
1231 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
1232 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
1234 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
1236 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
1238 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
1239 pacify insanely picky compilers. Problem reported by Eric Blake.
1241 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
1242 longer supported by Sun.
1244 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
1246 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
1247 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
1248 -Wundef -Werror". Problem reported by David Fang in
1249 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
1250 * doc/autoconf.texi (Header Templates, Default Includes):
1251 (Particular Functions, Generic Functions, Header Portability):
1252 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
1253 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
1254 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
1255 Prefer #ifdef to #if.
1256 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
1257 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
1258 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1259 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
1261 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1262 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
1263 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
1264 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1265 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
1266 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
1269 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
1271 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
1272 problems with arg script text that doesn't end in newline, and
1273 with '-e a...'. Problems reported by Ralf Wildenhues.
1275 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
1277 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
1278 check for libXt by a check for libX11.
1280 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1282 * doc/autoconf.texi (config.status Invocation): Adjust according
1285 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1287 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
1288 --help' should mention that `--version' outputs configuration
1289 settings. Report by Bruno Haible.
1291 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
1293 Fix test suite failures reported by Pierre in
1294 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
1295 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
1296 the compiler created a file "b.out" when it didn't create anything
1298 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
1299 Discard stderr too, when invoking the test script.
1301 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
1303 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
1304 in the restoring of the werror flag.
1306 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
1308 * doc/autoconf.texi (Volatile Objects): Be even a little
1309 less skeptical about "volatile", after discussion with
1310 Bruno Haible on bug-gnulib.
1311 (Limitations of Usual Tools): Warn about sed stripping
1312 leading white space from text. From Bruno Haible.
1314 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
1316 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
1317 compiler complains about it, even if things works after the
1318 complaint. Problem reported by Peter O'Gorman.
1320 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
1321 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
1322 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
1324 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
1326 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
1327 after -R regardless of host. Patrick Welche reports that this
1328 fixes things on NetBSD 3.99.
1330 * NEWS: Recommend M4 1.4.5.
1332 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1333 * tests/tools.at (autom4te cache): Update wording of diagnostic
1336 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
1338 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
1339 under AC_C_VOLATILE.
1340 (Volatile Objects): Be a little less skeptical about what
1341 "volatile" means. Derived from thoughts by Ben Pfaff in
1342 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
1344 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1346 * doc/autoconf.texi: Fix some typos.
1348 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
1350 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1351 more globally, since the 2006-06-30 patch didn't suffice. Problem
1352 reported by Keith Marshall. Also, don't bother with builddir2,
1353 since it shouldn't be needed any more.
1355 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
1357 * doc/autoconf.texi (Generic compiler characteristics):
1358 Document AC_COMPUTE_INT. Fix wrong statements on Default
1359 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
1361 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
1362 (_AC_COMPUTE_INT): Add obsoletion warnings.
1363 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
1366 * NEWS: Document change.
1368 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
1370 * doc/autoconf.texi (Volatile Objects): New section.
1372 * NEWS: Document previous change.
1374 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
1376 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1377 Require that long long int be at least 64 bits wide. C99 requires
1378 this and enough programs depend on it so we should check for it.
1379 Bruno Haible reports in
1380 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
1381 that long long int is 32 bits wide with some nonstandard compilers.
1382 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
1384 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
1386 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1387 to a nonexistent file, so that we don't have to worry about
1388 a local site configuration that doesn't use /usr/local.
1389 Problem reported by Keith Marshall in
1390 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
1392 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
1394 * doc/autoconf.texi: Be more consistent about using @acronym with
1395 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
1396 quite right (it talked about "OSF/Tru64", even though the
1397 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
1398 and it even mentioned "OSF 4"!) and at this point there's little
1399 reason to talk about OSF any more, since it died in 1994.
1400 (Specific Compiler Characteristics): Simplify example of
1401 negative-size array.
1402 (File Descriptors): Reorder to make the text flow better.
1403 Remove joke about "appreciate the various levels"; I didn't get it.
1404 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
1405 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
1406 (File Descriptors, Limitations of Usual Tools):
1407 Tone down the advice against renaming or removing open files.
1408 (Limitations of Usual Tools): Add a new section, on 'rm'.
1410 2006-06-26 Stepan Kasal <kasal@ucw.cz>
1412 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
1413 -lXt in LIBS, idea from Karsten Hopp; this was due since
1416 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
1417 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1418 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1419 (which belong to Xt, not X itself). See Debian bug 327655.
1421 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1423 * configure.ac (AC_INIT): Bump to 2.60a.
1426 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1430 * configure.ac, NEWS: Update.
1432 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1434 * config/texinfo.tex: Sync from upstream.
1436 * bin/autom4te.in (handle_traces): Transform the `@S|@'
1437 quadrigraph correctly in traces.
1439 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
1442 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
1443 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
1445 * doc/autoconf.texi (Changed Directory Variables): New node,
1446 to document the whole `datarootdir' business a bit better.
1448 * tests/torture.at (datarootdir workaround): Extend test.
1449 Prompted by report by Alexandre Julliard.
1451 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
1453 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
1454 when using default mode of IBM C 6 for AIX. Problem and two-line
1455 fix reported by Larry Jones.
1457 2006-06-22 Alexandre Julliard <julliard@winehq.org>
1459 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
1460 about literal '${datarootdir}' if a definition is found in the
1463 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
1465 * NEWS: Use "M4" rather than "m4" when appropriate.
1466 Problem reported by Eric Blake.
1467 * doc/autoconf.texi: Likewise.
1468 Use @acronym around BSD, GCC, and GNU when appropriate.
1469 (Why GNU M4): Renamed from "Why GNU m4".
1470 (Redefined M4 Macros): Mention that Posix
1471 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
1472 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
1475 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1477 * bin/autom4te.in (handle_output): Do not forbid the empty
1479 * tests/tools.at (autoconf: the empty token): New test.
1481 2006-06-20 Stepan Kasal <kasal@ucw.cz>
1483 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
1484 calls, so that we do not care whether they are LIFO or FIFO;
1485 in the m4_wrap, do not check which diversion is the topmost
1486 one, just check that the stack is balanced at the end.
1487 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
1488 base diversion forever--pop the previous diversion before
1489 opening the new one; consequently, remove the m4_wrap call.
1490 * lib/autotest/general.m4 (AT_INIT): Likewise.
1491 * tests/m4sugar.at: Do not use
1492 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
1494 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
1495 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1497 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
1498 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
1499 Rework example of m4wrap token-pasting trouble so that it doesn't
1500 care whether it's LIFO or FIFO.
1501 Fix some "contrary to"s that are awkward in English.
1503 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1505 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
1506 to `yes' instead of `int$1_t' if the type is found, for more
1507 consistent configure output (where $1 is the number of bits).
1508 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
1509 Suggested by Bruno Haible.
1511 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
1512 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
1513 with system headers. Report by Bruno Haible.
1515 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1517 * config/config.guess, config/config.sub: Sync from upstream.
1519 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
1520 in order to avoid picking up an older installed frozen m4sh.m4f.
1521 Besides an outdated shell startup, this could have been created
1522 by an earlier M4 version with incompatible frozen file format.
1524 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
1526 * README: Recommend m4 1.4.4 instead of 1.4.3..
1527 * doc/autoconf.texi: Likewise.
1528 (Special Chars in Names): Say that $(.FOO) is portable, as
1529 suggested by Stepan Kasal.
1530 (Installation Directory Variables, Build Directories):
1531 (Automatic Remaking, Subdirectories, Fortran Compiler):
1532 (Making testsuite Scripts, Defining Directories):
1533 Quote variable usages better.
1534 (Making testsuite Scripts): Add clean-local rule to makefile
1535 snippet, by Eric Blake.
1536 (Installation Directory Variables): Fix table item font.
1537 Reword slightly to clarify. Generalize advice about
1538 not using special characters to include all file-related
1539 vars, not just VPATH.
1540 (Special Chars in Variables): Warn about special characters in
1542 (Assignments): Clarify default-value example as suggested by
1544 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
1545 (Special Shell Variables): Note leading ./ or ../, as suggested
1547 (Limitations of Builtins): Under cd, warn about CDPATH.
1548 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
1551 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1553 * doc/autoconf.texi (Configuration Actions): Remove duplicate
1554 `@var', for texi2html.
1555 (Systemology): Some more word wrapping, for DVI output.
1556 (autom4te Invocation): The short option for `--melt' is `-M',
1559 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
1561 * doc/autoconf.texi: More formatting and English tweaks,
1562 many suggested by Ralf Wildenhues.
1563 Reword to avoid "@code{...}'s" and the like, since it's ugly
1564 with Emacs info mode. discontents -> woes.
1565 Put a few "will"s back. time stamp -> timestamp.
1566 side-effect -> side effect.
1568 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
1570 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
1571 Warn about $@ not persisting. Problem reported by Julien Danjou in
1572 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
1573 (Special Chars in Names): Renamed from Leading _ in Macro Names.
1574 Mention other special chars, too.
1576 2006-06-14 Eric Blake <ebb9@byu.net>
1578 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
1580 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
1582 * doc/autoconf.texi: Some systematic minor improvements, as
1583 follows. Use "makefile" when talking about makefiles
1584 generally (which might be named "makefile" or "Makefile" or even
1585 "foo.mk"), "Makefile" when talking about a specific makefile
1586 called "Makefile". This unclutters the text from weird quotes
1587 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
1588 values" rather than "@var{foo}s" and similar constructs containing
1589 "}s". Use "Make rules" rather than "Makefile rules". Minor
1590 English-language improvements. Change the prefix "sub-" to "sub"
1592 Put blank lines around examples more consistently.
1593 Avoid "rather" and "very" as intensifiers.
1594 Avoid "will" as an auxiliary.
1595 (Limitations of Make): Split this node into....
1596 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
1597 (Leading _ in Macro Names, Backslash-Newline-Newline):
1598 (Backslash-Newline Comments, Long Lines in Makefiles):
1599 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
1600 (obj/ and Make, make -k Status, VPATH and Make):
1601 (VPATH and Double-colon, $< in Explicit Rules):
1602 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
1603 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
1604 New nodes, resulting from splitup of Limitations of Make.
1605 All cross-references changed. Raise the top node from
1606 a section to a chapter, and all subnodes accordingly.
1607 Redo the introductory wording to match the new organization.
1608 (Installation Directory Variables): Use an example that is
1609 closer to what Autoconf actually does. Mention that VPATH's
1610 value should not contain metacharacters or white space.
1611 (Fortran Compiler): Fix a VPATH bug in an example.
1612 (Leading _ in Macro Names): Mention that this problem is no longer
1613 of practical concern.
1614 (VPATH and Make): Reword the advice to make it clearer
1615 that Autoconf and Automake support VPATH in non-GNU make, but
1616 many packages have bugs in this area.
1617 ($< in Explicit Rules): Refer to Build Directories rather
1618 than using a (non-VPATH-safe) example.
1619 (Automatic Rule Rewriting): Mention the sort of disaster that
1620 can ensue with Solaris-style rule rewriting with VPATH.
1622 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1624 * doc/install.texi (Compilers and Options): Weaken the
1625 suggestion to use GNU make for VPATH builds.
1627 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
1628 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
1630 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
1631 in regular expression.
1633 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1635 * doc/autoconf.texi (Installation Directory Variables):
1636 Drop extra @samp from `@table @samp' item.
1637 (Limitations of Usual Tools): Comment fix.
1638 Do not nest @samp just to point to other table items.
1639 (Writing testsuite.at) <AT_CHECK>: The second argument to
1640 `@dvar' is already @samp'ed.
1641 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
1642 do not use @var in the second argument.
1644 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
1646 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
1647 $as_shell.exe too. Problem reported by Andreas Buening in
1648 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
1650 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1652 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
1653 `unused variable' compiler warning, for `-Wall -Werror'.
1654 Reported by Jaap Haitsma in
1655 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
1657 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
1659 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
1660 case the compiler dumps core. Problem reported for
1661 OpenServer 5.0.7 by Tim Rice in
1662 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
1663 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
1666 2006-06-06 Tim Rice <tim@multitalents.net>.
1668 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
1669 "ERROR" only shows up in "make check" output if there is an
1672 2006-06-06 Eric Blake <ebb9@byu.net>
1674 * tests/tools.at (automatically allowed tokens): Fix typo.
1676 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
1678 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
1680 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
1681 typically overflows on x86 CPUs, even though the C standard
1684 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1686 * configure.ac (AC_INIT): Bump to 2.59e.
1689 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1693 * config/texinfo.tex: Sync from upstream.
1695 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
1696 seen, invoke libtoolize with `--ltdl' argument.
1697 * lib/autom4te.in (Autoreconf-preselections): Adjust.
1699 Suggested by Eric Blake.
1701 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
1703 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
1704 reported by Ralf Wildenhues.
1705 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
1707 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1711 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
1713 * doc/autoconf.texi: Modernize some of the references to Solaris.
1715 2006-06-05 Stepan Kasal <kasal@ucw.cz>
1717 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
1718 message issued by AC_REQUIRE.
1719 * tests/m4sugar.at: Check m4_require's error message.
1720 * tests/base.at: Check AC_REQUIRE's error message.
1721 * tests/local.at (AT_CHECK_M4): New macro, almost identical
1723 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
1725 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
1726 `expout' as the last parameter.
1727 * tests/tools.at: Adapt to the above change.
1729 2006-06-04 Stepan Kasal <kasal@ucw.cz>
1731 * doc/autoconf.texi (Limitations of Usual Tools): Correct
1732 information about race-free implementations of mkdir.
1734 2006-06-04 Eric Blake <ebb9@byu.net>
1736 * bin/autoreconf.in (help): Document M4 environment variable.
1737 * bin/autoconf.as (Usage): Likewise.
1738 * bin/autom4te.in (help): Likewise.
1739 * doc/autoconf.texi (autom4te Invocation): Likewise.
1741 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
1743 * NEWS: GNU make now recommended for VPATH builds.
1744 Mention that some macros are now documented to be obsolescent.
1745 * doc/autoconf.texi:
1746 Prefer "current" to "modern" to describe
1747 currently-used (albeit perhaps old-fashioned) hosts.
1748 Mention which ancient features no longer need to be worried about.
1749 setgid -> set-group-ID
1750 setuid -> set-user-ID (these are the Posix terms)
1751 Fix some misuses of "only".
1752 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
1753 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
1754 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
1755 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
1756 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
1757 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
1758 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
1759 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
1760 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
1761 Mention that these macros are obsolescent.
1762 (Installation Directory Variables): shall -> should
1763 (File Descriptors): Mention that 0, 1, 2 might get reopened.
1764 Mention that it's now safe to use 3 and 4.
1765 (Limitations of Usual Tools): cp -r is now specified by Posix.
1766 Omit longwinded and obsolescent discussion of cp -f.
1767 Modernize discussion of expr, ls.
1768 (Limitations of Make): Modernize discussion of VPATH builds.
1769 Mention $? as a workaround in some cases.
1770 * doc/install.texi (Basic Installation):
1771 Mention "./configure; make; make install" first. Be more
1772 specific about why this file is generic. Remove unnecessary
1773 parens. Remove misleading "only". Remove obsolete advice
1774 about csh. Don't say "configure" takes awhile; say it
1775 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
1776 and CC=c99 rather than CC=c89, as these are blessed by current
1777 Posix. Recommend GNU make if doing a VPATH build.
1779 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
1781 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
1782 examples involving shell prompts.
1784 2006-06-02 Stepan Kasal <kasal@ucw.cz>
1785 and Paul Eggert <eggert@cs.ucla.edu>
1787 * doc/autoconf.texi (Here-Documents): Add details about the
1788 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
1789 use "here-documents" instead of "here documents".
1791 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1793 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
1795 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
1797 * doc/autoconf.texi (File System Conventions): Warn about ":"
1798 anywhere in directory names.
1800 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
1802 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
1803 about quoting the case statement, just in case.
1804 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
1805 was fixed in ksh93g; reported by Ralf Wildenhues.
1807 2006-05-31 Stepan Kasal <kasal@ucw.cz>
1809 * doc/autoconf.texi (System Services): Do not document
1810 overriding EXEEXT via ac_cv_exeext=ext.
1811 (Particular Programs) <AC_PROG_MKDIR_P>:
1812 Document that ${MKDIR_P} understands --.
1813 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
1816 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1818 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
1819 argument with leading hyphen. Problem reported by Paul Eggert.
1821 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
1823 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
1824 about quoting ac_try: quote all of it, if any of it seems suspicious.
1825 This means we don't have to worry about ${ or sed any more.
1826 Also, double-quote the case statement, to work around misuses via
1827 underquoting as reported by Ralf Wildenhues in
1828 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
1829 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
1830 undocumented and dangerous macro.
1831 Problem reported by Ralf Wildenhues in
1832 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
1834 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1836 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
1837 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
1838 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
1840 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
1842 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
1843 since evidently some packages rely on the old, broken behavior.
1844 Problem reported by Ralf Wildenhues in
1845 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
1846 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
1847 pre-2006-05-26 definitions, but leave in the comments that
1848 these macros are dangerous and should not be used.
1849 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
1850 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
1851 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
1852 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
1853 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
1855 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
1857 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
1858 the use of 'tr', since this is our only use of 'tr'.
1860 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1861 and Paul Eggert <eggert@cs.ucla.edu>
1863 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
1864 Don't assume 'grep' works on long lines, since AIX grep doesn't.
1866 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1868 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
1869 the output file in the `${datarootdir}' test.
1871 2005-05-28 Stepan Kasal <kasal@ucw.cz>
1872 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1874 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
1875 mention of `datarootdir' in the input file(s), but literal
1876 `${datarootdir}' in the output file, and we haven't warned yet,
1877 then warn as well: the user may have (erroneously) used
1878 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
1879 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
1880 * tests/torture.at (datarootdir workaround): Extend this test.
1883 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1884 and Paul Eggert <eggert@cs.ucla.edu>
1886 * doc/autoconf.texi (autoheader Invocation): The first argument to
1887 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
1888 alternatives and clear up the language a bit.
1890 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
1892 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
1893 ac_config_guess, ac_config_sub, ac_configure.
1894 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1895 Fix typo that prevented an unnecessary space from being removed.
1896 Problems reported by Ralf Wildenhues in:
1897 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
1899 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
1901 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
1902 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
1903 Don't use the term "thread-safe" to talk about mkdir race
1904 conditions, since the problem is more a process than a thread
1905 issue. Problem reported by Stepan Kasal in:
1906 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
1907 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
1908 the test for 'install' more closely. Look at MKDIR_P first.
1909 Look in the PATH, and at /opt/sfw/bin.
1910 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
1911 Don't bother to try mkdir -p, since we already check mkdir --version;
1912 just look at the version number. (There's no easy way to check
1913 for race-free implementations.)
1914 * tests/tools.at (autoconf: subdirectories): Adjust to above
1915 changes, since MKDIR_P now might end in "/mkdir -p".
1917 * doc/autoconf.texi (autoheader Invocation): Mention that the
1918 first arg of AC_DEFINE_UNQUOTED must be a literal.
1919 Problem reported by Ben Pfaff in
1920 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
1922 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
1923 * doc/autoconf.texi (Special Chars in Variables): New section.
1924 (Preset Output Variables): Warn about special chars in CPPFLAGS.
1925 (Installation Directory Variables): Quote $(datadir) better.
1926 (Limitations of Builtins): Describe some of eval's trickiness.
1928 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
1929 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
1930 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
1931 in front of every arg, not just trailing args. Quote apostrophes.
1932 (_AC_EVAL_ECHO): New macro.
1933 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
1934 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
1936 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
1937 exposed by quoting of eval argument. Put the command on line line
1939 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
1940 (_AC_PATH_X, AC_PATH_X): Quote more safely.
1941 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
1942 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
1943 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
1944 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
1945 Use eval more safely.
1946 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
1947 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
1949 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
1950 lines, exposed by quoting of eval argument.
1952 2006-05-26 Stepan Kasal <kasal@ucw.cz>
1953 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1955 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
1956 initialization of `ac_cv_exeext', do not override it if it was
1957 already set, unless it was set to `no', for compatibility with
1958 Autoconf-2.13, and comment this.
1959 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
1960 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
1961 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
1962 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
1963 Document that this test may be overridden by setting
1966 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1968 Revert these two patches:
1970 2006-04-06 Eric Blake <ebb9@byu.net>
1971 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1972 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
1975 2006-04-01 Stepan Kasal <kasal@ucw.cz>
1976 Clean up _AC_COMPILER_EXEEXT* macros.
1977 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
1978 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
1979 ac_file to the name of the default output file and call
1980 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
1981 initial `rm' of the candidate files...
1982 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
1983 the same list in subsequent `rm' calls, and for the temporary
1984 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
1985 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
1986 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
1987 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
1988 no longer needed) by libtool. Make it a cache check.
1989 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
1990 copied here by mistake.
1991 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
1992 _AC_COMPILER_EXEEXT.
1993 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
1994 _AC_COMPILER_OBJEXT directly.
1995 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1997 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1999 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
2000 Fix description of how the buggy `sed' works.
2002 2006-05-25 Noah Misch <noah@cs.caltech.edu>
2006 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
2007 ENOLCK. Only mention `make -j' when applicable. Only raise
2008 fatal errors when `make -j' is involved. Improve error message.
2010 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2012 * doc/autoconf.texi (Here-Documents): We now know more about
2013 the variable expansion in here documents bug.
2014 Thanks to Tim Rice and Stepan Kasal.
2016 * doc/autoconf.texi (Making testsuite Scripts): Add an example
2017 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
2019 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2021 * tests/autotest.at (Multiline command from M4 expansion):
2022 No failure to be expected if the shell quotes newlines in
2023 commands in the `set -x' output. Report by Tim Rice.
2026 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
2028 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
2029 expansion in the here-documents used by config.status, as that
2030 runs afoul of the Korn shell version M-12/28/93d bug described in
2031 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
2032 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
2033 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
2035 2006-05-23 Jim Meyering <jim@meyering.net>
2037 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
2038 Fix typo introduced with 2006-04-02 change. It reversed the sense
2041 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
2043 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
2044 ac_dB slightly, to save bytes in the script.
2045 Max out at 50 lines, rather than 96; this is more likely
2046 (though not guaranteed) to avoid obscure 'sed' failures.
2048 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2050 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
2051 `tr -d -' as bad option argument. Work around this by deleting
2052 an unrelated character.
2053 Report by Tim Rice <tim@multitalents.net>.
2055 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
2056 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
2057 Stepan Kasal <kasal@ucw.cz>
2059 * doc/autoconf.texi (Particular Programs): Do not promise that
2060 we always prefer the GNU version of the program, and that we
2061 search according to PATH; both rules can have exceptions.
2062 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
2063 AC_PROG_SED. Move descriptions of limitations
2064 to the Limitations of Usual Tools section.
2065 (Limitations of Usual Tools) <sed>: Mention script length
2066 limitations with Solaris /usr/ucb/sed.
2067 <grep>: Fix wording for empty alternative. Mention that -c and
2068 -l should not be combined, and that -E and -F should not be
2071 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2072 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2074 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
2075 limits in Solaris 8 /usr/ucb/sed by testing a long script.
2077 2006-05-22 Stepan Kasal <kasal@ucw.cz>
2079 * doc/autoconf.texi (Defining Symbols): Literal parameter of
2080 AC_DEFINE is now passed to m4_pattern_allow.
2081 * NEWS: Mention that; likewise for AC_SUBST.
2082 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
2083 the parameter to m4_pattern_allow.
2084 * tests/tools.at: Add a check for that.
2086 2006-05-22 Stepan Kasal <kasal@ucw.cz>
2088 * lib/autoconf/status.m4: Fix typos.
2090 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2092 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2093 only the files that this macro generates.
2095 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2097 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
2098 the HP-UX sed limitation of 99 commands, labels do not count.
2099 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
2101 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
2103 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2105 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
2106 Import the following fix from coreutils:
2108 2006-01-13 Jim Meyering <jim@meyering.net>
2110 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
2111 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
2112 not double-quote uses of that variable, to accommodate the rare
2113 case in which getmntent is available in none of the libraries
2114 checked. This happens at least on FreeBSD 5.0.
2116 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
2118 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
2119 ac_config_guess, ac_config_sub, and ac_configure, since evidently
2120 some other programs unwisely rely on these undocumented vars.
2121 But put in warning comments about them.
2122 Problem reported by Ralf Wildenhues in
2123 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
2124 * NEWS: Document that these variables are intended to go away.
2126 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2128 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
2129 and set the language to C++ (analogous to the equivalent Fortran
2132 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
2133 * doc/autoconf.texi (C++ Compiler): Document it.
2134 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
2137 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
2139 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
2140 that caused config.status to generate 100-command sed scripts; the
2141 portable limit is 99.
2143 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2145 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
2146 variable `ac_d' instead of `d' to avoid infringing namespace.
2147 Report by Ralf Menzel.
2149 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
2151 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
2152 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
2153 * tests/tools.at (autoconf: subdirectories): New test, taken from
2154 the corresponding problem report by Ralf Wildenhues in:
2155 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
2157 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
2158 Quote some uses of shell variables if they might suffer unexpected
2159 globbing. This doesn't fix all instances of quoting problems that
2160 I found, just the easy ones that look safe.
2161 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
2162 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
2163 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
2164 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
2165 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
2166 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2167 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
2169 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
2170 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
2172 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2174 * bin/autoreconf.in ($help): Reword according to the manual.
2175 Suggested by Olly Betts.
2177 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
2178 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2180 * bin/autoreconf.in: Pass the directory argument to
2181 `require_configure_ac'. Fix comment.
2182 * tests/torture.at (Configuring subdirectories): Expose this.
2183 Reported by Olly Betts.
2185 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2187 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
2188 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
2189 Automake as follows:
2191 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
2192 `$configure_in' instead of `configure.in', to preserve
2193 directory component.
2195 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2197 * config/config.guess, config/config.sub, config/texinfo.tex,
2198 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
2200 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
2202 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
2203 test for C99 conformance; (bool) 0.5 is an integer constant
2204 expression, but (bool) -0.5 is not. Problem reported by Fedor
2205 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
2207 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
2209 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
2210 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
2211 Warn about obsolete install-sh files. Remove stray sentence
2212 fragment and fix cross reference.
2213 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
2214 install -d; this undoes the 2006-05-10 change.
2215 (MKDIR_P): Mark with AN_MAKEVAR.
2216 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
2217 that we don't require $INSTALL to be thread-safe. Move comments
2218 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
2219 of AC_PROG_INSTALL. Output a message saying that we're checking
2220 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
2221 MKDIR_P instead of AC_SUBST.
2222 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
2223 Special magic for MKDIR_P, too.
2224 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
2226 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
2228 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
2230 Sync from Automake, as follows:
2232 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2233 * config/install-sh: Initialize IFS, so field splitting isn't
2235 * config/mkinstalldirs: Likewise.
2236 * config/missing: Remove superfluous quotes. Replace all uses of
2237 `[' by `test', for consistency, and for..
2238 * config/missing (sed_minuso, sed_output): New variables.
2239 (autom4te, help2man, makeinfo): Use them. Unifies detection of
2240 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
2241 Fixes `missing' to detect `--output' for help2man. Fixes
2242 PR automake/483. Report by Dennis J. Linse.
2243 (autom4te): Document in `missing --help'.
2245 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
2247 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
2248 * config/install-sh: Don't use 'path' to talk about file names,
2249 as per GNU coding standards. Close a race condition reported by Ralf
2250 Wildenhues and Stepan Kasal. There is still a race condition
2251 on hosts that predate Posix 1003.1-1992, but we can't help this.
2252 Don't mishandle weird characters like space on pre-Posix hosts.
2253 Invoke mkdir at most once per dir arg on pre-Posix hosts.
2254 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
2255 AC_PROG_MKDIR_P from AS_MKDIR_P.
2256 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
2257 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
2258 earlier editions are not (including Automake 1.8.3).
2259 Do not suggest mkinstalldirs for thread-safety.
2260 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
2261 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
2262 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
2263 presence of special characters and race conditions.
2264 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
2265 in Autoconf's name space.
2267 2006-05-10 Bruno Haible <bruno@clisp.org>
2268 and Paul Eggert <eggert@cs.ucla.edu>
2270 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
2271 from Automake with minor changes.
2272 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
2274 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
2276 * config/install-sh: Update to Automake CVS version, as follows:
2277 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2278 * lib/install-sh: Simplify the expr implementation of dirname.
2279 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
2280 * lib/install-sh: Handle --, and diagnose unknown options.
2282 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2284 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
2285 `./autom4te' to create `./testsuite', since the `all' target
2286 will ensure its presence, but `installcheck' should not create
2287 the uninstalled wrappers.
2289 * tests/torture.at (Unusual Automake input files): Skip if we
2290 detect automake < 1.8.
2292 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2294 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
2295 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
2296 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
2299 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2301 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
2302 munge (multiple) white space and other oddities.
2303 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
2304 single quotes in variable assignment.
2305 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
2306 and similar failures by adding multiple spaces, tabs, and other
2308 Report and different test suggested by Francesco Romani
2309 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
2311 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
2312 single quotes, we only need to search for single quotes; this
2313 both simplifies the search pattern, and makes us less
2314 susceptible to `echo' variations for arguments not containing
2316 (_AC_ARG_VAR_VALIDATE): Likewise.
2318 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2320 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
2321 `$*' and IFS concatenation issue with traditional shells and
2322 bash-2.04. Report by Seanster@Seanster.com.
2324 2006-05-03 Bruno Haible <bruno@clisp.org>
2326 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
2327 precisely which Mac OS X versions have the od problem.
2329 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
2331 * doc/autoconf.texi: Use @option systematically.
2333 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
2334 and Bruno Haible <bruno@clisp.org>
2336 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
2338 (Integer Overflow): Mention the special case of integer division
2341 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2343 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
2344 traditional shells like the Solaris one that do not use the
2345 first IFS character for assembling `$*'.
2346 Prompted by a related report from autoconf_bug@nro.ca.
2348 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
2349 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2351 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
2352 Mention more problems with the -e option.
2354 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2357 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
2359 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
2360 in URLs to improve DVI formatted output (requires texinfo 4.6).
2361 (System Services, Systemology, Shellology): Likewise.
2362 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
2365 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
2367 (Runtime): Fix macro argument names to match description:
2368 `action-if-found' -> `action-if-true' and similarly.
2369 (Obsolete Macros): Likewise.
2370 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
2371 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
2372 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
2374 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2376 * doc/autoconf.texi (Limitations of Make): Clean up markup.
2379 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
2382 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2384 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
2385 /bin/sh set unsorted output.
2386 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
2387 * tests/local.at: Likewise.
2389 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
2391 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
2392 (Integer Overflow, Null Pointers, Buffer Overruns):
2393 (Floating Point Portability, Exiting Portably): New sections.
2394 (Writing Test Programs): Fix some langauge. Recommend exiting
2395 with status 1, not merely nonzero. Clarify exit declaration.
2396 (Run Time): Move C exit status stuff to new Exiting Portably section.
2397 (Systemology): Mention Posix and levenez. Update v7 reference.
2398 (Portable Shell): Mention the Posix shell.
2400 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2402 * bin/autoconf.as (me): Replace by as_me.
2404 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
2406 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
2407 since as_me isn't set yet.
2409 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
2411 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
2412 a few minor bugs in this area.
2414 * doc/autoconf.texi (Programming in M4sh): Comment out the
2415 documentation of AS_BASENAME, for now.
2416 (Shell Substitutions): Do not use AS_DIRNAME in an example.
2417 (Limitations of Builtins) <basename>: Do not refer to
2419 * bin/autoconf.as (me): Don't use AS_BASENAME.
2420 (dir): Remove the unused variable.
2421 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
2422 AS_DETECT_REQUIRED. All uses changed.
2423 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
2425 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
2426 (AS_BASENAME): Use "basename --" to protect against leading "-".
2427 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
2428 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
2429 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
2430 (_AS_DIRNAME_PREPARE): Likewise.
2431 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
2432 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
2433 (AS_DIRNAME): Use "dirname --".
2435 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
2437 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
2438 of "run time" and "run-time" changed to "runtime", for consistency.
2439 * lib/autoconf/fortran.m4: Likewise (in comment).
2440 * lib/autoconf/functions.m4: Likewise.
2441 * lib/autoconf/general.m4: Likewise.
2442 * lib/autoconf/headers.m4: Likewise.
2444 * doc/autoconf.texi (Run Time): Document the exit status situation
2445 with more accuracy and detail.
2447 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2449 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
2450 Archive is not officially `GNU' any more. Update URL.
2451 (Defining Directories): Likewise
2452 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
2454 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2456 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
2457 newline from the `trap' code to finish `config.log'; the NetBSD
2458 /bin/sh resets the exit status after an empty command, as
2459 documented in doc/autoconf.texi.
2460 Reported by Dalibor Topic <robilad@kaffe.org>.
2462 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
2464 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
2465 Suggested by Bruno Haible.
2467 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
2469 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
2470 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
2471 Instead, just list the shells that we know work.
2472 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
2473 changed. Be more cautious about the _cv_ variable.
2474 * tests/tools.at (Syntax of the shell scripts): Check the
2475 _cv_ variable once, at first, to avoid an internal autoconf error
2476 when sh -n does not work.
2478 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2480 * lib/Autom4te/FileUtils.pm: Sync from Automake.
2482 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
2484 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
2485 use ">&-" since we're only 99.999% sure that this is portable,
2486 and since the MinGW bug is fixed in a different way.
2487 * lib/autotest/general.m4 (AT_INIT): Likewise.
2489 2006-04-16 Stepan Kasal <kasal@ucw.cz>
2491 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
2492 before opening config.log, to avoid hitting a bug on MinGW.
2494 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
2496 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
2497 AS_MESSAGE_LOG_FD before reopening it onto the log file.
2498 This works around a MinGW bug reported by Eric Paire.
2499 Make sure that all writes to the log file append to it,
2500 rather than possibly losing data.
2501 * lib/autotest/general.m4 (AT_INIT): Likewise.
2503 2006-04-14 Stepan Kasal <kasal@ucw.cz>
2505 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
2508 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2512 * configure.ac (AC_INIT): Bump to 2.59d.
2514 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2518 * Makefile.maint (news-date-check): Do not require a leading `*'
2519 before the release date in NEWS.
2521 2006-04-12 Stepan Kasal <kasal@ucw.cz>
2522 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2524 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
2525 the instantiated file do not contain the string 'datarootdir'
2526 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
2527 @mandir@, replace the reference '${datarootdir}' by the value.
2528 * tests/torture.at (datarootdir workaround): New test.
2529 * NEWS: Advertise this temporary fixup.
2530 Based on a patch by Bruno Haible, reported and analyzed by
2531 Paul Eggert and Noah Misch.
2533 2006-04-12 Eric Blake <ebb9@byu.net>
2535 * tests/autotest.at (Debugging a failed test): Fix comment.
2537 2006-04-12 Stepan Kasal <kasal@ucw.cz>
2539 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
2540 all the changes since 2006-04-07.
2542 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2544 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
2545 succeeded, but `ln -s file dir' failed, take care to remove the
2546 leftover target before the next test, to prevent its spurious
2547 failure; also make sure `ln file dir' works before selecting it.
2548 Thanks to Keith Marshall for pointing this out.
2551 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
2552 assignments in `at_debug_args', so that we put them correctly
2553 in the `run' script.
2554 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
2555 Reported by Eric Blake.
2557 2006-04-11 Eric Blake <ebb9@byu.net>
2559 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
2560 top-level tests after micro-suite has been run. Used in...
2561 (Debugging a successful test, Debugging script and environment),
2562 (Debugging a failed test): ...these new tests. The first of these
2564 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
2565 macro, split out from...
2566 (AT_INIT): ...here, so that using -d also generates a run script.
2567 Document that -d inhibits top-level logging.
2568 * doc/autoconf.texi (testsuite Invocation): Document that -d only
2569 inhibits top-level logging; debug scripts are created.
2571 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
2573 * tests/autotest.at (Empty test, Empty check): New test to check it.
2575 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
2578 2006-04-10 Stepan Kasal <kasal@ucw.cz>
2580 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
2581 the files if a problem appears. Make the empty *.at files
2582 read-only, too. Proposed by Ralf Wildenhues.
2584 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2586 * config/Makefile.am: Add comment to force updated Makefile.in.
2588 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
2589 space only patch to this file, this patch causes the Makefile.in
2590 files that include freeze.mk to be updated, and thus have a
2591 newer time stamp again, which in turn makes a pristine CVS
2592 checkout have correct time stamps.
2594 * Makefile.maint (cvs-sv): New macro, to be used..
2595 (config.guess-url_prefix, config.sub-url_prefix)
2596 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
2597 point to CVS text checkout of Gnulib files.
2598 (copyright-check): Bump current year.
2599 (announcement): Do not hard-wire `./announce-gen'.
2600 (cvs-update): Propagate failures of `cvs' and `move-if-change'
2602 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
2604 (wget_files): Update config.guess, config.sub, texinfo.tex by
2605 `wget-update', now that their URLs work again.
2607 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
2609 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
2610 Problem noted by Paul D. Smith.
2612 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2614 * doc/autoconf.texi: Remove unused words from word list.
2615 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
2616 .x-sc_trailing_space: New files.
2618 * doc/standards.texi: Sync from gnulib.
2620 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
2621 `LIBOBJDIR' as experimental.
2623 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
2624 with a target directory; it's internally implemented as `cp'
2625 anyway, but since Autoconf advertises the possibility to use
2626 a target directory when LN_S is `ln -s', we need to find out.
2627 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
2628 analyzed by Keith Marshall <keith.marshall@total.com>.
2632 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
2634 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
2635 confdefs.h as-is. In general, if it has backslash-newline or the
2636 like, then it doesn't work either to sort or to remove empty
2639 2006-04-09 Stepan Kasal <kasal@ucw.cz>
2641 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
2643 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
2645 * lib/autom4te.in (Automake-preselections): Preselect
2648 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
2650 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
2651 apostrophe within a single-quoted string, as this is the usual
2652 tradition and is easier to read than '"'"'. Don't rely on the
2653 shell treating "$/" like '$/'. Use a more-consistent indenting
2656 2006-04-09 Eric Blake <ebb9@byu.net>
2658 * tests/autotest.at (Backquote command substitution),
2659 (Multiline backquote command substitution): Remove mistaken
2660 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
2662 (Parenthetical command substitution, Multiline parenthetical
2663 command substitution): here.
2665 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
2667 Import macros from gnulib (often changing their name).
2669 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
2670 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
2671 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
2672 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
2673 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
2674 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2675 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
2676 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
2677 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
2678 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
2679 The manual mentions Gnulib more prominently.
2680 * doc/autoconf.texi (Gnulib): New node.
2681 (Pointers): Add Gnulib URL.
2682 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
2683 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
2685 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
2686 suggest a #define rather than a typedef for _Bool, and mention
2687 Gnulib rather than trying to substitute stdbool code.
2688 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
2689 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
2690 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
2691 AC_STRUCT_DIRENT_D_TYPE.
2692 (Particular Types): Mention stdint.h and inttypes.h as standard
2694 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2695 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
2696 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
2697 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
2698 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
2699 (C Compiler): Move AC_C_LONG_DOUBLE to ...
2700 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
2701 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
2702 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
2703 (Coding Style). Don't mention m4_expand_once.
2704 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
2705 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
2706 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
2707 (AC_CHECK_FUNCS): Use it.
2708 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
2709 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
2710 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
2711 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
2712 (AC_HEADER_ASSERT): New macro.
2713 (AC_HEADER_STDBOOL): Don't assume "#error" works.
2714 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
2715 Catch a bug in an HP-UX C compiler.
2716 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
2717 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
2718 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
2719 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
2720 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
2721 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
2724 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
2725 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
2727 2006-04-08 Stepan Kasal <kasal@ucw.cz>
2729 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
2730 of the warning introduced by the 2001-08-28 change.
2732 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
2733 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2735 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
2736 variables shall be overriden by the cache.
2737 * tests/torture.at (AC_ARG_VAR): Test also with a first value
2738 that contains braces.
2740 2006-04-07 Stepan Kasal <kasal@ucw.cz>
2742 Revert the patch from 2006-04-01 and only improve
2743 _AS_DETECT_BETTER_SHELL:
2745 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
2746 skip nonexistent directories.
2747 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
2748 only shell candidates which exist.
2749 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
2750 * lib/autotest/general.m4 (AT_INIT): No need to give three
2751 parameters to _AS_PATH_WALK.
2753 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
2754 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2756 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
2757 distinguish m4sugar macros.
2758 * tests/tools.at (autoupdating with aclocal and m4_include):
2759 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
2760 test case by Noah Misch <noah@cs.caltech.edu>.
2762 2006-04-07 Stepan Kasal <kasal@ucw.cz>
2764 Revert my change from 2006-03-17, in other words:
2765 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
2767 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
2768 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
2771 2006-04-07 Eric Blake <ebb9@byu.net>
2773 * doc/autoconf.texi (Programming in M4sh): Document that
2774 AS_MKDIR_P exits the script on failure.
2775 * lib/autotest/general.m4: Remove redundant AS_ERROR.
2777 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2779 * config/elisp-comp, config/install-sh, config/mdate-sh,
2780 config/missing, config/mkinstalldirs: Sync from Automake.
2782 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
2785 * doc/make-stds.texi: Sync from gnulib.
2787 2006-04-06 Eric Blake <ebb9@byu.net>
2789 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
2790 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
2793 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
2794 Eric Blake <ebb9@byu.net>,
2795 Paul Eggert <eggert@cs.ucla.edu>,
2796 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2798 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
2799 whether `set' quotes correctly: redirect stderr of the tested
2800 `set', and use a subshell, for Ultrix; use `sed' instead of
2801 `grep' for zsh `set' which may write binary output; match only
2802 at the beginning of a line, to avoid false positives.
2803 In order to avoid false positives by unrelated variables with
2804 multiline content, put the dump algorithm in a subshell and
2805 unset all variables containing newlines (except some which are
2806 special to the shell). Warn about cache variables that are
2809 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2811 * config/config.guess, config/config.sub, config/texinfo.tex:
2814 * tests/mktests.sh: Reword comments.
2816 * tests/mktests.sh: Only skip internal macros starting with
2817 `_AC_' or `__AC_'. Noted by Stepan Kasal.
2818 Update exclusion lists for the test suite to this end:
2819 (AC_ARG_VAR): Do test this now.
2820 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
2821 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
2822 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
2823 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
2825 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
2826 shell issue with double-quoted command substitutions of native
2828 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
2831 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
2832 no file matches the glob, discard the warning, set `nullglob'.
2833 (syntax-check): Likewise.
2834 (sc_cast_of_x_alloc_return_value): Likewise.
2835 (sc_cast_of_alloca_return_value, sc_error_exit_success)
2836 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
2837 (m4-check): Likewise.
2838 (sc_system_h_headers): Do not print rule on execution.
2839 (sc_tight_scope): Do not fail for non-existing `src' directory.
2840 (sc_changelog): Skip the Copyright footer.
2841 * lib/autoconf/lang.m4: Remove trailing space.
2843 * lib/autoconf/status.m4: More replacements to
2844 <tab><space> where this makes sense.
2846 2006-04-06 Stepan Kasal <kasal@ucw.cz>
2848 * tests/Makefile.am (maintainer-check-posix):
2849 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
2851 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
2852 ac_config_<foo>s again, sometimes normalized, sometimes not.
2853 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
2854 (AC_CONFIG_COMMANDS): Do not do so here.
2855 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
2856 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
2857 2005-07-25 rewrite. Noticed by Noah Misch.
2859 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
2860 _AC_PRESERVE_HELP_ORDER, ...
2861 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
2863 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
2864 inside m4_expand_once; it is redundant.
2866 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
2867 for --help from Cygnus `configure.'
2869 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
2871 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
2872 on a patch proposed by Ralf Wildenhues.
2874 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
2876 * lib/autoconf/status.m4: Replace <space>''<tab> with
2877 <tab><space> where this makes sense.
2879 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
2880 Noah Misch <noah@cs.caltech.edu>
2882 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
2883 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
2884 * doc/autoconf.texi (Help Formatting): New node.
2885 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
2887 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2889 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
2890 lib/autoconf/specific.m4, lib/autoconf/status.m4,
2891 lib/autoconf/types.m4, lib/autotest/general.m4,
2892 tests/mktests.sh, tests/torture.at: White space cleanup:
2893 remove some SPACE before TAB, or add quoting ('' or @&t@).
2895 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
2897 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
2899 2006-04-05 Eric Blake <ebb9@byu.net>
2901 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
2902 empty test suite works.
2903 * tests/autotest.at (Empty test suite): Remove xfail.
2905 2006-04-05 Noah Misch <noah@cs.caltech.edu>
2907 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
2908 TAGS to ac_config_<foo>s.
2909 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
2910 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
2911 normalizing it, consistent it with previous releases.
2912 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
2914 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
2916 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
2917 Use simplified args that Eric Blake originally suggested.
2919 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
2921 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
2922 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
2923 Use 'comm' rather than N instances of grep; this also fixes a bug
2924 whereby substrings were incorrectly matched, causing us to not
2925 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
2926 (exclude_list): Exclude empty macros.
2927 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
2929 Use awk rather than grep -E or egrep, to avoid
2930 portability problems with regular expressions containing newlines.
2931 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
2932 Switch from grep to awk syntax.
2933 (ac_exclude_script): Renamed from ac_exclude_egrep.
2934 (au_exclude_script): Renamed from au_exclude_egrep.
2936 2006-04-04 Noah Misch <noah@cs.caltech.edu>
2938 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
2939 a subdirectory subject to Cygnus `configure'.
2940 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
2942 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
2943 report request when we have no AC_PACKAGE_BUGREPORT.
2945 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2949 * tests/mktests.sh: Update copyright year in the header of the
2952 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
2953 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
2954 typedef'ed restricted pointer, to catch a compiler bug on
2955 HP-UX 11.x, and fix warnings so it passes with -Werror.
2956 (_AC_PROG_CC_C99): Likewise.
2957 Reported by Albert Chin <china@thewrittenword.com>.
2958 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
2960 2006-04-03 Noah Misch <noah@cs.caltech.edu>
2962 * bin/autoscan.in (subdirs): New global.
2963 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
2964 (output): Emit AC_CONFIG_SUBDIRS as needed.
2965 * tests/autoscan.at (autoscan): Remove XFAIL.
2967 2006-04-03 Noah Misch <noah@cs.caltech.edu>
2969 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
2971 2006-04-03 Eric Blake <ebb9@byu.net>
2973 * THANKS: Add myself.
2975 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2977 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
2978 to log, point to testsuite output tree.
2980 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
2982 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
2983 * doc/autoconf.texi (Function Portability): Mention that C++
2984 has trouble with 'exit'.
2985 (Guidelines): Test programs shouldn't use 'exit'.
2986 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
2987 Remove; all uses removed.
2988 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
2989 Return from 'main' instead of calling 'exit'.
2990 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
2991 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
2992 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
2993 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2994 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
2995 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2996 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
2997 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
2998 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2999 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
3000 * tests/compile.at: Likewise.
3002 2006-04-02 Pavel Roskin <proski@gnu.org>
3004 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
3006 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3008 Clean up _AC_COMPILER_EXEEXT* macros.
3010 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3011 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3012 ac_file to the name of the default output file and call
3013 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
3014 initial `rm' of the candidate files...
3015 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
3016 the same list in subsequent `rm' calls, and for the temporary
3017 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3018 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3019 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3020 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3021 no longer needed) by libtool. Make it a cache check.
3022 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3023 copied here by mistake.
3024 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3025 _AC_COMPILER_EXEEXT.
3026 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3027 _AC_COMPILER_OBJEXT directly.
3028 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3030 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3032 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
3033 (AS_DIRNAME): Use it.
3034 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
3036 * tests/*.at: Remove the generated ones.
3038 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3040 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
3042 2006-04-01 Eric Blake <ebb9@byu.net>
3044 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
3045 directories, unless optional third argument supplied.
3046 (AS_UNAME): Don't optimize PATH walk.
3048 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
3050 2006-04-01 Eric Blake <ebb9@byu.net>
3051 and Stepan Kasal <kasal@ucw.cz>
3053 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
3056 2006-04-01 Noah Misch <noah@cs.caltech.edu>
3058 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
3059 Autoconf version number despite a zero- or one-argument AC_INIT.
3061 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
3063 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
3064 * doc/autoconf.texi (autoreconf Invocation): Document it.
3066 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
3067 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
3069 2006-04-01 Eric Blake <ebb9@byu.net>
3071 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
3072 * lib/autotest/general.m4: Be tolerant of existing directory when
3073 rm failed to remove it.
3075 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3077 * bin/autoupdate.in: Redefine m4_location so that warnings print
3078 the correct lines of the input file by subtracting..
3079 (_au__first_line): ..this new definition.
3081 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
3082 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
3083 Remove stray newline in output.
3084 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
3085 AC_DEFUN this for autoconf, including the obsoletion diagnose.
3086 Fixes autoupdating of code where the replacement output contains
3088 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
3089 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
3090 (au_exclude_list): Add AC_LANG_SAVE.
3091 * tests/tools.at: Several new tests for all of this.
3092 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
3094 The AC_LANG_SAVE issue was reported against Libtool by
3095 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
3096 Kristian Kvilekval <kris@cs.ucsb.edu>.
3098 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3100 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
3101 switch all of them on and of when necessary. Fixes the bug when
3102 m4sugar macros (e.g., m4_define) were expanded after the first
3103 automatic update (e.g., after AC_PREREQ or AC_INIT).
3105 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
3107 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
3108 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
3110 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
3111 correctly. Problem reported by Eric Blake.
3112 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
3115 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
3117 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
3118 Tighten up the basename/dirname wording.
3120 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3122 * Makefile.maint (sc_texi_notab): New check: do not use TABs
3123 in texinfo files outside of verbatim environments.
3124 (syntax-check-rules): Update.
3125 * doc/autoconf.texi (Configuration Headers): Conform to it.
3127 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
3129 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
3130 aclocal cannot be given on the command line.
3132 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
3134 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
3135 Give an example for AS_DIRNAME instead of referring to Posix..
3136 (File System Conventions): Put discussion of // versus / here, and
3138 (Limitations of Usual Tools): Add basename. Remove verbiage
3139 after dirname, since it got moved to the above sections.
3140 All this was inspired by a patch proposed earlier by Eric Blake.
3142 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3144 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
3145 `$0' to protect against spaces.
3146 * lib/autotest/general.m4 (AT_INIT): Likewise.
3147 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
3150 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3152 * bin/autoscan.in: The value of find_configure_ac should be
3153 checked for existence, so we don't barf over a nonexisting
3154 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
3156 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3158 * bin/autoupdate.in: Fix some typos.
3160 2006-03-21 Stepan Kasal <kasal@ucw.cz>
3162 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
3164 * lib/autoscan/autoscan.list: Refreshed.
3166 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3168 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
3169 and Erlang related variables.
3171 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
3172 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
3173 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
3174 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
3175 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
3176 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
3177 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
3178 (_AC_PROG_OBJC_G): New macros.
3179 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
3180 * doc/autoconf.texi (Objective C Compiler): New node.
3181 (Preset Output Variables): Document OBJCFLAGS.
3182 (Language Choice): Document `Objective C' language.
3183 (Fortran Compiler): Fix typo.
3185 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
3187 2006-03-20 Stepan Kasal <kasal@ucw.cz>
3189 * doc/autoconf.texi (Default Includes): Fix typo
3190 s/AC_HEADERS_STDC/AC_HEADER_STDC/
3191 (Limitations of Usual Tools): s/unwriteable/unwritable/
3192 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
3193 Fix typos in the comments.
3195 2006-03-17 Stepan Kasal <kasal@ucw.cz>
3197 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
3198 Factor out the warning to...
3199 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
3200 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
3201 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3203 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
3204 case `ac_delim' when writing the sed script.
3206 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
3207 moved DUALCASE=1 ...
3208 (AS_SHELL_SANITIZE): ... here.
3209 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
3212 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
3214 (_AC_PATH_PROG): Store the result to VARIABLE.
3215 (AC_PATH_PROG): No need to set VARIABLE again.
3217 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
3218 the first one is usual AT_CHECK_MACRO test, the second one checks
3219 that the same works when cross-compiling.
3220 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
3221 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
3223 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3225 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
3226 the directory `/usr/bin/posix' in the shell search, to prefer
3227 the Posix shell not only in subsequent spawns as with `$BIN_SH'
3230 * doc/autoconf.texi (contents): To fix texi2html output, hide
3231 `@setcontentsaftertitlepage' for HTML.
3232 (Writing Autoconf Macros): Likewise, insert space after `@c'.
3233 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
3236 2006-03-16 Stepan Kasal <kasal@ucw.cz>
3238 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
3240 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
3241 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
3242 why IFS is restored so late; thank you, Ralf, for reminding us.
3244 2006-03-15 Stepan Kasal <kasal@ucw.cz>
3246 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
3247 variables in the examples.
3249 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3251 * doc/autoconf.texi (several sections): Cleaned up documentation for
3252 macros in erlang.m4.
3254 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3256 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
3257 failure condition for `$(cmd)' style command substitutions.
3258 (Parenthetical command substition, Multiline parenthetical
3259 command substition): Use it.
3261 * doc/autoconf.texi (Special Shell Variables): Missing word.
3262 Reported by Keith Marshall <keith.marshall@total.com>.
3264 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
3265 IFS even in case of empty `$PATH'.
3267 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3269 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
3270 `expr' away if there is nothing to do.
3271 < --keywords >: Simplify and robustify argument handling.
3272 Revert erroneous comment from 2005-08-23. Extend to allow
3273 keyword negation with `!'.
3274 Update help message. Remove broken code to prevent running
3275 tests multiple times.
3276 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
3277 Update and fix the documentation accordingly.
3278 * tests/autotest.at (Keywords): Renamed to..
3279 (Keywords and ranges): .. this. Extended to make sure negated
3280 keywords, keywords taken from AT_SETUP arguments, and numeric
3281 test ranges work, and that matching is case-insensitive.
3283 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3285 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
3286 allow to pass unnamed structs even in C++.
3287 (AC_CHECK_SIZEOF): Likewise.
3288 Also fix quoting error in `AC_MSG_FAILURE' arguments.
3289 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
3290 struct): New tests for unnamed structs, each both native and
3293 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
3294 a structure inside a cast, for C++ conformance.
3295 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
3296 Also fix quoting error in `AC_MSG_FAILURE' arguments.
3298 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
3299 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
3300 trying to execute the command `no'.
3302 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
3303 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
3306 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
3307 example. Do not emphasize `$%', it is hardly new and special.
3308 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
3310 * doc/autoconf.texi (Limitations of Usual Tools): Document
3311 OpenBSD and traditional `grep' failure to handle multiple
3312 patterns separated by newlines.
3314 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3316 * doc/autoconf.texi (several sections): Add documentation for macros
3319 2006-03-10 Eric Blake <ebb9@byu.net>
3321 * doc/autoconf.texi (Obsolete Macros): Fix wording of
3324 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
3326 * doc/autoconf.texi: Use @acronym more consistently for acronyms
3327 like BSD, GPL, LGPL. Fix minor English typos.
3328 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
3329 Mention that these macros are becoming obsolete.
3330 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
3331 Use more modern terminology for which standard is what.
3332 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
3334 (AC_PROG_CXX): Likewise.
3335 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
3336 Remove obsolete discussion about how to port to K&R.
3337 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
3338 the obsolescent AC_HEADER_STDC.
3339 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
3342 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3344 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3345 Remove stdin redirection from /dev/null to allow pipe to work.
3347 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
3349 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3350 Require that /lib/cpp include stdio.h correctly. Solaris 10's
3351 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
3354 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3356 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
3357 HP-UX sed is 99 commands, not 100.
3358 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
3359 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
3360 newline for portability.
3361 * tests/torture.at (Torturing config.status): Also test 100
3362 AC_SUBST_FILE invocations. Fix test to actually verify the
3363 AC_CONFIG_FILES output.
3364 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
3365 command, label, and read-file `r' limits. Unify HP-UX spelling.
3367 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
3369 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
3371 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
3372 * tests/mktests.sh: Small shell portability fixes.
3374 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3376 * doc/autoconf.texi (Caching Results): Fix the examples to use a
3377 recommended quoting style and discard unwanted output.
3379 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
3381 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
3382 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
3383 cases, and to work around Tru64 expr bug.
3385 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3387 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
3388 expr bug that turns the result of a regex match into a number if
3391 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3393 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
3394 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
3395 in section `Specific Compiler Characteristics'.
3397 2006-03-04 Eric Blake <ebb9@byu.net>
3399 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
3402 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3404 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
3405 order of variable initialization, so even the Solaris 2.6 shell
3406 can create a config header correctly. Fixes lots of test suite
3409 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3411 * doc/autoconf.texi (Text processing Macros): New node to
3412 document the m4sugar macros m4_re_escape, m4_tolower,
3413 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
3415 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
3417 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
3418 XrmInitialize (0) -> XrmInitialize ().
3419 Reported by Toshio Kuratomi.
3421 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3423 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
3424 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
3425 * doc/autoconf.texi (Programming in M4sh): Adjusted.
3426 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
3427 both macros are defun'ed so that required macros are evaluated
3430 * doc/autoconf.texi (Prerequisite Macros): State more precisely
3431 where a required macro will be expanded.
3432 (Coding Style): Another reason not to use `m4_define'.
3434 2006-02-21 Eric Blake <ebb9@byu.net>
3436 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
3438 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3440 * doc/autoconf.texi (Looping constructs): New node, to
3441 document m4_for, m4_foreach, m4_foreach_w, and mention
3442 obsolete AC_FOREACH.
3443 (Obsolete Macros): Document AC_FOREACH.
3444 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
3445 (m4_for): Fix to never loop (almost) endlessly, work correctly
3446 with arithmetic expressions in arguments, a step of zero or
3447 non-integer multiple of the interval, and avoid integer
3449 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
3452 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3454 Add basic support for Erlang, both for configuring Erlang/OTP
3455 tools, and Erlang as a conf test language.
3456 * lib/autoconf/erlang.m4: New file.
3457 * lib/autoconf/autoconf.m4: Add erlang.m4.
3458 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
3459 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
3460 * NEWS: Add short description of new macros.
3461 * THANKS: Add Romain Lenglet.
3463 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3465 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
3466 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
3468 2006-02-15 Eric Blake <ebb9@byu.net>
3470 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
3473 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3475 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
3476 (_AS_CASE): Private helper macro.
3477 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
3478 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
3479 Fix syntax of AS_IF description
3480 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
3481 for the AC_REQUIRE mess.
3482 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
3485 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
3487 * doc/autoconf.texi: Minor style cleanup.
3488 Be consistent about spaces after commas.
3489 Insert [] where empty args look a bit funny.
3490 Fix some "i.e." and "e.g." usages.
3491 Try to avoid "X/Y" usages.
3492 Don't be pedantic about "ISO C99"; just say C99.
3493 Prefer GNU style for spaces in front of parens.
3494 (Function Portability): Comment about C89 versus C99
3495 signed integer division.
3496 (Particular Headers): Use current gnulib style for dirent
3499 2006-02-14 Stepan Kasal <kasal@ucw.cz>
3500 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3502 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
3503 macros without parameters.
3504 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
3505 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
3506 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
3508 (autoupdate): Updated to match AU_ALIAS fix.
3510 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3511 and Paul Eggert <eggert@cs.ucla.edu>
3513 * doc/autoconf.texi (Programming in M4sh): Document
3514 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
3516 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3518 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
3519 (AS_BOURNE_COMPATIBLE): ..this.
3520 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
3522 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
3524 * doc/install.texi (Defining Variables): Tighten up the
3525 CONFIG_SHELL wording.
3527 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
3528 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3530 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
3531 of (set -o) rather than testing whether (set -o posix) succeeds,
3532 to work around a bug in the AIX 5.3 shell. Problem originally
3533 reportd by Howard Chu for libtool.
3535 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
3537 * doc/autoconf.texi (Running the Compiler, Running the Linker):
3538 Changes the macro arguments in summaries to match the
3541 2006-02-04 Stepan Kasal <kasal@ucw.cz>
3543 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
3544 hint as ``a workaround for a bug.''
3546 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3548 * bin/autoreconf.in: New option `--no-recursive'.
3549 Improve wording for subpackages a bit.
3550 * doc/autoconf.texi (autoreconf Invocation): Updated.
3553 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
3554 in environment of `configure', not the command line.
3555 Reported by Howard Chu <hyc@highlandsun.com>.
3557 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
3559 * doc/autoconf.texi (Limitations of Builtins): Document the
3560 problem with "trap -".
3562 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
3564 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
3565 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
3566 messages to differentiate Fortran and Fortran 77 tests.
3567 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
3568 AC_LANG_ASSERT, to allow use in mixed-language projects.
3570 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
3572 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
3573 FOO" to "defined (FOO)".
3574 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
3575 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
3576 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
3577 * tests/tools.at (ifnames): Likewise.
3579 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3581 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
3582 * lib/Autom4te/General.pm (mktmpdir): Likewise.
3583 (END): Improve error message a bit.
3584 Reported by Bruce Korb <bkorb@gnu.org>.
3586 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3588 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3589 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
3591 2006-01-11 Stepan Kasal <kasal@ucw.cz>
3593 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
3594 requires sys/stream.h. Reported by Oliver Kiddle.
3596 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3597 Stepan Kasal <kasal@ucw.cz>
3599 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
3600 before the removals of test dirs, use `find' to avoid modification
3601 of symlinked directories.
3603 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
3605 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
3606 Don't ignore the macro arguments.
3608 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
3610 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
3611 declaration that works for MSVC.
3613 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3615 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
3616 Add `*.map' and `.inf' for Green Hills compiler.
3617 Reported by Stefan Seefeld <stefan@codesourcery.com>.
3619 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
3620 correctly: pad with spaces after FIRST_PREFIX if necessary,
3621 and compute string lenghts with `m4_qlen' instead of `m4_len'.
3622 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
3623 * tests/m4sh.at (AS_HELP_STRING): Test extended.
3625 Reported by numerous people, numerous times.
3627 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
3629 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
3630 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
3631 * lib/autoconf/general.m4, lib/autoconf/status.m4:
3632 * lib/autotest/general.m4, tests/local.at:
3633 Update copyright year to 2006.
3635 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
3637 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
3638 for file names, again. Reported by Noah Misch.
3639 (Coding Style): Explain that s|a|b| is preferred for file names.
3640 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
3641 (AC_OUTPUT_MAKE_DEFS): Likewise.
3642 * lib/autotest/general.m4 (AT_INIT): Likewise.
3643 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
3644 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
3646 Fix Posix-conformance bugs re use of { command in sed scripts,
3647 and improve the sed-related documentation a bit.
3648 * doc/autoconf.texi (Installation Directory Variables): Use
3649 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
3650 rather than "sed" when talking about Sed in general.
3651 (Particular Programs): Likewise.
3652 (Coding Style): y is like s with respect to / and ,.
3653 (Limitations of Usual Tools): Document the weird restrictions
3654 that Posix has about { }. Use better quoting.
3655 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
3656 Rewrite to conform to Posix rules about { } in sed scripts.
3657 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
3658 * tests/foreign.at (Libtool): Likewise.
3659 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
3660 Use our own style advice re 's,a,b,' versus 's|a|b|'.
3662 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3664 * lib/autoconf/status.m4: Fix typo.
3666 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3667 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
3668 `-def', for the benefit of Portland `pgf90 -Mipa'.
3669 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
3671 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
3673 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
3674 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
3675 shell from zsh to bash.
3677 2005-12-31 Stepan Kasal <kasal@ucw.cz>
3679 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
3680 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
3682 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
3684 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
3685 parentheses in $(...). Problem reported by Eric Blake.
3687 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
3689 * doc/autoconf.texi (Limitations of Usual Tools):
3690 Mention which characters can be escaped with \ in portable regular
3691 expressions used in grep, sed, expr. Mention the leading ^ problem
3692 with expr. Clean up some confusing wording. Mention which
3693 grep options are portable.
3695 2005-12-09 Stepan Kasal <kasal@ucw.cz>
3697 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
3699 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
3701 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
3702 patch, noted by Ralf Wildenhues.
3704 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3706 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
3707 posix' unconditionally, for pdksh in `native sh' emulation.
3709 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
3711 * doc/autoconf.texi (Shellology): Document eval $? problem
3713 (Limitations of Builtins): Likewise.
3715 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3717 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
3718 CONFIG_SHELL in the environment of the configure rerun.
3719 * doc/autoconf.texi (Here-Documents, config.status Invocation):
3720 Suggest passing CONFIG_SHELL absolute, and in the environment
3721 rather than as option.
3723 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3725 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3726 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
3727 Fix macro quoting. Fix output for n * 98 substituted variables.
3729 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3731 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
3732 `tmp' to avoid file removal race.
3734 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3736 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
3737 ac_clean_files and LIBOBJS.
3739 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3741 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
3742 Factor functionality to..
3743 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
3744 `AC_SUBST($1)' in the public version.
3745 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
3746 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
3749 2005-11-01 Stepan Kasal <kasal@ucw.cz>
3751 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
3754 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3756 * NEWS: Move AH_HEADER mention to right place.
3758 2005-10-27 Stepan Kasal <kasal@ucw.cz>
3760 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
3761 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3763 2005-10-25 Stepan Kasal <kasal@ucw.cz>
3765 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
3766 conftst2.$ac_objext.
3767 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3769 2005-10-24 Stepan Kasal <kasal@ucw.cz>
3771 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
3772 conftest.o, to see whether the compiler really obeys; rm the object
3773 file before and after the test and register it with ac_clean_files.
3774 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3776 2005-10-21 Stepan Kasal <kasal@ucw.cz>
3778 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
3779 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
3780 code so that the most common case requires less forks.
3782 2005-10-20 Stepan Kasal <kasal@ucw.cz>
3784 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
3785 not portable; thanks to Paul Eggert and Alexandre.
3787 * NEWS: Fix an old typo.
3789 2005-10-20 Jim Meyering <jim@meyering.net>
3791 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
3792 the latter'', in two places.
3794 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
3796 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
3797 AC_LANG_PROGRAM, fixing a typo. Don't give details about
3798 the inner workings of AC_LANG_FUNC_LINK_TRY.
3799 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
3800 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
3801 by the function rather than ignoring it.
3802 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
3803 comparing its address. Intel's interprocedural optimization was
3804 outsmarting the old heuristic. Problem reported by
3807 2005-10-19 Stepan Kasal <kasal@ucw.cz>
3809 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
3811 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
3813 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
3814 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
3816 2005-10-04 Stepan Kasal <kasal@ucw.cz>
3818 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
3819 before removing it (chmod -R u+rwx); there are three instances of this.
3821 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3822 Stepan Kasal <kasal@ucw.cz>
3824 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
3825 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
3826 make its content writable before removing it. Remove an errorneous
3827 comment from the end, where the logs of the failed tests are copied
3828 to the main log file.
3830 2005-09-27 Stepan Kasal <kasal@ucw.cz>
3832 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
3833 in case the computer is too quick. Double quote the configure.ac
3836 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
3837 problems if the testsuite were running too fast.
3839 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
3841 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
3842 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
3843 (which belong to Xt, not X itself). See Debian bug 327655.
3844 * NEWS: Mention this.
3846 2005-09-07 Stepan Kasal <kasal@ucw.cz>
3848 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
3850 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
3852 * config/move-if-change: Don't output "$2 is unchanged";
3853 suggested by Ben Elliston. Handle weird characters correctly.
3855 2005-09-06 Stepan Kasal <kasal@ucw.cz>
3857 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
3858 calls, so that the final expansion of this macro is shorter.
3859 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
3860 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
3861 the cleanup there. Use AS_VAR_* macros, to be more general.
3862 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
3864 * lib/autoconf/general.m4: Use AS_IF where appropriate.
3866 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
3868 2005-09-01 Stepan Kasal <kasal@ucw.cz>
3870 * doc/autoconf.texi (Configuration Headers): Add an index entry
3873 2005-08-26 Pavel Roskin <proski@gnu.org>
3875 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
3876 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
3879 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
3881 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3882 The previous patch didn't work, so try a better one.
3884 2005-08-26 Stepan Kasal <kasal@ucw.cz>
3886 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
3887 in the example. Reported by Bruno Haible.
3888 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
3889 "if $undefined_var;" succeeds with my shell.
3891 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
3892 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
3893 but change the m4_divert_text to m4_divert_once.
3895 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
3897 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3898 Work around bug in Solaris /usr/xpg4/bin/awk.
3899 The bug is present in at least Solaris 8 through 10.
3901 2005-08-24 Stepan Kasal <kasal@ucw.cz>
3903 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
3904 some evil values and relying on the fact that $* concatenates the
3905 parameters by the first character from IFS.
3907 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
3908 Stepan Kasal <kasal@ucw.cz>
3910 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
3911 first header appears, define AH_HEADER.
3912 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
3913 Update limitations about when to call AC_CONFIG_HEADERS.
3914 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
3915 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
3916 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
3917 ``Configuration Actions''; fix their index entries.
3919 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
3920 options correctly. Process N-M as M-N if M is smaller than N.
3921 Process ranges correctly so that N-N will run only N.
3922 Sort and uniquify the tests that will be run. If there is more
3923 than one test, reinsert the banners for the tests.
3924 * tests/autotest.at (Keywords): Unmark XFAIL.
3926 2005-08-23 Stepan Kasal <kasal@ucw.cz>
3928 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
3929 before passing the macro name to AH_TEMPLATE.
3931 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
3932 now opens log after option processing; in particular, --version
3933 and --help do not touch config.log.
3935 * Makefile.maint: Revert the change from 2005-08-12.
3937 2005-08-22 Stepan Kasal <kasal@ucw.cz>
3939 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
3941 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
3943 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3945 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
3946 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
3949 * doc/autoconf.texi (Defining Symbols, Changed Results):
3950 Prepend to LIBS, not append, in examples.
3952 2005-08-16 Stepan Kasal <kasal@ucw.cz>
3954 When building in place, set srcdir="."; suggested by Tim Van Holder.
3956 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
3957 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
3958 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
3959 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
3960 does not mean "no --srcdir option".
3962 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3964 * tests/autoscan.at (autoscan): New file.
3965 * tests/suite.at: Use it.
3966 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
3967 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
3969 * tests/autotest.at (Keywords): Test keywords combinations.
3971 2005-08-12 Stepan Kasal <kasal@ucw.cz>
3973 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
3974 add "2>&1"; gzip 1.2.4 prints help on stderr.
3976 2005-07-27 Stepan Kasal <kasal@ucw.cz>
3978 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
3979 was pushdef'ed twice while popped only once. Push it only once.
3980 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
3982 2005-07-26 Stepan Kasal <kasal@ucw.cz>
3984 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
3985 prefixed by mere "===", not "configure: === ".
3987 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
3989 * Makefile.maint: Update from Bison.
3991 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
3992 "<tab>" in comment, so that the point is understandable.
3994 2005-07-25 Stepan Kasal <kasal@ucw.cz>
3996 Rewrite substantial part of lib/autoconf/status.m4.
3997 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
3998 and CONFIG_COMMANDS are not processed in four separate loops.
3999 Instead, there is one main loop. This alows that the common code
4000 is expanded only once, thus config.status (and configure) is smaller.
4002 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
4003 the AC_LIST_FILES and cousins macros are no longer used.
4005 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
4006 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
4007 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
4008 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
4009 contain the initialization, nor the for loop, nor the associated
4010 commands; all these go to ...
4011 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
4012 _AC_OUTPUT_CONFIG_STATUS.
4013 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
4014 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
4015 (_AC_OUTPUT_FILE): The creation of the sed script ...
4016 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
4017 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
4018 _AC_OUTPUT_MAIN_LOOP.
4019 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
4020 _AC_CONFIG_COMMANDS): Use ...
4021 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
4022 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
4023 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
4024 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
4025 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
4026 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
4028 (_AC_CONFIG_UNIQUE): Update.
4029 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
4030 Replaced by this ...
4031 (_AC_LIST_TAGS): ... new common macro.
4032 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
4033 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
4034 (_AC_LIST_TAG_COMMANDS): ... new common macro.
4035 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
4036 this didn't belong to the `config commands' section.
4037 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
4038 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
4039 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
4040 to the `config commands' section either.
4041 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
4042 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
4044 ... and many changes to the comments nearby.
4046 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
4047 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
4048 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
4049 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
4050 (#define header templates): The comment at the top of the generated
4051 header now includes the name(s) of the source file(s).
4053 Several unrelated small changes:
4055 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
4056 parameter to AC_DIAGNOSE.
4057 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
4058 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
4059 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
4060 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
4062 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
4063 in AC_OUTPUT doesn't double-quote it either.
4064 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
4067 2005-07-10 Stepan Kasal <kasal@ucw.cz>
4069 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
4070 versions of Portland Group compiler produce single- and double-quoted
4071 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
4072 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4074 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
4076 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4077 This is a corrected version of yesterday's patch.
4079 2005-07-07 Stepan Kasal <kasal@ucw.cz>
4081 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
4082 path, too; insert a "===" to emphasize the line.
4084 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
4085 ac_cv_build_alias to ac_build_alias.
4086 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
4088 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
4089 change eliminates it. Problem reported by Alexandre Duret-Lutz.
4090 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
4091 (AC_ARG_VAR): ... here.
4092 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
4095 Keep a list of all precious variables and process them with one simple
4096 for loop, instead of expanding all commands, or, OTOH, complicated
4097 processing of output of "set".
4098 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
4099 variable names in new macro...
4100 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
4101 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
4102 a loop to assign all ac_env_* and ac_cv_env_* variables.
4103 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
4105 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
4106 its value to shell variable ac_precious_vars and call
4107 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
4108 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
4109 _AC_ARG_VAR_VALIDATE.
4111 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
4112 and the AC_SUBSTs ...
4113 (AC_INIT): ... here.
4115 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
4116 the ac_subst_files section in config.log.
4118 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
4120 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
4122 * NEWS: New macro AC_C_TYPEOF.
4123 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
4124 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
4125 * tests/c.at (C keywords): Test AC_C_TYPEOF.
4127 Fix problems reported by Nicolas Joly.
4128 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
4129 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4130 They are generated by the Tru64 v5.1B shell.
4132 2005-07-05 Stepan Kasal <kasal@ucw.cz>
4134 Fix my changes from 2005-07-01; reported by Noah Misch.
4135 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
4136 description, the macro now accepts only a single tag.
4137 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
4139 Fix cases when the varsions of Autoconf and Autotest don't match.
4140 Reported by Noah Misch.
4141 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
4142 at_top_builddir, for compatibility with older autotest.
4143 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
4144 is not set, use at_top_builddir, for compatibility with older
4145 versions of autoconf.
4147 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
4149 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
4150 Problem reported by Patrick Welche.
4152 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
4154 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
4155 sed substitution command, so that we allow | in program prefixes
4156 and program suffixes. (& is a problem anyway; we're not fixing
4158 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
4159 configure_input, top_builddir, srcdir, etc.
4160 * lib/autotest/general.m4 (AT_INIT): Likewise, for
4161 PATH_SEPARATOR in AUTOTEST_PATH.
4163 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
4165 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
4166 for loop over config.site files using `set', to allow
4167 directory names containing IFS characters.
4169 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
4171 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
4172 directories with weird names. Apparently some people like living
4173 on the edge. However, improve the test that "pwd" actually does
4174 report a name for the working directory.
4175 * NEWS: Remove the claim that we test for funny chars in dir names.
4177 2005-07-01 Stepan Kasal <kasal@ucw.cz>
4179 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
4181 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
4182 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
4183 Now accept a single tag, not whitespace separated list.
4184 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
4186 2005-06-30 Stepan Kasal <kasal@ucw.cz>
4188 * doc/autoconf.texi (Configuration Headers): Change the explanation
4189 about #include <config.h>.
4190 (Generic Functions): Mention the Gnulib project.
4191 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
4193 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
4194 document to output the default config_* lists to config.status.
4195 Don't recognize option --file, if the functionality is not there.
4196 Likewise for --header; moreover, recognize --he and --h as shortcuts
4197 for --help in that case.
4199 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
4200 matches the order of execution. No code changed.
4202 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4204 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
4205 single-quoted -cmdline argument in Portland Group compiler.
4206 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4208 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
4210 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
4212 2005-06-29 Stepan Kasal <kasal@ucw.cz>
4214 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
4215 descriptors to child processes; reported by Norman Gray.
4217 2005-06-29 Stepan Kasal <kasal@ucw.cz>
4219 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
4221 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
4222 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
4223 (AC_SUBST): Call it.
4224 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
4225 the directory specific variables; but don't call it for configure_input.
4227 2005-06-28 Derek Price <derek@ximbiot.com>
4229 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
4232 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
4234 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
4235 directory have inherent problems with special characters like spaces,
4236 due to limitations in Make syntax. Problem reported by Alexandre
4238 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
4239 Also, fix Tru64 porting problem with shell patterns,
4240 reported by Ralf Wildenhues.
4242 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4244 * doc/autoconf.texi (Subdirectories): Fix markup typos.
4246 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
4248 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
4250 Fix some more shell quoting problems. Prompted by a bug report
4251 from Justace Clutter.
4252 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
4253 variable into diagnostic. Make the diagnostic an error, not a warning,
4254 because we really don't support spaces and suchlike in dir names.
4255 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
4256 Don't worry about backslashes in srcdir; it can't happen now.
4257 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
4258 Simplify ac_optarg handling.
4259 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
4261 2005-06-22 Stepan Kasal <kasal@ucw.cz>
4263 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
4264 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
4265 * tests/atlocal.in: Propagate $EGREP and $SED.
4266 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
4267 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
4269 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
4270 that '\|' is not allowed in BREs; recommend using newline separated
4271 list of patterns instead of multiple -e options.
4273 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
4275 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
4277 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4279 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
4281 2005-06-21 Stepan Kasal <kasal@ucw.cz>
4283 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
4284 b, t, r, w commands require single space, while : cannot have any.
4285 (Special Shell Variables): Fix sed code this in the example.
4286 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
4287 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
4289 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
4290 expand to the empty list. Don't use two pairs of m4_changequote,
4293 2005-06-20 Derek Price <derek@ximbiot.com>
4295 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
4297 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
4299 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
4300 * doc/autoconf.texi:
4301 Don't mention Solaris versions so much, if a
4302 problem is common to all extant versions of Solaris. Say "SunOS
4303 4" instead of "SunOS" for SunOS 4.
4304 (awk): Mention more of the limitations of traditional Awk.
4305 (cat): Don't talk about cat -v.
4307 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
4309 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
4310 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
4311 but the implementation is entirely different and is designed
4312 to be compatible with glibc strverscmp.
4313 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
4315 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
4316 on Mac OS X 10.4 reported by Peter O'Gorman in:
4317 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
4318 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
4319 Use shell builtins rather than 'expr', to work around expr bug.
4321 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
4323 * doc/autoconf.texi: "filesystem" -> "file system".
4324 "behaviour" -> "behavior".
4325 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
4326 * lib/autoconf/general.m4: Omit blank after ":" sed command,
4328 * lib/m4sugar/m4sh.m4: Likewise.
4329 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
4330 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
4332 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
4333 (.x.1): Ignore the time stamp in the .TH line when deciding whether
4334 to update the man page. That way, we don't have to check in new
4335 man pages every month.
4337 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
4338 quotes and backslashes. Patch from Derek Price.
4340 2005-06-10 Derek Price <derek@ximbiot.com>
4342 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
4345 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
4347 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
4348 -u, since it outputs chatter if the input files are the same.
4349 Problem reported by Ralf Menzel.
4351 2005-06-08 Derek Price <derek@ximbiot.com>
4353 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
4354 renaming them since they are about to be redefined anyhow.
4356 2005-06-08 Derek Price <derek@ximbiot.com>
4358 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
4359 redefined M4 macros to this node. Document m4_include & m4_sinclude.
4360 Move m4_undefine to alphabetical order.
4362 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
4364 * README: Recommend GNU M4 1.4.3 or later.
4365 * doc/autoconf.texi (Introduction): Likewise.
4366 Reword to avoid some formatting glitches.
4367 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
4368 Clarify explanation of HP compiler bug.
4369 Redo example output tp match current CVS snapshot.
4370 Use @example.org in email addresses when the examples
4371 might get inadvertently cut-and-pasted into user code.
4372 Remove example of autom4te usage that doesn't seem to work now.
4373 Use modern AC_INIT (except when the example is meant to be
4374 shown with Autoconf 2.13).
4375 Update ksh info for Solaris 9 and later.
4377 Modernize description of Automake versions a bit.
4378 Don't claim a future version of Autoconf is near.
4379 * doc/install.texi: Reword to avoid some formatting glitches.
4381 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4383 * doc/autoconf.texi: Add [] to examples, so that the manual
4384 follows its own advice about quoting better.
4385 Reword to avoid some formatting glitches.
4386 * doc/installt.exi: Reword to avoid some formatting glitches.
4388 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
4389 Tru64 ksh pattern matching bug. Reported against Libtool by
4390 Albert Chin <libtool@mlists.thewrittenword.com> and
4391 Nicolas Joly <njoly@pasteur.fr>.
4393 2005-06-06 Stepan Kasal <kasal@ucw.cz>
4395 m4_cdr of one-member list was [[]] (one-member list containing an
4396 empty string) instead of [] (an empty list. Callers were skewed to
4397 match this misbehaviour. As a consequence of this:
4398 - m4_foreach([x], [], [foo]) expanded to `foo', while
4399 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
4400 This bug has been fixed:
4402 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
4403 expand to an empty string; print error msg if called without
4405 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
4406 misbehaviour; handle [] and [[]] correctly.
4408 2005-06-06 Stepan Kasal <kasal@ucw.cz>
4410 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
4411 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
4412 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
4414 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
4416 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
4417 swallow records with more than 99 fields.
4418 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
4419 parse the long line.
4421 2005-06-04 Stepan Kasal <kasal@ucw.cz>
4423 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
4424 swallow literals longer than 399. Reported by Ralf Wildenhues.
4425 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
4426 to workaround this limitation.
4428 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
4430 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
4431 to gfortran, and make these the first two compiler names
4432 checked (following the general autoconf preference for gcc).
4434 2005-06-03 Stepan Kasal <kasal@ucw.cz>
4436 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
4437 (DISTCLEANFILES): Remove $(check_SCRIPTS).
4438 (testsuite): Make sure autotest.m4f is up-to-date before using it.
4440 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
4442 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
4443 expression of unbounded size when processing the --list
4444 option. This runs afoul of a limit of 399 bytes per regular
4445 expression on AIX. Problem reported by Ralf Wildenhues.
4447 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
4449 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
4450 * doc/autoconf.texi (Particular Headers): Reword example
4451 for multiline stdbool replacement.
4452 (Setting Output Variables): Reword text a bit. Don't
4453 give all the details about |#_!!_#|.
4454 Reword description of line replacement.
4456 2005-05-31 Dan Manthey <dan_manthey@partech.com>
4458 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
4459 now contain newlines, and substituted files must be referenced on
4460 a line alone; the sed scripts to substitute them are now very
4462 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
4463 commands can be put in a sed script portably.
4464 * doc/autoconf.texi (Setting Output Variables): Document above
4465 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
4466 use of multiline substitution.
4467 * tests/torture.at: No longer expect substitution of newline to fail.
4469 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
4471 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
4472 From Ralf Menzel (trivial change).
4474 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
4476 * tests/local.at: Don't attempt to check for negated character
4477 classes in shell scripts. The test was too brittle.
4479 2005-05-25 Stepan Kasal <kasal@ucw.cz>
4481 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
4482 * doc/autoconf.texi (Limitations of Builtins): Document this
4485 2005-05-24 Stepan Kasal <kasal@ucw.cz>
4487 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
4488 common code; used in many places in the tree.
4489 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
4490 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
4492 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
4494 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
4495 messages when ac_unique_file is not found.
4496 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
4497 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
4498 commands, for consistency with AC_MSG_ERROR and such.
4500 * bin/autoconf.as: Make more use of "shift 2" in option processing.
4502 * bin/Makefile.am: Merge the two rules for creating scripts.
4504 2005-05-23 Stepan Kasal <kasal@ucw.cz>
4506 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
4507 obsolete; it was never documented.
4508 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
4510 2005-05-20 Stepan Kasal <kasal@ucw.cz>
4512 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
4513 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
4514 (ac_top_builddir): ... this ...
4515 (ac_top_build_prefix): ... to this; the old name is also kept, for
4516 backward compatibility.
4517 (ac_top_builddir_sub): New variable, without the trailing slash,
4519 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
4520 * doc/autoconf.texi (Configuration Actions): Rename
4521 ac_top_builddir to ac_top_build_prefix.
4522 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
4523 at_top_builddir to at_top_build_prefix.
4524 * lib/autotest/general.m4 (AT_INIT): Likewise.
4526 2005-05-20 Stepan Kasal <kasal@ucw.cz>
4528 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
4531 2005-05-17 Stepan Kasal <kasal@ucw.cz>
4533 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
4534 argument to m4_foreach. I guess it was necessary in the past,
4535 but I think it's a no-op now.
4537 2005-05-17 Stepan Kasal <kasal@ucw.cz>
4539 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
4540 ``cat <<_ACEOF'' commands to one.
4541 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
4542 * lib/autoconf/status.m4: On various places, use expr instead of
4544 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
4545 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
4546 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
4548 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
4549 the wrong patterns between ``case'' and ``esac.'' The previous
4550 code had false positives.
4552 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
4554 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
4556 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
4559 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
4561 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
4562 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
4563 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
4564 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
4565 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
4566 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
4567 config/config.guess, config/config.sub, config/elisp-comp,
4568 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
4569 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
4570 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
4571 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
4572 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
4573 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
4574 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
4575 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
4576 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
4577 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
4578 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
4579 lib/autoconf/general.m4, lib/autoconf/headers.m4,
4580 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
4581 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
4582 lib/autoconf/specific.m4, lib/autoconf/status.m4,
4583 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
4584 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
4585 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
4586 lib/autotest/general.m4, lib/emacs/Makefile.am,
4587 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
4588 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
4589 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
4590 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
4591 tests/compile.at, tests/foreign.at, tests/fortran.at,
4592 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
4593 tests/semantics.at, tests/suite.at, tests/tools.at,
4594 tests/torture.at, tests/wrapper.as:
4595 Update FSF postal mail address.
4597 2005-05-13 Stepan Kasal <kasal@ucw.cz>
4599 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
4601 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
4602 enough arguments, similarly as in m4_bpatsubsts.
4604 2005-05-12 Stepan Kasal <kasal@ucw.cz>
4606 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
4609 2005-05-11 Stepan Kasal <kasal@ucw.cz>
4611 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
4612 for absolute directory names in one loop.
4613 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
4614 abbreviations of --version and --debug.
4616 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
4618 * doc/autoconf.texi (Autoconf Language): Be more precise about
4619 quoting rules. Problems noted by Stepan Kasal.
4620 Also, throughout this document, be more careful about white space.
4621 "blank", "white space", and "space" all have different meanings
4622 and we should be careful to say what we mean.
4624 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
4626 Fix C++ related problems reported by Werner Lemberg.
4627 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
4628 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
4629 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
4630 avoid problems with C++ and throw.
4631 * tests/compile.at: .cpp, not .cc.
4633 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
4635 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4637 * doc/autoconf.texi (Generic Functions): Typos.
4639 2005-05-02 Gary V. Vaughan <gary@gnu.org>
4641 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
4642 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
4643 set by latest automake.
4645 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
4647 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
4648 outputs 0 on GNU/Linux these days.
4650 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
4652 * doc/autoconf.texi (Autoconf Language): Add more description
4653 about quoting heuristics.
4654 (Limitations of Builtins): Describe "set -" problems.
4656 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4658 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
4661 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
4662 by AC_DEFINE; it was a mistake.
4663 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
4665 2005-04-25 Stepan Kasal <kasal@ucw.cz>
4667 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
4669 2005-04-22 Stepan Kasal <kasal@ucw.cz>
4671 * doc/autoconf.texi (External Software): Quadrigraphs are not
4672 processed correctly in AS_HELP_STRING; avoid this in the examples.
4673 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
4674 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
4675 comment and reduce m4_default([foo], []) to [foo].
4676 (m4_strip): Update the explanation.
4678 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
4680 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
4681 Remove core.conftest.* too; it's generated by Tru64 5.1.
4682 Problem reported by Jennis Pruett.
4683 * lib/autoconf/functions.m4
4684 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4685 Don't bother to remove core files; AC_RUN_IFELSE should do that
4688 2005-04-19 Stepan Kasal <kasal@ucw.cz>
4690 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
4692 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
4694 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
4695 Report from Horst Wente.
4697 2005-04-15 Stepan Kasal <kasal@ucw.cz>
4699 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
4702 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
4704 * doc/autoconf.texi (External Software, Package Options): Add
4705 examples showing how to implement --with-* and --enable-* options.
4707 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
4709 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
4710 as well as configure.in. Problem reported by Gregorio Guidi.
4712 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
4714 * doc/autoconf.texi (Particular Functions): Use gnulib's current
4715 pattern for alloca snippet.
4717 2005-04-04 Stepan Kasal <kasal@ucw.cz>
4719 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
4721 2005-04-01 Stepan Kasal <kasal@ucw.cz>
4723 * doc/autoconf.texi (Generic Programs): Fix a typo.
4725 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
4727 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
4728 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
4730 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4732 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
4733 Merge `-z option' as well for the benefit of Solaris link flags. Pass
4734 whole-archive (-zallextract, -zdefaultextract) options in the hope of
4735 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
4736 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
4738 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
4740 * NEWS: The configure command now warns you if you attempt to use
4741 a directory whose name contains a special character like space,
4743 * doc/autoconf.texi (Installation Directory Variables): Allow
4744 "," in file names. Do not use \@; it's not a portable regexp.
4745 * bin/Makefile.am (edit): Likewise.
4746 * lib/Makefile.am (edit): Likewise.
4747 * tests/Makefile.am (edit): Likewise.
4748 * tests/semantics.at: Likewise.
4749 * tests/torture.at: Likewise.
4750 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
4751 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
4752 * doc/autoconf.texi (File System Conventions): Warn about
4753 unportable file names.
4754 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
4756 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
4757 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
4758 ac_pwd, and quote srcdir.
4759 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
4761 * doc/autoconf.texi: Fix some systematic formatting problems.
4762 ".)" needs a following @: if not at the end of a sentence, and
4763 similarly for "!)". "etc." should be preceded by a comma.
4764 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
4766 2005-03-22 Bruno Haible <bruno@clisp.org>
4768 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
4769 argument is often called 'build-aux'.
4771 2005-03-07 Stepan Kasal <kasal@ucw.cz>
4773 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
4774 macro AC_TRY_LINK is obsolete.
4775 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
4778 2005-02-24 Stepan Kasal <kasal@ucw.cz>
4780 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
4781 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
4782 from a Common Lisp's `cl'.
4783 (AC_PROG_CXX): Behave according to the documentation: don't
4784 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
4785 make the variable CCC precious; use `cl.exe', not `cl'.
4787 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
4788 Alexandre Duret-Lutz <adl@gnu.org>
4790 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
4791 /dev/null, as "configure" shouldn't read stdin, and this insulates
4792 us from problems (e.g., when testing for "cl"). Also, do this
4793 redirection before invoking "hostname" or "uname", and keep the
4794 original input stream available via...
4795 (AS_ORIGINAL_STDIN_FD): ... this new macro.
4796 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
4797 bother with "</dev/null" since it's now done at the top of
4799 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
4800 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4801 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4802 * doc/autoconf.texi (File Descriptor Macros): New section.
4803 (Printing Messages): Mention it.
4804 * tests/base.at (Input/Output): New test.
4806 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
4808 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
4809 newline if neither \c nor -n work, as that would output two
4810 newlines. Prefer -n to \c. Reported by Stepan Kasal.
4812 2005-02-12 Stepan Kasal <kasal@ucw.cz>
4814 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
4815 This causes that any required macros inside will get before the if.
4816 * doc/autoconf.texi (autom4te.cache): A typo.
4818 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
4820 Undo previous change, except keep the change to
4821 lib/autoconf/programs.m4 that replaced grep with shell
4822 pattern-matching. This is because net-snmp configure reads stdin.
4823 Reported by Noah Misch.
4825 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
4827 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
4828 from /dev/null, as "configure" shouldn't read stdin, and this
4829 insulates us from problems (e.g., when testing for "cl").
4830 Suggested by Alexandre Duret-Lutz. Also, do this redirection
4831 before invoking "hostname" or "uname".
4832 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4833 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
4834 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
4835 "</dev/null" since it's now done at the top of 'configure'.
4836 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4837 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4838 Also, replace grep with shell pattern-matching, to save a process.
4840 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
4842 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4843 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
4844 avoid thinking that Allegro Common Lisp's "cl" command is a C++
4847 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
4849 * doc/autoconf.texi (Limitations of Usual Tools): Document that
4850 grep -q isn't portable. Improve grep -s explanation.
4851 Problem reported by Dan Manthey.
4853 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
4855 * doc/autoconf.texi (Special Shell Variables): Clarify
4856 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
4858 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
4860 * doc/autoconf.texi: Use @acronym for DJGPP.
4861 Fix some @code's that should have been @env's, and vice versa.
4862 Sort environment variable names.
4863 Mention that shells no longer inherit IFS.
4864 Don't recommend PATH_SEPARATOR=';' so strongly.
4865 Mention that $RANDOM might expand to the empty string.
4866 "symlink" and "soft link" -> "symbolic link".
4867 Improve mktemp description (reported by Bruno Haible).
4869 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
4871 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
4872 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
4874 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
4877 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
4879 * NEWS: Mention AT_COPYRIGHT.
4881 * tests/local.at (AT_CMP): Use diff directly on input files rather
4884 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
4885 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
4887 2005-02-04 Noah Misch <noah@cs.caltech.edu>
4888 and Paul Eggert <eggert@cs.ucla.edu>
4890 * tests/autotest.at (Empty test suite): New test.
4891 * tests/torture.at (Substitute and define special characters)
4892 (Substitute a 2000-byte string, Define to a 2000-byte string)
4893 (Substitute a newline, Define a newline): New tests.
4895 2005-02-04 Noah Misch <noah@cs.caltech.edu>
4897 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
4898 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
4899 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
4900 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
4901 (Standard regular expressions): New test.
4902 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
4903 excess test name quoting.
4904 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
4905 CPPFLAGS to `configure' instead of setting it in `configure'.
4907 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
4908 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
4911 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
4912 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
4914 * tests/local.at (AT_CMP): New macro.
4915 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
4916 (AC_SAVE_STATE): Move environment grep...
4917 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
4918 (AT_CONFIG_CMP): New macro.
4919 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
4920 * tests/c.at (Extensions): Do not exit early.
4921 * tests/atlocal.in: Inherit $GREP.
4923 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
4924 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
4926 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
4927 (AC_COPYRIGHT): Factor header comment portion out and move into...
4928 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
4929 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
4930 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
4932 * tests/local.at: Add Autoconf test suite copyright notice.
4933 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
4935 2005-02-04 Bruno Haible <bruno@clisp.org>
4936 and Paul Eggert <eggert@cs.ucla.edu>
4938 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
4940 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
4942 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
4943 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
4945 Try not to generated lines of unlimited length, as POSIX places a
4946 2047-byte limit on line length of portable text files.
4947 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
4948 Use newline as a separator, not space.
4949 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
4950 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
4953 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4955 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
4956 as_func_*. Add test to check whether positional parameters
4957 are restored after function return.
4959 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
4961 * doc/autoconf.texi (Special Shell Variables): Mention _,
4962 BIN_SH, DUALCASE. Say that variables other than "status" are safe
4963 if they contain a lower-case letter. The DUALCASE problem was
4964 reported by Ralf Wildenhues.
4966 * bin/autoconf.as: Don't exit with status 0 after write failure
4967 with --help or --version.
4968 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
4969 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
4971 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4973 * doc/autoconf.texi (Limitations of Usual Tools):
4974 Unicos 9 sed limitations.
4975 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
4976 to get the option-enhanced interface on older Crays. Try ftn for
4977 Fortran 95 (newer Crays).
4979 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
4981 * man/Makefile.am (.x.1): Go back to the simple solution, but take
4982 care to echo the commands, so the user knows what's going on.
4983 Modified from a suggestion by Stepan Kasal.
4985 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
4986 with a cross reference. Derived from a suggestion by Bruce Korb.
4988 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
4990 * doc/autoconf.texi (config.status Invocation): Warn about
4991 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
4992 * doc/install.texi (Defining Variables): Likewise.
4993 Based on a proposed patch by Ralf Wildenhues.
4995 * man/Makefile.am (.x.1): Make sure the required generated files
4996 are up to date. Problem and original solution proposed by Stepan Kasal.
4997 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
4998 implicit-man-prerequisites): New rules, used by the above.
5000 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
5001 * config/config.guess, config/config.sub, config/install-sh: Likewise.
5002 * config/missing, config/texinfo.tex: Likewise.
5004 2005-01-29 Stepan Kasal <kasal@ucw.cz>
5006 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
5007 Update the long comment explaining it.
5009 m4_require no longer writes an ``is required by'' line to the
5010 execution stack. It contains only one bit of non-redundant
5011 information: that the macro was required, not called. And even
5012 this bit is useless in most situations: have you ever met a macro
5013 which both calls and requires the same macro?
5015 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
5016 (_m4_defun_pro_outer): ... only via this macro, for the outermost
5018 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
5019 (m4_expansion_stack_pop): Remove the misplaced comment.
5020 (m4_require): Don't put the ``is required by'' line to the
5021 execution stack; slightly improve the out-of-a-defun error message.
5022 (_m4_divert_grow): New macro, counter for the temporary diversions.
5023 (_m4_require_call): Use it.
5024 * tests/m4sugar.at (m4_require): Expect output without the
5025 ``is required by'' messages.
5027 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
5029 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
5030 rather than x for expr.
5032 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
5034 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
5035 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
5036 * lib/autotest/general.m4 (AT_INIT): Likewise.
5037 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
5038 * tests/mktests.sh: Likewise.
5040 2005-01-27 Akim Demaille <akim@epita.fr>
5042 Have autoheader honor --force.
5044 * doc/make-stds.texi, doc/standards.texi: Update from masters.
5045 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
5046 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
5047 from masters, so that FileUtils.pm's update_file provide --force
5049 * bin/autoheader.in: Pass $force to update_file so that
5050 config.h.in is always recreated when --force.
5052 2005-01-24 Stepan Kasal <kasal@ucw.cz>
5054 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
5056 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
5058 * doc/autoconf.texi (Limitations of Builtins): Clarify that
5059 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
5061 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
5063 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
5064 Warn about newline stripping in `` and $(). Update Solaris
5066 (Limitations of Builtins): Use expr "X...", not expr "x...", as
5067 X insulates us from future changes to Posix.
5068 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
5071 2005-01-19 Stepan Kasal <kasal@ucw.cz>
5073 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
5074 you cannot use AC_DEFINE to define macros containing `[' or `]'.
5076 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
5078 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
5079 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
5080 bug-tar mailing list.
5082 2005-01-05 Stepan Kasal <kasal@ucw.cz>
5084 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
5086 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
5088 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
5089 ulongval to be static, to avoid unwanted GCC warning. Problem
5090 reported by Michael Jennings via Daniel Reed; see
5091 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
5093 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
5095 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
5096 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
5097 datadir, infodir, and mandir. Adjust argument parsing code.
5098 (_AC_INIT_HELP): Update help text.
5099 * doc/autoconf.texi (Installation Directory Variables): Document
5102 2005-01-04 Noah Misch <noah@cs.caltech.edu>
5104 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
5105 not seem to work, assume it does set $(MAKE).
5106 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
5108 2005-01-03 Stepan Kasal <kasal@ucw.cz>
5110 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
5112 2005-01-03 Stepan Kasal <kasal@ucw.cz>
5114 A cleanup of the diversion support in m4sugar.
5116 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
5117 (_m4_divert_n_stack): New macro; the expansion is
5118 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
5120 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
5121 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
5122 stored in _m4_divert_diversion or _m4_divert_dump.
5123 (m4_divert_pop): When the parameter is given, compare the symbolic
5124 name with the last diversion pushed on the stack. Previously, the
5125 current diversion was compared with the numeric value of the
5126 diversion given as the parameter.
5127 (m4_require): If the macro hasn't been expanded yet, call ...
5128 (_m4_require_call): this new macro.
5130 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5132 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
5133 Workarounds for documented `case' limitations.
5135 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
5137 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
5138 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
5140 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
5142 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
5143 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5144 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
5146 Patch from Roger Leigh (with some minor changes) as follows:
5147 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
5148 Resurrect AC_PROG_CC_STDC.
5149 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
5150 AC_PROG_CC_C89, AC_PROG_CC_C99.
5151 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
5152 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
5153 AC_PROG_CC_C99): New macros.
5154 (AC_PROG_CC_STDC): Use them.
5155 (_AC_PROG_CC_STDC): Remove.
5156 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
5157 * THANKS: Add Roger Leigh.
5159 2004-12-30 Noah Misch <noah@cs.caltech.edu>
5161 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
5162 signals that the package uses Automake; a `Makefile.am' is typical but
5163 not essential. Reported by Magnus Therning.
5164 * tests/torture.at (autoreconf.): New banner.
5165 (autoreconf and non-AC configure): Rename to `Non-Autoconf
5167 (autoreconf an empty directory): Rename to `Empty directory'.
5168 (Unusual Automake input files): New test.
5170 2004-12-30 Noah Misch <noah@cs.caltech.edu>
5172 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
5173 (AT_SETUP): Clear AT_capture_files.
5174 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
5175 (AT_KEYWORDS): Fix comment typo.
5176 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
5177 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
5178 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
5180 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
5182 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
5183 If the variable to set is already set, set ac_cv_path_$1
5184 to the preset value so caller can assume ac_cv_path_$1
5185 is available. (trivial change)
5187 2004-12-27 Noah Misch <noah@cs.caltech.edu>
5189 * BUGS (Minor Problems): Warn about makefile limitations.
5190 * Makefile.am: Find and update `INSTALL' in $(srcdir).
5191 * man/Makefile.am: Find and update manual pages in $(srcdir).
5193 2004-12-24 Eric Blake <ebb9@byu.net>
5195 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
5196 shells in subshell, to avoid noise from ash. (trivial change)
5198 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5200 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5201 problems with SunOS ksh and backslash escaping, Bourne shells and
5202 closing brackets (both within character classes). Bug reported
5203 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
5204 <read>: New entry. Mention non-availability of -r.
5206 2004-12-21 Akim Demaille <akim@epita.fr>
5208 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
5209 avoid cluttering displayed messages. Rather, prepend srcdir where
5210 AT_LINE is used for log files.
5212 2004-12-21 Stepan Kasal <kasal@ucw.cz>
5214 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
5215 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
5216 no longer part of the macro, quote the occurrence of ``$tmp''.
5217 * doc/autoconf.texi (Forbidden Patterns): Typo.
5219 2004-12-21 Akim Demaille <akim@epita.fr>
5221 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
5222 separated from the test title by forcing a white space.
5224 2004-12-21 Akim Demaille <akim@epita.fr>
5226 Enable Emacs navigation within testsuite.log files.
5228 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
5229 use the compilation mode.
5230 (AT_LINE): Point to the srcdir.
5232 2004-12-19 Noah Misch <noah@cs.caltech.edu>
5234 * tests/Makefile.am (installcheck-local): Use $(bindir).
5235 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
5236 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
5237 Makefile.am scheme Autoconf now uses.
5239 2004-12-18 Noah Misch <noah@cs.caltech.edu>
5241 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
5242 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
5244 2004-12-18 Noah Misch <noah@cs.caltech.edu>
5246 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
5247 (_AT_CHECK): Use it.
5248 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
5249 (AS_ESCAPE): Fix comment.
5250 * tests/autotest.at: Adjust section banner comments.
5251 (AT_CHECK_AT): Accept STATUS and STDERR.
5252 (AT_CHECK_AT_TEST): Likewise.
5253 (Invalid brace-enclosed parameter expansion)
5254 (Multiline command from M4 expansion)
5255 (Double-M4-quoted command): New tests.
5257 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
5259 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
5261 2004-12-17 Akim Demaille <akim@epita.fr>
5263 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
5265 Suggested by Alexandre Duret-Lutz.
5266 * doc/autoconf.texi (Setting Output Variables): Catch up.
5268 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5270 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
5272 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5274 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
5275 remove the comment which said we cannot.
5277 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5279 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
5280 Reini Urban and Paul Eggert for reporting the dependencies.
5282 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
5283 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
5284 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
5286 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5288 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
5289 so that eg. ``autoscan --help'' doesn't truncate it.
5291 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
5293 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
5294 generated conftest files.
5296 2004-12-13 Noah Misch <noah@cs.caltech.edu>
5298 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
5299 tracing on commands with possibly-escaped newlines.
5300 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
5301 discontinued behavior and its implications.
5302 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
5303 (BSx641-newline in command, BS-BS-newline in command)
5304 (BSx640-newline in command, Newline-CODE-BS-newline in command)
5305 (Single-quote-BS-newline in command)
5306 (Single-quote-newline-BS-newline in command): New tests.
5308 2004-12-13 Stepan Kasal <kasal@ucw.cz>
5310 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
5311 on platforms where it works.
5312 (_AS_TEST_PREPARE): Test for ``test -x''.
5313 (_AS_BROKEN_TEST_PREPARE): Nuke.
5315 2004-12-13 Stepan Kasal <kasal@ucw.cz>
5317 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
5318 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
5319 give only 4-letter prefix to AS_TMPDIR, comment fixed.
5320 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
5321 create the temporary directory.
5322 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
5324 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
5326 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
5329 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
5331 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
5333 2004-12-11 Noah Misch <noah@cs.caltech.edu>
5335 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
5336 to avoid using a negated character class. Reported by Nicolas Joly.
5337 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
5339 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
5341 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
5342 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
5343 Don't depend on .x file explicitly, since "make" does that for us.
5344 Suggested by Stepan Kasal.
5346 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
5348 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
5349 ifnames): Factor common code. And they said it couldn't be done!
5351 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
5353 * bin/.cvsignore: Add autoconf.in.
5354 * tests/.cvsignore: Add wrapper.in.
5355 * lib/autotest/general.m4: Escape '$' in case pattern.
5357 2004-12-09 Noah Misch <noah@cs.caltech.edu>
5359 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
5361 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
5363 * tests/autotest.at: New file.
5364 * tests/suite.at: Include it.
5365 * tests/Makefile.am: Distribute it.
5367 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
5368 shell tracing on a command that could contain multiple lines.
5369 * doc/autoconf.text: Document that fact and its implications.
5370 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
5371 * tests/autotest.at (Multiline backquote command substitution,
5372 Multiline parameter expansion, Literal multiline command,
5373 Multiline parenthetical command substitution): Remove XFAIL.
5375 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
5377 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
5378 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
5380 2004-12-08 Noah Misch <noah@cs.caltech.edu>
5382 * configure.ac (test suite): Cease to generate wrapper scripts.
5383 * configure: Regenerate.
5384 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
5385 (m4f_dependencies): Adjust accordingly.
5386 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
5387 (wrapper.in): Generate it in the build directory.
5388 (MAINTAINERCLEANFILES): Delete wrapper.in.
5389 (CLEANFILES): Add wrapper.in.
5390 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
5391 the output. Replace each $as_me with a @wrap_program@.
5392 * tests/wrapper.in: Delete it; we always build it.
5394 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
5395 (EXTRA_DIST): Remove autoconf.in.
5396 (CLEANFILES): Add autoconf.in.
5397 (autoconf): Find autoconf.in in the build directory.
5398 * bin/autoconf.in: Delete it; we always build it.
5400 2004-12-08 Noah Misch <noah@cs.caltech.edu>
5402 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
5403 PATH members so as to not prepend an empty element. Move a comment.
5404 * Makefile.am (SUBDIRS): Build in `tests' last.
5405 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
5407 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
5409 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
5410 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
5411 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
5412 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
5414 2004-12-07 Stepan Kasal <kasal@ucw.cz>
5416 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
5419 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
5421 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
5422 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
5423 * doc/autoconf.texi (Particular Functions): Mention new behavior.
5425 2004-12-03 Stepan Kasal <kasal@ucw.cz>
5427 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
5428 out the common code to ...
5429 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
5430 value of the #define--default to 1, iff the macro was called
5431 with exactly one parameter.
5433 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
5435 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
5436 "char c = '\200';" rather than "char c = 0x80;" as the
5437 latter doesn't conform to the strict C standard due to
5438 overflow on signed char hosts.
5440 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
5441 to -qlanglvl=ansi. We don't want to disable extensions.
5443 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
5445 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
5446 (Using Autotest, testsuite Scripts, Writing testsuite.at):
5447 Reword slightly to avoid some English-language problems noted
5448 by Ralf Wildenhues in:
5449 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
5451 2004-11-29 Stepan Kasal <kasal@ucw.cz>
5453 * NEWS: Add ^L above each release.
5455 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
5457 Fix documentation problems reported by Russ Boylan in
5458 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
5459 along with some nearby cruft.
5460 * doc/autoconf.texi (Libtool): Libtool can be used without
5461 Automake (not without Autoconf).
5462 (Introduction): Mention lists.gnu.org.
5463 * BUGS: Don't mention bugs.gnu.org.
5464 Remove mention of ancient libtool compatibility problem.
5465 * NEWS: Mention that bugs.gnu.org is kaput.
5466 * README: Likewise. Mention where mailing list archives can be found.
5468 2004-11-28 Stepan Kasal <kasal@ucw.cz>
5470 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
5472 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
5474 * doc/autoconf.texi (Pretty Help Strings): Go back to
5475 single-quoting assignments to cache variables.
5477 2004-11-23 Stepan Kasal <kasal@ucw.cz>
5479 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
5480 with the examples; fix the bug in MY_ARG_WITH example reported
5481 by Alexandre Duret-Lutz.
5482 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
5483 expansion of $1 in the comment emitted to configure.
5485 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
5487 * doc/autoconf.texi (Pretty Help Strings): Fix typo
5488 in my editing of the previous patch. Problem reported
5489 by Alexandre Duret-Lutz.
5491 2004-11-22 Stepan Kasal <kasal@ucw.cz>
5493 * doc/autoconf.texi (Autoconf Language): Explain that
5494 ``descriptions'' may not be double quotes.
5495 (Quotation Rule Of Thumb): Likewise.
5496 (Pretty Help Strings): Likewise; remove the wrong comment;
5497 simplify the examples and improve their quoting.
5499 2004-11-13 Stepan Kasal <kasal@ucw.cz>
5501 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
5502 the $1_found variable, don't test whether the file is executable;
5503 Both things are checked ...
5504 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
5505 the former ``test -f''.
5506 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
5508 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
5510 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
5513 2004-11-10 Derek R. Price <derek@ximbiot.com>
5515 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
5516 limitations. Reorder paragraphs for clarity.
5518 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
5520 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
5521 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
5522 variants", "Unix", and some related minor wording fixups.
5524 (Shellology, Special Shell Variables): Document that the Zsh
5525 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
5526 to Alexandre Duret-Lutz for this info.
5528 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
5530 * doc/autoconf.texi (One-Shot Macros): New node.
5532 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
5534 * doc/autoconf.texi (Function Portability): Fix misdescription
5535 of putenv. Problem reported by Michael Wardle.
5537 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
5539 * doc/autoconf.texi (auindex): New macro.
5540 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
5541 Problem reported by Stepan Kasal.
5543 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
5545 Fix problems reported by Andreas Buening in:
5546 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
5547 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
5549 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
5550 readable; it's not true in OS/2-emx.
5552 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
5554 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
5555 "/usr/include", clear ac_x_includes instead of leaving it as "no"
5556 (trivial change). Problem and patch reported by Andrew Church in:
5557 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
5559 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
5561 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
5562 three args in examples. Problem reported by Frederik Fouvry in:
5563 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
5564 Also, fix some minor spacing and punctuation bugs.
5566 2004-09-02 Akim Demaille <akim@epita.fr>
5568 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
5569 "case" to restore ordering.
5570 Reported by Stepan Kasal.
5572 2004-08-26 Akim Demaille <akim@epita.fr>
5574 * doc/autoconf.texi: Minor typos and stylos.
5576 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
5578 * configure.ac (AC_INIT): Bump to 2.59c.
5580 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
5584 * README: Add advice about m4 1.4.2.
5586 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
5587 texinfo.tex for now (done by hand now).
5588 * Makefile.maint (wget_files, cvs_files):
5589 Remove ansi2knr.c; nobody uses it.
5590 (ansi2knr.c-url_prefix): Remove.
5591 (cvs-update): Fix test for failure. I don't know why it ever
5594 * doc/autoconf.texi: Update URLs, some of which went stale.
5595 Use @uref rather than @href.
5597 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
5598 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
5600 * config/config.guess, config/config.sub, config/elisp-comp,
5601 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
5602 doc/fdl.texi, doc/standards.texi: Sync with master copy.
5604 * NEWS, TODO, configure.ac, bin/autoscan.in,
5605 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
5606 doc/install.texi, lib/Autom4te/Configure_ac.pm,
5607 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
5608 lib/autoconf/programs.m4, lib/autoconf/status.m4,
5609 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
5610 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
5611 tests/tools.at, tests/torture.at:
5612 Use "file name" rather than "filename" or "path",
5613 to be consistent with the terminology of the GNU coding standards.
5615 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
5617 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
5618 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
5619 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
5620 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
5622 More fixes to support spaces in the name of the build directory.
5623 This isn't a complete fix but it's an improvement.
5625 * bin/autoconf.as (autom4te_options): New var.
5626 Use it instead of appending to AUTOM4TE, so that we can allow
5627 spaces in the build directory's absolute name.
5628 * bin/autoheader.in ($autoconf): Allow spaces in file names.
5629 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
5630 AT_CHECK_NOESCAPE): Likewise.
5631 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
5632 main program): Likewise.
5634 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
5636 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
5637 From Ralf Corsepius in:
5638 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
5640 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
5642 * doc/autoconf.texi (Function Portability): Document isinf and
5643 and isnan. From a suggestion by Kevin Ryde.
5645 * lib/Autom4te/General.pm (END): Return correct exit status even
5646 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
5648 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
5650 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
5651 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
5652 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
5654 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
5656 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
5657 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
5658 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
5659 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
5660 * lib/autom4te.in (Automake-preselections): Preselect
5661 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
5663 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
5665 * lib/autom4te.in (Automake-preselections): Preselect
5666 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
5669 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
5671 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
5673 * doc/autoconf.texi (Shellology): Mention BIN_SH.
5674 Document problem with "`""`" in pdksh POSIX mode.
5676 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
5678 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
5679 with pdksh, too. Problem reported by Patrick Welche via
5681 * doc/autoconf.texi (Shellology): Note that set -o posix is
5682 useful for pkdsh, too.
5684 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
5686 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
5687 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
5688 Don't fail if ENV or BASH_ENV is readonly.
5689 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
5690 etc. are read only. Problem reported by Ludovic Courtes.
5692 2004-06-23 Noah Misch <noah@cs.caltech.edu>
5694 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
5695 zsh, disable GLOB_SUBST to avoid backslash handling problems.
5698 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
5700 * doc/autoconf.texi (File System Conventions): Warn about
5701 names like "aux". Problem reported by Eric Blake.
5703 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
5704 by zero instead of array size, so that we can use any arithmetic
5705 constant expression (instead of requiring an integer constant
5706 expression). This allows us to test expressions like DBL_MAX <
5707 LDBL_MAX, which didn't conform to the C standard using the old
5709 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
5710 now that we can do floating-point tests at compile time.
5712 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
5714 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
5715 and LDBL_EPSILON, as the resulting expression isn't an
5716 integer constant expression and violates the C standard.
5717 Problem reported by Nelson H. F. Beebe. Also, check
5718 for "L" suffix, and check that long double doesn't have
5719 worse range or precision than double, that mixed-mode
5720 arithmetic doesn't generate a diagnostic, that double
5721 constants fit in long double.
5723 2004-06-03 Kevin Ryde <user42@zip.com.au>
5725 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
5726 malloc(0) and realloc(NULL,size).
5728 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
5731 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
5733 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
5734 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
5737 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
5739 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
5740 can be rewritten using if-then-else. Suggested by Bruno Haible.
5742 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
5744 * doc/autoconf.texi (testsuite Scripts): Fix typo.
5745 Problem reported by Stepan Kasal.
5747 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
5749 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
5750 change). Patch reported by Ralf Wildenhues in
5751 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
5753 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
5754 function F exists if the compiler and linker let you compile an
5755 expression like (F != 0). Recent versions of GCC optimize away
5756 the reference to F in that case, since every function address must
5757 be nonzero, so the link succeeds even if F does not exist.
5758 Problem reported by Manu in
5759 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
5761 * doc/autoconf.texi (Systemology): Standardize on the spelling of
5762 "Unix". Many uses changed.
5763 (Limitations of Builtins): Explain better why the ! command isn't
5766 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
5768 * lib/autom4te.in (Automake-preselections): Preselect
5769 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
5771 2004-05-19 Kevin Ryde <user42@zip.com.au>
5773 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
5774 referencing AC_FUNC_STRERROR_R.
5776 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
5777 note pessimistic assumption when cross compiling.
5779 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
5781 * doc/autoconf.texi (Limitations of Make): Note that BSD make
5782 (until 2004) invoked subcommands with sh -e, contra POSIX.
5783 Reported by Kevin Ryde.
5785 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
5787 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
5788 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
5789 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
5790 `test -f " /usr/bin/grep"', which _always_ failed.
5791 (AC_PROG_SED): Ditto bogus PATH fix.
5792 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
5793 requires that grep correctly supports _multiple_ `-e' options, rather
5794 than stating only that grep should accept `-e'.
5796 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
5798 Port to C99, which requires that 'exit' be declared.
5800 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
5801 to ensure that stdlib.h is included.
5802 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
5803 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
5804 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
5805 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
5806 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
5807 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
5808 when using 'exit' in a test; C99 requires that 'exit' be declared.
5810 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
5812 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
5813 now prefers 'grep' implementations that accept -e.
5814 (Limitations of Usual Tools): Describe problems of traditional
5815 egrep and fgrep with long input lines, and of traditional grep
5817 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
5818 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
5819 All callers changed. Append /usr/xpg4/bin to the PATH, for
5821 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
5822 the user with complaints about multiple -e options.
5823 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
5824 Define it with AC_PROG_GREP.
5825 * configure.ac (AC_PROG_GREP): Add.
5826 * lib/freeze.mk (GREP): New macro.
5828 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
5830 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
5831 a possible candidate only after all others fail, rather than
5832 consulting it first. This improves backward compatibility by
5833 better reflecting the way shell selection occurred in previous
5834 versions of Autoconf, and should help to avoid triggering latent
5835 problems in other packages, such as the one in Automake where zsh
5836 is not handled robustly:
5837 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
5838 Although it is not Autoconf's responsibility to work around
5839 problems in Automake, it nevertheless makes sense to avoid
5840 introducing unnecessary incompatibilites.
5842 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
5843 Gary V. Vaughan <gary@gnu.org>
5845 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
5846 how deeply nested we are when a suitable tool is found, set the
5847 ac_path_TOOL_found flag.
5848 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
5849 nested we are in this macro. Break out of all 3 nested loops if
5850 ac_path_TOOL_found is set.
5852 2004-04-21 Gary V. Vaughan <gary@gnu.org>
5854 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
5855 of the _AS_PATH_WALK loop too if GNU flavor is found.
5857 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
5859 * doc/autoconf.texi (Limitations of Make): Update documentation
5860 for `$<'. New entry `Long lines', based on a report from Simon
5861 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
5862 paragraph about DJGPP, based on a mail from Richard Dawe.
5864 2004-04-20 Paul Eggert <eggert@twinsun.com>
5866 * tests/c.at (C keywords): Don't assume that GCC supports
5867 "restrict" and "inline", as sufficiently-old GCC versions do not
5868 (also, GCC configured to be in pedantic C89 mode does not).
5869 Problem reported by Sumit Pandya in:
5870 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
5872 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
5873 consider -g to work if it generates warnings when plain compiles
5874 don't. Problem reported by Braden McDaniel in:
5875 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
5877 * doc/autoconf.texi (Slashes): New section, to document a problem
5878 reported by Jim Meyering in:
5879 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
5881 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
5882 linker output files before linking, to work around IRIX 6 linker bug.
5883 Problem reported by Rainer Orth in:
5884 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
5886 2004-04-20 Gary V. Vaughan <gary@gnu.org>
5888 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
5889 best tool so far counter rely on the tool path variable name to
5890 avoid checks for one tool being affected by the results of running
5891 the length check on a previous tool.
5893 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
5894 match expression argument, as different greps have different
5895 regular expression flavours.
5896 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
5898 (AC_PROG_EGREP): Pass 'EGREP$'.
5899 (AC_PROG_GREP): Pass 'GREP$'.
5901 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
5903 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
5904 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
5906 2004-03-29 Paul Eggert <eggert@twinsun.com>
5908 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
5909 Types, Specific Compiler Characteristics, System Services,
5910 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
5911 etc. consistently instead of 'long', 'short', 'unsigned' etc.
5912 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
5913 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
5915 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
5916 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
5917 AC_TYPE_OFF_T): Likewise.
5918 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
5921 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
5922 pacify libtool 1.5.2. Fix quoting problems in sed command.
5924 2004-03-28 Paul Eggert <eggert@twinsun.com>
5926 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
5927 now defines HAVE_DECL_TZNAME if it is declared, when
5928 HAVE_STRUCT_TM_TM_ZONE is not defined.
5929 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
5930 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
5933 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
5935 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
5936 superfluous backslashing of quotes (") in sed expressions;
5937 thanks to Paul Eggert.
5939 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
5941 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
5942 Fortran compiler is ifort, also added pghpf; thanks to Nelson
5943 H. F. Beebe for the bug report.
5945 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
5947 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
5948 quoted -cmdline argument in Portland Group compiler (bug
5949 reported by Jeffrey J. Barteet).
5951 2004-03-25 Kevin Ryde <user42@zip.com.au>
5953 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
5954 (Run Time): ... here, where it's now mentioned.
5956 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
5958 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
5959 inherits from language Autoconf-without-aclocal-m4.
5960 (Customizing autom4te): Adjust example; the cache must now be
5961 disabled for language Autoconf-without-aclocal-m4.
5963 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
5964 Nathanael Nerode <neroden@twcny.rr.com>
5966 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
5967 AC_CHECK_TOOLS): Warn if a cross-tool is found without
5969 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5970 AC_CHECK_TARGET_TOOLS): New macros.
5971 * doc/autoconf.texi (Generic Programs): Document
5972 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5973 AC_CHECK_TARGET_TOOLS, and warn for future changes
5974 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
5976 (Specifying Names): Document the reason for these future
5978 * tests/mktests.sh: Do not generate tests for the
5980 * NEWS: Document these changes.
5982 * doc/autoconf.texi: Avoid macros with unbraced arguments,
5983 they make TeX hang up.
5985 2004-03-15 Paul Eggert <eggert@bogus.example.com>
5987 * NEWS: New macro AC_CHECK_ALIGNOF.
5988 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
5989 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
5990 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
5992 (AC_CHECK_ALIGNOF): New macro.
5993 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
5994 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
5997 2004-03-03 Paul Eggert <eggert@twinsun.com>
5999 * bin/Makefile.am (edit): Don't use $< in a context where
6000 POSIX doesn't require support for it. Use $@.in instead.
6001 Problem reported by Anthony N. Frasso in
6002 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
6003 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
6005 2004-02-23 Gary V. Vaughan <gary@gnu.org>
6007 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
6008 from the next generation of Libtool.
6009 * lib/autom4te.in (Autoreconf-preselections): Ditto.
6011 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
6013 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
6014 is not always thread-safe. Report from Nathanael Nerode.
6016 2004-02-18 Paul Eggert <eggert@twinsun.com>
6018 Fix a dependencies problem, stemming from a Autoconf 2.59 build
6019 problem on QNX reported by Stephen Rasku in
6020 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
6022 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
6023 $(m4sh_m4f_dependencies); this removes a FIXME.
6024 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
6025 (MAINTAINERCLEANFILES): Split into pieces,
6026 one per related section. Add $(srcdir)/wrapper.in.
6028 2004-02-09 Paul Eggert <eggert@twinsun.com>
6030 * doc/autoconf.texi (Setting Output Variables): Emphasize that
6031 AC_SUBST provides no portable way to escape literal newlines.
6033 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
6034 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
6035 Darwin uses -lcrt2.o and there's little point to cataloging all
6036 the system variants. Partial fix reported by Andreas Waechter in:
6037 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
6038 for bug reported by Nelson H. F. Beebe in:
6039 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
6041 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
6043 * doc/autoconf.texi (AU_DEFUN): Fix English,
6044 suggested by Paul Eggert.
6045 * lib/autoconf/autoupdate.m4: Correct reference to
6046 acobsolete.m4, suggested by Alexandre Duret-Lutz.
6048 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
6050 * bin/autoupdate.in: Define __file__ so that warnings
6051 refer to the correct file.
6052 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
6053 the behavior of the third argument.
6054 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
6055 correctly the behavior of the third argument. Document
6056 what the three macros that AU_DEFUN defines do. Fix
6057 warning message when the third argument includes $0
6058 (reported by Alexandre Duret-Lutz).
6060 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
6061 Eric Sunshine <sunshine@sunshineco.com>
6062 Paul Eggert <eggert@twinsun.com>
6064 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
6065 (AS_INIT): Output shell initialization there. Removed optional
6066 parameter. Expand _AS_SHELL_FN_SPY.
6067 (AS_INIT_WITH_SHELL_FN): Removed.
6068 (_AS_SHELL_FN_SPY): New macro.
6069 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
6071 (AS_SHELL_SANITIZE): Remove loop to find better shell
6072 and documentation for the parameter.
6073 (_AS_DETECT_BETTER_SHELL): Move it here.
6074 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
6075 (_AS_RUN): Move it here, support testing with eval.
6076 (AS_REQUIRE_SHELL_FN): Require shell functions when
6078 (_AS_LINENO_WORKS): Put around braces, we do not
6079 trigger the bash bug anymore.
6080 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
6081 use AS_INIT_WITH_SHELL_FN.
6082 * bin/autoconf.in, tests/wrapper.in: Regenerated.
6084 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
6086 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
6087 * doc/autoconf.texi: Don't say that the third parameter
6089 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
6090 (AU_DEFUN): Honor the third parameter, create autoupdate
6091 macros with AU_DEFINE.
6092 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
6093 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
6094 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
6095 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
6096 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
6097 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
6098 AC_XENIX_DIR): Likewise.
6099 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
6100 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
6101 * lib/autoconf/status.m4: Remove FIXME.
6102 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
6103 that the macro is not present anymore in the updated
6105 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
6108 2004-01-28 Paul Eggert <eggert@twinsun.com>
6110 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
6112 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
6113 2003 (except 1997) to the list of copyright years. This undoes
6114 the 2003-05-22 change, which removed the older years from the list.
6115 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
6117 2004-01-27 Gary V. Vaughan <gary@gnu.org>
6118 Albert Chin-A-Young <china@thewrittenword.com>
6120 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
6121 grep or ggrep program in PATH that accepts as long lines as
6123 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
6125 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
6126 egrep and fgrep respectively if $GREP -E/-F don't work.
6127 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
6128 _AC_PROG_GREP, and AC_PROG_SED.
6129 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
6130 longest input length accepted by a command.
6131 (AC_PROG_SED): Use it.
6132 * doc/autoconf.texi (Particular Programs): Document the changes.
6135 2004-01-27 Paul Eggert <eggert@twinsun.com>
6137 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
6138 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6139 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
6140 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
6142 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
6143 bin/autoconf.in, config/Makefile.in, config/config.guess,
6144 config/config.sub, config/install-sh, config/mdate-sh,
6145 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
6146 lib/Makefile.in, lib/Autom4te/Makefile.in,
6147 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
6148 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
6149 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
6150 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
6151 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
6152 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
6153 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
6154 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
6155 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
6156 tests/actypes.at: Regenerate and/or sync with original
6159 2004-01-26 Paul Eggert <eggert@twinsun.com>
6161 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
6162 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
6163 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
6164 not <inttypes.h>. Problem reported by Tim Mooney in
6165 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
6166 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
6169 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
6170 otherwise "make check" fails because it forbids cmp (I guess
6171 because cmp treats files as binary on DOS-like systems).
6173 * tests/mktests.sh: Update copyright date to 2004, since some tests
6174 have changed in 2004.
6176 2004-01-23 Gary V. Vaughan <gary@gnu.org>
6178 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
6179 non-truncating sed or gsed program in PATH.
6180 * tests/acprograms.at: Add it.
6181 * doc/autoconf.texi (Particular Programs): Document it.
6184 2004-01-15 Paul Eggert <eggert@twinsun.com>
6186 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
6187 -std1 disables some useful extensions on Tru64. Problem reported
6189 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
6191 2004-01-14 Paul Eggert <eggert@twinsun.com>
6193 * doc/autoconf.texi (Programming in M4sh): Document that
6194 AS_MKDIR_P succeeds if the destination is a symbolic link
6195 to an existing directory.
6196 (Limitations of Usual Tools): Note that mkdir -p might not
6197 succeed on symlinks to directories.
6199 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
6201 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
6202 * bin/autoheader.in: Grammar fix in message.
6203 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
6204 Test for dir before calling mkdir -p. (trivial changes)
6206 2004-01-13 Eric Blake <ebb9@byu.net>
6208 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
6209 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
6211 2004-01-10 Jim Meyering <jim@meyering.net>
6213 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
6215 2004-01-09 Paul Eggert <eggert@twinsun.com>
6217 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
6218 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
6219 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
6220 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
6221 AC_COMPILE_IFELSE, since we now assume our caller invokes
6222 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
6223 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
6224 of AC_RUN_IFELSE; this avoids the warning mentioned above.
6225 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
6227 2004-01-07 Paul Eggert <eggert@twinsun.com>
6229 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
6230 `"'...'"`, as it's confusing (and I suspect it may not work on
6231 some platforms). The code was incorrect anyway, as it assumed
6232 that \$ evaluated to itself in that context. Reported by
6233 Alexandre Duret-Lutz.
6235 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
6237 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
6238 and _LT_AC_TAGCONFIG.
6240 2004-01-06 Paul Eggert <eggert@twinsun.com>
6242 * doc/autoconf.texi (One Macro Call): Fix an incorrect
6243 example, and add more examples. Reported by Eric Sunshine.
6245 2004-01-05 Paul Eggert <eggert@twinsun.com>
6247 * doc/autoconf.texi (Limitations of Usual Tools):
6248 Remove warning against "rm -fr" introduced yesterday; it
6251 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
6252 autoscan, autoupdate, ifnames): Don't use chmod -w.
6253 * lib/Makefile.am (autom4te.cfg): Likewise.
6254 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
6257 2004-01-04 Paul Eggert <eggert@twinsun.com>
6258 Paolo Bonzini <bonzini@gnu.org>
6260 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
6261 by doing lineno substitution only on lines containing "$LINENO".
6263 2004-01-04 Paul Eggert <eggert@twinsun.com>
6265 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
6266 Use "rm -f" to remove conftest.sed, not plain "rm".
6267 Bug reported by David Relson in
6268 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
6270 * Makefile.am (autom4te-update):
6271 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
6272 * Makefile.maint (my-distcheck, do-po-update): Likewise.
6273 * doc/autoconf.texi (Guidelines): Likewise.
6274 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
6275 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
6276 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6277 * lib/autotest/general.m4 (AT_INIT): Likewise.
6278 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
6279 * tests/Makefile.am (clean-local): Likewise.
6280 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
6282 * doc/autoconf.texi (Limitations of Usual Tools):
6283 Warn against "rm -fr".
6285 2004-01-03 Paul Eggert <eggert@twinsun.com>
6287 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
6288 -c -o might not work. From a suggestion by Kevin Ryde.
6289 (C Compiler, Generating Sources, Limitations
6290 of Usual Tools, Limitations of Make, Making testsuite Scripts):
6291 Don't put '-o' after non-options, as POSIX doesn't allow this.
6292 Mention that cc's name might be gcc or c89 or whatever.
6294 2004-01-04 Kevin Ryde <user42@zip.com.au>
6296 * doc/autoconf.texi: Add various further index entries.
6298 2003-12-29 Paul Eggert <eggert@twinsun.com>
6300 * bin/autoreconf.in (autoreconf_current_directory):
6301 Fix typo: mkdir without umask arg.
6303 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
6305 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
6306 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
6307 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
6308 explanation clearer.
6310 2003-12-24 Andreas Schwab <schwab@suse.de>
6312 * doc/autoconf.texi (Default Includes): Fix misspelling of
6313 AC_INCLUDES_DEFAULT.
6315 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
6317 * configure.ac: Test if sh -n works.
6318 * configure: Regenerate.
6319 * tests/atlocal.in: Store the result here.
6320 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
6321 tools.at, looking in atlocal's ac_cv_sh_n_works instead
6322 of explicitly testing.
6323 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
6324 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
6325 * tests/tools.at (Syntax of the shell scripts): Simplify
6326 using AT_CHECK_SHELL_SYNTAX.
6327 (Syntax of the Perl scripts): Remove definition of
6328 AT_CHECK_PERL_SYNTAX.
6330 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
6332 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
6333 stderr to /dev/null.
6334 * bin/autoconf.in: Regenerate.
6335 * bin/wrapper.in: Regenerate.
6337 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
6339 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
6340 Extracted from AS_SHELL_SANITIZE.
6341 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
6343 (AS_SHELL_SANITIZE): Move reinvocation code from
6344 _AS_LINENO_WORKS, use it to find out if shell
6346 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
6348 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
6349 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
6351 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
6352 * bin/autoconf.in: Regenerate.
6353 * tests/wrapper.in: Regenerate.
6354 * tests/tools.at: Test the syntax of tests/autoconf
6355 and tests/testsuite.
6357 2003-11-24 Akim Demaille <akim@epita.fr>
6359 * config/announce-gen (&print_locations, &print_signatures)
6362 No longer rely on Gnus to inline the list of signatures: compute
6365 2003-11-24 Akim Demaille <akim@epita.fr>
6367 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
6368 override some files.
6369 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
6370 From Debian Autoconf 2.58.
6372 2003-11-24 Akim Demaille <akim@epita.fr>
6374 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
6376 From Debian Autoconf 2.58.
6378 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6380 * TODO: Remove already done things. Update the part about finding
6381 tools for the target.
6383 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6385 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
6386 Make wording more consistent.
6387 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6388 Explain the transition better.
6389 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
6390 the transition better.
6392 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6394 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
6395 parameter of AU_DEFUN.
6396 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
6397 (AU_DEFUN): Remove the third parameter, it was not used.
6398 Use AC_DEFUN directly, not AU_DEFINE.
6399 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
6400 the expanded body, consistently with other macros such as AC_USG.
6402 2003-11-17 Paul Eggert <eggert@twinsun.com>
6404 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
6405 into the initial confdefs.h, to work around a bug in NextStep 3.3
6406 patch 3 reported by Eric Sunshine.
6408 2003-11-15 Kevin Ryde <user42@zip.com.au>
6410 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
6411 than $target since the latter is not usual, add guidelines on when to
6412 use or not use the system type.
6414 2003-11-12 Derek Price <derek@ximbiot.com>
6416 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
6417 typo misrepaired by an auto-spellcheck.
6419 2003-11-12 Akim Demaille <akim@epita.fr>
6421 * bin/autoreconf.in (&parse_args): Don't call automake with
6422 --force-missing unless it actually supports it.
6423 From Debian #219336.
6425 2003-11-12 Akim Demaille <akim@epita.fr>
6427 * configure.ac: Bump to 2.59a.
6430 2003-11-06 Akim Demaille <akim@epita.fr>
6434 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
6436 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
6437 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
6438 and ac_abs_top_srcdir are absolute paths.
6439 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
6441 2003-11-05 Akim Demaille <akim@epita.fr>
6443 * configure.ac: Bump to 2.58a.
6445 2003-11-05 Kevin Ryde <user42@zip.com.au>
6447 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
6448 it provokes a warning from makeinfo about looking like a cross
6449 reference in info output.
6451 * doc/autoconf.texi (Function Portability): Add notes on signal
6452 handler return type, as per AC_TYPE_SIGNAL.
6454 2003-11-04 Akim Demaille <akim@epita.fr>
6457 * doc/standards.texi: Update from master.
6459 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
6461 2003-11-04 Akim Demaille <akim@epita.fr>
6463 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
6464 computing the absolute path to d1 in the source hierarchy: it may
6465 not exist at all. So don't cd into it.
6466 From Alexandre Duret-Lutz.
6467 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
6469 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
6470 From Paul Eggert, but named after Perl's IO::Spec->catfile.
6471 * doc/autoconf.texi (Programming in M4sh): Document.
6472 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
6474 2003-11-03 Pavel Roskin <proski@gnu.org>
6476 * doc/autoconf.texi (Generic Structure Checks): Describe
6477 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
6479 2003-10-31 Akim Demaille <akim@epita.fr>
6481 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
6483 * doc/autoconf.texi (Language Choice): Document.
6484 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
6485 the current language is Fortran.
6487 2003-10-31 Akim Demaille <akim@epita.fr>
6489 * bin/autom4te.in (&freeze): Use a less likely warning separator
6490 than `\n\n', so that `\n\n\n' is valid in warnings.
6491 Reported by Steve Huston.
6493 2003-10-28 Akim Demaille <akim@epita.fr>
6495 * Makefile.cfg (local_updates, executable-update): Tweak to be
6496 robust to parallel makes.
6497 Suggested by Alexandre Duret-Lutz.
6499 2003-10-27 Akim Demaille <akim@epita.fr>
6501 * Makefile.cfg (executable-update): New.
6502 (local_updates): Call it.
6504 2003-10-27 Akim Demaille <akim@epita.fr>
6506 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
6507 Don't remove core.* as it may remove valid user files.
6508 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
6509 (AC_FUNC_UTIME_NULL): Likewise.
6511 2003-10-23 Akim Demaille <akim@epita.fr>
6514 * config/config.guess, config/config.sub: Upgrade from masters.
6516 2003-10-23 Akim Demaille <akim@epita.fr>
6518 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
6519 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
6522 2003-10-23 Akim Demaille <akim@epita.fr>
6524 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
6525 Don't forget to remove conftest.err.
6527 2003-10-23 Akim Demaille <akim@epita.fr>
6529 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
6530 same object file in $LIBOBJS.
6531 Reported by Alexandre Duret-Lutz & Derek Robert Price.
6532 * doc/autoconf.texi (Generic Functions): Adjust.
6534 2003-10-20 Paul Eggert <eggert@twinsun.com>
6536 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
6537 Use 'eval', so that the resulting configure scripts work even if
6538 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
6540 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
6542 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
6543 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
6544 (_AC_LINK_IFELSE): Check the werror flag.
6545 * doc/autoconf.texi (Generic Compiler Characteristics): Document
6549 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
6551 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
6552 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
6553 override AC_LINK_IFELSE.
6555 2003-10-15 Paul Eggert <eggert@twinsun.com>
6557 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
6558 pdksh 5.2.14. Bug reported by Ralf Corsepius.
6559 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
6560 Mention /usr/dt/bin/dtksh on Solaris.
6561 (Shell Substitutions): Warn about $((...)).
6562 (Parentheses): New section.
6564 2003-10-15 Kevin Ryde <user42@zip.com.au>
6566 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
6567 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
6569 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
6571 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
6574 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
6576 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
6577 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
6579 2003-10-10 Andreas Schwab <schwab@suse.de>
6581 * bin/autoheader.in: Avoid empty first line in --version and
6583 * bin/ifnames.in: Likewise.
6585 2003-10-09 Paul Eggert <eggert@twinsun.com>
6587 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
6588 Issue a more-informative diagnostic.
6589 Problems reported by Eric Sunshine.
6591 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
6593 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
6594 -mGLOB_options_string stuff for Intel ifc, which can cause
6595 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
6596 pattern-matching instead of grep.
6598 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
6600 * doc/autoconf.texi: Document new FC Fortran macros.
6602 2003-10-08 Gary V. Vaughan <gary@gnu.org>
6604 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
6605 that future autopoint/aclocal/automake/autoreconf will be able
6606 to trace to find where to install local m4 macros.
6607 * doc/autoconf.texi (Input): Document it.
6610 2003-10-06 Gary V. Vaughan <gary@gnu.org>
6612 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
6613 -lcrtbegin.o to list of ignored flags and fix underquoting of
6616 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
6618 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
6619 cache variable instead of $G77 to decide whether to include -O2,
6620 since $G77 is specific to Fortran 77.
6622 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
6624 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
6625 free" flag. Re-order flags tested into rough order of popularity.
6627 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
6629 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
6630 arguments so that it can be used with syntax identical to
6631 AC_PROG_F77, and so that we can more easily decide to
6632 remove/deprecate the DIALECT optional argument in the future if it
6634 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
6635 non-freeform-supporting compilers. Document freeform flags.
6637 2003-10-03 Akim Demaille <akim@epita.fr>
6639 * configure.ac: Look for emacs, not macs.
6640 Reported by Eric Sunshine.
6642 2003-10-03 Akim Demaille <akim@epita.fr>
6644 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
6645 * bin/autoreconf.in (autoreconf_current_directory): Create the
6646 AUX_DIR if needed, for sake of automake --add-missing etc.
6647 Suggested by Alexandre Duret-Lutz.
6649 2003-10-03 Akim Demaille <akim@epita.fr>
6651 * configure.ac: Quotation and formatting changes.
6652 (EMACS): Don't set it if it is not recent enough to support
6656 2003-10-02 Akim Demaille <akim@epita.fr>
6658 * bin/ifnames.in (&scan_file): Skip C++ comments.
6661 2003-10-01 Pavel Roskin <proski@gnu.org>
6663 * doc/autoconf.texi (Particular Structure Checks):
6664 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
6666 2003-10-01 Akim Demaille <akim@epita.fr>
6670 2003-09-30 Paul Eggert <eggert@twinsun.com>
6672 * lib/Autom4te/XFile.pm: Use Errno.
6673 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
6674 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
6676 2003-09-30 Akim Demaille <akim@epita.fr>
6678 * config/announce-gen (&print_news_deltas): Extracted from...
6679 (&print_changelog_deltas): here.
6680 (&news_file): Rename as...
6683 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
6685 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
6686 have been created when invoking the compiler.
6687 * tests/fortran.at (GNU Fortran 77): Quote $G77.
6689 2003-09-29 Akim Demaille <akim@epita.fr>
6693 * config/mkinstalldirs: Upgrade.
6695 2003-09-28 Paul Eggert <eggert@twinsun.com>
6697 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
6698 Problem reported by Lars J. Aas in
6699 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
6700 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
6701 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
6702 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
6704 2003-09-26 Akim Demaille <akim@epita.fr>
6706 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
6707 directory for AC_CONFIG_COMMANDS' first argument exists.
6708 This makes valid the invocation of _AC_SRCPATH that follows.
6709 Reported by Eric Sunshine.
6710 * doc/autoconf.texi (Configuration Commands): Adjust.
6712 2003-09-26 Akim Demaille <akim@epita.fr>
6714 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
6715 Reported by Ralf Corsepius.
6717 2003-09-26 Akim Demaille <akim@epita.fr>
6719 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
6721 Actually, use AU_ALIAS.
6724 2003-09-26 Paul Eggert <eggert@twinsun.com>
6726 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
6727 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
6728 Problem reported by Eric Sunshine in:
6729 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
6731 2003-09-26 Akim Demaille <akim@epita.fr>
6733 The test suite are sometimes assigning timings incorrectly.
6734 Reported by Henk Krus.
6735 Diagnosed by Nicolas Joly.
6737 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
6739 Instead of making AT_help a sequence of assignments to grow
6740 $at_help_all, just make AT_help_all be the growing contents of
6741 $at_help_all, and make a single assignment in...
6743 (at_times_skip): Flip the meaning and rename as...
6745 (AT_INIT): When summarizing the test that ran, remove
6746 $at_times_file after use, and check it is present before trying to
6749 2003-09-25 Akim Demaille <akim@epita.fr>
6753 * bin/Makefile.am (edit): Handle '@configure_input@'.
6754 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
6755 (ifnames): chmod -w.
6756 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
6757 executables, not bin/ executables! Otherwise all the magic needed
6758 to find non installed files is turned off. This caused a failure
6759 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
6760 as found in its environment (sent by tests/autoreconf): pointing
6761 to bin/autom4te that could not find its files.
6762 * tests/mktests.sh: Force the replacement of generated files, for
6763 the sake of "mv" program that are interactive when overwriting a
6765 * config/install-sh: Upgrade from CVS Automake.
6767 2003-09-23 Paul Eggert <eggert@twinsun.com>
6769 * doc/autoconf.texi (Limitations of Builtins): Document test -h
6770 versus test -L issues.
6772 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
6773 Paul Eggert <eggert@twinsun.com>
6775 Trivial change to support GCC's configuration procedure.
6776 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
6777 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
6778 about inconsistency if the preprocessor is set to give errors for
6780 * doc/autoconf.texi (C Compiler Characteristics): Document this.
6782 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
6784 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
6785 and XFile.pm from Automake.
6786 * lib/Autom4te/XFile.pm: Update from Automake.
6788 2003-09-12 Akim Demaille <akim@epita.fr>
6792 2003-09-12 Akim Demaille <akim@epita.fr>
6794 * config/config.guess, config/config.sub, config/missing,
6795 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
6798 2003-09-12 Akim Demaille <akim@epita.fr>
6800 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
6803 2003-09-11 Akim Demaille <akim@epita.fr>
6805 * doc/autoconf.texi (Header Portability): linux/random.h.
6806 From Peter Hendrickson.
6808 2003-09-10 Akim Demaille <akim@epita.fr>
6810 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
6811 willing to edit the output files.
6813 2003-09-10 Akim Demaille <akim@epita.fr>
6815 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
6817 * tests/mktests.sh: Skip AC_FC_SRCEXT.
6818 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
6820 2003-09-09 Akim Demaille <akim@epita.fr>
6822 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
6823 Reported by Gary Vaughan.
6824 * bin/autom4te.in (handle_m4): Likewise.
6826 2003-09-09 Akim Demaille <akim@epita.fr>
6828 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
6831 2003-09-07 Paul Eggert <eggert@twinsun.com>
6833 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
6834 Improve the accuracy of the wording about obsolescence.
6835 From a suggestion by Ian Lance Taylor in
6836 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
6838 2003-09-05 Paul Eggert <eggert@twinsun.com>
6840 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
6841 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
6843 2003-09-04 Akim Demaille <akim@epita.fr>
6845 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
6848 2003-09-04 Akim Demaille <akim@epita.fr>
6850 * bin/autom4te.in: Use &fatal where more appropriate than &error.
6851 (freeze): When exiting, use $exit_code.
6852 * lib/autoconf/fortran.m4: Comment changes.
6854 2003-09-04 Akim Demaille <akim@epita.fr>
6856 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
6858 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
6860 Add support for newer Fortran dialects. The F77 interface is
6861 unchanged, and continues to support Fortran 77. New FC macros
6862 correspond to all the old F77 macros, with output variables FC,
6863 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
6864 available dialect, but older dialects can be specified. There are
6865 new macros AC_FC_SRCEXT to set the source extension, and
6866 AC_FC_FREEFORM to accept free-form source files.
6868 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
6870 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
6871 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
6872 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
6873 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
6874 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
6875 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
6876 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
6877 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
6878 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
6879 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
6880 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
6881 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
6882 AC_FC_SRCEXT, AC_FC_FREEFORM):
6884 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
6885 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
6886 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
6887 Rewrite in terms of the above.
6888 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
6889 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
6890 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
6891 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
6893 2003-09-02 Paul Eggert <eggert@twinsun.com>
6895 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
6896 Document problems with timestamp resolution that 'make', 'cp -p', and
6899 2003-08-27 Akim Demaille <akim@epita.fr>
6901 * tests/m4sugar.at (cross_warning): Make sure to enable the
6902 output, so that we can track spurious m4sugar output.
6903 * tests/local.at: Require 2.57.
6904 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
6905 are defaulted by AT_CHECK anyway.
6906 Use AT_CHECK_AUTOM4TE.
6907 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
6910 2003-08-27 Akim Demaille <akim@epita.fr>
6912 * bin/autoheader.in: Issue the "Using auxiliary..." message only
6913 when -Wobsolete is set.
6914 Set it on by default.
6915 Suggested by Klee Dienes.
6917 2003-08-27 Akim Demaille <akim@epita.fr>
6919 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
6923 2003-08-26 Akim Demaille <akim@epita.fr>
6925 * doc/autoconf.texi (Output): Make clear that one can run code
6928 2003-08-25 Akim Demaille <akim@epita.fr>
6930 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
6933 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
6935 * bin/autoreconf.in (parse_args): Do not pass --no-force to
6936 Automake versions prior to 1.8.
6938 2003-08-25 Akim Demaille <akim@epita.fr>
6940 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
6943 2003-08-24 Akim Demaille <akim@epita.fr>
6945 * configure.ac: Bump to 2.57c.
6947 2003-08-22 Akim Demaille <akim@epita.fr>
6951 * Makefile.cfg (local-checks-to-skip): New.
6952 * Makefile.maint (local-check): Rename as...
6953 (local-checks-available): this.
6956 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
6957 * configure.ac: Require Automake 1.7.6.
6959 2003-08-22 Akim Demaille <akim@epita.fr>
6961 Output stack traces in warnings.
6963 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
6964 Replace the former...
6965 (m4_warn): Pass the call stack to _m4_warn.
6966 * bin/autom4te.in: Adjust to output the call stack.
6967 * tests/m4sugar.at (m4@&t@_warn): Adjust.
6969 2003-08-22 Akim Demaille <akim@epita.fr>
6971 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
6972 * bin/autom4te.in: Adjust.
6974 2003-08-21 Akim Demaille <akim@epita.fr>
6976 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
6978 (&getopt): Adjust the note and verb channels, depending upon
6980 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
6981 * bin/autoupdate.in: Adjust.
6982 Use &verb, not &verbose.
6984 2003-08-21 Akim Demaille <akim@epita.fr>
6986 * bin/autoheader.in (&parse_args): Use &parse_warnings and
6988 ($help): Use Autom4te::ChannelDefs::usage.
6989 * bin/autoscan.in: Use Autom4te::ChannelDefs.
6990 * lib/Autom4te/General.pm: Don't export error: you don't own it.
6992 2003-08-21 Akim Demaille <akim@epita.fr>
6994 First stab at preserving warnings between calls to autom4te,
6995 including when the cache is used.
6997 There are still several issues: (i) there are too many runs of m4
6998 (one for include, one for warnings, and some more), (ii) warnings
6999 spreading on several lines are not handled gracefully, (iii) the
7000 code meant to have the call stack display for errors does not work
7001 (its handling should move from m4 to autom4te).
7003 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
7005 (@preselect): Add m4_warn.
7006 ($exit_status): Remove, use $exit_code.
7007 ($help): Use Autom4te::ChannelDefs::usage.
7008 (&handle_m4): No longer define the m4_warnings.
7009 At each run, extract and report the warnings.
7010 Always cache the result, including if the exit status is on
7011 failure, since if nothing changes, we should result in the same
7012 failure, hence we can use the cache.
7013 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
7014 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
7016 (m4_warn): Redefine as a do-nothing: it is its invocation that
7017 matters, as warnings are now reported via traces.
7018 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
7019 the contents of m4_warn: make it _call_ m4_warn, so that tracing
7020 the latter reveals calls to the former.
7024 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
7026 2003-08-21 Akim Demaille <akim@epita.fr>
7028 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
7031 2003-08-21 Akim Demaille <akim@epita.fr>
7033 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
7035 * lib/Autom4te/ChannelDefs.pm: Doc typos.
7036 (&parse_warnings): Accept a list of warning requests.
7037 (&usage): Return a string, not a side effect.
7038 (cross): New warning category.
7040 2003-08-21 Akim Demaille <akim@epita.fr>
7042 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
7043 (&require_configure_ac): Accept an optional directory argument.
7044 ($configure_ac): Remove.
7045 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
7047 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
7048 * bin/autoscan.in: Adjust.
7050 2003-08-20 Akim Demaille <akim@epita.fr>
7052 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
7053 Reported by Alexandre Duret-Lutz.
7055 2003-08-20 Akim Demaille <akim@epita.fr>
7057 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
7058 * bin/autom4te: Adjust.
7059 In particular, be Autoconf tools are really silent when properly
7060 working, bind the verbosity of the 'note' channel to $verbose.
7061 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
7062 (&xsystem, &contents): Remove, since they are exported by...
7063 * lib/Autom4te/FileUtils.pm: this.
7065 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
7066 * lib/Autom4te/FileUtils.pm: here.
7068 2003-08-20 Akim Demaille <akim@epita.fr>
7070 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
7071 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
7074 2003-08-20 Akim Demaille <akim@epita.fr>
7076 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
7077 (autom4te-update): New.
7078 * Makefile.cfg (update): Bind autom4te-update.
7080 2003-08-19 Derek Price <derek@ximbiot.com>
7082 * lib/autotest/general.m4: Comment various HELP_* diversions.
7083 (PARSE_ARGS_BEGIN): New section for option parsing related
7085 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
7086 package specific options and associated help.
7088 2003-08-19 Akim Demaille <akim@epita.fr>
7090 * config/announce-gen, Makefile.cfg: New.
7091 * Makefile.am: Adjust.
7092 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
7094 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
7096 * lib/autom4te.in (Automake-preselections): Preselect
7097 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
7100 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
7102 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
7103 (Autoconf-without-aclocal-m4): ... this new language.
7104 * doc/autoconf.texi (autom4te Invocation): Mention
7105 Autoconf-without-aclocal-m4.
7107 2003-08-18 Derek Price <derek@ximbiot.com>
7109 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
7110 RUN-IF-PASS optional arguments.
7112 2003-08-18 Derek Price <derek@ximbiot.com>
7114 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
7116 2003-08-16 Derek Price <derek@ximbiot.com>
7118 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
7119 STDOUT & STDERR arguments.
7121 2003-08-14 Derek Price <derek@ximbiot.com>
7123 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
7124 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
7125 shorter column three. Add DESCRIPTION to log file content.
7127 2003-08-13 Derek Price <derek@ximbiot.com>
7129 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
7132 2003-08-12 Derek Price <derek@ximbiot.com>
7134 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
7135 (AT_CHECK_NOESCAPE): Move core functionality to...
7136 (_AT_CHECK): ...this new macro.
7138 2003-08-07 Derek Price <derek@ximbiot.com>
7140 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
7141 (AT_CHECK_NOESCAPE): ...to this new macro.
7143 2003-07-31 Paul Eggert <eggert@twinsun.com>
7145 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
7146 in Bash 2.01. Problem reported by Brian Gough in
7147 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
7149 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
7151 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
7152 -lcrt1.o, for OS X. (trivial change)
7154 2003-07-07 Paul Eggert <eggert@twinsun.com>
7156 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
7157 inside '#ifndef __cplusplus'. Problem reported by
7160 2003-07-06 Bill Clarke <llib@computer.org>
7162 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
7163 'long', not 'int', for benefit of Sun's recent C++ compilers
7164 (trivial change). See:
7165 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
7166 (This really should be 'intptr_t', not 'long', but that would
7169 2003-06-25 Akim Demaille <akim@epita.fr>
7171 * lib/Makefile.am (autom4te.cfg): Make it read only.
7172 Depend on Makefile since it contains substitutions.
7174 * lib/autom4te.in (args): Add local.at? for Autotest args.
7175 This change was made on autom4te.cfg which is generated.
7176 Reported by Raja R. Harinath.
7178 2003-06-25 Akim Demaille <akim@epita.fr>
7180 * doc/autoconf.texi (Header Portability): sys/mount.h.
7181 From Gareth McCaughan.
7183 2003-06-23 Akim Demaille <akim@epita.fr>
7185 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
7186 not all of them. This fixes 1. the fact that when testing
7187 Autoconf there are many many config.log, 2. the incorrect use of
7188 top_srcdir to find config.log.
7189 Don't mix the detailed output of failed test with the summary of
7190 failures. Rather, append detailed log afterwards.
7192 2003-06-23 Akim Demaille <akim@epita.fr>
7194 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
7195 always run: output config.log on $at_group_log.
7197 2003-06-23 Akim Demaille <akim@epita.fr>
7199 * tests/torture.at (#define header templates): Don't use quotes in
7200 C++ comments as it puzzles Emacs' sh font-lock-mode.
7202 2003-06-23 Akim Demaille <akim@epita.fr>
7204 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
7205 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
7206 * tests/atspecific.m4: Rename as...
7207 * tests/local.at: This.
7208 * tests/suite.at: Move the globals into...
7209 * tests/local.at: here.
7210 * tests/Makefile.am: Adjust.
7211 * doc/autoconf.texi (testsuite Scripts): Adjust.
7213 2003-06-21 Kevin Ryde <user42@zip.com.au>
7215 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
7216 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
7217 ensuring we add -std1 for full-ANSI.
7219 * doc/autoconf.texi (hdrindex): New macro.
7220 Add index entries for portability of various standard header files.
7222 2003-06-20 Akim Demaille <akim@epita.fr>
7224 * configure.ac: Bump to 2.57b.
7226 2003-06-20 Akim Demaille <akim@epita.fr>
7230 2003-06-20 Akim Demaille <akim@epita.fr>
7232 * bin/autom4te.in: Don't rely on $HOME being defined.
7233 Reported by Marc Espie as PR/233.
7235 2003-06-20 Akim Demaille <akim@epita.fr>
7237 * lib/autotest/general.m4: Use at_times_file only if used.
7240 2003-06-20 Akim Demaille <akim@epita.fr>
7242 * config/config.guess, config/config.sub, config/elisp-comp,
7243 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
7244 Update from masters.
7246 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
7248 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
7249 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
7250 (TEST_SCRIPT): New diversion.
7251 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
7252 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
7253 (AT_INIT): Support for expected failures.
7255 2003-06-02 Akim Demaille <akim@epita.fr>
7257 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
7259 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
7260 Autoconf nor Automake.
7261 (&contents): New, from Automake.
7264 2003-05-28 Paul Eggert <eggert@twinsun.com>
7266 * NEWS, doc/autoconf.texi (Particular Functions),
7267 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
7268 is the inverse of localtime.
7270 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
7272 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
7273 (handle_exec_errors): New function. Work around $! being
7274 altered by WEXITSTATUS.
7275 (xqx, xsystem): Use handle_exec_errors.
7277 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
7279 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
7280 Do not call `_exit()', simply modify `$?'.
7281 (xsystem): Reset $! before running system, and check it afterward.
7282 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
7283 63 for version mismatches.
7285 2003-05-23 Akim Demaille <akim@epita.fr>
7287 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
7288 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
7289 the middle of a line).
7290 * lib/m4sugar/m4sugar.m4: Likewise.
7291 Remove useless spaces in comments.
7293 2003-05-23 Akim Demaille <akim@epita.fr>
7295 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
7296 exit 63, so that we (or Automake's "missing") can tell the
7297 difference with a plain failure.
7298 * doc/autoconf.texi (Notices): Adjust.
7300 2003-05-23 Akim Demaille <akim@epita.fr>
7302 * Makefile.am, bin/Makefile.am, config/Makefile.am,
7303 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
7304 White spaces cleanup.
7306 2003-05-22 Jim Meyering <jim@meyering.net>
7307 Paul Eggert <eggert@twinsun.com>
7309 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
7310 Remove `#include <stdlib.h>' from the list; we should never
7311 make confdefs.h include <stdlib.h> or <cstdlib>, because the
7312 resulting namespace pollution would cause other tests to fail.
7313 Configure scripts run with some older versions of g++ and HP's
7314 aCC would fail due to such an #include. Problems reported by
7315 Matthew Mueller in <http://bugs.debian.org/120704> and by
7317 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
7318 In the test, use the test declaration before including <stdlib.h>,
7319 as that's closer to how it'll be used.
7321 2003-05-23 Akim Demaille <akim@epita.fr>
7323 * doc/autoconf.texi (Header Portability): ucred.h.
7326 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
7328 Overhaul Autotest's logging: generate separate log files
7329 in testsuite.dir/NNN/testsuite.log, and append them to
7330 testsuite.log instead of re-running the test verbosely.
7332 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
7333 file descriptor, write 0 to at_status_file instead of setting
7334 at_status=0, initialize some new variables (at_status_file,
7335 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
7336 to rerun the tests, instead append the at_group_log to the
7337 at_suite_log when a test fails.
7338 (AT_SETUP): pipe the test case's output into at_tee_pipe,
7339 with the AS_MESSAGE_LOG_FD redirected to stdout.
7340 (AT_CLEANUP): save the output status in $at_status_file
7341 and restore it, redirect the AS_MESSAGE_LOG_FD back to
7343 (AT_CHECK): since tests are run with a redirected stdout,
7344 and used to be re-run in verbose mode, turn some $at_verbose
7345 into echo, and don't redirect the output of testing stdout
7348 * lib/autotest/autoconf.texi (testsuite Scripts): Update
7349 the name of the debugging directory and information about
7352 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
7354 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
7357 2003-05-22 Akim Demaille <akim@epita.fr>
7359 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
7360 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
7361 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
7362 * lib/autoconf/status.m4: Fix and adjust copyright notices.
7364 2003-05-22 Akim Demaille <akim@epita.fr>
7366 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
7367 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
7368 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7369 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
7370 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7371 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7372 * lib/autoconf/status.m4, lib/autoconf/types.m4,
7373 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
7374 * tests/atspecific.m4, tests/base.at, tests/compile.at,
7375 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
7376 * tests/tools.at, tests/torture.at:
7377 Whitespace clean up.
7378 Suggested by Jim Meyering.
7380 2003-05-22 Akim Demaille <akim@epita.fr>
7382 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
7383 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
7384 Reported by Jim Meyering.
7386 2003-05-22 Akim Demaille <akim@epita.fr>
7388 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
7389 Add AC_HELP_STRING to the obsolete macros section.
7391 Use '@.' for sentences that ended in a capital letter.
7394 2003-05-22 Akim Demaille <akim@epita.fr>
7396 * config/config.guess, config/config.sub, config/elisp-comp,
7397 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
7398 * config/texinfo.tex, doc/standards.texi: Update from masters.
7400 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
7402 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
7405 2003-05-21 Akim Demaille <akim@epita.fr>
7407 * bin/autoupdate.in ($m4): Fix quotation.
7408 Reported by Martin Mokrejs.
7410 2003-05-19 Paul Eggert <eggert@twinsun.com>
7412 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
7413 Remove non-ASCII characters.
7415 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
7417 * tests/semantics.at (AC_SEARCH_LIBS): New test.
7418 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
7419 AC_CHECK_HEADERS_NEW): New tests.
7421 2003-05-17 Akim Demaille <akim@epita.fr>
7423 * lib/autoconf/functions.m4: Use the default includes so that
7424 memcmp be declared before being tested.
7425 Reported by Sander Niemeijer.
7426 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
7427 * doc/autoconf.texi (Default Includes): Document
7428 AC_INCLUDES_DEFAULT.
7430 2003-05-17 Akim Demaille <akim@epita.fr>
7432 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
7433 * doc/autoconf.texi (Obsolete Macros): Adjust.
7434 Reported by Werner LEMBERG and Debian Bug 190886.
7436 2003-05-16 Akim Demaille <akim@epita.fr>
7438 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
7439 user name space clashes.
7440 Reported by Bruno Haible.
7442 2003-05-16 Akim Demaille <akim@epita.fr>
7444 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7445 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
7446 them uniform, and more robust to Perl special characters.
7447 Reported by Martin Mokrejs.
7449 2003-05-14 Akim Demaille <akim@epita.fr>
7451 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
7453 2003-05-14 Akim Demaille <akim@epita.fr>
7455 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
7458 2003-05-12 Akim Demaille <akim@epita.fr>
7460 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
7462 From Matthias Andree.
7464 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
7466 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
7469 2003-05-06 Akim Demaille <akim@epita.fr>
7471 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
7472 longer updates aclocal.m4 if useless, (ii) if a file m4_included
7473 by aclocal.m4 is changed it might require the importing of another
7474 m4 extension file, i.e., aclocal must be run.
7476 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
7477 (&parse_args): Use --force with aclocal if required and supported.
7478 (&autoreconf_current_directory): Use &run_aclocal.
7480 2003-05-06 Akim Demaille <akim@epita.fr>
7482 Lock autom4te's cache.
7484 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
7485 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
7486 argument instead of a file name, so that the request file remains
7487 open during the whole autom4te run.
7488 ($icache_file): New.
7489 (&freeze): Lock the $icache_file.
7491 2003-04-29 Derek Price <derek@ximbiot.com>
7493 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
7494 seperator with m4_append_uniq(). It doesn't work.
7495 (AT_CLEANUP): Add `;' to end of at_help_all.
7496 (AT_INIT): Allow --keywords to be specified more than once. When
7497 grepping $at_help_all for keywords, use the field and keyword
7498 seperators to ensure a complete keyword match. Alter at_prev handling
7499 to support the new --keywords behavior.
7501 2003-04-27 Karl Berry <karl@freefriends.org>
7503 * doc/autoconf.texi: Make the dir entries in the autoconf manual
7504 align better with others. I also made some of the individual
7505 entries on one line, for brevity and to make it easier for me to
7506 sort my dir-example file in the Texinfo distribution :).
7508 2003-04-12 Jim Meyering <jim@meyering.net>
7510 * NEWS: Mention the new macro.
7511 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
7512 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
7513 * tests/c.at: Test AC_C_RESTRICT.
7514 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
7516 2003-04-08 Akim Demaille <akim@epita.fr>
7518 * bin/ifnames.in: Skip C++ comments.
7521 2003-04-08 Akim Demaille <akim@epita.fr>
7523 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
7524 From Ilya Zakharevich.
7526 2003-04-08 Akim Demaille <akim@epita.fr>
7528 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
7531 2003-04-01 Derek Price <derek@ximbiot.com>
7533 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
7534 from Akim's checkin of 2003-03-29.
7536 2003-04-01 Derek Price <derek@ximbiot.com>
7538 * tests/torture.at (Configuring subdirectories): Add missing
7539 close-quote for Akim's change from 2003-03-28.
7541 2003-04-01 Akim Demaille <akim@epita.fr>
7543 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
7544 (AC, AT, MS): these.
7545 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
7548 * doc/Makefile.am (CLEANFILES): Adjust.
7549 (TEXI2DVI): Make it --batch.
7551 2003-03-31 Derek Price <derek@ximbiot.com>
7553 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
7554 which removed the main loop.
7555 Thanks to Akim Demaille.
7557 2003-03-29 Akim Demaille <akim@epita.fr>
7559 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
7561 From Ilya Zakharevich.
7563 2003-03-29 Akim Demaille <akim@epita.fr>
7565 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
7566 documentation to read is Autoconf's.
7567 Suggested by Paul Eggert.
7569 2003-03-28 Akim Demaille <akim@epita.fr>
7571 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
7572 reading the section "Present But Cannot Be Compiled" when the
7573 header causes problems.
7575 2003-03-28 Akim Demaille <akim@epita.fr>
7577 * tests/torture.at (Configuring subdirectories): Require aclocal
7578 1.4, otherwise the test fails, as it does support configure.ac.
7579 This fixes the "test 40 failed" bug reports.
7581 2003-03-28 Akim Demaille <akim@epita.fr>
7583 * doc/autoconf.texi (C Compiler): `#line' portability.
7584 From Paul Eggert and Nelson H. F. Beebe.
7586 2003-03-27 Derek Price <derek@ximbiot.com>
7588 * lib/autotest/general.m4: Eliminate main loop and reorganize test
7589 layout in order to allow scripting around test groups.
7591 2003-03-27 Derek Price <derek@ximbiot.com>
7593 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
7594 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
7595 use new diversions in preparation for accepting new arguments and
7596 allowing scripting around tests.
7597 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
7599 2003-03-26 Derek Price <derek@ximbiot.com>
7601 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
7602 obsolete AC_HELP_STRING.
7603 (AC_HELP_STRING): AU_DEFUN to...
7604 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
7605 * tests/m4sh.at (AS_HELP_STRING): New test.
7607 * tests/acgeneral.at: Regenerated.
7609 2003-03-26 Derek Price <derek@ximbiot.com>
7611 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
7612 sense. Verbosify the diversion definitions comment.
7614 2003-03-26 Derek Price <derek@ximbiot.com>
7616 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
7619 2003-03-21 Eric Siegerman <eric_97@pobox.com>
7621 * doc/autoconf.texi (Present But Cannot Be Compiled):
7622 Grammar fixes and minor rewording. (trivial change)
7624 2003-03-06 Paul Eggert <eggert@twinsun.com>
7626 Work around a problem noted by Nelson H. F. Beebe with coreutils
7627 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
7628 2002/05/09) rejects '#line 32768 "configure"' because the line
7630 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
7632 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
7633 * doc/autoconf.texi (Generating Sources): Document this.
7635 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
7637 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
7638 file name for the m4 program, when it has an "exe" file extension.
7639 DJGPP's error messages include the error code in brackets -
7640 remove the error code during normalization.
7642 2003-02-28 Akim Demaille <akim@epita.fr>
7644 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
7646 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
7648 * doc/autoconf.texi (Limitations of Make): Remove the section
7649 about `$<' in inference rules, it was a bogus interpretation of
7650 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
7651 Tru64 make in the "target lookup" section.
7652 (Automake): Automake 1.5+ no longer requires special tools to be
7653 present on the developer's host.
7655 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
7657 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
7658 to a shell that can handle redirection or quoting correctly.
7659 Override SHELL with the shell detected by configure.
7660 Use of $^O suggested by Tim van Holder.
7661 * bin/autom4te.in (BEGIN): Likewise.
7662 * bin/autoreconf.in (BEGIN): Likewise.
7663 * bin/autoscan.in (BEGIN): Likewise.
7664 * bin/autoupdate.in (BEGIN): Likewise.
7665 * bin/ifnames.in (BEGIN): Likewise.
7667 * bin/ifnames.in: Add final newline to help and version messages.
7669 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
7670 to cope with DOS-style absolute paths, when constructing
7673 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
7674 When constructing paths with IFS=:, quote the path. If we're
7675 constructing a DOS-style absolute path, we don't want to split it
7678 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
7681 2003-02-25 Pavel Roskin <proski@gnu.org>
7683 * bin/autoheader.in: Add missing newline when printing
7684 suggestion how change AC_DEFINE call.
7686 2003-02-24 Paul Eggert <eggert@twinsun.com>
7688 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
7689 2002-09-01 patch by replacing "test -n" with "test -z".
7690 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
7691 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
7693 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
7694 to fix a mismatch between example and discussion.
7696 2003-02-24 Kevin Ryde <user42@zip.com.au>
7698 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
7699 format starting with "-".
7701 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
7703 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
7704 is not portable inside Makefile.
7706 2003-02-20 Akim Demaille <akim@epita.fr>
7708 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
7709 compiler says yeah, but preproc says nope, compiler is right.
7710 Conversely, prompt the reader to send a bug report to the
7711 maintainers of the package, not of Autoconf.
7713 2003-02-20 Klee Dienes <kdienes@apple.com>
7715 * bin/autoreconf.in (autoreconf_current_directory): Properly
7716 handle an empty aclocal.m4.
7718 2003-02-20 Akim Demaille <akim@epita.fr>
7720 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
7724 2002-12-23 Paul Eggert <eggert@twinsun.com>
7726 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
7727 innocuous variant befor including <limits.h> or <assert.h>. This
7728 works around a bug reported by Albert Chin: HP-UX 11i
7729 (and earlier versions) have a <limits.h> that declares
7730 gettimeofday and many other functions.
7732 2002-12-03 Paul Eggert <eggert@twinsun.com>
7736 * NEWS, configure.ac: Update version.
7738 * doc/fdl.texi: Upgrade to FDL version 1.2.
7740 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
7741 nontrivially in main's body, so that f's external declaration is
7742 not optimized away in AIX. This should fix the bug reported by
7744 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
7746 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
7747 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
7748 defined, to support freestanding compilers. This should fix the
7749 bug reported by Momchil Velkov in
7750 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
7752 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
7753 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
7754 obsolete AC_CHECK_TYPE. The missing empty arg was reported
7755 by Simon Josefsson in
7756 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
7758 * Makefile.maint (www-gnu): New macro.
7759 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
7760 the location has moved.
7762 2002-12-02 Martin Frydl <martin@systinet.com>
7764 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
7765 \(.*\) match is too long and there is something more to be checked.
7766 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
7768 2002-11-15 Akim Demaille <akim@epita.fr>
7772 * config/install-sh: chmod +x.
7774 * config/move-if-change: Indenting changes.
7775 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
7776 * configure.ac (AM_INIT_AUTOMAKE): here.
7779 2002-11-14 Akim Demaille <akim@epita.fr>
7783 * config/config.guess, config/config.sub, config/install-sh:
7784 Update from masters.
7786 2002-11-14 Akim Demaille <akim@epita.fr>
7788 * Makefile.maint: Sync with Bison, i.e.:
7789 (po-check): Scan .l and .y files instead of the
7790 .c and the .h files that they generate. This fixes the bug
7791 reported by Tim Van Holder in:
7792 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
7793 Look for N_ as well as for _. Try to avoid matching #define for
7797 2002-11-14 Akim Demaille <akim@epita.fr>
7799 * doc/autoconf.texi (C Compiler): Compiling several files at once.
7800 From Paul Eggert and Albert Chin-A-Young.
7802 2002-11-14 Akim Demaille <akim@epita.fr>
7804 * doc/autoconf.texi (C Compiler): Solitary backslashes.
7805 From Paul Eggert and Albert Chin-A-Young.
7807 2002-11-14 Kevin Ryde <user42@zip.com.au>
7809 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
7810 than assigning in main, to avoid HP cc +O3 optimizing it away.
7812 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
7814 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
7815 option. Process --recheck after parsing all options. Pass -q
7816 option to configure on --recheck.
7817 (AC_OUTPUT): Pass -q from configure to config.status.
7818 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
7819 arguments to record.
7820 * doc/autoconf.texi (config.status Invocation): Document
7821 config.status -q option.
7823 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
7825 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
7826 Makefile.in if Makefile.am exists.
7827 (output): Strip `.am' from Makefiles. Don't
7828 output AC_CONFIG_FILES if no Makefiles were found.
7830 2002-11-07 Akim Demaille <akim@epita.fr>
7832 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
7833 (local_updates): New.
7834 * Makefile.maint: Update, from CVS Bison.
7835 (local_updates): New.
7837 2002-11-06 Akim Demaille <akim@epita.fr>
7839 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
7840 declaration in extern "C" too.
7841 Reported by Roberto Bagnara.
7843 2002-11-06 Akim Demaille <akim@epita.fr>
7845 * tests/torture.at (Configuring subdirectories): Don't use grep
7847 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
7848 Reported by Ezra Peisach.
7850 2002-11-05 Akim Demaille <akim@epita.fr>
7852 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
7854 We _have_ to stop using the old compatibility scheme that tried to
7855 avoid useless backslashes because Libtool 1.4.3 contains a
7856 AC_DEFINE([error_t], [int],
7857 [Define to a type to use for \`error_t' if it is not
7858 otherwise available.])
7859 We _have_ to quote the single quote and backslashes with \. The
7860 old compatibility scheme saw that ` was backslashed, and therefore
7861 did not quote the single quote. Hence before this patch, Autoconf
7862 was not compatible with Libtool.
7864 2002-11-04 Paul Eggert <eggert@twinsun.com>
7866 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
7867 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
7868 LC_NAME, LC_PAPER, LC_TELEPHONE.
7869 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
7871 2002-11-04 Akim Demaille <akim@epita.fr>
7875 * Makefile.maint (update, cvs-update, po-update, do-po-update):
7877 * config/texinfo.tex: Update.
7879 2002-11-03 Akim Demaille <akim@epita.fr>
7881 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
7883 (&autoreconf): here.
7884 ($help, $make, &parse_args, &autoreconf_current_directory):
7886 * doc/autoconf.texi (autoreconf Invocation): Adjust.
7888 2002-10-31 Bruno Haible <bruno@clisp.org>
7890 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
7891 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
7892 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
7893 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
7894 to ac_cv_func_realloc_0_nonnull.
7895 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
7897 2002-10-31 Akim Demaille <akim@epita.fr>
7899 The test suite was no longer checking for trailing envvars and files.
7901 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
7902 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
7904 2002-10-31 Akim Demaille <akim@epita.fr>
7906 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
7907 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
7908 Make variable, not a shell variable.
7909 Suggested by Bruno Haible.
7911 2002-10-31 Akim Demaille <akim@epita.fr>
7913 * bin/autom4te.in (load_configuration): Reject #args out of any
7916 2002-10-31 Akim Demaille <akim@epita.fr>
7918 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
7919 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
7920 (_AC_RUN_IFELSE): Use it.
7921 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
7922 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
7923 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
7926 2002-10-30 Akim Demaille <akim@epita.fr>
7928 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
7929 * doc/autoconf.texi (autom4te Invocation): Adjust.
7930 Suggested by Tim van Holder.
7932 2002-10-29 Paul Eggert <eggert@twinsun.com>
7934 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
7935 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
7936 Problem reported by Bruno Haible.
7938 2002-10-29 Akim Demaille <akim@epita.fr>
7940 * doc/autoconf.texi (Header Templates): Put also in words what the
7941 pictures says to assist free style readers.
7942 (Customizing autom4te): s/--cache=/--cache /.
7944 2002-10-29 Akim Demaille <akim@epita.fr>
7946 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
7948 sparc_address_test returns void.
7949 Use it with an argument, as prototyped.
7952 2002-10-29 Akim Demaille <akim@epita.fr>
7954 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
7955 configure.in, not configure.ac.
7956 Reported by Bruno Haible.
7958 2002-10-29 Akim Demaille <akim@epita.fr>
7960 * tests/torture.at (Deep Package): New test.
7961 (Configuring subdirectories): Don't use a testSubDir as Autotest
7964 2002-10-29 Akim Demaille <akim@epita.fr>
7966 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
7967 * doc/autoconf.texi (Invoking autom4te): Rename as...
7968 (autom4te Invocation): this, for consistency with the other nodes.
7970 2002-10-29 Akim Demaille <akim@epita.fr>
7972 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
7973 Reported by Ralf Corsepius.
7975 2002-10-29 Akim Demaille <akim@epita.fr>
7977 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
7978 characters is a back as an `obsolete' warning now.
7979 Reported by Ralf Corsepius.
7981 2002-10-28 Akim Demaille <akim@epita.fr>
7983 * configure.ac: Bump to 2.54c.
7985 2002-10-28 Akim Demaille <akim@epita.fr>
7989 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
7991 2002-10-28 Akim Demaille <akim@epita.fr>
7993 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
7994 m4 executable names, and different GNU M4 version.
7995 Reported by Ezra Peisach and Paul Jarc.
7997 2002-10-27 Akim Demaille <akim@epita.fr>
7999 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
8002 2002-10-27 Akim Demaille <akim@epita.fr>
8004 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
8005 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
8006 Die when a simple Fortran program cannot be compiled.
8007 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
8008 Issue a warning if no function is given.
8010 2002-10-27 Akim Demaille <akim@epita.fr>
8012 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
8013 Move the documentation of AC_TRY_RUN to...
8014 (Obsolete Macros): here.
8015 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
8016 (autoconf Invocation): Remove the duplicates with `invoking
8018 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
8019 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
8021 2002-10-27 Akim Demaille <akim@epita.fr>
8023 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
8024 and AC_LANG_FUNC_LINK_TRY.
8025 (Examining Libraries): Rename as...
8026 (Running the Linker): this.
8027 Document AC_LINK_IFELSE.
8028 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
8029 (Obsolete Macros): here.
8030 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
8031 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
8032 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
8033 * lib/autoconf/headers.m4 (AC_USG): Likewise.
8035 2002-10-27 Akim Demaille <akim@epita.fr>
8037 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
8039 More `check config.log' messages.
8041 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
8042 * doc/autoconf.texi (Printing Messages): Document it.
8043 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
8045 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
8046 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
8047 (_AC_COMPILER_OBJEXT): Likewise.
8048 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
8049 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
8051 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
8054 Deprecate macros with unusual interfaces.
8056 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
8057 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
8059 Document the new ones, and proper style.
8061 * doc/autoconf.texi (Generating Sources): New.
8062 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
8063 (Examining Declarations): Rename as...
8064 (Running the Preprocessor): this.
8065 Document AC_PREPROC_IFELSE.
8066 (Examining Syntax): Rename as...
8067 (Running the Compiler): this.
8068 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
8069 (Obsolete Macros): Move the definition of AC_TRY_CPP and
8070 AC_TRY_COMPILE here.
8072 2002-10-27 Akim Demaille <akim@epita.fr>
8074 Move sections around.
8076 * doc/autoconf.texi (Customizing autom4te): Remove a lost
8078 Reported by Burno Haible.
8079 (Language Choice): Now the first section of...
8080 (Writing Tests): this section.
8081 Make the introduction less C-centric.
8082 (Guidelines, Test Functions): Move to...
8083 (Writing Test Programs): this new section.
8084 (Test Programs): Merge into...
8087 2002-10-27 Akim Demaille <akim@epita.fr>
8089 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
8090 autom4te.in that resulted in the need for two `make' runs.
8092 2002-10-27 Akim Demaille <akim@epita.fr>
8094 * configure.ac: Bump to 2.54b.
8096 2002-10-25 Akim Demaille <akim@epita.fr>
8100 * Makefile.maint: Update from the Coreutils.
8101 (AMTAR): Remove, obsolete.
8102 (automake_repo): Update to redhat.com.
8104 Adjust to the fact that ansi2knr is now hosted by Automake.
8105 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
8106 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
8107 Update from masters.
8108 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
8109 autoscan.pre is not to be installed, and autoscan.list is not to
8111 (CLEANFILES): Add autoscan.list.
8112 (autoscan.list): Disable the cache.
8113 * bin/Makefile.am: Include freeze.mk.
8115 2002-10-25 Akim Demaille <akim@epita.fr>
8117 * bin/autom4te.in (&load_configuration): Take the file as
8119 (&parse_args): Handle -C, --cache.
8121 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
8122 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
8123 * doc/autoconf.texi (Invoking autom4te): Document --cache.
8124 Now a subsection of...
8125 (Using autom4te): This new section.
8126 (Customizing autom4te): New.
8127 (autom4te.cache): Adjust.
8129 2002-10-25 Akim Demaille <akim@epita.fr>
8131 * doc/autoconf.texi (Generic Headers): More information on how to
8132 use AC_CHECK_HEADERS.
8134 2002-10-25 Akim Demaille <akim@epita.fr>
8136 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
8139 2002-10-25 Akim Demaille <akim@epita.fr>
8141 * bin/autoscan.in (output): Output AC_PREREQ.
8142 (%needed_macros): Add AC_PREREQ so that configure.ac without one
8145 2002-10-23 Akim Demaille <akim@epita.fr>
8147 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
8150 2002-10-23 Akim Demaille <akim@epita.fr>
8152 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
8153 Reported by Peter Eisentraut.
8155 2002-10-23 Akim Demaille <akim@epita.fr>
8157 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
8160 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
8161 Eggert's recommandations.
8163 2002-10-22 Akim Demaille <akim@epita.fr>
8165 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
8166 Bison, by Paul Eggert.
8167 * doc/autoconf.texi (Particular Headers): Document it.
8169 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
8171 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
8172 `$ac_configure_args'.
8174 2002-10-22 Akim Demaille <akim@epita.fr>
8176 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
8177 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
8180 2002-10-22 Akim Demaille <akim@epita.fr>
8182 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
8184 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8185 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
8186 (_AC_CHECK_HEADER_NEW): Rename as...
8187 (AC_CHECK_HEADER): this.
8189 2002-10-22 Akim Demaille <akim@epita.fr>
8191 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
8192 words about HP-UX cmp: it was actually a user-written cmp.
8194 2002-10-22 Akim Demaille <akim@epita.fr>
8196 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
8198 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8199 Quote for Perl '' strings, not "".
8200 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
8203 2002-10-22 Akim Demaille <akim@epita.fr>
8205 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8206 characters is a syntax warning now.
8207 (_AS_QUOTE): Accept $2 as list of characters to quote.
8208 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8209 Quote for Perl, not sh.
8210 * bin/autoheader.in: When $debug, report the file which is
8212 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
8213 `@', to tickle Perl's lists.
8214 Reported by Carlos Velasco.
8216 2002-10-18 Akim Demaille <akim@epita.fr>
8218 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
8219 missing included files _are_ errors.
8220 Thanks to Alexandre Duret-Lutz.
8221 * tests/tools.at (autom4te cache): Adjust.
8222 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
8223 (AT_CHECK_M4SUGAR): Use it.
8224 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8226 * tests/tools.at (autom4te): Now it does exit 1.
8228 2002-10-17 Akim Demaille <akim@epita.fr>
8230 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
8231 Fixes the `AC_ARG_VAR' test failures.
8232 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
8233 * lib/freeze.mk (check-forbidden-patterns): New.
8234 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
8235 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
8236 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
8238 Reported months ago by H. Merijn Brand.
8240 2002-10-17 Akim Demaille <akim@epita.fr>
8242 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
8244 2002-10-16 Paul Eggert <eggert@twinsun.com>
8246 * Makefile.maint (wget_files): Remove ansi2knr.c.
8247 (ansi2knr.c-url_prefix): Remove.
8249 2002-10-16 Akim Demaille <akim@epita.fr>
8251 Because of caching, some files that no longer exist and are no
8252 longer required can still cause errors.
8253 Reported by Alexandre Duret-Lutz.
8255 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
8256 to frozen files in @ARGV, as @ARGV must remain being a list of
8257 files. Rather, at M4 call sites, use this...
8258 (&files_to_options): New function.
8259 (&freeze): Use &error.
8260 (&up_to_date): If a file that was included according to the cache
8261 is no longer there, then the output is out dated.
8262 (&main): Don't even check whether a file is up to date is anyway
8264 * tests/tools.at (autom4te cache): New.
8266 2002-10-16 Akim Demaille <akim@epita.fr>
8268 * bin/autoconf.as: Kill dead options.
8269 * bin/autoupdate.in (&parse_args): Kill old options.
8270 * bin/autoreconf.in (&parse_args): Remove dead options.
8272 (&autoreconf): Report the directories we enter *and leave*, so
8273 that error messages can be easily located, and use GNU Make
8274 format, so that Emacs' compile mode understands us.
8275 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
8276 if some file was changed instead of `print'.
8277 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
8278 (&parse_args): Remove the dead options.
8279 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
8280 autoheader's quiet mode.
8281 (AT_CHECK_AUTOUPDATE): Likewise.
8282 * tests/tools.at (autoupdate): Adjust.
8283 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8285 2002-10-11 Akim Demaille <akim@epita.fr>
8287 No longer use CPP to check for the existing of headers: use CC to
8288 check for compilability.
8290 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8291 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
8292 (_AC_CHECK_HEADER_NEW): Rename as...
8293 (AC_CHECK_HEADER): this.
8295 * lib/autotest/general.m4 (AT_INIT): Include the failed test
8296 numbers in the Subject suggestion.
8298 2002-10-11 Akim Demaille <akim@epita.fr>
8300 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
8301 Suggest using AC_CHECK_DECLS instead.
8303 2002-10-11 Akim Demaille <akim@epita.fr>
8305 * tests/torture.at (AC_ARG_VAR): Have configure report the value
8308 2002-10-11 Akim Demaille <akim@epita.fr>
8310 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
8311 file name to enable parallel executions.
8312 From Sam Varshavchik.
8314 2002-10-08 Akim Demaille <akim@epita.fr>
8316 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
8317 aclocal invocation, as Gettext macros might not be visible to
8319 Instead of blindly running autopoint, scan configure.ac (not the
8320 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
8321 Reported by Paul D. Smith.
8323 2002-10-08 Paul Eggert <eggert@twinsun.com>
8325 Work around problems found when POSIXLY_CORRECT=1 is set.
8326 None of this seems to have anything to do with POSIX, really,
8327 but it's how Perl getopt works.
8328 * bin/autom4te.in (parse_args): Configure GetOpt with
8330 * doc/autoconf.texi (Invoking autom4te):
8331 --warning -> --warnings.
8332 * lib/autom4te.in: --warning -> --warnings.
8334 2002-09-28 Akim Demaille <akim@epita.fr>
8336 * doc/autoconf.texi (autom4te.cache): New section.
8338 2002-09-28 Akim Demaille <akim@epita.fr>
8340 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
8341 (Automake-preselections): Update.
8342 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
8344 2002-09-28 Akim Demaille <akim@epita.fr>
8346 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
8347 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
8348 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8349 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
8351 2002-09-28 Akim Demaille <akim@epita.fr>
8353 * tests/torture.at (Configuring subdirectories): Be robust to
8354 users who use config.site to require for a cache: in this case,
8355 the two last configure runs, using two different sets of
8356 arguments, trigger a legitimate error.
8358 2002-09-28 Akim Demaille <akim@epita.fr>
8360 * tests/m4sh.at (Functions Support, Functions and return Support):
8363 2002-09-28 Akim Demaille <akim@epita.fr>
8365 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
8366 autoheader are Perl programs.
8367 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
8368 (autom4te): Specify that the sources are in the $srcdir.
8369 * doc/autoconf.texi (Installation Directory Variables): Adjust.
8371 2002-09-28 Akim Demaille <akim@epita.fr>
8373 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
8374 (tm_zone): Move their rules to...
8375 * lib/autoconf/types.m4: here, using AN_ macros.
8376 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
8377 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
8378 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
8379 * lib/autoconf/programs.m4: here.
8380 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
8381 (ETAGS_FOR_AUTOCONF): New.
8384 2002-09-28 Akim Demaille <akim@epita.fr>
8386 * lib/autoconf/autoscan.m4: New file.
8387 * lib/autoconf/autoconf.m4: Include it.
8388 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
8389 that were listed in the original autoscan.list.
8390 * lib/autoconf/headers.m4: Similarly with headers.
8391 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
8392 (.m4.m4f): Don't pass --prepend-include, since that's done by
8393 tests/autom4te itself.
8394 * lib/autoscan/Makefile.am: Include freeze.mk.
8395 (autoscan.list): New target --this file is no longer a source.
8396 (autoscan.pre): New file.
8398 2002-09-28 Akim Demaille <akim@epita.fr>
8400 * bin/autoscan.in (@kinds): Make them singular.
8402 (&init_tables): When --debug, report the list of rules to ease
8403 tracking changes in autoscan.list.
8404 * lib/autoscan/autoscan.list (function): Strip comments, sort.
8406 2002-09-28 Akim Demaille <akim@epita.fr>
8408 * lib/autoscan/functions, lib/autoscan/headers,
8409 * lib/autoscan/identifiers, lib/autoscan/makevars,
8410 * lib/autoscan/programs: Merge into...
8411 * lib/autoscan/autoscan.list: this.
8412 * bin/autoscan.in (&init_tables): Adjust.
8414 2002-09-28 Akim Demaille <akim@epita.fr>
8416 * lib/autoscan/functions, lib/autoscan/headers,
8417 * lib/autoscan/identifiers, lib/autoscan/makevars,
8418 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
8419 `functions' line is now prefixed with `function:'.
8420 * bin/autoscan.in (&init_tables): Adjust.
8422 2002-09-28 Akim Demaille <akim@epita.fr>
8424 From now on, autoscan files must always map a macro name to a
8425 word: there is no `default' macro for autoscan.
8427 * bin/autoscan.in (&init_tables): Reject entries with no macro at
8429 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
8432 2002-09-28 Akim Demaille <akim@epita.fr>
8434 * bin/autoscan.in (%c_keywords): Remove.
8435 (&used): Keep only track of the words we might be interested in.
8436 (&output_kind): It is no longer needed to look for non active
8439 2002-09-27 Akim Demaille <akim@epita.fr>
8441 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
8442 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
8443 * lib/autoscan/functions: Adjust.
8444 * doc/autoconf.texi (Particular Functions): Adjust.
8446 2002-09-27 Akim Demaille <akim@epita.fr>
8448 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
8450 Thanks to Bill Moseley and Paul Eggert.
8451 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
8452 the tmpdir must be created.
8453 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
8454 dir be in the build tree, instead of $TMPDIR.
8456 2002-09-27 Akim Demaille <akim@epita.fr>
8458 * bin/autoscan.in: Improve the comments.
8459 (&parse_args): Drop obsolete undocumented options.
8460 (&output_kind): Output warnings.
8461 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
8462 (getwd): Trigger a warning.
8464 2002-09-26 Akim Demaille <akim@epita.fr>
8466 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
8467 Reported by Ralf Corsepius.
8468 * doc/autoconf.texi (autoreconf Invocation): Likewise.
8470 2002-09-26 Akim Demaille <akim@epita.fr>
8472 Single suffix rules and seperated dependencies are not portable.
8474 * doc/autoconf.texi (Installation Directory Variables): Update.
8475 (Limitations of Make): Some about `Single Suffix Rules and
8476 Separated Dependencies'.
8477 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8478 (ifnames, autoscan, autom4te): Un-factor into several rules.
8480 2002-09-25 Paul Eggert <eggert@twinsun.com>
8482 * BUGS (Interoperability bugs): New section. Mention libtool
8483 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
8485 2002-09-24 Paul Eggert <eggert@twinsun.com>
8487 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
8488 make handles suffix-rules differently from GNU make.
8490 * bin/Makefile.am (SUFFIXES, .in): Remove.
8491 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
8492 Move the body of the old .in rule here.
8494 2002-09-16 Akim Demaille <akim@epita.fr>
8496 i960 compilers create `b.out' files by default.
8497 Reported by Ralf Corsepius.
8499 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
8500 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
8502 2002-09-13 Paul Eggert <eggert@twinsun.com>
8504 * doc/autoconf.texi (Particular Headers): Remove obsolete
8505 reference to `struct timezone' in the description of
8508 2002-09-13 Akim Demaille <akim@epita.fr>
8512 * config/config.sub, config/config.guess: Update.
8513 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
8514 * Makefile.am: Adjust.
8516 2002-09-13 Akim Demaille <akim@epita.fr>
8518 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
8519 reading config.log when the compiler is rejected.
8520 Suggested by Guido Draheim.
8522 2002-09-13 Akim Demaille <akim@epita.fr>
8524 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
8525 (chdir_init) might hang when stat'ing mounted directories.
8526 Reported by Vance Shipley.
8528 2002-09-12 Akim Demaille <akim@epita.fr>
8530 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
8533 2002-09-12 Akim Demaille <akim@epita.fr>
8535 * doc/autoconf.texi (Defining Symbols): Present two different
8536 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
8537 difference between 1 argument calls, and 2-3 argument calls.
8539 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
8541 * doc/autoconf.texi: Review grammar and punctuation.
8543 2002-09-11 Paul Eggert <eggert@twinsun.com>
8545 * doc/autoconf.texi: Fix minor formatting, spelling, and
8547 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
8548 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
8551 2002-09-11 Akim Demaille <akim@epita.fr>
8553 * doc/autoconf.texi (Questions): Rename as...
8555 (Defining Directories): New.
8557 2002-09-09 Akim Demaille <akim@epita.fr>
8559 * doc/autoconf.texi (Making testsuite Scripts): Update.
8560 Suggested by Nishio Futoshi.
8562 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
8564 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
8565 plain `@' is wanted.
8567 2002-09-09 Akim Demaille <akim@epita.fr>
8569 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
8570 `duplicates', since the algorithm was too naive and could keep
8571 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
8572 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
8573 Reported by Ralf Corsepius.
8574 * tests/torture.at (Configuring subdirectories): Exercise these
8577 2002-09-09 Akim Demaille <akim@epita.fr>
8579 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
8580 looking for a replacement file.
8581 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
8582 directory is relative.
8583 * doc/autoconf.texi (Generic Functions): Clarify the replacement
8584 directory definition.
8585 Reported by Andreas Schwab and Jim Meyering.
8587 2002-09-06 Akim Demaille <akim@epita.fr>
8589 * doc/autoconf.texi (Setting Output Variables): Clarify what
8590 precious variables are.
8591 Suggested by Pontus Skoeld.
8593 2002-09-05 Akim Demaille <akim@epita.fr>
8595 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8596 (ifnames, autoscan, autom4te): Since we don't only depend on
8597 configure.ac variables (such as VERSION etc.), but also on prefix
8598 and so forth, depend on Makefile, not configure.ac.
8599 Reported by Alexandre Duret-Lutz.
8600 * doc/autoconf.texi (Installation Directory Variables): Adjust.
8602 2002-09-05 Kevin Ryde <user42@zip.com.au>
8604 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
8605 doesn't seem to be confined to ia64, just say "some versions".
8607 2002-09-04 Akim Demaille <akim@epita.fr>
8609 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
8611 * Makefile.am (maintainer-clean-local): Remove.
8612 (MAINTAINERCLEANFILES): Remove COPYING.
8614 2002-09-03 Paul Eggert <eggert@twinsun.com>
8616 * doc/autoconf.texi (Configuration Commands): Remove obsolete
8617 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
8620 2002-09-03 Akim Demaille <akim@epita.fr>
8622 * configure.ac: Bump to 2.53d.
8623 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
8624 as of today, on Automake's team suggestion.
8626 2002-09-03 Akim Demaille <akim@epita.fr>
8630 2002-09-02 Akim Demaille <akim@epita.fr>
8632 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
8634 * configure.ac: Disable SITE_MACRO_DIR.
8636 2002-09-02 Jim Meyering <meyering@lucent.com>
8638 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
8639 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
8640 Also, tweak grammar: s/make sure to/be sure to/.
8642 2002-09-02 Paul Eggert <eggert@twinsun.com>
8644 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
8645 directory names are generally preferable to physical names.
8647 2002-09-02 Akim Demaille <akim@epita.fr>
8649 * lib/Autom4te/General.pm (&update_file): s/die/error/.
8650 Reported by Raja R. Harinath.
8651 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
8652 * bin/autoupdate.in: Use error instead of die.
8654 2002-09-01 Paul Eggert <eggert@twinsun.com>
8656 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
8657 ordinary shell concatenation rather than echo+tr+sed command that
8658 runs afoul of a long-line-related sed bug in Solaris 8.
8660 * bin/autoheader.in (parse_args): --warning -> --warnings.
8662 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
8663 stdout, as traditional "ls" does.
8664 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
8665 _AC_COMPILER_EXEEXT_O): Likewise.
8666 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
8668 * bin/autoconf.as: Add --prepend-include option. This patch was
8669 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
8670 but bin/autoconf.in is generated automatically from bin/autoconf.as.
8672 * bin/autoconf.in, configure: Regenerate.
8674 * doc/autoconf.texi (Special Shell Variables): Mention
8675 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
8677 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
8678 MAILPATH and set PS1, PS2, PS4 to default values, to work
8679 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
8680 For LC_ALL etc, first try to set to "C" as POSIX requires and as
8681 the Autoconf documentation specifies; fall back to "unset" only if
8682 this fails. Use a shell for-loop for this rather than an m4 loop,
8683 to shorten the output script.
8685 2002-08-30 Paul Eggert <eggert@twinsun.com>
8687 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
8688 1003.1-2001's requirements for CDPATH. Give a simpler workaround
8689 for the CDPATH problem. Document PWD.
8690 (Limitations of Builtins): Document the problem that "cd $foo" and
8691 "ls $foo" may refer to different directories in shells conforming
8692 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
8693 example, since the old example is now out of date.
8695 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
8696 FOO" and "ls FOO" talk about different directories; this catches
8697 problems when POSIX 1003.1-2001 "cd" fails due to symlink
8700 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
8701 of rolling our own unset.
8702 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
8703 in practice we needn't worry about CDPATH if unset doesn't work.
8705 * Makefile.in, aclocal.m4, bin/Makefile.in,
8706 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
8707 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
8708 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
8709 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
8710 tests/Makefile.in: Regenerate with Automake 1.6.3.
8712 * config/config.guess, config/config.sub, config/mkinstalldirs:
8715 * configure: Regenerate with self.
8717 2002-08-30 Kevin Ryde <user42@zip.com.au>
8719 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
8722 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8724 * bin/autom4te.in (Request::load): Correctly test for "do" read
8727 2002-08-29 Akim Demaille <akim@epita.fr>
8729 * lib/Autom4te/General.pm (&xqx): New.
8730 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
8731 hand, which is not portable.
8733 * bin/autom4te.in: Use them.
8734 Use &error instead of die.
8735 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8738 2002-08-17 Paul Eggert <eggert@twinsun.com>
8740 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
8741 default list of compilers to try, since it was long ago superseded
8742 by the ksh fc builtin. Suggested by Steven G. Johnson.
8744 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
8746 * doc/autoconf.texi (Invoking autom4te): End the option table,
8747 fixing a bug introduced by the previous patch.
8748 (Limitations of Make): Add a 'target lookup' subentry in the
8749 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
8751 2002-07-29 Mark D. Roth <roth@feep.net>
8753 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
8754 options and use $AUTOM4TE_PATH.
8755 * doc/autoconf.texi: Remove documentation of autom4te
8756 --include-envvar and --site-macro-subdir options and document
8757 use of $AUTOM4TE_PATH.
8758 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
8759 arguments from each language section.
8761 2002-07-29 Paul Eggert <eggert@twinsun.com>
8763 * doc/install.texi: Include copyright symbol in copyright notice.
8765 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
8767 (AM_MAKEINFOFLAGS): New macro.
8768 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
8769 * Makefile.am (INSTALL): Use the new macros.
8770 Use -o rather than --output, since "missing" does not grok --output.
8772 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
8774 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
8775 comments do not always work. Never trust the exit status of
8778 2002-07-24 Kevin Ryde <user42@zip.com.au>
8780 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
8781 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
8783 2002-07-23 Paul Eggert <eggert@twinsun.com>
8785 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
8786 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
8787 apparently treats PATH="nonexistent" as if it contained ".".
8788 Bug reported by Stefan `Sec' Zehl.
8790 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
8792 * doc/autoconf.texi (Limitations of Make): Mention the special
8793 handling of the obj/ directory by BSD make.
8795 2002-07-20 Kevin Ryde <user42@zip.com.au>
8797 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
8800 2002-07-19 Akim Demaille <akim@epita.fr>
8802 * doc/autoconf.texi (Function Portability): `exit'.
8803 (Programming in M4sh): Ethymology of M4sh.
8805 2002-07-19 Akim Demaille <akim@epita.fr>
8807 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
8809 2002-07-18 Akim Demaille <akim@epita.fr>
8813 2002-07-18 Akim Demaille <akim@epita.fr>
8815 * config/config.guess, config/config.sub: Update.
8817 2002-07-18 Akim Demaille <akim@epita.fr>
8819 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
8822 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
8823 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
8824 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
8826 2002-07-18 Akim Demaille <akim@epita.fr>,
8827 Alexandre Duret-Lutz <duret_g@epita.fr>
8829 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
8830 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
8832 2002-07-17 Russ Allbery <rra@stanford.edu>
8834 * doc/autoconf.texi (Initializing configure): Clarify the
8835 description of the tarname default.
8837 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
8839 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
8840 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
8843 2002-07-17 Akim Demaille <akim@epita.fr>
8845 * lib/Autom4te/General.pm (find_file): Browse the directories in
8846 the order they are given.
8848 2002-07-17 Akim Demaille <akim@epita.fr>
8850 * tests/wrapsh.as, tests/wrappl.as: Merge into...
8851 * tests/wrapper.as: this.
8852 * tests/Makefile.am, configure.ac: Adjust.
8854 2002-07-17 Mark D. Roth <roth@feep.net>
8856 * configure.ac: Add --enable-site-macro-dir option.
8857 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
8858 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
8859 --site-macro-subdir options.
8860 * bin/autoconf.in: Add --prepend-include option.
8861 * bin/autoheader.in: Add --prepend-include option.
8862 * bin/autoreconf.in: Add --prepend-include option.
8863 * bin/autoscan.in: Add --prepend-include option.
8864 * bin/autoupdate.in: Add --prepend-include option.
8865 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
8866 macro directory, remove note that include path directories are
8867 used in reverse order, and document --prepend-include option.
8868 * lib/autom4te.in: Use --prepend-include instead of --include.
8869 * tests/wrapsh.in: Use --prepend-include instead of --include.
8871 2002-07-17 Akim Demaille <akim@epita.fr>
8873 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
8875 * doc/autoconf.texi (Initializing configure): Adjust.
8877 2002-07-17 Akim Demaille <akim@epita.fr>
8879 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
8880 (_AC_FUNC_MALLOC): New.
8881 (AC_FUNC_MALLOC): Use the latter.
8882 Define HAVE_MALLOC to 0 if broken.
8883 * doc/autoconf.texi (Particular Functions): Adjust.
8885 2002-07-16 Akim Demaille <akim@epita.fr>
8887 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
8888 * doc/autoconf.texi (C Compiler): Adjust.
8890 2002-07-09 Akim Demaille <akim@epita.fr>
8892 * doc/autoconf.texi: Properly set the ``header'' part.
8894 2002-07-09 Akim Demaille <akim@epita.fr>
8896 * doc/autoconf.texi (Systemology): Some about Darwin.
8898 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
8900 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
8901 Don't use AC_REQUIRE in AU_DEFUN.
8903 2002-07-09 Art Haas <ahaas@neosoft.com>
8905 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
8907 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
8909 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8910 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
8911 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
8912 so that Emacs setups GNU style for perl-mode and cperl-mode.
8914 2002-06-27 Paul Eggert <eggert@twinsun.com>
8916 * config/install-sh: Quote $src. Prefer || to test's -o option,
8917 as per "Limitations of Builtins".
8918 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
8919 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8921 * tests/mktests.sh: Use grep instead of fgrep, as per
8922 "Limitations of Builtins".
8924 2002-06-15 Paul Eggert <eggert@twinsun.com>
8926 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
8927 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
8928 so that we consistently test the just-built programs.
8929 * tests/wrappl.as: Likewise.
8931 2002-06-12 Paul Eggert <eggert@twinsun.com>
8933 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
8934 name, so that symlinks to 'autoconf' work properly. Bug reported
8936 * bin/autoheader.in (AUTOM4TE): Likewise.
8937 * bin/autoreconf.in (autoconf, autoheader): Likewise.
8938 * bin/autoscan.in (autom4te): Likewise.
8939 * bin/autoupdate.in (autom4te): Likewise.
8941 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
8942 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
8945 2002-06-11 Andreas Schwab <schwab@suse.de>
8947 * doc/autoconf.texi: Add more dir entries.
8949 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
8951 * bin/autom4te.in ($cache): Don't define using `$me', the name
8952 of the cache should not depend on the name under which autom4te
8955 2002-06-07 Akim Demaille <akim@epita.fr>
8957 * tests/tools.at (autoconf: forbidden tokens, basic)
8958 (autoconf: forbidden tokens, exceptions): Adjust to the change of
8959 words in autom4te.in.
8961 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
8963 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
8964 _AC_LANG_PROGRAM_C_F77_HOOKS.
8966 2002-06-07 Akim Demaille <akim@epita.fr>
8968 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
8970 (AC_REPLACE_FNMATCH): this.
8971 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
8972 AC_FUNC_FNMATCH_GNU.
8974 2002-06-07 Akim Demaille <akim@epita.fr>
8976 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
8977 Rosetta Stone for Unix.
8979 2002-06-07 Akim Demaille <akim@epita.fr>
8981 * bin/autom4te.in (warn_forbidden): When rejecting a token,
8982 suggest m4_pattern_allow.
8983 Suggested by Adam J. Richter.
8985 2002-06-07 Akim Demaille <akim@epita.fr>
8987 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
8988 ac_config_libobj_dir.
8989 (AC_CONFIG_LIBOBJ_DIR): New.
8990 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
8991 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
8992 Use ac_config_libobj_dir to find the replacement files.
8993 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
8994 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
8995 (AC_REPLACE_FNMATCH_GNU): these.
8996 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
8997 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
8998 * tests/mktests.sh (ac_exclude_list): Don't check
8999 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
9001 2002-06-06 Paul Eggert <eggert@twinsun.com>
9003 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
9006 * doc/autoconf.texi (Configuration Links): Likewise.
9007 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
9009 2002-06-05 Paul Eggert <eggert@twinsun.com>
9011 * config/config.guess, config/config.sub, config/texinfo.tex:
9012 Update from masters.
9014 2002-05-29 Paul Eggert <eggert@twinsun.com>
9016 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
9017 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9018 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
9020 * lib/autoconf/Makefile.am (check-local): Likewise.
9021 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
9022 * lib/autoconf/types.m4 (commentary only): Likewise.
9023 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
9024 * lib/autotest/Makefile.am (check-local): Likewise.
9025 * lib/m4sugar/Makefile.am (check-local): Likewise.
9026 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
9027 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
9029 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
9030 * doc/autoconf.texi (Particular Programs): Document them.
9031 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
9034 2002-05-27 Paul Eggert <eggert@twinsun.com>
9036 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
9037 * NEWS, doc/autoconf.texi (Particular Types): Document it.
9038 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
9039 instead of AC_MBSTATE_T, which never existed.
9041 2002-05-23 Akim Demaille <akim@epita.fr>
9043 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
9044 version of Autoconf that is discussed.
9046 2002-05-22 Paul Eggert <eggert@twinsun.com>
9048 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
9049 from the default list of compilers to try. Suggested by
9051 * NEWS: Document the above.
9052 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
9054 2002-05-17 Paul Eggert <eggert@twinsun.com>
9056 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
9057 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
9058 This improves on an earlier suggestion by H. Peter Anvin.
9060 2002-05-16 Paul Eggert <eggert@twinsun.com>
9062 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
9063 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
9064 Both macros now accept an optional source-dir arg.
9065 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
9067 * NEWS: Document this.
9068 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
9070 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
9071 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
9072 not for GNU extensions; this undoes part of the 2000-11-03 change,
9073 reverting to 2.13-compatible behavior.
9074 Add new optional argument DIR.
9075 (AC_FUNC_FNMATCH_GNU): New macro.
9077 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
9079 2002-05-08 Paul Eggert <eggert@twinsun.com>
9081 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
9082 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
9083 and it causes a 'test' syntax error if it fails.
9084 Bug reported by Stephen Gildea.
9086 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
9087 If prototypes are supported, use them to check this at compile-time,
9088 instead of trying to check it at run-time. If we must do a run-time
9089 check, assume that setvbuf is standard when cross-compiling, as
9090 nonstandard setvbuf occurs only on ancient and unlikely hosts.
9091 Bug reported by Paul D. Smith.
9093 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
9094 argument specifying location of getloadavg.c. This removes a
9095 FIXME. This idea was taken from Jim Meyering's implementation in
9097 * doc/autoconf.texi (Particular Functions): Document this.
9098 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
9099 that's what the code does; this fixes a bug reported by
9102 2002-05-03 Akim Demaille <akim@epita.fr>
9104 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
9105 autopoint instead of gettextize.
9106 ($uses_alocal): Rename as...
9107 ($uses_aclocal): this.
9108 * doc/autoconf.texi (autoreconf Invocation): Adjust.
9109 Suggested by Bruno Haible.
9111 2002-05-03 Akim Demaille <akim@epita.fr>
9113 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
9115 2002-04-29 Paul Eggert <eggert@twinsun.com>
9117 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
9118 files to be 1 second older; just set them to be the same time.
9119 Also, sleep 1 second after the first aclocal, to work around
9120 problems with sub-second time stamps on the input files.
9122 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
9124 * doc/autoconf.texi: Mention "set -e -x" lossage
9125 under node "Limitations of Builtins".
9127 2002-04-29 Akim Demaille <akim@epita.fr>
9129 * doc/install.texi: Better wording for setting variables when
9131 From Christian Cornelssen.
9133 2002-04-29 Akim Demaille <akim@epita.fr>
9135 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
9136 of lack of $LINENO support, then the test will compare the $LINENO
9137 in testsuite vs. the lineno in the test file. This is wrong, of
9139 Be sure to protect it.
9140 Reported by Patrick Welche.
9142 2002-04-25 Akim Demaille <akim@epita.fr>
9144 * doc/autoconf.texi (Obsolete Macros): Typo.
9145 Reported by Vladimir Volovich.
9147 2002-04-25 Akim Demaille <akim@epita.fr>
9149 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
9150 than some of the input files, hence, on the second run of aclocal,
9151 if some of its input are younger, make them older.
9152 Suggested by Paul Eggert.
9154 2002-04-25 Akim Demaille <akim@epita.fr>
9156 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
9157 Thanks to Paul Eggert.
9159 2002-04-25 Akim Demaille <akim@epita.fr>
9161 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
9162 and ac_subst_vars be sh variables containing the list of
9163 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
9165 (_AC_INIT_PREPARE): Use them to log them.
9166 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
9167 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
9168 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
9169 _AC_SUBST_FILES and _AC_SUBST_VARS.
9170 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
9172 2002-04-24 Akim Demaille <akim@epita.fr>
9174 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
9175 autoheader, so that automake does not complain about a missing
9176 config.h.in that was to be created.
9178 2002-04-23 Akim Demaille <akim@epita.fr>
9180 * bin/autoheader.in (parse_args): --warning takes an argument.
9183 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
9185 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
9186 and bb.out when cleaning up.
9188 2002-04-22 Akim Demaille <akim@epita.fr>
9192 2002-04-22 Akim Demaille <akim@epita.fr>
9194 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
9196 2002-04-22 Akim Demaille <akim@epita.fr>
9198 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
9200 Reported by Gregory Giannoni.
9202 2002-04-22 Akim Demaille <akim@epita.fr>
9204 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
9205 Fixes false failures on Darwin.
9207 2002-04-21 Paul Eggert <eggert@twinsun.com>
9209 * TODO, bin/autoupdate.in, doc/autoconf.texi,
9210 lib/autoconf/general.m4, lib/autoconf/libs.m4,
9211 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
9212 tests/tools.at: Minor spelling and grammar fixes.
9214 2002-04-20 Paul Eggert <eggert@twinsun.com>
9216 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
9217 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
9218 * lib/autotest/general.m4 (AT_INIT): Likewise.
9219 * tests/atgeneral.m4 (AT_INIT): Likewise.
9221 2002-04-19 Paul Eggert <eggert@twinsun.com>
9223 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
9224 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
9225 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
9226 lib/autoconf/functions.m4, lib/autoconf/general.m4,
9227 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
9228 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
9229 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
9230 Minor spelling and grammar fixes.
9232 * doc/autoconf.texi: Follow the outline suggested in the GNU
9233 Sample Texts sections of the Texinfo 4.2 manual. Most
9234 importantly, this makes sure that the copyright notices appear in
9235 all output formats. You probably need Texinfo 4.2 to generate
9238 Fix some bugs when using "$@" when there might be zero positional
9239 arguments in cases where this matters.
9241 * bin/autoconf.as: Rewrite so that the problem does not come up.
9242 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
9243 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
9244 * lib/autotest/general.m4 (AT_INIT): Likewise.
9246 * bin/autoheader.in: Use 'case' statement to work around problem.
9247 * bin/auto4mte.in: Likewise.
9248 * bin/autoreconf.in: Likewise.
9249 * bin/autoscan.in: Likewise.
9250 * bin/autoupdate.in: Likewise.
9251 * bin/ifnames.in: Likewise.
9253 * doc/autoconf.texi (Shell Substitutions): Document the problem.
9255 * lib/autotest/general.m4 (AT_INIT):
9256 Use Zsh alias to work around problem.
9257 * tests/atgeneral.m4 (AT_INIT): Likewise.
9259 * tests/c.at: We can't have zero arguments, so remove workaround
9260 that is not portable to Zsh.
9262 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
9264 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
9265 from aclocal.m4 too.
9267 2002-04-12 Akim Demaille <akim@epita.fr>
9269 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
9271 2002-04-10 Akim Demaille <akim@epita.fr>
9273 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
9274 workaround for ${1+"$@"}.
9275 * doc/autoconf.texi (Shell Substitutions): Explain it.
9276 From Oliver Kiddle and Peter Stephenson.
9278 Have M4sh perform minimal shell sanitizing.
9280 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
9282 (_AS_PREPARE): this new macro.
9284 (AS_INIT): Invoke AS_SHELL_SANITIZE.
9285 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
9287 Adjust Autoconf and Autotest.
9289 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
9290 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
9291 * lib/autotest/general.m4 (AT_INIT): Likewise.
9292 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
9293 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
9296 Use this M4sh to generate Autoconf's shell scripts.
9298 * tests/wrapsh.as: New, precursor of wrapsh.in.
9299 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
9300 on Autotest and M4sh.
9301 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
9302 (wrapsh.in): New target.
9303 * bin/autoconf.as: New, precursor of autoconf.in.
9304 (autoconf.in): New target.
9306 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
9308 * doc/autoconf.texi (Limitations of Make): Mention the issue
9309 with indented comments in rules.
9311 2002-04-09 Andreas Schwab <schwab@suse.de>
9313 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
9314 ac_top_builddir when setting ac_abs_top_builddir.
9316 2002-04-06 Kevin Ryde <user42@zip.com.au>
9318 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
9319 (Portable Shell): Cross reference to Systemology.
9321 2002-04-05 Akim Demaille <akim@epita.fr>
9323 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
9324 directories when descending in a SUBDIRS.
9325 Reported by Ezra Peisach.
9327 2002-04-04 Andreas Schwab <schwab@suse.de>
9329 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
9330 contains no literal separators.
9332 2002-04-03 Akim Demaille <akim@epita.fr>
9334 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
9335 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
9336 Use dnl, not the KILL diversion.
9338 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
9339 (AC_CONFIG_LINKS): here.
9341 Don't use the KILL diversion, as it kills spurious output, which
9342 results in failures being hidden.
9343 Use m4_defn where appropriate.
9344 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
9345 after the second argument.
9347 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
9348 syntax, as it is provided by M4sugar.
9349 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
9351 2002-04-03 Andreas Schwab <schwab@suse.de>
9353 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
9354 expanded if $# <= 2.
9356 * bin/autoreconf.in (autoreconf): Run automake after rerunning
9359 2002-04-03 Akim Demaille <akim@epita.fr>
9361 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
9362 (_AC_COMPILER_EXEEXT_REJECT): New.
9363 Also recognize *.bb and *.bbg as compilation byproducts.
9364 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
9365 (_AC_COMPILER_OBJEXT): Use them.
9366 Fixes Debian #138666.
9368 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
9370 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
9372 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
9373 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
9374 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
9375 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
9377 (AC_C_INLINE): Same.
9378 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
9379 * doc/autoconf.texi, NEWS: Document.
9380 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
9383 2002-04-02 Akim Demaille <akim@epita.fr>
9385 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
9386 _AS_MKDIR_P_PREPARE.
9388 2002-03-28 Kevin Ryde <user42@zip.com.au>
9390 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
9391 to avoid versions of HP C which don't allow that.
9393 2002-03-27 Paul Eggert <eggert@twinsun.com>
9395 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
9396 (AS_SHELL_SANITIZE): Invoke it.
9397 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
9399 2002-03-26 Akim Demaille <akim@epita.fr>
9401 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
9403 2002-03-26 Akim Demaille <akim@epita.fr>
9405 * doc/autoconf.texi (Introduction): The GNATS base moved.
9407 2002-03-25 Paul Eggert <eggert@twinsun.com>
9409 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
9410 as POSIX requires, as it doesn't work with Zsh.
9411 * doc/autoconf.texi (Assignments): Document the problem.
9413 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
9415 * doc/autoconf.texi (Limitations of Make): Mention more issue
9416 about VPATH, overriding of macros in sub-makes, and handling of
9419 2002-03-21 Paul Eggert <eggert@twinsun.com>
9421 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
9422 problem with here-document buffer boundaries.
9424 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
9425 when reinvoking the shell, to work around problems with installers
9426 who put strange things like "cd" commands in their environments.
9428 2002-03-19 Akim Demaille <akim@epita.fr>
9430 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
9433 2002-03-19 Akim Demaille <akim@epita.fr>
9435 * bin/autoscan.in (scan_file): Specify the location in `&used'
9439 2002-03-19 Akim Demaille <akim@epita.fr>
9441 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
9442 From Nishio Futoshi.
9444 2002-03-19 Akim Demaille <akim@epita.fr>
9446 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
9448 2002-03-18 Paul Eggert <eggert@twinsun.com>
9450 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
9451 (Limitations of Usual Tools): Add mkdir section.
9453 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
9454 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
9455 back on AS_DIRNAME to compute prefixes otherwise; this is
9456 roughly what mkinstalldirs does. That way, we need not have
9457 our own filename disassembler. The old disassembler did not
9458 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
9460 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
9461 Create at_test_all by a series of assignments,
9462 not by a single assignment of a long string. The latter causes ksh
9463 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
9464 presumably because of a buffer overrun.
9466 2002-03-14 Paul Eggert <eggert@twinsun.com>
9468 * lib/autotest/general.m4 (at_times_skip):
9469 Renamed from at_times. Now a boolean.
9470 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
9471 says 'times: not found'.
9473 2002-03-14 Akim Demaille <akim@epita.fr>
9475 * bin/autoreconf.in (&study_gettextize): New.
9476 (&autoreconf): Handle newest gettextize.
9477 Rerun aclocal if needed.
9478 Suggested by Andreas Schwab.
9480 2002-03-13 Akim Demaille <akim@epita.fr>
9482 * doc/autoconf.texi (Special Shell Variables): More about IFS.
9484 2002-03-13 Akim Demaille <akim@epita.fr>
9486 * doc/autoconf.texi (Header Portability): New.
9487 Add information about stdint.h and inttypes.h from Paul Eggert.
9489 2002-03-13 Akim Demaille <akim@epita.fr>
9491 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
9495 2002-03-12 Akim Demaille <akim@epita.fr>
9497 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
9500 2002-03-11 Andreas Schwab <schwab@suse.de>
9502 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
9503 does not do it if --with-lispdir is given.
9505 2002-03-08 Akim Demaille <akim@epita.fr>
9509 2002-03-08 Akim Demaille <akim@epita.fr>
9511 * doc/autoconf.texi (Subdirectories): Clarify that the
9512 subdirectory should exist.
9514 2002-03-08 Akim Demaille <akim@epita.fr>
9516 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
9518 2002-03-08 Akim Demaille <akim@epita.fr>
9520 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
9521 aliases the actual variables, and modifications of the former
9524 2002-03-08 Akim Demaille <akim@epita.fr>
9526 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
9527 because of C-c: have m4 output in tmp files, then mv them.
9529 2002-03-08 Akim Demaille <akim@epita.fr>
9531 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
9532 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
9533 * bin/ifnames.in: Copyright update.
9535 2002-03-08 Akim Demaille <akim@epita.fr>
9537 * doc/autoconf.texi (Invoking autom4te): New.
9539 2002-03-05 Akim Demaille <akim@epita.fr>
9541 * doc/autoconf.texi (Specifying Names): Clarification suggested by
9544 2002-03-05 Akim Demaille <akim@epita.fr>
9548 2002-03-04 Akim Demaille <akim@epita.fr>
9550 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
9551 * lib/autoconf/general.m4 (AC_INIT): More informative error
9554 2002-03-04 Akim Demaille <akim@epita.fr>
9556 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
9559 2002-03-04 Akim Demaille <akim@epita.fr>
9561 * doc/autoconf.texi (Transforming Names): Equality between target
9562 and host is irrelevant.
9563 (Specifying Names, Canonicalizing): Remove all references to the
9564 backward compatibility hooks. Rather, collect them all into...
9565 (Hosts and Cross-Compilation): this new section.
9566 * doc/install.texi (System Type): Ditto.
9567 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
9568 that `--host' implies cross-compilation.
9570 2002-03-04 Akim Demaille <akim@epita.fr>
9572 * doc/autoconf.texi (Evaluation Macros): New.
9573 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
9575 (_m4_foreach): Define the variant with immediate evaluation so
9576 that it contains exactly the items, not an expression which
9577 evaluation is the current item.
9578 (m4_re_string, m4_re_word): Don't over quote them.
9580 2002-03-04 Akim Demaille <akim@epita.fr>
9582 Instead of having stacking `shift's evaluated at the end, let
9583 `foreach' loops immediately evaluate them.
9585 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
9586 $*. This is the n-th time I change my mind, but hopefully this is
9589 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
9591 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
9592 it was only a hack for m4_text_wrap.
9593 (m4_car2): Remove, replaced by...
9595 (_m4_foreach): Adjust.
9596 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
9597 m4_bpatsubst for clarification.
9599 2002-03-04 Akim Demaille <akim@epita.fr>
9601 * doc/autoconf.texi (Changequote is Evil): New.
9603 2002-03-03 Kevin Ryde <user42@zip.com.au>
9605 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
9606 on old systems like SunOS.
9608 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
9610 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9611 lib/autoconf/functions.m4, lib/autoconf/general.m4,
9612 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
9613 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
9616 2002-02-28 Akim Demaille <akim@epita.fr>
9618 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
9621 2002-02-28 Kevin Ryde <user42@zip.com.au>
9623 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
9625 2002-02-25 Akim Demaille <akim@epita.fr>
9627 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
9630 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
9632 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
9633 translate \r\n to \n.
9635 2002-02-07 Akim Demaille <akim@epita.fr>
9639 2002-02-07 Akim Demaille <akim@epita.fr>
9641 Fix Autoconf PR/209.
9642 Also reported by Frank Denis.
9644 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
9646 2002-02-07 Akim Demaille <akim@epita.fr>
9648 Fix Autoconf PR/207:
9649 AC_PREFIX_PROGRAM fails with dashed program names
9651 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
9652 variable when looking for the prefix program.
9653 Now it also works for shell variables.
9655 2002-02-07 Akim Demaille <akim@epita.fr>
9657 * doc/autoconf.texi (Limitations of Builtins): More about
9660 2002-02-06 Akim Demaille <akim@epita.fr>
9662 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
9663 case/esac, some shells don't support it.
9664 Reported by Zack Weinberg.
9665 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
9667 2002-02-06 Akim Demaille <akim@epita.fr>
9669 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
9670 sure not to introduce newlines in at_groups.
9671 * lib/autotest/Makefile.am (autotest.m4f): Typo.
9673 2002-02-06 Akim Demaille <akim@epita.fr>
9675 * tests/torture.at (Configuring subdirectories): Skip if aclocal
9678 2002-02-05 Paul Eggert <eggert@twinsun.com>
9680 * doc/autoconf.texi (Specific Compiler Characteristics):
9681 Describe HP-UX cc bug workaround more accurately.
9682 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
9684 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
9685 cross-compilers, too. This undoes some of the most recent change
9688 2002-02-05 Akim Demaille <akim@epita.fr>
9690 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
9691 to make sure they are up to date when `check' is run.
9693 2002-02-05 Akim Demaille <akim@epita.fr>
9695 * doc/autoconf.texi (Making testsuite Scripts): Document
9698 2002-02-05 Akim Demaille <akim@epita.fr>
9700 * lib/freeze.mk: New.
9702 2002-02-05 Akim Demaille <akim@epita.fr>
9704 Implement `autom4te --freeze'.
9706 * bin/autom4te.in (&freeze): New.
9707 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
9708 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
9710 2002-02-05 Akim Demaille <akim@epita.fr>
9712 * bin/autom4te.in (&parse_args): Implement `frozen files are
9713 optional are the sum of the previous files on the command line'.
9714 Also, pass `--reload-state=' on them, so...
9716 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
9717 (M4sh): Rely on M4sugar.
9718 (Autotest, M4sh, M4sugar): Use frozen files.
9720 2002-01-31 Akim Demaille <akim@epita.fr>
9722 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
9723 * doc/autoconf.texi (Initializing configure): Adjust.
9725 2002-01-30 Akim Demaille <akim@epita.fr>
9727 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
9728 alphanumeric to `-' instead of `_'.
9730 2002-01-30 Akim Demaille <akim@epita.fr>
9732 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
9733 for plain code, the other for cross-compilation code. The latter
9734 is now run with GCC only.
9735 * doc/autoconf.texi (Compilers and Preprocessors): New.
9737 2002-01-30 Akim Demaille <akim@epita.fr>
9739 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
9741 * doc/autoconf.texi (Initializing configure): Explain how to
9742 change AC_INIT default values.
9744 2002-01-29 Akim Demaille <akim@epita.fr>
9746 * tests/torture.at (Configuring subdirectories): Use configure.in,
9747 so that aclocal 1.4 works.
9748 Reported by Alexandre Duret-Lutz and Larry Schmitt.
9750 2002-01-28 Akim Demaille <akim@epita.fr>
9752 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
9755 2002-01-28 Akim Demaille <akim@epita.fr>
9757 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
9758 AUTOTEST_PATH *after* it was set.
9759 Don't put `.' in the PATH: the user should be precise and `./' if
9760 needed. In addition, given that the test suite does some `cd', if
9761 `.' is in the path, the `tested programs' sections will report
9762 programs found in the test suite's directory, while during the
9763 tests (performed in their own directory), these programs are no
9764 longer visible. In other words, the results is confusing and
9766 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
9768 2002-01-24 Akim Demaille <akim@epita.fr>
9772 2002-01-24 Akim Demaille <akim@epita.fr>
9774 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
9775 * doc/autoconf.texi: Finally add Akim as an author.
9777 2002-01-24 Akim Demaille <akim@epita.fr>
9779 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
9780 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
9781 Bourne. Use /bin/sh.
9782 From Andreas Buening.
9784 2002-01-24 Akim Demaille <akim@epita.fr>
9786 * config/config.guess, config/config.sub, config/texinfo.tex:
9787 Update from masters.
9789 2002-01-24 Akim Demaille <akim@epita.fr>
9791 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
9792 * config/auxdir.m4, config/cond.m4, config/depend.m4,
9793 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
9794 * config/missing.m4, config/sanity.m4, config/select.m4,
9795 * config/strip.m4: Remove, to ease sync'ing with any version of
9798 2002-01-24 Akim Demaille <akim@epita.fr>
9800 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
9801 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
9802 Reported by Geir Ove Myhr.
9804 2002-01-21 Akim Demaille <akim@epita.fr>
9806 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
9808 2002-01-21 Akim Demaille <akim@epita.fr>
9810 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
9811 message on invalid options.
9812 * bin/autom4te.in (parse_args): Don't use
9813 Autoconf::General::getopt with non valid options.
9815 2002-01-17 Jim Meyering <meyering@lucent.com>
9817 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
9818 $ac_cv_exeext so we don't use an old, invalid, cached value.
9820 2002-01-11 Akim Demaille <akim@epita.fr>
9822 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
9824 * doc/autoconf.texi (Function Portability): Document the strnlen
9826 (Particular Functions): Document AC_FUNC_STRNLEN.
9827 * lib/autoscan/functions: Adjust.
9829 2002-01-06 Akim Demaille <akim@epita.fr>
9831 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
9832 package.m4, since is really depends upon configure.ac, not
9834 * doc/autoconf.texi (testsuite Scripts): Adjust.
9835 * tests/Makefile.am (package.m4): New.
9836 EXTRA_DIST it since its a source.
9838 2002-01-06 Akim Demaille <akim@epita.fr>
9840 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
9841 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
9842 and PACKAGE_BUGREPORT from here...
9843 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
9845 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
9846 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
9847 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
9848 * tests/tools.at (autoheader): Adjust.
9849 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
9851 2002-01-06 Akim Demaille <akim@epita.fr>
9853 * bin/autoscan.in (scan_file): Use `&used'.
9855 2002-01-03 Akim Demaille <akim@epita.fr>
9857 * doc/autoconf.texi (Output): Improved wording regarding use of
9861 2001-12-18 Kevin Ryde <user42@zip.com.au>
9863 * doc/autoconf.texi (Function Portability): Add notes on sscanf
9864 sometimes needing writable input.
9866 2001-12-17 Jim Meyering <meyering@lucent.com>
9868 * doc/autoconf.texi (New Macros): Tweak wording.
9870 2001-12-14 Akim Demaille <akim@epita.fr>
9872 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
9873 trailing files, don't apply `-rf' to files which might not be
9874 created by configure (core, core.*, and *.core), but just `rm -f'.
9875 Suggested by Jonathan Kamens.
9877 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
9879 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
9881 2001-12-14 Akim Demaille <akim@epita.fr>
9883 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
9885 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
9887 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
9888 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
9889 abs_srcdir, top_srcpath to abs_top_srcdir.
9890 (_AC_OUTPUT_FILES): Adjust.
9891 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
9892 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
9893 * tests/wrappl.in, tests/wrapsh.in: Adjust.
9895 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
9897 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
9898 C/Fortran linking on HP/UX, by extracting the Fortran library
9899 search path from the LPATH line in the $F77 -v output.
9901 2001-12-12 Kevin Ryde <user42@zip.com.au>
9903 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
9904 forbidden file descriptors table.
9906 2001-11-26 Akim Demaille <akim@epita.fr>
9908 * bin/autoscan.in (%c_keywords): Build it at top level.
9909 Map to 1 in order to simplify its uses.
9911 2001-11-26 Akim Demaille <akim@epita.fr>
9913 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
9914 Remove $filepath, useless.
9915 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
9916 variables, they are really part of the tokens.
9917 Split the input line on spaces and then look for tokens.
9918 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
9919 because of `lex$U.$(OBJEXT)'.
9920 (&scan_files): Use "@list" instead of join.
9921 * doc/Makefile.am (CLEANFILES): Add *.fns.
9923 2001-11-26 Akim Demaille <akim@epita.fr>
9925 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
9926 Remove, replaced by...
9927 * tests/wrappl.in: Be common for all the Perl executables.
9928 In particular autoscan and autoheader want -I.
9929 * configure.ac: Adjust.
9930 * lib/autoscan/headers: errno.h is portable.
9932 2001-11-26 Akim Demaille <akim@epita.fr>
9934 * bin/autoscan.in (used): New.
9937 2001-11-26 Akim Demaille <akim@epita.fr>
9939 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
9941 (&scan_sh_file): Remove a duplicate pattern.
9942 (&check_configure_ac): Use long options.
9943 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
9945 2001-11-26 Akim Demaille <akim@epita.fr>
9947 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
9948 Before, having a line containing the opening of a multi line
9949 comment made the whole line be ignored.
9951 2001-11-26 Akim Demaille <akim@epita.fr>
9953 * doc/autoconf.texi (Using an Autotest Test Suite): New.
9954 (testsuite Scripts): Be one of its subsection.
9955 (Autotest Logs): New.
9957 2001-11-26 Akim Demaille <akim@epita.fr>
9959 Test groups are now run two directories deeper.
9961 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
9962 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
9964 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
9965 top_srcdir, builddir and top_builddir.
9966 Use `at_*dir' relatively to the directory containing the
9967 suite, use `*dir' when relatively to the current group dir.
9969 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
9971 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
9972 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
9973 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
9976 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
9978 * doc/autoconf.texi (Using System Type): Add an example of `case
9979 $host' usage so people quit using `case $target' everywhere.
9981 2001-11-22 Akim Demaille <akim@epita.fr>
9983 * doc/autoconf.texi (Installation Directory Variables): Englishoes
9984 spotted by Jim Meyering.
9986 2001-11-16 Paul Eggert <eggert@twinsun.com>
9988 This patch implements a `long double' suggestion by Oliver Kiddle.
9990 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
9991 static, to catch errors if the value isn't known at compile-time
9992 and the compiler supports dynamic arrays. Change its name from
9993 `_array_' to `test_array' to avoid potential name clashes.
9994 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
9995 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
9996 better than double. Catch a bug in GCC 2.95.2 x86.
9997 * doc/autoconf.texi (C Compiler): Document the above.
10000 2001-11-13 Akim Demaille <akim@epita.fr>
10002 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
10004 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
10006 2001-11-13 Akim Demaille <akim@epita.fr>
10008 * lib/autotest/general.m4 (AT_INIT): After having run the test
10009 group, go back to the initial directory, not to at_suite_dir.
10011 2001-11-13 Akim Demaille <akim@epita.fr>
10013 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
10014 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
10015 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
10017 (AT_CHECK_CONFIGURE): Use absolute paths.
10018 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
10019 The problem is still the old one: there is no means in M4 (that I
10020 know about) to create a defining macro, because there is no means
10021 to create `$1' etc., therefore, the defining macro ``swallows''
10022 all the arguments meant to the defined macro.
10024 2001-11-13 Akim Demaille <akim@epita.fr>
10026 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
10027 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
10029 * tests/aclocal.m4: Remove, as it is no longer used.
10031 2001-11-13 Akim Demaille <akim@epita.fr>
10033 * lib/autotest/general.m4: Change `tests?' into `groups?' in
10034 variable names when referring to a single test group, or to
10035 `suite' when referring to the whole test suite.
10036 `at_last_test' is removed: m4 compute at_format itself.
10037 (at_stdout, at_stder1, at_stderr): New variables.
10038 (AT_CHECK): Use them.
10040 2001-11-13 Akim Demaille <akim@epita.fr>
10042 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
10044 Create `testsuite.dir/003/run' instead of `testsuite.003'.
10045 Do it as soon as a test fails, don't wait till the end of the test
10047 Don't remove $as_me.[0-9]*, since these files no longer exist.
10049 2001-11-13 Akim Demaille <akim@epita.fr>
10051 * tests/tools.at: Use absolute paths, since we are no longer run
10054 2001-11-13 Akim Demaille <akim@epita.fr>
10056 Now that tests are running in their own private dir, there is no
10057 need to list the files to remove at the end of tests groups.
10059 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
10060 (AT_data_files, at_data_files): Remove.
10061 (AT_CLEANUP, AT_DATA): Simplify.
10063 Remove the group dir if !debug && !failed.
10064 * tests/atspecific.m4: Adjust.
10066 2001-11-13 Akim Demaille <akim@epita.fr>
10068 Start a new layout for Autotest: `testsuite' creates
10069 `testsuite.dir' in which the at-check-line etc. files are to be
10070 found, and `testsuite.dir/003' where the test group 3 is run.
10072 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
10073 at_check_line_file, at_format, at_test_normalized, at_group_dir
10075 Create the directories.
10076 Use absolute paths for at- files.
10077 (AT_CHECK): Adjust.
10079 2001-11-11 Michael Matz <matz@kde.org>
10081 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
10083 (m4_car): Properly quote arguments.
10085 2001-11-13 Akim Demaille <akim@epita.fr>
10087 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
10088 with stricter rules on LIBOBJS.
10090 2001-11-12 Paul Eggert <eggert@twinsun.com>
10092 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
10093 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
10096 2001-11-12 Akim Demaille <akim@epita.fr>
10098 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
10100 2001-11-12 Akim Demaille <akim@epita.fr>
10102 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10103 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
10104 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10105 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
10106 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
10107 specify to what the macro should be defined (typically to 1).
10109 2001-11-12 Akim Demaille <akim@epita.fr>
10111 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
10114 2001-11-12 Akim Demaille <akim@epita.fr>
10116 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10117 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
10118 definition used by Automake where LEX is +/- "${missing} lex" and
10119 `missing' itself contains variables.
10121 2001-11-12 Akim Demaille <akim@epita.fr>
10123 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
10124 Now that M4sh pushes BODY, the comments were output at the end of
10127 2001-11-08 Akim Demaille <akim@epita.fr>
10129 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
10130 that we can trace macros from aclocal.m4.
10131 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
10132 obsoleted, and redirect to the former anyway.
10133 Reported by Ralf Corsepius.
10135 2001-11-08 Akim Demaille <akim@epita.fr>
10137 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
10138 processed only if present.
10139 * tests/torture.at (Configuring subdirectories): Use autoreconf
10140 instead of successive calls to autoconf.
10141 Add a nonexistent subdirectory to exercise the patch above.
10142 Reported by Ralf Corsepius.
10144 2001-11-08 Kevin Ryde <user42@zip.com.au>
10146 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
10147 doesn't accept .S files.
10149 2001-11-07 Akim Demaille <akim@epita.fr>
10151 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
10152 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
10153 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
10154 * bin/autom4te.in (warn_forbidden): New.
10155 (handle_output): Use it.
10156 Read m4_pattern_forbid with messages.
10158 2001-11-05 Akim Demaille <akim@epita.fr>
10160 * bin/autom4te.in (--normalize): Remove.
10161 * lib/autom4te.in: Adjust.
10163 2001-11-05 Akim Demaille <akim@epita.fr>
10165 * tests/Makefile.am (testsuite): Rename this target as...
10166 ($(TESTSUITE)): this.
10169 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
10171 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
10172 the --prefix option, also remove it's argument.
10174 2001-11-05 Akim Demaille <akim@epita.fr>
10176 * doc/autoconf.texi (testsuite Invocation): Update.
10177 (Writing testsuite.at): Update.
10179 2001-11-03 Akim Demaille <akim@epita.fr>
10181 * doc/autoconf.texi: s/@code/@command/ where appropriate.
10183 2001-11-03 Akim Demaille <akim@epita.fr>
10185 * lib/Autom4te/General.pm: (&catfile, &canonfile)
10186 (&file_name_is_absolute): New, wrappers around routines from
10188 Use and export them.
10189 (&find_configure_ac): Optionally take a directory where to look at.
10190 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
10192 Default @ARGV to `.', not find_configure_ac.
10193 (&autoreconf): Argument is a directory.
10194 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
10195 * doc/autoconf.texi (autoreconf Invocation): Update.
10197 2001-11-03 Akim Demaille <akim@epita.fr>
10199 * lib/Autom4te/General.pm (@export_vars, @export_subs)
10200 (@export_forward_subs): New.
10201 Add basename, dirname, and fileparse.
10203 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
10204 Don't look for aclocal flags if we already know aclocal is not
10206 Move aclocal.m4t only if it exists.
10207 Reported by Ezra Peisach.
10209 2001-11-03 Akim Demaille <akim@epita.fr>
10211 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
10212 passed on command line, defaulting to ./configure.ac if present.
10213 (&maybe_autoreconf, File::Find): Remove, unused.
10214 (&autoreconf): If autoconf is not used, don't try to trace.
10216 2001-11-02 Akim Demaille <akim@epita.fr>
10218 * configure.ac: Bump to 2.52g.
10220 2001-11-02 Akim Demaille <akim@epita.fr>
10224 2001-11-02 Akim Demaille <akim@epita.fr>
10226 * config/config.guess, config/config.sub, doc/standards.texi:
10227 * config/lispdir.m4: Update from masters.
10228 * configure.ac: Bump to 2.52f.
10230 2001-11-02 Akim Demaille <akim@epita.fr>
10232 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
10233 Don't run aclocal when aclocal.m4 is not from aclocal.
10235 Don't run libtoolize and gettextize if --install is not given.
10237 2001-11-01 Paul Eggert <eggert@twinsun.com>
10239 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
10240 be invoked before _AS_LINENO_PREPARE.
10241 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
10242 than character ranges.
10244 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
10245 invoking AS_BASENAME. Set the locale variables to 'C' if
10246 possible, as POSIX requires this to get the traditional
10248 * doc/autoconf.texi (Special Shell Variables): Describe the above.
10250 2001-10-31 Paul Eggert <eggert@twinsun.com>
10252 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
10253 with {}, as that triggers a bug in Bash 2.05.
10255 (_AS_LINENO_PREPARE): Use Sed rather than
10256 Awk. Fix the sed prepass to work even if there are multiple
10257 instances of $LINENO on the same line. Do not substitute for
10258 other variables like $LINENOT. Do not check file dates; such a
10259 check is unreliable on sufficiently fast machines, and removing
10260 the check makes the code simpler and more reliable. Check for
10261 output and chmod failures.
10263 * doc/autoconf.texi (Special Shell Variables): Document
10266 2001-10-31 Akim Demaille <akim@epita.fr>
10268 * tests/Makefile.am (atconfig): Remove this target, Automake
10271 2001-10-31 Akim Demaille <akim@epita.fr>
10273 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
10274 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
10275 provided, while it is optional.
10276 * configure.ac: Adjust.
10278 2001-10-26 Paul Eggert <eggert@twinsun.com>
10280 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
10281 lib/Autom4te/Struct.pm:
10282 Require Perl 5.005_03 instead of just 5.005, as some tests fail
10285 * doc/autoconf.texi (Special Shell Variables): Document some
10286 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
10288 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
10289 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
10290 eval $LINENO is not portable in practice.
10292 2001-10-24 Akim Demaille <akim@epita.fr>
10294 * lib/Autom4te/General.pm (backname): New.
10296 2001-10-24 Akim Demaille <akim@epita.fr>
10298 * m4/: Remove, merged into...
10301 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
10303 * doc/autoconf.texi (Shellology): Mention the problems with bash
10304 2.05's use of ANSI quoting in its `set' builtin.
10306 2001-10-22 Paul Eggert <eggert@twinsun.com>
10308 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
10309 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
10310 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
10311 POSIX decided to standardize on the int flavor of strerror_r.
10312 Always do char* test, as there's no reason not to.
10313 Assign to a char* var, to catch strerror_r that returns int*.
10315 * doc/autoconf.texi (Particular Functions):
10316 Document the above changes. Also, document the fact that
10317 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
10319 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
10321 2001-10-20 Akim Demaille <akim@epita.fr>
10323 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
10324 the executable was missing from the log.
10326 2001-10-20 Akim Demaille <akim@epita.fr>
10328 * lib/Autom4te/General.pm (&update_file): If destination is
10329 unchanged, remove the source.
10330 (&up_to_date_p): Don't be verbose, be debug.
10331 * bin/autoreconf.in: No longer support --m4dir.
10332 (&autoreconf): Display the full path of the configure.ac we are
10334 Trace it only once.
10335 Be sure to honor --force with gettextize.
10336 Always run aclocal.
10337 * doc/autoconf.texi: Adjust.
10339 2001-10-20 Akim Demaille <akim@epita.fr>
10341 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
10343 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
10344 `intl' is already present, as it refuses unless --force.
10345 (&parse_args): Use -I, --include instead of the old Autoconf
10347 ($localdir, $autoconf_dir): Remove.
10349 (&maybe_autoreconf): New, to preserve $_ for File::Find.
10351 2001-10-19 Jens Petersen <petersen@redhat.com>
10353 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
10354 * doc/autoconf.texi (Particular Programs): Likewise.
10356 2001-10-19 Akim Demaille <akim@epita.fr>
10358 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
10359 file in @configure_input@.
10360 Don't mention `automatically' in addition to `generated'.
10361 * tests/torture.at (#define header templates): Adjust.
10363 2001-10-19 Akim Demaille <akim@epita.fr>
10365 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
10366 comment, explain how to install automatic mode selection.
10369 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
10371 * bin/autoreconf.in (autoreconf): Display the path to the
10372 configure.ac being studied.
10374 2001-10-18 Paul Eggert <eggert@twinsun.com>
10376 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
10377 long, to work around a bug in the HP C compiler version HP92453-01
10380 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
10381 (AS_BASENAME_EXPR): New macro.
10382 (AS_BASENAME_SED): Do not assume GNU sed semantics.
10383 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
10384 and fall back on 'sed' only if the other two fail. This makes
10385 AS_BASENAME act more like AS_DIRNAME.
10386 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
10387 contains white space.
10388 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
10389 Use AS_DIRNAME, since I think it's now DOS-friendly.
10390 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
10391 Allow "dirname //FOO" to return either / or //, as POSIX allows
10394 2001-10-10 Akim Demaille <akim@epita.fr>
10396 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
10397 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
10400 2001-10-10 Akim Demaille <akim@epita.fr>
10402 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
10403 m4_define, since...
10404 (_AS_ECHO_N): AS_REQUIREs it.
10406 2001-10-10 Akim Demaille <akim@epita.fr>
10408 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
10409 (AC_INCLUDES_DEFAULT): Move to...
10410 * lib/autoconf/headers.m4: here.
10411 * lib/autoconf/types.m4: Comment changes.
10412 * doc/autoconf.texi: Specify where the default includes are used
10413 in the macro prototypes.
10415 2001-10-09 Akim Demaille <akim@epita.fr>
10417 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
10420 2001-10-08 Akim Demaille <akim@epita.fr>
10422 * bin/autoreconf.in (&autoreconf): Remove debugging code.
10423 (&parse_args): Pass verbosity/debugging options to subtools when
10424 --debug, not when --verbose.
10425 * lib/autom4te.in (Autoreconf-preselections): New.
10426 (Autoconf): Use it.
10428 2001-10-08 Akim Demaille <akim@epita.fr>
10430 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
10432 2001-10-08 Akim Demaille <akim@epita.fr>
10434 * doc/autoconf.texi (autoreconf Invocation): Adjust.
10435 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
10437 2001-10-08 Akim Demaille <akim@epita.fr>
10439 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
10440 (Syntax of the shell scripts): Don't.
10441 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
10442 bother with $force since...
10443 * lib/Autom4te/General.pm: does.
10445 2001-10-08 Akim Demaille <akim@epita.fr>
10447 * bin/autoreconf.in: Rewrite in Perl.
10448 * configure.ac: Adjust.
10449 * lib/Autom4te/General.pm (&up_to_date_p): New.
10450 * bin/autom4te.in (&up_to_date_p): Use it.
10452 (&up_to_date): this.
10454 2001-10-08 Akim Demaille <akim@epita.fr>
10456 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
10457 (m4_list_cmp): Use $0 to reinvoke yourself.
10458 (m4_patsubsts): New.
10459 (m4_strip, m4_version_unletter): Use it.
10460 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
10462 2001-10-08 Akim Demaille <akim@epita.fr>
10464 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
10465 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
10466 * lib/autoconf/types.m4, lib/autotest/general.m4,
10467 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
10468 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
10469 m4_bregexp, m4_bpatsubst, and m4_bmatch.
10470 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
10472 2001-10-08 Akim Demaille <akim@epita.fr>
10474 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
10476 2001-10-08 Akim Demaille <akim@epita.fr>
10478 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
10479 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
10480 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
10481 * tests/tools.at, tests/m4sh.at: Use it.
10482 * tests/m4sh.at: Don't rely on Autoconf macros.
10483 (DIRNAME_TEST): Also exercise the expr variant.
10484 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
10485 preferred M4sugar extension is now `.4s'.
10486 * tests/README: Remove.
10488 2001-10-08 Akim Demaille <akim@epita.fr>
10490 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
10491 (m4_provide_if): this.
10492 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
10493 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
10494 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
10495 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
10497 2001-10-08 Akim Demaille <akim@epita.fr>
10499 Use `add-log-current-defun-function' for ChangeLog creation.
10500 Suggested by Tom Tromey.
10502 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
10503 (autotest-mode): Adjust.
10504 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
10505 'comment-region onto `C-c ;'.
10506 Comments are `#', not `dnl'.
10507 (autoconf-current-defun): New.
10508 (autoconf-font-lock-keywords): Recognize `m4_defun'.
10510 2001-10-08 Akim Demaille <akim@epita.fr>
10512 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
10513 * lib/m4sugar/m4sh.m4: here.
10514 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
10515 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
10516 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
10517 include handle the m4_pattern_*, no longer push the
10518 BODY diversion nor set the /bin/sh line, AS_INIT does it.
10519 * lib/autotest/general.m4 (AT_INIT): Likewise.
10520 * tests/base.at: Adjust the tests to use AS_INIT.
10521 * tests/tools.at (AT_DATA_FORBIDDEN): New.
10522 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
10525 2001-10-07 Paul Eggert <eggert@twinsun.com>
10527 * doc/autoconf.texi (config.status Invocation):
10528 CONFIG_SHELL defaults to a shell that supports LINENO if available.
10530 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
10531 shell does not support LINENO, and if CONFIG_SHELL is unset or
10532 empty, and if we can find a shell that does support LINENO,
10533 then set CONFIG_SHELL to that shell and then re-execute
10534 ourselves with CONFIG_SHELL.
10536 2001-10-05 Paul Eggert <eggert@twinsun.com>
10538 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
10539 doesn't exist. Remove *.tmp, as a .tmp file is created during the
10540 build of $(TESTSUITE).
10542 2001-10-05 Akim Demaille <akim@epita.fr>
10544 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
10545 iff we are a bareword.
10546 Reported by Raja R Harinath.
10548 2001-10-05 Akim Demaille <akim@epita.fr>
10550 * tests/m4sh.at (LINENO): New.
10551 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
10552 PATH_SEPARATOR before using it.
10553 Fix the absolute path case/esac pattern.
10554 Provide $0 as fallback for as_myself.
10555 Reported by Raja R Harinath.
10557 2001-10-05 Akim Demaille <akim@epita.fr>
10559 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
10560 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
10562 2001-10-05 Akim Demaille <akim@epita.fr>
10564 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
10565 (AS_SHELL_SANITIZE): here. Use it.
10566 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
10569 2001-10-04 Akim Demaille <akim@epita.fr>
10571 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
10572 combination of Awk and sed to replace $LINENO.
10574 2001-10-02 Paul Eggert <eggert@twinsun.com>
10576 * doc/autoconf.texi (Limitations of Builtins): You can't use
10577 "source"; it's not portable. Remove confusing and
10578 somewhat-incorrect example involving "." and "/".
10580 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
10581 compatibility with POSIX shells.
10583 2001-10-02 Akim Demaille <akim@epita.fr>
10585 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
10586 instead of exec'ing to preserve $0 and $@.
10588 2001-10-01 Akim Demaille <akim@epita.fr>
10590 * tests/testsuite (AT_INIT) <at_pass_list>: New.
10591 Don't run twice the same test.
10593 2001-10-01 Akim Demaille <akim@epita.fr>
10595 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
10596 No longer output the list of tests.
10597 <--list>: New option.
10598 <--full-help>: Remove.
10599 Complete the short/long options duality.
10600 Various small adjustments.
10602 2001-10-01 Akim Demaille <akim@epita.fr>
10604 * doc/autoconf.texi: Use @kbd for user input.
10605 Always use `$' as shell prompt.
10607 2001-09-30 Paul Eggert <eggert@twinsun.com>
10609 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
10610 Don't use nested parenthesization. This patch was originally
10611 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
10612 but somehow it didn't get incorporated then.
10613 * doc/autoconf.texi (Limitations of Usual Tools):
10614 Clarify remark about sed and nested parenthesization.
10616 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
10617 Report an error if the size cannot be determined even though
10619 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10620 Check for `expr' arithmetic overflow, and for compilation failure,
10621 and invoke a new argument $4 if either is discovered.
10622 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
10623 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
10625 2001-09-28 Akim Demaille <akim@epita.fr>
10627 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
10628 * m4/lispdir.m4: New.
10629 * aclocal.m4, configure.ac: Adjust.
10631 2001-09-28 Akim Demaille <akim@epita.fr>
10633 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
10635 (AT_INIT): More the wrapped section to where it will be expanded.
10636 Output `AT_tested' only when existing.
10637 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
10639 2001-09-27 Akim Demaille <akim@epita.fr>
10641 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
10642 generates too many bug reports.
10644 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
10645 status when executing the ACTION-IF-FALSE.
10646 * tests/base.at (AC_TRY_*): Rename as...
10647 (AC_TRY_COMMAND): this.
10648 (AC_RUN_IFELSE): New.
10649 * tests/compile.at (Extensions, C keywords)
10650 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
10651 (Broken/missing compilers, AC_PROG_CPP with warnings)
10652 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
10653 * tests/c.at (Extensions, C keywords)
10654 (Broken/missing compilers, AC_PROG_CPP with warnings)
10655 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
10656 (AC_PROG_CPP requires AC_PROG_CC): here and...
10657 * tests/fortran.at (GNU Fortran 77): there.
10658 * doc/autoconf.texi (autoconf Invocation): Fix the example:
10659 AC_TRY_RUN is about compilation, not shell commands.
10660 (Test Programs): AC_TRY_RUN works as used to be advertised.
10662 2001-09-27 Akim Demaille <akim@epita.fr>
10664 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
10666 Be sure to detect when $LINENO always returns the same value.
10667 Look for the original script, basename($0) is certainly not
10669 Pass the CLI arguments to `$as_me.lineno'.
10671 2001-09-25 Akim Demaille <akim@epita.fr>
10673 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
10674 Be sure the close and reopen the LOG fd before and after using tee
10676 <at_tests_pattern>: Adjust to the new format of at_help_all.
10678 2001-09-23 Akim Demaille <akim@epita.fr>
10680 * bin/autom4te.in (parse_args): There can be several invocations
10683 2001-09-23 Akim Demaille <akim@epita.fr>
10685 * doc/autoconf.texi (Top): Wrap in @ifnottex.
10687 2001-09-23 Akim Demaille <akim@epita.fr>
10689 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
10690 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
10691 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
10692 builddir, buildpath, top_builddir, and top_buildpath.
10693 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
10694 the current directory.
10695 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
10696 variables *before* changing the current directory.
10697 Skip nonexistent dirs.
10698 * doc/autoconf.texi (Preset Output Variables): Document these
10701 * lib/autotest/general.m4: Do not reset AT_victims.
10702 Don't compute at_srcdir nor at_top_srcdir.
10704 * tests/tools.at: Hence use top_srcdir.
10706 * tests/Makefile.am, tests/autoconf, tests/autoheader,
10707 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
10709 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
10710 * tests/wrapsh.in, tests/autoupdate.in: New.
10711 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
10712 * configure.ac: Build the position independent wrappers.
10714 * man/Makefile.am: Now that test wrappers are position
10715 independent, use them and drop dark envvar magic.
10717 2001-09-23 Akim Demaille <akim@epita.fr>
10719 * doc/autoconf.texi (Common Shell Constructs): Rename as...
10720 (Programming in M4sh): this.
10721 Promote to @section.
10723 2001-09-23 Akim Demaille <akim@epita.fr>
10725 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
10726 Pass $at_debug_args to the rerun test suite.
10727 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
10728 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
10731 2001-09-23 Akim Demaille <akim@epita.fr>
10733 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
10735 2001-09-23 Akim Demaille <akim@epita.fr>
10737 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
10740 2001-09-23 Akim Demaille <akim@epita.fr>
10742 * lib/Autom4te/General.pm (&debug): New.
10743 * bin/autom4te.in ($language): Move to...
10744 (parse_args): here.
10745 Handle --language in languages.
10746 * lib/autom4te.in (Automake-selections, Autoheader-selections)
10747 (Autoscan-selections): New.
10748 (Autoconf): Adjust.
10750 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
10752 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
10753 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
10754 to match current versions from CVS Automake.
10756 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
10758 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
10761 2001-09-22 Akim Demaille <akim@epita.fr>
10763 * lib/autoconf/autotest.m4: Create `package.m4'.
10764 * tests/Makefile.am (package.m4): Remove.
10766 2001-09-22 Akim Demaille <akim@epita.fr>
10768 Rely on `$LINENO' when possible instead of `__oline__'.
10770 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
10771 `$LINENO' support replacement when not supported.
10772 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
10773 them explicitly to be sure they are not output before this section
10774 (via m4_require). Cosmetic only.
10775 * lib/autoconf/c.m4, lib/autoconf/general.m4,
10776 * lib/autoconf/programs.m4: Replace all the occurrences of
10777 `__oline__' with `$LINENO'.
10778 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
10780 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
10782 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
10783 character (u: -> ue) in a code comment.
10784 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
10787 2001-09-21 Akim Demaille <akim@epita.fr>
10789 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
10790 Suggested by Jim Meyering.
10792 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10794 * lib/autoconf/programs.m4: Use extensions listed in
10795 $ac_executable_extensions when looking for programs.
10797 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10799 * lib/autoconf/general.m4: Fix a small Englisho.
10800 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
10801 setting up ac_dir_suffix and ac_top_builddir.
10802 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
10804 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10806 * doc/autoconf.texi (File System Conventions): Clarify the use of
10808 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
10809 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
10810 be used instead of ':'.
10811 * lib/autotest/general.m4: Replace occurrences of ':' in
10812 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
10814 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10816 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
10817 arguments. Fixed a typo.
10819 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10821 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
10822 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
10824 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10826 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
10827 * bin/autoupdate.in: Ditto.
10828 * bin/autoheader.in: Reworded a few comments.
10829 * bin/autoconf.in: Reworded help text for a few options.
10830 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10831 * bin/autoscan.in, bin/autoupdate.in: Ditto.
10833 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10835 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
10836 already have $file). Set output files to binary mode (helps avoid
10837 CR issues on DOSish systems).
10839 2001-09-19 Akim Demaille <akim@epita.fr>
10841 * lib/autotest/general.m4: Englishoes.
10842 From Tim Van Holder and Alexey Mahotkin.
10844 2001-09-18 Paul Eggert <eggert@twinsun.com>
10846 * doc/autoconf.texi (Common Shell Constructs): New node,
10847 documenting AS_DIRNAME.
10848 (Limitations of Usual Tools): Refer to it when discussing dirname.
10849 Also, update discussion of POSIX standard to reflect latest draft.
10851 * lib/autoconf/c.m4:
10852 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
10854 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10855 Do not pass a first argument with leading '-'
10856 to expr, by parenthesizing initial integers that might be negative.
10858 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
10859 now merely checks whether it is an error to pass an argument
10862 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
10863 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
10864 whether it is a (compile-time) error to pass an argument to
10865 getpgrp. This simpler test supports the revised documentation,
10866 and is all that AC_FUNC_GETPGRP's users really need.
10868 2001-09-18 Akim Demaille <akim@epita.fr>
10870 * doc/autoconf.texi (Limitations of Make) <$<>: New.
10872 2001-09-18 Akim Demaille <akim@epita.fr>
10874 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
10876 * lib/autotest/general.m4 (AT_INIT): Adjust.
10878 2001-09-18 Paul Wagland <paul@wagland.net>
10880 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
10882 Add test for AS_BASENAME.
10883 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
10884 added test. It now correctly handles /1/2/3/, returning '3' not ''.
10885 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
10886 * tests/base.at: Fixed the expected responses. The old ones were
10888 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
10889 the documentation claims it should (and how it behaved in 2.13).
10891 2001-09-18 Akim Demaille <akim@epita.fr>
10893 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
10894 the AC_CONFIG_COMMANDS invocation.
10895 This also solves the name clash problems.
10896 Don't set the package's ID.
10897 * lib/m4sugar/Makefile.am (version.m4): Revamp.
10898 No longer to be shipped.
10899 (version.in): Remove.
10900 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
10901 * lib/autoconf/status.m4: Adjust.
10902 Use `m4_PACKAGE_STRING'.
10903 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
10904 the only optional argument is the name of the test suite.
10905 Expect `package.m4' to define the package signature.
10906 * lib/autom4te.in (Autotest): Add `package.m4?'.
10907 * tests/Makefile.am (package.m4): New.
10908 * tests/suite.at: ifnames is a victim.
10910 2001-09-18 Akim Demaille <akim@epita.fr>
10912 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
10913 AC_LIBSOURCE, AC_CONFIG_FILES.
10914 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
10915 program version string doesn't match the package's.
10916 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
10919 2001-09-17 Paul Eggert <eggert@twinsun.com>
10921 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10922 Allow expression to return any value that can fit into unsigned long
10923 (not int, as before). Check for output errors.
10925 2001-09-17 Bruno Haible <haible@ilog.fr>
10927 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10928 Always include <stdio.h> and <stdlib.h>. Evaluate
10929 the expression in an extra function before these includes. Call
10930 fprintf "%d" only after ensuring the argument is of type 'int'.
10931 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
10933 2001-09-17 Paul Eggert <eggert@twinsun.com>
10935 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
10936 or CFLAGS=-O5. In that case, the linker has a relaxed view of
10937 fatal errors, and AC_CHECK_LIB causes it to include libraries even
10938 when they don't exist.
10940 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
10941 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
10944 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
10945 version with the version used by fileutils 4.1, except use
10946 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
10949 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
10951 2001-09-13 Akim Demaille <akim@epita.fr>
10953 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
10955 Reported by Gerrit P. Haase.
10957 2001-09-13 Akim Demaille <akim@epita.fr>
10959 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
10960 m4_defn'ing is valid.
10962 2001-09-13 Akim Demaille <akim@epita.fr>
10964 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
10965 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
10968 2001-09-13 Akim Demaille <akim@epita.fr>
10970 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
10972 (m4_re_escape): New.
10973 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
10974 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
10975 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
10977 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
10978 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
10979 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
10980 AT_tests_all for consistency.
10982 (AT_VICTIMS): Similar to AT_KEYWORDS.
10983 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
10985 2001-09-13 Akim Demaille <akim@epita.fr>
10987 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
10989 2001-09-13 Akim Demaille <akim@epita.fr>
10991 * lib/autotest/general.m4 (AT_INIT): Create and remove
10992 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
10993 test suites can cohabit.
10995 2001-09-13 Akim Demaille <akim@epita.fr>
10997 * tests/mktests.sh: Don't output banners for empty test files.
10999 2001-09-13 Akim Demaille <akim@epita.fr>
11001 Test suites can be run independently of configure.
11003 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
11004 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
11005 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
11007 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
11009 * lib/autotest/general.m4: Use ECHO_*.
11011 2001-09-13 Akim Demaille <akim@epita.fr>
11013 * bin/ifnames.in: Rewrite in Perl.
11014 * configure.ac: Don't look for AWK.
11015 * tests/tools.at (AWK portability): Remove.
11016 (Syntax of the shell scripts): Don't check ifnames.
11017 (AT_CHECK_PERL_SYNTAX): New.
11018 (Syntax of the Perl scripts): Check ifnames.
11019 * tests/ifnames: New.
11021 2001-09-13 Akim Demaille <akim@epita.fr>
11023 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
11025 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
11026 Remove all the other keywords.
11028 2001-09-10 Akim Demaille <akim@epita.fr>
11030 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
11031 SETUP: no longer used.
11032 Support -k, --keywords.
11033 <at_help>: Be `no', `short', or `long'.
11034 <at_help_all>: New variable.
11035 (AT_KEYWORDS): New.
11036 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
11037 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
11038 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
11039 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
11040 No longer fill the HELP diversion.
11041 (AT_CLEANUP): Use them.
11042 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
11043 (m4_list_append): Remove.
11045 Spread a few keywords in the Autoconf test suite.
11047 2001-09-10 Akim Demaille <akim@epita.fr>
11049 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
11050 PATH_SEPARATOR, let M4sh compute it.
11051 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
11052 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
11054 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
11055 Simplify when the path is not a literal.
11056 (AS_UNAME): Use it to report PATH.
11057 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
11058 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
11059 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
11060 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
11061 normalize the path, and to look for victims.
11062 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
11063 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
11065 2001-09-07 Akim Demaille <akim@epita.fr>
11067 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
11068 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
11069 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
11070 related variables into `at_package_*'.
11071 * lib/autotest/general.m4 (AT_VICTIMS): New.
11072 (AT_INIT): Adjust for stand-alone/embedded test suites.
11073 (AS_MESSAGE_LOG_FD): Define and use it.
11074 * tests/suite.at (AT_VICTIMS): Use it.
11075 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
11078 2001-09-07 Akim Demaille <akim@epita.fr>
11080 Move toward possibly stand-alone test suites.
11082 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
11083 in addition, it introduces useless differences in logs.
11084 (AT_INIT): Let atconfig and atlocal be both optional.
11085 Adjust PATH computation.
11086 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
11088 2001-09-07 Akim Demaille <akim@epita.fr>
11090 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
11091 m4sugar/version.m4.
11093 2001-09-05 Akim Demaille <akim@epita.fr>
11095 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
11096 to avoid GCC warnings.
11099 2001-09-05 Akim Demaille <akim@epita.fr>
11101 * bin/autom4te.in: --language is -l, not -s.
11103 2001-09-05 Akim Demaille <akim@epita.fr>
11105 Be ready to handle filenames as stupid as `dnl.at', for if even
11106 the maintainer is dumb enough to do that...
11108 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
11109 excellence in M4 quotation: consider `__file__' is active.
11111 And BTW, when invoking m4, pass the --include in the right order:
11114 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
11117 2001-09-05 Akim Demaille <akim@epita.fr>
11119 * lib/Autom4te/XFile.pm: New lib file.
11120 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
11121 * bin/autoheader.in: Use it.
11123 2001-09-05 Akim Demaille <akim@epita.fr>
11125 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
11128 2001-09-05 Akim Demaille <akim@epita.fr>
11130 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
11131 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
11133 * bin/autoscan.in: Use `getopt' and `find_files' etc.
11134 Add -I, --include support.
11135 * doc/autoconf.texi (autoscan Invocation): Adjust.
11137 2001-09-05 Akim Demaille <akim@epita.fr>
11139 CVS GNU M4 doesn't like `undefine(undefined)'.
11141 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
11142 New, extracted from main.
11143 Use IO::File wherever possible.
11144 (input.m4): Be constant, use -I instead of hard coding $tmp.
11145 Therefore be a quoted heredoc.
11146 Don't invoke `_au_disable', since ac was not loaded, but just
11149 2001-08-31 Akim Demaille <akim@epita.fr>
11153 2001-08-31 Akim Demaille <akim@epita.fr>
11155 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
11157 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
11159 2001-08-31 Akim Demaille <akim@epita.fr>
11161 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
11162 serious problems handling heredocs in heredocs.
11163 Reported by Nicolas Joly.
11165 2001-08-31 Akim Demaille <akim@epita.fr>
11167 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
11168 (Making testsuite Scripts): Update.
11170 2001-08-31 Akim Demaille <akim@epita.fr>
11172 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
11174 2001-08-31 Akim Demaille <akim@epita.fr>
11176 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
11177 (testsuite Scripts): There is no such thing as `atconfig.in'.
11178 And actually one diagram is missing: test suite runtime.
11180 2001-08-31 Akim Demaille <akim@epita.fr>
11182 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
11185 2001-08-31 Akim Demaille <akim@epita.fr>
11187 * bin/autoupdate.in (@include): `installcheck' revealed the path
11188 to m4sugar was lacking!
11190 2001-08-31 Akim Demaille <akim@epita.fr>
11192 * man/Makefile.am (.x.1): We really have to pass
11193 autom4te_perllibdir.
11195 2001-08-31 Akim Demaille <akim@epita.fr>
11197 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
11198 debug scripts, in particular passing explicitly listed tests to
11201 2001-08-31 Akim Demaille <akim@epita.fr>
11203 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
11204 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
11205 Use directly autom4te, not autoconf.
11206 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
11208 2001-08-31 Akim Demaille <akim@epita.fr>
11210 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
11211 * bin/autoheader.in (%symbol): Strip arguments of macros.
11213 2001-08-31 Akim Demaille <akim@epita.fr>
11215 * doc/autoconf.texi: Catch up -I, --include changes.
11217 2001-08-31 Akim Demaille <akim@epita.fr>
11219 * bin/autom4te.in (&parse_args): Die on unknown languages.
11220 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
11222 Promote --include over --macrodir and other obsolete options.
11224 2001-08-31 Akim Demaille <akim@epita.fr>
11226 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
11227 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
11228 * bin/autom4te.in ($autoconf): Pass --force.
11229 `print $out' doesn't print `$_' but `$out'.
11230 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
11231 (autoheader): Pass --force since the test suite goes too fast for
11233 Adjust to the new autoheader messages.
11235 2001-08-31 Akim Demaille <akim@epita.fr>
11237 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
11238 Check the completeness of the #template.
11239 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
11240 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
11243 2001-08-31 Akim Demaille <akim@epita.fr>
11245 * lib/Autom4te/General.pm (&find_file, &update_file): New.
11246 * bin/autoupdate.in, bin/autoheader.in: Adjust.
11247 Drop AC_MACRODIR dead for real.
11248 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
11249 `autoheader: `config.hin' is created'.
11250 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
11252 2001-08-31 Akim Demaille <akim@epita.fr>
11254 * bin/autoheader.in: Rewrite in Perl.
11255 * tests/autoheader: Adjust.
11257 2001-08-31 Akim Demaille <akim@epita.fr>
11259 * bin/autoconf.in (--include, -I): New option.
11260 Map --localdir, --autoconf-dir onto it.
11261 Forward autom4te's options instead of interpreting them.
11262 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
11263 There is no such envvar since the inception of autom4te.cfg.
11264 * bin/autom4te.in (&parse_args): Uniquify `@include'.
11265 * bin/autoupdate.in: Adjust, and perform more control.
11266 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
11267 * tests/autoconf: Dittowise.
11269 2001-08-31 Akim Demaille <akim@epita.fr>
11271 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
11272 * bin/autom4te.in (&find_file): Support `FILE?' standing for
11274 Use -e, not -f, since /dev/null for instance is OK.
11275 (&parse_args): Adjust.
11276 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
11278 2001-08-31 Akim Demaille <akim@epita.fr>
11280 * configure.ac: Also find tested executables in bin.
11281 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
11282 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
11283 installed peer executables, only PATH is allowed to resolve it.
11284 Pass `autoconf_dir' via options, not via invisible envvars.
11285 * lib/Autom4te/General.pm (&find_peer): Remove.
11286 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
11287 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
11288 * man/Makefile.am: Let help2man rely on PATH instead of trying to
11289 find the executables for it.
11290 * tests/Makefile.am: Major cleanup. Too lazy to document...
11291 * tests/atlocal.in: Remove all the obscure envvar manipulations.
11293 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
11294 indeed related to running the test suite, while passing
11295 --autoconf-dir and others is related to running non installed
11296 Autoconf executables. So don't do that, leave it to...
11297 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
11298 * tests/autoscan: New.
11299 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
11300 refer to library files: rely on --language.
11302 2001-08-29 Akim Demaille <akim@epita.fr>
11304 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
11305 s/--set/--language/.
11307 2001-08-29 Akim Demaille <akim@epita.fr>
11309 * doc/autoconf.texi: Strip the @nodes.
11310 Suggested by Paul Eggert.
11311 (Initializing configure): Typo.
11313 2001-08-29 Akim Demaille <akim@epita.fr>
11315 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
11316 Suggested by Paul Eggert.
11318 2001-08-29 Akim Demaille <akim@epita.fr>
11320 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
11321 download in a tmp dir.
11323 2001-08-29 Akim Demaille <akim@epita.fr>
11325 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
11326 case insensitive OSes out there :(
11327 From Tim Van Holder.
11329 2001-08-29 Akim Demaille <akim@epita.fr>
11331 * lib/autom4te.in: New.
11332 * lib/Makefile.am (edit, autom4te.cfg): New.
11333 * bin/autom4te.in (BEGIN): Simplify.
11334 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
11335 (&load_configuration): New. Use it.
11336 (&parse_args): Support --mode, --set, and --melt.
11337 * bin/autoconf.in: Simplify and adjust.
11338 * tests/Makefile.am (AUTOMAKE): Use --set.
11339 * tests/atlocal.in: Adjust.
11340 * BUGS: distcheck and check are weak.
11342 2001-08-29 Akim Demaille <akim@epita.fr>
11344 * lib/autotest/general.m4: Use
11345 foo=`(command) 2>/dev/null`
11347 foo=`command` 2>/dev/null
11348 (at-devnull): Rename as...
11349 (AT-devnull): this.
11350 (--clean): Remove AT-* files too.
11351 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
11352 Reported by Nicolas Joly.
11354 2001-08-28 Akim Demaille <akim@epita.fr>
11356 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
11357 quotes inside single quotes.
11358 Reported by Nicolas Joly.
11360 2001-08-28 Kevin Ryde <user42@zip.com.au>
11362 * doc/autoconf.texi (Function Portability): Mention C right shifts.
11364 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
11366 * lib/autotest/general.m4: Reword some messages.
11367 (AT_INIT): Check for the `times' builtin before using it.
11368 Support test ranges as arguments to the testsuite.
11369 Have -e imply -d as the help text suggested.
11371 2001-08-27 Akim Demaille <akim@epita.fr>
11373 * Makefile.maint: Formatting changes.
11374 (do-po-update, po-update, cvs-update, update): New targets.
11377 2001-08-27 Akim Demaille <akim@epita.fr>
11379 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
11380 <at_cmd_line>: New.
11381 Pass it to debug-*.sh scripts.
11382 <AUTOTEST_PATH>: May contain absolute dir names.
11384 2001-08-27 Akim Demaille <akim@epita.fr>
11386 * lib/autotest/general.m4 (AT_INIT): Log the command line.
11387 Support `VAR=VAL' as arguments.
11388 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
11389 may be set via the command line.
11391 2001-08-27 Akim Demaille <akim@epita.fr>
11393 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
11394 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
11395 first the build dirs, then the src dirs.
11396 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
11398 2001-08-27 Akim Demaille <akim@epita.fr>
11400 * lib/autotest/general.m4 (AT_INIT): Output the definition of
11401 at_data_files earlier.
11402 (--clean, -c): New option.
11403 * tests/Makefile.am: Use this option.
11405 2001-08-27 Akim Demaille <akim@epita.fr>
11407 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
11408 `ac_top_builddir' to mimic Automake's vocabulary, which much more
11411 * doc/autoconf.texi (Configuration Actions): Document the vars
11412 available in commands.
11413 Emphasize the risks of collisions in init-cmds.
11415 2001-08-27 Akim Demaille <akim@epita.fr>
11417 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
11418 (Initializing configure): this new node.
11420 2001-08-27 Akim Demaille <akim@epita.fr>
11422 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
11424 2001-08-27 Akim Demaille <akim@epita.fr>
11426 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
11427 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
11429 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
11431 2001-08-27 Akim Demaille <akim@epita.fr>
11433 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
11435 * lib/autoconf/autoheader.m4: this new file.
11436 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
11437 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
11439 * lib/autoconf/autoupdate.m4: this new file.
11441 2001-08-27 Akim Demaille <akim@epita.fr>
11443 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
11444 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
11445 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
11447 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
11448 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
11450 2001-08-27 Akim Demaille <akim@epita.fr>
11452 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
11453 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
11454 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
11455 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
11456 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
11457 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
11458 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
11459 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
11460 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
11461 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
11462 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
11463 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
11464 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
11465 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
11466 (_AC_OUTPUT_SUBDIRS): Move to...
11467 * lib/autoconf/status.m4: this new file.
11468 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
11469 * tests/Makefile.am, tests/suite.at: Adjust.
11471 2001-08-27 Akim Demaille <akim@epita.fr>
11475 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
11476 (AMTAR): Help automake define it.
11477 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
11478 needed, 1.5 can have a macro and a target with the same name.
11479 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
11480 * m4/strip.m4: New.
11481 * m4/init.m4, m4/sanity.m4: Update.
11482 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
11483 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
11484 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
11485 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
11487 2001-08-27 Akim Demaille <akim@epita.fr>
11489 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
11491 * lib/autoconf/version.in: Remove.
11492 * lib/m4sugar/version.in: New.
11493 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
11495 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
11496 the name of the directory they're in, instead of the filename,
11497 since version.m4 is now in m4sugar, but m4_acversion must not be
11498 classified as an Autoconf macro.
11499 ($input_m4): Don't qualify the path to m4sugar.
11500 Rather, pass autoconf_dir to m4.
11501 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
11502 * tests/suite.at: Require 2.52c.
11504 2001-08-27 Akim Demaille <akim@epita.fr>
11506 testsuite.log should include config.log.
11508 * lib/autotest/autotest.m4: New.
11509 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
11510 * tests/suite.at : Adjust.
11511 (AT_INIT): Log config.log.
11512 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
11513 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
11514 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
11515 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
11516 of config.log on traps.
11517 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
11518 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
11519 for config.status'.
11520 Open the log as soon as possible.
11521 Use the same log introduction as configure's.
11523 2001-08-22 Paul Eggert <eggert@twinsun.com>
11525 * doc/autoconf.texi (Indices): New node.
11526 Move indices out of the top level menu and into this submenu.
11528 2001-08-22 Akim Demaille <akim@epita.fr>
11530 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11532 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
11534 2001-08-22 Akim Demaille <akim@epita.fr>
11536 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
11537 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
11538 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
11539 * lib/autoconf/programs.m4: here.
11540 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
11541 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
11542 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
11543 * lib/autoconf/programs.m4: here.
11544 (_AC_DECL_YYTEXT): Rename as...
11545 (_AC_PROG_LEX_YYTEXT_DECL): this.
11546 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
11547 * tests/Makefile.am, tests/suite.am: Adjust.
11549 2001-08-22 Akim Demaille <akim@epita.fr>
11551 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
11553 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
11555 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
11556 * lib/autoconf/functions.m4: here.
11557 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
11558 (AH_CHECK_LIB): Move to...
11559 * lib/autoconf/libs: this new file.
11560 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
11561 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
11562 * lib/autoconf/libs.m4: here.
11563 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
11565 2001-08-22 Akim Demaille <akim@epita.fr>
11567 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
11568 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
11569 (AC_SITE_LOAD): Better logging of config.site.
11571 2001-08-20 Akim Demaille <akim@epita.fr>
11573 * configure.ac (AT_CONFIG): Fix the path.
11574 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
11577 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
11579 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
11580 program with AC_LANG_PROGRAM before feeding it to
11581 AC_COMPILE_IFELSE. Cleanup grep usage.
11583 2001-08-20 Akim Demaille <akim@epita.fr>
11585 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
11586 * NEWS, README, README-alpha, TODO, tests/README: This package is
11587 `Autoconf', not `autoconf' (the executable).
11589 2001-08-20 Akim Demaille <akim@epita.fr>
11591 Info readers seem to need `Index' in the index node title :(
11593 * doc/autoconf.texi: Reverse the 2001-08-15 change which
11594 simplified index node names.
11596 2001-08-20 Akim Demaille <akim@epita.fr>
11598 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
11599 arguments are not literals.
11600 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
11601 Specify the output variables, and macros defined.
11603 2001-08-20 Akim Demaille <akim@epita.fr>
11605 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
11606 (Examining Syntax) <AC_TRY_COMPILE>
11607 (Examining Libraries) <AC_TRY_LINK>
11608 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
11610 Reported by Werner Lemberg.
11612 2001-08-20 Akim Demaille <akim@epita.fr>
11614 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
11615 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
11616 Load atlocal late enough to dump it in the log.
11617 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
11619 2001-08-20 Akim Demaille <akim@epita.fr>
11621 * tests/torture.at (Configuring subdirectories): New test.
11622 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
11624 * m4/atconfig.m4: Be sure the let $[0] be expandable.
11625 (top_srcdir): Fix its computation.
11627 2001-08-20 Akim Demaille <akim@epita.fr>
11629 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
11630 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
11632 Create `atconfig' automagically.
11633 Configure atlocal.in if present.
11634 * tests/atconfig.in: Remove.
11635 * tests/atlocal.in: New.
11636 * tests/Makefile.am: Adjust.
11638 2001-08-20 Akim Demaille <akim@epita.fr>
11640 Huh!?!?! There are still some user EOF tags used, which prevents
11641 their use in AC_CONFIG_COMMANDS for instance...
11643 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
11644 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
11645 `_CSEOF', or `_ATEOF', as appropriate.
11646 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
11647 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
11649 2001-08-20 Akim Demaille <akim@epita.fr>
11651 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
11652 * tests/semantics.at, tests/tools.at, tests/torture.at:
11653 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
11655 2001-08-20 Akim Demaille <akim@epita.fr>
11657 Autotest invokes M4sh's initialization.
11659 * lib/autotest/general.m4: Adjust the diversion names.
11660 (AT_INIT): Run AS_INIT.
11661 Use the BINSH diversion to invoke /bin/sh.
11662 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
11663 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
11665 2001-08-20 Akim Demaille <akim@epita.fr>
11667 Let M4sh have its own diversions.
11669 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
11670 (_m4_divert(NOTICE)): Rename as...
11671 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
11672 (_m4_divert(HEADER-COMMENT)): these.
11673 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
11674 (_m4_divert(NOTICE)): New, for Libtool.
11675 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
11676 long ago with `_m4_divert(GROW)'.
11677 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
11679 2001-08-20 Akim Demaille <akim@epita.fr>
11681 * tests/base.at, tests/compile.at, tests/foreign.at,
11682 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
11683 * tests/semantics.at, tests/suite.at, tests/tools.at,
11684 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
11686 2001-08-20 Akim Demaille <akim@epita.fr>
11688 * bin/autom4te.in (handle_output): Handle @__@.
11690 2001-08-20 Akim Demaille <akim@epita.fr>
11692 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
11693 * lib/autotest/general.m4: Adjust the license.
11695 2001-08-17 Paul Eggert <eggert@twinsun.com>
11697 * doc/autoconf.texi (Function Portability): Mention snprintf,
11698 following up on a suggestion by Kevin Ryde.
11700 2001-08-17 Akim Demaille <akim@epita.fr>
11702 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
11703 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
11705 2001-08-17 Akim Demaille <akim@epita.fr>
11707 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
11708 `$0.log' as for projects where testsuite is in src, we'd have
11709 testsuite.log created in src.
11711 2001-08-17 Akim Demaille <akim@epita.fr>
11713 * bin/autom4te.in (&parse_args): Recognize --normalize.
11715 2001-08-17 Akim Demaille <akim@epita.fr>
11717 Start implementing the AC_CHECK_HEADER transition scheme.
11719 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
11720 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
11721 (AC_CHECK_HEADER): Use them.
11723 2001-08-17 Akim Demaille <akim@epita.fr>
11725 * doc/autoconf.texi: Work around Texinfo buglets.
11726 (Transformation Rules): One example is enough, users are expected
11727 to have their brains on. And BTW, use DESTDIR.
11728 (dvar): New macro. Use it.
11730 2001-08-17 Akim Demaille <akim@epita.fr>
11732 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
11733 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
11734 looking for ChangeLogs.
11736 2001-08-17 Akim Demaille <akim@epita.fr>
11738 * bin/autom4te.in: --normalize is a new option.
11739 * bin/autoconf.in: Use it.
11741 2001-08-17 Akim Demaille <akim@epita.fr>
11743 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
11744 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
11746 2001-08-16 Paul Eggert <eggert@twinsun.com>
11748 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
11751 2001-08-15 Akim Demaille <akim@epita.fr>
11753 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
11756 2001-08-15 Akim Demaille <akim@epita.fr>
11758 * doc/autoconf.texi (pr): New index.
11759 (prindex, findex): Use, merge, and output them.
11760 (Environment Variable Index, Output Variable Index)
11761 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
11762 (Autotest Macro Index): Rename as...
11763 (Environment Variables, Output Variables,Preprocessor Symbols)
11764 (Autoconf Macros, M4 Macros, Autotest Macros): these.
11765 * doc/install.texi: Use @command.
11766 (Environment Variables): Rename as...
11767 (Defining Variables): this.
11769 2001-08-15 Akim Demaille <akim@epita.fr>
11771 * doc/autoconf.texi (Function Portability): sprintf's return
11775 2001-08-15 Akim Demaille <akim@epita.fr>
11777 * Makefile.maint (CVS): New.
11778 (local-check): Run changelog-check. last.
11779 (alpha): Don't depend upon local-check, since...
11780 (cvs-dist): depends upon it.
11782 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
11784 * tests/Makefile.am: Use a clean-local rule to remove
11785 autom4te.cache (it's a directory, not a file.
11786 * Makefile.am: Ditto (but maintainer-clean-local).
11788 2001-08-15 Akim Demaille <akim@epita.fr>
11790 * bin/autom4te.in (@m4_warning): New.
11791 (&handle_m4): Use it.
11792 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
11793 warnings are issued at each run.
11794 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
11795 is in the src tree.
11797 2001-08-15 Akim Demaille <akim@epita.fr>
11799 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
11800 don't waste time running `autoupdate --version' works.
11801 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
11803 2001-08-13 Akim Demaille <akim@epita.fr>
11805 * doc/autoconf.texi (ma): Rename this index as...
11808 2001-08-13 Akim Demaille <akim@epita.fr>
11810 * Makefile.am: Remove dead code and dead comments.
11811 (pdf, html): New targets.
11812 * doc/autoconf.texi (Using Autotest): New chapter.
11813 * doc/Makefile.am (pdf): New targets.
11814 (CLEANFILES): Adjust.
11816 2001-08-13 Akim Demaille <akim@epita.fr>
11818 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
11819 duration of the test suite.
11821 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
11823 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
11824 endianness for comparison instead of relying on AT_CHECK_ENV.
11826 2001-08-11 Paul Eggert <eggert@twinsun.com>
11828 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
11829 to the INSTALL file.
11831 2001-08-11 Paul Eggert <eggert@twinsun.com>
11833 * NEWS: The autoconf manual now is distributed under the terms
11834 of the GNU Free Documentation License.
11836 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
11837 Add an appendix "Copying This Manual" for the FDL.
11839 * doc/fdl.texi: New file, from
11840 <http://www.gnu.org/licenses/fdl.texi>.
11842 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
11844 2001-08-10 Paul Eggert <eggert@twinsun.com>
11846 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
11847 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
11848 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
11849 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
11850 m4/sanity.m4, tests/README, tests/aclocal.m4,
11851 tests/atspecific.m4, tests/base.at, tests/compile.at,
11852 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
11853 tests/semantics.at, tests/suite.at, tests/tools.at,
11854 tests/torture.at: Add copyright notice.
11856 * tests/mktests.sh: Update year in copyright notice.
11858 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
11860 * tests/semantics.at (AC_C_BIGENDIAN): New test.
11862 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
11864 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
11865 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
11866 * doc/autoconf.texi (C Compiler Characteristics): Update
11867 documentation for AC_C_BIGENDIAN.
11869 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
11871 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
11872 magic values from an object file when cross-compiling.
11873 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
11875 2001-08-10 Akim Demaille <akim@epita.fr>
11877 * bin/autom4te.in (&handle_output): Don't use `grep' with side
11879 Suggested by Russ Allbery.
11881 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11883 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
11884 current $prefix to the sub-configures.
11886 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
11888 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
11889 extension (needed on BeOS). Reported by Guido van Rossum.
11891 2001-08-09 Akim Demaille <akim@epita.fr>
11893 * bin/autom4te.in ($icache): Load it only if older than autom4te.
11895 2001-08-07 Akim Demaille <akim@epita.fr>
11897 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
11899 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
11900 No need to remove the files before and after the each test, before
11901 each test and at the end of the suite is enough.
11902 Display only the children `times', not the shell's.
11903 If the test failed or was skipped, at-times is not available.
11905 2001-08-07 Akim Demaille <akim@epita.fr>
11907 Always produce testsuite.log, including when there are no
11908 failures. This helps getting information on skipped tests, and
11909 duration of the tests. Err, implement the latter btw.
11911 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
11912 Dump information on the first run of each test.
11913 (AT_CLEANUP): Create `at-times' containing the duration of the
11916 2001-08-07 Akim Demaille <akim@epita.fr>
11918 The use of `dumpstat' revealed that `len' was used although it
11919 should not. m4_text_wrap was using it, but in the Autoconf world
11920 where it is legal. Hence (i) test M4sh in its own world, not
11921 Autoconf's, and (ii), ahem, fix the bug :)
11923 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
11924 does not like `' instead of [].
11925 (AT_INIT): Forbid `^_?AT_'.
11926 And don't output such tokens.
11927 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
11928 `script.as', and `autom4te.cache'.
11929 Remove `empty' and `macro' which are no longer used.
11930 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
11931 * tests/m4sugar.at: Use it.
11932 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
11934 2001-08-07 Akim Demaille <akim@epita.fr>
11936 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
11938 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
11940 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
11942 2001-08-04 Akim Demaille <akim@epita.fr>
11944 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
11945 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
11947 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
11948 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
11949 (AC_F77_MAIN): Likewise.
11951 2001-08-04 Akim Demaille <akim@epita.fr>
11953 Don't rely on M4sugar outputting the patterns in files, since we
11954 might process the output _without_ running m4, hence without these
11957 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
11958 * bin/autom4te.in (@Request::includes): Remove, unused.
11959 (@Request::source): Rename as...
11960 (@Request::input): this.
11961 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
11962 (&handle_output): Fetch the patterns from the traces.
11963 `$forbidden' and `$allowed' are constant: use m//o.
11964 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
11965 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
11967 2001-08-04 Akim Demaille <akim@epita.fr>
11969 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
11970 autoconf', i.e., in addition to caching traces, cache the output.
11972 * bin/autom4te.in (Request::cache): Rename as...
11973 (Request::id): this.
11974 ($cache, $icache, $tcache, $ocache): New.
11975 (&handle_m4): Save M4 output in the cache instead of $tmp.
11976 (&handle_output): Adjust.
11977 (&up_to_date_p): Check that the output cache is up to date too.
11978 (top level): Run `&handle_m4' iff force or the cache is invalid.
11979 Run `&handle_output' if the output cache is more recent.
11981 2001-08-04 Akim Demaille <akim@epita.fr>
11983 * bin/autom4te.in ($force): New.
11984 (&parse_args, &print_usage): -f, --force is a new option.
11985 (&handle_output): CPP directives might have spaces after `#'.
11986 (&parse_args): The first file only can be frozen.
11988 2001-08-04 Akim Demaille <akim@epita.fr>
11990 Don't let autom4te compute the `include' traces several times:
11991 first check that the trace cache file is up to date, and then
11992 compare its timestamp with that of the output.
11994 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
11995 the preamble. Don't require 5.005 as Autom4te::General does it,
11996 and better yet (use `use', not `require'!).
11997 * lib/Autom4te/Struct.pm: Rename the last occurrences of
11998 Class::Struct as Autom4te::Struct.
11999 * lib/Autom4te/General.pm (File::stat): Use it.
12000 (&mtime): New, export it.
12001 * bin/autom4te.in: Use it.
12002 Declare `$req' is invalid if it is outdated.
12003 Don't declare it valid before saving it if something went wrong.
12005 2001-08-04 Akim Demaille <akim@epita.fr>
12007 Autom4te shall not encode Autoconf data, and preselecting traces
12008 must be proposed to the users.
12010 * bin/autom4te.in (@required_trace): Remove.
12012 (&parse_args, &print_usage): -p, --preselect is a new option.
12013 (&up_to_date_p): Adjust.
12014 * bin/autoconf.in: Preselect some Autoconf macros.
12016 2001-08-04 Akim Demaille <akim@epita.fr>
12018 * tests/tools.at (autoconf --trace: user macros): Check traces on
12019 macros invoked without arguments, and macros invoked with multiple
12022 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
12024 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
12027 2001-08-03 Akim Demaille <akim@epita.fr>
12029 * bin/autoconf.in ($@): Work around the usual sh bug.
12032 2001-08-03 Akim Demaille <akim@epita.fr>
12034 Clean up the handling of the M4 builtins tracing exception.
12036 * bin/autom4te.in (Request::request): Don't complete M4 builtins
12038 (@m4_builtins): Rename as...
12039 (@m4_builtin): this.
12040 (%m4_builtin_alternate_name): New.
12041 (&parse_args): Complete the trace requests with alternate names.
12042 (&handle_traces): Hence no longer do it here.
12043 (&trace_requests): Remove, unused.
12045 2001-08-03 Akim Demaille <akim@epita.fr>
12047 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
12048 m4_if, and m4_wrap.
12050 2001-08-03 Akim Demaille <akim@epita.fr>
12052 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
12053 (m4_divert_pop): Dump the whole diversion stack when a diversion
12055 * bin/autom4te.in (&handle_output): Remember of the first
12056 occurrence of a possibly undefined macro, not the last.
12057 Complain about the possibly undefined macros in the same order as
12058 the appear in the output.
12059 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
12060 * tests/tools.at (autoconf: forbidden tokens, basic)
12061 (autoconf: forbidden tokens, exceptions): No longer sort
12062 autoconf's stderr, as it is now deterministic.
12063 Check that `dnl' is caught.
12065 2001-08-01 Akim Demaille <akim@epita.fr>
12067 * configure.ac: Bump to 2.52c.
12069 2001-08-01 Akim Demaille <akim@epita.fr>
12073 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
12075 2001-08-01 Akim Demaille <akim@epita.fr>
12079 2001-08-01 Akim Demaille <akim@epita.fr>
12081 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
12084 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
12085 `END', as `Autom4te::General::END' will be triggered.
12086 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
12087 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
12088 system to run `mv', `rm', and `cmp'.
12090 2001-08-01 Akim Demaille <akim@epita.fr>
12092 * lib/Autom4te/General.pm (&unique): New.
12093 * bin/autoscan.in (&output): Use it to issue trace requests once.
12095 2001-08-01 Akim Demaille <akim@epita.fr>
12097 * lib/Autom4te/General.pm: New.
12098 * bin/autom4te.in (Autom4te::General): Use it.
12099 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
12100 (&find_configure_ac, &find_slave): Remove.
12101 * bin/autoscan.in: Likewise.
12102 * bin/autoupdate.in: Likewise.
12104 2001-08-01 Akim Demaille <akim@epita.fr>
12106 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
12107 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
12108 * bin: here, new directory.
12109 * lib/Autoconf: Rename as...
12110 * lib/Autom4te: this, to please case insensitive junkie OSes.
12112 2001-08-01 Akim Demaille <akim@epita.fr>
12114 * autom4te.in ($m4): Handle the --nesting-limit.
12115 * autoconf.in (M4): Remove.
12117 2001-08-01 Akim Demaille <akim@epita.fr>
12119 * autoconf.in ($AWK): Remove, no longer used.
12120 * test/tools.at: Use AT_CHECK_AUTOCONF.
12121 (AWK portability): Remove, for autoconf no longer uses AWK.
12122 (Syntax of the Perl scripts): New.
12123 * configure.ac: autoconf no longer needs an AWK with a good
12125 Use a static test on AC_PACKAGE_VERSION.
12126 * autom4te.in (&up_to_date_p): Output depends on the arguments.
12127 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
12128 * tests/atconfig.in (PERL): New.
12130 2001-08-01 Akim Demaille <akim@epita.fr>
12132 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
12133 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
12134 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
12135 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
12136 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
12137 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
12138 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
12139 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
12140 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
12141 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
12142 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
12143 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
12144 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
12145 * lib/autoconf/c.m4: here, new file.
12147 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
12148 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
12149 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
12150 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
12151 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
12152 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
12153 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
12154 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
12155 (AC_F77_FUNC): Move to...
12156 * lib/autoconf/fortran.m4: here, new file.
12158 2001-08-01 Akim Demaille <akim@epita.fr>
12160 * acfunctions.m4: Rename as...
12161 * lib/autoconf/functions.m4: this.
12162 * acgeneral.m4: Rename as...
12163 * lib/autoconf/general.m4: this.
12164 * acheaders.m4: Rename as...
12165 * lib/autoconf/headers.m4: this.
12166 * aclang.m4: Rename as...
12167 * lib/autoconf/lang.m4: this.
12168 * acoldnames.m4: Rename as...
12169 * lib/autoconf/oldnames.m4: this.
12170 * acspecific.m4: Rename as...
12171 * lib/autoconf/specific.m4: this.
12172 * actypes.m4: Rename as...
12173 * lib/autoconf/types.m4: this.
12174 * autoconf.m4: Rename as...
12175 * lib/autoconf/autoconf.m4: this.
12177 * m4sugar.m4: Rename as...
12178 * lib/m4sugar/m4sugar.m4: this.
12179 * m4sh.m4: Rename as...
12180 * lib/m4sugar/m4sh.m4: this.
12182 * tests/atgeneral.m4: Rename as...
12183 * lib/autotest/general.m4: this.
12185 * acfunctions: Rename as...
12186 * lib/autoscan/functions: this.
12187 * acheaders: Rename as...
12188 * lib/autoscan/headers: this.
12189 * acidentifiers: Rename as...
12190 * lib/autoscan/identifiers: this.
12191 * aclibraries: Rename as...
12192 * lib/autoscan/libraries: this.
12193 * acmakevars: Rename as...
12194 * lib/autoscan/makevars: this.
12195 * acprograms: Rename as...
12196 * lib/autoscan/programs: this.
12198 2001-08-01 Akim Demaille <akim@epita.fr>
12200 * doc/autoconf.texi: Moving/deleting open files is not portable.
12201 Portability issues for `.' (source), and more information about sed.
12203 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
12205 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
12206 which has a special meaning and is not a reference to libibmil.a.
12207 Reported by Matteo Frigo.
12209 2001-07-25 Pavel Roskin <proski@gnu.org>
12211 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
12214 2001-07-25 Akim Demaille <akim@epita.fr>
12216 * autoconf.in: Try to define the variables before using them.
12217 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
12218 instead of `$perllibdir'.
12219 * tests/atconfig.in ($autom4te_perllibdir): Export it.
12221 2001-07-25 Akim Demaille <akim@epita.fr>
12223 * autoconf.in (ac_LF_and_DOT): Remove, unused.
12225 2001-07-24 Akim Demaille <akim@epita.fr>
12227 Let autoconf use autom4te for traces.
12229 * autoconf.in ($task, task trace): Remove, merely pass --trace to
12231 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
12232 (Because I found no way for autom4te to accept `-').
12233 * autom4te.in (&Request::request): Beware of M4 builtins.
12234 (END): Don't try to remove the content of an empty dir.
12235 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
12236 (&handle_output): Set a default value to `$forbidden'.
12237 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
12238 ($autoconf): Pass --debug and --verbose.
12239 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
12242 2001-07-24 Akim Demaille <akim@epita.fr>
12244 Let autoconf use autom4te to create configure.
12246 * autoconf.in ($automate): New var.
12247 (task script): Use autom4te.
12248 * autom4te.in (File::Spec): Use it.
12250 (&parse_args): --warning is -W, not -w.
12251 Find the top level files.
12252 (&handle_m4): Pass the warnings flags.
12253 Don't report verbosely m4's failures, unless requested.
12254 (&handle_output): Don't complain for forbidden tokens in comments.
12255 Be sure to report all the forbidden tokens within a single line.
12256 (&trace_format_to_m4): Preserve `$_'.
12257 (&handle_traces): Sort the output macros.
12258 (&up_to_date_p): Find the files before trying to get its time stamp.
12260 2001-07-24 Akim Demaille <akim@epita.fr>
12262 * Makefile.am: Ship, build and install Autom4te.
12263 (SUBDIRS): Add lib.
12264 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
12265 * configure.in: Require Perl.
12266 * man/autom4te.in: New.
12268 2001-07-19 Paul Eggert <eggert@twinsun.com>
12270 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
12271 example, rather than (exit 1); exit (which isn't portable).
12273 2001-07-18 Akim Demaille <akim@epita.fr>
12277 2001-07-18 Akim Demaille <akim@epita.fr>
12279 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
12280 was run, while they are needed also when it is expanded.
12281 Reported by Nicolas Joly.
12283 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
12284 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
12285 AC_F77_DUMMY_MAIN being expanded.
12287 2001-07-18 Akim Demaille <akim@epita.fr>
12289 * configure.in: Bump to 2.51a.
12291 2001-07-17 Akim Demaille <akim@epita.fr>
12295 2001-07-17 Akim Demaille <akim@epita.fr>
12297 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
12298 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
12300 2001-07-17 Akim Demaille <akim@epita.fr>
12302 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
12303 used. Well, then use the prototypes when you can, and runtime as
12305 Reported by Artur Frysiak
12307 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
12308 (AC_FUNC_GETPGRP): Use it.
12309 First try to compile with 0-ary or 1-ary calls.
12311 2001-07-17 Akim Demaille <akim@epita.fr>
12313 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
12317 2001-07-17 Akim Demaille <akim@epita.fr>
12319 * Makefile.maint: Sync. with cppi 1.10.
12321 2001-07-17 Akim Demaille <akim@epita.fr>
12323 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
12324 AC_F77_DUMMY_MAIN has been run.
12325 From Pavel Roskin and Steven G. Johnson.
12327 2001-07-17 Akim Demaille <akim@epita.fr>
12329 * configure.in: Rename as...
12330 * configure.ac: this.
12332 2001-07-17 Akim Demaille <akim@epita.fr>
12334 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
12337 * Makefile.maint (release-archive-dir): Rename as...
12338 (release_archive_dir): this, so that it can be specialized in
12341 2001-07-14 Akim Demaille <akim@epita.fr>
12343 * configure.in: Bump to 2.50d.
12345 2001-07-14 Akim Demaille <akim@epita.fr>
12348 * Makefile.maint (alpha): Typo.
12350 2001-07-14 Akim Demaille <akim@epita.fr>
12352 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
12354 2001-07-14 Akim Demaille <akim@epita.fr>
12356 * config/config.guess, config/config.sub, config/texinfo.tex
12357 * doc/standards.texi, doc/make-stds.texi: Update.
12359 2001-07-14 Akim Demaille <akim@epita.fr>
12361 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
12363 2001-07-14 Akim Demaille <akim@epita.fr>
12365 * Makefile.maint (maintainer-check): Rename as...
12366 (maintainer-distcheck): this.
12367 (changelog-check, static-check): New.
12370 2001-07-14 Kevin Ryde <user42@zip.com.au>
12372 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
12373 for CXX is g++, not gcc.
12375 2001-07-14 Akim Demaille <akim@epita.fr>
12377 * doc/autoconf.texi (Files): New subsection.
12379 2001-07-14 Akim Demaille <akim@epita.fr>
12381 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
12383 (Generic Compiler Characteristics): this.
12384 (C++ Compiler): New subsection.
12386 2001-07-14 Akim Demaille <akim@epita.fr>
12388 * autoscan.in: Use IO::File.
12389 Adjust all the routines to use it.
12390 ($log): New file (autoscan.log).
12391 (output): Dump detailed logs into $log, and a shortened version to
12393 (&scan_makefile): Refine the regexp catching tokens in the code.
12394 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
12395 and the `configure.ac' checking feature.
12397 2001-07-12 Akim Demaille <akim@epita.fr>
12399 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
12400 Reported by Michael Elizabeth Chastain.
12402 * autoconf.in: Refuse such AWK.
12403 * configure.in: Likewise.
12404 * Makefile.am (acversion.m4): Do not use move-if-change this file
12406 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
12408 2001-07-10 Jens Petersen <petersen@redhat.com>
12410 * autoscan.in (&scan_makefile): Improve programs regexp to parse
12411 things like "g++", "file.c" and "some-conf" as tokens.
12412 (&scan_file): Match C++ files extensions.
12413 If the filename extension is C++ then ask for c++.
12415 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
12417 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
12418 AC_TRY_LINK_FUNC, to check whether defining a dummy
12419 main-like routine is needed for linking with F77 libs.
12421 2001-07-05 Pavel Roskin <proski@gnu.org>
12423 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
12425 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
12428 2001-07-05 Akim Demaille <akim@epita.fr>
12430 * Makefile.am (move_if_change): New. Use it instead of `mv'.
12431 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
12433 Reported by Nicolas Joly.
12435 2001-07-04 Akim Demaille <akim@epita.fr>
12437 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
12439 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
12440 warnings from compilers.
12441 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
12442 for all the compilers, not only GNU. Hence move from here...
12443 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
12445 2001-07-04 Akim Demaille <akim@epita.fr>
12447 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
12448 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
12451 2001-07-04 Akim Demaille <akim@epita.fr>
12453 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
12454 the ``strings.h'' change claimed below.
12456 2001-07-04 Akim Demaille <akim@epita.fr>
12458 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
12460 2001-07-04 Akim Demaille <akim@epita.fr>
12462 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12463 strings.h if usable with string.h.
12464 Suggested by Paul Eggert.
12466 2001-07-04 Akim Demaille <akim@epita.fr>
12468 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
12469 From Jens Petersen.
12471 2001-07-03 Akim Demaille <akim@epita.fr>
12473 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
12476 2001-07-03 Akim Demaille <akim@epita.fr>
12478 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
12479 compiler, not the preprocessor.
12480 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
12481 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
12483 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
12484 earlier if there are.
12486 2001-07-03 Akim Demaille <akim@epita.fr>
12488 * autoscan.in ($initfile): Remove.
12489 (&find_file): Rename as...
12490 (&scan_file): this.
12491 Immediately scan the current file, instead of gathering them, and
12492 later having them handled by &scan_files.
12493 (&scan_files): Merely invoke Find::File.
12496 2001-07-02 Akim Demaille <akim@epita.fr>
12498 * autoscan.in: Formatting changes, matching the invocation order.
12499 (File::Find): Use it instead of Perl 4's `find.pl'.
12500 (&wanted): Rename as...
12501 (&find_file): this.
12503 2001-07-01 Pavel Roskin <proski@gnu.org>
12505 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
12506 break in the argument to AC_TRY_LINK_FUNC.
12507 (AC_F77_MAIN): Remove conftest* after using break in the
12508 argument to AC_TRY_LINK.
12510 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
12512 Add alternate 'main' routine detection for linking C/C++ with Fortran,
12513 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
12515 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
12516 dummy alternate main is required even if the user provides her own
12518 (AC_F77_MAIN): New macro to detect whether it is possible to
12519 provide an alternate 'main' function name, using the 'main' from
12520 the Fortran libraries.
12521 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
12522 cross-language link tests can be performed successfully.
12523 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
12524 after $LIBS, for consistency; this should be the general rule since
12525 the user may want to link to Fortran libraries that require $FLIBS.
12526 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
12528 2001-06-29 Pavel Roskin <proski@gnu.org>
12530 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
12531 at-stdout and at-stderr instead of removing the newline
12532 from the echo output, which is not guaranteed to work.
12534 2001-06-28 Jens Petersen <petersen@redhat.com>
12536 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
12537 confdefs.h when non-zero.
12539 2001-06-28 Akim Demaille <akim@epita.fr>
12541 * configure.in: Bump to 2.50c.
12543 2001-06-26 Akim Demaille <akim@epita.fr>
12547 2001-06-26 Akim Demaille <akim@epita.fr>
12551 2001-06-25 Pavel Roskin <proski@gnu.org>
12553 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
12554 argument, AUTOCONF-FLAGS.
12555 * tests/mktests.sh (update_exclude_list): Add
12556 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
12557 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
12558 AC_FUNC_WAIT3 with "-W no-obsolete".
12560 2001-06-25 Akim Demaille <akim@epita.fr>
12562 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
12564 2001-06-25 Akim Demaille <akim@epita.fr>
12566 * autoscan.in (%macro): Now maps from word to list of macros.
12567 (&init_tables): Die when a word which is already handled by
12568 explicit macros is mapped to the default macro.
12569 (&print_unique): Remove, inlined in...
12570 (&output_kind): here.
12571 (File::Basename): Use it.
12572 (&output): Sort the CONFIG_FILES.
12573 * acheaders: Normalize.
12574 * acfunctions: Likewise.
12576 2001-06-25 Akim Demaille <akim@epita.fr>
12578 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
12579 characteristics in the logs.
12580 Suggested by Mo DeJong.
12582 2001-06-24 Akim Demaille <akim@epita.fr>
12584 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
12585 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
12586 * doc/autoconf.texi (Autoconf 2.13): New section.
12588 2001-06-24 Akim Demaille <akim@epita.fr>
12590 * autoconf.in (Task traces): Separate the error messages from the
12591 traces to improve robustness.
12593 2001-06-23 Akim Demaille <akim@epita.fr>
12595 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
12596 three as failures are unlikely, and speed matters.
12598 2001-06-23 Akim Demaille <akim@epita.fr>
12600 * doc/autoconf.texi (Redefined M4 Macros): New.
12602 2001-06-23 Akim Demaille <akim@epita.fr>
12604 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
12605 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
12608 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
12610 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
12611 config.status targets to after the evaluation of the INIT-CMDS.
12612 Double quote config.status targets (used to be single quoted).
12614 2001-06-23 Akim Demaille <akim@epita.fr>
12616 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
12617 Check the content of the created file.
12618 Check the ./config.status command line invocation.
12620 2001-06-23 Akim Demaille <akim@epita.fr>
12622 * tests/foreign.at (Libtool): Reject prehistoric versions.
12624 2001-06-23 Akim Demaille <akim@epita.fr>
12626 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
12627 preexisting files matching a.*.
12629 2001-06-23 Akim Demaille <akim@epita.fr>
12631 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
12633 * doc/autoconf.texi (AC_ARG_VAR): Update.
12635 2001-06-21 Akim Demaille <akim@epita.fr>
12637 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
12638 precious variables have changed.
12639 * tests/torture.at (AC_ARG_VAR): Adjust.
12641 2001-06-21 Akim Demaille <akim@epita.fr>
12643 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
12644 but some sed choke on multiple `;', and other tools (e.g.,
12645 Automake), include the separator themselves.
12647 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
12649 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
12651 * doc/autoconf.texi (Functions Portability): Rename as...
12652 (Function Portability): this.
12653 (Function Portability): Document potential problems with unlink().
12655 2001-06-19 Paul Eggert <eggert@twinsun.com>
12657 * NEWS, doc/autoconf.texi: Document quadrigraphs.
12659 2001-06-18 Akim Demaille <akim@epita.fr>
12661 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
12663 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
12665 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
12666 (_AC_FUNC_VFORK): this.
12667 Remove AC_DEFINEs and don't guess cross-compilation values.
12668 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
12669 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
12670 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
12671 vfork doesn't work.
12672 Guess values if cross-compiling, but warn.
12673 * acfunctions: Add AC_FUNC_FORK.
12674 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
12675 and vfork appropriately.
12677 2001-06-18 Akim Demaille <akim@epita.fr>
12679 * doc/autoconf.texi (Functions Portability): New section.
12681 2001-06-18 Akim Demaille <akim@epita.fr>
12683 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
12685 Suggested by Andreas Schwab.
12687 2001-06-18 Akim Demaille <akim@epita.fr>
12689 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
12690 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
12691 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
12692 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
12693 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
12694 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
12695 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
12698 2001-06-18 Akim Demaille <akim@epita.fr>
12700 * doc/autoconf.texi (ms): New index.
12701 (Macro Index): Rename as...
12702 (Autoconf Macro Index): this.
12703 (M4 Macro Index): New appendix.
12704 (Programming in M4): New chapter.
12705 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
12706 (Quoting): Rename as...
12707 (M$ Quotation): this.
12708 Be part of `Programming in M4).
12710 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
12712 * tests/torture.at (AC_ARG_VAR): Set variables and export them
12713 in separate statements for compatibility with Tru64 v5.1.
12715 2001-06-17 Akim Demaille <akim@epita.fr>
12717 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
12718 current values of the precious variables, not the previously
12720 Pass precious variables which are set to config.status.
12721 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
12722 * tests/torture.at (AC_ARG_VAR): New.
12724 2001-06-15 Paul Eggert <eggert@twinsun.com>
12726 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
12727 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
12728 and explain why and how to replace them.
12729 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
12730 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
12732 2001-06-15 Akim Demaille <akim@epita.fr>
12734 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
12735 Reported by Bruno Haible.
12737 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
12738 (_AC_ARG_VAR_PRECIOUS): to here.
12740 2001-06-15 Pavel Roskin <proski@gnu.org>
12742 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
12743 an unused pointer use cast to this type and `if' statement to
12744 avoid warnings from the compiler.
12745 (AC_HEADER_TIME): Likewise.
12746 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
12747 in `if' statement to avoid warnings from the compiler. Declare
12748 ac_aggr static to avoid the need to initialize it.
12750 2001-06-14 Akim Demaille <akim@epita.fr>
12752 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
12755 2001-06-13 Akim Demaille <akim@epita.fr>
12757 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
12758 Suggested by Alexander Mai.
12760 2001-06-13 Akim Demaille <akim@epita.fr>
12762 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
12763 sys/types.h and sys/stat.h, and check for them.
12765 2001-06-13 Akim Demaille <akim@epita.fr>
12767 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
12770 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
12772 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
12773 succeeds and only try adding libdnet upon a failure.
12775 2001-06-12 Akim Demaille <akim@epita.fr>
12777 * autoscan.in (&output_kind): Output the comment only if it exists.
12778 (%kind_comment): Add entry for `programs'.
12779 (&output_programs): Use &output_kind.
12780 (&output_functions, &output_identifiers, &output_headers)
12781 (&output_programs): Inline, and remove.
12783 2001-06-12 Akim Demaille <akim@epita.fr>
12785 * autoscan.in (%kind_comment): New.
12786 (output_kind): New.
12787 (output_functions, output_identifiers, output_headers): Use it.
12789 2001-06-12 Akim Demaille <akim@epita.fr>
12791 * autoscan.in (&print_unique): Take `$kind' and `$word' as
12792 arguments, to factor indirections into `%macro' and `%used'.
12793 (%generic_macro): Fix a typo.
12795 2001-06-12 Akim Demaille <akim@epita.fr>
12797 * aclibraries: New.
12798 * autoscan.in (@kinds): Add `libraries'.
12799 Use `@kinds' instead of hard coded lists.
12800 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
12801 Remove, replaced by...
12804 2001-06-12 Akim Demaille <akim@epita.fr>
12806 * autoscan.in (%functions_macros %headers_macros)
12807 (%identifiers_macros %programs_macros %makevars_macros): Remove,
12811 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
12813 * aclang.m4 (AC_NO_EXECUTABLES): Override
12814 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
12816 2001-06-11 Akim Demaille <akim@epita.fr>
12818 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
12820 Reported by Andreas Schwab.
12822 2001-06-11 Akim Demaille <akim@epita.fr>
12824 * Makefile.am, Makefile.maint: Typos.
12826 2001-06-09 Akim Demaille <akim@epita.fr>
12828 * doc/autoconf.texi (Here-Documents): New section, gathering
12829 documentation about here-documents.
12830 Use `href', not `uref', and other changes.
12832 2001-06-09 Akim Demaille <akim@epita.fr>
12834 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
12837 2001-06-09 Akim Demaille <akim@epita.fr>
12839 * doc/autoconf.texi (Limitations of Builtins): Complete the
12840 description of the here-docs penalties with Alexandre Oliva's
12843 2001-06-01 Paul Eggert <eggert@twinsun.com>
12845 * doc/autoconf.texi: Talk about here documents and speedups.
12846 Do not use "echo" on arbitrary strings.
12847 Spell "here-documents" consistently with the standard.
12849 2001-06-09 Akim Demaille <akim@epita.fr>
12851 * doc/autoconf.texi (Concept Index): Introduce it.
12852 Regenerate the menus.
12854 2001-06-09 Akim Demaille <akim@epita.fr>
12856 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
12857 * config/prev-version.txt: New.
12858 * config/move-if-change: New, for GNU libc.
12860 2001-06-06 Pavel Roskin <proski@gnu.org>
12862 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
12864 2001-06-06 Akim Demaille <akim@epita.fr>
12866 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
12867 properly when $1 is not a literal.
12868 Fixes PR Autoconf/187, reported by Bram Moolenaar.
12870 2001-06-06 Akim Demaille <akim@epita.fr>
12872 Invoking AC_COPYRIGHT before AC_INIT fails.
12874 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
12875 * acgeneral.m4 (_m4_divert(VERSION_FSF))
12876 (_m4_divert(VERSION_USER)): New.
12877 (AC_COPYRIGHT): $2 is the diversion to use.
12878 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
12879 (AC_INIT): Remove dead comments as now it's commutative.
12881 2001-06-06 Akim Demaille <akim@epita.fr>
12883 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
12886 2001-06-05 Akim Demaille <akim@epita.fr>
12888 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
12890 `*dir' variables cannot be NONE.
12891 Reported by Mark Kettenis.
12893 2001-06-05 Paul Eggert <eggert@twinsun.com>
12895 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
12897 2001-06-04 Akim Demaille <akim@epita.fr>
12899 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
12900 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
12901 (AC_TR_SH): Move as...
12902 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
12903 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
12905 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
12906 (_AS_TR_SH_PREPARE): New.
12907 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
12908 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
12910 2001-06-02 Akim Demaille <akim@epita.fr>
12912 * Makefile.am (.m4.m4f): Pass the options first.
12913 Fixes PR autoconf/182.
12915 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
12917 GNU getopt, when POSIXLY_CORRECT does not permute options and
12918 arguments. So pass the options first.
12919 Fixes PR autoconf/184.
12921 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
12922 (run_m4): Remove files.
12924 Update remainder of script to use them.
12925 (for warning in): Do not use a literal comma as it will not be
12928 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
12930 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
12931 Fortran compilers to check.
12932 (_AC_PROG_F77_V): Add '-###' as a possible option to print
12933 information on library and object files.
12934 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
12937 2001-06-02 Akim Demaille <akim@epita.fr>
12939 * autom4te.in (Request::@request): Declare with `vars', not `my',
12940 as it prevents updates via `do FILENAME'.
12942 2001-06-02 Akim Demaille <akim@epita.fr>
12944 * configure.in (standards_texi): Remove, dead code.
12946 2001-06-02 Akim Demaille <akim@epita.fr>
12948 * autom4te.in: New.
12950 2001-06-02 Pavel Roskin <proski@gnu.org>
12952 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
12953 for signals other than 0 - exit with code 1.
12954 * m4sh.m4 (AS_TMPDIR): Likewise.
12955 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
12956 * autoheader.in: Likewise.
12957 * autoreconf.in: Likewise.
12958 * tests/torture.at (Signal handling): New test for the above.
12960 2001-06-01 Akim Demaille <akim@epita.fr>
12962 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
12965 2001-05-31 Akim Demaille <akim@epita.fr>
12967 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
12968 Add copyright and comments.
12969 * acheaders: Add stdint.h.
12970 Suggested by Paul Eggert.
12972 2001-05-31 Akim Demaille <akim@epita.fr>
12974 * atgeneral.m4 (AT_INIT): Use $SHELL.
12975 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
12977 2001-05-31 Akim Demaille <akim@epita.fr>
12979 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12981 From Paul Eggert and Lars Hecking.
12983 2001-05-31 Akim Demaille <akim@epita.fr>
12985 * tests/base.at: Adjust line numbers in error messages.
12987 2001-05-31 Akim Demaille <akim@epita.fr>
12989 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
12990 to emit the bangshe line.
12991 Reported by David Carter.
12993 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
12995 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
12996 Fortran (95) compilers to check.
12998 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
13000 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
13003 2001-05-23 Pavel Roskin <proski@gnu.org>
13005 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
13006 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
13007 (AC_PROG_CXXCPP): Likewise.
13009 2001-05-22 Akim Demaille <akim@epita.fr>
13011 * config: New directory.
13012 * configure.in: AC_CONFIG_AUX_DIR it.
13013 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
13015 2001-05-22 Akim Demaille <akim@epita.fr>
13017 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
13018 * autoupdate.in: Specify the Emacs mode.
13019 * acversion.m4.in: Rename as...
13020 * acversion.m4: this.
13021 * tests/Makefile.am (CLEANFILES): More garbage.
13023 2001-05-22 Akim Demaille <akim@epita.fr>
13025 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
13027 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
13030 2001-05-21 Akim Demaille <akim@epita.fr>
13032 * configure.in: Bump to 2.50a.
13037 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
13040 This file is part of GNU Autoconf.
13042 GNU Autoconf is free software; you can redistribute it and/or modify
13043 it under the terms of the GNU General Public License as published by
13044 the Free Software Foundation; either version 2, or (at your option)
13047 GNU Autoconf is distributed in the hope that it will be useful,
13048 but WITHOUT ANY WARRANTY; without even the implied warranty of
13049 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13050 GNU General Public License for more details.
13052 You should have received a copy of the GNU General Public License
13053 along with autoconf; see the file COPYING. If not, write to
13054 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
13055 Boston, MA 02110-1301, USA.