1 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
3 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
4 Define HAVE_GETMNTENT to 1, not to the empty string.
5 Problem originally reported by Jochen Friedrich in
6 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
8 This change prompted by a problem report by Andrey Simonenko in
9 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
10 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
11 object-like macros only, in the traditional portable character
13 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
14 Warn about attempts to define things that are not identifiers.
15 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
16 awful hack that AC_DEFINEd macro names containing parentheses.
18 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
20 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
21 too drastic, even if Texinfo in theory requires it for info mode.
23 (config.status Invocation): Renamed back from Recreating a
25 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
26 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
28 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
30 * NEWS: Version 2.61a.
32 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
33 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
35 * NEWS: Document changes with echo and printf, and the lack
36 of limits on the total size of multi-line values of substituted
37 variables, and the AC_FUNC_FSEEKO fix.
39 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
41 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
43 (Autoconf Input Layout): Renamed from configure.ac Layout.
44 (Recreating a Configuration): Renamed from config.status Invocation.
45 (Obsolete Recreation): Renamed from Obsolete config.status Use.
46 (acconfig Header): Renamed from acconfig.h.
47 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
48 (Writing Testsuites): Renamed from Writing testsuite.at.
49 (Autom4te Cache): Renamed from autom4te.cache.
51 * BUGS: Remove mention of VPATH problem, since it's now documented
52 not to be a bug in the Autoconf build procedure itself, but rather
53 a problem with the proprietary `make' programs.
55 * doc/autoconf.texi (Build Directories): Add a cross reference
58 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
59 * doc/standards.texi: Sync from gnulib.
61 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
62 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
63 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
64 generated automatically.
66 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
68 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
69 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
70 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
72 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
74 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
75 `CEOF$ac_eof' special marker, the awk script cannot contain a
76 line matching `^CEOF', so this is not needed any more.
77 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
78 special marker in the test.
80 2006-12-06 Stepan Kasal <kasal@ucw.cz>
82 * tests/tools.at (autom4te preselections): Use `find -newer';
83 remove one of the sleeps.
85 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
86 more readable, using ...
87 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
89 * doc/autoconf.texi (autoheader Invocation): Do not double-
90 quote the parameter of `AH_BOTTOM' in the example.
92 2006-12-05 Stepan Kasal <kasal@ucw.cz>
94 * doc/autoconf.texi (Configuration Headers): Remove the
95 example with multiple input files.
96 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
99 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
101 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
102 creating the awk substitution script, handle one input line at a
103 time, so that the maximum length of a substituted (multi-line)
104 value is not limited by the size of the sed pattern space.
105 The trade-off is a slightly repetitive sed script.
106 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
107 can only have up to 7 characters, due to Solaris 10 /bin/sed.
108 * tests/torture.at (Substitute a 2000-byte string): Increase the
109 test with several long lines, they should not be caught by sed
112 * tests/tools.at (autom4te preselections): New test, to flag
113 entries missing from autom4te.cfg.
114 Report by David Byron <dbyron@hheld.com>.
116 * tests/torture.at (Substitute a 2000-byte string): Actually use
117 AC_PROG_AWK, so the last change works as intended.
118 (Substitute and define special characters): Likewise.
119 (Substitute a newline): Likewise.
121 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
122 instead of `awk' consistently.
123 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
124 * tests/torture.at (Torturing config.status): Test both the
125 result of AC_PROG_AWK and plain awk.
126 (Substitute a 2000-byte string): Likewise.
127 (Substitute and define special characters): Likewise.
128 (Substitute a newline): Likewise.
130 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
132 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
133 can be assigned to a function pointer. Problem reported by
134 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
135 part of a patch by Ralf Wildenhues in that same bug report.
137 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
139 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
140 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
142 2006-12-01 Eric Blake <ebb9@byu.net>
144 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
145 cross-compiling from cygwin to mingw.
146 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
147 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
148 to lib/autoconf/c.m4.
150 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
152 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
153 string for more reliable failure. Wrap the entire test that
154 causes the broken Solaris printf to dump core, in a subshell,
155 so the segmentation fault message is reliably suppressed.
156 Fix shell expansion errors by using /usr/ucb/echo always;
157 avoid an error on systems without it by another subshell.
158 Avoid m4 expansion of `$1'. Set the zeroth argument of the
159 subshell-$as_echo to `as_echo', for better error message.
161 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
163 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
164 `BASH_SOURCE' contain a newline, set them to empty, as they may
167 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
169 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
170 years and is too hard to maintain now. The last straw was
171 reported by Jerker Baeck in
172 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
173 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
174 * doc/autoconf.texi (Particular Functions): Move
175 AC_FUNC_SETVBUF_REVERSED from here...
176 (Obsolete Macros): ... to here. Say that it does nothing now.
177 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
178 Turn into (almost) a no-op.
180 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
182 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
183 These macros are obsolescent and new applications shouldn't need them.
184 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
185 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
186 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
187 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
188 (AC_FUNC_VPRINTF): Likewise.
189 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
190 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
191 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
193 * doc/autoconf.texi (Setting Output Variables): Mention that
194 @VAR1@VAR2 has unspecified behavior. Problem reported by
196 * NEWS: Mention this.
198 * Makefile.am: Put only a single '#' into the copyright notice,
199 so that it's also present in the output file. Standardize wording
200 in makefile copyright notices to match GNU coding standards.
201 * bin/Makefile.am: Likewise.
202 * doc/Makefile.am: Likewise.
203 * lib/Makefile.am: Likewise.
204 * lib/freeze.mk: Likewise.
205 * lib/autoconf/Makefile.am: Likewise.
206 * lib/autoscan/Makefile.am: Likewise.
207 * lib/autotest/Makefile.am: Likewise.
208 * lib/m4sugar/Makefile.am: Likewise.
209 * man/Makefile.am: Likewise.
210 * tests/Makefile.am: Likewise.
211 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
214 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
216 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
217 in the sed script that mangles the awk script: delete up to the
218 first exclamation mark only.
219 * tests/torture.at (Substitute and define special characters):
222 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
224 Rewrite config files generation: avoid quadratic growth in
225 the number of substituted variables by using awk instead of sed
226 for the bulk of the substitutions.
227 * NEWS: Mention this.
228 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
229 forbidden in the output (and thus input) file.
230 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
231 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
232 generate just one large awk script for substitutions,
233 eliminating much of the earlier complexity, while adding some
234 new complexity. Only expand the substitution templates at
235 configure time, for smaller configure script size. If
236 _AC_SUBST_FILES are used, test 'awk' for working getline support
237 at config.status time. If absent, interpolate through the
238 shell. The awk script was written with much help
239 from Paolo Bonzini and Paul Eggert.
240 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
241 (_AC_SED_FRAG_NUM): Likewise.
242 (_AC_SUBST_CMDS): Renamed from...
243 (_AC_SED_CMDS): ...this.
244 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
245 * tests/torture.at (Substitute a 2000-byte string): Also
246 substitute a line with 1000 words, and a variable with several
248 (Substitute and define special characters): Test awk special
249 characters, and put substitution input strings `@foo@' in the
250 output, to test that no recursion happens; test several other
251 combinations from Paolo Bonzini.
253 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
255 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
256 that replaced echo with AS_ECHO where this wasn't necessary.
257 Problem reportd by Ralf Wildenhues.
258 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
259 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
260 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
262 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
264 * lib/freeze.mk (GREP): Removed, no need to initialize this.
266 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
268 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
269 that traditional Awk lacks 3-arg "split". It has it.
270 Mention that FS must be a single character, and a few other
271 99-byte limits of traditional Awk.
272 Mention that if (i in a) doesn't work with traditional Awk.
274 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
276 * tests/autotest.at (BSx641-newline in command):
277 (BS-BS-newline in command, BSx640-newline in command):
278 (Newline-CODE-BS-newline in command):
279 (Single-quote-BS-newline in command):
280 (Single-quote-newline-BS-newline in command):
281 Use printf '%s\n' instead of echo, for portability to hosts
282 where echo interprets backslashes. This will break on hosts
283 that lack printf, but for now let's assume all such hosts
284 are dead (if not, we should get reports of test failures).
286 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
288 'echo' has some portability problems, when given a first argument
289 with a leading '-', or when given any argument containing '\'.
290 Avoid using 'echo' in these cases.
291 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
292 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
293 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
294 * lib/autotest/general.m4 (AT_INIT): Likewise.
295 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
296 argument might be unportable.
297 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
298 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
299 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
300 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
301 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
302 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
303 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
304 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
305 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
306 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
307 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
308 (AC_PROG_MAKE_SET): Likewise.
309 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
310 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
311 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
312 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
313 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
314 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
315 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
316 * bin/autoconf.as: Redo verbose flag implementation, as the old
317 scheme wouldn't work with AS_ECHO.
318 * lib/autotest/general.m4 (AT_INIT): Likewise.
319 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
320 Don't use ECHO_T, since ECHO_N is now reliable.
321 * lib/autotest/general.m4 (AT_INIT): Likewise.
322 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
323 rather than using a here-document to put the script into a file.
324 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
326 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
327 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
328 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
329 bug, but we might as well stop using ECHO_N and ECHO_C internally.
330 * lib/autotest/general.m4 (AT_SETUP): Likewise.
331 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
332 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
333 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
334 operand, as AS_ECHO requires. Avoid double file name expansion.
335 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
336 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
337 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
338 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
339 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
340 Double-quote strings that would otherwise contain M4 comments.
341 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
343 * configure.ac (AC_INIT): Bump to 2.61a.
346 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
350 * configure.ac (AC_INIT): Bump to 2.61.
353 * tests/autotest.at (Macro with backslash in a test title):
354 Comment out for now, as this tests neither fails nor passes
355 reliably. Problem reported by Ralf Wildenhues.
357 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
359 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
360 in previous change, which caused test failures.
362 2006-11-16 Stepan Kasal <kasal@ucw.cz>
364 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
365 code for --enable, --disable, --with, and --without to...
366 (_AC_INIT_PARSE_ENABLE): ... a new macro.
367 * doc/autoconf.texi (Package Options):
368 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
370 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
372 Import these changes from config via gnulib:
374 2006-11-15 Ben Elliston <bje@gnu.org>
376 From Josselin Mouette <joss@debian.org>:
377 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
379 2006-11-08 Ben Elliston <bje@gnu.org>
381 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
383 2006-11-07 Steve Woodford <scw@NetBSD.org>
384 Ben Elliston <bje@gnu.org>
386 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
387 * build-aux/config.sub (sh5el): New basic_machine.
390 Import this change from coreutils:
392 2006-02-13 Jim Meyering <jim@meyering.net>
394 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
397 Import this change from gnustandards via gnulib:
399 2006-11-15 Karl Berry <karl@gnu.org>
401 * standards.texi: core -> memory, throughout.
402 (CPU Portability): show correct example of calling write
403 on a char value; thanks to Paul Eggert for the code.
404 Both of these suggestions from Eugene Y. Vasserman.
407 Import these changes from texinfo via gnulib:
409 2006-11-08 Karl Berry <karl@gnu.org>
411 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
412 as well as pdf images, since they are supported in pdftex with
415 2006-11-05 Karl Berry <karl@gnu.org>
417 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
419 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
421 * NEWS: Document the AC_ARG_WITH change.
423 2006-11-13 Bruno Haible <bruno@clisp.org>
425 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
426 options, transliterate also dots to underscores.
427 (_AC_ENABLE_IF): Transliterate also dots to underscores.
428 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
429 first argument may also contain dots.
431 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
433 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
434 benefit of platforms like Solaris+GCC where it is common to have a
435 non-working g++ installation.
437 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
438 and Joel E. Denny <jdenny@ces.clemson.edu>
439 and Paul Eggert <eggert@cs.ucla.edu>
441 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
442 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
445 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
447 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
448 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
449 Imported from a similar patch to gnulib by Bruno Haible.
451 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
453 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
454 * doc/autoconf.texi (C Compiler): Document them.
455 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
456 New macros, taken from gnulib.
458 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
460 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
461 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
464 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
466 * tests/torture.at (Configuring subdirectories): Do not skip
467 Automake 1.10 nor future Automake 11.1 (sic).
469 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
470 and Stepan Kasal <kasal@ucw.cz>
472 Handle special characters in test case titles correctly.
473 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
475 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
476 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
477 argument. Extend to check titles printed by ./micro-suite and
478 ./micro-suite -l and the title in micro-suite.log.
479 (Backquote in a test title,
480 Single-quote in a test title,
481 Double-quote in a test title): Don't expect failure anymore.
482 (Backslash in a test title): Put a non-whitespace character after the
483 backslash so that Bourne shells might actually see it as an escape
485 (Brackets in a test title,
486 Pound in a test title,
487 Comma in a test title,
488 Quoted Macro in a test title,
489 Macro in a test title,
490 Macro with single-quote in a test title): New tests.
491 (Macro with backquote in a test title,
492 Macro with double-quote in a test title,
493 Macro with backslash in a test title): New tests expected to fail.
494 * tests/torture.at (#define header templates): M4-quote this title in
495 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
496 The visible effect was a stray [] in the testsuite output.
498 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
500 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
501 `trap ... 0' inside a function, for AIX sh.
503 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
505 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
506 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
507 5363) simply issues a warning when dividing by zero at compile
508 time. Problem reported by Elias Pipping.
510 2006-10-26 Eric Blake <ebb9@byu.net>
513 * doc/autoconf.texi (Evaluation Macros): Improve the example to
514 show effect on macros that expand with commas.
515 Reported by Joel E. Denny.
517 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
518 Also work with M4 1.4.8.
520 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
522 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
525 2006-10-25 Stepan Kasal <kasal@ucw.cz>
527 * tests/tools.at (autom4te --force): New test, verifies that
528 `--force' always rewrites the output file.
530 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
532 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
533 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
535 2006-10-24 Stepan Kasal <kasal@ucw.cz>
537 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
539 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
541 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
542 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
543 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
544 reported by Nelson H. F. Beebe for Coreutils 6.4.
546 * tests/tools.at (autoconf --trace: user macros): Remove test
547 for tracing multiline macros, since m4 1.4.7a uses a different
548 way to number lines. Problem reported by Ralf Wildenhues.
550 2006-10-24 Stepan Kasal <kasal@ucw.cz>
552 * bin/autom4te.in (handle_m4): Do not redirect stdin to
553 /dev/null since the heuristics for interactive behaviour was
556 * bin/autom4te.in: With --force, always refresh the output
557 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
559 * bin/autoconf.as: Fix the verbose message at the end.
561 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
563 * configure.ac (AC_INIT): Bump to 2.60c.
566 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
568 * NEWS: Version 2.60b.
570 Import this change from Texinfo:
571 2006-10-15 Karl Berry <karl@gnu.org>
572 * build-aux/texinfo.tex: automake 1.10
574 * NEWS: Remove AC_CACHE_CHECK_INT.
575 * doc/autoconf.texi (Caching Results): Likewise.
576 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
577 AC_CACHE_CHECK_INT, since it's no longer public.
578 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
579 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
581 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
583 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
585 2006-10-19 Eric Blake <ebb9@byu.net>
587 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
588 (m4_maketemp): Avoid warnings with M4 1.9a.
589 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
591 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
594 2006-10-16 Eric Blake <ebb9@byu.net>
596 * doc/autoconf.texi (Setting Output Variables): Fix typo.
598 * bin/autoconf.as (version): Reword to match GNU Coding
600 * bin/autoheader.in (version): Likewise.
601 * bin/autom4te.in (version): Likewise.
602 * bin/autoreconf.in (version): Likewise.
603 * bin/autoscan.in (version): Likewise.
604 * bin/autoupdate.in (version): Likewise.
605 * bin/ifnames.in (version): Likewise.
607 2006-10-14 Stepan Kasal <kasal@ucw.cz>
609 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
610 looking for special shell characters.
611 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
612 macro defined by AS_VAR_PUSHDEF before passing it as a
614 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
615 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
616 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
617 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
618 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
620 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
622 * tests/m4sh.at (AS_LITERAL_IF): New test.
624 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
626 (Imported from Automake.)
627 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
628 which incorrectly sets the mode of an existing destination
629 directory. In some cases the unpatched install-sh could do the
630 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
631 system. We hope this is rare in practice, but it's clearly worth
632 fixing. Problem reported by Alex Unleashed in
633 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
634 Also, don't bother to check for -m bugs unless we're using -m;
635 suggested by Stepan Kasal.
637 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
639 Import this change from Automake:
641 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
642 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
643 is enabled by default with gnu and gnits strictness.
644 Report from Bruno Haible.
646 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
647 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
650 Import this change from Config:
652 2006-09-20 Ben Elliston <bje@gnu.org>
653 * build-aux/config.sub (score, score-*): New.
655 Import this change from Gnulib:
657 2006-09-16 Karl Berry <karl@gnu.org>
658 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
659 to avoid sectioning errors.
661 Import these changes from Texinfo:
663 2006-10-04 Karl Berry <karl@gnu.org>
664 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
665 (\quoteexpand): rename to \rquoteexpand.
666 (\codequoteleft): new def, to look for @set codequotebacktick.
667 (\lquoteexpand, \quoteexpand): new defs.
668 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
669 (\code): must use new \...Char values, since now ` is active.
671 2006-08-26 Karl Berry <karl@gnu.org>
672 * build-aux/texinfo.tex (\textdegree): New command.
674 2006-08-12 Karl Berry <karl@gnu.org>
675 * build-aux/texinfo.tex (error \box0): smaller font.
677 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
679 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
681 2006-10-13 Stepan Kasal <kasal@ucw.cz>
683 * doc/autoconf.texi (Autoheader Macros): Warn that the text
684 added to the template can get mangled.
686 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
688 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
689 include the default headers, and redefine obstack_chunk_alloc
690 and obstack_chunk_free. Fixes false failure with glibc.
692 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
694 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
695 for backward compatibility with Libtool 1.5.22. Problem reported
698 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
700 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
702 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
704 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
706 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
707 the NonStop platform.
708 * doc/autoconf.texi (Posix Variants): Likewise.
709 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
711 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
712 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
713 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
714 Use a better substitute, by inspecting the output of "ls"
715 rather than just using ":".
716 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
717 rather than AS_EXECUTABLE_P, since we needn't worry about
718 non-regular files here.
720 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
721 due to configuration hassles with this. See Tonya Underwood's report
722 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
723 * doc/autoconf.texi (Special Shell Variables): Likewise.
725 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
726 Stepan Kasal <kasal@ucw.cz>
728 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
729 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
731 2006-10-11 Stepan Kasal <kasal@ucw.cz>
733 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
734 initialization which is not inherited through the environment
735 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
736 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
738 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
740 * doc/autoconf.texi (Limitations of Usual Tools): Describe
741 problems with mkdir -p -m.
743 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
745 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
746 comment about ac_cpp_err; it was incorrect, and anyway
747 ac_cpp_err is being removed below.
748 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
749 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
750 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
752 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
753 with werror_flag and conftest.err and so forth. This is more
754 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
755 and anyway the user shouldn't normally want to see this gorp logged.
756 Problem reported by Ralf Wildenhues.
757 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
758 empty, not 'no', since the rest of the code uses 'test -z'.
760 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
762 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
763 Use a single call to AC_DO_TOKENS rather than multiple, for
765 (_AC_LINK_IFELSE): Test that resulting file is executable.
766 Problem reported by mwoehlke in
767 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
769 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
770 than creating a file to use with test -x; this is much faster.
772 2006-10-02 Bruno Haible <bruno@clisp.org>
774 * lib/autom4te.in (Automake-preselections): Add
775 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
777 2006-09-27 Stepan Kasal <kasal@ucw.cz>
779 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
780 standard error, `experr' should be used, not `expout'.
782 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
784 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
785 fseeko testing program twice; just use the earlier result.
786 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
787 Set cache var to 'unknown' (not 'no') if leaving the macro unset
788 still doesn't let the program compile.
789 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
792 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
793 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
794 include it, without including anything else.
795 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
797 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
799 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
801 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
802 `error.h', and include it, for a `error_at_line' prototype.
803 Use a nonempty format string in the link test.
804 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
805 for a declaration of wait3.
807 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
809 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
810 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
811 can apply to constants too, and that it checks for macro defns.
812 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
813 and simply cast the identifier to void. This handles structure
814 values. Problem reported by Ralf Wildenhues.
815 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
817 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
819 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
820 structure, and function symbols.
822 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
824 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
827 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
829 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
831 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
833 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
834 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
836 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
837 warnings (uninitialized value).
838 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
840 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
842 (AC_STRUCT_TM): Likewise, avoid unused variables.
844 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
846 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
847 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
848 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
849 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
850 Report by Olly Betts.
852 2006-09-19 Eric Blake <ebb9@byu.net>
854 * m4/m4.m4: Change copyright.
855 * configure: Regenerate.
856 * Makefile.in: Likewise.
857 * bin/Makefile.in: Likewise.
858 * doc/Makefile.in: Likewise.
859 * lib/Makefile.in: Likewise.
860 * lib/Autom4te/Makefile.in: Likewise.
861 * lib/autoconf/Makefile.in: Likewise.
862 * lib/autoscan/Makefile.in: Likewise.
863 * lib/autotest/Makefile.in: Likewise.
864 * lib/emacs/Makefile.in: Likewise.
865 * lib/m4sugar/Makefile.in: Likewise.
866 * man/Makefile.in: Likewise.
867 * tests/Makefile.in: Likewise.
869 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
870 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
871 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
872 --error-output, to avoid warnings with M4 2.0.
874 2006-09-19 Stepan Kasal <kasal@ucw.cz>
876 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
877 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
878 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
880 2006-09-15 Stepan Kasal <kasal@ucw.cz>
882 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
883 expansion of AC_CHECK_FUNCS.
885 2006-09-14 Stepan Kasal <kasal@ucw.cz>
887 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
888 mistaken comment: the path has to be relative; do not use
891 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
893 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
894 argument to `--prefix' for sub-configure scripts.
895 Pass `--silent' to sub-configure scripts.
896 * tests/torture.at (Configuring subdirectories): Add tests
898 * doc/autoconf.texi (Setting Output Variables): Fix example to
899 not show `--silent' being passed to a `configure' re-run.
901 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
903 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
904 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
905 for the existence of the directory at configure-time. That's
906 too late, anyway. Problem reported by Stefan Seefeld.
908 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
909 7.1.4 /usr/bin/posix/sh described by Tim Rice in
910 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
912 2006-09-11 Stepan Kasal <kasal@ucw.cz>
914 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
915 works with GNU M4 1.4.3 again; make the normalized form
916 match the current m4 message; fix the description.
917 * test/tools.at (autom4te cache): Adapt to the change.
919 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
921 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
922 to catch glibc bug 2821
923 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
925 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
926 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
927 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
930 2006-09-08 Stepan Kasal <kasal@ucw.cz>
932 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
934 (Autoconf): ... here.
935 (Autoscan-preselections): Delete.
937 2006-09-07 Stepan Kasal <kasal@ucw.cz>
939 * lib/autom4te.in (Automake-preselections): Preselect
942 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
944 * doc/autoconf.texi (Preset Output Variables): srcdir and
945 top_srcdir are not necessarily relative. Problem reported
948 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
950 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
951 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
952 accept files with extension `.f'. For consistency, also prefer
954 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
957 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
959 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
960 of ERLANG_LIB_VER_* variables.
961 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
964 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
965 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
967 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
968 bugs of Bash 2.01 and 2.05a.
969 (Fortran Compiler): Document that AC_PROG_CC should be called
970 before AC_PROG_FC, due to a bug in Autoconf.
972 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
974 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
975 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
976 except the first two arguments are reversed.
977 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
978 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
979 caches nor outputs a diagnostic. Suggested by Bruno Haible.
980 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
981 equivalent to the old AC_COMPUTE_INT.
982 (AC_COMPUTE_INT): No longer caches or reports. New signature.
983 All uses changed to AC_CACHE_CHECK_INT.
984 * tests/base.at (AC_CACHE_CHECK_INT): New test.
985 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
987 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
989 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
990 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
991 programs should use their Gnulib counterparts.
992 * doc/autoconf.texi (Particular Functions): Likewise.
993 (Macro Names, testsuite Invocation): Replace uses of these
994 obsolete macros with uses of non-obsolete macros.
996 2006-08-29 Eric Blake <ebb9@byu.net>
998 * configure.ac (AC_INIT): Bump to 2.60b.
1001 2006-08-28 Eric Blake <ebb9@byu.net>
1003 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
1004 mistakenly swapped on 2006-08-15.
1006 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
1008 * NEWS: Version 2.60a.
1010 2006-08-25 Stepan Kasal <kasal@ucw.cz>
1012 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
1013 file created by the PGI compiler.
1015 2006-08-25 Noah Misch <noah@cs.caltech.edu>
1017 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
1020 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
1022 Fix Lex library problem reported to us by Julio Garvia.
1023 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
1024 for the default, which the user can override.
1025 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
1027 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
1028 didn't work if some values were cached but not others. Test for
1029 broken lex libraries like native ia64-hp-hpux11.22; see
1030 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
1031 work around the problem by preferring an empty LEXLIB to -lfl or
1032 -ll. Let the user set LEXLIB='' to indicate no library needed.
1034 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
1036 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1038 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
1040 Rework to use more-modern build style.
1041 Many files are renamed; all uses of their names were changed.
1042 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
1043 * .x-sc_useless_cpp_parens: New file.
1044 * build-aux/config.guess: Renamed from config/config.guess. Update.
1045 * build-aux/config.sub: Renamed from config/config.sub. Update.
1046 * build-aux/elisp-comp: Renamed from config/elisp-comp.
1047 * build-aux/install-sh: Renamed from config/install-sh. Update.
1048 * build-aux/mdate-sh: Renamed from config/mdate-sh.
1049 * build-aux/missing: Renamed from config/missing.
1050 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
1051 * build-aux/vc-list-files: Renamed from config/vc-list-files.
1052 * config/Makefile.am: Removed.
1053 * config/mkinstalldirs: Removed.
1054 * config/move-if-change: Removed.
1055 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
1056 * Makefile.am (SUBDIRS): Remove config.
1057 (ACLOCAL_AMFLAGS): Include from m4, not config.
1058 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
1059 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
1060 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
1061 Fail if there's an error.
1062 * Makefile.cfg (move_if_change): Remove.
1063 (wget_files): Remove.
1064 (cvs_executable_files): New macro.
1065 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
1066 (executable-update): Use $(cvs_executable_files).
1067 (local-checks-to-skip): Remove.
1068 * Makefile.maint: Merge from coreutils, plus add our own changes
1069 (gzip_rsyncable): New macro.
1071 (CVS_LIST): Use build-aux/vc-list-files.
1072 (VERSION_REGEXP): New macro.
1073 (local-checks-available): Add patch-check, $(syntax-check-rules),
1075 (syntax-check-rules): Compute dynamically.
1076 (sc_cast_of_x_alloc_return_value): Work even if no source files.
1077 (sc_cast_of_alloca_return_value): Likewise.
1078 (sc_prohibit_atoi_atof): Simplify regexp.
1079 (sc_no_if_have_config_h, sc_require_config_h):
1080 (sc_prohibit_assert_without_use,
1081 (sc_obsolete_symbols): Check for O_NDELAY.
1082 (sc_texi_notab): Remove.
1083 (sc-changelog): Don't make an exception for '----' lines.
1084 (.re-list): Remove, so we don't have a junk file behind.
1085 (sc_system_h_headers): Remove the need for .re-list.
1086 (sc_the_the): New rule.
1087 (sc_tight_scope): Simplify.
1088 (sc_trailing_blank): Renamed from sc_trailing_space.
1089 (longopt_re): New macro.
1090 (sc_two_space_separator_in_usage): New rule.
1091 (sc_unmarked_diagnostics): Look at all files under CVS.
1092 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
1093 (news-date-check, changelog-check): Version is OK.
1094 (po-check): Look for lib files even if not in CVS.
1095 (copyright-check): Use $() not ``.
1096 (maintainer-distcheck): Do not depend on changelog-check.
1097 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
1098 Also check for -Wpointer-arith.
1099 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
1100 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
1102 (announcement): Add --gpg-key-id arg.
1104 (move_if_change): Just use mv.
1105 (local_updates: Remove wget-update, po-update.
1106 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
1107 (config.guess-url_prefix, config.sub-url_prefix): Remove.
1108 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
1109 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
1110 ($(get-targets)): Remove.
1111 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
1112 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
1113 (cvs-update): Get from gnulib.
1114 (emut_upload_commands): gnupload is in build-aux now.
1115 (alpha beta major): Add changelog-check. Check version.
1116 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
1117 (AC_CONFIG_FILES): Remove.
1118 * bin/autoconf.as: Add spaces to avoid distcheck warning.
1119 * config/announce-gen: Sync from coreutils.
1120 * doc/make-stds.texi: Sync from gnulib.
1121 * doc/standards.texi: Likewise.
1122 * man/Makefile.am: Adjust for config -> build-aux renaming.
1123 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
1124 * tests/local.at: Adjust from config -> build-aux renaming.
1125 * tests/tools.at: Likewise.
1126 * tests/torture.at: Likewise.
1128 * NEWS: The C99 check now tests for vararg macros and 64-bit
1130 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
1131 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
1132 64-bit preprocessor ints. Check for static initialization of
1133 long long. Remove unnecessary casts.
1135 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1137 * doc/autoconf.texi (Particular Programs): Mention that
1138 @INSTALL@ and @MKDIR_P@ may vary for different output files.
1139 Reported by Alexandre Duret-Lutz.
1141 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
1143 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
1144 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
1146 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
1148 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
1150 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
1151 pacify insanely picky compilers. Problem reported by Eric Blake.
1153 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
1154 longer supported by Sun.
1156 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
1158 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
1159 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
1160 -Wundef -Werror". Problem reported by David Fang in
1161 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
1162 * doc/autoconf.texi (Header Templates, Default Includes):
1163 (Particular Functions, Generic Functions, Header Portability):
1164 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
1165 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
1166 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
1167 Prefer #ifdef to #if.
1168 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
1169 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
1170 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1171 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
1173 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1174 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
1175 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
1176 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1177 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
1178 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
1181 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
1183 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
1184 problems with arg script text that doesn't end in newline, and
1185 with '-e a...'. Problems reported by Ralf Wildenhues.
1187 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
1189 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
1190 check for libXt by a check for libX11.
1192 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1194 * doc/autoconf.texi (config.status Invocation): Adjust according
1197 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1199 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
1200 --help' should mention that `--version' outputs configuration
1201 settings. Report by Bruno Haible.
1203 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
1205 Fix test suite failures reported by Pierre in
1206 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
1207 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
1208 the compiler created a file "b.out" when it didn't create anything
1210 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
1211 Discard stderr too, when invoking the test script.
1213 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
1215 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
1216 in the restoring of the werror flag.
1218 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
1220 * doc/autoconf.texi (Volatile Objects): Be even a little
1221 less skeptical about "volatile", after discussion with
1222 Bruno Haible on bug-gnulib.
1223 (Limitations of Usual Tools): Warn about sed stripping
1224 leading white space from text. From Bruno Haible.
1226 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
1228 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
1229 compiler complains about it, even if things works after the
1230 complaint. Problem reported by Peter O'Gorman.
1232 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
1233 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
1234 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
1236 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
1238 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
1239 after -R regardless of host. Patrick Welche reports that this
1240 fixes things on NetBSD 3.99.
1242 * NEWS: Recommend M4 1.4.5.
1244 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1245 * tests/tools.at (autom4te cache): Update wording of diagnostic
1248 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
1250 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
1251 under AC_C_VOLATILE.
1252 (Volatile Objects): Be a little less skeptical about what
1253 "volatile" means. Derived from thoughts by Ben Pfaff in
1254 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
1256 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1258 * doc/autoconf.texi: Fix some typos.
1260 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
1262 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1263 more globally, since the 2006-06-30 patch didn't suffice. Problem
1264 reported by Keith Marshall. Also, don't bother with builddir2,
1265 since it shouldn't be needed any more.
1267 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
1269 * doc/autoconf.texi (Generic compiler characteristics):
1270 Document AC_COMPUTE_INT. Fix wrong statements on Default
1271 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
1273 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
1274 (_AC_COMPUTE_INT): Add obsoletion warnings.
1275 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
1278 * NEWS: Document change.
1280 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
1282 * doc/autoconf.texi (Volatile Objects): New section.
1284 * NEWS: Document previous change.
1286 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
1288 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
1289 Require that long long int be at least 64 bits wide. C99 requires
1290 this and enough programs depend on it so we should check for it.
1291 Bruno Haible reports in
1292 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
1293 that long long int is 32 bits wide with some nonstandard compilers.
1294 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
1296 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
1298 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
1299 to a nonexistent file, so that we don't have to worry about
1300 a local site configuration that doesn't use /usr/local.
1301 Problem reported by Keith Marshall in
1302 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
1304 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
1306 * doc/autoconf.texi: Be more consistent about using @acronym with
1307 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
1308 quite right (it talked about "OSF/Tru64", even though the
1309 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
1310 and it even mentioned "OSF 4"!) and at this point there's little
1311 reason to talk about OSF any more, since it died in 1994.
1312 (Specific Compiler Characteristics): Simplify example of
1313 negative-size array.
1314 (File Descriptors): Reorder to make the text flow better.
1315 Remove joke about "appreciate the various levels"; I didn't get it.
1316 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
1317 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
1318 (File Descriptors, Limitations of Usual Tools):
1319 Tone down the advice against renaming or removing open files.
1320 (Limitations of Usual Tools): Add a new section, on 'rm'.
1322 2006-06-26 Stepan Kasal <kasal@ucw.cz>
1324 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
1325 -lXt in LIBS, idea from Karsten Hopp; this was due since
1328 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
1329 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1330 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1331 (which belong to Xt, not X itself). See Debian bug 327655.
1333 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1335 * configure.ac (AC_INIT): Bump to 2.60a.
1338 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1342 * configure.ac, NEWS: Update.
1344 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1346 * config/texinfo.tex: Sync from upstream.
1348 * bin/autom4te.in (handle_traces): Transform the `@S|@'
1349 quadrigraph correctly in traces.
1351 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
1354 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
1355 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
1357 * doc/autoconf.texi (Changed Directory Variables): New node,
1358 to document the whole `datarootdir' business a bit better.
1360 * tests/torture.at (datarootdir workaround): Extend test.
1361 Prompted by report by Alexandre Julliard.
1363 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
1365 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
1366 when using default mode of IBM C 6 for AIX. Problem and two-line
1367 fix reported by Larry Jones.
1369 2006-06-22 Alexandre Julliard <julliard@winehq.org>
1371 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
1372 about literal '${datarootdir}' if a definition is found in the
1375 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
1377 * NEWS: Use "M4" rather than "m4" when appropriate.
1378 Problem reported by Eric Blake.
1379 * doc/autoconf.texi: Likewise.
1380 Use @acronym around BSD, GCC, and GNU when appropriate.
1381 (Why GNU M4): Renamed from "Why GNU m4".
1382 (Redefined M4 Macros): Mention that Posix
1383 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
1384 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
1387 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1389 * bin/autom4te.in (handle_output): Do not forbid the empty
1391 * tests/tools.at (autoconf: the empty token): New test.
1393 2006-06-20 Stepan Kasal <kasal@ucw.cz>
1395 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
1396 calls, so that we do not care whether they are LIFO or FIFO;
1397 in the m4_wrap, do not check which diversion is the topmost
1398 one, just check that the stack is balanced at the end.
1399 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
1400 base diversion forever--pop the previous diversion before
1401 opening the new one; consequently, remove the m4_wrap call.
1402 * lib/autotest/general.m4 (AT_INIT): Likewise.
1403 * tests/m4sugar.at: Do not use
1404 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
1406 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
1407 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1409 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
1410 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
1411 Rework example of m4wrap token-pasting trouble so that it doesn't
1412 care whether it's LIFO or FIFO.
1413 Fix some "contrary to"s that are awkward in English.
1415 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1417 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
1418 to `yes' instead of `int$1_t' if the type is found, for more
1419 consistent configure output (where $1 is the number of bits).
1420 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
1421 Suggested by Bruno Haible.
1423 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
1424 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
1425 with system headers. Report by Bruno Haible.
1427 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1429 * config/config.guess, config/config.sub: Sync from upstream.
1431 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
1432 in order to avoid picking up an older installed frozen m4sh.m4f.
1433 Besides an outdated shell startup, this could have been created
1434 by an earlier M4 version with incompatible frozen file format.
1436 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
1438 * README: Recommend m4 1.4.4 instead of 1.4.3..
1439 * doc/autoconf.texi: Likewise.
1440 (Special Chars in Names): Say that $(.FOO) is portable, as
1441 suggested by Stepan Kasal.
1442 (Installation Directory Variables, Build Directories):
1443 (Automatic Remaking, Subdirectories, Fortran Compiler):
1444 (Making testsuite Scripts, Defining Directories):
1445 Quote variable usages better.
1446 (Making testsuite Scripts): Add clean-local rule to makefile
1447 snippet, by Eric Blake.
1448 (Installation Directory Variables): Fix table item font.
1449 Reword slightly to clarify. Generalize advice about
1450 not using special characters to include all file-related
1451 vars, not just VPATH.
1452 (Special Chars in Variables): Warn about special characters in
1454 (Assignments): Clarify default-value example as suggested by
1456 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
1457 (Special Shell Variables): Note leading ./ or ../, as suggested
1459 (Limitations of Builtins): Under cd, warn about CDPATH.
1460 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
1463 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1465 * doc/autoconf.texi (Configuration Actions): Remove duplicate
1466 `@var', for texi2html.
1467 (Systemology): Some more word wrapping, for DVI output.
1468 (autom4te Invocation): The short option for `--melt' is `-M',
1471 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
1473 * doc/autoconf.texi: More formatting and English tweaks,
1474 many suggested by Ralf Wildenhues.
1475 Reword to avoid "@code{...}'s" and the like, since it's ugly
1476 with Emacs info mode. discontents -> woes.
1477 Put a few "will"s back. time stamp -> timestamp.
1478 side-effect -> side effect.
1480 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
1482 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
1483 Warn about $@ not persisting. Problem reported by Julien Danjou in
1484 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
1485 (Special Chars in Names): Renamed from Leading _ in Macro Names.
1486 Mention other special chars, too.
1488 2006-06-14 Eric Blake <ebb9@byu.net>
1490 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
1492 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
1494 * doc/autoconf.texi: Some systematic minor improvements, as
1495 follows. Use "makefile" when talking about makefiles
1496 generally (which might be named "makefile" or "Makefile" or even
1497 "foo.mk"), "Makefile" when talking about a specific makefile
1498 called "Makefile". This unclutters the text from weird quotes
1499 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
1500 values" rather than "@var{foo}s" and similar constructs containing
1501 "}s". Use "Make rules" rather than "Makefile rules". Minor
1502 English-language improvements. Change the prefix "sub-" to "sub"
1504 Put blank lines around examples more consistently.
1505 Avoid "rather" and "very" as intensifiers.
1506 Avoid "will" as an auxiliary.
1507 (Limitations of Make): Split this node into....
1508 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
1509 (Leading _ in Macro Names, Backslash-Newline-Newline):
1510 (Backslash-Newline Comments, Long Lines in Makefiles):
1511 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
1512 (obj/ and Make, make -k Status, VPATH and Make):
1513 (VPATH and Double-colon, $< in Explicit Rules):
1514 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
1515 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
1516 New nodes, resulting from splitup of Limitations of Make.
1517 All cross-references changed. Raise the top node from
1518 a section to a chapter, and all subnodes accordingly.
1519 Redo the introductory wording to match the new organization.
1520 (Installation Directory Variables): Use an example that is
1521 closer to what Autoconf actually does. Mention that VPATH's
1522 value should not contain metacharacters or white space.
1523 (Fortran Compiler): Fix a VPATH bug in an example.
1524 (Leading _ in Macro Names): Mention that this problem is no longer
1525 of practical concern.
1526 (VPATH and Make): Reword the advice to make it clearer
1527 that Autoconf and Automake support VPATH in non-GNU make, but
1528 many packages have bugs in this area.
1529 ($< in Explicit Rules): Refer to Build Directories rather
1530 than using a (non-VPATH-safe) example.
1531 (Automatic Rule Rewriting): Mention the sort of disaster that
1532 can ensue with Solaris-style rule rewriting with VPATH.
1534 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1536 * doc/install.texi (Compilers and Options): Weaken the
1537 suggestion to use GNU make for VPATH builds.
1539 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
1540 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
1542 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
1543 in regular expression.
1545 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1547 * doc/autoconf.texi (Installation Directory Variables):
1548 Drop extra @samp from `@table @samp' item.
1549 (Limitations of Usual Tools): Comment fix.
1550 Do not nest @samp just to point to other table items.
1551 (Writing testsuite.at) <AT_CHECK>: The second argument to
1552 `@dvar' is already @samp'ed.
1553 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
1554 do not use @var in the second argument.
1556 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
1558 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
1559 $as_shell.exe too. Problem reported by Andreas Buening in
1560 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
1562 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1564 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
1565 `unused variable' compiler warning, for `-Wall -Werror'.
1566 Reported by Jaap Haitsma in
1567 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
1569 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
1571 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
1572 case the compiler dumps core. Problem reported for
1573 OpenServer 5.0.7 by Tim Rice in
1574 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
1575 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
1578 2006-06-06 Tim Rice <tim@multitalents.net>.
1580 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
1581 "ERROR" only shows up in "make check" output if there is an
1584 2006-06-06 Eric Blake <ebb9@byu.net>
1586 * tests/tools.at (automatically allowed tokens): Fix typo.
1588 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
1590 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
1592 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
1593 typically overflows on x86 CPUs, even though the C standard
1596 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1598 * configure.ac (AC_INIT): Bump to 2.59e.
1601 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1605 * config/texinfo.tex: Sync from upstream.
1607 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
1608 seen, invoke libtoolize with `--ltdl' argument.
1609 * lib/autom4te.in (Autoreconf-preselections): Adjust.
1611 Suggested by Eric Blake.
1613 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
1615 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
1616 reported by Ralf Wildenhues.
1617 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
1619 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1623 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
1625 * doc/autoconf.texi: Modernize some of the references to Solaris.
1627 2006-06-05 Stepan Kasal <kasal@ucw.cz>
1629 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
1630 message issued by AC_REQUIRE.
1631 * tests/m4sugar.at: Check m4_require's error message.
1632 * tests/base.at: Check AC_REQUIRE's error message.
1633 * tests/local.at (AT_CHECK_M4): New macro, almost identical
1635 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
1637 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
1638 `expout' as the last parameter.
1639 * tests/tools.at: Adapt to the above change.
1641 2006-06-04 Stepan Kasal <kasal@ucw.cz>
1643 * doc/autoconf.texi (Limitations of Usual Tools): Correct
1644 information about race-free implementations of mkdir.
1646 2006-06-04 Eric Blake <ebb9@byu.net>
1648 * bin/autoreconf.in (help): Document M4 environment variable.
1649 * bin/autoconf.as (Usage): Likewise.
1650 * bin/autom4te.in (help): Likewise.
1651 * doc/autoconf.texi (autom4te Invocation): Likewise.
1653 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
1655 * NEWS: GNU make now recommended for VPATH builds.
1656 Mention that some macros are now documented to be obsolescent.
1657 * doc/autoconf.texi:
1658 Prefer "current" to "modern" to describe
1659 currently-used (albeit perhaps old-fashioned) hosts.
1660 Mention which ancient features no longer need to be worried about.
1661 setgid -> set-group-ID
1662 setuid -> set-user-ID (these are the Posix terms)
1663 Fix some misuses of "only".
1664 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
1665 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
1666 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
1667 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
1668 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
1669 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
1670 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
1671 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
1672 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
1673 Mention that these macros are obsolescent.
1674 (Installation Directory Variables): shall -> should
1675 (File Descriptors): Mention that 0, 1, 2 might get reopened.
1676 Mention that it's now safe to use 3 and 4.
1677 (Limitations of Usual Tools): cp -r is now specified by Posix.
1678 Omit longwinded and obsolescent discussion of cp -f.
1679 Modernize discussion of expr, ls.
1680 (Limitations of Make): Modernize discussion of VPATH builds.
1681 Mention $? as a workaround in some cases.
1682 * doc/install.texi (Basic Installation):
1683 Mention "./configure; make; make install" first. Be more
1684 specific about why this file is generic. Remove unnecessary
1685 parens. Remove misleading "only". Remove obsolete advice
1686 about csh. Don't say "configure" takes awhile; say it
1687 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
1688 and CC=c99 rather than CC=c89, as these are blessed by current
1689 Posix. Recommend GNU make if doing a VPATH build.
1691 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
1693 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
1694 examples involving shell prompts.
1696 2006-06-02 Stepan Kasal <kasal@ucw.cz>
1697 and Paul Eggert <eggert@cs.ucla.edu>
1699 * doc/autoconf.texi (Here-Documents): Add details about the
1700 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
1701 use "here-documents" instead of "here documents".
1703 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1705 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
1707 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
1709 * doc/autoconf.texi (File System Conventions): Warn about ":"
1710 anywhere in directory names.
1712 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
1714 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
1715 about quoting the case statement, just in case.
1716 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
1717 was fixed in ksh93g; reported by Ralf Wildenhues.
1719 2006-05-31 Stepan Kasal <kasal@ucw.cz>
1721 * doc/autoconf.texi (System Services): Do not document
1722 overriding EXEEXT via ac_cv_exeext=ext.
1723 (Particular Programs) <AC_PROG_MKDIR_P>:
1724 Document that ${MKDIR_P} understands --.
1725 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
1728 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1730 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
1731 argument with leading hyphen. Problem reported by Paul Eggert.
1733 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
1735 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
1736 about quoting ac_try: quote all of it, if any of it seems suspicious.
1737 This means we don't have to worry about ${ or sed any more.
1738 Also, double-quote the case statement, to work around misuses via
1739 underquoting as reported by Ralf Wildenhues in
1740 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
1741 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
1742 undocumented and dangerous macro.
1743 Problem reported by Ralf Wildenhues in
1744 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
1746 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1748 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
1749 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
1750 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
1752 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
1754 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
1755 since evidently some packages rely on the old, broken behavior.
1756 Problem reported by Ralf Wildenhues in
1757 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
1758 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
1759 pre-2006-05-26 definitions, but leave in the comments that
1760 these macros are dangerous and should not be used.
1761 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
1762 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
1763 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
1764 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
1765 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
1767 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
1769 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
1770 the use of 'tr', since this is our only use of 'tr'.
1772 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1773 and Paul Eggert <eggert@cs.ucla.edu>
1775 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
1776 Don't assume 'grep' works on long lines, since AIX grep doesn't.
1778 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1780 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
1781 the output file in the `${datarootdir}' test.
1783 2005-05-28 Stepan Kasal <kasal@ucw.cz>
1784 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1786 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
1787 mention of `datarootdir' in the input file(s), but literal
1788 `${datarootdir}' in the output file, and we haven't warned yet,
1789 then warn as well: the user may have (erroneously) used
1790 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
1791 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
1792 * tests/torture.at (datarootdir workaround): Extend this test.
1795 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1796 and Paul Eggert <eggert@cs.ucla.edu>
1798 * doc/autoconf.texi (autoheader Invocation): The first argument to
1799 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
1800 alternatives and clear up the language a bit.
1802 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
1804 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
1805 ac_config_guess, ac_config_sub, ac_configure.
1806 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1807 Fix typo that prevented an unnecessary space from being removed.
1808 Problems reported by Ralf Wildenhues in:
1809 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
1811 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
1813 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
1814 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
1815 Don't use the term "thread-safe" to talk about mkdir race
1816 conditions, since the problem is more a process than a thread
1817 issue. Problem reported by Stepan Kasal in:
1818 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
1819 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
1820 the test for 'install' more closely. Look at MKDIR_P first.
1821 Look in the PATH, and at /opt/sfw/bin.
1822 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
1823 Don't bother to try mkdir -p, since we already check mkdir --version;
1824 just look at the version number. (There's no easy way to check
1825 for race-free implementations.)
1826 * tests/tools.at (autoconf: subdirectories): Adjust to above
1827 changes, since MKDIR_P now might end in "/mkdir -p".
1829 * doc/autoconf.texi (autoheader Invocation): Mention that the
1830 first arg of AC_DEFINE_UNQUOTED must be a literal.
1831 Problem reported by Ben Pfaff in
1832 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
1834 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
1835 * doc/autoconf.texi (Special Chars in Variables): New section.
1836 (Preset Output Variables): Warn about special chars in CPPFLAGS.
1837 (Installation Directory Variables): Quote $(datadir) better.
1838 (Limitations of Builtins): Describe some of eval's trickiness.
1840 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
1841 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
1842 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
1843 in front of every arg, not just trailing args. Quote apostrophes.
1844 (_AC_EVAL_ECHO): New macro.
1845 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
1846 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
1848 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
1849 exposed by quoting of eval argument. Put the command on line line
1851 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
1852 (_AC_PATH_X, AC_PATH_X): Quote more safely.
1853 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
1854 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
1855 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
1856 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
1857 Use eval more safely.
1858 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
1859 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
1861 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
1862 lines, exposed by quoting of eval argument.
1864 2006-05-26 Stepan Kasal <kasal@ucw.cz>
1865 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1867 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
1868 initialization of `ac_cv_exeext', do not override it if it was
1869 already set, unless it was set to `no', for compatibility with
1870 Autoconf-2.13, and comment this.
1871 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
1872 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
1873 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
1874 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
1875 Document that this test may be overridden by setting
1878 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1880 Revert these two patches:
1882 2006-04-06 Eric Blake <ebb9@byu.net>
1883 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1884 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
1887 2006-04-01 Stepan Kasal <kasal@ucw.cz>
1888 Clean up _AC_COMPILER_EXEEXT* macros.
1889 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
1890 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
1891 ac_file to the name of the default output file and call
1892 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
1893 initial `rm' of the candidate files...
1894 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
1895 the same list in subsequent `rm' calls, and for the temporary
1896 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
1897 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
1898 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
1899 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
1900 no longer needed) by libtool. Make it a cache check.
1901 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
1902 copied here by mistake.
1903 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
1904 _AC_COMPILER_EXEEXT.
1905 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
1906 _AC_COMPILER_OBJEXT directly.
1907 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1909 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1911 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
1912 Fix description of how the buggy `sed' works.
1914 2006-05-25 Noah Misch <noah@cs.caltech.edu>
1918 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
1919 ENOLCK. Only mention `make -j' when applicable. Only raise
1920 fatal errors when `make -j' is involved. Improve error message.
1922 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1924 * doc/autoconf.texi (Here-Documents): We now know more about
1925 the variable expansion in here documents bug.
1926 Thanks to Tim Rice and Stepan Kasal.
1928 * doc/autoconf.texi (Making testsuite Scripts): Add an example
1929 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
1931 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1933 * tests/autotest.at (Multiline command from M4 expansion):
1934 No failure to be expected if the shell quotes newlines in
1935 commands in the `set -x' output. Report by Tim Rice.
1938 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
1940 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
1941 expansion in the here-documents used by config.status, as that
1942 runs afoul of the Korn shell version M-12/28/93d bug described in
1943 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
1944 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
1945 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
1947 2006-05-23 Jim Meyering <jim@meyering.net>
1949 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
1950 Fix typo introduced with 2006-04-02 change. It reversed the sense
1953 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
1955 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
1956 ac_dB slightly, to save bytes in the script.
1957 Max out at 50 lines, rather than 96; this is more likely
1958 (though not guaranteed) to avoid obscure 'sed' failures.
1960 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1962 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
1963 `tr -d -' as bad option argument. Work around this by deleting
1964 an unrelated character.
1965 Report by Tim Rice <tim@multitalents.net>.
1967 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
1968 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
1969 Stepan Kasal <kasal@ucw.cz>
1971 * doc/autoconf.texi (Particular Programs): Do not promise that
1972 we always prefer the GNU version of the program, and that we
1973 search according to PATH; both rules can have exceptions.
1974 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
1975 AC_PROG_SED. Move descriptions of limitations
1976 to the Limitations of Usual Tools section.
1977 (Limitations of Usual Tools) <sed>: Mention script length
1978 limitations with Solaris /usr/ucb/sed.
1979 <grep>: Fix wording for empty alternative. Mention that -c and
1980 -l should not be combined, and that -E and -F should not be
1983 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
1984 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1986 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
1987 limits in Solaris 8 /usr/ucb/sed by testing a long script.
1989 2006-05-22 Stepan Kasal <kasal@ucw.cz>
1991 * doc/autoconf.texi (Defining Symbols): Literal parameter of
1992 AC_DEFINE is now passed to m4_pattern_allow.
1993 * NEWS: Mention that; likewise for AC_SUBST.
1994 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
1995 the parameter to m4_pattern_allow.
1996 * tests/tools.at: Add a check for that.
1998 2006-05-22 Stepan Kasal <kasal@ucw.cz>
2000 * lib/autoconf/status.m4: Fix typos.
2002 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2004 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2005 only the files that this macro generates.
2007 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2009 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
2010 the HP-UX sed limitation of 99 commands, labels do not count.
2011 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
2013 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
2015 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
2017 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
2018 Import the following fix from coreutils:
2020 2006-01-13 Jim Meyering <jim@meyering.net>
2022 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
2023 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
2024 not double-quote uses of that variable, to accommodate the rare
2025 case in which getmntent is available in none of the libraries
2026 checked. This happens at least on FreeBSD 5.0.
2028 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
2030 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
2031 ac_config_guess, ac_config_sub, and ac_configure, since evidently
2032 some other programs unwisely rely on these undocumented vars.
2033 But put in warning comments about them.
2034 Problem reported by Ralf Wildenhues in
2035 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
2036 * NEWS: Document that these variables are intended to go away.
2038 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2040 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
2041 and set the language to C++ (analogous to the equivalent Fortran
2044 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
2045 * doc/autoconf.texi (C++ Compiler): Document it.
2046 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
2049 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
2051 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
2052 that caused config.status to generate 100-command sed scripts; the
2053 portable limit is 99.
2055 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2057 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
2058 variable `ac_d' instead of `d' to avoid infringing namespace.
2059 Report by Ralf Menzel.
2061 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
2063 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
2064 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
2065 * tests/tools.at (autoconf: subdirectories): New test, taken from
2066 the corresponding problem report by Ralf Wildenhues in:
2067 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
2069 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
2070 Quote some uses of shell variables if they might suffer unexpected
2071 globbing. This doesn't fix all instances of quoting problems that
2072 I found, just the easy ones that look safe.
2073 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
2074 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
2075 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
2076 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
2077 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
2078 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2079 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
2081 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
2082 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
2084 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2086 * bin/autoreconf.in ($help): Reword according to the manual.
2087 Suggested by Olly Betts.
2089 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
2090 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2092 * bin/autoreconf.in: Pass the directory argument to
2093 `require_configure_ac'. Fix comment.
2094 * tests/torture.at (Configuring subdirectories): Expose this.
2095 Reported by Olly Betts.
2097 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2099 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
2100 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
2101 Automake as follows:
2103 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
2104 `$configure_in' instead of `configure.in', to preserve
2105 directory component.
2107 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2109 * config/config.guess, config/config.sub, config/texinfo.tex,
2110 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
2112 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
2114 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
2115 test for C99 conformance; (bool) 0.5 is an integer constant
2116 expression, but (bool) -0.5 is not. Problem reported by Fedor
2117 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
2119 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
2121 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
2122 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
2123 Warn about obsolete install-sh files. Remove stray sentence
2124 fragment and fix cross reference.
2125 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
2126 install -d; this undoes the 2006-05-10 change.
2127 (MKDIR_P): Mark with AN_MAKEVAR.
2128 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
2129 that we don't require $INSTALL to be thread-safe. Move comments
2130 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
2131 of AC_PROG_INSTALL. Output a message saying that we're checking
2132 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
2133 MKDIR_P instead of AC_SUBST.
2134 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
2135 Special magic for MKDIR_P, too.
2136 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
2138 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
2140 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
2142 Sync from Automake, as follows:
2144 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2145 * config/install-sh: Initialize IFS, so field splitting isn't
2147 * config/mkinstalldirs: Likewise.
2148 * config/missing: Remove superfluous quotes. Replace all uses of
2149 `[' by `test', for consistency, and for..
2150 * config/missing (sed_minuso, sed_output): New variables.
2151 (autom4te, help2man, makeinfo): Use them. Unifies detection of
2152 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
2153 Fixes `missing' to detect `--output' for help2man. Fixes
2154 PR automake/483. Report by Dennis J. Linse.
2155 (autom4te): Document in `missing --help'.
2157 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
2159 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
2160 * config/install-sh: Don't use 'path' to talk about file names,
2161 as per GNU coding standards. Close a race condition reported by Ralf
2162 Wildenhues and Stepan Kasal. There is still a race condition
2163 on hosts that predate Posix 1003.1-1992, but we can't help this.
2164 Don't mishandle weird characters like space on pre-Posix hosts.
2165 Invoke mkdir at most once per dir arg on pre-Posix hosts.
2166 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
2167 AC_PROG_MKDIR_P from AS_MKDIR_P.
2168 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
2169 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
2170 earlier editions are not (including Automake 1.8.3).
2171 Do not suggest mkinstalldirs for thread-safety.
2172 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
2173 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
2174 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
2175 presence of special characters and race conditions.
2176 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
2177 in Autoconf's name space.
2179 2006-05-10 Bruno Haible <bruno@clisp.org>
2180 and Paul Eggert <eggert@cs.ucla.edu>
2182 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
2183 from Automake with minor changes.
2184 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
2186 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
2188 * config/install-sh: Update to Automake CVS version, as follows:
2189 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2190 * lib/install-sh: Simplify the expr implementation of dirname.
2191 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
2192 * lib/install-sh: Handle --, and diagnose unknown options.
2194 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2196 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
2197 `./autom4te' to create `./testsuite', since the `all' target
2198 will ensure its presence, but `installcheck' should not create
2199 the uninstalled wrappers.
2201 * tests/torture.at (Unusual Automake input files): Skip if we
2202 detect automake < 1.8.
2204 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2206 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
2207 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
2208 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
2211 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2213 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
2214 munge (multiple) white space and other oddities.
2215 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
2216 single quotes in variable assignment.
2217 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
2218 and similar failures by adding multiple spaces, tabs, and other
2220 Report and different test suggested by Francesco Romani
2221 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
2223 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
2224 single quotes, we only need to search for single quotes; this
2225 both simplifies the search pattern, and makes us less
2226 susceptible to `echo' variations for arguments not containing
2228 (_AC_ARG_VAR_VALIDATE): Likewise.
2230 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2232 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
2233 `$*' and IFS concatenation issue with traditional shells and
2234 bash-2.04. Report by Seanster@Seanster.com.
2236 2006-05-03 Bruno Haible <bruno@clisp.org>
2238 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
2239 precisely which Mac OS X versions have the od problem.
2241 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
2243 * doc/autoconf.texi: Use @option systematically.
2245 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
2246 and Bruno Haible <bruno@clisp.org>
2248 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
2250 (Integer Overflow): Mention the special case of integer division
2253 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2255 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
2256 traditional shells like the Solaris one that do not use the
2257 first IFS character for assembling `$*'.
2258 Prompted by a related report from autoconf_bug@nro.ca.
2260 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
2261 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2263 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
2264 Mention more problems with the -e option.
2266 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2269 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
2271 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
2272 in URLs to improve DVI formatted output (requires texinfo 4.6).
2273 (System Services, Systemology, Shellology): Likewise.
2274 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
2277 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
2279 (Runtime): Fix macro argument names to match description:
2280 `action-if-found' -> `action-if-true' and similarly.
2281 (Obsolete Macros): Likewise.
2282 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
2283 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
2284 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
2286 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2288 * doc/autoconf.texi (Limitations of Make): Clean up markup.
2291 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
2294 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2296 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
2297 /bin/sh set unsorted output.
2298 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
2299 * tests/local.at: Likewise.
2301 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
2303 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
2304 (Integer Overflow, Null Pointers, Buffer Overruns):
2305 (Floating Point Portability, Exiting Portably): New sections.
2306 (Writing Test Programs): Fix some langauge. Recommend exiting
2307 with status 1, not merely nonzero. Clarify exit declaration.
2308 (Run Time): Move C exit status stuff to new Exiting Portably section.
2309 (Systemology): Mention Posix and levenez. Update v7 reference.
2310 (Portable Shell): Mention the Posix shell.
2312 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2314 * bin/autoconf.as (me): Replace by as_me.
2316 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
2318 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
2319 since as_me isn't set yet.
2321 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
2323 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
2324 a few minor bugs in this area.
2326 * doc/autoconf.texi (Programming in M4sh): Comment out the
2327 documentation of AS_BASENAME, for now.
2328 (Shell Substitutions): Do not use AS_DIRNAME in an example.
2329 (Limitations of Builtins) <basename>: Do not refer to
2331 * bin/autoconf.as (me): Don't use AS_BASENAME.
2332 (dir): Remove the unused variable.
2333 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
2334 AS_DETECT_REQUIRED. All uses changed.
2335 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
2337 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
2338 (AS_BASENAME): Use "basename --" to protect against leading "-".
2339 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
2340 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
2341 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
2342 (_AS_DIRNAME_PREPARE): Likewise.
2343 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
2344 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
2345 (AS_DIRNAME): Use "dirname --".
2347 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
2349 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
2350 of "run time" and "run-time" changed to "runtime", for consistency.
2351 * lib/autoconf/fortran.m4: Likewise (in comment).
2352 * lib/autoconf/functions.m4: Likewise.
2353 * lib/autoconf/general.m4: Likewise.
2354 * lib/autoconf/headers.m4: Likewise.
2356 * doc/autoconf.texi (Run Time): Document the exit status situation
2357 with more accuracy and detail.
2359 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2361 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
2362 Archive is not officially `GNU' any more. Update URL.
2363 (Defining Directories): Likewise
2364 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
2366 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2368 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
2369 newline from the `trap' code to finish `config.log'; the NetBSD
2370 /bin/sh resets the exit status after an empty command, as
2371 documented in doc/autoconf.texi.
2372 Reported by Dalibor Topic <robilad@kaffe.org>.
2374 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
2376 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
2377 Suggested by Bruno Haible.
2379 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
2381 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
2382 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
2383 Instead, just list the shells that we know work.
2384 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
2385 changed. Be more cautious about the _cv_ variable.
2386 * tests/tools.at (Syntax of the shell scripts): Check the
2387 _cv_ variable once, at first, to avoid an internal autoconf error
2388 when sh -n does not work.
2390 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2392 * lib/Autom4te/FileUtils.pm: Sync from Automake.
2394 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
2396 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
2397 use ">&-" since we're only 99.999% sure that this is portable,
2398 and since the MinGW bug is fixed in a different way.
2399 * lib/autotest/general.m4 (AT_INIT): Likewise.
2401 2006-04-16 Stepan Kasal <kasal@ucw.cz>
2403 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
2404 before opening config.log, to avoid hitting a bug on MinGW.
2406 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
2408 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
2409 AS_MESSAGE_LOG_FD before reopening it onto the log file.
2410 This works around a MinGW bug reported by Eric Paire.
2411 Make sure that all writes to the log file append to it,
2412 rather than possibly losing data.
2413 * lib/autotest/general.m4 (AT_INIT): Likewise.
2415 2006-04-14 Stepan Kasal <kasal@ucw.cz>
2417 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
2420 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2424 * configure.ac (AC_INIT): Bump to 2.59d.
2426 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2430 * Makefile.maint (news-date-check): Do not require a leading `*'
2431 before the release date in NEWS.
2433 2006-04-12 Stepan Kasal <kasal@ucw.cz>
2434 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2436 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
2437 the instantiated file do not contain the string 'datarootdir'
2438 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
2439 @mandir@, replace the reference '${datarootdir}' by the value.
2440 * tests/torture.at (datarootdir workaround): New test.
2441 * NEWS: Advertise this temporary fixup.
2442 Based on a patch by Bruno Haible, reported and analyzed by
2443 Paul Eggert and Noah Misch.
2445 2006-04-12 Eric Blake <ebb9@byu.net>
2447 * tests/autotest.at (Debugging a failed test): Fix comment.
2449 2006-04-12 Stepan Kasal <kasal@ucw.cz>
2451 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
2452 all the changes since 2006-04-07.
2454 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2456 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
2457 succeeded, but `ln -s file dir' failed, take care to remove the
2458 leftover target before the next test, to prevent its spurious
2459 failure; also make sure `ln file dir' works before selecting it.
2460 Thanks to Keith Marshall for pointing this out.
2463 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
2464 assignments in `at_debug_args', so that we put them correctly
2465 in the `run' script.
2466 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
2467 Reported by Eric Blake.
2469 2006-04-11 Eric Blake <ebb9@byu.net>
2471 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
2472 top-level tests after micro-suite has been run. Used in...
2473 (Debugging a successful test, Debugging script and environment),
2474 (Debugging a failed test): ...these new tests. The first of these
2476 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
2477 macro, split out from...
2478 (AT_INIT): ...here, so that using -d also generates a run script.
2479 Document that -d inhibits top-level logging.
2480 * doc/autoconf.texi (testsuite Invocation): Document that -d only
2481 inhibits top-level logging; debug scripts are created.
2483 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
2485 * tests/autotest.at (Empty test, Empty check): New test to check it.
2487 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
2490 2006-04-10 Stepan Kasal <kasal@ucw.cz>
2492 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
2493 the files if a problem appears. Make the empty *.at files
2494 read-only, too. Proposed by Ralf Wildenhues.
2496 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2498 * config/Makefile.am: Add comment to force updated Makefile.in.
2500 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
2501 space only patch to this file, this patch causes the Makefile.in
2502 files that include freeze.mk to be updated, and thus have a
2503 newer time stamp again, which in turn makes a pristine CVS
2504 checkout have correct time stamps.
2506 * Makefile.maint (cvs-sv): New macro, to be used..
2507 (config.guess-url_prefix, config.sub-url_prefix)
2508 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
2509 point to CVS text checkout of Gnulib files.
2510 (copyright-check): Bump current year.
2511 (announcement): Do not hard-wire `./announce-gen'.
2512 (cvs-update): Propagate failures of `cvs' and `move-if-change'
2514 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
2516 (wget_files): Update config.guess, config.sub, texinfo.tex by
2517 `wget-update', now that their URLs work again.
2519 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
2521 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
2522 Problem noted by Paul D. Smith.
2524 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2526 * doc/autoconf.texi: Remove unused words from word list.
2527 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
2528 .x-sc_trailing_space: New files.
2530 * doc/standards.texi: Sync from gnulib.
2532 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
2533 `LIBOBJDIR' as experimental.
2535 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
2536 with a target directory; it's internally implemented as `cp'
2537 anyway, but since Autoconf advertises the possibility to use
2538 a target directory when LN_S is `ln -s', we need to find out.
2539 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
2540 analyzed by Keith Marshall <keith.marshall@total.com>.
2544 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
2546 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
2547 confdefs.h as-is. In general, if it has backslash-newline or the
2548 like, then it doesn't work either to sort or to remove empty
2551 2006-04-09 Stepan Kasal <kasal@ucw.cz>
2553 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
2555 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
2557 * lib/autom4te.in (Automake-preselections): Preselect
2560 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
2562 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
2563 apostrophe within a single-quoted string, as this is the usual
2564 tradition and is easier to read than '"'"'. Don't rely on the
2565 shell treating "$/" like '$/'. Use a more-consistent indenting
2568 2006-04-09 Eric Blake <ebb9@byu.net>
2570 * tests/autotest.at (Backquote command substitution),
2571 (Multiline backquote command substitution): Remove mistaken
2572 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
2574 (Parenthetical command substitution, Multiline parenthetical
2575 command substitution): here.
2577 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
2579 Import macros from gnulib (often changing their name).
2581 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
2582 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
2583 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
2584 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
2585 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
2586 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2587 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
2588 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
2589 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
2590 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
2591 The manual mentions Gnulib more prominently.
2592 * doc/autoconf.texi (Gnulib): New node.
2593 (Pointers): Add Gnulib URL.
2594 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
2595 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
2597 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
2598 suggest a #define rather than a typedef for _Bool, and mention
2599 Gnulib rather than trying to substitute stdbool code.
2600 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
2601 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
2602 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
2603 AC_STRUCT_DIRENT_D_TYPE.
2604 (Particular Types): Mention stdint.h and inttypes.h as standard
2606 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2607 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
2608 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
2609 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
2610 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
2611 (C Compiler): Move AC_C_LONG_DOUBLE to ...
2612 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
2613 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
2614 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
2615 (Coding Style). Don't mention m4_expand_once.
2616 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
2617 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
2618 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
2619 (AC_CHECK_FUNCS): Use it.
2620 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
2621 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
2622 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
2623 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
2624 (AC_HEADER_ASSERT): New macro.
2625 (AC_HEADER_STDBOOL): Don't assume "#error" works.
2626 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
2627 Catch a bug in an HP-UX C compiler.
2628 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
2629 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
2630 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
2631 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
2632 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
2633 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
2636 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
2637 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
2639 2006-04-08 Stepan Kasal <kasal@ucw.cz>
2641 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
2642 of the warning introduced by the 2001-08-28 change.
2644 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
2645 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2647 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
2648 variables shall be overriden by the cache.
2649 * tests/torture.at (AC_ARG_VAR): Test also with a first value
2650 that contains braces.
2652 2006-04-07 Stepan Kasal <kasal@ucw.cz>
2654 Revert the patch from 2006-04-01 and only improve
2655 _AS_DETECT_BETTER_SHELL:
2657 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
2658 skip nonexistent directories.
2659 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
2660 only shell candidates which exist.
2661 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
2662 * lib/autotest/general.m4 (AT_INIT): No need to give three
2663 parameters to _AS_PATH_WALK.
2665 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
2666 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2668 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
2669 distinguish m4sugar macros.
2670 * tests/tools.at (autoupdating with aclocal and m4_include):
2671 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
2672 test case by Noah Misch <noah@cs.caltech.edu>.
2674 2006-04-07 Stepan Kasal <kasal@ucw.cz>
2676 Revert my change from 2006-03-17, in other words:
2677 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
2679 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
2680 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
2683 2006-04-07 Eric Blake <ebb9@byu.net>
2685 * doc/autoconf.texi (Programming in M4sh): Document that
2686 AS_MKDIR_P exits the script on failure.
2687 * lib/autotest/general.m4: Remove redundant AS_ERROR.
2689 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2691 * config/elisp-comp, config/install-sh, config/mdate-sh,
2692 config/missing, config/mkinstalldirs: Sync from Automake.
2694 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
2697 * doc/make-stds.texi: Sync from gnulib.
2699 2006-04-06 Eric Blake <ebb9@byu.net>
2701 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
2702 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
2705 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
2706 Eric Blake <ebb9@byu.net>,
2707 Paul Eggert <eggert@cs.ucla.edu>,
2708 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2710 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
2711 whether `set' quotes correctly: redirect stderr of the tested
2712 `set', and use a subshell, for Ultrix; use `sed' instead of
2713 `grep' for zsh `set' which may write binary output; match only
2714 at the beginning of a line, to avoid false positives.
2715 In order to avoid false positives by unrelated variables with
2716 multiline content, put the dump algorithm in a subshell and
2717 unset all variables containing newlines (except some which are
2718 special to the shell). Warn about cache variables that are
2721 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2723 * config/config.guess, config/config.sub, config/texinfo.tex:
2726 * tests/mktests.sh: Reword comments.
2728 * tests/mktests.sh: Only skip internal macros starting with
2729 `_AC_' or `__AC_'. Noted by Stepan Kasal.
2730 Update exclusion lists for the test suite to this end:
2731 (AC_ARG_VAR): Do test this now.
2732 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
2733 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
2734 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
2735 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
2737 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
2738 shell issue with double-quoted command substitutions of native
2740 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
2743 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
2744 no file matches the glob, discard the warning, set `nullglob'.
2745 (syntax-check): Likewise.
2746 (sc_cast_of_x_alloc_return_value): Likewise.
2747 (sc_cast_of_alloca_return_value, sc_error_exit_success)
2748 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
2749 (m4-check): Likewise.
2750 (sc_system_h_headers): Do not print rule on execution.
2751 (sc_tight_scope): Do not fail for non-existing `src' directory.
2752 (sc_changelog): Skip the Copyright footer.
2753 * lib/autoconf/lang.m4: Remove trailing space.
2755 * lib/autoconf/status.m4: More replacements to
2756 <tab><space> where this makes sense.
2758 2006-04-06 Stepan Kasal <kasal@ucw.cz>
2760 * tests/Makefile.am (maintainer-check-posix):
2761 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
2763 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
2764 ac_config_<foo>s again, sometimes normalized, sometimes not.
2765 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
2766 (AC_CONFIG_COMMANDS): Do not do so here.
2767 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
2768 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
2769 2005-07-25 rewrite. Noticed by Noah Misch.
2771 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
2772 _AC_PRESERVE_HELP_ORDER, ...
2773 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
2775 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
2776 inside m4_expand_once; it is redundant.
2778 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
2779 for --help from Cygnus `configure.'
2781 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
2783 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
2784 on a patch proposed by Ralf Wildenhues.
2786 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
2788 * lib/autoconf/status.m4: Replace <space>''<tab> with
2789 <tab><space> where this makes sense.
2791 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
2792 Noah Misch <noah@cs.caltech.edu>
2794 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
2795 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
2796 * doc/autoconf.texi (Help Formatting): New node.
2797 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
2799 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2801 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
2802 lib/autoconf/specific.m4, lib/autoconf/status.m4,
2803 lib/autoconf/types.m4, lib/autotest/general.m4,
2804 tests/mktests.sh, tests/torture.at: White space cleanup:
2805 remove some SPACE before TAB, or add quoting ('' or @&t@).
2807 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
2809 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
2811 2006-04-05 Eric Blake <ebb9@byu.net>
2813 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
2814 empty test suite works.
2815 * tests/autotest.at (Empty test suite): Remove xfail.
2817 2006-04-05 Noah Misch <noah@cs.caltech.edu>
2819 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
2820 TAGS to ac_config_<foo>s.
2821 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
2822 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
2823 normalizing it, consistent it with previous releases.
2824 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
2826 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
2828 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
2829 Use simplified args that Eric Blake originally suggested.
2831 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
2833 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
2834 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
2835 Use 'comm' rather than N instances of grep; this also fixes a bug
2836 whereby substrings were incorrectly matched, causing us to not
2837 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
2838 (exclude_list): Exclude empty macros.
2839 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
2841 Use awk rather than grep -E or egrep, to avoid
2842 portability problems with regular expressions containing newlines.
2843 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
2844 Switch from grep to awk syntax.
2845 (ac_exclude_script): Renamed from ac_exclude_egrep.
2846 (au_exclude_script): Renamed from au_exclude_egrep.
2848 2006-04-04 Noah Misch <noah@cs.caltech.edu>
2850 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
2851 a subdirectory subject to Cygnus `configure'.
2852 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
2854 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
2855 report request when we have no AC_PACKAGE_BUGREPORT.
2857 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2861 * tests/mktests.sh: Update copyright year in the header of the
2864 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
2865 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
2866 typedef'ed restricted pointer, to catch a compiler bug on
2867 HP-UX 11.x, and fix warnings so it passes with -Werror.
2868 (_AC_PROG_CC_C99): Likewise.
2869 Reported by Albert Chin <china@thewrittenword.com>.
2870 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
2872 2006-04-03 Noah Misch <noah@cs.caltech.edu>
2874 * bin/autoscan.in (subdirs): New global.
2875 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
2876 (output): Emit AC_CONFIG_SUBDIRS as needed.
2877 * tests/autoscan.at (autoscan): Remove XFAIL.
2879 2006-04-03 Noah Misch <noah@cs.caltech.edu>
2881 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
2883 2006-04-03 Eric Blake <ebb9@byu.net>
2885 * THANKS: Add myself.
2887 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2889 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
2890 to log, point to testsuite output tree.
2892 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
2894 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
2895 * doc/autoconf.texi (Function Portability): Mention that C++
2896 has trouble with 'exit'.
2897 (Guidelines): Test programs shouldn't use 'exit'.
2898 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
2899 Remove; all uses removed.
2900 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
2901 Return from 'main' instead of calling 'exit'.
2902 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
2903 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
2904 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
2905 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2906 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
2907 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2908 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
2909 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
2910 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2911 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
2912 * tests/compile.at: Likewise.
2914 2006-04-02 Pavel Roskin <proski@gnu.org>
2916 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
2918 2006-04-01 Stepan Kasal <kasal@ucw.cz>
2920 Clean up _AC_COMPILER_EXEEXT* macros.
2922 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
2923 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
2924 ac_file to the name of the default output file and call
2925 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
2926 initial `rm' of the candidate files...
2927 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
2928 the same list in subsequent `rm' calls, and for the temporary
2929 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
2930 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
2931 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
2932 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
2933 no longer needed) by libtool. Make it a cache check.
2934 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
2935 copied here by mistake.
2936 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
2937 _AC_COMPILER_EXEEXT.
2938 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
2939 _AC_COMPILER_OBJEXT directly.
2940 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2942 2006-04-01 Stepan Kasal <kasal@ucw.cz>
2944 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
2945 (AS_DIRNAME): Use it.
2946 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
2948 * tests/*.at: Remove the generated ones.
2950 2006-04-01 Stepan Kasal <kasal@ucw.cz>
2952 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
2954 2006-04-01 Eric Blake <ebb9@byu.net>
2956 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
2957 directories, unless optional third argument supplied.
2958 (AS_UNAME): Don't optimize PATH walk.
2960 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
2962 2006-04-01 Eric Blake <ebb9@byu.net>
2963 and Stepan Kasal <kasal@ucw.cz>
2965 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
2968 2006-04-01 Noah Misch <noah@cs.caltech.edu>
2970 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
2971 Autoconf version number despite a zero- or one-argument AC_INIT.
2973 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
2975 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
2976 * doc/autoconf.texi (autoreconf Invocation): Document it.
2978 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
2979 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
2981 2006-04-01 Eric Blake <ebb9@byu.net>
2983 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
2984 * lib/autotest/general.m4: Be tolerant of existing directory when
2985 rm failed to remove it.
2987 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2989 * bin/autoupdate.in: Redefine m4_location so that warnings print
2990 the correct lines of the input file by subtracting..
2991 (_au__first_line): ..this new definition.
2993 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
2994 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
2995 Remove stray newline in output.
2996 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
2997 AC_DEFUN this for autoconf, including the obsoletion diagnose.
2998 Fixes autoupdating of code where the replacement output contains
3000 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
3001 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
3002 (au_exclude_list): Add AC_LANG_SAVE.
3003 * tests/tools.at: Several new tests for all of this.
3004 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
3006 The AC_LANG_SAVE issue was reported against Libtool by
3007 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
3008 Kristian Kvilekval <kris@cs.ucsb.edu>.
3010 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3012 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
3013 switch all of them on and of when necessary. Fixes the bug when
3014 m4sugar macros (e.g., m4_define) were expanded after the first
3015 automatic update (e.g., after AC_PREREQ or AC_INIT).
3017 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
3019 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
3020 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
3022 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
3023 correctly. Problem reported by Eric Blake.
3024 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
3027 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
3029 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
3030 Tighten up the basename/dirname wording.
3032 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3034 * Makefile.maint (sc_texi_notab): New check: do not use TABs
3035 in texinfo files outside of verbatim environments.
3036 (syntax-check-rules): Update.
3037 * doc/autoconf.texi (Configuration Headers): Conform to it.
3039 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
3041 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
3042 aclocal cannot be given on the command line.
3044 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
3046 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
3047 Give an example for AS_DIRNAME instead of referring to Posix..
3048 (File System Conventions): Put discussion of // versus / here, and
3050 (Limitations of Usual Tools): Add basename. Remove verbiage
3051 after dirname, since it got moved to the above sections.
3052 All this was inspired by a patch proposed earlier by Eric Blake.
3054 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3056 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
3057 `$0' to protect against spaces.
3058 * lib/autotest/general.m4 (AT_INIT): Likewise.
3059 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
3062 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3064 * bin/autoscan.in: The value of find_configure_ac should be
3065 checked for existence, so we don't barf over a nonexisting
3066 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
3068 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3070 * bin/autoupdate.in: Fix some typos.
3072 2006-03-21 Stepan Kasal <kasal@ucw.cz>
3074 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
3076 * lib/autoscan/autoscan.list: Refreshed.
3078 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3080 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
3081 and Erlang related variables.
3083 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
3084 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
3085 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
3086 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
3087 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
3088 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
3089 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
3090 (_AC_PROG_OBJC_G): New macros.
3091 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
3092 * doc/autoconf.texi (Objective C Compiler): New node.
3093 (Preset Output Variables): Document OBJCFLAGS.
3094 (Language Choice): Document `Objective C' language.
3095 (Fortran Compiler): Fix typo.
3097 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
3099 2006-03-20 Stepan Kasal <kasal@ucw.cz>
3101 * doc/autoconf.texi (Default Includes): Fix typo
3102 s/AC_HEADERS_STDC/AC_HEADER_STDC/
3103 (Limitations of Usual Tools): s/unwriteable/unwritable/
3104 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
3105 Fix typos in the comments.
3107 2006-03-17 Stepan Kasal <kasal@ucw.cz>
3109 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
3110 Factor out the warning to...
3111 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
3112 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
3113 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3115 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
3116 case `ac_delim' when writing the sed script.
3118 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
3119 moved DUALCASE=1 ...
3120 (AS_SHELL_SANITIZE): ... here.
3121 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
3124 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
3126 (_AC_PATH_PROG): Store the result to VARIABLE.
3127 (AC_PATH_PROG): No need to set VARIABLE again.
3129 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
3130 the first one is usual AT_CHECK_MACRO test, the second one checks
3131 that the same works when cross-compiling.
3132 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
3133 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
3135 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3137 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
3138 the directory `/usr/bin/posix' in the shell search, to prefer
3139 the Posix shell not only in subsequent spawns as with `$BIN_SH'
3142 * doc/autoconf.texi (contents): To fix texi2html output, hide
3143 `@setcontentsaftertitlepage' for HTML.
3144 (Writing Autoconf Macros): Likewise, insert space after `@c'.
3145 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
3148 2006-03-16 Stepan Kasal <kasal@ucw.cz>
3150 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
3152 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
3153 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
3154 why IFS is restored so late; thank you, Ralf, for reminding us.
3156 2006-03-15 Stepan Kasal <kasal@ucw.cz>
3158 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
3159 variables in the examples.
3161 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3163 * doc/autoconf.texi (several sections): Cleaned up documentation for
3164 macros in erlang.m4.
3166 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3168 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
3169 failure condition for `$(cmd)' style command substitutions.
3170 (Parenthetical command substition, Multiline parenthetical
3171 command substition): Use it.
3173 * doc/autoconf.texi (Special Shell Variables): Missing word.
3174 Reported by Keith Marshall <keith.marshall@total.com>.
3176 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
3177 IFS even in case of empty `$PATH'.
3179 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3181 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
3182 `expr' away if there is nothing to do.
3183 < --keywords >: Simplify and robustify argument handling.
3184 Revert erroneous comment from 2005-08-23. Extend to allow
3185 keyword negation with `!'.
3186 Update help message. Remove broken code to prevent running
3187 tests multiple times.
3188 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
3189 Update and fix the documentation accordingly.
3190 * tests/autotest.at (Keywords): Renamed to..
3191 (Keywords and ranges): .. this. Extended to make sure negated
3192 keywords, keywords taken from AT_SETUP arguments, and numeric
3193 test ranges work, and that matching is case-insensitive.
3195 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3197 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
3198 allow to pass unnamed structs even in C++.
3199 (AC_CHECK_SIZEOF): Likewise.
3200 Also fix quoting error in `AC_MSG_FAILURE' arguments.
3201 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
3202 struct): New tests for unnamed structs, each both native and
3205 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
3206 a structure inside a cast, for C++ conformance.
3207 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
3208 Also fix quoting error in `AC_MSG_FAILURE' arguments.
3210 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
3211 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
3212 trying to execute the command `no'.
3214 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
3215 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
3218 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
3219 example. Do not emphasize `$%', it is hardly new and special.
3220 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
3222 * doc/autoconf.texi (Limitations of Usual Tools): Document
3223 OpenBSD and traditional `grep' failure to handle multiple
3224 patterns separated by newlines.
3226 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3228 * doc/autoconf.texi (several sections): Add documentation for macros
3231 2006-03-10 Eric Blake <ebb9@byu.net>
3233 * doc/autoconf.texi (Obsolete Macros): Fix wording of
3236 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
3238 * doc/autoconf.texi: Use @acronym more consistently for acronyms
3239 like BSD, GPL, LGPL. Fix minor English typos.
3240 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
3241 Mention that these macros are becoming obsolete.
3242 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
3243 Use more modern terminology for which standard is what.
3244 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
3246 (AC_PROG_CXX): Likewise.
3247 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
3248 Remove obsolete discussion about how to port to K&R.
3249 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
3250 the obsolescent AC_HEADER_STDC.
3251 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
3254 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3256 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3257 Remove stdin redirection from /dev/null to allow pipe to work.
3259 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
3261 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
3262 Require that /lib/cpp include stdio.h correctly. Solaris 10's
3263 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
3266 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3268 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
3269 HP-UX sed is 99 commands, not 100.
3270 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
3271 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
3272 newline for portability.
3273 * tests/torture.at (Torturing config.status): Also test 100
3274 AC_SUBST_FILE invocations. Fix test to actually verify the
3275 AC_CONFIG_FILES output.
3276 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
3277 command, label, and read-file `r' limits. Unify HP-UX spelling.
3279 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
3281 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
3283 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
3284 * tests/mktests.sh: Small shell portability fixes.
3286 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3288 * doc/autoconf.texi (Caching Results): Fix the examples to use a
3289 recommended quoting style and discard unwanted output.
3291 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
3293 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
3294 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
3295 cases, and to work around Tru64 expr bug.
3297 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3299 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
3300 expr bug that turns the result of a regex match into a number if
3303 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3305 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
3306 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
3307 in section `Specific Compiler Characteristics'.
3309 2006-03-04 Eric Blake <ebb9@byu.net>
3311 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
3314 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3316 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
3317 order of variable initialization, so even the Solaris 2.6 shell
3318 can create a config header correctly. Fixes lots of test suite
3321 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3323 * doc/autoconf.texi (Text processing Macros): New node to
3324 document the m4sugar macros m4_re_escape, m4_tolower,
3325 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
3327 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
3329 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
3330 XrmInitialize (0) -> XrmInitialize ().
3331 Reported by Toshio Kuratomi.
3333 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3335 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
3336 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
3337 * doc/autoconf.texi (Programming in M4sh): Adjusted.
3338 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
3339 both macros are defun'ed so that required macros are evaluated
3342 * doc/autoconf.texi (Prerequisite Macros): State more precisely
3343 where a required macro will be expanded.
3344 (Coding Style): Another reason not to use `m4_define'.
3346 2006-02-21 Eric Blake <ebb9@byu.net>
3348 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
3350 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3352 * doc/autoconf.texi (Looping constructs): New node, to
3353 document m4_for, m4_foreach, m4_foreach_w, and mention
3354 obsolete AC_FOREACH.
3355 (Obsolete Macros): Document AC_FOREACH.
3356 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
3357 (m4_for): Fix to never loop (almost) endlessly, work correctly
3358 with arithmetic expressions in arguments, a step of zero or
3359 non-integer multiple of the interval, and avoid integer
3361 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
3364 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
3366 Add basic support for Erlang, both for configuring Erlang/OTP
3367 tools, and Erlang as a conf test language.
3368 * lib/autoconf/erlang.m4: New file.
3369 * lib/autoconf/autoconf.m4: Add erlang.m4.
3370 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
3371 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
3372 * NEWS: Add short description of new macros.
3373 * THANKS: Add Romain Lenglet.
3375 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3377 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
3378 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
3380 2006-02-15 Eric Blake <ebb9@byu.net>
3382 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
3385 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3387 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
3388 (_AS_CASE): Private helper macro.
3389 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
3390 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
3391 Fix syntax of AS_IF description
3392 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
3393 for the AC_REQUIRE mess.
3394 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
3397 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
3399 * doc/autoconf.texi: Minor style cleanup.
3400 Be consistent about spaces after commas.
3401 Insert [] where empty args look a bit funny.
3402 Fix some "i.e." and "e.g." usages.
3403 Try to avoid "X/Y" usages.
3404 Don't be pedantic about "ISO C99"; just say C99.
3405 Prefer GNU style for spaces in front of parens.
3406 (Function Portability): Comment about C89 versus C99
3407 signed integer division.
3408 (Particular Headers): Use current gnulib style for dirent
3411 2006-02-14 Stepan Kasal <kasal@ucw.cz>
3412 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3414 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
3415 macros without parameters.
3416 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
3417 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
3418 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
3420 (autoupdate): Updated to match AU_ALIAS fix.
3422 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3423 and Paul Eggert <eggert@cs.ucla.edu>
3425 * doc/autoconf.texi (Programming in M4sh): Document
3426 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
3428 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3430 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
3431 (AS_BOURNE_COMPATIBLE): ..this.
3432 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
3434 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
3436 * doc/install.texi (Defining Variables): Tighten up the
3437 CONFIG_SHELL wording.
3439 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
3440 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3442 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
3443 of (set -o) rather than testing whether (set -o posix) succeeds,
3444 to work around a bug in the AIX 5.3 shell. Problem originally
3445 reportd by Howard Chu for libtool.
3447 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
3449 * doc/autoconf.texi (Running the Compiler, Running the Linker):
3450 Changes the macro arguments in summaries to match the
3453 2006-02-04 Stepan Kasal <kasal@ucw.cz>
3455 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
3456 hint as ``a workaround for a bug.''
3458 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3460 * bin/autoreconf.in: New option `--no-recursive'.
3461 Improve wording for subpackages a bit.
3462 * doc/autoconf.texi (autoreconf Invocation): Updated.
3465 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
3466 in environment of `configure', not the command line.
3467 Reported by Howard Chu <hyc@highlandsun.com>.
3469 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
3471 * doc/autoconf.texi (Limitations of Builtins): Document the
3472 problem with "trap -".
3474 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
3476 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
3477 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
3478 messages to differentiate Fortran and Fortran 77 tests.
3479 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
3480 AC_LANG_ASSERT, to allow use in mixed-language projects.
3482 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
3484 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
3485 FOO" to "defined (FOO)".
3486 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
3487 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
3488 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
3489 * tests/tools.at (ifnames): Likewise.
3491 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3493 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
3494 * lib/Autom4te/General.pm (mktmpdir): Likewise.
3495 (END): Improve error message a bit.
3496 Reported by Bruce Korb <bkorb@gnu.org>.
3498 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3500 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3501 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
3503 2006-01-11 Stepan Kasal <kasal@ucw.cz>
3505 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
3506 requires sys/stream.h. Reported by Oliver Kiddle.
3508 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3509 Stepan Kasal <kasal@ucw.cz>
3511 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
3512 before the removals of test dirs, use `find' to avoid modification
3513 of symlinked directories.
3515 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
3517 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
3518 Don't ignore the macro arguments.
3520 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
3522 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
3523 declaration that works for MSVC.
3525 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3527 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
3528 Add `*.map' and `.inf' for Green Hills compiler.
3529 Reported by Stefan Seefeld <stefan@codesourcery.com>.
3531 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
3532 correctly: pad with spaces after FIRST_PREFIX if necessary,
3533 and compute string lenghts with `m4_qlen' instead of `m4_len'.
3534 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
3535 * tests/m4sh.at (AS_HELP_STRING): Test extended.
3537 Reported by numerous people, numerous times.
3539 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
3541 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
3542 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
3543 * lib/autoconf/general.m4, lib/autoconf/status.m4:
3544 * lib/autotest/general.m4, tests/local.at:
3545 Update copyright year to 2006.
3547 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
3549 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
3550 for file names, again. Reported by Noah Misch.
3551 (Coding Style): Explain that s|a|b| is preferred for file names.
3552 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
3553 (AC_OUTPUT_MAKE_DEFS): Likewise.
3554 * lib/autotest/general.m4 (AT_INIT): Likewise.
3555 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
3556 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
3558 Fix Posix-conformance bugs re use of { command in sed scripts,
3559 and improve the sed-related documentation a bit.
3560 * doc/autoconf.texi (Installation Directory Variables): Use
3561 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
3562 rather than "sed" when talking about Sed in general.
3563 (Particular Programs): Likewise.
3564 (Coding Style): y is like s with respect to / and ,.
3565 (Limitations of Usual Tools): Document the weird restrictions
3566 that Posix has about { }. Use better quoting.
3567 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
3568 Rewrite to conform to Posix rules about { } in sed scripts.
3569 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
3570 * tests/foreign.at (Libtool): Likewise.
3571 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
3572 Use our own style advice re 's,a,b,' versus 's|a|b|'.
3574 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3576 * lib/autoconf/status.m4: Fix typo.
3578 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
3579 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
3580 `-def', for the benefit of Portland `pgf90 -Mipa'.
3581 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
3583 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
3585 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
3586 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
3587 shell from zsh to bash.
3589 2005-12-31 Stepan Kasal <kasal@ucw.cz>
3591 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
3592 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
3594 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
3596 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
3597 parentheses in $(...). Problem reported by Eric Blake.
3599 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
3601 * doc/autoconf.texi (Limitations of Usual Tools):
3602 Mention which characters can be escaped with \ in portable regular
3603 expressions used in grep, sed, expr. Mention the leading ^ problem
3604 with expr. Clean up some confusing wording. Mention which
3605 grep options are portable.
3607 2005-12-09 Stepan Kasal <kasal@ucw.cz>
3609 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
3611 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
3613 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
3614 patch, noted by Ralf Wildenhues.
3616 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3618 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
3619 posix' unconditionally, for pdksh in `native sh' emulation.
3621 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
3623 * doc/autoconf.texi (Shellology): Document eval $? problem
3625 (Limitations of Builtins): Likewise.
3627 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3629 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
3630 CONFIG_SHELL in the environment of the configure rerun.
3631 * doc/autoconf.texi (Here-Documents, config.status Invocation):
3632 Suggest passing CONFIG_SHELL absolute, and in the environment
3633 rather than as option.
3635 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3637 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3638 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
3639 Fix macro quoting. Fix output for n * 98 substituted variables.
3641 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3643 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
3644 `tmp' to avoid file removal race.
3646 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3648 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
3649 ac_clean_files and LIBOBJS.
3651 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3653 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
3654 Factor functionality to..
3655 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
3656 `AC_SUBST($1)' in the public version.
3657 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
3658 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
3661 2005-11-01 Stepan Kasal <kasal@ucw.cz>
3663 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
3666 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3668 * NEWS: Move AH_HEADER mention to right place.
3670 2005-10-27 Stepan Kasal <kasal@ucw.cz>
3672 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
3673 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3675 2005-10-25 Stepan Kasal <kasal@ucw.cz>
3677 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
3678 conftst2.$ac_objext.
3679 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3681 2005-10-24 Stepan Kasal <kasal@ucw.cz>
3683 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
3684 conftest.o, to see whether the compiler really obeys; rm the object
3685 file before and after the test and register it with ac_clean_files.
3686 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3688 2005-10-21 Stepan Kasal <kasal@ucw.cz>
3690 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
3691 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
3692 code so that the most common case requires less forks.
3694 2005-10-20 Stepan Kasal <kasal@ucw.cz>
3696 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
3697 not portable; thanks to Paul Eggert and Alexandre.
3699 * NEWS: Fix an old typo.
3701 2005-10-20 Jim Meyering <jim@meyering.net>
3703 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
3704 the latter'', in two places.
3706 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
3708 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
3709 AC_LANG_PROGRAM, fixing a typo. Don't give details about
3710 the inner workings of AC_LANG_FUNC_LINK_TRY.
3711 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
3712 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
3713 by the function rather than ignoring it.
3714 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
3715 comparing its address. Intel's interprocedural optimization was
3716 outsmarting the old heuristic. Problem reported by
3719 2005-10-19 Stepan Kasal <kasal@ucw.cz>
3721 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
3723 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
3725 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
3726 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
3728 2005-10-04 Stepan Kasal <kasal@ucw.cz>
3730 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
3731 before removing it (chmod -R u+rwx); there are three instances of this.
3733 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3734 Stepan Kasal <kasal@ucw.cz>
3736 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
3737 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
3738 make its content writable before removing it. Remove an errorneous
3739 comment from the end, where the logs of the failed tests are copied
3740 to the main log file.
3742 2005-09-27 Stepan Kasal <kasal@ucw.cz>
3744 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
3745 in case the computer is too quick. Double quote the configure.ac
3748 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
3749 problems if the testsuite were running too fast.
3751 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
3753 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
3754 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
3755 (which belong to Xt, not X itself). See Debian bug 327655.
3756 * NEWS: Mention this.
3758 2005-09-07 Stepan Kasal <kasal@ucw.cz>
3760 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
3762 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
3764 * config/move-if-change: Don't output "$2 is unchanged";
3765 suggested by Ben Elliston. Handle weird characters correctly.
3767 2005-09-06 Stepan Kasal <kasal@ucw.cz>
3769 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
3770 calls, so that the final expansion of this macro is shorter.
3771 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
3772 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
3773 the cleanup there. Use AS_VAR_* macros, to be more general.
3774 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
3776 * lib/autoconf/general.m4: Use AS_IF where appropriate.
3778 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
3780 2005-09-01 Stepan Kasal <kasal@ucw.cz>
3782 * doc/autoconf.texi (Configuration Headers): Add an index entry
3785 2005-08-26 Pavel Roskin <proski@gnu.org>
3787 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
3788 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
3791 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
3793 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3794 The previous patch didn't work, so try a better one.
3796 2005-08-26 Stepan Kasal <kasal@ucw.cz>
3798 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
3799 in the example. Reported by Bruno Haible.
3800 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
3801 "if $undefined_var;" succeeds with my shell.
3803 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
3804 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
3805 but change the m4_divert_text to m4_divert_once.
3807 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
3809 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3810 Work around bug in Solaris /usr/xpg4/bin/awk.
3811 The bug is present in at least Solaris 8 through 10.
3813 2005-08-24 Stepan Kasal <kasal@ucw.cz>
3815 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
3816 some evil values and relying on the fact that $* concatenates the
3817 parameters by the first character from IFS.
3819 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
3820 Stepan Kasal <kasal@ucw.cz>
3822 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
3823 first header appears, define AH_HEADER.
3824 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
3825 Update limitations about when to call AC_CONFIG_HEADERS.
3826 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
3827 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
3828 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
3829 ``Configuration Actions''; fix their index entries.
3831 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
3832 options correctly. Process N-M as M-N if M is smaller than N.
3833 Process ranges correctly so that N-N will run only N.
3834 Sort and uniquify the tests that will be run. If there is more
3835 than one test, reinsert the banners for the tests.
3836 * tests/autotest.at (Keywords): Unmark XFAIL.
3838 2005-08-23 Stepan Kasal <kasal@ucw.cz>
3840 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
3841 before passing the macro name to AH_TEMPLATE.
3843 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
3844 now opens log after option processing; in particular, --version
3845 and --help do not touch config.log.
3847 * Makefile.maint: Revert the change from 2005-08-12.
3849 2005-08-22 Stepan Kasal <kasal@ucw.cz>
3851 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
3853 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
3855 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3857 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
3858 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
3861 * doc/autoconf.texi (Defining Symbols, Changed Results):
3862 Prepend to LIBS, not append, in examples.
3864 2005-08-16 Stepan Kasal <kasal@ucw.cz>
3866 When building in place, set srcdir="."; suggested by Tim Van Holder.
3868 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
3869 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
3870 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
3871 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
3872 does not mean "no --srcdir option".
3874 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3876 * tests/autoscan.at (autoscan): New file.
3877 * tests/suite.at: Use it.
3878 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
3879 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
3881 * tests/autotest.at (Keywords): Test keywords combinations.
3883 2005-08-12 Stepan Kasal <kasal@ucw.cz>
3885 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
3886 add "2>&1"; gzip 1.2.4 prints help on stderr.
3888 2005-07-27 Stepan Kasal <kasal@ucw.cz>
3890 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
3891 was pushdef'ed twice while popped only once. Push it only once.
3892 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
3894 2005-07-26 Stepan Kasal <kasal@ucw.cz>
3896 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
3897 prefixed by mere "===", not "configure: === ".
3899 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
3901 * Makefile.maint: Update from Bison.
3903 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
3904 "<tab>" in comment, so that the point is understandable.
3906 2005-07-25 Stepan Kasal <kasal@ucw.cz>
3908 Rewrite substantial part of lib/autoconf/status.m4.
3909 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
3910 and CONFIG_COMMANDS are not processed in four separate loops.
3911 Instead, there is one main loop. This alows that the common code
3912 is expanded only once, thus config.status (and configure) is smaller.
3914 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
3915 the AC_LIST_FILES and cousins macros are no longer used.
3917 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
3918 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
3919 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
3920 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
3921 contain the initialization, nor the for loop, nor the associated
3922 commands; all these go to ...
3923 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
3924 _AC_OUTPUT_CONFIG_STATUS.
3925 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
3926 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
3927 (_AC_OUTPUT_FILE): The creation of the sed script ...
3928 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
3929 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
3930 _AC_OUTPUT_MAIN_LOOP.
3931 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
3932 _AC_CONFIG_COMMANDS): Use ...
3933 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
3934 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
3935 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
3936 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
3937 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
3938 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
3940 (_AC_CONFIG_UNIQUE): Update.
3941 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
3942 Replaced by this ...
3943 (_AC_LIST_TAGS): ... new common macro.
3944 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
3945 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
3946 (_AC_LIST_TAG_COMMANDS): ... new common macro.
3947 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
3948 this didn't belong to the `config commands' section.
3949 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
3950 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
3951 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
3952 to the `config commands' section either.
3953 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
3954 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
3956 ... and many changes to the comments nearby.
3958 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
3959 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
3960 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
3961 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
3962 (#define header templates): The comment at the top of the generated
3963 header now includes the name(s) of the source file(s).
3965 Several unrelated small changes:
3967 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
3968 parameter to AC_DIAGNOSE.
3969 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
3970 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
3971 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
3972 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
3974 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
3975 in AC_OUTPUT doesn't double-quote it either.
3976 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
3979 2005-07-10 Stepan Kasal <kasal@ucw.cz>
3981 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
3982 versions of Portland Group compiler produce single- and double-quoted
3983 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
3984 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
3986 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
3988 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
3989 This is a corrected version of yesterday's patch.
3991 2005-07-07 Stepan Kasal <kasal@ucw.cz>
3993 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
3994 path, too; insert a "===" to emphasize the line.
3996 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
3997 ac_cv_build_alias to ac_build_alias.
3998 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
4000 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
4001 change eliminates it. Problem reported by Alexandre Duret-Lutz.
4002 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
4003 (AC_ARG_VAR): ... here.
4004 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
4007 Keep a list of all precious variables and process them with one simple
4008 for loop, instead of expanding all commands, or, OTOH, complicated
4009 processing of output of "set".
4010 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
4011 variable names in new macro...
4012 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
4013 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
4014 a loop to assign all ac_env_* and ac_cv_env_* variables.
4015 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
4017 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
4018 its value to shell variable ac_precious_vars and call
4019 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
4020 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
4021 _AC_ARG_VAR_VALIDATE.
4023 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
4024 and the AC_SUBSTs ...
4025 (AC_INIT): ... here.
4027 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
4028 the ac_subst_files section in config.log.
4030 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
4032 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
4034 * NEWS: New macro AC_C_TYPEOF.
4035 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
4036 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
4037 * tests/c.at (C keywords): Test AC_C_TYPEOF.
4039 Fix problems reported by Nicolas Joly.
4040 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
4041 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4042 They are generated by the Tru64 v5.1B shell.
4044 2005-07-05 Stepan Kasal <kasal@ucw.cz>
4046 Fix my changes from 2005-07-01; reported by Noah Misch.
4047 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
4048 description, the macro now accepts only a single tag.
4049 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
4051 Fix cases when the varsions of Autoconf and Autotest don't match.
4052 Reported by Noah Misch.
4053 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
4054 at_top_builddir, for compatibility with older autotest.
4055 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
4056 is not set, use at_top_builddir, for compatibility with older
4057 versions of autoconf.
4059 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
4061 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
4062 Problem reported by Patrick Welche.
4064 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
4066 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
4067 sed substitution command, so that we allow | in program prefixes
4068 and program suffixes. (& is a problem anyway; we're not fixing
4070 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
4071 configure_input, top_builddir, srcdir, etc.
4072 * lib/autotest/general.m4 (AT_INIT): Likewise, for
4073 PATH_SEPARATOR in AUTOTEST_PATH.
4075 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
4077 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
4078 for loop over config.site files using `set', to allow
4079 directory names containing IFS characters.
4081 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
4083 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
4084 directories with weird names. Apparently some people like living
4085 on the edge. However, improve the test that "pwd" actually does
4086 report a name for the working directory.
4087 * NEWS: Remove the claim that we test for funny chars in dir names.
4089 2005-07-01 Stepan Kasal <kasal@ucw.cz>
4091 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
4093 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
4094 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
4095 Now accept a single tag, not whitespace separated list.
4096 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
4098 2005-06-30 Stepan Kasal <kasal@ucw.cz>
4100 * doc/autoconf.texi (Configuration Headers): Change the explanation
4101 about #include <config.h>.
4102 (Generic Functions): Mention the Gnulib project.
4103 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
4105 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
4106 document to output the default config_* lists to config.status.
4107 Don't recognize option --file, if the functionality is not there.
4108 Likewise for --header; moreover, recognize --he and --h as shortcuts
4109 for --help in that case.
4111 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
4112 matches the order of execution. No code changed.
4114 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4116 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
4117 single-quoted -cmdline argument in Portland Group compiler.
4118 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
4120 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
4122 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
4124 2005-06-29 Stepan Kasal <kasal@ucw.cz>
4126 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
4127 descriptors to child processes; reported by Norman Gray.
4129 2005-06-29 Stepan Kasal <kasal@ucw.cz>
4131 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
4133 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
4134 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
4135 (AC_SUBST): Call it.
4136 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
4137 the directory specific variables; but don't call it for configure_input.
4139 2005-06-28 Derek Price <derek@ximbiot.com>
4141 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
4144 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
4146 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
4147 directory have inherent problems with special characters like spaces,
4148 due to limitations in Make syntax. Problem reported by Alexandre
4150 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
4151 Also, fix Tru64 porting problem with shell patterns,
4152 reported by Ralf Wildenhues.
4154 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4156 * doc/autoconf.texi (Subdirectories): Fix markup typos.
4158 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
4160 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
4162 Fix some more shell quoting problems. Prompted by a bug report
4163 from Justace Clutter.
4164 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
4165 variable into diagnostic. Make the diagnostic an error, not a warning,
4166 because we really don't support spaces and suchlike in dir names.
4167 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
4168 Don't worry about backslashes in srcdir; it can't happen now.
4169 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
4170 Simplify ac_optarg handling.
4171 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
4173 2005-06-22 Stepan Kasal <kasal@ucw.cz>
4175 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
4176 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
4177 * tests/atlocal.in: Propagate $EGREP and $SED.
4178 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
4179 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
4181 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
4182 that '\|' is not allowed in BREs; recommend using newline separated
4183 list of patterns instead of multiple -e options.
4185 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
4187 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
4189 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4191 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
4193 2005-06-21 Stepan Kasal <kasal@ucw.cz>
4195 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
4196 b, t, r, w commands require single space, while : cannot have any.
4197 (Special Shell Variables): Fix sed code this in the example.
4198 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
4199 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
4201 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
4202 expand to the empty list. Don't use two pairs of m4_changequote,
4205 2005-06-20 Derek Price <derek@ximbiot.com>
4207 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
4209 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
4211 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
4212 * doc/autoconf.texi:
4213 Don't mention Solaris versions so much, if a
4214 problem is common to all extant versions of Solaris. Say "SunOS
4215 4" instead of "SunOS" for SunOS 4.
4216 (awk): Mention more of the limitations of traditional Awk.
4217 (cat): Don't talk about cat -v.
4219 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
4221 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
4222 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
4223 but the implementation is entirely different and is designed
4224 to be compatible with glibc strverscmp.
4225 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
4227 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
4228 on Mac OS X 10.4 reported by Peter O'Gorman in:
4229 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
4230 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
4231 Use shell builtins rather than 'expr', to work around expr bug.
4233 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
4235 * doc/autoconf.texi: "filesystem" -> "file system".
4236 "behaviour" -> "behavior".
4237 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
4238 * lib/autoconf/general.m4: Omit blank after ":" sed command,
4240 * lib/m4sugar/m4sh.m4: Likewise.
4241 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
4242 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
4244 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
4245 (.x.1): Ignore the time stamp in the .TH line when deciding whether
4246 to update the man page. That way, we don't have to check in new
4247 man pages every month.
4249 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
4250 quotes and backslashes. Patch from Derek Price.
4252 2005-06-10 Derek Price <derek@ximbiot.com>
4254 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
4257 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
4259 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
4260 -u, since it outputs chatter if the input files are the same.
4261 Problem reported by Ralf Menzel.
4263 2005-06-08 Derek Price <derek@ximbiot.com>
4265 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
4266 renaming them since they are about to be redefined anyhow.
4268 2005-06-08 Derek Price <derek@ximbiot.com>
4270 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
4271 redefined M4 macros to this node. Document m4_include & m4_sinclude.
4272 Move m4_undefine to alphabetical order.
4274 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
4276 * README: Recommend GNU M4 1.4.3 or later.
4277 * doc/autoconf.texi (Introduction): Likewise.
4278 Reword to avoid some formatting glitches.
4279 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
4280 Clarify explanation of HP compiler bug.
4281 Redo example output tp match current CVS snapshot.
4282 Use @example.org in email addresses when the examples
4283 might get inadvertently cut-and-pasted into user code.
4284 Remove example of autom4te usage that doesn't seem to work now.
4285 Use modern AC_INIT (except when the example is meant to be
4286 shown with Autoconf 2.13).
4287 Update ksh info for Solaris 9 and later.
4289 Modernize description of Automake versions a bit.
4290 Don't claim a future version of Autoconf is near.
4291 * doc/install.texi: Reword to avoid some formatting glitches.
4293 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4295 * doc/autoconf.texi: Add [] to examples, so that the manual
4296 follows its own advice about quoting better.
4297 Reword to avoid some formatting glitches.
4298 * doc/installt.exi: Reword to avoid some formatting glitches.
4300 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
4301 Tru64 ksh pattern matching bug. Reported against Libtool by
4302 Albert Chin <libtool@mlists.thewrittenword.com> and
4303 Nicolas Joly <njoly@pasteur.fr>.
4305 2005-06-06 Stepan Kasal <kasal@ucw.cz>
4307 m4_cdr of one-member list was [[]] (one-member list containing an
4308 empty string) instead of [] (an empty list. Callers were skewed to
4309 match this misbehaviour. As a consequence of this:
4310 - m4_foreach([x], [], [foo]) expanded to `foo', while
4311 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
4312 This bug has been fixed:
4314 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
4315 expand to an empty string; print error msg if called without
4317 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
4318 misbehaviour; handle [] and [[]] correctly.
4320 2005-06-06 Stepan Kasal <kasal@ucw.cz>
4322 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
4323 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
4324 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
4326 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
4328 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
4329 swallow records with more than 99 fields.
4330 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
4331 parse the long line.
4333 2005-06-04 Stepan Kasal <kasal@ucw.cz>
4335 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
4336 swallow literals longer than 399. Reported by Ralf Wildenhues.
4337 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
4338 to workaround this limitation.
4340 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
4342 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
4343 to gfortran, and make these the first two compiler names
4344 checked (following the general autoconf preference for gcc).
4346 2005-06-03 Stepan Kasal <kasal@ucw.cz>
4348 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
4349 (DISTCLEANFILES): Remove $(check_SCRIPTS).
4350 (testsuite): Make sure autotest.m4f is up-to-date before using it.
4352 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
4354 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
4355 expression of unbounded size when processing the --list
4356 option. This runs afoul of a limit of 399 bytes per regular
4357 expression on AIX. Problem reported by Ralf Wildenhues.
4359 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
4361 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
4362 * doc/autoconf.texi (Particular Headers): Reword example
4363 for multiline stdbool replacement.
4364 (Setting Output Variables): Reword text a bit. Don't
4365 give all the details about |#_!!_#|.
4366 Reword description of line replacement.
4368 2005-05-31 Dan Manthey <dan_manthey@partech.com>
4370 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
4371 now contain newlines, and substituted files must be referenced on
4372 a line alone; the sed scripts to substitute them are now very
4374 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
4375 commands can be put in a sed script portably.
4376 * doc/autoconf.texi (Setting Output Variables): Document above
4377 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
4378 use of multiline substitution.
4379 * tests/torture.at: No longer expect substitution of newline to fail.
4381 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
4383 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
4384 From Ralf Menzel (trivial change).
4386 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
4388 * tests/local.at: Don't attempt to check for negated character
4389 classes in shell scripts. The test was too brittle.
4391 2005-05-25 Stepan Kasal <kasal@ucw.cz>
4393 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
4394 * doc/autoconf.texi (Limitations of Builtins): Document this
4397 2005-05-24 Stepan Kasal <kasal@ucw.cz>
4399 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
4400 common code; used in many places in the tree.
4401 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
4402 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
4404 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
4406 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
4407 messages when ac_unique_file is not found.
4408 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
4409 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
4410 commands, for consistency with AC_MSG_ERROR and such.
4412 * bin/autoconf.as: Make more use of "shift 2" in option processing.
4414 * bin/Makefile.am: Merge the two rules for creating scripts.
4416 2005-05-23 Stepan Kasal <kasal@ucw.cz>
4418 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
4419 obsolete; it was never documented.
4420 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
4422 2005-05-20 Stepan Kasal <kasal@ucw.cz>
4424 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
4425 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
4426 (ac_top_builddir): ... this ...
4427 (ac_top_build_prefix): ... to this; the old name is also kept, for
4428 backward compatibility.
4429 (ac_top_builddir_sub): New variable, without the trailing slash,
4431 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
4432 * doc/autoconf.texi (Configuration Actions): Rename
4433 ac_top_builddir to ac_top_build_prefix.
4434 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
4435 at_top_builddir to at_top_build_prefix.
4436 * lib/autotest/general.m4 (AT_INIT): Likewise.
4438 2005-05-20 Stepan Kasal <kasal@ucw.cz>
4440 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
4443 2005-05-17 Stepan Kasal <kasal@ucw.cz>
4445 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
4446 argument to m4_foreach. I guess it was necessary in the past,
4447 but I think it's a no-op now.
4449 2005-05-17 Stepan Kasal <kasal@ucw.cz>
4451 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
4452 ``cat <<_ACEOF'' commands to one.
4453 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
4454 * lib/autoconf/status.m4: On various places, use expr instead of
4456 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
4457 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
4458 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
4460 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
4461 the wrong patterns between ``case'' and ``esac.'' The previous
4462 code had false positives.
4464 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
4466 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
4468 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
4471 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
4473 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
4474 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
4475 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
4476 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
4477 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
4478 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
4479 config/config.guess, config/config.sub, config/elisp-comp,
4480 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
4481 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
4482 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
4483 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
4484 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
4485 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
4486 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
4487 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
4488 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
4489 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
4490 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
4491 lib/autoconf/general.m4, lib/autoconf/headers.m4,
4492 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
4493 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
4494 lib/autoconf/specific.m4, lib/autoconf/status.m4,
4495 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
4496 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
4497 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
4498 lib/autotest/general.m4, lib/emacs/Makefile.am,
4499 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
4500 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
4501 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
4502 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
4503 tests/compile.at, tests/foreign.at, tests/fortran.at,
4504 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
4505 tests/semantics.at, tests/suite.at, tests/tools.at,
4506 tests/torture.at, tests/wrapper.as:
4507 Update FSF postal mail address.
4509 2005-05-13 Stepan Kasal <kasal@ucw.cz>
4511 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
4513 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
4514 enough arguments, similarly as in m4_bpatsubsts.
4516 2005-05-12 Stepan Kasal <kasal@ucw.cz>
4518 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
4521 2005-05-11 Stepan Kasal <kasal@ucw.cz>
4523 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
4524 for absolute directory names in one loop.
4525 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
4526 abbreviations of --version and --debug.
4528 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
4530 * doc/autoconf.texi (Autoconf Language): Be more precise about
4531 quoting rules. Problems noted by Stepan Kasal.
4532 Also, throughout this document, be more careful about white space.
4533 "blank", "white space", and "space" all have different meanings
4534 and we should be careful to say what we mean.
4536 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
4538 Fix C++ related problems reported by Werner Lemberg.
4539 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
4540 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
4541 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
4542 avoid problems with C++ and throw.
4543 * tests/compile.at: .cpp, not .cc.
4545 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
4547 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4549 * doc/autoconf.texi (Generic Functions): Typos.
4551 2005-05-02 Gary V. Vaughan <gary@gnu.org>
4553 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
4554 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
4555 set by latest automake.
4557 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
4559 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
4560 outputs 0 on GNU/Linux these days.
4562 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
4564 * doc/autoconf.texi (Autoconf Language): Add more description
4565 about quoting heuristics.
4566 (Limitations of Builtins): Describe "set -" problems.
4568 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4570 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
4573 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
4574 by AC_DEFINE; it was a mistake.
4575 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
4577 2005-04-25 Stepan Kasal <kasal@ucw.cz>
4579 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
4581 2005-04-22 Stepan Kasal <kasal@ucw.cz>
4583 * doc/autoconf.texi (External Software): Quadrigraphs are not
4584 processed correctly in AS_HELP_STRING; avoid this in the examples.
4585 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
4586 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
4587 comment and reduce m4_default([foo], []) to [foo].
4588 (m4_strip): Update the explanation.
4590 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
4592 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
4593 Remove core.conftest.* too; it's generated by Tru64 5.1.
4594 Problem reported by Jennis Pruett.
4595 * lib/autoconf/functions.m4
4596 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4597 Don't bother to remove core files; AC_RUN_IFELSE should do that
4600 2005-04-19 Stepan Kasal <kasal@ucw.cz>
4602 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
4604 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
4606 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
4607 Report from Horst Wente.
4609 2005-04-15 Stepan Kasal <kasal@ucw.cz>
4611 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
4614 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
4616 * doc/autoconf.texi (External Software, Package Options): Add
4617 examples showing how to implement --with-* and --enable-* options.
4619 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
4621 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
4622 as well as configure.in. Problem reported by Gregorio Guidi.
4624 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
4626 * doc/autoconf.texi (Particular Functions): Use gnulib's current
4627 pattern for alloca snippet.
4629 2005-04-04 Stepan Kasal <kasal@ucw.cz>
4631 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
4633 2005-04-01 Stepan Kasal <kasal@ucw.cz>
4635 * doc/autoconf.texi (Generic Programs): Fix a typo.
4637 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
4639 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
4640 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
4642 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4644 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
4645 Merge `-z option' as well for the benefit of Solaris link flags. Pass
4646 whole-archive (-zallextract, -zdefaultextract) options in the hope of
4647 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
4648 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
4650 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
4652 * NEWS: The configure command now warns you if you attempt to use
4653 a directory whose name contains a special character like space,
4655 * doc/autoconf.texi (Installation Directory Variables): Allow
4656 "," in file names. Do not use \@; it's not a portable regexp.
4657 * bin/Makefile.am (edit): Likewise.
4658 * lib/Makefile.am (edit): Likewise.
4659 * tests/Makefile.am (edit): Likewise.
4660 * tests/semantics.at: Likewise.
4661 * tests/torture.at: Likewise.
4662 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
4663 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
4664 * doc/autoconf.texi (File System Conventions): Warn about
4665 unportable file names.
4666 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
4668 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
4669 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
4670 ac_pwd, and quote srcdir.
4671 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
4673 * doc/autoconf.texi: Fix some systematic formatting problems.
4674 ".)" needs a following @: if not at the end of a sentence, and
4675 similarly for "!)". "etc." should be preceded by a comma.
4676 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
4678 2005-03-22 Bruno Haible <bruno@clisp.org>
4680 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
4681 argument is often called 'build-aux'.
4683 2005-03-07 Stepan Kasal <kasal@ucw.cz>
4685 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
4686 macro AC_TRY_LINK is obsolete.
4687 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
4690 2005-02-24 Stepan Kasal <kasal@ucw.cz>
4692 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
4693 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
4694 from a Common Lisp's `cl'.
4695 (AC_PROG_CXX): Behave according to the documentation: don't
4696 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
4697 make the variable CCC precious; use `cl.exe', not `cl'.
4699 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
4700 Alexandre Duret-Lutz <adl@gnu.org>
4702 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
4703 /dev/null, as "configure" shouldn't read stdin, and this insulates
4704 us from problems (e.g., when testing for "cl"). Also, do this
4705 redirection before invoking "hostname" or "uname", and keep the
4706 original input stream available via...
4707 (AS_ORIGINAL_STDIN_FD): ... this new macro.
4708 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
4709 bother with "</dev/null" since it's now done at the top of
4711 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
4712 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4713 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4714 * doc/autoconf.texi (File Descriptor Macros): New section.
4715 (Printing Messages): Mention it.
4716 * tests/base.at (Input/Output): New test.
4718 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
4720 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
4721 newline if neither \c nor -n work, as that would output two
4722 newlines. Prefer -n to \c. Reported by Stepan Kasal.
4724 2005-02-12 Stepan Kasal <kasal@ucw.cz>
4726 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
4727 This causes that any required macros inside will get before the if.
4728 * doc/autoconf.texi (autom4te.cache): A typo.
4730 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
4732 Undo previous change, except keep the change to
4733 lib/autoconf/programs.m4 that replaced grep with shell
4734 pattern-matching. This is because net-snmp configure reads stdin.
4735 Reported by Noah Misch.
4737 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
4739 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
4740 from /dev/null, as "configure" shouldn't read stdin, and this
4741 insulates us from problems (e.g., when testing for "cl").
4742 Suggested by Alexandre Duret-Lutz. Also, do this redirection
4743 before invoking "hostname" or "uname".
4744 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4745 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
4746 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
4747 "</dev/null" since it's now done at the top of 'configure'.
4748 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4749 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4750 Also, replace grep with shell pattern-matching, to save a process.
4752 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
4754 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4755 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
4756 avoid thinking that Allegro Common Lisp's "cl" command is a C++
4759 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
4761 * doc/autoconf.texi (Limitations of Usual Tools): Document that
4762 grep -q isn't portable. Improve grep -s explanation.
4763 Problem reported by Dan Manthey.
4765 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
4767 * doc/autoconf.texi (Special Shell Variables): Clarify
4768 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
4770 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
4772 * doc/autoconf.texi: Use @acronym for DJGPP.
4773 Fix some @code's that should have been @env's, and vice versa.
4774 Sort environment variable names.
4775 Mention that shells no longer inherit IFS.
4776 Don't recommend PATH_SEPARATOR=';' so strongly.
4777 Mention that $RANDOM might expand to the empty string.
4778 "symlink" and "soft link" -> "symbolic link".
4779 Improve mktemp description (reported by Bruno Haible).
4781 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
4783 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
4784 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
4786 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
4789 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
4791 * NEWS: Mention AT_COPYRIGHT.
4793 * tests/local.at (AT_CMP): Use diff directly on input files rather
4796 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
4797 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
4799 2005-02-04 Noah Misch <noah@cs.caltech.edu>
4800 and Paul Eggert <eggert@cs.ucla.edu>
4802 * tests/autotest.at (Empty test suite): New test.
4803 * tests/torture.at (Substitute and define special characters)
4804 (Substitute a 2000-byte string, Define to a 2000-byte string)
4805 (Substitute a newline, Define a newline): New tests.
4807 2005-02-04 Noah Misch <noah@cs.caltech.edu>
4809 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
4810 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
4811 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
4812 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
4813 (Standard regular expressions): New test.
4814 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
4815 excess test name quoting.
4816 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
4817 CPPFLAGS to `configure' instead of setting it in `configure'.
4819 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
4820 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
4823 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
4824 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
4826 * tests/local.at (AT_CMP): New macro.
4827 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
4828 (AC_SAVE_STATE): Move environment grep...
4829 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
4830 (AT_CONFIG_CMP): New macro.
4831 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
4832 * tests/c.at (Extensions): Do not exit early.
4833 * tests/atlocal.in: Inherit $GREP.
4835 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
4836 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
4838 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
4839 (AC_COPYRIGHT): Factor header comment portion out and move into...
4840 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
4841 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
4842 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
4844 * tests/local.at: Add Autoconf test suite copyright notice.
4845 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
4847 2005-02-04 Bruno Haible <bruno@clisp.org>
4848 and Paul Eggert <eggert@cs.ucla.edu>
4850 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
4852 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
4854 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
4855 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
4857 Try not to generated lines of unlimited length, as POSIX places a
4858 2047-byte limit on line length of portable text files.
4859 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
4860 Use newline as a separator, not space.
4861 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
4862 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
4865 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4867 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
4868 as_func_*. Add test to check whether positional parameters
4869 are restored after function return.
4871 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
4873 * doc/autoconf.texi (Special Shell Variables): Mention _,
4874 BIN_SH, DUALCASE. Say that variables other than "status" are safe
4875 if they contain a lower-case letter. The DUALCASE problem was
4876 reported by Ralf Wildenhues.
4878 * bin/autoconf.as: Don't exit with status 0 after write failure
4879 with --help or --version.
4880 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
4881 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
4883 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4885 * doc/autoconf.texi (Limitations of Usual Tools):
4886 Unicos 9 sed limitations.
4887 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
4888 to get the option-enhanced interface on older Crays. Try ftn for
4889 Fortran 95 (newer Crays).
4891 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
4893 * man/Makefile.am (.x.1): Go back to the simple solution, but take
4894 care to echo the commands, so the user knows what's going on.
4895 Modified from a suggestion by Stepan Kasal.
4897 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
4898 with a cross reference. Derived from a suggestion by Bruce Korb.
4900 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
4902 * doc/autoconf.texi (config.status Invocation): Warn about
4903 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
4904 * doc/install.texi (Defining Variables): Likewise.
4905 Based on a proposed patch by Ralf Wildenhues.
4907 * man/Makefile.am (.x.1): Make sure the required generated files
4908 are up to date. Problem and original solution proposed by Stepan Kasal.
4909 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
4910 implicit-man-prerequisites): New rules, used by the above.
4912 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
4913 * config/config.guess, config/config.sub, config/install-sh: Likewise.
4914 * config/missing, config/texinfo.tex: Likewise.
4916 2005-01-29 Stepan Kasal <kasal@ucw.cz>
4918 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
4919 Update the long comment explaining it.
4921 m4_require no longer writes an ``is required by'' line to the
4922 execution stack. It contains only one bit of non-redundant
4923 information: that the macro was required, not called. And even
4924 this bit is useless in most situations: have you ever met a macro
4925 which both calls and requires the same macro?
4927 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
4928 (_m4_defun_pro_outer): ... only via this macro, for the outermost
4930 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
4931 (m4_expansion_stack_pop): Remove the misplaced comment.
4932 (m4_require): Don't put the ``is required by'' line to the
4933 execution stack; slightly improve the out-of-a-defun error message.
4934 (_m4_divert_grow): New macro, counter for the temporary diversions.
4935 (_m4_require_call): Use it.
4936 * tests/m4sugar.at (m4_require): Expect output without the
4937 ``is required by'' messages.
4939 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
4941 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
4942 rather than x for expr.
4944 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
4946 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
4947 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4948 * lib/autotest/general.m4 (AT_INIT): Likewise.
4949 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
4950 * tests/mktests.sh: Likewise.
4952 2005-01-27 Akim Demaille <akim@epita.fr>
4954 Have autoheader honor --force.
4956 * doc/make-stds.texi, doc/standards.texi: Update from masters.
4957 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
4958 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
4959 from masters, so that FileUtils.pm's update_file provide --force
4961 * bin/autoheader.in: Pass $force to update_file so that
4962 config.h.in is always recreated when --force.
4964 2005-01-24 Stepan Kasal <kasal@ucw.cz>
4966 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
4968 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
4970 * doc/autoconf.texi (Limitations of Builtins): Clarify that
4971 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
4973 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
4975 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
4976 Warn about newline stripping in `` and $(). Update Solaris
4978 (Limitations of Builtins): Use expr "X...", not expr "x...", as
4979 X insulates us from future changes to Posix.
4980 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
4983 2005-01-19 Stepan Kasal <kasal@ucw.cz>
4985 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
4986 you cannot use AC_DEFINE to define macros containing `[' or `]'.
4988 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
4990 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
4991 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
4992 bug-tar mailing list.
4994 2005-01-05 Stepan Kasal <kasal@ucw.cz>
4996 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
4998 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
5000 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
5001 ulongval to be static, to avoid unwanted GCC warning. Problem
5002 reported by Michael Jennings via Daniel Reed; see
5003 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
5005 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
5007 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
5008 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
5009 datadir, infodir, and mandir. Adjust argument parsing code.
5010 (_AC_INIT_HELP): Update help text.
5011 * doc/autoconf.texi (Installation Directory Variables): Document
5014 2005-01-04 Noah Misch <noah@cs.caltech.edu>
5016 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
5017 not seem to work, assume it does set $(MAKE).
5018 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
5020 2005-01-03 Stepan Kasal <kasal@ucw.cz>
5022 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
5024 2005-01-03 Stepan Kasal <kasal@ucw.cz>
5026 A cleanup of the diversion support in m4sugar.
5028 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
5029 (_m4_divert_n_stack): New macro; the expansion is
5030 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
5032 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
5033 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
5034 stored in _m4_divert_diversion or _m4_divert_dump.
5035 (m4_divert_pop): When the parameter is given, compare the symbolic
5036 name with the last diversion pushed on the stack. Previously, the
5037 current diversion was compared with the numeric value of the
5038 diversion given as the parameter.
5039 (m4_require): If the macro hasn't been expanded yet, call ...
5040 (_m4_require_call): this new macro.
5042 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5044 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
5045 Workarounds for documented `case' limitations.
5047 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
5049 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
5050 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
5052 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
5054 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
5055 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5056 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
5058 Patch from Roger Leigh (with some minor changes) as follows:
5059 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
5060 Resurrect AC_PROG_CC_STDC.
5061 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
5062 AC_PROG_CC_C89, AC_PROG_CC_C99.
5063 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
5064 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
5065 AC_PROG_CC_C99): New macros.
5066 (AC_PROG_CC_STDC): Use them.
5067 (_AC_PROG_CC_STDC): Remove.
5068 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
5069 * THANKS: Add Roger Leigh.
5071 2004-12-30 Noah Misch <noah@cs.caltech.edu>
5073 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
5074 signals that the package uses Automake; a `Makefile.am' is typical but
5075 not essential. Reported by Magnus Therning.
5076 * tests/torture.at (autoreconf.): New banner.
5077 (autoreconf and non-AC configure): Rename to `Non-Autoconf
5079 (autoreconf an empty directory): Rename to `Empty directory'.
5080 (Unusual Automake input files): New test.
5082 2004-12-30 Noah Misch <noah@cs.caltech.edu>
5084 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
5085 (AT_SETUP): Clear AT_capture_files.
5086 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
5087 (AT_KEYWORDS): Fix comment typo.
5088 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
5089 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
5090 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
5092 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
5094 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
5095 If the variable to set is already set, set ac_cv_path_$1
5096 to the preset value so caller can assume ac_cv_path_$1
5097 is available. (trivial change)
5099 2004-12-27 Noah Misch <noah@cs.caltech.edu>
5101 * BUGS (Minor Problems): Warn about makefile limitations.
5102 * Makefile.am: Find and update `INSTALL' in $(srcdir).
5103 * man/Makefile.am: Find and update manual pages in $(srcdir).
5105 2004-12-24 Eric Blake <ebb9@byu.net>
5107 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
5108 shells in subshell, to avoid noise from ash. (trivial change)
5110 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5112 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5113 problems with SunOS ksh and backslash escaping, Bourne shells and
5114 closing brackets (both within character classes). Bug reported
5115 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
5116 <read>: New entry. Mention non-availability of -r.
5118 2004-12-21 Akim Demaille <akim@epita.fr>
5120 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
5121 avoid cluttering displayed messages. Rather, prepend srcdir where
5122 AT_LINE is used for log files.
5124 2004-12-21 Stepan Kasal <kasal@ucw.cz>
5126 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
5127 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
5128 no longer part of the macro, quote the occurrence of ``$tmp''.
5129 * doc/autoconf.texi (Forbidden Patterns): Typo.
5131 2004-12-21 Akim Demaille <akim@epita.fr>
5133 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
5134 separated from the test title by forcing a white space.
5136 2004-12-21 Akim Demaille <akim@epita.fr>
5138 Enable Emacs navigation within testsuite.log files.
5140 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
5141 use the compilation mode.
5142 (AT_LINE): Point to the srcdir.
5144 2004-12-19 Noah Misch <noah@cs.caltech.edu>
5146 * tests/Makefile.am (installcheck-local): Use $(bindir).
5147 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
5148 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
5149 Makefile.am scheme Autoconf now uses.
5151 2004-12-18 Noah Misch <noah@cs.caltech.edu>
5153 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
5154 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
5156 2004-12-18 Noah Misch <noah@cs.caltech.edu>
5158 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
5159 (_AT_CHECK): Use it.
5160 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
5161 (AS_ESCAPE): Fix comment.
5162 * tests/autotest.at: Adjust section banner comments.
5163 (AT_CHECK_AT): Accept STATUS and STDERR.
5164 (AT_CHECK_AT_TEST): Likewise.
5165 (Invalid brace-enclosed parameter expansion)
5166 (Multiline command from M4 expansion)
5167 (Double-M4-quoted command): New tests.
5169 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
5171 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
5173 2004-12-17 Akim Demaille <akim@epita.fr>
5175 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
5177 Suggested by Alexandre Duret-Lutz.
5178 * doc/autoconf.texi (Setting Output Variables): Catch up.
5180 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5182 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
5184 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5186 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
5187 remove the comment which said we cannot.
5189 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5191 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
5192 Reini Urban and Paul Eggert for reporting the dependencies.
5194 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
5195 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
5196 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
5198 2004-12-17 Stepan Kasal <kasal@ucw.cz>
5200 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
5201 so that eg. ``autoscan --help'' doesn't truncate it.
5203 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
5205 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
5206 generated conftest files.
5208 2004-12-13 Noah Misch <noah@cs.caltech.edu>
5210 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
5211 tracing on commands with possibly-escaped newlines.
5212 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
5213 discontinued behavior and its implications.
5214 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
5215 (BSx641-newline in command, BS-BS-newline in command)
5216 (BSx640-newline in command, Newline-CODE-BS-newline in command)
5217 (Single-quote-BS-newline in command)
5218 (Single-quote-newline-BS-newline in command): New tests.
5220 2004-12-13 Stepan Kasal <kasal@ucw.cz>
5222 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
5223 on platforms where it works.
5224 (_AS_TEST_PREPARE): Test for ``test -x''.
5225 (_AS_BROKEN_TEST_PREPARE): Nuke.
5227 2004-12-13 Stepan Kasal <kasal@ucw.cz>
5229 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
5230 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
5231 give only 4-letter prefix to AS_TMPDIR, comment fixed.
5232 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
5233 create the temporary directory.
5234 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
5236 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
5238 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
5241 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
5243 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
5245 2004-12-11 Noah Misch <noah@cs.caltech.edu>
5247 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
5248 to avoid using a negated character class. Reported by Nicolas Joly.
5249 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
5251 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
5253 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
5254 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
5255 Don't depend on .x file explicitly, since "make" does that for us.
5256 Suggested by Stepan Kasal.
5258 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
5260 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
5261 ifnames): Factor common code. And they said it couldn't be done!
5263 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
5265 * bin/.cvsignore: Add autoconf.in.
5266 * tests/.cvsignore: Add wrapper.in.
5267 * lib/autotest/general.m4: Escape '$' in case pattern.
5269 2004-12-09 Noah Misch <noah@cs.caltech.edu>
5271 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
5273 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
5275 * tests/autotest.at: New file.
5276 * tests/suite.at: Include it.
5277 * tests/Makefile.am: Distribute it.
5279 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
5280 shell tracing on a command that could contain multiple lines.
5281 * doc/autoconf.text: Document that fact and its implications.
5282 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
5283 * tests/autotest.at (Multiline backquote command substitution,
5284 Multiline parameter expansion, Literal multiline command,
5285 Multiline parenthetical command substitution): Remove XFAIL.
5287 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
5289 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
5290 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
5292 2004-12-08 Noah Misch <noah@cs.caltech.edu>
5294 * configure.ac (test suite): Cease to generate wrapper scripts.
5295 * configure: Regenerate.
5296 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
5297 (m4f_dependencies): Adjust accordingly.
5298 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
5299 (wrapper.in): Generate it in the build directory.
5300 (MAINTAINERCLEANFILES): Delete wrapper.in.
5301 (CLEANFILES): Add wrapper.in.
5302 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
5303 the output. Replace each $as_me with a @wrap_program@.
5304 * tests/wrapper.in: Delete it; we always build it.
5306 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
5307 (EXTRA_DIST): Remove autoconf.in.
5308 (CLEANFILES): Add autoconf.in.
5309 (autoconf): Find autoconf.in in the build directory.
5310 * bin/autoconf.in: Delete it; we always build it.
5312 2004-12-08 Noah Misch <noah@cs.caltech.edu>
5314 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
5315 PATH members so as to not prepend an empty element. Move a comment.
5316 * Makefile.am (SUBDIRS): Build in `tests' last.
5317 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
5319 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
5321 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
5322 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
5323 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
5324 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
5326 2004-12-07 Stepan Kasal <kasal@ucw.cz>
5328 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
5331 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
5333 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
5334 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
5335 * doc/autoconf.texi (Particular Functions): Mention new behavior.
5337 2004-12-03 Stepan Kasal <kasal@ucw.cz>
5339 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
5340 out the common code to ...
5341 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
5342 value of the #define--default to 1, iff the macro was called
5343 with exactly one parameter.
5345 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
5347 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
5348 "char c = '\200';" rather than "char c = 0x80;" as the
5349 latter doesn't conform to the strict C standard due to
5350 overflow on signed char hosts.
5352 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
5353 to -qlanglvl=ansi. We don't want to disable extensions.
5355 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
5357 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
5358 (Using Autotest, testsuite Scripts, Writing testsuite.at):
5359 Reword slightly to avoid some English-language problems noted
5360 by Ralf Wildenhues in:
5361 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
5363 2004-11-29 Stepan Kasal <kasal@ucw.cz>
5365 * NEWS: Add ^L above each release.
5367 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
5369 Fix documentation problems reported by Russ Boylan in
5370 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
5371 along with some nearby cruft.
5372 * doc/autoconf.texi (Libtool): Libtool can be used without
5373 Automake (not without Autoconf).
5374 (Introduction): Mention lists.gnu.org.
5375 * BUGS: Don't mention bugs.gnu.org.
5376 Remove mention of ancient libtool compatibility problem.
5377 * NEWS: Mention that bugs.gnu.org is kaput.
5378 * README: Likewise. Mention where mailing list archives can be found.
5380 2004-11-28 Stepan Kasal <kasal@ucw.cz>
5382 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
5384 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
5386 * doc/autoconf.texi (Pretty Help Strings): Go back to
5387 single-quoting assignments to cache variables.
5389 2004-11-23 Stepan Kasal <kasal@ucw.cz>
5391 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
5392 with the examples; fix the bug in MY_ARG_WITH example reported
5393 by Alexandre Duret-Lutz.
5394 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
5395 expansion of $1 in the comment emitted to configure.
5397 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
5399 * doc/autoconf.texi (Pretty Help Strings): Fix typo
5400 in my editing of the previous patch. Problem reported
5401 by Alexandre Duret-Lutz.
5403 2004-11-22 Stepan Kasal <kasal@ucw.cz>
5405 * doc/autoconf.texi (Autoconf Language): Explain that
5406 ``descriptions'' may not be double quotes.
5407 (Quotation Rule Of Thumb): Likewise.
5408 (Pretty Help Strings): Likewise; remove the wrong comment;
5409 simplify the examples and improve their quoting.
5411 2004-11-13 Stepan Kasal <kasal@ucw.cz>
5413 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
5414 the $1_found variable, don't test whether the file is executable;
5415 Both things are checked ...
5416 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
5417 the former ``test -f''.
5418 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
5420 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
5422 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
5425 2004-11-10 Derek R. Price <derek@ximbiot.com>
5427 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
5428 limitations. Reorder paragraphs for clarity.
5430 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
5432 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
5433 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
5434 variants", "Unix", and some related minor wording fixups.
5436 (Shellology, Special Shell Variables): Document that the Zsh
5437 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
5438 to Alexandre Duret-Lutz for this info.
5440 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
5442 * doc/autoconf.texi (One-Shot Macros): New node.
5444 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
5446 * doc/autoconf.texi (Function Portability): Fix misdescription
5447 of putenv. Problem reported by Michael Wardle.
5449 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
5451 * doc/autoconf.texi (auindex): New macro.
5452 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
5453 Problem reported by Stepan Kasal.
5455 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
5457 Fix problems reported by Andreas Buening in:
5458 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
5459 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
5461 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
5462 readable; it's not true in OS/2-emx.
5464 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
5466 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
5467 "/usr/include", clear ac_x_includes instead of leaving it as "no"
5468 (trivial change). Problem and patch reported by Andrew Church in:
5469 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
5471 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
5473 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
5474 three args in examples. Problem reported by Frederik Fouvry in:
5475 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
5476 Also, fix some minor spacing and punctuation bugs.
5478 2004-09-02 Akim Demaille <akim@epita.fr>
5480 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
5481 "case" to restore ordering.
5482 Reported by Stepan Kasal.
5484 2004-08-26 Akim Demaille <akim@epita.fr>
5486 * doc/autoconf.texi: Minor typos and stylos.
5488 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
5490 * configure.ac (AC_INIT): Bump to 2.59c.
5492 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
5496 * README: Add advice about m4 1.4.2.
5498 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
5499 texinfo.tex for now (done by hand now).
5500 * Makefile.maint (wget_files, cvs_files):
5501 Remove ansi2knr.c; nobody uses it.
5502 (ansi2knr.c-url_prefix): Remove.
5503 (cvs-update): Fix test for failure. I don't know why it ever
5506 * doc/autoconf.texi: Update URLs, some of which went stale.
5507 Use @uref rather than @href.
5509 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
5510 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
5512 * config/config.guess, config/config.sub, config/elisp-comp,
5513 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
5514 doc/fdl.texi, doc/standards.texi: Sync with master copy.
5516 * NEWS, TODO, configure.ac, bin/autoscan.in,
5517 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
5518 doc/install.texi, lib/Autom4te/Configure_ac.pm,
5519 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
5520 lib/autoconf/programs.m4, lib/autoconf/status.m4,
5521 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
5522 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
5523 tests/tools.at, tests/torture.at:
5524 Use "file name" rather than "filename" or "path",
5525 to be consistent with the terminology of the GNU coding standards.
5527 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
5529 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
5530 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
5531 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
5532 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
5534 More fixes to support spaces in the name of the build directory.
5535 This isn't a complete fix but it's an improvement.
5537 * bin/autoconf.as (autom4te_options): New var.
5538 Use it instead of appending to AUTOM4TE, so that we can allow
5539 spaces in the build directory's absolute name.
5540 * bin/autoheader.in ($autoconf): Allow spaces in file names.
5541 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
5542 AT_CHECK_NOESCAPE): Likewise.
5543 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
5544 main program): Likewise.
5546 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
5548 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
5549 From Ralf Corsepius in:
5550 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
5552 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
5554 * doc/autoconf.texi (Function Portability): Document isinf and
5555 and isnan. From a suggestion by Kevin Ryde.
5557 * lib/Autom4te/General.pm (END): Return correct exit status even
5558 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
5560 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
5562 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
5563 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
5564 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
5566 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
5568 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
5569 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
5570 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
5571 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
5572 * lib/autom4te.in (Automake-preselections): Preselect
5573 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
5575 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
5577 * lib/autom4te.in (Automake-preselections): Preselect
5578 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
5581 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
5583 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
5585 * doc/autoconf.texi (Shellology): Mention BIN_SH.
5586 Document problem with "`""`" in pdksh POSIX mode.
5588 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
5590 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
5591 with pdksh, too. Problem reported by Patrick Welche via
5593 * doc/autoconf.texi (Shellology): Note that set -o posix is
5594 useful for pkdsh, too.
5596 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
5598 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
5599 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
5600 Don't fail if ENV or BASH_ENV is readonly.
5601 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
5602 etc. are read only. Problem reported by Ludovic Courtes.
5604 2004-06-23 Noah Misch <noah@cs.caltech.edu>
5606 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
5607 zsh, disable GLOB_SUBST to avoid backslash handling problems.
5610 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
5612 * doc/autoconf.texi (File System Conventions): Warn about
5613 names like "aux". Problem reported by Eric Blake.
5615 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
5616 by zero instead of array size, so that we can use any arithmetic
5617 constant expression (instead of requiring an integer constant
5618 expression). This allows us to test expressions like DBL_MAX <
5619 LDBL_MAX, which didn't conform to the C standard using the old
5621 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
5622 now that we can do floating-point tests at compile time.
5624 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
5626 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
5627 and LDBL_EPSILON, as the resulting expression isn't an
5628 integer constant expression and violates the C standard.
5629 Problem reported by Nelson H. F. Beebe. Also, check
5630 for "L" suffix, and check that long double doesn't have
5631 worse range or precision than double, that mixed-mode
5632 arithmetic doesn't generate a diagnostic, that double
5633 constants fit in long double.
5635 2004-06-03 Kevin Ryde <user42@zip.com.au>
5637 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
5638 malloc(0) and realloc(NULL,size).
5640 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
5643 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
5645 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
5646 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
5649 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
5651 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
5652 can be rewritten using if-then-else. Suggested by Bruno Haible.
5654 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
5656 * doc/autoconf.texi (testsuite Scripts): Fix typo.
5657 Problem reported by Stepan Kasal.
5659 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
5661 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
5662 change). Patch reported by Ralf Wildenhues in
5663 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
5665 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
5666 function F exists if the compiler and linker let you compile an
5667 expression like (F != 0). Recent versions of GCC optimize away
5668 the reference to F in that case, since every function address must
5669 be nonzero, so the link succeeds even if F does not exist.
5670 Problem reported by Manu in
5671 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
5673 * doc/autoconf.texi (Systemology): Standardize on the spelling of
5674 "Unix". Many uses changed.
5675 (Limitations of Builtins): Explain better why the ! command isn't
5678 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
5680 * lib/autom4te.in (Automake-preselections): Preselect
5681 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
5683 2004-05-19 Kevin Ryde <user42@zip.com.au>
5685 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
5686 referencing AC_FUNC_STRERROR_R.
5688 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
5689 note pessimistic assumption when cross compiling.
5691 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
5693 * doc/autoconf.texi (Limitations of Make): Note that BSD make
5694 (until 2004) invoked subcommands with sh -e, contra POSIX.
5695 Reported by Kevin Ryde.
5697 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
5699 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
5700 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
5701 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
5702 `test -f " /usr/bin/grep"', which _always_ failed.
5703 (AC_PROG_SED): Ditto bogus PATH fix.
5704 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
5705 requires that grep correctly supports _multiple_ `-e' options, rather
5706 than stating only that grep should accept `-e'.
5708 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
5710 Port to C99, which requires that 'exit' be declared.
5712 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
5713 to ensure that stdlib.h is included.
5714 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
5715 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
5716 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
5717 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
5718 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
5719 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
5720 when using 'exit' in a test; C99 requires that 'exit' be declared.
5722 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
5724 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
5725 now prefers 'grep' implementations that accept -e.
5726 (Limitations of Usual Tools): Describe problems of traditional
5727 egrep and fgrep with long input lines, and of traditional grep
5729 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
5730 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
5731 All callers changed. Append /usr/xpg4/bin to the PATH, for
5733 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
5734 the user with complaints about multiple -e options.
5735 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
5736 Define it with AC_PROG_GREP.
5737 * configure.ac (AC_PROG_GREP): Add.
5738 * lib/freeze.mk (GREP): New macro.
5740 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
5742 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
5743 a possible candidate only after all others fail, rather than
5744 consulting it first. This improves backward compatibility by
5745 better reflecting the way shell selection occurred in previous
5746 versions of Autoconf, and should help to avoid triggering latent
5747 problems in other packages, such as the one in Automake where zsh
5748 is not handled robustly:
5749 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
5750 Although it is not Autoconf's responsibility to work around
5751 problems in Automake, it nevertheless makes sense to avoid
5752 introducing unnecessary incompatibilites.
5754 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
5755 Gary V. Vaughan <gary@gnu.org>
5757 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
5758 how deeply nested we are when a suitable tool is found, set the
5759 ac_path_TOOL_found flag.
5760 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
5761 nested we are in this macro. Break out of all 3 nested loops if
5762 ac_path_TOOL_found is set.
5764 2004-04-21 Gary V. Vaughan <gary@gnu.org>
5766 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
5767 of the _AS_PATH_WALK loop too if GNU flavor is found.
5769 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
5771 * doc/autoconf.texi (Limitations of Make): Update documentation
5772 for `$<'. New entry `Long lines', based on a report from Simon
5773 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
5774 paragraph about DJGPP, based on a mail from Richard Dawe.
5776 2004-04-20 Paul Eggert <eggert@twinsun.com>
5778 * tests/c.at (C keywords): Don't assume that GCC supports
5779 "restrict" and "inline", as sufficiently-old GCC versions do not
5780 (also, GCC configured to be in pedantic C89 mode does not).
5781 Problem reported by Sumit Pandya in:
5782 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
5784 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
5785 consider -g to work if it generates warnings when plain compiles
5786 don't. Problem reported by Braden McDaniel in:
5787 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
5789 * doc/autoconf.texi (Slashes): New section, to document a problem
5790 reported by Jim Meyering in:
5791 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
5793 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
5794 linker output files before linking, to work around IRIX 6 linker bug.
5795 Problem reported by Rainer Orth in:
5796 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
5798 2004-04-20 Gary V. Vaughan <gary@gnu.org>
5800 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
5801 best tool so far counter rely on the tool path variable name to
5802 avoid checks for one tool being affected by the results of running
5803 the length check on a previous tool.
5805 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
5806 match expression argument, as different greps have different
5807 regular expression flavours.
5808 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
5810 (AC_PROG_EGREP): Pass 'EGREP$'.
5811 (AC_PROG_GREP): Pass 'GREP$'.
5813 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
5815 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
5816 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
5818 2004-03-29 Paul Eggert <eggert@twinsun.com>
5820 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
5821 Types, Specific Compiler Characteristics, System Services,
5822 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
5823 etc. consistently instead of 'long', 'short', 'unsigned' etc.
5824 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
5825 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
5827 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
5828 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
5829 AC_TYPE_OFF_T): Likewise.
5830 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
5833 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
5834 pacify libtool 1.5.2. Fix quoting problems in sed command.
5836 2004-03-28 Paul Eggert <eggert@twinsun.com>
5838 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
5839 now defines HAVE_DECL_TZNAME if it is declared, when
5840 HAVE_STRUCT_TM_TM_ZONE is not defined.
5841 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
5842 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
5845 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
5847 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
5848 superfluous backslashing of quotes (") in sed expressions;
5849 thanks to Paul Eggert.
5851 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
5853 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
5854 Fortran compiler is ifort, also added pghpf; thanks to Nelson
5855 H. F. Beebe for the bug report.
5857 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
5859 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
5860 quoted -cmdline argument in Portland Group compiler (bug
5861 reported by Jeffrey J. Barteet).
5863 2004-03-25 Kevin Ryde <user42@zip.com.au>
5865 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
5866 (Run Time): ... here, where it's now mentioned.
5868 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
5870 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
5871 inherits from language Autoconf-without-aclocal-m4.
5872 (Customizing autom4te): Adjust example; the cache must now be
5873 disabled for language Autoconf-without-aclocal-m4.
5875 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
5876 Nathanael Nerode <neroden@twcny.rr.com>
5878 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
5879 AC_CHECK_TOOLS): Warn if a cross-tool is found without
5881 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5882 AC_CHECK_TARGET_TOOLS): New macros.
5883 * doc/autoconf.texi (Generic Programs): Document
5884 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5885 AC_CHECK_TARGET_TOOLS, and warn for future changes
5886 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
5888 (Specifying Names): Document the reason for these future
5890 * tests/mktests.sh: Do not generate tests for the
5892 * NEWS: Document these changes.
5894 * doc/autoconf.texi: Avoid macros with unbraced arguments,
5895 they make TeX hang up.
5897 2004-03-15 Paul Eggert <eggert@bogus.example.com>
5899 * NEWS: New macro AC_CHECK_ALIGNOF.
5900 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
5901 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
5902 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
5904 (AC_CHECK_ALIGNOF): New macro.
5905 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
5906 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
5909 2004-03-03 Paul Eggert <eggert@twinsun.com>
5911 * bin/Makefile.am (edit): Don't use $< in a context where
5912 POSIX doesn't require support for it. Use $@.in instead.
5913 Problem reported by Anthony N. Frasso in
5914 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
5915 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
5917 2004-02-23 Gary V. Vaughan <gary@gnu.org>
5919 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
5920 from the next generation of Libtool.
5921 * lib/autom4te.in (Autoreconf-preselections): Ditto.
5923 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
5925 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
5926 is not always thread-safe. Report from Nathanael Nerode.
5928 2004-02-18 Paul Eggert <eggert@twinsun.com>
5930 Fix a dependencies problem, stemming from a Autoconf 2.59 build
5931 problem on QNX reported by Stephen Rasku in
5932 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
5934 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
5935 $(m4sh_m4f_dependencies); this removes a FIXME.
5936 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
5937 (MAINTAINERCLEANFILES): Split into pieces,
5938 one per related section. Add $(srcdir)/wrapper.in.
5940 2004-02-09 Paul Eggert <eggert@twinsun.com>
5942 * doc/autoconf.texi (Setting Output Variables): Emphasize that
5943 AC_SUBST provides no portable way to escape literal newlines.
5945 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
5946 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
5947 Darwin uses -lcrt2.o and there's little point to cataloging all
5948 the system variants. Partial fix reported by Andreas Waechter in:
5949 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
5950 for bug reported by Nelson H. F. Beebe in:
5951 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
5953 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
5955 * doc/autoconf.texi (AU_DEFUN): Fix English,
5956 suggested by Paul Eggert.
5957 * lib/autoconf/autoupdate.m4: Correct reference to
5958 acobsolete.m4, suggested by Alexandre Duret-Lutz.
5960 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
5962 * bin/autoupdate.in: Define __file__ so that warnings
5963 refer to the correct file.
5964 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
5965 the behavior of the third argument.
5966 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
5967 correctly the behavior of the third argument. Document
5968 what the three macros that AU_DEFUN defines do. Fix
5969 warning message when the third argument includes $0
5970 (reported by Alexandre Duret-Lutz).
5972 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
5973 Eric Sunshine <sunshine@sunshineco.com>
5974 Paul Eggert <eggert@twinsun.com>
5976 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
5977 (AS_INIT): Output shell initialization there. Removed optional
5978 parameter. Expand _AS_SHELL_FN_SPY.
5979 (AS_INIT_WITH_SHELL_FN): Removed.
5980 (_AS_SHELL_FN_SPY): New macro.
5981 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
5983 (AS_SHELL_SANITIZE): Remove loop to find better shell
5984 and documentation for the parameter.
5985 (_AS_DETECT_BETTER_SHELL): Move it here.
5986 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
5987 (_AS_RUN): Move it here, support testing with eval.
5988 (AS_REQUIRE_SHELL_FN): Require shell functions when
5990 (_AS_LINENO_WORKS): Put around braces, we do not
5991 trigger the bash bug anymore.
5992 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
5993 use AS_INIT_WITH_SHELL_FN.
5994 * bin/autoconf.in, tests/wrapper.in: Regenerated.
5996 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
5998 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
5999 * doc/autoconf.texi: Don't say that the third parameter
6001 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
6002 (AU_DEFUN): Honor the third parameter, create autoupdate
6003 macros with AU_DEFINE.
6004 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
6005 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
6006 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
6007 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
6008 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
6009 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
6010 AC_XENIX_DIR): Likewise.
6011 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
6012 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
6013 * lib/autoconf/status.m4: Remove FIXME.
6014 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
6015 that the macro is not present anymore in the updated
6017 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
6020 2004-01-28 Paul Eggert <eggert@twinsun.com>
6022 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
6024 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
6025 2003 (except 1997) to the list of copyright years. This undoes
6026 the 2003-05-22 change, which removed the older years from the list.
6027 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
6029 2004-01-27 Gary V. Vaughan <gary@gnu.org>
6030 Albert Chin-A-Young <china@thewrittenword.com>
6032 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
6033 grep or ggrep program in PATH that accepts as long lines as
6035 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
6037 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
6038 egrep and fgrep respectively if $GREP -E/-F don't work.
6039 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
6040 _AC_PROG_GREP, and AC_PROG_SED.
6041 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
6042 longest input length accepted by a command.
6043 (AC_PROG_SED): Use it.
6044 * doc/autoconf.texi (Particular Programs): Document the changes.
6047 2004-01-27 Paul Eggert <eggert@twinsun.com>
6049 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
6050 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6051 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
6052 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
6054 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
6055 bin/autoconf.in, config/Makefile.in, config/config.guess,
6056 config/config.sub, config/install-sh, config/mdate-sh,
6057 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
6058 lib/Makefile.in, lib/Autom4te/Makefile.in,
6059 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
6060 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
6061 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
6062 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
6063 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
6064 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
6065 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
6066 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
6067 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
6068 tests/actypes.at: Regenerate and/or sync with original
6071 2004-01-26 Paul Eggert <eggert@twinsun.com>
6073 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
6074 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
6075 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
6076 not <inttypes.h>. Problem reported by Tim Mooney in
6077 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
6078 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
6081 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
6082 otherwise "make check" fails because it forbids cmp (I guess
6083 because cmp treats files as binary on DOS-like systems).
6085 * tests/mktests.sh: Update copyright date to 2004, since some tests
6086 have changed in 2004.
6088 2004-01-23 Gary V. Vaughan <gary@gnu.org>
6090 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
6091 non-truncating sed or gsed program in PATH.
6092 * tests/acprograms.at: Add it.
6093 * doc/autoconf.texi (Particular Programs): Document it.
6096 2004-01-15 Paul Eggert <eggert@twinsun.com>
6098 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
6099 -std1 disables some useful extensions on Tru64. Problem reported
6101 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
6103 2004-01-14 Paul Eggert <eggert@twinsun.com>
6105 * doc/autoconf.texi (Programming in M4sh): Document that
6106 AS_MKDIR_P succeeds if the destination is a symbolic link
6107 to an existing directory.
6108 (Limitations of Usual Tools): Note that mkdir -p might not
6109 succeed on symlinks to directories.
6111 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
6113 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
6114 * bin/autoheader.in: Grammar fix in message.
6115 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
6116 Test for dir before calling mkdir -p. (trivial changes)
6118 2004-01-13 Eric Blake <ebb9@byu.net>
6120 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
6121 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
6123 2004-01-10 Jim Meyering <jim@meyering.net>
6125 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
6127 2004-01-09 Paul Eggert <eggert@twinsun.com>
6129 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
6130 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
6131 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
6132 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
6133 AC_COMPILE_IFELSE, since we now assume our caller invokes
6134 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
6135 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
6136 of AC_RUN_IFELSE; this avoids the warning mentioned above.
6137 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
6139 2004-01-07 Paul Eggert <eggert@twinsun.com>
6141 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
6142 `"'...'"`, as it's confusing (and I suspect it may not work on
6143 some platforms). The code was incorrect anyway, as it assumed
6144 that \$ evaluated to itself in that context. Reported by
6145 Alexandre Duret-Lutz.
6147 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
6149 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
6150 and _LT_AC_TAGCONFIG.
6152 2004-01-06 Paul Eggert <eggert@twinsun.com>
6154 * doc/autoconf.texi (One Macro Call): Fix an incorrect
6155 example, and add more examples. Reported by Eric Sunshine.
6157 2004-01-05 Paul Eggert <eggert@twinsun.com>
6159 * doc/autoconf.texi (Limitations of Usual Tools):
6160 Remove warning against "rm -fr" introduced yesterday; it
6163 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
6164 autoscan, autoupdate, ifnames): Don't use chmod -w.
6165 * lib/Makefile.am (autom4te.cfg): Likewise.
6166 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
6169 2004-01-04 Paul Eggert <eggert@twinsun.com>
6170 Paolo Bonzini <bonzini@gnu.org>
6172 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
6173 by doing lineno substitution only on lines containing "$LINENO".
6175 2004-01-04 Paul Eggert <eggert@twinsun.com>
6177 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
6178 Use "rm -f" to remove conftest.sed, not plain "rm".
6179 Bug reported by David Relson in
6180 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
6182 * Makefile.am (autom4te-update):
6183 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
6184 * Makefile.maint (my-distcheck, do-po-update): Likewise.
6185 * doc/autoconf.texi (Guidelines): Likewise.
6186 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
6187 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
6188 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6189 * lib/autotest/general.m4 (AT_INIT): Likewise.
6190 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
6191 * tests/Makefile.am (clean-local): Likewise.
6192 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
6194 * doc/autoconf.texi (Limitations of Usual Tools):
6195 Warn against "rm -fr".
6197 2004-01-03 Paul Eggert <eggert@twinsun.com>
6199 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
6200 -c -o might not work. From a suggestion by Kevin Ryde.
6201 (C Compiler, Generating Sources, Limitations
6202 of Usual Tools, Limitations of Make, Making testsuite Scripts):
6203 Don't put '-o' after non-options, as POSIX doesn't allow this.
6204 Mention that cc's name might be gcc or c89 or whatever.
6206 2004-01-04 Kevin Ryde <user42@zip.com.au>
6208 * doc/autoconf.texi: Add various further index entries.
6210 2003-12-29 Paul Eggert <eggert@twinsun.com>
6212 * bin/autoreconf.in (autoreconf_current_directory):
6213 Fix typo: mkdir without umask arg.
6215 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
6217 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
6218 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
6219 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
6220 explanation clearer.
6222 2003-12-24 Andreas Schwab <schwab@suse.de>
6224 * doc/autoconf.texi (Default Includes): Fix misspelling of
6225 AC_INCLUDES_DEFAULT.
6227 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
6229 * configure.ac: Test if sh -n works.
6230 * configure: Regenerate.
6231 * tests/atlocal.in: Store the result here.
6232 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
6233 tools.at, looking in atlocal's ac_cv_sh_n_works instead
6234 of explicitly testing.
6235 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
6236 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
6237 * tests/tools.at (Syntax of the shell scripts): Simplify
6238 using AT_CHECK_SHELL_SYNTAX.
6239 (Syntax of the Perl scripts): Remove definition of
6240 AT_CHECK_PERL_SYNTAX.
6242 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
6244 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
6245 stderr to /dev/null.
6246 * bin/autoconf.in: Regenerate.
6247 * bin/wrapper.in: Regenerate.
6249 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
6251 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
6252 Extracted from AS_SHELL_SANITIZE.
6253 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
6255 (AS_SHELL_SANITIZE): Move reinvocation code from
6256 _AS_LINENO_WORKS, use it to find out if shell
6258 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
6260 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
6261 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
6263 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
6264 * bin/autoconf.in: Regenerate.
6265 * tests/wrapper.in: Regenerate.
6266 * tests/tools.at: Test the syntax of tests/autoconf
6267 and tests/testsuite.
6269 2003-11-24 Akim Demaille <akim@epita.fr>
6271 * config/announce-gen (&print_locations, &print_signatures)
6274 No longer rely on Gnus to inline the list of signatures: compute
6277 2003-11-24 Akim Demaille <akim@epita.fr>
6279 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
6280 override some files.
6281 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
6282 From Debian Autoconf 2.58.
6284 2003-11-24 Akim Demaille <akim@epita.fr>
6286 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
6288 From Debian Autoconf 2.58.
6290 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6292 * TODO: Remove already done things. Update the part about finding
6293 tools for the target.
6295 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6297 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
6298 Make wording more consistent.
6299 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6300 Explain the transition better.
6301 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
6302 the transition better.
6304 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
6306 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
6307 parameter of AU_DEFUN.
6308 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
6309 (AU_DEFUN): Remove the third parameter, it was not used.
6310 Use AC_DEFUN directly, not AU_DEFINE.
6311 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
6312 the expanded body, consistently with other macros such as AC_USG.
6314 2003-11-17 Paul Eggert <eggert@twinsun.com>
6316 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
6317 into the initial confdefs.h, to work around a bug in NextStep 3.3
6318 patch 3 reported by Eric Sunshine.
6320 2003-11-15 Kevin Ryde <user42@zip.com.au>
6322 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
6323 than $target since the latter is not usual, add guidelines on when to
6324 use or not use the system type.
6326 2003-11-12 Derek Price <derek@ximbiot.com>
6328 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
6329 typo misrepaired by an auto-spellcheck.
6331 2003-11-12 Akim Demaille <akim@epita.fr>
6333 * bin/autoreconf.in (&parse_args): Don't call automake with
6334 --force-missing unless it actually supports it.
6335 From Debian #219336.
6337 2003-11-12 Akim Demaille <akim@epita.fr>
6339 * configure.ac: Bump to 2.59a.
6342 2003-11-06 Akim Demaille <akim@epita.fr>
6346 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
6348 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
6349 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
6350 and ac_abs_top_srcdir are absolute paths.
6351 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
6353 2003-11-05 Akim Demaille <akim@epita.fr>
6355 * configure.ac: Bump to 2.58a.
6357 2003-11-05 Kevin Ryde <user42@zip.com.au>
6359 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
6360 it provokes a warning from makeinfo about looking like a cross
6361 reference in info output.
6363 * doc/autoconf.texi (Function Portability): Add notes on signal
6364 handler return type, as per AC_TYPE_SIGNAL.
6366 2003-11-04 Akim Demaille <akim@epita.fr>
6369 * doc/standards.texi: Update from master.
6371 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
6373 2003-11-04 Akim Demaille <akim@epita.fr>
6375 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
6376 computing the absolute path to d1 in the source hierarchy: it may
6377 not exist at all. So don't cd into it.
6378 From Alexandre Duret-Lutz.
6379 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
6381 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
6382 From Paul Eggert, but named after Perl's IO::Spec->catfile.
6383 * doc/autoconf.texi (Programming in M4sh): Document.
6384 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
6386 2003-11-03 Pavel Roskin <proski@gnu.org>
6388 * doc/autoconf.texi (Generic Structure Checks): Describe
6389 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
6391 2003-10-31 Akim Demaille <akim@epita.fr>
6393 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
6395 * doc/autoconf.texi (Language Choice): Document.
6396 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
6397 the current language is Fortran.
6399 2003-10-31 Akim Demaille <akim@epita.fr>
6401 * bin/autom4te.in (&freeze): Use a less likely warning separator
6402 than `\n\n', so that `\n\n\n' is valid in warnings.
6403 Reported by Steve Huston.
6405 2003-10-28 Akim Demaille <akim@epita.fr>
6407 * Makefile.cfg (local_updates, executable-update): Tweak to be
6408 robust to parallel makes.
6409 Suggested by Alexandre Duret-Lutz.
6411 2003-10-27 Akim Demaille <akim@epita.fr>
6413 * Makefile.cfg (executable-update): New.
6414 (local_updates): Call it.
6416 2003-10-27 Akim Demaille <akim@epita.fr>
6418 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
6419 Don't remove core.* as it may remove valid user files.
6420 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
6421 (AC_FUNC_UTIME_NULL): Likewise.
6423 2003-10-23 Akim Demaille <akim@epita.fr>
6426 * config/config.guess, config/config.sub: Upgrade from masters.
6428 2003-10-23 Akim Demaille <akim@epita.fr>
6430 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
6431 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
6434 2003-10-23 Akim Demaille <akim@epita.fr>
6436 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
6437 Don't forget to remove conftest.err.
6439 2003-10-23 Akim Demaille <akim@epita.fr>
6441 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
6442 same object file in $LIBOBJS.
6443 Reported by Alexandre Duret-Lutz & Derek Robert Price.
6444 * doc/autoconf.texi (Generic Functions): Adjust.
6446 2003-10-20 Paul Eggert <eggert@twinsun.com>
6448 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
6449 Use 'eval', so that the resulting configure scripts work even if
6450 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
6452 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
6454 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
6455 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
6456 (_AC_LINK_IFELSE): Check the werror flag.
6457 * doc/autoconf.texi (Generic Compiler Characteristics): Document
6461 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
6463 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
6464 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
6465 override AC_LINK_IFELSE.
6467 2003-10-15 Paul Eggert <eggert@twinsun.com>
6469 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
6470 pdksh 5.2.14. Bug reported by Ralf Corsepius.
6471 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
6472 Mention /usr/dt/bin/dtksh on Solaris.
6473 (Shell Substitutions): Warn about $((...)).
6474 (Parentheses): New section.
6476 2003-10-15 Kevin Ryde <user42@zip.com.au>
6478 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
6479 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
6481 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
6483 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
6486 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
6488 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
6489 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
6491 2003-10-10 Andreas Schwab <schwab@suse.de>
6493 * bin/autoheader.in: Avoid empty first line in --version and
6495 * bin/ifnames.in: Likewise.
6497 2003-10-09 Paul Eggert <eggert@twinsun.com>
6499 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
6500 Issue a more-informative diagnostic.
6501 Problems reported by Eric Sunshine.
6503 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
6505 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
6506 -mGLOB_options_string stuff for Intel ifc, which can cause
6507 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
6508 pattern-matching instead of grep.
6510 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
6512 * doc/autoconf.texi: Document new FC Fortran macros.
6514 2003-10-08 Gary V. Vaughan <gary@gnu.org>
6516 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
6517 that future autopoint/aclocal/automake/autoreconf will be able
6518 to trace to find where to install local m4 macros.
6519 * doc/autoconf.texi (Input): Document it.
6522 2003-10-06 Gary V. Vaughan <gary@gnu.org>
6524 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
6525 -lcrtbegin.o to list of ignored flags and fix underquoting of
6528 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
6530 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
6531 cache variable instead of $G77 to decide whether to include -O2,
6532 since $G77 is specific to Fortran 77.
6534 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
6536 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
6537 free" flag. Re-order flags tested into rough order of popularity.
6539 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
6541 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
6542 arguments so that it can be used with syntax identical to
6543 AC_PROG_F77, and so that we can more easily decide to
6544 remove/deprecate the DIALECT optional argument in the future if it
6546 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
6547 non-freeform-supporting compilers. Document freeform flags.
6549 2003-10-03 Akim Demaille <akim@epita.fr>
6551 * configure.ac: Look for emacs, not macs.
6552 Reported by Eric Sunshine.
6554 2003-10-03 Akim Demaille <akim@epita.fr>
6556 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
6557 * bin/autoreconf.in (autoreconf_current_directory): Create the
6558 AUX_DIR if needed, for sake of automake --add-missing etc.
6559 Suggested by Alexandre Duret-Lutz.
6561 2003-10-03 Akim Demaille <akim@epita.fr>
6563 * configure.ac: Quotation and formatting changes.
6564 (EMACS): Don't set it if it is not recent enough to support
6568 2003-10-02 Akim Demaille <akim@epita.fr>
6570 * bin/ifnames.in (&scan_file): Skip C++ comments.
6573 2003-10-01 Pavel Roskin <proski@gnu.org>
6575 * doc/autoconf.texi (Particular Structure Checks):
6576 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
6578 2003-10-01 Akim Demaille <akim@epita.fr>
6582 2003-09-30 Paul Eggert <eggert@twinsun.com>
6584 * lib/Autom4te/XFile.pm: Use Errno.
6585 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
6586 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
6588 2003-09-30 Akim Demaille <akim@epita.fr>
6590 * config/announce-gen (&print_news_deltas): Extracted from...
6591 (&print_changelog_deltas): here.
6592 (&news_file): Rename as...
6595 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
6597 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
6598 have been created when invoking the compiler.
6599 * tests/fortran.at (GNU Fortran 77): Quote $G77.
6601 2003-09-29 Akim Demaille <akim@epita.fr>
6605 * config/mkinstalldirs: Upgrade.
6607 2003-09-28 Paul Eggert <eggert@twinsun.com>
6609 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
6610 Problem reported by Lars J. Aas in
6611 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
6612 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
6613 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
6614 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
6616 2003-09-26 Akim Demaille <akim@epita.fr>
6618 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
6619 directory for AC_CONFIG_COMMANDS' first argument exists.
6620 This makes valid the invocation of _AC_SRCPATH that follows.
6621 Reported by Eric Sunshine.
6622 * doc/autoconf.texi (Configuration Commands): Adjust.
6624 2003-09-26 Akim Demaille <akim@epita.fr>
6626 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
6627 Reported by Ralf Corsepius.
6629 2003-09-26 Akim Demaille <akim@epita.fr>
6631 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
6633 Actually, use AU_ALIAS.
6636 2003-09-26 Paul Eggert <eggert@twinsun.com>
6638 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
6639 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
6640 Problem reported by Eric Sunshine in:
6641 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
6643 2003-09-26 Akim Demaille <akim@epita.fr>
6645 The test suite are sometimes assigning timings incorrectly.
6646 Reported by Henk Krus.
6647 Diagnosed by Nicolas Joly.
6649 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
6651 Instead of making AT_help a sequence of assignments to grow
6652 $at_help_all, just make AT_help_all be the growing contents of
6653 $at_help_all, and make a single assignment in...
6655 (at_times_skip): Flip the meaning and rename as...
6657 (AT_INIT): When summarizing the test that ran, remove
6658 $at_times_file after use, and check it is present before trying to
6661 2003-09-25 Akim Demaille <akim@epita.fr>
6665 * bin/Makefile.am (edit): Handle '@configure_input@'.
6666 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
6667 (ifnames): chmod -w.
6668 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
6669 executables, not bin/ executables! Otherwise all the magic needed
6670 to find non installed files is turned off. This caused a failure
6671 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
6672 as found in its environment (sent by tests/autoreconf): pointing
6673 to bin/autom4te that could not find its files.
6674 * tests/mktests.sh: Force the replacement of generated files, for
6675 the sake of "mv" program that are interactive when overwriting a
6677 * config/install-sh: Upgrade from CVS Automake.
6679 2003-09-23 Paul Eggert <eggert@twinsun.com>
6681 * doc/autoconf.texi (Limitations of Builtins): Document test -h
6682 versus test -L issues.
6684 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
6685 Paul Eggert <eggert@twinsun.com>
6687 Trivial change to support GCC's configuration procedure.
6688 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
6689 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
6690 about inconsistency if the preprocessor is set to give errors for
6692 * doc/autoconf.texi (C Compiler Characteristics): Document this.
6694 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
6696 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
6697 and XFile.pm from Automake.
6698 * lib/Autom4te/XFile.pm: Update from Automake.
6700 2003-09-12 Akim Demaille <akim@epita.fr>
6704 2003-09-12 Akim Demaille <akim@epita.fr>
6706 * config/config.guess, config/config.sub, config/missing,
6707 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
6710 2003-09-12 Akim Demaille <akim@epita.fr>
6712 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
6715 2003-09-11 Akim Demaille <akim@epita.fr>
6717 * doc/autoconf.texi (Header Portability): linux/random.h.
6718 From Peter Hendrickson.
6720 2003-09-10 Akim Demaille <akim@epita.fr>
6722 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
6723 willing to edit the output files.
6725 2003-09-10 Akim Demaille <akim@epita.fr>
6727 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
6729 * tests/mktests.sh: Skip AC_FC_SRCEXT.
6730 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
6732 2003-09-09 Akim Demaille <akim@epita.fr>
6734 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
6735 Reported by Gary Vaughan.
6736 * bin/autom4te.in (handle_m4): Likewise.
6738 2003-09-09 Akim Demaille <akim@epita.fr>
6740 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
6743 2003-09-07 Paul Eggert <eggert@twinsun.com>
6745 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
6746 Improve the accuracy of the wording about obsolescence.
6747 From a suggestion by Ian Lance Taylor in
6748 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
6750 2003-09-05 Paul Eggert <eggert@twinsun.com>
6752 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
6753 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
6755 2003-09-04 Akim Demaille <akim@epita.fr>
6757 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
6760 2003-09-04 Akim Demaille <akim@epita.fr>
6762 * bin/autom4te.in: Use &fatal where more appropriate than &error.
6763 (freeze): When exiting, use $exit_code.
6764 * lib/autoconf/fortran.m4: Comment changes.
6766 2003-09-04 Akim Demaille <akim@epita.fr>
6768 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
6770 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
6772 Add support for newer Fortran dialects. The F77 interface is
6773 unchanged, and continues to support Fortran 77. New FC macros
6774 correspond to all the old F77 macros, with output variables FC,
6775 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
6776 available dialect, but older dialects can be specified. There are
6777 new macros AC_FC_SRCEXT to set the source extension, and
6778 AC_FC_FREEFORM to accept free-form source files.
6780 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
6782 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
6783 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
6784 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
6785 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
6786 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
6787 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
6788 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
6789 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
6790 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
6791 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
6792 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
6793 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
6794 AC_FC_SRCEXT, AC_FC_FREEFORM):
6796 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
6797 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
6798 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
6799 Rewrite in terms of the above.
6800 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
6801 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
6802 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
6803 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
6805 2003-09-02 Paul Eggert <eggert@twinsun.com>
6807 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
6808 Document problems with timestamp resolution that 'make', 'cp -p', and
6811 2003-08-27 Akim Demaille <akim@epita.fr>
6813 * tests/m4sugar.at (cross_warning): Make sure to enable the
6814 output, so that we can track spurious m4sugar output.
6815 * tests/local.at: Require 2.57.
6816 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
6817 are defaulted by AT_CHECK anyway.
6818 Use AT_CHECK_AUTOM4TE.
6819 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
6822 2003-08-27 Akim Demaille <akim@epita.fr>
6824 * bin/autoheader.in: Issue the "Using auxiliary..." message only
6825 when -Wobsolete is set.
6826 Set it on by default.
6827 Suggested by Klee Dienes.
6829 2003-08-27 Akim Demaille <akim@epita.fr>
6831 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
6835 2003-08-26 Akim Demaille <akim@epita.fr>
6837 * doc/autoconf.texi (Output): Make clear that one can run code
6840 2003-08-25 Akim Demaille <akim@epita.fr>
6842 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
6845 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
6847 * bin/autoreconf.in (parse_args): Do not pass --no-force to
6848 Automake versions prior to 1.8.
6850 2003-08-25 Akim Demaille <akim@epita.fr>
6852 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
6855 2003-08-24 Akim Demaille <akim@epita.fr>
6857 * configure.ac: Bump to 2.57c.
6859 2003-08-22 Akim Demaille <akim@epita.fr>
6863 * Makefile.cfg (local-checks-to-skip): New.
6864 * Makefile.maint (local-check): Rename as...
6865 (local-checks-available): this.
6868 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
6869 * configure.ac: Require Automake 1.7.6.
6871 2003-08-22 Akim Demaille <akim@epita.fr>
6873 Output stack traces in warnings.
6875 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
6876 Replace the former...
6877 (m4_warn): Pass the call stack to _m4_warn.
6878 * bin/autom4te.in: Adjust to output the call stack.
6879 * tests/m4sugar.at (m4@&t@_warn): Adjust.
6881 2003-08-22 Akim Demaille <akim@epita.fr>
6883 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
6884 * bin/autom4te.in: Adjust.
6886 2003-08-21 Akim Demaille <akim@epita.fr>
6888 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
6890 (&getopt): Adjust the note and verb channels, depending upon
6892 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
6893 * bin/autoupdate.in: Adjust.
6894 Use &verb, not &verbose.
6896 2003-08-21 Akim Demaille <akim@epita.fr>
6898 * bin/autoheader.in (&parse_args): Use &parse_warnings and
6900 ($help): Use Autom4te::ChannelDefs::usage.
6901 * bin/autoscan.in: Use Autom4te::ChannelDefs.
6902 * lib/Autom4te/General.pm: Don't export error: you don't own it.
6904 2003-08-21 Akim Demaille <akim@epita.fr>
6906 First stab at preserving warnings between calls to autom4te,
6907 including when the cache is used.
6909 There are still several issues: (i) there are too many runs of m4
6910 (one for include, one for warnings, and some more), (ii) warnings
6911 spreading on several lines are not handled gracefully, (iii) the
6912 code meant to have the call stack display for errors does not work
6913 (its handling should move from m4 to autom4te).
6915 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
6917 (@preselect): Add m4_warn.
6918 ($exit_status): Remove, use $exit_code.
6919 ($help): Use Autom4te::ChannelDefs::usage.
6920 (&handle_m4): No longer define the m4_warnings.
6921 At each run, extract and report the warnings.
6922 Always cache the result, including if the exit status is on
6923 failure, since if nothing changes, we should result in the same
6924 failure, hence we can use the cache.
6925 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
6926 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
6928 (m4_warn): Redefine as a do-nothing: it is its invocation that
6929 matters, as warnings are now reported via traces.
6930 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
6931 the contents of m4_warn: make it _call_ m4_warn, so that tracing
6932 the latter reveals calls to the former.
6936 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
6938 2003-08-21 Akim Demaille <akim@epita.fr>
6940 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
6943 2003-08-21 Akim Demaille <akim@epita.fr>
6945 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
6947 * lib/Autom4te/ChannelDefs.pm: Doc typos.
6948 (&parse_warnings): Accept a list of warning requests.
6949 (&usage): Return a string, not a side effect.
6950 (cross): New warning category.
6952 2003-08-21 Akim Demaille <akim@epita.fr>
6954 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
6955 (&require_configure_ac): Accept an optional directory argument.
6956 ($configure_ac): Remove.
6957 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
6959 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
6960 * bin/autoscan.in: Adjust.
6962 2003-08-20 Akim Demaille <akim@epita.fr>
6964 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
6965 Reported by Alexandre Duret-Lutz.
6967 2003-08-20 Akim Demaille <akim@epita.fr>
6969 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
6970 * bin/autom4te: Adjust.
6971 In particular, be Autoconf tools are really silent when properly
6972 working, bind the verbosity of the 'note' channel to $verbose.
6973 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
6974 (&xsystem, &contents): Remove, since they are exported by...
6975 * lib/Autom4te/FileUtils.pm: this.
6977 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
6978 * lib/Autom4te/FileUtils.pm: here.
6980 2003-08-20 Akim Demaille <akim@epita.fr>
6982 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
6983 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
6986 2003-08-20 Akim Demaille <akim@epita.fr>
6988 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
6989 (autom4te-update): New.
6990 * Makefile.cfg (update): Bind autom4te-update.
6992 2003-08-19 Derek Price <derek@ximbiot.com>
6994 * lib/autotest/general.m4: Comment various HELP_* diversions.
6995 (PARSE_ARGS_BEGIN): New section for option parsing related
6997 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
6998 package specific options and associated help.
7000 2003-08-19 Akim Demaille <akim@epita.fr>
7002 * config/announce-gen, Makefile.cfg: New.
7003 * Makefile.am: Adjust.
7004 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
7006 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
7008 * lib/autom4te.in (Automake-preselections): Preselect
7009 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
7012 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
7014 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
7015 (Autoconf-without-aclocal-m4): ... this new language.
7016 * doc/autoconf.texi (autom4te Invocation): Mention
7017 Autoconf-without-aclocal-m4.
7019 2003-08-18 Derek Price <derek@ximbiot.com>
7021 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
7022 RUN-IF-PASS optional arguments.
7024 2003-08-18 Derek Price <derek@ximbiot.com>
7026 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
7028 2003-08-16 Derek Price <derek@ximbiot.com>
7030 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
7031 STDOUT & STDERR arguments.
7033 2003-08-14 Derek Price <derek@ximbiot.com>
7035 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
7036 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
7037 shorter column three. Add DESCRIPTION to log file content.
7039 2003-08-13 Derek Price <derek@ximbiot.com>
7041 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
7044 2003-08-12 Derek Price <derek@ximbiot.com>
7046 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
7047 (AT_CHECK_NOESCAPE): Move core functionality to...
7048 (_AT_CHECK): ...this new macro.
7050 2003-08-07 Derek Price <derek@ximbiot.com>
7052 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
7053 (AT_CHECK_NOESCAPE): ...to this new macro.
7055 2003-07-31 Paul Eggert <eggert@twinsun.com>
7057 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
7058 in Bash 2.01. Problem reported by Brian Gough in
7059 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
7061 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
7063 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
7064 -lcrt1.o, for OS X. (trivial change)
7066 2003-07-07 Paul Eggert <eggert@twinsun.com>
7068 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
7069 inside '#ifndef __cplusplus'. Problem reported by
7072 2003-07-06 Bill Clarke <llib@computer.org>
7074 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
7075 'long', not 'int', for benefit of Sun's recent C++ compilers
7076 (trivial change). See:
7077 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
7078 (This really should be 'intptr_t', not 'long', but that would
7081 2003-06-25 Akim Demaille <akim@epita.fr>
7083 * lib/Makefile.am (autom4te.cfg): Make it read only.
7084 Depend on Makefile since it contains substitutions.
7086 * lib/autom4te.in (args): Add local.at? for Autotest args.
7087 This change was made on autom4te.cfg which is generated.
7088 Reported by Raja R. Harinath.
7090 2003-06-25 Akim Demaille <akim@epita.fr>
7092 * doc/autoconf.texi (Header Portability): sys/mount.h.
7093 From Gareth McCaughan.
7095 2003-06-23 Akim Demaille <akim@epita.fr>
7097 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
7098 not all of them. This fixes 1. the fact that when testing
7099 Autoconf there are many many config.log, 2. the incorrect use of
7100 top_srcdir to find config.log.
7101 Don't mix the detailed output of failed test with the summary of
7102 failures. Rather, append detailed log afterwards.
7104 2003-06-23 Akim Demaille <akim@epita.fr>
7106 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
7107 always run: output config.log on $at_group_log.
7109 2003-06-23 Akim Demaille <akim@epita.fr>
7111 * tests/torture.at (#define header templates): Don't use quotes in
7112 C++ comments as it puzzles Emacs' sh font-lock-mode.
7114 2003-06-23 Akim Demaille <akim@epita.fr>
7116 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
7117 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
7118 * tests/atspecific.m4: Rename as...
7119 * tests/local.at: This.
7120 * tests/suite.at: Move the globals into...
7121 * tests/local.at: here.
7122 * tests/Makefile.am: Adjust.
7123 * doc/autoconf.texi (testsuite Scripts): Adjust.
7125 2003-06-21 Kevin Ryde <user42@zip.com.au>
7127 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
7128 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
7129 ensuring we add -std1 for full-ANSI.
7131 * doc/autoconf.texi (hdrindex): New macro.
7132 Add index entries for portability of various standard header files.
7134 2003-06-20 Akim Demaille <akim@epita.fr>
7136 * configure.ac: Bump to 2.57b.
7138 2003-06-20 Akim Demaille <akim@epita.fr>
7142 2003-06-20 Akim Demaille <akim@epita.fr>
7144 * bin/autom4te.in: Don't rely on $HOME being defined.
7145 Reported by Marc Espie as PR/233.
7147 2003-06-20 Akim Demaille <akim@epita.fr>
7149 * lib/autotest/general.m4: Use at_times_file only if used.
7152 2003-06-20 Akim Demaille <akim@epita.fr>
7154 * config/config.guess, config/config.sub, config/elisp-comp,
7155 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
7156 Update from masters.
7158 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
7160 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
7161 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
7162 (TEST_SCRIPT): New diversion.
7163 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
7164 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
7165 (AT_INIT): Support for expected failures.
7167 2003-06-02 Akim Demaille <akim@epita.fr>
7169 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
7171 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
7172 Autoconf nor Automake.
7173 (&contents): New, from Automake.
7176 2003-05-28 Paul Eggert <eggert@twinsun.com>
7178 * NEWS, doc/autoconf.texi (Particular Functions),
7179 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
7180 is the inverse of localtime.
7182 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
7184 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
7185 (handle_exec_errors): New function. Work around $! being
7186 altered by WEXITSTATUS.
7187 (xqx, xsystem): Use handle_exec_errors.
7189 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
7191 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
7192 Do not call `_exit()', simply modify `$?'.
7193 (xsystem): Reset $! before running system, and check it afterward.
7194 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
7195 63 for version mismatches.
7197 2003-05-23 Akim Demaille <akim@epita.fr>
7199 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
7200 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
7201 the middle of a line).
7202 * lib/m4sugar/m4sugar.m4: Likewise.
7203 Remove useless spaces in comments.
7205 2003-05-23 Akim Demaille <akim@epita.fr>
7207 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
7208 exit 63, so that we (or Automake's "missing") can tell the
7209 difference with a plain failure.
7210 * doc/autoconf.texi (Notices): Adjust.
7212 2003-05-23 Akim Demaille <akim@epita.fr>
7214 * Makefile.am, bin/Makefile.am, config/Makefile.am,
7215 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
7216 White spaces cleanup.
7218 2003-05-22 Jim Meyering <jim@meyering.net>
7219 Paul Eggert <eggert@twinsun.com>
7221 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
7222 Remove `#include <stdlib.h>' from the list; we should never
7223 make confdefs.h include <stdlib.h> or <cstdlib>, because the
7224 resulting namespace pollution would cause other tests to fail.
7225 Configure scripts run with some older versions of g++ and HP's
7226 aCC would fail due to such an #include. Problems reported by
7227 Matthew Mueller in <http://bugs.debian.org/120704> and by
7229 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
7230 In the test, use the test declaration before including <stdlib.h>,
7231 as that's closer to how it'll be used.
7233 2003-05-23 Akim Demaille <akim@epita.fr>
7235 * doc/autoconf.texi (Header Portability): ucred.h.
7238 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
7240 Overhaul Autotest's logging: generate separate log files
7241 in testsuite.dir/NNN/testsuite.log, and append them to
7242 testsuite.log instead of re-running the test verbosely.
7244 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
7245 file descriptor, write 0 to at_status_file instead of setting
7246 at_status=0, initialize some new variables (at_status_file,
7247 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
7248 to rerun the tests, instead append the at_group_log to the
7249 at_suite_log when a test fails.
7250 (AT_SETUP): pipe the test case's output into at_tee_pipe,
7251 with the AS_MESSAGE_LOG_FD redirected to stdout.
7252 (AT_CLEANUP): save the output status in $at_status_file
7253 and restore it, redirect the AS_MESSAGE_LOG_FD back to
7255 (AT_CHECK): since tests are run with a redirected stdout,
7256 and used to be re-run in verbose mode, turn some $at_verbose
7257 into echo, and don't redirect the output of testing stdout
7260 * lib/autotest/autoconf.texi (testsuite Scripts): Update
7261 the name of the debugging directory and information about
7264 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
7266 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
7269 2003-05-22 Akim Demaille <akim@epita.fr>
7271 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
7272 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
7273 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
7274 * lib/autoconf/status.m4: Fix and adjust copyright notices.
7276 2003-05-22 Akim Demaille <akim@epita.fr>
7278 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
7279 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
7280 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7281 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
7282 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
7283 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7284 * lib/autoconf/status.m4, lib/autoconf/types.m4,
7285 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
7286 * tests/atspecific.m4, tests/base.at, tests/compile.at,
7287 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
7288 * tests/tools.at, tests/torture.at:
7289 Whitespace clean up.
7290 Suggested by Jim Meyering.
7292 2003-05-22 Akim Demaille <akim@epita.fr>
7294 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
7295 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
7296 Reported by Jim Meyering.
7298 2003-05-22 Akim Demaille <akim@epita.fr>
7300 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
7301 Add AC_HELP_STRING to the obsolete macros section.
7303 Use '@.' for sentences that ended in a capital letter.
7306 2003-05-22 Akim Demaille <akim@epita.fr>
7308 * config/config.guess, config/config.sub, config/elisp-comp,
7309 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
7310 * config/texinfo.tex, doc/standards.texi: Update from masters.
7312 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
7314 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
7317 2003-05-21 Akim Demaille <akim@epita.fr>
7319 * bin/autoupdate.in ($m4): Fix quotation.
7320 Reported by Martin Mokrejs.
7322 2003-05-19 Paul Eggert <eggert@twinsun.com>
7324 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
7325 Remove non-ASCII characters.
7327 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
7329 * tests/semantics.at (AC_SEARCH_LIBS): New test.
7330 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
7331 AC_CHECK_HEADERS_NEW): New tests.
7333 2003-05-17 Akim Demaille <akim@epita.fr>
7335 * lib/autoconf/functions.m4: Use the default includes so that
7336 memcmp be declared before being tested.
7337 Reported by Sander Niemeijer.
7338 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
7339 * doc/autoconf.texi (Default Includes): Document
7340 AC_INCLUDES_DEFAULT.
7342 2003-05-17 Akim Demaille <akim@epita.fr>
7344 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
7345 * doc/autoconf.texi (Obsolete Macros): Adjust.
7346 Reported by Werner LEMBERG and Debian Bug 190886.
7348 2003-05-16 Akim Demaille <akim@epita.fr>
7350 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
7351 user name space clashes.
7352 Reported by Bruno Haible.
7354 2003-05-16 Akim Demaille <akim@epita.fr>
7356 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7357 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
7358 them uniform, and more robust to Perl special characters.
7359 Reported by Martin Mokrejs.
7361 2003-05-14 Akim Demaille <akim@epita.fr>
7363 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
7365 2003-05-14 Akim Demaille <akim@epita.fr>
7367 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
7370 2003-05-12 Akim Demaille <akim@epita.fr>
7372 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
7374 From Matthias Andree.
7376 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
7378 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
7381 2003-05-06 Akim Demaille <akim@epita.fr>
7383 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
7384 longer updates aclocal.m4 if useless, (ii) if a file m4_included
7385 by aclocal.m4 is changed it might require the importing of another
7386 m4 extension file, i.e., aclocal must be run.
7388 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
7389 (&parse_args): Use --force with aclocal if required and supported.
7390 (&autoreconf_current_directory): Use &run_aclocal.
7392 2003-05-06 Akim Demaille <akim@epita.fr>
7394 Lock autom4te's cache.
7396 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
7397 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
7398 argument instead of a file name, so that the request file remains
7399 open during the whole autom4te run.
7400 ($icache_file): New.
7401 (&freeze): Lock the $icache_file.
7403 2003-04-29 Derek Price <derek@ximbiot.com>
7405 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
7406 seperator with m4_append_uniq(). It doesn't work.
7407 (AT_CLEANUP): Add `;' to end of at_help_all.
7408 (AT_INIT): Allow --keywords to be specified more than once. When
7409 grepping $at_help_all for keywords, use the field and keyword
7410 seperators to ensure a complete keyword match. Alter at_prev handling
7411 to support the new --keywords behavior.
7413 2003-04-27 Karl Berry <karl@freefriends.org>
7415 * doc/autoconf.texi: Make the dir entries in the autoconf manual
7416 align better with others. I also made some of the individual
7417 entries on one line, for brevity and to make it easier for me to
7418 sort my dir-example file in the Texinfo distribution :).
7420 2003-04-12 Jim Meyering <jim@meyering.net>
7422 * NEWS: Mention the new macro.
7423 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
7424 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
7425 * tests/c.at: Test AC_C_RESTRICT.
7426 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
7428 2003-04-08 Akim Demaille <akim@epita.fr>
7430 * bin/ifnames.in: Skip C++ comments.
7433 2003-04-08 Akim Demaille <akim@epita.fr>
7435 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
7436 From Ilya Zakharevich.
7438 2003-04-08 Akim Demaille <akim@epita.fr>
7440 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
7443 2003-04-01 Derek Price <derek@ximbiot.com>
7445 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
7446 from Akim's checkin of 2003-03-29.
7448 2003-04-01 Derek Price <derek@ximbiot.com>
7450 * tests/torture.at (Configuring subdirectories): Add missing
7451 close-quote for Akim's change from 2003-03-28.
7453 2003-04-01 Akim Demaille <akim@epita.fr>
7455 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
7456 (AC, AT, MS): these.
7457 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
7460 * doc/Makefile.am (CLEANFILES): Adjust.
7461 (TEXI2DVI): Make it --batch.
7463 2003-03-31 Derek Price <derek@ximbiot.com>
7465 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
7466 which removed the main loop.
7467 Thanks to Akim Demaille.
7469 2003-03-29 Akim Demaille <akim@epita.fr>
7471 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
7473 From Ilya Zakharevich.
7475 2003-03-29 Akim Demaille <akim@epita.fr>
7477 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
7478 documentation to read is Autoconf's.
7479 Suggested by Paul Eggert.
7481 2003-03-28 Akim Demaille <akim@epita.fr>
7483 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
7484 reading the section "Present But Cannot Be Compiled" when the
7485 header causes problems.
7487 2003-03-28 Akim Demaille <akim@epita.fr>
7489 * tests/torture.at (Configuring subdirectories): Require aclocal
7490 1.4, otherwise the test fails, as it does support configure.ac.
7491 This fixes the "test 40 failed" bug reports.
7493 2003-03-28 Akim Demaille <akim@epita.fr>
7495 * doc/autoconf.texi (C Compiler): `#line' portability.
7496 From Paul Eggert and Nelson H. F. Beebe.
7498 2003-03-27 Derek Price <derek@ximbiot.com>
7500 * lib/autotest/general.m4: Eliminate main loop and reorganize test
7501 layout in order to allow scripting around test groups.
7503 2003-03-27 Derek Price <derek@ximbiot.com>
7505 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
7506 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
7507 use new diversions in preparation for accepting new arguments and
7508 allowing scripting around tests.
7509 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
7511 2003-03-26 Derek Price <derek@ximbiot.com>
7513 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
7514 obsolete AC_HELP_STRING.
7515 (AC_HELP_STRING): AU_DEFUN to...
7516 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
7517 * tests/m4sh.at (AS_HELP_STRING): New test.
7519 * tests/acgeneral.at: Regenerated.
7521 2003-03-26 Derek Price <derek@ximbiot.com>
7523 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
7524 sense. Verbosify the diversion definitions comment.
7526 2003-03-26 Derek Price <derek@ximbiot.com>
7528 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
7531 2003-03-21 Eric Siegerman <eric_97@pobox.com>
7533 * doc/autoconf.texi (Present But Cannot Be Compiled):
7534 Grammar fixes and minor rewording. (trivial change)
7536 2003-03-06 Paul Eggert <eggert@twinsun.com>
7538 Work around a problem noted by Nelson H. F. Beebe with coreutils
7539 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
7540 2002/05/09) rejects '#line 32768 "configure"' because the line
7542 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
7544 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
7545 * doc/autoconf.texi (Generating Sources): Document this.
7547 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
7549 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
7550 file name for the m4 program, when it has an "exe" file extension.
7551 DJGPP's error messages include the error code in brackets -
7552 remove the error code during normalization.
7554 2003-02-28 Akim Demaille <akim@epita.fr>
7556 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
7558 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
7560 * doc/autoconf.texi (Limitations of Make): Remove the section
7561 about `$<' in inference rules, it was a bogus interpretation of
7562 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
7563 Tru64 make in the "target lookup" section.
7564 (Automake): Automake 1.5+ no longer requires special tools to be
7565 present on the developer's host.
7567 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
7569 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
7570 to a shell that can handle redirection or quoting correctly.
7571 Override SHELL with the shell detected by configure.
7572 Use of $^O suggested by Tim van Holder.
7573 * bin/autom4te.in (BEGIN): Likewise.
7574 * bin/autoreconf.in (BEGIN): Likewise.
7575 * bin/autoscan.in (BEGIN): Likewise.
7576 * bin/autoupdate.in (BEGIN): Likewise.
7577 * bin/ifnames.in (BEGIN): Likewise.
7579 * bin/ifnames.in: Add final newline to help and version messages.
7581 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
7582 to cope with DOS-style absolute paths, when constructing
7585 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
7586 When constructing paths with IFS=:, quote the path. If we're
7587 constructing a DOS-style absolute path, we don't want to split it
7590 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
7593 2003-02-25 Pavel Roskin <proski@gnu.org>
7595 * bin/autoheader.in: Add missing newline when printing
7596 suggestion how change AC_DEFINE call.
7598 2003-02-24 Paul Eggert <eggert@twinsun.com>
7600 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
7601 2002-09-01 patch by replacing "test -n" with "test -z".
7602 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
7603 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
7605 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
7606 to fix a mismatch between example and discussion.
7608 2003-02-24 Kevin Ryde <user42@zip.com.au>
7610 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
7611 format starting with "-".
7613 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
7615 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
7616 is not portable inside Makefile.
7618 2003-02-20 Akim Demaille <akim@epita.fr>
7620 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
7621 compiler says yeah, but preproc says nope, compiler is right.
7622 Conversely, prompt the reader to send a bug report to the
7623 maintainers of the package, not of Autoconf.
7625 2003-02-20 Klee Dienes <kdienes@apple.com>
7627 * bin/autoreconf.in (autoreconf_current_directory): Properly
7628 handle an empty aclocal.m4.
7630 2003-02-20 Akim Demaille <akim@epita.fr>
7632 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
7636 2002-12-23 Paul Eggert <eggert@twinsun.com>
7638 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
7639 innocuous variant befor including <limits.h> or <assert.h>. This
7640 works around a bug reported by Albert Chin: HP-UX 11i
7641 (and earlier versions) have a <limits.h> that declares
7642 gettimeofday and many other functions.
7644 2002-12-03 Paul Eggert <eggert@twinsun.com>
7648 * NEWS, configure.ac: Update version.
7650 * doc/fdl.texi: Upgrade to FDL version 1.2.
7652 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
7653 nontrivially in main's body, so that f's external declaration is
7654 not optimized away in AIX. This should fix the bug reported by
7656 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
7658 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
7659 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
7660 defined, to support freestanding compilers. This should fix the
7661 bug reported by Momchil Velkov in
7662 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
7664 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
7665 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
7666 obsolete AC_CHECK_TYPE. The missing empty arg was reported
7667 by Simon Josefsson in
7668 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
7670 * Makefile.maint (www-gnu): New macro.
7671 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
7672 the location has moved.
7674 2002-12-02 Martin Frydl <martin@systinet.com>
7676 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
7677 \(.*\) match is too long and there is something more to be checked.
7678 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
7680 2002-11-15 Akim Demaille <akim@epita.fr>
7684 * config/install-sh: chmod +x.
7686 * config/move-if-change: Indenting changes.
7687 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
7688 * configure.ac (AM_INIT_AUTOMAKE): here.
7691 2002-11-14 Akim Demaille <akim@epita.fr>
7695 * config/config.guess, config/config.sub, config/install-sh:
7696 Update from masters.
7698 2002-11-14 Akim Demaille <akim@epita.fr>
7700 * Makefile.maint: Sync with Bison, i.e.:
7701 (po-check): Scan .l and .y files instead of the
7702 .c and the .h files that they generate. This fixes the bug
7703 reported by Tim Van Holder in:
7704 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
7705 Look for N_ as well as for _. Try to avoid matching #define for
7709 2002-11-14 Akim Demaille <akim@epita.fr>
7711 * doc/autoconf.texi (C Compiler): Compiling several files at once.
7712 From Paul Eggert and Albert Chin-A-Young.
7714 2002-11-14 Akim Demaille <akim@epita.fr>
7716 * doc/autoconf.texi (C Compiler): Solitary backslashes.
7717 From Paul Eggert and Albert Chin-A-Young.
7719 2002-11-14 Kevin Ryde <user42@zip.com.au>
7721 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
7722 than assigning in main, to avoid HP cc +O3 optimizing it away.
7724 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
7726 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
7727 option. Process --recheck after parsing all options. Pass -q
7728 option to configure on --recheck.
7729 (AC_OUTPUT): Pass -q from configure to config.status.
7730 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
7731 arguments to record.
7732 * doc/autoconf.texi (config.status Invocation): Document
7733 config.status -q option.
7735 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
7737 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
7738 Makefile.in if Makefile.am exists.
7739 (output): Strip `.am' from Makefiles. Don't
7740 output AC_CONFIG_FILES if no Makefiles were found.
7742 2002-11-07 Akim Demaille <akim@epita.fr>
7744 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
7745 (local_updates): New.
7746 * Makefile.maint: Update, from CVS Bison.
7747 (local_updates): New.
7749 2002-11-06 Akim Demaille <akim@epita.fr>
7751 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
7752 declaration in extern "C" too.
7753 Reported by Roberto Bagnara.
7755 2002-11-06 Akim Demaille <akim@epita.fr>
7757 * tests/torture.at (Configuring subdirectories): Don't use grep
7759 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
7760 Reported by Ezra Peisach.
7762 2002-11-05 Akim Demaille <akim@epita.fr>
7764 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
7766 We _have_ to stop using the old compatibility scheme that tried to
7767 avoid useless backslashes because Libtool 1.4.3 contains a
7768 AC_DEFINE([error_t], [int],
7769 [Define to a type to use for \`error_t' if it is not
7770 otherwise available.])
7771 We _have_ to quote the single quote and backslashes with \. The
7772 old compatibility scheme saw that ` was backslashed, and therefore
7773 did not quote the single quote. Hence before this patch, Autoconf
7774 was not compatible with Libtool.
7776 2002-11-04 Paul Eggert <eggert@twinsun.com>
7778 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
7779 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
7780 LC_NAME, LC_PAPER, LC_TELEPHONE.
7781 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
7783 2002-11-04 Akim Demaille <akim@epita.fr>
7787 * Makefile.maint (update, cvs-update, po-update, do-po-update):
7789 * config/texinfo.tex: Update.
7791 2002-11-03 Akim Demaille <akim@epita.fr>
7793 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
7795 (&autoreconf): here.
7796 ($help, $make, &parse_args, &autoreconf_current_directory):
7798 * doc/autoconf.texi (autoreconf Invocation): Adjust.
7800 2002-10-31 Bruno Haible <bruno@clisp.org>
7802 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
7803 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
7804 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
7805 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
7806 to ac_cv_func_realloc_0_nonnull.
7807 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
7809 2002-10-31 Akim Demaille <akim@epita.fr>
7811 The test suite was no longer checking for trailing envvars and files.
7813 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
7814 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
7816 2002-10-31 Akim Demaille <akim@epita.fr>
7818 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
7819 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
7820 Make variable, not a shell variable.
7821 Suggested by Bruno Haible.
7823 2002-10-31 Akim Demaille <akim@epita.fr>
7825 * bin/autom4te.in (load_configuration): Reject #args out of any
7828 2002-10-31 Akim Demaille <akim@epita.fr>
7830 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
7831 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
7832 (_AC_RUN_IFELSE): Use it.
7833 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
7834 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
7835 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
7838 2002-10-30 Akim Demaille <akim@epita.fr>
7840 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
7841 * doc/autoconf.texi (autom4te Invocation): Adjust.
7842 Suggested by Tim van Holder.
7844 2002-10-29 Paul Eggert <eggert@twinsun.com>
7846 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
7847 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
7848 Problem reported by Bruno Haible.
7850 2002-10-29 Akim Demaille <akim@epita.fr>
7852 * doc/autoconf.texi (Header Templates): Put also in words what the
7853 pictures says to assist free style readers.
7854 (Customizing autom4te): s/--cache=/--cache /.
7856 2002-10-29 Akim Demaille <akim@epita.fr>
7858 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
7860 sparc_address_test returns void.
7861 Use it with an argument, as prototyped.
7864 2002-10-29 Akim Demaille <akim@epita.fr>
7866 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
7867 configure.in, not configure.ac.
7868 Reported by Bruno Haible.
7870 2002-10-29 Akim Demaille <akim@epita.fr>
7872 * tests/torture.at (Deep Package): New test.
7873 (Configuring subdirectories): Don't use a testSubDir as Autotest
7876 2002-10-29 Akim Demaille <akim@epita.fr>
7878 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
7879 * doc/autoconf.texi (Invoking autom4te): Rename as...
7880 (autom4te Invocation): this, for consistency with the other nodes.
7882 2002-10-29 Akim Demaille <akim@epita.fr>
7884 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
7885 Reported by Ralf Corsepius.
7887 2002-10-29 Akim Demaille <akim@epita.fr>
7889 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
7890 characters is a back as an `obsolete' warning now.
7891 Reported by Ralf Corsepius.
7893 2002-10-28 Akim Demaille <akim@epita.fr>
7895 * configure.ac: Bump to 2.54c.
7897 2002-10-28 Akim Demaille <akim@epita.fr>
7901 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
7903 2002-10-28 Akim Demaille <akim@epita.fr>
7905 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
7906 m4 executable names, and different GNU M4 version.
7907 Reported by Ezra Peisach and Paul Jarc.
7909 2002-10-27 Akim Demaille <akim@epita.fr>
7911 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
7914 2002-10-27 Akim Demaille <akim@epita.fr>
7916 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
7917 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
7918 Die when a simple Fortran program cannot be compiled.
7919 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
7920 Issue a warning if no function is given.
7922 2002-10-27 Akim Demaille <akim@epita.fr>
7924 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
7925 Move the documentation of AC_TRY_RUN to...
7926 (Obsolete Macros): here.
7927 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
7928 (autoconf Invocation): Remove the duplicates with `invoking
7930 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
7931 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
7933 2002-10-27 Akim Demaille <akim@epita.fr>
7935 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
7936 and AC_LANG_FUNC_LINK_TRY.
7937 (Examining Libraries): Rename as...
7938 (Running the Linker): this.
7939 Document AC_LINK_IFELSE.
7940 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
7941 (Obsolete Macros): here.
7942 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
7943 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
7944 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
7945 * lib/autoconf/headers.m4 (AC_USG): Likewise.
7947 2002-10-27 Akim Demaille <akim@epita.fr>
7949 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
7951 More `check config.log' messages.
7953 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
7954 * doc/autoconf.texi (Printing Messages): Document it.
7955 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
7957 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
7958 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
7959 (_AC_COMPILER_OBJEXT): Likewise.
7960 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
7961 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
7963 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
7966 Deprecate macros with unusual interfaces.
7968 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
7969 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
7971 Document the new ones, and proper style.
7973 * doc/autoconf.texi (Generating Sources): New.
7974 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
7975 (Examining Declarations): Rename as...
7976 (Running the Preprocessor): this.
7977 Document AC_PREPROC_IFELSE.
7978 (Examining Syntax): Rename as...
7979 (Running the Compiler): this.
7980 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
7981 (Obsolete Macros): Move the definition of AC_TRY_CPP and
7982 AC_TRY_COMPILE here.
7984 2002-10-27 Akim Demaille <akim@epita.fr>
7986 Move sections around.
7988 * doc/autoconf.texi (Customizing autom4te): Remove a lost
7990 Reported by Burno Haible.
7991 (Language Choice): Now the first section of...
7992 (Writing Tests): this section.
7993 Make the introduction less C-centric.
7994 (Guidelines, Test Functions): Move to...
7995 (Writing Test Programs): this new section.
7996 (Test Programs): Merge into...
7999 2002-10-27 Akim Demaille <akim@epita.fr>
8001 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
8002 autom4te.in that resulted in the need for two `make' runs.
8004 2002-10-27 Akim Demaille <akim@epita.fr>
8006 * configure.ac: Bump to 2.54b.
8008 2002-10-25 Akim Demaille <akim@epita.fr>
8012 * Makefile.maint: Update from the Coreutils.
8013 (AMTAR): Remove, obsolete.
8014 (automake_repo): Update to redhat.com.
8016 Adjust to the fact that ansi2knr is now hosted by Automake.
8017 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
8018 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
8019 Update from masters.
8020 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
8021 autoscan.pre is not to be installed, and autoscan.list is not to
8023 (CLEANFILES): Add autoscan.list.
8024 (autoscan.list): Disable the cache.
8025 * bin/Makefile.am: Include freeze.mk.
8027 2002-10-25 Akim Demaille <akim@epita.fr>
8029 * bin/autom4te.in (&load_configuration): Take the file as
8031 (&parse_args): Handle -C, --cache.
8033 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
8034 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
8035 * doc/autoconf.texi (Invoking autom4te): Document --cache.
8036 Now a subsection of...
8037 (Using autom4te): This new section.
8038 (Customizing autom4te): New.
8039 (autom4te.cache): Adjust.
8041 2002-10-25 Akim Demaille <akim@epita.fr>
8043 * doc/autoconf.texi (Generic Headers): More information on how to
8044 use AC_CHECK_HEADERS.
8046 2002-10-25 Akim Demaille <akim@epita.fr>
8048 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
8051 2002-10-25 Akim Demaille <akim@epita.fr>
8053 * bin/autoscan.in (output): Output AC_PREREQ.
8054 (%needed_macros): Add AC_PREREQ so that configure.ac without one
8057 2002-10-23 Akim Demaille <akim@epita.fr>
8059 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
8062 2002-10-23 Akim Demaille <akim@epita.fr>
8064 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
8065 Reported by Peter Eisentraut.
8067 2002-10-23 Akim Demaille <akim@epita.fr>
8069 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
8072 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
8073 Eggert's recommandations.
8075 2002-10-22 Akim Demaille <akim@epita.fr>
8077 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
8078 Bison, by Paul Eggert.
8079 * doc/autoconf.texi (Particular Headers): Document it.
8081 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
8083 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
8084 `$ac_configure_args'.
8086 2002-10-22 Akim Demaille <akim@epita.fr>
8088 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
8089 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
8092 2002-10-22 Akim Demaille <akim@epita.fr>
8094 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
8096 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8097 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
8098 (_AC_CHECK_HEADER_NEW): Rename as...
8099 (AC_CHECK_HEADER): this.
8101 2002-10-22 Akim Demaille <akim@epita.fr>
8103 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
8104 words about HP-UX cmp: it was actually a user-written cmp.
8106 2002-10-22 Akim Demaille <akim@epita.fr>
8108 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
8110 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8111 Quote for Perl '' strings, not "".
8112 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
8115 2002-10-22 Akim Demaille <akim@epita.fr>
8117 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8118 characters is a syntax warning now.
8119 (_AS_QUOTE): Accept $2 as list of characters to quote.
8120 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
8121 Quote for Perl, not sh.
8122 * bin/autoheader.in: When $debug, report the file which is
8124 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
8125 `@', to tickle Perl's lists.
8126 Reported by Carlos Velasco.
8128 2002-10-18 Akim Demaille <akim@epita.fr>
8130 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
8131 missing included files _are_ errors.
8132 Thanks to Alexandre Duret-Lutz.
8133 * tests/tools.at (autom4te cache): Adjust.
8134 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
8135 (AT_CHECK_M4SUGAR): Use it.
8136 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8138 * tests/tools.at (autom4te): Now it does exit 1.
8140 2002-10-17 Akim Demaille <akim@epita.fr>
8142 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
8143 Fixes the `AC_ARG_VAR' test failures.
8144 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
8145 * lib/freeze.mk (check-forbidden-patterns): New.
8146 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
8147 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
8148 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
8150 Reported months ago by H. Merijn Brand.
8152 2002-10-17 Akim Demaille <akim@epita.fr>
8154 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
8156 2002-10-16 Paul Eggert <eggert@twinsun.com>
8158 * Makefile.maint (wget_files): Remove ansi2knr.c.
8159 (ansi2knr.c-url_prefix): Remove.
8161 2002-10-16 Akim Demaille <akim@epita.fr>
8163 Because of caching, some files that no longer exist and are no
8164 longer required can still cause errors.
8165 Reported by Alexandre Duret-Lutz.
8167 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
8168 to frozen files in @ARGV, as @ARGV must remain being a list of
8169 files. Rather, at M4 call sites, use this...
8170 (&files_to_options): New function.
8171 (&freeze): Use &error.
8172 (&up_to_date): If a file that was included according to the cache
8173 is no longer there, then the output is out dated.
8174 (&main): Don't even check whether a file is up to date is anyway
8176 * tests/tools.at (autom4te cache): New.
8178 2002-10-16 Akim Demaille <akim@epita.fr>
8180 * bin/autoconf.as: Kill dead options.
8181 * bin/autoupdate.in (&parse_args): Kill old options.
8182 * bin/autoreconf.in (&parse_args): Remove dead options.
8184 (&autoreconf): Report the directories we enter *and leave*, so
8185 that error messages can be easily located, and use GNU Make
8186 format, so that Emacs' compile mode understands us.
8187 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
8188 if some file was changed instead of `print'.
8189 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
8190 (&parse_args): Remove the dead options.
8191 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
8192 autoheader's quiet mode.
8193 (AT_CHECK_AUTOUPDATE): Likewise.
8194 * tests/tools.at (autoupdate): Adjust.
8195 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8197 2002-10-11 Akim Demaille <akim@epita.fr>
8199 No longer use CPP to check for the existing of headers: use CC to
8200 check for compilability.
8202 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
8203 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
8204 (_AC_CHECK_HEADER_NEW): Rename as...
8205 (AC_CHECK_HEADER): this.
8207 * lib/autotest/general.m4 (AT_INIT): Include the failed test
8208 numbers in the Subject suggestion.
8210 2002-10-11 Akim Demaille <akim@epita.fr>
8212 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
8213 Suggest using AC_CHECK_DECLS instead.
8215 2002-10-11 Akim Demaille <akim@epita.fr>
8217 * tests/torture.at (AC_ARG_VAR): Have configure report the value
8220 2002-10-11 Akim Demaille <akim@epita.fr>
8222 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
8223 file name to enable parallel executions.
8224 From Sam Varshavchik.
8226 2002-10-08 Akim Demaille <akim@epita.fr>
8228 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
8229 aclocal invocation, as Gettext macros might not be visible to
8231 Instead of blindly running autopoint, scan configure.ac (not the
8232 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
8233 Reported by Paul D. Smith.
8235 2002-10-08 Paul Eggert <eggert@twinsun.com>
8237 Work around problems found when POSIXLY_CORRECT=1 is set.
8238 None of this seems to have anything to do with POSIX, really,
8239 but it's how Perl getopt works.
8240 * bin/autom4te.in (parse_args): Configure GetOpt with
8242 * doc/autoconf.texi (Invoking autom4te):
8243 --warning -> --warnings.
8244 * lib/autom4te.in: --warning -> --warnings.
8246 2002-09-28 Akim Demaille <akim@epita.fr>
8248 * doc/autoconf.texi (autom4te.cache): New section.
8250 2002-09-28 Akim Demaille <akim@epita.fr>
8252 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
8253 (Automake-preselections): Update.
8254 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
8256 2002-09-28 Akim Demaille <akim@epita.fr>
8258 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
8259 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
8260 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8261 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
8263 2002-09-28 Akim Demaille <akim@epita.fr>
8265 * tests/torture.at (Configuring subdirectories): Be robust to
8266 users who use config.site to require for a cache: in this case,
8267 the two last configure runs, using two different sets of
8268 arguments, trigger a legitimate error.
8270 2002-09-28 Akim Demaille <akim@epita.fr>
8272 * tests/m4sh.at (Functions Support, Functions and return Support):
8275 2002-09-28 Akim Demaille <akim@epita.fr>
8277 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
8278 autoheader are Perl programs.
8279 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
8280 (autom4te): Specify that the sources are in the $srcdir.
8281 * doc/autoconf.texi (Installation Directory Variables): Adjust.
8283 2002-09-28 Akim Demaille <akim@epita.fr>
8285 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
8286 (tm_zone): Move their rules to...
8287 * lib/autoconf/types.m4: here, using AN_ macros.
8288 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
8289 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
8290 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
8291 * lib/autoconf/programs.m4: here.
8292 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
8293 (ETAGS_FOR_AUTOCONF): New.
8296 2002-09-28 Akim Demaille <akim@epita.fr>
8298 * lib/autoconf/autoscan.m4: New file.
8299 * lib/autoconf/autoconf.m4: Include it.
8300 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
8301 that were listed in the original autoscan.list.
8302 * lib/autoconf/headers.m4: Similarly with headers.
8303 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
8304 (.m4.m4f): Don't pass --prepend-include, since that's done by
8305 tests/autom4te itself.
8306 * lib/autoscan/Makefile.am: Include freeze.mk.
8307 (autoscan.list): New target --this file is no longer a source.
8308 (autoscan.pre): New file.
8310 2002-09-28 Akim Demaille <akim@epita.fr>
8312 * bin/autoscan.in (@kinds): Make them singular.
8314 (&init_tables): When --debug, report the list of rules to ease
8315 tracking changes in autoscan.list.
8316 * lib/autoscan/autoscan.list (function): Strip comments, sort.
8318 2002-09-28 Akim Demaille <akim@epita.fr>
8320 * lib/autoscan/functions, lib/autoscan/headers,
8321 * lib/autoscan/identifiers, lib/autoscan/makevars,
8322 * lib/autoscan/programs: Merge into...
8323 * lib/autoscan/autoscan.list: this.
8324 * bin/autoscan.in (&init_tables): Adjust.
8326 2002-09-28 Akim Demaille <akim@epita.fr>
8328 * lib/autoscan/functions, lib/autoscan/headers,
8329 * lib/autoscan/identifiers, lib/autoscan/makevars,
8330 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
8331 `functions' line is now prefixed with `function:'.
8332 * bin/autoscan.in (&init_tables): Adjust.
8334 2002-09-28 Akim Demaille <akim@epita.fr>
8336 From now on, autoscan files must always map a macro name to a
8337 word: there is no `default' macro for autoscan.
8339 * bin/autoscan.in (&init_tables): Reject entries with no macro at
8341 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
8344 2002-09-28 Akim Demaille <akim@epita.fr>
8346 * bin/autoscan.in (%c_keywords): Remove.
8347 (&used): Keep only track of the words we might be interested in.
8348 (&output_kind): It is no longer needed to look for non active
8351 2002-09-27 Akim Demaille <akim@epita.fr>
8353 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
8354 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
8355 * lib/autoscan/functions: Adjust.
8356 * doc/autoconf.texi (Particular Functions): Adjust.
8358 2002-09-27 Akim Demaille <akim@epita.fr>
8360 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
8362 Thanks to Bill Moseley and Paul Eggert.
8363 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
8364 the tmpdir must be created.
8365 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
8366 dir be in the build tree, instead of $TMPDIR.
8368 2002-09-27 Akim Demaille <akim@epita.fr>
8370 * bin/autoscan.in: Improve the comments.
8371 (&parse_args): Drop obsolete undocumented options.
8372 (&output_kind): Output warnings.
8373 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
8374 (getwd): Trigger a warning.
8376 2002-09-26 Akim Demaille <akim@epita.fr>
8378 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
8379 Reported by Ralf Corsepius.
8380 * doc/autoconf.texi (autoreconf Invocation): Likewise.
8382 2002-09-26 Akim Demaille <akim@epita.fr>
8384 Single suffix rules and seperated dependencies are not portable.
8386 * doc/autoconf.texi (Installation Directory Variables): Update.
8387 (Limitations of Make): Some about `Single Suffix Rules and
8388 Separated Dependencies'.
8389 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8390 (ifnames, autoscan, autom4te): Un-factor into several rules.
8392 2002-09-25 Paul Eggert <eggert@twinsun.com>
8394 * BUGS (Interoperability bugs): New section. Mention libtool
8395 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
8397 2002-09-24 Paul Eggert <eggert@twinsun.com>
8399 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
8400 make handles suffix-rules differently from GNU make.
8402 * bin/Makefile.am (SUFFIXES, .in): Remove.
8403 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
8404 Move the body of the old .in rule here.
8406 2002-09-16 Akim Demaille <akim@epita.fr>
8408 i960 compilers create `b.out' files by default.
8409 Reported by Ralf Corsepius.
8411 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
8412 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
8414 2002-09-13 Paul Eggert <eggert@twinsun.com>
8416 * doc/autoconf.texi (Particular Headers): Remove obsolete
8417 reference to `struct timezone' in the description of
8420 2002-09-13 Akim Demaille <akim@epita.fr>
8424 * config/config.sub, config/config.guess: Update.
8425 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
8426 * Makefile.am: Adjust.
8428 2002-09-13 Akim Demaille <akim@epita.fr>
8430 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
8431 reading config.log when the compiler is rejected.
8432 Suggested by Guido Draheim.
8434 2002-09-13 Akim Demaille <akim@epita.fr>
8436 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
8437 (chdir_init) might hang when stat'ing mounted directories.
8438 Reported by Vance Shipley.
8440 2002-09-12 Akim Demaille <akim@epita.fr>
8442 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
8445 2002-09-12 Akim Demaille <akim@epita.fr>
8447 * doc/autoconf.texi (Defining Symbols): Present two different
8448 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
8449 difference between 1 argument calls, and 2-3 argument calls.
8451 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
8453 * doc/autoconf.texi: Review grammar and punctuation.
8455 2002-09-11 Paul Eggert <eggert@twinsun.com>
8457 * doc/autoconf.texi: Fix minor formatting, spelling, and
8459 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
8460 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
8463 2002-09-11 Akim Demaille <akim@epita.fr>
8465 * doc/autoconf.texi (Questions): Rename as...
8467 (Defining Directories): New.
8469 2002-09-09 Akim Demaille <akim@epita.fr>
8471 * doc/autoconf.texi (Making testsuite Scripts): Update.
8472 Suggested by Nishio Futoshi.
8474 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
8476 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
8477 plain `@' is wanted.
8479 2002-09-09 Akim Demaille <akim@epita.fr>
8481 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
8482 `duplicates', since the algorithm was too naive and could keep
8483 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
8484 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
8485 Reported by Ralf Corsepius.
8486 * tests/torture.at (Configuring subdirectories): Exercise these
8489 2002-09-09 Akim Demaille <akim@epita.fr>
8491 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
8492 looking for a replacement file.
8493 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
8494 directory is relative.
8495 * doc/autoconf.texi (Generic Functions): Clarify the replacement
8496 directory definition.
8497 Reported by Andreas Schwab and Jim Meyering.
8499 2002-09-06 Akim Demaille <akim@epita.fr>
8501 * doc/autoconf.texi (Setting Output Variables): Clarify what
8502 precious variables are.
8503 Suggested by Pontus Skoeld.
8505 2002-09-05 Akim Demaille <akim@epita.fr>
8507 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
8508 (ifnames, autoscan, autom4te): Since we don't only depend on
8509 configure.ac variables (such as VERSION etc.), but also on prefix
8510 and so forth, depend on Makefile, not configure.ac.
8511 Reported by Alexandre Duret-Lutz.
8512 * doc/autoconf.texi (Installation Directory Variables): Adjust.
8514 2002-09-05 Kevin Ryde <user42@zip.com.au>
8516 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
8517 doesn't seem to be confined to ia64, just say "some versions".
8519 2002-09-04 Akim Demaille <akim@epita.fr>
8521 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
8523 * Makefile.am (maintainer-clean-local): Remove.
8524 (MAINTAINERCLEANFILES): Remove COPYING.
8526 2002-09-03 Paul Eggert <eggert@twinsun.com>
8528 * doc/autoconf.texi (Configuration Commands): Remove obsolete
8529 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
8532 2002-09-03 Akim Demaille <akim@epita.fr>
8534 * configure.ac: Bump to 2.53d.
8535 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
8536 as of today, on Automake's team suggestion.
8538 2002-09-03 Akim Demaille <akim@epita.fr>
8542 2002-09-02 Akim Demaille <akim@epita.fr>
8544 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
8546 * configure.ac: Disable SITE_MACRO_DIR.
8548 2002-09-02 Jim Meyering <meyering@lucent.com>
8550 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
8551 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
8552 Also, tweak grammar: s/make sure to/be sure to/.
8554 2002-09-02 Paul Eggert <eggert@twinsun.com>
8556 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
8557 directory names are generally preferable to physical names.
8559 2002-09-02 Akim Demaille <akim@epita.fr>
8561 * lib/Autom4te/General.pm (&update_file): s/die/error/.
8562 Reported by Raja R. Harinath.
8563 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
8564 * bin/autoupdate.in: Use error instead of die.
8566 2002-09-01 Paul Eggert <eggert@twinsun.com>
8568 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
8569 ordinary shell concatenation rather than echo+tr+sed command that
8570 runs afoul of a long-line-related sed bug in Solaris 8.
8572 * bin/autoheader.in (parse_args): --warning -> --warnings.
8574 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
8575 stdout, as traditional "ls" does.
8576 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
8577 _AC_COMPILER_EXEEXT_O): Likewise.
8578 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
8580 * bin/autoconf.as: Add --prepend-include option. This patch was
8581 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
8582 but bin/autoconf.in is generated automatically from bin/autoconf.as.
8584 * bin/autoconf.in, configure: Regenerate.
8586 * doc/autoconf.texi (Special Shell Variables): Mention
8587 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
8589 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
8590 MAILPATH and set PS1, PS2, PS4 to default values, to work
8591 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
8592 For LC_ALL etc, first try to set to "C" as POSIX requires and as
8593 the Autoconf documentation specifies; fall back to "unset" only if
8594 this fails. Use a shell for-loop for this rather than an m4 loop,
8595 to shorten the output script.
8597 2002-08-30 Paul Eggert <eggert@twinsun.com>
8599 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
8600 1003.1-2001's requirements for CDPATH. Give a simpler workaround
8601 for the CDPATH problem. Document PWD.
8602 (Limitations of Builtins): Document the problem that "cd $foo" and
8603 "ls $foo" may refer to different directories in shells conforming
8604 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
8605 example, since the old example is now out of date.
8607 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
8608 FOO" and "ls FOO" talk about different directories; this catches
8609 problems when POSIX 1003.1-2001 "cd" fails due to symlink
8612 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
8613 of rolling our own unset.
8614 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
8615 in practice we needn't worry about CDPATH if unset doesn't work.
8617 * Makefile.in, aclocal.m4, bin/Makefile.in,
8618 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
8619 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
8620 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
8621 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
8622 tests/Makefile.in: Regenerate with Automake 1.6.3.
8624 * config/config.guess, config/config.sub, config/mkinstalldirs:
8627 * configure: Regenerate with self.
8629 2002-08-30 Kevin Ryde <user42@zip.com.au>
8631 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
8634 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8636 * bin/autom4te.in (Request::load): Correctly test for "do" read
8639 2002-08-29 Akim Demaille <akim@epita.fr>
8641 * lib/Autom4te/General.pm (&xqx): New.
8642 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
8643 hand, which is not portable.
8645 * bin/autom4te.in: Use them.
8646 Use &error instead of die.
8647 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8650 2002-08-17 Paul Eggert <eggert@twinsun.com>
8652 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
8653 default list of compilers to try, since it was long ago superseded
8654 by the ksh fc builtin. Suggested by Steven G. Johnson.
8656 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
8658 * doc/autoconf.texi (Invoking autom4te): End the option table,
8659 fixing a bug introduced by the previous patch.
8660 (Limitations of Make): Add a 'target lookup' subentry in the
8661 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
8663 2002-07-29 Mark D. Roth <roth@feep.net>
8665 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
8666 options and use $AUTOM4TE_PATH.
8667 * doc/autoconf.texi: Remove documentation of autom4te
8668 --include-envvar and --site-macro-subdir options and document
8669 use of $AUTOM4TE_PATH.
8670 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
8671 arguments from each language section.
8673 2002-07-29 Paul Eggert <eggert@twinsun.com>
8675 * doc/install.texi: Include copyright symbol in copyright notice.
8677 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
8679 (AM_MAKEINFOFLAGS): New macro.
8680 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
8681 * Makefile.am (INSTALL): Use the new macros.
8682 Use -o rather than --output, since "missing" does not grok --output.
8684 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
8686 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
8687 comments do not always work. Never trust the exit status of
8690 2002-07-24 Kevin Ryde <user42@zip.com.au>
8692 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
8693 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
8695 2002-07-23 Paul Eggert <eggert@twinsun.com>
8697 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
8698 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
8699 apparently treats PATH="nonexistent" as if it contained ".".
8700 Bug reported by Stefan `Sec' Zehl.
8702 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
8704 * doc/autoconf.texi (Limitations of Make): Mention the special
8705 handling of the obj/ directory by BSD make.
8707 2002-07-20 Kevin Ryde <user42@zip.com.au>
8709 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
8712 2002-07-19 Akim Demaille <akim@epita.fr>
8714 * doc/autoconf.texi (Function Portability): `exit'.
8715 (Programming in M4sh): Ethymology of M4sh.
8717 2002-07-19 Akim Demaille <akim@epita.fr>
8719 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
8721 2002-07-18 Akim Demaille <akim@epita.fr>
8725 2002-07-18 Akim Demaille <akim@epita.fr>
8727 * config/config.guess, config/config.sub: Update.
8729 2002-07-18 Akim Demaille <akim@epita.fr>
8731 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
8734 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
8735 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
8736 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
8738 2002-07-18 Akim Demaille <akim@epita.fr>,
8739 Alexandre Duret-Lutz <duret_g@epita.fr>
8741 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
8742 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
8744 2002-07-17 Russ Allbery <rra@stanford.edu>
8746 * doc/autoconf.texi (Initializing configure): Clarify the
8747 description of the tarname default.
8749 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
8751 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
8752 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
8755 2002-07-17 Akim Demaille <akim@epita.fr>
8757 * lib/Autom4te/General.pm (find_file): Browse the directories in
8758 the order they are given.
8760 2002-07-17 Akim Demaille <akim@epita.fr>
8762 * tests/wrapsh.as, tests/wrappl.as: Merge into...
8763 * tests/wrapper.as: this.
8764 * tests/Makefile.am, configure.ac: Adjust.
8766 2002-07-17 Mark D. Roth <roth@feep.net>
8768 * configure.ac: Add --enable-site-macro-dir option.
8769 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
8770 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
8771 --site-macro-subdir options.
8772 * bin/autoconf.in: Add --prepend-include option.
8773 * bin/autoheader.in: Add --prepend-include option.
8774 * bin/autoreconf.in: Add --prepend-include option.
8775 * bin/autoscan.in: Add --prepend-include option.
8776 * bin/autoupdate.in: Add --prepend-include option.
8777 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
8778 macro directory, remove note that include path directories are
8779 used in reverse order, and document --prepend-include option.
8780 * lib/autom4te.in: Use --prepend-include instead of --include.
8781 * tests/wrapsh.in: Use --prepend-include instead of --include.
8783 2002-07-17 Akim Demaille <akim@epita.fr>
8785 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
8787 * doc/autoconf.texi (Initializing configure): Adjust.
8789 2002-07-17 Akim Demaille <akim@epita.fr>
8791 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
8792 (_AC_FUNC_MALLOC): New.
8793 (AC_FUNC_MALLOC): Use the latter.
8794 Define HAVE_MALLOC to 0 if broken.
8795 * doc/autoconf.texi (Particular Functions): Adjust.
8797 2002-07-16 Akim Demaille <akim@epita.fr>
8799 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
8800 * doc/autoconf.texi (C Compiler): Adjust.
8802 2002-07-09 Akim Demaille <akim@epita.fr>
8804 * doc/autoconf.texi: Properly set the ``header'' part.
8806 2002-07-09 Akim Demaille <akim@epita.fr>
8808 * doc/autoconf.texi (Systemology): Some about Darwin.
8810 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
8812 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
8813 Don't use AC_REQUIRE in AU_DEFUN.
8815 2002-07-09 Art Haas <ahaas@neosoft.com>
8817 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
8819 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
8821 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8822 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
8823 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
8824 so that Emacs setups GNU style for perl-mode and cperl-mode.
8826 2002-06-27 Paul Eggert <eggert@twinsun.com>
8828 * config/install-sh: Quote $src. Prefer || to test's -o option,
8829 as per "Limitations of Builtins".
8830 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
8831 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8833 * tests/mktests.sh: Use grep instead of fgrep, as per
8834 "Limitations of Builtins".
8836 2002-06-15 Paul Eggert <eggert@twinsun.com>
8838 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
8839 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
8840 so that we consistently test the just-built programs.
8841 * tests/wrappl.as: Likewise.
8843 2002-06-12 Paul Eggert <eggert@twinsun.com>
8845 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
8846 name, so that symlinks to 'autoconf' work properly. Bug reported
8848 * bin/autoheader.in (AUTOM4TE): Likewise.
8849 * bin/autoreconf.in (autoconf, autoheader): Likewise.
8850 * bin/autoscan.in (autom4te): Likewise.
8851 * bin/autoupdate.in (autom4te): Likewise.
8853 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
8854 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
8857 2002-06-11 Andreas Schwab <schwab@suse.de>
8859 * doc/autoconf.texi: Add more dir entries.
8861 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
8863 * bin/autom4te.in ($cache): Don't define using `$me', the name
8864 of the cache should not depend on the name under which autom4te
8867 2002-06-07 Akim Demaille <akim@epita.fr>
8869 * tests/tools.at (autoconf: forbidden tokens, basic)
8870 (autoconf: forbidden tokens, exceptions): Adjust to the change of
8871 words in autom4te.in.
8873 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
8875 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
8876 _AC_LANG_PROGRAM_C_F77_HOOKS.
8878 2002-06-07 Akim Demaille <akim@epita.fr>
8880 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
8882 (AC_REPLACE_FNMATCH): this.
8883 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
8884 AC_FUNC_FNMATCH_GNU.
8886 2002-06-07 Akim Demaille <akim@epita.fr>
8888 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
8889 Rosetta Stone for Unix.
8891 2002-06-07 Akim Demaille <akim@epita.fr>
8893 * bin/autom4te.in (warn_forbidden): When rejecting a token,
8894 suggest m4_pattern_allow.
8895 Suggested by Adam J. Richter.
8897 2002-06-07 Akim Demaille <akim@epita.fr>
8899 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
8900 ac_config_libobj_dir.
8901 (AC_CONFIG_LIBOBJ_DIR): New.
8902 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
8903 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
8904 Use ac_config_libobj_dir to find the replacement files.
8905 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
8906 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
8907 (AC_REPLACE_FNMATCH_GNU): these.
8908 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
8909 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
8910 * tests/mktests.sh (ac_exclude_list): Don't check
8911 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
8913 2002-06-06 Paul Eggert <eggert@twinsun.com>
8915 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
8918 * doc/autoconf.texi (Configuration Links): Likewise.
8919 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
8921 2002-06-05 Paul Eggert <eggert@twinsun.com>
8923 * config/config.guess, config/config.sub, config/texinfo.tex:
8924 Update from masters.
8926 2002-05-29 Paul Eggert <eggert@twinsun.com>
8928 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
8929 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
8930 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
8932 * lib/autoconf/Makefile.am (check-local): Likewise.
8933 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
8934 * lib/autoconf/types.m4 (commentary only): Likewise.
8935 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
8936 * lib/autotest/Makefile.am (check-local): Likewise.
8937 * lib/m4sugar/Makefile.am (check-local): Likewise.
8938 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
8939 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
8941 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
8942 * doc/autoconf.texi (Particular Programs): Document them.
8943 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
8946 2002-05-27 Paul Eggert <eggert@twinsun.com>
8948 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
8949 * NEWS, doc/autoconf.texi (Particular Types): Document it.
8950 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
8951 instead of AC_MBSTATE_T, which never existed.
8953 2002-05-23 Akim Demaille <akim@epita.fr>
8955 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
8956 version of Autoconf that is discussed.
8958 2002-05-22 Paul Eggert <eggert@twinsun.com>
8960 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
8961 from the default list of compilers to try. Suggested by
8963 * NEWS: Document the above.
8964 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
8966 2002-05-17 Paul Eggert <eggert@twinsun.com>
8968 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
8969 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
8970 This improves on an earlier suggestion by H. Peter Anvin.
8972 2002-05-16 Paul Eggert <eggert@twinsun.com>
8974 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
8975 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
8976 Both macros now accept an optional source-dir arg.
8977 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
8979 * NEWS: Document this.
8980 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
8982 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
8983 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
8984 not for GNU extensions; this undoes part of the 2000-11-03 change,
8985 reverting to 2.13-compatible behavior.
8986 Add new optional argument DIR.
8987 (AC_FUNC_FNMATCH_GNU): New macro.
8989 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
8991 2002-05-08 Paul Eggert <eggert@twinsun.com>
8993 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
8994 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
8995 and it causes a 'test' syntax error if it fails.
8996 Bug reported by Stephen Gildea.
8998 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
8999 If prototypes are supported, use them to check this at compile-time,
9000 instead of trying to check it at run-time. If we must do a run-time
9001 check, assume that setvbuf is standard when cross-compiling, as
9002 nonstandard setvbuf occurs only on ancient and unlikely hosts.
9003 Bug reported by Paul D. Smith.
9005 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
9006 argument specifying location of getloadavg.c. This removes a
9007 FIXME. This idea was taken from Jim Meyering's implementation in
9009 * doc/autoconf.texi (Particular Functions): Document this.
9010 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
9011 that's what the code does; this fixes a bug reported by
9014 2002-05-03 Akim Demaille <akim@epita.fr>
9016 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
9017 autopoint instead of gettextize.
9018 ($uses_alocal): Rename as...
9019 ($uses_aclocal): this.
9020 * doc/autoconf.texi (autoreconf Invocation): Adjust.
9021 Suggested by Bruno Haible.
9023 2002-05-03 Akim Demaille <akim@epita.fr>
9025 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
9027 2002-04-29 Paul Eggert <eggert@twinsun.com>
9029 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
9030 files to be 1 second older; just set them to be the same time.
9031 Also, sleep 1 second after the first aclocal, to work around
9032 problems with sub-second time stamps on the input files.
9034 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
9036 * doc/autoconf.texi: Mention "set -e -x" lossage
9037 under node "Limitations of Builtins".
9039 2002-04-29 Akim Demaille <akim@epita.fr>
9041 * doc/install.texi: Better wording for setting variables when
9043 From Christian Cornelssen.
9045 2002-04-29 Akim Demaille <akim@epita.fr>
9047 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
9048 of lack of $LINENO support, then the test will compare the $LINENO
9049 in testsuite vs. the lineno in the test file. This is wrong, of
9051 Be sure to protect it.
9052 Reported by Patrick Welche.
9054 2002-04-25 Akim Demaille <akim@epita.fr>
9056 * doc/autoconf.texi (Obsolete Macros): Typo.
9057 Reported by Vladimir Volovich.
9059 2002-04-25 Akim Demaille <akim@epita.fr>
9061 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
9062 than some of the input files, hence, on the second run of aclocal,
9063 if some of its input are younger, make them older.
9064 Suggested by Paul Eggert.
9066 2002-04-25 Akim Demaille <akim@epita.fr>
9068 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
9069 Thanks to Paul Eggert.
9071 2002-04-25 Akim Demaille <akim@epita.fr>
9073 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
9074 and ac_subst_vars be sh variables containing the list of
9075 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
9077 (_AC_INIT_PREPARE): Use them to log them.
9078 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
9079 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
9080 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
9081 _AC_SUBST_FILES and _AC_SUBST_VARS.
9082 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
9084 2002-04-24 Akim Demaille <akim@epita.fr>
9086 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
9087 autoheader, so that automake does not complain about a missing
9088 config.h.in that was to be created.
9090 2002-04-23 Akim Demaille <akim@epita.fr>
9092 * bin/autoheader.in (parse_args): --warning takes an argument.
9095 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
9097 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
9098 and bb.out when cleaning up.
9100 2002-04-22 Akim Demaille <akim@epita.fr>
9104 2002-04-22 Akim Demaille <akim@epita.fr>
9106 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
9108 2002-04-22 Akim Demaille <akim@epita.fr>
9110 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
9112 Reported by Gregory Giannoni.
9114 2002-04-22 Akim Demaille <akim@epita.fr>
9116 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
9117 Fixes false failures on Darwin.
9119 2002-04-21 Paul Eggert <eggert@twinsun.com>
9121 * TODO, bin/autoupdate.in, doc/autoconf.texi,
9122 lib/autoconf/general.m4, lib/autoconf/libs.m4,
9123 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
9124 tests/tools.at: Minor spelling and grammar fixes.
9126 2002-04-20 Paul Eggert <eggert@twinsun.com>
9128 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
9129 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
9130 * lib/autotest/general.m4 (AT_INIT): Likewise.
9131 * tests/atgeneral.m4 (AT_INIT): Likewise.
9133 2002-04-19 Paul Eggert <eggert@twinsun.com>
9135 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
9136 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
9137 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
9138 lib/autoconf/functions.m4, lib/autoconf/general.m4,
9139 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
9140 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
9141 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
9142 Minor spelling and grammar fixes.
9144 * doc/autoconf.texi: Follow the outline suggested in the GNU
9145 Sample Texts sections of the Texinfo 4.2 manual. Most
9146 importantly, this makes sure that the copyright notices appear in
9147 all output formats. You probably need Texinfo 4.2 to generate
9150 Fix some bugs when using "$@" when there might be zero positional
9151 arguments in cases where this matters.
9153 * bin/autoconf.as: Rewrite so that the problem does not come up.
9154 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
9155 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
9156 * lib/autotest/general.m4 (AT_INIT): Likewise.
9158 * bin/autoheader.in: Use 'case' statement to work around problem.
9159 * bin/auto4mte.in: Likewise.
9160 * bin/autoreconf.in: Likewise.
9161 * bin/autoscan.in: Likewise.
9162 * bin/autoupdate.in: Likewise.
9163 * bin/ifnames.in: Likewise.
9165 * doc/autoconf.texi (Shell Substitutions): Document the problem.
9167 * lib/autotest/general.m4 (AT_INIT):
9168 Use Zsh alias to work around problem.
9169 * tests/atgeneral.m4 (AT_INIT): Likewise.
9171 * tests/c.at: We can't have zero arguments, so remove workaround
9172 that is not portable to Zsh.
9174 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
9176 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
9177 from aclocal.m4 too.
9179 2002-04-12 Akim Demaille <akim@epita.fr>
9181 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
9183 2002-04-10 Akim Demaille <akim@epita.fr>
9185 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
9186 workaround for ${1+"$@"}.
9187 * doc/autoconf.texi (Shell Substitutions): Explain it.
9188 From Oliver Kiddle and Peter Stephenson.
9190 Have M4sh perform minimal shell sanitizing.
9192 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
9194 (_AS_PREPARE): this new macro.
9196 (AS_INIT): Invoke AS_SHELL_SANITIZE.
9197 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
9199 Adjust Autoconf and Autotest.
9201 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
9202 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
9203 * lib/autotest/general.m4 (AT_INIT): Likewise.
9204 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
9205 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
9208 Use this M4sh to generate Autoconf's shell scripts.
9210 * tests/wrapsh.as: New, precursor of wrapsh.in.
9211 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
9212 on Autotest and M4sh.
9213 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
9214 (wrapsh.in): New target.
9215 * bin/autoconf.as: New, precursor of autoconf.in.
9216 (autoconf.in): New target.
9218 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
9220 * doc/autoconf.texi (Limitations of Make): Mention the issue
9221 with indented comments in rules.
9223 2002-04-09 Andreas Schwab <schwab@suse.de>
9225 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
9226 ac_top_builddir when setting ac_abs_top_builddir.
9228 2002-04-06 Kevin Ryde <user42@zip.com.au>
9230 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
9231 (Portable Shell): Cross reference to Systemology.
9233 2002-04-05 Akim Demaille <akim@epita.fr>
9235 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
9236 directories when descending in a SUBDIRS.
9237 Reported by Ezra Peisach.
9239 2002-04-04 Andreas Schwab <schwab@suse.de>
9241 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
9242 contains no literal separators.
9244 2002-04-03 Akim Demaille <akim@epita.fr>
9246 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
9247 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
9248 Use dnl, not the KILL diversion.
9250 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
9251 (AC_CONFIG_LINKS): here.
9253 Don't use the KILL diversion, as it kills spurious output, which
9254 results in failures being hidden.
9255 Use m4_defn where appropriate.
9256 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
9257 after the second argument.
9259 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
9260 syntax, as it is provided by M4sugar.
9261 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
9263 2002-04-03 Andreas Schwab <schwab@suse.de>
9265 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
9266 expanded if $# <= 2.
9268 * bin/autoreconf.in (autoreconf): Run automake after rerunning
9271 2002-04-03 Akim Demaille <akim@epita.fr>
9273 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
9274 (_AC_COMPILER_EXEEXT_REJECT): New.
9275 Also recognize *.bb and *.bbg as compilation byproducts.
9276 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
9277 (_AC_COMPILER_OBJEXT): Use them.
9278 Fixes Debian #138666.
9280 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
9282 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
9284 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
9285 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
9286 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
9287 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
9289 (AC_C_INLINE): Same.
9290 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
9291 * doc/autoconf.texi, NEWS: Document.
9292 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
9295 2002-04-02 Akim Demaille <akim@epita.fr>
9297 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
9298 _AS_MKDIR_P_PREPARE.
9300 2002-03-28 Kevin Ryde <user42@zip.com.au>
9302 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
9303 to avoid versions of HP C which don't allow that.
9305 2002-03-27 Paul Eggert <eggert@twinsun.com>
9307 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
9308 (AS_SHELL_SANITIZE): Invoke it.
9309 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
9311 2002-03-26 Akim Demaille <akim@epita.fr>
9313 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
9315 2002-03-26 Akim Demaille <akim@epita.fr>
9317 * doc/autoconf.texi (Introduction): The GNATS base moved.
9319 2002-03-25 Paul Eggert <eggert@twinsun.com>
9321 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
9322 as POSIX requires, as it doesn't work with Zsh.
9323 * doc/autoconf.texi (Assignments): Document the problem.
9325 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
9327 * doc/autoconf.texi (Limitations of Make): Mention more issue
9328 about VPATH, overriding of macros in sub-makes, and handling of
9331 2002-03-21 Paul Eggert <eggert@twinsun.com>
9333 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
9334 problem with here-document buffer boundaries.
9336 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
9337 when reinvoking the shell, to work around problems with installers
9338 who put strange things like "cd" commands in their environments.
9340 2002-03-19 Akim Demaille <akim@epita.fr>
9342 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
9345 2002-03-19 Akim Demaille <akim@epita.fr>
9347 * bin/autoscan.in (scan_file): Specify the location in `&used'
9351 2002-03-19 Akim Demaille <akim@epita.fr>
9353 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
9354 From Nishio Futoshi.
9356 2002-03-19 Akim Demaille <akim@epita.fr>
9358 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
9360 2002-03-18 Paul Eggert <eggert@twinsun.com>
9362 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
9363 (Limitations of Usual Tools): Add mkdir section.
9365 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
9366 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
9367 back on AS_DIRNAME to compute prefixes otherwise; this is
9368 roughly what mkinstalldirs does. That way, we need not have
9369 our own filename disassembler. The old disassembler did not
9370 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
9372 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
9373 Create at_test_all by a series of assignments,
9374 not by a single assignment of a long string. The latter causes ksh
9375 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
9376 presumably because of a buffer overrun.
9378 2002-03-14 Paul Eggert <eggert@twinsun.com>
9380 * lib/autotest/general.m4 (at_times_skip):
9381 Renamed from at_times. Now a boolean.
9382 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
9383 says 'times: not found'.
9385 2002-03-14 Akim Demaille <akim@epita.fr>
9387 * bin/autoreconf.in (&study_gettextize): New.
9388 (&autoreconf): Handle newest gettextize.
9389 Rerun aclocal if needed.
9390 Suggested by Andreas Schwab.
9392 2002-03-13 Akim Demaille <akim@epita.fr>
9394 * doc/autoconf.texi (Special Shell Variables): More about IFS.
9396 2002-03-13 Akim Demaille <akim@epita.fr>
9398 * doc/autoconf.texi (Header Portability): New.
9399 Add information about stdint.h and inttypes.h from Paul Eggert.
9401 2002-03-13 Akim Demaille <akim@epita.fr>
9403 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
9407 2002-03-12 Akim Demaille <akim@epita.fr>
9409 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
9412 2002-03-11 Andreas Schwab <schwab@suse.de>
9414 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
9415 does not do it if --with-lispdir is given.
9417 2002-03-08 Akim Demaille <akim@epita.fr>
9421 2002-03-08 Akim Demaille <akim@epita.fr>
9423 * doc/autoconf.texi (Subdirectories): Clarify that the
9424 subdirectory should exist.
9426 2002-03-08 Akim Demaille <akim@epita.fr>
9428 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
9430 2002-03-08 Akim Demaille <akim@epita.fr>
9432 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
9433 aliases the actual variables, and modifications of the former
9436 2002-03-08 Akim Demaille <akim@epita.fr>
9438 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
9439 because of C-c: have m4 output in tmp files, then mv them.
9441 2002-03-08 Akim Demaille <akim@epita.fr>
9443 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
9444 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
9445 * bin/ifnames.in: Copyright update.
9447 2002-03-08 Akim Demaille <akim@epita.fr>
9449 * doc/autoconf.texi (Invoking autom4te): New.
9451 2002-03-05 Akim Demaille <akim@epita.fr>
9453 * doc/autoconf.texi (Specifying Names): Clarification suggested by
9456 2002-03-05 Akim Demaille <akim@epita.fr>
9460 2002-03-04 Akim Demaille <akim@epita.fr>
9462 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
9463 * lib/autoconf/general.m4 (AC_INIT): More informative error
9466 2002-03-04 Akim Demaille <akim@epita.fr>
9468 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
9471 2002-03-04 Akim Demaille <akim@epita.fr>
9473 * doc/autoconf.texi (Transforming Names): Equality between target
9474 and host is irrelevant.
9475 (Specifying Names, Canonicalizing): Remove all references to the
9476 backward compatibility hooks. Rather, collect them all into...
9477 (Hosts and Cross-Compilation): this new section.
9478 * doc/install.texi (System Type): Ditto.
9479 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
9480 that `--host' implies cross-compilation.
9482 2002-03-04 Akim Demaille <akim@epita.fr>
9484 * doc/autoconf.texi (Evaluation Macros): New.
9485 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
9487 (_m4_foreach): Define the variant with immediate evaluation so
9488 that it contains exactly the items, not an expression which
9489 evaluation is the current item.
9490 (m4_re_string, m4_re_word): Don't over quote them.
9492 2002-03-04 Akim Demaille <akim@epita.fr>
9494 Instead of having stacking `shift's evaluated at the end, let
9495 `foreach' loops immediately evaluate them.
9497 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
9498 $*. This is the n-th time I change my mind, but hopefully this is
9501 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
9503 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
9504 it was only a hack for m4_text_wrap.
9505 (m4_car2): Remove, replaced by...
9507 (_m4_foreach): Adjust.
9508 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
9509 m4_bpatsubst for clarification.
9511 2002-03-04 Akim Demaille <akim@epita.fr>
9513 * doc/autoconf.texi (Changequote is Evil): New.
9515 2002-03-03 Kevin Ryde <user42@zip.com.au>
9517 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
9518 on old systems like SunOS.
9520 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
9522 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9523 lib/autoconf/functions.m4, lib/autoconf/general.m4,
9524 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
9525 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
9528 2002-02-28 Akim Demaille <akim@epita.fr>
9530 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
9533 2002-02-28 Kevin Ryde <user42@zip.com.au>
9535 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
9537 2002-02-25 Akim Demaille <akim@epita.fr>
9539 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
9542 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
9544 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
9545 translate \r\n to \n.
9547 2002-02-07 Akim Demaille <akim@epita.fr>
9551 2002-02-07 Akim Demaille <akim@epita.fr>
9553 Fix Autoconf PR/209.
9554 Also reported by Frank Denis.
9556 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
9558 2002-02-07 Akim Demaille <akim@epita.fr>
9560 Fix Autoconf PR/207:
9561 AC_PREFIX_PROGRAM fails with dashed program names
9563 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
9564 variable when looking for the prefix program.
9565 Now it also works for shell variables.
9567 2002-02-07 Akim Demaille <akim@epita.fr>
9569 * doc/autoconf.texi (Limitations of Builtins): More about
9572 2002-02-06 Akim Demaille <akim@epita.fr>
9574 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
9575 case/esac, some shells don't support it.
9576 Reported by Zack Weinberg.
9577 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
9579 2002-02-06 Akim Demaille <akim@epita.fr>
9581 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
9582 sure not to introduce newlines in at_groups.
9583 * lib/autotest/Makefile.am (autotest.m4f): Typo.
9585 2002-02-06 Akim Demaille <akim@epita.fr>
9587 * tests/torture.at (Configuring subdirectories): Skip if aclocal
9590 2002-02-05 Paul Eggert <eggert@twinsun.com>
9592 * doc/autoconf.texi (Specific Compiler Characteristics):
9593 Describe HP-UX cc bug workaround more accurately.
9594 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
9596 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
9597 cross-compilers, too. This undoes some of the most recent change
9600 2002-02-05 Akim Demaille <akim@epita.fr>
9602 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
9603 to make sure they are up to date when `check' is run.
9605 2002-02-05 Akim Demaille <akim@epita.fr>
9607 * doc/autoconf.texi (Making testsuite Scripts): Document
9610 2002-02-05 Akim Demaille <akim@epita.fr>
9612 * lib/freeze.mk: New.
9614 2002-02-05 Akim Demaille <akim@epita.fr>
9616 Implement `autom4te --freeze'.
9618 * bin/autom4te.in (&freeze): New.
9619 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
9620 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
9622 2002-02-05 Akim Demaille <akim@epita.fr>
9624 * bin/autom4te.in (&parse_args): Implement `frozen files are
9625 optional are the sum of the previous files on the command line'.
9626 Also, pass `--reload-state=' on them, so...
9628 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
9629 (M4sh): Rely on M4sugar.
9630 (Autotest, M4sh, M4sugar): Use frozen files.
9632 2002-01-31 Akim Demaille <akim@epita.fr>
9634 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
9635 * doc/autoconf.texi (Initializing configure): Adjust.
9637 2002-01-30 Akim Demaille <akim@epita.fr>
9639 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
9640 alphanumeric to `-' instead of `_'.
9642 2002-01-30 Akim Demaille <akim@epita.fr>
9644 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
9645 for plain code, the other for cross-compilation code. The latter
9646 is now run with GCC only.
9647 * doc/autoconf.texi (Compilers and Preprocessors): New.
9649 2002-01-30 Akim Demaille <akim@epita.fr>
9651 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
9653 * doc/autoconf.texi (Initializing configure): Explain how to
9654 change AC_INIT default values.
9656 2002-01-29 Akim Demaille <akim@epita.fr>
9658 * tests/torture.at (Configuring subdirectories): Use configure.in,
9659 so that aclocal 1.4 works.
9660 Reported by Alexandre Duret-Lutz and Larry Schmitt.
9662 2002-01-28 Akim Demaille <akim@epita.fr>
9664 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
9667 2002-01-28 Akim Demaille <akim@epita.fr>
9669 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
9670 AUTOTEST_PATH *after* it was set.
9671 Don't put `.' in the PATH: the user should be precise and `./' if
9672 needed. In addition, given that the test suite does some `cd', if
9673 `.' is in the path, the `tested programs' sections will report
9674 programs found in the test suite's directory, while during the
9675 tests (performed in their own directory), these programs are no
9676 longer visible. In other words, the results is confusing and
9678 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
9680 2002-01-24 Akim Demaille <akim@epita.fr>
9684 2002-01-24 Akim Demaille <akim@epita.fr>
9686 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
9687 * doc/autoconf.texi: Finally add Akim as an author.
9689 2002-01-24 Akim Demaille <akim@epita.fr>
9691 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
9692 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
9693 Bourne. Use /bin/sh.
9694 From Andreas Buening.
9696 2002-01-24 Akim Demaille <akim@epita.fr>
9698 * config/config.guess, config/config.sub, config/texinfo.tex:
9699 Update from masters.
9701 2002-01-24 Akim Demaille <akim@epita.fr>
9703 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
9704 * config/auxdir.m4, config/cond.m4, config/depend.m4,
9705 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
9706 * config/missing.m4, config/sanity.m4, config/select.m4,
9707 * config/strip.m4: Remove, to ease sync'ing with any version of
9710 2002-01-24 Akim Demaille <akim@epita.fr>
9712 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
9713 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
9714 Reported by Geir Ove Myhr.
9716 2002-01-21 Akim Demaille <akim@epita.fr>
9718 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
9720 2002-01-21 Akim Demaille <akim@epita.fr>
9722 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
9723 message on invalid options.
9724 * bin/autom4te.in (parse_args): Don't use
9725 Autoconf::General::getopt with non valid options.
9727 2002-01-17 Jim Meyering <meyering@lucent.com>
9729 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
9730 $ac_cv_exeext so we don't use an old, invalid, cached value.
9732 2002-01-11 Akim Demaille <akim@epita.fr>
9734 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
9736 * doc/autoconf.texi (Function Portability): Document the strnlen
9738 (Particular Functions): Document AC_FUNC_STRNLEN.
9739 * lib/autoscan/functions: Adjust.
9741 2002-01-06 Akim Demaille <akim@epita.fr>
9743 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
9744 package.m4, since is really depends upon configure.ac, not
9746 * doc/autoconf.texi (testsuite Scripts): Adjust.
9747 * tests/Makefile.am (package.m4): New.
9748 EXTRA_DIST it since its a source.
9750 2002-01-06 Akim Demaille <akim@epita.fr>
9752 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
9753 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
9754 and PACKAGE_BUGREPORT from here...
9755 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
9757 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
9758 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
9759 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
9760 * tests/tools.at (autoheader): Adjust.
9761 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
9763 2002-01-06 Akim Demaille <akim@epita.fr>
9765 * bin/autoscan.in (scan_file): Use `&used'.
9767 2002-01-03 Akim Demaille <akim@epita.fr>
9769 * doc/autoconf.texi (Output): Improved wording regarding use of
9773 2001-12-18 Kevin Ryde <user42@zip.com.au>
9775 * doc/autoconf.texi (Function Portability): Add notes on sscanf
9776 sometimes needing writable input.
9778 2001-12-17 Jim Meyering <meyering@lucent.com>
9780 * doc/autoconf.texi (New Macros): Tweak wording.
9782 2001-12-14 Akim Demaille <akim@epita.fr>
9784 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
9785 trailing files, don't apply `-rf' to files which might not be
9786 created by configure (core, core.*, and *.core), but just `rm -f'.
9787 Suggested by Jonathan Kamens.
9789 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
9791 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
9793 2001-12-14 Akim Demaille <akim@epita.fr>
9795 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
9797 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
9799 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
9800 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
9801 abs_srcdir, top_srcpath to abs_top_srcdir.
9802 (_AC_OUTPUT_FILES): Adjust.
9803 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
9804 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
9805 * tests/wrappl.in, tests/wrapsh.in: Adjust.
9807 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
9809 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
9810 C/Fortran linking on HP/UX, by extracting the Fortran library
9811 search path from the LPATH line in the $F77 -v output.
9813 2001-12-12 Kevin Ryde <user42@zip.com.au>
9815 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
9816 forbidden file descriptors table.
9818 2001-11-26 Akim Demaille <akim@epita.fr>
9820 * bin/autoscan.in (%c_keywords): Build it at top level.
9821 Map to 1 in order to simplify its uses.
9823 2001-11-26 Akim Demaille <akim@epita.fr>
9825 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
9826 Remove $filepath, useless.
9827 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
9828 variables, they are really part of the tokens.
9829 Split the input line on spaces and then look for tokens.
9830 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
9831 because of `lex$U.$(OBJEXT)'.
9832 (&scan_files): Use "@list" instead of join.
9833 * doc/Makefile.am (CLEANFILES): Add *.fns.
9835 2001-11-26 Akim Demaille <akim@epita.fr>
9837 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
9838 Remove, replaced by...
9839 * tests/wrappl.in: Be common for all the Perl executables.
9840 In particular autoscan and autoheader want -I.
9841 * configure.ac: Adjust.
9842 * lib/autoscan/headers: errno.h is portable.
9844 2001-11-26 Akim Demaille <akim@epita.fr>
9846 * bin/autoscan.in (used): New.
9849 2001-11-26 Akim Demaille <akim@epita.fr>
9851 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
9853 (&scan_sh_file): Remove a duplicate pattern.
9854 (&check_configure_ac): Use long options.
9855 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
9857 2001-11-26 Akim Demaille <akim@epita.fr>
9859 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
9860 Before, having a line containing the opening of a multi line
9861 comment made the whole line be ignored.
9863 2001-11-26 Akim Demaille <akim@epita.fr>
9865 * doc/autoconf.texi (Using an Autotest Test Suite): New.
9866 (testsuite Scripts): Be one of its subsection.
9867 (Autotest Logs): New.
9869 2001-11-26 Akim Demaille <akim@epita.fr>
9871 Test groups are now run two directories deeper.
9873 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
9874 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
9876 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
9877 top_srcdir, builddir and top_builddir.
9878 Use `at_*dir' relatively to the directory containing the
9879 suite, use `*dir' when relatively to the current group dir.
9881 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
9883 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
9884 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
9885 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
9888 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
9890 * doc/autoconf.texi (Using System Type): Add an example of `case
9891 $host' usage so people quit using `case $target' everywhere.
9893 2001-11-22 Akim Demaille <akim@epita.fr>
9895 * doc/autoconf.texi (Installation Directory Variables): Englishoes
9896 spotted by Jim Meyering.
9898 2001-11-16 Paul Eggert <eggert@twinsun.com>
9900 This patch implements a `long double' suggestion by Oliver Kiddle.
9902 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
9903 static, to catch errors if the value isn't known at compile-time
9904 and the compiler supports dynamic arrays. Change its name from
9905 `_array_' to `test_array' to avoid potential name clashes.
9906 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
9907 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
9908 better than double. Catch a bug in GCC 2.95.2 x86.
9909 * doc/autoconf.texi (C Compiler): Document the above.
9912 2001-11-13 Akim Demaille <akim@epita.fr>
9914 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
9916 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
9918 2001-11-13 Akim Demaille <akim@epita.fr>
9920 * lib/autotest/general.m4 (AT_INIT): After having run the test
9921 group, go back to the initial directory, not to at_suite_dir.
9923 2001-11-13 Akim Demaille <akim@epita.fr>
9925 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
9926 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
9927 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
9929 (AT_CHECK_CONFIGURE): Use absolute paths.
9930 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
9931 The problem is still the old one: there is no means in M4 (that I
9932 know about) to create a defining macro, because there is no means
9933 to create `$1' etc., therefore, the defining macro ``swallows''
9934 all the arguments meant to the defined macro.
9936 2001-11-13 Akim Demaille <akim@epita.fr>
9938 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
9939 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
9941 * tests/aclocal.m4: Remove, as it is no longer used.
9943 2001-11-13 Akim Demaille <akim@epita.fr>
9945 * lib/autotest/general.m4: Change `tests?' into `groups?' in
9946 variable names when referring to a single test group, or to
9947 `suite' when referring to the whole test suite.
9948 `at_last_test' is removed: m4 compute at_format itself.
9949 (at_stdout, at_stder1, at_stderr): New variables.
9950 (AT_CHECK): Use them.
9952 2001-11-13 Akim Demaille <akim@epita.fr>
9954 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
9956 Create `testsuite.dir/003/run' instead of `testsuite.003'.
9957 Do it as soon as a test fails, don't wait till the end of the test
9959 Don't remove $as_me.[0-9]*, since these files no longer exist.
9961 2001-11-13 Akim Demaille <akim@epita.fr>
9963 * tests/tools.at: Use absolute paths, since we are no longer run
9966 2001-11-13 Akim Demaille <akim@epita.fr>
9968 Now that tests are running in their own private dir, there is no
9969 need to list the files to remove at the end of tests groups.
9971 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
9972 (AT_data_files, at_data_files): Remove.
9973 (AT_CLEANUP, AT_DATA): Simplify.
9975 Remove the group dir if !debug && !failed.
9976 * tests/atspecific.m4: Adjust.
9978 2001-11-13 Akim Demaille <akim@epita.fr>
9980 Start a new layout for Autotest: `testsuite' creates
9981 `testsuite.dir' in which the at-check-line etc. files are to be
9982 found, and `testsuite.dir/003' where the test group 3 is run.
9984 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
9985 at_check_line_file, at_format, at_test_normalized, at_group_dir
9987 Create the directories.
9988 Use absolute paths for at- files.
9991 2001-11-11 Michael Matz <matz@kde.org>
9993 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
9995 (m4_car): Properly quote arguments.
9997 2001-11-13 Akim Demaille <akim@epita.fr>
9999 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
10000 with stricter rules on LIBOBJS.
10002 2001-11-12 Paul Eggert <eggert@twinsun.com>
10004 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
10005 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
10008 2001-11-12 Akim Demaille <akim@epita.fr>
10010 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
10012 2001-11-12 Akim Demaille <akim@epita.fr>
10014 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10015 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
10016 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
10017 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
10018 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
10019 specify to what the macro should be defined (typically to 1).
10021 2001-11-12 Akim Demaille <akim@epita.fr>
10023 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
10026 2001-11-12 Akim Demaille <akim@epita.fr>
10028 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10029 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
10030 definition used by Automake where LEX is +/- "${missing} lex" and
10031 `missing' itself contains variables.
10033 2001-11-12 Akim Demaille <akim@epita.fr>
10035 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
10036 Now that M4sh pushes BODY, the comments were output at the end of
10039 2001-11-08 Akim Demaille <akim@epita.fr>
10041 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
10042 that we can trace macros from aclocal.m4.
10043 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
10044 obsoleted, and redirect to the former anyway.
10045 Reported by Ralf Corsepius.
10047 2001-11-08 Akim Demaille <akim@epita.fr>
10049 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
10050 processed only if present.
10051 * tests/torture.at (Configuring subdirectories): Use autoreconf
10052 instead of successive calls to autoconf.
10053 Add a nonexistent subdirectory to exercise the patch above.
10054 Reported by Ralf Corsepius.
10056 2001-11-08 Kevin Ryde <user42@zip.com.au>
10058 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
10059 doesn't accept .S files.
10061 2001-11-07 Akim Demaille <akim@epita.fr>
10063 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
10064 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
10065 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
10066 * bin/autom4te.in (warn_forbidden): New.
10067 (handle_output): Use it.
10068 Read m4_pattern_forbid with messages.
10070 2001-11-05 Akim Demaille <akim@epita.fr>
10072 * bin/autom4te.in (--normalize): Remove.
10073 * lib/autom4te.in: Adjust.
10075 2001-11-05 Akim Demaille <akim@epita.fr>
10077 * tests/Makefile.am (testsuite): Rename this target as...
10078 ($(TESTSUITE)): this.
10081 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
10083 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
10084 the --prefix option, also remove it's argument.
10086 2001-11-05 Akim Demaille <akim@epita.fr>
10088 * doc/autoconf.texi (testsuite Invocation): Update.
10089 (Writing testsuite.at): Update.
10091 2001-11-03 Akim Demaille <akim@epita.fr>
10093 * doc/autoconf.texi: s/@code/@command/ where appropriate.
10095 2001-11-03 Akim Demaille <akim@epita.fr>
10097 * lib/Autom4te/General.pm: (&catfile, &canonfile)
10098 (&file_name_is_absolute): New, wrappers around routines from
10100 Use and export them.
10101 (&find_configure_ac): Optionally take a directory where to look at.
10102 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
10104 Default @ARGV to `.', not find_configure_ac.
10105 (&autoreconf): Argument is a directory.
10106 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
10107 * doc/autoconf.texi (autoreconf Invocation): Update.
10109 2001-11-03 Akim Demaille <akim@epita.fr>
10111 * lib/Autom4te/General.pm (@export_vars, @export_subs)
10112 (@export_forward_subs): New.
10113 Add basename, dirname, and fileparse.
10115 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
10116 Don't look for aclocal flags if we already know aclocal is not
10118 Move aclocal.m4t only if it exists.
10119 Reported by Ezra Peisach.
10121 2001-11-03 Akim Demaille <akim@epita.fr>
10123 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
10124 passed on command line, defaulting to ./configure.ac if present.
10125 (&maybe_autoreconf, File::Find): Remove, unused.
10126 (&autoreconf): If autoconf is not used, don't try to trace.
10128 2001-11-02 Akim Demaille <akim@epita.fr>
10130 * configure.ac: Bump to 2.52g.
10132 2001-11-02 Akim Demaille <akim@epita.fr>
10136 2001-11-02 Akim Demaille <akim@epita.fr>
10138 * config/config.guess, config/config.sub, doc/standards.texi:
10139 * config/lispdir.m4: Update from masters.
10140 * configure.ac: Bump to 2.52f.
10142 2001-11-02 Akim Demaille <akim@epita.fr>
10144 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
10145 Don't run aclocal when aclocal.m4 is not from aclocal.
10147 Don't run libtoolize and gettextize if --install is not given.
10149 2001-11-01 Paul Eggert <eggert@twinsun.com>
10151 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
10152 be invoked before _AS_LINENO_PREPARE.
10153 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
10154 than character ranges.
10156 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
10157 invoking AS_BASENAME. Set the locale variables to 'C' if
10158 possible, as POSIX requires this to get the traditional
10160 * doc/autoconf.texi (Special Shell Variables): Describe the above.
10162 2001-10-31 Paul Eggert <eggert@twinsun.com>
10164 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
10165 with {}, as that triggers a bug in Bash 2.05.
10167 (_AS_LINENO_PREPARE): Use Sed rather than
10168 Awk. Fix the sed prepass to work even if there are multiple
10169 instances of $LINENO on the same line. Do not substitute for
10170 other variables like $LINENOT. Do not check file dates; such a
10171 check is unreliable on sufficiently fast machines, and removing
10172 the check makes the code simpler and more reliable. Check for
10173 output and chmod failures.
10175 * doc/autoconf.texi (Special Shell Variables): Document
10178 2001-10-31 Akim Demaille <akim@epita.fr>
10180 * tests/Makefile.am (atconfig): Remove this target, Automake
10183 2001-10-31 Akim Demaille <akim@epita.fr>
10185 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
10186 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
10187 provided, while it is optional.
10188 * configure.ac: Adjust.
10190 2001-10-26 Paul Eggert <eggert@twinsun.com>
10192 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
10193 lib/Autom4te/Struct.pm:
10194 Require Perl 5.005_03 instead of just 5.005, as some tests fail
10197 * doc/autoconf.texi (Special Shell Variables): Document some
10198 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
10200 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
10201 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
10202 eval $LINENO is not portable in practice.
10204 2001-10-24 Akim Demaille <akim@epita.fr>
10206 * lib/Autom4te/General.pm (backname): New.
10208 2001-10-24 Akim Demaille <akim@epita.fr>
10210 * m4/: Remove, merged into...
10213 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
10215 * doc/autoconf.texi (Shellology): Mention the problems with bash
10216 2.05's use of ANSI quoting in its `set' builtin.
10218 2001-10-22 Paul Eggert <eggert@twinsun.com>
10220 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
10221 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
10222 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
10223 POSIX decided to standardize on the int flavor of strerror_r.
10224 Always do char* test, as there's no reason not to.
10225 Assign to a char* var, to catch strerror_r that returns int*.
10227 * doc/autoconf.texi (Particular Functions):
10228 Document the above changes. Also, document the fact that
10229 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
10231 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
10233 2001-10-20 Akim Demaille <akim@epita.fr>
10235 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
10236 the executable was missing from the log.
10238 2001-10-20 Akim Demaille <akim@epita.fr>
10240 * lib/Autom4te/General.pm (&update_file): If destination is
10241 unchanged, remove the source.
10242 (&up_to_date_p): Don't be verbose, be debug.
10243 * bin/autoreconf.in: No longer support --m4dir.
10244 (&autoreconf): Display the full path of the configure.ac we are
10246 Trace it only once.
10247 Be sure to honor --force with gettextize.
10248 Always run aclocal.
10249 * doc/autoconf.texi: Adjust.
10251 2001-10-20 Akim Demaille <akim@epita.fr>
10253 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
10255 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
10256 `intl' is already present, as it refuses unless --force.
10257 (&parse_args): Use -I, --include instead of the old Autoconf
10259 ($localdir, $autoconf_dir): Remove.
10261 (&maybe_autoreconf): New, to preserve $_ for File::Find.
10263 2001-10-19 Jens Petersen <petersen@redhat.com>
10265 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
10266 * doc/autoconf.texi (Particular Programs): Likewise.
10268 2001-10-19 Akim Demaille <akim@epita.fr>
10270 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
10271 file in @configure_input@.
10272 Don't mention `automatically' in addition to `generated'.
10273 * tests/torture.at (#define header templates): Adjust.
10275 2001-10-19 Akim Demaille <akim@epita.fr>
10277 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
10278 comment, explain how to install automatic mode selection.
10281 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
10283 * bin/autoreconf.in (autoreconf): Display the path to the
10284 configure.ac being studied.
10286 2001-10-18 Paul Eggert <eggert@twinsun.com>
10288 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
10289 long, to work around a bug in the HP C compiler version HP92453-01
10292 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
10293 (AS_BASENAME_EXPR): New macro.
10294 (AS_BASENAME_SED): Do not assume GNU sed semantics.
10295 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
10296 and fall back on 'sed' only if the other two fail. This makes
10297 AS_BASENAME act more like AS_DIRNAME.
10298 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
10299 contains white space.
10300 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
10301 Use AS_DIRNAME, since I think it's now DOS-friendly.
10302 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
10303 Allow "dirname //FOO" to return either / or //, as POSIX allows
10306 2001-10-10 Akim Demaille <akim@epita.fr>
10308 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
10309 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
10312 2001-10-10 Akim Demaille <akim@epita.fr>
10314 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
10315 m4_define, since...
10316 (_AS_ECHO_N): AS_REQUIREs it.
10318 2001-10-10 Akim Demaille <akim@epita.fr>
10320 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
10321 (AC_INCLUDES_DEFAULT): Move to...
10322 * lib/autoconf/headers.m4: here.
10323 * lib/autoconf/types.m4: Comment changes.
10324 * doc/autoconf.texi: Specify where the default includes are used
10325 in the macro prototypes.
10327 2001-10-09 Akim Demaille <akim@epita.fr>
10329 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
10332 2001-10-08 Akim Demaille <akim@epita.fr>
10334 * bin/autoreconf.in (&autoreconf): Remove debugging code.
10335 (&parse_args): Pass verbosity/debugging options to subtools when
10336 --debug, not when --verbose.
10337 * lib/autom4te.in (Autoreconf-preselections): New.
10338 (Autoconf): Use it.
10340 2001-10-08 Akim Demaille <akim@epita.fr>
10342 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
10344 2001-10-08 Akim Demaille <akim@epita.fr>
10346 * doc/autoconf.texi (autoreconf Invocation): Adjust.
10347 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
10349 2001-10-08 Akim Demaille <akim@epita.fr>
10351 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
10352 (Syntax of the shell scripts): Don't.
10353 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
10354 bother with $force since...
10355 * lib/Autom4te/General.pm: does.
10357 2001-10-08 Akim Demaille <akim@epita.fr>
10359 * bin/autoreconf.in: Rewrite in Perl.
10360 * configure.ac: Adjust.
10361 * lib/Autom4te/General.pm (&up_to_date_p): New.
10362 * bin/autom4te.in (&up_to_date_p): Use it.
10364 (&up_to_date): this.
10366 2001-10-08 Akim Demaille <akim@epita.fr>
10368 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
10369 (m4_list_cmp): Use $0 to reinvoke yourself.
10370 (m4_patsubsts): New.
10371 (m4_strip, m4_version_unletter): Use it.
10372 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
10374 2001-10-08 Akim Demaille <akim@epita.fr>
10376 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
10377 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
10378 * lib/autoconf/types.m4, lib/autotest/general.m4,
10379 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
10380 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
10381 m4_bregexp, m4_bpatsubst, and m4_bmatch.
10382 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
10384 2001-10-08 Akim Demaille <akim@epita.fr>
10386 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
10388 2001-10-08 Akim Demaille <akim@epita.fr>
10390 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
10391 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
10392 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
10393 * tests/tools.at, tests/m4sh.at: Use it.
10394 * tests/m4sh.at: Don't rely on Autoconf macros.
10395 (DIRNAME_TEST): Also exercise the expr variant.
10396 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
10397 preferred M4sugar extension is now `.4s'.
10398 * tests/README: Remove.
10400 2001-10-08 Akim Demaille <akim@epita.fr>
10402 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
10403 (m4_provide_if): this.
10404 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
10405 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
10406 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
10407 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
10409 2001-10-08 Akim Demaille <akim@epita.fr>
10411 Use `add-log-current-defun-function' for ChangeLog creation.
10412 Suggested by Tom Tromey.
10414 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
10415 (autotest-mode): Adjust.
10416 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
10417 'comment-region onto `C-c ;'.
10418 Comments are `#', not `dnl'.
10419 (autoconf-current-defun): New.
10420 (autoconf-font-lock-keywords): Recognize `m4_defun'.
10422 2001-10-08 Akim Demaille <akim@epita.fr>
10424 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
10425 * lib/m4sugar/m4sh.m4: here.
10426 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
10427 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
10428 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
10429 include handle the m4_pattern_*, no longer push the
10430 BODY diversion nor set the /bin/sh line, AS_INIT does it.
10431 * lib/autotest/general.m4 (AT_INIT): Likewise.
10432 * tests/base.at: Adjust the tests to use AS_INIT.
10433 * tests/tools.at (AT_DATA_FORBIDDEN): New.
10434 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
10437 2001-10-07 Paul Eggert <eggert@twinsun.com>
10439 * doc/autoconf.texi (config.status Invocation):
10440 CONFIG_SHELL defaults to a shell that supports LINENO if available.
10442 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
10443 shell does not support LINENO, and if CONFIG_SHELL is unset or
10444 empty, and if we can find a shell that does support LINENO,
10445 then set CONFIG_SHELL to that shell and then re-execute
10446 ourselves with CONFIG_SHELL.
10448 2001-10-05 Paul Eggert <eggert@twinsun.com>
10450 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
10451 doesn't exist. Remove *.tmp, as a .tmp file is created during the
10452 build of $(TESTSUITE).
10454 2001-10-05 Akim Demaille <akim@epita.fr>
10456 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
10457 iff we are a bareword.
10458 Reported by Raja R Harinath.
10460 2001-10-05 Akim Demaille <akim@epita.fr>
10462 * tests/m4sh.at (LINENO): New.
10463 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
10464 PATH_SEPARATOR before using it.
10465 Fix the absolute path case/esac pattern.
10466 Provide $0 as fallback for as_myself.
10467 Reported by Raja R Harinath.
10469 2001-10-05 Akim Demaille <akim@epita.fr>
10471 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
10472 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
10474 2001-10-05 Akim Demaille <akim@epita.fr>
10476 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
10477 (AS_SHELL_SANITIZE): here. Use it.
10478 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
10481 2001-10-04 Akim Demaille <akim@epita.fr>
10483 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
10484 combination of Awk and sed to replace $LINENO.
10486 2001-10-02 Paul Eggert <eggert@twinsun.com>
10488 * doc/autoconf.texi (Limitations of Builtins): You can't use
10489 "source"; it's not portable. Remove confusing and
10490 somewhat-incorrect example involving "." and "/".
10492 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
10493 compatibility with POSIX shells.
10495 2001-10-02 Akim Demaille <akim@epita.fr>
10497 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
10498 instead of exec'ing to preserve $0 and $@.
10500 2001-10-01 Akim Demaille <akim@epita.fr>
10502 * tests/testsuite (AT_INIT) <at_pass_list>: New.
10503 Don't run twice the same test.
10505 2001-10-01 Akim Demaille <akim@epita.fr>
10507 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
10508 No longer output the list of tests.
10509 <--list>: New option.
10510 <--full-help>: Remove.
10511 Complete the short/long options duality.
10512 Various small adjustments.
10514 2001-10-01 Akim Demaille <akim@epita.fr>
10516 * doc/autoconf.texi: Use @kbd for user input.
10517 Always use `$' as shell prompt.
10519 2001-09-30 Paul Eggert <eggert@twinsun.com>
10521 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
10522 Don't use nested parenthesization. This patch was originally
10523 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
10524 but somehow it didn't get incorporated then.
10525 * doc/autoconf.texi (Limitations of Usual Tools):
10526 Clarify remark about sed and nested parenthesization.
10528 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
10529 Report an error if the size cannot be determined even though
10531 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10532 Check for `expr' arithmetic overflow, and for compilation failure,
10533 and invoke a new argument $4 if either is discovered.
10534 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
10535 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
10537 2001-09-28 Akim Demaille <akim@epita.fr>
10539 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
10540 * m4/lispdir.m4: New.
10541 * aclocal.m4, configure.ac: Adjust.
10543 2001-09-28 Akim Demaille <akim@epita.fr>
10545 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
10547 (AT_INIT): More the wrapped section to where it will be expanded.
10548 Output `AT_tested' only when existing.
10549 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
10551 2001-09-27 Akim Demaille <akim@epita.fr>
10553 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
10554 generates too many bug reports.
10556 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
10557 status when executing the ACTION-IF-FALSE.
10558 * tests/base.at (AC_TRY_*): Rename as...
10559 (AC_TRY_COMMAND): this.
10560 (AC_RUN_IFELSE): New.
10561 * tests/compile.at (Extensions, C keywords)
10562 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
10563 (Broken/missing compilers, AC_PROG_CPP with warnings)
10564 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
10565 * tests/c.at (Extensions, C keywords)
10566 (Broken/missing compilers, AC_PROG_CPP with warnings)
10567 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
10568 (AC_PROG_CPP requires AC_PROG_CC): here and...
10569 * tests/fortran.at (GNU Fortran 77): there.
10570 * doc/autoconf.texi (autoconf Invocation): Fix the example:
10571 AC_TRY_RUN is about compilation, not shell commands.
10572 (Test Programs): AC_TRY_RUN works as used to be advertised.
10574 2001-09-27 Akim Demaille <akim@epita.fr>
10576 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
10578 Be sure to detect when $LINENO always returns the same value.
10579 Look for the original script, basename($0) is certainly not
10581 Pass the CLI arguments to `$as_me.lineno'.
10583 2001-09-25 Akim Demaille <akim@epita.fr>
10585 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
10586 Be sure the close and reopen the LOG fd before and after using tee
10588 <at_tests_pattern>: Adjust to the new format of at_help_all.
10590 2001-09-23 Akim Demaille <akim@epita.fr>
10592 * bin/autom4te.in (parse_args): There can be several invocations
10595 2001-09-23 Akim Demaille <akim@epita.fr>
10597 * doc/autoconf.texi (Top): Wrap in @ifnottex.
10599 2001-09-23 Akim Demaille <akim@epita.fr>
10601 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
10602 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
10603 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
10604 builddir, buildpath, top_builddir, and top_buildpath.
10605 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
10606 the current directory.
10607 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
10608 variables *before* changing the current directory.
10609 Skip nonexistent dirs.
10610 * doc/autoconf.texi (Preset Output Variables): Document these
10613 * lib/autotest/general.m4: Do not reset AT_victims.
10614 Don't compute at_srcdir nor at_top_srcdir.
10616 * tests/tools.at: Hence use top_srcdir.
10618 * tests/Makefile.am, tests/autoconf, tests/autoheader,
10619 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
10621 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
10622 * tests/wrapsh.in, tests/autoupdate.in: New.
10623 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
10624 * configure.ac: Build the position independent wrappers.
10626 * man/Makefile.am: Now that test wrappers are position
10627 independent, use them and drop dark envvar magic.
10629 2001-09-23 Akim Demaille <akim@epita.fr>
10631 * doc/autoconf.texi (Common Shell Constructs): Rename as...
10632 (Programming in M4sh): this.
10633 Promote to @section.
10635 2001-09-23 Akim Demaille <akim@epita.fr>
10637 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
10638 Pass $at_debug_args to the rerun test suite.
10639 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
10640 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
10643 2001-09-23 Akim Demaille <akim@epita.fr>
10645 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
10647 2001-09-23 Akim Demaille <akim@epita.fr>
10649 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
10652 2001-09-23 Akim Demaille <akim@epita.fr>
10654 * lib/Autom4te/General.pm (&debug): New.
10655 * bin/autom4te.in ($language): Move to...
10656 (parse_args): here.
10657 Handle --language in languages.
10658 * lib/autom4te.in (Automake-selections, Autoheader-selections)
10659 (Autoscan-selections): New.
10660 (Autoconf): Adjust.
10662 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
10664 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
10665 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
10666 to match current versions from CVS Automake.
10668 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
10670 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
10673 2001-09-22 Akim Demaille <akim@epita.fr>
10675 * lib/autoconf/autotest.m4: Create `package.m4'.
10676 * tests/Makefile.am (package.m4): Remove.
10678 2001-09-22 Akim Demaille <akim@epita.fr>
10680 Rely on `$LINENO' when possible instead of `__oline__'.
10682 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
10683 `$LINENO' support replacement when not supported.
10684 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
10685 them explicitly to be sure they are not output before this section
10686 (via m4_require). Cosmetic only.
10687 * lib/autoconf/c.m4, lib/autoconf/general.m4,
10688 * lib/autoconf/programs.m4: Replace all the occurrences of
10689 `__oline__' with `$LINENO'.
10690 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
10692 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
10694 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
10695 character (u: -> ue) in a code comment.
10696 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
10699 2001-09-21 Akim Demaille <akim@epita.fr>
10701 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
10702 Suggested by Jim Meyering.
10704 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10706 * lib/autoconf/programs.m4: Use extensions listed in
10707 $ac_executable_extensions when looking for programs.
10709 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10711 * lib/autoconf/general.m4: Fix a small Englisho.
10712 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
10713 setting up ac_dir_suffix and ac_top_builddir.
10714 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
10716 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10718 * doc/autoconf.texi (File System Conventions): Clarify the use of
10720 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
10721 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
10722 be used instead of ':'.
10723 * lib/autotest/general.m4: Replace occurrences of ':' in
10724 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
10726 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10728 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
10729 arguments. Fixed a typo.
10731 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10733 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
10734 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
10736 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10738 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
10739 * bin/autoupdate.in: Ditto.
10740 * bin/autoheader.in: Reworded a few comments.
10741 * bin/autoconf.in: Reworded help text for a few options.
10742 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10743 * bin/autoscan.in, bin/autoupdate.in: Ditto.
10745 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
10747 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
10748 already have $file). Set output files to binary mode (helps avoid
10749 CR issues on DOSish systems).
10751 2001-09-19 Akim Demaille <akim@epita.fr>
10753 * lib/autotest/general.m4: Englishoes.
10754 From Tim Van Holder and Alexey Mahotkin.
10756 2001-09-18 Paul Eggert <eggert@twinsun.com>
10758 * doc/autoconf.texi (Common Shell Constructs): New node,
10759 documenting AS_DIRNAME.
10760 (Limitations of Usual Tools): Refer to it when discussing dirname.
10761 Also, update discussion of POSIX standard to reflect latest draft.
10763 * lib/autoconf/c.m4:
10764 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
10766 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10767 Do not pass a first argument with leading '-'
10768 to expr, by parenthesizing initial integers that might be negative.
10770 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
10771 now merely checks whether it is an error to pass an argument
10774 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
10775 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
10776 whether it is a (compile-time) error to pass an argument to
10777 getpgrp. This simpler test supports the revised documentation,
10778 and is all that AC_FUNC_GETPGRP's users really need.
10780 2001-09-18 Akim Demaille <akim@epita.fr>
10782 * doc/autoconf.texi (Limitations of Make) <$<>: New.
10784 2001-09-18 Akim Demaille <akim@epita.fr>
10786 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
10788 * lib/autotest/general.m4 (AT_INIT): Adjust.
10790 2001-09-18 Paul Wagland <paul@wagland.net>
10792 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
10794 Add test for AS_BASENAME.
10795 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
10796 added test. It now correctly handles /1/2/3/, returning '3' not ''.
10797 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
10798 * tests/base.at: Fixed the expected responses. The old ones were
10800 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
10801 the documentation claims it should (and how it behaved in 2.13).
10803 2001-09-18 Akim Demaille <akim@epita.fr>
10805 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
10806 the AC_CONFIG_COMMANDS invocation.
10807 This also solves the name clash problems.
10808 Don't set the package's ID.
10809 * lib/m4sugar/Makefile.am (version.m4): Revamp.
10810 No longer to be shipped.
10811 (version.in): Remove.
10812 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
10813 * lib/autoconf/status.m4: Adjust.
10814 Use `m4_PACKAGE_STRING'.
10815 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
10816 the only optional argument is the name of the test suite.
10817 Expect `package.m4' to define the package signature.
10818 * lib/autom4te.in (Autotest): Add `package.m4?'.
10819 * tests/Makefile.am (package.m4): New.
10820 * tests/suite.at: ifnames is a victim.
10822 2001-09-18 Akim Demaille <akim@epita.fr>
10824 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
10825 AC_LIBSOURCE, AC_CONFIG_FILES.
10826 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
10827 program version string doesn't match the package's.
10828 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
10831 2001-09-17 Paul Eggert <eggert@twinsun.com>
10833 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10834 Allow expression to return any value that can fit into unsigned long
10835 (not int, as before). Check for output errors.
10837 2001-09-17 Bruno Haible <haible@ilog.fr>
10839 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10840 Always include <stdio.h> and <stdlib.h>. Evaluate
10841 the expression in an extra function before these includes. Call
10842 fprintf "%d" only after ensuring the argument is of type 'int'.
10843 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
10845 2001-09-17 Paul Eggert <eggert@twinsun.com>
10847 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
10848 or CFLAGS=-O5. In that case, the linker has a relaxed view of
10849 fatal errors, and AC_CHECK_LIB causes it to include libraries even
10850 when they don't exist.
10852 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
10853 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
10856 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
10857 version with the version used by fileutils 4.1, except use
10858 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
10861 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
10863 2001-09-13 Akim Demaille <akim@epita.fr>
10865 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
10867 Reported by Gerrit P. Haase.
10869 2001-09-13 Akim Demaille <akim@epita.fr>
10871 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
10872 m4_defn'ing is valid.
10874 2001-09-13 Akim Demaille <akim@epita.fr>
10876 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
10877 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
10880 2001-09-13 Akim Demaille <akim@epita.fr>
10882 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
10884 (m4_re_escape): New.
10885 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
10886 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
10887 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
10889 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
10890 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
10891 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
10892 AT_tests_all for consistency.
10894 (AT_VICTIMS): Similar to AT_KEYWORDS.
10895 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
10897 2001-09-13 Akim Demaille <akim@epita.fr>
10899 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
10901 2001-09-13 Akim Demaille <akim@epita.fr>
10903 * lib/autotest/general.m4 (AT_INIT): Create and remove
10904 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
10905 test suites can cohabit.
10907 2001-09-13 Akim Demaille <akim@epita.fr>
10909 * tests/mktests.sh: Don't output banners for empty test files.
10911 2001-09-13 Akim Demaille <akim@epita.fr>
10913 Test suites can be run independently of configure.
10915 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
10916 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
10917 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
10919 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
10921 * lib/autotest/general.m4: Use ECHO_*.
10923 2001-09-13 Akim Demaille <akim@epita.fr>
10925 * bin/ifnames.in: Rewrite in Perl.
10926 * configure.ac: Don't look for AWK.
10927 * tests/tools.at (AWK portability): Remove.
10928 (Syntax of the shell scripts): Don't check ifnames.
10929 (AT_CHECK_PERL_SYNTAX): New.
10930 (Syntax of the Perl scripts): Check ifnames.
10931 * tests/ifnames: New.
10933 2001-09-13 Akim Demaille <akim@epita.fr>
10935 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
10937 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
10938 Remove all the other keywords.
10940 2001-09-10 Akim Demaille <akim@epita.fr>
10942 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
10943 SETUP: no longer used.
10944 Support -k, --keywords.
10945 <at_help>: Be `no', `short', or `long'.
10946 <at_help_all>: New variable.
10947 (AT_KEYWORDS): New.
10948 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
10949 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
10950 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
10951 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
10952 No longer fill the HELP diversion.
10953 (AT_CLEANUP): Use them.
10954 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
10955 (m4_list_append): Remove.
10957 Spread a few keywords in the Autoconf test suite.
10959 2001-09-10 Akim Demaille <akim@epita.fr>
10961 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
10962 PATH_SEPARATOR, let M4sh compute it.
10963 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
10964 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
10966 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
10967 Simplify when the path is not a literal.
10968 (AS_UNAME): Use it to report PATH.
10969 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
10970 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
10971 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
10972 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
10973 normalize the path, and to look for victims.
10974 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
10975 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
10977 2001-09-07 Akim Demaille <akim@epita.fr>
10979 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
10980 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
10981 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
10982 related variables into `at_package_*'.
10983 * lib/autotest/general.m4 (AT_VICTIMS): New.
10984 (AT_INIT): Adjust for stand-alone/embedded test suites.
10985 (AS_MESSAGE_LOG_FD): Define and use it.
10986 * tests/suite.at (AT_VICTIMS): Use it.
10987 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
10990 2001-09-07 Akim Demaille <akim@epita.fr>
10992 Move toward possibly stand-alone test suites.
10994 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
10995 in addition, it introduces useless differences in logs.
10996 (AT_INIT): Let atconfig and atlocal be both optional.
10997 Adjust PATH computation.
10998 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
11000 2001-09-07 Akim Demaille <akim@epita.fr>
11002 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
11003 m4sugar/version.m4.
11005 2001-09-05 Akim Demaille <akim@epita.fr>
11007 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
11008 to avoid GCC warnings.
11011 2001-09-05 Akim Demaille <akim@epita.fr>
11013 * bin/autom4te.in: --language is -l, not -s.
11015 2001-09-05 Akim Demaille <akim@epita.fr>
11017 Be ready to handle filenames as stupid as `dnl.at', for if even
11018 the maintainer is dumb enough to do that...
11020 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
11021 excellence in M4 quotation: consider `__file__' is active.
11023 And BTW, when invoking m4, pass the --include in the right order:
11026 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
11029 2001-09-05 Akim Demaille <akim@epita.fr>
11031 * lib/Autom4te/XFile.pm: New lib file.
11032 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
11033 * bin/autoheader.in: Use it.
11035 2001-09-05 Akim Demaille <akim@epita.fr>
11037 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
11040 2001-09-05 Akim Demaille <akim@epita.fr>
11042 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
11043 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
11045 * bin/autoscan.in: Use `getopt' and `find_files' etc.
11046 Add -I, --include support.
11047 * doc/autoconf.texi (autoscan Invocation): Adjust.
11049 2001-09-05 Akim Demaille <akim@epita.fr>
11051 CVS GNU M4 doesn't like `undefine(undefined)'.
11053 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
11054 New, extracted from main.
11055 Use IO::File wherever possible.
11056 (input.m4): Be constant, use -I instead of hard coding $tmp.
11057 Therefore be a quoted heredoc.
11058 Don't invoke `_au_disable', since ac was not loaded, but just
11061 2001-08-31 Akim Demaille <akim@epita.fr>
11065 2001-08-31 Akim Demaille <akim@epita.fr>
11067 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
11069 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
11071 2001-08-31 Akim Demaille <akim@epita.fr>
11073 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
11074 serious problems handling heredocs in heredocs.
11075 Reported by Nicolas Joly.
11077 2001-08-31 Akim Demaille <akim@epita.fr>
11079 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
11080 (Making testsuite Scripts): Update.
11082 2001-08-31 Akim Demaille <akim@epita.fr>
11084 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
11086 2001-08-31 Akim Demaille <akim@epita.fr>
11088 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
11089 (testsuite Scripts): There is no such thing as `atconfig.in'.
11090 And actually one diagram is missing: test suite runtime.
11092 2001-08-31 Akim Demaille <akim@epita.fr>
11094 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
11097 2001-08-31 Akim Demaille <akim@epita.fr>
11099 * bin/autoupdate.in (@include): `installcheck' revealed the path
11100 to m4sugar was lacking!
11102 2001-08-31 Akim Demaille <akim@epita.fr>
11104 * man/Makefile.am (.x.1): We really have to pass
11105 autom4te_perllibdir.
11107 2001-08-31 Akim Demaille <akim@epita.fr>
11109 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
11110 debug scripts, in particular passing explicitly listed tests to
11113 2001-08-31 Akim Demaille <akim@epita.fr>
11115 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
11116 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
11117 Use directly autom4te, not autoconf.
11118 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
11120 2001-08-31 Akim Demaille <akim@epita.fr>
11122 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
11123 * bin/autoheader.in (%symbol): Strip arguments of macros.
11125 2001-08-31 Akim Demaille <akim@epita.fr>
11127 * doc/autoconf.texi: Catch up -I, --include changes.
11129 2001-08-31 Akim Demaille <akim@epita.fr>
11131 * bin/autom4te.in (&parse_args): Die on unknown languages.
11132 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
11134 Promote --include over --macrodir and other obsolete options.
11136 2001-08-31 Akim Demaille <akim@epita.fr>
11138 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
11139 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
11140 * bin/autom4te.in ($autoconf): Pass --force.
11141 `print $out' doesn't print `$_' but `$out'.
11142 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
11143 (autoheader): Pass --force since the test suite goes too fast for
11145 Adjust to the new autoheader messages.
11147 2001-08-31 Akim Demaille <akim@epita.fr>
11149 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
11150 Check the completeness of the #template.
11151 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
11152 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
11155 2001-08-31 Akim Demaille <akim@epita.fr>
11157 * lib/Autom4te/General.pm (&find_file, &update_file): New.
11158 * bin/autoupdate.in, bin/autoheader.in: Adjust.
11159 Drop AC_MACRODIR dead for real.
11160 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
11161 `autoheader: `config.hin' is created'.
11162 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
11164 2001-08-31 Akim Demaille <akim@epita.fr>
11166 * bin/autoheader.in: Rewrite in Perl.
11167 * tests/autoheader: Adjust.
11169 2001-08-31 Akim Demaille <akim@epita.fr>
11171 * bin/autoconf.in (--include, -I): New option.
11172 Map --localdir, --autoconf-dir onto it.
11173 Forward autom4te's options instead of interpreting them.
11174 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
11175 There is no such envvar since the inception of autom4te.cfg.
11176 * bin/autom4te.in (&parse_args): Uniquify `@include'.
11177 * bin/autoupdate.in: Adjust, and perform more control.
11178 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
11179 * tests/autoconf: Dittowise.
11181 2001-08-31 Akim Demaille <akim@epita.fr>
11183 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
11184 * bin/autom4te.in (&find_file): Support `FILE?' standing for
11186 Use -e, not -f, since /dev/null for instance is OK.
11187 (&parse_args): Adjust.
11188 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
11190 2001-08-31 Akim Demaille <akim@epita.fr>
11192 * configure.ac: Also find tested executables in bin.
11193 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
11194 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
11195 installed peer executables, only PATH is allowed to resolve it.
11196 Pass `autoconf_dir' via options, not via invisible envvars.
11197 * lib/Autom4te/General.pm (&find_peer): Remove.
11198 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
11199 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
11200 * man/Makefile.am: Let help2man rely on PATH instead of trying to
11201 find the executables for it.
11202 * tests/Makefile.am: Major cleanup. Too lazy to document...
11203 * tests/atlocal.in: Remove all the obscure envvar manipulations.
11205 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
11206 indeed related to running the test suite, while passing
11207 --autoconf-dir and others is related to running non installed
11208 Autoconf executables. So don't do that, leave it to...
11209 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
11210 * tests/autoscan: New.
11211 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
11212 refer to library files: rely on --language.
11214 2001-08-29 Akim Demaille <akim@epita.fr>
11216 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
11217 s/--set/--language/.
11219 2001-08-29 Akim Demaille <akim@epita.fr>
11221 * doc/autoconf.texi: Strip the @nodes.
11222 Suggested by Paul Eggert.
11223 (Initializing configure): Typo.
11225 2001-08-29 Akim Demaille <akim@epita.fr>
11227 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
11228 Suggested by Paul Eggert.
11230 2001-08-29 Akim Demaille <akim@epita.fr>
11232 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
11233 download in a tmp dir.
11235 2001-08-29 Akim Demaille <akim@epita.fr>
11237 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
11238 case insensitive OSes out there :(
11239 From Tim Van Holder.
11241 2001-08-29 Akim Demaille <akim@epita.fr>
11243 * lib/autom4te.in: New.
11244 * lib/Makefile.am (edit, autom4te.cfg): New.
11245 * bin/autom4te.in (BEGIN): Simplify.
11246 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
11247 (&load_configuration): New. Use it.
11248 (&parse_args): Support --mode, --set, and --melt.
11249 * bin/autoconf.in: Simplify and adjust.
11250 * tests/Makefile.am (AUTOMAKE): Use --set.
11251 * tests/atlocal.in: Adjust.
11252 * BUGS: distcheck and check are weak.
11254 2001-08-29 Akim Demaille <akim@epita.fr>
11256 * lib/autotest/general.m4: Use
11257 foo=`(command) 2>/dev/null`
11259 foo=`command` 2>/dev/null
11260 (at-devnull): Rename as...
11261 (AT-devnull): this.
11262 (--clean): Remove AT-* files too.
11263 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
11264 Reported by Nicolas Joly.
11266 2001-08-28 Akim Demaille <akim@epita.fr>
11268 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
11269 quotes inside single quotes.
11270 Reported by Nicolas Joly.
11272 2001-08-28 Kevin Ryde <user42@zip.com.au>
11274 * doc/autoconf.texi (Function Portability): Mention C right shifts.
11276 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
11278 * lib/autotest/general.m4: Reword some messages.
11279 (AT_INIT): Check for the `times' builtin before using it.
11280 Support test ranges as arguments to the testsuite.
11281 Have -e imply -d as the help text suggested.
11283 2001-08-27 Akim Demaille <akim@epita.fr>
11285 * Makefile.maint: Formatting changes.
11286 (do-po-update, po-update, cvs-update, update): New targets.
11289 2001-08-27 Akim Demaille <akim@epita.fr>
11291 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
11292 <at_cmd_line>: New.
11293 Pass it to debug-*.sh scripts.
11294 <AUTOTEST_PATH>: May contain absolute dir names.
11296 2001-08-27 Akim Demaille <akim@epita.fr>
11298 * lib/autotest/general.m4 (AT_INIT): Log the command line.
11299 Support `VAR=VAL' as arguments.
11300 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
11301 may be set via the command line.
11303 2001-08-27 Akim Demaille <akim@epita.fr>
11305 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
11306 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
11307 first the build dirs, then the src dirs.
11308 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
11310 2001-08-27 Akim Demaille <akim@epita.fr>
11312 * lib/autotest/general.m4 (AT_INIT): Output the definition of
11313 at_data_files earlier.
11314 (--clean, -c): New option.
11315 * tests/Makefile.am: Use this option.
11317 2001-08-27 Akim Demaille <akim@epita.fr>
11319 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
11320 `ac_top_builddir' to mimic Automake's vocabulary, which much more
11323 * doc/autoconf.texi (Configuration Actions): Document the vars
11324 available in commands.
11325 Emphasize the risks of collisions in init-cmds.
11327 2001-08-27 Akim Demaille <akim@epita.fr>
11329 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
11330 (Initializing configure): this new node.
11332 2001-08-27 Akim Demaille <akim@epita.fr>
11334 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
11336 2001-08-27 Akim Demaille <akim@epita.fr>
11338 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
11339 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
11341 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
11343 2001-08-27 Akim Demaille <akim@epita.fr>
11345 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
11347 * lib/autoconf/autoheader.m4: this new file.
11348 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
11349 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
11351 * lib/autoconf/autoupdate.m4: this new file.
11353 2001-08-27 Akim Demaille <akim@epita.fr>
11355 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
11356 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
11357 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
11359 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
11360 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
11362 2001-08-27 Akim Demaille <akim@epita.fr>
11364 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
11365 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
11366 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
11367 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
11368 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
11369 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
11370 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
11371 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
11372 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
11373 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
11374 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
11375 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
11376 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
11377 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
11378 (_AC_OUTPUT_SUBDIRS): Move to...
11379 * lib/autoconf/status.m4: this new file.
11380 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
11381 * tests/Makefile.am, tests/suite.at: Adjust.
11383 2001-08-27 Akim Demaille <akim@epita.fr>
11387 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
11388 (AMTAR): Help automake define it.
11389 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
11390 needed, 1.5 can have a macro and a target with the same name.
11391 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
11392 * m4/strip.m4: New.
11393 * m4/init.m4, m4/sanity.m4: Update.
11394 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
11395 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
11396 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
11397 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
11399 2001-08-27 Akim Demaille <akim@epita.fr>
11401 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
11403 * lib/autoconf/version.in: Remove.
11404 * lib/m4sugar/version.in: New.
11405 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
11407 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
11408 the name of the directory they're in, instead of the filename,
11409 since version.m4 is now in m4sugar, but m4_acversion must not be
11410 classified as an Autoconf macro.
11411 ($input_m4): Don't qualify the path to m4sugar.
11412 Rather, pass autoconf_dir to m4.
11413 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
11414 * tests/suite.at: Require 2.52c.
11416 2001-08-27 Akim Demaille <akim@epita.fr>
11418 testsuite.log should include config.log.
11420 * lib/autotest/autotest.m4: New.
11421 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
11422 * tests/suite.at : Adjust.
11423 (AT_INIT): Log config.log.
11424 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
11425 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
11426 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
11427 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
11428 of config.log on traps.
11429 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
11430 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
11431 for config.status'.
11432 Open the log as soon as possible.
11433 Use the same log introduction as configure's.
11435 2001-08-22 Paul Eggert <eggert@twinsun.com>
11437 * doc/autoconf.texi (Indices): New node.
11438 Move indices out of the top level menu and into this submenu.
11440 2001-08-22 Akim Demaille <akim@epita.fr>
11442 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11444 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
11446 2001-08-22 Akim Demaille <akim@epita.fr>
11448 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
11449 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
11450 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
11451 * lib/autoconf/programs.m4: here.
11452 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
11453 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
11454 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
11455 * lib/autoconf/programs.m4: here.
11456 (_AC_DECL_YYTEXT): Rename as...
11457 (_AC_PROG_LEX_YYTEXT_DECL): this.
11458 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
11459 * tests/Makefile.am, tests/suite.am: Adjust.
11461 2001-08-22 Akim Demaille <akim@epita.fr>
11463 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
11465 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
11467 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
11468 * lib/autoconf/functions.m4: here.
11469 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
11470 (AH_CHECK_LIB): Move to...
11471 * lib/autoconf/libs: this new file.
11472 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
11473 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
11474 * lib/autoconf/libs.m4: here.
11475 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
11477 2001-08-22 Akim Demaille <akim@epita.fr>
11479 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
11480 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
11481 (AC_SITE_LOAD): Better logging of config.site.
11483 2001-08-20 Akim Demaille <akim@epita.fr>
11485 * configure.ac (AT_CONFIG): Fix the path.
11486 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
11489 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
11491 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
11492 program with AC_LANG_PROGRAM before feeding it to
11493 AC_COMPILE_IFELSE. Cleanup grep usage.
11495 2001-08-20 Akim Demaille <akim@epita.fr>
11497 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
11498 * NEWS, README, README-alpha, TODO, tests/README: This package is
11499 `Autoconf', not `autoconf' (the executable).
11501 2001-08-20 Akim Demaille <akim@epita.fr>
11503 Info readers seem to need `Index' in the index node title :(
11505 * doc/autoconf.texi: Reverse the 2001-08-15 change which
11506 simplified index node names.
11508 2001-08-20 Akim Demaille <akim@epita.fr>
11510 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
11511 arguments are not literals.
11512 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
11513 Specify the output variables, and macros defined.
11515 2001-08-20 Akim Demaille <akim@epita.fr>
11517 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
11518 (Examining Syntax) <AC_TRY_COMPILE>
11519 (Examining Libraries) <AC_TRY_LINK>
11520 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
11522 Reported by Werner Lemberg.
11524 2001-08-20 Akim Demaille <akim@epita.fr>
11526 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
11527 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
11528 Load atlocal late enough to dump it in the log.
11529 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
11531 2001-08-20 Akim Demaille <akim@epita.fr>
11533 * tests/torture.at (Configuring subdirectories): New test.
11534 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
11536 * m4/atconfig.m4: Be sure the let $[0] be expandable.
11537 (top_srcdir): Fix its computation.
11539 2001-08-20 Akim Demaille <akim@epita.fr>
11541 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
11542 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
11544 Create `atconfig' automagically.
11545 Configure atlocal.in if present.
11546 * tests/atconfig.in: Remove.
11547 * tests/atlocal.in: New.
11548 * tests/Makefile.am: Adjust.
11550 2001-08-20 Akim Demaille <akim@epita.fr>
11552 Huh!?!?! There are still some user EOF tags used, which prevents
11553 their use in AC_CONFIG_COMMANDS for instance...
11555 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
11556 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
11557 `_CSEOF', or `_ATEOF', as appropriate.
11558 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
11559 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
11561 2001-08-20 Akim Demaille <akim@epita.fr>
11563 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
11564 * tests/semantics.at, tests/tools.at, tests/torture.at:
11565 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
11567 2001-08-20 Akim Demaille <akim@epita.fr>
11569 Autotest invokes M4sh's initialization.
11571 * lib/autotest/general.m4: Adjust the diversion names.
11572 (AT_INIT): Run AS_INIT.
11573 Use the BINSH diversion to invoke /bin/sh.
11574 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
11575 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
11577 2001-08-20 Akim Demaille <akim@epita.fr>
11579 Let M4sh have its own diversions.
11581 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
11582 (_m4_divert(NOTICE)): Rename as...
11583 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
11584 (_m4_divert(HEADER-COMMENT)): these.
11585 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
11586 (_m4_divert(NOTICE)): New, for Libtool.
11587 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
11588 long ago with `_m4_divert(GROW)'.
11589 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
11591 2001-08-20 Akim Demaille <akim@epita.fr>
11593 * tests/base.at, tests/compile.at, tests/foreign.at,
11594 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
11595 * tests/semantics.at, tests/suite.at, tests/tools.at,
11596 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
11598 2001-08-20 Akim Demaille <akim@epita.fr>
11600 * bin/autom4te.in (handle_output): Handle @__@.
11602 2001-08-20 Akim Demaille <akim@epita.fr>
11604 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
11605 * lib/autotest/general.m4: Adjust the license.
11607 2001-08-17 Paul Eggert <eggert@twinsun.com>
11609 * doc/autoconf.texi (Function Portability): Mention snprintf,
11610 following up on a suggestion by Kevin Ryde.
11612 2001-08-17 Akim Demaille <akim@epita.fr>
11614 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
11615 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
11617 2001-08-17 Akim Demaille <akim@epita.fr>
11619 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
11620 `$0.log' as for projects where testsuite is in src, we'd have
11621 testsuite.log created in src.
11623 2001-08-17 Akim Demaille <akim@epita.fr>
11625 * bin/autom4te.in (&parse_args): Recognize --normalize.
11627 2001-08-17 Akim Demaille <akim@epita.fr>
11629 Start implementing the AC_CHECK_HEADER transition scheme.
11631 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
11632 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
11633 (AC_CHECK_HEADER): Use them.
11635 2001-08-17 Akim Demaille <akim@epita.fr>
11637 * doc/autoconf.texi: Work around Texinfo buglets.
11638 (Transformation Rules): One example is enough, users are expected
11639 to have their brains on. And BTW, use DESTDIR.
11640 (dvar): New macro. Use it.
11642 2001-08-17 Akim Demaille <akim@epita.fr>
11644 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
11645 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
11646 looking for ChangeLogs.
11648 2001-08-17 Akim Demaille <akim@epita.fr>
11650 * bin/autom4te.in: --normalize is a new option.
11651 * bin/autoconf.in: Use it.
11653 2001-08-17 Akim Demaille <akim@epita.fr>
11655 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
11656 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
11658 2001-08-16 Paul Eggert <eggert@twinsun.com>
11660 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
11663 2001-08-15 Akim Demaille <akim@epita.fr>
11665 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
11668 2001-08-15 Akim Demaille <akim@epita.fr>
11670 * doc/autoconf.texi (pr): New index.
11671 (prindex, findex): Use, merge, and output them.
11672 (Environment Variable Index, Output Variable Index)
11673 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
11674 (Autotest Macro Index): Rename as...
11675 (Environment Variables, Output Variables,Preprocessor Symbols)
11676 (Autoconf Macros, M4 Macros, Autotest Macros): these.
11677 * doc/install.texi: Use @command.
11678 (Environment Variables): Rename as...
11679 (Defining Variables): this.
11681 2001-08-15 Akim Demaille <akim@epita.fr>
11683 * doc/autoconf.texi (Function Portability): sprintf's return
11687 2001-08-15 Akim Demaille <akim@epita.fr>
11689 * Makefile.maint (CVS): New.
11690 (local-check): Run changelog-check. last.
11691 (alpha): Don't depend upon local-check, since...
11692 (cvs-dist): depends upon it.
11694 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
11696 * tests/Makefile.am: Use a clean-local rule to remove
11697 autom4te.cache (it's a directory, not a file.
11698 * Makefile.am: Ditto (but maintainer-clean-local).
11700 2001-08-15 Akim Demaille <akim@epita.fr>
11702 * bin/autom4te.in (@m4_warning): New.
11703 (&handle_m4): Use it.
11704 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
11705 warnings are issued at each run.
11706 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
11707 is in the src tree.
11709 2001-08-15 Akim Demaille <akim@epita.fr>
11711 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
11712 don't waste time running `autoupdate --version' works.
11713 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
11715 2001-08-13 Akim Demaille <akim@epita.fr>
11717 * doc/autoconf.texi (ma): Rename this index as...
11720 2001-08-13 Akim Demaille <akim@epita.fr>
11722 * Makefile.am: Remove dead code and dead comments.
11723 (pdf, html): New targets.
11724 * doc/autoconf.texi (Using Autotest): New chapter.
11725 * doc/Makefile.am (pdf): New targets.
11726 (CLEANFILES): Adjust.
11728 2001-08-13 Akim Demaille <akim@epita.fr>
11730 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
11731 duration of the test suite.
11733 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
11735 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
11736 endianness for comparison instead of relying on AT_CHECK_ENV.
11738 2001-08-11 Paul Eggert <eggert@twinsun.com>
11740 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
11741 to the INSTALL file.
11743 2001-08-11 Paul Eggert <eggert@twinsun.com>
11745 * NEWS: The autoconf manual now is distributed under the terms
11746 of the GNU Free Documentation License.
11748 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
11749 Add an appendix "Copying This Manual" for the FDL.
11751 * doc/fdl.texi: New file, from
11752 <http://www.gnu.org/licenses/fdl.texi>.
11754 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
11756 2001-08-10 Paul Eggert <eggert@twinsun.com>
11758 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
11759 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
11760 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
11761 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
11762 m4/sanity.m4, tests/README, tests/aclocal.m4,
11763 tests/atspecific.m4, tests/base.at, tests/compile.at,
11764 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
11765 tests/semantics.at, tests/suite.at, tests/tools.at,
11766 tests/torture.at: Add copyright notice.
11768 * tests/mktests.sh: Update year in copyright notice.
11770 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
11772 * tests/semantics.at (AC_C_BIGENDIAN): New test.
11774 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
11776 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
11777 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
11778 * doc/autoconf.texi (C Compiler Characteristics): Update
11779 documentation for AC_C_BIGENDIAN.
11781 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
11783 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
11784 magic values from an object file when cross-compiling.
11785 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
11787 2001-08-10 Akim Demaille <akim@epita.fr>
11789 * bin/autom4te.in (&handle_output): Don't use `grep' with side
11791 Suggested by Russ Allbery.
11793 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11795 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
11796 current $prefix to the sub-configures.
11798 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
11800 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
11801 extension (needed on BeOS). Reported by Guido van Rossum.
11803 2001-08-09 Akim Demaille <akim@epita.fr>
11805 * bin/autom4te.in ($icache): Load it only if older than autom4te.
11807 2001-08-07 Akim Demaille <akim@epita.fr>
11809 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
11811 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
11812 No need to remove the files before and after the each test, before
11813 each test and at the end of the suite is enough.
11814 Display only the children `times', not the shell's.
11815 If the test failed or was skipped, at-times is not available.
11817 2001-08-07 Akim Demaille <akim@epita.fr>
11819 Always produce testsuite.log, including when there are no
11820 failures. This helps getting information on skipped tests, and
11821 duration of the tests. Err, implement the latter btw.
11823 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
11824 Dump information on the first run of each test.
11825 (AT_CLEANUP): Create `at-times' containing the duration of the
11828 2001-08-07 Akim Demaille <akim@epita.fr>
11830 The use of `dumpstat' revealed that `len' was used although it
11831 should not. m4_text_wrap was using it, but in the Autoconf world
11832 where it is legal. Hence (i) test M4sh in its own world, not
11833 Autoconf's, and (ii), ahem, fix the bug :)
11835 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
11836 does not like `' instead of [].
11837 (AT_INIT): Forbid `^_?AT_'.
11838 And don't output such tokens.
11839 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
11840 `script.as', and `autom4te.cache'.
11841 Remove `empty' and `macro' which are no longer used.
11842 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
11843 * tests/m4sugar.at: Use it.
11844 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
11846 2001-08-07 Akim Demaille <akim@epita.fr>
11848 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
11850 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
11852 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
11854 2001-08-04 Akim Demaille <akim@epita.fr>
11856 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
11857 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
11859 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
11860 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
11861 (AC_F77_MAIN): Likewise.
11863 2001-08-04 Akim Demaille <akim@epita.fr>
11865 Don't rely on M4sugar outputting the patterns in files, since we
11866 might process the output _without_ running m4, hence without these
11869 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
11870 * bin/autom4te.in (@Request::includes): Remove, unused.
11871 (@Request::source): Rename as...
11872 (@Request::input): this.
11873 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
11874 (&handle_output): Fetch the patterns from the traces.
11875 `$forbidden' and `$allowed' are constant: use m//o.
11876 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
11877 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
11879 2001-08-04 Akim Demaille <akim@epita.fr>
11881 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
11882 autoconf', i.e., in addition to caching traces, cache the output.
11884 * bin/autom4te.in (Request::cache): Rename as...
11885 (Request::id): this.
11886 ($cache, $icache, $tcache, $ocache): New.
11887 (&handle_m4): Save M4 output in the cache instead of $tmp.
11888 (&handle_output): Adjust.
11889 (&up_to_date_p): Check that the output cache is up to date too.
11890 (top level): Run `&handle_m4' iff force or the cache is invalid.
11891 Run `&handle_output' if the output cache is more recent.
11893 2001-08-04 Akim Demaille <akim@epita.fr>
11895 * bin/autom4te.in ($force): New.
11896 (&parse_args, &print_usage): -f, --force is a new option.
11897 (&handle_output): CPP directives might have spaces after `#'.
11898 (&parse_args): The first file only can be frozen.
11900 2001-08-04 Akim Demaille <akim@epita.fr>
11902 Don't let autom4te compute the `include' traces several times:
11903 first check that the trace cache file is up to date, and then
11904 compare its timestamp with that of the output.
11906 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
11907 the preamble. Don't require 5.005 as Autom4te::General does it,
11908 and better yet (use `use', not `require'!).
11909 * lib/Autom4te/Struct.pm: Rename the last occurrences of
11910 Class::Struct as Autom4te::Struct.
11911 * lib/Autom4te/General.pm (File::stat): Use it.
11912 (&mtime): New, export it.
11913 * bin/autom4te.in: Use it.
11914 Declare `$req' is invalid if it is outdated.
11915 Don't declare it valid before saving it if something went wrong.
11917 2001-08-04 Akim Demaille <akim@epita.fr>
11919 Autom4te shall not encode Autoconf data, and preselecting traces
11920 must be proposed to the users.
11922 * bin/autom4te.in (@required_trace): Remove.
11924 (&parse_args, &print_usage): -p, --preselect is a new option.
11925 (&up_to_date_p): Adjust.
11926 * bin/autoconf.in: Preselect some Autoconf macros.
11928 2001-08-04 Akim Demaille <akim@epita.fr>
11930 * tests/tools.at (autoconf --trace: user macros): Check traces on
11931 macros invoked without arguments, and macros invoked with multiple
11934 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
11936 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
11939 2001-08-03 Akim Demaille <akim@epita.fr>
11941 * bin/autoconf.in ($@): Work around the usual sh bug.
11944 2001-08-03 Akim Demaille <akim@epita.fr>
11946 Clean up the handling of the M4 builtins tracing exception.
11948 * bin/autom4te.in (Request::request): Don't complete M4 builtins
11950 (@m4_builtins): Rename as...
11951 (@m4_builtin): this.
11952 (%m4_builtin_alternate_name): New.
11953 (&parse_args): Complete the trace requests with alternate names.
11954 (&handle_traces): Hence no longer do it here.
11955 (&trace_requests): Remove, unused.
11957 2001-08-03 Akim Demaille <akim@epita.fr>
11959 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
11960 m4_if, and m4_wrap.
11962 2001-08-03 Akim Demaille <akim@epita.fr>
11964 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
11965 (m4_divert_pop): Dump the whole diversion stack when a diversion
11967 * bin/autom4te.in (&handle_output): Remember of the first
11968 occurrence of a possibly undefined macro, not the last.
11969 Complain about the possibly undefined macros in the same order as
11970 the appear in the output.
11971 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
11972 * tests/tools.at (autoconf: forbidden tokens, basic)
11973 (autoconf: forbidden tokens, exceptions): No longer sort
11974 autoconf's stderr, as it is now deterministic.
11975 Check that `dnl' is caught.
11977 2001-08-01 Akim Demaille <akim@epita.fr>
11979 * configure.ac: Bump to 2.52c.
11981 2001-08-01 Akim Demaille <akim@epita.fr>
11985 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
11987 2001-08-01 Akim Demaille <akim@epita.fr>
11991 2001-08-01 Akim Demaille <akim@epita.fr>
11993 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
11996 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
11997 `END', as `Autom4te::General::END' will be triggered.
11998 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
11999 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
12000 system to run `mv', `rm', and `cmp'.
12002 2001-08-01 Akim Demaille <akim@epita.fr>
12004 * lib/Autom4te/General.pm (&unique): New.
12005 * bin/autoscan.in (&output): Use it to issue trace requests once.
12007 2001-08-01 Akim Demaille <akim@epita.fr>
12009 * lib/Autom4te/General.pm: New.
12010 * bin/autom4te.in (Autom4te::General): Use it.
12011 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
12012 (&find_configure_ac, &find_slave): Remove.
12013 * bin/autoscan.in: Likewise.
12014 * bin/autoupdate.in: Likewise.
12016 2001-08-01 Akim Demaille <akim@epita.fr>
12018 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
12019 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
12020 * bin: here, new directory.
12021 * lib/Autoconf: Rename as...
12022 * lib/Autom4te: this, to please case insensitive junkie OSes.
12024 2001-08-01 Akim Demaille <akim@epita.fr>
12026 * autom4te.in ($m4): Handle the --nesting-limit.
12027 * autoconf.in (M4): Remove.
12029 2001-08-01 Akim Demaille <akim@epita.fr>
12031 * autoconf.in ($AWK): Remove, no longer used.
12032 * test/tools.at: Use AT_CHECK_AUTOCONF.
12033 (AWK portability): Remove, for autoconf no longer uses AWK.
12034 (Syntax of the Perl scripts): New.
12035 * configure.ac: autoconf no longer needs an AWK with a good
12037 Use a static test on AC_PACKAGE_VERSION.
12038 * autom4te.in (&up_to_date_p): Output depends on the arguments.
12039 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
12040 * tests/atconfig.in (PERL): New.
12042 2001-08-01 Akim Demaille <akim@epita.fr>
12044 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
12045 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
12046 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
12047 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
12048 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
12049 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
12050 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
12051 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
12052 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
12053 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
12054 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
12055 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
12056 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
12057 * lib/autoconf/c.m4: here, new file.
12059 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
12060 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
12061 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
12062 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
12063 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
12064 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
12065 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
12066 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
12067 (AC_F77_FUNC): Move to...
12068 * lib/autoconf/fortran.m4: here, new file.
12070 2001-08-01 Akim Demaille <akim@epita.fr>
12072 * acfunctions.m4: Rename as...
12073 * lib/autoconf/functions.m4: this.
12074 * acgeneral.m4: Rename as...
12075 * lib/autoconf/general.m4: this.
12076 * acheaders.m4: Rename as...
12077 * lib/autoconf/headers.m4: this.
12078 * aclang.m4: Rename as...
12079 * lib/autoconf/lang.m4: this.
12080 * acoldnames.m4: Rename as...
12081 * lib/autoconf/oldnames.m4: this.
12082 * acspecific.m4: Rename as...
12083 * lib/autoconf/specific.m4: this.
12084 * actypes.m4: Rename as...
12085 * lib/autoconf/types.m4: this.
12086 * autoconf.m4: Rename as...
12087 * lib/autoconf/autoconf.m4: this.
12089 * m4sugar.m4: Rename as...
12090 * lib/m4sugar/m4sugar.m4: this.
12091 * m4sh.m4: Rename as...
12092 * lib/m4sugar/m4sh.m4: this.
12094 * tests/atgeneral.m4: Rename as...
12095 * lib/autotest/general.m4: this.
12097 * acfunctions: Rename as...
12098 * lib/autoscan/functions: this.
12099 * acheaders: Rename as...
12100 * lib/autoscan/headers: this.
12101 * acidentifiers: Rename as...
12102 * lib/autoscan/identifiers: this.
12103 * aclibraries: Rename as...
12104 * lib/autoscan/libraries: this.
12105 * acmakevars: Rename as...
12106 * lib/autoscan/makevars: this.
12107 * acprograms: Rename as...
12108 * lib/autoscan/programs: this.
12110 2001-08-01 Akim Demaille <akim@epita.fr>
12112 * doc/autoconf.texi: Moving/deleting open files is not portable.
12113 Portability issues for `.' (source), and more information about sed.
12115 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
12117 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
12118 which has a special meaning and is not a reference to libibmil.a.
12119 Reported by Matteo Frigo.
12121 2001-07-25 Pavel Roskin <proski@gnu.org>
12123 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
12126 2001-07-25 Akim Demaille <akim@epita.fr>
12128 * autoconf.in: Try to define the variables before using them.
12129 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
12130 instead of `$perllibdir'.
12131 * tests/atconfig.in ($autom4te_perllibdir): Export it.
12133 2001-07-25 Akim Demaille <akim@epita.fr>
12135 * autoconf.in (ac_LF_and_DOT): Remove, unused.
12137 2001-07-24 Akim Demaille <akim@epita.fr>
12139 Let autoconf use autom4te for traces.
12141 * autoconf.in ($task, task trace): Remove, merely pass --trace to
12143 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
12144 (Because I found no way for autom4te to accept `-').
12145 * autom4te.in (&Request::request): Beware of M4 builtins.
12146 (END): Don't try to remove the content of an empty dir.
12147 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
12148 (&handle_output): Set a default value to `$forbidden'.
12149 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
12150 ($autoconf): Pass --debug and --verbose.
12151 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
12154 2001-07-24 Akim Demaille <akim@epita.fr>
12156 Let autoconf use autom4te to create configure.
12158 * autoconf.in ($automate): New var.
12159 (task script): Use autom4te.
12160 * autom4te.in (File::Spec): Use it.
12162 (&parse_args): --warning is -W, not -w.
12163 Find the top level files.
12164 (&handle_m4): Pass the warnings flags.
12165 Don't report verbosely m4's failures, unless requested.
12166 (&handle_output): Don't complain for forbidden tokens in comments.
12167 Be sure to report all the forbidden tokens within a single line.
12168 (&trace_format_to_m4): Preserve `$_'.
12169 (&handle_traces): Sort the output macros.
12170 (&up_to_date_p): Find the files before trying to get its time stamp.
12172 2001-07-24 Akim Demaille <akim@epita.fr>
12174 * Makefile.am: Ship, build and install Autom4te.
12175 (SUBDIRS): Add lib.
12176 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
12177 * configure.in: Require Perl.
12178 * man/autom4te.in: New.
12180 2001-07-19 Paul Eggert <eggert@twinsun.com>
12182 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
12183 example, rather than (exit 1); exit (which isn't portable).
12185 2001-07-18 Akim Demaille <akim@epita.fr>
12189 2001-07-18 Akim Demaille <akim@epita.fr>
12191 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
12192 was run, while they are needed also when it is expanded.
12193 Reported by Nicolas Joly.
12195 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
12196 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
12197 AC_F77_DUMMY_MAIN being expanded.
12199 2001-07-18 Akim Demaille <akim@epita.fr>
12201 * configure.in: Bump to 2.51a.
12203 2001-07-17 Akim Demaille <akim@epita.fr>
12207 2001-07-17 Akim Demaille <akim@epita.fr>
12209 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
12210 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
12212 2001-07-17 Akim Demaille <akim@epita.fr>
12214 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
12215 used. Well, then use the prototypes when you can, and runtime as
12217 Reported by Artur Frysiak
12219 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
12220 (AC_FUNC_GETPGRP): Use it.
12221 First try to compile with 0-ary or 1-ary calls.
12223 2001-07-17 Akim Demaille <akim@epita.fr>
12225 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
12229 2001-07-17 Akim Demaille <akim@epita.fr>
12231 * Makefile.maint: Sync. with cppi 1.10.
12233 2001-07-17 Akim Demaille <akim@epita.fr>
12235 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
12236 AC_F77_DUMMY_MAIN has been run.
12237 From Pavel Roskin and Steven G. Johnson.
12239 2001-07-17 Akim Demaille <akim@epita.fr>
12241 * configure.in: Rename as...
12242 * configure.ac: this.
12244 2001-07-17 Akim Demaille <akim@epita.fr>
12246 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
12249 * Makefile.maint (release-archive-dir): Rename as...
12250 (release_archive_dir): this, so that it can be specialized in
12253 2001-07-14 Akim Demaille <akim@epita.fr>
12255 * configure.in: Bump to 2.50d.
12257 2001-07-14 Akim Demaille <akim@epita.fr>
12260 * Makefile.maint (alpha): Typo.
12262 2001-07-14 Akim Demaille <akim@epita.fr>
12264 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
12266 2001-07-14 Akim Demaille <akim@epita.fr>
12268 * config/config.guess, config/config.sub, config/texinfo.tex
12269 * doc/standards.texi, doc/make-stds.texi: Update.
12271 2001-07-14 Akim Demaille <akim@epita.fr>
12273 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
12275 2001-07-14 Akim Demaille <akim@epita.fr>
12277 * Makefile.maint (maintainer-check): Rename as...
12278 (maintainer-distcheck): this.
12279 (changelog-check, static-check): New.
12282 2001-07-14 Kevin Ryde <user42@zip.com.au>
12284 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
12285 for CXX is g++, not gcc.
12287 2001-07-14 Akim Demaille <akim@epita.fr>
12289 * doc/autoconf.texi (Files): New subsection.
12291 2001-07-14 Akim Demaille <akim@epita.fr>
12293 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
12295 (Generic Compiler Characteristics): this.
12296 (C++ Compiler): New subsection.
12298 2001-07-14 Akim Demaille <akim@epita.fr>
12300 * autoscan.in: Use IO::File.
12301 Adjust all the routines to use it.
12302 ($log): New file (autoscan.log).
12303 (output): Dump detailed logs into $log, and a shortened version to
12305 (&scan_makefile): Refine the regexp catching tokens in the code.
12306 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
12307 and the `configure.ac' checking feature.
12309 2001-07-12 Akim Demaille <akim@epita.fr>
12311 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
12312 Reported by Michael Elizabeth Chastain.
12314 * autoconf.in: Refuse such AWK.
12315 * configure.in: Likewise.
12316 * Makefile.am (acversion.m4): Do not use move-if-change this file
12318 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
12320 2001-07-10 Jens Petersen <petersen@redhat.com>
12322 * autoscan.in (&scan_makefile): Improve programs regexp to parse
12323 things like "g++", "file.c" and "some-conf" as tokens.
12324 (&scan_file): Match C++ files extensions.
12325 If the filename extension is C++ then ask for c++.
12327 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
12329 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
12330 AC_TRY_LINK_FUNC, to check whether defining a dummy
12331 main-like routine is needed for linking with F77 libs.
12333 2001-07-05 Pavel Roskin <proski@gnu.org>
12335 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
12337 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
12340 2001-07-05 Akim Demaille <akim@epita.fr>
12342 * Makefile.am (move_if_change): New. Use it instead of `mv'.
12343 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
12345 Reported by Nicolas Joly.
12347 2001-07-04 Akim Demaille <akim@epita.fr>
12349 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
12351 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
12352 warnings from compilers.
12353 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
12354 for all the compilers, not only GNU. Hence move from here...
12355 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
12357 2001-07-04 Akim Demaille <akim@epita.fr>
12359 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
12360 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
12363 2001-07-04 Akim Demaille <akim@epita.fr>
12365 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
12366 the ``strings.h'' change claimed below.
12368 2001-07-04 Akim Demaille <akim@epita.fr>
12370 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
12372 2001-07-04 Akim Demaille <akim@epita.fr>
12374 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12375 strings.h if usable with string.h.
12376 Suggested by Paul Eggert.
12378 2001-07-04 Akim Demaille <akim@epita.fr>
12380 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
12381 From Jens Petersen.
12383 2001-07-03 Akim Demaille <akim@epita.fr>
12385 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
12388 2001-07-03 Akim Demaille <akim@epita.fr>
12390 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
12391 compiler, not the preprocessor.
12392 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
12393 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
12395 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
12396 earlier if there are.
12398 2001-07-03 Akim Demaille <akim@epita.fr>
12400 * autoscan.in ($initfile): Remove.
12401 (&find_file): Rename as...
12402 (&scan_file): this.
12403 Immediately scan the current file, instead of gathering them, and
12404 later having them handled by &scan_files.
12405 (&scan_files): Merely invoke Find::File.
12408 2001-07-02 Akim Demaille <akim@epita.fr>
12410 * autoscan.in: Formatting changes, matching the invocation order.
12411 (File::Find): Use it instead of Perl 4's `find.pl'.
12412 (&wanted): Rename as...
12413 (&find_file): this.
12415 2001-07-01 Pavel Roskin <proski@gnu.org>
12417 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
12418 break in the argument to AC_TRY_LINK_FUNC.
12419 (AC_F77_MAIN): Remove conftest* after using break in the
12420 argument to AC_TRY_LINK.
12422 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
12424 Add alternate 'main' routine detection for linking C/C++ with Fortran,
12425 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
12427 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
12428 dummy alternate main is required even if the user provides her own
12430 (AC_F77_MAIN): New macro to detect whether it is possible to
12431 provide an alternate 'main' function name, using the 'main' from
12432 the Fortran libraries.
12433 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
12434 cross-language link tests can be performed successfully.
12435 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
12436 after $LIBS, for consistency; this should be the general rule since
12437 the user may want to link to Fortran libraries that require $FLIBS.
12438 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
12440 2001-06-29 Pavel Roskin <proski@gnu.org>
12442 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
12443 at-stdout and at-stderr instead of removing the newline
12444 from the echo output, which is not guaranteed to work.
12446 2001-06-28 Jens Petersen <petersen@redhat.com>
12448 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
12449 confdefs.h when non-zero.
12451 2001-06-28 Akim Demaille <akim@epita.fr>
12453 * configure.in: Bump to 2.50c.
12455 2001-06-26 Akim Demaille <akim@epita.fr>
12459 2001-06-26 Akim Demaille <akim@epita.fr>
12463 2001-06-25 Pavel Roskin <proski@gnu.org>
12465 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
12466 argument, AUTOCONF-FLAGS.
12467 * tests/mktests.sh (update_exclude_list): Add
12468 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
12469 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
12470 AC_FUNC_WAIT3 with "-W no-obsolete".
12472 2001-06-25 Akim Demaille <akim@epita.fr>
12474 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
12476 2001-06-25 Akim Demaille <akim@epita.fr>
12478 * autoscan.in (%macro): Now maps from word to list of macros.
12479 (&init_tables): Die when a word which is already handled by
12480 explicit macros is mapped to the default macro.
12481 (&print_unique): Remove, inlined in...
12482 (&output_kind): here.
12483 (File::Basename): Use it.
12484 (&output): Sort the CONFIG_FILES.
12485 * acheaders: Normalize.
12486 * acfunctions: Likewise.
12488 2001-06-25 Akim Demaille <akim@epita.fr>
12490 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
12491 characteristics in the logs.
12492 Suggested by Mo DeJong.
12494 2001-06-24 Akim Demaille <akim@epita.fr>
12496 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
12497 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
12498 * doc/autoconf.texi (Autoconf 2.13): New section.
12500 2001-06-24 Akim Demaille <akim@epita.fr>
12502 * autoconf.in (Task traces): Separate the error messages from the
12503 traces to improve robustness.
12505 2001-06-23 Akim Demaille <akim@epita.fr>
12507 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
12508 three as failures are unlikely, and speed matters.
12510 2001-06-23 Akim Demaille <akim@epita.fr>
12512 * doc/autoconf.texi (Redefined M4 Macros): New.
12514 2001-06-23 Akim Demaille <akim@epita.fr>
12516 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
12517 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
12520 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
12522 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
12523 config.status targets to after the evaluation of the INIT-CMDS.
12524 Double quote config.status targets (used to be single quoted).
12526 2001-06-23 Akim Demaille <akim@epita.fr>
12528 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
12529 Check the content of the created file.
12530 Check the ./config.status command line invocation.
12532 2001-06-23 Akim Demaille <akim@epita.fr>
12534 * tests/foreign.at (Libtool): Reject prehistoric versions.
12536 2001-06-23 Akim Demaille <akim@epita.fr>
12538 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
12539 preexisting files matching a.*.
12541 2001-06-23 Akim Demaille <akim@epita.fr>
12543 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
12545 * doc/autoconf.texi (AC_ARG_VAR): Update.
12547 2001-06-21 Akim Demaille <akim@epita.fr>
12549 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
12550 precious variables have changed.
12551 * tests/torture.at (AC_ARG_VAR): Adjust.
12553 2001-06-21 Akim Demaille <akim@epita.fr>
12555 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
12556 but some sed choke on multiple `;', and other tools (e.g.,
12557 Automake), include the separator themselves.
12559 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
12561 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
12563 * doc/autoconf.texi (Functions Portability): Rename as...
12564 (Function Portability): this.
12565 (Function Portability): Document potential problems with unlink().
12567 2001-06-19 Paul Eggert <eggert@twinsun.com>
12569 * NEWS, doc/autoconf.texi: Document quadrigraphs.
12571 2001-06-18 Akim Demaille <akim@epita.fr>
12573 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
12575 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
12577 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
12578 (_AC_FUNC_VFORK): this.
12579 Remove AC_DEFINEs and don't guess cross-compilation values.
12580 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
12581 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
12582 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
12583 vfork doesn't work.
12584 Guess values if cross-compiling, but warn.
12585 * acfunctions: Add AC_FUNC_FORK.
12586 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
12587 and vfork appropriately.
12589 2001-06-18 Akim Demaille <akim@epita.fr>
12591 * doc/autoconf.texi (Functions Portability): New section.
12593 2001-06-18 Akim Demaille <akim@epita.fr>
12595 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
12597 Suggested by Andreas Schwab.
12599 2001-06-18 Akim Demaille <akim@epita.fr>
12601 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
12602 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
12603 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
12604 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
12605 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
12606 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
12607 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
12610 2001-06-18 Akim Demaille <akim@epita.fr>
12612 * doc/autoconf.texi (ms): New index.
12613 (Macro Index): Rename as...
12614 (Autoconf Macro Index): this.
12615 (M4 Macro Index): New appendix.
12616 (Programming in M4): New chapter.
12617 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
12618 (Quoting): Rename as...
12619 (M$ Quotation): this.
12620 Be part of `Programming in M4).
12622 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
12624 * tests/torture.at (AC_ARG_VAR): Set variables and export them
12625 in separate statements for compatibility with Tru64 v5.1.
12627 2001-06-17 Akim Demaille <akim@epita.fr>
12629 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
12630 current values of the precious variables, not the previously
12632 Pass precious variables which are set to config.status.
12633 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
12634 * tests/torture.at (AC_ARG_VAR): New.
12636 2001-06-15 Paul Eggert <eggert@twinsun.com>
12638 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
12639 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
12640 and explain why and how to replace them.
12641 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
12642 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
12644 2001-06-15 Akim Demaille <akim@epita.fr>
12646 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
12647 Reported by Bruno Haible.
12649 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
12650 (_AC_ARG_VAR_PRECIOUS): to here.
12652 2001-06-15 Pavel Roskin <proski@gnu.org>
12654 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
12655 an unused pointer use cast to this type and `if' statement to
12656 avoid warnings from the compiler.
12657 (AC_HEADER_TIME): Likewise.
12658 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
12659 in `if' statement to avoid warnings from the compiler. Declare
12660 ac_aggr static to avoid the need to initialize it.
12662 2001-06-14 Akim Demaille <akim@epita.fr>
12664 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
12667 2001-06-13 Akim Demaille <akim@epita.fr>
12669 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
12670 Suggested by Alexander Mai.
12672 2001-06-13 Akim Demaille <akim@epita.fr>
12674 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
12675 sys/types.h and sys/stat.h, and check for them.
12677 2001-06-13 Akim Demaille <akim@epita.fr>
12679 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
12682 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
12684 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
12685 succeeds and only try adding libdnet upon a failure.
12687 2001-06-12 Akim Demaille <akim@epita.fr>
12689 * autoscan.in (&output_kind): Output the comment only if it exists.
12690 (%kind_comment): Add entry for `programs'.
12691 (&output_programs): Use &output_kind.
12692 (&output_functions, &output_identifiers, &output_headers)
12693 (&output_programs): Inline, and remove.
12695 2001-06-12 Akim Demaille <akim@epita.fr>
12697 * autoscan.in (%kind_comment): New.
12698 (output_kind): New.
12699 (output_functions, output_identifiers, output_headers): Use it.
12701 2001-06-12 Akim Demaille <akim@epita.fr>
12703 * autoscan.in (&print_unique): Take `$kind' and `$word' as
12704 arguments, to factor indirections into `%macro' and `%used'.
12705 (%generic_macro): Fix a typo.
12707 2001-06-12 Akim Demaille <akim@epita.fr>
12709 * aclibraries: New.
12710 * autoscan.in (@kinds): Add `libraries'.
12711 Use `@kinds' instead of hard coded lists.
12712 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
12713 Remove, replaced by...
12716 2001-06-12 Akim Demaille <akim@epita.fr>
12718 * autoscan.in (%functions_macros %headers_macros)
12719 (%identifiers_macros %programs_macros %makevars_macros): Remove,
12723 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
12725 * aclang.m4 (AC_NO_EXECUTABLES): Override
12726 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
12728 2001-06-11 Akim Demaille <akim@epita.fr>
12730 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
12732 Reported by Andreas Schwab.
12734 2001-06-11 Akim Demaille <akim@epita.fr>
12736 * Makefile.am, Makefile.maint: Typos.
12738 2001-06-09 Akim Demaille <akim@epita.fr>
12740 * doc/autoconf.texi (Here-Documents): New section, gathering
12741 documentation about here-documents.
12742 Use `href', not `uref', and other changes.
12744 2001-06-09 Akim Demaille <akim@epita.fr>
12746 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
12749 2001-06-09 Akim Demaille <akim@epita.fr>
12751 * doc/autoconf.texi (Limitations of Builtins): Complete the
12752 description of the here-docs penalties with Alexandre Oliva's
12755 2001-06-01 Paul Eggert <eggert@twinsun.com>
12757 * doc/autoconf.texi: Talk about here documents and speedups.
12758 Do not use "echo" on arbitrary strings.
12759 Spell "here-documents" consistently with the standard.
12761 2001-06-09 Akim Demaille <akim@epita.fr>
12763 * doc/autoconf.texi (Concept Index): Introduce it.
12764 Regenerate the menus.
12766 2001-06-09 Akim Demaille <akim@epita.fr>
12768 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
12769 * config/prev-version.txt: New.
12770 * config/move-if-change: New, for GNU libc.
12772 2001-06-06 Pavel Roskin <proski@gnu.org>
12774 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
12776 2001-06-06 Akim Demaille <akim@epita.fr>
12778 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
12779 properly when $1 is not a literal.
12780 Fixes PR Autoconf/187, reported by Bram Moolenaar.
12782 2001-06-06 Akim Demaille <akim@epita.fr>
12784 Invoking AC_COPYRIGHT before AC_INIT fails.
12786 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
12787 * acgeneral.m4 (_m4_divert(VERSION_FSF))
12788 (_m4_divert(VERSION_USER)): New.
12789 (AC_COPYRIGHT): $2 is the diversion to use.
12790 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
12791 (AC_INIT): Remove dead comments as now it's commutative.
12793 2001-06-06 Akim Demaille <akim@epita.fr>
12795 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
12798 2001-06-05 Akim Demaille <akim@epita.fr>
12800 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
12802 `*dir' variables cannot be NONE.
12803 Reported by Mark Kettenis.
12805 2001-06-05 Paul Eggert <eggert@twinsun.com>
12807 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
12809 2001-06-04 Akim Demaille <akim@epita.fr>
12811 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
12812 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
12813 (AC_TR_SH): Move as...
12814 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
12815 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
12817 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
12818 (_AS_TR_SH_PREPARE): New.
12819 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
12820 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
12822 2001-06-02 Akim Demaille <akim@epita.fr>
12824 * Makefile.am (.m4.m4f): Pass the options first.
12825 Fixes PR autoconf/182.
12827 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
12829 GNU getopt, when POSIXLY_CORRECT does not permute options and
12830 arguments. So pass the options first.
12831 Fixes PR autoconf/184.
12833 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
12834 (run_m4): Remove files.
12836 Update remainder of script to use them.
12837 (for warning in): Do not use a literal comma as it will not be
12840 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
12842 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
12843 Fortran compilers to check.
12844 (_AC_PROG_F77_V): Add '-###' as a possible option to print
12845 information on library and object files.
12846 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
12849 2001-06-02 Akim Demaille <akim@epita.fr>
12851 * autom4te.in (Request::@request): Declare with `vars', not `my',
12852 as it prevents updates via `do FILENAME'.
12854 2001-06-02 Akim Demaille <akim@epita.fr>
12856 * configure.in (standards_texi): Remove, dead code.
12858 2001-06-02 Akim Demaille <akim@epita.fr>
12860 * autom4te.in: New.
12862 2001-06-02 Pavel Roskin <proski@gnu.org>
12864 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
12865 for signals other than 0 - exit with code 1.
12866 * m4sh.m4 (AS_TMPDIR): Likewise.
12867 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
12868 * autoheader.in: Likewise.
12869 * autoreconf.in: Likewise.
12870 * tests/torture.at (Signal handling): New test for the above.
12872 2001-06-01 Akim Demaille <akim@epita.fr>
12874 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
12877 2001-05-31 Akim Demaille <akim@epita.fr>
12879 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
12880 Add copyright and comments.
12881 * acheaders: Add stdint.h.
12882 Suggested by Paul Eggert.
12884 2001-05-31 Akim Demaille <akim@epita.fr>
12886 * atgeneral.m4 (AT_INIT): Use $SHELL.
12887 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
12889 2001-05-31 Akim Demaille <akim@epita.fr>
12891 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12893 From Paul Eggert and Lars Hecking.
12895 2001-05-31 Akim Demaille <akim@epita.fr>
12897 * tests/base.at: Adjust line numbers in error messages.
12899 2001-05-31 Akim Demaille <akim@epita.fr>
12901 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
12902 to emit the bangshe line.
12903 Reported by David Carter.
12905 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
12907 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
12908 Fortran (95) compilers to check.
12910 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
12912 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
12915 2001-05-23 Pavel Roskin <proski@gnu.org>
12917 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
12918 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
12919 (AC_PROG_CXXCPP): Likewise.
12921 2001-05-22 Akim Demaille <akim@epita.fr>
12923 * config: New directory.
12924 * configure.in: AC_CONFIG_AUX_DIR it.
12925 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
12927 2001-05-22 Akim Demaille <akim@epita.fr>
12929 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
12930 * autoupdate.in: Specify the Emacs mode.
12931 * acversion.m4.in: Rename as...
12932 * acversion.m4: this.
12933 * tests/Makefile.am (CLEANFILES): More garbage.
12935 2001-05-22 Akim Demaille <akim@epita.fr>
12937 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
12939 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
12942 2001-05-21 Akim Demaille <akim@epita.fr>
12944 * configure.in: Bump to 2.50a.
12949 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
12952 This file is part of GNU Autoconf.
12954 GNU Autoconf is free software; you can redistribute it and/or modify
12955 it under the terms of the GNU General Public License as published by
12956 the Free Software Foundation; either version 2, or (at your option)
12959 GNU Autoconf is distributed in the hope that it will be useful,
12960 but WITHOUT ANY WARRANTY; without even the implied warranty of
12961 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12962 GNU General Public License for more details.
12964 You should have received a copy of the GNU General Public License
12965 along with autoconf; see the file COPYING. If not, write to
12966 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12967 Boston, MA 02110-1301, USA.