1 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
3 * README: Recomment m4 1.4.4 instead of 1.4.3..
4 * doc/autoconf.texi: Likewise.
5 (Special Chars in Names): Say that $(.FOO) is portable, as
6 suggested by Stepan Kasal.
8 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10 * doc/autoconf.texi (Configuration Actions): Remove duplicate
11 `@var', for texi2html.
12 (Systemology): Some more word wrapping, for DVI output.
13 (autom4te Invocation): The short option for `--melt' is `-M',
16 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
18 * doc/autoconf.texi: More formatting and English tweaks,
19 many suggested by Ralf Wildenhues.
20 Reword to avoid "@code{...}'s" and the like, since it's ugly
21 with Emacs info mode. discontents -> woes.
22 Put a few "will"s back. time stamp -> timestamp.
23 side-effect -> side effect.
25 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
27 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
28 Warn about $@ not persisting. Problem reported by Julien Danjou in
29 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
30 (Special Chars in Names): Renamed from Leading _ in Macro Names.
31 Mention other special chars, too.
33 2006-06-14 Eric Blake <ebb9@byu.net>
35 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
37 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
39 * doc/autoconf.texi: Some systematic minor improvements, as
40 follows. Use "makefile" when talking about makefiles
41 generally (which might be named "makefile" or "Makefile" or even
42 "foo.mk"), "Makefile" when talking about a specific makefile
43 called "Makefile". This unclutters the text from weird quotes
44 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
45 values" rather than "@var{foo}s" and similar constructs containing
46 "}s". Use "Make rules" rather than "Makefile rules". Minor
47 English-language improvements. Change the prefix "sub-" to "sub"
49 Put blank lines around examples more consistently.
50 Avoid "rather" and "very" as intensifiers.
51 Avoid "will" as an auxiliary.
52 (Limitations of Make): Split this node into....
53 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
54 (Leading _ in Macro Names, Backslash-Newline-Newline):
55 (Backslash-Newline Comments, Long Lines in Makefiles):
56 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
57 (obj/ and Make, make -k Status, VPATH and Make):
58 (VPATH and Double-colon, $< in Explicit Rules):
59 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
60 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
61 New nodes, resulting from splitup of Limitations of Make.
62 All cross-references changed. Raise the top node from
63 a section to a chapter, and all subnodes accordingly.
64 Redo the introductory wording to match the new organization.
65 (Installation Directory Variables): Use an example that is
66 closer to what Autoconf actually does. Mention that VPATH's
67 value should not contain metacharacters or white space.
68 (Fortran Compiler): Fix a VPATH bug in an example.
69 (Leading _ in Macro Names): Mention that this problem is no longer
71 (VPATH and Make): Reword the advice to make it clearer
72 that Autoconf and Automake support VPATH in non-GNU make, but
73 many packages have bugs in this area.
74 ($< in Explicit Rules): Refer to Build Directories rather
75 than using a (non-VPATH-safe) example.
76 (Automatic Rule Rewriting): Mention the sort of disaster that
77 can ensue with Solaris-style rule rewriting with VPATH.
79 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
81 * doc/install.texi (Compilers and Options): Weaken the
82 suggestion to use GNU make for VPATH builds.
84 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
85 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
87 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
88 in regular expression.
90 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
92 * doc/autoconf.texi (Installation Directory Variables):
93 Drop extra @samp from `@table @samp' item.
94 (Limitations of Usual Tools): Comment fix.
95 Do not nest @samp just to point to other table items.
96 (Writing testsuite.at) <AT_CHECK>: The second argument to
97 `@dvar' is already @samp'ed.
98 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
99 do not use @var in the second argument.
101 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
103 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
104 $as_shell.exe too. Problem reported by Andreas Buening in
105 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
107 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
109 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
110 `unused variable' compiler warning, for `-Wall -Werror'.
111 Reported by Jaap Haitsma in
112 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
114 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
116 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
117 case the compiler dumps core. Problem reported for
118 OpenServer 5.0.7 by Tim Rice in
119 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
120 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
123 2006-06-06 Tim Rice <tim@multitalents.net>.
125 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
126 "ERROR" only shows up in "make check" output if there is an
129 2006-06-06 Eric Blake <ebb9@byu.net>
131 * tests/tools.at (automatically allowed tokens): Fix typo.
133 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
135 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
137 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
138 typically overflows on x86 CPUs, even though the C standard
141 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
143 * configure.ac (AC_INIT): Bump to 2.59e.
146 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
150 * config/texinfo.tex: Sync from upstream.
152 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
153 seen, invoke libtoolize with `--ltdl' argument.
154 * lib/autom4te.in (Autoreconf-preselections): Adjust.
156 Suggested by Eric Blake.
158 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
160 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
161 reported by Ralf Wildenhues.
162 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
164 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
168 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
170 * doc/autoconf.texi: Modernize some of the references to Solaris.
172 2006-06-05 Stepan Kasal <kasal@ucw.cz>
174 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
175 message issued by AC_REQUIRE.
176 * tests/m4sugar.at: Check m4_require's error message.
177 * tests/base.at: Check AC_REQUIRE's error message.
178 * tests/local.at (AT_CHECK_M4): New macro, almost identical
180 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
182 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
183 `expout' as the last parameter.
184 * tests/tools.at: Adapt to the above change.
186 2006-06-04 Stepan Kasal <kasal@ucw.cz>
188 * doc/autoconf.texi (Limitations of Usual Tools): Correct
189 information about race-free implementations of mkdir.
191 2006-06-04 Eric Blake <ebb9@byu.net>
193 * bin/autoreconf.in (help): Document M4 environment variable.
194 * bin/autoconf.as (Usage): Likewise.
195 * bin/autom4te.in (help): Likewise.
196 * doc/autoconf.texi (autom4te Invocation): Likewise.
198 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
200 * NEWS: GNU make now recommended for VPATH builds.
201 Mention that some macros are now documented to be obsolescent.
203 Prefer "current" to "modern" to describe
204 currently-used (albeit perhaps old-fashioned) hosts.
205 Mention which ancient features no longer need to be worried about.
206 setgid -> set-group-ID
207 setuid -> set-user-ID (these are the Posix terms)
208 Fix some misuses of "only".
209 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
210 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
211 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
212 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
213 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
214 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
215 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
216 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
217 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
218 Mention that these macros are obsolescent.
219 (Installation Directory Variables): shall -> should
220 (File Descriptors): Mention that 0, 1, 2 might get reopened.
221 Mention that it's now safe to use 3 and 4.
222 (Limitations of Usual Tools): cp -r is now specified by Posix.
223 Omit longwinded and obsolescent discussion of cp -f.
224 Modernize discussion of expr, ls.
225 (Limitations of Make): Modernize discussion of VPATH builds.
226 Mention $? as a workaround in some cases.
227 * doc/install.texi (Basic Installation):
228 Mention "./configure; make; make install" first. Be more
229 specific about why this file is generic. Remove unnecessary
230 parens. Remove misleading "only". Remove obsolete advice
231 about csh. Don't say "configure" takes awhile; say it
232 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
233 and CC=c99 rather than CC=c89, as these are blessed by current
234 Posix. Recommend GNU make if doing a VPATH build.
236 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
238 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
239 examples involving shell prompts.
241 2006-06-02 Stepan Kasal <kasal@ucw.cz>
242 and Paul Eggert <eggert@cs.ucla.edu>
244 * doc/autoconf.texi (Here-Documents): Add details about the
245 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
246 use "here-documents" instead of "here documents".
248 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
250 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
252 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
254 * doc/autoconf.texi (File System Conventions): Warn about ":"
255 anywhere in directory names.
257 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
259 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
260 about quoting the case statement, just in case.
261 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
262 was fixed in ksh93g; reported by Ralf Wildenhues.
264 2006-05-31 Stepan Kasal <kasal@ucw.cz>
266 * doc/autoconf.texi (System Services): Do not document
267 overriding EXEEXT via ac_cv_exeext=ext.
268 (Particular Programs) <AC_PROG_MKDIR_P>:
269 Document that ${MKDIR_P} understands --.
270 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
273 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
275 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
276 argument with leading hyphen. Problem reported by Paul Eggert.
278 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
280 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
281 about quoting ac_try: quote all of it, if any of it seems suspicious.
282 This means we don't have to worry about ${ or sed any more.
283 Also, double-quote the case statement, to work around misuses via
284 underquoting as reported by Ralf Wildenhues in
285 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
286 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
287 undocumented and dangerous macro.
288 Problem reported by Ralf Wildenhues in
289 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
291 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
293 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
294 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
295 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
297 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
299 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
300 since evidently some packages rely on the old, broken behavior.
301 Problem reported by Ralf Wildenhues in
302 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
303 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
304 pre-2006-05-26 definitions, but leave in the comments that
305 these macros are dangerous and should not be used.
306 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
307 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
308 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
309 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
310 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
312 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
314 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
315 the use of 'tr', since this is our only use of 'tr'.
317 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
318 and Paul Eggert <eggert@cs.ucla.edu>
320 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
321 Don't assume 'grep' works on long lines, since AIX grep doesn't.
323 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
325 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
326 the output file in the `${datarootdir}' test.
328 2005-05-28 Stepan Kasal <kasal@ucw.cz>
329 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
331 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
332 mention of `datarootdir' in the input file(s), but literal
333 `${datarootdir}' in the output file, and we haven't warned yet,
334 then warn as well: the user may have (erroneously) used
335 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
336 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
337 * tests/torture.at (datarootdir workaround): Extend this test.
340 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
341 and Paul Eggert <eggert@cs.ucla.edu>
343 * doc/autoconf.texi (autoheader Invocation): The first argument to
344 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
345 alternatives and clear up the language a bit.
347 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
349 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
350 ac_config_guess, ac_config_sub, ac_configure.
351 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
352 Fix typo that prevented an unnecessary space from being removed.
353 Problems reported by Ralf Wildenhues in:
354 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
356 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
358 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
359 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
360 Don't use the term "thread-safe" to talk about mkdir race
361 conditions, since the problem is more a process than a thread
362 issue. Problem reported by Stepan Kasal in:
363 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
364 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
365 the test for 'install' more closely. Look at MKDIR_P first.
366 Look in the PATH, and at /opt/sfw/bin.
367 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
368 Don't bother to try mkdir -p, since we already check mkdir --version;
369 just look at the version number. (There's no easy way to check
370 for race-free implementations.)
371 * tests/tools.at (autoconf: subdirectories): Adjust to above
372 changes, since MKDIR_P now might end in "/mkdir -p".
374 * doc/autoconf.texi (autoheader Invocation): Mention that the
375 first arg of AC_DEFINE_UNQUOTED must be a literal.
376 Problem reported by Ben Pfaff in
377 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
379 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
380 * doc/autoconf.texi (Special Chars in Variables): New section.
381 (Preset Output Variables): Warn about special chars in CPPFLAGS.
382 (Installation Directory Variables): Quote $(datadir) better.
383 (Limitations of Builtins): Describe some of eval's trickiness.
385 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
386 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
387 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
388 in front of every arg, not just trailing args. Quote apostrophes.
389 (_AC_EVAL_ECHO): New macro.
390 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
391 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
393 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
394 exposed by quoting of eval argument. Put the command on line line
396 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
397 (_AC_PATH_X, AC_PATH_X): Quote more safely.
398 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
399 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
400 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
401 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
402 Use eval more safely.
403 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
404 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
406 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
407 lines, exposed by quoting of eval argument.
409 2006-05-26 Stepan Kasal <kasal@ucw.cz>
410 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
412 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
413 initialization of `ac_cv_exeext', do not override it if it was
414 already set, unless it was set to `no', for compatibility with
415 Autoconf-2.13, and comment this.
416 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
417 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
418 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
419 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
420 Document that this test may be overridden by setting
423 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
425 Revert these two patches:
427 2006-04-06 Eric Blake <ebb9@byu.net>
428 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
429 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
432 2006-04-01 Stepan Kasal <kasal@ucw.cz>
433 Clean up _AC_COMPILER_EXEEXT* macros.
434 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
435 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
436 ac_file to the name of the default output file and call
437 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
438 initial `rm' of the candidate files...
439 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
440 the same list in subsequent `rm' calls, and for the temporary
441 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
442 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
443 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
444 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
445 no longer needed) by libtool. Make it a cache check.
446 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
447 copied here by mistake.
448 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
450 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
451 _AC_COMPILER_OBJEXT directly.
452 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
454 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
456 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
457 Fix description of how the buggy `sed' works.
459 2006-05-25 Noah Misch <noah@cs.caltech.edu>
463 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
464 ENOLCK. Only mention `make -j' when applicable. Only raise
465 fatal errors when `make -j' is involved. Improve error message.
467 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
469 * doc/autoconf.texi (Here-Documents): We now know more about
470 the variable expansion in here documents bug.
471 Thanks to Tim Rice and Stepan Kasal.
473 * doc/autoconf.texi (Making testsuite Scripts): Add an example
474 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
476 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
478 * tests/autotest.at (Multiline command from M4 expansion):
479 No failure to be expected if the shell quotes newlines in
480 commands in the `set -x' output. Report by Tim Rice.
483 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
485 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
486 expansion in the here-documents used by config.status, as that
487 runs afoul of the Korn shell version M-12/28/93d bug described in
488 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
489 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
490 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
492 2006-05-23 Jim Meyering <jim@meyering.net>
494 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
495 Fix typo introduced with 2006-04-02 change. It reversed the sense
498 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
500 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
501 ac_dB slightly, to save bytes in the script.
502 Max out at 50 lines, rather than 96; this is more likely
503 (though not guaranteed) to avoid obscure 'sed' failures.
505 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
507 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
508 `tr -d -' as bad option argument. Work around this by deleting
509 an unrelated character.
510 Report by Tim Rice <tim@multitalents.net>.
512 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
513 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
514 Stepan Kasal <kasal@ucw.cz>
516 * doc/autoconf.texi (Particular Programs): Do not promise that
517 we always prefer the GNU version of the program, and that we
518 search according to PATH; both rules can have exceptions.
519 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
520 AC_PROG_SED. Move descriptions of limitations
521 to the Limitations of Usual Tools section.
522 (Limitations of Usual Tools) <sed>: Mention script length
523 limitations with Solaris /usr/ucb/sed.
524 <grep>: Fix wording for empty alternative. Mention that -c and
525 -l should not be combined, and that -E and -F should not be
528 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
529 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
531 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
532 limits in Solaris 8 /usr/ucb/sed by testing a long script.
534 2006-05-22 Stepan Kasal <kasal@ucw.cz>
536 * doc/autoconf.texi (Defining Symbols): Literal parameter of
537 AC_DEFINE is now passed to m4_pattern_allow.
538 * NEWS: Mention that; likewise for AC_SUBST.
539 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
540 the parameter to m4_pattern_allow.
541 * tests/tools.at: Add a check for that.
543 2006-05-22 Stepan Kasal <kasal@ucw.cz>
545 * lib/autoconf/status.m4: Fix typos.
547 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
549 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
550 only the files that this macro generates.
552 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
554 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
555 the HP-UX sed limitation of 99 commands, labels do not count.
556 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
558 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
560 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
562 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
563 Import the following fix from coreutils:
565 2006-01-13 Jim Meyering <jim@meyering.net>
567 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
568 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
569 not double-quote uses of that variable, to accommodate the rare
570 case in which getmntent is available in none of the libraries
571 checked. This happens at least on FreeBSD 5.0.
573 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
575 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
576 ac_config_guess, ac_config_sub, and ac_configure, since evidently
577 some other programs unwisely rely on these undocumented vars.
578 But put in warning comments about them.
579 Problem reported by Ralf Wildenhues in
580 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
581 * NEWS: Document that these variables are intended to go away.
583 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
585 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
586 and set the language to C++ (analogous to the equivalent Fortran
589 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
590 * doc/autoconf.texi (C++ Compiler): Document it.
591 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
594 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
596 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
597 that caused config.status to generate 100-command sed scripts; the
598 portable limit is 99.
600 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
602 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
603 variable `ac_d' instead of `d' to avoid infringing namespace.
604 Report by Ralf Menzel.
606 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
608 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
609 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
610 * tests/tools.at (autoconf: subdirectories): New test, taken from
611 the corresponding problem report by Ralf Wildenhues in:
612 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
614 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
615 Quote some uses of shell variables if they might suffer unexpected
616 globbing. This doesn't fix all instances of quoting problems that
617 I found, just the easy ones that look safe.
618 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
619 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
620 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
621 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
622 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
623 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
624 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
626 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
627 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
629 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
631 * bin/autoreconf.in ($help): Reword according to the manual.
632 Suggested by Olly Betts.
634 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
635 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
637 * bin/autoreconf.in: Pass the directory argument to
638 `require_configure_ac'. Fix comment.
639 * tests/torture.at (Configuring subdirectories): Expose this.
640 Reported by Olly Betts.
642 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
644 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
645 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
648 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
649 `$configure_in' instead of `configure.in', to preserve
652 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
654 * config/config.guess, config/config.sub, config/texinfo.tex,
655 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
657 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
659 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
660 test for C99 conformance; (bool) 0.5 is an integer constant
661 expression, but (bool) -0.5 is not. Problem reported by Fedor
662 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
664 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
666 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
667 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
668 Warn about obsolete install-sh files. Remove stray sentence
669 fragment and fix cross reference.
670 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
671 install -d; this undoes the 2006-05-10 change.
672 (MKDIR_P): Mark with AN_MAKEVAR.
673 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
674 that we don't require $INSTALL to be thread-safe. Move comments
675 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
676 of AC_PROG_INSTALL. Output a message saying that we're checking
677 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
678 MKDIR_P instead of AC_SUBST.
679 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
680 Special magic for MKDIR_P, too.
681 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
683 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
685 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
687 Sync from Automake, as follows:
689 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
690 * config/install-sh: Initialize IFS, so field splitting isn't
692 * config/mkinstalldirs: Likewise.
693 * config/missing: Remove superfluous quotes. Replace all uses of
694 `[' by `test', for consistency, and for..
695 * config/missing (sed_minuso, sed_output): New variables.
696 (autom4te, help2man, makeinfo): Use them. Unifies detection of
697 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
698 Fixes `missing' to detect `--output' for help2man. Fixes
699 PR automake/483. Report by Dennis J. Linse.
700 (autom4te): Document in `missing --help'.
702 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
704 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
705 * config/install-sh: Don't use 'path' to talk about file names,
706 as per GNU coding standards. Close a race condition reported by Ralf
707 Wildenhues and Stepan Kasal. There is still a race condition
708 on hosts that predate Posix 1003.1-1992, but we can't help this.
709 Don't mishandle weird characters like space on pre-Posix hosts.
710 Invoke mkdir at most once per dir arg on pre-Posix hosts.
711 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
712 AC_PROG_MKDIR_P from AS_MKDIR_P.
713 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
714 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
715 earlier editions are not (including Automake 1.8.3).
716 Do not suggest mkinstalldirs for thread-safety.
717 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
718 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
719 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
720 presence of special characters and race conditions.
721 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
722 in Autoconf's name space.
724 2006-05-10 Bruno Haible <bruno@clisp.org>
725 and Paul Eggert <eggert@cs.ucla.edu>
727 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
728 from Automake with minor changes.
729 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
731 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
733 * config/install-sh: Update to Automake CVS version, as follows:
734 2006-04-25 Stepan Kasal <kasal@ucw.cz>
735 * lib/install-sh: Simplify the expr implementation of dirname.
736 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
737 * lib/install-sh: Handle --, and diagnose unknown options.
739 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
741 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
742 `./autom4te' to create `./testsuite', since the `all' target
743 will ensure its presence, but `installcheck' should not create
744 the uninstalled wrappers.
746 * tests/torture.at (Unusual Automake input files): Skip if we
747 detect automake < 1.8.
749 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
751 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
752 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
753 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
756 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
758 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
759 munge (multiple) white space and other oddities.
760 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
761 single quotes in variable assignment.
762 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
763 and similar failures by adding multiple spaces, tabs, and other
765 Report and different test suggested by Francesco Romani
766 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
768 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
769 single quotes, we only need to search for single quotes; this
770 both simplifies the search pattern, and makes us less
771 susceptible to `echo' variations for arguments not containing
773 (_AC_ARG_VAR_VALIDATE): Likewise.
775 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
777 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
778 `$*' and IFS concatenation issue with traditional shells and
779 bash-2.04. Report by Seanster@Seanster.com.
781 2006-05-03 Bruno Haible <bruno@clisp.org>
783 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
784 precisely which Mac OS X versions have the od problem.
786 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
788 * doc/autoconf.texi: Use @option systematically.
791 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
792 and Bruno Haible <bruno@clisp.org>
794 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
796 (Integer Overflow): Mention the special case of integer division
799 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
801 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
802 traditional shells like the Solaris one that do not use the
803 first IFS character for assembling `$*'.
804 Prompted by a related report from autoconf_bug@nro.ca.
806 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
807 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
809 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
810 Mention more problems with the -e option.
812 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
815 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
817 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
818 in URLs to improve DVI formatted output (requires texinfo 4.6).
819 (System Services, Systemology, Shellology): Likewise.
820 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
823 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
825 (Runtime): Fix macro argument names to match description:
826 `action-if-found' -> `action-if-true' and similarly.
827 (Obsolete Macros): Likewise.
828 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
829 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
830 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
832 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
834 * doc/autoconf.texi (Limitations of Make): Clean up markup.
837 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
840 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
842 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
843 /bin/sh set unsorted output.
844 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
845 * tests/local.at: Likewise.
847 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
849 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
850 (Integer Overflow, Null Pointers, Buffer Overruns):
851 (Floating Point Portability, Exiting Portably): New sections.
852 (Writing Test Programs): Fix some langauge. Recommend exiting
853 with status 1, not merely nonzero. Clarify exit declaration.
854 (Run Time): Move C exit status stuff to new Exiting Portably section.
855 (Systemology): Mention Posix and levenez. Update v7 reference.
856 (Portable Shell): Mention the Posix shell.
858 2006-04-25 Stepan Kasal <kasal@ucw.cz>
860 * bin/autoconf.as (me): Replace by as_me.
862 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
864 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
865 since as_me isn't set yet.
867 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
869 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
870 a few minor bugs in this area.
872 * doc/autoconf.texi (Programming in M4sh): Comment out the
873 documentation of AS_BASENAME, for now.
874 (Shell Substitutions): Do not use AS_DIRNAME in an example.
875 (Limitations of Builtins) <basename>: Do not refer to
877 * bin/autoconf.as (me): Don't use AS_BASENAME.
878 (dir): Remove the unused variable.
879 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
880 AS_DETECT_REQUIRED. All uses changed.
881 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
883 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
884 (AS_BASENAME): Use "basename --" to protect against leading "-".
885 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
886 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
887 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
888 (_AS_DIRNAME_PREPARE): Likewise.
889 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
890 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
891 (AS_DIRNAME): Use "dirname --".
893 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
895 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
896 of "run time" and "run-time" changed to "runtime", for consistency.
897 * lib/autoconf/fortran.m4: Likewise (in comment).
898 * lib/autoconf/functions.m4: Likewise.
899 * lib/autoconf/general.m4: Likewise.
900 * lib/autoconf/headers.m4: Likewise.
902 * doc/autoconf.texi (Run Time): Document the exit status situation
903 with more accuracy and detail.
905 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
907 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
908 Archive is not officially `GNU' any more. Update URL.
909 (Defining Directories): Likewise
910 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
912 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
914 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
915 newline from the `trap' code to finish `config.log'; the NetBSD
916 /bin/sh resets the exit status after an empty command, as
917 documented in doc/autoconf.texi.
918 Reported by Dalibor Topic <robilad@kaffe.org>.
920 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
922 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
923 Suggested by Bruno Haible.
925 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
927 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
928 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
929 Instead, just list the shells that we know work.
930 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
931 changed. Be more cautious about the _cv_ variable.
932 * tests/tools.at (Syntax of the shell scripts): Check the
933 _cv_ variable once, at first, to avoid an internal autoconf error
934 when sh -n does not work.
936 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
938 * lib/Autom4te/FileUtils.pm: Sync from Automake.
940 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
942 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
943 use ">&-" since we're only 99.999% sure that this is portable,
944 and since the MinGW bug is fixed in a different way.
945 * lib/autotest/general.m4 (AT_INIT): Likewise.
947 2006-04-16 Stepan Kasal <kasal@ucw.cz>
949 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
950 before opening config.log, to avoid hitting a bug on MinGW.
952 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
954 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
955 AS_MESSAGE_LOG_FD before reopening it onto the log file.
956 This works around a MinGW bug reported by Eric Paire.
957 Make sure that all writes to the log file append to it,
958 rather than possibly losing data.
959 * lib/autotest/general.m4 (AT_INIT): Likewise.
961 2006-04-14 Stepan Kasal <kasal@ucw.cz>
963 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
966 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
970 * configure.ac (AC_INIT): Bump to 2.59d.
972 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
976 * Makefile.maint (news-date-check): Do not require a leading `*'
977 before the release date in NEWS.
979 2006-04-12 Stepan Kasal <kasal@ucw.cz>
980 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
982 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
983 the instantiated file do not contain the string 'datarootdir'
984 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
985 @mandir@, replace the reference '${datarootdir}' by the value.
986 * tests/torture.at (datarootdir workaround): New test.
987 * NEWS: Advertise this temporary fixup.
988 Based on a patch by Bruno Haible, reported and analyzed by
989 Paul Eggert and Noah Misch.
991 2006-04-12 Eric Blake <ebb9@byu.net>
993 * tests/autotest.at (Debugging a failed test): Fix comment.
995 2006-04-12 Stepan Kasal <kasal@ucw.cz>
997 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
998 all the changes since 2006-04-07.
1000 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1002 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
1003 succeeded, but `ln -s file dir' failed, take care to remove the
1004 leftover target before the next test, to prevent its spurious
1005 failure; also make sure `ln file dir' works before selecting it.
1006 Thanks to Keith Marshall for pointing this out.
1009 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
1010 assignments in `at_debug_args', so that we put them correctly
1011 in the `run' script.
1012 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
1013 Reported by Eric Blake.
1015 2006-04-11 Eric Blake <ebb9@byu.net>
1017 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
1018 top-level tests after micro-suite has been run. Used in...
1019 (Debugging a successful test, Debugging script and environment),
1020 (Debugging a failed test): ...these new tests. The first of these
1022 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
1023 macro, split out from...
1024 (AT_INIT): ...here, so that using -d also generates a run script.
1025 Document that -d inhibits top-level logging.
1026 * doc/autoconf.texi (testsuite Invocation): Document that -d only
1027 inhibits top-level logging; debug scripts are created.
1029 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
1031 * tests/autotest.at (Empty test, Empty check): New test to check it.
1033 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
1036 2006-04-10 Stepan Kasal <kasal@ucw.cz>
1038 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
1039 the files if a problem appears. Make the empty *.at files
1040 read-only, too. Proposed by Ralf Wildenhues.
1042 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1044 * config/Makefile.am: Add comment to force updated Makefile.in.
1046 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
1047 space only patch to this file, this patch causes the Makefile.in
1048 files that include freeze.mk to be updated, and thus have a
1049 newer time stamp again, which in turn makes a pristine CVS
1050 checkout have correct time stamps.
1052 * Makefile.maint (cvs-sv): New macro, to be used..
1053 (config.guess-url_prefix, config.sub-url_prefix)
1054 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
1055 point to CVS text checkout of Gnulib files.
1056 (copyright-check): Bump current year.
1057 (announcement): Do not hard-wire `./announce-gen'.
1058 (cvs-update): Propagate failures of `cvs' and `move-if-change'
1060 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
1062 (wget_files): Update config.guess, config.sub, texinfo.tex by
1063 `wget-update', now that their URLs work again.
1065 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
1067 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
1068 Problem noted by Paul D. Smith.
1070 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1072 * doc/autoconf.texi: Remove unused words from word list.
1073 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
1074 .x-sc_trailing_space: New files.
1076 * doc/standards.texi: Sync from gnulib.
1078 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
1079 `LIBOBJDIR' as experimental.
1081 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
1082 with a target directory; it's internally implemented as `cp'
1083 anyway, but since Autoconf advertises the possibility to use
1084 a target directory when LN_S is `ln -s', we need to find out.
1085 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
1086 analyzed by Keith Marshall <keith.marshall@total.com>.
1090 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
1092 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
1093 confdefs.h as-is. In general, if it has backslash-newline or the
1094 like, then it doesn't work either to sort or to remove empty
1097 2006-04-09 Stepan Kasal <kasal@ucw.cz>
1099 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
1101 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
1103 * lib/autom4te.in (Automake-preselections): Preselect
1106 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
1108 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
1109 apostrophe within a single-quoted string, as this is the usual
1110 tradition and is easier to read than '"'"'. Don't rely on the
1111 shell treating "$/" like '$/'. Use a more-consistent indenting
1114 2006-04-09 Eric Blake <ebb9@byu.net>
1116 * tests/autotest.at (Backquote command substitution),
1117 (Multiline backquote command substitution): Remove mistaken
1118 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
1120 (Parenthetical command substitution, Multiline parenthetical
1121 command substitution): here.
1123 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
1125 Import macros from gnulib (often changing their name).
1127 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
1128 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
1129 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
1130 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
1131 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
1132 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1133 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
1134 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
1135 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
1136 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
1137 The manual mentions Gnulib more prominently.
1138 * doc/autoconf.texi (Gnulib): New node.
1139 (Pointers): Add Gnulib URL.
1140 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
1141 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
1143 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
1144 suggest a #define rather than a typedef for _Bool, and mention
1145 Gnulib rather than trying to substitute stdbool code.
1146 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
1147 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
1148 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
1149 AC_STRUCT_DIRENT_D_TYPE.
1150 (Particular Types): Mention stdint.h and inttypes.h as standard
1152 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1153 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
1154 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
1155 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
1156 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
1157 (C Compiler): Move AC_C_LONG_DOUBLE to ...
1158 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
1159 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
1160 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
1161 (Coding Style). Don't mention m4_expand_once.
1162 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
1163 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
1164 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
1165 (AC_CHECK_FUNCS): Use it.
1166 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
1167 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
1168 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
1169 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
1170 (AC_HEADER_ASSERT): New macro.
1171 (AC_HEADER_STDBOOL): Don't assume "#error" works.
1172 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
1173 Catch a bug in an HP-UX C compiler.
1174 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
1175 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
1176 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
1177 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
1178 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
1179 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
1182 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
1183 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
1185 2006-04-08 Stepan Kasal <kasal@ucw.cz>
1187 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
1188 of the warning introduced by the 2001-08-28 change.
1190 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
1191 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1193 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
1194 variables shall be overriden by the cache.
1195 * tests/torture.at (AC_ARG_VAR): Test also with a first value
1196 that contains braces.
1198 2006-04-07 Stepan Kasal <kasal@ucw.cz>
1200 Revert the patch from 2006-04-01 and only improve
1201 _AS_DETECT_BETTER_SHELL:
1203 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
1204 skip nonexistent directories.
1205 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
1206 only shell candidates which exist.
1207 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
1208 * lib/autotest/general.m4 (AT_INIT): No need to give three
1209 parameters to _AS_PATH_WALK.
1211 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
1212 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1214 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
1215 distinguish m4sugar macros.
1216 * tests/tools.at (autoupdating with aclocal and m4_include):
1217 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
1218 test case by Noah Misch <noah@cs.caltech.edu>.
1220 2006-04-07 Stepan Kasal <kasal@ucw.cz>
1222 Revert my change from 2006-03-17, in other words:
1223 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
1225 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
1226 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
1229 2006-04-07 Eric Blake <ebb9@byu.net>
1231 * doc/autoconf.texi (Programming in M4sh): Document that
1232 AS_MKDIR_P exits the script on failure.
1233 * lib/autotest/general.m4: Remove redundant AS_ERROR.
1235 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1237 * config/elisp-comp, config/install-sh, config/mdate-sh,
1238 config/missing, config/mkinstalldirs: Sync from Automake.
1240 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
1243 * doc/make-stds.texi: Sync from gnulib.
1245 2006-04-06 Eric Blake <ebb9@byu.net>
1247 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1248 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
1251 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
1252 Eric Blake <ebb9@byu.net>,
1253 Paul Eggert <eggert@cs.ucla.edu>,
1254 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1256 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
1257 whether `set' quotes correctly: redirect stderr of the tested
1258 `set', and use a subshell, for Ultrix; use `sed' instead of
1259 `grep' for zsh `set' which may write binary output; match only
1260 at the beginning of a line, to avoid false positives.
1261 In order to avoid false positives by unrelated variables with
1262 multiline content, put the dump algorithm in a subshell and
1263 unset all variables containing newlines (except some which are
1264 special to the shell). Warn about cache variables that are
1267 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1269 * config/config.guess, config/config.sub, config/texinfo.tex:
1272 * tests/mktests.sh: Reword comments.
1274 * tests/mktests.sh: Only skip internal macros starting with
1275 `_AC_' or `__AC_'. Noted by Stepan Kasal.
1276 Update exclusion lists for the test suite to this end:
1277 (AC_ARG_VAR): Do test this now.
1278 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
1279 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
1280 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
1281 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
1283 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
1284 shell issue with double-quoted command substitutions of native
1286 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
1289 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
1290 no file matches the glob, discard the warning, set `nullglob'.
1291 (syntax-check): Likewise.
1292 (sc_cast_of_x_alloc_return_value): Likewise.
1293 (sc_cast_of_alloca_return_value, sc_error_exit_success)
1294 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
1295 (m4-check): Likewise.
1296 (sc_system_h_headers): Do not print rule on execution.
1297 (sc_tight_scope): Do not fail for non-existing `src' directory.
1298 (sc_changelog): Skip the Copyright footer.
1299 * lib/autoconf/lang.m4: Remove trailing space.
1301 * lib/autoconf/status.m4: More replacements to
1302 <tab><space> where this makes sense.
1304 2006-04-06 Stepan Kasal <kasal@ucw.cz>
1306 * tests/Makefile.am (maintainer-check-posix):
1307 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
1309 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
1310 ac_config_<foo>s again, sometimes normalized, sometimes not.
1311 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
1312 (AC_CONFIG_COMMANDS): Do not do so here.
1313 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
1314 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
1315 2005-07-25 rewrite. Noticed by Noah Misch.
1317 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
1318 _AC_PRESERVE_HELP_ORDER, ...
1319 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
1321 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
1322 inside m4_expand_once; it is redundant.
1324 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
1325 for --help from Cygnus `configure.'
1327 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
1329 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
1330 on a patch proposed by Ralf Wildenhues.
1332 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
1334 * lib/autoconf/status.m4: Replace <space>''<tab> with
1335 <tab><space> where this makes sense.
1337 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
1338 Noah Misch <noah@cs.caltech.edu>
1340 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
1341 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
1342 * doc/autoconf.texi (Help Formatting): New node.
1343 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
1345 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1347 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
1348 lib/autoconf/specific.m4, lib/autoconf/status.m4,
1349 lib/autoconf/types.m4, lib/autotest/general.m4,
1350 tests/mktests.sh, tests/torture.at: White space cleanup:
1351 remove some SPACE before TAB, or add quoting ('' or @&t@).
1353 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
1355 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
1357 2006-04-05 Eric Blake <ebb9@byu.net>
1359 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
1360 empty test suite works.
1361 * tests/autotest.at (Empty test suite): Remove xfail.
1363 2006-04-05 Noah Misch <noah@cs.caltech.edu>
1365 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
1366 TAGS to ac_config_<foo>s.
1367 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
1368 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
1369 normalizing it, consistent it with previous releases.
1370 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
1372 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
1374 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
1375 Use simplified args that Eric Blake originally suggested.
1377 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
1379 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
1380 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
1381 Use 'comm' rather than N instances of grep; this also fixes a bug
1382 whereby substrings were incorrectly matched, causing us to not
1383 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
1384 (exclude_list): Exclude empty macros.
1385 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
1387 Use awk rather than grep -E or egrep, to avoid
1388 portability problems with regular expressions containing newlines.
1389 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
1390 Switch from grep to awk syntax.
1391 (ac_exclude_script): Renamed from ac_exclude_egrep.
1392 (au_exclude_script): Renamed from au_exclude_egrep.
1394 2006-04-04 Noah Misch <noah@cs.caltech.edu>
1396 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
1397 a subdirectory subject to Cygnus `configure'.
1398 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
1400 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
1401 report request when we have no AC_PACKAGE_BUGREPORT.
1403 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1407 * tests/mktests.sh: Update copyright year in the header of the
1410 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
1411 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
1412 typedef'ed restricted pointer, to catch a compiler bug on
1413 HP-UX 11.x, and fix warnings so it passes with -Werror.
1414 (_AC_PROG_CC_C99): Likewise.
1415 Reported by Albert Chin <china@thewrittenword.com>.
1416 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
1418 2006-04-03 Noah Misch <noah@cs.caltech.edu>
1420 * bin/autoscan.in (subdirs): New global.
1421 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
1422 (output): Emit AC_CONFIG_SUBDIRS as needed.
1423 * tests/autoscan.at (autoscan): Remove XFAIL.
1425 2006-04-03 Noah Misch <noah@cs.caltech.edu>
1427 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
1429 2006-04-03 Eric Blake <ebb9@byu.net>
1431 * THANKS: Add myself.
1433 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1435 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
1436 to log, point to testsuite output tree.
1438 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1440 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
1441 * doc/autoconf.texi (Function Portability): Mention that C++
1442 has trouble with 'exit'.
1443 (Guidelines): Test programs shouldn't use 'exit'.
1444 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
1445 Remove; all uses removed.
1446 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
1447 Return from 'main' instead of calling 'exit'.
1448 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
1449 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
1450 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
1451 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1452 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
1453 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1454 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1455 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
1456 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1457 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1458 * tests/compile.at: Likewise.
1460 2006-04-02 Pavel Roskin <proski@gnu.org>
1462 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
1464 2006-04-01 Stepan Kasal <kasal@ucw.cz>
1466 Clean up _AC_COMPILER_EXEEXT* macros.
1468 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
1469 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
1470 ac_file to the name of the default output file and call
1471 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
1472 initial `rm' of the candidate files...
1473 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
1474 the same list in subsequent `rm' calls, and for the temporary
1475 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
1476 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
1477 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
1478 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
1479 no longer needed) by libtool. Make it a cache check.
1480 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
1481 copied here by mistake.
1482 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
1483 _AC_COMPILER_EXEEXT.
1484 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
1485 _AC_COMPILER_OBJEXT directly.
1486 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1488 2006-04-01 Stepan Kasal <kasal@ucw.cz>
1490 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
1491 (AS_DIRNAME): Use it.
1492 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
1494 * tests/*.at: Remove the generated ones.
1496 2006-04-01 Stepan Kasal <kasal@ucw.cz>
1498 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
1500 2006-04-01 Eric Blake <ebb9@byu.net>
1502 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
1503 directories, unless optional third argument supplied.
1504 (AS_UNAME): Don't optimize PATH walk.
1506 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
1508 2006-04-01 Eric Blake <ebb9@byu.net>
1509 and Stepan Kasal <kasal@ucw.cz>
1511 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
1514 2006-04-01 Noah Misch <noah@cs.caltech.edu>
1516 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
1517 Autoconf version number despite a zero- or one-argument AC_INIT.
1519 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
1521 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
1522 * doc/autoconf.texi (autoreconf Invocation): Document it.
1524 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
1525 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
1527 2006-04-01 Eric Blake <ebb9@byu.net>
1529 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
1530 * lib/autotest/general.m4: Be tolerant of existing directory when
1531 rm failed to remove it.
1533 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1535 * bin/autoupdate.in: Redefine m4_location so that warnings print
1536 the correct lines of the input file by subtracting..
1537 (_au__first_line): ..this new definition.
1539 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
1540 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
1541 Remove stray newline in output.
1542 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
1543 AC_DEFUN this for autoconf, including the obsoletion diagnose.
1544 Fixes autoupdating of code where the replacement output contains
1546 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1547 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
1548 (au_exclude_list): Add AC_LANG_SAVE.
1549 * tests/tools.at: Several new tests for all of this.
1550 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
1552 The AC_LANG_SAVE issue was reported against Libtool by
1553 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
1554 Kristian Kvilekval <kris@cs.ucsb.edu>.
1556 2006-04-01 Stepan Kasal <kasal@ucw.cz>
1558 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
1559 switch all of them on and of when necessary. Fixes the bug when
1560 m4sugar macros (e.g., m4_define) were expanded after the first
1561 automatic update (e.g., after AC_PREREQ or AC_INIT).
1563 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
1565 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
1566 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
1568 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
1569 correctly. Problem reported by Eric Blake.
1570 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
1573 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
1575 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
1576 Tighten up the basename/dirname wording.
1578 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1580 * Makefile.maint (sc_texi_notab): New check: do not use TABs
1581 in texinfo files outside of verbatim environments.
1582 (syntax-check-rules): Update.
1583 * doc/autoconf.texi (Configuration Headers): Conform to it.
1585 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
1587 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
1588 aclocal cannot be given on the command line.
1590 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
1592 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
1593 Give an example for AS_DIRNAME instead of referring to Posix..
1594 (File System Conventions): Put discussion of // versus / here, and
1596 (Limitations of Usual Tools): Add basename. Remove verbiage
1597 after dirname, since it got moved to the above sections.
1598 All this was inspired by a patch proposed earlier by Eric Blake.
1600 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1602 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
1603 `$0' to protect against spaces.
1604 * lib/autotest/general.m4 (AT_INIT): Likewise.
1605 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
1608 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1610 * bin/autoscan.in: The value of find_configure_ac should be
1611 checked for existence, so we don't barf over a nonexisting
1612 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
1614 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1616 * bin/autoupdate.in: Fix some typos.
1618 2006-03-21 Stepan Kasal <kasal@ucw.cz>
1620 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
1622 * lib/autoscan/autoscan.list: Refreshed.
1624 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1626 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
1627 and Erlang related variables.
1629 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
1630 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
1631 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
1632 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
1633 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
1634 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
1635 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
1636 (_AC_PROG_OBJC_G): New macros.
1637 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
1638 * doc/autoconf.texi (Objective C Compiler): New node.
1639 (Preset Output Variables): Document OBJCFLAGS.
1640 (Language Choice): Document `Objective C' language.
1641 (Fortran Compiler): Fix typo.
1643 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
1645 2006-03-20 Stepan Kasal <kasal@ucw.cz>
1647 * doc/autoconf.texi (Default Includes): Fix typo
1648 s/AC_HEADERS_STDC/AC_HEADER_STDC/
1649 (Limitations of Usual Tools): s/unwriteable/unwritable/
1650 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
1651 Fix typos in the comments.
1653 2006-03-17 Stepan Kasal <kasal@ucw.cz>
1655 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
1656 Factor out the warning to...
1657 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
1658 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
1659 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
1661 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
1662 case `ac_delim' when writing the sed script.
1664 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
1665 moved DUALCASE=1 ...
1666 (AS_SHELL_SANITIZE): ... here.
1667 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
1670 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
1672 (_AC_PATH_PROG): Store the result to VARIABLE.
1673 (AC_PATH_PROG): No need to set VARIABLE again.
1675 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
1676 the first one is usual AT_CHECK_MACRO test, the second one checks
1677 that the same works when cross-compiling.
1678 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
1679 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
1681 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1683 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
1684 the directory `/usr/bin/posix' in the shell search, to prefer
1685 the Posix shell not only in subsequent spawns as with `$BIN_SH'
1688 * doc/autoconf.texi (contents): To fix texi2html output, hide
1689 `@setcontentsaftertitlepage' for HTML.
1690 (Writing Autoconf Macros): Likewise, insert space after `@c'.
1691 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
1694 2006-03-16 Stepan Kasal <kasal@ucw.cz>
1696 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
1698 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
1699 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
1700 why IFS is restored so late; thank you, Ralf, for reminding us.
1702 2006-03-15 Stepan Kasal <kasal@ucw.cz>
1704 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
1705 variables in the examples.
1707 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1709 * doc/autoconf.texi (several sections): Cleaned up documentation for
1710 macros in erlang.m4.
1712 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1714 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
1715 failure condition for `$(cmd)' style command substitutions.
1716 (Parenthetical command substition, Multiline parenthetical
1717 command substition): Use it.
1719 * doc/autoconf.texi (Special Shell Variables): Missing word.
1720 Reported by Keith Marshall <keith.marshall@total.com>.
1722 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
1723 IFS even in case of empty `$PATH'.
1725 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1727 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
1728 `expr' away if there is nothing to do.
1729 < --keywords >: Simplify and robustify argument handling.
1730 Revert erroneous comment from 2005-08-23. Extend to allow
1731 keyword negation with `!'.
1732 Update help message. Remove broken code to prevent running
1733 tests multiple times.
1734 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
1735 Update and fix the documentation accordingly.
1736 * tests/autotest.at (Keywords): Renamed to..
1737 (Keywords and ranges): .. this. Extended to make sure negated
1738 keywords, keywords taken from AT_SETUP arguments, and numeric
1739 test ranges work, and that matching is case-insensitive.
1741 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1743 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
1744 allow to pass unnamed structs even in C++.
1745 (AC_CHECK_SIZEOF): Likewise.
1746 Also fix quoting error in `AC_MSG_FAILURE' arguments.
1747 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
1748 struct): New tests for unnamed structs, each both native and
1751 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
1752 a structure inside a cast, for C++ conformance.
1753 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
1754 Also fix quoting error in `AC_MSG_FAILURE' arguments.
1756 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
1757 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
1758 trying to execute the command `no'.
1760 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
1761 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
1764 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
1765 example. Do not emphasize `$%', it is hardly new and special.
1766 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
1768 * doc/autoconf.texi (Limitations of Usual Tools): Document
1769 OpenBSD and traditional `grep' failure to handle multiple
1770 patterns separated by newlines.
1772 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1774 * doc/autoconf.texi (several sections): Add documentation for macros
1777 2006-03-10 Eric Blake <ebb9@byu.net>
1779 * doc/autoconf.texi (Obsolete Macros): Fix wording of
1782 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
1784 * doc/autoconf.texi: Use @acronym more consistently for acronyms
1785 like BSD, GPL, LGPL. Fix minor English typos.
1786 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
1787 Mention that these macros are becoming obsolete.
1788 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
1789 Use more modern terminology for which standard is what.
1790 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
1792 (AC_PROG_CXX): Likewise.
1793 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
1794 Remove obsolete discussion about how to port to K&R.
1795 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
1796 the obsolescent AC_HEADER_STDC.
1797 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
1800 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1802 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1803 Remove stdin redirection from /dev/null to allow pipe to work.
1805 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
1807 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1808 Require that /lib/cpp include stdio.h correctly. Solaris 10's
1809 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
1812 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1814 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
1815 HP-UX sed is 99 commands, not 100.
1816 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
1817 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
1818 newline for portability.
1819 * tests/torture.at (Torturing config.status): Also test 100
1820 AC_SUBST_FILE invocations. Fix test to actually verify the
1821 AC_CONFIG_FILES output.
1822 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
1823 command, label, and read-file `r' limits. Unify HP-UX spelling.
1825 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
1827 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
1829 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
1830 * tests/mktests.sh: Small shell portability fixes.
1832 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1834 * doc/autoconf.texi (Caching Results): Fix the examples to use a
1835 recommended quoting style and discard unwanted output.
1837 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
1839 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
1840 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
1841 cases, and to work around Tru64 expr bug.
1843 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1845 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
1846 expr bug that turns the result of a regex match into a number if
1849 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1851 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
1852 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
1853 in section `Specific Compiler Characteristics'.
1855 2006-03-04 Eric Blake <ebb9@byu.net>
1857 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
1860 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1862 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
1863 order of variable initialization, so even the Solaris 2.6 shell
1864 can create a config header correctly. Fixes lots of test suite
1867 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1869 * doc/autoconf.texi (Text processing Macros): New node to
1870 document the m4sugar macros m4_re_escape, m4_tolower,
1871 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
1873 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
1875 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
1876 XrmInitialize (0) -> XrmInitialize ().
1877 Reported by Toshio Kuratomi.
1879 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1881 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
1882 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
1883 * doc/autoconf.texi (Programming in M4sh): Adjusted.
1884 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
1885 both macros are defun'ed so that required macros are evaluated
1888 * doc/autoconf.texi (Prerequisite Macros): State more precisely
1889 where a required macro will be expanded.
1890 (Coding Style): Another reason not to use `m4_define'.
1892 2006-02-21 Eric Blake <ebb9@byu.net>
1894 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
1896 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1898 * doc/autoconf.texi (Looping constructs): New node, to
1899 document m4_for, m4_foreach, m4_foreach_w, and mention
1900 obsolete AC_FOREACH.
1901 (Obsolete Macros): Document AC_FOREACH.
1902 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
1903 (m4_for): Fix to never loop (almost) endlessly, work correctly
1904 with arithmetic expressions in arguments, a step of zero or
1905 non-integer multiple of the interval, and avoid integer
1907 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
1910 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1912 Add basic support for Erlang, both for configuring Erlang/OTP
1913 tools, and Erlang as a conf test language.
1914 * lib/autoconf/erlang.m4: New file.
1915 * lib/autoconf/autoconf.m4: Add erlang.m4.
1916 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
1917 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
1918 * NEWS: Add short description of new macros.
1919 * THANKS: Add Romain Lenglet.
1921 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1923 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
1924 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
1926 2006-02-15 Eric Blake <ebb9@byu.net>
1928 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
1931 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1933 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
1934 (_AS_CASE): Private helper macro.
1935 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
1936 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
1937 Fix syntax of AS_IF description
1938 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
1939 for the AC_REQUIRE mess.
1940 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
1943 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
1945 * doc/autoconf.texi: Minor style cleanup.
1946 Be consistent about spaces after commas.
1947 Insert [] where empty args look a bit funny.
1948 Fix some "i.e." and "e.g." usages.
1949 Try to avoid "X/Y" usages.
1950 Don't be pedantic about "ISO C99"; just say C99.
1951 Prefer GNU style for spaces in front of parens.
1952 (Function Portability): Comment about C89 versus C99
1953 signed integer division.
1954 (Particular Headers): Use current gnulib style for dirent
1957 2006-02-14 Stepan Kasal <kasal@ucw.cz>
1958 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1960 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
1961 macros without parameters.
1962 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
1963 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
1964 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
1966 (autoupdate): Updated to match AU_ALIAS fix.
1968 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1969 and Paul Eggert <eggert@cs.ucla.edu>
1971 * doc/autoconf.texi (Programming in M4sh): Document
1972 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
1974 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1976 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
1977 (AS_BOURNE_COMPATIBLE): ..this.
1978 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
1980 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
1982 * doc/install.texi (Defining Variables): Tighten up the
1983 CONFIG_SHELL wording.
1985 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
1986 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1988 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
1989 of (set -o) rather than testing whether (set -o posix) succeeds,
1990 to work around a bug in the AIX 5.3 shell. Problem originally
1991 reportd by Howard Chu for libtool.
1993 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
1995 * doc/autoconf.texi (Running the Compiler, Running the Linker):
1996 Changes the macro arguments in summaries to match the
1999 2006-02-04 Stepan Kasal <kasal@ucw.cz>
2001 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
2002 hint as ``a workaround for a bug.''
2004 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2006 * bin/autoreconf.in: New option `--no-recursive'.
2007 Improve wording for subpackages a bit.
2008 * doc/autoconf.texi (autoreconf Invocation): Updated.
2011 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
2012 in environment of `configure', not the command line.
2013 Reported by Howard Chu <hyc@highlandsun.com>.
2015 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
2017 * doc/autoconf.texi (Limitations of Builtins): Document the
2018 problem with "trap -".
2020 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
2022 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
2023 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
2024 messages to differentiate Fortran and Fortran 77 tests.
2025 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
2026 AC_LANG_ASSERT, to allow use in mixed-language projects.
2028 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
2030 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
2031 FOO" to "defined (FOO)".
2032 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
2033 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
2034 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
2035 * tests/tools.at (ifnames): Likewise.
2037 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2039 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
2040 * lib/Autom4te/General.pm (mktmpdir): Likewise.
2041 (END): Improve error message a bit.
2042 Reported by Bruce Korb <bkorb@gnu.org>.
2044 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2046 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2047 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
2049 2006-01-11 Stepan Kasal <kasal@ucw.cz>
2051 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
2052 requires sys/stream.h. Reported by Oliver Kiddle.
2054 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2055 Stepan Kasal <kasal@ucw.cz>
2057 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
2058 before the removals of test dirs, use `find' to avoid modification
2059 of symlinked directories.
2061 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
2063 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
2064 Don't ignore the macro arguments.
2066 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
2068 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
2069 declaration that works for MSVC.
2071 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2073 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
2074 Add `*.map' and `.inf' for Green Hills compiler.
2075 Reported by Stefan Seefeld <stefan@codesourcery.com>.
2077 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
2078 correctly: pad with spaces after FIRST_PREFIX if necessary,
2079 and compute string lenghts with `m4_qlen' instead of `m4_len'.
2080 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
2081 * tests/m4sh.at (AS_HELP_STRING): Test extended.
2083 Reported by numerous people, numerous times.
2085 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
2087 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
2088 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
2089 * lib/autoconf/general.m4, lib/autoconf/status.m4:
2090 * lib/autotest/general.m4, tests/local.at:
2091 Update copyright year to 2006.
2093 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
2095 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
2096 for file names, again. Reported by Noah Misch.
2097 (Coding Style): Explain that s|a|b| is preferred for file names.
2098 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
2099 (AC_OUTPUT_MAKE_DEFS): Likewise.
2100 * lib/autotest/general.m4 (AT_INIT): Likewise.
2101 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
2102 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
2104 Fix Posix-conformance bugs re use of { command in sed scripts,
2105 and improve the sed-related documentation a bit.
2106 * doc/autoconf.texi (Installation Directory Variables): Use
2107 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
2108 rather than "sed" when talking about Sed in general.
2109 (Particular Programs): Likewise.
2110 (Coding Style): y is like s with respect to / and ,.
2111 (Limitations of Usual Tools): Document the weird restrictions
2112 that Posix has about { }. Use better quoting.
2113 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
2114 Rewrite to conform to Posix rules about { } in sed scripts.
2115 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
2116 * tests/foreign.at (Libtool): Likewise.
2117 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
2118 Use our own style advice re 's,a,b,' versus 's|a|b|'.
2120 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2122 * lib/autoconf/status.m4: Fix typo.
2124 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2125 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
2126 `-def', for the benefit of Portland `pgf90 -Mipa'.
2127 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
2129 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
2131 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
2132 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
2133 shell from zsh to bash.
2135 2005-12-31 Stepan Kasal <kasal@ucw.cz>
2137 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
2138 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
2140 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
2142 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
2143 parentheses in $(...). Problem reported by Eric Blake.
2145 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
2147 * doc/autoconf.texi (Limitations of Usual Tools):
2148 Mention which characters can be escaped with \ in portable regular
2149 expressions used in grep, sed, expr. Mention the leading ^ problem
2150 with expr. Clean up some confusing wording. Mention which
2151 grep options are portable.
2153 2005-12-09 Stepan Kasal <kasal@ucw.cz>
2155 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
2157 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
2159 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
2160 patch, noted by Ralf Wildenhues.
2162 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2164 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
2165 posix' unconditionally, for pdksh in `native sh' emulation.
2167 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
2169 * doc/autoconf.texi (Shellology): Document eval $? problem
2171 (Limitations of Builtins): Likewise.
2173 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2175 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
2176 CONFIG_SHELL in the environment of the configure rerun.
2177 * doc/autoconf.texi (Here-Documents, config.status Invocation):
2178 Suggest passing CONFIG_SHELL absolute, and in the environment
2179 rather than as option.
2181 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2183 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
2184 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
2185 Fix macro quoting. Fix output for n * 98 substituted variables.
2187 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2189 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
2190 `tmp' to avoid file removal race.
2192 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2194 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2195 ac_clean_files and LIBOBJS.
2197 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2199 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
2200 Factor functionality to..
2201 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
2202 `AC_SUBST($1)' in the public version.
2203 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
2204 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
2207 2005-11-01 Stepan Kasal <kasal@ucw.cz>
2209 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
2212 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2214 * NEWS: Move AH_HEADER mention to right place.
2216 2005-10-27 Stepan Kasal <kasal@ucw.cz>
2218 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
2219 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2221 2005-10-25 Stepan Kasal <kasal@ucw.cz>
2223 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
2224 conftst2.$ac_objext.
2225 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2227 2005-10-24 Stepan Kasal <kasal@ucw.cz>
2229 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
2230 conftest.o, to see whether the compiler really obeys; rm the object
2231 file before and after the test and register it with ac_clean_files.
2232 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2234 2005-10-21 Stepan Kasal <kasal@ucw.cz>
2236 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
2237 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
2238 code so that the most common case requires less forks.
2240 2005-10-20 Stepan Kasal <kasal@ucw.cz>
2242 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
2243 not portable; thanks to Paul Eggert and Alexandre.
2245 * NEWS: Fix an old typo.
2247 2005-10-20 Jim Meyering <jim@meyering.net>
2249 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
2250 the latter'', in two places.
2252 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
2254 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
2255 AC_LANG_PROGRAM, fixing a typo. Don't give details about
2256 the inner workings of AC_LANG_FUNC_LINK_TRY.
2257 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
2258 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
2259 by the function rather than ignoring it.
2260 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
2261 comparing its address. Intel's interprocedural optimization was
2262 outsmarting the old heuristic. Problem reported by
2265 2005-10-19 Stepan Kasal <kasal@ucw.cz>
2267 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
2269 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
2271 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
2272 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
2274 2005-10-04 Stepan Kasal <kasal@ucw.cz>
2276 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
2277 before removing it (chmod -R u+rwx); there are three instances of this.
2279 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2280 Stepan Kasal <kasal@ucw.cz>
2282 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
2283 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
2284 make its content writable before removing it. Remove an errorneous
2285 comment from the end, where the logs of the failed tests are copied
2286 to the main log file.
2288 2005-09-27 Stepan Kasal <kasal@ucw.cz>
2290 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
2291 in case the computer is too quick. Double quote the configure.ac
2294 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
2295 problems if the testsuite were running too fast.
2297 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
2299 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2300 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2301 (which belong to Xt, not X itself). See Debian bug 327655.
2302 * NEWS: Mention this.
2304 2005-09-07 Stepan Kasal <kasal@ucw.cz>
2306 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
2308 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
2310 * config/move-if-change: Don't output "$2 is unchanged";
2311 suggested by Ben Elliston. Handle weird characters correctly.
2313 2005-09-06 Stepan Kasal <kasal@ucw.cz>
2315 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
2316 calls, so that the final expansion of this macro is shorter.
2317 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
2318 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
2319 the cleanup there. Use AS_VAR_* macros, to be more general.
2320 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
2322 * lib/autoconf/general.m4: Use AS_IF where appropriate.
2324 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
2326 2005-09-01 Stepan Kasal <kasal@ucw.cz>
2328 * doc/autoconf.texi (Configuration Headers): Add an index entry
2331 2005-08-26 Pavel Roskin <proski@gnu.org>
2333 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
2334 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
2337 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
2339 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2340 The previous patch didn't work, so try a better one.
2342 2005-08-26 Stepan Kasal <kasal@ucw.cz>
2344 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
2345 in the example. Reported by Bruno Haible.
2346 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
2347 "if $undefined_var;" succeeds with my shell.
2349 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
2350 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
2351 but change the m4_divert_text to m4_divert_once.
2353 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
2355 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2356 Work around bug in Solaris /usr/xpg4/bin/awk.
2357 The bug is present in at least Solaris 8 through 10.
2359 2005-08-24 Stepan Kasal <kasal@ucw.cz>
2361 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
2362 some evil values and relying on the fact that $* concatenates the
2363 parameters by the first character from IFS.
2365 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
2366 Stepan Kasal <kasal@ucw.cz>
2368 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
2369 first header appears, define AH_HEADER.
2370 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
2371 Update limitations about when to call AC_CONFIG_HEADERS.
2372 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
2373 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
2374 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
2375 ``Configuration Actions''; fix their index entries.
2377 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
2378 options correctly. Process N-M as M-N if M is smaller than N.
2379 Process ranges correctly so that N-N will run only N.
2380 Sort and uniquify the tests that will be run. If there is more
2381 than one test, reinsert the banners for the tests.
2382 * tests/autotest.at (Keywords): Unmark XFAIL.
2384 2005-08-23 Stepan Kasal <kasal@ucw.cz>
2386 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
2387 before passing the macro name to AH_TEMPLATE.
2389 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
2390 now opens log after option processing; in particular, --version
2391 and --help do not touch config.log.
2393 * Makefile.maint: Revert the change from 2005-08-12.
2395 2005-08-22 Stepan Kasal <kasal@ucw.cz>
2397 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
2399 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
2401 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2403 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
2404 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
2407 * doc/autoconf.texi (Defining Symbols, Changed Results):
2408 Prepend to LIBS, not append, in examples.
2410 2005-08-16 Stepan Kasal <kasal@ucw.cz>
2412 When building in place, set srcdir="."; suggested by Tim Van Holder.
2414 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
2415 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
2416 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
2417 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
2418 does not mean "no --srcdir option".
2420 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2422 * tests/autoscan.at (autoscan): New file.
2423 * tests/suite.at: Use it.
2424 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
2425 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
2427 * tests/autotest.at (Keywords): Test keywords combinations.
2429 2005-08-12 Stepan Kasal <kasal@ucw.cz>
2431 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
2432 add "2>&1"; gzip 1.2.4 prints help on stderr.
2434 2005-07-27 Stepan Kasal <kasal@ucw.cz>
2436 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
2437 was pushdef'ed twice while popped only once. Push it only once.
2438 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
2440 2005-07-26 Stepan Kasal <kasal@ucw.cz>
2442 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
2443 prefixed by mere "===", not "configure: === ".
2445 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
2447 * Makefile.maint: Update from Bison.
2449 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
2450 "<tab>" in comment, so that the point is understandable.
2452 2005-07-25 Stepan Kasal <kasal@ucw.cz>
2454 Rewrite substantial part of lib/autoconf/status.m4.
2455 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
2456 and CONFIG_COMMANDS are not processed in four separate loops.
2457 Instead, there is one main loop. This alows that the common code
2458 is expanded only once, thus config.status (and configure) is smaller.
2460 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
2461 the AC_LIST_FILES and cousins macros are no longer used.
2463 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
2464 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
2465 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
2466 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
2467 contain the initialization, nor the for loop, nor the associated
2468 commands; all these go to ...
2469 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
2470 _AC_OUTPUT_CONFIG_STATUS.
2471 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
2472 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
2473 (_AC_OUTPUT_FILE): The creation of the sed script ...
2474 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
2475 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
2476 _AC_OUTPUT_MAIN_LOOP.
2477 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
2478 _AC_CONFIG_COMMANDS): Use ...
2479 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
2480 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
2481 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
2482 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
2483 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
2484 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
2486 (_AC_CONFIG_UNIQUE): Update.
2487 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
2488 Replaced by this ...
2489 (_AC_LIST_TAGS): ... new common macro.
2490 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
2491 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
2492 (_AC_LIST_TAG_COMMANDS): ... new common macro.
2493 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
2494 this didn't belong to the `config commands' section.
2495 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
2496 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
2497 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
2498 to the `config commands' section either.
2499 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
2500 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
2502 ... and many changes to the comments nearby.
2504 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
2505 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
2506 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
2507 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
2508 (#define header templates): The comment at the top of the generated
2509 header now includes the name(s) of the source file(s).
2511 Several unrelated small changes:
2513 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
2514 parameter to AC_DIAGNOSE.
2515 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
2516 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
2517 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
2518 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
2520 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
2521 in AC_OUTPUT doesn't double-quote it either.
2522 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
2525 2005-07-10 Stepan Kasal <kasal@ucw.cz>
2527 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
2528 versions of Portland Group compiler produce single- and double-quoted
2529 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
2530 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
2532 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
2534 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
2535 This is a corrected version of yesterday's patch.
2537 2005-07-07 Stepan Kasal <kasal@ucw.cz>
2539 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
2540 path, too; insert a "===" to emphasize the line.
2542 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
2543 ac_cv_build_alias to ac_build_alias.
2544 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
2546 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
2547 change eliminates it. Problem reported by Alexandre Duret-Lutz.
2548 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
2549 (AC_ARG_VAR): ... here.
2550 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
2553 Keep a list of all precious variables and process them with one simple
2554 for loop, instead of expanding all commands, or, OTOH, complicated
2555 processing of output of "set".
2556 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
2557 variable names in new macro...
2558 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
2559 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
2560 a loop to assign all ac_env_* and ac_cv_env_* variables.
2561 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
2563 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
2564 its value to shell variable ac_precious_vars and call
2565 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
2566 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
2567 _AC_ARG_VAR_VALIDATE.
2569 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
2570 and the AC_SUBSTs ...
2571 (AC_INIT): ... here.
2573 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
2574 the ac_subst_files section in config.log.
2576 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
2578 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
2580 * NEWS: New macro AC_C_TYPEOF.
2581 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
2582 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
2583 * tests/c.at (C keywords): Test AC_C_TYPEOF.
2585 Fix problems reported by Nicolas Joly.
2586 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
2587 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
2588 They are generated by the Tru64 v5.1B shell.
2590 2005-07-05 Stepan Kasal <kasal@ucw.cz>
2592 Fix my changes from 2005-07-01; reported by Noah Misch.
2593 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
2594 description, the macro now accepts only a single tag.
2595 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
2597 Fix cases when the varsions of Autoconf and Autotest don't match.
2598 Reported by Noah Misch.
2599 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
2600 at_top_builddir, for compatibility with older autotest.
2601 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
2602 is not set, use at_top_builddir, for compatibility with older
2603 versions of autoconf.
2605 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
2607 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
2608 Problem reported by Patrick Welche.
2610 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
2612 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
2613 sed substitution command, so that we allow | in program prefixes
2614 and program suffixes. (& is a problem anyway; we're not fixing
2616 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
2617 configure_input, top_builddir, srcdir, etc.
2618 * lib/autotest/general.m4 (AT_INIT): Likewise, for
2619 PATH_SEPARATOR in AUTOTEST_PATH.
2621 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
2623 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
2624 for loop over config.site files using `set', to allow
2625 directory names containing IFS characters.
2627 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
2629 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
2630 directories with weird names. Apparently some people like living
2631 on the edge. However, improve the test that "pwd" actually does
2632 report a name for the working directory.
2633 * NEWS: Remove the claim that we test for funny chars in dir names.
2635 2005-07-01 Stepan Kasal <kasal@ucw.cz>
2637 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
2639 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
2640 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
2641 Now accept a single tag, not whitespace separated list.
2642 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
2644 2005-06-30 Stepan Kasal <kasal@ucw.cz>
2646 * doc/autoconf.texi (Configuration Headers): Change the explanation
2647 about #include <config.h>.
2648 (Generic Functions): Mention the Gnulib project.
2649 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
2651 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
2652 document to output the default config_* lists to config.status.
2653 Don't recognize option --file, if the functionality is not there.
2654 Likewise for --header; moreover, recognize --he and --h as shortcuts
2655 for --help in that case.
2657 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
2658 matches the order of execution. No code changed.
2660 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2662 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
2663 single-quoted -cmdline argument in Portland Group compiler.
2664 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
2666 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
2668 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
2670 2005-06-29 Stepan Kasal <kasal@ucw.cz>
2672 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
2673 descriptors to child processes; reported by Norman Gray.
2675 2005-06-29 Stepan Kasal <kasal@ucw.cz>
2677 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
2679 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
2680 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
2681 (AC_SUBST): Call it.
2682 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
2683 the directory specific variables; but don't call it for configure_input.
2685 2005-06-28 Derek Price <derek@ximbiot.com>
2687 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
2690 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
2692 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
2693 directory have inherent problems with special characters like spaces,
2694 due to limitations in Make syntax. Problem reported by Alexandre
2696 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
2697 Also, fix Tru64 porting problem with shell patterns,
2698 reported by Ralf Wildenhues.
2700 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2702 * doc/autoconf.texi (Subdirectories): Fix markup typos.
2704 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
2706 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
2708 Fix some more shell quoting problems. Prompted by a bug report
2709 from Justace Clutter.
2710 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
2711 variable into diagnostic. Make the diagnostic an error, not a warning,
2712 because we really don't support spaces and suchlike in dir names.
2713 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
2714 Don't worry about backslashes in srcdir; it can't happen now.
2715 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
2716 Simplify ac_optarg handling.
2717 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
2719 2005-06-22 Stepan Kasal <kasal@ucw.cz>
2721 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
2722 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
2723 * tests/atlocal.in: Propagate $EGREP and $SED.
2724 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
2725 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
2727 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
2728 that '\|' is not allowed in BREs; recommend using newline separated
2729 list of patterns instead of multiple -e options.
2731 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
2733 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
2735 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2737 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
2739 2005-06-21 Stepan Kasal <kasal@ucw.cz>
2741 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
2742 b, t, r, w commands require single space, while : cannot have any.
2743 (Special Shell Variables): Fix sed code this in the example.
2744 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
2745 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
2747 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
2748 expand to the empty list. Don't use two pairs of m4_changequote,
2751 2005-06-20 Derek Price <derek@ximbiot.com>
2753 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
2755 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
2757 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
2758 * doc/autoconf.texi:
2759 Don't mention Solaris versions so much, if a
2760 problem is common to all extant versions of Solaris. Say "SunOS
2761 4" instead of "SunOS" for SunOS 4.
2762 (awk): Mention more of the limitations of traditional Awk.
2763 (cat): Don't talk about cat -v.
2765 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
2767 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
2768 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
2769 but the implementation is entirely different and is designed
2770 to be compatible with glibc strverscmp.
2771 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
2773 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
2774 on Mac OS X 10.4 reported by Peter O'Gorman in:
2775 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
2776 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
2777 Use shell builtins rather than 'expr', to work around expr bug.
2779 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
2781 * doc/autoconf.texi: "filesystem" -> "file system".
2782 "behaviour" -> "behavior".
2783 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
2784 * lib/autoconf/general.m4: Omit blank after ":" sed command,
2786 * lib/m4sugar/m4sh.m4: Likewise.
2787 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
2788 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
2790 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
2791 (.x.1): Ignore the time stamp in the .TH line when deciding whether
2792 to update the man page. That way, we don't have to check in new
2793 man pages every month.
2795 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
2796 quotes and backslashes. Patch from Derek Price.
2798 2005-06-10 Derek Price <derek@ximbiot.com>
2800 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
2803 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
2805 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
2806 -u, since it outputs chatter if the input files are the same.
2807 Problem reported by Ralf Menzel.
2809 2005-06-08 Derek Price <derek@ximbiot.com>
2811 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
2812 renaming them since they are about to be redefined anyhow.
2814 2005-06-08 Derek Price <derek@ximbiot.com>
2816 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
2817 redefined M4 macros to this node. Document m4_include & m4_sinclude.
2818 Move m4_undefine to alphabetical order.
2820 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
2822 * README: Recommend GNU M4 1.4.3 or later.
2823 * doc/autoconf.texi (Introduction): Likewise.
2824 Reword to avoid some formatting glitches.
2825 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
2826 Clarify explanation of HP compiler bug.
2827 Redo example output tp match current CVS snapshot.
2828 Use @example.org in email addresses when the examples
2829 might get inadvertently cut-and-pasted into user code.
2830 Remove example of autom4te usage that doesn't seem to work now.
2831 Use modern AC_INIT (except when the example is meant to be
2832 shown with Autoconf 2.13).
2833 Update ksh info for Solaris 9 and later.
2835 Modernize description of Automake versions a bit.
2836 Don't claim a future version of Autoconf is near.
2837 * doc/install.texi: Reword to avoid some formatting glitches.
2839 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2841 * doc/autoconf.texi: Add [] to examples, so that the manual
2842 follows its own advice about quoting better.
2843 Reword to avoid some formatting glitches.
2844 * doc/installt.exi: Reword to avoid some formatting glitches.
2846 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
2847 Tru64 ksh pattern matching bug. Reported against Libtool by
2848 Albert Chin <libtool@mlists.thewrittenword.com> and
2849 Nicolas Joly <njoly@pasteur.fr>.
2851 2005-06-06 Stepan Kasal <kasal@ucw.cz>
2853 m4_cdr of one-member list was [[]] (one-member list containing an
2854 empty string) instead of [] (an empty list. Callers were skewed to
2855 match this misbehaviour. As a consequence of this:
2856 - m4_foreach([x], [], [foo]) expanded to `foo', while
2857 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
2858 This bug has been fixed:
2860 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
2861 expand to an empty string; print error msg if called without
2863 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
2864 misbehaviour; handle [] and [[]] correctly.
2866 2005-06-06 Stepan Kasal <kasal@ucw.cz>
2868 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
2869 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
2870 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
2872 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
2874 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
2875 swallow records with more than 99 fields.
2876 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
2877 parse the long line.
2879 2005-06-04 Stepan Kasal <kasal@ucw.cz>
2881 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
2882 swallow literals longer than 399. Reported by Ralf Wildenhues.
2883 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
2884 to workaround this limitation.
2886 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
2888 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
2889 to gfortran, and make these the first two compiler names
2890 checked (following the general autoconf preference for gcc).
2892 2005-06-03 Stepan Kasal <kasal@ucw.cz>
2894 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
2895 (DISTCLEANFILES): Remove $(check_SCRIPTS).
2896 (testsuite): Make sure autotest.m4f is up-to-date before using it.
2898 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
2900 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
2901 expression of unbounded size when processing the --list
2902 option. This runs afoul of a limit of 399 bytes per regular
2903 expression on AIX. Problem reported by Ralf Wildenhues.
2905 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
2907 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
2908 * doc/autoconf.texi (Particular Headers): Reword example
2909 for multiline stdbool replacement.
2910 (Setting Output Variables): Reword text a bit. Don't
2911 give all the details about |#_!!_#|.
2912 Reword description of line replacement.
2914 2005-05-31 Dan Manthey <dan_manthey@partech.com>
2916 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
2917 now contain newlines, and substituted files must be referenced on
2918 a line alone; the sed scripts to substitute them are now very
2920 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
2921 commands can be put in a sed script portably.
2922 * doc/autoconf.texi (Setting Output Variables): Document above
2923 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
2924 use of multiline substitution.
2925 * tests/torture.at: No longer expect substitution of newline to fail.
2927 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
2929 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
2930 From Ralf Menzel (trivial change).
2932 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
2934 * tests/local.at: Don't attempt to check for negated character
2935 classes in shell scripts. The test was too brittle.
2937 2005-05-25 Stepan Kasal <kasal@ucw.cz>
2939 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
2940 * doc/autoconf.texi (Limitations of Builtins): Document this
2943 2005-05-24 Stepan Kasal <kasal@ucw.cz>
2945 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
2946 common code; used in many places in the tree.
2947 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
2948 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
2950 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
2952 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
2953 messages when ac_unique_file is not found.
2954 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
2955 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
2956 commands, for consistency with AC_MSG_ERROR and such.
2958 * bin/autoconf.as: Make more use of "shift 2" in option processing.
2960 * bin/Makefile.am: Merge the two rules for creating scripts.
2962 2005-05-23 Stepan Kasal <kasal@ucw.cz>
2964 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
2965 obsolete; it was never documented.
2966 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
2968 2005-05-20 Stepan Kasal <kasal@ucw.cz>
2970 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
2971 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
2972 (ac_top_builddir): ... this ...
2973 (ac_top_build_prefix): ... to this; the old name is also kept, for
2974 backward compatibility.
2975 (ac_top_builddir_sub): New variable, without the trailing slash,
2977 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
2978 * doc/autoconf.texi (Configuration Actions): Rename
2979 ac_top_builddir to ac_top_build_prefix.
2980 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
2981 at_top_builddir to at_top_build_prefix.
2982 * lib/autotest/general.m4 (AT_INIT): Likewise.
2984 2005-05-20 Stepan Kasal <kasal@ucw.cz>
2986 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
2989 2005-05-17 Stepan Kasal <kasal@ucw.cz>
2991 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
2992 argument to m4_foreach. I guess it was necessary in the past,
2993 but I think it's a no-op now.
2995 2005-05-17 Stepan Kasal <kasal@ucw.cz>
2997 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
2998 ``cat <<_ACEOF'' commands to one.
2999 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
3000 * lib/autoconf/status.m4: On various places, use expr instead of
3002 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
3003 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
3004 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
3006 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
3007 the wrong patterns between ``case'' and ``esac.'' The previous
3008 code had false positives.
3010 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
3012 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
3014 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
3017 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
3019 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
3020 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
3021 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
3022 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
3023 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
3024 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
3025 config/config.guess, config/config.sub, config/elisp-comp,
3026 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
3027 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
3028 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
3029 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
3030 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
3031 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
3032 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
3033 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
3034 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
3035 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
3036 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
3037 lib/autoconf/general.m4, lib/autoconf/headers.m4,
3038 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3039 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
3040 lib/autoconf/specific.m4, lib/autoconf/status.m4,
3041 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
3042 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
3043 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
3044 lib/autotest/general.m4, lib/emacs/Makefile.am,
3045 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
3046 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
3047 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
3048 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
3049 tests/compile.at, tests/foreign.at, tests/fortran.at,
3050 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
3051 tests/semantics.at, tests/suite.at, tests/tools.at,
3052 tests/torture.at, tests/wrapper.as:
3053 Update FSF postal mail address.
3055 2005-05-13 Stepan Kasal <kasal@ucw.cz>
3057 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
3059 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
3060 enough arguments, similarly as in m4_bpatsubsts.
3062 2005-05-12 Stepan Kasal <kasal@ucw.cz>
3064 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
3067 2005-05-11 Stepan Kasal <kasal@ucw.cz>
3069 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
3070 for absolute directory names in one loop.
3071 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
3072 abbreviations of --version and --debug.
3074 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
3076 * doc/autoconf.texi (Autoconf Language): Be more precise about
3077 quoting rules. Problems noted by Stepan Kasal.
3078 Also, throughout this document, be more careful about white space.
3079 "blank", "white space", and "space" all have different meanings
3080 and we should be careful to say what we mean.
3082 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
3084 Fix C++ related problems reported by Werner Lemberg.
3085 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
3086 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
3087 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
3088 avoid problems with C++ and throw.
3089 * tests/compile.at: .cpp, not .cc.
3091 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
3093 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3095 * doc/autoconf.texi (Generic Functions): Typos.
3097 2005-05-02 Gary V. Vaughan <gary@gnu.org>
3099 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
3100 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
3101 set by latest automake.
3103 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
3105 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
3106 outputs 0 on GNU/Linux these days.
3108 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
3110 * doc/autoconf.texi (Autoconf Language): Add more description
3111 about quoting heuristics.
3112 (Limitations of Builtins): Describe "set -" problems.
3114 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3116 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
3119 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
3120 by AC_DEFINE; it was a mistake.
3121 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
3123 2005-04-25 Stepan Kasal <kasal@ucw.cz>
3125 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
3127 2005-04-22 Stepan Kasal <kasal@ucw.cz>
3129 * doc/autoconf.texi (External Software): Quadrigraphs are not
3130 processed correctly in AS_HELP_STRING; avoid this in the examples.
3131 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
3132 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
3133 comment and reduce m4_default([foo], []) to [foo].
3134 (m4_strip): Update the explanation.
3136 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
3138 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
3139 Remove core.conftest.* too; it's generated by Tru64 5.1.
3140 Problem reported by Jennis Pruett.
3141 * lib/autoconf/functions.m4
3142 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3143 Don't bother to remove core files; AC_RUN_IFELSE should do that
3146 2005-04-19 Stepan Kasal <kasal@ucw.cz>
3148 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
3150 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
3152 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
3153 Report from Horst Wente.
3155 2005-04-15 Stepan Kasal <kasal@ucw.cz>
3157 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
3160 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
3162 * doc/autoconf.texi (External Software, Package Options): Add
3163 examples showing how to implement --with-* and --enable-* options.
3165 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
3167 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
3168 as well as configure.in. Problem reported by Gregorio Guidi.
3170 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
3172 * doc/autoconf.texi (Particular Functions): Use gnulib's current
3173 pattern for alloca snippet.
3175 2005-04-04 Stepan Kasal <kasal@ucw.cz>
3177 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
3179 2005-04-01 Stepan Kasal <kasal@ucw.cz>
3181 * doc/autoconf.texi (Generic Programs): Fix a typo.
3183 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
3185 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
3186 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
3188 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3190 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
3191 Merge `-z option' as well for the benefit of Solaris link flags. Pass
3192 whole-archive (-zallextract, -zdefaultextract) options in the hope of
3193 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
3194 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
3196 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
3198 * NEWS: The configure command now warns you if you attempt to use
3199 a directory whose name contains a special character like space,
3201 * doc/autoconf.texi (Installation Directory Variables): Allow
3202 "," in file names. Do not use \@; it's not a portable regexp.
3203 * bin/Makefile.am (edit): Likewise.
3204 * lib/Makefile.am (edit): Likewise.
3205 * tests/Makefile.am (edit): Likewise.
3206 * tests/semantics.at: Likewise.
3207 * tests/torture.at: Likewise.
3208 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
3209 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
3210 * doc/autoconf.texi (File System Conventions): Warn about
3211 unportable file names.
3212 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
3214 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
3215 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
3216 ac_pwd, and quote srcdir.
3217 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
3219 * doc/autoconf.texi: Fix some systematic formatting problems.
3220 ".)" needs a following @: if not at the end of a sentence, and
3221 similarly for "!)". "etc." should be preceded by a comma.
3222 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
3224 2005-03-22 Bruno Haible <bruno@clisp.org>
3226 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
3227 argument is often called 'build-aux'.
3229 2005-03-07 Stepan Kasal <kasal@ucw.cz>
3231 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
3232 macro AC_TRY_LINK is obsolete.
3233 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
3236 2005-02-24 Stepan Kasal <kasal@ucw.cz>
3238 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
3239 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
3240 from a Common Lisp's `cl'.
3241 (AC_PROG_CXX): Behave according to the documentation: don't
3242 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
3243 make the variable CCC precious; use `cl.exe', not `cl'.
3245 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
3246 Alexandre Duret-Lutz <adl@gnu.org>
3248 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
3249 /dev/null, as "configure" shouldn't read stdin, and this insulates
3250 us from problems (e.g., when testing for "cl"). Also, do this
3251 redirection before invoking "hostname" or "uname", and keep the
3252 original input stream available via...
3253 (AS_ORIGINAL_STDIN_FD): ... this new macro.
3254 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
3255 bother with "</dev/null" since it's now done at the top of
3257 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
3258 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3259 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3260 * doc/autoconf.texi (File Descriptor Macros): New section.
3261 (Printing Messages): Mention it.
3262 * tests/base.at (Input/Output): New test.
3264 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
3266 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
3267 newline if neither \c nor -n work, as that would output two
3268 newlines. Prefer -n to \c. Reported by Stepan Kasal.
3270 2005-02-12 Stepan Kasal <kasal@ucw.cz>
3272 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
3273 This causes that any required macros inside will get before the if.
3274 * doc/autoconf.texi (autom4te.cache): A typo.
3276 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
3278 Undo previous change, except keep the change to
3279 lib/autoconf/programs.m4 that replaced grep with shell
3280 pattern-matching. This is because net-snmp configure reads stdin.
3281 Reported by Noah Misch.
3283 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
3285 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
3286 from /dev/null, as "configure" shouldn't read stdin, and this
3287 insulates us from problems (e.g., when testing for "cl").
3288 Suggested by Alexandre Duret-Lutz. Also, do this redirection
3289 before invoking "hostname" or "uname".
3290 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3291 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
3292 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
3293 "</dev/null" since it's now done at the top of 'configure'.
3294 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3295 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3296 Also, replace grep with shell pattern-matching, to save a process.
3298 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
3300 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3301 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
3302 avoid thinking that Allegro Common Lisp's "cl" command is a C++
3305 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
3307 * doc/autoconf.texi (Limitations of Usual Tools): Document that
3308 grep -q isn't portable. Improve grep -s explanation.
3309 Problem reported by Dan Manthey.
3311 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
3313 * doc/autoconf.texi (Special Shell Variables): Clarify
3314 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
3316 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
3318 * doc/autoconf.texi: Use @acronym for DJGPP.
3319 Fix some @code's that should have been @env's, and vice versa.
3320 Sort environment variable names.
3321 Mention that shells no longer inherit IFS.
3322 Don't recommend PATH_SEPARATOR=';' so strongly.
3323 Mention that $RANDOM might expand to the empty string.
3324 "symlink" and "soft link" -> "symbolic link".
3325 Improve mktemp description (reported by Bruno Haible).
3327 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
3329 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
3330 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
3332 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
3335 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
3337 * NEWS: Mention AT_COPYRIGHT.
3339 * tests/local.at (AT_CMP): Use diff directly on input files rather
3342 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
3343 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
3345 2005-02-04 Noah Misch <noah@cs.caltech.edu>
3346 and Paul Eggert <eggert@cs.ucla.edu>
3348 * tests/autotest.at (Empty test suite): New test.
3349 * tests/torture.at (Substitute and define special characters)
3350 (Substitute a 2000-byte string, Define to a 2000-byte string)
3351 (Substitute a newline, Define a newline): New tests.
3353 2005-02-04 Noah Misch <noah@cs.caltech.edu>
3355 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
3356 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
3357 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
3358 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
3359 (Standard regular expressions): New test.
3360 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
3361 excess test name quoting.
3362 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
3363 CPPFLAGS to `configure' instead of setting it in `configure'.
3365 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
3366 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
3369 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
3370 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
3372 * tests/local.at (AT_CMP): New macro.
3373 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
3374 (AC_SAVE_STATE): Move environment grep...
3375 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
3376 (AT_CONFIG_CMP): New macro.
3377 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
3378 * tests/c.at (Extensions): Do not exit early.
3379 * tests/atlocal.in: Inherit $GREP.
3381 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
3382 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
3384 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
3385 (AC_COPYRIGHT): Factor header comment portion out and move into...
3386 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
3387 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
3388 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
3390 * tests/local.at: Add Autoconf test suite copyright notice.
3391 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
3393 2005-02-04 Bruno Haible <bruno@clisp.org>
3394 and Paul Eggert <eggert@cs.ucla.edu>
3396 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
3398 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
3400 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
3401 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
3403 Try not to generated lines of unlimited length, as POSIX places a
3404 2047-byte limit on line length of portable text files.
3405 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
3406 Use newline as a separator, not space.
3407 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
3408 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
3411 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3413 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
3414 as_func_*. Add test to check whether positional parameters
3415 are restored after function return.
3417 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
3419 * doc/autoconf.texi (Special Shell Variables): Mention _,
3420 BIN_SH, DUALCASE. Say that variables other than "status" are safe
3421 if they contain a lower-case letter. The DUALCASE problem was
3422 reported by Ralf Wildenhues.
3424 * bin/autoconf.as: Don't exit with status 0 after write failure
3425 with --help or --version.
3426 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
3427 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
3429 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3431 * doc/autoconf.texi (Limitations of Usual Tools):
3432 Unicos 9 sed limitations.
3433 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
3434 to get the option-enhanced interface on older Crays. Try ftn for
3435 Fortran 95 (newer Crays).
3437 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
3439 * man/Makefile.am (.x.1): Go back to the simple solution, but take
3440 care to echo the commands, so the user knows what's going on.
3441 Modified from a suggestion by Stepan Kasal.
3443 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
3444 with a cross reference. Derived from a suggestion by Bruce Korb.
3446 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
3448 * doc/autoconf.texi (config.status Invocation): Warn about
3449 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
3450 * doc/install.texi (Defining Variables): Likewise.
3451 Based on a proposed patch by Ralf Wildenhues.
3453 * man/Makefile.am (.x.1): Make sure the required generated files
3454 are up to date. Problem and original solution proposed by Stepan Kasal.
3455 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
3456 implicit-man-prerequisites): New rules, used by the above.
3458 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
3459 * config/config.guess, config/config.sub, config/install-sh: Likewise.
3460 * config/missing, config/texinfo.tex: Likewise.
3462 2005-01-29 Stepan Kasal <kasal@ucw.cz>
3464 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
3465 Update the long comment explaining it.
3467 m4_require no longer writes an ``is required by'' line to the
3468 execution stack. It contains only one bit of non-redundant
3469 information: that the macro was required, not called. And even
3470 this bit is useless in most situations: have you ever met a macro
3471 which both calls and requires the same macro?
3473 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
3474 (_m4_defun_pro_outer): ... only via this macro, for the outermost
3476 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
3477 (m4_expansion_stack_pop): Remove the misplaced comment.
3478 (m4_require): Don't put the ``is required by'' line to the
3479 execution stack; slightly improve the out-of-a-defun error message.
3480 (_m4_divert_grow): New macro, counter for the temporary diversions.
3481 (_m4_require_call): Use it.
3482 * tests/m4sugar.at (m4_require): Expect output without the
3483 ``is required by'' messages.
3485 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
3487 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
3488 rather than x for expr.
3490 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
3492 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
3493 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3494 * lib/autotest/general.m4 (AT_INIT): Likewise.
3495 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
3496 * tests/mktests.sh: Likewise.
3498 2005-01-27 Akim Demaille <akim@epita.fr>
3500 Have autoheader honor --force.
3502 * doc/make-stds.texi, doc/standards.texi: Update from masters.
3503 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
3504 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
3505 from masters, so that FileUtils.pm's update_file provide --force
3507 * bin/autoheader.in: Pass $force to update_file so that
3508 config.h.in is always recreated when --force.
3510 2005-01-24 Stepan Kasal <kasal@ucw.cz>
3512 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
3514 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
3516 * doc/autoconf.texi (Limitations of Builtins): Clarify that
3517 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
3519 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
3521 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
3522 Warn about newline stripping in `` and $(). Update Solaris
3524 (Limitations of Builtins): Use expr "X...", not expr "x...", as
3525 X insulates us from future changes to Posix.
3526 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
3529 2005-01-19 Stepan Kasal <kasal@ucw.cz>
3531 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
3532 you cannot use AC_DEFINE to define macros containing `[' or `]'.
3534 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
3536 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
3537 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
3538 bug-tar mailing list.
3540 2005-01-05 Stepan Kasal <kasal@ucw.cz>
3542 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
3544 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
3546 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
3547 ulongval to be static, to avoid unwanted GCC warning. Problem
3548 reported by Michael Jennings via Daniel Reed; see
3549 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
3551 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
3553 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
3554 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
3555 datadir, infodir, and mandir. Adjust argument parsing code.
3556 (_AC_INIT_HELP): Update help text.
3557 * doc/autoconf.texi (Installation Directory Variables): Document
3560 2005-01-04 Noah Misch <noah@cs.caltech.edu>
3562 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
3563 not seem to work, assume it does set $(MAKE).
3564 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
3566 2005-01-03 Stepan Kasal <kasal@ucw.cz>
3568 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
3570 2005-01-03 Stepan Kasal <kasal@ucw.cz>
3572 A cleanup of the diversion support in m4sugar.
3574 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
3575 (_m4_divert_n_stack): New macro; the expansion is
3576 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
3578 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
3579 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
3580 stored in _m4_divert_diversion or _m4_divert_dump.
3581 (m4_divert_pop): When the parameter is given, compare the symbolic
3582 name with the last diversion pushed on the stack. Previously, the
3583 current diversion was compared with the numeric value of the
3584 diversion given as the parameter.
3585 (m4_require): If the macro hasn't been expanded yet, call ...
3586 (_m4_require_call): this new macro.
3588 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3590 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
3591 Workarounds for documented `case' limitations.
3593 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
3595 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
3596 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
3598 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
3600 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
3601 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
3602 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
3604 Patch from Roger Leigh (with some minor changes) as follows:
3605 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
3606 Resurrect AC_PROG_CC_STDC.
3607 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
3608 AC_PROG_CC_C89, AC_PROG_CC_C99.
3609 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
3610 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
3611 AC_PROG_CC_C99): New macros.
3612 (AC_PROG_CC_STDC): Use them.
3613 (_AC_PROG_CC_STDC): Remove.
3614 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
3615 * THANKS: Add Roger Leigh.
3617 2004-12-30 Noah Misch <noah@cs.caltech.edu>
3619 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
3620 signals that the package uses Automake; a `Makefile.am' is typical but
3621 not essential. Reported by Magnus Therning.
3622 * tests/torture.at (autoreconf.): New banner.
3623 (autoreconf and non-AC configure): Rename to `Non-Autoconf
3625 (autoreconf an empty directory): Rename to `Empty directory'.
3626 (Unusual Automake input files): New test.
3628 2004-12-30 Noah Misch <noah@cs.caltech.edu>
3630 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
3631 (AT_SETUP): Clear AT_capture_files.
3632 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
3633 (AT_KEYWORDS): Fix comment typo.
3634 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
3635 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
3636 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
3638 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
3640 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
3641 If the variable to set is already set, set ac_cv_path_$1
3642 to the preset value so caller can assume ac_cv_path_$1
3643 is available. (trivial change)
3645 2004-12-27 Noah Misch <noah@cs.caltech.edu>
3647 * BUGS (Minor Problems): Warn about makefile limitations.
3648 * Makefile.am: Find and update `INSTALL' in $(srcdir).
3649 * man/Makefile.am: Find and update manual pages in $(srcdir).
3651 2004-12-24 Eric Blake <ebb9@byu.net>
3653 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
3654 shells in subshell, to avoid noise from ash. (trivial change)
3656 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3658 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
3659 problems with SunOS ksh and backslash escaping, Bourne shells and
3660 closing brackets (both within character classes). Bug reported
3661 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
3662 <read>: New entry. Mention non-availability of -r.
3664 2004-12-21 Akim Demaille <akim@epita.fr>
3666 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
3667 avoid cluttering displayed messages. Rather, prepend srcdir where
3668 AT_LINE is used for log files.
3670 2004-12-21 Stepan Kasal <kasal@ucw.cz>
3672 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
3673 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
3674 no longer part of the macro, quote the occurrence of ``$tmp''.
3675 * doc/autoconf.texi (Forbidden Patterns): Typo.
3677 2004-12-21 Akim Demaille <akim@epita.fr>
3679 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
3680 separated from the test title by forcing a white space.
3682 2004-12-21 Akim Demaille <akim@epita.fr>
3684 Enable Emacs navigation within testsuite.log files.
3686 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
3687 use the compilation mode.
3688 (AT_LINE): Point to the srcdir.
3690 2004-12-19 Noah Misch <noah@cs.caltech.edu>
3692 * tests/Makefile.am (installcheck-local): Use $(bindir).
3693 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
3694 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
3695 Makefile.am scheme Autoconf now uses.
3697 2004-12-18 Noah Misch <noah@cs.caltech.edu>
3699 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
3700 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
3702 2004-12-18 Noah Misch <noah@cs.caltech.edu>
3704 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
3705 (_AT_CHECK): Use it.
3706 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
3707 (AS_ESCAPE): Fix comment.
3708 * tests/autotest.at: Adjust section banner comments.
3709 (AT_CHECK_AT): Accept STATUS and STDERR.
3710 (AT_CHECK_AT_TEST): Likewise.
3711 (Invalid brace-enclosed parameter expansion)
3712 (Multiline command from M4 expansion)
3713 (Double-M4-quoted command): New tests.
3715 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
3717 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
3719 2004-12-17 Akim Demaille <akim@epita.fr>
3721 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
3723 Suggested by Alexandre Duret-Lutz.
3724 * doc/autoconf.texi (Setting Output Variables): Catch up.
3726 2004-12-17 Stepan Kasal <kasal@ucw.cz>
3728 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
3730 2004-12-17 Stepan Kasal <kasal@ucw.cz>
3732 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
3733 remove the comment which said we cannot.
3735 2004-12-17 Stepan Kasal <kasal@ucw.cz>
3737 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
3738 Reini Urban and Paul Eggert for reporting the dependencies.
3740 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
3741 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
3742 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
3744 2004-12-17 Stepan Kasal <kasal@ucw.cz>
3746 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
3747 so that eg. ``autoscan --help'' doesn't truncate it.
3749 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
3751 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3752 generated conftest files.
3754 2004-12-13 Noah Misch <noah@cs.caltech.edu>
3756 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
3757 tracing on commands with possibly-escaped newlines.
3758 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
3759 discontinued behavior and its implications.
3760 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
3761 (BSx641-newline in command, BS-BS-newline in command)
3762 (BSx640-newline in command, Newline-CODE-BS-newline in command)
3763 (Single-quote-BS-newline in command)
3764 (Single-quote-newline-BS-newline in command): New tests.
3766 2004-12-13 Stepan Kasal <kasal@ucw.cz>
3768 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
3769 on platforms where it works.
3770 (_AS_TEST_PREPARE): Test for ``test -x''.
3771 (_AS_BROKEN_TEST_PREPARE): Nuke.
3773 2004-12-13 Stepan Kasal <kasal@ucw.cz>
3775 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
3776 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
3777 give only 4-letter prefix to AS_TMPDIR, comment fixed.
3778 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
3779 create the temporary directory.
3780 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
3782 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
3784 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
3787 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
3789 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
3791 2004-12-11 Noah Misch <noah@cs.caltech.edu>
3793 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
3794 to avoid using a negated character class. Reported by Nicolas Joly.
3795 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
3797 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
3799 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
3800 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
3801 Don't depend on .x file explicitly, since "make" does that for us.
3802 Suggested by Stepan Kasal.
3804 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
3806 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
3807 ifnames): Factor common code. And they said it couldn't be done!
3809 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
3811 * bin/.cvsignore: Add autoconf.in.
3812 * tests/.cvsignore: Add wrapper.in.
3813 * lib/autotest/general.m4: Escape '$' in case pattern.
3815 2004-12-09 Noah Misch <noah@cs.caltech.edu>
3817 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
3819 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
3821 * tests/autotest.at: New file.
3822 * tests/suite.at: Include it.
3823 * tests/Makefile.am: Distribute it.
3825 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
3826 shell tracing on a command that could contain multiple lines.
3827 * doc/autoconf.text: Document that fact and its implications.
3828 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
3829 * tests/autotest.at (Multiline backquote command substitution,
3830 Multiline parameter expansion, Literal multiline command,
3831 Multiline parenthetical command substitution): Remove XFAIL.
3833 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
3835 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
3836 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
3838 2004-12-08 Noah Misch <noah@cs.caltech.edu>
3840 * configure.ac (test suite): Cease to generate wrapper scripts.
3841 * configure: Regenerate.
3842 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
3843 (m4f_dependencies): Adjust accordingly.
3844 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
3845 (wrapper.in): Generate it in the build directory.
3846 (MAINTAINERCLEANFILES): Delete wrapper.in.
3847 (CLEANFILES): Add wrapper.in.
3848 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
3849 the output. Replace each $as_me with a @wrap_program@.
3850 * tests/wrapper.in: Delete it; we always build it.
3852 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
3853 (EXTRA_DIST): Remove autoconf.in.
3854 (CLEANFILES): Add autoconf.in.
3855 (autoconf): Find autoconf.in in the build directory.
3856 * bin/autoconf.in: Delete it; we always build it.
3858 2004-12-08 Noah Misch <noah@cs.caltech.edu>
3860 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
3861 PATH members so as to not prepend an empty element. Move a comment.
3862 * Makefile.am (SUBDIRS): Build in `tests' last.
3863 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
3865 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
3867 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
3868 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
3869 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
3870 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
3872 2004-12-07 Stepan Kasal <kasal@ucw.cz>
3874 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
3877 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
3879 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
3880 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
3881 * doc/autoconf.texi (Particular Functions): Mention new behavior.
3883 2004-12-03 Stepan Kasal <kasal@ucw.cz>
3885 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
3886 out the common code to ...
3887 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
3888 value of the #define--default to 1, iff the macro was called
3889 with exactly one parameter.
3891 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
3893 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
3894 "char c = '\200';" rather than "char c = 0x80;" as the
3895 latter doesn't conform to the strict C standard due to
3896 overflow on signed char hosts.
3898 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
3899 to -qlanglvl=ansi. We don't want to disable extensions.
3901 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
3903 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
3904 (Using Autotest, testsuite Scripts, Writing testsuite.at):
3905 Reword slightly to avoid some English-language problems noted
3906 by Ralf Wildenhues in:
3907 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
3909 2004-11-29 Stepan Kasal <kasal@ucw.cz>
3911 * NEWS: Add ^L above each release.
3913 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
3915 Fix documentation problems reported by Russ Boylan in
3916 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
3917 along with some nearby cruft.
3918 * doc/autoconf.texi (Libtool): Libtool can be used without
3919 Automake (not without Autoconf).
3920 (Introduction): Mention lists.gnu.org.
3921 * BUGS: Don't mention bugs.gnu.org.
3922 Remove mention of ancient libtool compatibility problem.
3923 * NEWS: Mention that bugs.gnu.org is kaput.
3924 * README: Likewise. Mention where mailing list archives can be found.
3926 2004-11-28 Stepan Kasal <kasal@ucw.cz>
3928 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
3929 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
3931 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
3933 * doc/autoconf.texi (Pretty Help Strings): Go back to
3934 single-quoting assignments to cache variables.
3936 2004-11-23 Stepan Kasal <kasal@ucw.cz>
3938 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
3939 with the examples; fix the bug in MY_ARG_WITH example reported
3940 by Alexandre Duret-Lutz.
3941 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
3942 expansion of $1 in the comment emitted to configure.
3944 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
3946 * doc/autoconf.texi (Pretty Help Strings): Fix typo
3947 in my editing of the previous patch. Problem reported
3948 by Alexandre Duret-Lutz.
3950 2004-11-22 Stepan Kasal <kasal@ucw.cz>
3952 * doc/autoconf.texi (Autoconf Language): Explain that
3953 ``descriptions'' may not be double quotes.
3954 (Quotation Rule Of Thumb): Likewise.
3955 (Pretty Help Strings): Likewise; remove the wrong comment;
3956 simplify the examples and improve their quoting.
3958 2004-11-13 Stepan Kasal <kasal@ucw.cz>
3960 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
3961 the $1_found variable, don't test whether the file is executable;
3962 Both things are checked ...
3963 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
3964 the former ``test -f''.
3965 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
3967 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
3969 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
3972 2004-11-10 Derek R. Price <derek@ximbiot.com>
3974 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
3975 limitations. Reorder paragraphs for clarity.
3977 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
3979 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
3980 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
3981 variants", "Unix", and some related minor wording fixups.
3983 (Shellology, Special Shell Variables): Document that the Zsh
3984 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
3985 to Alexandre Duret-Lutz for this info.
3987 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
3989 * doc/autoconf.texi (One-Shot Macros): New node.
3991 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
3993 * doc/autoconf.texi (Function Portability): Fix misdescription
3994 of putenv. Problem reported by Michael Wardle.
3996 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
3998 * doc/autoconf.texi (auindex): New macro.
3999 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
4000 Problem reported by Stepan Kasal.
4002 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
4004 Fix problems reported by Andreas Buening in:
4005 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
4006 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
4008 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
4009 readable; it's not true in OS/2-emx.
4011 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
4013 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
4014 "/usr/include", clear ac_x_includes instead of leaving it as "no"
4015 (trivial change). Problem and patch reported by Andrew Church in:
4016 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
4018 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
4020 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
4021 three args in examples. Problem reported by Frederik Fouvry in:
4022 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
4023 Also, fix some minor spacing and punctuation bugs.
4025 2004-09-02 Akim Demaille <akim@epita.fr>
4027 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
4028 "case" to restore ordering.
4029 Reported by Stepan Kasal.
4031 2004-08-26 Akim Demaille <akim@epita.fr>
4033 * doc/autoconf.texi: Minor typos and stylos.
4035 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
4037 * configure.ac (AC_INIT): Bump to 2.59c.
4039 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
4043 * README: Add advice about m4 1.4.2.
4045 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
4046 texinfo.tex for now (done by hand now).
4047 * Makefile.maint (wget_files, cvs_files):
4048 Remove ansi2knr.c; nobody uses it.
4049 (ansi2knr.c-url_prefix): Remove.
4050 (cvs-update): Fix test for failure. I don't know why it ever
4053 * doc/autoconf.texi: Update URLs, some of which went stale.
4054 Use @uref rather than @href.
4056 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
4057 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
4059 * config/config.guess, config/config.sub, config/elisp-comp,
4060 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
4061 doc/fdl.texi, doc/standards.texi: Sync with master copy.
4063 * NEWS, TODO, configure.ac, bin/autoscan.in,
4064 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
4065 doc/install.texi, lib/Autom4te/Configure_ac.pm,
4066 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
4067 lib/autoconf/programs.m4, lib/autoconf/status.m4,
4068 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
4069 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
4070 tests/tools.at, tests/torture.at:
4071 Use "file name" rather than "filename" or "path",
4072 to be consistent with the terminology of the GNU coding standards.
4074 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
4076 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
4077 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
4078 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
4079 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
4081 More fixes to support spaces in the name of the build directory.
4082 This isn't a complete fix but it's an improvement.
4084 * bin/autoconf.as (autom4te_options): New var.
4085 Use it instead of appending to AUTOM4TE, so that we can allow
4086 spaces in the build directory's absolute name.
4087 * bin/autoheader.in ($autoconf): Allow spaces in file names.
4088 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
4089 AT_CHECK_NOESCAPE): Likewise.
4090 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
4091 main program): Likewise.
4093 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
4095 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
4096 From Ralf Corsepius in:
4097 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
4099 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
4101 * doc/autoconf.texi (Function Portability): Document isinf and
4102 and isnan. From a suggestion by Kevin Ryde.
4104 * lib/Autom4te/General.pm (END): Return correct exit status even
4105 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
4107 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
4109 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
4110 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
4111 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
4113 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
4115 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
4116 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
4117 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
4118 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
4119 * lib/autom4te.in (Automake-preselections): Preselect
4120 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
4122 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
4124 * lib/autom4te.in (Automake-preselections): Preselect
4125 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
4128 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
4130 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
4132 * doc/autoconf.texi (Shellology): Mention BIN_SH.
4133 Document problem with "`""`" in pdksh POSIX mode.
4135 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
4137 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
4138 with pdksh, too. Problem reported by Patrick Welche via
4140 * doc/autoconf.texi (Shellology): Note that set -o posix is
4141 useful for pkdsh, too.
4143 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
4145 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
4146 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
4147 Don't fail if ENV or BASH_ENV is readonly.
4148 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
4149 etc. are read only. Problem reported by Ludovic Courtes.
4151 2004-06-23 Noah Misch <noah@cs.caltech.edu>
4153 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
4154 zsh, disable GLOB_SUBST to avoid backslash handling problems.
4157 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
4159 * doc/autoconf.texi (File System Conventions): Warn about
4160 names like "aux". Problem reported by Eric Blake.
4162 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
4163 by zero instead of array size, so that we can use any arithmetic
4164 constant expression (instead of requiring an integer constant
4165 expression). This allows us to test expressions like DBL_MAX <
4166 LDBL_MAX, which didn't conform to the C standard using the old
4168 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
4169 now that we can do floating-point tests at compile time.
4171 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
4173 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
4174 and LDBL_EPSILON, as the resulting expression isn't an
4175 integer constant expression and violates the C standard.
4176 Problem reported by Nelson H. F. Beebe. Also, check
4177 for "L" suffix, and check that long double doesn't have
4178 worse range or precision than double, that mixed-mode
4179 arithmetic doesn't generate a diagnostic, that double
4180 constants fit in long double.
4182 2004-06-03 Kevin Ryde <user42@zip.com.au>
4184 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
4185 malloc(0) and realloc(NULL,size).
4187 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
4190 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
4192 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
4193 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
4196 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
4198 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
4199 can be rewritten using if-then-else. Suggested by Bruno Haible.
4201 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
4203 * doc/autoconf.texi (testsuite Scripts): Fix typo.
4204 Problem reported by Stepan Kasal.
4206 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
4208 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
4209 change). Patch reported by Ralf Wildenhues in
4210 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
4212 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
4213 function F exists if the compiler and linker let you compile an
4214 expression like (F != 0). Recent versions of GCC optimize away
4215 the reference to F in that case, since every function address must
4216 be nonzero, so the link succeeds even if F does not exist.
4217 Problem reported by Manu in
4218 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
4220 * doc/autoconf.texi (Systemology): Standardize on the spelling of
4221 "Unix". Many uses changed.
4222 (Limitations of Builtins): Explain better why the ! command isn't
4225 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
4227 * lib/autom4te.in (Automake-preselections): Preselect
4228 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
4230 2004-05-19 Kevin Ryde <user42@zip.com.au>
4232 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
4233 referencing AC_FUNC_STRERROR_R.
4235 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
4236 note pessimistic assumption when cross compiling.
4238 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
4240 * doc/autoconf.texi (Limitations of Make): Note that BSD make
4241 (until 2004) invoked subcommands with sh -e, contra POSIX.
4242 Reported by Kevin Ryde.
4244 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
4246 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
4247 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
4248 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
4249 `test -f " /usr/bin/grep"', which _always_ failed.
4250 (AC_PROG_SED): Ditto bogus PATH fix.
4251 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
4252 requires that grep correctly supports _multiple_ `-e' options, rather
4253 than stating only that grep should accept `-e'.
4255 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
4257 Port to C99, which requires that 'exit' be declared.
4259 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
4260 to ensure that stdlib.h is included.
4261 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
4262 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
4263 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4264 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4265 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4266 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
4267 when using 'exit' in a test; C99 requires that 'exit' be declared.
4269 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
4271 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
4272 now prefers 'grep' implementations that accept -e.
4273 (Limitations of Usual Tools): Describe problems of traditional
4274 egrep and fgrep with long input lines, and of traditional grep
4276 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
4277 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
4278 All callers changed. Append /usr/xpg4/bin to the PATH, for
4280 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
4281 the user with complaints about multiple -e options.
4282 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
4283 Define it with AC_PROG_GREP.
4284 * configure.ac (AC_PROG_GREP): Add.
4285 * lib/freeze.mk (GREP): New macro.
4287 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
4289 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
4290 a possible candidate only after all others fail, rather than
4291 consulting it first. This improves backward compatibility by
4292 better reflecting the way shell selection occurred in previous
4293 versions of Autoconf, and should help to avoid triggering latent
4294 problems in other packages, such as the one in Automake where zsh
4295 is not handled robustly:
4296 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
4297 Although it is not Autoconf's responsibility to work around
4298 problems in Automake, it nevertheless makes sense to avoid
4299 introducing unnecessary incompatibilites.
4301 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
4302 Gary V. Vaughan <gary@gnu.org>
4304 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
4305 how deeply nested we are when a suitable tool is found, set the
4306 ac_path_TOOL_found flag.
4307 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
4308 nested we are in this macro. Break out of all 3 nested loops if
4309 ac_path_TOOL_found is set.
4311 2004-04-21 Gary V. Vaughan <gary@gnu.org>
4313 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
4314 of the _AS_PATH_WALK loop too if GNU flavor is found.
4316 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
4318 * doc/autoconf.texi (Limitations of Make): Update documentation
4319 for `$<'. New entry `Long lines', based on a report from Simon
4320 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
4321 paragraph about DJGPP, based on a mail from Richard Dawe.
4323 2004-04-20 Paul Eggert <eggert@twinsun.com>
4325 * tests/c.at (C keywords): Don't assume that GCC supports
4326 "restrict" and "inline", as sufficiently-old GCC versions do not
4327 (also, GCC configured to be in pedantic C89 mode does not).
4328 Problem reported by Sumit Pandya in:
4329 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
4331 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
4332 consider -g to work if it generates warnings when plain compiles
4333 don't. Problem reported by Braden McDaniel in:
4334 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
4336 * doc/autoconf.texi (Slashes): New section, to document a problem
4337 reported by Jim Meyering in:
4338 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
4340 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
4341 linker output files before linking, to work around IRIX 6 linker bug.
4342 Problem reported by Rainer Orth in:
4343 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
4345 2004-04-20 Gary V. Vaughan <gary@gnu.org>
4347 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
4348 best tool so far counter rely on the tool path variable name to
4349 avoid checks for one tool being affected by the results of running
4350 the length check on a previous tool.
4352 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
4353 match expression argument, as different greps have different
4354 regular expression flavours.
4355 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
4357 (AC_PROG_EGREP): Pass 'EGREP$'.
4358 (AC_PROG_GREP): Pass 'GREP$'.
4360 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
4362 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
4363 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
4365 2004-03-29 Paul Eggert <eggert@twinsun.com>
4367 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
4368 Types, Specific Compiler Characteristics, System Services,
4369 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
4370 etc. consistently instead of 'long', 'short', 'unsigned' etc.
4371 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
4372 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
4374 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
4375 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
4376 AC_TYPE_OFF_T): Likewise.
4377 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
4380 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
4381 pacify libtool 1.5.2. Fix quoting problems in sed command.
4383 2004-03-28 Paul Eggert <eggert@twinsun.com>
4385 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
4386 now defines HAVE_DECL_TZNAME if it is declared, when
4387 HAVE_STRUCT_TM_TM_ZONE is not defined.
4388 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
4389 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
4392 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
4394 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
4395 superfluous backslashing of quotes (") in sed expressions;
4396 thanks to Paul Eggert.
4398 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
4400 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
4401 Fortran compiler is ifort, also added pghpf; thanks to Nelson
4402 H. F. Beebe for the bug report.
4404 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
4406 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
4407 quoted -cmdline argument in Portland Group compiler (bug
4408 reported by Jeffrey J. Barteet).
4410 2004-03-25 Kevin Ryde <user42@zip.com.au>
4412 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
4413 (Run Time): ... here, where it's now mentioned.
4415 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
4417 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
4418 inherits from language Autoconf-without-aclocal-m4.
4419 (Customizing autom4te): Adjust example; the cache must now be
4420 disabled for language Autoconf-without-aclocal-m4.
4422 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
4423 Nathanael Nerode <neroden@twcny.rr.com>
4425 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
4426 AC_CHECK_TOOLS): Warn if a cross-tool is found without
4428 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
4429 AC_CHECK_TARGET_TOOLS): New macros.
4430 * doc/autoconf.texi (Generic Programs): Document
4431 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
4432 AC_CHECK_TARGET_TOOLS, and warn for future changes
4433 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
4435 (Specifying Names): Document the reason for these future
4437 * tests/mktests.sh: Do not generate tests for the
4439 * NEWS: Document these changes.
4441 * doc/autoconf.texi: Avoid macros with unbraced arguments,
4442 they make TeX hang up.
4444 2004-03-15 Paul Eggert <eggert@bogus.example.com>
4446 * NEWS: New macro AC_CHECK_ALIGNOF.
4447 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
4448 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
4449 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
4451 (AC_CHECK_ALIGNOF): New macro.
4452 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
4453 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
4456 2004-03-03 Paul Eggert <eggert@twinsun.com>
4458 * bin/Makefile.am (edit): Don't use $< in a context where
4459 POSIX doesn't require support for it. Use $@.in instead.
4460 Problem reported by Anthony N. Frasso in
4461 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
4462 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
4464 2004-02-23 Gary V. Vaughan <gary@gnu.org>
4466 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
4467 from the next generation of Libtool.
4468 * lib/autom4te.in (Autoreconf-preselections): Ditto.
4470 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
4472 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
4473 is not always thread-safe. Report from Nathanael Nerode.
4475 2004-02-18 Paul Eggert <eggert@twinsun.com>
4477 Fix a dependencies problem, stemming from a Autoconf 2.59 build
4478 problem on QNX reported by Stephen Rasku in
4479 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
4481 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
4482 $(m4sh_m4f_dependencies); this removes a FIXME.
4483 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
4484 (MAINTAINERCLEANFILES): Split into pieces,
4485 one per related section. Add $(srcdir)/wrapper.in.
4487 2004-02-09 Paul Eggert <eggert@twinsun.com>
4489 * doc/autoconf.texi (Setting Output Variables): Emphasize that
4490 AC_SUBST provides no portable way to escape literal newlines.
4492 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
4493 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
4494 Darwin uses -lcrt2.o and there's little point to cataloging all
4495 the system variants. Partial fix reported by Andreas Waechter in:
4496 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
4497 for bug reported by Nelson H. F. Beebe in:
4498 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
4500 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
4502 * doc/autoconf.texi (AU_DEFUN): Fix English,
4503 suggested by Paul Eggert.
4504 * lib/autoconf/autoupdate.m4: Correct reference to
4505 acobsolete.m4, suggested by Alexandre Duret-Lutz.
4507 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
4509 * bin/autoupdate.in: Define __file__ so that warnings
4510 refer to the correct file.
4511 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
4512 the behavior of the third argument.
4513 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
4514 correctly the behavior of the third argument. Document
4515 what the three macros that AU_DEFUN defines do. Fix
4516 warning message when the third argument includes $0
4517 (reported by Alexandre Duret-Lutz).
4519 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
4520 Eric Sunshine <sunshine@sunshineco.com>
4521 Paul Eggert <eggert@twinsun.com>
4523 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
4524 (AS_INIT): Output shell initialization there. Removed optional
4525 parameter. Expand _AS_SHELL_FN_SPY.
4526 (AS_INIT_WITH_SHELL_FN): Removed.
4527 (_AS_SHELL_FN_SPY): New macro.
4528 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
4530 (AS_SHELL_SANITIZE): Remove loop to find better shell
4531 and documentation for the parameter.
4532 (_AS_DETECT_BETTER_SHELL): Move it here.
4533 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
4534 (_AS_RUN): Move it here, support testing with eval.
4535 (AS_REQUIRE_SHELL_FN): Require shell functions when
4537 (_AS_LINENO_WORKS): Put around braces, we do not
4538 trigger the bash bug anymore.
4539 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
4540 use AS_INIT_WITH_SHELL_FN.
4541 * bin/autoconf.in, tests/wrapper.in: Regenerated.
4543 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
4545 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
4546 * doc/autoconf.texi: Don't say that the third parameter
4548 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
4549 (AU_DEFUN): Honor the third parameter, create autoupdate
4550 macros with AU_DEFINE.
4551 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
4552 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
4553 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4554 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
4555 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
4556 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
4557 AC_XENIX_DIR): Likewise.
4558 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
4559 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
4560 * lib/autoconf/status.m4: Remove FIXME.
4561 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
4562 that the macro is not present anymore in the updated
4564 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
4567 2004-01-28 Paul Eggert <eggert@twinsun.com>
4569 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
4571 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
4572 2003 (except 1997) to the list of copyright years. This undoes
4573 the 2003-05-22 change, which removed the older years from the list.
4574 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
4576 2004-01-27 Gary V. Vaughan <gary@gnu.org>
4577 Albert Chin-A-Young <china@thewrittenword.com>
4579 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
4580 grep or ggrep program in PATH that accepts as long lines as
4582 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
4584 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
4585 egrep and fgrep respectively if $GREP -E/-F don't work.
4586 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
4587 _AC_PROG_GREP, and AC_PROG_SED.
4588 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
4589 longest input length accepted by a command.
4590 (AC_PROG_SED): Use it.
4591 * doc/autoconf.texi (Particular Programs): Document the changes.
4594 2004-01-27 Paul Eggert <eggert@twinsun.com>
4596 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
4597 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4598 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
4599 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
4601 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
4602 bin/autoconf.in, config/Makefile.in, config/config.guess,
4603 config/config.sub, config/install-sh, config/mdate-sh,
4604 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
4605 lib/Makefile.in, lib/Autom4te/Makefile.in,
4606 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
4607 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
4608 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
4609 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
4610 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
4611 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
4612 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
4613 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
4614 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
4615 tests/actypes.at: Regenerate and/or sync with original
4618 2004-01-26 Paul Eggert <eggert@twinsun.com>
4620 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
4621 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
4622 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
4623 not <inttypes.h>. Problem reported by Tim Mooney in
4624 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
4625 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
4628 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
4629 otherwise "make check" fails because it forbids cmp (I guess
4630 because cmp treats files as binary on DOS-like systems).
4632 * tests/mktests.sh: Update copyright date to 2004, since some tests
4633 have changed in 2004.
4635 2004-01-23 Gary V. Vaughan <gary@gnu.org>
4637 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
4638 non-truncating sed or gsed program in PATH.
4639 * tests/acprograms.at: Add it.
4640 * doc/autoconf.texi (Particular Programs): Document it.
4643 2004-01-15 Paul Eggert <eggert@twinsun.com>
4645 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
4646 -std1 disables some useful extensions on Tru64. Problem reported
4648 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
4650 2004-01-14 Paul Eggert <eggert@twinsun.com>
4652 * doc/autoconf.texi (Programming in M4sh): Document that
4653 AS_MKDIR_P succeeds if the destination is a symbolic link
4654 to an existing directory.
4655 (Limitations of Usual Tools): Note that mkdir -p might not
4656 succeed on symlinks to directories.
4658 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
4660 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
4661 * bin/autoheader.in: Grammar fix in message.
4662 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
4663 Test for dir before calling mkdir -p. (trivial changes)
4665 2004-01-13 Eric Blake <ebb9@byu.net>
4667 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
4668 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
4670 2004-01-10 Jim Meyering <jim@meyering.net>
4672 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
4674 2004-01-09 Paul Eggert <eggert@twinsun.com>
4676 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
4677 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
4678 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
4679 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
4680 AC_COMPILE_IFELSE, since we now assume our caller invokes
4681 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
4682 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
4683 of AC_RUN_IFELSE; this avoids the warning mentioned above.
4684 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
4686 2004-01-07 Paul Eggert <eggert@twinsun.com>
4688 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
4689 `"'...'"`, as it's confusing (and I suspect it may not work on
4690 some platforms). The code was incorrect anyway, as it assumed
4691 that \$ evaluated to itself in that context. Reported by
4692 Alexandre Duret-Lutz.
4694 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
4696 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
4697 and _LT_AC_TAGCONFIG.
4699 2004-01-06 Paul Eggert <eggert@twinsun.com>
4701 * doc/autoconf.texi (One Macro Call): Fix an incorrect
4702 example, and add more examples. Reported by Eric Sunshine.
4704 2004-01-05 Paul Eggert <eggert@twinsun.com>
4706 * doc/autoconf.texi (Limitations of Usual Tools):
4707 Remove warning against "rm -fr" introduced yesterday; it
4710 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
4711 autoscan, autoupdate, ifnames): Don't use chmod -w.
4712 * lib/Makefile.am (autom4te.cfg): Likewise.
4713 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
4716 2004-01-04 Paul Eggert <eggert@twinsun.com>
4717 Paolo Bonzini <bonzini@gnu.org>
4719 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
4720 by doing lineno substitution only on lines containing "$LINENO".
4722 2004-01-04 Paul Eggert <eggert@twinsun.com>
4724 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
4725 Use "rm -f" to remove conftest.sed, not plain "rm".
4726 Bug reported by David Relson in
4727 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
4729 * Makefile.am (autom4te-update):
4730 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
4731 * Makefile.maint (my-distcheck, do-po-update): Likewise.
4732 * doc/autoconf.texi (Guidelines): Likewise.
4733 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
4734 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
4735 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4736 * lib/autotest/general.m4 (AT_INIT): Likewise.
4737 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
4738 * tests/Makefile.am (clean-local): Likewise.
4739 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
4741 * doc/autoconf.texi (Limitations of Usual Tools):
4742 Warn against "rm -fr".
4744 2004-01-03 Paul Eggert <eggert@twinsun.com>
4746 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
4747 -c -o might not work. From a suggestion by Kevin Ryde.
4748 (C Compiler, Generating Sources, Limitations
4749 of Usual Tools, Limitations of Make, Making testsuite Scripts):
4750 Don't put '-o' after non-options, as POSIX doesn't allow this.
4751 Mention that cc's name might be gcc or c89 or whatever.
4753 2004-01-04 Kevin Ryde <user42@zip.com.au>
4755 * doc/autoconf.texi: Add various further index entries.
4757 2003-12-29 Paul Eggert <eggert@twinsun.com>
4759 * bin/autoreconf.in (autoreconf_current_directory):
4760 Fix typo: mkdir without umask arg.
4762 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
4764 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
4765 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
4766 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
4767 explanation clearer.
4769 2003-12-24 Andreas Schwab <schwab@suse.de>
4771 * doc/autoconf.texi (Default Includes): Fix misspelling of
4772 AC_INCLUDES_DEFAULT.
4774 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
4776 * configure.ac: Test if sh -n works.
4777 * configure: Regenerate.
4778 * tests/atlocal.in: Store the result here.
4779 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
4780 tools.at, looking in atlocal's ac_cv_sh_n_works instead
4781 of explicitly testing.
4782 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
4783 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
4784 * tests/tools.at (Syntax of the shell scripts): Simplify
4785 using AT_CHECK_SHELL_SYNTAX.
4786 (Syntax of the Perl scripts): Remove definition of
4787 AT_CHECK_PERL_SYNTAX.
4789 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
4791 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
4792 stderr to /dev/null.
4793 * bin/autoconf.in: Regenerate.
4794 * bin/wrapper.in: Regenerate.
4796 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
4798 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
4799 Extracted from AS_SHELL_SANITIZE.
4800 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
4802 (AS_SHELL_SANITIZE): Move reinvocation code from
4803 _AS_LINENO_WORKS, use it to find out if shell
4805 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
4807 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
4808 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
4810 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
4811 * bin/autoconf.in: Regenerate.
4812 * tests/wrapper.in: Regenerate.
4813 * tests/tools.at: Test the syntax of tests/autoconf
4814 and tests/testsuite.
4816 2003-11-24 Akim Demaille <akim@epita.fr>
4818 * config/announce-gen (&print_locations, &print_signatures)
4821 No longer rely on Gnus to inline the list of signatures: compute
4824 2003-11-24 Akim Demaille <akim@epita.fr>
4826 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
4827 override some files.
4828 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
4829 From Debian Autoconf 2.58.
4831 2003-11-24 Akim Demaille <akim@epita.fr>
4833 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
4835 From Debian Autoconf 2.58.
4837 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4839 * TODO: Remove already done things. Update the part about finding
4840 tools for the target.
4842 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4844 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
4845 Make wording more consistent.
4846 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4847 Explain the transition better.
4848 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
4849 the transition better.
4851 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4853 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
4854 parameter of AU_DEFUN.
4855 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
4856 (AU_DEFUN): Remove the third parameter, it was not used.
4857 Use AC_DEFUN directly, not AU_DEFINE.
4858 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
4859 the expanded body, consistently with other macros such as AC_USG.
4861 2003-11-17 Paul Eggert <eggert@twinsun.com>
4863 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
4864 into the initial confdefs.h, to work around a bug in NextStep 3.3
4865 patch 3 reported by Eric Sunshine.
4867 2003-11-15 Kevin Ryde <user42@zip.com.au>
4869 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
4870 than $target since the latter is not usual, add guidelines on when to
4871 use or not use the system type.
4873 2003-11-12 Derek Price <derek@ximbiot.com>
4875 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
4876 typo misrepaired by an auto-spellcheck.
4878 2003-11-12 Akim Demaille <akim@epita.fr>
4880 * bin/autoreconf.in (&parse_args): Don't call automake with
4881 --force-missing unless it actually supports it.
4882 From Debian #219336.
4884 2003-11-12 Akim Demaille <akim@epita.fr>
4886 * configure.ac: Bump to 2.59a.
4889 2003-11-06 Akim Demaille <akim@epita.fr>
4893 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
4895 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
4896 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
4897 and ac_abs_top_srcdir are absolute paths.
4898 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
4900 2003-11-05 Akim Demaille <akim@epita.fr>
4902 * configure.ac: Bump to 2.58a.
4904 2003-11-05 Kevin Ryde <user42@zip.com.au>
4906 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
4907 it provokes a warning from makeinfo about looking like a cross
4908 reference in info output.
4910 * doc/autoconf.texi (Function Portability): Add notes on signal
4911 handler return type, as per AC_TYPE_SIGNAL.
4913 2003-11-04 Akim Demaille <akim@epita.fr>
4916 * doc/standards.texi: Update from master.
4918 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
4920 2003-11-04 Akim Demaille <akim@epita.fr>
4922 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
4923 computing the absolute path to d1 in the source hierarchy: it may
4924 not exist at all. So don't cd into it.
4925 From Alexandre Duret-Lutz.
4926 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
4928 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
4929 From Paul Eggert, but named after Perl's IO::Spec->catfile.
4930 * doc/autoconf.texi (Programming in M4sh): Document.
4931 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
4933 2003-11-03 Pavel Roskin <proski@gnu.org>
4935 * doc/autoconf.texi (Generic Structure Checks): Describe
4936 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
4938 2003-10-31 Akim Demaille <akim@epita.fr>
4940 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
4942 * doc/autoconf.texi (Language Choice): Document.
4943 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
4944 the current language is Fortran.
4946 2003-10-31 Akim Demaille <akim@epita.fr>
4948 * bin/autom4te.in (&freeze): Use a less likely warning separator
4949 than `\n\n', so that `\n\n\n' is valid in warnings.
4950 Reported by Steve Huston.
4952 2003-10-28 Akim Demaille <akim@epita.fr>
4954 * Makefile.cfg (local_updates, executable-update): Tweak to be
4955 robust to parallel makes.
4956 Suggested by Alexandre Duret-Lutz.
4958 2003-10-27 Akim Demaille <akim@epita.fr>
4960 * Makefile.cfg (executable-update): New.
4961 (local_updates): Call it.
4963 2003-10-27 Akim Demaille <akim@epita.fr>
4965 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
4966 Don't remove core.* as it may remove valid user files.
4967 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
4968 (AC_FUNC_UTIME_NULL): Likewise.
4970 2003-10-23 Akim Demaille <akim@epita.fr>
4973 * config/config.guess, config/config.sub: Upgrade from masters.
4975 2003-10-23 Akim Demaille <akim@epita.fr>
4977 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
4978 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
4981 2003-10-23 Akim Demaille <akim@epita.fr>
4983 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
4984 Don't forget to remove conftest.err.
4986 2003-10-23 Akim Demaille <akim@epita.fr>
4988 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
4989 same object file in $LIBOBJS.
4990 Reported by Alexandre Duret-Lutz & Derek Robert Price.
4991 * doc/autoconf.texi (Generic Functions): Adjust.
4993 2003-10-20 Paul Eggert <eggert@twinsun.com>
4995 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
4996 Use 'eval', so that the resulting configure scripts work even if
4997 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
4999 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
5001 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
5002 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
5003 (_AC_LINK_IFELSE): Check the werror flag.
5004 * doc/autoconf.texi (Generic Compiler Characteristics): Document
5008 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
5010 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
5011 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
5012 override AC_LINK_IFELSE.
5014 2003-10-15 Paul Eggert <eggert@twinsun.com>
5016 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
5017 pdksh 5.2.14. Bug reported by Ralf Corsepius.
5018 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
5019 Mention /usr/dt/bin/dtksh on Solaris.
5020 (Shell Substitutions): Warn about $((...)).
5021 (Parentheses): New section.
5023 2003-10-15 Kevin Ryde <user42@zip.com.au>
5025 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
5026 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
5028 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
5030 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
5033 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
5035 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
5036 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
5038 2003-10-10 Andreas Schwab <schwab@suse.de>
5040 * bin/autoheader.in: Avoid empty first line in --version and
5042 * bin/ifnames.in: Likewise.
5044 2003-10-09 Paul Eggert <eggert@twinsun.com>
5046 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
5047 Issue a more-informative diagnostic.
5048 Problems reported by Eric Sunshine.
5050 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
5052 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
5053 -mGLOB_options_string stuff for Intel ifc, which can cause
5054 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
5055 pattern-matching instead of grep.
5057 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
5059 * doc/autoconf.texi: Document new FC Fortran macros.
5061 2003-10-08 Gary V. Vaughan <gary@gnu.org>
5063 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
5064 that future autopoint/aclocal/automake/autoreconf will be able
5065 to trace to find where to install local m4 macros.
5066 * doc/autoconf.texi (Input): Document it.
5069 2003-10-06 Gary V. Vaughan <gary@gnu.org>
5071 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
5072 -lcrtbegin.o to list of ignored flags and fix underquoting of
5075 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
5077 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
5078 cache variable instead of $G77 to decide whether to include -O2,
5079 since $G77 is specific to Fortran 77.
5081 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
5083 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
5084 free" flag. Re-order flags tested into rough order of popularity.
5086 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
5088 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
5089 arguments so that it can be used with syntax identical to
5090 AC_PROG_F77, and so that we can more easily decide to
5091 remove/deprecate the DIALECT optional argument in the future if it
5093 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
5094 non-freeform-supporting compilers. Document freeform flags.
5096 2003-10-03 Akim Demaille <akim@epita.fr>
5098 * configure.ac: Look for emacs, not macs.
5099 Reported by Eric Sunshine.
5101 2003-10-03 Akim Demaille <akim@epita.fr>
5103 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
5104 * bin/autoreconf.in (autoreconf_current_directory): Create the
5105 AUX_DIR if needed, for sake of automake --add-missing etc.
5106 Suggested by Alexandre Duret-Lutz.
5108 2003-10-03 Akim Demaille <akim@epita.fr>
5110 * configure.ac: Quotation and formatting changes.
5111 (EMACS): Don't set it if it is not recent enough to support
5115 2003-10-02 Akim Demaille <akim@epita.fr>
5117 * bin/ifnames.in (&scan_file): Skip C++ comments.
5120 2003-10-01 Pavel Roskin <proski@gnu.org>
5122 * doc/autoconf.texi (Particular Structure Checks):
5123 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
5125 2003-10-01 Akim Demaille <akim@epita.fr>
5129 2003-09-30 Paul Eggert <eggert@twinsun.com>
5131 * lib/Autom4te/XFile.pm: Use Errno.
5132 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
5133 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
5135 2003-09-30 Akim Demaille <akim@epita.fr>
5137 * config/announce-gen (&print_news_deltas): Extracted from...
5138 (&print_changelog_deltas): here.
5139 (&news_file): Rename as...
5142 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
5144 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
5145 have been created when invoking the compiler.
5146 * tests/fortran.at (GNU Fortran 77): Quote $G77.
5148 2003-09-29 Akim Demaille <akim@epita.fr>
5152 * config/mkinstalldirs: Upgrade.
5154 2003-09-28 Paul Eggert <eggert@twinsun.com>
5156 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
5157 Problem reported by Lars J. Aas in
5158 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
5159 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
5160 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
5161 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
5163 2003-09-26 Akim Demaille <akim@epita.fr>
5165 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
5166 directory for AC_CONFIG_COMMANDS' first argument exists.
5167 This makes valid the invocation of _AC_SRCPATH that follows.
5168 Reported by Eric Sunshine.
5169 * doc/autoconf.texi (Configuration Commands): Adjust.
5171 2003-09-26 Akim Demaille <akim@epita.fr>
5173 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
5174 Reported by Ralf Corsepius.
5176 2003-09-26 Akim Demaille <akim@epita.fr>
5178 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
5180 Actually, use AU_ALIAS.
5183 2003-09-26 Paul Eggert <eggert@twinsun.com>
5185 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
5186 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
5187 Problem reported by Eric Sunshine in:
5188 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
5190 2003-09-26 Akim Demaille <akim@epita.fr>
5192 The test suite are sometimes assigning timings incorrectly.
5193 Reported by Henk Krus.
5194 Diagnosed by Nicolas Joly.
5196 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
5198 Instead of making AT_help a sequence of assignments to grow
5199 $at_help_all, just make AT_help_all be the growing contents of
5200 $at_help_all, and make a single assignment in...
5202 (at_times_skip): Flip the meaning and rename as...
5204 (AT_INIT): When summarizing the test that ran, remove
5205 $at_times_file after use, and check it is present before trying to
5208 2003-09-25 Akim Demaille <akim@epita.fr>
5212 * bin/Makefile.am (edit): Handle '@configure_input@'.
5213 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
5214 (ifnames): chmod -w.
5215 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
5216 executables, not bin/ executables! Otherwise all the magic needed
5217 to find non installed files is turned off. This caused a failure
5218 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
5219 as found in its environment (sent by tests/autoreconf): pointing
5220 to bin/autom4te that could not find its files.
5221 * tests/mktests.sh: Force the replacement of generated files, for
5222 the sake of "mv" program that are interactive when overwriting a
5224 * config/install-sh: Upgrade from CVS Automake.
5226 2003-09-23 Paul Eggert <eggert@twinsun.com>
5228 * doc/autoconf.texi (Limitations of Builtins): Document test -h
5229 versus test -L issues.
5231 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
5232 Paul Eggert <eggert@twinsun.com>
5234 Trivial change to support GCC's configuration procedure.
5235 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
5236 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
5237 about inconsistency if the preprocessor is set to give errors for
5239 * doc/autoconf.texi (C Compiler Characteristics): Document this.
5241 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
5243 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
5244 and XFile.pm from Automake.
5245 * lib/Autom4te/XFile.pm: Update from Automake.
5247 2003-09-12 Akim Demaille <akim@epita.fr>
5251 2003-09-12 Akim Demaille <akim@epita.fr>
5253 * config/config.guess, config/config.sub, config/missing,
5254 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
5257 2003-09-12 Akim Demaille <akim@epita.fr>
5259 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
5262 2003-09-11 Akim Demaille <akim@epita.fr>
5264 * doc/autoconf.texi (Header Portability): linux/random.h.
5265 From Peter Hendrickson.
5267 2003-09-10 Akim Demaille <akim@epita.fr>
5269 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
5270 willing to edit the output files.
5272 2003-09-10 Akim Demaille <akim@epita.fr>
5274 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
5276 * tests/mktests.sh: Skip AC_FC_SRCEXT.
5277 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
5279 2003-09-09 Akim Demaille <akim@epita.fr>
5281 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
5282 Reported by Gary Vaughan.
5283 * bin/autom4te.in (handle_m4): Likewise.
5285 2003-09-09 Akim Demaille <akim@epita.fr>
5287 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
5290 2003-09-07 Paul Eggert <eggert@twinsun.com>
5292 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
5293 Improve the accuracy of the wording about obsolescence.
5294 From a suggestion by Ian Lance Taylor in
5295 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
5297 2003-09-05 Paul Eggert <eggert@twinsun.com>
5299 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
5300 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
5302 2003-09-04 Akim Demaille <akim@epita.fr>
5304 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
5307 2003-09-04 Akim Demaille <akim@epita.fr>
5309 * bin/autom4te.in: Use &fatal where more appropriate than &error.
5310 (freeze): When exiting, use $exit_code.
5311 * lib/autoconf/fortran.m4: Comment changes.
5313 2003-09-04 Akim Demaille <akim@epita.fr>
5315 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
5317 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
5319 Add support for newer Fortran dialects. The F77 interface is
5320 unchanged, and continues to support Fortran 77. New FC macros
5321 correspond to all the old F77 macros, with output variables FC,
5322 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
5323 available dialect, but older dialects can be specified. There are
5324 new macros AC_FC_SRCEXT to set the source extension, and
5325 AC_FC_FREEFORM to accept free-form source files.
5327 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
5329 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
5330 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
5331 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
5332 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
5333 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
5334 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
5335 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
5336 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
5337 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
5338 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
5339 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
5340 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
5341 AC_FC_SRCEXT, AC_FC_FREEFORM):
5343 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
5344 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
5345 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
5346 Rewrite in terms of the above.
5347 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
5348 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
5349 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
5350 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
5352 2003-09-02 Paul Eggert <eggert@twinsun.com>
5354 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
5355 Document problems with timestamp resolution that 'make', 'cp -p', and
5358 2003-08-27 Akim Demaille <akim@epita.fr>
5360 * tests/m4sugar.at (cross_warning): Make sure to enable the
5361 output, so that we can track spurious m4sugar output.
5362 * tests/local.at: Require 2.57.
5363 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
5364 are defaulted by AT_CHECK anyway.
5365 Use AT_CHECK_AUTOM4TE.
5366 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
5369 2003-08-27 Akim Demaille <akim@epita.fr>
5371 * bin/autoheader.in: Issue the "Using auxiliary..." message only
5372 when -Wobsolete is set.
5373 Set it on by default.
5374 Suggested by Klee Dienes.
5376 2003-08-27 Akim Demaille <akim@epita.fr>
5378 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
5382 2003-08-26 Akim Demaille <akim@epita.fr>
5384 * doc/autoconf.texi (Output): Make clear that one can run code
5387 2003-08-25 Akim Demaille <akim@epita.fr>
5389 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
5392 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
5394 * bin/autoreconf.in (parse_args): Do not pass --no-force to
5395 Automake versions prior to 1.8.
5397 2003-08-25 Akim Demaille <akim@epita.fr>
5399 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
5402 2003-08-24 Akim Demaille <akim@epita.fr>
5404 * configure.ac: Bump to 2.57c.
5406 2003-08-22 Akim Demaille <akim@epita.fr>
5410 * Makefile.cfg (local-checks-to-skip): New.
5411 * Makefile.maint (local-check): Rename as...
5412 (local-checks-available): this.
5415 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
5416 * configure.ac: Require Automake 1.7.6.
5418 2003-08-22 Akim Demaille <akim@epita.fr>
5420 Output stack traces in warnings.
5422 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
5423 Replace the former...
5424 (m4_warn): Pass the call stack to _m4_warn.
5425 * bin/autom4te.in: Adjust to output the call stack.
5426 * tests/m4sugar.at (m4@&t@_warn): Adjust.
5428 2003-08-22 Akim Demaille <akim@epita.fr>
5430 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
5431 * bin/autom4te.in: Adjust.
5433 2003-08-21 Akim Demaille <akim@epita.fr>
5435 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
5437 (&getopt): Adjust the note and verb channels, depending upon
5439 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
5440 * bin/autoupdate.in: Adjust.
5441 Use &verb, not &verbose.
5443 2003-08-21 Akim Demaille <akim@epita.fr>
5445 * bin/autoheader.in (&parse_args): Use &parse_warnings and
5447 ($help): Use Autom4te::ChannelDefs::usage.
5448 * bin/autoscan.in: Use Autom4te::ChannelDefs.
5449 * lib/Autom4te/General.pm: Don't export error: you don't own it.
5451 2003-08-21 Akim Demaille <akim@epita.fr>
5453 First stab at preserving warnings between calls to autom4te,
5454 including when the cache is used.
5456 There are still several issues: (i) there are too many runs of m4
5457 (one for include, one for warnings, and some more), (ii) warnings
5458 spreading on several lines are not handled gracefully, (iii) the
5459 code meant to have the call stack display for errors does not work
5460 (its handling should move from m4 to autom4te).
5462 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
5464 (@preselect): Add m4_warn.
5465 ($exit_status): Remove, use $exit_code.
5466 ($help): Use Autom4te::ChannelDefs::usage.
5467 (&handle_m4): No longer define the m4_warnings.
5468 At each run, extract and report the warnings.
5469 Always cache the result, including if the exit status is on
5470 failure, since if nothing changes, we should result in the same
5471 failure, hence we can use the cache.
5472 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
5473 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
5475 (m4_warn): Redefine as a do-nothing: it is its invocation that
5476 matters, as warnings are now reported via traces.
5477 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
5478 the contents of m4_warn: make it _call_ m4_warn, so that tracing
5479 the latter reveals calls to the former.
5483 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
5485 2003-08-21 Akim Demaille <akim@epita.fr>
5487 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
5490 2003-08-21 Akim Demaille <akim@epita.fr>
5492 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
5494 * lib/Autom4te/ChannelDefs.pm: Doc typos.
5495 (&parse_warnings): Accept a list of warning requests.
5496 (&usage): Return a string, not a side effect.
5497 (cross): New warning category.
5499 2003-08-21 Akim Demaille <akim@epita.fr>
5501 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
5502 (&require_configure_ac): Accept an optional directory argument.
5503 ($configure_ac): Remove.
5504 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
5506 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
5507 * bin/autoscan.in: Adjust.
5509 2003-08-20 Akim Demaille <akim@epita.fr>
5511 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
5512 Reported by Alexandre Duret-Lutz.
5514 2003-08-20 Akim Demaille <akim@epita.fr>
5516 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
5517 * bin/autom4te: Adjust.
5518 In particular, be Autoconf tools are really silent when properly
5519 working, bind the verbosity of the 'note' channel to $verbose.
5520 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
5521 (&xsystem, &contents): Remove, since they are exported by...
5522 * lib/Autom4te/FileUtils.pm: this.
5524 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
5525 * lib/Autom4te/FileUtils.pm: here.
5527 2003-08-20 Akim Demaille <akim@epita.fr>
5529 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
5530 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
5533 2003-08-20 Akim Demaille <akim@epita.fr>
5535 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
5536 (autom4te-update): New.
5537 * Makefile.cfg (update): Bind autom4te-update.
5539 2003-08-19 Derek Price <derek@ximbiot.com>
5541 * lib/autotest/general.m4: Comment various HELP_* diversions.
5542 (PARSE_ARGS_BEGIN): New section for option parsing related
5544 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
5545 package specific options and associated help.
5547 2003-08-19 Akim Demaille <akim@epita.fr>
5549 * config/announce-gen, Makefile.cfg: New.
5550 * Makefile.am: Adjust.
5551 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
5553 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
5555 * lib/autom4te.in (Automake-preselections): Preselect
5556 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
5559 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
5561 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
5562 (Autoconf-without-aclocal-m4): ... this new language.
5563 * doc/autoconf.texi (autom4te Invocation): Mention
5564 Autoconf-without-aclocal-m4.
5566 2003-08-18 Derek Price <derek@ximbiot.com>
5568 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
5569 RUN-IF-PASS optional arguments.
5571 2003-08-18 Derek Price <derek@ximbiot.com>
5573 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
5575 2003-08-16 Derek Price <derek@ximbiot.com>
5577 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
5578 STDOUT & STDERR arguments.
5580 2003-08-14 Derek Price <derek@ximbiot.com>
5582 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
5583 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
5584 shorter column three. Add DESCRIPTION to log file content.
5586 2003-08-13 Derek Price <derek@ximbiot.com>
5588 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
5591 2003-08-12 Derek Price <derek@ximbiot.com>
5593 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
5594 (AT_CHECK_NOESCAPE): Move core functionality to...
5595 (_AT_CHECK): ...this new macro.
5597 2003-08-07 Derek Price <derek@ximbiot.com>
5599 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
5600 (AT_CHECK_NOESCAPE): ...to this new macro.
5602 2003-07-31 Paul Eggert <eggert@twinsun.com>
5604 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
5605 in Bash 2.01. Problem reported by Brian Gough in
5606 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
5608 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
5610 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
5611 -lcrt1.o, for OS X. (trivial change)
5613 2003-07-07 Paul Eggert <eggert@twinsun.com>
5615 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
5616 inside '#ifndef __cplusplus'. Problem reported by
5619 2003-07-06 Bill Clarke <llib@computer.org>
5621 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
5622 'long', not 'int', for benefit of Sun's recent C++ compilers
5623 (trivial change). See:
5624 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
5625 (This really should be 'intptr_t', not 'long', but that would
5628 2003-06-25 Akim Demaille <akim@epita.fr>
5630 * lib/Makefile.am (autom4te.cfg): Make it read only.
5631 Depend on Makefile since it contains substitutions.
5633 * lib/autom4te.in (args): Add local.at? for Autotest args.
5634 This change was made on autom4te.cfg which is generated.
5635 Reported by Raja R. Harinath.
5637 2003-06-25 Akim Demaille <akim@epita.fr>
5639 * doc/autoconf.texi (Header Portability): sys/mount.h.
5640 From Gareth McCaughan.
5642 2003-06-23 Akim Demaille <akim@epita.fr>
5644 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
5645 not all of them. This fixes 1. the fact that when testing
5646 Autoconf there are many many config.log, 2. the incorrect use of
5647 top_srcdir to find config.log.
5648 Don't mix the detailed output of failed test with the summary of
5649 failures. Rather, append detailed log afterwards.
5651 2003-06-23 Akim Demaille <akim@epita.fr>
5653 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
5654 always run: output config.log on $at_group_log.
5656 2003-06-23 Akim Demaille <akim@epita.fr>
5658 * tests/torture.at (#define header templates): Don't use quotes in
5659 C++ comments as it puzzles Emacs' sh font-lock-mode.
5661 2003-06-23 Akim Demaille <akim@epita.fr>
5663 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
5664 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
5665 * tests/atspecific.m4: Rename as...
5666 * tests/local.at: This.
5667 * tests/suite.at: Move the globals into...
5668 * tests/local.at: here.
5669 * tests/Makefile.am: Adjust.
5670 * doc/autoconf.texi (testsuite Scripts): Adjust.
5672 2003-06-21 Kevin Ryde <user42@zip.com.au>
5674 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
5675 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
5676 ensuring we add -std1 for full-ANSI.
5678 * doc/autoconf.texi (hdrindex): New macro.
5679 Add index entries for portability of various standard header files.
5681 2003-06-20 Akim Demaille <akim@epita.fr>
5683 * configure.ac: Bump to 2.57b.
5685 2003-06-20 Akim Demaille <akim@epita.fr>
5689 2003-06-20 Akim Demaille <akim@epita.fr>
5691 * bin/autom4te.in: Don't rely on $HOME being defined.
5692 Reported by Marc Espie as PR/233.
5694 2003-06-20 Akim Demaille <akim@epita.fr>
5696 * lib/autotest/general.m4: Use at_times_file only if used.
5699 2003-06-20 Akim Demaille <akim@epita.fr>
5701 * config/config.guess, config/config.sub, config/elisp-comp,
5702 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
5703 Update from masters.
5705 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
5707 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
5708 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
5709 (TEST_SCRIPT): New diversion.
5710 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
5711 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
5712 (AT_INIT): Support for expected failures.
5714 2003-06-02 Akim Demaille <akim@epita.fr>
5716 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
5718 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
5719 Autoconf nor Automake.
5720 (&contents): New, from Automake.
5723 2003-05-28 Paul Eggert <eggert@twinsun.com>
5725 * NEWS, doc/autoconf.texi (Particular Functions),
5726 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
5727 is the inverse of localtime.
5729 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
5731 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
5732 (handle_exec_errors): New function. Work around $! being
5733 altered by WEXITSTATUS.
5734 (xqx, xsystem): Use handle_exec_errors.
5736 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
5738 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
5739 Do not call `_exit()', simply modify `$?'.
5740 (xsystem): Reset $! before running system, and check it afterward.
5741 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
5742 63 for version mismatches.
5744 2003-05-23 Akim Demaille <akim@epita.fr>
5746 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
5747 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
5748 the middle of a line).
5749 * lib/m4sugar/m4sugar.m4: Likewise.
5750 Remove useless spaces in comments.
5752 2003-05-23 Akim Demaille <akim@epita.fr>
5754 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
5755 exit 63, so that we (or Automake's "missing") can tell the
5756 difference with a plain failure.
5757 * doc/autoconf.texi (Notices): Adjust.
5759 2003-05-23 Akim Demaille <akim@epita.fr>
5761 * Makefile.am, bin/Makefile.am, config/Makefile.am,
5762 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
5763 White spaces cleanup.
5765 2003-05-22 Jim Meyering <jim@meyering.net>
5766 Paul Eggert <eggert@twinsun.com>
5768 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
5769 Remove `#include <stdlib.h>' from the list; we should never
5770 make confdefs.h include <stdlib.h> or <cstdlib>, because the
5771 resulting namespace pollution would cause other tests to fail.
5772 Configure scripts run with some older versions of g++ and HP's
5773 aCC would fail due to such an #include. Problems reported by
5774 Matthew Mueller in <http://bugs.debian.org/120704> and by
5776 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
5777 In the test, use the test declaration before including <stdlib.h>,
5778 as that's closer to how it'll be used.
5780 2003-05-23 Akim Demaille <akim@epita.fr>
5782 * doc/autoconf.texi (Header Portability): ucred.h.
5785 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
5787 Overhaul Autotest's logging: generate separate log files
5788 in testsuite.dir/NNN/testsuite.log, and append them to
5789 testsuite.log instead of re-running the test verbosely.
5791 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
5792 file descriptor, write 0 to at_status_file instead of setting
5793 at_status=0, initialize some new variables (at_status_file,
5794 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
5795 to rerun the tests, instead append the at_group_log to the
5796 at_suite_log when a test fails.
5797 (AT_SETUP): pipe the test case's output into at_tee_pipe,
5798 with the AS_MESSAGE_LOG_FD redirected to stdout.
5799 (AT_CLEANUP): save the output status in $at_status_file
5800 and restore it, redirect the AS_MESSAGE_LOG_FD back to
5802 (AT_CHECK): since tests are run with a redirected stdout,
5803 and used to be re-run in verbose mode, turn some $at_verbose
5804 into echo, and don't redirect the output of testing stdout
5807 * lib/autotest/autoconf.texi (testsuite Scripts): Update
5808 the name of the debugging directory and information about
5811 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
5813 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
5816 2003-05-22 Akim Demaille <akim@epita.fr>
5818 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
5819 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
5820 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
5821 * lib/autoconf/status.m4: Fix and adjust copyright notices.
5823 2003-05-22 Akim Demaille <akim@epita.fr>
5825 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
5826 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
5827 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5828 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
5829 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
5830 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5831 * lib/autoconf/status.m4, lib/autoconf/types.m4,
5832 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
5833 * tests/atspecific.m4, tests/base.at, tests/compile.at,
5834 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
5835 * tests/tools.at, tests/torture.at:
5836 Whitespace clean up.
5837 Suggested by Jim Meyering.
5839 2003-05-22 Akim Demaille <akim@epita.fr>
5841 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
5842 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
5843 Reported by Jim Meyering.
5845 2003-05-22 Akim Demaille <akim@epita.fr>
5847 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
5848 Add AC_HELP_STRING to the obsolete macros section.
5850 Use '@.' for sentences that ended in a capital letter.
5853 2003-05-22 Akim Demaille <akim@epita.fr>
5855 * config/config.guess, config/config.sub, config/elisp-comp,
5856 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
5857 * config/texinfo.tex, doc/standards.texi: Update from masters.
5859 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
5861 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
5864 2003-05-21 Akim Demaille <akim@epita.fr>
5866 * bin/autoupdate.in ($m4): Fix quotation.
5867 Reported by Martin Mokrejs.
5869 2003-05-19 Paul Eggert <eggert@twinsun.com>
5871 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
5872 Remove non-ASCII characters.
5874 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
5876 * tests/semantics.at (AC_SEARCH_LIBS): New test.
5877 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
5878 AC_CHECK_HEADERS_NEW): New tests.
5880 2003-05-17 Akim Demaille <akim@epita.fr>
5882 * lib/autoconf/functions.m4: Use the default includes so that
5883 memcmp be declared before being tested.
5884 Reported by Sander Niemeijer.
5885 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
5886 * doc/autoconf.texi (Default Includes): Document
5887 AC_INCLUDES_DEFAULT.
5889 2003-05-17 Akim Demaille <akim@epita.fr>
5891 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
5892 * doc/autoconf.texi (Obsolete Macros): Adjust.
5893 Reported by Werner LEMBERG and Debian Bug 190886.
5895 2003-05-16 Akim Demaille <akim@epita.fr>
5897 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
5898 user name space clashes.
5899 Reported by Bruno Haible.
5901 2003-05-16 Akim Demaille <akim@epita.fr>
5903 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5904 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
5905 them uniform, and more robust to Perl special characters.
5906 Reported by Martin Mokrejs.
5908 2003-05-14 Akim Demaille <akim@epita.fr>
5910 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
5912 2003-05-14 Akim Demaille <akim@epita.fr>
5914 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
5917 2003-05-12 Akim Demaille <akim@epita.fr>
5919 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
5921 From Matthias Andree.
5923 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
5925 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
5928 2003-05-06 Akim Demaille <akim@epita.fr>
5930 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
5931 longer updates aclocal.m4 if useless, (ii) if a file m4_included
5932 by aclocal.m4 is changed it might require the importing of another
5933 m4 extension file, i.e., aclocal must be run.
5935 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
5936 (&parse_args): Use --force with aclocal if required and supported.
5937 (&autoreconf_current_directory): Use &run_aclocal.
5939 2003-05-06 Akim Demaille <akim@epita.fr>
5941 Lock autom4te's cache.
5943 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
5944 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
5945 argument instead of a file name, so that the request file remains
5946 open during the whole autom4te run.
5947 ($icache_file): New.
5948 (&freeze): Lock the $icache_file.
5950 2003-04-29 Derek Price <derek@ximbiot.com>
5952 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
5953 seperator with m4_append_uniq(). It doesn't work.
5954 (AT_CLEANUP): Add `;' to end of at_help_all.
5955 (AT_INIT): Allow --keywords to be specified more than once. When
5956 grepping $at_help_all for keywords, use the field and keyword
5957 seperators to ensure a complete keyword match. Alter at_prev handling
5958 to support the new --keywords behavior.
5960 2003-04-27 Karl Berry <karl@freefriends.org>
5962 * doc/autoconf.texi: Make the dir entries in the autoconf manual
5963 align better with others. I also made some of the individual
5964 entries on one line, for brevity and to make it easier for me to
5965 sort my dir-example file in the Texinfo distribution :).
5967 2003-04-12 Jim Meyering <jim@meyering.net>
5969 * NEWS: Mention the new macro.
5970 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
5971 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
5972 * tests/c.at: Test AC_C_RESTRICT.
5973 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
5975 2003-04-08 Akim Demaille <akim@epita.fr>
5977 * bin/ifnames.in: Skip C++ comments.
5980 2003-04-08 Akim Demaille <akim@epita.fr>
5982 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
5983 From Ilya Zakharevich.
5985 2003-04-08 Akim Demaille <akim@epita.fr>
5987 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
5990 2003-04-01 Derek Price <derek@ximbiot.com>
5992 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
5993 from Akim's checkin of 2003-03-29.
5995 2003-04-01 Derek Price <derek@ximbiot.com>
5997 * tests/torture.at (Configuring subdirectories): Add missing
5998 close-quote for Akim's change from 2003-03-28.
6000 2003-04-01 Akim Demaille <akim@epita.fr>
6002 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
6003 (AC, AT, MS): these.
6004 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
6007 * doc/Makefile.am (CLEANFILES): Adjust.
6008 (TEXI2DVI): Make it --batch.
6010 2003-03-31 Derek Price <derek@ximbiot.com>
6012 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
6013 which removed the main loop.
6014 Thanks to Akim Demaille.
6016 2003-03-29 Akim Demaille <akim@epita.fr>
6018 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
6020 From Ilya Zakharevich.
6022 2003-03-29 Akim Demaille <akim@epita.fr>
6024 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
6025 documentation to read is Autoconf's.
6026 Suggested by Paul Eggert.
6028 2003-03-28 Akim Demaille <akim@epita.fr>
6030 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
6031 reading the section "Present But Cannot Be Compiled" when the
6032 header causes problems.
6034 2003-03-28 Akim Demaille <akim@epita.fr>
6036 * tests/torture.at (Configuring subdirectories): Require aclocal
6037 1.4, otherwise the test fails, as it does support configure.ac.
6038 This fixes the "test 40 failed" bug reports.
6040 2003-03-28 Akim Demaille <akim@epita.fr>
6042 * doc/autoconf.texi (C Compiler): `#line' portability.
6043 From Paul Eggert and Nelson H. F. Beebe.
6045 2003-03-27 Derek Price <derek@ximbiot.com>
6047 * lib/autotest/general.m4: Eliminate main loop and reorganize test
6048 layout in order to allow scripting around test groups.
6050 2003-03-27 Derek Price <derek@ximbiot.com>
6052 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
6053 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
6054 use new diversions in preparation for accepting new arguments and
6055 allowing scripting around tests.
6056 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
6058 2003-03-26 Derek Price <derek@ximbiot.com>
6060 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
6061 obsolete AC_HELP_STRING.
6062 (AC_HELP_STRING): AU_DEFUN to...
6063 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
6064 * tests/m4sh.at (AS_HELP_STRING): New test.
6066 * tests/acgeneral.at: Regenerated.
6068 2003-03-26 Derek Price <derek@ximbiot.com>
6070 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
6071 sense. Verbosify the diversion definitions comment.
6073 2003-03-26 Derek Price <derek@ximbiot.com>
6075 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
6078 2003-03-21 Eric Siegerman <eric_97@pobox.com>
6080 * doc/autoconf.texi (Present But Cannot Be Compiled):
6081 Grammar fixes and minor rewording. (trivial change)
6083 2003-03-06 Paul Eggert <eggert@twinsun.com>
6085 Work around a problem noted by Nelson H. F. Beebe with coreutils
6086 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
6087 2002/05/09) rejects '#line 32768 "configure"' because the line
6089 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
6091 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
6092 * doc/autoconf.texi (Generating Sources): Document this.
6094 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
6096 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
6097 file name for the m4 program, when it has an "exe" file extension.
6098 DJGPP's error messages include the error code in brackets -
6099 remove the error code during normalization.
6101 2003-02-28 Akim Demaille <akim@epita.fr>
6103 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
6105 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
6107 * doc/autoconf.texi (Limitations of Make): Remove the section
6108 about `$<' in inference rules, it was a bogus interpretation of
6109 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
6110 Tru64 make in the "target lookup" section.
6111 (Automake): Automake 1.5+ no longer requires special tools to be
6112 present on the developer's host.
6114 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
6116 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
6117 to a shell that can handle redirection or quoting correctly.
6118 Override SHELL with the shell detected by configure.
6119 Use of $^O suggested by Tim van Holder.
6120 * bin/autom4te.in (BEGIN): Likewise.
6121 * bin/autoreconf.in (BEGIN): Likewise.
6122 * bin/autoscan.in (BEGIN): Likewise.
6123 * bin/autoupdate.in (BEGIN): Likewise.
6124 * bin/ifnames.in (BEGIN): Likewise.
6126 * bin/ifnames.in: Add final newline to help and version messages.
6128 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
6129 to cope with DOS-style absolute paths, when constructing
6132 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
6133 When constructing paths with IFS=:, quote the path. If we're
6134 constructing a DOS-style absolute path, we don't want to split it
6137 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
6140 2003-02-25 Pavel Roskin <proski@gnu.org>
6142 * bin/autoheader.in: Add missing newline when printing
6143 suggestion how change AC_DEFINE call.
6145 2003-02-24 Paul Eggert <eggert@twinsun.com>
6147 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
6148 2002-09-01 patch by replacing "test -n" with "test -z".
6149 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
6150 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
6152 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
6153 to fix a mismatch between example and discussion.
6155 2003-02-24 Kevin Ryde <user42@zip.com.au>
6157 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
6158 format starting with "-".
6160 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
6162 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
6163 is not portable inside Makefile.
6165 2003-02-20 Akim Demaille <akim@epita.fr>
6167 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
6168 compiler says yeah, but preproc says nope, compiler is right.
6169 Conversely, prompt the reader to send a bug report to the
6170 maintainers of the package, not of Autoconf.
6172 2003-02-20 Klee Dienes <kdienes@apple.com>
6174 * bin/autoreconf.in (autoreconf_current_directory): Properly
6175 handle an empty aclocal.m4.
6177 2003-02-20 Akim Demaille <akim@epita.fr>
6179 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
6183 2002-12-23 Paul Eggert <eggert@twinsun.com>
6185 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
6186 innocuous variant befor including <limits.h> or <assert.h>. This
6187 works around a bug reported by Albert Chin: HP-UX 11i
6188 (and earlier versions) have a <limits.h> that declares
6189 gettimeofday and many other functions.
6191 2002-12-03 Paul Eggert <eggert@twinsun.com>
6195 * NEWS, configure.ac: Update version.
6197 * doc/fdl.texi: Upgrade to FDL version 1.2.
6199 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
6200 nontrivially in main's body, so that f's external declaration is
6201 not optimized away in AIX. This should fix the bug reported by
6203 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
6205 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
6206 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
6207 defined, to support freestanding compilers. This should fix the
6208 bug reported by Momchil Velkov in
6209 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
6211 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
6212 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
6213 obsolete AC_CHECK_TYPE. The missing empty arg was reported
6214 by Simon Josefsson in
6215 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
6217 * Makefile.maint (www-gnu): New macro.
6218 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
6219 the location has moved.
6221 2002-12-02 Martin Frydl <martin@systinet.com>
6223 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
6224 \(.*\) match is too long and there is something more to be checked.
6225 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
6227 2002-11-15 Akim Demaille <akim@epita.fr>
6231 * config/install-sh: chmod +x.
6233 * config/move-if-change: Indenting changes.
6234 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
6235 * configure.ac (AM_INIT_AUTOMAKE): here.
6238 2002-11-14 Akim Demaille <akim@epita.fr>
6242 * config/config.guess, config/config.sub, config/install-sh:
6243 Update from masters.
6245 2002-11-14 Akim Demaille <akim@epita.fr>
6247 * Makefile.maint: Sync with Bison, i.e.:
6248 (po-check): Scan .l and .y files instead of the
6249 .c and the .h files that they generate. This fixes the bug
6250 reported by Tim Van Holder in:
6251 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
6252 Look for N_ as well as for _. Try to avoid matching #define for
6256 2002-11-14 Akim Demaille <akim@epita.fr>
6258 * doc/autoconf.texi (C Compiler): Compiling several files at once.
6259 From Paul Eggert and Albert Chin-A-Young.
6261 2002-11-14 Akim Demaille <akim@epita.fr>
6263 * doc/autoconf.texi (C Compiler): Solitary backslashes.
6264 From Paul Eggert and Albert Chin-A-Young.
6266 2002-11-14 Kevin Ryde <user42@zip.com.au>
6268 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
6269 than assigning in main, to avoid HP cc +O3 optimizing it away.
6271 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
6273 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
6274 option. Process --recheck after parsing all options. Pass -q
6275 option to configure on --recheck.
6276 (AC_OUTPUT): Pass -q from configure to config.status.
6277 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
6278 arguments to record.
6279 * doc/autoconf.texi (config.status Invocation): Document
6280 config.status -q option.
6282 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
6284 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
6285 Makefile.in if Makefile.am exists.
6286 (output): Strip `.am' from Makefiles. Don't
6287 output AC_CONFIG_FILES if no Makefiles were found.
6289 2002-11-07 Akim Demaille <akim@epita.fr>
6291 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
6292 (local_updates): New.
6293 * Makefile.maint: Update, from CVS Bison.
6294 (local_updates): New.
6296 2002-11-06 Akim Demaille <akim@epita.fr>
6298 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
6299 declaration in extern "C" too.
6300 Reported by Roberto Bagnara.
6302 2002-11-06 Akim Demaille <akim@epita.fr>
6304 * tests/torture.at (Configuring subdirectories): Don't use grep
6306 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
6307 Reported by Ezra Peisach.
6309 2002-11-05 Akim Demaille <akim@epita.fr>
6311 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
6313 We _have_ to stop using the old compatibility scheme that tried to
6314 avoid useless backslashes because Libtool 1.4.3 contains a
6315 AC_DEFINE([error_t], [int],
6316 [Define to a type to use for \`error_t' if it is not
6317 otherwise available.])
6318 We _have_ to quote the single quote and backslashes with \. The
6319 old compatibility scheme saw that ` was backslashed, and therefore
6320 did not quote the single quote. Hence before this patch, Autoconf
6321 was not compatible with Libtool.
6323 2002-11-04 Paul Eggert <eggert@twinsun.com>
6325 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
6326 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
6327 LC_NAME, LC_PAPER, LC_TELEPHONE.
6328 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
6330 2002-11-04 Akim Demaille <akim@epita.fr>
6334 * Makefile.maint (update, cvs-update, po-update, do-po-update):
6336 * config/texinfo.tex: Update.
6338 2002-11-03 Akim Demaille <akim@epita.fr>
6340 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
6342 (&autoreconf): here.
6343 ($help, $make, &parse_args, &autoreconf_current_directory):
6345 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6347 2002-10-31 Bruno Haible <bruno@clisp.org>
6349 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
6350 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
6351 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
6352 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
6353 to ac_cv_func_realloc_0_nonnull.
6354 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
6356 2002-10-31 Akim Demaille <akim@epita.fr>
6358 The test suite was no longer checking for trailing envvars and files.
6360 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
6361 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
6363 2002-10-31 Akim Demaille <akim@epita.fr>
6365 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
6366 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
6367 Make variable, not a shell variable.
6368 Suggested by Bruno Haible.
6370 2002-10-31 Akim Demaille <akim@epita.fr>
6372 * bin/autom4te.in (load_configuration): Reject #args out of any
6375 2002-10-31 Akim Demaille <akim@epita.fr>
6377 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
6378 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
6379 (_AC_RUN_IFELSE): Use it.
6380 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
6381 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
6382 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
6385 2002-10-30 Akim Demaille <akim@epita.fr>
6387 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
6388 * doc/autoconf.texi (autom4te Invocation): Adjust.
6389 Suggested by Tim van Holder.
6391 2002-10-29 Paul Eggert <eggert@twinsun.com>
6393 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
6394 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
6395 Problem reported by Bruno Haible.
6397 2002-10-29 Akim Demaille <akim@epita.fr>
6399 * doc/autoconf.texi (Header Templates): Put also in words what the
6400 pictures says to assist free style readers.
6401 (Customizing autom4te): s/--cache=/--cache /.
6403 2002-10-29 Akim Demaille <akim@epita.fr>
6405 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
6407 sparc_address_test returns void.
6408 Use it with an argument, as prototyped.
6411 2002-10-29 Akim Demaille <akim@epita.fr>
6413 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
6414 configure.in, not configure.ac.
6415 Reported by Bruno Haible.
6417 2002-10-29 Akim Demaille <akim@epita.fr>
6419 * tests/torture.at (Deep Package): New test.
6420 (Configuring subdirectories): Don't use a testSubDir as Autotest
6423 2002-10-29 Akim Demaille <akim@epita.fr>
6425 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
6426 * doc/autoconf.texi (Invoking autom4te): Rename as...
6427 (autom4te Invocation): this, for consistency with the other nodes.
6429 2002-10-29 Akim Demaille <akim@epita.fr>
6431 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
6432 Reported by Ralf Corsepius.
6434 2002-10-29 Akim Demaille <akim@epita.fr>
6436 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
6437 characters is a back as an `obsolete' warning now.
6438 Reported by Ralf Corsepius.
6440 2002-10-28 Akim Demaille <akim@epita.fr>
6442 * configure.ac: Bump to 2.54c.
6444 2002-10-28 Akim Demaille <akim@epita.fr>
6448 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
6450 2002-10-28 Akim Demaille <akim@epita.fr>
6452 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
6453 m4 executable names, and different GNU M4 version.
6454 Reported by Ezra Peisach and Paul Jarc.
6456 2002-10-27 Akim Demaille <akim@epita.fr>
6458 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
6461 2002-10-27 Akim Demaille <akim@epita.fr>
6463 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
6464 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
6465 Die when a simple Fortran program cannot be compiled.
6466 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
6467 Issue a warning if no function is given.
6469 2002-10-27 Akim Demaille <akim@epita.fr>
6471 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
6472 Move the documentation of AC_TRY_RUN to...
6473 (Obsolete Macros): here.
6474 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
6475 (autoconf Invocation): Remove the duplicates with `invoking
6477 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
6478 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
6480 2002-10-27 Akim Demaille <akim@epita.fr>
6482 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
6483 and AC_LANG_FUNC_LINK_TRY.
6484 (Examining Libraries): Rename as...
6485 (Running the Linker): this.
6486 Document AC_LINK_IFELSE.
6487 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
6488 (Obsolete Macros): here.
6489 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
6490 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
6491 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
6492 * lib/autoconf/headers.m4 (AC_USG): Likewise.
6494 2002-10-27 Akim Demaille <akim@epita.fr>
6496 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
6498 More `check config.log' messages.
6500 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
6501 * doc/autoconf.texi (Printing Messages): Document it.
6502 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
6504 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
6505 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
6506 (_AC_COMPILER_OBJEXT): Likewise.
6507 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
6508 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
6510 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
6513 Deprecate macros with unusual interfaces.
6515 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
6516 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
6518 Document the new ones, and proper style.
6520 * doc/autoconf.texi (Generating Sources): New.
6521 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
6522 (Examining Declarations): Rename as...
6523 (Running the Preprocessor): this.
6524 Document AC_PREPROC_IFELSE.
6525 (Examining Syntax): Rename as...
6526 (Running the Compiler): this.
6527 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
6528 (Obsolete Macros): Move the definition of AC_TRY_CPP and
6529 AC_TRY_COMPILE here.
6531 2002-10-27 Akim Demaille <akim@epita.fr>
6533 Move sections around.
6535 * doc/autoconf.texi (Customizing autom4te): Remove a lost
6537 Reported by Burno Haible.
6538 (Language Choice): Now the first section of...
6539 (Writing Tests): this section.
6540 Make the introduction less C-centric.
6541 (Guidelines, Test Functions): Move to...
6542 (Writing Test Programs): this new section.
6543 (Test Programs): Merge into...
6546 2002-10-27 Akim Demaille <akim@epita.fr>
6548 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
6549 autom4te.in that resulted in the need for two `make' runs.
6551 2002-10-27 Akim Demaille <akim@epita.fr>
6553 * configure.ac: Bump to 2.54b.
6555 2002-10-25 Akim Demaille <akim@epita.fr>
6559 * Makefile.maint: Update from the Coreutils.
6560 (AMTAR): Remove, obsolete.
6561 (automake_repo): Update to redhat.com.
6563 Adjust to the fact that ansi2knr is now hosted by Automake.
6564 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
6565 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
6566 Update from masters.
6567 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
6568 autoscan.pre is not to be installed, and autoscan.list is not to
6570 (CLEANFILES): Add autoscan.list.
6571 (autoscan.list): Disable the cache.
6572 * bin/Makefile.am: Include freeze.mk.
6574 2002-10-25 Akim Demaille <akim@epita.fr>
6576 * bin/autom4te.in (&load_configuration): Take the file as
6578 (&parse_args): Handle -C, --cache.
6580 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
6581 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
6582 * doc/autoconf.texi (Invoking autom4te): Document --cache.
6583 Now a subsection of...
6584 (Using autom4te): This new section.
6585 (Customizing autom4te): New.
6586 (autom4te.cache): Adjust.
6588 2002-10-25 Akim Demaille <akim@epita.fr>
6590 * doc/autoconf.texi (Generic Headers): More information on how to
6591 use AC_CHECK_HEADERS.
6593 2002-10-25 Akim Demaille <akim@epita.fr>
6595 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
6598 2002-10-25 Akim Demaille <akim@epita.fr>
6600 * bin/autoscan.in (output): Output AC_PREREQ.
6601 (%needed_macros): Add AC_PREREQ so that configure.ac without one
6604 2002-10-23 Akim Demaille <akim@epita.fr>
6606 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
6609 2002-10-23 Akim Demaille <akim@epita.fr>
6611 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
6612 Reported by Peter Eisentraut.
6614 2002-10-23 Akim Demaille <akim@epita.fr>
6616 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
6619 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
6620 Eggert's recommandations.
6622 2002-10-22 Akim Demaille <akim@epita.fr>
6624 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
6625 Bison, by Paul Eggert.
6626 * doc/autoconf.texi (Particular Headers): Document it.
6628 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
6630 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
6631 `$ac_configure_args'.
6633 2002-10-22 Akim Demaille <akim@epita.fr>
6635 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
6636 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
6639 2002-10-22 Akim Demaille <akim@epita.fr>
6641 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
6643 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
6644 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
6645 (_AC_CHECK_HEADER_NEW): Rename as...
6646 (AC_CHECK_HEADER): this.
6648 2002-10-22 Akim Demaille <akim@epita.fr>
6650 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
6651 words about HP-UX cmp: it was actually a user-written cmp.
6653 2002-10-22 Akim Demaille <akim@epita.fr>
6655 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
6657 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
6658 Quote for Perl '' strings, not "".
6659 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
6662 2002-10-22 Akim Demaille <akim@epita.fr>
6664 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
6665 characters is a syntax warning now.
6666 (_AS_QUOTE): Accept $2 as list of characters to quote.
6667 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
6668 Quote for Perl, not sh.
6669 * bin/autoheader.in: When $debug, report the file which is
6671 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
6672 `@', to tickle Perl's lists.
6673 Reported by Carlos Velasco.
6675 2002-10-18 Akim Demaille <akim@epita.fr>
6677 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
6678 missing included files _are_ errors.
6679 Thanks to Alexandre Duret-Lutz.
6680 * tests/tools.at (autom4te cache): Adjust.
6681 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
6682 (AT_CHECK_M4SUGAR): Use it.
6683 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
6685 * tests/tools.at (autom4te): Now it does exit 1.
6687 2002-10-17 Akim Demaille <akim@epita.fr>
6689 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
6690 Fixes the `AC_ARG_VAR' test failures.
6691 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
6692 * lib/freeze.mk (check-forbidden-patterns): New.
6693 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
6694 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
6695 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
6697 Reported months ago by H. Merijn Brand.
6699 2002-10-17 Akim Demaille <akim@epita.fr>
6701 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
6703 2002-10-16 Paul Eggert <eggert@twinsun.com>
6705 * Makefile.maint (wget_files): Remove ansi2knr.c.
6706 (ansi2knr.c-url_prefix): Remove.
6708 2002-10-16 Akim Demaille <akim@epita.fr>
6710 Because of caching, some files that no longer exist and are no
6711 longer required can still cause errors.
6712 Reported by Alexandre Duret-Lutz.
6714 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
6715 to frozen files in @ARGV, as @ARGV must remain being a list of
6716 files. Rather, at M4 call sites, use this...
6717 (&files_to_options): New function.
6718 (&freeze): Use &error.
6719 (&up_to_date): If a file that was included according to the cache
6720 is no longer there, then the output is out dated.
6721 (&main): Don't even check whether a file is up to date is anyway
6723 * tests/tools.at (autom4te cache): New.
6725 2002-10-16 Akim Demaille <akim@epita.fr>
6727 * bin/autoconf.as: Kill dead options.
6728 * bin/autoupdate.in (&parse_args): Kill old options.
6729 * bin/autoreconf.in (&parse_args): Remove dead options.
6731 (&autoreconf): Report the directories we enter *and leave*, so
6732 that error messages can be easily located, and use GNU Make
6733 format, so that Emacs' compile mode understands us.
6734 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
6735 if some file was changed instead of `print'.
6736 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
6737 (&parse_args): Remove the dead options.
6738 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
6739 autoheader's quiet mode.
6740 (AT_CHECK_AUTOUPDATE): Likewise.
6741 * tests/tools.at (autoupdate): Adjust.
6742 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
6744 2002-10-11 Akim Demaille <akim@epita.fr>
6746 No longer use CPP to check for the existing of headers: use CC to
6747 check for compilability.
6749 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
6750 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
6751 (_AC_CHECK_HEADER_NEW): Rename as...
6752 (AC_CHECK_HEADER): this.
6754 * lib/autotest/general.m4 (AT_INIT): Include the failed test
6755 numbers in the Subject suggestion.
6757 2002-10-11 Akim Demaille <akim@epita.fr>
6759 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
6760 Suggest using AC_CHECK_DECLS instead.
6762 2002-10-11 Akim Demaille <akim@epita.fr>
6764 * tests/torture.at (AC_ARG_VAR): Have configure report the value
6767 2002-10-11 Akim Demaille <akim@epita.fr>
6769 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
6770 file name to enable parallel executions.
6771 From Sam Varshavchik.
6773 2002-10-08 Akim Demaille <akim@epita.fr>
6775 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
6776 aclocal invocation, as Gettext macros might not be visible to
6778 Instead of blindly running autopoint, scan configure.ac (not the
6779 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
6780 Reported by Paul D. Smith.
6782 2002-10-08 Paul Eggert <eggert@twinsun.com>
6784 Work around problems found when POSIXLY_CORRECT=1 is set.
6785 None of this seems to have anything to do with POSIX, really,
6786 but it's how Perl getopt works.
6787 * bin/autom4te.in (parse_args): Configure GetOpt with
6789 * doc/autoconf.texi (Invoking autom4te):
6790 --warning -> --warnings.
6791 * lib/autom4te.in: --warning -> --warnings.
6793 2002-09-28 Akim Demaille <akim@epita.fr>
6795 * doc/autoconf.texi (autom4te.cache): New section.
6797 2002-09-28 Akim Demaille <akim@epita.fr>
6799 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
6800 (Automake-preselections): Update.
6801 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
6803 2002-09-28 Akim Demaille <akim@epita.fr>
6805 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
6806 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
6807 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
6808 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
6810 2002-09-28 Akim Demaille <akim@epita.fr>
6812 * tests/torture.at (Configuring subdirectories): Be robust to
6813 users who use config.site to require for a cache: in this case,
6814 the two last configure runs, using two different sets of
6815 arguments, trigger a legitimate error.
6817 2002-09-28 Akim Demaille <akim@epita.fr>
6819 * tests/m4sh.at (Functions Support, Functions and return Support):
6822 2002-09-28 Akim Demaille <akim@epita.fr>
6824 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
6825 autoheader are Perl programs.
6826 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
6827 (autom4te): Specify that the sources are in the $srcdir.
6828 * doc/autoconf.texi (Installation Directory Variables): Adjust.
6830 2002-09-28 Akim Demaille <akim@epita.fr>
6832 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
6833 (tm_zone): Move their rules to...
6834 * lib/autoconf/types.m4: here, using AN_ macros.
6835 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
6836 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
6837 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
6838 * lib/autoconf/programs.m4: here.
6839 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
6840 (ETAGS_FOR_AUTOCONF): New.
6843 2002-09-28 Akim Demaille <akim@epita.fr>
6845 * lib/autoconf/autoscan.m4: New file.
6846 * lib/autoconf/autoconf.m4: Include it.
6847 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
6848 that were listed in the original autoscan.list.
6849 * lib/autoconf/headers.m4: Similarly with headers.
6850 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
6851 (.m4.m4f): Don't pass --prepend-include, since that's done by
6852 tests/autom4te itself.
6853 * lib/autoscan/Makefile.am: Include freeze.mk.
6854 (autoscan.list): New target --this file is no longer a source.
6855 (autoscan.pre): New file.
6857 2002-09-28 Akim Demaille <akim@epita.fr>
6859 * bin/autoscan.in (@kinds): Make them singular.
6861 (&init_tables): When --debug, report the list of rules to ease
6862 tracking changes in autoscan.list.
6863 * lib/autoscan/autoscan.list (function): Strip comments, sort.
6865 2002-09-28 Akim Demaille <akim@epita.fr>
6867 * lib/autoscan/functions, lib/autoscan/headers,
6868 * lib/autoscan/identifiers, lib/autoscan/makevars,
6869 * lib/autoscan/programs: Merge into...
6870 * lib/autoscan/autoscan.list: this.
6871 * bin/autoscan.in (&init_tables): Adjust.
6873 2002-09-28 Akim Demaille <akim@epita.fr>
6875 * lib/autoscan/functions, lib/autoscan/headers,
6876 * lib/autoscan/identifiers, lib/autoscan/makevars,
6877 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
6878 `functions' line is now prefixed with `function:'.
6879 * bin/autoscan.in (&init_tables): Adjust.
6881 2002-09-28 Akim Demaille <akim@epita.fr>
6883 From now on, autoscan files must always map a macro name to a
6884 word: there is no `default' macro for autoscan.
6886 * bin/autoscan.in (&init_tables): Reject entries with no macro at
6888 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
6891 2002-09-28 Akim Demaille <akim@epita.fr>
6893 * bin/autoscan.in (%c_keywords): Remove.
6894 (&used): Keep only track of the words we might be interested in.
6895 (&output_kind): It is no longer needed to look for non active
6898 2002-09-27 Akim Demaille <akim@epita.fr>
6900 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
6901 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
6902 * lib/autoscan/functions: Adjust.
6903 * doc/autoconf.texi (Particular Functions): Adjust.
6905 2002-09-27 Akim Demaille <akim@epita.fr>
6907 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
6909 Thanks to Bill Moseley and Paul Eggert.
6910 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
6911 the tmpdir must be created.
6912 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
6913 dir be in the build tree, instead of $TMPDIR.
6915 2002-09-27 Akim Demaille <akim@epita.fr>
6917 * bin/autoscan.in: Improve the comments.
6918 (&parse_args): Drop obsolete undocumented options.
6919 (&output_kind): Output warnings.
6920 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
6921 (getwd): Trigger a warning.
6923 2002-09-26 Akim Demaille <akim@epita.fr>
6925 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
6926 Reported by Ralf Corsepius.
6927 * doc/autoconf.texi (autoreconf Invocation): Likewise.
6929 2002-09-26 Akim Demaille <akim@epita.fr>
6931 Single suffix rules and seperated dependencies are not portable.
6933 * doc/autoconf.texi (Installation Directory Variables): Update.
6934 (Limitations of Make): Some about `Single Suffix Rules and
6935 Separated Dependencies'.
6936 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6937 (ifnames, autoscan, autom4te): Un-factor into several rules.
6939 2002-09-25 Paul Eggert <eggert@twinsun.com>
6941 * BUGS (Interoperability bugs): New section. Mention libtool
6942 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
6944 2002-09-24 Paul Eggert <eggert@twinsun.com>
6946 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
6947 make handles suffix-rules differently from GNU make.
6949 * bin/Makefile.am (SUFFIXES, .in): Remove.
6950 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
6951 Move the body of the old .in rule here.
6953 2002-09-16 Akim Demaille <akim@epita.fr>
6955 i960 compilers create `b.out' files by default.
6956 Reported by Ralf Corsepius.
6958 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
6959 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
6961 2002-09-13 Paul Eggert <eggert@twinsun.com>
6963 * doc/autoconf.texi (Particular Headers): Remove obsolete
6964 reference to `struct timezone' in the description of
6967 2002-09-13 Akim Demaille <akim@epita.fr>
6971 * config/config.sub, config/config.guess: Update.
6972 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
6973 * Makefile.am: Adjust.
6975 2002-09-13 Akim Demaille <akim@epita.fr>
6977 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
6978 reading config.log when the compiler is rejected.
6979 Suggested by Guido Draheim.
6981 2002-09-13 Akim Demaille <akim@epita.fr>
6983 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
6984 (chdir_init) might hang when stat'ing mounted directories.
6985 Reported by Vance Shipley.
6987 2002-09-12 Akim Demaille <akim@epita.fr>
6989 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
6992 2002-09-12 Akim Demaille <akim@epita.fr>
6994 * doc/autoconf.texi (Defining Symbols): Present two different
6995 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
6996 difference between 1 argument calls, and 2-3 argument calls.
6998 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
7000 * doc/autoconf.texi: Review grammar and punctuation.
7002 2002-09-11 Paul Eggert <eggert@twinsun.com>
7004 * doc/autoconf.texi: Fix minor formatting, spelling, and
7006 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
7007 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
7010 2002-09-11 Akim Demaille <akim@epita.fr>
7012 * doc/autoconf.texi (Questions): Rename as...
7014 (Defining Directories): New.
7016 2002-09-09 Akim Demaille <akim@epita.fr>
7018 * doc/autoconf.texi (Making testsuite Scripts): Update.
7019 Suggested by Nishio Futoshi.
7021 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
7023 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
7024 plain `@' is wanted.
7026 2002-09-09 Akim Demaille <akim@epita.fr>
7028 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
7029 `duplicates', since the algorithm was too naive and could keep
7030 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
7031 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
7032 Reported by Ralf Corsepius.
7033 * tests/torture.at (Configuring subdirectories): Exercise these
7036 2002-09-09 Akim Demaille <akim@epita.fr>
7038 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
7039 looking for a replacement file.
7040 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
7041 directory is relative.
7042 * doc/autoconf.texi (Generic Functions): Clarify the replacement
7043 directory definition.
7044 Reported by Andreas Schwab and Jim Meyering.
7046 2002-09-06 Akim Demaille <akim@epita.fr>
7048 * doc/autoconf.texi (Setting Output Variables): Clarify what
7049 precious variables are.
7050 Suggested by Pontus Skoeld.
7052 2002-09-05 Akim Demaille <akim@epita.fr>
7054 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
7055 (ifnames, autoscan, autom4te): Since we don't only depend on
7056 configure.ac variables (such as VERSION etc.), but also on prefix
7057 and so forth, depend on Makefile, not configure.ac.
7058 Reported by Alexandre Duret-Lutz.
7059 * doc/autoconf.texi (Installation Directory Variables): Adjust.
7061 2002-09-05 Kevin Ryde <user42@zip.com.au>
7063 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
7064 doesn't seem to be confined to ia64, just say "some versions".
7066 2002-09-04 Akim Demaille <akim@epita.fr>
7068 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
7070 * Makefile.am (maintainer-clean-local): Remove.
7071 (MAINTAINERCLEANFILES): Remove COPYING.
7073 2002-09-03 Paul Eggert <eggert@twinsun.com>
7075 * doc/autoconf.texi (Configuration Commands): Remove obsolete
7076 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
7079 2002-09-03 Akim Demaille <akim@epita.fr>
7081 * configure.ac: Bump to 2.53d.
7082 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
7083 as of today, on Automake's team suggestion.
7085 2002-09-03 Akim Demaille <akim@epita.fr>
7089 2002-09-02 Akim Demaille <akim@epita.fr>
7091 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
7093 * configure.ac: Disable SITE_MACRO_DIR.
7095 2002-09-02 Jim Meyering <meyering@lucent.com>
7097 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
7098 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
7099 Also, tweak grammar: s/make sure to/be sure to/.
7101 2002-09-02 Paul Eggert <eggert@twinsun.com>
7103 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
7104 directory names are generally preferable to physical names.
7106 2002-09-02 Akim Demaille <akim@epita.fr>
7108 * lib/Autom4te/General.pm (&update_file): s/die/error/.
7109 Reported by Raja R. Harinath.
7110 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
7111 * bin/autoupdate.in: Use error instead of die.
7113 2002-09-01 Paul Eggert <eggert@twinsun.com>
7115 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
7116 ordinary shell concatenation rather than echo+tr+sed command that
7117 runs afoul of a long-line-related sed bug in Solaris 8.
7119 * bin/autoheader.in (parse_args): --warning -> --warnings.
7121 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
7122 stdout, as traditional "ls" does.
7123 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
7124 _AC_COMPILER_EXEEXT_O): Likewise.
7125 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
7127 * bin/autoconf.as: Add --prepend-include option. This patch was
7128 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
7129 but bin/autoconf.in is generated automatically from bin/autoconf.as.
7131 * bin/autoconf.in, configure: Regenerate.
7133 * doc/autoconf.texi (Special Shell Variables): Mention
7134 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
7136 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
7137 MAILPATH and set PS1, PS2, PS4 to default values, to work
7138 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
7139 For LC_ALL etc, first try to set to "C" as POSIX requires and as
7140 the Autoconf documentation specifies; fall back to "unset" only if
7141 this fails. Use a shell for-loop for this rather than an m4 loop,
7142 to shorten the output script.
7144 2002-08-30 Paul Eggert <eggert@twinsun.com>
7146 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
7147 1003.1-2001's requirements for CDPATH. Give a simpler workaround
7148 for the CDPATH problem. Document PWD.
7149 (Limitations of Builtins): Document the problem that "cd $foo" and
7150 "ls $foo" may refer to different directories in shells conforming
7151 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
7152 example, since the old example is now out of date.
7154 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
7155 FOO" and "ls FOO" talk about different directories; this catches
7156 problems when POSIX 1003.1-2001 "cd" fails due to symlink
7159 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
7160 of rolling our own unset.
7161 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
7162 in practice we needn't worry about CDPATH if unset doesn't work.
7164 * Makefile.in, aclocal.m4, bin/Makefile.in,
7165 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
7166 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
7167 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
7168 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
7169 tests/Makefile.in: Regenerate with Automake 1.6.3.
7171 * config/config.guess, config/config.sub, config/mkinstalldirs:
7174 * configure: Regenerate with self.
7176 2002-08-30 Kevin Ryde <user42@zip.com.au>
7178 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
7181 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7183 * bin/autom4te.in (Request::load): Correctly test for "do" read
7186 2002-08-29 Akim Demaille <akim@epita.fr>
7188 * lib/Autom4te/General.pm (&xqx): New.
7189 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
7190 hand, which is not portable.
7192 * bin/autom4te.in: Use them.
7193 Use &error instead of die.
7194 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
7197 2002-08-17 Paul Eggert <eggert@twinsun.com>
7199 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
7200 default list of compilers to try, since it was long ago superseded
7201 by the ksh fc builtin. Suggested by Steven G. Johnson.
7203 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
7205 * doc/autoconf.texi (Invoking autom4te): End the option table,
7206 fixing a bug introduced by the previous patch.
7207 (Limitations of Make): Add a 'target lookup' subentry in the
7208 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
7210 2002-07-29 Mark D. Roth <roth@feep.net>
7212 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
7213 options and use $AUTOM4TE_PATH.
7214 * doc/autoconf.texi: Remove documentation of autom4te
7215 --include-envvar and --site-macro-subdir options and document
7216 use of $AUTOM4TE_PATH.
7217 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
7218 arguments from each language section.
7220 2002-07-29 Paul Eggert <eggert@twinsun.com>
7222 * doc/install.texi: Include copyright symbol in copyright notice.
7224 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
7226 (AM_MAKEINFOFLAGS): New macro.
7227 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
7228 * Makefile.am (INSTALL): Use the new macros.
7229 Use -o rather than --output, since "missing" does not grok --output.
7231 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
7233 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
7234 comments do not always work. Never trust the exit status of
7237 2002-07-24 Kevin Ryde <user42@zip.com.au>
7239 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
7240 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
7242 2002-07-23 Paul Eggert <eggert@twinsun.com>
7244 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
7245 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
7246 apparently treats PATH="nonexistent" as if it contained ".".
7247 Bug reported by Stefan `Sec' Zehl.
7249 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
7251 * doc/autoconf.texi (Limitations of Make): Mention the special
7252 handling of the obj/ directory by BSD make.
7254 2002-07-20 Kevin Ryde <user42@zip.com.au>
7256 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
7259 2002-07-19 Akim Demaille <akim@epita.fr>
7261 * doc/autoconf.texi (Function Portability): `exit'.
7262 (Programming in M4sh): Ethymology of M4sh.
7264 2002-07-19 Akim Demaille <akim@epita.fr>
7266 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
7268 2002-07-18 Akim Demaille <akim@epita.fr>
7272 2002-07-18 Akim Demaille <akim@epita.fr>
7274 * config/config.guess, config/config.sub: Update.
7276 2002-07-18 Akim Demaille <akim@epita.fr>
7278 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
7281 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
7282 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
7283 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
7285 2002-07-18 Akim Demaille <akim@epita.fr>,
7286 Alexandre Duret-Lutz <duret_g@epita.fr>
7288 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
7289 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
7291 2002-07-17 Russ Allbery <rra@stanford.edu>
7293 * doc/autoconf.texi (Initializing configure): Clarify the
7294 description of the tarname default.
7296 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
7298 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
7299 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
7302 2002-07-17 Akim Demaille <akim@epita.fr>
7304 * lib/Autom4te/General.pm (find_file): Browse the directories in
7305 the order they are given.
7307 2002-07-17 Akim Demaille <akim@epita.fr>
7309 * tests/wrapsh.as, tests/wrappl.as: Merge into...
7310 * tests/wrapper.as: this.
7311 * tests/Makefile.am, configure.ac: Adjust.
7313 2002-07-17 Mark D. Roth <roth@feep.net>
7315 * configure.ac: Add --enable-site-macro-dir option.
7316 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
7317 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
7318 --site-macro-subdir options.
7319 * bin/autoconf.in: Add --prepend-include option.
7320 * bin/autoheader.in: Add --prepend-include option.
7321 * bin/autoreconf.in: Add --prepend-include option.
7322 * bin/autoscan.in: Add --prepend-include option.
7323 * bin/autoupdate.in: Add --prepend-include option.
7324 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
7325 macro directory, remove note that include path directories are
7326 used in reverse order, and document --prepend-include option.
7327 * lib/autom4te.in: Use --prepend-include instead of --include.
7328 * tests/wrapsh.in: Use --prepend-include instead of --include.
7330 2002-07-17 Akim Demaille <akim@epita.fr>
7332 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
7334 * doc/autoconf.texi (Initializing configure): Adjust.
7336 2002-07-17 Akim Demaille <akim@epita.fr>
7338 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
7339 (_AC_FUNC_MALLOC): New.
7340 (AC_FUNC_MALLOC): Use the latter.
7341 Define HAVE_MALLOC to 0 if broken.
7342 * doc/autoconf.texi (Particular Functions): Adjust.
7344 2002-07-16 Akim Demaille <akim@epita.fr>
7346 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
7347 * doc/autoconf.texi (C Compiler): Adjust.
7349 2002-07-09 Akim Demaille <akim@epita.fr>
7351 * doc/autoconf.texi: Properly set the ``header'' part.
7353 2002-07-09 Akim Demaille <akim@epita.fr>
7355 * doc/autoconf.texi (Systemology): Some about Darwin.
7357 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
7359 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7360 Don't use AC_REQUIRE in AU_DEFUN.
7362 2002-07-09 Art Haas <ahaas@neosoft.com>
7364 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
7366 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
7368 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7369 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
7370 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
7371 so that Emacs setups GNU style for perl-mode and cperl-mode.
7373 2002-06-27 Paul Eggert <eggert@twinsun.com>
7375 * config/install-sh: Quote $src. Prefer || to test's -o option,
7376 as per "Limitations of Builtins".
7377 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
7378 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
7380 * tests/mktests.sh: Use grep instead of fgrep, as per
7381 "Limitations of Builtins".
7383 2002-06-15 Paul Eggert <eggert@twinsun.com>
7385 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
7386 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
7387 so that we consistently test the just-built programs.
7388 * tests/wrappl.as: Likewise.
7390 2002-06-12 Paul Eggert <eggert@twinsun.com>
7392 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
7393 name, so that symlinks to 'autoconf' work properly. Bug reported
7395 * bin/autoheader.in (AUTOM4TE): Likewise.
7396 * bin/autoreconf.in (autoconf, autoheader): Likewise.
7397 * bin/autoscan.in (autom4te): Likewise.
7398 * bin/autoupdate.in (autom4te): Likewise.
7400 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
7401 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
7404 2002-06-11 Andreas Schwab <schwab@suse.de>
7406 * doc/autoconf.texi: Add more dir entries.
7408 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
7410 * bin/autom4te.in ($cache): Don't define using `$me', the name
7411 of the cache should not depend on the name under which autom4te
7414 2002-06-07 Akim Demaille <akim@epita.fr>
7416 * tests/tools.at (autoconf: forbidden tokens, basic)
7417 (autoconf: forbidden tokens, exceptions): Adjust to the change of
7418 words in autom4te.in.
7420 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
7422 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
7423 _AC_LANG_PROGRAM_C_F77_HOOKS.
7425 2002-06-07 Akim Demaille <akim@epita.fr>
7427 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
7429 (AC_REPLACE_FNMATCH): this.
7430 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
7431 AC_FUNC_FNMATCH_GNU.
7433 2002-06-07 Akim Demaille <akim@epita.fr>
7435 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
7436 Rosetta Stone for Unix.
7438 2002-06-07 Akim Demaille <akim@epita.fr>
7440 * bin/autom4te.in (warn_forbidden): When rejecting a token,
7441 suggest m4_pattern_allow.
7442 Suggested by Adam J. Richter.
7444 2002-06-07 Akim Demaille <akim@epita.fr>
7446 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
7447 ac_config_libobj_dir.
7448 (AC_CONFIG_LIBOBJ_DIR): New.
7449 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
7450 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
7451 Use ac_config_libobj_dir to find the replacement files.
7452 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
7453 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
7454 (AC_REPLACE_FNMATCH_GNU): these.
7455 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
7456 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
7457 * tests/mktests.sh (ac_exclude_list): Don't check
7458 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
7460 2002-06-06 Paul Eggert <eggert@twinsun.com>
7462 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
7465 * doc/autoconf.texi (Configuration Links): Likewise.
7466 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
7468 2002-06-05 Paul Eggert <eggert@twinsun.com>
7470 * config/config.guess, config/config.sub, config/texinfo.tex:
7471 Update from masters.
7473 2002-05-29 Paul Eggert <eggert@twinsun.com>
7475 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
7476 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
7477 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
7479 * lib/autoconf/Makefile.am (check-local): Likewise.
7480 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
7481 * lib/autoconf/types.m4 (commentary only): Likewise.
7482 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
7483 * lib/autotest/Makefile.am (check-local): Likewise.
7484 * lib/m4sugar/Makefile.am (check-local): Likewise.
7485 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
7486 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
7488 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
7489 * doc/autoconf.texi (Particular Programs): Document them.
7490 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
7493 2002-05-27 Paul Eggert <eggert@twinsun.com>
7495 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
7496 * NEWS, doc/autoconf.texi (Particular Types): Document it.
7497 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
7498 instead of AC_MBSTATE_T, which never existed.
7500 2002-05-23 Akim Demaille <akim@epita.fr>
7502 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
7503 version of Autoconf that is discussed.
7505 2002-05-22 Paul Eggert <eggert@twinsun.com>
7507 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
7508 from the default list of compilers to try. Suggested by
7510 * NEWS: Document the above.
7511 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
7513 2002-05-17 Paul Eggert <eggert@twinsun.com>
7515 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
7516 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
7517 This improves on an earlier suggestion by H. Peter Anvin.
7519 2002-05-16 Paul Eggert <eggert@twinsun.com>
7521 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
7522 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
7523 Both macros now accept an optional source-dir arg.
7524 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
7526 * NEWS: Document this.
7527 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
7529 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
7530 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
7531 not for GNU extensions; this undoes part of the 2000-11-03 change,
7532 reverting to 2.13-compatible behavior.
7533 Add new optional argument DIR.
7534 (AC_FUNC_FNMATCH_GNU): New macro.
7536 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
7538 2002-05-08 Paul Eggert <eggert@twinsun.com>
7540 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
7541 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
7542 and it causes a 'test' syntax error if it fails.
7543 Bug reported by Stephen Gildea.
7545 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
7546 If prototypes are supported, use them to check this at compile-time,
7547 instead of trying to check it at run-time. If we must do a run-time
7548 check, assume that setvbuf is standard when cross-compiling, as
7549 nonstandard setvbuf occurs only on ancient and unlikely hosts.
7550 Bug reported by Paul D. Smith.
7552 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
7553 argument specifying location of getloadavg.c. This removes a
7554 FIXME. This idea was taken from Jim Meyering's implementation in
7556 * doc/autoconf.texi (Particular Functions): Document this.
7557 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
7558 that's what the code does; this fixes a bug reported by
7561 2002-05-03 Akim Demaille <akim@epita.fr>
7563 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
7564 autopoint instead of gettextize.
7565 ($uses_alocal): Rename as...
7566 ($uses_aclocal): this.
7567 * doc/autoconf.texi (autoreconf Invocation): Adjust.
7568 Suggested by Bruno Haible.
7570 2002-05-03 Akim Demaille <akim@epita.fr>
7572 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
7574 2002-04-29 Paul Eggert <eggert@twinsun.com>
7576 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
7577 files to be 1 second older; just set them to be the same time.
7578 Also, sleep 1 second after the first aclocal, to work around
7579 problems with sub-second time stamps on the input files.
7581 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
7583 * doc/autoconf.texi: Mention "set -e -x" lossage
7584 under node "Limitations of Builtins".
7586 2002-04-29 Akim Demaille <akim@epita.fr>
7588 * doc/install.texi: Better wording for setting variables when
7590 From Christian Cornelssen.
7592 2002-04-29 Akim Demaille <akim@epita.fr>
7594 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
7595 of lack of $LINENO support, then the test will compare the $LINENO
7596 in testsuite vs. the lineno in the test file. This is wrong, of
7598 Be sure to protect it.
7599 Reported by Patrick Welche.
7601 2002-04-25 Akim Demaille <akim@epita.fr>
7603 * doc/autoconf.texi (Obsolete Macros): Typo.
7604 Reported by Vladimir Volovich.
7606 2002-04-25 Akim Demaille <akim@epita.fr>
7608 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
7609 than some of the input files, hence, on the second run of aclocal,
7610 if some of its input are younger, make them older.
7611 Suggested by Paul Eggert.
7613 2002-04-25 Akim Demaille <akim@epita.fr>
7615 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
7616 Thanks to Paul Eggert.
7618 2002-04-25 Akim Demaille <akim@epita.fr>
7620 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
7621 and ac_subst_vars be sh variables containing the list of
7622 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
7624 (_AC_INIT_PREPARE): Use them to log them.
7625 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
7626 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
7627 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
7628 _AC_SUBST_FILES and _AC_SUBST_VARS.
7629 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
7631 2002-04-24 Akim Demaille <akim@epita.fr>
7633 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
7634 autoheader, so that automake does not complain about a missing
7635 config.h.in that was to be created.
7637 2002-04-23 Akim Demaille <akim@epita.fr>
7639 * bin/autoheader.in (parse_args): --warning takes an argument.
7642 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
7644 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
7645 and bb.out when cleaning up.
7647 2002-04-22 Akim Demaille <akim@epita.fr>
7651 2002-04-22 Akim Demaille <akim@epita.fr>
7653 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
7655 2002-04-22 Akim Demaille <akim@epita.fr>
7657 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
7659 Reported by Gregory Giannoni.
7661 2002-04-22 Akim Demaille <akim@epita.fr>
7663 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
7664 Fixes false failures on Darwin.
7666 2002-04-21 Paul Eggert <eggert@twinsun.com>
7668 * TODO, bin/autoupdate.in, doc/autoconf.texi,
7669 lib/autoconf/general.m4, lib/autoconf/libs.m4,
7670 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
7671 tests/tools.at: Minor spelling and grammar fixes.
7673 2002-04-20 Paul Eggert <eggert@twinsun.com>
7675 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
7676 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
7677 * lib/autotest/general.m4 (AT_INIT): Likewise.
7678 * tests/atgeneral.m4 (AT_INIT): Likewise.
7680 2002-04-19 Paul Eggert <eggert@twinsun.com>
7682 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
7683 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
7684 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
7685 lib/autoconf/functions.m4, lib/autoconf/general.m4,
7686 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
7687 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
7688 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
7689 Minor spelling and grammar fixes.
7691 * doc/autoconf.texi: Follow the outline suggested in the GNU
7692 Sample Texts sections of the Texinfo 4.2 manual. Most
7693 importantly, this makes sure that the copyright notices appear in
7694 all output formats. You probably need Texinfo 4.2 to generate
7697 Fix some bugs when using "$@" when there might be zero positional
7698 arguments in cases where this matters.
7700 * bin/autoconf.as: Rewrite so that the problem does not come up.
7701 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
7702 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
7703 * lib/autotest/general.m4 (AT_INIT): Likewise.
7705 * bin/autoheader.in: Use 'case' statement to work around problem.
7706 * bin/auto4mte.in: Likewise.
7707 * bin/autoreconf.in: Likewise.
7708 * bin/autoscan.in: Likewise.
7709 * bin/autoupdate.in: Likewise.
7710 * bin/ifnames.in: Likewise.
7712 * doc/autoconf.texi (Shell Substitutions): Document the problem.
7714 * lib/autotest/general.m4 (AT_INIT):
7715 Use Zsh alias to work around problem.
7716 * tests/atgeneral.m4 (AT_INIT): Likewise.
7718 * tests/c.at: We can't have zero arguments, so remove workaround
7719 that is not portable to Zsh.
7721 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
7723 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
7724 from aclocal.m4 too.
7726 2002-04-12 Akim Demaille <akim@epita.fr>
7728 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
7730 2002-04-10 Akim Demaille <akim@epita.fr>
7732 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
7733 workaround for ${1+"$@"}.
7734 * doc/autoconf.texi (Shell Substitutions): Explain it.
7735 From Oliver Kiddle and Peter Stephenson.
7737 Have M4sh perform minimal shell sanitizing.
7739 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
7741 (_AS_PREPARE): this new macro.
7743 (AS_INIT): Invoke AS_SHELL_SANITIZE.
7744 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
7746 Adjust Autoconf and Autotest.
7748 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
7749 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
7750 * lib/autotest/general.m4 (AT_INIT): Likewise.
7751 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
7752 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
7755 Use this M4sh to generate Autoconf's shell scripts.
7757 * tests/wrapsh.as: New, precursor of wrapsh.in.
7758 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
7759 on Autotest and M4sh.
7760 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
7761 (wrapsh.in): New target.
7762 * bin/autoconf.as: New, precursor of autoconf.in.
7763 (autoconf.in): New target.
7765 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
7767 * doc/autoconf.texi (Limitations of Make): Mention the issue
7768 with indented comments in rules.
7770 2002-04-09 Andreas Schwab <schwab@suse.de>
7772 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
7773 ac_top_builddir when setting ac_abs_top_builddir.
7775 2002-04-06 Kevin Ryde <user42@zip.com.au>
7777 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
7778 (Portable Shell): Cross reference to Systemology.
7780 2002-04-05 Akim Demaille <akim@epita.fr>
7782 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
7783 directories when descending in a SUBDIRS.
7784 Reported by Ezra Peisach.
7786 2002-04-04 Andreas Schwab <schwab@suse.de>
7788 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
7789 contains no literal separators.
7791 2002-04-03 Akim Demaille <akim@epita.fr>
7793 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
7794 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
7795 Use dnl, not the KILL diversion.
7797 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
7798 (AC_CONFIG_LINKS): here.
7800 Don't use the KILL diversion, as it kills spurious output, which
7801 results in failures being hidden.
7802 Use m4_defn where appropriate.
7803 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
7804 after the second argument.
7806 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
7807 syntax, as it is provided by M4sugar.
7808 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
7810 2002-04-03 Andreas Schwab <schwab@suse.de>
7812 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
7813 expanded if $# <= 2.
7815 * bin/autoreconf.in (autoreconf): Run automake after rerunning
7818 2002-04-03 Akim Demaille <akim@epita.fr>
7820 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
7821 (_AC_COMPILER_EXEEXT_REJECT): New.
7822 Also recognize *.bb and *.bbg as compilation byproducts.
7823 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
7824 (_AC_COMPILER_OBJEXT): Use them.
7825 Fixes Debian #138666.
7827 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
7829 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
7831 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
7832 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
7833 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
7834 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
7836 (AC_C_INLINE): Same.
7837 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
7838 * doc/autoconf.texi, NEWS: Document.
7839 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
7842 2002-04-02 Akim Demaille <akim@epita.fr>
7844 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
7845 _AS_MKDIR_P_PREPARE.
7847 2002-03-28 Kevin Ryde <user42@zip.com.au>
7849 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
7850 to avoid versions of HP C which don't allow that.
7852 2002-03-27 Paul Eggert <eggert@twinsun.com>
7854 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
7855 (AS_SHELL_SANITIZE): Invoke it.
7856 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
7858 2002-03-26 Akim Demaille <akim@epita.fr>
7860 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
7862 2002-03-26 Akim Demaille <akim@epita.fr>
7864 * doc/autoconf.texi (Introduction): The GNATS base moved.
7866 2002-03-25 Paul Eggert <eggert@twinsun.com>
7868 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
7869 as POSIX requires, as it doesn't work with Zsh.
7870 * doc/autoconf.texi (Assignments): Document the problem.
7872 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
7874 * doc/autoconf.texi (Limitations of Make): Mention more issue
7875 about VPATH, overriding of macros in sub-makes, and handling of
7878 2002-03-21 Paul Eggert <eggert@twinsun.com>
7880 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
7881 problem with here-document buffer boundaries.
7883 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
7884 when reinvoking the shell, to work around problems with installers
7885 who put strange things like "cd" commands in their environments.
7887 2002-03-19 Akim Demaille <akim@epita.fr>
7889 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
7892 2002-03-19 Akim Demaille <akim@epita.fr>
7894 * bin/autoscan.in (scan_file): Specify the location in `&used'
7898 2002-03-19 Akim Demaille <akim@epita.fr>
7900 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
7901 From Nishio Futoshi.
7903 2002-03-19 Akim Demaille <akim@epita.fr>
7905 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
7907 2002-03-18 Paul Eggert <eggert@twinsun.com>
7909 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
7910 (Limitations of Usual Tools): Add mkdir section.
7912 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
7913 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
7914 back on AS_DIRNAME to compute prefixes otherwise; this is
7915 roughly what mkinstalldirs does. That way, we need not have
7916 our own filename disassembler. The old disassembler did not
7917 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
7919 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
7920 Create at_test_all by a series of assignments,
7921 not by a single assignment of a long string. The latter causes ksh
7922 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
7923 presumably because of a buffer overrun.
7925 2002-03-14 Paul Eggert <eggert@twinsun.com>
7927 * lib/autotest/general.m4 (at_times_skip):
7928 Renamed from at_times. Now a boolean.
7929 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
7930 says 'times: not found'.
7932 2002-03-14 Akim Demaille <akim@epita.fr>
7934 * bin/autoreconf.in (&study_gettextize): New.
7935 (&autoreconf): Handle newest gettextize.
7936 Rerun aclocal if needed.
7937 Suggested by Andreas Schwab.
7939 2002-03-13 Akim Demaille <akim@epita.fr>
7941 * doc/autoconf.texi (Special Shell Variables): More about IFS.
7943 2002-03-13 Akim Demaille <akim@epita.fr>
7945 * doc/autoconf.texi (Header Portability): New.
7946 Add information about stdint.h and inttypes.h from Paul Eggert.
7948 2002-03-13 Akim Demaille <akim@epita.fr>
7950 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
7954 2002-03-12 Akim Demaille <akim@epita.fr>
7956 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
7959 2002-03-11 Andreas Schwab <schwab@suse.de>
7961 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
7962 does not do it if --with-lispdir is given.
7964 2002-03-08 Akim Demaille <akim@epita.fr>
7968 2002-03-08 Akim Demaille <akim@epita.fr>
7970 * doc/autoconf.texi (Subdirectories): Clarify that the
7971 subdirectory should exist.
7973 2002-03-08 Akim Demaille <akim@epita.fr>
7975 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
7977 2002-03-08 Akim Demaille <akim@epita.fr>
7979 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
7980 aliases the actual variables, and modifications of the former
7983 2002-03-08 Akim Demaille <akim@epita.fr>
7985 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
7986 because of C-c: have m4 output in tmp files, then mv them.
7988 2002-03-08 Akim Demaille <akim@epita.fr>
7990 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
7991 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
7992 * bin/ifnames.in: Copyright update.
7994 2002-03-08 Akim Demaille <akim@epita.fr>
7996 * doc/autoconf.texi (Invoking autom4te): New.
7998 2002-03-05 Akim Demaille <akim@epita.fr>
8000 * doc/autoconf.texi (Specifying Names): Clarification suggested by
8003 2002-03-05 Akim Demaille <akim@epita.fr>
8007 2002-03-04 Akim Demaille <akim@epita.fr>
8009 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
8010 * lib/autoconf/general.m4 (AC_INIT): More informative error
8013 2002-03-04 Akim Demaille <akim@epita.fr>
8015 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
8018 2002-03-04 Akim Demaille <akim@epita.fr>
8020 * doc/autoconf.texi (Transforming Names): Equality between target
8021 and host is irrelevant.
8022 (Specifying Names, Canonicalizing): Remove all references to the
8023 backward compatibility hooks. Rather, collect them all into...
8024 (Hosts and Cross-Compilation): this new section.
8025 * doc/install.texi (System Type): Ditto.
8026 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
8027 that `--host' implies cross-compilation.
8029 2002-03-04 Akim Demaille <akim@epita.fr>
8031 * doc/autoconf.texi (Evaluation Macros): New.
8032 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
8034 (_m4_foreach): Define the variant with immediate evaluation so
8035 that it contains exactly the items, not an expression which
8036 evaluation is the current item.
8037 (m4_re_string, m4_re_word): Don't over quote them.
8039 2002-03-04 Akim Demaille <akim@epita.fr>
8041 Instead of having stacking `shift's evaluated at the end, let
8042 `foreach' loops immediately evaluate them.
8044 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
8045 $*. This is the n-th time I change my mind, but hopefully this is
8048 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
8050 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
8051 it was only a hack for m4_text_wrap.
8052 (m4_car2): Remove, replaced by...
8054 (_m4_foreach): Adjust.
8055 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
8056 m4_bpatsubst for clarification.
8058 2002-03-04 Akim Demaille <akim@epita.fr>
8060 * doc/autoconf.texi (Changequote is Evil): New.
8062 2002-03-03 Kevin Ryde <user42@zip.com.au>
8064 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
8065 on old systems like SunOS.
8067 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
8069 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8070 lib/autoconf/functions.m4, lib/autoconf/general.m4,
8071 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
8072 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
8075 2002-02-28 Akim Demaille <akim@epita.fr>
8077 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
8080 2002-02-28 Kevin Ryde <user42@zip.com.au>
8082 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
8084 2002-02-25 Akim Demaille <akim@epita.fr>
8086 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
8089 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
8091 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
8092 translate \r\n to \n.
8094 2002-02-07 Akim Demaille <akim@epita.fr>
8098 2002-02-07 Akim Demaille <akim@epita.fr>
8100 Fix Autoconf PR/209.
8101 Also reported by Frank Denis.
8103 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
8105 2002-02-07 Akim Demaille <akim@epita.fr>
8107 Fix Autoconf PR/207:
8108 AC_PREFIX_PROGRAM fails with dashed program names
8110 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
8111 variable when looking for the prefix program.
8112 Now it also works for shell variables.
8114 2002-02-07 Akim Demaille <akim@epita.fr>
8116 * doc/autoconf.texi (Limitations of Builtins): More about
8119 2002-02-06 Akim Demaille <akim@epita.fr>
8121 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
8122 case/esac, some shells don't support it.
8123 Reported by Zack Weinberg.
8124 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
8126 2002-02-06 Akim Demaille <akim@epita.fr>
8128 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
8129 sure not to introduce newlines in at_groups.
8130 * lib/autotest/Makefile.am (autotest.m4f): Typo.
8132 2002-02-06 Akim Demaille <akim@epita.fr>
8134 * tests/torture.at (Configuring subdirectories): Skip if aclocal
8137 2002-02-05 Paul Eggert <eggert@twinsun.com>
8139 * doc/autoconf.texi (Specific Compiler Characteristics):
8140 Describe HP-UX cc bug workaround more accurately.
8141 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
8143 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
8144 cross-compilers, too. This undoes some of the most recent change
8147 2002-02-05 Akim Demaille <akim@epita.fr>
8149 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
8150 to make sure they are up to date when `check' is run.
8152 2002-02-05 Akim Demaille <akim@epita.fr>
8154 * doc/autoconf.texi (Making testsuite Scripts): Document
8157 2002-02-05 Akim Demaille <akim@epita.fr>
8159 * lib/freeze.mk: New.
8161 2002-02-05 Akim Demaille <akim@epita.fr>
8163 Implement `autom4te --freeze'.
8165 * bin/autom4te.in (&freeze): New.
8166 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
8167 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
8169 2002-02-05 Akim Demaille <akim@epita.fr>
8171 * bin/autom4te.in (&parse_args): Implement `frozen files are
8172 optional are the sum of the previous files on the command line'.
8173 Also, pass `--reload-state=' on them, so...
8175 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
8176 (M4sh): Rely on M4sugar.
8177 (Autotest, M4sh, M4sugar): Use frozen files.
8179 2002-01-31 Akim Demaille <akim@epita.fr>
8181 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
8182 * doc/autoconf.texi (Initializing configure): Adjust.
8184 2002-01-30 Akim Demaille <akim@epita.fr>
8186 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
8187 alphanumeric to `-' instead of `_'.
8189 2002-01-30 Akim Demaille <akim@epita.fr>
8191 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
8192 for plain code, the other for cross-compilation code. The latter
8193 is now run with GCC only.
8194 * doc/autoconf.texi (Compilers and Preprocessors): New.
8196 2002-01-30 Akim Demaille <akim@epita.fr>
8198 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
8200 * doc/autoconf.texi (Initializing configure): Explain how to
8201 change AC_INIT default values.
8203 2002-01-29 Akim Demaille <akim@epita.fr>
8205 * tests/torture.at (Configuring subdirectories): Use configure.in,
8206 so that aclocal 1.4 works.
8207 Reported by Alexandre Duret-Lutz and Larry Schmitt.
8209 2002-01-28 Akim Demaille <akim@epita.fr>
8211 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
8214 2002-01-28 Akim Demaille <akim@epita.fr>
8216 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
8217 AUTOTEST_PATH *after* it was set.
8218 Don't put `.' in the PATH: the user should be precise and `./' if
8219 needed. In addition, given that the test suite does some `cd', if
8220 `.' is in the path, the `tested programs' sections will report
8221 programs found in the test suite's directory, while during the
8222 tests (performed in their own directory), these programs are no
8223 longer visible. In other words, the results is confusing and
8225 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
8227 2002-01-24 Akim Demaille <akim@epita.fr>
8231 2002-01-24 Akim Demaille <akim@epita.fr>
8233 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
8234 * doc/autoconf.texi: Finally add Akim as an author.
8236 2002-01-24 Akim Demaille <akim@epita.fr>
8238 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
8239 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
8240 Bourne. Use /bin/sh.
8241 From Andreas Buening.
8243 2002-01-24 Akim Demaille <akim@epita.fr>
8245 * config/config.guess, config/config.sub, config/texinfo.tex:
8246 Update from masters.
8248 2002-01-24 Akim Demaille <akim@epita.fr>
8250 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
8251 * config/auxdir.m4, config/cond.m4, config/depend.m4,
8252 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
8253 * config/missing.m4, config/sanity.m4, config/select.m4,
8254 * config/strip.m4: Remove, to ease sync'ing with any version of
8257 2002-01-24 Akim Demaille <akim@epita.fr>
8259 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
8260 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
8261 Reported by Geir Ove Myhr.
8263 2002-01-21 Akim Demaille <akim@epita.fr>
8265 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
8267 2002-01-21 Akim Demaille <akim@epita.fr>
8269 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
8270 message on invalid options.
8271 * bin/autom4te.in (parse_args): Don't use
8272 Autoconf::General::getopt with non valid options.
8274 2002-01-17 Jim Meyering <meyering@lucent.com>
8276 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
8277 $ac_cv_exeext so we don't use an old, invalid, cached value.
8279 2002-01-11 Akim Demaille <akim@epita.fr>
8281 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
8283 * doc/autoconf.texi (Function Portability): Document the strnlen
8285 (Particular Functions): Document AC_FUNC_STRNLEN.
8286 * lib/autoscan/functions: Adjust.
8288 2002-01-06 Akim Demaille <akim@epita.fr>
8290 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
8291 package.m4, since is really depends upon configure.ac, not
8293 * doc/autoconf.texi (testsuite Scripts): Adjust.
8294 * tests/Makefile.am (package.m4): New.
8295 EXTRA_DIST it since its a source.
8297 2002-01-06 Akim Demaille <akim@epita.fr>
8299 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
8300 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
8301 and PACKAGE_BUGREPORT from here...
8302 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
8304 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
8305 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
8306 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
8307 * tests/tools.at (autoheader): Adjust.
8308 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
8310 2002-01-06 Akim Demaille <akim@epita.fr>
8312 * bin/autoscan.in (scan_file): Use `&used'.
8314 2002-01-03 Akim Demaille <akim@epita.fr>
8316 * doc/autoconf.texi (Output): Improved wording regarding use of
8320 2001-12-18 Kevin Ryde <user42@zip.com.au>
8322 * doc/autoconf.texi (Function Portability): Add notes on sscanf
8323 sometimes needing writable input.
8325 2001-12-17 Jim Meyering <meyering@lucent.com>
8327 * doc/autoconf.texi (New Macros): Tweak wording.
8329 2001-12-14 Akim Demaille <akim@epita.fr>
8331 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
8332 trailing files, don't apply `-rf' to files which might not be
8333 created by configure (core, core.*, and *.core), but just `rm -f'.
8334 Suggested by Jonathan Kamens.
8336 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
8338 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
8340 2001-12-14 Akim Demaille <akim@epita.fr>
8342 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
8344 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
8346 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
8347 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
8348 abs_srcdir, top_srcpath to abs_top_srcdir.
8349 (_AC_OUTPUT_FILES): Adjust.
8350 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
8351 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
8352 * tests/wrappl.in, tests/wrapsh.in: Adjust.
8354 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
8356 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
8357 C/Fortran linking on HP/UX, by extracting the Fortran library
8358 search path from the LPATH line in the $F77 -v output.
8360 2001-12-12 Kevin Ryde <user42@zip.com.au>
8362 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
8363 forbidden file descriptors table.
8365 2001-11-26 Akim Demaille <akim@epita.fr>
8367 * bin/autoscan.in (%c_keywords): Build it at top level.
8368 Map to 1 in order to simplify its uses.
8370 2001-11-26 Akim Demaille <akim@epita.fr>
8372 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
8373 Remove $filepath, useless.
8374 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
8375 variables, they are really part of the tokens.
8376 Split the input line on spaces and then look for tokens.
8377 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
8378 because of `lex$U.$(OBJEXT)'.
8379 (&scan_files): Use "@list" instead of join.
8380 * doc/Makefile.am (CLEANFILES): Add *.fns.
8382 2001-11-26 Akim Demaille <akim@epita.fr>
8384 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
8385 Remove, replaced by...
8386 * tests/wrappl.in: Be common for all the Perl executables.
8387 In particular autoscan and autoheader want -I.
8388 * configure.ac: Adjust.
8389 * lib/autoscan/headers: errno.h is portable.
8391 2001-11-26 Akim Demaille <akim@epita.fr>
8393 * bin/autoscan.in (used): New.
8396 2001-11-26 Akim Demaille <akim@epita.fr>
8398 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
8400 (&scan_sh_file): Remove a duplicate pattern.
8401 (&check_configure_ac): Use long options.
8402 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
8404 2001-11-26 Akim Demaille <akim@epita.fr>
8406 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
8407 Before, having a line containing the opening of a multi line
8408 comment made the whole line be ignored.
8410 2001-11-26 Akim Demaille <akim@epita.fr>
8412 * doc/autoconf.texi (Using an Autotest Test Suite): New.
8413 (testsuite Scripts): Be one of its subsection.
8414 (Autotest Logs): New.
8416 2001-11-26 Akim Demaille <akim@epita.fr>
8418 Test groups are now run two directories deeper.
8420 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
8421 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
8423 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
8424 top_srcdir, builddir and top_builddir.
8425 Use `at_*dir' relatively to the directory containing the
8426 suite, use `*dir' when relatively to the current group dir.
8428 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
8430 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
8431 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
8432 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
8435 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
8437 * doc/autoconf.texi (Using System Type): Add an example of `case
8438 $host' usage so people quit using `case $target' everywhere.
8440 2001-11-22 Akim Demaille <akim@epita.fr>
8442 * doc/autoconf.texi (Installation Directory Variables): Englishoes
8443 spotted by Jim Meyering.
8445 2001-11-16 Paul Eggert <eggert@twinsun.com>
8447 This patch implements a `long double' suggestion by Oliver Kiddle.
8449 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
8450 static, to catch errors if the value isn't known at compile-time
8451 and the compiler supports dynamic arrays. Change its name from
8452 `_array_' to `test_array' to avoid potential name clashes.
8453 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
8454 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
8455 better than double. Catch a bug in GCC 2.95.2 x86.
8456 * doc/autoconf.texi (C Compiler): Document the above.
8459 2001-11-13 Akim Demaille <akim@epita.fr>
8461 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
8463 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
8465 2001-11-13 Akim Demaille <akim@epita.fr>
8467 * lib/autotest/general.m4 (AT_INIT): After having run the test
8468 group, go back to the initial directory, not to at_suite_dir.
8470 2001-11-13 Akim Demaille <akim@epita.fr>
8472 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
8473 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
8474 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
8476 (AT_CHECK_CONFIGURE): Use absolute paths.
8477 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
8478 The problem is still the old one: there is no means in M4 (that I
8479 know about) to create a defining macro, because there is no means
8480 to create `$1' etc., therefore, the defining macro ``swallows''
8481 all the arguments meant to the defined macro.
8483 2001-11-13 Akim Demaille <akim@epita.fr>
8485 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
8486 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
8488 * tests/aclocal.m4: Remove, as it is no longer used.
8490 2001-11-13 Akim Demaille <akim@epita.fr>
8492 * lib/autotest/general.m4: Change `tests?' into `groups?' in
8493 variable names when referring to a single test group, or to
8494 `suite' when referring to the whole test suite.
8495 `at_last_test' is removed: m4 compute at_format itself.
8496 (at_stdout, at_stder1, at_stderr): New variables.
8497 (AT_CHECK): Use them.
8499 2001-11-13 Akim Demaille <akim@epita.fr>
8501 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
8503 Create `testsuite.dir/003/run' instead of `testsuite.003'.
8504 Do it as soon as a test fails, don't wait till the end of the test
8506 Don't remove $as_me.[0-9]*, since these files no longer exist.
8508 2001-11-13 Akim Demaille <akim@epita.fr>
8510 * tests/tools.at: Use absolute paths, since we are no longer run
8513 2001-11-13 Akim Demaille <akim@epita.fr>
8515 Now that tests are running in their own private dir, there is no
8516 need to list the files to remove at the end of tests groups.
8518 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
8519 (AT_data_files, at_data_files): Remove.
8520 (AT_CLEANUP, AT_DATA): Simplify.
8522 Remove the group dir if !debug && !failed.
8523 * tests/atspecific.m4: Adjust.
8525 2001-11-13 Akim Demaille <akim@epita.fr>
8527 Start a new layout for Autotest: `testsuite' creates
8528 `testsuite.dir' in which the at-check-line etc. files are to be
8529 found, and `testsuite.dir/003' where the test group 3 is run.
8531 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
8532 at_check_line_file, at_format, at_test_normalized, at_group_dir
8534 Create the directories.
8535 Use absolute paths for at- files.
8538 2001-11-11 Michael Matz <matz@kde.org>
8540 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
8542 (m4_car): Properly quote arguments.
8544 2001-11-13 Akim Demaille <akim@epita.fr>
8546 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
8547 with stricter rules on LIBOBJS.
8549 2001-11-12 Paul Eggert <eggert@twinsun.com>
8551 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
8552 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
8555 2001-11-12 Akim Demaille <akim@epita.fr>
8557 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
8559 2001-11-12 Akim Demaille <akim@epita.fr>
8561 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8562 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
8563 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8564 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
8565 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
8566 specify to what the macro should be defined (typically to 1).
8568 2001-11-12 Akim Demaille <akim@epita.fr>
8570 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
8573 2001-11-12 Akim Demaille <akim@epita.fr>
8575 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
8576 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
8577 definition used by Automake where LEX is +/- "${missing} lex" and
8578 `missing' itself contains variables.
8580 2001-11-12 Akim Demaille <akim@epita.fr>
8582 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
8583 Now that M4sh pushes BODY, the comments were output at the end of
8586 2001-11-08 Akim Demaille <akim@epita.fr>
8588 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
8589 that we can trace macros from aclocal.m4.
8590 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
8591 obsoleted, and redirect to the former anyway.
8592 Reported by Ralf Corsepius.
8594 2001-11-08 Akim Demaille <akim@epita.fr>
8596 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
8597 processed only if present.
8598 * tests/torture.at (Configuring subdirectories): Use autoreconf
8599 instead of successive calls to autoconf.
8600 Add a nonexistent subdirectory to exercise the patch above.
8601 Reported by Ralf Corsepius.
8603 2001-11-08 Kevin Ryde <user42@zip.com.au>
8605 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
8606 doesn't accept .S files.
8608 2001-11-07 Akim Demaille <akim@epita.fr>
8610 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
8611 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
8612 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
8613 * bin/autom4te.in (warn_forbidden): New.
8614 (handle_output): Use it.
8615 Read m4_pattern_forbid with messages.
8617 2001-11-05 Akim Demaille <akim@epita.fr>
8619 * bin/autom4te.in (--normalize): Remove.
8620 * lib/autom4te.in: Adjust.
8622 2001-11-05 Akim Demaille <akim@epita.fr>
8624 * tests/Makefile.am (testsuite): Rename this target as...
8625 ($(TESTSUITE)): this.
8628 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
8630 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
8631 the --prefix option, also remove it's argument.
8633 2001-11-05 Akim Demaille <akim@epita.fr>
8635 * doc/autoconf.texi (testsuite Invocation): Update.
8636 (Writing testsuite.at): Update.
8638 2001-11-03 Akim Demaille <akim@epita.fr>
8640 * doc/autoconf.texi: s/@code/@command/ where appropriate.
8642 2001-11-03 Akim Demaille <akim@epita.fr>
8644 * lib/Autom4te/General.pm: (&catfile, &canonfile)
8645 (&file_name_is_absolute): New, wrappers around routines from
8647 Use and export them.
8648 (&find_configure_ac): Optionally take a directory where to look at.
8649 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
8651 Default @ARGV to `.', not find_configure_ac.
8652 (&autoreconf): Argument is a directory.
8653 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
8654 * doc/autoconf.texi (autoreconf Invocation): Update.
8656 2001-11-03 Akim Demaille <akim@epita.fr>
8658 * lib/Autom4te/General.pm (@export_vars, @export_subs)
8659 (@export_forward_subs): New.
8660 Add basename, dirname, and fileparse.
8662 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
8663 Don't look for aclocal flags if we already know aclocal is not
8665 Move aclocal.m4t only if it exists.
8666 Reported by Ezra Peisach.
8668 2001-11-03 Akim Demaille <akim@epita.fr>
8670 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
8671 passed on command line, defaulting to ./configure.ac if present.
8672 (&maybe_autoreconf, File::Find): Remove, unused.
8673 (&autoreconf): If autoconf is not used, don't try to trace.
8675 2001-11-02 Akim Demaille <akim@epita.fr>
8677 * configure.ac: Bump to 2.52g.
8679 2001-11-02 Akim Demaille <akim@epita.fr>
8683 2001-11-02 Akim Demaille <akim@epita.fr>
8685 * config/config.guess, config/config.sub, doc/standards.texi:
8686 * config/lispdir.m4: Update from masters.
8687 * configure.ac: Bump to 2.52f.
8689 2001-11-02 Akim Demaille <akim@epita.fr>
8691 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
8692 Don't run aclocal when aclocal.m4 is not from aclocal.
8694 Don't run libtoolize and gettextize if --install is not given.
8696 2001-11-01 Paul Eggert <eggert@twinsun.com>
8698 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
8699 be invoked before _AS_LINENO_PREPARE.
8700 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
8701 than character ranges.
8703 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
8704 invoking AS_BASENAME. Set the locale variables to 'C' if
8705 possible, as POSIX requires this to get the traditional
8707 * doc/autoconf.texi (Special Shell Variables): Describe the above.
8709 2001-10-31 Paul Eggert <eggert@twinsun.com>
8711 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
8712 with {}, as that triggers a bug in Bash 2.05.
8714 (_AS_LINENO_PREPARE): Use Sed rather than
8715 Awk. Fix the sed prepass to work even if there are multiple
8716 instances of $LINENO on the same line. Do not substitute for
8717 other variables like $LINENOT. Do not check file dates; such a
8718 check is unreliable on sufficiently fast machines, and removing
8719 the check makes the code simpler and more reliable. Check for
8720 output and chmod failures.
8722 * doc/autoconf.texi (Special Shell Variables): Document
8725 2001-10-31 Akim Demaille <akim@epita.fr>
8727 * tests/Makefile.am (atconfig): Remove this target, Automake
8730 2001-10-31 Akim Demaille <akim@epita.fr>
8732 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
8733 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
8734 provided, while it is optional.
8735 * configure.ac: Adjust.
8737 2001-10-26 Paul Eggert <eggert@twinsun.com>
8739 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
8740 lib/Autom4te/Struct.pm:
8741 Require Perl 5.005_03 instead of just 5.005, as some tests fail
8744 * doc/autoconf.texi (Special Shell Variables): Document some
8745 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
8747 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
8748 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
8749 eval $LINENO is not portable in practice.
8751 2001-10-24 Akim Demaille <akim@epita.fr>
8753 * lib/Autom4te/General.pm (backname): New.
8755 2001-10-24 Akim Demaille <akim@epita.fr>
8757 * m4/: Remove, merged into...
8760 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
8762 * doc/autoconf.texi (Shellology): Mention the problems with bash
8763 2.05's use of ANSI quoting in its `set' builtin.
8765 2001-10-22 Paul Eggert <eggert@twinsun.com>
8767 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
8768 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
8769 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
8770 POSIX decided to standardize on the int flavor of strerror_r.
8771 Always do char* test, as there's no reason not to.
8772 Assign to a char* var, to catch strerror_r that returns int*.
8774 * doc/autoconf.texi (Particular Functions):
8775 Document the above changes. Also, document the fact that
8776 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
8778 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
8780 2001-10-20 Akim Demaille <akim@epita.fr>
8782 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
8783 the executable was missing from the log.
8785 2001-10-20 Akim Demaille <akim@epita.fr>
8787 * lib/Autom4te/General.pm (&update_file): If destination is
8788 unchanged, remove the source.
8789 (&up_to_date_p): Don't be verbose, be debug.
8790 * bin/autoreconf.in: No longer support --m4dir.
8791 (&autoreconf): Display the full path of the configure.ac we are
8794 Be sure to honor --force with gettextize.
8796 * doc/autoconf.texi: Adjust.
8798 2001-10-20 Akim Demaille <akim@epita.fr>
8800 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
8802 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
8803 `intl' is already present, as it refuses unless --force.
8804 (&parse_args): Use -I, --include instead of the old Autoconf
8806 ($localdir, $autoconf_dir): Remove.
8808 (&maybe_autoreconf): New, to preserve $_ for File::Find.
8810 2001-10-19 Jens Petersen <petersen@redhat.com>
8812 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
8813 * doc/autoconf.texi (Particular Programs): Likewise.
8815 2001-10-19 Akim Demaille <akim@epita.fr>
8817 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
8818 file in @configure_input@.
8819 Don't mention `automatically' in addition to `generated'.
8820 * tests/torture.at (#define header templates): Adjust.
8822 2001-10-19 Akim Demaille <akim@epita.fr>
8824 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
8825 comment, explain how to install automatic mode selection.
8828 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
8830 * bin/autoreconf.in (autoreconf): Display the path to the
8831 configure.ac being studied.
8833 2001-10-18 Paul Eggert <eggert@twinsun.com>
8835 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
8836 long, to work around a bug in the HP C compiler version HP92453-01
8839 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
8840 (AS_BASENAME_EXPR): New macro.
8841 (AS_BASENAME_SED): Do not assume GNU sed semantics.
8842 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
8843 and fall back on 'sed' only if the other two fail. This makes
8844 AS_BASENAME act more like AS_DIRNAME.
8845 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
8846 contains white space.
8847 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
8848 Use AS_DIRNAME, since I think it's now DOS-friendly.
8849 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
8850 Allow "dirname //FOO" to return either / or //, as POSIX allows
8853 2001-10-10 Akim Demaille <akim@epita.fr>
8855 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
8856 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
8859 2001-10-10 Akim Demaille <akim@epita.fr>
8861 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
8863 (_AS_ECHO_N): AS_REQUIREs it.
8865 2001-10-10 Akim Demaille <akim@epita.fr>
8867 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
8868 (AC_INCLUDES_DEFAULT): Move to...
8869 * lib/autoconf/headers.m4: here.
8870 * lib/autoconf/types.m4: Comment changes.
8871 * doc/autoconf.texi: Specify where the default includes are used
8872 in the macro prototypes.
8874 2001-10-09 Akim Demaille <akim@epita.fr>
8876 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
8879 2001-10-08 Akim Demaille <akim@epita.fr>
8881 * bin/autoreconf.in (&autoreconf): Remove debugging code.
8882 (&parse_args): Pass verbosity/debugging options to subtools when
8883 --debug, not when --verbose.
8884 * lib/autom4te.in (Autoreconf-preselections): New.
8887 2001-10-08 Akim Demaille <akim@epita.fr>
8889 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
8891 2001-10-08 Akim Demaille <akim@epita.fr>
8893 * doc/autoconf.texi (autoreconf Invocation): Adjust.
8894 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
8896 2001-10-08 Akim Demaille <akim@epita.fr>
8898 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
8899 (Syntax of the shell scripts): Don't.
8900 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
8901 bother with $force since...
8902 * lib/Autom4te/General.pm: does.
8904 2001-10-08 Akim Demaille <akim@epita.fr>
8906 * bin/autoreconf.in: Rewrite in Perl.
8907 * configure.ac: Adjust.
8908 * lib/Autom4te/General.pm (&up_to_date_p): New.
8909 * bin/autom4te.in (&up_to_date_p): Use it.
8911 (&up_to_date): this.
8913 2001-10-08 Akim Demaille <akim@epita.fr>
8915 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
8916 (m4_list_cmp): Use $0 to reinvoke yourself.
8917 (m4_patsubsts): New.
8918 (m4_strip, m4_version_unletter): Use it.
8919 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
8921 2001-10-08 Akim Demaille <akim@epita.fr>
8923 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
8924 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
8925 * lib/autoconf/types.m4, lib/autotest/general.m4,
8926 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
8927 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
8928 m4_bregexp, m4_bpatsubst, and m4_bmatch.
8929 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
8931 2001-10-08 Akim Demaille <akim@epita.fr>
8933 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
8935 2001-10-08 Akim Demaille <akim@epita.fr>
8937 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
8938 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
8939 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
8940 * tests/tools.at, tests/m4sh.at: Use it.
8941 * tests/m4sh.at: Don't rely on Autoconf macros.
8942 (DIRNAME_TEST): Also exercise the expr variant.
8943 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
8944 preferred M4sugar extension is now `.4s'.
8945 * tests/README: Remove.
8947 2001-10-08 Akim Demaille <akim@epita.fr>
8949 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
8950 (m4_provide_if): this.
8951 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
8952 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
8953 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
8954 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
8956 2001-10-08 Akim Demaille <akim@epita.fr>
8958 Use `add-log-current-defun-function' for ChangeLog creation.
8959 Suggested by Tom Tromey.
8961 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
8962 (autotest-mode): Adjust.
8963 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
8964 'comment-region onto `C-c ;'.
8965 Comments are `#', not `dnl'.
8966 (autoconf-current-defun): New.
8967 (autoconf-font-lock-keywords): Recognize `m4_defun'.
8969 2001-10-08 Akim Demaille <akim@epita.fr>
8971 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
8972 * lib/m4sugar/m4sh.m4: here.
8973 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
8974 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
8975 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
8976 include handle the m4_pattern_*, no longer push the
8977 BODY diversion nor set the /bin/sh line, AS_INIT does it.
8978 * lib/autotest/general.m4 (AT_INIT): Likewise.
8979 * tests/base.at: Adjust the tests to use AS_INIT.
8980 * tests/tools.at (AT_DATA_FORBIDDEN): New.
8981 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
8984 2001-10-07 Paul Eggert <eggert@twinsun.com>
8986 * doc/autoconf.texi (config.status Invocation):
8987 CONFIG_SHELL defaults to a shell that supports LINENO if available.
8989 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
8990 shell does not support LINENO, and if CONFIG_SHELL is unset or
8991 empty, and if we can find a shell that does support LINENO,
8992 then set CONFIG_SHELL to that shell and then re-execute
8993 ourselves with CONFIG_SHELL.
8995 2001-10-05 Paul Eggert <eggert@twinsun.com>
8997 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
8998 doesn't exist. Remove *.tmp, as a .tmp file is created during the
8999 build of $(TESTSUITE).
9001 2001-10-05 Akim Demaille <akim@epita.fr>
9003 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
9004 iff we are a bareword.
9005 Reported by Raja R Harinath.
9007 2001-10-05 Akim Demaille <akim@epita.fr>
9009 * tests/m4sh.at (LINENO): New.
9010 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
9011 PATH_SEPARATOR before using it.
9012 Fix the absolute path case/esac pattern.
9013 Provide $0 as fallback for as_myself.
9014 Reported by Raja R Harinath.
9016 2001-10-05 Akim Demaille <akim@epita.fr>
9018 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
9019 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
9021 2001-10-05 Akim Demaille <akim@epita.fr>
9023 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
9024 (AS_SHELL_SANITIZE): here. Use it.
9025 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
9028 2001-10-04 Akim Demaille <akim@epita.fr>
9030 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
9031 combination of Awk and sed to replace $LINENO.
9033 2001-10-02 Paul Eggert <eggert@twinsun.com>
9035 * doc/autoconf.texi (Limitations of Builtins): You can't use
9036 "source"; it's not portable. Remove confusing and
9037 somewhat-incorrect example involving "." and "/".
9039 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
9040 compatibility with POSIX shells.
9042 2001-10-02 Akim Demaille <akim@epita.fr>
9044 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
9045 instead of exec'ing to preserve $0 and $@.
9047 2001-10-01 Akim Demaille <akim@epita.fr>
9049 * tests/testsuite (AT_INIT) <at_pass_list>: New.
9050 Don't run twice the same test.
9052 2001-10-01 Akim Demaille <akim@epita.fr>
9054 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
9055 No longer output the list of tests.
9056 <--list>: New option.
9057 <--full-help>: Remove.
9058 Complete the short/long options duality.
9059 Various small adjustments.
9061 2001-10-01 Akim Demaille <akim@epita.fr>
9063 * doc/autoconf.texi: Use @kbd for user input.
9064 Always use `$' as shell prompt.
9066 2001-09-30 Paul Eggert <eggert@twinsun.com>
9068 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
9069 Don't use nested parenthesization. This patch was originally
9070 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
9071 but somehow it didn't get incorporated then.
9072 * doc/autoconf.texi (Limitations of Usual Tools):
9073 Clarify remark about sed and nested parenthesization.
9075 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
9076 Report an error if the size cannot be determined even though
9078 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
9079 Check for `expr' arithmetic overflow, and for compilation failure,
9080 and invoke a new argument $4 if either is discovered.
9081 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
9082 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
9084 2001-09-28 Akim Demaille <akim@epita.fr>
9086 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
9087 * m4/lispdir.m4: New.
9088 * aclocal.m4, configure.ac: Adjust.
9090 2001-09-28 Akim Demaille <akim@epita.fr>
9092 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
9094 (AT_INIT): More the wrapped section to where it will be expanded.
9095 Output `AT_tested' only when existing.
9096 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
9098 2001-09-27 Akim Demaille <akim@epita.fr>
9100 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
9101 generates too many bug reports.
9103 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
9104 status when executing the ACTION-IF-FALSE.
9105 * tests/base.at (AC_TRY_*): Rename as...
9106 (AC_TRY_COMMAND): this.
9107 (AC_RUN_IFELSE): New.
9108 * tests/compile.at (Extensions, C keywords)
9109 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
9110 (Broken/missing compilers, AC_PROG_CPP with warnings)
9111 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
9112 * tests/c.at (Extensions, C keywords)
9113 (Broken/missing compilers, AC_PROG_CPP with warnings)
9114 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
9115 (AC_PROG_CPP requires AC_PROG_CC): here and...
9116 * tests/fortran.at (GNU Fortran 77): there.
9117 * doc/autoconf.texi (autoconf Invocation): Fix the example:
9118 AC_TRY_RUN is about compilation, not shell commands.
9119 (Test Programs): AC_TRY_RUN works as used to be advertised.
9121 2001-09-27 Akim Demaille <akim@epita.fr>
9123 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
9125 Be sure to detect when $LINENO always returns the same value.
9126 Look for the original script, basename($0) is certainly not
9128 Pass the CLI arguments to `$as_me.lineno'.
9130 2001-09-25 Akim Demaille <akim@epita.fr>
9132 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
9133 Be sure the close and reopen the LOG fd before and after using tee
9135 <at_tests_pattern>: Adjust to the new format of at_help_all.
9137 2001-09-23 Akim Demaille <akim@epita.fr>
9139 * bin/autom4te.in (parse_args): There can be several invocations
9142 2001-09-23 Akim Demaille <akim@epita.fr>
9144 * doc/autoconf.texi (Top): Wrap in @ifnottex.
9146 2001-09-23 Akim Demaille <akim@epita.fr>
9148 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
9149 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
9150 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
9151 builddir, buildpath, top_builddir, and top_buildpath.
9152 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
9153 the current directory.
9154 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
9155 variables *before* changing the current directory.
9156 Skip nonexistent dirs.
9157 * doc/autoconf.texi (Preset Output Variables): Document these
9160 * lib/autotest/general.m4: Do not reset AT_victims.
9161 Don't compute at_srcdir nor at_top_srcdir.
9163 * tests/tools.at: Hence use top_srcdir.
9165 * tests/Makefile.am, tests/autoconf, tests/autoheader,
9166 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
9168 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
9169 * tests/wrapsh.in, tests/autoupdate.in: New.
9170 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
9171 * configure.ac: Build the position independent wrappers.
9173 * man/Makefile.am: Now that test wrappers are position
9174 independent, use them and drop dark envvar magic.
9176 2001-09-23 Akim Demaille <akim@epita.fr>
9178 * doc/autoconf.texi (Common Shell Constructs): Rename as...
9179 (Programming in M4sh): this.
9180 Promote to @section.
9182 2001-09-23 Akim Demaille <akim@epita.fr>
9184 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
9185 Pass $at_debug_args to the rerun test suite.
9186 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
9187 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
9190 2001-09-23 Akim Demaille <akim@epita.fr>
9192 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
9194 2001-09-23 Akim Demaille <akim@epita.fr>
9196 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
9199 2001-09-23 Akim Demaille <akim@epita.fr>
9201 * lib/Autom4te/General.pm (&debug): New.
9202 * bin/autom4te.in ($language): Move to...
9204 Handle --language in languages.
9205 * lib/autom4te.in (Automake-selections, Autoheader-selections)
9206 (Autoscan-selections): New.
9209 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
9211 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
9212 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
9213 to match current versions from CVS Automake.
9215 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
9217 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
9220 2001-09-22 Akim Demaille <akim@epita.fr>
9222 * lib/autoconf/autotest.m4: Create `package.m4'.
9223 * tests/Makefile.am (package.m4): Remove.
9225 2001-09-22 Akim Demaille <akim@epita.fr>
9227 Rely on `$LINENO' when possible instead of `__oline__'.
9229 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
9230 `$LINENO' support replacement when not supported.
9231 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
9232 them explicitly to be sure they are not output before this section
9233 (via m4_require). Cosmetic only.
9234 * lib/autoconf/c.m4, lib/autoconf/general.m4,
9235 * lib/autoconf/programs.m4: Replace all the occurrences of
9236 `__oline__' with `$LINENO'.
9237 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
9239 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
9241 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
9242 character (u: -> ue) in a code comment.
9243 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
9246 2001-09-21 Akim Demaille <akim@epita.fr>
9248 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
9249 Suggested by Jim Meyering.
9251 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9253 * lib/autoconf/programs.m4: Use extensions listed in
9254 $ac_executable_extensions when looking for programs.
9256 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9258 * lib/autoconf/general.m4: Fix a small Englisho.
9259 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
9260 setting up ac_dir_suffix and ac_top_builddir.
9261 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
9263 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9265 * doc/autoconf.texi (File System Conventions): Clarify the use of
9267 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
9268 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
9269 be used instead of ':'.
9270 * lib/autotest/general.m4: Replace occurrences of ':' in
9271 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
9273 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9275 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
9276 arguments. Fixed a typo.
9278 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9280 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
9281 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
9283 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9285 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
9286 * bin/autoupdate.in: Ditto.
9287 * bin/autoheader.in: Reworded a few comments.
9288 * bin/autoconf.in: Reworded help text for a few options.
9289 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9290 * bin/autoscan.in, bin/autoupdate.in: Ditto.
9292 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9294 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
9295 already have $file). Set output files to binary mode (helps avoid
9296 CR issues on DOSish systems).
9298 2001-09-19 Akim Demaille <akim@epita.fr>
9300 * lib/autotest/general.m4: Englishoes.
9301 From Tim Van Holder and Alexey Mahotkin.
9303 2001-09-18 Paul Eggert <eggert@twinsun.com>
9305 * doc/autoconf.texi (Common Shell Constructs): New node,
9306 documenting AS_DIRNAME.
9307 (Limitations of Usual Tools): Refer to it when discussing dirname.
9308 Also, update discussion of POSIX standard to reflect latest draft.
9310 * lib/autoconf/c.m4:
9311 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
9313 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
9314 Do not pass a first argument with leading '-'
9315 to expr, by parenthesizing initial integers that might be negative.
9317 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
9318 now merely checks whether it is an error to pass an argument
9321 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
9322 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
9323 whether it is a (compile-time) error to pass an argument to
9324 getpgrp. This simpler test supports the revised documentation,
9325 and is all that AC_FUNC_GETPGRP's users really need.
9327 2001-09-18 Akim Demaille <akim@epita.fr>
9329 * doc/autoconf.texi (Limitations of Make) <$<>: New.
9331 2001-09-18 Akim Demaille <akim@epita.fr>
9333 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
9335 * lib/autotest/general.m4 (AT_INIT): Adjust.
9337 2001-09-18 Paul Wagland <paul@wagland.net>
9339 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
9341 Add test for AS_BASENAME.
9342 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
9343 added test. It now correctly handles /1/2/3/, returning '3' not ''.
9344 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
9345 * tests/base.at: Fixed the expected responses. The old ones were
9347 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
9348 the documentation claims it should (and how it behaved in 2.13).
9350 2001-09-18 Akim Demaille <akim@epita.fr>
9352 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
9353 the AC_CONFIG_COMMANDS invocation.
9354 This also solves the name clash problems.
9355 Don't set the package's ID.
9356 * lib/m4sugar/Makefile.am (version.m4): Revamp.
9357 No longer to be shipped.
9358 (version.in): Remove.
9359 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
9360 * lib/autoconf/status.m4: Adjust.
9361 Use `m4_PACKAGE_STRING'.
9362 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
9363 the only optional argument is the name of the test suite.
9364 Expect `package.m4' to define the package signature.
9365 * lib/autom4te.in (Autotest): Add `package.m4?'.
9366 * tests/Makefile.am (package.m4): New.
9367 * tests/suite.at: ifnames is a victim.
9369 2001-09-18 Akim Demaille <akim@epita.fr>
9371 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
9372 AC_LIBSOURCE, AC_CONFIG_FILES.
9373 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
9374 program version string doesn't match the package's.
9375 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
9378 2001-09-17 Paul Eggert <eggert@twinsun.com>
9380 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
9381 Allow expression to return any value that can fit into unsigned long
9382 (not int, as before). Check for output errors.
9384 2001-09-17 Bruno Haible <haible@ilog.fr>
9386 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
9387 Always include <stdio.h> and <stdlib.h>. Evaluate
9388 the expression in an extra function before these includes. Call
9389 fprintf "%d" only after ensuring the argument is of type 'int'.
9390 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
9392 2001-09-17 Paul Eggert <eggert@twinsun.com>
9394 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
9395 or CFLAGS=-O5. In that case, the linker has a relaxed view of
9396 fatal errors, and AC_CHECK_LIB causes it to include libraries even
9397 when they don't exist.
9399 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
9400 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
9403 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
9404 version with the version used by fileutils 4.1, except use
9405 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
9408 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
9410 2001-09-13 Akim Demaille <akim@epita.fr>
9412 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
9414 Reported by Gerrit P. Haase.
9416 2001-09-13 Akim Demaille <akim@epita.fr>
9418 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
9419 m4_defn'ing is valid.
9421 2001-09-13 Akim Demaille <akim@epita.fr>
9423 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
9424 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
9427 2001-09-13 Akim Demaille <akim@epita.fr>
9429 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
9431 (m4_re_escape): New.
9432 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
9433 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
9434 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
9436 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
9437 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
9438 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
9439 AT_tests_all for consistency.
9441 (AT_VICTIMS): Similar to AT_KEYWORDS.
9442 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
9444 2001-09-13 Akim Demaille <akim@epita.fr>
9446 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
9448 2001-09-13 Akim Demaille <akim@epita.fr>
9450 * lib/autotest/general.m4 (AT_INIT): Create and remove
9451 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
9452 test suites can cohabit.
9454 2001-09-13 Akim Demaille <akim@epita.fr>
9456 * tests/mktests.sh: Don't output banners for empty test files.
9458 2001-09-13 Akim Demaille <akim@epita.fr>
9460 Test suites can be run independently of configure.
9462 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
9463 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
9464 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
9466 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
9468 * lib/autotest/general.m4: Use ECHO_*.
9470 2001-09-13 Akim Demaille <akim@epita.fr>
9472 * bin/ifnames.in: Rewrite in Perl.
9473 * configure.ac: Don't look for AWK.
9474 * tests/tools.at (AWK portability): Remove.
9475 (Syntax of the shell scripts): Don't check ifnames.
9476 (AT_CHECK_PERL_SYNTAX): New.
9477 (Syntax of the Perl scripts): Check ifnames.
9478 * tests/ifnames: New.
9480 2001-09-13 Akim Demaille <akim@epita.fr>
9482 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
9484 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
9485 Remove all the other keywords.
9487 2001-09-10 Akim Demaille <akim@epita.fr>
9489 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
9490 SETUP: no longer used.
9491 Support -k, --keywords.
9492 <at_help>: Be `no', `short', or `long'.
9493 <at_help_all>: New variable.
9495 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
9496 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
9497 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
9498 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
9499 No longer fill the HELP diversion.
9500 (AT_CLEANUP): Use them.
9501 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
9502 (m4_list_append): Remove.
9504 Spread a few keywords in the Autoconf test suite.
9506 2001-09-10 Akim Demaille <akim@epita.fr>
9508 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
9509 PATH_SEPARATOR, let M4sh compute it.
9510 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
9511 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
9513 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
9514 Simplify when the path is not a literal.
9515 (AS_UNAME): Use it to report PATH.
9516 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
9517 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
9518 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
9519 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
9520 normalize the path, and to look for victims.
9521 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
9522 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
9524 2001-09-07 Akim Demaille <akim@epita.fr>
9526 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
9527 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
9528 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
9529 related variables into `at_package_*'.
9530 * lib/autotest/general.m4 (AT_VICTIMS): New.
9531 (AT_INIT): Adjust for stand-alone/embedded test suites.
9532 (AS_MESSAGE_LOG_FD): Define and use it.
9533 * tests/suite.at (AT_VICTIMS): Use it.
9534 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
9537 2001-09-07 Akim Demaille <akim@epita.fr>
9539 Move toward possibly stand-alone test suites.
9541 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
9542 in addition, it introduces useless differences in logs.
9543 (AT_INIT): Let atconfig and atlocal be both optional.
9544 Adjust PATH computation.
9545 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
9547 2001-09-07 Akim Demaille <akim@epita.fr>
9549 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
9552 2001-09-05 Akim Demaille <akim@epita.fr>
9554 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
9555 to avoid GCC warnings.
9558 2001-09-05 Akim Demaille <akim@epita.fr>
9560 * bin/autom4te.in: --language is -l, not -s.
9562 2001-09-05 Akim Demaille <akim@epita.fr>
9564 Be ready to handle filenames as stupid as `dnl.at', for if even
9565 the maintainer is dumb enough to do that...
9567 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
9568 excellence in M4 quotation: consider `__file__' is active.
9570 And BTW, when invoking m4, pass the --include in the right order:
9573 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
9576 2001-09-05 Akim Demaille <akim@epita.fr>
9578 * lib/Autom4te/XFile.pm: New lib file.
9579 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
9580 * bin/autoheader.in: Use it.
9582 2001-09-05 Akim Demaille <akim@epita.fr>
9584 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
9587 2001-09-05 Akim Demaille <akim@epita.fr>
9589 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
9590 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
9592 * bin/autoscan.in: Use `getopt' and `find_files' etc.
9593 Add -I, --include support.
9594 * doc/autoconf.texi (autoscan Invocation): Adjust.
9596 2001-09-05 Akim Demaille <akim@epita.fr>
9598 CVS GNU M4 doesn't like `undefine(undefined)'.
9600 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
9601 New, extracted from main.
9602 Use IO::File wherever possible.
9603 (input.m4): Be constant, use -I instead of hard coding $tmp.
9604 Therefore be a quoted heredoc.
9605 Don't invoke `_au_disable', since ac was not loaded, but just
9608 2001-08-31 Akim Demaille <akim@epita.fr>
9612 2001-08-31 Akim Demaille <akim@epita.fr>
9614 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
9616 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
9618 2001-08-31 Akim Demaille <akim@epita.fr>
9620 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
9621 serious problems handling heredocs in heredocs.
9622 Reported by Nicolas Joly.
9624 2001-08-31 Akim Demaille <akim@epita.fr>
9626 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
9627 (Making testsuite Scripts): Update.
9629 2001-08-31 Akim Demaille <akim@epita.fr>
9631 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
9633 2001-08-31 Akim Demaille <akim@epita.fr>
9635 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
9636 (testsuite Scripts): There is no such thing as `atconfig.in'.
9637 And actually one diagram is missing: test suite runtime.
9639 2001-08-31 Akim Demaille <akim@epita.fr>
9641 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
9644 2001-08-31 Akim Demaille <akim@epita.fr>
9646 * bin/autoupdate.in (@include): `installcheck' revealed the path
9647 to m4sugar was lacking!
9649 2001-08-31 Akim Demaille <akim@epita.fr>
9651 * man/Makefile.am (.x.1): We really have to pass
9652 autom4te_perllibdir.
9654 2001-08-31 Akim Demaille <akim@epita.fr>
9656 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
9657 debug scripts, in particular passing explicitly listed tests to
9660 2001-08-31 Akim Demaille <akim@epita.fr>
9662 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
9663 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
9664 Use directly autom4te, not autoconf.
9665 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
9667 2001-08-31 Akim Demaille <akim@epita.fr>
9669 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
9670 * bin/autoheader.in (%symbol): Strip arguments of macros.
9672 2001-08-31 Akim Demaille <akim@epita.fr>
9674 * doc/autoconf.texi: Catch up -I, --include changes.
9676 2001-08-31 Akim Demaille <akim@epita.fr>
9678 * bin/autom4te.in (&parse_args): Die on unknown languages.
9679 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
9681 Promote --include over --macrodir and other obsolete options.
9683 2001-08-31 Akim Demaille <akim@epita.fr>
9685 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
9686 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
9687 * bin/autom4te.in ($autoconf): Pass --force.
9688 `print $out' doesn't print `$_' but `$out'.
9689 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
9690 (autoheader): Pass --force since the test suite goes too fast for
9692 Adjust to the new autoheader messages.
9694 2001-08-31 Akim Demaille <akim@epita.fr>
9696 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
9697 Check the completeness of the #template.
9698 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
9699 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
9702 2001-08-31 Akim Demaille <akim@epita.fr>
9704 * lib/Autom4te/General.pm (&find_file, &update_file): New.
9705 * bin/autoupdate.in, bin/autoheader.in: Adjust.
9706 Drop AC_MACRODIR dead for real.
9707 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
9708 `autoheader: `config.hin' is created'.
9709 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
9711 2001-08-31 Akim Demaille <akim@epita.fr>
9713 * bin/autoheader.in: Rewrite in Perl.
9714 * tests/autoheader: Adjust.
9716 2001-08-31 Akim Demaille <akim@epita.fr>
9718 * bin/autoconf.in (--include, -I): New option.
9719 Map --localdir, --autoconf-dir onto it.
9720 Forward autom4te's options instead of interpreting them.
9721 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
9722 There is no such envvar since the inception of autom4te.cfg.
9723 * bin/autom4te.in (&parse_args): Uniquify `@include'.
9724 * bin/autoupdate.in: Adjust, and perform more control.
9725 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
9726 * tests/autoconf: Dittowise.
9728 2001-08-31 Akim Demaille <akim@epita.fr>
9730 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
9731 * bin/autom4te.in (&find_file): Support `FILE?' standing for
9733 Use -e, not -f, since /dev/null for instance is OK.
9734 (&parse_args): Adjust.
9735 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
9737 2001-08-31 Akim Demaille <akim@epita.fr>
9739 * configure.ac: Also find tested executables in bin.
9740 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
9741 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
9742 installed peer executables, only PATH is allowed to resolve it.
9743 Pass `autoconf_dir' via options, not via invisible envvars.
9744 * lib/Autom4te/General.pm (&find_peer): Remove.
9745 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
9746 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
9747 * man/Makefile.am: Let help2man rely on PATH instead of trying to
9748 find the executables for it.
9749 * tests/Makefile.am: Major cleanup. Too lazy to document...
9750 * tests/atlocal.in: Remove all the obscure envvar manipulations.
9752 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
9753 indeed related to running the test suite, while passing
9754 --autoconf-dir and others is related to running non installed
9755 Autoconf executables. So don't do that, leave it to...
9756 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
9757 * tests/autoscan: New.
9758 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
9759 refer to library files: rely on --language.
9761 2001-08-29 Akim Demaille <akim@epita.fr>
9763 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
9764 s/--set/--language/.
9766 2001-08-29 Akim Demaille <akim@epita.fr>
9768 * doc/autoconf.texi: Strip the @nodes.
9769 Suggested by Paul Eggert.
9770 (Initializing configure): Typo.
9772 2001-08-29 Akim Demaille <akim@epita.fr>
9774 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
9775 Suggested by Paul Eggert.
9777 2001-08-29 Akim Demaille <akim@epita.fr>
9779 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
9780 download in a tmp dir.
9782 2001-08-29 Akim Demaille <akim@epita.fr>
9784 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
9785 case insensitive OSes out there :(
9786 From Tim Van Holder.
9788 2001-08-29 Akim Demaille <akim@epita.fr>
9790 * lib/autom4te.in: New.
9791 * lib/Makefile.am (edit, autom4te.cfg): New.
9792 * bin/autom4te.in (BEGIN): Simplify.
9793 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
9794 (&load_configuration): New. Use it.
9795 (&parse_args): Support --mode, --set, and --melt.
9796 * bin/autoconf.in: Simplify and adjust.
9797 * tests/Makefile.am (AUTOMAKE): Use --set.
9798 * tests/atlocal.in: Adjust.
9799 * BUGS: distcheck and check are weak.
9801 2001-08-29 Akim Demaille <akim@epita.fr>
9803 * lib/autotest/general.m4: Use
9804 foo=`(command) 2>/dev/null`
9806 foo=`command` 2>/dev/null
9807 (at-devnull): Rename as...
9809 (--clean): Remove AT-* files too.
9810 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
9811 Reported by Nicolas Joly.
9813 2001-08-28 Akim Demaille <akim@epita.fr>
9815 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
9816 quotes inside single quotes.
9817 Reported by Nicolas Joly.
9819 2001-08-28 Kevin Ryde <user42@zip.com.au>
9821 * doc/autoconf.texi (Function Portability): Mention C right shifts.
9823 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
9825 * lib/autotest/general.m4: Reword some messages.
9826 (AT_INIT): Check for the `times' builtin before using it.
9827 Support test ranges as arguments to the testsuite.
9828 Have -e imply -d as the help text suggested.
9830 2001-08-27 Akim Demaille <akim@epita.fr>
9832 * Makefile.maint: Formatting changes.
9833 (do-po-update, po-update, cvs-update, update): New targets.
9836 2001-08-27 Akim Demaille <akim@epita.fr>
9838 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
9840 Pass it to debug-*.sh scripts.
9841 <AUTOTEST_PATH>: May contain absolute dir names.
9843 2001-08-27 Akim Demaille <akim@epita.fr>
9845 * lib/autotest/general.m4 (AT_INIT): Log the command line.
9846 Support `VAR=VAL' as arguments.
9847 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
9848 may be set via the command line.
9850 2001-08-27 Akim Demaille <akim@epita.fr>
9852 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
9853 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
9854 first the build dirs, then the src dirs.
9855 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
9857 2001-08-27 Akim Demaille <akim@epita.fr>
9859 * lib/autotest/general.m4 (AT_INIT): Output the definition of
9860 at_data_files earlier.
9861 (--clean, -c): New option.
9862 * tests/Makefile.am: Use this option.
9864 2001-08-27 Akim Demaille <akim@epita.fr>
9866 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
9867 `ac_top_builddir' to mimic Automake's vocabulary, which much more
9870 * doc/autoconf.texi (Configuration Actions): Document the vars
9871 available in commands.
9872 Emphasize the risks of collisions in init-cmds.
9874 2001-08-27 Akim Demaille <akim@epita.fr>
9876 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
9877 (Initializing configure): this new node.
9879 2001-08-27 Akim Demaille <akim@epita.fr>
9881 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
9883 2001-08-27 Akim Demaille <akim@epita.fr>
9885 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
9886 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
9888 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
9890 2001-08-27 Akim Demaille <akim@epita.fr>
9892 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
9894 * lib/autoconf/autoheader.m4: this new file.
9895 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
9896 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
9898 * lib/autoconf/autoupdate.m4: this new file.
9900 2001-08-27 Akim Demaille <akim@epita.fr>
9902 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
9903 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
9904 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
9906 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
9907 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
9909 2001-08-27 Akim Demaille <akim@epita.fr>
9911 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
9912 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
9913 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
9914 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
9915 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
9916 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
9917 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
9918 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
9919 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
9920 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
9921 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
9922 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
9923 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
9924 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
9925 (_AC_OUTPUT_SUBDIRS): Move to...
9926 * lib/autoconf/status.m4: this new file.
9927 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
9928 * tests/Makefile.am, tests/suite.at: Adjust.
9930 2001-08-27 Akim Demaille <akim@epita.fr>
9934 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
9935 (AMTAR): Help automake define it.
9936 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
9937 needed, 1.5 can have a macro and a target with the same name.
9938 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
9940 * m4/init.m4, m4/sanity.m4: Update.
9941 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
9942 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
9943 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
9944 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
9946 2001-08-27 Akim Demaille <akim@epita.fr>
9948 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
9950 * lib/autoconf/version.in: Remove.
9951 * lib/m4sugar/version.in: New.
9952 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
9954 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
9955 the name of the directory they're in, instead of the filename,
9956 since version.m4 is now in m4sugar, but m4_acversion must not be
9957 classified as an Autoconf macro.
9958 ($input_m4): Don't qualify the path to m4sugar.
9959 Rather, pass autoconf_dir to m4.
9960 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
9961 * tests/suite.at: Require 2.52c.
9963 2001-08-27 Akim Demaille <akim@epita.fr>
9965 testsuite.log should include config.log.
9967 * lib/autotest/autotest.m4: New.
9968 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
9969 * tests/suite.at : Adjust.
9970 (AT_INIT): Log config.log.
9971 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
9972 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
9973 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
9974 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
9975 of config.log on traps.
9976 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
9977 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
9979 Open the log as soon as possible.
9980 Use the same log introduction as configure's.
9982 2001-08-22 Paul Eggert <eggert@twinsun.com>
9984 * doc/autoconf.texi (Indices): New node.
9985 Move indices out of the top level menu and into this submenu.
9987 2001-08-22 Akim Demaille <akim@epita.fr>
9989 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
9991 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
9993 2001-08-22 Akim Demaille <akim@epita.fr>
9995 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
9996 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
9997 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
9998 * lib/autoconf/programs.m4: here.
9999 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
10000 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
10001 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
10002 * lib/autoconf/programs.m4: here.
10003 (_AC_DECL_YYTEXT): Rename as...
10004 (_AC_PROG_LEX_YYTEXT_DECL): this.
10005 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
10006 * tests/Makefile.am, tests/suite.am: Adjust.
10008 2001-08-22 Akim Demaille <akim@epita.fr>
10010 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
10012 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
10014 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
10015 * lib/autoconf/functions.m4: here.
10016 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
10017 (AH_CHECK_LIB): Move to...
10018 * lib/autoconf/libs: this new file.
10019 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
10020 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
10021 * lib/autoconf/libs.m4: here.
10022 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
10024 2001-08-22 Akim Demaille <akim@epita.fr>
10026 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
10027 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
10028 (AC_SITE_LOAD): Better logging of config.site.
10030 2001-08-20 Akim Demaille <akim@epita.fr>
10032 * configure.ac (AT_CONFIG): Fix the path.
10033 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
10036 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
10038 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
10039 program with AC_LANG_PROGRAM before feeding it to
10040 AC_COMPILE_IFELSE. Cleanup grep usage.
10042 2001-08-20 Akim Demaille <akim@epita.fr>
10044 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
10045 * NEWS, README, README-alpha, TODO, tests/README: This package is
10046 `Autoconf', not `autoconf' (the executable).
10048 2001-08-20 Akim Demaille <akim@epita.fr>
10050 Info readers seem to need `Index' in the index node title :(
10052 * doc/autoconf.texi: Reverse the 2001-08-15 change which
10053 simplified index node names.
10055 2001-08-20 Akim Demaille <akim@epita.fr>
10057 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
10058 arguments are not literals.
10059 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
10060 Specify the output variables, and macros defined.
10062 2001-08-20 Akim Demaille <akim@epita.fr>
10064 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
10065 (Examining Syntax) <AC_TRY_COMPILE>
10066 (Examining Libraries) <AC_TRY_LINK>
10067 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
10069 Reported by Werner Lemberg.
10071 2001-08-20 Akim Demaille <akim@epita.fr>
10073 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
10074 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
10075 Load atlocal late enough to dump it in the log.
10076 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
10078 2001-08-20 Akim Demaille <akim@epita.fr>
10080 * tests/torture.at (Configuring subdirectories): New test.
10081 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
10083 * m4/atconfig.m4: Be sure the let $[0] be expandable.
10084 (top_srcdir): Fix its computation.
10086 2001-08-20 Akim Demaille <akim@epita.fr>
10088 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
10089 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
10091 Create `atconfig' automagically.
10092 Configure atlocal.in if present.
10093 * tests/atconfig.in: Remove.
10094 * tests/atlocal.in: New.
10095 * tests/Makefile.am: Adjust.
10097 2001-08-20 Akim Demaille <akim@epita.fr>
10099 Huh!?!?! There are still some user EOF tags used, which prevents
10100 their use in AC_CONFIG_COMMANDS for instance...
10102 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
10103 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
10104 `_CSEOF', or `_ATEOF', as appropriate.
10105 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
10106 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
10108 2001-08-20 Akim Demaille <akim@epita.fr>
10110 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
10111 * tests/semantics.at, tests/tools.at, tests/torture.at:
10112 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
10114 2001-08-20 Akim Demaille <akim@epita.fr>
10116 Autotest invokes M4sh's initialization.
10118 * lib/autotest/general.m4: Adjust the diversion names.
10119 (AT_INIT): Run AS_INIT.
10120 Use the BINSH diversion to invoke /bin/sh.
10121 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
10122 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
10124 2001-08-20 Akim Demaille <akim@epita.fr>
10126 Let M4sh have its own diversions.
10128 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
10129 (_m4_divert(NOTICE)): Rename as...
10130 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
10131 (_m4_divert(HEADER-COMMENT)): these.
10132 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
10133 (_m4_divert(NOTICE)): New, for Libtool.
10134 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
10135 long ago with `_m4_divert(GROW)'.
10136 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
10138 2001-08-20 Akim Demaille <akim@epita.fr>
10140 * tests/base.at, tests/compile.at, tests/foreign.at,
10141 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
10142 * tests/semantics.at, tests/suite.at, tests/tools.at,
10143 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
10145 2001-08-20 Akim Demaille <akim@epita.fr>
10147 * bin/autom4te.in (handle_output): Handle @__@.
10149 2001-08-20 Akim Demaille <akim@epita.fr>
10151 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
10152 * lib/autotest/general.m4: Adjust the license.
10154 2001-08-17 Paul Eggert <eggert@twinsun.com>
10156 * doc/autoconf.texi (Function Portability): Mention snprintf,
10157 following up on a suggestion by Kevin Ryde.
10159 2001-08-17 Akim Demaille <akim@epita.fr>
10161 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
10162 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
10164 2001-08-17 Akim Demaille <akim@epita.fr>
10166 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
10167 `$0.log' as for projects where testsuite is in src, we'd have
10168 testsuite.log created in src.
10170 2001-08-17 Akim Demaille <akim@epita.fr>
10172 * bin/autom4te.in (&parse_args): Recognize --normalize.
10174 2001-08-17 Akim Demaille <akim@epita.fr>
10176 Start implementing the AC_CHECK_HEADER transition scheme.
10178 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
10179 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
10180 (AC_CHECK_HEADER): Use them.
10182 2001-08-17 Akim Demaille <akim@epita.fr>
10184 * doc/autoconf.texi: Work around Texinfo buglets.
10185 (Transformation Rules): One example is enough, users are expected
10186 to have their brains on. And BTW, use DESTDIR.
10187 (dvar): New macro. Use it.
10189 2001-08-17 Akim Demaille <akim@epita.fr>
10191 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
10192 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
10193 looking for ChangeLogs.
10195 2001-08-17 Akim Demaille <akim@epita.fr>
10197 * bin/autom4te.in: --normalize is a new option.
10198 * bin/autoconf.in: Use it.
10200 2001-08-17 Akim Demaille <akim@epita.fr>
10202 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
10203 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
10205 2001-08-16 Paul Eggert <eggert@twinsun.com>
10207 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
10210 2001-08-15 Akim Demaille <akim@epita.fr>
10212 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
10215 2001-08-15 Akim Demaille <akim@epita.fr>
10217 * doc/autoconf.texi (pr): New index.
10218 (prindex, findex): Use, merge, and output them.
10219 (Environment Variable Index, Output Variable Index)
10220 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
10221 (Autotest Macro Index): Rename as...
10222 (Environment Variables, Output Variables,Preprocessor Symbols)
10223 (Autoconf Macros, M4 Macros, Autotest Macros): these.
10224 * doc/install.texi: Use @command.
10225 (Environment Variables): Rename as...
10226 (Defining Variables): this.
10228 2001-08-15 Akim Demaille <akim@epita.fr>
10230 * doc/autoconf.texi (Function Portability): sprintf's return
10234 2001-08-15 Akim Demaille <akim@epita.fr>
10236 * Makefile.maint (CVS): New.
10237 (local-check): Run changelog-check. last.
10238 (alpha): Don't depend upon local-check, since...
10239 (cvs-dist): depends upon it.
10241 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
10243 * tests/Makefile.am: Use a clean-local rule to remove
10244 autom4te.cache (it's a directory, not a file.
10245 * Makefile.am: Ditto (but maintainer-clean-local).
10247 2001-08-15 Akim Demaille <akim@epita.fr>
10249 * bin/autom4te.in (@m4_warning): New.
10250 (&handle_m4): Use it.
10251 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
10252 warnings are issued at each run.
10253 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
10254 is in the src tree.
10256 2001-08-15 Akim Demaille <akim@epita.fr>
10258 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
10259 don't waste time running `autoupdate --version' works.
10260 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
10262 2001-08-13 Akim Demaille <akim@epita.fr>
10264 * doc/autoconf.texi (ma): Rename this index as...
10267 2001-08-13 Akim Demaille <akim@epita.fr>
10269 * Makefile.am: Remove dead code and dead comments.
10270 (pdf, html): New targets.
10271 * doc/autoconf.texi (Using Autotest): New chapter.
10272 * doc/Makefile.am (pdf): New targets.
10273 (CLEANFILES): Adjust.
10275 2001-08-13 Akim Demaille <akim@epita.fr>
10277 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
10278 duration of the test suite.
10280 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
10282 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
10283 endianness for comparison instead of relying on AT_CHECK_ENV.
10285 2001-08-11 Paul Eggert <eggert@twinsun.com>
10287 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
10288 to the INSTALL file.
10290 2001-08-11 Paul Eggert <eggert@twinsun.com>
10292 * NEWS: The autoconf manual now is distributed under the terms
10293 of the GNU Free Documentation License.
10295 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
10296 Add an appendix "Copying This Manual" for the FDL.
10298 * doc/fdl.texi: New file, from
10299 <http://www.gnu.org/licenses/fdl.texi>.
10301 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
10303 2001-08-10 Paul Eggert <eggert@twinsun.com>
10305 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
10306 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
10307 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
10308 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
10309 m4/sanity.m4, tests/README, tests/aclocal.m4,
10310 tests/atspecific.m4, tests/base.at, tests/compile.at,
10311 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
10312 tests/semantics.at, tests/suite.at, tests/tools.at,
10313 tests/torture.at: Add copyright notice.
10315 * tests/mktests.sh: Update year in copyright notice.
10317 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
10319 * tests/semantics.at (AC_C_BIGENDIAN): New test.
10321 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
10323 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
10324 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
10325 * doc/autoconf.texi (C Compiler Characteristics): Update
10326 documentation for AC_C_BIGENDIAN.
10328 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
10330 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
10331 magic values from an object file when cross-compiling.
10332 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
10334 2001-08-10 Akim Demaille <akim@epita.fr>
10336 * bin/autom4te.in (&handle_output): Don't use `grep' with side
10338 Suggested by Russ Allbery.
10340 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10342 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
10343 current $prefix to the sub-configures.
10345 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
10347 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
10348 extension (needed on BeOS). Reported by Guido van Rossum.
10350 2001-08-09 Akim Demaille <akim@epita.fr>
10352 * bin/autom4te.in ($icache): Load it only if older than autom4te.
10354 2001-08-07 Akim Demaille <akim@epita.fr>
10356 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
10358 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
10359 No need to remove the files before and after the each test, before
10360 each test and at the end of the suite is enough.
10361 Display only the children `times', not the shell's.
10362 If the test failed or was skipped, at-times is not available.
10364 2001-08-07 Akim Demaille <akim@epita.fr>
10366 Always produce testsuite.log, including when there are no
10367 failures. This helps getting information on skipped tests, and
10368 duration of the tests. Err, implement the latter btw.
10370 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
10371 Dump information on the first run of each test.
10372 (AT_CLEANUP): Create `at-times' containing the duration of the
10375 2001-08-07 Akim Demaille <akim@epita.fr>
10377 The use of `dumpstat' revealed that `len' was used although it
10378 should not. m4_text_wrap was using it, but in the Autoconf world
10379 where it is legal. Hence (i) test M4sh in its own world, not
10380 Autoconf's, and (ii), ahem, fix the bug :)
10382 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
10383 does not like `' instead of [].
10384 (AT_INIT): Forbid `^_?AT_'.
10385 And don't output such tokens.
10386 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
10387 `script.as', and `autom4te.cache'.
10388 Remove `empty' and `macro' which are no longer used.
10389 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
10390 * tests/m4sugar.at: Use it.
10391 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
10393 2001-08-07 Akim Demaille <akim@epita.fr>
10395 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
10397 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
10399 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
10401 2001-08-04 Akim Demaille <akim@epita.fr>
10403 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
10404 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
10406 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
10407 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
10408 (AC_F77_MAIN): Likewise.
10410 2001-08-04 Akim Demaille <akim@epita.fr>
10412 Don't rely on M4sugar outputting the patterns in files, since we
10413 might process the output _without_ running m4, hence without these
10416 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
10417 * bin/autom4te.in (@Request::includes): Remove, unused.
10418 (@Request::source): Rename as...
10419 (@Request::input): this.
10420 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
10421 (&handle_output): Fetch the patterns from the traces.
10422 `$forbidden' and `$allowed' are constant: use m//o.
10423 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
10424 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
10426 2001-08-04 Akim Demaille <akim@epita.fr>
10428 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
10429 autoconf', i.e., in addition to caching traces, cache the output.
10431 * bin/autom4te.in (Request::cache): Rename as...
10432 (Request::id): this.
10433 ($cache, $icache, $tcache, $ocache): New.
10434 (&handle_m4): Save M4 output in the cache instead of $tmp.
10435 (&handle_output): Adjust.
10436 (&up_to_date_p): Check that the output cache is up to date too.
10437 (top level): Run `&handle_m4' iff force or the cache is invalid.
10438 Run `&handle_output' if the output cache is more recent.
10440 2001-08-04 Akim Demaille <akim@epita.fr>
10442 * bin/autom4te.in ($force): New.
10443 (&parse_args, &print_usage): -f, --force is a new option.
10444 (&handle_output): CPP directives might have spaces after `#'.
10445 (&parse_args): The first file only can be frozen.
10447 2001-08-04 Akim Demaille <akim@epita.fr>
10449 Don't let autom4te compute the `include' traces several times:
10450 first check that the trace cache file is up to date, and then
10451 compare its timestamp with that of the output.
10453 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
10454 the preamble. Don't require 5.005 as Autom4te::General does it,
10455 and better yet (use `use', not `require'!).
10456 * lib/Autom4te/Struct.pm: Rename the last occurrences of
10457 Class::Struct as Autom4te::Struct.
10458 * lib/Autom4te/General.pm (File::stat): Use it.
10459 (&mtime): New, export it.
10460 * bin/autom4te.in: Use it.
10461 Declare `$req' is invalid if it is outdated.
10462 Don't declare it valid before saving it if something went wrong.
10464 2001-08-04 Akim Demaille <akim@epita.fr>
10466 Autom4te shall not encode Autoconf data, and preselecting traces
10467 must be proposed to the users.
10469 * bin/autom4te.in (@required_trace): Remove.
10471 (&parse_args, &print_usage): -p, --preselect is a new option.
10472 (&up_to_date_p): Adjust.
10473 * bin/autoconf.in: Preselect some Autoconf macros.
10475 2001-08-04 Akim Demaille <akim@epita.fr>
10477 * tests/tools.at (autoconf --trace: user macros): Check traces on
10478 macros invoked without arguments, and macros invoked with multiple
10481 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
10483 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
10486 2001-08-03 Akim Demaille <akim@epita.fr>
10488 * bin/autoconf.in ($@): Work around the usual sh bug.
10491 2001-08-03 Akim Demaille <akim@epita.fr>
10493 Clean up the handling of the M4 builtins tracing exception.
10495 * bin/autom4te.in (Request::request): Don't complete M4 builtins
10497 (@m4_builtins): Rename as...
10498 (@m4_builtin): this.
10499 (%m4_builtin_alternate_name): New.
10500 (&parse_args): Complete the trace requests with alternate names.
10501 (&handle_traces): Hence no longer do it here.
10502 (&trace_requests): Remove, unused.
10504 2001-08-03 Akim Demaille <akim@epita.fr>
10506 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
10507 m4_if, and m4_wrap.
10509 2001-08-03 Akim Demaille <akim@epita.fr>
10511 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
10512 (m4_divert_pop): Dump the whole diversion stack when a diversion
10514 * bin/autom4te.in (&handle_output): Remember of the first
10515 occurrence of a possibly undefined macro, not the last.
10516 Complain about the possibly undefined macros in the same order as
10517 the appear in the output.
10518 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
10519 * tests/tools.at (autoconf: forbidden tokens, basic)
10520 (autoconf: forbidden tokens, exceptions): No longer sort
10521 autoconf's stderr, as it is now deterministic.
10522 Check that `dnl' is caught.
10524 2001-08-01 Akim Demaille <akim@epita.fr>
10526 * configure.ac: Bump to 2.52c.
10528 2001-08-01 Akim Demaille <akim@epita.fr>
10532 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
10534 2001-08-01 Akim Demaille <akim@epita.fr>
10538 2001-08-01 Akim Demaille <akim@epita.fr>
10540 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
10543 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
10544 `END', as `Autom4te::General::END' will be triggered.
10545 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
10546 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
10547 system to run `mv', `rm', and `cmp'.
10549 2001-08-01 Akim Demaille <akim@epita.fr>
10551 * lib/Autom4te/General.pm (&unique): New.
10552 * bin/autoscan.in (&output): Use it to issue trace requests once.
10554 2001-08-01 Akim Demaille <akim@epita.fr>
10556 * lib/Autom4te/General.pm: New.
10557 * bin/autom4te.in (Autom4te::General): Use it.
10558 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
10559 (&find_configure_ac, &find_slave): Remove.
10560 * bin/autoscan.in: Likewise.
10561 * bin/autoupdate.in: Likewise.
10563 2001-08-01 Akim Demaille <akim@epita.fr>
10565 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
10566 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
10567 * bin: here, new directory.
10568 * lib/Autoconf: Rename as...
10569 * lib/Autom4te: this, to please case insensitive junkie OSes.
10571 2001-08-01 Akim Demaille <akim@epita.fr>
10573 * autom4te.in ($m4): Handle the --nesting-limit.
10574 * autoconf.in (M4): Remove.
10576 2001-08-01 Akim Demaille <akim@epita.fr>
10578 * autoconf.in ($AWK): Remove, no longer used.
10579 * test/tools.at: Use AT_CHECK_AUTOCONF.
10580 (AWK portability): Remove, for autoconf no longer uses AWK.
10581 (Syntax of the Perl scripts): New.
10582 * configure.ac: autoconf no longer needs an AWK with a good
10584 Use a static test on AC_PACKAGE_VERSION.
10585 * autom4te.in (&up_to_date_p): Output depends on the arguments.
10586 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
10587 * tests/atconfig.in (PERL): New.
10589 2001-08-01 Akim Demaille <akim@epita.fr>
10591 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
10592 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
10593 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
10594 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
10595 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
10596 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
10597 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
10598 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
10599 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
10600 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
10601 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
10602 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
10603 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
10604 * lib/autoconf/c.m4: here, new file.
10606 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
10607 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
10608 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
10609 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
10610 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
10611 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
10612 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
10613 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
10614 (AC_F77_FUNC): Move to...
10615 * lib/autoconf/fortran.m4: here, new file.
10617 2001-08-01 Akim Demaille <akim@epita.fr>
10619 * acfunctions.m4: Rename as...
10620 * lib/autoconf/functions.m4: this.
10621 * acgeneral.m4: Rename as...
10622 * lib/autoconf/general.m4: this.
10623 * acheaders.m4: Rename as...
10624 * lib/autoconf/headers.m4: this.
10625 * aclang.m4: Rename as...
10626 * lib/autoconf/lang.m4: this.
10627 * acoldnames.m4: Rename as...
10628 * lib/autoconf/oldnames.m4: this.
10629 * acspecific.m4: Rename as...
10630 * lib/autoconf/specific.m4: this.
10631 * actypes.m4: Rename as...
10632 * lib/autoconf/types.m4: this.
10633 * autoconf.m4: Rename as...
10634 * lib/autoconf/autoconf.m4: this.
10636 * m4sugar.m4: Rename as...
10637 * lib/m4sugar/m4sugar.m4: this.
10638 * m4sh.m4: Rename as...
10639 * lib/m4sugar/m4sh.m4: this.
10641 * tests/atgeneral.m4: Rename as...
10642 * lib/autotest/general.m4: this.
10644 * acfunctions: Rename as...
10645 * lib/autoscan/functions: this.
10646 * acheaders: Rename as...
10647 * lib/autoscan/headers: this.
10648 * acidentifiers: Rename as...
10649 * lib/autoscan/identifiers: this.
10650 * aclibraries: Rename as...
10651 * lib/autoscan/libraries: this.
10652 * acmakevars: Rename as...
10653 * lib/autoscan/makevars: this.
10654 * acprograms: Rename as...
10655 * lib/autoscan/programs: this.
10657 2001-08-01 Akim Demaille <akim@epita.fr>
10659 * doc/autoconf.texi: Moving/deleting open files is not portable.
10660 Portability issues for `.' (source), and more information about sed.
10662 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
10664 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
10665 which has a special meaning and is not a reference to libibmil.a.
10666 Reported by Matteo Frigo.
10668 2001-07-25 Pavel Roskin <proski@gnu.org>
10670 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
10673 2001-07-25 Akim Demaille <akim@epita.fr>
10675 * autoconf.in: Try to define the variables before using them.
10676 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
10677 instead of `$perllibdir'.
10678 * tests/atconfig.in ($autom4te_perllibdir): Export it.
10680 2001-07-25 Akim Demaille <akim@epita.fr>
10682 * autoconf.in (ac_LF_and_DOT): Remove, unused.
10684 2001-07-24 Akim Demaille <akim@epita.fr>
10686 Let autoconf use autom4te for traces.
10688 * autoconf.in ($task, task trace): Remove, merely pass --trace to
10690 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
10691 (Because I found no way for autom4te to accept `-').
10692 * autom4te.in (&Request::request): Beware of M4 builtins.
10693 (END): Don't try to remove the content of an empty dir.
10694 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
10695 (&handle_output): Set a default value to `$forbidden'.
10696 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
10697 ($autoconf): Pass --debug and --verbose.
10698 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
10701 2001-07-24 Akim Demaille <akim@epita.fr>
10703 Let autoconf use autom4te to create configure.
10705 * autoconf.in ($automate): New var.
10706 (task script): Use autom4te.
10707 * autom4te.in (File::Spec): Use it.
10709 (&parse_args): --warning is -W, not -w.
10710 Find the top level files.
10711 (&handle_m4): Pass the warnings flags.
10712 Don't report verbosely m4's failures, unless requested.
10713 (&handle_output): Don't complain for forbidden tokens in comments.
10714 Be sure to report all the forbidden tokens within a single line.
10715 (&trace_format_to_m4): Preserve `$_'.
10716 (&handle_traces): Sort the output macros.
10717 (&up_to_date_p): Find the files before trying to get its time stamp.
10719 2001-07-24 Akim Demaille <akim@epita.fr>
10721 * Makefile.am: Ship, build and install Autom4te.
10722 (SUBDIRS): Add lib.
10723 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
10724 * configure.in: Require Perl.
10725 * man/autom4te.in: New.
10727 2001-07-19 Paul Eggert <eggert@twinsun.com>
10729 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
10730 example, rather than (exit 1); exit (which isn't portable).
10732 2001-07-18 Akim Demaille <akim@epita.fr>
10736 2001-07-18 Akim Demaille <akim@epita.fr>
10738 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
10739 was run, while they are needed also when it is expanded.
10740 Reported by Nicolas Joly.
10742 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
10743 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
10744 AC_F77_DUMMY_MAIN being expanded.
10746 2001-07-18 Akim Demaille <akim@epita.fr>
10748 * configure.in: Bump to 2.51a.
10750 2001-07-17 Akim Demaille <akim@epita.fr>
10754 2001-07-17 Akim Demaille <akim@epita.fr>
10756 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
10757 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
10759 2001-07-17 Akim Demaille <akim@epita.fr>
10761 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
10762 used. Well, then use the prototypes when you can, and runtime as
10764 Reported by Artur Frysiak
10766 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
10767 (AC_FUNC_GETPGRP): Use it.
10768 First try to compile with 0-ary or 1-ary calls.
10770 2001-07-17 Akim Demaille <akim@epita.fr>
10772 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
10776 2001-07-17 Akim Demaille <akim@epita.fr>
10778 * Makefile.maint: Sync. with cppi 1.10.
10780 2001-07-17 Akim Demaille <akim@epita.fr>
10782 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
10783 AC_F77_DUMMY_MAIN has been run.
10784 From Pavel Roskin and Steven G. Johnson.
10786 2001-07-17 Akim Demaille <akim@epita.fr>
10788 * configure.in: Rename as...
10789 * configure.ac: this.
10791 2001-07-17 Akim Demaille <akim@epita.fr>
10793 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
10796 * Makefile.maint (release-archive-dir): Rename as...
10797 (release_archive_dir): this, so that it can be specialized in
10800 2001-07-14 Akim Demaille <akim@epita.fr>
10802 * configure.in: Bump to 2.50d.
10804 2001-07-14 Akim Demaille <akim@epita.fr>
10807 * Makefile.maint (alpha): Typo.
10809 2001-07-14 Akim Demaille <akim@epita.fr>
10811 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
10813 2001-07-14 Akim Demaille <akim@epita.fr>
10815 * config/config.guess, config/config.sub, config/texinfo.tex
10816 * doc/standards.texi, doc/make-stds.texi: Update.
10818 2001-07-14 Akim Demaille <akim@epita.fr>
10820 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
10822 2001-07-14 Akim Demaille <akim@epita.fr>
10824 * Makefile.maint (maintainer-check): Rename as...
10825 (maintainer-distcheck): this.
10826 (changelog-check, static-check): New.
10829 2001-07-14 Kevin Ryde <user42@zip.com.au>
10831 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
10832 for CXX is g++, not gcc.
10834 2001-07-14 Akim Demaille <akim@epita.fr>
10836 * doc/autoconf.texi (Files): New subsection.
10838 2001-07-14 Akim Demaille <akim@epita.fr>
10840 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
10842 (Generic Compiler Characteristics): this.
10843 (C++ Compiler): New subsection.
10845 2001-07-14 Akim Demaille <akim@epita.fr>
10847 * autoscan.in: Use IO::File.
10848 Adjust all the routines to use it.
10849 ($log): New file (autoscan.log).
10850 (output): Dump detailed logs into $log, and a shortened version to
10852 (&scan_makefile): Refine the regexp catching tokens in the code.
10853 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
10854 and the `configure.ac' checking feature.
10856 2001-07-12 Akim Demaille <akim@epita.fr>
10858 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
10859 Reported by Michael Elizabeth Chastain.
10861 * autoconf.in: Refuse such AWK.
10862 * configure.in: Likewise.
10863 * Makefile.am (acversion.m4): Do not use move-if-change this file
10865 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
10867 2001-07-10 Jens Petersen <petersen@redhat.com>
10869 * autoscan.in (&scan_makefile): Improve programs regexp to parse
10870 things like "g++", "file.c" and "some-conf" as tokens.
10871 (&scan_file): Match C++ files extensions.
10872 If the filename extension is C++ then ask for c++.
10874 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
10876 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
10877 AC_TRY_LINK_FUNC, to check whether defining a dummy
10878 main-like routine is needed for linking with F77 libs.
10880 2001-07-05 Pavel Roskin <proski@gnu.org>
10882 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
10884 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
10887 2001-07-05 Akim Demaille <akim@epita.fr>
10889 * Makefile.am (move_if_change): New. Use it instead of `mv'.
10890 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
10892 Reported by Nicolas Joly.
10894 2001-07-04 Akim Demaille <akim@epita.fr>
10896 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
10898 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
10899 warnings from compilers.
10900 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
10901 for all the compilers, not only GNU. Hence move from here...
10902 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
10904 2001-07-04 Akim Demaille <akim@epita.fr>
10906 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
10907 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
10910 2001-07-04 Akim Demaille <akim@epita.fr>
10912 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
10913 the ``strings.h'' change claimed below.
10915 2001-07-04 Akim Demaille <akim@epita.fr>
10917 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
10919 2001-07-04 Akim Demaille <akim@epita.fr>
10921 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
10922 strings.h if usable with string.h.
10923 Suggested by Paul Eggert.
10925 2001-07-04 Akim Demaille <akim@epita.fr>
10927 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
10928 From Jens Petersen.
10930 2001-07-03 Akim Demaille <akim@epita.fr>
10932 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
10935 2001-07-03 Akim Demaille <akim@epita.fr>
10937 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
10938 compiler, not the preprocessor.
10939 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
10940 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
10942 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
10943 earlier if there are.
10945 2001-07-03 Akim Demaille <akim@epita.fr>
10947 * autoscan.in ($initfile): Remove.
10948 (&find_file): Rename as...
10949 (&scan_file): this.
10950 Immediately scan the current file, instead of gathering them, and
10951 later having them handled by &scan_files.
10952 (&scan_files): Merely invoke Find::File.
10955 2001-07-02 Akim Demaille <akim@epita.fr>
10957 * autoscan.in: Formatting changes, matching the invocation order.
10958 (File::Find): Use it instead of Perl 4's `find.pl'.
10959 (&wanted): Rename as...
10960 (&find_file): this.
10962 2001-07-01 Pavel Roskin <proski@gnu.org>
10964 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
10965 break in the argument to AC_TRY_LINK_FUNC.
10966 (AC_F77_MAIN): Remove conftest* after using break in the
10967 argument to AC_TRY_LINK.
10969 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
10971 Add alternate 'main' routine detection for linking C/C++ with Fortran,
10972 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
10974 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
10975 dummy alternate main is required even if the user provides her own
10977 (AC_F77_MAIN): New macro to detect whether it is possible to
10978 provide an alternate 'main' function name, using the 'main' from
10979 the Fortran libraries.
10980 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
10981 cross-language link tests can be performed successfully.
10982 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
10983 after $LIBS, for consistency; this should be the general rule since
10984 the user may want to link to Fortran libraries that require $FLIBS.
10985 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
10987 2001-06-29 Pavel Roskin <proski@gnu.org>
10989 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
10990 at-stdout and at-stderr instead of removing the newline
10991 from the echo output, which is not guaranteed to work.
10993 2001-06-28 Jens Petersen <petersen@redhat.com>
10995 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
10996 confdefs.h when non-zero.
10998 2001-06-28 Akim Demaille <akim@epita.fr>
11000 * configure.in: Bump to 2.50c.
11002 2001-06-26 Akim Demaille <akim@epita.fr>
11006 2001-06-26 Akim Demaille <akim@epita.fr>
11010 2001-06-25 Pavel Roskin <proski@gnu.org>
11012 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
11013 argument, AUTOCONF-FLAGS.
11014 * tests/mktests.sh (update_exclude_list): Add
11015 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
11016 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
11017 AC_FUNC_WAIT3 with "-W no-obsolete".
11019 2001-06-25 Akim Demaille <akim@epita.fr>
11021 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
11023 2001-06-25 Akim Demaille <akim@epita.fr>
11025 * autoscan.in (%macro): Now maps from word to list of macros.
11026 (&init_tables): Die when a word which is already handled by
11027 explicit macros is mapped to the default macro.
11028 (&print_unique): Remove, inlined in...
11029 (&output_kind): here.
11030 (File::Basename): Use it.
11031 (&output): Sort the CONFIG_FILES.
11032 * acheaders: Normalize.
11033 * acfunctions: Likewise.
11035 2001-06-25 Akim Demaille <akim@epita.fr>
11037 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
11038 characteristics in the logs.
11039 Suggested by Mo DeJong.
11041 2001-06-24 Akim Demaille <akim@epita.fr>
11043 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
11044 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
11045 * doc/autoconf.texi (Autoconf 2.13): New section.
11047 2001-06-24 Akim Demaille <akim@epita.fr>
11049 * autoconf.in (Task traces): Separate the error messages from the
11050 traces to improve robustness.
11052 2001-06-23 Akim Demaille <akim@epita.fr>
11054 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
11055 three as failures are unlikely, and speed matters.
11057 2001-06-23 Akim Demaille <akim@epita.fr>
11059 * doc/autoconf.texi (Redefined M4 Macros): New.
11061 2001-06-23 Akim Demaille <akim@epita.fr>
11063 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
11064 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
11067 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
11069 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
11070 config.status targets to after the evaluation of the INIT-CMDS.
11071 Double quote config.status targets (used to be single quoted).
11073 2001-06-23 Akim Demaille <akim@epita.fr>
11075 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
11076 Check the content of the created file.
11077 Check the ./config.status command line invocation.
11079 2001-06-23 Akim Demaille <akim@epita.fr>
11081 * tests/foreign.at (Libtool): Reject prehistoric versions.
11083 2001-06-23 Akim Demaille <akim@epita.fr>
11085 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
11086 preexisting files matching a.*.
11088 2001-06-23 Akim Demaille <akim@epita.fr>
11090 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
11092 * doc/autoconf.texi (AC_ARG_VAR): Update.
11094 2001-06-21 Akim Demaille <akim@epita.fr>
11096 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
11097 precious variables have changed.
11098 * tests/torture.at (AC_ARG_VAR): Adjust.
11100 2001-06-21 Akim Demaille <akim@epita.fr>
11102 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
11103 but some sed choke on multiple `;', and other tools (e.g.,
11104 Automake), include the separator themselves.
11106 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
11108 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
11110 * doc/autoconf.texi (Functions Portability): Rename as...
11111 (Function Portability): this.
11112 (Function Portability): Document potential problems with unlink().
11114 2001-06-19 Paul Eggert <eggert@twinsun.com>
11116 * NEWS, doc/autoconf.texi: Document quadrigraphs.
11118 2001-06-18 Akim Demaille <akim@epita.fr>
11120 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
11122 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
11124 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
11125 (_AC_FUNC_VFORK): this.
11126 Remove AC_DEFINEs and don't guess cross-compilation values.
11127 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
11128 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
11129 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
11130 vfork doesn't work.
11131 Guess values if cross-compiling, but warn.
11132 * acfunctions: Add AC_FUNC_FORK.
11133 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
11134 and vfork appropriately.
11136 2001-06-18 Akim Demaille <akim@epita.fr>
11138 * doc/autoconf.texi (Functions Portability): New section.
11140 2001-06-18 Akim Demaille <akim@epita.fr>
11142 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
11144 Suggested by Andreas Schwab.
11146 2001-06-18 Akim Demaille <akim@epita.fr>
11148 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
11149 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
11150 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
11151 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
11152 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
11153 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
11154 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
11157 2001-06-18 Akim Demaille <akim@epita.fr>
11159 * doc/autoconf.texi (ms): New index.
11160 (Macro Index): Rename as...
11161 (Autoconf Macro Index): this.
11162 (M4 Macro Index): New appendix.
11163 (Programming in M4): New chapter.
11164 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
11165 (Quoting): Rename as...
11166 (M$ Quotation): this.
11167 Be part of `Programming in M4).
11169 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
11171 * tests/torture.at (AC_ARG_VAR): Set variables and export them
11172 in separate statements for compatibility with Tru64 v5.1.
11174 2001-06-17 Akim Demaille <akim@epita.fr>
11176 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
11177 current values of the precious variables, not the previously
11179 Pass precious variables which are set to config.status.
11180 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
11181 * tests/torture.at (AC_ARG_VAR): New.
11183 2001-06-15 Paul Eggert <eggert@twinsun.com>
11185 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
11186 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
11187 and explain why and how to replace them.
11188 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
11189 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
11191 2001-06-15 Akim Demaille <akim@epita.fr>
11193 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
11194 Reported by Bruno Haible.
11196 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
11197 (_AC_ARG_VAR_PRECIOUS): to here.
11199 2001-06-15 Pavel Roskin <proski@gnu.org>
11201 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
11202 an unused pointer use cast to this type and `if' statement to
11203 avoid warnings from the compiler.
11204 (AC_HEADER_TIME): Likewise.
11205 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
11206 in `if' statement to avoid warnings from the compiler. Declare
11207 ac_aggr static to avoid the need to initialize it.
11209 2001-06-14 Akim Demaille <akim@epita.fr>
11211 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
11214 2001-06-13 Akim Demaille <akim@epita.fr>
11216 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
11217 Suggested by Alexander Mai.
11219 2001-06-13 Akim Demaille <akim@epita.fr>
11221 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
11222 sys/types.h and sys/stat.h, and check for them.
11224 2001-06-13 Akim Demaille <akim@epita.fr>
11226 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
11229 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
11231 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
11232 succeeds and only try adding libdnet upon a failure.
11234 2001-06-12 Akim Demaille <akim@epita.fr>
11236 * autoscan.in (&output_kind): Output the comment only if it exists.
11237 (%kind_comment): Add entry for `programs'.
11238 (&output_programs): Use &output_kind.
11239 (&output_functions, &output_identifiers, &output_headers)
11240 (&output_programs): Inline, and remove.
11242 2001-06-12 Akim Demaille <akim@epita.fr>
11244 * autoscan.in (%kind_comment): New.
11245 (output_kind): New.
11246 (output_functions, output_identifiers, output_headers): Use it.
11248 2001-06-12 Akim Demaille <akim@epita.fr>
11250 * autoscan.in (&print_unique): Take `$kind' and `$word' as
11251 arguments, to factor indirections into `%macro' and `%used'.
11252 (%generic_macro): Fix a typo.
11254 2001-06-12 Akim Demaille <akim@epita.fr>
11256 * aclibraries: New.
11257 * autoscan.in (@kinds): Add `libraries'.
11258 Use `@kinds' instead of hard coded lists.
11259 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
11260 Remove, replaced by...
11263 2001-06-12 Akim Demaille <akim@epita.fr>
11265 * autoscan.in (%functions_macros %headers_macros)
11266 (%identifiers_macros %programs_macros %makevars_macros): Remove,
11270 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
11272 * aclang.m4 (AC_NO_EXECUTABLES): Override
11273 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
11275 2001-06-11 Akim Demaille <akim@epita.fr>
11277 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
11279 Reported by Andreas Schwab.
11281 2001-06-11 Akim Demaille <akim@epita.fr>
11283 * Makefile.am, Makefile.maint: Typos.
11285 2001-06-09 Akim Demaille <akim@epita.fr>
11287 * doc/autoconf.texi (Here-Documents): New section, gathering
11288 documentation about here-documents.
11289 Use `href', not `uref', and other changes.
11291 2001-06-09 Akim Demaille <akim@epita.fr>
11293 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
11296 2001-06-09 Akim Demaille <akim@epita.fr>
11298 * doc/autoconf.texi (Limitations of Builtins): Complete the
11299 description of the here-docs penalties with Alexandre Oliva's
11302 2001-06-01 Paul Eggert <eggert@twinsun.com>
11304 * doc/autoconf.texi: Talk about here documents and speedups.
11305 Do not use "echo" on arbitrary strings.
11306 Spell "here-documents" consistently with the standard.
11308 2001-06-09 Akim Demaille <akim@epita.fr>
11310 * doc/autoconf.texi (Concept Index): Introduce it.
11311 Regenerate the menus.
11313 2001-06-09 Akim Demaille <akim@epita.fr>
11315 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
11316 * config/prev-version.txt: New.
11317 * config/move-if-change: New, for GNU libc.
11319 2001-06-06 Pavel Roskin <proski@gnu.org>
11321 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
11323 2001-06-06 Akim Demaille <akim@epita.fr>
11325 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
11326 properly when $1 is not a literal.
11327 Fixes PR Autoconf/187, reported by Bram Moolenaar.
11329 2001-06-06 Akim Demaille <akim@epita.fr>
11331 Invoking AC_COPYRIGHT before AC_INIT fails.
11333 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
11334 * acgeneral.m4 (_m4_divert(VERSION_FSF))
11335 (_m4_divert(VERSION_USER)): New.
11336 (AC_COPYRIGHT): $2 is the diversion to use.
11337 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
11338 (AC_INIT): Remove dead comments as now it's commutative.
11340 2001-06-06 Akim Demaille <akim@epita.fr>
11342 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
11345 2001-06-05 Akim Demaille <akim@epita.fr>
11347 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
11349 `*dir' variables cannot be NONE.
11350 Reported by Mark Kettenis.
11352 2001-06-05 Paul Eggert <eggert@twinsun.com>
11354 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
11356 2001-06-04 Akim Demaille <akim@epita.fr>
11358 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
11359 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
11360 (AC_TR_SH): Move as...
11361 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
11362 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
11364 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
11365 (_AS_TR_SH_PREPARE): New.
11366 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
11367 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
11369 2001-06-02 Akim Demaille <akim@epita.fr>
11371 * Makefile.am (.m4.m4f): Pass the options first.
11372 Fixes PR autoconf/182.
11374 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
11376 GNU getopt, when POSIXLY_CORRECT does not permute options and
11377 arguments. So pass the options first.
11378 Fixes PR autoconf/184.
11380 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
11381 (run_m4): Remove files.
11383 Update remainder of script to use them.
11384 (for warning in): Do not use a literal comma as it will not be
11387 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
11389 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
11390 Fortran compilers to check.
11391 (_AC_PROG_F77_V): Add '-###' as a possible option to print
11392 information on library and object files.
11393 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
11396 2001-06-02 Akim Demaille <akim@epita.fr>
11398 * autom4te.in (Request::@request): Declare with `vars', not `my',
11399 as it prevents updates via `do FILENAME'.
11401 2001-06-02 Akim Demaille <akim@epita.fr>
11403 * configure.in (standards_texi): Remove, dead code.
11405 2001-06-02 Akim Demaille <akim@epita.fr>
11407 * autom4te.in: New.
11409 2001-06-02 Pavel Roskin <proski@gnu.org>
11411 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
11412 for signals other than 0 - exit with code 1.
11413 * m4sh.m4 (AS_TMPDIR): Likewise.
11414 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
11415 * autoheader.in: Likewise.
11416 * autoreconf.in: Likewise.
11417 * tests/torture.at (Signal handling): New test for the above.
11419 2001-06-01 Akim Demaille <akim@epita.fr>
11421 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
11424 2001-05-31 Akim Demaille <akim@epita.fr>
11426 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
11427 Add copyright and comments.
11428 * acheaders: Add stdint.h.
11429 Suggested by Paul Eggert.
11431 2001-05-31 Akim Demaille <akim@epita.fr>
11433 * atgeneral.m4 (AT_INIT): Use $SHELL.
11434 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
11436 2001-05-31 Akim Demaille <akim@epita.fr>
11438 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
11440 From Paul Eggert and Lars Hecking.
11442 2001-05-31 Akim Demaille <akim@epita.fr>
11444 * tests/base.at: Adjust line numbers in error messages.
11446 2001-05-31 Akim Demaille <akim@epita.fr>
11448 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
11449 to emit the bangshe line.
11450 Reported by David Carter.
11452 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
11454 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
11455 Fortran (95) compilers to check.
11457 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
11459 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
11462 2001-05-23 Pavel Roskin <proski@gnu.org>
11464 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
11465 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
11466 (AC_PROG_CXXCPP): Likewise.
11468 2001-05-22 Akim Demaille <akim@epita.fr>
11470 * config: New directory.
11471 * configure.in: AC_CONFIG_AUX_DIR it.
11472 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
11474 2001-05-22 Akim Demaille <akim@epita.fr>
11476 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
11477 * autoupdate.in: Specify the Emacs mode.
11478 * acversion.m4.in: Rename as...
11479 * acversion.m4: this.
11480 * tests/Makefile.am (CLEANFILES): More garbage.
11482 2001-05-22 Akim Demaille <akim@epita.fr>
11484 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
11486 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
11489 2001-05-21 Akim Demaille <akim@epita.fr>
11491 * configure.in: Bump to 2.50a.
11495 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
11497 This file is part of GNU Autoconf.
11499 GNU Autoconf is free software; you can redistribute it and/or modify
11500 it under the terms of the GNU General Public License as published by
11501 the Free Software Foundation; either version 2, or (at your option)
11504 GNU Autoconf is distributed in the hope that it will be useful,
11505 but WITHOUT ANY WARRANTY; without even the implied warranty of
11506 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11507 GNU General Public License for more details.
11509 You should have received a copy of the GNU General Public License
11510 along with autoconf; see the file COPYING. If not, write to
11511 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
11512 Boston, MA 02110-1301, USA.