1 2004-01-30 Paolo Bonzini <bonzini@bogus.example.com>
2 Eric Sunshine <sunshine@sunshineco.com>
3 Paul Eggert <eggert@twinsun.com>
5 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
6 (AS_INIT): Output shell initialization there. Removed optional
7 parameter. Expand _AS_SHELL_FN_SPY.
8 (AS_INIT_WITH_SHELL_FN): Removed.
9 (_AS_SHELL_FN_SPY): New macro.
10 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
12 (AS_SHELL_SANITIZE): Remove loop to find better shell
13 and documentation for the parameter.
14 (_AS_DETECT_BETTER_SHELL): Move it here.
15 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
16 (_AS_RUN): Move it here, support testing with eval.
17 (AS_REQUIRE_SHELL_FN): Require shell functions when
19 (_AS_LINENO_WORKS): Put around braces, we do not
20 trigger the bash bug anymore.
21 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
22 use AS_INIT_WITH_SHELL_FN.
23 * bin/autoconf.in, tests/wrapper.in: Regenerated.
25 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
27 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
28 * doc/autoconf.texi: Don't say that the third parameter
30 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
31 (AU_DEFUN): Honor the third parameter, create autoupdate
32 macros with AU_DEFINE.
33 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
34 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
35 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
36 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
37 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
38 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
39 AC_XENIX_DIR): Likewise.
40 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
41 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
42 * lib/autoconf/status.m4: Remove FIXME.
43 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
44 that the macro is not present anymore in the updated
46 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
49 2004-01-28 Paul Eggert <eggert@twinsun.com>
51 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
53 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
54 2003 (except 1997) to the list of copyright years. This undoes
55 the 2003-05-22 change, which removed the older years from the list.
56 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
58 2004-01-27 Gary V. Vaugan <gary@gnu.org>
59 Albert Chin-A-Young <china@thewrittenword.com>
61 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
62 grep or ggrep program in PATH that accepts as long lines as
64 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
66 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
67 egrep and fgrep respectively if $GREP -E/-F don't work.
68 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
69 _AC_PROG_GREP, and AC_PROG_SED.
70 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
71 longest input length accepted by a command.
72 (AC_PROG_SED): Use it.
73 * doc/autoconf.texi (Particular Programs): Document the changes.
76 2004-01-27 Paul Eggert <eggert@twinsun.com>
78 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
79 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
80 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
81 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
83 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
84 bin/autoconf.in, config/Makefile.in, config/config.guess,
85 config/config.sub, config/install-sh, config/mdate-sh,
86 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
87 lib/Makefile.in, lib/Autom4te/Makefile.in,
88 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
89 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
90 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
91 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
92 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
93 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
94 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
95 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
96 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
97 tests/actypes.at: Regenerate and/or sync with original
100 2004-01-26 Paul Eggert <eggert@twinsun.com>
102 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
103 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
104 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
105 not <inttypes.h>. Problem reported by Tim Mooney in
106 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
107 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
110 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
111 otherwise "make check" fails because it forbids cmp (I guess
112 because cmp treats files as binary on DOS-like systems).
114 * tests/mktests.sh: Update copyright date to 2004, since some tests
115 have changed in 2004.
117 2004-01-23 Gary V. Vaugan <gary@gnu.org>
119 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
120 non-truncating sed or gsed program in PATH.
121 * tests/acprograms.at: Add it.
122 * doc/autoconf.texi (Particular Programs): Document it.
125 2004-01-15 Paul Eggert <eggert@twinsun.com>
127 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
128 -std1 disables some useful extensions on Tru64. Problem reported
130 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
132 2004-01-14 Paul Eggert <eggert@twinsun.com>
134 * doc/autoconf.texi (Programming in M4sh): Document that
135 AS_MKDIR_P succeeds if the destination is a symbolic link
136 to an existing directory.
137 (Limitations of Usual Tools): Note that mkdir -p might not
138 succeed on symlinks to directories.
140 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
142 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
143 * bin/autoheader.in: Grammar fix in message.
144 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
145 Test for dir before calling mkdir -p. (trivial changes)
147 2004-01-13 Eric Blake <ebb9@byu.net>
149 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
150 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
152 2004-01-10 Jim Meyering <jim@meyering.net>
154 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
156 2004-01-09 Paul Eggert <eggert@twinsun.com>
158 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
159 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
160 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
161 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
162 AC_COMPILE_IFELSE, since we now assume our caller invokes
163 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
164 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
165 of AC_RUN_IFELSE; this avoids the warning mentioned above.
166 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
168 2004-01-07 Paul Eggert <eggert@twinsun.com>
170 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
171 `"'...'"`, as it's confusing (and I suspect it may not work on
172 some platforms). The code was incorrect anyway, as it assumed
173 that \$ evaluated to itself in that context. Reported by
174 Alexandre Duret-Lutz.
176 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
178 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
179 and _LT_AC_TAGCONFIG.
181 2004-01-06 Paul Eggert <eggert@twinsun.com>
183 * doc/autoconf.texi (One Macro Call): Fix an incorrect
184 example, and add more examples. Reported by Eric Sunshine.
186 2004-01-05 Paul Eggert <eggert@twinsun.com>
188 * doc/autoconf.texi (Limitations of Usual Tools):
189 Remove warning against "rm -fr" introduced yesterday; it
192 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
193 autoscan, autoupdate, ifnames): Don't use chmod -w.
194 * lib/Makefile.am (autom4te.cfg): Likewise.
195 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
198 2004-01-04 Paul Eggert <eggert@twinsun.com>
199 Paolo Bonzini <bonzini@gnu.org>
201 * libc/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
202 by doing lineno substitution only on lines containing "$LINENO".
204 2004-01-04 Paul Eggert <eggert@twinsun.com>
206 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
207 Use "rm -f" to remove conftest.sed, not plain "rm".
208 Bug reported by David Relson in
209 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
211 * Makefile.am (autom4te-update):
212 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
213 * Makefile.maint (my-distcheck, do-po-update): Likewise.
214 * doc/autoconf.texi (Guidelines): Likewise.
215 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
216 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
217 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
218 * lib/autotest/general.m4 (AT_INIT): Likewise.
219 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
220 * tests/Makefile.am (clean-local): Likewise.
221 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
223 * doc/autoconf.texi (Limitations of Usual Tools):
224 Warn against "rm -fr".
226 2004-01-03 Paul Eggert <eggert@twinsun.com>
228 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
229 -c -o might not work. From a suggestion by Kevin Ryde.
230 (C Compiler, Generating Sources, Limitations
231 of Usual Tools, Limitations of Make, Making testsuite Scripts):
232 Don't put '-o' after non-options, as POSIX doesn't allow this.
233 Mention that cc's name might be gcc or c89 or whatever.
235 2004-01-04 Kevin Ryde <user42@zip.com.au>
237 * doc/autoconf.texi: Add various further index entries.
239 2003-12-29 Paul Eggert <eggert@twinsun.com>
241 * bin/autoreconf.in (autoreconf_current_directory):
242 Fix typo: mkdir without umask arg.
244 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
246 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
247 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
248 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
251 2003-12-24 Andreas Schwab <schwab@suse.de>
253 * doc/autoconf.texi (Default Includes): Fix misspelling of
256 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
258 * configure.ac: Test if sh -n works.
259 * configure: Regenerate.
260 * tests/atlocal.in: Store the result here.
261 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
262 tools.at, looking in atlocal's ac_cv_sh_n_works instead
263 of explicitly testing.
264 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
265 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
266 * tests/tools.at (Syntax of the shell scripts): Simplify
267 using AT_CHECK_SHELL_SYNTAX.
268 (Syntax of the Perl scripts): Remove definition of
269 AT_CHECK_PERL_SYNTAX.
271 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
273 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
275 * bin/autoconf.in: Regenerate.
276 * bin/wrapper.in: Regenerate.
278 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
280 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
281 Extracted from AS_SHELL_SANITIZE.
282 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
284 (AS_SHELL_SANITIZE): Move reinvocation code from
285 _AS_LINENO_WORKS, use it to find out if shell
287 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
289 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
290 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
292 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
293 * bin/autoconf.in: Regenerate.
294 * tests/wrapper.in: Regenerate.
295 * tests/tools.at: Test the syntax of tests/autoconf
298 2003-11-24 Akim Demaille <akim@epita.fr>
300 * config/announce-gen (&print_locations, &print_signatures)
303 No longer rely on Gnus to inline the list of signatures: compute
306 2003-11-24 Akim Demaille <akim@epita.fr>
308 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
310 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
311 From Debian Autoconf 2.58.
313 2003-11-24 Akim Demaille <akim@epita.fr>
315 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
317 From Debian Autoconf 2.58.
319 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
321 * TODO: Remove already done things. Update the part about finding
322 tools for the target.
324 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
326 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
327 Make wording more consistent.
328 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
329 Explain the transition better.
330 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
331 the transition better.
333 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
335 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
336 parameter of AU_DEFUN.
337 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
338 (AU_DEFUN): Remove the third parameter, it was not used.
339 Use AC_DEFUN directly, not AU_DEFINE.
340 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
341 the expanded body, consistently with other macros such as AC_USG.
343 2003-11-17 Paul Eggert <eggert@twinsun.com>
345 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
346 into the initial confdefs.h, to work around a bug in NextStep 3.3
347 patch 3 reported by Eric Sunshine.
349 2003-11-15 Kevin Ryde <user42@zip.com.au>
351 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
352 than $target since the latter is not usual, add guidelines on when to
353 use or not use the system type.
355 2003-11-12 Derek Price <derek@ximbiot.com>
357 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
358 typo misrepaired by an auto-spellcheck.
360 2003-11-12 Akim Demaille <akim@epita.fr>
362 * bin/autoreconf.in (&parse_args): Don't call automake with
363 --force-missing unless it actually supports it.
366 2003-11-12 Akim Demaille <akim@epita.fr>
368 * configure.ac: Bump to 2.59a.
371 2003-11-06 Akim Demaille <akim@epita.fr>
375 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
377 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
378 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
379 and ac_abs_top_srcdir are absolute paths.
380 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
382 2003-11-05 Akim Demaille <akim@epita.fr>
384 * configure.ac: Bump to 2.58a.
386 2003-11-05 Kevin Ryde <user42@zip.com.au>
388 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
389 it provokes a warning from makeinfo about looking like a cross
390 reference in info output.
392 * doc/autoconf.texi (Function Portability): Add notes on signal
393 handler return type, as per AC_TYPE_SIGNAL.
395 2003-11-04 Akim Demaille <akim@epita.fr>
398 * doc/standards.texi: Update from master.
400 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
402 2003-11-04 Akim Demaille <akim@epita.fr>
404 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
405 computing the absolute path to d1 in the source hierarchy: it may
406 not exist at all. So don't cd into it.
407 From Alexandre Duret-Lutz.
408 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
410 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
411 From Paul Eggert, but named after Perl's IO::Spec->catfile.
412 * doc/autoconf.texi (Programming in M4sh): Document.
413 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
415 2003-11-03 Pavel Roskin <proski@gnu.org>
417 * doc/autoconf.texi (Generic Structure Checks): Describe
418 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
420 2003-10-31 Akim Demaille <akim@epita.fr>
422 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
424 * doc/autoconf.texi (Language Choice): Document.
425 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
426 the current language is Fortran.
428 2003-10-31 Akim Demaille <akim@epita.fr>
430 * bin/autom4te.in (&freeze): Use a less likely warning separator
431 than `\n\n', so that `\n\n\n' is valid in warnings.
432 Reported by Steve Huston.
434 2003-10-28 Akim Demaille <akim@epita.fr>
436 * Makefile.cfg (local_updates, executable-update): Tweak to be
437 robust to parallel makes.
438 Suggested by Alexandre Duret-Lutz.
440 2003-10-27 Akim Demaille <akim@epita.fr>
442 * Makefile.cfg (executable-update): New.
443 (local_updates): Call it.
445 2003-10-27 Akim Demaille <akim@epita.fr>
447 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
448 Don't remove core.* as it may remove valid user files.
449 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
450 (AC_FUNC_UTIME_NULL): Likewise.
452 2003-10-23 Akim Demaille <akim@epita.fr>
455 * config/config.guess, config/config.sub: Upgrade from masters.
457 2003-10-23 Akim Demaille <akim@epita.fr>
459 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
460 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
463 2003-10-23 Akim Demaille <akim@epita.fr>
465 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
466 Don't forget to remove conftest.err.
468 2003-10-23 Akim Demaille <akim@epita.fr>
470 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
471 same object file in $LIBOBJS.
472 Reported by Alexandre Duret-Lutz & Derek Robert Price.
473 * doc/autoconf.texi (Generic Functions): Adjust.
475 2003-10-20 Paul Eggert <eggert@twinsun.com>
477 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
478 Use 'eval', so that the resulting configure scripts work even if
479 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
481 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
483 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
484 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
485 (_AC_LINK_IFELSE): Check the werror flag.
486 * doc/autoconf.texi (Generic Compiler Characteristics): Document
490 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
492 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
493 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
494 override AC_LINK_IFELSE.
496 2003-10-15 Paul Eggert <eggert@twinsun.com>
498 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
499 pdksh 5.2.14. Bug reported by Ralf Corsepius.
500 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
501 Mention /usr/dt/bin/dtksh on Solaris.
502 (Shell Substitutions): Warn about $((...)).
503 (Parentheses): New section.
505 2003-10-15 Kevin Ryde <user42@zip.com.au>
507 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
508 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
510 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
512 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
515 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
517 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
518 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
520 2003-10-10 Andreas Schwab <schwab@suse.de>
522 * bin/autoheader.in: Avoid empty first line in --version and
524 * bin/ifnames.in: Likewise.
526 2003-10-09 Paul Eggert <eggert@twinsun.com>
528 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
529 Issue a more-informative diagnostic.
530 Problems reported by Eric Sunshine.
532 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
534 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
535 -mGLOB_options_string stuff for Intel ifc, which can cause
536 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
537 pattern-matching instead of grep.
539 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
541 * doc/autoconf.texi: Document new FC Fortran macros.
543 2003-10-08 Gary V. Vaughan <gary@gnu.org>
545 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
546 that future autopoint/aclocal/automake/autoreconf will be able
547 to trace to find where to install local m4 macros.
548 * doc/autoconf.texi (Input): Document it.
551 2003-10-06 Gary V. Vaughan <gary@gnu.org>
553 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
554 -lcrtbegin.o to list of ignored flags and fix underquoting of
557 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
559 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
560 cache variable instead of $G77 to decide whether to include -O2,
561 since $G77 is specific to Fortran 77.
563 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
565 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
566 free" flag. Re-order flags tested into rough order of popularity.
568 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
570 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
571 arguments so that it can be used with syntax identical to
572 AC_PROG_F77, and so that we can more easily decide to
573 remove/deprecate the DIALECT optional argument in the future if it
575 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
576 non-freeform-supporting compilers. Document freeform flags.
578 2003-10-03 Akim Demaille <akim@epita.fr>
580 * configure.ac: Look for emacs, not macs.
581 Reported by Eric Sunshine.
583 2003-10-03 Akim Demaille <akim@epita.fr>
585 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
586 * bin/autoreconf.in (autoreconf_current_directory): Create the
587 AUX_DIR if needed, for sake of automake --add-missing etc.
588 Suggested by Alexandre Duret-Lutz.
590 2003-10-03 Akim Demaille <akim@epita.fr>
592 * configure.ac: Quotation and formatting changes.
593 (EMACS): Don't set it if it is not recent enough to support
597 2003-10-02 Akim Demaille <akim@epita.fr>
599 * bin/ifnames.in (&scan_file): Skip C++ comments.
602 2003-10-01 Pavel Roskin <proski@gnu.org>
604 * doc/autoconf.texi (Particular Structure Checks):
605 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
607 2003-10-01 Akim Demaille <akim@epita.fr>
611 2003-09-30 Paul Eggert <eggert@twinsun.com>
613 * lib/Autom4te/XFile.pm: Use Errno.
614 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
615 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
617 2003-09-30 Akim Demaille <akim@epita.fr>
619 * config/announce-gen (&print_news_deltas): Extracted from...
620 (&print_changelog_deltas): here.
621 (&news_file): Rename as...
624 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
626 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
627 have been created when invoking the compiler.
628 * tests/fortran.at (GNU Fortran 77): Quote $G77.
630 2003-09-29 Akim Demaille <akim@epita.fr>
634 * config/mkinstalldirs: Upgrade.
636 2003-09-28 Paul Eggert <eggert@twinsun.com>
638 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
639 Problem reported by Lars J. Aas in
640 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
641 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
642 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
643 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
645 2003-09-26 Akim Demaille <akim@epita.fr>
647 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
648 directory for AC_CONFIG_COMMANDS' first argument exists.
649 This makes valid the invocation of _AC_SRCPATH that follows.
650 Reported by Eric Sunshine.
651 * doc/autoconf.texi (Configuration Commands): Adjust.
653 2003-09-26 Akim Demaille <akim@epita.fr>
655 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
656 Reported by Ralf Corsepius.
658 2003-09-26 Akim Demaille <akim@epita.fr>
660 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
662 Actually, use AU_ALIAS.
665 2003-09-26 Paul Eggert <eggert@twinsun.com>
667 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
668 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
669 Problem reported by Eric Sunshine in:
670 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
672 2003-09-26 Akim Demaille <akim@epita.fr>
674 The test suite are sometimes assigning timings incorrectly.
675 Reported by Henk Krus.
676 Diagnosed by Nicolas Joly.
678 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
680 Instead of making AT_help a sequence of assignments to grow
681 $at_help_all, just make AT_help_all be the growing contents of
682 $at_help_all, and make a single assignment in...
684 (at_times_skip): Flip the meaning and rename as...
686 (AT_INIT): When summarizing the test that ran, remove
687 $at_times_file after use, and check it is present before trying to
690 2003-09-25 Akim Demaille <akim@epita.fr>
694 * bin/Makefile.am (edit): Handle '@configure_input@'.
695 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
697 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
698 executables, not bin/ executables! Otherwise all the magic needed
699 to find non installed files is turned off. This caused a failure
700 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
701 as found in its environment (sent by tests/autoreconf): pointing
702 to bin/autom4te that could not find its files.
703 * tests/mktests.sh: Force the replacement of generated files, for
704 the sake of "mv" program that are interactive when overwriting a
706 * config/install-sh: Upgrade from CVS Automake.
708 2003-09-23 Paul Eggert <eggert@twinsun.com>
710 * doc/autoconf.texi (Limitations of Builtins): Document test -h
711 versus test -L issues.
713 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
714 Paul Eggert <eggert@twinsun.com>
716 Trivial change to support GCC's configuration procedure.
717 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
718 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
719 about inconsistency if the preprocessor is set to give errors for
721 * doc/autoconf.texi (C Compiler Characteristics): Document this.
723 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
725 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
726 and XFile.pm from Automake.
727 * lib/Autom4te/XFile.pm: Update from Automake.
729 2003-09-12 Akim Demaille <akim@epita.fr>
733 2003-09-12 Akim Demaille <akim@epita.fr>
735 * config/config.guess, config/config.sub, config/missing,
736 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
739 2003-09-12 Akim Demaille <akim@epita.fr>
741 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
744 2003-09-11 Akim Demaille <akim@epita.fr>
746 * doc/autoconf.texi (Header Portability): linux/random.h.
747 From Peter Hendrickson.
749 2003-09-10 Akim Demaille <akim@epita.fr>
751 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
752 willing to edit the output files.
754 2003-09-10 Akim Demaille <akim@epita.fr>
756 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
758 * tests/mktests.sh: Skip AC_FC_SRCEXT.
759 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
761 2003-09-09 Akim Demaille <akim@epita.fr>
763 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
764 Reported by Gary Vaughan.
765 * bin/autom4te.in (handle_m4): Likewise.
767 2003-09-09 Akim Demaille <akim@epita.fr>
769 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
772 2003-09-07 Paul Eggert <eggert@twinsun.com>
774 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
775 Improve the accuracy of the wording about obsolescence.
776 From a suggestion by Ian Lance Taylor in
777 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
779 2003-09-05 Paul Eggert <eggert@twinsun.com>
781 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
782 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
784 2003-09-04 Akim Demaille <akim@epita.fr>
786 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
789 2003-09-04 Akim Demaille <akim@epita.fr>
791 * bin/autom4te.in: Use &fatal where more appropriate than &error.
792 (freeze): When exiting, use $exit_code.
793 * lib/autoconf/fortran.m4: Comment changes.
795 2003-09-04 Akim Demaille <akim@epita.fr>
797 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
799 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
801 Add support for newer Fortran dialects. The F77 interface is
802 unchanged, and continues to support Fortran 77. New FC macros
803 correspond to all the old F77 macros, with output variables FC,
804 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
805 available dialect, but older dialects can be specified. There are
806 new macros AC_FC_SRCEXT to set the source extension, and
807 AC_FC_FREEFORM to accept free-form source files.
809 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
811 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
812 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
813 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
814 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
815 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
816 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
817 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
818 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
819 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
820 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
821 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
822 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
823 AC_FC_SRCEXT, AC_FC_FREEFORM):
825 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
826 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
827 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
828 Rewrite in terms of the above.
829 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
830 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
831 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
832 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
834 2003-09-02 Paul Eggert <eggert@twinsun.com>
836 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
837 Document problems with timestamp resolution that 'make', 'cp -p', and
840 2003-08-27 Akim Demaille <akim@epita.fr>
842 * tests/m4sugar.at (cross_warning): Make sure to enable the
843 output, so that we can track spurious m4sugar output.
844 * tests/local.at: Require 2.57.
845 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
846 are defaulted by AT_CHECK anyway.
847 Use AT_CHECK_AUTOM4TE.
848 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
851 2003-08-27 Akim Demaille <akim@epita.fr>
853 * bin/autoheader.in: Issue the "Using auxiliary..." message only
854 when -Wobsolete is set.
855 Set it on by default.
856 Suggested by Klee Dienes.
858 2003-08-27 Akim Demaille <akim@epita.fr>
860 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
864 2003-08-26 Akim Demaille <akim@epita.fr>
866 * doc/autoconf.texi (Output): Make clear that one can run code
869 2003-08-25 Akim Demaille <akim@epita.fr>
871 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
874 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
876 * bin/autoreconf.in (parse_args): Do not pass --no-force to
877 Automake versions prior to 1.8.
879 2003-08-25 Akim Demaille <akim@epita.fr>
881 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
884 2003-08-24 Akim Demaille <akim@epita.fr>
886 * configure.ac: Bump to 2.57c.
888 2003-08-22 Akim Demaille <akim@epita.fr>
892 * Makefile.cfg (local-checks-to-skip): New.
893 * Makefile.maint (local-check): Rename as...
894 (local-checks-available): this.
897 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
898 * configure.ac: Require Automake 1.7.6.
900 2003-08-22 Akim Demaille <akim@epita.fr>
902 Output stack traces in warnings.
904 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
905 Replace the former...
906 (m4_warn): Pass the call stack to _m4_warn.
907 * bin/autom4te.in: Adjust to output the call stack.
908 * tests/m4sugar.at (m4@&t@_warn): Adjust.
910 2003-08-22 Akim Demaille <akim@epita.fr>
912 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
913 * bin/autom4te.in: Adjust.
915 2003-08-21 Akim Demaille <akim@epita.fr>
917 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
919 (&getopt): Adjust the note and verb channels, depending upon
921 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
922 * bin/autoupdate.in: Adjust.
923 Use &verb, not &verbose.
925 2003-08-21 Akim Demaille <akim@epita.fr>
927 * bin/autoheader.in (&parse_args): Use &parse_warnings and
929 ($help): Use Autom4te::ChannelDefs::usage.
930 * bin/autoscan.in: Use Autom4te::ChannelDefs.
931 * lib/Autom4te/General.pm: Don't export error: you don't own it.
933 2003-08-21 Akim Demaille <akim@epita.fr>
935 First stab at preserving warnings between calls to autom4te,
936 including when the cache is used.
938 There are still several issues: (i) there are too many runs of m4
939 (one for include, one for warnings, and some more), (ii) warnings
940 spreading on several lines are not handled gracefully, (iii) the
941 code meant to have the call stack display for errors does not work
942 (its handling should move from m4 to autom4te).
944 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
946 (@preselect): Add m4_warn.
947 ($exit_status): Remove, use $exit_code.
948 ($help): Use Autom4te::ChannelDefs::usage.
949 (&handle_m4): No longer define the m4_warnings.
950 At each run, extract and report the warnings.
951 Always cache the result, including if the exit status is on
952 failure, since if nothing changes, we should result in the same
953 failure, hence we can use the cache.
954 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
955 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
957 (m4_warn): Redefine as a do-nothing: it is its invocation that
958 matters, as warnings are now reported via traces.
959 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
960 the contents of m4_warn: make it _call_ m4_warn, so that tracing
961 the latter reveals calls to the former.
965 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
967 2003-08-21 Akim Demaille <akim@epita.fr>
969 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
972 2003-08-21 Akim Demaille <akim@epita.fr>
974 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
976 * lib/Autom4te/ChannelDefs.pm: Doc typos.
977 (&parse_warnings): Accept a list of warning requests.
978 (&usage): Return a string, not a side effect.
979 (cross): New warning category.
981 2003-08-21 Akim Demaille <akim@epita.fr>
983 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
984 (&require_configure_ac): Accept an optional directory argument.
985 ($configure_ac): Remove.
986 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
988 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
989 * bin/autoscan.in: Adjust.
991 2003-08-20 Akim Demaille <akim@epita.fr>
993 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
994 Reported by Alexandre Duret-Lutz.
996 2003-08-20 Akim Demaille <akim@epita.fr>
998 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
999 * bin/autom4te: Adjust.
1000 In particular, be Autoconf tools are really silent when properly
1001 working, bind the verbosity of the 'note' channel to $verbose.
1002 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
1003 (&xsystem, &contents): Remove, since they are exported by...
1004 * lib/Autom4te/FileUtils.pm: this.
1006 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
1007 * lib/Autom4te/FileUtils.pm: here.
1009 2003-08-20 Akim Demaille <akim@epita.fr>
1011 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
1012 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
1015 2003-08-20 Akim Demaille <akim@epita.fr>
1017 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
1018 (autom4te-update): New.
1019 * Makefile.cfg (update): Bind autom4te-update.
1021 2003-08-19 Derek Price <derek@ximbiot.com>
1023 * lib/autotest/general.m4: Comment various HELP_* diversions.
1024 (PARSE_ARGS_BEGIN): New section for option parsing related
1026 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
1027 package specific options and associated help.
1029 2003-08-19 Akim Demaille <akim@epita.fr>
1031 * config/announce-gen, Makefile.cfg: New.
1032 * Makefile.am: Adjust.
1033 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
1035 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
1037 * lib/autom4te.in (Automake-preselections): Preselect
1038 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
1041 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
1043 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
1044 (Autoconf-without-aclocal-m4): ... this new language.
1045 * doc/autoconf.texi (autom4te Invocation): Mention
1046 Autoconf-without-aclocal-m4.
1048 2003-08-18 Derek Price <derek@ximbiot.com>
1050 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
1051 RUN-IF-PASS optional arguments.
1053 2003-08-18 Derek Price <derek@ximbiot.com>
1055 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
1057 2003-08-16 Derek Price <derek@ximbiot.com>
1059 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
1060 STDOUT & STDERR arguments.
1062 2003-08-14 Derek Price <derek@ximbiot.com>
1064 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
1065 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
1066 shorter column three. Add DESCRIPTION to log file content.
1068 2003-08-13 Derek Price <derek@ximbiot.com>
1070 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
1073 2003-08-12 Derek Price <derek@ximbiot.com>
1075 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
1076 (AT_CHECK_NOESCAPE): Move core functionality to...
1077 (_AT_CHECK): ...this new macro.
1079 2003-08-07 Derek Price <derek@ximbiot.com>
1081 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
1082 (AT_CHECK_NOESCAPE): ...to this new macro.
1084 2003-07-31 Paul Eggert <eggert@twinsun.com>
1086 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
1087 in Bash 2.01. Problem reported by Brian Gough in
1088 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
1090 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
1092 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
1093 -lcrt1.o, for OS X. (trivial change)
1095 2003-07-07 Paul Eggert <eggert@twinsun.com>
1097 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
1098 inside '#ifndef __cplusplus'. Problem reported by
1101 2003-07-06 Bill Clarke <llib@computer.org>
1103 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
1104 'long', not 'int', for benefit of Sun's recent C++ compilers
1105 (trivial change). See:
1106 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
1107 (This really should be 'intptr_t', not 'long', but that would
1110 2003-06-25 Akim Demaille <akim@epita.fr>
1112 * lib/Makefile.am (autom4te.cfg): Make it read only.
1113 Depend on Makefile since it contains substitutions.
1115 * lib/autom4te.in (args): Add local.at? for Autotest args.
1116 This change was made on autom4te.cfg which is generated.
1117 Reported by Raja R. Harinath.
1119 2003-06-25 Akim Demaille <akim@epita.fr>
1121 * doc/autoconf.texi (Header Portability): sys/mount.h.
1122 From Gareth McCaughan.
1124 2003-06-23 Akim Demaille <akim@epita.fr>
1126 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
1127 not all of them. This fixes 1. the fact that when testing
1128 Autoconf there are many many config.log, 2. the incorrect use of
1129 top_srcdir to find config.log.
1130 Don't mix the detailed output of failed test with the summary of
1131 failures. Rather, append detailed log afterwards.
1133 2003-06-23 Akim Demaille <akim@epita.fr>
1135 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
1136 always run: output config.log on $at_group_log.
1138 2003-06-23 Akim Demaille <akim@epita.fr>
1140 * tests/torture.at (#define header templates): Don't use quotes in
1141 C++ comments as it puzzles Emacs' sh font-lock-mode.
1143 2003-06-23 Akim Demaille <akim@epita.fr>
1145 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
1146 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
1147 * tests/atspecific.m4: Rename as...
1148 * tests/local.at: This.
1149 * tests/suite.at: Move the globals into...
1150 * tests/local.at: here.
1151 * tests/Makefile.am: Adjust.
1152 * doc/autoconf.texi (testsuite Scripts): Adjust.
1154 2003-06-21 Kevin Ryde <user42@zip.com.au>
1156 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
1157 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
1158 ensuring we add -std1 for full-ANSI.
1160 * doc/autoconf.texi (hdrindex): New macro.
1161 Add index entries for portability of various standard header files.
1163 2003-06-20 Akim Demaille <akim@epita.fr>
1165 * configure.ac: Bump to 2.57b.
1167 2003-06-20 Akim Demaille <akim@epita.fr>
1171 2003-06-20 Akim Demaille <akim@epita.fr>
1173 * bin/autom4te.in: Don't rely on $HOME being defined.
1174 Reported by Marc Espie as PR/233.
1176 2003-06-20 Akim Demaille <akim@epita.fr>
1178 * lib/autotest/general.m4: Use at_times_file only if used.
1181 2003-06-20 Akim Demaille <akim@epita.fr>
1183 * config/config.guess, config/config.sub, config/elisp-comp,
1184 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
1185 Update from masters.
1187 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
1189 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
1190 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
1191 (TEST_SCRIPT): New diversion.
1192 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
1193 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
1194 (AT_INIT): Support for expected failures.
1196 2003-06-02 Akim Demaille <akim@epita.fr>
1198 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
1200 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
1201 Autoconf nor Automake.
1202 (&contents): New, from Automake.
1205 2003-05-28 Paul Eggert <eggert@twinsun.com>
1207 * NEWS, doc/autoconf.texi (Particular Functions),
1208 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
1209 is the inverse of localtime.
1211 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
1213 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
1214 (handle_exec_errors): New function. Work around $! being
1215 altered by WEXITSTATUS.
1216 (xqx, xsystem): Use handle_exec_errors.
1218 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
1220 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
1221 Do not call `_exit()', simply modify `$?'.
1222 (xsystem): Reset $! before running system, and check it afterward.
1223 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
1224 63 for version mismatches.
1226 2003-05-23 Akim Demaille <akim@epita.fr>
1228 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
1229 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
1230 the middle of a line).
1231 * lib/m4sugar/m4sugar.m4: Likewise.
1232 Remove useless spaces in comments.
1234 2003-05-23 Akim Demaille <akim@epita.fr>
1236 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
1237 exit 63, so that we (or Automake's "missing") can tell the
1238 difference with a plain failure.
1239 * doc/autoconf.texi (Notices): Adjust.
1241 2003-05-23 Akim Demaille <akim@epita.fr>
1243 * Makefile.am, bin/Makefile.am, config/Makefile.am,
1244 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
1245 White spaces cleanup.
1247 2003-05-22 Jim Meyering <jim@meyering.net>
1248 Paul Eggert <eggert@twinsun.com>
1250 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
1251 Remove `#include <stdlib.h>' from the list; we should never
1252 make confdefs.h include <stdlib.h> or <cstdlib>, because the
1253 resulting namespace pollution would cause other tests to fail.
1254 Configure scripts run with some older versions of g++ and HP's
1255 aCC would fail due to such an #include. Problems reported by
1256 Matthew Mueller in <http://bugs.debian.org/120704> and by
1258 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
1259 In the test, use the test declaration before including <stdlib.h>,
1260 as that's closer to how it'll be used.
1262 2003-05-23 Akim Demaille <akim@epita.fr>
1264 * doc/autoconf.texi (Header Portability): ucred.h.
1267 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
1269 Overhaul Autotest's logging: generate separate log files
1270 in testsuite.dir/NNN/testsuite.log, and append them to
1271 testsuite.log instead of re-running the test verbosely.
1273 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
1274 file descriptor, write 0 to at_status_file instead of setting
1275 at_status=0, initialize some new variables (at_status_file,
1276 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
1277 to rerun the tests, instead append the at_group_log to the
1278 at_suite_log when a test fails.
1279 (AT_SETUP): pipe the test case's output into at_tee_pipe,
1280 with the AS_MESSAGE_LOG_FD redirected to stdout.
1281 (AT_CLEANUP): save the output status in $at_status_file
1282 and restore it, redirect the AS_MESSAGE_LOG_FD back to
1284 (AT_CHECK): since tests are run with a redirected stdout,
1285 and used to be re-run in verbose mode, turn some $at_verbose
1286 into echo, and don't redirect the output of testing stdout
1289 * lib/autotest/autoconf.texi (testsuite Scripts): Update
1290 the name of the debugging directory and information about
1293 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
1295 * lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
1298 2003-05-22 Akim Demaille <akim@epita.fr>
1300 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
1301 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
1302 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
1303 * lib/autoconf/status.m4: Fix and adjust copyright notices.
1305 2003-05-22 Akim Demaille <akim@epita.fr>
1307 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
1308 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
1309 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
1310 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
1311 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
1312 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
1313 * lib/autoconf/status.m4, lib/autoconf/types.m4,
1314 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
1315 * tests/atspecific.m4, tests/base.at, tests/compile.at,
1316 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
1317 * tests/tools.at, tests/torture.at:
1318 Whitespace clean up.
1319 Suggested by Jim Meyering.
1321 2003-05-22 Akim Demaille <akim@epita.fr>
1323 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
1324 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
1325 Reported by Jim Meyering.
1327 2003-05-22 Akim Demaille <akim@epita.fr>
1329 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
1330 Add AC_HELP_STRING to the obsolete macros section.
1332 Use '@.' for sentences that ended in a capital letter.
1335 2003-05-22 Akim Demaille <akim@epita.fr>
1337 * config/config.guess, config/config.sub, config/elisp-comp,
1338 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
1339 * config/texinfo.tex, doc/standards.texi: Update from masters.
1341 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
1343 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
1346 2003-05-21 Akim Demaille <akim@epita.fr>
1348 * bin/autoupdate.in ($m4): Fix quotation.
1349 Reported by Martin Mokrejs.
1351 2003-05-19 Paul Eggert <eggert@twinsun.com>
1353 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
1354 Remove non-ASCII characters.
1356 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
1358 * tests/semantics.at (AC_SEARCH_LIBS): New test.
1359 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
1360 AC_CHECK_HEADERS_NEW): New tests.
1362 2003-05-17 Akim Demaille <akim@epita.fr>
1364 * lib/autoconf/functions.m4: Use the default includes so that
1365 memcmp be declared before being tested.
1366 Reported by Sander Niemeijer.
1367 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
1368 * doc/autoconf.texi (Default Includes): Document
1369 AC_INCLUDES_DEFAULT.
1371 2003-05-17 Akim Demaille <akim@epita.fr>
1373 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
1374 * doc/autoconf.texi (Obsolete Macros): Adjust.
1375 Reported by Werner LEMBERG and Debian Bug 190886.
1377 2003-05-16 Akim Demaille <akim@epita.fr>
1379 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
1380 user name space clashes.
1381 Reported by Bruno Haible.
1383 2003-05-16 Akim Demaille <akim@epita.fr>
1385 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1386 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
1387 them uniform, and more robust to Perl special characters.
1388 Reported by Martin Mokrejs.
1390 2003-05-14 Akim Demaille <akim@epita.fr>
1392 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
1394 2003-05-14 Akim Demaille <akim@epita.fr>
1396 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
1399 2003-05-12 Akim Demaille <akim@epita.fr>
1401 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
1403 From Matthias Andree.
1405 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
1407 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
1410 2003-05-06 Akim Demaille <akim@epita.fr>
1412 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
1413 longer updates aclocal.m4 if useless, (ii) if a file m4_included
1414 by aclocal.m4 is changed it might require the importing of another
1415 m4 extension file, i.e., aclocal must be run.
1417 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
1418 (&parse_args): Use --force with aclocal if required and supported.
1419 (&autoreconf_current_directory): Use &run_aclocal.
1421 2003-05-06 Akim Demaille <akim@epita.fr>
1423 Lock autom4te's cache.
1425 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
1426 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
1427 argument instead of a file name, so that the request file remains
1428 open during the whole autom4te run.
1429 ($icache_file): New.
1430 (&freeze): Lock the $icache_file.
1432 2003-04-29 Derek Price <derek@ximbiot.com>
1434 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
1435 seperator with m4_append_uniq(). It doesn't work.
1436 (AT_CLEANUP): Add `;' to end of at_help_all.
1437 (AT_INIT): Allow --keywords to be specified more than once. When
1438 grepping $at_help_all for keywords, use the field and keyword
1439 seperators to ensure a complete keyword match. Alter at_prev handling
1440 to support the new --keywords behavior.
1442 2003-04-27 Karl Berry <karl@freefriends.org>
1444 * doc/autoconf.texi: Make the dir entries in the autoconf manual
1445 align better with others. I also made some of the individual
1446 entries on one line, for brevity and to make it easier for me to
1447 sort my dir-example file in the Texinfo distribution :).
1449 2003-04-12 Jim Meyering <jim@meyering.net>
1451 * NEWS: Mention the new macro.
1452 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
1453 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
1454 * tests/c.at: Test AC_C_RESTRICT.
1455 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
1457 2003-04-08 Akim Demaille <akim@epita.fr>
1459 * bin/ifnames.in: Skip C++ comments.
1462 2003-04-08 Akim Demaille <akim@epita.fr>
1464 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
1465 From Ilya Zakharevich.
1467 2003-04-08 Akim Demaille <akim@epita.fr>
1469 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
1472 2003-04-01 Derek Price <derek@ximbiot.com>
1474 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
1475 from Akim's checkin of 2003-03-29.
1477 2003-04-01 Derek Price <derek@ximbiot.com>
1479 * tests/torture.at (Configuring subdirectories): Add missing
1480 close-quote for Akim's change from 2003-03-28.
1482 2003-04-01 Akim Demaille <akim@epita.fr>
1484 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
1485 (AC, AT, MS): these.
1486 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
1489 * doc/Makefile.am (CLEANFILES): Adjust.
1490 (TEXI2DVI): Make it --batch.
1492 2003-03-31 Derek Price <derek@ximbiot.com>
1494 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
1495 which removed the main loop.
1496 Thanks to Akim Demaille.
1498 2003-03-29 Akim Demaille <akim@epita.fr>
1500 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
1502 From Ilya Zakharevich.
1504 2003-03-29 Akim Demaille <akim@epita.fr>
1506 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
1507 documentation to read is Autoconf's.
1508 Suggested by Paul Eggert.
1510 2003-03-28 Akim Demaille <akim@epita.fr>
1512 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
1513 reading the section "Present But Cannot Be Compiled" when the
1514 header causes problems.
1516 2003-03-28 Akim Demaille <akim@epita.fr>
1518 * tests/torture.at (Configuring subdirectories): Require aclocal
1519 1.4, otherwise the test fails, as it does support configure.ac.
1520 This fixes the "test 40 failed" bug reports.
1522 2003-03-28 Akim Demaille <akim@epita.fr>
1524 * doc/autoconf.texi (C Compiler): `#line' portability.
1525 From Paul Eggert and Nelson H. F. Beebe.
1527 2003-03-27 Derek Price <derek@ximbiot.com>
1529 * lib/autotest/general.m4: Eliminate main loop and reorganize test
1530 layout in order to allow scripting around test groups.
1532 2003-03-27 Derek Price <derek@ximbiot.com>
1534 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
1535 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
1536 use new diversions in preparation for accepting new arguments and
1537 allowing scripting around tests.
1538 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
1540 2003-03-26 Derek Price <derek@ximbiot.com>
1542 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
1543 obsolete AC_HELP_STRING.
1544 (AC_HELP_STRING): AU_DEFUN to...
1545 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
1546 * tests/m4sh.at (AS_HELP_STRING): New test.
1548 * tests/acgeneral.at: Regenerated.
1550 2003-03-26 Derek Price <derek@ximbiot.com>
1552 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
1553 sense. Verbosify the diversion definitions comment.
1555 2003-03-26 Derek Price <derek@ximbiot.com>
1557 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
1560 2003-03-21 Eric Siegerman <eric_97@pobox.com>
1562 * doc/autoconf.texi (Present But Cannot Be Compiled):
1563 Grammar fixes and minor rewording. (trivial change)
1565 2003-03-06 Paul Eggert <eggert@twinsun.com>
1567 Work around a problem noted by Nelson H. F. Beebe with coreutils
1568 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
1569 2002/05/09) rejects '#line 32768 "configure"' because the line
1571 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
1573 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
1574 * doc/autoconf.texi (Generating Sources): Document this.
1576 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
1578 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
1579 file name for the m4 program, when it has an "exe" file extension.
1580 DJGPP's error messages include the error code in brackets -
1581 remove the error code during normalization.
1583 2003-02-28 Akim Demaille <akim@epita.fr>
1585 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
1587 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
1589 * doc/autoconf.texi (Limitations of Make): Remove the section
1590 about `$<' in inference rules, it was a bogus interpretation of
1591 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
1592 Tru64 make in the "target lookup" section.
1593 (Automake): Automake 1.5+ no longer requires special tools to be
1594 present on the developer's host.
1596 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
1598 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
1599 to a shell that can handle redirection or quoting correctly.
1600 Override SHELL with the shell detected by configure.
1601 Use of $^O suggested by Tim van Holder.
1602 * bin/autom4te.in (BEGIN): Likewise.
1603 * bin/autoreconf.in (BEGIN): Likewise.
1604 * bin/autoscan.in (BEGIN): Likewise.
1605 * bin/autoupdate.in (BEGIN): Likewise.
1606 * bin/ifnames.in (BEGIN): Likewise.
1608 * bin/ifnames.in: Add final newline to help and version messages.
1610 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
1611 to cope with DOS-style absolute paths, when constructing
1614 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
1615 When constructing paths with IFS=:, quote the path. If we're
1616 constructing a DOS-style absolute path, we don't want to split it
1619 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
1622 2003-02-25 Pavel Roskin <proski@gnu.org>
1624 * bin/autoheader.in: Add missing newline when printing
1625 suggestion how change AC_DEFINE call.
1627 2003-02-24 Paul Eggert <eggert@twinsun.com>
1629 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
1630 2002-09-01 patch by replacing "test -n" with "test -z".
1631 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
1632 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
1634 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
1635 to fix a mismatch between example and discussion.
1637 2003-02-24 Kevin Ryde <user42@zip.com.au>
1639 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
1640 format starting with "-".
1642 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
1644 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
1645 is not portable inside Makefile.
1647 2003-02-20 Akim Demaille <akim@epita.fr>
1649 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
1650 compiler says yeah, but preproc says nope, compiler is right.
1651 Conversely, prompt the reader to send a bug report to the
1652 maintainers of the package, not of Autoconf.
1654 2003-02-20 Klee Dienes <kdienes@apple.com>
1656 * bin/autoreconf.in (autoreconf_current_directory): Properly
1657 handle an empty aclocal.m4.
1659 2003-02-20 Akim Demaille <akim@epita.fr>
1661 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
1665 2002-12-23 Paul Eggert <eggert@twinsun.com>
1667 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
1668 innocuous variant befor including <limits.h> or <assert.h>. This
1669 works around a bug reported by Albert Chin: HP-UX 11i
1670 (and earlier versions) have a <limits.h> that declares
1671 gettimeofday and many other functions.
1673 2002-12-03 Paul Eggert <eggert@twinsun.com>
1677 * NEWS, configure.ac: Update version.
1679 * doc/fdl.texi: Upgrade to FDL version 1.2.
1681 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
1682 nontrivially in main's body, so that f's external declaration is
1683 not optimized away in AIX. This should fix the bug reported by
1685 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
1687 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
1688 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
1689 defined, to support freestanding compilers. This should fix the
1690 bug reported by Momchil Velkov in
1691 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
1693 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
1694 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
1695 obsolete AC_CHECK_TYPE. The missing empty arg was reported
1696 by Simon Josefsson in
1697 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
1699 * Makefile.maint (www-gnu): New macro.
1700 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
1701 the location has moved.
1703 2002-12-02 Martin Frydl <martin@systinet.com>
1705 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
1706 \(.*\) match is too long and there is something more to be checked.
1707 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
1709 2002-11-15 Akim Demaille <akim@epita.fr>
1713 * config/install-sh: chmod +x.
1715 * config/move-if-change: Indenting changes.
1716 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
1717 * configure.ac (AM_INIT_AUTOMAKE): here.
1720 2002-11-14 Akim Demaille <akim@epita.fr>
1724 * config/config.guess, config/config.sub, config/install-sh:
1725 Update from masters.
1727 2002-11-14 Akim Demaille <akim@epita.fr>
1729 * Makefile.maint: Sync with Bison, i.e.:
1730 (po-check): Scan .l and .y files instead of the
1731 .c and the .h files that they generate. This fixes the bug
1732 reported by Tim Van Holder in:
1733 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
1734 Look for N_ as well as for _. Try to avoid matching #define for
1738 2002-11-14 Akim Demaille <akim@epita.fr>
1740 * doc/autoconf.texi (C Compiler): Compiling several files at once.
1741 From Paul Eggert and Albert Chin-A-Young.
1743 2002-11-14 Akim Demaille <akim@epita.fr>
1745 * doc/autoconf.texi (C Compiler): Solitary backslashes.
1746 From Paul Eggert and Albert Chin-A-Young.
1748 2002-11-14 Kevin Ryde <user42@zip.com.au>
1750 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
1751 than assigning in main, to avoid HP cc +O3 optimizing it away.
1753 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
1755 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
1756 option. Process --recheck after parsing all options. Pass -q
1757 option to configure on --recheck.
1758 (AC_OUTPUT): Pass -q from configure to config.status.
1759 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
1760 arguments to record.
1761 * doc/autoconf.texi (config.status Invocation): Document
1762 config.status -q option.
1764 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
1766 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
1767 Makefile.in if Makefile.am exists.
1768 (output): Strip `.am' from Makefiles. Don't
1769 output AC_CONFIG_FILES if no Makefiles were found.
1771 2002-11-07 Akim Demaille <akim@epita.fr>
1773 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
1774 (local_updates): New.
1775 * Makefile.maint: Update, from CVS Bison.
1776 (local_updates): New.
1778 2002-11-06 Akim Demaille <akim@epita.fr>
1780 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
1781 declaration in extern "C" too.
1782 Reported by Roberto Bagnara.
1784 2002-11-06 Akim Demaille <akim@epita.fr>
1786 * tests/torture.at (Configuring subdirectories): Don't use grep
1788 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
1789 Reported by Ezra Peisach.
1791 2002-11-05 Akim Demaille <akim@epita.fr>
1793 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
1795 We _have_ to stop using the old compatibility scheme that tried to
1796 avoid useless backslashes because Libtool 1.4.3 contains a
1797 AC_DEFINE([error_t], [int],
1798 [Define to a type to use for \`error_t' if it is not
1799 otherwise available.])
1800 We _have_ to quote the single quote and backslashes with \. The
1801 old compatibility scheme saw that ` was backslashed, and therefore
1802 did not quote the single quote. Hence before this patch, Autoconf
1803 was not compatible with Libtool.
1805 2002-11-04 Paul Eggert <eggert@twinsun.com>
1807 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
1808 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
1809 LC_NAME, LC_PAPER, LC_TELEPHONE.
1810 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
1812 2002-11-04 Akim Demaille <akim@epita.fr>
1816 * Makefile.maint (update, cvs-update, po-update, do-po-update):
1818 * config/texinfo.tex: Update.
1820 2002-11-03 Akim Demaille <akim@epita.fr>
1822 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
1824 (&autoreconf): here.
1825 ($help, $make, &parse_args, &autoreconf_current_directory):
1827 * doc/autoconf.texi (autoreconf Invocation): Adjust.
1829 2002-10-31 Bruno Haible <bruno@clisp.org>
1831 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
1832 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
1833 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
1834 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
1835 to ac_cv_func_realloc_0_nonnull.
1836 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
1838 2002-10-31 Akim Demaille <akim@epita.fr>
1840 The test suite was no longer checking for trailing envvars and files.
1842 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
1843 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
1845 2002-10-31 Akim Demaille <akim@epita.fr>
1847 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
1848 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
1849 Make variable, not a shell variable.
1850 Suggested by Bruno Haible.
1852 2002-10-31 Akim Demaille <akim@epita.fr>
1854 * bin/autom4te.in (load_configuration): Reject #args out of any
1857 2002-10-31 Akim Demaille <akim@epita.fr>
1859 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
1860 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
1861 (_AC_RUN_IFELSE): Use it.
1862 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
1863 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1864 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
1867 2002-10-30 Akim Demaille <akim@epita.fr>
1869 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
1870 * doc/autoconf.texi (autom4te Invocation): Adjust.
1871 Suggested by Tim van Holder.
1873 2002-10-29 Paul Eggert <eggert@twinsun.com>
1875 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
1876 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
1877 Problem reported by Bruno Haible.
1879 2002-10-29 Akim Demaille <akim@epita.fr>
1881 * doc/autoconf.texi (Header Templates): Put also in words what the
1882 pictures says to assist free style readers.
1883 (Customizing autom4te): s/--cache=/--cache /.
1885 2002-10-29 Akim Demaille <akim@epita.fr>
1887 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
1889 sparc_address_test returns void.
1890 Use it with an argument, as prototyped.
1893 2002-10-29 Akim Demaille <akim@epita.fr>
1895 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
1896 configure.in, not configure.ac.
1897 Reported by Bruno Haible.
1899 2002-10-29 Akim Demaille <akim@epita.fr>
1901 * tests/torture.at (Deep Package): New test.
1902 (Configuring subdirectories): Don't use a testSubDir as Autotest
1905 2002-10-29 Akim Demaille <akim@epita.fr>
1907 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
1908 * doc/autoconf.texi (Invoking autom4te): Rename as...
1909 (autom4te Invocation): this, for consistency with the other nodes.
1911 2002-10-29 Akim Demaille <akim@epita.fr>
1913 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
1914 Reported by Ralf Corsepius.
1916 2002-10-29 Akim Demaille <akim@epita.fr>
1918 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1919 characters is a back as an `obsolete' warning now.
1920 Reported by Ralf Corsepius.
1922 2002-10-28 Akim Demaille <akim@epita.fr>
1924 * configure.ac: Bump to 2.54c.
1926 2002-10-28 Akim Demaille <akim@epita.fr>
1930 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
1932 2002-10-28 Akim Demaille <akim@epita.fr>
1934 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
1935 m4 executable names, and different GNU M4 version.
1936 Reported by Ezra Peisach and Paul Jarc.
1938 2002-10-27 Akim Demaille <akim@epita.fr>
1940 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
1943 2002-10-27 Akim Demaille <akim@epita.fr>
1945 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
1946 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
1947 Die when a simple Fortran program cannot be compiled.
1948 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
1949 Issue a warning if no function is given.
1951 2002-10-27 Akim Demaille <akim@epita.fr>
1953 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
1954 Move the documentation of AC_TRY_RUN to...
1955 (Obsolete Macros): here.
1956 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
1957 (autoconf Invocation): Remove the duplicates with `invoking
1959 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
1960 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
1962 2002-10-27 Akim Demaille <akim@epita.fr>
1964 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
1965 and AC_LANG_FUNC_LINK_TRY.
1966 (Examining Libraries): Rename as...
1967 (Running the Linker): this.
1968 Document AC_LINK_IFELSE.
1969 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
1970 (Obsolete Macros): here.
1971 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
1972 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
1973 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
1974 * lib/autoconf/headers.m4 (AC_USG): Likewise.
1976 2002-10-27 Akim Demaille <akim@epita.fr>
1978 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
1980 More `check config.log' messages.
1982 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
1983 * doc/autoconf.texi (Printing Messages): Document it.
1984 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
1986 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
1987 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
1988 (_AC_COMPILER_OBJEXT): Likewise.
1989 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
1990 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
1992 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
1995 Deprecate macros with unusual interfaces.
1997 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
1998 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
2000 Document the new ones, and proper style.
2002 * doc/autoconf.texi (Generating Sources): New.
2003 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
2004 (Examining Declarations): Rename as...
2005 (Running the Preprocessor): this.
2006 Document AC_PREPROC_IFELSE.
2007 (Examining Syntax): Rename as...
2008 (Running the Compiler): this.
2009 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
2010 (Obsolete Macros): Move the definition of AC_TRY_CPP and
2011 AC_TRY_COMPILE here.
2013 2002-10-27 Akim Demaille <akim@epita.fr>
2015 Move sections around.
2017 * doc/autoconf.texi (Customizing autom4te): Remove a lost
2019 Reported by Burno Haible.
2020 (Language Choice): Now the first section of...
2021 (Writing Tests): this section.
2022 Make the introduction less C-centric.
2023 (Guidelines, Test Functions): Move to...
2024 (Writing Test Programs): this new section.
2025 (Test Programs): Merge into...
2028 2002-10-27 Akim Demaille <akim@epita.fr>
2030 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
2031 autom4te.in that resulted in the need for two `make' runs.
2033 2002-10-27 Akim Demaille <akim@epita.fr>
2035 * configure.ac: Bump to 2.54b.
2037 2002-10-25 Akim Demaille <akim@epita.fr>
2041 * Makefile.maint: Update from the Coreutils.
2042 (AMTAR): Remove, obsolete.
2043 (automake_repo): Update to redhat.com.
2045 Adjust to the fact that ansi2knr is now hosted by Automake.
2046 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
2047 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
2048 Update from masters.
2049 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
2050 autoscan.pre is not to be installed, and autoscan.list is not to
2052 (CLEANFILES): Add autoscan.list.
2053 (autoscan.list): Disable the cache.
2054 * bin/Makefile.am: Include freeze.mk.
2056 2002-10-25 Akim Demaille <akim@epita.fr>
2058 * bin/autom4te.in (&load_configuration): Take the file as
2060 (&parse_args): Handle -C, --cache.
2062 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
2063 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
2064 * doc/autoconf.texi (Invoking autom4te): Document --cache.
2065 Now a subsection of...
2066 (Using autom4te): This new section.
2067 (Customizing autom4te): New.
2068 (autom4te.cache): Adjust.
2070 2002-10-25 Akim Demaille <akim@epita.fr>
2072 * doc/autoconf.texi (Generic Headers): More information on how to
2073 use AC_CHECK_HEADERS.
2075 2002-10-25 Akim Demaille <akim@epita.fr>
2077 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
2080 2002-10-25 Akim Demaille <akim@epita.fr>
2082 * bin/autoscan.in (output): Output AC_PREREQ.
2083 (%needed_macros): Add AC_PREREQ so that configure.ac without one
2086 2002-10-23 Akim Demaille <akim@epita.fr>
2088 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
2091 2002-10-23 Akim Demaille <akim@epita.fr>
2093 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
2094 Reported by Peter Eisentraut.
2096 2002-10-23 Akim Demaille <akim@epita.fr>
2098 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
2101 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
2102 Eggert's recommandations.
2104 2002-10-22 Akim Demaille <akim@epita.fr>
2106 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
2107 Bison, by Paul Eggert.
2108 * doc/autoconf.texi (Particular Headers): Document it.
2110 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
2112 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
2113 `$ac_configure_args'.
2115 2002-10-22 Akim Demaille <akim@epita.fr>
2117 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
2118 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
2121 2002-10-22 Akim Demaille <akim@epita.fr>
2123 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
2125 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
2126 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
2127 (_AC_CHECK_HEADER_NEW): Rename as...
2128 (AC_CHECK_HEADER): this.
2130 2002-10-22 Akim Demaille <akim@epita.fr>
2132 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
2133 words about HP-UX cmp: it was actually a user-written cmp.
2135 2002-10-22 Akim Demaille <akim@epita.fr>
2137 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
2139 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
2140 Quote for Perl '' strings, not "".
2141 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
2144 2002-10-22 Akim Demaille <akim@epita.fr>
2146 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
2147 characters is a syntax warning now.
2148 (_AS_QUOTE): Accept $2 as list of characters to quote.
2149 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
2150 Quote for Perl, not sh.
2151 * bin/autoheader.in: When $debug, report the file which is
2153 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
2154 `@', to tickle Perl's lists.
2155 Reported by Carlos Velasco.
2157 2002-10-18 Akim Demaille <akim@epita.fr>
2159 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
2160 missing included files _are_ errors.
2161 Thanks to Alexandre Duret-Lutz.
2162 * tests/tools.at (autom4te cache): Adjust.
2163 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
2164 (AT_CHECK_M4SUGAR): Use it.
2165 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2167 * tests/tools.at (autom4te): Now it does exit 1.
2169 2002-10-17 Akim Demaille <akim@epita.fr>
2171 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
2172 Fixes the `AC_ARG_VAR' test failures.
2173 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
2174 * lib/freeze.mk (check-forbidden-patterns): New.
2175 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
2176 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
2177 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
2179 Reported months ago by H. Merijn Brand.
2181 2002-10-17 Akim Demaille <akim@epita.fr>
2183 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
2185 2002-10-16 Paul Eggert <eggert@twinsun.com>
2187 * Makefile.maint (wget_files): Remove ansi2knr.c.
2188 (ansi2knr.c-url_prefix): Remove.
2190 2002-10-16 Akim Demaille <akim@epita.fr>
2192 Because of caching, some files that no longer exist and are no
2193 longer required can still cause errors.
2194 Reported by Alexandre Duret-Lutz.
2196 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
2197 to frozen files in @ARGV, as @ARGV must remain being a list of
2198 files. Rather, at M4 call sites, use this...
2199 (&files_to_options): New function.
2200 (&freeze): Use &error.
2201 (&up_to_date): If a file that was included according to the cache
2202 is no longer there, then the output is out dated.
2203 (&main): Don't even check whether a file is up to date is anyway
2205 * tests/tools.at (autom4te cache): New.
2207 2002-10-16 Akim Demaille <akim@epita.fr>
2209 * bin/autoconf.as: Kill dead options.
2210 * bin/autoupdate.in (&parse_args): Kill old options.
2211 * bin/autoreconf.in (&parse_args): Remove dead options.
2213 (&autoreconf): Report the directories we enter *and leave*, so
2214 that error messages can be easily located, and use GNU Make
2215 format, so that Emacs' compile mode understands us.
2216 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
2217 if some file was changed instead of `print'.
2218 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
2219 (&parse_args): Remove the dead options.
2220 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
2221 autoheader's quiet mode.
2222 (AT_CHECK_AUTOUPDATE): Likewise.
2223 * tests/tools.at (autoupdate): Adjust.
2224 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2226 2002-10-11 Akim Demaille <akim@epita.fr>
2228 No longer use CPP to check for the existing of headers: use CC to
2229 check for compilability.
2231 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
2232 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
2233 (_AC_CHECK_HEADER_NEW): Rename as...
2234 (AC_CHECK_HEADER): this.
2236 * lib/autotest/general.m4 (AT_INIT): Include the failed test
2237 numbers in the Subject suggestion.
2239 2002-10-11 Akim Demaille <akim@epita.fr>
2241 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
2242 Suggest using AC_CHECK_DECLS instead.
2244 2002-10-11 Akim Demaille <akim@epita.fr>
2246 * tests/torture.at (AC_ARG_VAR): Have configure report the value
2249 2002-10-11 Akim Demaille <akim@epita.fr>
2251 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
2252 file name to enable parallel executions.
2253 From Sam Varshavchik.
2255 2002-10-08 Akim Demaille <akim@epita.fr>
2257 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
2258 aclocal invocation, as Gettext macros might not be visible to
2260 Instead of blindly running autopoint, scan configure.ac (not the
2261 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
2262 Reported by Paul D. Smith.
2264 2002-10-08 Paul Eggert <eggert@twinsun.com>
2266 Work around problems found when POSIXLY_CORRECT=1 is set.
2267 None of this seems to have anything to do with POSIX, really,
2268 but it's how Perl getopt works.
2269 * bin/autom4te.in (parse_args): Configure GetOpt with
2271 * doc/autoconf.texi (Invoking autom4te):
2272 --warning -> --warnings.
2273 * lib/autom4te.in: --warning -> --warnings.
2275 2002-09-28 Akim Demaille <akim@epita.fr>
2277 * doc/autoconf.texi (autom4te.cache): New section.
2279 2002-09-28 Akim Demaille <akim@epita.fr>
2281 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
2282 (Automake-preselections): Update.
2283 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
2285 2002-09-28 Akim Demaille <akim@epita.fr>
2287 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
2288 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
2289 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
2290 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
2292 2002-09-28 Akim Demaille <akim@epita.fr>
2294 * tests/torture.at (Configuring subdirectories): Be robust to
2295 users who use config.site to require for a cache: in this case,
2296 the two last configure runs, using two different sets of
2297 arguments, trigger a legitimate error.
2299 2002-09-28 Akim Demaille <akim@epita.fr>
2301 * tests/m4sh.at (Functions Support, Functions and return Support):
2304 2002-09-28 Akim Demaille <akim@epita.fr>
2306 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
2307 autoheader are Perl programs.
2308 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
2309 (autom4te): Specify that the sources are in the $srcdir.
2310 * doc/autoconf.texi (Installation Directory Variables): Adjust.
2312 2002-09-28 Akim Demaille <akim@epita.fr>
2314 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
2315 (tm_zone): Move their rules to...
2316 * lib/autoconf/types.m4: here, using AN_ macros.
2317 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
2318 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
2319 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
2320 * lib/autoconf/programs.m4: here.
2321 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
2322 (ETAGS_FOR_AUTOCONF): New.
2325 2002-09-28 Akim Demaille <akim@epita.fr>
2327 * lib/autoconf/autoscan.m4: New file.
2328 * lib/autoconf/autoconf.m4: Include it.
2329 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
2330 that were listed in the original autoscan.list.
2331 * lib/autoconf/headers.m4: Similarly with headers.
2332 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
2333 (.m4.m4f): Don't pass --prepend-include, since that's done by
2334 tests/autom4te itself.
2335 * lib/autoscan/Makefile.am: Include freeze.mk.
2336 (autoscan.list): New target --this file is no longer a source.
2337 (autoscan.pre): New file.
2339 2002-09-28 Akim Demaille <akim@epita.fr>
2341 * bin/autoscan.in (@kinds): Make them singular.
2343 (&init_tables): When --debug, report the list of rules to ease
2344 tracking changes in autoscan.list.
2345 * lib/autoscan/autoscan.list (function): Strip comments, sort.
2347 2002-09-28 Akim Demaille <akim@epita.fr>
2349 * lib/autoscan/functions, lib/autoscan/headers,
2350 * lib/autoscan/identifiers, lib/autoscan/makevars,
2351 * lib/autoscan/programs: Merge into...
2352 * lib/autoscan/autoscan.list: this.
2353 * bin/autoscan.in (&init_tables): Adjust.
2355 2002-09-28 Akim Demaille <akim@epita.fr>
2357 * lib/autoscan/functions, lib/autoscan/headers,
2358 * lib/autoscan/identifiers, lib/autoscan/makevars,
2359 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
2360 `functions' line is now prefixed with `function:'.
2361 * bin/autoscan.in (&init_tables): Adjust.
2363 2002-09-28 Akim Demaille <akim@epita.fr>
2365 From now on, autoscan files must always map a macro name to a
2366 word: there is no `default' macro for autoscan.
2368 * bin/autoscan.in (&init_tables): Reject entries with no macro at
2370 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
2373 2002-09-28 Akim Demaille <akim@epita.fr>
2375 * bin/autoscan.in (%c_keywords): Remove.
2376 (&used): Keep only track of the words we might be interested in.
2377 (&output_kind): It is no longer needed to look for non active
2380 2002-09-27 Akim Demaille <akim@epita.fr>
2382 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
2383 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
2384 * lib/autoscan/functions: Adjust.
2385 * doc/autoconf.texi (Particular Functions): Adjust.
2387 2002-09-27 Akim Demaille <akim@epita.fr>
2389 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
2391 Thanks to Bill Moseley and Paul Eggert.
2392 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
2393 the tmpdir must be created.
2394 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
2395 dir be in the build tree, instead of $TMPDIR.
2397 2002-09-27 Akim Demaille <akim@epita.fr>
2399 * bin/autoscan.in: Improve the comments.
2400 (&parse_args): Drop obsolete undocumented options.
2401 (&output_kind): Output warnings.
2402 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
2403 (getwd): Trigger a warning.
2405 2002-09-26 Akim Demaille <akim@epita.fr>
2407 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
2408 Reported by Ralf Corsepius.
2409 * doc/autoconf.texi (autoreconf Invocation): Likewise.
2411 2002-09-26 Akim Demaille <akim@epita.fr>
2413 Single suffix rules and seperated dependencies are not portable.
2415 * doc/autoconf.texi (Installation Directory Variables): Update.
2416 (Limitations of Make): Some about `Single Suffix Rules and
2417 Separated Dependencies'.
2418 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2419 (ifnames, autoscan, autom4te): Un-factor into several rules.
2421 2002-09-25 Paul Eggert <eggert@twinsun.com>
2423 * BUGS (Interoperability bugs): New section. Mention libtool
2424 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
2426 2002-09-24 Paul Eggert <eggert@twinsun.com>
2428 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
2429 make handles suffix-rules differently from GNU make.
2431 * bin/Makefile.am (SUFFIXES, .in): Remove.
2432 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
2433 Move the body of the old .in rule here.
2435 2002-09-16 Akim Demaille <akim@epita.fr>
2437 i960 compilers create `b.out' files by default.
2438 Reported by Ralf Corsepius.
2440 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
2441 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
2443 2002-09-13 Paul Eggert <eggert@twinsun.com>
2445 * doc/autoconf.texi (Particular Headers): Remove obsolete
2446 reference to `struct timezone' in the description of
2449 2002-09-13 Akim Demaille <akim@epita.fr>
2453 * config/config.sub, config/config.guess: Update.
2454 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
2455 * Makefile.am: Adjust.
2457 2002-09-13 Akim Demaille <akim@epita.fr>
2459 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
2460 reading config.log when the compiler is rejected.
2461 Suggested by Guido Draheim.
2463 2002-09-13 Akim Demaille <akim@epita.fr>
2465 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
2466 (chdir_init) might hang when stat'ing mounted directories.
2467 Reported by Vance Shipley.
2469 2002-09-12 Akim Demaille <akim@epita.fr>
2471 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
2474 2002-09-12 Akim Demaille <akim@epita.fr>
2476 * doc/autoconf.texi (Defining Symbols): Present two different
2477 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
2478 difference between 1 argument calls, and 2-3 argument calls.
2480 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
2482 * doc/autoconf.texi: Review grammar and punctuation.
2484 2002-09-11 Paul Eggert <eggert@twinsun.com>
2486 * doc/autoconf.texi: Fix minor formatting, spelling, and
2488 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
2489 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
2492 2002-09-11 Akim Demaille <akim@epita.fr>
2494 * doc/autoconf.texi (Questions): Rename as...
2496 (Defining Directories): New.
2498 2002-09-09 Akim Demaille <akim@epita.fr>
2500 * doc/autoconf.texi (Making testsuite Scripts): Update.
2501 Suggested by Nishio Futoshi.
2503 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
2505 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
2506 plain `@' is wanted.
2508 2002-09-09 Akim Demaille <akim@epita.fr>
2510 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
2511 `duplicates', since the algorithm was too naive and could keep
2512 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
2513 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
2514 Reported by Ralf Corsepius.
2515 * tests/torture.at (Configuring subdirectories): Exercise these
2518 2002-09-09 Akim Demaille <akim@epita.fr>
2520 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
2521 looking for a replacement file.
2522 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
2523 directory is relative.
2524 * doc/autoconf.texi (Generic Functions): Clarify the replacement
2525 directory definition.
2526 Reported by Andreas Schwab and Jim Meyering.
2528 2002-09-06 Akim Demaille <akim@epita.fr>
2530 * doc/autoconf.texi (Setting Output Variables): Clarify what
2531 precious variables are.
2532 Suggested by Pontus Skoeld.
2534 2002-09-05 Akim Demaille <akim@epita.fr>
2536 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2537 (ifnames, autoscan, autom4te): Since we don't only depend on
2538 configure.ac variables (such as VERSION etc.), but also on prefix
2539 and so forth, depend on Makefile, not configure.ac.
2540 Reported by Alexandre Duret-Lutz.
2541 * doc/autoconf.texi (Installation Directory Variables): Adjust.
2543 2002-09-05 Kevin Ryde <user42@zip.com.au>
2545 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
2546 doesn't seem to be confined to ia64, just say "some versions".
2548 2002-09-04 Akim Demaille <akim@epita.fr>
2550 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
2552 * Makefile.am (maintainer-clean-local): Remove.
2553 (MAINTAINERCLEANFILES): Remove COPYING.
2555 2002-09-03 Paul Eggert <eggert@twinsun.com>
2557 * doc/autoconf.texi (Configuration Commands): Remove obsolete
2558 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
2561 2002-09-03 Akim Demaille <akim@epita.fr>
2563 * configure.ac: Bump to 2.53d.
2564 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
2565 as of today, on Automake's team suggestion.
2567 2002-09-03 Akim Demaille <akim@epita.fr>
2571 2002-09-02 Akim Demaille <akim@epita.fr>
2573 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
2575 * configure.ac: Disable SITE_MACRO_DIR.
2577 2002-09-02 Jim Meyering <meyering@lucent.com>
2579 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
2580 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
2581 Also, tweak grammar: s/make sure to/be sure to/.
2583 2002-09-02 Paul Eggert <eggert@twinsun.com>
2585 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
2586 directory names are generally preferable to physical names.
2588 2002-09-02 Akim Demaille <akim@epita.fr>
2590 * lib/Autom4te/General.pm (&update_file): s/die/error/.
2591 Reported by Raja R. Harinath.
2592 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
2593 * bin/autoupdate.in: Use error instead of die.
2595 2002-09-01 Paul Eggert <eggert@twinsun.com>
2597 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
2598 ordinary shell concatenation rather than echo+tr+sed command that
2599 runs afoul of a long-line-related sed bug in Solaris 8.
2601 * bin/autoheader.in (parse_args): --warning -> --warnings.
2603 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
2604 stdout, as traditional "ls" does.
2605 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
2606 _AC_COMPILER_EXEEXT_O): Likewise.
2607 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
2609 * bin/autoconf.as: Add --prepend-include option. This patch was
2610 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
2611 but bin/autoconf.in is generated automatically from bin/autoconf.as.
2613 * bin/autoconf.in, configure: Regenerate.
2615 * doc/autoconf.texi (Special Shell Variables): Mention
2616 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
2618 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
2619 MAILPATH and set PS1, PS2, PS4 to default values, to work
2620 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
2621 For LC_ALL etc, first try to set to "C" as POSIX requires and as
2622 the Autoconf documentation specifies; fall back to "unset" only if
2623 this fails. Use a shell for-loop for this rather than an m4 loop,
2624 to shorten the output script.
2626 2002-08-30 Paul Eggert <eggert@twinsun.com>
2628 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
2629 1003.1-2001's requirements for CDPATH. Give a simpler workaround
2630 for the CDPATH problem. Document PWD.
2631 (Limitations of Builtins): Document the problem that "cd $foo" and
2632 "ls $foo" may refer to different directories in shells conforming
2633 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
2634 example, since the old example is now out of date.
2636 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
2637 FOO" and "ls FOO" talk about different directories; this catches
2638 problems when POSIX 1003.1-2001 "cd" fails due to symlink
2641 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
2642 of rolling our own unset.
2643 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
2644 in practice we needn't worry about CDPATH if unset doesn't work.
2646 * Makefile.in, aclocal.m4, bin/Makefile.in,
2647 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
2648 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
2649 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
2650 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
2651 tests/Makefile.in: Regenerate with Automake 1.6.3.
2653 * config/config.guess, config/config.sub, config/mkinstalldirs:
2656 * configure: Regenerate with self.
2658 2002-08-30 Kevin Ryde <user42@zip.com.au>
2660 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
2663 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2665 * bin/autom4te.in (Request::load): Correctly test for "do" read
2668 2002-08-29 Akim Demaille <akim@epita.fr>
2670 * lib/Autom4te/General.pm (&xqx): New.
2671 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
2672 hand, which is not portable.
2674 * bin/autom4te.in: Use them.
2675 Use &error instead of die.
2676 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2679 2002-08-17 Paul Eggert <eggert@twinsun.com>
2681 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
2682 default list of compilers to try, since it was long ago superseded
2683 by the ksh fc builtin. Suggested by Steven G. Johnson.
2685 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
2687 * doc/autoconf.texi (Invoking autom4te): End the option table,
2688 fixing a bug introduced by the previous patch.
2689 (Limitations of Make): Add a 'target lookup' subentry in the
2690 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
2692 2002-07-29 Mark D. Roth <roth@feep.net>
2694 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
2695 options and use $AUTOM4TE_PATH.
2696 * doc/autoconf.texi: Remove documentation of autom4te
2697 --include-envvar and --site-macro-subdir options and document
2698 use of $AUTOM4TE_PATH.
2699 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
2700 arguments from each language section.
2702 2002-07-29 Paul Eggert <eggert@twinsun.com>
2704 * doc/install.texi: Include copyright symbol in copyright notice.
2706 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
2708 (AM_MAKEINFOFLAGS): New macro.
2709 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
2710 * Makefile.am (INSTALL): Use the new macros.
2711 Use -o rather than --output, since "missing" does not grok --output.
2713 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2715 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
2716 comments do not always work. Never trust the exit status of
2719 2002-07-24 Kevin Ryde <user42@zip.com.au>
2721 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
2722 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
2724 2002-07-23 Paul Eggert <eggert@twinsun.com>
2726 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
2727 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
2728 apparently treats PATH="nonexistent" as if it contained ".".
2729 Bug reported by Stefan `Sec' Zehl.
2731 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2733 * doc/autoconf.texi (Limitations of Make): Mention the special
2734 handling of the obj/ directory by BSD make.
2736 2002-07-20 Kevin Ryde <user42@zip.com.au>
2738 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
2741 2002-07-19 Akim Demaille <akim@epita.fr>
2743 * doc/autoconf.texi (Function Portability): `exit'.
2744 (Programming in M4sh): Ethymology of M4sh.
2746 2002-07-19 Akim Demaille <akim@epita.fr>
2748 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
2750 2002-07-18 Akim Demaille <akim@epita.fr>
2754 2002-07-18 Akim Demaille <akim@epita.fr>
2756 * config/config.guess, config/config.sub: Update.
2758 2002-07-18 Akim Demaille <akim@epita.fr>
2760 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
2763 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
2764 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
2765 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
2767 2002-07-18 Akim Demaille <akim@epita.fr>,
2768 Alexandre Duret-Lutz <duret_g@epita.fr>
2770 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
2771 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
2773 2002-07-17 Russ Allbery <rra@stanford.edu>
2775 * doc/autoconf.texi (Initializing configure): Clarify the
2776 description of the tarname default.
2778 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
2780 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
2781 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
2784 2002-07-17 Akim Demaille <akim@epita.fr>
2786 * lib/Autom4te/General.pm (find_file): Browse the directories in
2787 the order they are given.
2789 2002-07-17 Akim Demaille <akim@epita.fr>
2791 * tests/wrapsh.as, tests/wrappl.as: Merge into...
2792 * tests/wrapper.as: this.
2793 * tests/Makefile.am, configure.ac: Adjust.
2795 2002-07-17 Mark D. Roth <roth@feep.net>
2797 * configure.ac: Add --enable-site-macro-dir option.
2798 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
2799 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
2800 --site-macro-subdir options.
2801 * bin/autoconf.in: Add --prepend-include option.
2802 * bin/autoheader.in: Add --prepend-include option.
2803 * bin/autoreconf.in: Add --prepend-include option.
2804 * bin/autoscan.in: Add --prepend-include option.
2805 * bin/autoupdate.in: Add --prepend-include option.
2806 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
2807 macro directory, remove note that include path directories are
2808 used in reverse order, and document --prepend-include option.
2809 * lib/autom4te.in: Use --prepend-include instead of --include.
2810 * tests/wrapsh.in: Use --prepend-include instead of --include.
2812 2002-07-17 Akim Demaille <akim@epita.fr>
2814 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
2816 * doc/autoconf.texi (Initializing configure): Adjust.
2818 2002-07-17 Akim Demaille <akim@epita.fr>
2820 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
2821 (_AC_FUNC_MALLOC): New.
2822 (AC_FUNC_MALLOC): Use the latter.
2823 Define HAVE_MALLOC to 0 if broken.
2824 * doc/autoconf.texi (Particular Functions): Adjust.
2826 2002-07-16 Akim Demaille <akim@epita.fr>
2828 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
2829 * doc/autoconf.texi (C Compiler): Adjust.
2831 2002-07-09 Akim Demaille <akim@epita.fr>
2833 * doc/autoconf.texi: Properly set the ``header'' part.
2835 2002-07-09 Akim Demaille <akim@epita.fr>
2837 * doc/autoconf.texi (Systemology): Some about Darwin.
2839 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2841 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2842 Don't use AC_REQUIRE in AU_DEFUN.
2844 2002-07-09 Art Haas <ahaas@neosoft.com>
2846 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
2848 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2850 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2851 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
2852 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
2853 so that Emacs setups GNU style for perl-mode and cperl-mode.
2855 2002-06-27 Paul Eggert <eggert@twinsun.com>
2857 * config/install-sh: Quote $src. Prefer || to test's -o option,
2858 as per "Limitations of Builtins".
2859 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
2860 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2862 * tests/mktests.sh: Use grep instead of fgrep, as per
2863 "Limitations of Builtins".
2865 2002-06-15 Paul Eggert <eggert@twinsun.com>
2867 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
2868 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
2869 so that we consistently test the just-built programs.
2870 * tests/wrappl.as: Likewise.
2872 2002-06-12 Paul Eggert <eggert@twinsun.com>
2874 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
2875 name, so that symlinks to 'autoconf' work properly. Bug reported
2877 * bin/autoheader.in (AUTOM4TE): Likewise.
2878 * bin/autoreconf.in (autoconf, autoheader): Likewise.
2879 * bin/autoscan.in (autom4te): Likewise.
2880 * bin/autoupdate.in (autom4te): Likewise.
2882 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
2883 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
2886 2002-06-11 Andreas Schwab <schwab@suse.de>
2888 * doc/autoconf.texi: Add more dir entries.
2890 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2892 * bin/autom4te.in ($cache): Don't define using `$me', the name
2893 of the cache should not depend on the name under which autom4te
2896 2002-06-07 Akim Demaille <akim@epita.fr>
2898 * tests/tools.at (autoconf: forbidden tokens, basic)
2899 (autoconf: forbidden tokens, exceptions): Adjust to the change of
2900 words in autom4te.in.
2902 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
2904 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
2905 _AC_LANG_PROGRAM_C_F77_HOOKS.
2907 2002-06-07 Akim Demaille <akim@epita.fr>
2909 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
2911 (AC_REPLACE_FNMATCH): this.
2912 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
2913 AC_FUNC_FNMATCH_GNU.
2915 2002-06-07 Akim Demaille <akim@epita.fr>
2917 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
2918 Rosetta Stone for Unix.
2920 2002-06-07 Akim Demaille <akim@epita.fr>
2922 * bin/autom4te.in (warn_forbidden): When rejecting a token,
2923 suggest m4_pattern_allow.
2924 Suggested by Adam J. Richter.
2926 2002-06-07 Akim Demaille <akim@epita.fr>
2928 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2929 ac_config_libobj_dir.
2930 (AC_CONFIG_LIBOBJ_DIR): New.
2931 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
2932 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
2933 Use ac_config_libobj_dir to find the replacement files.
2934 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
2935 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
2936 (AC_REPLACE_FNMATCH_GNU): these.
2937 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
2938 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
2939 * tests/mktests.sh (ac_exclude_list): Don't check
2940 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
2942 2002-06-06 Paul Eggert <eggert@twinsun.com>
2944 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
2947 * doc/autoconf.texi (Configuration Links): Likewise.
2948 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
2950 2002-06-05 Paul Eggert <eggert@twinsun.com>
2952 * config/config.guess, config/config.sub, config/texinfo.tex:
2953 Update from masters.
2955 2002-05-29 Paul Eggert <eggert@twinsun.com>
2957 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
2958 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
2959 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
2961 * lib/autoconf/Makefile.am (check-local): Likewise.
2962 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
2963 * lib/autoconf/types.m4 (commentary only): Likewise.
2964 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
2965 * lib/autotest/Makefile.am (check-local): Likewise.
2966 * lib/m4sugar/Makefile.am (check-local): Likewise.
2967 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
2968 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
2970 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
2971 * doc/autoconf.texi (Particular Programs): Document them.
2972 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
2975 2002-05-27 Paul Eggert <eggert@twinsun.com>
2977 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
2978 * NEWS, doc/autoconf.texi (Particular Types): Document it.
2979 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
2980 instead of AC_MBSTATE_T, which never existed.
2982 2002-05-23 Akim Demaille <akim@epita.fr>
2984 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
2985 version of Autoconf that is discussed.
2987 2002-05-22 Paul Eggert <eggert@twinsun.com>
2989 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
2990 from the default list of compilers to try. Suggested by
2992 * NEWS: Document the above.
2993 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
2995 2002-05-17 Paul Eggert <eggert@twinsun.com>
2997 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
2998 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
2999 This improves on an earlier suggestion by H. Peter Anvin.
3001 2002-05-16 Paul Eggert <eggert@twinsun.com>
3003 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
3004 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
3005 Both macros now accept an optional source-dir arg.
3006 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
3008 * NEWS: Document this.
3009 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
3011 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
3012 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
3013 not for GNU extensions; this undoes part of the 2000-11-03 change,
3014 reverting to 2.13-compatible behavior.
3015 Add new optional argument DIR.
3016 (AC_FUNC_FNMATCH_GNU): New macro.
3018 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
3020 2002-05-08 Paul Eggert <eggert@twinsun.com>
3022 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
3023 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
3024 and it causes a 'test' syntax error if it fails.
3025 Bug reported by Stephen Gildea.
3027 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
3028 If prototypes are supported, use them to check this at compile-time,
3029 instead of trying to check it at run-time. If we must do a run-time
3030 check, assume that setvbuf is standard when cross-compiling, as
3031 nonstandard setvbuf occurs only on ancient and unlikely hosts.
3032 Bug reported by Paul D. Smith.
3034 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
3035 argument specifying location of getloadavg.c. This removes a
3036 FIXME. This idea was taken from Jim Meyering's implementation in
3038 * doc/autoconf.texi (Particular Functions): Document this.
3039 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
3040 that's what the code does; this fixes a bug reported by
3043 2002-05-03 Akim Demaille <akim@epita.fr>
3045 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
3046 autopoint instead of gettextize.
3047 ($uses_alocal): Rename as...
3048 ($uses_aclocal): this.
3049 * doc/autoconf.texi (autoreconf Invocation): Adjust.
3050 Suggested by Bruno Haible.
3052 2002-05-03 Akim Demaille <akim@epita.fr>
3054 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
3056 2002-04-29 Paul Eggert <eggert@twinsun.com>
3058 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
3059 files to be 1 second older; just set them to be the same time.
3060 Also, sleep 1 second after the first aclocal, to work around
3061 problems with sub-second time stamps on the input files.
3063 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
3065 * doc/autoconf.texi: Mention "set -e -x" lossage
3066 under node "Limitations of Builtins".
3068 2002-04-29 Akim Demaille <akim@epita.fr>
3070 * doc/install.texi: Better wording for setting variables when
3072 From Christian Cornelssen.
3074 2002-04-29 Akim Demaille <akim@epita.fr>
3076 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
3077 of lack of $LINENO support, then the test will compare the $LINENO
3078 in testsuite vs. the lineno in the test file. This is wrong, of
3080 Be sure to protect it.
3081 Reported by Patrick Welche.
3083 2002-04-25 Akim Demaille <akim@epita.fr>
3085 * doc/autoconf.texi (Obsolete Macros): Typo.
3086 Reported by Vladimir Volovich.
3088 2002-04-25 Akim Demaille <akim@epita.fr>
3090 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
3091 than some of the input files, hence, on the second run of aclocal,
3092 if some of its input are younger, make them older.
3093 Suggested by Paul Eggert.
3095 2002-04-25 Akim Demaille <akim@epita.fr>
3097 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
3098 Thanks to Paul Eggert.
3100 2002-04-25 Akim Demaille <akim@epita.fr>
3102 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
3103 and ac_subst_vars be sh variables containing the list of
3104 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
3106 (_AC_INIT_PREPARE): Use them to log them.
3107 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
3108 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
3109 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
3110 _AC_SUBST_FILES and _AC_SUBST_VARS.
3111 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
3113 2002-04-24 Akim Demaille <akim@epita.fr>
3115 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
3116 autoheader, so that automake does not complain about a missing
3117 config.h.in that was to be created.
3119 2002-04-23 Akim Demaille <akim@epita.fr>
3121 * bin/autoheader.in (parse_args): --warning takes an argument.
3124 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
3126 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
3127 and bb.out when cleaning up.
3129 2002-04-22 Akim Demaille <akim@epita.fr>
3133 2002-04-22 Akim Demaille <akim@epita.fr>
3135 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
3137 2002-04-22 Akim Demaille <akim@epita.fr>
3139 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
3141 Reported by Gregory Giannoni.
3143 2002-04-22 Akim Demaille <akim@epita.fr>
3145 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
3146 Fixes false failures on Darwin.
3148 2002-04-21 Paul Eggert <eggert@twinsun.com>
3150 * TODO, bin/autoupdate.in, doc/autoconf.texi,
3151 lib/autoconf/general.m4, lib/autoconf/libs.m4,
3152 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
3153 tests/tools.at: Minor spelling and grammar fixes.
3155 2002-04-20 Paul Eggert <eggert@twinsun.com>
3157 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
3158 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
3159 * lib/autotest/general.m4 (AT_INIT): Likewise.
3160 * tests/atgeneral.m4 (AT_INIT): Likewise.
3162 2002-04-19 Paul Eggert <eggert@twinsun.com>
3164 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
3165 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
3166 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
3167 lib/autoconf/functions.m4, lib/autoconf/general.m4,
3168 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
3169 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
3170 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
3171 Minor spelling and grammar fixes.
3173 * doc/autoconf.texi: Follow the outline suggested in the GNU
3174 Sample Texts sections of the Texinfo 4.2 manual. Most
3175 importantly, this makes sure that the copyright notices appear in
3176 all output formats. You probably need Texinfo 4.2 to generate
3179 Fix some bugs when using "$@" when there might be zero positional
3180 arguments in cases where this matters.
3182 * bin/autoconf.as: Rewrite so that the problem does not come up.
3183 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
3184 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
3185 * lib/autotest/general.m4 (AT_INIT): Likewise.
3187 * bin/autoheader.in: Use 'case' statement to work around problem.
3188 * bin/auto4mte.in: Likewise.
3189 * bin/autoreconf.in: Likewise.
3190 * bin/autoscan.in: Likewise.
3191 * bin/autoupdate.in: Likewise.
3192 * bin/ifnames.in: Likewise.
3194 * doc/autoconf.texi (Shell Substitutions): Document the problem.
3196 * lib/autotest/general.m4 (AT_INIT):
3197 Use Zsh alias to work around problem.
3198 * tests/atgeneral.m4 (AT_INIT): Likewise.
3200 * tests/c.at: We can't have zero arguments, so remove workaround
3201 that is not portable to Zsh.
3203 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
3205 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
3206 from aclocal.m4 too.
3208 2002-04-12 Akim Demaille <akim@epita.fr>
3210 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
3212 2002-04-10 Akim Demaille <akim@epita.fr>
3214 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
3215 workaround for ${1+"$@"}.
3216 * doc/autoconf.texi (Shell Substitutions): Explain it.
3217 From Oliver Kiddle and Peter Stephenson.
3219 Have M4sh perform minimal shell sanitizing.
3221 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
3223 (_AS_PREPARE): this new macro.
3225 (AS_INIT): Invoke AS_SHELL_SANITIZE.
3226 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
3228 Adjust Autoconf and Autotest.
3230 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
3231 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
3232 * lib/autotest/general.m4 (AT_INIT): Likewise.
3233 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3234 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
3237 Use this M4sh to generate Autoconf's shell scripts.
3239 * tests/wrapsh.as: New, precursor of wrapsh.in.
3240 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
3241 on Autotest and M4sh.
3242 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
3243 (wrapsh.in): New target.
3244 * bin/autoconf.as: New, precursor of autoconf.in.
3245 (autoconf.in): New target.
3247 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
3249 * doc/autoconf.texi (Limitations of Make): Mention the issue
3250 with indented comments in rules.
3252 2002-04-09 Andreas Schwab <schwab@suse.de>
3254 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
3255 ac_top_builddir when setting ac_abs_top_builddir.
3257 2002-04-06 Kevin Ryde <user42@zip.com.au>
3259 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
3260 (Portable Shell): Cross reference to Systemology.
3262 2002-04-05 Akim Demaille <akim@epita.fr>
3264 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
3265 directories when descending in a SUBDIRS.
3266 Reported by Ezra Peisach.
3268 2002-04-04 Andreas Schwab <schwab@suse.de>
3270 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
3271 contains no literal separators.
3273 2002-04-03 Akim Demaille <akim@epita.fr>
3275 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
3276 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
3277 Use dnl, not the KILL diversion.
3279 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
3280 (AC_CONFIG_LINKS): here.
3282 Don't use the KILL diversion, as it kills spurious output, which
3283 results in failures being hidden.
3284 Use m4_defn where appropriate.
3285 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
3286 after the second argument.
3288 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
3289 syntax, as it is provided by M4sugar.
3290 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
3292 2002-04-03 Andreas Schwab <schwab@suse.de>
3294 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
3295 expanded if $# <= 2.
3297 * bin/autoreconf.in (autoreconf): Run automake after rerunning
3300 2002-04-03 Akim Demaille <akim@epita.fr>
3302 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
3303 (_AC_COMPILER_EXEEXT_REJECT): New.
3304 Also recognize *.bb and *.bbg as compilation byproducts.
3305 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
3306 (_AC_COMPILER_OBJEXT): Use them.
3307 Fixes Debian #138666.
3309 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
3311 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
3313 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
3314 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
3315 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
3316 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
3318 (AC_C_INLINE): Same.
3319 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
3320 * doc/autoconf.texi, NEWS: Document.
3321 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
3324 2002-04-02 Akim Demaille <akim@epita.fr>
3326 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
3327 _AS_MKDIR_P_PREPARE.
3329 2002-03-28 Kevin Ryde <user42@zip.com.au>
3331 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
3332 to avoid versions of HP C which don't allow that.
3334 2002-03-27 Paul Eggert <eggert@twinsun.com>
3336 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
3337 (AS_SHELL_SANITIZE): Invoke it.
3338 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
3340 2002-03-26 Akim Demaille <akim@epita.fr>
3342 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
3344 2002-03-26 Akim Demaille <akim@epita.fr>
3346 * doc/autoconf.texi (Introduction): The GNATS base moved.
3348 2002-03-25 Paul Eggert <eggert@twinsun.com>
3350 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
3351 as POSIX requires, as it doesn't work with Zsh.
3352 * doc/autoconf.texi (Assignments): Document the problem.
3354 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3356 * doc/autoconf.texi (Limitations of Make): Mention more issue
3357 about VPATH, overriding of macros in sub-makes, and handling of
3360 2002-03-21 Paul Eggert <eggert@twinsun.com>
3362 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
3363 problem with here-document buffer boundaries.
3365 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
3366 when reinvoking the shell, to work around problems with installers
3367 who put strange things like "cd" commands in their environments.
3369 2002-03-19 Akim Demaille <akim@epita.fr>
3371 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
3374 2002-03-19 Akim Demaille <akim@epita.fr>
3376 * bin/autoscan.in (scan_file): Specify the location in `&used'
3380 2002-03-19 Akim Demaille <akim@epita.fr>
3382 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
3383 From Nishio Futoshi.
3385 2002-03-19 Akim Demaille <akim@epita.fr>
3387 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
3389 2002-03-18 Paul Eggert <eggert@twinsun.com>
3391 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
3392 (Limitations of Usual Tools): Add mkdir section.
3394 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
3395 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
3396 back on AS_DIRNAME to compute prefixes otherwise; this is
3397 roughly what mkinstalldirs does. That way, we need not have
3398 our own filename disassembler. The old disassembler did not
3399 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
3401 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
3402 Create at_test_all by a series of assignments,
3403 not by a single assignment of a long string. The latter causes ksh
3404 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
3405 presumably because of a buffer overrun.
3407 2002-03-14 Paul Eggert <eggert@twinsun.com>
3409 * lib/autotest/general.m4 (at_times_skip):
3410 Renamed from at_times. Now a boolean.
3411 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
3412 says 'times: not found'.
3414 2002-03-14 Akim Demaille <akim@epita.fr>
3416 * bin/autoreconf.in (&study_gettextize): New.
3417 (&autoreconf): Handle newest gettextize.
3418 Rerun aclocal if needed.
3419 Suggested by Andreas Schwab.
3421 2002-03-13 Akim Demaille <akim@epita.fr>
3423 * doc/autoconf.texi (Special Shell Variables): More about IFS.
3425 2002-03-13 Akim Demaille <akim@epita.fr>
3427 * doc/autoconf.texi (Header Portability): New.
3428 Add information about stdint.h and inttypes.h from Paul Eggert.
3430 2002-03-13 Akim Demaille <akim@epita.fr>
3432 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
3436 2002-03-12 Akim Demaille <akim@epita.fr>
3438 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
3441 2002-03-11 Andreas Schwab <schwab@suse.de>
3443 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
3444 does not do it if --with-lispdir is given.
3446 2002-03-08 Akim Demaille <akim@epita.fr>
3450 2002-03-08 Akim Demaille <akim@epita.fr>
3452 * doc/autoconf.texi (Subdirectories): Clarify that the
3453 subdirectory should exist.
3455 2002-03-08 Akim Demaille <akim@epita.fr>
3457 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
3459 2002-03-08 Akim Demaille <akim@epita.fr>
3461 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
3462 aliases the actual variables, and modifications of the former
3465 2002-03-08 Akim Demaille <akim@epita.fr>
3467 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
3468 because of C-c: have m4 output in tmp files, then mv them.
3470 2002-03-08 Akim Demaille <akim@epita.fr>
3472 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
3473 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
3474 * bin/ifnames.in: Copyright update.
3476 2002-03-08 Akim Demaille <akim@epita.fr>
3478 * doc/autoconf.texi (Invoking autom4te): New.
3480 2002-03-05 Akim Demaille <akim@epita.fr>
3482 * doc/autoconf.texi (Specifying Names): Clarification suggested by
3485 2002-03-05 Akim Demaille <akim@epita.fr>
3489 2002-03-04 Akim Demaille <akim@epita.fr>
3491 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
3492 * lib/autoconf/general.m4 (AC_INIT): More informative error
3495 2002-03-04 Akim Demaille <akim@epita.fr>
3497 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
3500 2002-03-04 Akim Demaille <akim@epita.fr>
3502 * doc/autoconf.texi (Transforming Names): Equality between target
3503 and host is irrelevant.
3504 (Specifying Names, Canonicalizing): Remove all references to the
3505 backward compatibility hooks. Rather, collect them all into...
3506 (Hosts and Cross-Compilation): this new section.
3507 * doc/install.texi (System Type): Ditto.
3508 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
3509 that `--host' implies cross-compilation.
3511 2002-03-04 Akim Demaille <akim@epita.fr>
3513 * doc/autoconf.texi (Evaluation Macros): New.
3514 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
3516 (_m4_foreach): Define the variant with immediate evaluation so
3517 that it contains exactly the items, not an expression which
3518 evaluation is the current item.
3519 (m4_re_string, m4_re_word): Don't over quote them.
3521 2002-03-04 Akim Demaille <akim@epita.fr>
3523 Instead of having stacking `shift's evaluated at the end, let
3524 `foreach' loops immediately evaluate them.
3526 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
3527 $*. This is the n-th time I change my mind, but hopefully this is
3530 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
3532 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
3533 it was only a hack for m4_text_wrap.
3534 (m4_car2): Remove, replaced by...
3536 (_m4_foreach): Adjust.
3537 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
3538 m4_bpatsubst for clarification.
3540 2002-03-04 Akim Demaille <akim@epita.fr>
3542 * doc/autoconf.texi (Changequote is Evil): New.
3544 2002-03-03 Kevin Ryde <user42@zip.com.au>
3546 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
3547 on old systems like SunOS.
3549 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
3551 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3552 lib/autoconf/functions.m4, lib/autoconf/general.m4,
3553 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
3554 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
3557 2002-02-28 Akim Demaille <akim@epita.fr>
3559 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
3562 2002-02-28 Kevin Ryde <user42@zip.com.au>
3564 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
3566 2002-02-25 Akim Demaille <akim@epita.fr>
3568 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
3571 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
3573 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
3574 translate \r\n to \n.
3576 2002-02-07 Akim Demaille <akim@epita.fr>
3580 2002-02-07 Akim Demaille <akim@epita.fr>
3582 Fix Autoconf PR/209.
3583 Also reported by Frank Denis.
3585 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
3587 2002-02-07 Akim Demaille <akim@epita.fr>
3589 Fix Autoconf PR/207:
3590 AC_PREFIX_PROGRAM fails with dashed program names
3592 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
3593 variable when looking for the prefix program.
3594 Now it also works for shell variables.
3596 2002-02-07 Akim Demaille <akim@epita.fr>
3598 * doc/autoconf.texi (Limitations of Builtins): More about
3601 2002-02-06 Akim Demaille <akim@epita.fr>
3603 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
3604 case/esac, some shells don't support it.
3605 Reported by Zack Weinberg.
3606 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
3608 2002-02-06 Akim Demaille <akim@epita.fr>
3610 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
3611 sure not to introduce newlines in at_groups.
3612 * lib/autotest/Makefile.am (autotest.m4f): Typo.
3614 2002-02-06 Akim Demaille <akim@epita.fr>
3616 * tests/torture.at (Configuring subdirectories): Skip if aclocal
3619 2002-02-05 Paul Eggert <eggert@twinsun.com>
3621 * doc/autoconf.texi (Specific Compiler Characteristics):
3622 Describe HP-UX cc bug workaround more accurately.
3623 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
3625 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
3626 cross-compilers, too. This undoes some of the most recent change
3629 2002-02-05 Akim Demaille <akim@epita.fr>
3631 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
3632 to make sure they are up to date when `check' is run.
3634 2002-02-05 Akim Demaille <akim@epita.fr>
3636 * doc/autoconf.texi (Making testsuite Scripts): Document
3639 2002-02-05 Akim Demaille <akim@epita.fr>
3641 * lib/freeze.mk: New.
3643 2002-02-05 Akim Demaille <akim@epita.fr>
3645 Implement `autom4te --freeze'.
3647 * bin/autom4te.in (&freeze): New.
3648 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
3649 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
3651 2002-02-05 Akim Demaille <akim@epita.fr>
3653 * bin/autom4te.in (&parse_args): Implement `frozen files are
3654 optional are the sum of the previous files on the command line'.
3655 Also, pass `--reload-state=' on them, so...
3657 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
3658 (M4sh): Rely on M4sugar.
3659 (Autotest, M4sh, M4sugar): Use frozen files.
3661 2002-01-31 Akim Demaille <akim@epita.fr>
3663 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
3664 * doc/autoconf.texi (Initializing configure): Adjust.
3666 2002-01-30 Akim Demaille <akim@epita.fr>
3668 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
3669 alphanumeric to `-' instead of `_'.
3671 2002-01-30 Akim Demaille <akim@epita.fr>
3673 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
3674 for plain code, the other for cross-compilation code. The latter
3675 is now run with GCC only.
3676 * doc/autoconf.texi (Compilers and Preprocessors): New.
3678 2002-01-30 Akim Demaille <akim@epita.fr>
3680 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
3682 * doc/autoconf.texi (Initializing configure): Explain how to
3683 change AC_INIT default values.
3685 2002-01-29 Akim Demaille <akim@epita.fr>
3687 * tests/torture.at (Configuring subdirectories): Use configure.in,
3688 so that aclocal 1.4 works.
3689 Reported by Alexandre Duret-Lutz and Larry Schmitt.
3691 2002-01-28 Akim Demaille <akim@epita.fr>
3693 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
3696 2002-01-28 Akim Demaille <akim@epita.fr>
3698 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
3699 AUTOTEST_PATH *after* it was set.
3700 Don't put `.' in the PATH: the user should be precise and `./' if
3701 needed. In addition, given that the test suite does some `cd', if
3702 `.' is in the path, the `tested programs' sections will report
3703 programs found in the test suite's directory, while during the
3704 tests (performed in their own directory), these programs are no
3705 longer visible. In other words, the results is confusing and
3707 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
3709 2002-01-24 Akim Demaille <akim@epita.fr>
3713 2002-01-24 Akim Demaille <akim@epita.fr>
3715 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
3716 * doc/autoconf.texi: Finally add Akim as an author.
3718 2002-01-24 Akim Demaille <akim@epita.fr>
3720 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
3721 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
3722 Bourne. Use /bin/sh.
3723 From Andreas Buening.
3725 2002-01-24 Akim Demaille <akim@epita.fr>
3727 * config/config.guess, config/config.sub, config/texinfo.tex:
3728 Update from masters.
3730 2002-01-24 Akim Demaille <akim@epita.fr>
3732 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
3733 * config/auxdir.m4, config/cond.m4, config/depend.m4,
3734 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
3735 * config/missing.m4, config/sanity.m4, config/select.m4,
3736 * config/strip.m4: Remove, to ease sync'ing with any version of
3739 2002-01-24 Akim Demaille <akim@epita.fr>
3741 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
3742 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
3743 Reported by Geir Ove Myhr.
3745 2002-01-21 Akim Demaille <akim@epita.fr>
3747 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
3749 2002-01-21 Akim Demaille <akim@epita.fr>
3751 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
3752 message on invalid options.
3753 * bin/autom4te.in (parse_args): Don't use
3754 Autoconf::General::getopt with non valid options.
3756 2002-01-17 Jim Meyering <meyering@lucent.com>
3758 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
3759 $ac_cv_exeext so we don't use an old, invalid, cached value.
3761 2002-01-11 Akim Demaille <akim@epita.fr>
3763 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
3765 * doc/autoconf.texi (Function Portability): Document the strnlen
3767 (Particular Functions): Document AC_FUNC_STRNLEN.
3768 * lib/autoscan/functions: Adjust.
3770 2002-01-06 Akim Demaille <akim@epita.fr>
3772 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
3773 package.m4, since is really depends upon configure.ac, not
3775 * doc/autoconf.texi (testsuite Scripts): Adjust.
3776 * tests/Makefile.am (package.m4): New.
3777 EXTRA_DIST it since its a source.
3779 2002-01-06 Akim Demaille <akim@epita.fr>
3781 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
3782 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
3783 and PACKAGE_BUGREPORT from here...
3784 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
3786 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
3787 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
3788 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
3789 * tests/tools.at (autoheader): Adjust.
3790 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
3792 2002-01-06 Akim Demaille <akim@epita.fr>
3794 * bin/autoscan.in (scan_file): Use `&used'.
3796 2002-01-03 Akim Demaille <akim@epita.fr>
3798 * doc/autoconf.texi (Output): Improved wording regarding use of
3802 2001-12-18 Kevin Ryde <user42@zip.com.au>
3804 * doc/autoconf.texi (Function Portability): Add notes on sscanf
3805 sometimes needing writable input.
3807 2001-12-17 Jim Meyering <meyering@lucent.com>
3809 * doc/autoconf.texi (New Macros): Tweak wording.
3811 2001-12-14 Akim Demaille <akim@epita.fr>
3813 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
3814 trailing files, don't apply `-rf' to files which might not be
3815 created by configure (core, core.*, and *.core), but just `rm -f'.
3816 Suggested by Jonathan Kamens.
3818 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
3820 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
3822 2001-12-14 Akim Demaille <akim@epita.fr>
3824 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
3826 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
3828 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
3829 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
3830 abs_srcdir, top_srcpath to abs_top_srcdir.
3831 (_AC_OUTPUT_FILES): Adjust.
3832 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
3833 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
3834 * tests/wrappl.in, tests/wrapsh.in: Adjust.
3836 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
3838 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
3839 C/Fortran linking on HP/UX, by extracting the Fortran library
3840 search path from the LPATH line in the $F77 -v output.
3842 2001-12-12 Kevin Ryde <user42@zip.com.au>
3844 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
3845 forbidden file descriptors table.
3847 2001-11-26 Akim Demaille <akim@epita.fr>
3849 * bin/autoscan.in (%c_keywords): Build it at top level.
3850 Map to 1 in order to simplify its uses.
3852 2001-11-26 Akim Demaille <akim@epita.fr>
3854 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
3855 Remove $filepath, useless.
3856 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
3857 variables, they are really part of the tokens.
3858 Split the input line on spaces and then look for tokens.
3859 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
3860 because of `lex$U.$(OBJEXT)'.
3861 (&scan_files): Use "@list" instead of join.
3862 * doc/Makefile.am (CLEANFILES): Add *.fns.
3864 2001-11-26 Akim Demaille <akim@epita.fr>
3866 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
3867 Remove, replaced by...
3868 * tests/wrappl.in: Be common for all the Perl executables.
3869 In particular autoscan and autoheader want -I.
3870 * configure.ac: Adjust.
3871 * lib/autoscan/headers: errno.h is portable.
3873 2001-11-26 Akim Demaille <akim@epita.fr>
3875 * bin/autoscan.in (used): New.
3878 2001-11-26 Akim Demaille <akim@epita.fr>
3880 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
3882 (&scan_sh_file): Remove a duplicate pattern.
3883 (&check_configure_ac): Use long options.
3884 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
3886 2001-11-26 Akim Demaille <akim@epita.fr>
3888 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
3889 Before, having a line containing the opening of a multi line
3890 comment made the whole line be ignored.
3892 2001-11-26 Akim Demaille <akim@epita.fr>
3894 * doc/autoconf.texi (Using an Autotest Test Suite): New.
3895 (testsuite Scripts): Be one of its subsection.
3896 (Autotest Logs): New.
3898 2001-11-26 Akim Demaille <akim@epita.fr>
3900 Test groups are now run two directories deeper.
3902 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
3903 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
3905 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
3906 top_srcdir, builddir and top_builddir.
3907 Use `at_*dir' relatively to the directory containing the
3908 suite, use `*dir' when relatively to the current group dir.
3910 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
3912 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
3913 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
3914 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
3917 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
3919 * doc/autoconf.texi (Using System Type): Add an example of `case
3920 $host' usage so people quit using `case $target' everywhere.
3922 2001-11-22 Akim Demaille <akim@epita.fr>
3924 * doc/autoconf.texi (Installation Directory Variables): Englishoes
3925 spotted by Jim Meyering.
3927 2001-11-16 Paul Eggert <eggert@twinsun.com>
3929 This patch implements a `long double' suggestion by Oliver Kiddle.
3931 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
3932 static, to catch errors if the value isn't known at compile-time
3933 and the compiler supports dynamic arrays. Change its name from
3934 `_array_' to `test_array' to avoid potential name clashes.
3935 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
3936 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
3937 better than double. Catch a bug in GCC 2.95.2 x86.
3938 * doc/autoconf.texi (C Compiler): Document the above.
3941 2001-11-13 Akim Demaille <akim@epita.fr>
3943 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
3945 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
3947 2001-11-13 Akim Demaille <akim@epita.fr>
3949 * lib/autotest/general.m4 (AT_INIT): After having run the test
3950 group, go back to the initial directory, not to at_suite_dir.
3952 2001-11-13 Akim Demaille <akim@epita.fr>
3954 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
3955 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
3956 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
3958 (AT_CHECK_CONFIGURE): Use absolute paths.
3959 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
3960 The problem is still the old one: there is no means in M4 (that I
3961 know about) to create a defining macro, because there is no means
3962 to create `$1' etc., therefore, the defining macro ``swallows''
3963 all the arguments meant to the defined macro.
3965 2001-11-13 Akim Demaille <akim@epita.fr>
3967 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
3968 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
3970 * tests/aclocal.m4: Remove, as it is no longer used.
3972 2001-11-13 Akim Demaille <akim@epita.fr>
3974 * lib/autotest/general.m4: Change `tests?' into `groups?' in
3975 variable names when referring to a single test group, or to
3976 `suite' when referring to the whole test suite.
3977 `at_last_test' is removed: m4 compute at_format itself.
3978 (at_stdout, at_stder1, at_stderr): New variables.
3979 (AT_CHECK): Use them.
3981 2001-11-13 Akim Demaille <akim@epita.fr>
3983 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
3985 Create `testsuite.dir/003/run' instead of `testsuite.003'.
3986 Do it as soon as a test fails, don't wait till the end of the test
3988 Don't remove $as_me.[0-9]*, since these files no longer exist.
3990 2001-11-13 Akim Demaille <akim@epita.fr>
3992 * tests/tools.at: Use absolute paths, since we are no longer run
3995 2001-11-13 Akim Demaille <akim@epita.fr>
3997 Now that tests are running in their own private dir, there is no
3998 need to list the files to remove at the end of tests groups.
4000 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
4001 (AT_data_files, at_data_files): Remove.
4002 (AT_CLEANUP, AT_DATA): Simplify.
4004 Remove the group dir if !debug && !failed.
4005 * tests/atspecific.m4: Adjust.
4007 2001-11-13 Akim Demaille <akim@epita.fr>
4009 Start a new layout for Autotest: `testsuite' creates
4010 `testsuite.dir' in which the at-check-line etc. files are to be
4011 found, and `testsuite.dir/003' where the test group 3 is run.
4013 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
4014 at_check_line_file, at_format, at_test_normalized, at_group_dir
4016 Create the directories.
4017 Use absolute paths for at- files.
4020 2001-11-11 Michael Matz <matz@kde.org>
4022 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
4024 (m4_car): Properly quote arguments.
4026 2001-11-13 Akim Demaille <akim@epita.fr>
4028 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
4029 with stricter rules on LIBOBJS.
4031 2001-11-12 Paul Eggert <eggert@twinsun.com>
4033 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
4034 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
4037 2001-11-12 Akim Demaille <akim@epita.fr>
4039 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
4041 2001-11-12 Akim Demaille <akim@epita.fr>
4043 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
4044 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
4045 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
4046 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
4047 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
4048 specify to what the macro should be defined (typically to 1).
4050 2001-11-12 Akim Demaille <akim@epita.fr>
4052 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
4055 2001-11-12 Akim Demaille <akim@epita.fr>
4057 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
4058 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
4059 definition used by Automake where LEX is +/- "${missing} lex" and
4060 `missing' itself contains variables.
4062 2001-11-12 Akim Demaille <akim@epita.fr>
4064 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
4065 Now that M4sh pushes BODY, the comments were output at the end of
4068 2001-11-08 Akim Demaille <akim@epita.fr>
4070 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
4071 that we can trace macros from aclocal.m4.
4072 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
4073 obsoleted, and redirect to the former anyway.
4074 Reported by Ralf Corsepius.
4076 2001-11-08 Akim Demaille <akim@epita.fr>
4078 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
4079 processed only if present.
4080 * tests/torture.at (Configuring subdirectories): Use autoreconf
4081 instead of successive calls to autoconf.
4082 Add a nonexistent subdirectory to exercise the patch above.
4083 Reported by Ralf Corsepius.
4085 2001-11-08 Kevin Ryde <user42@zip.com.au>
4087 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
4088 doesn't accept .S files.
4090 2001-11-07 Akim Demaille <akim@epita.fr>
4092 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
4093 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
4094 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
4095 * bin/autom4te.in (warn_forbidden): New.
4096 (handle_output): Use it.
4097 Read m4_pattern_forbid with messages.
4099 2001-11-05 Akim Demaille <akim@epita.fr>
4101 * bin/autom4te.in (--normalize): Remove.
4102 * lib/autom4te.in: Adjust.
4104 2001-11-05 Akim Demaille <akim@epita.fr>
4106 * tests/Makefile.am (testsuite): Rename this target as...
4107 ($(TESTSUITE)): this.
4110 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
4112 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
4113 the --prefix option, also remove it's argument.
4115 2001-11-05 Akim Demaille <akim@epita.fr>
4117 * doc/autoconf.texi (testsuite Invocation): Update.
4118 (Writing testsuite.at): Update.
4120 2001-11-03 Akim Demaille <akim@epita.fr>
4122 * doc/autoconf.texi: s/@code/@command/ where appropriate.
4124 2001-11-03 Akim Demaille <akim@epita.fr>
4126 * lib/Autom4te/General.pm: (&catfile, &canonfile)
4127 (&file_name_is_absolute): New, wrappers around routines from
4129 Use and export them.
4130 (&find_configure_ac): Optionally take a directory where to look at.
4131 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
4133 Default @ARGV to `.', not find_configure_ac.
4134 (&autoreconf): Argument is a directory.
4135 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
4136 * doc/autoconf.texi (autoreconf Invocation): Update.
4138 2001-11-03 Akim Demaille <akim@epita.fr>
4140 * lib/Autom4te/General.pm (@export_vars, @export_subs)
4141 (@export_forward_subs): New.
4142 Add basename, dirname, and fileparse.
4144 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
4145 Don't look for aclocal flags if we already know aclocal is not
4147 Move aclocal.m4t only if it exists.
4148 Reported by Ezra Peisach.
4150 2001-11-03 Akim Demaille <akim@epita.fr>
4152 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
4153 passed on command line, defaulting to ./configure.ac if present.
4154 (&maybe_autoreconf, File::Find): Remove, unused.
4155 (&autoreconf): If autoconf is not used, don't try to trace.
4157 2001-11-02 Akim Demaille <akim@epita.fr>
4159 * configure.ac: Bump to 2.52g.
4161 2001-11-02 Akim Demaille <akim@epita.fr>
4165 2001-11-02 Akim Demaille <akim@epita.fr>
4167 * config/config.guess, config/config.sub, doc/standards.texi:
4168 * config/lispdir.m4: Update from masters.
4169 * configure.ac: Bump to 2.52f.
4171 2001-11-02 Akim Demaille <akim@epita.fr>
4173 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
4174 Don't run aclocal when aclocal.m4 is not from aclocal.
4176 Don't run libtoolize and gettextize if --install is not given.
4178 2001-11-01 Paul Eggert <eggert@twinsun.com>
4180 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
4181 be invoked before _AS_LINENO_PREPARE.
4182 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
4183 than character ranges.
4185 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
4186 invoking AS_BASENAME. Set the locale variables to 'C' if
4187 possible, as POSIX requires this to get the traditional
4189 * doc/autoconf.texi (Special Shell Variables): Describe the above.
4191 2001-10-31 Paul Eggert <eggert@twinsun.com>
4193 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
4194 with {}, as that triggers a bug in Bash 2.05.
4196 (_AS_LINENO_PREPARE): Use Sed rather than
4197 Awk. Fix the sed prepass to work even if there are multiple
4198 instances of $LINENO on the same line. Do not substitute for
4199 other variables like $LINENOT. Do not check file dates; such a
4200 check is unreliable on sufficiently fast machines, and removing
4201 the check makes the code simpler and more reliable. Check for
4202 output and chmod failures.
4204 * doc/autoconf.texi (Special Shell Variables): Document
4207 2001-10-31 Akim Demaille <akim@epita.fr>
4209 * tests/Makefile.am (atconfig): Remove this target, Automake
4212 2001-10-31 Akim Demaille <akim@epita.fr>
4214 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
4215 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
4216 provided, while it is optional.
4217 * configure.ac: Adjust.
4219 2001-10-26 Paul Eggert <eggert@twinsun.com>
4221 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
4222 lib/Autom4te/Struct.pm:
4223 Require Perl 5.005_03 instead of just 5.005, as some tests fail
4226 * doc/autoconf.texi (Special Shell Variables): Document some
4227 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
4229 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
4230 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
4231 eval $LINENO is not portable in practice.
4233 2001-10-24 Akim Demaille <akim@epita.fr>
4235 * lib/Autom4te/General.pm (backname): New.
4237 2001-10-24 Akim Demaille <akim@epita.fr>
4239 * m4/: Remove, merged into...
4242 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
4244 * doc/autoconf.texi (Shellology): Mention the problems with bash
4245 2.05's use of ANSI quoting in its `set' builtin.
4247 2001-10-22 Paul Eggert <eggert@twinsun.com>
4249 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
4250 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
4251 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
4252 POSIX decided to standardize on the int flavor of strerror_r.
4253 Always do char* test, as there's no reason not to.
4254 Assign to a char* var, to catch strerror_r that returns int*.
4256 * doc/autoconf.texi (Particular Functions):
4257 Document the above changes. Also, document the fact that
4258 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
4260 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
4262 2001-10-20 Akim Demaille <akim@epita.fr>
4264 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
4265 the executable was missing from the log.
4267 2001-10-20 Akim Demaille <akim@epita.fr>
4269 * lib/Autom4te/General.pm (&update_file): If destination is
4270 unchanged, remove the source.
4271 (&up_to_date_p): Don't be verbose, be debug.
4272 * bin/autoreconf.in: No longer support --m4dir.
4273 (&autoreconf): Display the full path of the configure.ac we are
4276 Be sure to honor --force with gettextize.
4278 * doc/autoconf.texi: Adjust.
4280 2001-10-20 Akim Demaille <akim@epita.fr>
4282 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
4284 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
4285 `intl' is already present, as it refuses unless --force.
4286 (&parse_args): Use -I, --include instead of the old Autoconf
4288 ($localdir, $autoconf_dir): Remove.
4290 (&maybe_autoreconf): New, to preserve $_ for File::Find.
4292 2001-10-19 Jens Petersen <petersen@redhat.com>
4294 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
4295 * doc/autoconf.texi (Particular Programs): Likewise.
4297 2001-10-19 Akim Demaille <akim@epita.fr>
4299 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
4300 file in @configure_input@.
4301 Don't mention `automatically' in addition to `generated'.
4302 * tests/torture.at (#define header templates): Adjust.
4304 2001-10-19 Akim Demaille <akim@epita.fr>
4306 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
4307 comment, explain how to install automatic mode selection.
4310 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
4312 * bin/autoreconf.in (autoreconf): Display the path to the
4313 configure.ac being studied.
4315 2001-10-18 Paul Eggert <eggert@twinsun.com>
4317 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
4318 long, to work around a bug in the HP C compiler version HP92453-01
4321 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
4322 (AS_BASENAME_EXPR): New macro.
4323 (AS_BASENAME_SED): Do not assume GNU sed semantics.
4324 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
4325 and fall back on 'sed' only if the other two fail. This makes
4326 AS_BASENAME act more like AS_DIRNAME.
4327 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
4328 contains white space.
4329 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
4330 Use AS_DIRNAME, since I think it's now DOS-friendly.
4331 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
4332 Allow "dirname //FOO" to return either / or //, as POSIX allows
4335 2001-10-10 Akim Demaille <akim@epita.fr>
4337 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
4338 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
4341 2001-10-10 Akim Demaille <akim@epita.fr>
4343 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
4345 (_AS_ECHO_N): AS_REQUIREs it.
4347 2001-10-10 Akim Demaille <akim@epita.fr>
4349 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
4350 (AC_INCLUDES_DEFAULT): Move to...
4351 * lib/autoconf/headers.m4: here.
4352 * lib/autoconf/types.m4: Comment changes.
4353 * doc/autoconf.texi: Specify where the default includes are used
4354 in the macro prototypes.
4356 2001-10-09 Akim Demaille <akim@epita.fr>
4358 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
4361 2001-10-08 Akim Demaille <akim@epita.fr>
4363 * bin/autoreconf.in (&autoreconf): Remove debugging code.
4364 (&parse_args): Pass verbosity/debugging options to subtools when
4365 --debug, not when --verbose.
4366 * lib/autom4te.in (Autoreconf-preselections): New.
4369 2001-10-08 Akim Demaille <akim@epita.fr>
4371 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
4373 2001-10-08 Akim Demaille <akim@epita.fr>
4375 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4376 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
4378 2001-10-08 Akim Demaille <akim@epita.fr>
4380 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
4381 (Syntax of the shell scripts): Don't.
4382 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
4383 bother with $force since...
4384 * lib/Autom4te/General.pm: does.
4386 2001-10-08 Akim Demaille <akim@epita.fr>
4388 * bin/autoreconf.in: Rewrite in Perl.
4389 * configure.ac: Adjust.
4390 * lib/Autom4te/General.pm (&up_to_date_p): New.
4391 * bin/autom4te.in (&up_to_date_p): Use it.
4393 (&up_to_date): this.
4395 2001-10-08 Akim Demaille <akim@epita.fr>
4397 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
4398 (m4_list_cmp): Use $0 to reinvoke yourself.
4399 (m4_patsubsts): New.
4400 (m4_strip, m4_version_unletter): Use it.
4401 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
4403 2001-10-08 Akim Demaille <akim@epita.fr>
4405 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
4406 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
4407 * lib/autoconf/types.m4, lib/autotest/general.m4,
4408 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
4409 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
4410 m4_bregexp, m4_bpatsubst, and m4_bmatch.
4411 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
4413 2001-10-08 Akim Demaille <akim@epita.fr>
4415 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
4417 2001-10-08 Akim Demaille <akim@epita.fr>
4419 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
4420 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
4421 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
4422 * tests/tools.at, tests/m4sh.at: Use it.
4423 * tests/m4sh.at: Don't rely on Autoconf macros.
4424 (DIRNAME_TEST): Also exercise the expr variant.
4425 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
4426 preferred M4sugar extension is now `.4s'.
4427 * tests/README: Remove.
4429 2001-10-08 Akim Demaille <akim@epita.fr>
4431 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
4432 (m4_provide_if): this.
4433 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
4434 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
4435 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
4436 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
4438 2001-10-08 Akim Demaille <akim@epita.fr>
4440 Use `add-log-current-defun-function' for ChangeLog creation.
4441 Suggested by Tom Tromey.
4443 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
4444 (autotest-mode): Adjust.
4445 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
4446 'comment-region onto `C-c ;'.
4447 Comments are `#', not `dnl'.
4448 (autoconf-current-defun): New.
4449 (autoconf-font-lock-keywords): Recognize `m4_defun'.
4451 2001-10-08 Akim Demaille <akim@epita.fr>
4453 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
4454 * lib/m4sugar/m4sh.m4: here.
4455 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
4456 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
4457 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
4458 include handle the m4_pattern_*, no longer push the
4459 BODY diversion nor set the /bin/sh line, AS_INIT does it.
4460 * lib/autotest/general.m4 (AT_INIT): Likewise.
4461 * tests/base.at: Adjust the tests to use AS_INIT.
4462 * tests/tools.at (AT_DATA_FORBIDDEN): New.
4463 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
4466 2001-10-07 Paul Eggert <eggert@twinsun.com>
4468 * doc/autoconf.texi (config.status Invocation):
4469 CONFIG_SHELL defaults to a shell that supports LINENO if available.
4471 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
4472 shell does not support LINENO, and if CONFIG_SHELL is unset or
4473 empty, and if we can find a shell that does support LINENO,
4474 then set CONFIG_SHELL to that shell and then re-execute
4475 ourselves with CONFIG_SHELL.
4477 2001-10-05 Paul Eggert <eggert@twinsun.com>
4479 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
4480 doesn't exist. Remove *.tmp, as a .tmp file is created during the
4481 build of $(TESTSUITE).
4483 2001-10-05 Akim Demaille <akim@epita.fr>
4485 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
4486 iff we are a bareword.
4487 Reported by Raja R Harinath.
4489 2001-10-05 Akim Demaille <akim@epita.fr>
4491 * tests/m4sh.at (LINENO): New.
4492 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
4493 PATH_SEPARATOR before using it.
4494 Fix the absolute path case/esac pattern.
4495 Provide $0 as fallback for as_myself.
4496 Reported by Raja R Harinath.
4498 2001-10-05 Akim Demaille <akim@epita.fr>
4500 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
4501 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
4503 2001-10-05 Akim Demaille <akim@epita.fr>
4505 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
4506 (AS_SHELL_SANITIZE): here. Use it.
4507 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
4510 2001-10-04 Akim Demaille <akim@epita.fr>
4512 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
4513 combination of Awk and sed to replace $LINENO.
4515 2001-10-02 Paul Eggert <eggert@twinsun.com>
4517 * doc/autoconf.texi (Limitations of Builtins): You can't use
4518 "source"; it's not portable. Remove confusing and
4519 somewhat-incorrect example involving "." and "/".
4521 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
4522 compatibility with POSIX shells.
4524 2001-10-02 Akim Demaille <akim@epita.fr>
4526 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
4527 instead of exec'ing to preserve $0 and $@.
4529 2001-10-01 Akim Demaille <akim@epita.fr>
4531 * tests/testsuite (AT_INIT) <at_pass_list>: New.
4532 Don't run twice the same test.
4534 2001-10-01 Akim Demaille <akim@epita.fr>
4536 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
4537 No longer output the list of tests.
4538 <--list>: New option.
4539 <--full-help>: Remove.
4540 Complete the short/long options duality.
4541 Various small adjustments.
4543 2001-10-01 Akim Demaille <akim@epita.fr>
4545 * doc/autoconf.texi: Use @kbd for user input.
4546 Always use `$' as shell prompt.
4548 2001-09-30 Paul Eggert <eggert@twinsun.com>
4550 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
4551 Don't use nested parenthesization. This patch was originally
4552 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
4553 but somehow it didn't get incorporated then.
4554 * doc/autoconf.texi (Limitations of Usual Tools):
4555 Clarify remark about sed and nested parenthesization.
4557 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
4558 Report an error if the size cannot be determined even though
4560 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4561 Check for `expr' arithmetic overflow, and for compilation failure,
4562 and invoke a new argument $4 if either is discovered.
4563 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
4564 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
4566 2001-09-28 Akim Demaille <akim@epita.fr>
4568 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
4569 * m4/lispdir.m4: New.
4570 * aclocal.m4, configure.ac: Adjust.
4572 2001-09-28 Akim Demaille <akim@epita.fr>
4574 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
4576 (AT_INIT): More the wrapped section to where it will be expanded.
4577 Output `AT_tested' only when existing.
4578 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
4580 2001-09-27 Akim Demaille <akim@epita.fr>
4582 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
4583 generates too many bug reports.
4585 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
4586 status when executing the ACTION-IF-FALSE.
4587 * tests/base.at (AC_TRY_*): Rename as...
4588 (AC_TRY_COMMAND): this.
4589 (AC_RUN_IFELSE): New.
4590 * tests/compile.at (Extensions, C keywords)
4591 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
4592 (Broken/missing compilers, AC_PROG_CPP with warnings)
4593 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
4594 * tests/c.at (Extensions, C keywords)
4595 (Broken/missing compilers, AC_PROG_CPP with warnings)
4596 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
4597 (AC_PROG_CPP requires AC_PROG_CC): here and...
4598 * tests/fortran.at (GNU Fortran 77): there.
4599 * doc/autoconf.texi (autoconf Invocation): Fix the example:
4600 AC_TRY_RUN is about compilation, not shell commands.
4601 (Test Programs): AC_TRY_RUN works as used to be advertised.
4603 2001-09-27 Akim Demaille <akim@epita.fr>
4605 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
4607 Be sure to detect when $LINENO always returns the same value.
4608 Look for the original script, basename($0) is certainly not
4610 Pass the CLI arguments to `$as_me.lineno'.
4612 2001-09-25 Akim Demaille <akim@epita.fr>
4614 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
4615 Be sure the close and reopen the LOG fd before and after using tee
4617 <at_tests_pattern>: Adjust to the new format of at_help_all.
4619 2001-09-23 Akim Demaille <akim@epita.fr>
4621 * bin/autom4te.in (parse_args): There can be several invocations
4624 2001-09-23 Akim Demaille <akim@epita.fr>
4626 * doc/autoconf.texi (Top): Wrap in @ifnottex.
4628 2001-09-23 Akim Demaille <akim@epita.fr>
4630 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
4631 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
4632 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
4633 builddir, buildpath, top_builddir, and top_buildpath.
4634 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
4635 the current directory.
4636 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
4637 variables *before* changing the current directory.
4638 Skip nonexistent dirs.
4639 * doc/autoconf.texi (Preset Output Variables): Document these
4642 * lib/autotest/general.m4: Do not reset AT_victims.
4643 Don't compute at_srcdir nor at_top_srcdir.
4645 * tests/tools.at: Hence use top_srcdir.
4647 * tests/Makefile.am, tests/autoconf, tests/autoheader,
4648 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
4650 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
4651 * tests/wrapsh.in, tests/autoupdate.in: New.
4652 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
4653 * configure.ac: Build the position independent wrappers.
4655 * man/Makefile.am: Now that test wrappers are position
4656 independent, use them and drop dark envvar magic.
4658 2001-09-23 Akim Demaille <akim@epita.fr>
4660 * doc/autoconf.texi (Common Shell Constructs): Rename as...
4661 (Programming in M4sh): this.
4662 Promote to @section.
4664 2001-09-23 Akim Demaille <akim@epita.fr>
4666 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
4667 Pass $at_debug_args to the rerun test suite.
4668 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
4669 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
4672 2001-09-23 Akim Demaille <akim@epita.fr>
4674 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
4676 2001-09-23 Akim Demaille <akim@epita.fr>
4678 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
4681 2001-09-23 Akim Demaille <akim@epita.fr>
4683 * lib/Autom4te/General.pm (&debug): New.
4684 * bin/autom4te.in ($language): Move to...
4686 Handle --language in languages.
4687 * lib/autom4te.in (Automake-selections, Autoheader-selections)
4688 (Autoscan-selections): New.
4691 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
4693 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
4694 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
4695 to match current versions from CVS Automake.
4697 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
4699 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
4702 2001-09-22 Akim Demaille <akim@epita.fr>
4704 * lib/autoconf/autotest.m4: Create `package.m4'.
4705 * tests/Makefile.am (package.m4): Remove.
4707 2001-09-22 Akim Demaille <akim@epita.fr>
4709 Rely on `$LINENO' when possible instead of `__oline__'.
4711 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
4712 `$LINENO' support replacement when not supported.
4713 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
4714 them explicitly to be sure they are not output before this section
4715 (via m4_require). Cosmetic only.
4716 * lib/autoconf/c.m4, lib/autoconf/general.m4,
4717 * lib/autoconf/programs.m4: Replace all the occurrences of
4718 `__oline__' with `$LINENO'.
4719 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
4721 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
4723 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
4724 character (u: -> ue) in a code comment.
4725 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
4728 2001-09-21 Akim Demaille <akim@epita.fr>
4730 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
4731 Suggested by Jim Meyering.
4733 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4735 * lib/autoconf/programs.m4: Use extensions listed in
4736 $ac_executable_extensions when looking for programs.
4738 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4740 * lib/autoconf/general.m4: Fix a small Englisho.
4741 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
4742 setting up ac_dir_suffix and ac_top_builddir.
4743 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
4745 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4747 * doc/autoconf.texi (File System Conventions): Clarify the use of
4749 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
4750 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
4751 be used instead of ':'.
4752 * lib/autotest/general.m4: Replace occurrences of ':' in
4753 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
4755 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4757 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
4758 arguments. Fixed a typo.
4760 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4762 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
4763 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
4765 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4767 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
4768 * bin/autoupdate.in: Ditto.
4769 * bin/autoheader.in: Reworded a few comments.
4770 * bin/autoconf.in: Reworded help text for a few options.
4771 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4772 * bin/autoscan.in, bin/autoupdate.in: Ditto.
4774 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4776 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
4777 already have $file). Set output files to binary mode (helps avoid
4778 CR issues on DOSish systems).
4780 2001-09-19 Akim Demaille <akim@epita.fr>
4782 * lib/autotest/general.m4: Englishoes.
4783 From Tim Van Holder and Alexey Mahotkin.
4785 2001-09-18 Paul Eggert <eggert@twinsun.com>
4787 * doc/autoconf.texi (Common Shell Constructs): New node,
4788 documenting AS_DIRNAME.
4789 (Limitations of Usual Tools): Refer to it when discussing dirname.
4790 Also, update discussion of POSIX standard to reflect latest draft.
4792 * lib/autoconf/c.m4:
4793 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
4795 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4796 Do not pass a first argument with leading '-'
4797 to expr, by parenthesizing initial integers that might be negative.
4799 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
4800 now merely checks whether it is an error to pass an argument
4803 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
4804 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
4805 whether it is a (compile-time) error to pass an argument to
4806 getpgrp. This simpler test supports the revised documentation,
4807 and is all that AC_FUNC_GETPGRP's users really need.
4809 2001-09-18 Akim Demaille <akim@epita.fr>
4811 * doc/autoconf.texi (Limitations of Make) <$<>: New.
4813 2001-09-18 Akim Demaille <akim@epita.fr>
4815 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
4817 * lib/autotest/general.m4 (AT_INIT): Adjust.
4819 2001-09-18 Paul Wagland <paul@wagland.net>
4821 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
4823 Add test for AS_BASENAME.
4824 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
4825 added test. It now correctly handles /1/2/3/, returning '3' not ''.
4826 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
4827 * tests/base.at: Fixed the expected responses. The old ones were
4829 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
4830 the documentation claims it should (and how it behaved in 2.13).
4832 2001-09-18 Akim Demaille <akim@epita.fr>
4834 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
4835 the AC_CONFIG_COMMANDS invocation.
4836 This also solves the name clash problems.
4837 Don't set the package's ID.
4838 * lib/m4sugar/Makefile.am (version.m4): Revamp.
4839 No longer to be shipped.
4840 (version.in): Remove.
4841 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
4842 * lib/autoconf/status.m4: Adjust.
4843 Use `m4_PACKAGE_STRING'.
4844 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
4845 the only optional argument is the name of the test suite.
4846 Expect `package.m4' to define the package signature.
4847 * lib/autom4te.in (Autotest): Add `package.m4?'.
4848 * tests/Makefile.am (package.m4): New.
4849 * tests/suite.at: ifnames is a victim.
4851 2001-09-18 Akim Demaille <akim@epita.fr>
4853 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
4854 AC_LIBSOURCE, AC_CONFIG_FILES.
4855 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
4856 program version string doesn't match the package's.
4857 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
4860 2001-09-17 Paul Eggert <eggert@twinsun.com>
4862 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4863 Allow expression to return any value that can fit into unsigned long
4864 (not int, as before). Check for output errors.
4866 2001-09-17 Bruno Haible <haible@ilog.fr>
4868 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4869 Always include <stdio.h> and <stdlib.h>. Evaluate
4870 the expression in an extra function before these includes. Call
4871 fprintf "%d" only after ensuring the argument is of type 'int'.
4872 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
4874 2001-09-17 Paul Eggert <eggert@twinsun.com>
4876 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
4877 or CFLAGS=-O5. In that case, the linker has a relaxed view of
4878 fatal errors, and AC_CHECK_LIB causes it to include libraries even
4879 when they don't exist.
4881 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
4882 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
4885 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
4886 version with the version used by fileutils 4.1, except use
4887 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
4890 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
4892 2001-09-13 Akim Demaille <akim@epita.fr>
4894 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
4896 Reported by Gerrit P. Haase.
4898 2001-09-13 Akim Demaille <akim@epita.fr>
4900 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
4901 m4_defn'ing is valid.
4903 2001-09-13 Akim Demaille <akim@epita.fr>
4905 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
4906 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
4909 2001-09-13 Akim Demaille <akim@epita.fr>
4911 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
4913 (m4_re_escape): New.
4914 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
4915 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
4916 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
4918 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
4919 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
4920 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
4921 AT_tests_all for consistency.
4923 (AT_VICTIMS): Similar to AT_KEYWORDS.
4924 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
4926 2001-09-13 Akim Demaille <akim@epita.fr>
4928 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
4930 2001-09-13 Akim Demaille <akim@epita.fr>
4932 * lib/autotest/general.m4 (AT_INIT): Create and remove
4933 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
4934 test suites can cohabit.
4936 2001-09-13 Akim Demaille <akim@epita.fr>
4938 * tests/mktests.sh: Don't output banners for empty test files.
4940 2001-09-13 Akim Demaille <akim@epita.fr>
4942 Test suites can be run independently of configure.
4944 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
4945 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
4946 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
4948 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
4950 * lib/autotest/general.m4: Use ECHO_*.
4952 2001-09-13 Akim Demaille <akim@epita.fr>
4954 * bin/ifnames.in: Rewrite in Perl.
4955 * configure.ac: Don't look for AWK.
4956 * tests/tools.at (AWK portability): Remove.
4957 (Syntax of the shell scripts): Don't check ifnames.
4958 (AT_CHECK_PERL_SYNTAX): New.
4959 (Syntax of the Perl scripts): Check ifnames.
4960 * tests/ifnames: New.
4962 2001-09-13 Akim Demaille <akim@epita.fr>
4964 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
4966 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
4967 Remove all the other keywords.
4969 2001-09-10 Akim Demaille <akim@epita.fr>
4971 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
4972 SETUP: no longer used.
4973 Support -k, --keywords.
4974 <at_help>: Be `no', `short', or `long'.
4975 <at_help_all>: New variable.
4977 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
4978 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
4979 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
4980 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
4981 No longer fill the HELP diversion.
4982 (AT_CLEANUP): Use them.
4983 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
4984 (m4_list_append): Remove.
4986 Spread a few keywords in the Autoconf test suite.
4988 2001-09-10 Akim Demaille <akim@epita.fr>
4990 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
4991 PATH_SEPARATOR, let M4sh compute it.
4992 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
4993 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
4995 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
4996 Simplify when the path is not a literal.
4997 (AS_UNAME): Use it to report PATH.
4998 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
4999 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
5000 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
5001 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
5002 normalize the path, and to look for victims.
5003 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
5004 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
5006 2001-09-07 Akim Demaille <akim@epita.fr>
5008 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
5009 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
5010 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
5011 related variables into `at_package_*'.
5012 * lib/autotest/general.m4 (AT_VICTIMS): New.
5013 (AT_INIT): Adjust for stand-alone/embedded test suites.
5014 (AS_MESSAGE_LOG_FD): Define and use it.
5015 * tests/suite.at (AT_VICTIMS): Use it.
5016 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
5019 2001-09-07 Akim Demaille <akim@epita.fr>
5021 Move toward possibly stand-alone test suites.
5023 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
5024 in addition, it introduces useless differences in logs.
5025 (AT_INIT): Let atconfig and atlocal be both optional.
5026 Adjust PATH computation.
5027 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
5029 2001-09-07 Akim Demaille <akim@epita.fr>
5031 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
5034 2001-09-05 Akim Demaille <akim@epita.fr>
5036 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
5037 to avoid GCC warnings.
5040 2001-09-05 Akim Demaille <akim@epita.fr>
5042 * bin/autom4te.in: --language is -l, not -s.
5044 2001-09-05 Akim Demaille <akim@epita.fr>
5046 Be ready to handle filenames as stupid as `dnl.at', for if even
5047 the maintainer is dumb enough to do that...
5049 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
5050 excellence in M4 quotation: consider `__file__' is active.
5052 And BTW, when invoking m4, pass the --include in the right order:
5055 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
5058 2001-09-05 Akim Demaille <akim@epita.fr>
5060 * lib/Autom4te/XFile.pm: New lib file.
5061 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
5062 * bin/autoheader.in: Use it.
5064 2001-09-05 Akim Demaille <akim@epita.fr>
5066 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
5069 2001-09-05 Akim Demaille <akim@epita.fr>
5071 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
5072 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
5074 * bin/autoscan.in: Use `getopt' and `find_files' etc.
5075 Add -I, --include support.
5076 * doc/autoconf.texi (autoscan Invocation): Adjust.
5078 2001-09-05 Akim Demaille <akim@epita.fr>
5080 CVS GNU M4 doesn't like `undefine(undefined)'.
5082 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
5083 New, extracted from main.
5084 Use IO::File wherever possible.
5085 (input.m4): Be constant, use -I instead of hard coding $tmp.
5086 Therefore be a quoted heredoc.
5087 Don't invoke `_au_disable', since ac was not loaded, but just
5090 2001-08-31 Akim Demaille <akim@epita.fr>
5094 2001-08-31 Akim Demaille <akim@epita.fr>
5096 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
5098 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
5100 2001-08-31 Akim Demaille <akim@epita.fr>
5102 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
5103 serious problems handling heredocs in heredocs.
5104 Reported by Nicolas Joly.
5106 2001-08-31 Akim Demaille <akim@epita.fr>
5108 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
5109 (Making testsuite Scripts): Update.
5111 2001-08-31 Akim Demaille <akim@epita.fr>
5113 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
5115 2001-08-31 Akim Demaille <akim@epita.fr>
5117 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
5118 (testsuite Scripts): There is no such thing as `atconfig.in'.
5119 And actually one diagram is missing: test suite runtime.
5121 2001-08-31 Akim Demaille <akim@epita.fr>
5123 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
5126 2001-08-31 Akim Demaille <akim@epita.fr>
5128 * bin/autoupdate.in (@include): `installcheck' revealed the path
5129 to m4sugar was lacking!
5131 2001-08-31 Akim Demaille <akim@epita.fr>
5133 * man/Makefile.am (.x.1): We really have to pass
5134 autom4te_perllibdir.
5136 2001-08-31 Akim Demaille <akim@epita.fr>
5138 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
5139 debug scripts, in particular passing explicitly listed tests to
5142 2001-08-31 Akim Demaille <akim@epita.fr>
5144 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
5145 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
5146 Use directly autom4te, not autoconf.
5147 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
5149 2001-08-31 Akim Demaille <akim@epita.fr>
5151 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
5152 * bin/autoheader.in (%symbol): Strip arguments of macros.
5154 2001-08-31 Akim Demaille <akim@epita.fr>
5156 * doc/autoconf.texi: Catch up -I, --include changes.
5158 2001-08-31 Akim Demaille <akim@epita.fr>
5160 * bin/autom4te.in (&parse_args): Die on unknown languages.
5161 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
5163 Promote --include over --macrodir and other obsolete options.
5165 2001-08-31 Akim Demaille <akim@epita.fr>
5167 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
5168 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
5169 * bin/autom4te.in ($autoconf): Pass --force.
5170 `print $out' doesn't print `$_' but `$out'.
5171 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
5172 (autoheader): Pass --force since the test suite goes too fast for
5174 Adjust to the new autoheader messages.
5176 2001-08-31 Akim Demaille <akim@epita.fr>
5178 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
5179 Check the completeness of the #template.
5180 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
5181 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
5184 2001-08-31 Akim Demaille <akim@epita.fr>
5186 * lib/Autom4te/General.pm (&find_file, &update_file): New.
5187 * bin/autoupdate.in, bin/autoheader.in: Adjust.
5188 Drop AC_MACRODIR dead for real.
5189 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
5190 `autoheader: `config.hin' is created'.
5191 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
5193 2001-08-31 Akim Demaille <akim@epita.fr>
5195 * bin/autoheader.in: Rewrite in Perl.
5196 * tests/autoheader: Adjust.
5198 2001-08-31 Akim Demaille <akim@epita.fr>
5200 * bin/autoconf.in (--include, -I): New option.
5201 Map --localdir, --autoconf-dir onto it.
5202 Forward autom4te's options instead of interpreting them.
5203 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
5204 There is no such envvar since the inception of autom4te.cfg.
5205 * bin/autom4te.in (&parse_args): Uniquify `@include'.
5206 * bin/autoupdate.in: Adjust, and perform more control.
5207 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
5208 * tests/autoconf: Dittowise.
5210 2001-08-31 Akim Demaille <akim@epita.fr>
5212 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
5213 * bin/autom4te.in (&find_file): Support `FILE?' standing for
5215 Use -e, not -f, since /dev/null for instance is OK.
5216 (&parse_args): Adjust.
5217 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
5219 2001-08-31 Akim Demaille <akim@epita.fr>
5221 * configure.ac: Also find tested executables in bin.
5222 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
5223 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
5224 installed peer executables, only PATH is allowed to resolve it.
5225 Pass `autoconf_dir' via options, not via invisible envvars.
5226 * lib/Autom4te/General.pm (&find_peer): Remove.
5227 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
5228 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
5229 * man/Makefile.am: Let help2man rely on PATH instead of trying to
5230 find the executables for it.
5231 * tests/Makefile.am: Major cleanup. Too lazy to document...
5232 * tests/atlocal.in: Remove all the obscure envvar manipulations.
5234 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
5235 indeed related to running the test suite, while passing
5236 --autoconf-dir and others is related to running non installed
5237 Autoconf executables. So don't do that, leave it to...
5238 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
5239 * tests/autoscan: New.
5240 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
5241 refer to library files: rely on --language.
5243 2001-08-29 Akim Demaille <akim@epita.fr>
5245 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
5246 s/--set/--language/.
5248 2001-08-29 Akim Demaille <akim@epita.fr>
5250 * doc/autoconf.texi: Strip the @nodes.
5251 Suggested by Paul Eggert.
5252 (Initializing configure): Typo.
5254 2001-08-29 Akim Demaille <akim@epita.fr>
5256 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
5257 Suggested by Paul Eggert.
5259 2001-08-29 Akim Demaille <akim@epita.fr>
5261 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
5262 download in a tmp dir.
5264 2001-08-29 Akim Demaille <akim@epita.fr>
5266 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
5267 case insensitive OSes out there :(
5268 From Tim Van Holder.
5270 2001-08-29 Akim Demaille <akim@epita.fr>
5272 * lib/autom4te.in: New.
5273 * lib/Makefile.am (edit, autom4te.cfg): New.
5274 * bin/autom4te.in (BEGIN): Simplify.
5275 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
5276 (&load_configuration): New. Use it.
5277 (&parse_args): Support --mode, --set, and --melt.
5278 * bin/autoconf.in: Simplify and adjust.
5279 * tests/Makefile.am (AUTOMAKE): Use --set.
5280 * tests/atlocal.in: Adjust.
5281 * BUGS: distcheck and check are weak.
5283 2001-08-29 Akim Demaille <akim@epita.fr>
5285 * lib/autotest/general.m4: Use
5286 foo=`(command) 2>/dev/null`
5288 foo=`command` 2>/dev/null
5289 (at-devnull): Rename as...
5291 (--clean): Remove AT-* files too.
5292 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
5293 Reported by Nicolas Joly.
5295 2001-08-28 Akim Demaille <akim@epita.fr>
5297 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
5298 quotes inside single quotes.
5299 Reported by Nicolas Joly.
5301 2001-08-28 Kevin Ryde <user42@zip.com.au>
5303 * doc/autoconf.texi (Function Portability): Mention C right shifts.
5305 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
5307 * lib/autotest/general.m4: Reword some messages.
5308 (AT_INIT): Check for the `times' builtin before using it.
5309 Support test ranges as arguments to the testsuite.
5310 Have -e imply -d as the help text suggested.
5312 2001-08-27 Akim Demaille <akim@epita.fr>
5314 * Makefile.maint: Formatting changes.
5315 (do-po-update, po-update, cvs-update, update): New targets.
5318 2001-08-27 Akim Demaille <akim@epita.fr>
5320 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
5322 Pass it to debug-*.sh scripts.
5323 <AUTOTEST_PATH>: May contain absolute dir names.
5325 2001-08-27 Akim Demaille <akim@epita.fr>
5327 * lib/autotest/general.m4 (AT_INIT): Log the command line.
5328 Support `VAR=VAL' as arguments.
5329 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
5330 may be set via the command line.
5332 2001-08-27 Akim Demaille <akim@epita.fr>
5334 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
5335 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
5336 first the build dirs, then the src dirs.
5337 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
5339 2001-08-27 Akim Demaille <akim@epita.fr>
5341 * lib/autotest/general.m4 (AT_INIT): Output the definition of
5342 at_data_files earlier.
5343 (--clean, -c): New option.
5344 * tests/Makefile.am: Use this option.
5346 2001-08-27 Akim Demaille <akim@epita.fr>
5348 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
5349 `ac_top_builddir' to mimic Automake's vocabulary, which much more
5352 * doc/autoconf.texi (Configuration Actions): Document the vars
5353 available in commands.
5354 Emphasize the risks of collisions in init-cmds.
5356 2001-08-27 Akim Demaille <akim@epita.fr>
5358 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
5359 (Initializing configure): this new node.
5361 2001-08-27 Akim Demaille <akim@epita.fr>
5363 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
5365 2001-08-27 Akim Demaille <akim@epita.fr>
5367 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
5368 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
5370 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
5372 2001-08-27 Akim Demaille <akim@epita.fr>
5374 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
5376 * lib/autoconf/autoheader.m4: this new file.
5377 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
5378 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
5380 * lib/autoconf/autoupdate.m4: this new file.
5382 2001-08-27 Akim Demaille <akim@epita.fr>
5384 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
5385 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
5386 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
5388 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
5389 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
5391 2001-08-27 Akim Demaille <akim@epita.fr>
5393 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
5394 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
5395 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
5396 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
5397 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
5398 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
5399 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
5400 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
5401 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
5402 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
5403 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
5404 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
5405 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
5406 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
5407 (_AC_OUTPUT_SUBDIRS): Move to...
5408 * lib/autoconf/status.m4: this new file.
5409 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
5410 * tests/Makefile.am, tests/suite.at: Adjust.
5412 2001-08-27 Akim Demaille <akim@epita.fr>
5416 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
5417 (AMTAR): Help automake define it.
5418 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
5419 needed, 1.5 can have a macro and a target with the same name.
5420 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
5422 * m4/init.m4, m4/sanity.m4: Update.
5423 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
5424 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
5425 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
5426 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
5428 2001-08-27 Akim Demaille <akim@epita.fr>
5430 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
5432 * lib/autoconf/version.in: Remove.
5433 * lib/m4sugar/version.in: New.
5434 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
5436 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
5437 the name of the directory they're in, instead of the filename,
5438 since version.m4 is now in m4sugar, but m4_acversion must not be
5439 classified as an Autoconf macro.
5440 ($input_m4): Don't qualify the path to m4sugar.
5441 Rather, pass autoconf_dir to m4.
5442 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
5443 * tests/suite.at: Require 2.52c.
5445 2001-08-27 Akim Demaille <akim@epita.fr>
5447 testsuite.log should include config.log.
5449 * lib/autotest/autotest.m4: New.
5450 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
5451 * tests/suite.at : Adjust.
5452 (AT_INIT): Log config.log.
5453 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
5454 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
5455 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
5456 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
5457 of config.log on traps.
5458 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
5459 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
5461 Open the log as soon as possible.
5462 Use the same log introduction as configure's.
5464 2001-08-22 Paul Eggert <eggert@twinsun.com>
5466 * doc/autoconf.texi (Indices): New node.
5467 Move indices out of the top level menu and into this submenu.
5469 2001-08-22 Akim Demaille <akim@epita.fr>
5471 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5473 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
5475 2001-08-22 Akim Demaille <akim@epita.fr>
5477 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
5478 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
5479 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
5480 * lib/autoconf/programs.m4: here.
5481 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
5482 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
5483 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
5484 * lib/autoconf/programs.m4: here.
5485 (_AC_DECL_YYTEXT): Rename as...
5486 (_AC_PROG_LEX_YYTEXT_DECL): this.
5487 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
5488 * tests/Makefile.am, tests/suite.am: Adjust.
5490 2001-08-22 Akim Demaille <akim@epita.fr>
5492 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
5494 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
5496 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
5497 * lib/autoconf/functions.m4: here.
5498 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
5499 (AH_CHECK_LIB): Move to...
5500 * lib/autoconf/libs: this new file.
5501 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
5502 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
5503 * lib/autoconf/libs.m4: here.
5504 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
5506 2001-08-22 Akim Demaille <akim@epita.fr>
5508 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
5509 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
5510 (AC_SITE_LOAD): Better logging of config.site.
5512 2001-08-20 Akim Demaille <akim@epita.fr>
5514 * configure.ac (AT_CONFIG): Fix the path.
5515 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
5518 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
5520 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
5521 program with AC_LANG_PROGRAM before feeding it to
5522 AC_COMPILE_IFELSE. Cleanup grep usage.
5524 2001-08-20 Akim Demaille <akim@epita.fr>
5526 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
5527 * NEWS, README, README-alpha, TODO, tests/README: This package is
5528 `Autoconf', not `autoconf' (the executable).
5530 2001-08-20 Akim Demaille <akim@epita.fr>
5532 Info readers seem to need `Index' in the index node title :(
5534 * doc/autoconf.texi: Reverse the 2001-08-15 change which
5535 simplified index node names.
5537 2001-08-20 Akim Demaille <akim@epita.fr>
5539 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
5540 arguments are not literals.
5541 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
5542 Specify the output variables, and macros defined.
5544 2001-08-20 Akim Demaille <akim@epita.fr>
5546 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
5547 (Examining Syntax) <AC_TRY_COMPILE>
5548 (Examining Libraries) <AC_TRY_LINK>
5549 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
5551 Reported by Werner Lemberg.
5553 2001-08-20 Akim Demaille <akim@epita.fr>
5555 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
5556 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
5557 Load atlocal late enough to dump it in the log.
5558 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
5560 2001-08-20 Akim Demaille <akim@epita.fr>
5562 * tests/torture.at (Configuring subdirectories): New test.
5563 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
5565 * m4/atconfig.m4: Be sure the let $[0] be expandable.
5566 (top_srcdir): Fix its computation.
5568 2001-08-20 Akim Demaille <akim@epita.fr>
5570 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
5571 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
5573 Create `atconfig' automagically.
5574 Configure atlocal.in if present.
5575 * tests/atconfig.in: Remove.
5576 * tests/atlocal.in: New.
5577 * tests/Makefile.am: Adjust.
5579 2001-08-20 Akim Demaille <akim@epita.fr>
5581 Huh!?!?! There are still some user EOF tags used, which prevents
5582 their use in AC_CONFIG_COMMANDS for instance...
5584 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
5585 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
5586 `_CSEOF', or `_ATEOF', as appropriate.
5587 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
5588 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
5590 2001-08-20 Akim Demaille <akim@epita.fr>
5592 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
5593 * tests/semantics.at, tests/tools.at, tests/torture.at:
5594 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
5596 2001-08-20 Akim Demaille <akim@epita.fr>
5598 Autotest invokes M4sh's initialization.
5600 * lib/autotest/general.m4: Adjust the diversion names.
5601 (AT_INIT): Run AS_INIT.
5602 Use the BINSH diversion to invoke /bin/sh.
5603 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
5604 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
5606 2001-08-20 Akim Demaille <akim@epita.fr>
5608 Let M4sh have its own diversions.
5610 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
5611 (_m4_divert(NOTICE)): Rename as...
5612 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
5613 (_m4_divert(HEADER-COMMENT)): these.
5614 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
5615 (_m4_divert(NOTICE)): New, for Libtool.
5616 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
5617 long ago with `_m4_divert(GROW)'.
5618 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
5620 2001-08-20 Akim Demaille <akim@epita.fr>
5622 * tests/base.at, tests/compile.at, tests/foreign.at,
5623 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5624 * tests/semantics.at, tests/suite.at, tests/tools.at,
5625 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
5627 2001-08-20 Akim Demaille <akim@epita.fr>
5629 * bin/autom4te.in (handle_output): Handle @__@.
5631 2001-08-20 Akim Demaille <akim@epita.fr>
5633 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
5634 * lib/autotest/general.m4: Adjust the license.
5636 2001-08-17 Paul Eggert <eggert@twinsun.com>
5638 * doc/autoconf.texi (Function Portability): Mention snprintf,
5639 following up on a suggestion by Kevin Ryde.
5641 2001-08-17 Akim Demaille <akim@epita.fr>
5643 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
5644 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
5646 2001-08-17 Akim Demaille <akim@epita.fr>
5648 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
5649 `$0.log' as for projects where testsuite is in src, we'd have
5650 testsuite.log created in src.
5652 2001-08-17 Akim Demaille <akim@epita.fr>
5654 * bin/autom4te.in (&parse_args): Recognize --normalize.
5656 2001-08-17 Akim Demaille <akim@epita.fr>
5658 Start implementing the AC_CHECK_HEADER transition scheme.
5660 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
5661 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
5662 (AC_CHECK_HEADER): Use them.
5664 2001-08-17 Akim Demaille <akim@epita.fr>
5666 * doc/autoconf.texi: Work around Texinfo buglets.
5667 (Transformation Rules): One example is enough, users are expected
5668 to have their brains on. And BTW, use DESTDIR.
5669 (dvar): New macro. Use it.
5671 2001-08-17 Akim Demaille <akim@epita.fr>
5673 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
5674 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
5675 looking for ChangeLogs.
5677 2001-08-17 Akim Demaille <akim@epita.fr>
5679 * bin/autom4te.in: --normalize is a new option.
5680 * bin/autoconf.in: Use it.
5682 2001-08-17 Akim Demaille <akim@epita.fr>
5684 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
5685 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
5687 2001-08-16 Paul Eggert <eggert@twinsun.com>
5689 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
5692 2001-08-15 Akim Demaille <akim@epita.fr>
5694 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
5697 2001-08-15 Akim Demaille <akim@epita.fr>
5699 * doc/autoconf.texi (pr): New index.
5700 (prindex, findex): Use, merge, and output them.
5701 (Environment Variable Index, Output Variable Index)
5702 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
5703 (Autotest Macro Index): Rename as...
5704 (Environment Variables, Output Variables,Preprocessor Symbols)
5705 (Autoconf Macros, M4 Macros, Autotest Macros): these.
5706 * doc/install.texi: Use @command.
5707 (Environment Variables): Rename as...
5708 (Defining Variables): this.
5710 2001-08-15 Akim Demaille <akim@epita.fr>
5712 * doc/autoconf.texi (Function Portability): sprintf's return
5716 2001-08-15 Akim Demaille <akim@epita.fr>
5718 * Makefile.maint (CVS): New.
5719 (local-check): Run changelog-check. last.
5720 (alpha): Don't depend upon local-check, since...
5721 (cvs-dist): depends upon it.
5723 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
5725 * tests/Makefile.am: Use a clean-local rule to remove
5726 autom4te.cache (it's a directory, not a file.
5727 * Makefile.am: Ditto (but maintainer-clean-local).
5729 2001-08-15 Akim Demaille <akim@epita.fr>
5731 * bin/autom4te.in (@m4_warning): New.
5732 (&handle_m4): Use it.
5733 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
5734 warnings are issued at each run.
5735 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
5738 2001-08-15 Akim Demaille <akim@epita.fr>
5740 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
5741 don't waste time running `autoupdate --version' works.
5742 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
5744 2001-08-13 Akim Demaille <akim@epita.fr>
5746 * doc/autoconf.texi (ma): Rename this index as...
5749 2001-08-13 Akim Demaille <akim@epita.fr>
5751 * Makefile.am: Remove dead code and dead comments.
5752 (pdf, html): New targets.
5753 * doc/autoconf.texi (Using Autotest): New chapter.
5754 * doc/Makefile.am (pdf): New targets.
5755 (CLEANFILES): Adjust.
5757 2001-08-13 Akim Demaille <akim@epita.fr>
5759 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
5760 duration of the test suite.
5762 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
5764 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
5765 endianness for comparison instead of relying on AT_CHECK_ENV.
5767 2001-08-11 Paul Eggert <eggert@twinsun.com>
5769 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
5770 to the INSTALL file.
5772 2001-08-11 Paul Eggert <eggert@twinsun.com>
5774 * NEWS: The autoconf manual now is distributed under the terms
5775 of the GNU Free Documentation License.
5777 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
5778 Add an appendix "Copying This Manual" for the FDL.
5780 * doc/fdl.texi: New file, from
5781 <http://www.gnu.org/licenses/fdl.texi>.
5783 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
5785 2001-08-10 Paul Eggert <eggert@twinsun.com>
5787 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
5788 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
5789 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
5790 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
5791 m4/sanity.m4, tests/README, tests/aclocal.m4,
5792 tests/atspecific.m4, tests/base.at, tests/compile.at,
5793 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
5794 tests/semantics.at, tests/suite.at, tests/tools.at,
5795 tests/torture.at: Add copyright notice.
5797 * tests/mktests.sh: Update year in copyright notice.
5799 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
5801 * tests/semantics.at (AC_C_BIGENDIAN): New test.
5803 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
5805 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
5806 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
5807 * doc/autoconf.texi (C Compiler Characteristics): Update
5808 documentation for AC_C_BIGENDIAN.
5810 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
5812 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
5813 magic values from an object file when cross-compiling.
5814 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
5816 2001-08-10 Akim Demaille <akim@epita.fr>
5818 * bin/autom4te.in (&handle_output): Don't use `grep' with side
5820 Suggested by Russ Allbery.
5822 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5824 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
5825 current $prefix to the sub-configures.
5827 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
5829 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
5830 extension (needed on BeOS). Reported by Guido van Rossum.
5832 2001-08-09 Akim Demaille <akim@epita.fr>
5834 * bin/autom4te.in ($icache): Load it only if older than autom4te.
5836 2001-08-07 Akim Demaille <akim@epita.fr>
5838 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
5840 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
5841 No need to remove the files before and after the each test, before
5842 each test and at the end of the suite is enough.
5843 Display only the children `times', not the shell's.
5844 If the test failed or was skipped, at-times is not available.
5846 2001-08-07 Akim Demaille <akim@epita.fr>
5848 Always produce testsuite.log, including when there are no
5849 failures. This helps getting information on skipped tests, and
5850 duration of the tests. Err, implement the latter btw.
5852 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
5853 Dump information on the first run of each test.
5854 (AT_CLEANUP): Create `at-times' containing the duration of the
5857 2001-08-07 Akim Demaille <akim@epita.fr>
5859 The use of `dumpstat' revealed that `len' was used although it
5860 should not. m4_text_wrap was using it, but in the Autoconf world
5861 where it is legal. Hence (i) test M4sh in its own world, not
5862 Autoconf's, and (ii), ahem, fix the bug :)
5864 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
5865 does not like `' instead of [].
5866 (AT_INIT): Forbid `^_?AT_'.
5867 And don't output such tokens.
5868 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
5869 `script.as', and `autom4te.cache'.
5870 Remove `empty' and `macro' which are no longer used.
5871 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
5872 * tests/m4sugar.at: Use it.
5873 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
5875 2001-08-07 Akim Demaille <akim@epita.fr>
5877 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
5879 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
5881 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
5883 2001-08-04 Akim Demaille <akim@epita.fr>
5885 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
5886 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
5888 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
5889 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
5890 (AC_F77_MAIN): Likewise.
5892 2001-08-04 Akim Demaille <akim@epita.fr>
5894 Don't rely on M4sugar outputting the patterns in files, since we
5895 might process the output _without_ running m4, hence without these
5898 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
5899 * bin/autom4te.in (@Request::includes): Remove, unused.
5900 (@Request::source): Rename as...
5901 (@Request::input): this.
5902 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
5903 (&handle_output): Fetch the patterns from the traces.
5904 `$forbidden' and `$allowed' are constant: use m//o.
5905 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
5906 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
5908 2001-08-04 Akim Demaille <akim@epita.fr>
5910 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
5911 autoconf', i.e., in addition to caching traces, cache the output.
5913 * bin/autom4te.in (Request::cache): Rename as...
5914 (Request::id): this.
5915 ($cache, $icache, $tcache, $ocache): New.
5916 (&handle_m4): Save M4 output in the cache instead of $tmp.
5917 (&handle_output): Adjust.
5918 (&up_to_date_p): Check that the output cache is up to date too.
5919 (top level): Run `&handle_m4' iff force or the cache is invalid.
5920 Run `&handle_output' if the output cache is more recent.
5922 2001-08-04 Akim Demaille <akim@epita.fr>
5924 * bin/autom4te.in ($force): New.
5925 (&parse_args, &print_usage): -f, --force is a new option.
5926 (&handle_output): CPP directives might have spaces after `#'.
5927 (&parse_args): The first file only can be frozen.
5929 2001-08-04 Akim Demaille <akim@epita.fr>
5931 Don't let autom4te compute the `include' traces several times:
5932 first check that the trace cache file is up to date, and then
5933 compare its timestamp with that of the output.
5935 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
5936 the preamble. Don't require 5.005 as Autom4te::General does it,
5937 and better yet (use `use', not `require'!).
5938 * lib/Autom4te/Struct.pm: Rename the last occurrences of
5939 Class::Struct as Autom4te::Struct.
5940 * lib/Autom4te/General.pm (File::stat): Use it.
5941 (&mtime): New, export it.
5942 * bin/autom4te.in: Use it.
5943 Declare `$req' is invalid if it is outdated.
5944 Don't declare it valid before saving it if something went wrong.
5946 2001-08-04 Akim Demaille <akim@epita.fr>
5948 Autom4te shall not encode Autoconf data, and preselecting traces
5949 must be proposed to the users.
5951 * bin/autom4te.in (@required_trace): Remove.
5953 (&parse_args, &print_usage): -p, --preselect is a new option.
5954 (&up_to_date_p): Adjust.
5955 * bin/autoconf.in: Preselect some Autoconf macros.
5957 2001-08-04 Akim Demaille <akim@epita.fr>
5959 * tests/tools.at (autoconf --trace: user macros): Check traces on
5960 macros invoked without arguments, and macros invoked with multiple
5963 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
5965 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
5968 2001-08-03 Akim Demaille <akim@epita.fr>
5970 * bin/autoconf.in ($@): Work around the usual sh bug.
5973 2001-08-03 Akim Demaille <akim@epita.fr>
5975 Clean up the handling of the M4 builtins tracing exception.
5977 * bin/autom4te.in (Request::request): Don't complete M4 builtins
5979 (@m4_builtins): Rename as...
5980 (@m4_builtin): this.
5981 (%m4_builtin_alternate_name): New.
5982 (&parse_args): Complete the trace requests with alternate names.
5983 (&handle_traces): Hence no longer do it here.
5984 (&trace_requests): Remove, unused.
5986 2001-08-03 Akim Demaille <akim@epita.fr>
5988 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
5991 2001-08-03 Akim Demaille <akim@epita.fr>
5993 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
5994 (m4_divert_pop): Dump the whole diversion stack when a diversion
5996 * bin/autom4te.in (&handle_output): Remember of the first
5997 occurrence of a possibly undefined macro, not the last.
5998 Complain about the possibly undefined macros in the same order as
5999 the appear in the output.
6000 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
6001 * tests/tools.at (autoconf: forbidden tokens, basic)
6002 (autoconf: forbidden tokens, exceptions): No longer sort
6003 autoconf's stderr, as it is now deterministic.
6004 Check that `dnl' is caught.
6006 2001-08-01 Akim Demaille <akim@epita.fr>
6008 * configure.ac: Bump to 2.52c.
6010 2001-08-01 Akim Demaille <akim@epita.fr>
6014 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
6016 2001-08-01 Akim Demaille <akim@epita.fr>
6020 2001-08-01 Akim Demaille <akim@epita.fr>
6022 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
6025 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
6026 `END', as `Autom4te::General::END' will be triggered.
6027 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
6028 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
6029 system to run `mv', `rm', and `cmp'.
6031 2001-08-01 Akim Demaille <akim@epita.fr>
6033 * lib/Autom4te/General.pm (&unique): New.
6034 * bin/autoscan.in (&output): Use it to issue trace requests once.
6036 2001-08-01 Akim Demaille <akim@epita.fr>
6038 * lib/Autom4te/General.pm: New.
6039 * bin/autom4te.in (Autom4te::General): Use it.
6040 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
6041 (&find_configure_ac, &find_slave): Remove.
6042 * bin/autoscan.in: Likewise.
6043 * bin/autoupdate.in: Likewise.
6045 2001-08-01 Akim Demaille <akim@epita.fr>
6047 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
6048 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
6049 * bin: here, new directory.
6050 * lib/Autoconf: Rename as...
6051 * lib/Autom4te: this, to please case insensitive junkie OSes.
6053 2001-08-01 Akim Demaille <akim@epita.fr>
6055 * autom4te.in ($m4): Handle the --nesting-limit.
6056 * autoconf.in (M4): Remove.
6058 2001-08-01 Akim Demaille <akim@epita.fr>
6060 * autoconf.in ($AWK): Remove, no longer used.
6061 * test/tools.at: Use AT_CHECK_AUTOCONF.
6062 (AWK portability): Remove, for autoconf no longer uses AWK.
6063 (Syntax of the Perl scripts): New.
6064 * configure.ac: autoconf no longer needs an AWK with a good
6066 Use a static test on AC_PACKAGE_VERSION.
6067 * autom4te.in (&up_to_date_p): Output depends on the arguments.
6068 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
6069 * tests/atconfig.in (PERL): New.
6071 2001-08-01 Akim Demaille <akim@epita.fr>
6073 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
6074 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
6075 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
6076 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
6077 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
6078 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
6079 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
6080 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
6081 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
6082 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
6083 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
6084 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
6085 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
6086 * lib/autoconf/c.m4: here, new file.
6088 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
6089 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
6090 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
6091 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
6092 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
6093 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
6094 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
6095 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
6096 (AC_F77_FUNC): Move to...
6097 * lib/autoconf/fortran.m4: here, new file.
6099 2001-08-01 Akim Demaille <akim@epita.fr>
6101 * acfunctions.m4: Rename as...
6102 * lib/autoconf/functions.m4: this.
6103 * acgeneral.m4: Rename as...
6104 * lib/autoconf/general.m4: this.
6105 * acheaders.m4: Rename as...
6106 * lib/autoconf/headers.m4: this.
6107 * aclang.m4: Rename as...
6108 * lib/autoconf/lang.m4: this.
6109 * acoldnames.m4: Rename as...
6110 * lib/autoconf/oldnames.m4: this.
6111 * acspecific.m4: Rename as...
6112 * lib/autoconf/specific.m4: this.
6113 * actypes.m4: Rename as...
6114 * lib/autoconf/types.m4: this.
6115 * autoconf.m4: Rename as...
6116 * lib/autoconf/autoconf.m4: this.
6118 * m4sugar.m4: Rename as...
6119 * lib/m4sugar/m4sugar.m4: this.
6120 * m4sh.m4: Rename as...
6121 * lib/m4sugar/m4sh.m4: this.
6123 * tests/atgeneral.m4: Rename as...
6124 * lib/autotest/general.m4: this.
6126 * acfunctions: Rename as...
6127 * lib/autoscan/functions: this.
6128 * acheaders: Rename as...
6129 * lib/autoscan/headers: this.
6130 * acidentifiers: Rename as...
6131 * lib/autoscan/identifiers: this.
6132 * aclibraries: Rename as...
6133 * lib/autoscan/libraries: this.
6134 * acmakevars: Rename as...
6135 * lib/autoscan/makevars: this.
6136 * acprograms: Rename as...
6137 * lib/autoscan/programs: this.
6139 2001-08-01 Akim Demaille <akim@epita.fr>
6141 * doc/autoconf.texi: Moving/deleting open files is not portable.
6142 Portability issues for `.' (source), and more information about sed.
6144 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
6146 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
6147 which has a special meaning and is not a reference to libibmil.a.
6148 Reported by Matteo Frigo.
6150 2001-07-25 Pavel Roskin <proski@gnu.org>
6152 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
6155 2001-07-25 Akim Demaille <akim@epita.fr>
6157 * autoconf.in: Try to define the variables before using them.
6158 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
6159 instead of `$perllibdir'.
6160 * tests/atconfig.in ($autom4te_perllibdir): Export it.
6162 2001-07-25 Akim Demaille <akim@epita.fr>
6164 * autoconf.in (ac_LF_and_DOT): Remove, unused.
6166 2001-07-24 Akim Demaille <akim@epita.fr>
6168 Let autoconf use autom4te for traces.
6170 * autoconf.in ($task, task trace): Remove, merely pass --trace to
6172 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
6173 (Because I found no way for autom4te to accept `-').
6174 * autom4te.in (&Request::request): Beware of M4 builtins.
6175 (END): Don't try to remove the content of an empty dir.
6176 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
6177 (&handle_output): Set a default value to `$forbidden'.
6178 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
6179 ($autoconf): Pass --debug and --verbose.
6180 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
6183 2001-07-24 Akim Demaille <akim@epita.fr>
6185 Let autoconf use autom4te to create configure.
6187 * autoconf.in ($automate): New var.
6188 (task script): Use autom4te.
6189 * autom4te.in (File::Spec): Use it.
6191 (&parse_args): --warning is -W, not -w.
6192 Find the top level files.
6193 (&handle_m4): Pass the warnings flags.
6194 Don't report verbosely m4's failures, unless requested.
6195 (&handle_output): Don't complain for forbidden tokens in comments.
6196 Be sure to report all the forbidden tokens within a single line.
6197 (&trace_format_to_m4): Preserve `$_'.
6198 (&handle_traces): Sort the output macros.
6199 (&up_to_date_p): Find the files before trying to get its time stamp.
6201 2001-07-24 Akim Demaille <akim@epita.fr>
6203 * Makefile.am: Ship, build and install Autom4te.
6205 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
6206 * configure.in: Require Perl.
6207 * man/autom4te.in: New.
6209 2001-07-19 Paul Eggert <eggert@twinsun.com>
6211 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
6212 example, rather than (exit 1); exit (which isn't portable).
6214 2001-07-18 Akim Demaille <akim@epita.fr>
6218 2001-07-18 Akim Demaille <akim@epita.fr>
6220 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
6221 was run, while they are needed also when it is expanded.
6222 Reported by Nicolas Joly.
6224 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
6225 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
6226 AC_F77_DUMMY_MAIN being expanded.
6228 2001-07-18 Akim Demaille <akim@epita.fr>
6230 * configure.in: Bump to 2.51a.
6232 2001-07-17 Akim Demaille <akim@epita.fr>
6236 2001-07-17 Akim Demaille <akim@epita.fr>
6238 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
6239 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
6241 2001-07-17 Akim Demaille <akim@epita.fr>
6243 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
6244 used. Well, then use the prototypes when you can, and runtime as
6246 Reported by Artur Frysiak
6248 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
6249 (AC_FUNC_GETPGRP): Use it.
6250 First try to compile with 0-ary or 1-ary calls.
6252 2001-07-17 Akim Demaille <akim@epita.fr>
6254 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
6258 2001-07-17 Akim Demaille <akim@epita.fr>
6260 * Makefile.maint: Sync. with cppi 1.10.
6262 2001-07-17 Akim Demaille <akim@epita.fr>
6264 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
6265 AC_F77_DUMMY_MAIN has been run.
6266 From Pavel Roskin and Steven G. Johnson.
6268 2001-07-17 Akim Demaille <akim@epita.fr>
6270 * configure.in: Rename as...
6271 * configure.ac: this.
6273 2001-07-17 Akim Demaille <akim@epita.fr>
6275 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
6278 * Makefile.maint (release-archive-dir): Rename as...
6279 (release_archive_dir): this, so that it can be specialized in
6282 2001-07-14 Akim Demaille <akim@epita.fr>
6284 * configure.in: Bump to 2.50d.
6286 2001-07-14 Akim Demaille <akim@epita.fr>
6289 * Makefile.maint (alpha): Typo.
6291 2001-07-14 Akim Demaille <akim@epita.fr>
6293 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
6295 2001-07-14 Akim Demaille <akim@epita.fr>
6297 * config/config.guess, config/config.sub, config/texinfo.tex
6298 * doc/standards.texi, doc/make-stds.texi: Update.
6300 2001-07-14 Akim Demaille <akim@epita.fr>
6302 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
6304 2001-07-14 Akim Demaille <akim@epita.fr>
6306 * Makefile.maint (maintainer-check): Rename as...
6307 (maintainer-distcheck): this.
6308 (changelog-check, static-check): New.
6311 2001-07-14 Kevin Ryde <user42@zip.com.au>
6313 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
6314 for CXX is g++, not gcc.
6316 2001-07-14 Akim Demaille <akim@epita.fr>
6318 * doc/autoconf.texi (Files): New subsection.
6320 2001-07-14 Akim Demaille <akim@epita.fr>
6322 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
6324 (Generic Compiler Characteristics): this.
6325 (C++ Compiler): New subsection.
6327 2001-07-14 Akim Demaille <akim@epita.fr>
6329 * autoscan.in: Use IO::File.
6330 Adjust all the routines to use it.
6331 ($log): New file (autoscan.log).
6332 (output): Dump detailed logs into $log, and a shortened version to
6334 (&scan_makefile): Refine the regexp catching tokens in the code.
6335 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
6336 and the `configure.ac' checking feature.
6338 2001-07-12 Akim Demaille <akim@epita.fr>
6340 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
6341 Reported by Michael Elizabeth Chastain.
6343 * autoconf.in: Refuse such AWK.
6344 * configure.in: Likewise.
6345 * Makefile.am (acversion.m4): Do not use move-if-change this file
6347 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
6349 2001-07-10 Jens Petersen <petersen@redhat.com>
6351 * autoscan.in (&scan_makefile): Improve programs regexp to parse
6352 things like "g++", "file.c" and "some-conf" as tokens.
6353 (&scan_file): Match C++ files extensions.
6354 If the filename extension is C++ then ask for c++.
6356 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
6358 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
6359 AC_TRY_LINK_FUNC, to check whether defining a dummy
6360 main-like routine is needed for linking with F77 libs.
6362 2001-07-05 Pavel Roskin <proski@gnu.org>
6364 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
6366 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
6369 2001-07-05 Akim Demaille <akim@epita.fr>
6371 * Makefile.am (move_if_change): New. Use it instead of `mv'.
6372 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
6374 Reported by Nicolas Joly.
6376 2001-07-04 Akim Demaille <akim@epita.fr>
6378 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
6380 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
6381 warnings from compilers.
6382 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
6383 for all the compilers, not only GNU. Hence move from here...
6384 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
6386 2001-07-04 Akim Demaille <akim@epita.fr>
6388 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
6389 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
6392 2001-07-04 Akim Demaille <akim@epita.fr>
6394 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
6395 the ``strings.h'' change claimed below.
6397 2001-07-04 Akim Demaille <akim@epita.fr>
6399 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
6401 2001-07-04 Akim Demaille <akim@epita.fr>
6403 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6404 strings.h if usable with string.h.
6405 Suggested by Paul Eggert.
6407 2001-07-04 Akim Demaille <akim@epita.fr>
6409 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
6412 2001-07-03 Akim Demaille <akim@epita.fr>
6414 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
6417 2001-07-03 Akim Demaille <akim@epita.fr>
6419 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
6420 compiler, not the preprocessor.
6421 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
6422 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
6424 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
6425 earlier if there are.
6427 2001-07-03 Akim Demaille <akim@epita.fr>
6429 * autoscan.in ($initfile): Remove.
6430 (&find_file): Rename as...
6432 Immediately scan the current file, instead of gathering them, and
6433 later having them handled by &scan_files.
6434 (&scan_files): Merely invoke Find::File.
6437 2001-07-02 Akim Demaille <akim@epita.fr>
6439 * autoscan.in: Formatting changes, matching the invocation order.
6440 (File::Find): Use it instead of Perl 4's `find.pl'.
6441 (&wanted): Rename as...
6444 2001-07-01 Pavel Roskin <proski@gnu.org>
6446 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
6447 break in the argument to AC_TRY_LINK_FUNC.
6448 (AC_F77_MAIN): Remove conftest* after using break in the
6449 argument to AC_TRY_LINK.
6451 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
6453 Add alternate 'main' routine detection for linking C/C++ with Fortran,
6454 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
6456 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
6457 dummy alternate main is required even if the user provides her own
6459 (AC_F77_MAIN): New macro to detect whether it is possible to
6460 provide an alternate 'main' function name, using the 'main' from
6461 the Fortran libraries.
6462 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
6463 cross-language link tests can be performed successfully.
6464 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
6465 after $LIBS, for consistency; this should be the general rule since
6466 the user may want to link to Fortran libraries that require $FLIBS.
6467 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
6469 2001-06-29 Pavel Roskin <proski@gnu.org>
6471 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
6472 at-stdout and at-stderr instead of removing the newline
6473 from the echo output, which is not guaranteed to work.
6475 2001-06-28 Jens Petersen <petersen@redhat.com>
6477 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
6478 confdefs.h when non-zero.
6480 2001-06-28 Akim Demaille <akim@epita.fr>
6482 * configure.in: Bump to 2.50c.
6484 2001-06-26 Akim Demaille <akim@epita.fr>
6488 2001-06-26 Akim Demaille <akim@epita.fr>
6492 2001-06-25 Pavel Roskin <proski@gnu.org>
6494 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
6495 argument, AUTOCONF-FLAGS.
6496 * tests/mktests.sh (update_exclude_list): Add
6497 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
6498 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
6499 AC_FUNC_WAIT3 with "-W no-obsolete".
6501 2001-06-25 Akim Demaille <akim@epita.fr>
6503 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
6505 2001-06-25 Akim Demaille <akim@epita.fr>
6507 * autoscan.in (%macro): Now maps from word to list of macros.
6508 (&init_tables): Die when a word which is already handled by
6509 explicit macros is mapped to the default macro.
6510 (&print_unique): Remove, inlined in...
6511 (&output_kind): here.
6512 (File::Basename): Use it.
6513 (&output): Sort the CONFIG_FILES.
6514 * acheaders: Normalize.
6515 * acfunctions: Likewise.
6517 2001-06-25 Akim Demaille <akim@epita.fr>
6519 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
6520 characteristics in the logs.
6521 Suggested by Mo DeJong.
6523 2001-06-24 Akim Demaille <akim@epita.fr>
6525 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
6526 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
6527 * doc/autoconf.texi (Autoconf 2.13): New section.
6529 2001-06-24 Akim Demaille <akim@epita.fr>
6531 * autoconf.in (Task traces): Separate the error messages from the
6532 traces to improve robustness.
6534 2001-06-23 Akim Demaille <akim@epita.fr>
6536 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
6537 three as failures are unlikely, and speed matters.
6539 2001-06-23 Akim Demaille <akim@epita.fr>
6541 * doc/autoconf.texi (Redefined M4 Macros): New.
6543 2001-06-23 Akim Demaille <akim@epita.fr>
6545 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
6546 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
6549 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
6551 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
6552 config.status targets to after the evaluation of the INIT-CMDS.
6553 Double quote config.status targets (used to be single quoted).
6555 2001-06-23 Akim Demaille <akim@epita.fr>
6557 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
6558 Check the content of the created file.
6559 Check the ./config.status command line invocation.
6561 2001-06-23 Akim Demaille <akim@epita.fr>
6563 * tests/foreign.at (Libtool): Reject prehistoric versions.
6565 2001-06-23 Akim Demaille <akim@epita.fr>
6567 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
6568 preexisting files matching a.*.
6570 2001-06-23 Akim Demaille <akim@epita.fr>
6572 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
6574 * doc/autoconf.texi (AC_ARG_VAR): Update.
6576 2001-06-21 Akim Demaille <akim@epita.fr>
6578 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
6579 precious variables have changed.
6580 * tests/torture.at (AC_ARG_VAR): Adjust.
6582 2001-06-21 Akim Demaille <akim@epita.fr>
6584 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
6585 but some sed choke on multiple `;', and other tools (e.g.,
6586 Automake), include the separator themselves.
6588 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
6590 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
6592 * doc/autoconf.texi (Functions Portability): Rename as...
6593 (Function Portability): this.
6594 (Function Portability): Document potential problems with unlink().
6596 2001-06-19 Paul Eggert <eggert@twinsun.com>
6598 * NEWS, doc/autoconf.texi: Document quadrigraphs.
6600 2001-06-18 Akim Demaille <akim@epita.fr>
6602 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
6604 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
6606 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
6607 (_AC_FUNC_VFORK): this.
6608 Remove AC_DEFINEs and don't guess cross-compilation values.
6609 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
6610 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
6611 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
6613 Guess values if cross-compiling, but warn.
6614 * acfunctions: Add AC_FUNC_FORK.
6615 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
6616 and vfork appropriately.
6618 2001-06-18 Akim Demaille <akim@epita.fr>
6620 * doc/autoconf.texi (Functions Portability): New section.
6622 2001-06-18 Akim Demaille <akim@epita.fr>
6624 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
6626 Suggested by Andreas Schwab.
6628 2001-06-18 Akim Demaille <akim@epita.fr>
6630 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
6631 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
6632 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
6633 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
6634 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
6635 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
6636 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
6639 2001-06-18 Akim Demaille <akim@epita.fr>
6641 * doc/autoconf.texi (ms): New index.
6642 (Macro Index): Rename as...
6643 (Autoconf Macro Index): this.
6644 (M4 Macro Index): New appendix.
6645 (Programming in M4): New chapter.
6646 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
6647 (Quoting): Rename as...
6648 (M$ Quotation): this.
6649 Be part of `Programming in M4).
6651 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
6653 * tests/torture.at (AC_ARG_VAR): Set variables and export them
6654 in separate statements for compatibility with Tru64 v5.1.
6656 2001-06-17 Akim Demaille <akim@epita.fr>
6658 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
6659 current values of the precious variables, not the previously
6661 Pass precious variables which are set to config.status.
6662 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
6663 * tests/torture.at (AC_ARG_VAR): New.
6665 2001-06-15 Paul Eggert <eggert@twinsun.com>
6667 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
6668 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
6669 and explain why and how to replace them.
6670 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
6671 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6673 2001-06-15 Akim Demaille <akim@epita.fr>
6675 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
6676 Reported by Bruno Haible.
6678 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
6679 (_AC_ARG_VAR_PRECIOUS): to here.
6681 2001-06-15 Pavel Roskin <proski@gnu.org>
6683 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
6684 an unused pointer use cast to this type and `if' statement to
6685 avoid warnings from the compiler.
6686 (AC_HEADER_TIME): Likewise.
6687 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
6688 in `if' statement to avoid warnings from the compiler. Declare
6689 ac_aggr static to avoid the need to initialize it.
6691 2001-06-14 Akim Demaille <akim@epita.fr>
6693 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
6696 2001-06-13 Akim Demaille <akim@epita.fr>
6698 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
6699 Suggested by Alexander Mai.
6701 2001-06-13 Akim Demaille <akim@epita.fr>
6703 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
6704 sys/types.h and sys/stat.h, and check for them.
6706 2001-06-13 Akim Demaille <akim@epita.fr>
6708 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
6711 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6713 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
6714 succeeds and only try adding libdnet upon a failure.
6716 2001-06-12 Akim Demaille <akim@epita.fr>
6718 * autoscan.in (&output_kind): Output the comment only if it exists.
6719 (%kind_comment): Add entry for `programs'.
6720 (&output_programs): Use &output_kind.
6721 (&output_functions, &output_identifiers, &output_headers)
6722 (&output_programs): Inline, and remove.
6724 2001-06-12 Akim Demaille <akim@epita.fr>
6726 * autoscan.in (%kind_comment): New.
6728 (output_functions, output_identifiers, output_headers): Use it.
6730 2001-06-12 Akim Demaille <akim@epita.fr>
6732 * autoscan.in (&print_unique): Take `$kind' and `$word' as
6733 arguments, to factor indirections into `%macro' and `%used'.
6734 (%generic_macro): Fix a typo.
6736 2001-06-12 Akim Demaille <akim@epita.fr>
6739 * autoscan.in (@kinds): Add `libraries'.
6740 Use `@kinds' instead of hard coded lists.
6741 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
6742 Remove, replaced by...
6745 2001-06-12 Akim Demaille <akim@epita.fr>
6747 * autoscan.in (%functions_macros %headers_macros)
6748 (%identifiers_macros %programs_macros %makevars_macros): Remove,
6752 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
6754 * aclang.m4 (AC_NO_EXECUTABLES): Override
6755 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
6757 2001-06-11 Akim Demaille <akim@epita.fr>
6759 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
6761 Reported by Andreas Schwab.
6763 2001-06-11 Akim Demaille <akim@epita.fr>
6765 * Makefile.am, Makefile.maint: Typos.
6767 2001-06-09 Akim Demaille <akim@epita.fr>
6769 * doc/autoconf.texi (Here-Documents): New section, gathering
6770 documentation about here-documents.
6771 Use `href', not `uref', and other changes.
6773 2001-06-09 Akim Demaille <akim@epita.fr>
6775 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
6778 2001-06-09 Akim Demaille <akim@epita.fr>
6780 * doc/autoconf.texi (Limitations of Builtins): Complete the
6781 description of the here-docs penalties with Alexandre Oliva's
6784 2001-06-01 Paul Eggert <eggert@twinsun.com>
6786 * doc/autoconf.texi: Talk about here documents and speedups.
6787 Do not use "echo" on arbitrary strings.
6788 Spell "here-documents" consistently with the standard.
6790 2001-06-09 Akim Demaille <akim@epita.fr>
6792 * doc/autoconf.texi (Concept Index): Introduce it.
6793 Regenerate the menus.
6795 2001-06-09 Akim Demaille <akim@epita.fr>
6797 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
6798 * config/prev-version.txt: New.
6799 * config/move-if-change: New, for GNU libc.
6801 2001-06-06 Pavel Roskin <proski@gnu.org>
6803 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
6805 2001-06-06 Akim Demaille <akim@epita.fr>
6807 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
6808 properly when $1 is not a literal.
6809 Fixes PR Autoconf/187, reported by Bram Moolenaar.
6811 2001-06-06 Akim Demaille <akim@epita.fr>
6813 Invoking AC_COPYRIGHT before AC_INIT fails.
6815 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
6816 * acgeneral.m4 (_m4_divert(VERSION_FSF))
6817 (_m4_divert(VERSION_USER)): New.
6818 (AC_COPYRIGHT): $2 is the diversion to use.
6819 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
6820 (AC_INIT): Remove dead comments as now it's commutative.
6822 2001-06-06 Akim Demaille <akim@epita.fr>
6824 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
6827 2001-06-05 Akim Demaille <akim@epita.fr>
6829 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
6831 `*dir' variables cannot be NONE.
6832 Reported by Mark Kettenis.
6834 2001-06-05 Paul Eggert <eggert@twinsun.com>
6836 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
6838 2001-06-04 Akim Demaille <akim@epita.fr>
6840 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
6841 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
6842 (AC_TR_SH): Move as...
6843 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
6844 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
6846 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
6847 (_AS_TR_SH_PREPARE): New.
6848 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
6849 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
6851 2001-06-02 Akim Demaille <akim@epita.fr>
6853 * Makefile.am (.m4.m4f): Pass the options first.
6854 Fixes PR autoconf/182.
6856 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
6858 GNU getopt, when POSIXLY_CORRECT does not permute options and
6859 arguments. So pass the options first.
6860 Fixes PR autoconf/184.
6862 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
6863 (run_m4): Remove files.
6865 Update remainder of script to use them.
6866 (for warning in): Do not use a literal comma as it will not be
6869 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
6871 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
6872 Fortran compilers to check.
6873 (_AC_PROG_F77_V): Add '-###' as a possible option to print
6874 information on library and object files.
6875 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
6878 2001-06-02 Akim Demaille <akim@epita.fr>
6880 * autom4te.in (Request::@request): Declare with `vars', not `my',
6881 as it prevents updates via `do FILENAME'.
6883 2001-06-02 Akim Demaille <akim@epita.fr>
6885 * configure.in (standards_texi): Remove, dead code.
6887 2001-06-02 Akim Demaille <akim@epita.fr>
6891 2001-06-02 Pavel Roskin <proski@gnu.org>
6893 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
6894 for signals other than 0 - exit with code 1.
6895 * m4sh.m4 (AS_TMPDIR): Likewise.
6896 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
6897 * autoheader.in: Likewise.
6898 * autoreconf.in: Likewise.
6899 * tests/torture.at (Signal handling): New test for the above.
6901 2001-06-01 Akim Demaille <akim@epita.fr>
6903 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
6906 2001-05-31 Akim Demaille <akim@epita.fr>
6908 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
6909 Add copyright and comments.
6910 * acheaders: Add stdint.h.
6911 Suggested by Paul Eggert.
6913 2001-05-31 Akim Demaille <akim@epita.fr>
6915 * atgeneral.m4 (AT_INIT): Use $SHELL.
6916 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
6918 2001-05-31 Akim Demaille <akim@epita.fr>
6920 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6922 From Paul Eggert and Lars Hecking.
6924 2001-05-31 Akim Demaille <akim@epita.fr>
6926 * tests/base.at: Adjust line numbers in error messages.
6928 2001-05-31 Akim Demaille <akim@epita.fr>
6930 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
6931 to emit the bangshe line.
6932 Reported by David Carter.
6934 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
6936 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
6937 Fortran (95) compilers to check.
6939 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
6941 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
6944 2001-05-23 Pavel Roskin <proski@gnu.org>
6946 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
6947 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
6948 (AC_PROG_CXXCPP): Likewise.
6950 2001-05-22 Akim Demaille <akim@epita.fr>
6952 * config: New directory.
6953 * configure.in: AC_CONFIG_AUX_DIR it.
6954 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
6956 2001-05-22 Akim Demaille <akim@epita.fr>
6958 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
6959 * autoupdate.in: Specify the Emacs mode.
6960 * acversion.m4.in: Rename as...
6961 * acversion.m4: this.
6962 * tests/Makefile.am (CLEANFILES): More garbage.
6964 2001-05-22 Akim Demaille <akim@epita.fr>
6966 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
6968 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
6971 2001-05-21 Akim Demaille <akim@epita.fr>
6973 * configure.in: Bump to 2.50a.
6977 Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
6979 This file is part of GNU Autoconf.
6981 GNU Autoconf is free software; you can redistribute it and/or modify
6982 it under the terms of the GNU General Public License as published by
6983 the Free Software Foundation; either version 2, or (at your option)
6986 GNU Autoconf is distributed in the hope that it will be useful,
6987 but WITHOUT ANY WARRANTY; without even the implied warranty of
6988 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6989 GNU General Public License for more details.
6991 You should have received a copy of the GNU General Public License
6992 along with autoconf; see the file COPYING. If not, write to
6993 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
6994 Boston, MA 02111-1307, USA.