* bin/autoconf.as (version): Reword to match GNU Coding
[autoconf.git] / ChangeLog
blob186fe19db8ba1d61d255bb52931ae6b9a455eac0
1 2006-10-16  Eric Blake  <ebb9@byu.net>
3         * bin/autoconf.as (version): Reword to match GNU Coding
4         Standards.
5         * bin/autoheader.in (version): Likewise.
6         * bin/autom4te.in (version): Likewise.
7         * bin/autoreconf.in (version): Likewise.
8         * bin/autoscan.in (version): Likewise.
9         * bin/autoupdate.in (version): Likewise.
10         * bin/ifnames.in (version): Likewise.
12 2006-10-14  Stepan Kasal  <kasal@ucw.cz>
14         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
15         looking for special shell characters.
16         * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
17         macro defined by AS_VAR_PUSHDEF before passing it as a
18         parameter.
19         * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
20         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
21         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
22         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
23         (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
24         Likewise.
25         * lib/autotest/general.m4 (AT_INIT): Quote parameters of
26         AS_VAR_* properly.
27         * tests/m4sh.at (AS_LITERAL_IF): New test.
29 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
31         (Imported from Automake.)
32         * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
33         which incorrectly sets the mode of an existing destination
34         directory.  In some cases the unpatched install-sh could do the
35         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
36         system.  We hope this is rare in practice, but it's clearly worth
37         fixing.  Problem reported by Alex Unleashed in
38         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
39         Also, don't bother to check for -m bugs unless we're using -m;
40         suggested by Stepan Kasal.
42 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
44         Import this change from Automake:
46         2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
47         * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
48         is enabled by default with gnu and gnits strictness.
49         Report from Bruno Haible.
51         2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
52         * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
53         gnu and gnits modes.
55         Import this change from Config:
57         2006-09-20  Ben Elliston  <bje@gnu.org>
58         * build-aux/config.sub (score, score-*): New.
60         Import this change from Gnulib:
62         2006-09-16  Karl Berry  <karl@gnu.org>
63         * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
64         to avoid sectioning errors.
66         Import these changes from Texinfo:
68         2006-10-04  Karl Berry  <karl@gnu.org>
69         * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
70         (\quoteexpand): rename to \rquoteexpand.
71         (\codequoteleft): new def, to look for @set codequotebacktick.
72         (\lquoteexpand, \quoteexpand): new defs.
73         (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
74         (\code): must use new \...Char values, since now ` is active.
76         2006-08-26  Karl Berry  <karl@gnu.org>
77         * build-aux/texinfo.tex (\textdegree): New command.
79         2006-08-12  Karl Berry  <karl@gnu.org>
80         * build-aux/texinfo.tex (error \box0): smaller font.
82 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
84         * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
86 2006-10-13  Stepan Kasal  <kasal@ucw.cz>
88         * doc/autoconf.texi (Autoheader Macros): Warn that the text
89         added to the template can get mangled.
91 2006-10-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
93         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
94         include the default headers, and redefine obstack_chunk_alloc
95         and obstack_chunk_free.  Fixes false failure with glibc.
97 2006-10-12  Paul Eggert  <eggert@cs.ucla.edu>
99         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
100         for backward compatibility with Libtool 1.5.22.  Problem reported
101         by Ralf Wildenhues.
103 2006-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
105         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
106         AC_PROG_CC.
107         Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
109 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
111         * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
112         the NonStop platform.
113         * doc/autoconf.texi (Posix Variants): Likewise.
114         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
116         * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
117         (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
118         (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
119         Use a better substitute, by inspecting the output of "ls"
120         rather than just using ":".
121         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
122         rather than AS_EXECUTABLE_P, since we needn't worry about
123         non-regular files here.
125         * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
126         due to configuration hassles with this.  See Tonya Underwood's report
127         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
128         * doc/autoconf.texi (Special Shell Variables): Likewise.
130 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
131             Stepan Kasal  <kasal@ucw.cz>
133         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
134         (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
136 2006-10-11  Stepan Kasal  <kasal@ucw.cz>
138         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
139           initialization which is not inherited through the environment
140         (_AS_BOURNE_COMPATIBLE): ... to this new macro.
141         (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
143 2006-10-09  Paul Eggert  <eggert@cs.ucla.edu>
145         * doc/autoconf.texi (Limitations of Usual Tools): Describe
146         problems with mkdir -p -m.
148 2006-10-06  Paul Eggert  <eggert@cs.ucla.edu>
150         * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
151         comment about ac_cpp_err; it was incorrect, and anyway
152         ac_cpp_err is being removed below.
153         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
154         set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
155         are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
156         nobody uses it.
157         (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
158         with werror_flag and conftest.err and so forth.  This is more
159         compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
160         and anyway the user shouldn't normally want to see this gorp logged.
161         Problem reported by Ralf Wildenhues.
162         * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
163         empty, not 'no', since the rest of the code uses 'test -z'.
165 2006-10-04  Paul Eggert  <eggert@cs.ucla.edu>
167         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
168         Use a single call to AC_DO_TOKENS rather than multiple, for
169         efficiency.
170         (_AC_LINK_IFELSE): Test that resulting file is executable.
171         Problem reported by mwoehlke in
172         <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
174         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
175         than creating a file to use with test -x; this is much faster.
177 2006-10-02  Bruno Haible  <bruno@clisp.org>
179         * lib/autom4te.in (Automake-preselections): Add
180         AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
182 2006-09-27  Stepan Kasal  <kasal@ucw.cz>
184         * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
185         standard error, `experr' should be used, not `expout'.
187 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
189         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
190         fseeko testing program twice; just use the earlier result.
191         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
192         Set cache var to 'unknown' (not 'no') if leaving the macro unset
193         still doesn't let the program compile.
194         (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
195         failed.
197         * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
198         (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
199         include it, without including anything else.
200         (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
201         expressions.
202         (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
204 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
206         * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
207         `error.h', and include it, for a `error_at_line' prototype.
208         Use a nonempty format string in the link test.
209         * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
210         for a declaration of wait3.
212 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
214         * NEWS: AC_CHECK_DECL now also works with aggregate objects.
215         * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
216         can apply to constants too, and that it checks for macro defns.
217         * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
218         and simply cast the identifier to void.  This handles structure
219         values.  Problem reported by Ralf Wildenhues.
220         * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
222 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
224         * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
225         structure, and function symbols.
227 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
229         * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
230         member.
232 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
234         * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
235         * README: Likewise.
236         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
238 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
239         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
241         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
242         warnings (uninitialized value).
243         (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
244         present.
245         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
246         parentheses.
247         (AC_STRUCT_TM): Likewise, avoid unused variables.
249 2006-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
251         * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
252         (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
253         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
254         * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
255         Report by Olly Betts.
257 2006-09-19  Eric Blake  <ebb9@byu.net>
259         * m4/m4.m4: Change copyright.
260         * configure: Regenerate.
261         * Makefile.in: Likewise.
262         * bin/Makefile.in: Likewise.
263         * doc/Makefile.in: Likewise.
264         * lib/Makefile.in: Likewise.
265         * lib/Autom4te/Makefile.in: Likewise.
266         * lib/autoconf/Makefile.in: Likewise.
267         * lib/autoscan/Makefile.in: Likewise.
268         * lib/autotest/Makefile.in: Likewise.
269         * lib/emacs/Makefile.in: Likewise.
270         * lib/m4sugar/Makefile.in: Likewise.
271         * man/Makefile.in: Likewise.
272         * tests/Makefile.in: Likewise.
274         * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
275         * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
276         * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
277         --error-output, to avoid warnings with M4 2.0.
279 2006-09-19  Stepan Kasal  <kasal@ucw.cz>
281         * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
282           consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
283         * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
285 2006-09-15  Stepan Kasal  <kasal@ucw.cz>
287         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
288         expansion of AC_CHECK_FUNCS.
290 2006-09-14  Stepan Kasal  <kasal@ucw.cz>
292         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
293         mistaken comment: the path has to be relative; do not use
294         the path at runtime.
296 2006-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
298         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
299         argument to `--prefix' for sub-configure scripts.
300         Pass `--silent' to sub-configure scripts.
301         * tests/torture.at (Configuring subdirectories): Add tests
302         for both changes.
303         * doc/autoconf.texi (Setting Output Variables): Fix example to
304         not show `--silent' being passed to a `configure' re-run.
306 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
308         * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
309         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
310         for the existence of the directory at configure-time.  That's
311         too late, anyway.  Problem reported by Stefan Seefeld.
313         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
314         7.1.4 /usr/bin/posix/sh described by Tim Rice in
315         <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
317 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
319         * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
320         works with GNU M4 1.4.3 again; make the normalized form
321         match the current m4 message; fix the description.
322         * test/tools.at (autom4te cache): Adapt to the change.
324 2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
326         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):  Add year_2050_test
327         to catch glibc bug 2821
328         <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
330         Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
331         AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
332         AC_CHECK_FUNCS.  Don't check for stdlib.h, since we now
333         assume C89.
335 2006-09-08  Stepan Kasal  <kasal@ucw.cz>
337         * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
338         preselections ...
339         (Autoconf): ... here.
340         (Autoscan-preselections): Delete.
342 2006-09-07  Stepan Kasal  <kasal@ucw.cz>
344         * lib/autom4te.in (Automake-preselections): Preselect
345         AM_ENABLE_MULTILIB.
347 2006-09-05  Paul Eggert  <eggert@cs.ucla.edu>
349         * doc/autoconf.texi (Preset Output Variables): srcdir and
350         top_srcdir are not necessarily relative.  Problem reported
351         by Dries Kimpe.
353 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
355         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
356         f90/f95 because the latter drivers of AIX Fortran 9.1 do not
357         accept files with extension `.f'.  For consistency, also prefer
358         xlf over f77.
359         * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
360         from last patch.
362 2006-09-05  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
364         * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
365         of ERLANG_LIB_VER_* variables.
366         * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
367         variables.
369 2006-09-03  Paul Eggert  <eggert@cs.ucla.edu>
370         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
372         * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
373         bugs of Bash 2.01 and 2.05a.
374         (Fortran Compiler): Document that AC_PROG_CC should be called
375         before AC_PROG_FC, due to a bug in Autoconf.
377 2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
379         * NEWS: New macro AC_CACHE_CHECK_INT.  It replaces the
380         old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
381         except the first two arguments are reversed.
382         * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
383         (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
384         caches nor outputs a diagnostic.  Suggested by Bruno Haible.
385         * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
386         equivalent to the old AC_COMPUTE_INT.
387         (AC_COMPUTE_INT): No longer caches or reports.  New signature.
388         All uses changed to AC_CACHE_CHECK_INT.
389         * tests/base.at (AC_CACHE_CHECK_INT): New test.
390         * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
392 2006-08-31  Paul Eggert  <eggert@cs.ucla.edu>
394         * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
395         and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
396         programs should use their Gnulib counterparts.
397         * doc/autoconf.texi (Particular Functions): Likewise.
398         (Macro Names, testsuite Invocation): Replace uses of these
399         obsolete macros with uses of non-obsolete macros.
401 2006-08-29  Eric Blake  <ebb9@byu.net>
403         * configure.ac (AC_INIT): Bump to 2.60b.
404         * NEWS: Update.
406 2006-08-28  Eric Blake  <ebb9@byu.net>
408         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
409         mistakenly swapped on 2006-08-15.
411 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
413         * NEWS: Version 2.60a.
415 2006-08-25  Stepan Kasal  <kasal@ucw.cz>
417         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
418         file created by the PGI compiler.
420 2006-08-25  Noah Misch  <noah@cs.caltech.edu>
422         * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
423         simplify the code.
425 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
427         Fix Lex library problem reported to us by Julio Garvia.
428         * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
429         for the default, which the user can override.
430         * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
431         deal with LEXLIB.
432         (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
433         didn't work if some values were cached but not others.  Test for
434         broken lex libraries like native ia64-hp-hpux11.22; see
435         <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
436         work around the problem by preferring an empty LEXLIB to -lfl or
437         -ll.  Let the user set LEXLIB='' to indicate no library needed.
439         * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
440         * README: Likewise.
441         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
443 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
445         Rework to use more-modern build style.
446         Many files are renamed; all uses of their names were changed.
447         * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
448         * .x-sc_useless_cpp_parens: New file.
449         * build-aux/config.guess: Renamed from config/config.guess.  Update.
450         * build-aux/config.sub: Renamed from config/config.sub.  Update.
451         * build-aux/elisp-comp: Renamed from config/elisp-comp.
452         * build-aux/install-sh: Renamed from config/install-sh.  Update.
453         * build-aux/mdate-sh: Renamed from config/mdate-sh.
454         * build-aux/missing: Renamed from config/missing.
455         * build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
456         * build-aux/vc-list-files: Renamed from config/vc-list-files.
457         * config/Makefile.am: Removed.
458         * config/mkinstalldirs: Removed.
459         * config/move-if-change: Removed.
460         * m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
461         * Makefile.am (SUBDIRS): Remove config.
462         (ACLOCAL_AMFLAGS): Include from m4, not config.
463         (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
464         (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
465         (autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
466         Fail if there's an error.
467         * Makefile.cfg (move_if_change): Remove.
468         (wget_files): Remove.
469         (cvs_executable_files): New macro.
470         (cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
471         (executable-update): Use $(cvs_executable_files).
472         (local-checks-to-skip): Remove.
473         * Makefile.maint: Merge from coreutils, plus add our own changes
474         (gzip_rsyncable): New macro.
475         (GZIP_ENV): Use it.
476         (CVS_LIST): Use build-aux/vc-list-files.
477         (VERSION_REGEXP): New macro.
478         (local-checks-available): Add patch-check, $(syntax-check-rules),
479         check-AUTHORS.
480         (syntax-check-rules): Compute dynamically.
481         (sc_cast_of_x_alloc_return_value): Work even if no source files.
482         (sc_cast_of_alloca_return_value): Likewise.
483         (sc_prohibit_atoi_atof): Simplify regexp.
484         (sc_no_if_have_config_h, sc_require_config_h):
485         (sc_prohibit_assert_without_use,
486         (sc_obsolete_symbols): Check for O_NDELAY.
487         (sc_texi_notab): Remove.
488         (sc-changelog): Don't make an exception for '----' lines.
489         (.re-list): Remove, so we don't have a junk file behind.
490         (sc_system_h_headers): Remove the need for .re-list.
491         (sc_the_the):  New rule.
492         (sc_tight_scope): Simplify.
493         (sc_trailing_blank): Renamed from sc_trailing_space.
494         (longopt_re): New macro.
495         (sc_two_space_separator_in_usage): New rule.
496         (sc_unmarked_diagnostics): Look at all files under CVS.
497         (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
498         (news-date-check, changelog-check): Version is OK.
499         (po-check): Look for lib files even if not in CVS.
500         (copyright-check): Use $() not ``.
501         (maintainer-distcheck): Do not depend on changelog-check.
502         (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
503         Also check for -Wpointer-arith.
504         (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
505         (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
506         Remove.
507         (announcement): Add --gpg-key-id arg.
508         (cvs-sv): Remove.
509         (move_if_change): Just use mv.
510         (local_updates: Remove wget-update, po-update.
511         (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
512         (config.guess-url_prefix, config.sub-url_prefix): Remove.
513         (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
514         (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
515         ($(get-targets)): Remove.
516         (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
517         (gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
518         (cvs-update): Get from gnulib.
519         (emut_upload_commands): gnupload is in build-aux now.
520         (alpha beta major): Add changelog-check.  Check version.
521         * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
522         (AC_CONFIG_FILES): Remove.
523         * bin/autoconf.as: Add spaces to avoid distcheck warning.
524         * config/announce-gen: Sync from coreutils.
525         * doc/make-stds.texi: Sync from gnulib.
526         * doc/standards.texi: Likewise.
527         * man/Makefile.am: Adjust for config -> build-aux renaming.
528         * tests/Makefile.am: Prefer $(FOO) to @FOO@.
529         * tests/local.at: Adjust from config -> build-aux renaming.
530         * tests/tools.at: Likewise.
531         * tests/torture.at: Likewise.
533         * NEWS: The C99 check now tests for vararg macros and 64-bit
534         preprocessor ints.
535         * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
536         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
537         64-bit preprocessor ints.  Check for static initialization of
538         long long.  Remove unnecessary casts.
540 2006-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
542         * doc/autoconf.texi (Particular Programs): Mention that
543         @INSTALL@ and @MKDIR_P@ may vary for different output files.
544         Reported by Alexandre Duret-Lutz.
546 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
548         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
549         -lgcc?* and -lSystem, for Darwin/MacOS X.  Problem reported by
550         Bill Northcott in
551         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
553 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
555         * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
556         pacify insanely picky compilers.  Problem reported by Eric Blake.
558         * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
559         longer supported by Sun.
561 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
563         * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
564         rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
565         -Wundef -Werror".  Problem reported by David Fang in
566         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
567         * doc/autoconf.texi (Header Templates, Default Includes):
568         (Particular Functions, Generic Functions, Header Portability):
569         (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
570         (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
571         (Present But Cannot Be Compiled, Preprocessor Symbol Index):
572         Prefer #ifdef to #if.
573         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
574         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
575         (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
576         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
577         Likewise.
578         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
579         (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
580         * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
581         (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
582         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
583         S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
584         this.
586 2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
588         * doc/autoconf.texi (Limitations of Usual Tools): Document sed
589         problems with arg script text that doesn't end in newline, and
590         with '-e a...'.  Problems reported by Ralf Wildenhues.
592 2006-08-12  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
594         * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
595         check for libXt by a check for libX11.
597 2006-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
599         * doc/autoconf.texi (config.status Invocation): Adjust according
600         to last change.
602 2006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
604         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
605         --help' should mention that `--version' outputs configuration
606         settings.  Report by Bruno Haible.
608 2006-08-06  Paul Eggert  <eggert@cs.ucla.edu>
610         Fix test suite failures reported by Pierre in
611         <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
612         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
613         the compiler created a file "b.out" when it didn't create anything
614         at all.
615         * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
616         Discard stderr too, when invoking the test script.
618 2006-08-05  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
620         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
621         in the restoring of the werror flag.
623 2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
625         * doc/autoconf.texi (Volatile Objects): Be even a little
626         less skeptical about "volatile", after discussion with
627         Bruno Haible on bug-gnulib.
628         (Limitations of Usual Tools): Warn about sed stripping
629         leading white space from text.  From Bruno Haible.
631 2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
633         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
634         compiler complains about it, even if things works after the
635         complaint.  Problem reported by Peter O'Gorman.
637         * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
638         CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
639         Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
641 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
643         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
644         after -R regardless of host.  Patrick Welche reports that this
645         fixes things on NetBSD 3.99.
647         * NEWS: Recommend M4 1.4.5.
648         * README: Likewise.
649         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
650         * tests/tools.at (autom4te cache): Update wording of diagnostic
651         to match M4 1.4.5.
653 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
655         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
656         under AC_C_VOLATILE.
657         (Volatile Objects): Be a little less skeptical about what
658         "volatile" means.  Derived from thoughts by Ben Pfaff in
659         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
661 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
663         * doc/autoconf.texi: Fix some typos.
665 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
667         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
668         more globally, since the 2006-06-30 patch didn't suffice.  Problem
669         reported by Keith Marshall.  Also, don't bother with builddir2,
670         since it shouldn't be needed any more.
672 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
674         * doc/autoconf.texi (Generic compiler characteristics):
675         Document AC_COMPUTE_INT.  Fix wrong statements on Default
676         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
678         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
679         (_AC_COMPUTE_INT): Add obsoletion warnings.
680         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
681         AC_COMPUTE_INT.
683         * NEWS: Document change.
685 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
687         * doc/autoconf.texi (Volatile Objects): New section.
689         * NEWS: Document previous change.
691 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
693         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
694         Require that long long int be at least 64 bits wide.  C99 requires
695         this and enough programs depend on it so we should check for it.
696         Bruno Haible reports in
697         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
698         that long long int is 32 bits wide with some nonstandard compilers.
699         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
701 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
703         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
704         to a nonexistent file, so that we don't have to worry about
705         a local site configuration that doesn't use /usr/local.
706         Problem reported by Keith Marshall in
707         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
709 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
711         * doc/autoconf.texi: Be more consistent about using @acronym with
712         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
713         quite right (it talked about "OSF/Tru64", even though the
714         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
715         and it even mentioned "OSF 4"!) and at this point there's little
716         reason to talk about OSF any more, since it died in 1994.
717         (Specific Compiler Characteristics): Simplify example of
718         negative-size array.
719         (File Descriptors): Reorder to make the text flow better.
720         Remove joke about "appreciate the various levels"; I didn't get it.
721         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
722         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
723         (File Descriptors, Limitations of Usual Tools):
724         Tone down the advice against renaming or removing open files.
725         (Limitations of Usual Tools): Add a new section, on 'rm'.
727 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
729         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
730         -lXt in LIBS, idea from Karsten Hopp; this was due since
731         this change:
733         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
734         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
735         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
736         (which belong to Xt, not X itself).  See Debian bug 327655.
738 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
740         * configure.ac (AC_INIT): Bump to 2.60a.
741         * NEWS: Update.
743 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
745         Version 2.60.
747         * configure.ac, NEWS: Update.
749 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
751         * config/texinfo.tex: Sync from upstream.
753         * bin/autom4te.in (handle_traces): Transform the `@S|@'
754         quadrigraph correctly in traces.
756         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
757         Fix typos.
759         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
760         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
761         not defined.
762         * doc/autoconf.texi (Changed Directory Variables): New node,
763         to document the whole `datarootdir' business a bit better.
764         * NEWS: Update.
765         * tests/torture.at (datarootdir workaround): Extend test.
766         Prompted by report by Alexandre Julliard.
768 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
770         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
771         when using default mode of IBM C 6 for AIX.  Problem and two-line
772         fix reported by Larry Jones.
774 2006-06-22  Alexandre Julliard <julliard@winehq.org>
776         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
777         about literal '${datarootdir}' if a definition is found in the
778         output file.
780 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
782         * NEWS: Use "M4" rather than "m4" when appropriate.
783         Problem reported by Eric Blake.
784         * doc/autoconf.texi: Likewise.
785         Use @acronym around BSD, GCC, and GNU when appropriate.
786         (Why GNU M4): Renamed from "Why GNU m4".
787         (Redefined M4 Macros): Mention that Posix
788         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
789         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
790         to int.
792 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
794         * bin/autom4te.in (handle_output): Do not forbid the empty
795         pattern.
796         * tests/tools.at (autoconf: the empty token): New test.
798 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
800         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
801         calls, so that we do not care whether they are LIFO or FIFO;
802         in the m4_wrap, do not check which diversion is the topmost
803         one, just check that the stack is balanced at the end.
804         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
805         base diversion forever--pop the previous diversion before
806         opening the new one; consequently, remove the m4_wrap call.
807         * lib/autotest/general.m4 (AT_INIT): Likewise.
808         * tests/m4sugar.at: Do not use
809         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
811 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
812         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
814         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
815         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
816         Rework example of m4wrap token-pasting trouble so that it doesn't
817         care whether it's LIFO or FIFO.
818         Fix some "contrary to"s that are awkward in English.
820 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
822         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
823         to `yes' instead of `int$1_t' if the type is found, for more
824         consistent configure output (where $1 is the number of bits).
825         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
826         Suggested by Bruno Haible.
828         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
829         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
830         with system headers.  Report by Bruno Haible.
832 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
834         * config/config.guess, config/config.sub: Sync from upstream.
836         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
837         in order to avoid picking up an older installed frozen m4sh.m4f.
838         Besides an outdated shell startup, this could have been created
839         by an earlier M4 version with incompatible frozen file format.
841 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
843         * README: Recommend m4 1.4.4 instead of 1.4.3..
844         * doc/autoconf.texi: Likewise.
845         (Special Chars in Names): Say that $(.FOO) is portable, as
846         suggested by Stepan Kasal.
847         (Installation Directory Variables, Build Directories):
848         (Automatic Remaking, Subdirectories, Fortran Compiler):
849         (Making testsuite Scripts, Defining Directories):
850         Quote variable usages better.
851         (Making testsuite Scripts): Add clean-local rule to makefile
852         snippet, by Eric Blake.
853         (Installation Directory Variables): Fix table item font.
854         Reword slightly to clarify.  Generalize advice about
855         not using special characters to include all file-related
856         vars, not just VPATH.
857         (Special Chars in Variables): Warn about special characters in
858         $(srcdir) too.
859         (Assignments): Clarify default-value example as suggested by
860         Ralf Wildenhues in
861         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
862         (Special Shell Variables): Note leading ./ or ../, as suggested
863         by Eric Blake.
864         (Limitations of Builtins): Under cd, warn about CDPATH.
865         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
866         Ralf Wildenhues.
868 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
870         * doc/autoconf.texi (Configuration Actions): Remove duplicate
871         `@var', for texi2html.
872         (Systemology): Some more word wrapping, for DVI output.
873         (autom4te Invocation): The short option for `--melt' is `-M',
874         not `-m'.
876 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
878         * doc/autoconf.texi: More formatting and English tweaks,
879         many suggested by Ralf Wildenhues.
880         Reword to avoid "@code{...}'s" and the like, since it's ugly
881         with Emacs info mode.  discontents -> woes.
882         Put a few "will"s back.  time stamp -> timestamp.
883         side-effect -> side effect.
885 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
887         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
888         Warn about $@ not persisting.  Problem reported by Julien Danjou in
889         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
890         (Special Chars in Names): Renamed from Leading _ in Macro Names.
891         Mention other special chars, too.
893 2006-06-14  Eric Blake  <ebb9@byu.net>
895         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
897 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
899         * doc/autoconf.texi: Some systematic minor improvements, as
900         follows.  Use "makefile" when talking about makefiles
901         generally (which might be named "makefile" or "Makefile" or even
902         "foo.mk"), "Makefile" when talking about a specific makefile
903         called "Makefile".  This unclutters the text from weird quotes
904         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
905         values" rather than "@var{foo}s" and similar constructs containing
906         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
907         English-language improvements.  Change the prefix "sub-" to "sub"
908         and "re-" to "re".
909         Put blank lines around examples more consistently.
910         Avoid "rather" and "very" as intensifiers.
911         Avoid "will" as an auxiliary.
912         (Limitations of Make): Split this node into....
913         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
914         (Leading _ in Macro Names, Backslash-Newline-Newline):
915         (Backslash-Newline Comments, Long Lines in Makefiles):
916         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
917         (obj/ and Make, make -k Status, VPATH and Make):
918         (VPATH and Double-colon, $< in Explicit Rules):
919         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
920         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
921         New nodes, resulting from splitup of Limitations of Make.
922         All cross-references changed.  Raise the top node from
923         a section to a chapter, and all subnodes accordingly.
924         Redo the introductory wording to match the new organization.
925         (Installation Directory Variables): Use an example that is
926         closer to what Autoconf actually does.  Mention that VPATH's
927         value should not contain metacharacters or white space.
928         (Fortran Compiler): Fix a VPATH bug in an example.
929         (Leading _ in Macro Names): Mention that this problem is no longer
930         of practical concern.
931         (VPATH and Make): Reword the advice to make it clearer
932         that Autoconf and Automake support VPATH in non-GNU make, but
933         many packages have bugs in this area.
934         ($< in Explicit Rules): Refer to Build Directories rather
935         than using a (non-VPATH-safe) example.
936         (Automatic Rule Rewriting): Mention the sort of disaster that
937         can ensue with Solaris-style rule rewriting with VPATH.
939 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
941         * doc/install.texi (Compilers and Options): Weaken the
942         suggestion to use GNU make for VPATH builds.
944         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
945         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
947         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
948         in regular expression.
950 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
952         * doc/autoconf.texi (Installation Directory Variables):
953         Drop extra @samp from `@table @samp' item.
954         (Limitations of Usual Tools): Comment fix.
955         Do not nest @samp just to point to other table items.
956         (Writing testsuite.at) <AT_CHECK>: The second argument to
957         `@dvar' is already @samp'ed.
958         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
959         do not use @var in the second argument.
961 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
963         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
964         $as_shell.exe too.  Problem reported by Andreas Buening in
965         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
967 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
969         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
970         `unused variable' compiler warning, for `-Wall -Werror'.
971         Reported by Jaap Haitsma in
972         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
974 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
976         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
977         case the compiler dumps core.  Problem reported for
978         OpenServer 5.0.7 by Tim Rice in
979         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
980         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
981         Likewise.
983 2006-06-06  Tim Rice <tim@multitalents.net>.
985         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
986         "ERROR" only shows up in "make check" output if there is an
987         error.
989 2006-06-06  Eric Blake  <ebb9@byu.net>
991         * tests/tools.at (automatically allowed tokens): Fix typo.
993 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
995         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
997         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
998         typically overflows on x86 CPUs, even though the C standard
999         requires otherwise.
1001 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1003         * configure.ac (AC_INIT): Bump to 2.59e.
1004         * NEWS: Update.
1006 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1008         Version 2.59d.
1010         * config/texinfo.tex: Sync from upstream.
1012         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
1013         seen, invoke libtoolize with `--ltdl' argument.
1014         * lib/autom4te.in (Autoreconf-preselections): Adjust.
1015         * NEWS: Update.
1016         Suggested by Eric Blake.
1018 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
1020         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
1021         reported by Ralf Wildenhues.
1022         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
1024 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1026         * THANKS: Update.
1028 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
1030         * doc/autoconf.texi: Modernize some of the references to Solaris.
1032 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
1034         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
1035         message issued by AC_REQUIRE.
1036         * tests/m4sugar.at: Check m4_require's error message.
1037         * tests/base.at: Check AC_REQUIRE's error message.
1038         * tests/local.at (AT_CHECK_M4): New macro, almost identical
1039         to...
1040         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
1041         AT_CHECK_M4.
1042         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
1043         `expout' as the last parameter.
1044         * tests/tools.at: Adapt to the above change.
1046 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
1048         * doc/autoconf.texi (Limitations of Usual Tools): Correct
1049         information about race-free implementations of mkdir.
1051 2006-06-04  Eric Blake  <ebb9@byu.net>
1053         * bin/autoreconf.in (help): Document M4 environment variable.
1054         * bin/autoconf.as (Usage): Likewise.
1055         * bin/autom4te.in (help): Likewise.
1056         * doc/autoconf.texi (autom4te Invocation): Likewise.
1058 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
1060         * NEWS: GNU make now recommended for VPATH builds.
1061         Mention that some macros are now documented to be obsolescent.
1062         * doc/autoconf.texi:
1063         Prefer "current" to "modern" to describe
1064         currently-used (albeit perhaps old-fashioned) hosts.
1065         Mention which ancient features no longer need to be worried about.
1066         setgid -> set-group-ID
1067         setuid -> set-user-ID (these are the Posix terms)
1068         Fix some misuses of "only".
1069         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
1070         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
1071         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
1072         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
1073         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
1074         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
1075         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
1076         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
1077         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
1078         Mention that these macros are obsolescent.
1079         (Installation Directory Variables): shall -> should
1080         (File Descriptors): Mention that 0, 1, 2 might get reopened.
1081         Mention that it's now safe to use 3 and 4.
1082         (Limitations of Usual Tools): cp -r is now specified by Posix.
1083         Omit longwinded and obsolescent discussion of cp -f.
1084         Modernize discussion of expr, ls.
1085         (Limitations of Make): Modernize discussion of VPATH builds.
1086         Mention $? as a workaround in some cases.
1087         * doc/install.texi (Basic Installation):
1088         Mention "./configure; make; make install" first.  Be more
1089         specific about why this file is generic.  Remove unnecessary
1090         parens.  Remove misleading "only".  Remove obsolete advice
1091         about csh.  Don't say "configure" takes awhile; say it
1092         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
1093         and CC=c99 rather than CC=c89, as these are blessed by current
1094         Posix.  Recommend GNU make if doing a VPATH build.
1096 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
1098         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
1099         examples involving shell prompts.
1101 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
1102         and Paul Eggert  <eggert@cs.ucla.edu>
1104         * doc/autoconf.texi (Here-Documents): Add details about the
1105         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
1106         use "here-documents" instead of "here documents".
1108 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1110         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
1112 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
1114         * doc/autoconf.texi (File System Conventions): Warn about ":"
1115         anywhere in directory names.
1117 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
1119         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
1120         about quoting the case statement, just in case.
1121         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
1122         was fixed in ksh93g; reported by Ralf Wildenhues.
1124 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
1126         * doc/autoconf.texi (System Services): Do not document
1127         overriding EXEEXT via ac_cv_exeext=ext.
1128         (Particular Programs) <AC_PROG_MKDIR_P>:
1129         Document that ${MKDIR_P} understands --.
1130         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
1131         comment.
1133 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1135         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
1136         argument with leading hyphen.  Problem reported by Paul Eggert.
1138 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
1140         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
1141         about quoting ac_try: quote all of it, if any of it seems suspicious.
1142         This means we don't have to worry about ${ or sed any more.
1143         Also, double-quote the case statement, to work around misuses via
1144         underquoting as reported by Ralf Wildenhues in
1145         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
1146         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
1147         undocumented and dangerous macro.
1148         Problem reported by Ralf Wildenhues in
1149         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
1151 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1153         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
1154         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
1155         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
1157 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
1159         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
1160         since evidently some packages rely on the old, broken behavior.
1161         Problem reported by Ralf Wildenhues in
1162         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
1163         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
1164         pre-2006-05-26 definitions, but leave in the comments that
1165         these macros are dangerous and should not be used.
1166         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
1167         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
1168         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
1169         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
1170         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
1172 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
1174         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
1175         the use of 'tr', since this is our only use of 'tr'.
1177 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1178         and Paul Eggert  <eggert@cs.ucla.edu>
1180         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
1181         Don't assume 'grep' works on long lines, since AIX grep doesn't.
1183 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1185         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
1186         the output file in the `${datarootdir}' test.
1188 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
1189         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1191         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
1192         mention of `datarootdir' in the input file(s), but literal
1193         `${datarootdir}' in the output file, and we haven't warned yet,
1194         then warn as well: the user may have (erroneously) used
1195         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
1196         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
1197         * tests/torture.at (datarootdir workaround): Extend this test.
1198         * NEWS: Update.
1200 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1201         and Paul Eggert  <eggert@cs.ucla.edu>
1203         * doc/autoconf.texi (autoheader Invocation): The first argument to
1204         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
1205         alternatives and clear up the language a bit.
1207 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
1209         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
1210         ac_config_guess, ac_config_sub, ac_configure.
1211         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1212         Fix typo that prevented an unnecessary space from being removed.
1213         Problems reported by Ralf Wildenhues in:
1214         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
1216 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1218         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
1219         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
1220         Don't use the term "thread-safe" to talk about mkdir race
1221         conditions, since the problem is more a process than a thread
1222         issue.  Problem reported by Stepan Kasal in:
1223         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
1224         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
1225         the test for 'install' more closely.  Look at MKDIR_P first.
1226         Look in the PATH, and at /opt/sfw/bin.
1227         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
1228         Don't bother to try mkdir -p, since we already check mkdir --version;
1229         just look at the version number.  (There's no easy way to check
1230         for race-free implementations.)
1231         * tests/tools.at (autoconf: subdirectories): Adjust to above
1232         changes, since MKDIR_P now might end in "/mkdir -p".
1234         * doc/autoconf.texi (autoheader Invocation): Mention that the
1235         first arg of AC_DEFINE_UNQUOTED must be a literal.
1236         Problem reported by Ben Pfaff in
1237         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
1239         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
1240         * doc/autoconf.texi (Special Chars in Variables): New section.
1241         (Preset Output Variables): Warn about special chars in CPPFLAGS.
1242         (Installation Directory Variables): Quote $(datadir) better.
1243         (Limitations of Builtins): Describe some of eval's trickiness.
1245         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
1246         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
1247         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
1248         in front of every arg, not just trailing args.  Quote apostrophes.
1249         (_AC_EVAL_ECHO): New macro.
1250         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
1251         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
1252         removed.
1253         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
1254         exposed by quoting of eval argument.  Put the command on line line
1255         so it logs better.
1256         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
1257         (_AC_PATH_X, AC_PATH_X): Quote more safely.
1258         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
1259         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
1260         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
1261         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
1262         Use eval more safely.
1263         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
1264         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
1265         to be replaced.
1266         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
1267         lines, exposed by quoting of eval argument.
1269 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
1270         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1272         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
1273         initialization of `ac_cv_exeext', do not override it if it was
1274         already set, unless it was set to `no', for compatibility with
1275         Autoconf-2.13, and comment this.
1276         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
1277         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
1278         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
1279         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
1280         Document that this test may be overridden by setting
1281         `ac_cv_exeext'.
1283 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1285         Revert these two patches:
1287         2006-04-06  Eric Blake  <ebb9@byu.net>
1288         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1289         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
1290         2006-04-01.
1292         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1293         Clean up _AC_COMPILER_EXEEXT* macros.
1294         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
1295           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
1296           ac_file to the name of the default output file and call
1297           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
1298           initial `rm' of the candidate files...
1299         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
1300           the same list in subsequent `rm' calls, and for the temporary
1301           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
1302           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
1303         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
1304         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
1305           no longer needed) by libtool.  Make it a cache check.
1306         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
1307           copied here by mistake.
1308         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
1309           _AC_COMPILER_EXEEXT.
1310         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
1311           _AC_COMPILER_OBJEXT directly.
1312         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1314 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1316         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
1317         Fix description of how the buggy `sed' works.
1319 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
1321         Sync from Automake:
1323         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
1324         ENOLCK.  Only mention `make -j' when applicable.  Only raise
1325         fatal errors when `make -j' is involved.  Improve error message.
1327 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1329         * doc/autoconf.texi (Here-Documents): We now know more about
1330         the variable expansion in here documents bug.
1331         Thanks to Tim Rice and Stepan Kasal.
1333         * doc/autoconf.texi (Making testsuite Scripts): Add an example
1334         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
1336 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1338         * tests/autotest.at (Multiline command from M4 expansion):
1339         No failure to be expected if the shell quotes newlines in
1340         commands in the `set -x' output.  Report by Tim Rice.
1341         * THANKS: Update.
1343 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
1345         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
1346         expansion in the here-documents used by config.status, as that
1347         runs afoul of the Korn shell version M-12/28/93d bug described in
1348         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
1349         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
1350         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
1352 2006-05-23  Jim Meyering  <jim@meyering.net>
1354         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
1355         Fix typo introduced with 2006-04-02 change.  It reversed the sense
1356         of the test.
1358 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
1360         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
1361         ac_dB slightly, to save bytes in the script.
1362         Max out at 50 lines, rather than 96; this is more likely
1363         (though not guaranteed) to avoid obscure 'sed' failures.
1365 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1367         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
1368         `tr -d -' as bad option argument.  Work around this by deleting
1369         an unrelated character.
1370         Report by Tim Rice <tim@multitalents.net>.
1372 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
1373             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
1374             Stepan Kasal  <kasal@ucw.cz>
1376         * doc/autoconf.texi (Particular Programs): Do not promise that
1377         we always prefer the GNU version of the program, and that we
1378         search according to PATH; both rules can have exceptions.
1379         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
1380         AC_PROG_SED.  Move descriptions of limitations
1381         to the Limitations of Usual Tools section.
1382         (Limitations of Usual Tools) <sed>: Mention script length
1383         limitations with Solaris /usr/ucb/sed.
1384         <grep>: Fix wording for empty alternative.  Mention that -c and
1385         -l should not be combined, and that -E and -F should not be
1386         combined.
1388 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
1389         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1391         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
1392         limits in Solaris 8 /usr/ucb/sed by testing a long script.
1394 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
1396         * doc/autoconf.texi (Defining Symbols): Literal parameter of
1397         AC_DEFINE is now passed to m4_pattern_allow.
1398         * NEWS: Mention that; likewise for AC_SUBST.
1399         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
1400         the parameter to m4_pattern_allow.
1401         * tests/tools.at: Add a check for that.
1403 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
1405         * lib/autoconf/status.m4: Fix typos.
1407 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1409         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
1410         only the files that this macro generates.
1412 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
1414         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
1415         the HP-UX sed limitation of 99 commands, labels do not count.
1416         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
1417         in the comment.
1418         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
1420 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
1422         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
1423         Import the following fix from coreutils:
1425         2006-01-13  Jim Meyering  <jim@meyering.net>
1427         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
1428         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
1429         not double-quote uses of that variable, to accommodate the rare
1430         case in which getmntent is available in none of the libraries
1431         checked.  This happens at least on FreeBSD 5.0.
1433 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
1435         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
1436         ac_config_guess, ac_config_sub, and ac_configure, since evidently
1437         some other programs unwisely rely on these undocumented vars.
1438         But put in warning comments about them.
1439         Problem reported by Ralf Wildenhues in
1440         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
1441         * NEWS: Document that these variables are intended to go away.
1443 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1445         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
1446         and set the language to C++ (analogous to the equivalent Fortran
1447         tests).
1449         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
1450         * doc/autoconf.texi (C++ Compiler): Document it.
1451         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
1452         * NEWS: Update.
1454 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1456         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
1457         that caused config.status to generate 100-command sed scripts; the
1458         portable limit is 99.
1460 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1462         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
1463         variable `ac_d' instead of `d' to avoid infringing namespace.
1464         Report by Ralf Menzel.
1466 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
1468         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
1469         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
1470         * tests/tools.at (autoconf: subdirectories): New test, taken from
1471         the corresponding problem report by Ralf Wildenhues in:
1472         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
1474         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
1475         Quote some uses of shell variables if they might suffer unexpected
1476         globbing.  This doesn't fix all instances of quoting problems that
1477         I found, just the easy ones that look safe.
1478         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
1479         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
1480         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
1481         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
1482         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
1483         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1484         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
1485         Likewise.
1486         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
1487         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
1489 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1491         * bin/autoreconf.in ($help): Reword according to the manual.
1492         Suggested by Olly Betts.
1494 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
1495         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1497         * bin/autoreconf.in: Pass the directory argument to
1498         `require_configure_ac'.  Fix comment.
1499         * tests/torture.at (Configuring subdirectories): Expose this.
1500         Reported by Olly Betts.
1502 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1504         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
1505         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
1506         Automake as follows:
1508         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
1509         `$configure_in' instead of `configure.in', to preserve
1510         directory component.
1512 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1514         * config/config.guess, config/config.sub, config/texinfo.tex,
1515         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
1517 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
1519         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
1520         test for C99 conformance; (bool) 0.5 is an integer constant
1521         expression, but (bool) -0.5 is not.  Problem reported by Fedor
1522         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
1524 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
1526         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
1527         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
1528         Warn about obsolete install-sh files.  Remove stray sentence
1529         fragment and fix cross reference.
1530         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
1531         install -d; this undoes the 2006-05-10 change.
1532         (MKDIR_P): Mark with AN_MAKEVAR.
1533         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
1534         that we don't require $INSTALL to be thread-safe.  Move comments
1535         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
1536         of AC_PROG_INSTALL.  Output a message saying that we're checking
1537         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
1538         MKDIR_P instead of AC_SUBST.
1539         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
1540         Special magic for MKDIR_P, too.
1541         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
1542         a dnl.
1543         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
1545 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
1547         Sync from Automake, as follows:
1549         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1550         * config/install-sh: Initialize IFS, so field splitting isn't
1551         turned off later.
1552         * config/mkinstalldirs: Likewise.
1553         * config/missing: Remove superfluous quotes.  Replace all uses of
1554         `[' by `test', for consistency, and for..
1555         * config/missing (sed_minuso, sed_output): New variables.
1556         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
1557         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
1558         Fixes `missing' to detect `--output' for help2man.  Fixes
1559         PR automake/483.  Report by Dennis J. Linse.
1560         (autom4te): Document in `missing --help'.
1562 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
1564         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
1565         * config/install-sh: Don't use 'path' to talk about file names,
1566         as per GNU coding standards.  Close a race condition reported by Ralf
1567         Wildenhues and Stepan Kasal.  There is still a race condition
1568         on hosts that predate Posix 1003.1-1992, but we can't help this.
1569         Don't mishandle weird characters like space on pre-Posix hosts.
1570         Invoke mkdir at most once per dir arg on pre-Posix hosts.
1571         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
1572         AC_PROG_MKDIR_P from AS_MKDIR_P.
1573         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
1574         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
1575         earlier editions are not (including Automake 1.8.3).
1576         Do not suggest mkinstalldirs for thread-safety.
1577         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
1578         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
1579         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
1580         presence of special characters and race conditions.
1581         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
1582         in Autoconf's name space.
1584 2006-05-10  Bruno Haible  <bruno@clisp.org>
1585         and Paul Eggert  <eggert@cs.ucla.edu>
1587         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
1588         from Automake with minor changes.
1589         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
1591 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
1593         * config/install-sh: Update to Automake CVS version, as follows:
1594         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
1595         * lib/install-sh: Simplify the expr implementation of dirname.
1596         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
1597         * lib/install-sh: Handle --, and diagnose unknown options.
1599 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1601         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
1602         `./autom4te' to create `./testsuite', since the `all' target
1603         will ensure its presence, but `installcheck' should not create
1604         the uninstalled wrappers.
1606         * tests/torture.at (Unusual Automake input files): Skip if we
1607         detect automake < 1.8.
1609 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1611         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
1612         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
1613         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
1614         * NEWS: Update.
1616 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1618         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
1619         munge (multiple) white space and other oddities.
1620         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
1621         single quotes in variable assignment.
1622         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
1623         and similar failures by adding multiple spaces, tabs, and other
1624         special characters.
1625         Report and different test suggested by Francesco Romani
1626         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
1628         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
1629         single quotes, we only need to search for single quotes; this
1630         both simplifies the search pattern, and makes us less
1631         susceptible to `echo' variations for arguments not containing
1632         single quotes.
1633         (_AC_ARG_VAR_VALIDATE): Likewise.
1635 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1637         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
1638         `$*' and IFS concatenation issue with traditional shells and
1639         bash-2.04.  Report by Seanster@Seanster.com.
1641 2006-05-03  Bruno Haible  <bruno@clisp.org>
1643         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
1644         precisely which Mac OS X versions have the od problem.
1646 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
1648         * doc/autoconf.texi: Use @option systematically.
1650 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
1651         and Bruno Haible  <bruno@clisp.org>
1653         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
1654         about 'od'.
1655         (Integer Overflow): Mention the special case of integer division
1656         overflow.
1658 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1660         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
1661         traditional shells like the Solaris one that do not use the
1662         first IFS character for assembling `$*'.
1663         Prompted by a related report from autoconf_bug@nro.ca.
1665 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
1666         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1668         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
1669         Mention more problems with the -e option.
1671 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1673         * NEWS: Typo.
1674         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
1676         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
1677         in URLs to improve DVI formatted output (requires texinfo 4.6).
1678         (System Services, Systemology, Shellology): Likewise.
1679         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
1680         output.
1682         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
1683         continuous text.
1684         (Runtime): Fix macro argument names to match description:
1685         `action-if-found' -> `action-if-true' and similarly.
1686         (Obsolete Macros): Likewise.
1687         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
1688         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
1689         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
1691 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1693         * doc/autoconf.texi (Limitations of Make): Clean up markup.
1695         * ChangeLog: Typo.
1696         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
1697         DVI output.
1699 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1701         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
1702         /bin/sh set unsorted output.
1703         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
1704         * tests/local.at: Likewise.
1706 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
1708         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
1709         (Integer Overflow, Null Pointers, Buffer Overruns):
1710         (Floating Point Portability, Exiting Portably): New sections.
1711         (Writing Test Programs): Fix some langauge.  Recommend exiting
1712         with status 1, not merely nonzero.  Clarify exit declaration.
1713         (Run Time): Move C exit status stuff to new Exiting Portably section.
1714         (Systemology): Mention Posix and levenez.  Update v7 reference.
1715         (Portable Shell): Mention the Posix shell.
1717 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
1719         * bin/autoconf.as (me): Replace by as_me.
1721 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
1723         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
1724         since as_me isn't set yet.
1726 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
1728         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
1729         a few minor bugs in this area.
1731         * doc/autoconf.texi (Programming in M4sh): Comment out the
1732         documentation of AS_BASENAME, for now.
1733         (Shell Substitutions): Do not use AS_DIRNAME in an example.
1734         (Limitations of Builtins) <basename>: Do not refer to
1735         AS_BASENAME.
1736         * bin/autoconf.as (me): Don't use AS_BASENAME.
1737         (dir): Remove the unused variable.
1738         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
1739         AS_DETECT_REQUIRED.  All uses changed.
1740         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
1741         All uses changed.
1742         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
1743         (AS_BASENAME): Use "basename --" to protect against leading "-".
1744         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
1745         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
1746         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
1747         (_AS_DIRNAME_PREPARE): Likewise.
1748         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
1749         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
1750         (AS_DIRNAME): Use "dirname --".
1752 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
1754         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
1755         of "run time" and "run-time" changed to "runtime", for consistency.
1756         * lib/autoconf/fortran.m4: Likewise (in comment).
1757         * lib/autoconf/functions.m4: Likewise.
1758         * lib/autoconf/general.m4: Likewise.
1759         * lib/autoconf/headers.m4: Likewise.
1761         * doc/autoconf.texi (Run Time): Document the exit status situation
1762         with more accuracy and detail.
1764 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1766         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
1767         Archive is not officially `GNU' any more.  Update URL.
1768         (Defining Directories): Likewise
1769         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
1771 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1773         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
1774         newline from the `trap' code to finish `config.log'; the NetBSD
1775         /bin/sh resets the exit status after an empty command, as
1776         documented in doc/autoconf.texi.
1777         Reported by Dalibor Topic <robilad@kaffe.org>.
1779 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
1781         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
1782         Suggested by Bruno Haible.
1784 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
1786         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
1787         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
1788         Instead, just list the shells that we know work.
1789         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
1790         changed.  Be more cautious about the _cv_ variable.
1791         * tests/tools.at (Syntax of the shell scripts): Check the
1792         _cv_ variable once, at first, to avoid an internal autoconf error
1793         when sh -n does not work.
1795 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1797         * lib/Autom4te/FileUtils.pm: Sync from Automake.
1799 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
1801         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
1802         use ">&-" since we're only 99.999% sure that this is portable,
1803         and since the MinGW bug is fixed in a different way.
1804         * lib/autotest/general.m4 (AT_INIT): Likewise.
1806 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
1808         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
1809         before opening config.log, to avoid hitting a bug on MinGW.
1811 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
1813         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
1814         AS_MESSAGE_LOG_FD before reopening it onto the log file.
1815         This works around a MinGW bug reported by Eric Paire.
1816         Make sure that all writes to the log file append to it,
1817         rather than possibly losing data.
1818         * lib/autotest/general.m4 (AT_INIT): Likewise.
1820 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
1822         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
1823         description.
1825 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1827         * NEWS: Update.
1829         * configure.ac (AC_INIT): Bump to 2.59d.
1831 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1833         Version 2.59c.
1835         * Makefile.maint (news-date-check): Do not require a leading `*'
1836         before the release date in NEWS.
1838 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
1839         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1841         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
1842         the instantiated file do not contain the string 'datarootdir'
1843         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
1844         @mandir@, replace the reference '${datarootdir}' by the value.
1845         * tests/torture.at (datarootdir workaround): New test.
1846         * NEWS: Advertise this temporary fixup.
1847         Based on a patch by Bruno Haible, reported and analyzed by
1848         Paul Eggert and Noah Misch.
1850 2006-04-12  Eric Blake  <ebb9@byu.net>
1852         * tests/autotest.at (Debugging a failed test): Fix comment.
1854 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
1856         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
1857         all the changes since 2006-04-07.
1859 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1861         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
1862         succeeded, but `ln -s file dir' failed, take care to remove the
1863         leftover target before the next test, to prevent its spurious
1864         failure; also make sure `ln file dir' works before selecting it.
1865         Thanks to Keith Marshall for pointing this out.
1866         * THANKS: Update.
1868         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
1869         assignments in `at_debug_args', so that we put them correctly
1870         in the `run' script.
1871         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
1872         Reported by Eric Blake.
1874 2006-04-11  Eric Blake  <ebb9@byu.net>
1876         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
1877         top-level tests after micro-suite has been run.   Used in...
1878         (Debugging a successful test, Debugging script and environment),
1879         (Debugging a failed test): ...these new tests.  The first of these
1880         is fixed by...
1881         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
1882         macro, split out from...
1883         (AT_INIT): ...here, so that using -d also generates a run script.
1884         Document that -d inhibits top-level logging.
1885         * doc/autoconf.texi (testsuite Invocation): Document that -d only
1886         inhibits top-level logging; debug scripts are created.
1888         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
1889         check.
1890         * tests/autotest.at (Empty test, Empty check): New test to check it.
1892         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
1893         from gcc.
1895 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
1897         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
1898         the files if a problem appears.  Make the empty *.at files
1899         read-only, too.  Proposed by Ralf Wildenhues.
1901 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1903         * config/Makefile.am: Add comment to force updated Makefile.in.
1905         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
1906         space only patch to this file, this patch causes the Makefile.in
1907         files that include freeze.mk to be updated, and thus have a
1908         newer time stamp again, which in turn makes a pristine CVS
1909         checkout have correct time stamps.
1911         * Makefile.maint (cvs-sv): New macro, to be used..
1912         (config.guess-url_prefix, config.sub-url_prefix)
1913         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
1914         point to CVS text checkout of Gnulib files.
1915         (copyright-check): Bump current year.
1916         (announcement): Do not hard-wire `./announce-gen'.
1917         (cvs-update): Propagate failures of `cvs' and `move-if-change'
1918         correctly.
1919         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
1920         `chmod +x'.
1921         (wget_files): Update config.guess, config.sub, texinfo.tex by
1922         `wget-update', now that their URLs work again.
1924 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
1926         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
1927         Problem noted by Paul D. Smith.
1929 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1931         * doc/autoconf.texi: Remove unused words from word list.
1932         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
1933         .x-sc_trailing_space: New files.
1935         * doc/standards.texi: Sync from gnulib.
1937         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
1938         `LIBOBJDIR' as experimental.
1940         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
1941         with a target directory; it's internally implemented as `cp'
1942         anyway, but since Autoconf advertises the possibility to use
1943         a target directory when LN_S is `ln -s', we need to find out.
1944         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
1945         analyzed by Keith Marshall <keith.marshall@total.com>.
1947         * THANKS: Update.
1949 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
1951         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
1952         confdefs.h as-is.  In general, if it has backslash-newline or the
1953         like, then it doesn't work either to sort or to remove empty
1954         lines.
1956 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
1958         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
1960 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
1962         * lib/autom4te.in (Automake-preselections): Preselect
1963         _AM_SUBST_NOTMAKE.
1965 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
1967         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
1968         apostrophe within a single-quoted string, as this is the usual
1969         tradition and is easier to read than '"'"'.  Don't rely on the
1970         shell treating "$/" like '$/'.  Use a more-consistent indenting
1971         style for the trap.
1973 2006-04-09  Eric Blake  <ebb9@byu.net>
1975         * tests/autotest.at (Backquote command substitution),
1976         (Multiline backquote command substitution): Remove mistaken
1977         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
1978         applied...
1979         (Parenthetical command substitution, Multiline parenthetical
1980         command substitution): here.
1982 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
1984         Import macros from gnulib (often changing their name).
1986         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
1987         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
1988         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
1989         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
1990         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
1991         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1992         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
1993         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
1994         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
1995         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
1996         The manual mentions Gnulib more prominently.
1997         * doc/autoconf.texi (Gnulib): New node.
1998         (Pointers): Add Gnulib URL.
1999         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
2000         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
2001         Gnulib section.
2002         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
2003         suggest a #define rather than a typedef for _Bool, and mention
2004         Gnulib rather than trying to substitute stdbool code.
2005         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
2006         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
2007         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
2008         AC_STRUCT_DIRENT_D_TYPE.
2009         (Particular Types): Mention stdint.h and inttypes.h as standard
2010         headers too.
2011         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
2012         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
2013         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
2014         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
2015         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
2016         (C Compiler): Move AC_C_LONG_DOUBLE to ...
2017         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
2018         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
2019         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
2020         (Coding Style).  Don't mention m4_expand_once.
2021         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
2022         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
2023         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
2024         (AC_CHECK_FUNCS): Use it.
2025         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
2026         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
2027         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
2028         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
2029         (AC_HEADER_ASSERT): New macro.
2030         (AC_HEADER_STDBOOL): Don't assume "#error" works.
2031         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
2032         Catch a bug in an HP-UX C compiler.
2033         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
2034         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
2035         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
2036         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
2037         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
2038         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
2039         New macros.
2041         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
2042         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
2044 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
2046         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
2047         of the warning introduced by the 2001-08-28 change.
2049 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
2050             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2052         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
2053         variables shall be overriden by the cache.
2054         * tests/torture.at (AC_ARG_VAR): Test also with a first value
2055         that contains braces.
2057 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
2059         Revert the patch from 2006-04-01 and only improve
2060         _AS_DETECT_BETTER_SHELL:
2062         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
2063         skip nonexistent directories.
2064         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
2065         only shell candidates which exist.
2066         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
2067         * lib/autotest/general.m4 (AT_INIT): No need to give three
2068         parameters to _AS_PATH_WALK.
2070 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
2071             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2073         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
2074         distinguish m4sugar macros.
2075         * tests/tools.at (autoupdating with aclocal and m4_include):
2076         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
2077         test case by Noah Misch <noah@cs.caltech.edu>.
2079 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
2081         Revert my change from 2006-03-17, in other words:
2082         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
2083           and DUALCASE=1.
2084         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
2085         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
2086           it is set.
2088 2006-04-07  Eric Blake  <ebb9@byu.net>
2090         * doc/autoconf.texi (Programming in M4sh): Document that
2091         AS_MKDIR_P exits the script on failure.
2092         * lib/autotest/general.m4: Remove redundant AS_ERROR.
2094 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2096         * config/elisp-comp, config/install-sh, config/mdate-sh,
2097         config/missing, config/mkinstalldirs: Sync from Automake.
2099         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
2100         from Automake.
2102         * doc/make-stds.texi: Sync from gnulib.
2104 2006-04-06  Eric Blake  <ebb9@byu.net>
2106         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
2107         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
2108         2006-04-01.
2110 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
2111             Eric Blake  <ebb9@byu.net>,
2112             Paul Eggert  <eggert@cs.ucla.edu>,
2113             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2115         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
2116         whether `set' quotes correctly: redirect stderr of the tested
2117         `set', and use a subshell, for Ultrix; use `sed' instead of
2118         `grep' for zsh `set' which may write binary output; match only
2119         at the beginning of a line, to avoid false positives.
2120         In order to avoid false positives by unrelated variables with
2121         multiline content, put the dump algorithm in a subshell and
2122         unset all variables containing newlines (except some which are
2123         special to the shell).  Warn about cache variables that are
2124         unset.
2126 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2128         * config/config.guess, config/config.sub, config/texinfo.tex:
2129         Sync from upstream.
2131         * tests/mktests.sh: Reword comments.
2133         * tests/mktests.sh: Only skip internal macros starting with
2134         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
2135         Update exclusion lists for the test suite to this end:
2136         (AC_ARG_VAR): Do test this now.
2137         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
2138         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
2139         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
2140         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
2142         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
2143         shell issue with double-quoted command substitutions of native
2144         commands.
2145         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
2146         Marshall.
2148         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
2149         no file matches the glob, discard the warning, set `nullglob'.
2150         (syntax-check): Likewise.
2151         (sc_cast_of_x_alloc_return_value): Likewise.
2152         (sc_cast_of_alloca_return_value, sc_error_exit_success)
2153         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
2154         (m4-check): Likewise.
2155         (sc_system_h_headers): Do not print rule on execution.
2156         (sc_tight_scope): Do not fail for non-existing `src' directory.
2157         (sc_changelog): Skip the Copyright footer.
2158         * lib/autoconf/lang.m4: Remove trailing space.
2160         * lib/autoconf/status.m4: More replacements to
2161         <tab><space> where this makes sense.
2163 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
2165         * tests/Makefile.am (maintainer-check-posix):
2166           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
2168         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
2169           ac_config_<foo>s again, sometimes normalized, sometimes not.
2170         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
2171         (AC_CONFIG_COMMANDS): Do not do so here.
2172         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
2173           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
2174           2005-07-25 rewrite.  Noticed by Noah Misch.
2176         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
2177           _AC_PRESERVE_HELP_ORDER, ...
2178         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
2180         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
2181           inside m4_expand_once; it is redundant.
2183         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
2184           for --help from Cygnus `configure.'
2186 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
2188         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
2189         on a patch proposed by Ralf Wildenhues.
2191 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
2193         * lib/autoconf/status.m4: Replace <space>''<tab> with
2194         <tab><space> where this makes sense.
2196 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
2197             Noah Misch  <noah@cs.caltech.edu>
2199         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
2200         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
2201         * doc/autoconf.texi (Help Formatting): New node.
2202         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
2204 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2206         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
2207         lib/autoconf/specific.m4, lib/autoconf/status.m4,
2208         lib/autoconf/types.m4, lib/autotest/general.m4,
2209         tests/mktests.sh, tests/torture.at: White space cleanup:
2210         remove some SPACE before TAB, or add quoting ('' or @&t@).
2212         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
2214         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
2216 2006-04-05  Eric Blake  <ebb9@byu.net>
2218         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
2219         empty test suite works.
2220         * tests/autotest.at (Empty test suite): Remove xfail.
2222 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
2224         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
2225         TAGS to ac_config_<foo>s.
2226         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
2227         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
2228         normalizing it, consistent it with previous releases.
2229         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
2231 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
2233         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
2234         Use simplified args that Eric Blake originally suggested.
2236 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
2238         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
2239         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
2240         Use 'comm' rather than N instances of grep; this also fixes a bug
2241         whereby substrings were incorrectly matched, causing us to not
2242         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
2243         (exclude_list): Exclude empty macros.
2244         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
2246         Use awk rather than grep -E or egrep, to avoid
2247         portability problems with regular expressions containing newlines.
2248         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
2249         Switch from grep to awk syntax.
2250         (ac_exclude_script): Renamed from ac_exclude_egrep.
2251         (au_exclude_script): Renamed from au_exclude_egrep.
2253 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
2255         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
2256         a subdirectory subject to Cygnus `configure'.
2257         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
2259         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
2260         report request when we have no AC_PACKAGE_BUGREPORT.
2262 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2264         * THANKS: Update.
2266         * tests/mktests.sh: Update copyright year in the header of the
2267         generated files.
2269         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
2270         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
2271         typedef'ed restricted pointer, to catch a compiler bug on
2272         HP-UX 11.x, and fix warnings so it passes with -Werror.
2273         (_AC_PROG_CC_C99): Likewise.
2274         Reported by Albert Chin <china@thewrittenword.com>.
2275         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
2277 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
2279         * bin/autoscan.in (subdirs): New global.
2280         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
2281         (output): Emit AC_CONFIG_SUBDIRS as needed.
2282         * tests/autoscan.at (autoscan): Remove XFAIL.
2284 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
2286         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
2288 2006-04-03  Eric Blake  <ebb9@byu.net>
2290         * THANKS: Add myself.
2292 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2294         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
2295         to log, point to testsuite output tree.
2297 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
2299         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
2300         * doc/autoconf.texi (Function Portability): Mention that C++
2301         has trouble with 'exit'.
2302         (Guidelines): Test programs shouldn't use 'exit'.
2303         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
2304         Remove; all uses removed.
2305         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
2306         Return from 'main' instead of calling 'exit'.
2307         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
2308         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
2309         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
2310         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2311         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
2312         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2313         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
2314         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
2315         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2316         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
2317         * tests/compile.at: Likewise.
2319 2006-04-02  Pavel Roskin  <proski@gnu.org>
2321         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
2323 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2325         Clean up _AC_COMPILER_EXEEXT* macros.
2327         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
2328           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
2329           ac_file to the name of the default output file and call
2330           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
2331           initial `rm' of the candidate files...
2332         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
2333           the same list in subsequent `rm' calls, and for the temporary
2334           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
2335           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
2336         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
2337         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
2338           no longer needed) by libtool.  Make it a cache check.
2339         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
2340           copied here by mistake.
2341         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
2342           _AC_COMPILER_EXEEXT.
2343         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
2344           _AC_COMPILER_OBJEXT directly.
2345         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2347 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2349         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
2350         (AS_DIRNAME): Use it.
2351         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
2353         * tests/*.at: Remove the generated ones.
2355 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2357         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
2359 2006-04-01  Eric Blake  <ebb9@byu.net>
2361         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
2362         directories, unless optional third argument supplied.
2363         (AS_UNAME): Don't optimize PATH walk.
2365         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
2367 2006-04-01  Eric Blake  <ebb9@byu.net>
2368         and Stepan Kasal  <kasal@ucw.cz>
2370         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
2371         and fix some typos.
2373 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
2375         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
2376         Autoconf version number despite a zero- or one-argument AC_INIT.
2378         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
2379         subordinate tools.
2380         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
2381         * doc/autoconf.texi (autoreconf Invocation): Document it.
2383         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
2384         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
2386 2006-04-01  Eric Blake  <ebb9@byu.net>
2388         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
2389         * lib/autotest/general.m4: Be tolerant of existing directory when
2390           rm failed to remove it.
2392 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2394         * bin/autoupdate.in: Redefine m4_location so that warnings print
2395         the correct lines of the input file by subtracting..
2396         (_au__first_line): ..this new definition.
2398         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
2399         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
2400         Remove stray newline in output.
2401         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
2402         AC_DEFUN this for autoconf, including the obsoletion diagnose.
2403         Fixes autoupdating of code where the replacement output contains
2404         m4sugar macros.
2405         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
2406         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
2407          (au_exclude_list): Add AC_LANG_SAVE.
2408         * tests/tools.at: Several new tests for all of this.
2409         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
2410         hairy details.
2411         The AC_LANG_SAVE issue was reported against Libtool by
2412         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
2413         Kristian Kvilekval <kris@cs.ucsb.edu>.
2415 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2417         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
2418           switch all of them on and of when necessary.  Fixes the bug when
2419           m4sugar macros (e.g., m4_define) were expanded after the first
2420           automatic update (e.g., after AC_PREREQ or AC_INIT).
2422 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
2424         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
2425         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
2427         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
2428         correctly.  Problem reported by Eric Blake.
2429         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
2430         Ralf Wildenhues.
2432 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
2434         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
2435         Tighten up the basename/dirname wording.
2437 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2439         * Makefile.maint (sc_texi_notab): New check: do not use TABs
2440         in texinfo files outside of verbatim environments.
2441         (syntax-check-rules): Update.
2442         * doc/autoconf.texi (Configuration Headers): Conform to it.
2444 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
2446         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
2447           aclocal cannot be given on the command line.
2449 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
2451         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
2452         Give an example for AS_DIRNAME instead of referring to Posix..
2453         (File System Conventions): Put discussion of // versus / here, and
2454         modernize it a bit.
2455         (Limitations of Usual Tools): Add basename.  Remove verbiage
2456         after dirname, since it got moved to the above sections.
2457         All this was inspired by a patch proposed earlier by Eric Blake.
2459 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2461         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
2462         `$0' to protect against spaces.
2463         * lib/autotest/general.m4 (AT_INIT): Likewise.
2464         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
2465         `$0', $as_me.
2467 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2469         * bin/autoscan.in: The value of find_configure_ac should be
2470         checked for existence, so we don't barf over a nonexisting
2471         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
2473 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2475         * bin/autoupdate.in: Fix some typos.
2477 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
2479         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
2481         * lib/autoscan/autoscan.list: Refreshed.
2483 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2485         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
2486         and Erlang related variables.
2488         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
2489         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
2490         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
2491         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
2492         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
2493         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
2494         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
2495         (_AC_PROG_OBJC_G): New macros.
2496         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
2497         * doc/autoconf.texi (Objective C Compiler): New node.
2498         (Preset Output Variables): Document OBJCFLAGS.
2499         (Language Choice): Document `Objective C' language.
2500         (Fortran Compiler): Fix typo.
2501         * NEWS: Updated.
2502         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
2504 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
2506         * doc/autoconf.texi (Default Includes): Fix typo
2507           s/AC_HEADERS_STDC/AC_HEADER_STDC/
2508         (Limitations of Usual Tools): s/unwriteable/unwritable/
2509         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
2510           Fix typos in the comments.
2512 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
2514         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
2515           Factor out the warning to...
2516         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
2517         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
2518         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2520         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
2521           case `ac_delim' when writing the sed script.
2523         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
2524           moved DUALCASE=1 ...
2525         (AS_SHELL_SANITIZE): ... here.
2526         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
2527           that it is set.
2529         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
2530           AC_SUBST.
2531         (_AC_PATH_PROG): Store the result to VARIABLE.
2532         (AC_PATH_PROG): No need to set VARIABLE again.
2534         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
2535           the first one is usual AT_CHECK_MACRO test, the second one checks
2536           that the same works when cross-compiling.
2537         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
2538         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
2540 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2542         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
2543         the directory `/usr/bin/posix' in the shell search, to prefer
2544         the Posix shell not only in subsequent spawns as with `$BIN_SH'
2545         on Tru64.
2547         * doc/autoconf.texi (contents): To fix texi2html output, hide
2548         `@setcontentsaftertitlepage' for HTML.
2549         (Writing Autoconf Macros): Likewise, insert space after `@c'.
2550         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
2551         `@,{c}'.
2553 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
2555         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
2556           sanitizing...
2557         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
2558         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
2559           why IFS is restored so late; thank you, Ralf, for reminding us.
2561 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
2563         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
2564           variables in the examples.
2566 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
2568         * doc/autoconf.texi (several sections): Cleaned up documentation for
2569         macros in erlang.m4.
2571 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2573         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
2574         failure condition for `$(cmd)' style command substitutions.
2575         (Parenthetical command substition, Multiline parenthetical
2576         command substition): Use it.
2578         * doc/autoconf.texi (Special Shell Variables): Missing word.
2579         Reported by Keith Marshall <keith.marshall@total.com>.
2581         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
2582         IFS even in case of empty `$PATH'.
2584 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2586         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
2587         `expr' away if there is nothing to do.
2588         < --keywords >: Simplify and robustify argument handling.
2589         Revert erroneous comment from 2005-08-23.  Extend to allow
2590         keyword negation with `!'.
2591         Update help message.  Remove broken code to prevent running
2592         tests multiple times.
2593         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
2594         Update and fix the documentation accordingly.
2595         * tests/autotest.at (Keywords): Renamed to..
2596         (Keywords and ranges): .. this.  Extended to make sure negated
2597         keywords, keywords taken from AT_SETUP arguments, and numeric
2598         test ranges work, and that matching is case-insensitive.
2600 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2602         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
2603         allow to pass unnamed structs even in C++.
2604         (AC_CHECK_SIZEOF):  Likewise.
2605         Also fix quoting error in `AC_MSG_FAILURE' arguments.
2606         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
2607         struct): New tests for unnamed structs, each both native and
2608         cross-compiling.
2610         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
2611         a structure inside a cast, for C++ conformance.
2612         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
2613         Also fix quoting error in `AC_MSG_FAILURE' arguments.
2615         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
2616         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
2617         trying to execute the command `no'.
2619         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
2620         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
2621         expanded outside.
2623         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
2624         example.  Do not emphasize `$%', it is hardly new and special.
2625         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
2627         * doc/autoconf.texi (Limitations of Usual Tools): Document
2628         OpenBSD and traditional `grep' failure to handle multiple
2629         patterns separated by newlines.
2631 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
2633         * doc/autoconf.texi (several sections): Add documentation for macros
2634         in erlang.m4.
2636 2006-03-10  Eric Blake  <ebb9@byu.net>
2638         * doc/autoconf.texi (Obsolete Macros): Fix wording of
2639         AC_TRY_LINK_FUNC.
2641 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
2643         * doc/autoconf.texi: Use @acronym more consistently for acronyms
2644         like BSD, GPL, LGPL.  Fix minor English typos.
2645         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
2646         Mention that these macros are becoming obsolete.
2647         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
2648         Use more modern terminology for which standard is what.
2649         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
2650         and to ansi2knr.
2651         (AC_PROG_CXX): Likewise.
2652         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
2653         Remove obsolete discussion about how to port to K&R.
2654         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
2655         the obsolescent AC_HEADER_STDC.
2656         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
2657         can't rely on it.
2659 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2661         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2662         Remove stdin redirection from /dev/null to allow pipe to work.
2664 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
2666         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2667         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
2668         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
2669         Ralf Wildenhues.
2671 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2673         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
2674         HP-UX sed is 99 commands, not 100.
2675         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
2676         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
2677         newline for portability.
2678         * tests/torture.at (Torturing config.status): Also test 100
2679         AC_SUBST_FILE invocations.  Fix test to actually verify the
2680         AC_CONFIG_FILES output.
2681         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
2682         command, label, and read-file `r' limits.  Unify HP-UX spelling.
2684         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
2685         non-suffix rule.
2686         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
2687         non-GNU make.
2688         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
2689         * tests/mktests.sh: Small shell portability fixes.
2691 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2693         * doc/autoconf.texi (Caching Results): Fix the examples to use a
2694         recommended quoting style and discard unwanted output.
2696 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
2698         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
2699         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
2700         cases, and to work around Tru64 expr bug.
2702 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2704         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
2705         expr bug that turns the result of a regex match into a number if
2706         possible.
2708 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2710         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
2711         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
2712         in section `Specific Compiler Characteristics'.
2714 2006-03-04  Eric Blake  <ebb9@byu.net>
2716         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
2717         variable warning.
2719 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2721         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
2722         order of variable initialization, so even the Solaris 2.6 shell
2723         can create a config header correctly.  Fixes lots of test suite
2724         failures.
2726 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2728         * doc/autoconf.texi (Text processing Macros): New node to
2729         document the m4sugar macros m4_re_escape, m4_tolower,
2730         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
2732 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
2734         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
2735         XrmInitialize (0) -> XrmInitialize ().
2736         Reported by Toshio Kuratomi.
2738 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2740         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
2741         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
2742         * doc/autoconf.texi (Programming in M4sh): Adjusted.
2743         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
2744         both macros are defun'ed so that required macros are evaluated
2745         outside.
2747         * doc/autoconf.texi (Prerequisite Macros): State more precisely
2748         where a required macro will be expanded.
2749         (Coding Style): Another reason not to use `m4_define'.
2751 2006-02-21  Eric Blake  <ebb9@byu.net>
2753         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
2755 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2757         * doc/autoconf.texi (Looping constructs): New node, to
2758         document m4_for, m4_foreach, m4_foreach_w, and mention
2759         obsolete AC_FOREACH.
2760         (Obsolete Macros): Document AC_FOREACH.
2761         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
2762         (m4_for): Fix to never loop (almost) endlessly, work correctly
2763         with arithmetic expressions in arguments, a step of zero or
2764         non-integer multiple of the interval, and avoid integer
2765         overflow.
2766         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
2767         m4_foreach_w.
2769 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
2771         Add basic support for Erlang, both for configuring Erlang/OTP
2772         tools, and Erlang as a conf test language.
2773         * lib/autoconf/erlang.m4: New file.
2774         * lib/autoconf/autoconf.m4: Add erlang.m4.
2775         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
2776         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
2777         * NEWS: Add short description of new macros.
2778         * THANKS: Add Romain Lenglet.
2780 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2782         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
2783         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
2785 2006-02-15  Eric Blake  <ebb9@byu.net>
2787         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
2788         warning.
2790 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2792         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
2793         (_AS_CASE): Private helper macro.
2794         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
2795         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
2796         Fix syntax of AS_IF description
2797         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
2798         for the AC_REQUIRE mess.
2799         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
2800         AS_SHELL_SANITIZE.
2802 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
2804         * doc/autoconf.texi: Minor style cleanup.
2805         Be consistent about spaces after commas.
2806         Insert [] where empty args look a bit funny.
2807         Fix some "i.e." and "e.g." usages.
2808         Try to avoid "X/Y" usages.
2809         Don't be pedantic about "ISO C99"; just say C99.
2810         Prefer GNU style for spaces in front of parens.
2811         (Function Portability): Comment about C89 versus C99
2812         signed integer division.
2813         (Particular Headers): Use current gnulib style for dirent
2814         includes.
2816 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
2817         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2819         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
2820         macros without parameters.
2821         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
2822         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
2823         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
2824         `$#' bug.
2825         (autoupdate): Updated to match AU_ALIAS fix.
2827 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2828         and Paul Eggert  <eggert@cs.ucla.edu>
2830         * doc/autoconf.texi (Programming in M4sh): Document
2831         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
2833 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2835         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
2836         (AS_BOURNE_COMPATIBLE): ..this.
2837         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
2839 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
2841         * doc/install.texi (Defining Variables): Tighten up the
2842         CONFIG_SHELL wording.
2844 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
2845         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2847         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
2848         of (set -o) rather than testing whether (set -o posix) succeeds,
2849         to work around a bug in the AIX 5.3 shell.  Problem originally
2850         reportd by Howard Chu for libtool.
2852 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
2854         * doc/autoconf.texi (Running the Compiler, Running the Linker):
2855         Changes the macro arguments in summaries to match the
2856         descriptions.
2858 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
2860         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
2861         hint as ``a workaround for a bug.''
2863 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2865         * bin/autoreconf.in: New option `--no-recursive'.
2866         Improve wording for subpackages a bit.
2867         * doc/autoconf.texi (autoreconf Invocation): Updated.
2868         * NEWS: Updated.
2870         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
2871         in environment of `configure', not the command line.
2872         Reported by Howard Chu <hyc@highlandsun.com>.
2874 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
2876         * doc/autoconf.texi (Limitations of Builtins): Document the
2877         problem with "trap -".
2879 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
2881         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
2882         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
2883         messages to differentiate Fortran and Fortran 77 tests.
2884         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
2885         AC_LANG_ASSERT, to allow use in mixed-language projects.
2887 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
2889         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
2890         FOO" to "defined (FOO)".
2891         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
2892         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
2893         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
2894         * tests/tools.at (ifnames): Likewise.
2896 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2898         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
2899         * lib/Autom4te/General.pm (mktmpdir): Likewise.
2900         (END): Improve error message a bit.
2901         Reported by Bruce Korb <bkorb@gnu.org>.
2903 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2905         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2906         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
2908 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
2910         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
2911         requires sys/stream.h.  Reported by Oliver Kiddle.
2913 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2914             Stepan Kasal  <kasal@ucw.cz>
2916         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
2917         before the removals of test dirs, use `find' to avoid modification
2918         of symlinked directories.
2920 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
2922         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
2923         Don't ignore the macro arguments.
2925 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
2927         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
2928         declaration that works for MSVC.
2930 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2932         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
2933         Add `*.map' and `.inf' for Green Hills compiler.
2934         Reported by Stefan Seefeld <stefan@codesourcery.com>.
2936         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
2937         correctly: pad with spaces after FIRST_PREFIX if necessary,
2938         and compute string lenghts with `m4_qlen' instead of `m4_len'.
2939         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
2940         * tests/m4sh.at (AS_HELP_STRING): Test extended.
2941         * NEWS: Updated.
2942         Reported by numerous people, numerous times.
2944 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
2946         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
2947         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
2948         * lib/autoconf/general.m4, lib/autoconf/status.m4:
2949         * lib/autotest/general.m4, tests/local.at:
2950         Update copyright year to 2006.
2952         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
2953         sed substitutions.
2954         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
2955         for file names, again.  Reported by Noah Misch.
2956         (Coding Style): Explain that s|a|b| is preferred for file names.
2957         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
2958         (AC_OUTPUT_MAKE_DEFS): Likewise.
2959         * lib/autotest/general.m4 (AT_INIT): Likewise.
2960         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
2961         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
2963         Fix Posix-conformance bugs re use of { command in sed scripts,
2964         and improve the sed-related documentation a bit.
2965         * doc/autoconf.texi (Installation Directory Variables): Use
2966         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
2967         rather than "sed" when talking about Sed in general.
2968         (Particular Programs): Likewise.
2969         (Coding Style): y is like s with respect to / and ,.
2970         (Limitations of Usual Tools): Document the weird restrictions
2971         that Posix has about { }.  Use better quoting.
2972         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
2973         Rewrite to conform to Posix rules about { } in sed scripts.
2974         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
2975         * tests/foreign.at (Libtool): Likewise.
2976         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
2977         Use our own style advice re 's,a,b,' versus 's|a|b|'.
2979 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2981         * lib/autoconf/status.m4: Fix typo.
2983         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2984         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
2985         `-def', for the benefit of Portland `pgf90 -Mipa'.
2986         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
2988 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
2990         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
2991         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
2992         shell from zsh to bash.
2994 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
2996         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
2997           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
2999 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
3001         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
3002         parentheses in $(...).  Problem reported by Eric Blake.
3004 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
3006         * doc/autoconf.texi (Limitations of Usual Tools):
3007         Mention which characters can be escaped with \ in portable regular
3008         expressions used in grep, sed, expr.  Mention the leading ^ problem
3009         with expr.  Clean up some confusing wording.  Mention which
3010         grep options are portable.
3012 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
3014         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
3016 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
3018         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
3019         patch, noted by Ralf Wildenhues.
3021 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3023         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
3024         posix' unconditionally, for pdksh in `native sh' emulation.
3026 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
3028         * doc/autoconf.texi (Shellology): Document eval $? problem
3029         with ash.
3030         (Limitations of Builtins): Likewise.
3032 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3034         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
3035         CONFIG_SHELL in the environment of the configure rerun.
3036         * doc/autoconf.texi (Here-Documents, config.status Invocation):
3037         Suggest passing CONFIG_SHELL absolute, and in the environment
3038         rather than as option.
3040 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3042         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3043         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
3044         Fix macro quoting.  Fix output for n * 98 substituted variables.
3046 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3048         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
3049         `tmp' to avoid file removal race.
3051 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3053         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
3054         ac_clean_files and LIBOBJS.
3056 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3058         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
3059         Factor functionality to..
3060         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
3061         `AC_SUBST($1)' in the public version.
3062         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
3063         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
3064         ac_pt_* variables.
3066 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
3068         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
3069         filesystems.
3071 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3073         * NEWS: Move AH_HEADER mention to right place.
3075 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
3077         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
3078         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3080 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
3082         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
3083         conftst2.$ac_objext.
3084         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3086 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
3088         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
3089         conftest.o, to see whether the compiler really obeys; rm the object
3090         file before and after the test and register it with ac_clean_files.
3091         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
3093 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
3095         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
3096         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
3097         code so that the most common case requires less forks.
3099 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
3101         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
3102         not portable; thanks to Paul Eggert and Alexandre.
3104         * NEWS: Fix an old typo.
3106 2005-10-20  Jim Meyering  <jim@meyering.net>
3108         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
3109         the latter'', in two places.
3111 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
3113         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
3114         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
3115         the inner workings of AC_LANG_FUNC_LINK_TRY.
3116         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
3117         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
3118         by the function rather than ignoring it.
3119         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
3120         comparing its address.  Intel's interprocedural optimization was
3121         outsmarting the old heuristic.  Problem reported by
3122         Mikulas Patocka.
3124 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
3126         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
3128 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
3130         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
3131         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
3133 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
3135         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
3136         before removing it (chmod -R u+rwx); there are three instances of this.
3138 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3139             Stepan Kasal  <kasal@ucw.cz>
3141         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
3142         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
3143         make its content writable before removing it.  Remove an errorneous
3144         comment from the end, where the logs of the failed tests are copied
3145         to the main log file.
3147 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
3149         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
3150           in case the computer is too quick.  Double quote the configure.ac
3151           snippets.
3153         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
3154           problems if the testsuite were running too fast.
3156 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
3158         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
3159         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
3160         (which belong to Xt, not X itself).  See Debian bug 327655.
3161         * NEWS: Mention this.
3163 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
3165         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
3167 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
3169         * config/move-if-change: Don't output "$2 is unchanged";
3170         suggested by Ben Elliston.  Handle weird characters correctly.
3172 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
3174         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
3175           calls, so that the final expansion of this macro is shorter.
3176           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
3177           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
3178           the cleanup there.  Use AS_VAR_* macros, to be more general.
3179         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
3181         * lib/autoconf/general.m4: Use AS_IF where appropriate.
3183         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
3185 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
3187         * doc/autoconf.texi (Configuration Headers): Add an index entry
3188           for AH_HEADER.
3190 2005-08-26  Pavel Roskin  <proski@gnu.org>
3192         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
3193         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
3194         running xmkmf.
3196 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
3198         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3199         The previous patch didn't work, so try a better one.
3201 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
3203         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
3204         in the example.  Reported by Bruno Haible.
3205         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
3206         "if $undefined_var;" succeeds with my shell.
3208         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
3209         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
3210         but change the m4_divert_text to m4_divert_once.
3212 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
3214         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
3215         Work around bug in Solaris /usr/xpg4/bin/awk.
3216         The bug is present in at least Solaris 8 through 10.
3218 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
3220         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
3221         some evil values and relying on the fact that $* concatenates the
3222         parameters by the first character from IFS.
3224 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
3225             Stepan Kasal  <kasal@ucw.cz>
3227         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
3228         first header appears, define AH_HEADER.
3229         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
3230         Update limitations about when to call AC_CONFIG_HEADERS.
3231         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
3232         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
3233         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
3234         ``Configuration Actions''; fix their index entries.
3236         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
3237         options correctly.  Process N-M as M-N if M is smaller than N.
3238         Process ranges correctly so that N-N will run only N.
3239         Sort and uniquify the tests that will be run.  If there is more
3240         than one test, reinsert the banners for the tests.
3241         * tests/autotest.at (Keywords): Unmark XFAIL.
3243 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
3245         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
3246           before passing the macro name to AH_TEMPLATE.
3248         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
3249           now opens log after option processing; in particular, --version
3250           and --help do not touch config.log.
3252         * Makefile.maint: Revert the change from 2005-08-12.
3254 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
3256         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
3257           common code to...
3258         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
3260 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3262         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
3263         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
3264         Language cleanup.
3266         * doc/autoconf.texi (Defining Symbols, Changed Results):
3267         Prepend to LIBS, not append, in examples.
3269 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
3271         When building in place, set srcdir="."; suggested by Tim Van Holder.
3273         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
3274           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
3275         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
3276         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
3277           does not mean "no --srcdir option".
3279 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3281         * tests/autoscan.at (autoscan): New file.
3282         * tests/suite.at: Use it.
3283         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
3284         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
3286         * tests/autotest.at (Keywords): Test keywords combinations.
3288 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
3290         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
3291           add "2>&1"; gzip 1.2.4 prints help on stderr.
3293 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
3295         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
3296         was pushdef'ed twice while popped only once.  Push it only once.
3297         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
3299 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
3301         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
3302         prefixed by mere "===", not "configure: === ".
3304 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
3306         * Makefile.maint: Update from Bison.
3308         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
3309         "<tab>" in comment, so that the point is understandable.
3311 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
3313         Rewrite substantial part of lib/autoconf/status.m4.
3314         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
3315         and CONFIG_COMMANDS are not processed in four separate loops.
3316         Instead, there is one main loop.  This alows that the common code
3317         is expanded only once, thus config.status (and configure) is smaller.
3319         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
3320         the AC_LIST_FILES and cousins macros are no longer used.
3322         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
3323         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
3324         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
3325         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
3326         contain the initialization, nor the for loop, nor the associated
3327         commands; all these go to ...
3328         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
3329         _AC_OUTPUT_CONFIG_STATUS.
3330         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
3331         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
3332         (_AC_OUTPUT_FILE): The creation of the sed script ...
3333         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
3334         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
3335         _AC_OUTPUT_MAIN_LOOP.
3336         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
3337         _AC_CONFIG_COMMANDS): Use ...
3338         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
3339         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
3340         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
3341         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
3342         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
3343         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
3344         ... new macros.
3345         (_AC_CONFIG_UNIQUE): Update.
3346         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
3347         Replaced by this ...
3348         (_AC_LIST_TAGS): ... new common macro.
3349         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
3350         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
3351         (_AC_LIST_TAG_COMMANDS): ... new common macro.
3352         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
3353         this didn't belong to the `config commands' section.
3354         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
3355         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
3356         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
3357         to the `config commands' section either.
3358         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
3359         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
3361         ... and many changes to the comments nearby.
3363         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
3364         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
3365         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
3366         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
3367         (#define header templates): The comment at the top of the generated
3368         header now includes the name(s) of the source file(s).
3370         Several unrelated small changes:
3372         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
3373         parameter to AC_DIAGNOSE.
3374         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
3375         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
3376         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
3377         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
3378         with AU::AC_OUTPUT.
3379         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
3380         in AC_OUTPUT doesn't double-quote it either.
3381         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
3382         parameters.
3384 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
3386         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
3387         versions of Portland Group compiler produce single- and double-quoted
3388         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
3389         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
3391 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
3393         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
3394         This is a corrected version of yesterday's patch.
3396 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
3398         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
3399         path, too; insert a "===" to emphasize the line.
3401         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
3402           ac_cv_build_alias to ac_build_alias.
3403         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
3405         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
3406         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
3407         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
3408         (AC_ARG_VAR): ... here.
3409         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
3410           target_alias.
3412         Keep a list of all precious variables and process them with one simple
3413         for loop, instead of expanding all commands, or, OTOH, complicated
3414         processing of output of "set".
3415         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
3416         variable names in new macro...
3417         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
3418         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
3419           a loop to assign all ac_env_* and ac_cv_env_* variables.
3420         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
3421           to INIT_PREPARE.
3422         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
3423           its value to shell variable ac_precious_vars and call
3424           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
3425         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
3426           _AC_ARG_VAR_VALIDATE.
3428         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
3429           and the AC_SUBSTs ...
3430         (AC_INIT): ... here.
3432         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
3433           the ac_subst_files section in config.log.
3435         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
3437 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
3439         * NEWS: New macro AC_C_TYPEOF.
3440         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
3441         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
3442         * tests/c.at (C keywords): Test AC_C_TYPEOF.
3444         Fix problems reported by Nicolas Joly.
3445         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
3446         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
3447         They are generated by the Tru64 v5.1B shell.
3449 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
3451         Fix my changes from 2005-07-01; reported by Noah Misch.
3452         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
3453         description, the macro now accepts only a single tag.
3454         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
3456         Fix cases when the varsions of Autoconf and Autotest don't match.
3457         Reported by Noah Misch.
3458         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
3459         at_top_builddir, for compatibility with older autotest.
3460         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
3461         is not set, use at_top_builddir, for compatibility with older
3462         versions of autoconf.
3464 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
3466         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
3467         Problem reported by Patrick Welche.
3469 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
3471         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
3472         sed substitution command, so that we allow | in program prefixes
3473         and program suffixes.  (& is a problem anyway; we're not fixing
3474         that here.)
3475         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
3476         configure_input, top_builddir, srcdir, etc.
3477         * lib/autotest/general.m4 (AT_INIT): Likewise, for
3478         PATH_SEPARATOR in AUTOTEST_PATH.
3480 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
3482         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
3483         for loop over config.site files using `set', to allow
3484         directory names containing IFS characters.
3486 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
3488         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
3489         directories with weird names.  Apparently some people like living
3490         on the edge.  However, improve the test that "pwd" actually does
3491         report a name for the working directory.
3492         * NEWS: Remove the claim that we test for funny chars in dir names.
3494 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
3496         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
3497         replaced ...
3498         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
3499         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
3500         Now accept a single tag, not whitespace separated list.
3501         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
3503 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
3505         * doc/autoconf.texi (Configuration Headers): Change the explanation
3506         about #include <config.h>.
3507         (Generic Functions): Mention the Gnulib project.
3508         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
3510         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
3511         document to output the default config_* lists to config.status.
3512         Don't recognize option --file, if the functionality is not there.
3513         Likewise for --header; moreover, recognize --he and --h as shortcuts
3514         for --help in that case.
3516         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
3517         matches the order of execution.  No code changed.
3519 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3521         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
3522         single-quoted -cmdline argument in Portland Group compiler.
3523         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
3525 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
3527         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
3529 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
3531         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
3532         descriptors to child processes; reported by Norman Gray.
3534 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
3536         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
3538         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
3539         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
3540         (AC_SUBST): Call it.
3541         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
3542         the directory specific variables; but don't call it for configure_input.
3544 2005-06-28  Derek Price  <derek@ximbiot.com>
3546         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
3547         addition.
3549 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
3551         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
3552         directory have inherent problems with special characters like spaces,
3553         due to limitations in Make syntax.  Problem reported by Alexandre
3554         Duret-Lutz.
3555         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
3556         Also, fix Tru64 porting problem with shell patterns,
3557         reported by Ralf Wildenhues.
3559 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3561         * doc/autoconf.texi (Subdirectories): Fix markup typos.
3563 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
3565         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
3567         Fix some more shell quoting problems.  Prompted by a bug report
3568         from Justace Clutter.
3569         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
3570         variable into diagnostic.  Make the diagnostic an error, not a warning,
3571         because we really don't support spaces and suchlike in dir names.
3572         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
3573         Don't worry about backslashes in srcdir; it can't happen now.
3574         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
3575         Simplify ac_optarg handling.
3576         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
3578 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
3580         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
3581         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
3582         * tests/atlocal.in: Propagate $EGREP and $SED.
3583         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
3584         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
3586         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
3587         that '\|' is not allowed in BREs; recommend using newline separated
3588         list of patterns instead of multiple -e options.
3590         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
3592         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
3594 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3596         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
3598 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
3600         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
3601         b, t, r, w commands require single space, while : cannot have any.
3602         (Special Shell Variables): Fix sed code this in the example.
3603         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
3604         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
3606         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
3607         expand to the empty list.  Don't use two pairs of m4_changequote,
3608         it's not necessary.
3610 2005-06-20  Derek Price  <derek@ximbiot.com>
3612         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
3614 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
3616         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
3617         * doc/autoconf.texi:
3618         Don't mention Solaris versions so much, if a
3619         problem is common to all extant versions of Solaris.  Say "SunOS
3620         4" instead of "SunOS" for SunOS 4.
3621         (awk): Mention more of the limitations of traditional Awk.
3622         (cat): Don't talk about cat -v.
3624 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
3626         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
3627         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
3628         but the implementation is entirely different and is designed
3629         to be compatible with glibc strverscmp.
3630         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
3632         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
3633         on Mac OS X 10.4 reported by Peter O'Gorman in:
3634         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
3635         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
3636         Use shell builtins rather than 'expr', to work around expr bug.
3638 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
3640         * doc/autoconf.texi: "filesystem" -> "file system".
3641         "behaviour" -> "behavior".
3642         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
3643         * lib/autoconf/general.m4: Omit blank after ":" sed command,
3644         as per POSIX.
3645         * lib/m4sugar/m4sh.m4: Likewise.
3646         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
3647         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
3649         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
3650         (.x.1): Ignore the time stamp in the .TH line when deciding whether
3651         to update the man page.  That way, we don't have to check in new
3652         man pages every month.
3654         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
3655         quotes and backslashes.  Patch from Derek Price.
3657 2005-06-10  Derek Price  <derek@ximbiot.com>
3659         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
3660         AS_TR_SH.
3662 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
3664         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
3665         -u, since it outputs chatter if the input files are the same.
3666         Problem reported by Ralf Menzel.
3668 2005-06-08  Derek Price  <derek@ximbiot.com>
3670         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
3671         renaming them since they are about to be redefined anyhow.
3673 2005-06-08  Derek Price  <derek@ximbiot.com>
3675         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
3676         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
3677         Move m4_undefine to alphabetical order.
3679 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
3681         * README: Recommend GNU M4 1.4.3 or later.
3682         * doc/autoconf.texi (Introduction): Likewise.
3683         Reword to avoid some formatting glitches.
3684         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
3685         Clarify explanation of HP compiler bug.
3686         Redo example output tp match current CVS snapshot.
3687         Use @example.org in email addresses when the examples
3688         might get inadvertently cut-and-pasted into user code.
3689         Remove example of autom4te usage that doesn't seem to work now.
3690         Use modern AC_INIT (except when the example is meant to be
3691         shown with Autoconf 2.13).
3692         Update ksh info for Solaris 9 and later.
3693         KB -> kB.
3694         Modernize description of Automake versions a bit.
3695         Don't claim a future version of Autoconf is near.
3696         * doc/install.texi: Reword to avoid some formatting glitches.
3698 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3700         * doc/autoconf.texi: Add [] to examples, so that the manual
3701         follows its own advice about quoting better.
3702         Reword to avoid some formatting glitches.
3703         * doc/installt.exi: Reword to avoid some formatting glitches.
3705         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
3706         Tru64 ksh pattern matching bug.  Reported against Libtool by
3707         Albert Chin <libtool@mlists.thewrittenword.com> and
3708         Nicolas Joly <njoly@pasteur.fr>.
3710 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
3712         m4_cdr of one-member list was [[]] (one-member list containing an
3713         empty string) instead of [] (an empty list.  Callers were skewed to
3714         match this misbehaviour.  As a consequence of this:
3715          - m4_foreach([x], [], [foo]) expanded to `foo', while
3716          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
3717         This bug has been fixed:
3719         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
3720           expand to an empty string; print error msg if called without
3721           an argument list.
3722         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
3723           misbehaviour; handle [] and [[]] correctly.
3725 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
3727         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
3728         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
3729           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
3731 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
3733         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
3734           swallow records with more than 99 fields.
3735         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
3736           parse the long line.
3738 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
3740         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
3741           swallow literals longer than 399.  Reported by Ralf Wildenhues.
3742         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
3743           to workaround this limitation.
3745 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
3747         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
3748         to gfortran, and make these the first two compiler names
3749         checked (following the general autoconf preference for gcc).
3751 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
3753         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
3754         (DISTCLEANFILES): Remove $(check_SCRIPTS).
3755         (testsuite): Make sure autotest.m4f is up-to-date before using it.
3757 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
3759         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
3760         expression of unbounded size when processing the --list
3761         option.  This runs afoul of a limit of 399 bytes per regular
3762         expression on AIX.  Problem reported by Ralf Wildenhues.
3764 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
3766         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
3767         * doc/autoconf.texi (Particular Headers): Reword example
3768         for multiline stdbool replacement.
3769         (Setting Output Variables): Reword text a bit.  Don't
3770         give all the details about |#_!!_#|.
3771         Reword description of line replacement.
3773 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
3775         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
3776         now contain newlines, and substituted files must be referenced on
3777         a line alone; the sed scripts to substitute them are now very
3778         different.
3779         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
3780         commands can be put in a sed script portably.
3781         * doc/autoconf.texi (Setting Output Variables): Document above
3782         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
3783         use of multiline substitution.
3784         * tests/torture.at: No longer expect substitution of newline to fail.
3786 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
3788         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
3789         From Ralf Menzel (trivial change).
3791 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
3793         * tests/local.at: Don't attempt to check for negated character
3794         classes in shell scripts.  The test was too brittle.
3796 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
3798         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
3799         * doc/autoconf.texi (Limitations of Builtins): Document this
3800           limitation.
3802 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
3804         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
3805           common code; used in many places in the tree.
3806         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
3807         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
3809         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
3811         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
3812           messages when ac_unique_file is not found.
3813         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
3814         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
3815           commands, for consistency with AC_MSG_ERROR and such.
3817         * bin/autoconf.as: Make more use of "shift 2" in option processing.
3819         * bin/Makefile.am: Merge the two rules for creating scripts.
3821 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
3823         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
3824         obsolete; it was never documented.
3825         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
3827 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
3829         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
3830         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
3831         (ac_top_builddir): ... this ...
3832         (ac_top_build_prefix): ... to this; the old name is also kept, for
3833           backward compatibility.
3834         (ac_top_builddir_sub): New variable, without the trailing slash,
3835           always nonempty.
3836         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
3837         * doc/autoconf.texi (Configuration Actions): Rename
3838           ac_top_builddir to ac_top_build_prefix.
3839         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
3840           at_top_builddir to at_top_build_prefix.
3841         * lib/autotest/general.m4 (AT_INIT): Likewise.
3843 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
3845         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
3846           of confdefs.h .
3848 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
3850         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
3851           argument to m4_foreach.  I guess it was necessary in the past,
3852           but I think it's a no-op now.
3854 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
3856         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
3857           ``cat <<_ACEOF'' commands to one.
3858         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
3859         * lib/autoconf/status.m4: On various places, use expr instead of
3860           ``echo|sed.''
3861         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
3862         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
3863         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
3864           a range.
3865         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
3866           the wrong patterns between ``case'' and ``esac.''  The previous
3867           code had false positives.
3869 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
3871         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
3872         as on 2005-05-02.
3873         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
3874         Mention LIBOBJDIR.
3876 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
3878         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
3879         ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
3880         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
3881         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
3882         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
3883         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
3884         config/config.guess, config/config.sub, config/elisp-comp,
3885         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
3886         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
3887         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
3888         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
3889         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
3890         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
3891         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
3892         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
3893         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
3894         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
3895         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
3896         lib/autoconf/general.m4, lib/autoconf/headers.m4,
3897         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3898         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
3899         lib/autoconf/specific.m4, lib/autoconf/status.m4,
3900         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
3901         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
3902         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
3903         lib/autotest/general.m4, lib/emacs/Makefile.am,
3904         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
3905         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
3906         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
3907         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
3908         tests/compile.at, tests/foreign.at, tests/fortran.at,
3909         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
3910         tests/semantics.at, tests/suite.at, tests/tools.at,
3911         tests/torture.at, tests/wrapper.as:
3912         Update FSF postal mail address.
3914 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
3916         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
3917           check.
3918         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
3919           enough arguments, similarly as in m4_bpatsubsts.
3921 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
3923         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
3924           of absolute paths.
3926 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
3928         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
3929           for absolute directory names in one loop.
3930         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
3931           abbreviations of --version and --debug.
3933 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3935         * doc/autoconf.texi (Autoconf Language): Be more precise about
3936         quoting rules.  Problems noted by Stepan Kasal.
3937         Also, throughout this document, be more careful about white space.
3938         "blank", "white space", and "space" all have different meanings
3939         and we should be careful to say what we mean.
3941 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
3943         Fix C++ related problems reported by Werner Lemberg.
3944         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
3945         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
3946         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
3947         avoid problems with C++ and throw.
3948         * tests/compile.at: .cpp, not .cc.
3950         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
3952 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3954         * doc/autoconf.texi (Generic Functions): Typos.
3956 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
3958         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
3959         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
3960         set by latest automake.
3962 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
3964         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
3965         outputs 0 on GNU/Linux these days.
3967 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
3969         * doc/autoconf.texi (Autoconf Language): Add more description
3970         about quoting heuristics.
3971         (Limitations of Builtins): Describe "set -" problems.
3973 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3975         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
3976         not newline.
3978         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
3979         by AC_DEFINE; it was a mistake.
3980         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
3982 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
3984         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
3986 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
3988         * doc/autoconf.texi (External Software): Quadrigraphs are not
3989           processed correctly in AS_HELP_STRING; avoid this in the examples.
3990         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
3991         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
3992           comment and reduce m4_default([foo], []) to [foo].
3993         (m4_strip): Update the explanation.
3995 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3997         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
3998         Remove core.conftest.* too; it's generated by Tru64 5.1.
3999         Problem reported by Jennis Pruett.
4000         * lib/autoconf/functions.m4
4001         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4002         Don't bother to remove core files; AC_RUN_IFELSE should do that
4003         for you.
4005 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
4007         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
4009 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
4011         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
4012         Report from Horst Wente.
4014 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
4016         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
4017           the comment.
4019 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
4021         * doc/autoconf.texi (External Software, Package Options): Add
4022           examples showing how to implement --with-* and --enable-* options.
4024 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
4026         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
4027         as well as configure.in.  Problem reported by Gregorio Guidi.
4029 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
4031         * doc/autoconf.texi (Particular Functions): Use gnulib's current
4032         pattern for alloca snippet.
4034 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
4036         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
4038 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
4040         * doc/autoconf.texi (Generic Programs): Fix a typo.
4042 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
4044         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
4045         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
4047 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4049         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
4050         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
4051         whole-archive (-zallextract, -zdefaultextract) options in the hope of
4052         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
4053         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
4055 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
4057         * NEWS: The configure command now warns you if you attempt to use
4058         a directory whose name contains a special character like space,
4059         newline, or "\".
4060         * doc/autoconf.texi (Installation Directory Variables): Allow
4061         "," in file names.  Do not use \@; it's not a portable regexp.
4062         * bin/Makefile.am (edit): Likewise.
4063         * lib/Makefile.am (edit): Likewise.
4064         * tests/Makefile.am (edit): Likewise.
4065         * tests/semantics.at: Likewise.
4066         * tests/torture.at: Likewise.
4067         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
4068         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
4069         * doc/autoconf.texi (File System Conventions): Warn about
4070         unportable file names.
4071         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
4072         (AC_INIT): Use it.
4073         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
4074         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
4075         ac_pwd, and quote srcdir.
4076         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
4078         * doc/autoconf.texi: Fix some systematic formatting problems.
4079         ".)"  needs a following @: if not at the end of a sentence, and
4080         similarly for "!)".  "etc." should be preceded by a comma.
4081         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
4083 2005-03-22  Bruno Haible  <bruno@clisp.org>
4085         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
4086         argument is often called 'build-aux'.
4088 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
4090         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
4091           macro AC_TRY_LINK is obsolete.
4092         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
4093           `AC_CONFIG_FILES'.
4095 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
4097         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
4098           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
4099           from a Common Lisp's `cl'.
4100         (AC_PROG_CXX): Behave according to the documentation: don't
4101           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
4102           make the variable CCC precious; use `cl.exe', not `cl'.
4104 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
4105             Alexandre Duret-Lutz  <adl@gnu.org>
4107         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
4108         /dev/null, as "configure" shouldn't read stdin, and this insulates
4109         us from problems (e.g., when testing for "cl").  Also, do this
4110         redirection before invoking "hostname" or "uname", and keep the
4111         original input stream available via...
4112         (AS_ORIGINAL_STDIN_FD): ... this new macro.
4113         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
4114         bother with "</dev/null" since it's now done at the top of
4115         'configure'.
4116         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
4117         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4118         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4119         * doc/autoconf.texi (File Descriptor Macros): New section.
4120         (Printing Messages): Mention it.
4121         * tests/base.at (Input/Output): New test.
4123 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
4125         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
4126         newline if neither \c nor -n work, as that would output two
4127         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
4129 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
4131         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
4132         This causes that any required macros inside will get before the if.
4133         * doc/autoconf.texi (autom4te.cache): A typo.
4135 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
4137         Undo previous change, except keep the change to
4138         lib/autoconf/programs.m4 that replaced grep with shell
4139         pattern-matching.  This is because net-snmp configure reads stdin.
4140         Reported by Noah Misch.
4142 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
4144         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
4145         from /dev/null, as "configure" shouldn't read stdin, and this
4146         insulates us from problems (e.g., when testing for "cl").
4147         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
4148         before invoking "hostname" or "uname".
4149         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4150         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
4151         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
4152         "</dev/null" since it's now done at the top of 'configure'.
4153         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4154         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
4155         Also, replace grep with shell pattern-matching, to save a process.
4157 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
4159         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
4160         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
4161         avoid thinking that Allegro Common Lisp's "cl" command is a C++
4162         compiler.
4164 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4166         * doc/autoconf.texi (Limitations of Usual Tools): Document that
4167         grep -q isn't portable.  Improve grep -s explanation.
4168         Problem reported by Dan Manthey.
4170 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
4172         * doc/autoconf.texi (Special Shell Variables): Clarify
4173         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
4175 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4177         * doc/autoconf.texi: Use @acronym for DJGPP.
4178         Fix some @code's that should have been @env's, and vice versa.
4179         Sort environment variable names.
4180         Mention that shells no longer inherit IFS.
4181         Don't recommend PATH_SEPARATOR=';' so strongly.
4182         Mention that $RANDOM might expand to the empty string.
4183         "symlink" and "soft link" -> "symbolic link".
4184         Improve mktemp description (reported by Bruno Haible).
4186 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
4188         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
4189         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
4190         Likewise.
4191         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
4192         Likewise.
4194 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
4196         * NEWS: Mention AT_COPYRIGHT.
4198         * tests/local.at (AT_CMP): Use diff directly on input files rather
4199         than copying them.
4201         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
4202         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
4204 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
4205         and Paul Eggert  <eggert@cs.ucla.edu>
4207         * tests/autotest.at (Empty test suite): New test.
4208         * tests/torture.at (Substitute and define special characters)
4209         (Substitute a 2000-byte string, Define to a 2000-byte string)
4210         (Substitute a newline, Define a newline): New tests.
4212 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
4214         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
4215         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
4216         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
4217         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
4218         (Standard regular expressions): New test.
4219         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
4220         excess test name quoting.
4221         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
4222         CPPFLAGS to `configure' instead of setting it in `configure'.
4224         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
4225         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
4226         on some platforms.
4228         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
4229         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
4231         * tests/local.at (AT_CMP): New macro.
4232         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
4233         (AC_SAVE_STATE): Move environment grep...
4234         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
4235         (AT_CONFIG_CMP): New macro.
4236         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
4237         * tests/c.at (Extensions): Do not exit early.
4238         * tests/atlocal.in: Inherit $GREP.
4240         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
4241         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
4243         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
4244         (AC_COPYRIGHT): Factor header comment portion out and move into...
4245         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
4246         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
4247         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
4248         --version output.
4249         * tests/local.at: Add Autoconf test suite copyright notice.
4250         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
4252 2005-02-04  Bruno Haible  <bruno@clisp.org>
4253         and Paul Eggert  <eggert@cs.ucla.edu>
4255         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
4257 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
4259         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
4260         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
4262         Try not to generated lines of unlimited length, as POSIX places a
4263         2047-byte limit on line length of portable text files.
4264         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
4265         Use newline as a separator, not space.
4266         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
4267         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
4268         space.
4270 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4272         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
4273         as_func_*.  Add test to check whether positional parameters
4274         are restored after function return.
4276 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
4278         * doc/autoconf.texi (Special Shell Variables): Mention _,
4279         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
4280         if they contain a lower-case letter.  The DUALCASE problem was
4281         reported by Ralf Wildenhues.
4283         * bin/autoconf.as: Don't exit with status 0 after write failure
4284         with --help or --version.
4285         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
4286         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
4288 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4290         * doc/autoconf.texi (Limitations of Usual Tools):
4291         Unicos 9 sed limitations.
4292         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
4293         to get the option-enhanced interface on older Crays.  Try ftn for
4294         Fortran 95 (newer Crays).
4296 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
4298         * man/Makefile.am (.x.1): Go back to the simple solution, but take
4299         care to echo the commands, so the user knows what's going on.
4300         Modified from a suggestion by Stepan Kasal.
4302         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
4303         with a cross reference.  Derived from a suggestion by Bruce Korb.
4305 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
4307         * doc/autoconf.texi (config.status Invocation): Warn about
4308         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
4309         * doc/install.texi (Defining Variables): Likewise.
4310         Based on a proposed patch by Ralf Wildenhues.
4312         * man/Makefile.am (.x.1): Make sure the required generated files
4313         are up to date.  Problem and original solution proposed by Stepan Kasal.
4314         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
4315         implicit-man-prerequisites): New rules, used by the above.
4317         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
4318         * config/config.guess, config/config.sub, config/install-sh: Likewise.
4319         * config/missing, config/texinfo.tex: Likewise.
4321 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
4323         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
4324         Update the long comment explaining it.
4326         m4_require no longer writes an ``is required by'' line to the
4327         execution stack.  It contains only one bit of non-redundant
4328         information: that the macro was required, not called.  And even
4329         this bit is useless in most situations: have you ever met a macro
4330         which both calls and requires the same macro?
4332         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
4333         (_m4_defun_pro_outer): ... only via this macro, for the outermost
4334           macro.
4335         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
4336         (m4_expansion_stack_pop): Remove the misplaced comment.
4337         (m4_require): Don't put the ``is required by'' line to the
4338           execution stack; slightly improve the out-of-a-defun error message.
4339         (_m4_divert_grow): New macro, counter for the temporary diversions.
4340         (_m4_require_call): Use it.
4341         * tests/m4sugar.at (m4_require): Expect output without the
4342           ``is required by'' messages.
4344 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
4346         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
4347         rather than x for expr.
4349         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
4350         this is safe.
4351         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
4352         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4353         * lib/autotest/general.m4 (AT_INIT): Likewise.
4354         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
4355         * tests/mktests.sh: Likewise.
4357 2005-01-27  Akim Demaille  <akim@epita.fr>
4359         Have autoheader honor --force.
4361         * doc/make-stds.texi, doc/standards.texi: Update from masters.
4362         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
4363         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
4364         from masters, so that FileUtils.pm's update_file provide --force
4365         support.
4366         * bin/autoheader.in: Pass $force to update_file so that
4367         config.h.in is always recreated when --force.
4369 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
4371         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
4373 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
4375         * doc/autoconf.texi (Limitations of Builtins): Clarify that
4376         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
4378 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
4380         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
4381         Warn about newline stripping in `` and $().  Update Solaris
4382         version to 9.
4383         (Limitations of Builtins): Use expr "X...", not expr "x...", as
4384         X insulates us from future changes to Posix.
4385         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
4386         stripping.
4388 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
4390         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
4391           you cannot use AC_DEFINE to define macros containing `[' or `]'.
4393 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
4395         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
4396         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
4397         bug-tar mailing list.
4399 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
4401         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
4403 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
4405         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
4406         ulongval to be static, to avoid unwanted GCC warning.  Problem
4407         reported by Michael Jennings via Daniel Reed; see
4408         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
4410 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
4412         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
4413         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
4414         datadir, infodir, and mandir.  Adjust argument parsing code.
4415         (_AC_INIT_HELP): Update help text.
4416         * doc/autoconf.texi (Installation Directory Variables): Document
4417         new variables.
4419 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
4421         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
4422         not seem to work, assume it does set $(MAKE).
4423         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
4425 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
4427         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
4429 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
4431         A cleanup of the diversion support in m4sugar.
4433         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
4434         (_m4_divert_n_stack): New macro; the expansion is
4435           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
4436           otherwise.
4437         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
4438         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
4439           stored in _m4_divert_diversion or _m4_divert_dump.
4440         (m4_divert_pop): When the parameter is given, compare the symbolic
4441           name with the last diversion pushed on the stack.  Previously, the
4442           current diversion was compared with the numeric value of the
4443           diversion given as the parameter.
4444         (m4_require): If the macro hasn't been expanded yet, call ...
4445         (_m4_require_call): this new macro.
4447 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4449         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
4450         Workarounds for documented `case' limitations.
4452 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
4454         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
4455         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
4457 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
4459         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
4460         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
4461         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
4463         Patch from Roger Leigh (with some minor changes) as follows:
4464         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
4465         Resurrect AC_PROG_CC_STDC.
4466         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
4467         AC_PROG_CC_C89, AC_PROG_CC_C99.
4468         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
4469         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
4470         AC_PROG_CC_C99): New macros.
4471         (AC_PROG_CC_STDC): Use them.
4472         (_AC_PROG_CC_STDC): Remove.
4473         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
4474         * THANKS: Add Roger Leigh.
4476 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
4478         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
4479         signals that the package uses Automake; a `Makefile.am' is typical but
4480         not essential.  Reported by Magnus Therning.
4481         * tests/torture.at (autoreconf.): New banner.
4482         (autoreconf and non-AC configure): Rename to `Non-Autoconf
4483         AC_CONFIG_SUBDIRS'.
4484         (autoreconf an empty directory): Rename to `Empty directory'.
4485         (Unusual Automake input files): New test.
4487 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
4489         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
4490         (AT_SETUP): Clear AT_capture_files.
4491         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
4492         (AT_KEYWORDS): Fix comment typo.
4493         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
4494         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
4495         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
4497 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
4499         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
4500         If the variable to set is already set, set ac_cv_path_$1
4501         to the preset value so caller can assume ac_cv_path_$1
4502         is available.  (trivial change)
4504 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
4506         * BUGS (Minor Problems): Warn about makefile limitations.
4507         * Makefile.am: Find and update `INSTALL' in $(srcdir).
4508         * man/Makefile.am: Find and update manual pages in $(srcdir).
4510 2004-12-24  Eric Blake  <ebb9@byu.net>
4512         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
4513         shells in subshell, to avoid noise from ash.  (trivial change)
4515 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4517         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
4518         problems with SunOS ksh and backslash escaping, Bourne shells and
4519         closing brackets (both within character classes).  Bug reported
4520         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
4521         <read>: New entry.  Mention non-availability of -r.
4523 2004-12-21  Akim Demaille  <akim@epita.fr>
4525         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
4526         avoid cluttering displayed messages.  Rather, prepend srcdir where
4527         AT_LINE is used for log files.
4529 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
4531         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
4532         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
4533           no longer part of the macro, quote the occurrence of ``$tmp''.
4534         * doc/autoconf.texi (Forbidden Patterns): Typo.
4536 2004-12-21  Akim Demaille  <akim@epita.fr>
4538         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
4539         separated from the test title by forcing a white space.
4541 2004-12-21  Akim Demaille  <akim@epita.fr>
4543         Enable Emacs navigation within testsuite.log files.
4545         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
4546         use the compilation mode.
4547         (AT_LINE): Point to the srcdir.
4549 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
4551         * tests/Makefile.am (installcheck-local): Use $(bindir).
4552         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
4553         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
4554         Makefile.am scheme Autoconf now uses.
4556 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
4558         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
4559         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
4561 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
4563         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
4564         (_AT_CHECK): Use it.
4565         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
4566         (AS_ESCAPE): Fix comment.
4567         * tests/autotest.at: Adjust section banner comments.
4568         (AT_CHECK_AT): Accept STATUS and STDERR.
4569         (AT_CHECK_AT_TEST): Likewise.
4570         (Invalid brace-enclosed parameter expansion)
4571         (Multiline command from M4 expansion)
4572         (Double-M4-quoted command): New tests.
4574 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
4576         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
4578 2004-12-17  Akim Demaille  <akim@epita.fr>
4580         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
4581         m4_pattern_allow.
4582         Suggested by Alexandre Duret-Lutz.
4583         * doc/autoconf.texi (Setting Output Variables): Catch up.
4585 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
4587         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
4589 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
4591         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
4592           remove the comment which said we cannot.
4594 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
4596         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
4597         Reini Urban and Paul Eggert for reporting the dependencies.
4599         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
4600         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
4601         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
4603 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
4605         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
4606           so that eg. ``autoscan --help'' doesn't truncate it.
4608 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
4610         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
4611         generated conftest files.
4613 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
4615         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
4616         tracing on commands with possibly-escaped newlines.
4617         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
4618         discontinued behavior and its implications.
4619         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
4620         (BSx641-newline in command, BS-BS-newline in command)
4621         (BSx640-newline in command, Newline-CODE-BS-newline in command)
4622         (Single-quote-BS-newline in command)
4623         (Single-quote-newline-BS-newline in command): New tests.
4625 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
4627         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
4628           on platforms where it works.
4629         (_AS_TEST_PREPARE): Test for ``test -x''.
4630         (_AS_BROKEN_TEST_PREPARE): Nuke.
4632 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
4634         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
4635         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
4636           give only 4-letter prefix to AS_TMPDIR, comment fixed.
4637         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
4638           create the temporary directory.
4639         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
4641 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
4643         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
4644         (trivial change)
4646 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
4648         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
4650 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
4652         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
4653         to avoid using a negated character class.  Reported by Nicolas Joly.
4654         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
4656 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4658         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
4659         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
4660         Don't depend on .x file explicitly, since "make" does that for us.
4661         Suggested by Stepan Kasal.
4663         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
4664         Add *.tmp.
4665         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
4666         ifnames): Factor common code.  And they said it couldn't be done!
4668 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
4670         * bin/.cvsignore: Add autoconf.in.
4671         * tests/.cvsignore: Add wrapper.in.
4672         * lib/autotest/general.m4: Escape '$' in case pattern.
4674 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
4676         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
4678         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
4680         * tests/autotest.at: New file.
4681         * tests/suite.at: Include it.
4682         * tests/Makefile.am: Distribute it.
4684         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
4685           shell tracing on a command that could contain multiple lines.
4686         * doc/autoconf.text: Document that fact and its implications.
4687         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
4688         * tests/autotest.at (Multiline backquote command substitution,
4689           Multiline parameter expansion, Literal multiline command,
4690           Multiline parenthetical command substitution): Remove XFAIL.
4692 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
4694         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
4695         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
4697 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
4699         * configure.ac (test suite): Cease to generate wrapper scripts.
4700         * configure: Regenerate.
4701         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
4702         (m4f_dependencies): Adjust accordingly.
4703         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
4704         (wrapper.in): Generate it in the build directory.
4705         (MAINTAINERCLEANFILES): Delete wrapper.in.
4706         (CLEANFILES): Add wrapper.in.
4707         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
4708         the output.  Replace each $as_me with a @wrap_program@.
4709         * tests/wrapper.in: Delete it; we always build it.
4711         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
4712         (EXTRA_DIST): Remove autoconf.in.
4713         (CLEANFILES): Add autoconf.in.
4714         (autoconf): Find autoconf.in in the build directory.
4715         * bin/autoconf.in: Delete it; we always build it.
4717 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
4719         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
4720         PATH members so as to not prepend an empty element.  Move a comment.
4721         * Makefile.am (SUBDIRS): Build in `tests' last.
4722         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
4724 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
4726         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
4727         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
4728         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
4729         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
4731 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
4733         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
4734         patch: extra "-l"s.
4736 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
4738         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
4739         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
4740         * doc/autoconf.texi (Particular Functions): Mention new behavior.
4742 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
4744         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
4745           out the common code to ...
4746         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
4747           value of the #define--default to 1, iff the macro was called
4748           with exactly one parameter.
4750 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
4752         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
4753         "char c = '\200';" rather than "char c = 0x80;" as the
4754         latter doesn't conform to the strict C standard due to
4755         overflow on signed char hosts.
4757         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
4758         to -qlanglvl=ansi.  We don't want to disable extensions.
4760 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
4762         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
4763         (Using Autotest, testsuite Scripts, Writing testsuite.at):
4764         Reword slightly to avoid some English-language problems noted
4765         by Ralf Wildenhues in:
4766         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
4768 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
4770         * NEWS: Add ^L above each release.
4772 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
4774         Fix documentation problems reported by Russ Boylan in
4775         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
4776         along with some nearby cruft.
4777         * doc/autoconf.texi (Libtool): Libtool can be used without
4778         Automake (not without Autoconf).
4779         (Introduction): Mention lists.gnu.org.
4780         * BUGS: Don't mention bugs.gnu.org.
4781         Remove mention of ancient libtool compatibility problem.
4782         * NEWS: Mention that bugs.gnu.org is kaput.
4783         * README: Likewise.  Mention where mailing list archives can be found.
4785 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
4787         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
4789 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
4791         * doc/autoconf.texi (Pretty Help Strings): Go back to
4792         single-quoting assignments to cache variables.
4794 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
4796         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
4797         with the examples; fix the bug in MY_ARG_WITH example reported
4798         by Alexandre Duret-Lutz.
4799         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
4800         expansion of $1 in the comment emitted to configure.
4802 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
4804         * doc/autoconf.texi (Pretty Help Strings): Fix typo
4805         in my editing of the previous patch.  Problem reported
4806         by Alexandre Duret-Lutz.
4808 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
4810         * doc/autoconf.texi (Autoconf Language): Explain that
4811         ``descriptions'' may not be double quotes.
4812         (Quotation Rule Of Thumb): Likewise.
4813         (Pretty Help Strings): Likewise; remove the wrong comment;
4814         simplify the examples and improve their quoting.
4816 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
4818         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
4819         the $1_found variable, don't test whether the file is executable;
4820         Both things are checked ...
4821         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
4822         the former ``test -f''.
4823         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
4825 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
4827         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
4828         use cp -R instead.
4830 2004-11-10  Derek R. Price  <derek@ximbiot.com>
4832         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
4833         limitations.  Reorder paragraphs for clarity.
4835 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
4837         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
4838         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
4839         variants", "Unix", and some related minor wording fixups.
4841         (Shellology, Special Shell Variables): Document that the Zsh
4842         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
4843         to Alexandre Duret-Lutz for this info.
4845 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
4847         * doc/autoconf.texi (One-Shot Macros): New node.
4849 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
4851         * doc/autoconf.texi (Function Portability): Fix misdescription
4852         of putenv.  Problem reported by Michael Wardle.
4854 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
4856         * doc/autoconf.texi (auindex): New macro.
4857         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
4858         Problem reported by Stepan Kasal.
4860 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
4862         Fix problems reported by Andreas Buening in:
4863         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
4864         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
4865         in test makefile.
4866         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
4867         readable; it's not true in OS/2-emx.
4869 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
4871         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
4872         "/usr/include", clear ac_x_includes instead of leaving it as "no"
4873         (trivial change).  Problem and patch reported by Andrew Church in:
4874         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
4876 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
4878         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
4879         three args in examples.  Problem reported by Frederik Fouvry in:
4880         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
4881         Also, fix some minor spacing and punctuation bugs.
4883 2004-09-02  Akim Demaille  <akim@epita.fr>
4885         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
4886         "case" to restore ordering.
4887         Reported by Stepan Kasal.
4889 2004-08-26  Akim Demaille  <akim@epita.fr>
4891         * doc/autoconf.texi: Minor typos and stylos.
4893 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
4895         * configure.ac (AC_INIT): Bump to 2.59c.
4897 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
4899         Version 2.59b.
4901         * README: Add advice about m4 1.4.2.
4903         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
4904         texinfo.tex for now (done by hand now).
4905         * Makefile.maint (wget_files, cvs_files):
4906         Remove ansi2knr.c; nobody uses it.
4907         (ansi2knr.c-url_prefix): Remove.
4908         (cvs-update): Fix test for failure.  I don't know why it ever
4909         worked...
4911         * doc/autoconf.texi: Update URLs, some of which went stale.
4912         Use @uref rather than @href.
4914         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
4915         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
4917         * config/config.guess, config/config.sub, config/elisp-comp,
4918         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
4919         doc/fdl.texi, doc/standards.texi: Sync with master copy.
4921         * NEWS, TODO, configure.ac, bin/autoscan.in,
4922         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
4923         doc/install.texi, lib/Autom4te/Configure_ac.pm,
4924         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
4925         lib/autoconf/programs.m4, lib/autoconf/status.m4,
4926         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
4927         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
4928         tests/tools.at, tests/torture.at:
4929         Use "file name" rather than "filename" or "path",
4930         to be consistent with the terminology of the GNU coding standards.
4932 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
4934         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
4935         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
4936         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
4937         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
4939         More fixes to support spaces in the name of the build directory.
4940         This isn't a complete fix but it's an improvement.
4942         * bin/autoconf.as (autom4te_options): New var.
4943         Use it instead of appending to AUTOM4TE, so that we can allow
4944         spaces in the build directory's absolute name.
4945         * bin/autoheader.in ($autoconf): Allow spaces in file names.
4946         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
4947         AT_CHECK_NOESCAPE): Likewise.
4948         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
4949         main program): Likewise.
4951 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
4953         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
4954         From Ralf Corsepius in:
4955         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
4957 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
4959         * doc/autoconf.texi (Function Portability): Document isinf and
4960         and isnan.  From a suggestion by Kevin Ryde.
4962         * lib/Autom4te/General.pm (END): Return correct exit status even
4963         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
4965 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
4967         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
4968         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
4969         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
4971 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
4973         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
4974         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
4975         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
4976         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
4977         * lib/autom4te.in (Automake-preselections): Preselect
4978         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
4980 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
4982         * lib/autom4te.in (Automake-preselections): Preselect
4983         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
4984         trace them.
4986 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
4988         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
4989         Tru64.
4990         * doc/autoconf.texi (Shellology): Mention BIN_SH.
4991         Document problem with "`""`" in pdksh POSIX mode.
4993 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
4995         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
4996         with pdksh, too.  Problem reported by Patrick Welche via
4997         Gary V. Vaughan.
4998         * doc/autoconf.texi (Shellology): Note that set -o posix is
4999         useful for pkdsh, too.
5001 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
5003         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
5004         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
5005         Don't fail if ENV or BASH_ENV is readonly.
5006         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
5007         etc. are read only.  Problem reported by Ludovic Courtes.
5009 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
5011         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
5012         zsh, disable GLOB_SUBST to avoid backslash handling problems.
5013         (trivial change)
5015 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
5017         * doc/autoconf.texi (File System Conventions): Warn about
5018         names like "aux".  Problem reported by Eric Blake.
5020         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
5021         by zero instead of array size, so that we can use any arithmetic
5022         constant expression (instead of requiring an integer constant
5023         expression).  This allows us to test expressions like DBL_MAX <
5024         LDBL_MAX, which didn't conform to the C standard using the old
5025         method.
5026         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
5027         now that we can do floating-point tests at compile time.
5029 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
5031         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
5032         and LDBL_EPSILON, as the resulting expression isn't an
5033         integer constant expression and violates the C standard.
5034         Problem reported by Nelson H. F. Beebe.  Also, check
5035         for "L" suffix, and check that long double doesn't have
5036         worse range or precision than double, that mixed-mode
5037         arithmetic doesn't generate a diagnostic, that double
5038         constants fit in long double.
5040 2004-06-03  Kevin Ryde  <user42@zip.com.au>
5042         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
5043         malloc(0) and realloc(NULL,size).
5045         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
5046         Bob Proulx.
5048 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
5050         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
5051         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
5052         by Jim Meyering.
5054 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
5056         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
5057         can be rewritten using if-then-else.  Suggested by Bruno Haible.
5059 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
5061         * doc/autoconf.texi (testsuite Scripts): Fix typo.
5062         Problem reported by Stepan Kasal.
5064 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
5066         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
5067         change).  Patch reported by Ralf Wildenhues in
5068         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
5070         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
5071         function F exists if the compiler and linker let you compile an
5072         expression like (F != 0).  Recent versions of GCC optimize away
5073         the reference to F in that case, since every function address must
5074         be nonzero, so the link succeeds even if F does not exist.
5075         Problem reported by Manu in
5076         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
5078         * doc/autoconf.texi (Systemology): Standardize on the spelling of
5079         "Unix".  Many uses changed.
5080         (Limitations of Builtins): Explain better why the ! command isn't
5081         portable.
5083 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
5085         * lib/autom4te.in (Automake-preselections): Preselect
5086         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
5088 2004-05-19  Kevin Ryde  <user42@zip.com.au>
5090         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
5091         referencing AC_FUNC_STRERROR_R.
5093         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
5094         note pessimistic assumption when cross compiling.
5096 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
5098         * doc/autoconf.texi (Limitations of Make): Note that BSD make
5099         (until 2004) invoked subcommands with sh -e, contra POSIX.
5100         Reported by Kevin Ryde.
5102 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
5104         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
5105         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
5106         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
5107         `test -f "        /usr/bin/grep"', which _always_ failed.
5108         (AC_PROG_SED): Ditto bogus PATH fix.
5109         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
5110         requires that grep correctly supports _multiple_ `-e' options, rather
5111         than stating only that grep should accept `-e'.
5113 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
5115         Port to C99, which requires that 'exit' be declared.
5117         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
5118         to ensure that stdlib.h is included.
5119         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
5120         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
5121         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
5122         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
5123         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
5124         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
5125         when using 'exit' in a test; C99 requires that 'exit' be declared.
5127 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
5129         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
5130         now prefers 'grep' implementations that accept -e.
5131         (Limitations of Usual Tools): Describe problems of traditional
5132         egrep and fgrep with long input lines, and of traditional grep
5133         with -e.
5134         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
5135         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
5136         All callers changed.  Append /usr/xpg4/bin to the PATH, for
5137         Solaris.
5138         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
5139         the user with complaints about multiple -e options.
5140         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
5141         Define it with AC_PROG_GREP.
5142         * configure.ac (AC_PROG_GREP): Add.
5143         * lib/freeze.mk (GREP): New macro.
5145 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
5147         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
5148         a possible candidate only after all others fail, rather than
5149         consulting it first.  This improves backward compatibility by
5150         better reflecting the way shell selection occurred in previous
5151         versions of Autoconf, and should help to avoid triggering latent
5152         problems in other packages, such as the one in Automake where zsh
5153         is not handled robustly:
5154         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
5155         Although it is not Autoconf's responsibility to work around
5156         problems in Automake, it nevertheless makes sense to avoid
5157         introducing unnecessary incompatibilites.
5159 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
5160             Gary V. Vaughan  <gary@gnu.org>
5162         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
5163         how deeply nested we are when a suitable tool is found, set the
5164         ac_path_TOOL_found flag.
5165         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
5166         nested we are in this macro.  Break out of all 3 nested loops if
5167         ac_path_TOOL_found is set.
5169 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
5171         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
5172         of the _AS_PATH_WALK loop too if GNU flavor is found.
5174 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
5176         * doc/autoconf.texi (Limitations of Make): Update documentation
5177         for `$<'.  New entry `Long lines', based on a report from Simon
5178         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
5179         paragraph about DJGPP, based on a mail from Richard Dawe.
5181 2004-04-20  Paul Eggert  <eggert@twinsun.com>
5183         * tests/c.at (C keywords): Don't assume that GCC supports
5184         "restrict" and "inline", as sufficiently-old GCC versions do not
5185         (also, GCC configured to be in pedantic C89 mode does not).
5186         Problem reported by Sumit Pandya in:
5187         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
5189         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
5190         consider -g to work if it generates warnings when plain compiles
5191         don't.  Problem reported by Braden McDaniel in:
5192         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
5194         * doc/autoconf.texi (Slashes): New section, to document a problem
5195         reported by Jim Meyering in:
5196         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
5198         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
5199         linker output files before linking, to work around IRIX 6 linker bug.
5200         Problem reported by Rainer Orth in:
5201         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
5203 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
5205         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
5206         best tool so far counter rely on the tool path variable name to
5207         avoid checks for one tool being affected by the results of running
5208         the length check on a previous tool.
5210         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
5211         match expression argument, as different greps have different
5212         regular expression flavours.
5213         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
5214         literals.
5215         (AC_PROG_EGREP): Pass 'EGREP$'.
5216         (AC_PROG_GREP): Pass 'GREP$'.
5218 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
5220         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
5221         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
5223 2004-03-29  Paul Eggert  <eggert@twinsun.com>
5225         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
5226         Types, Specific Compiler Characteristics, System Services,
5227         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
5228         etc. consistently instead of 'long', 'short', 'unsigned' etc.
5229         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
5230         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
5231         Likewise.
5232         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
5233         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
5234         AC_TYPE_OFF_T): Likewise.
5235         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
5236         Likewise.
5238         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
5239         pacify libtool 1.5.2.  Fix quoting problems in sed command.
5241 2004-03-28  Paul Eggert  <eggert@twinsun.com>
5243         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
5244         now defines HAVE_DECL_TZNAME if it is declared, when
5245         HAVE_STRUCT_TM_TM_ZONE is not defined.
5246         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
5247         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
5248         for HAVE_TZNAME.
5250 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
5252         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
5253         superfluous backslashing of quotes (") in sed expressions;
5254         thanks to Paul Eggert.
5256 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
5258         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
5259         Fortran compiler is ifort, also added pghpf; thanks to Nelson
5260         H. F. Beebe for the bug report.
5262 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
5264         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
5265         quoted -cmdline argument in Portland Group compiler (bug
5266         reported by Jeffrey J. Barteet).
5268 2004-03-25  Kevin Ryde  <user42@zip.com.au>
5270         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
5271         (Run Time): ... here, where it's now mentioned.
5273 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
5275         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
5276         inherits from language Autoconf-without-aclocal-m4.
5277         (Customizing autom4te): Adjust example; the cache must now be
5278         disabled for language Autoconf-without-aclocal-m4.
5280 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
5281             Nathanael Nerode  <neroden@twcny.rr.com>
5283         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
5284         AC_CHECK_TOOLS): Warn if a cross-tool is found without
5285         a prefix.
5286         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5287         AC_CHECK_TARGET_TOOLS): New macros.
5288         * doc/autoconf.texi (Generic Programs): Document
5289         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5290         AC_CHECK_TARGET_TOOLS, and warn for future changes
5291         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
5292         AC_CHECK_TOOLS.
5293         (Specifying Names): Document the reason for these future
5294         behavioral changes.
5295         * tests/mktests.sh: Do not generate tests for the
5296         new macros.
5297         * NEWS: Document these changes.
5299         * doc/autoconf.texi: Avoid macros with unbraced arguments,
5300         they make TeX hang up.
5302 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
5304         * NEWS: New macro AC_CHECK_ALIGNOF.
5305         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
5306         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
5307         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
5308         vowel.
5309         (AC_CHECK_ALIGNOF): New macro.
5310         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
5311         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
5312         those for sizeof.
5314 2004-03-03  Paul Eggert  <eggert@twinsun.com>
5316         * bin/Makefile.am (edit): Don't use $< in a context where
5317         POSIX doesn't require support for it.  Use $@.in instead.
5318         Problem reported by Anthony N. Frasso in
5319         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
5320         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
5322 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
5324         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
5325         from the next generation of Libtool.
5326         * lib/autom4te.in (Autoreconf-preselections): Ditto.
5328 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
5330         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
5331         is not always thread-safe.  Report from Nathanael Nerode.
5333 2004-02-18  Paul Eggert  <eggert@twinsun.com>
5335         Fix a dependencies problem, stemming from a Autoconf 2.59 build
5336         problem on QNX reported by Stephen Rasku in
5337         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
5339         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
5340         $(m4sh_m4f_dependencies); this removes a FIXME.
5341         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
5342         (MAINTAINERCLEANFILES): Split into pieces,
5343         one per related section.  Add $(srcdir)/wrapper.in.
5345 2004-02-09  Paul Eggert  <eggert@twinsun.com>
5347         * doc/autoconf.texi (Setting Output Variables): Emphasize that
5348         AC_SUBST provides no portable way to escape literal newlines.
5350         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
5351         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
5352         Darwin uses -lcrt2.o and there's little point to cataloging all
5353         the system variants.  Partial fix reported by Andreas Waechter in:
5354         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
5355         for bug reported by Nelson H. F. Beebe in:
5356         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
5358 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
5360         * doc/autoconf.texi (AU_DEFUN): Fix English,
5361         suggested by Paul Eggert.
5362         * lib/autoconf/autoupdate.m4: Correct reference to
5363         acobsolete.m4, suggested by Alexandre Duret-Lutz.
5365 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
5367         * bin/autoupdate.in: Define __file__ so that warnings
5368         refer to the correct file.
5369         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
5370         the behavior of the third argument.
5371         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
5372         correctly the behavior of the third argument.  Document
5373         what the three macros that AU_DEFUN defines do.  Fix
5374         warning message when the third argument includes $0
5375         (reported by Alexandre Duret-Lutz).
5377 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
5378             Eric Sunshine  <sunshine@sunshineco.com>
5379             Paul Eggert  <eggert@twinsun.com>
5381         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
5382         (AS_INIT): Output shell initialization there. Removed optional
5383         parameter. Expand _AS_SHELL_FN_SPY.
5384         (AS_INIT_WITH_SHELL_FN): Removed.
5385         (_AS_SHELL_FN_SPY): New macro.
5386         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
5387         macros.
5388         (AS_SHELL_SANITIZE): Remove loop to find better shell
5389         and documentation for the parameter.
5390         (_AS_DETECT_BETTER_SHELL): Move it here.
5391         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
5392         (_AS_RUN): Move it here, support testing with eval.
5393         (AS_REQUIRE_SHELL_FN): Require shell functions when
5394         it is used.
5395         (_AS_LINENO_WORKS): Put around braces, we do not
5396         trigger the bash bug anymore.
5397         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
5398         use AS_INIT_WITH_SHELL_FN.
5399         * bin/autoconf.in, tests/wrapper.in: Regenerated.
5401 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
5403         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
5404         * doc/autoconf.texi: Don't say that the third parameter
5405         is broken.
5406         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
5407         (AU_DEFUN): Honor the third parameter, create autoupdate
5408         macros with AU_DEFINE.
5409         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
5410         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
5411         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
5412         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
5413         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
5414         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
5415         AC_XENIX_DIR): Likewise.
5416         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
5417         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
5418         * lib/autoconf/status.m4: Remove FIXME.
5419         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
5420         that the macro is not present anymore in the updated
5421         configure.ac.
5422         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
5423         of autoupdate.
5425 2004-01-28  Paul Eggert  <eggert@twinsun.com>
5427         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
5428         copyright years.
5429         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
5430         2003 (except 1997) to the list of copyright years.  This undoes
5431         the 2003-05-22 change, which removed the older years from the list.
5432         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
5434 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
5435             Albert Chin-A-Young  <china@thewrittenword.com>
5437         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
5438         grep or ggrep program in PATH that accepts as long lines as
5439         possible.
5440         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
5441         AC_PROG_GREP.
5442         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
5443         egrep and fgrep respectively if $GREP -E/-F don't work.
5444         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
5445         _AC_PROG_GREP, and AC_PROG_SED.
5446         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
5447         longest input length accepted by a command.
5448         (AC_PROG_SED): Use it.
5449         * doc/autoconf.texi (Particular Programs): Document the changes.
5450         * NEWS: Updated.
5452 2004-01-27  Paul Eggert  <eggert@twinsun.com>
5454         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
5455         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5456         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
5457         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
5459         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
5460         bin/autoconf.in, config/Makefile.in, config/config.guess,
5461         config/config.sub, config/install-sh, config/mdate-sh,
5462         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
5463         lib/Makefile.in, lib/Autom4te/Makefile.in,
5464         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
5465         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
5466         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
5467         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
5468         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
5469         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
5470         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
5471         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
5472         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
5473         tests/actypes.at: Regenerate and/or sync with original
5474         sources.
5476 2004-01-26  Paul Eggert  <eggert@twinsun.com>
5478         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
5479         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
5480         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
5481         not <inttypes.h>.  Problem reported by Tim Mooney in
5482         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
5483         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
5484         Likewise.
5486         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
5487         otherwise "make check" fails because it forbids cmp (I guess
5488         because cmp treats files as binary on DOS-like systems).
5490         * tests/mktests.sh: Update copyright date to 2004, since some tests
5491         have changed in 2004.
5493 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
5495         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
5496         non-truncating sed or gsed program in PATH.
5497         * tests/acprograms.at: Add it.
5498         * doc/autoconf.texi (Particular Programs): Document it.
5499         * NEWS: Updated.
5501 2004-01-15  Paul Eggert  <eggert@twinsun.com>
5503         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
5504         -std1 disables some useful extensions on Tru64.  Problem reported
5505         by N. Lichtmaier in
5506         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
5508 2004-01-14  Paul Eggert  <eggert@twinsun.com>
5510         * doc/autoconf.texi (Programming in M4sh): Document that
5511         AS_MKDIR_P succeeds if the destination is a symbolic link
5512         to an existing directory.
5513         (Limitations of Usual Tools): Note that mkdir -p might not
5514         succeed on symlinks to directories.
5516 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
5518         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
5519         * bin/autoheader.in: Grammar fix in message.
5520         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
5521         Test for dir before calling mkdir -p.  (trivial changes)
5523 2004-01-13  Eric Blake  <ebb9@byu.net>
5525         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
5526         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
5528 2004-01-10  Jim Meyering  <jim@meyering.net>
5530         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
5532 2004-01-09  Paul Eggert  <eggert@twinsun.com>
5534         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
5535         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
5536         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
5537         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
5538         AC_COMPILE_IFELSE, since we now assume our caller invokes
5539         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
5540         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
5541         of AC_RUN_IFELSE; this avoids the warning mentioned above.
5542         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
5544 2004-01-07  Paul Eggert  <eggert@twinsun.com>
5546         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
5547         `"'...'"`, as it's confusing (and I suspect it may not work on
5548         some platforms).  The code was incorrect anyway, as it assumed
5549         that \$ evaluated to itself in that context.  Reported by
5550         Alexandre Duret-Lutz.
5552 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
5554         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
5555         and _LT_AC_TAGCONFIG.
5557 2004-01-06  Paul Eggert  <eggert@twinsun.com>
5559         * doc/autoconf.texi (One Macro Call): Fix an incorrect
5560         example, and add more examples.  Reported by Eric Sunshine.
5562 2004-01-05  Paul Eggert  <eggert@twinsun.com>
5564         * doc/autoconf.texi (Limitations of Usual Tools):
5565         Remove warning against "rm -fr" introduced yesterday; it
5566         was a false alarm.
5568         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
5569         autoscan, autoupdate, ifnames): Don't use chmod -w.
5570         * lib/Makefile.am (autom4te.cfg): Likewise.
5571         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
5572         "chmod -w".
5574 2004-01-04  Paul Eggert  <eggert@twinsun.com>
5575             Paolo Bonzini  <bonzini@gnu.org>
5577         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
5578         by doing lineno substitution only on lines containing "$LINENO".
5580 2004-01-04  Paul Eggert  <eggert@twinsun.com>
5582         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
5583         Use "rm -f" to remove conftest.sed, not plain "rm".
5584         Bug reported by David Relson in
5585         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
5587         * Makefile.am (autom4te-update):
5588         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
5589         * Makefile.maint (my-distcheck, do-po-update): Likewise.
5590         * doc/autoconf.texi (Guidelines): Likewise.
5591         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
5592         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
5593         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
5594         * lib/autotest/general.m4 (AT_INIT): Likewise.
5595         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
5596         * tests/Makefile.am (clean-local): Likewise.
5597         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
5598         srcdir): Likewise.
5599         * doc/autoconf.texi (Limitations of Usual Tools):
5600         Warn against "rm -fr".
5602 2004-01-03  Paul Eggert  <eggert@twinsun.com>
5604         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
5605         -c -o might not work.  From a suggestion by Kevin Ryde.
5606         (C Compiler, Generating Sources, Limitations
5607         of Usual Tools, Limitations of Make, Making testsuite Scripts):
5608         Don't put '-o' after non-options, as POSIX doesn't allow this.
5609         Mention that cc's name might be gcc or c89 or whatever.
5611 2004-01-04  Kevin Ryde  <user42@zip.com.au>
5613         * doc/autoconf.texi: Add various further index entries.
5615 2003-12-29  Paul Eggert  <eggert@twinsun.com>
5617         * bin/autoreconf.in (autoreconf_current_directory):
5618         Fix typo: mkdir without umask arg.
5620 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
5622         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
5623         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
5624         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
5625         explanation clearer.
5627 2003-12-24  Andreas Schwab  <schwab@suse.de>
5629         * doc/autoconf.texi (Default Includes): Fix misspelling of
5630         AC_INCLUDES_DEFAULT.
5632 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
5634         * configure.ac: Test if sh -n works.
5635         * configure: Regenerate.
5636         * tests/atlocal.in: Store the result here.
5637         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
5638         tools.at, looking in atlocal's ac_cv_sh_n_works instead
5639         of explicitly testing.
5640         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
5641         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
5642         * tests/tools.at (Syntax of the shell scripts): Simplify
5643         using AT_CHECK_SHELL_SYNTAX.
5644         (Syntax of the Perl scripts): Remove definition of
5645         AT_CHECK_PERL_SYNTAX.
5647 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
5649         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
5650         stderr to /dev/null.
5651         * bin/autoconf.in: Regenerate.
5652         * bin/wrapper.in: Regenerate.
5654 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
5656         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
5657         Extracted from AS_SHELL_SANITIZE.
5658         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
5659         macros.
5660         (AS_SHELL_SANITIZE): Move reinvocation code from
5661         _AS_LINENO_WORKS, use it to find out if shell
5662         functions work.
5663         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
5664         does not work.
5665         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
5666         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
5667         was called.
5668         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
5669         * bin/autoconf.in: Regenerate.
5670         * tests/wrapper.in: Regenerate.
5671         * tests/tools.at: Test the syntax of tests/autoconf
5672         and tests/testsuite.
5674 2003-11-24  Akim Demaille  <akim@epita.fr>
5676         * config/announce-gen (&print_locations, &print_signatures)
5677         (&sizes): New.
5678         Use them.
5679         No longer rely on Gnus to inline the list of signatures: compute
5680         them on the fly.
5682 2003-11-24  Akim Demaille  <akim@epita.fr>
5684         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
5685         override some files.
5686         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
5687         From Debian Autoconf 2.58.
5689 2003-11-24  Akim Demaille  <akim@epita.fr>
5691         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
5692         uses.
5693         From Debian Autoconf 2.58.
5695 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
5697         * TODO: Remove already done things.  Update the part about finding
5698         tools for the target.
5700 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
5702         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
5703         Make wording more consistent.
5704         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
5705         Explain the transition better.
5706         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
5707         the transition better.
5709 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
5711         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
5712         parameter of AU_DEFUN.
5713         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
5714         (AU_DEFUN): Remove the third parameter, it was not used.
5715         Use AC_DEFUN directly, not AU_DEFINE.
5716         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
5717         the expanded body, consistently with other macros such as AC_USG.
5719 2003-11-17  Paul Eggert  <eggert@twinsun.com>
5721         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
5722         into the initial confdefs.h, to work around a bug in NextStep 3.3
5723         patch 3 reported by Eric Sunshine.
5725 2003-11-15  Kevin Ryde  <user42@zip.com.au>
5727         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
5728         than $target since the latter is not usual, add guidelines on when to
5729         use or not use the system type.
5731 2003-11-12  Derek Price  <derek@ximbiot.com>
5733         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
5734         typo misrepaired by an auto-spellcheck.
5736 2003-11-12  Akim Demaille  <akim@epita.fr>
5738         * bin/autoreconf.in (&parse_args): Don't call automake with
5739         --force-missing unless it actually supports it.
5740         From Debian #219336.
5742 2003-11-12  Akim Demaille  <akim@epita.fr>
5744         * configure.ac: Bump to 2.59a.
5745         Require 2.59.
5747 2003-11-06  Akim Demaille  <akim@epita.fr>
5749         Version 2.59.
5751 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
5753         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
5754         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
5755         and ac_abs_top_srcdir are absolute paths.
5756         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
5758 2003-11-05  Akim Demaille  <akim@epita.fr>
5760         * configure.ac: Bump to 2.58a.
5762 2003-11-05  Kevin Ryde  <user42@zip.com.au>
5764         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
5765         it provokes a warning from makeinfo about looking like a cross
5766         reference in info output.
5768         * doc/autoconf.texi (Function Portability): Add notes on signal
5769         handler return type, as per AC_TYPE_SIGNAL.
5771 2003-11-04  Akim Demaille  <akim@epita.fr>
5773         Version 2.58.
5774         * doc/standards.texi: Update from master.
5776         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
5778 2003-11-04  Akim Demaille  <akim@epita.fr>
5780         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
5781         computing the absolute path to d1 in the source hierarchy: it may
5782         not exist at all.  So don't cd into it.
5783         From Alexandre Duret-Lutz.
5784         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
5786         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
5787         From Paul Eggert, but named after Perl's IO::Spec->catfile.
5788         * doc/autoconf.texi (Programming in M4sh): Document.
5789         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
5791 2003-11-03  Pavel Roskin  <proski@gnu.org>
5793         * doc/autoconf.texi (Generic Structure Checks): Describe
5794         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
5796 2003-10-31  Akim Demaille  <akim@epita.fr>
5798         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
5799         (GNU Fortran): New.
5800         * doc/autoconf.texi (Language Choice): Document.
5801         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
5802         the current language is Fortran.
5804 2003-10-31  Akim Demaille  <akim@epita.fr>
5806         * bin/autom4te.in (&freeze): Use a less likely warning separator
5807         than `\n\n', so that `\n\n\n' is valid in warnings.
5808         Reported by Steve Huston.
5810 2003-10-28  Akim Demaille  <akim@epita.fr>
5812         * Makefile.cfg (local_updates, executable-update): Tweak to be
5813         robust to parallel makes.
5814         Suggested by Alexandre Duret-Lutz.
5816 2003-10-27  Akim Demaille  <akim@epita.fr>
5818         * Makefile.cfg (executable-update): New.
5819         (local_updates): Call it.
5821 2003-10-27  Akim Demaille  <akim@epita.fr>
5823         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
5824         Don't remove core.* as it may remove valid user files.
5825         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
5826         (AC_FUNC_UTIME_NULL): Likewise.
5828 2003-10-23  Akim Demaille  <akim@epita.fr>
5830         Version 2.57g.
5831         * config/config.guess, config/config.sub: Upgrade from masters.
5833 2003-10-23  Akim Demaille  <akim@epita.fr>
5835         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
5836         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
5837         hand...
5839 2003-10-23  Akim Demaille  <akim@epita.fr>
5841         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
5842         Don't forget to remove conftest.err.
5844 2003-10-23  Akim Demaille  <akim@epita.fr>
5846         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
5847         same object file in $LIBOBJS.
5848         Reported by Alexandre Duret-Lutz & Derek Robert Price.
5849         * doc/autoconf.texi (Generic Functions): Adjust.
5851 2003-10-20  Paul Eggert  <eggert@twinsun.com>
5853         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
5854         Use 'eval', so that the resulting configure scripts work even if
5855         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
5857 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
5859         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
5860         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
5861         (_AC_LINK_IFELSE): Check the werror flag.
5862         * doc/autoconf.texi (Generic Compiler Characteristics): Document
5863         AC_LANG_WERROR.
5864         * NEWS: Mention it.
5866 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
5868         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
5869         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
5870         override AC_LINK_IFELSE.
5872 2003-10-15  Paul Eggert  <eggert@twinsun.com>
5874         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
5875         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
5876         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
5877         Mention /usr/dt/bin/dtksh on Solaris.
5878         (Shell Substitutions): Warn about $((...)).
5879         (Parentheses): New section.
5881 2003-10-15  Kevin Ryde  <user42@zip.com.au>
5883         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
5884         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
5886 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
5888         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
5889         cross test.
5891 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
5893         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
5894         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
5896 2003-10-10  Andreas Schwab  <schwab@suse.de>
5898         * bin/autoheader.in: Avoid empty first line in --version and
5899         --help output.
5900         * bin/ifnames.in: Likewise.
5902 2003-10-09  Paul Eggert  <eggert@twinsun.com>
5904         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
5905         Issue a more-informative diagnostic.
5906         Problems reported by Eric Sunshine.
5908 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
5910         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
5911         -mGLOB_options_string stuff for Intel ifc, which can cause
5912         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
5913         pattern-matching instead of grep.
5915 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
5917         * doc/autoconf.texi: Document new FC Fortran macros.
5919 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
5921         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
5922         that future autopoint/aclocal/automake/autoreconf will be able
5923         to trace to find where to install local m4 macros.
5924         * doc/autoconf.texi (Input): Document it.
5925         * NEWS: Updated.
5927 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
5929         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
5930         -lcrtbegin.o to list of ignored flags and fix underquoting of
5931         -lcrt[01].o.
5933 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
5935         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
5936         cache variable instead of $G77 to decide whether to include -O2,
5937         since $G77 is specific to Fortran 77.
5939 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
5941         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
5942         free" flag.  Re-order flags tested into rough order of popularity.
5944 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
5946         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
5947         arguments so that it can be used with syntax identical to
5948         AC_PROG_F77, and so that we can more easily decide to
5949         remove/deprecate the DIALECT optional argument in the future if it
5950         proves troublesome.
5951         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
5952         non-freeform-supporting compilers.  Document freeform flags.
5954 2003-10-03  Akim Demaille  <akim@epita.fr>
5956         * configure.ac: Look for emacs, not macs.
5957         Reported by Eric Sunshine.
5959 2003-10-03  Akim Demaille  <akim@epita.fr>
5961         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
5962         * bin/autoreconf.in (autoreconf_current_directory): Create the
5963         AUX_DIR if needed, for sake of automake --add-missing etc.
5964         Suggested by Alexandre Duret-Lutz.
5966 2003-10-03  Akim Demaille  <akim@epita.fr>
5968         * configure.ac: Quotation and formatting changes.
5969         (EMACS): Don't set it if it is not recent enough to support
5970         autoconf-mode.el.
5971         From Eric Sunshine.
5973 2003-10-02  Akim Demaille  <akim@epita.fr>
5975         * bin/ifnames.in (&scan_file): Skip C++ comments.
5976         From Jeremy Yallop.
5978 2003-10-01  Pavel Roskin  <proski@gnu.org>
5980         * doc/autoconf.texi (Particular Structure Checks):
5981         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
5983 2003-10-01  Akim Demaille  <akim@epita.fr>
5985         Version 2.57f.
5987 2003-09-30  Paul Eggert  <eggert@twinsun.com>
5989         * lib/Autom4te/XFile.pm: Use Errno.
5990         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
5991         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
5993 2003-09-30  Akim Demaille  <akim@epita.fr>
5995         * config/announce-gen (&print_news_deltas): Extracted from...
5996         (&print_changelog_deltas): here.
5997         (&news_file): Rename as...
5998         (@news_file): this.
6000 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
6002         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
6003         have been created when invoking the compiler.
6004         * tests/fortran.at (GNU Fortran 77): Quote $G77.
6006 2003-09-29  Akim Demaille  <akim@epita.fr>
6008         Version 2.57e.
6010         * config/mkinstalldirs: Upgrade.
6012 2003-09-28  Paul Eggert  <eggert@twinsun.com>
6014         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
6015         Problem reported by Lars J. Aas in
6016         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
6017         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
6018         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
6019         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
6021 2003-09-26  Akim Demaille  <akim@epita.fr>
6023         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
6024         directory for AC_CONFIG_COMMANDS' first argument exists.
6025         This makes valid the invocation of _AC_SRCPATH that follows.
6026         Reported by Eric Sunshine.
6027         * doc/autoconf.texi (Configuration Commands): Adjust.
6029 2003-09-26  Akim Demaille  <akim@epita.fr>
6031         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
6032         Reported by Ralf Corsepius.
6034 2003-09-26  Akim Demaille  <akim@epita.fr>
6036         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
6037         arguments.
6038         Actually, use AU_ALIAS.
6039         From Bruno Haible.
6041 2003-09-26  Paul Eggert  <eggert@twinsun.com>
6043         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
6044         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
6045         Problem reported by Eric Sunshine in:
6046         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
6048 2003-09-26  Akim Demaille  <akim@epita.fr>
6050         The test suite are sometimes assigning timings incorrectly.
6051         Reported by Henk Krus.
6052         Diagnosed by Nicolas Joly.
6054         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
6055         AT_help_all.
6056         Instead of making AT_help a sequence of assignments to grow
6057         $at_help_all, just make AT_help_all be the growing contents of
6058         $at_help_all, and make a single assignment in...
6059         (AT_INIT): here.
6060         (at_times_skip): Flip the meaning and rename as...
6061         (at_times_p): this.
6062         (AT_INIT): When summarizing the test that ran, remove
6063         $at_times_file after use, and check it is present before trying to
6064         use it.
6066 2003-09-25  Akim Demaille  <akim@epita.fr>
6068         Version 2.57d.
6070         * bin/Makefile.am (edit): Handle '@configure_input@'.
6071         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
6072         (ifnames): chmod -w.
6073         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
6074         executables, not bin/ executables!  Otherwise all the magic needed
6075         to find non installed files is turned off.  This caused a failure
6076         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
6077         as found in its environment (sent by tests/autoreconf): pointing
6078         to bin/autom4te that could not find its files.
6079         * tests/mktests.sh: Force the replacement of generated files, for
6080         the sake of "mv" program that are interactive when overwriting a
6081         -w file.
6082         * config/install-sh: Upgrade from CVS Automake.
6084 2003-09-23  Paul Eggert  <eggert@twinsun.com>
6086         * doc/autoconf.texi (Limitations of Builtins): Document test -h
6087         versus test -L issues.
6089 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
6090             Paul Eggert  <eggert@twinsun.com>
6092         Trivial change to support GCC's configuration procedure.
6093         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
6094         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
6095         about inconsistency if the preprocessor is set to give errors for
6096         any warning.
6097         * doc/autoconf.texi (C Compiler Characteristics): Document this.
6099 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
6101         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
6102         and XFile.pm from Automake.
6103         * lib/Autom4te/XFile.pm: Update from Automake.
6105 2003-09-12  Akim Demaille  <akim@epita.fr>
6107         Version 2.57c.
6109 2003-09-12  Akim Demaille  <akim@epita.fr>
6111         * config/config.guess, config/config.sub, config/missing,
6112         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
6113         from masters.
6115 2003-09-12  Akim Demaille  <akim@epita.fr>
6117         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
6118         not asm/types.h.
6120 2003-09-11  Akim Demaille  <akim@epita.fr>
6122         * doc/autoconf.texi (Header Portability): linux/random.h.
6123         From Peter Hendrickson.
6125 2003-09-10  Akim Demaille  <akim@epita.fr>
6127         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
6128         willing to edit the output files.
6130 2003-09-10  Akim Demaille  <akim@epita.fr>
6132         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
6133         and AC_FC_FREEFORM.
6134         * tests/mktests.sh: Skip AC_FC_SRCEXT.
6135         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
6137 2003-09-09  Akim Demaille  <akim@epita.fr>
6139         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
6140         Reported by Gary Vaughan.
6141         * bin/autom4te.in (handle_m4): Likewise.
6143 2003-09-09  Akim Demaille  <akim@epita.fr>
6145         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
6146         trailing files.
6148 2003-09-07  Paul Eggert  <eggert@twinsun.com>
6150         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
6151         Improve the accuracy of the wording about obsolescence.
6152         From a suggestion by Ian Lance Taylor in
6153         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
6155 2003-09-05  Paul Eggert  <eggert@twinsun.com>
6157         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
6158         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
6160 2003-09-04  Akim Demaille  <akim@epita.fr>
6162         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
6163         AC_FUNC_WAIT3.
6165 2003-09-04  Akim Demaille  <akim@epita.fr>
6167         * bin/autom4te.in: Use &fatal where more appropriate than &error.
6168         (freeze): When exiting, use $exit_code.
6169         * lib/autoconf/fortran.m4: Comment changes.
6171 2003-09-04  Akim Demaille  <akim@epita.fr>
6173         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
6175 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
6177         Add support for newer Fortran dialects.  The F77 interface is
6178         unchanged, and continues to support Fortran 77.  New FC macros
6179         correspond to all the old F77 macros, with output variables FC,
6180         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
6181         available dialect, but older dialects can be specified.  There are
6182         new macros AC_FC_SRCEXT to set the source extension, and
6183         AC_FC_FREEFORM to accept free-form source files.
6185         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
6186         New macros.
6187         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
6188         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
6189         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
6190         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
6191         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
6192         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
6193         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
6194         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
6195         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
6196         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
6197         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
6198         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
6199         AC_FC_SRCEXT, AC_FC_FREEFORM):
6200         New macros.
6201         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
6202         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
6203         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
6204         Rewrite in terms of the above.
6205         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
6206         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
6207         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
6208         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
6210 2003-09-02  Paul Eggert  <eggert@twinsun.com>
6212         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
6213         Document problems with timestamp resolution that 'make', 'cp -p', and
6214         'touch -r' have.
6216 2003-08-27  Akim Demaille  <akim@epita.fr>
6218         * tests/m4sugar.at (cross_warning): Make sure to enable the
6219         output, so that we can track spurious m4sugar output.
6220         * tests/local.at: Require 2.57.
6221         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
6222         are defaulted by AT_CHECK anyway.
6223         Use AT_CHECK_AUTOM4TE.
6224         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
6225         missing dnl.
6227 2003-08-27  Akim Demaille  <akim@epita.fr>
6229         * bin/autoheader.in: Issue the "Using auxiliary..." message only
6230         when -Wobsolete is set.
6231         Set it on by default.
6232         Suggested by Klee Dienes.
6234 2003-08-27  Akim Demaille  <akim@epita.fr>
6236         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
6237         documentation.
6238         From Guido Draheim.
6240 2003-08-26  Akim Demaille  <akim@epita.fr>
6242         * doc/autoconf.texi (Output): Make clear that one can run code
6243         after AC_OUTPUT.
6245 2003-08-25  Akim Demaille  <akim@epita.fr>
6247         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
6248         CVS Bison.
6250 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
6252         * bin/autoreconf.in (parse_args): Do not pass --no-force to
6253         Automake versions prior to 1.8.
6255 2003-08-25  Akim Demaille  <akim@epita.fr>
6257         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
6258         From Ville Karaila.
6260 2003-08-24  Akim Demaille  <akim@epita.fr>
6262         * configure.ac: Bump to 2.57c.
6264 2003-08-22  Akim Demaille  <akim@epita.fr>
6266         Version 2.57b.
6268         * Makefile.cfg (local-checks-to-skip): New.
6269         * Makefile.maint (local-check): Rename as...
6270         (local-checks-available): this.
6271         (local-check): New.
6273         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
6274         * configure.ac: Require Automake 1.7.6.
6276 2003-08-22  Akim Demaille  <akim@epita.fr>
6278         Output stack traces in warnings.
6280         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
6281         Replace the former...
6282         (m4_warn): Pass the call stack to _m4_warn.
6283         * bin/autom4te.in: Adjust to output the call stack.
6284         * tests/m4sugar.at (m4@&t@_warn): Adjust.
6286 2003-08-22  Akim Demaille  <akim@epita.fr>
6288         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
6289         * bin/autom4te.in: Adjust.
6291 2003-08-21  Akim Demaille  <akim@epita.fr>
6293         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
6294         (&verbose): Remove.
6295         (&getopt): Adjust the note and verb channels, depending upon
6296         --verbose.
6297         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
6298         * bin/autoupdate.in: Adjust.
6299         Use &verb, not &verbose.
6301 2003-08-21  Akim Demaille  <akim@epita.fr>
6303         * bin/autoheader.in (&parse_args): Use &parse_warnings and
6304         &parse_WARNINGS.
6305         ($help): Use Autom4te::ChannelDefs::usage.
6306         * bin/autoscan.in: Use Autom4te::ChannelDefs.
6307         * lib/Autom4te/General.pm: Don't export error: you don't own it.
6309 2003-08-21  Akim Demaille  <akim@epita.fr>
6311         First stab at preserving warnings between calls to autom4te,
6312         including when the cache is used.
6314         There are still several issues: (i) there are too many runs of m4
6315         (one for include, one for warnings, and some more), (ii) warnings
6316         spreading on several lines are not handled gracefully, (iii) the
6317         code meant to have the call stack display for errors does not work
6318         (its handling should move from m4 to autom4te).
6320         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
6321         Use them.
6322         (@preselect): Add m4_warn.
6323         ($exit_status): Remove, use $exit_code.
6324         ($help): Use Autom4te::ChannelDefs::usage.
6325         (&handle_m4): No longer define the m4_warnings.
6326         At each run, extract and report the warnings.
6327         Always cache the result, including if the exit status is on
6328         failure, since if nothing changes, we should result in the same
6329         failure, hence we can use the cache.
6330         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
6331         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
6332         Remove.
6333         (m4_warn): Redefine as a do-nothing: it is its invocation that
6334         matters, as warnings are now reported via traces.
6335         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
6336         the contents of m4_warn: make it _call_ m4_warn, so that tracing
6337         the latter reveals calls to the former.
6339         Adjust the tests.
6341         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
6343 2003-08-21  Akim Demaille  <akim@epita.fr>
6345         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
6346         Use them.
6348 2003-08-21  Akim Demaille  <akim@epita.fr>
6350         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
6351         forward order.
6352         * lib/Autom4te/ChannelDefs.pm: Doc typos.
6353         (&parse_warnings): Accept a list of warning requests.
6354         (&usage): Return a string, not a side effect.
6355         (cross): New warning category.
6357 2003-08-21  Akim Demaille  <akim@epita.fr>
6359         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
6360         (&require_configure_ac): Accept an optional directory argument.
6361         ($configure_ac): Remove.
6362         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
6363         (&catfile): Remove.
6364         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
6365         * bin/autoscan.in: Adjust.
6367 2003-08-20  Akim Demaille  <akim@epita.fr>
6369         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
6370         Reported by Alexandre Duret-Lutz.
6372 2003-08-20  Akim Demaille  <akim@epita.fr>
6374         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
6375         * bin/autom4te: Adjust.
6376         In particular, be Autoconf tools are really silent when properly
6377         working, bind the verbosity of the 'note' channel to $verbose.
6378         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
6379         (&xsystem, &contents): Remove, since they are exported by...
6380         * lib/Autom4te/FileUtils.pm: this.
6381         More perldoc.
6382         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
6383         * lib/Autom4te/FileUtils.pm: here.
6385 2003-08-20  Akim Demaille  <akim@epita.fr>
6387         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
6388         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
6389         from CVS Automake.
6391 2003-08-20  Akim Demaille  <akim@epita.fr>
6393         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
6394         (autom4te-update): New.
6395         * Makefile.cfg (update): Bind autom4te-update.
6397 2003-08-19  Derek Price  <derek@ximbiot.com>
6399         * lib/autotest/general.m4: Comment various HELP_* diversions.
6400         (PARSE_ARGS_BEGIN): New section for option parsing related
6401         initialization.
6402         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
6403         package specific options and associated help.
6405 2003-08-19  Akim Demaille  <akim@epita.fr>
6407         * config/announce-gen, Makefile.cfg: New.
6408         * Makefile.am: Adjust.
6409         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
6411 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
6413         * lib/autom4te.in (Automake-preselections): Preselect
6414         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
6415         and m4_sinclude.
6417 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
6419         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
6420         (Autoconf-without-aclocal-m4): ... this new language.
6421         * doc/autoconf.texi (autom4te Invocation): Mention
6422         Autoconf-without-aclocal-m4.
6424 2003-08-18  Derek Price  <derek@ximbiot.com>
6426         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
6427         RUN-IF-PASS optional arguments.
6429 2003-08-18  Derek Price  <derek@ximbiot.com>
6431         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
6433 2003-08-16  Derek Price  <derek@ximbiot.com>
6435         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
6436         STDOUT & STDERR arguments.
6438 2003-08-14  Derek Price  <derek@ximbiot.com>
6440         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
6441         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
6442         shorter column three.  Add DESCRIPTION to log file content.
6444 2003-08-13  Derek Price  <derek@ximbiot.com>
6446         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
6447         output.
6449 2003-08-12  Derek Price  <derek@ximbiot.com>
6451         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
6452         (AT_CHECK_NOESCAPE): Move core functionality to...
6453         (_AT_CHECK): ...this new macro.
6455 2003-08-07  Derek Price  <derek@ximbiot.com>
6457         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
6458         (AT_CHECK_NOESCAPE): ...to this new macro.
6460 2003-07-31  Paul Eggert  <eggert@twinsun.com>
6462         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
6463         in Bash 2.01.  Problem reported by Brian Gough in
6464         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
6466 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
6468         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
6469         -lcrt1.o, for OS X.  (trivial change)
6471 2003-07-07  Paul Eggert  <eggert@twinsun.com>
6473         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
6474         inside '#ifndef __cplusplus'.  Problem reported by
6475         Bob Friesenhahn.
6477 2003-07-06  Bill Clarke  <llib@computer.org>
6479         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
6480         'long', not 'int', for benefit of Sun's recent C++ compilers
6481         (trivial change).  See:
6482         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
6483         (This really should be 'intptr_t', not 'long', but that would
6484         take more work.)
6486 2003-06-25  Akim Demaille  <akim@epita.fr>
6488         * lib/Makefile.am (autom4te.cfg): Make it read only.
6489         Depend on Makefile since it contains substitutions.
6490         From Paolo Bonzini.
6491         * lib/autom4te.in (args): Add local.at? for Autotest args.
6492         This change was made on autom4te.cfg which is generated.
6493         Reported by Raja R. Harinath.
6495 2003-06-25  Akim Demaille  <akim@epita.fr>
6497         * doc/autoconf.texi (Header Portability): sys/mount.h.
6498         From Gareth McCaughan.
6500 2003-06-23  Akim Demaille  <akim@epita.fr>
6502         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
6503         not all of them.  This fixes 1. the fact that when testing
6504         Autoconf there are many many config.log, 2. the incorrect use of
6505         top_srcdir to find config.log.
6506         Don't mix the detailed output of failed test with the summary of
6507         failures.  Rather, append detailed log afterwards.
6509 2003-06-23  Akim Demaille  <akim@epita.fr>
6511         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
6512         always run: output config.log on $at_group_log.
6514 2003-06-23  Akim Demaille  <akim@epita.fr>
6516         * tests/torture.at (#define header templates): Don't use quotes in
6517         C++ comments as it puzzles Emacs' sh font-lock-mode.
6519 2003-06-23  Akim Demaille  <akim@epita.fr>
6521         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
6522         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
6523         * tests/atspecific.m4: Rename as...
6524         * tests/local.at: This.
6525         * tests/suite.at: Move the globals into...
6526         * tests/local.at: here.
6527         * tests/Makefile.am: Adjust.
6528         * doc/autoconf.texi (testsuite Scripts): Adjust.
6530 2003-06-21  Kevin Ryde  <user42@zip.com.au>
6532         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
6533         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
6534         ensuring we add -std1 for full-ANSI.
6536         * doc/autoconf.texi (hdrindex): New macro.
6537         Add index entries for portability of various standard header files.
6539 2003-06-20  Akim Demaille  <akim@epita.fr>
6541         * configure.ac: Bump to 2.57b.
6543 2003-06-20  Akim Demaille  <akim@epita.fr>
6545         Version 2.57a.
6547 2003-06-20  Akim Demaille  <akim@epita.fr>
6549         * bin/autom4te.in: Don't rely on $HOME being defined.
6550         Reported by Marc Espie as PR/233.
6552 2003-06-20  Akim Demaille  <akim@epita.fr>
6554         * lib/autotest/general.m4: Use at_times_file only if used.
6555         From Nicolas Joly.
6557 2003-06-20  Akim Demaille  <akim@epita.fr>
6559         * config/config.guess, config/config.sub, config/elisp-comp,
6560         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
6561         Update from masters.
6563 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
6565         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
6566         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
6567         (TEST_SCRIPT): New diversion.
6568         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
6569         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
6570         (AT_INIT): Support for expected failures.
6572 2003-06-02  Akim Demaille  <akim@epita.fr>
6574         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
6575         changes.
6576         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
6577         Autoconf nor Automake.
6578         (&contents): New, from Automake.
6579         PODify.
6581 2003-05-28  Paul Eggert  <eggert@twinsun.com>
6583         * NEWS, doc/autoconf.texi (Particular Functions),
6584         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
6585         is the inverse of localtime.
6587 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
6589         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
6590         (handle_exec_errors): New function.  Work around $! being
6591         altered by WEXITSTATUS.
6592         (xqx, xsystem): Use handle_exec_errors.
6594 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
6596         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
6597         Do not call `_exit()', simply modify `$?'.
6598         (xsystem): Reset $! before running system, and check it afterward.
6599         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
6600         63 for version mismatches.
6602 2003-05-23  Akim Demaille  <akim@epita.fr>
6604         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
6605         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
6606         the middle of a line).
6607         * lib/m4sugar/m4sugar.m4: Likewise.
6608         Remove useless spaces in comments.
6610 2003-05-23  Akim Demaille  <akim@epita.fr>
6612         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
6613         exit 63, so that we (or Automake's "missing") can tell the
6614         difference with a plain failure.
6615         * doc/autoconf.texi (Notices): Adjust.
6617 2003-05-23  Akim Demaille  <akim@epita.fr>
6619         * Makefile.am, bin/Makefile.am, config/Makefile.am,
6620         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
6621         White spaces cleanup.
6623 2003-05-22  Jim Meyering  <jim@meyering.net>
6624             Paul Eggert  <eggert@twinsun.com>
6626         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
6627         Remove `#include <stdlib.h>' from the list; we should never
6628         make confdefs.h include <stdlib.h> or <cstdlib>, because the
6629         resulting namespace pollution would cause other tests to fail.
6630         Configure scripts run with some older versions of g++ and HP's
6631         aCC would fail due to such an #include.  Problems reported by
6632         Matthew Mueller in <http://bugs.debian.org/120704> and by
6633         Keith Bostic in
6634         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
6635         In the test, use the test declaration before including <stdlib.h>,
6636         as that's closer to how it'll be used.
6638 2003-05-23  Akim Demaille  <akim@epita.fr>
6640         * doc/autoconf.texi (Header Portability): ucred.h.
6641         From Ian Redfern.
6643 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
6645         Overhaul Autotest's logging: generate separate log files
6646         in testsuite.dir/NNN/testsuite.log, and append them to
6647         testsuite.log instead of re-running the test verbosely.
6649         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
6650         file descriptor, write 0 to at_status_file instead of setting
6651         at_status=0, initialize some new variables (at_status_file,
6652         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
6653         to rerun the tests, instead append the at_group_log to the
6654         at_suite_log when a test fails.
6655         (AT_SETUP): pipe the test case's output into at_tee_pipe,
6656         with the AS_MESSAGE_LOG_FD redirected to stdout.
6657         (AT_CLEANUP): save the output status in $at_status_file
6658         and restore it, redirect the AS_MESSAGE_LOG_FD back to
6659         its original place.
6660         (AT_CHECK): since tests are run with a redirected stdout,
6661         and used to be re-run in verbose mode, turn some $at_verbose
6662         into echo, and don't redirect the output of testing stdout
6663         and stderr.
6665         * lib/autotest/autoconf.texi (testsuite Scripts): Update
6666         the name of the debugging directory and information about
6667         its contents.
6669 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
6671         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
6672         parameter.
6674 2003-05-22  Akim Demaille  <akim@epita.fr>
6676         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
6677         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
6678         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
6679         * lib/autoconf/status.m4: Fix and adjust copyright notices.
6681 2003-05-22  Akim Demaille  <akim@epita.fr>
6683         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
6684         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
6685         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
6686         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
6687         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
6688         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
6689         * lib/autoconf/status.m4, lib/autoconf/types.m4,
6690         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
6691         * tests/atspecific.m4, tests/base.at, tests/compile.at,
6692         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
6693         * tests/tools.at, tests/torture.at:
6694         Whitespace clean up.
6695         Suggested by Jim Meyering.
6697 2003-05-22  Akim Demaille  <akim@epita.fr>
6699         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
6700         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
6701         Reported by Jim Meyering.
6703 2003-05-22  Akim Demaille  <akim@epita.fr>
6705         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
6706         Add AC_HELP_STRING  to the obsolete macros section.
6707         Typos.
6708         Use '@.' for sentences that ended in a capital letter.
6709         From Art Haas.
6711 2003-05-22  Akim Demaille  <akim@epita.fr>
6713         * config/config.guess, config/config.sub, config/elisp-comp,
6714         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
6715         * config/texinfo.tex, doc/standards.texi: Update from masters.
6717 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
6719         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
6720         it to eval.
6722 2003-05-21  Akim Demaille  <akim@epita.fr>
6724         * bin/autoupdate.in ($m4): Fix quotation.
6725         Reported by Martin Mokrejs.
6727 2003-05-19  Paul Eggert  <eggert@twinsun.com>
6729         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
6730         Remove non-ASCII characters.
6732 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
6734         * tests/semantics.at (AC_SEARCH_LIBS): New test.
6735         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
6736         AC_CHECK_HEADERS_NEW): New tests.
6738 2003-05-17  Akim Demaille  <akim@epita.fr>
6740         * lib/autoconf/functions.m4: Use the default includes so that
6741         memcmp be declared before being tested.
6742         Reported by Sander Niemeijer.
6743         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
6744         * doc/autoconf.texi (Default Includes): Document
6745         AC_INCLUDES_DEFAULT.
6747 2003-05-17  Akim Demaille  <akim@epita.fr>
6749         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
6750         * doc/autoconf.texi (Obsolete Macros): Adjust.
6751         Reported by Werner LEMBERG and Debian Bug 190886.
6753 2003-05-16  Akim Demaille  <akim@epita.fr>
6755         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
6756         user name space clashes.
6757         Reported by Bruno Haible.
6759 2003-05-16  Akim Demaille  <akim@epita.fr>
6761         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6762         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
6763         them uniform, and more robust to Perl special characters.
6764         Reported by Martin Mokrejs.
6766 2003-05-14  Akim Demaille  <akim@epita.fr>
6768         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
6770 2003-05-14  Akim Demaille  <akim@epita.fr>
6772         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
6773         linux/irda.h.
6775 2003-05-12  Akim Demaille  <akim@epita.fr>
6777         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
6778         message.
6779         From Matthias Andree.
6781 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
6783         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
6784         and truncate.
6786 2003-05-06  Akim Demaille  <akim@epita.fr>
6788         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
6789         longer updates aclocal.m4 if useless, (ii) if a file m4_included
6790         by aclocal.m4 is changed it might require the importing of another
6791         m4 extension file, i.e., aclocal must be run.
6793         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
6794         (&parse_args): Use --force with aclocal if required and supported.
6795         (&autoreconf_current_directory): Use &run_aclocal.
6797 2003-05-06  Akim Demaille  <akim@epita.fr>
6799         Lock autom4te's cache.
6801         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
6802         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
6803         argument instead of a file name, so that the request file remains
6804         open during the whole autom4te run.
6805         ($icache_file): New.
6806         (&freeze): Lock the $icache_file.
6808 2003-04-29  Derek Price  <derek@ximbiot.com>
6810         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
6811         seperator with m4_append_uniq().  It doesn't work.
6812         (AT_CLEANUP): Add `;' to end of at_help_all.
6813         (AT_INIT): Allow --keywords to be specified more than once.  When
6814         grepping $at_help_all for keywords, use the field and keyword
6815         seperators to ensure a complete keyword match.  Alter at_prev handling
6816         to support the new --keywords behavior.
6818 2003-04-27  Karl Berry  <karl@freefriends.org>
6820         * doc/autoconf.texi: Make the dir entries in the autoconf manual
6821         align better with others.  I also made some of the individual
6822         entries on one line, for brevity and to make it easier for me to
6823         sort my dir-example file in the Texinfo distribution :).
6825 2003-04-12  Jim Meyering  <jim@meyering.net>
6827         * NEWS: Mention the new macro.
6828         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
6829         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
6830         * tests/c.at: Test AC_C_RESTRICT.
6831         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
6833 2003-04-08  Akim Demaille  <akim@epita.fr>
6835         * bin/ifnames.in: Skip C++ comments.
6836         From Jeremy Yallop.
6838 2003-04-08  Akim Demaille  <akim@epita.fr>
6840         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
6841         From Ilya Zakharevich.
6843 2003-04-08  Akim Demaille  <akim@epita.fr>
6845         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
6846         net/if.h, stdlib.h.
6848 2003-04-01  Derek Price  <derek@ximbiot.com>
6850         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
6851         from Akim's checkin of 2003-03-29.
6853 2003-04-01  Derek Price  <derek@ximbiot.com>
6855         * tests/torture.at (Configuring subdirectories): Add missing
6856         close-quote for Akim's change from 2003-03-28.
6858 2003-04-01  Akim Demaille  <akim@epita.fr>
6860         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
6861         (AC, AT, MS): these.
6862         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
6863         New.
6864         Use them.
6865         * doc/Makefile.am (CLEANFILES): Adjust.
6866         (TEXI2DVI): Make it --batch.
6868 2003-03-31  Derek Price  <derek@ximbiot.com>
6870         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
6871         which removed the main loop.
6872         Thanks to Akim Demaille.
6874 2003-03-29  Akim Demaille  <akim@epita.fr>
6876         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
6877         that starts a GUI.
6878         From Ilya Zakharevich.
6880 2003-03-29  Akim Demaille  <akim@epita.fr>
6882         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
6883         documentation to read is Autoconf's.
6884         Suggested by Paul Eggert.
6886 2003-03-28  Akim Demaille  <akim@epita.fr>
6888         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
6889         reading the section "Present But Cannot Be Compiled" when the
6890         header causes problems.
6892 2003-03-28  Akim Demaille  <akim@epita.fr>
6894         * tests/torture.at (Configuring subdirectories): Require aclocal
6895         1.4, otherwise the test fails, as it does support configure.ac.
6896         This fixes the "test 40 failed" bug reports.
6898 2003-03-28  Akim Demaille  <akim@epita.fr>
6900         * doc/autoconf.texi (C Compiler): `#line' portability.
6901         From Paul Eggert and Nelson H. F. Beebe.
6903 2003-03-27  Derek Price  <derek@ximbiot.com>
6905         * lib/autotest/general.m4: Eliminate main loop and reorganize test
6906         layout in order to allow scripting around test groups.
6908 2003-03-27  Derek Price  <derek@ximbiot.com>
6910         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
6911         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
6912         use new diversions in preparation for accepting new arguments and
6913         allowing scripting around tests.
6914         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
6916 2003-03-26  Derek Price  <derek@ximbiot.com>
6918         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
6919         obsolete AC_HELP_STRING.
6920         (AC_HELP_STRING): AU_DEFUN to...
6921         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
6922         * tests/m4sh.at (AS_HELP_STRING): New test.
6924         * tests/acgeneral.at: Regenerated.
6926 2003-03-26  Derek Price  <derek@ximbiot.com>
6928         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
6929         sense.  Verbosify the diversion definitions comment.
6931 2003-03-26  Derek Price  <derek@ximbiot.com>
6933         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
6934         AS_PREPARE.
6936 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
6938         * doc/autoconf.texi (Present But Cannot Be Compiled):
6939         Grammar fixes and minor rewording. (trivial change)
6941 2003-03-06  Paul Eggert  <eggert@twinsun.com>
6943         Work around a problem noted by Nelson H. F. Beebe with coreutils
6944         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
6945         2002/05/09) rejects '#line 32768 "configure"' because the line
6946         number overflows.
6947         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
6948         #line directives.
6949         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
6950         * doc/autoconf.texi (Generating Sources): Document this.
6952 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
6954         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
6955         file name for the m4 program, when it has an "exe" file extension.
6956         DJGPP's error messages include the error code in brackets -
6957         remove the error code during normalization.
6959 2003-02-28  Akim Demaille  <akim@epita.fr>
6961         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
6963 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
6965         * doc/autoconf.texi (Limitations of Make): Remove the section
6966         about `$<' in inference rules, it was a bogus interpretation of
6967         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
6968         Tru64 make in the "target lookup" section.
6969         (Automake): Automake 1.5+ no longer requires special tools to be
6970         present on the developer's host.
6972 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
6974         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
6975         to a shell that can handle redirection or quoting correctly.
6976         Override SHELL with the shell detected by configure.
6977         Use of $^O suggested by Tim van Holder.
6978         * bin/autom4te.in (BEGIN): Likewise.
6979         * bin/autoreconf.in (BEGIN): Likewise.
6980         * bin/autoscan.in (BEGIN): Likewise.
6981         * bin/autoupdate.in (BEGIN): Likewise.
6982         * bin/ifnames.in (BEGIN): Likewise.
6984         * bin/ifnames.in: Add final newline to help and version messages.
6986         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
6987         to cope with DOS-style absolute paths, when constructing
6988         ${ac_make}.
6990         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
6991         When constructing paths with IFS=:, quote the path. If we're
6992         constructing a DOS-style absolute path, we don't want to split it
6993         on the colon.
6995         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
6996         in description.
6998 2003-02-25  Pavel Roskin  <proski@gnu.org>
7000         * bin/autoheader.in: Add missing newline when printing
7001         suggestion how change AC_DEFINE call.
7003 2003-02-24  Paul Eggert  <eggert@twinsun.com>
7005         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
7006         2002-09-01 patch by replacing "test -n" with "test -z".
7007         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
7008         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
7010         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
7011         to fix a mismatch between example and discussion.
7013 2003-02-24  Kevin Ryde  <user42@zip.com.au>
7015         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
7016         format starting with "-".
7018 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
7020         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
7021         is not portable inside Makefile.
7023 2003-02-20  Akim Demaille  <akim@epita.fr>
7025         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
7026         compiler says yeah, but preproc says nope, compiler is right.
7027         Conversely, prompt the reader to send a bug report to the
7028         maintainers of the package, not of Autoconf.
7030 2003-02-20  Klee Dienes  <kdienes@apple.com>
7032         * bin/autoreconf.in (autoreconf_current_directory): Properly
7033         handle an empty aclocal.m4.
7035 2003-02-20  Akim Demaille  <akim@epita.fr>
7037         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
7038         $ac_prefix_program.
7039         From Larry Jones.
7041 2002-12-23  Paul Eggert  <eggert@twinsun.com>
7043         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
7044         innocuous variant befor including <limits.h> or <assert.h>.  This
7045         works around a bug reported by Albert Chin: HP-UX 11i
7046         (and earlier versions) have a <limits.h> that declares
7047         gettimeofday and many other functions.
7049 2002-12-03  Paul Eggert  <eggert@twinsun.com>
7051         Version 2.57.
7053         * NEWS, configure.ac: Update version.
7055         * doc/fdl.texi: Upgrade to FDL version 1.2.
7057         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
7058         nontrivially in main's body, so that f's external declaration is
7059         not optimized away in AIX.  This should fix the bug reported by
7060         Martin Frydl in
7061         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
7063         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
7064         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
7065         defined, to support freestanding compilers.  This should fix the
7066         bug reported by Momchil Velkov in
7067         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
7069         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
7070         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
7071         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
7072         by Simon Josefsson in
7073         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
7075         * Makefile.maint (www-gnu): New macro.
7076         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
7077         the location has moved.
7079 2002-12-02  Martin Frydl  <martin@systinet.com>
7081         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
7082         \(.*\) match is too long and there is something more to be checked.
7083         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
7085 2002-11-15  Akim Demaille  <akim@epita.fr>
7087         Version 2.56.
7089         * config/install-sh: chmod +x.
7090         From Paul Eggert.
7091         * config/move-if-change: Indenting changes.
7092         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
7093         * configure.ac (AM_INIT_AUTOMAKE): here.
7094         Require 1.7.1.
7096 2002-11-14  Akim Demaille  <akim@epita.fr>
7098         Version 2.55.
7100         * config/config.guess, config/config.sub, config/install-sh:
7101         Update from masters.
7103 2002-11-14  Akim Demaille  <akim@epita.fr>
7105         * Makefile.maint: Sync with Bison, i.e.:
7106         (po-check): Scan .l and .y files instead of the
7107         .c and the .h files that they generate.  This fixes the bug
7108         reported by Tim Van Holder in:
7109         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
7110         Look for N_ as well as for _.  Try to avoid matching #define for
7111         N_ and _.
7112         From Paul Eggert.
7114 2002-11-14  Akim Demaille  <akim@epita.fr>
7116         * doc/autoconf.texi (C Compiler): Compiling several files at once.
7117         From Paul Eggert and Albert Chin-A-Young.
7119 2002-11-14  Akim Demaille  <akim@epita.fr>
7121         * doc/autoconf.texi (C Compiler): Solitary backslashes.
7122         From Paul Eggert and Albert Chin-A-Young.
7124 2002-11-14  Kevin Ryde  <user42@zip.com.au>
7126         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
7127         than assigning in main, to avoid HP cc +O3 optimizing it away.
7129 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
7131         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
7132         option.  Process --recheck after parsing all options.  Pass -q
7133         option to configure on --recheck.
7134         (AC_OUTPUT): Pass -q from configure to config.status.
7135         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
7136         arguments to record.
7137         * doc/autoconf.texi (config.status Invocation): Document
7138         config.status -q option.
7140 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
7142         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
7143         Makefile.in if Makefile.am exists.
7144         (output): Strip `.am' from Makefiles.  Don't
7145         output AC_CONFIG_FILES if no Makefiles were found.
7147 2002-11-07  Akim Demaille  <akim@epita.fr>
7149         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
7150         (local_updates): New.
7151         * Makefile.maint: Update, from CVS Bison.
7152         (local_updates): New.
7154 2002-11-06  Akim Demaille  <akim@epita.fr>
7156         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
7157         declaration in extern "C" too.
7158         Reported by Roberto Bagnara.
7160 2002-11-06  Akim Demaille  <akim@epita.fr>
7162         * tests/torture.at (Configuring subdirectories): Don't use grep
7163         -w.
7164         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
7165         Reported by Ezra Peisach.
7167 2002-11-05  Akim Demaille  <akim@epita.fr>
7169         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
7170         Remove.
7171         We _have_ to stop using the old compatibility scheme that tried to
7172         avoid useless backslashes because Libtool 1.4.3 contains a
7173         AC_DEFINE([error_t], [int],
7174         [Define to a type to use for \`error_t' if it is not
7175         otherwise available.])
7176         We _have_ to quote the single quote and backslashes with \.  The
7177         old compatibility scheme saw that ` was backslashed, and therefore
7178         did not quote the single quote.  Hence before this patch, Autoconf
7179         was not compatible with Libtool.
7181 2002-11-04  Paul Eggert  <eggert@twinsun.com>
7183         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
7184         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
7185         LC_NAME, LC_PAPER, LC_TELEPHONE.
7186         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
7188 2002-11-04  Akim Demaille  <akim@epita.fr>
7190         Version 2.54c.
7192         * Makefile.maint (update, cvs-update, po-update, do-po-update):
7193         New.
7194         * config/texinfo.tex: Update.
7196 2002-11-03  Akim Demaille  <akim@epita.fr>
7198         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
7199         from...
7200         (&autoreconf): here.
7201         ($help, $make, &parse_args, &autoreconf_current_directory):
7202         Support -m/--make.
7203         * doc/autoconf.texi (autoreconf Invocation): Adjust.
7205 2002-10-31  Bruno Haible  <bruno@clisp.org>
7207         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
7208         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
7209         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
7210         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
7211         to ac_cv_func_realloc_0_nonnull.
7212         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
7214 2002-10-31  Akim Demaille  <akim@epita.fr>
7216         The test suite was no longer checking for trailing envvars and files.
7218         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
7219         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
7221 2002-10-31  Akim Demaille  <akim@epita.fr>
7223         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
7224         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
7225         Make variable, not a shell variable.
7226         Suggested by Bruno Haible.
7228 2002-10-31  Akim Demaille  <akim@epita.fr>
7230         * bin/autom4te.in (load_configuration): Reject #args out of any
7231         language.
7233 2002-10-31  Akim Demaille  <akim@epita.fr>
7235         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
7236         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
7237         (_AC_RUN_IFELSE): Use it.
7238         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
7239         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
7240         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
7241         inline it.
7243 2002-10-30  Akim Demaille  <akim@epita.fr>
7245         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
7246         * doc/autoconf.texi (autom4te Invocation): Adjust.
7247         Suggested by Tim van Holder.
7249 2002-10-29  Paul Eggert  <eggert@twinsun.com>
7251         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
7252         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
7253         Problem reported by Bruno Haible.
7255 2002-10-29  Akim Demaille  <akim@epita.fr>
7257         * doc/autoconf.texi (Header Templates): Put also in words what the
7258         pictures says to assist free style readers.
7259         (Customizing autom4te): s/--cache=/--cache /.
7261 2002-10-29  Akim Demaille  <akim@epita.fr>
7263         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
7264         sys/wait.h.
7265         sparc_address_test returns void.
7266         Use it with an argument, as prototyped.
7267         From Bruno Haible.
7269 2002-10-29  Akim Demaille  <akim@epita.fr>
7271         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
7272         configure.in, not configure.ac.
7273         Reported by Bruno Haible.
7275 2002-10-29  Akim Demaille  <akim@epita.fr>
7277         * tests/torture.at (Deep Package): New test.
7278         (Configuring subdirectories): Don't use a testSubDir as Autotest
7279         now does it itself.
7281 2002-10-29  Akim Demaille  <akim@epita.fr>
7283         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
7284         * doc/autoconf.texi (Invoking autom4te): Rename as...
7285         (autom4te Invocation): this, for consistency with the other nodes.
7287 2002-10-29  Akim Demaille  <akim@epita.fr>
7289         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
7290         Reported by Ralf Corsepius.
7292 2002-10-29  Akim Demaille  <akim@epita.fr>
7294         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
7295         characters is a back as an `obsolete' warning now.
7296         Reported by Ralf Corsepius.
7298 2002-10-28  Akim Demaille  <akim@epita.fr>
7300         * configure.ac: Bump to 2.54c.
7302 2002-10-28  Akim Demaille  <akim@epita.fr>
7304         Version 2.54b.
7306         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
7308 2002-10-28  Akim Demaille  <akim@epita.fr>
7310         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
7311         m4 executable names, and different GNU M4 version.
7312         Reported by Ezra Peisach and Paul Jarc.
7314 2002-10-27  Akim Demaille  <akim@epita.fr>
7316         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
7317         AC_RUN_IFELSE.
7319 2002-10-27  Akim Demaille  <akim@epita.fr>
7321         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
7322         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
7323         Die when a simple Fortran program cannot be compiled.
7324         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
7325         Issue a warning if no function is given.
7327 2002-10-27  Akim Demaille  <akim@epita.fr>
7329         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
7330         Move the documentation of AC_TRY_RUN to...
7331         (Obsolete Macros): here.
7332         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
7333         (autoconf Invocation): Remove the duplicates with `invoking
7334         autom4te'.
7335         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
7336         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
7338 2002-10-27  Akim Demaille  <akim@epita.fr>
7340         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
7341         and AC_LANG_FUNC_LINK_TRY.
7342         (Examining Libraries): Rename as...
7343         (Running the Linker): this.
7344         Document AC_LINK_IFELSE.
7345         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
7346         (Obsolete Macros): here.
7347         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
7348         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
7349         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
7350         * lib/autoconf/headers.m4 (AC_USG): Likewise.
7352 2002-10-27  Akim Demaille  <akim@epita.fr>
7354         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
7356         More `check config.log' messages.
7358         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
7359         * doc/autoconf.texi (Printing Messages): Document it.
7360         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
7361         appropriate.
7362         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
7363         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
7364         (_AC_COMPILER_OBJEXT): Likewise.
7365         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
7366         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
7367         Likewise.
7368         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
7369         Likewise.
7371         Deprecate macros with unusual interfaces.
7373         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
7374         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
7376         Document the new ones, and proper style.
7378         * doc/autoconf.texi (Generating Sources): New.
7379         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
7380         (Examining Declarations): Rename as...
7381         (Running the Preprocessor): this.
7382         Document AC_PREPROC_IFELSE.
7383         (Examining Syntax): Rename as...
7384         (Running the Compiler): this.
7385         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
7386         (Obsolete Macros): Move the definition of AC_TRY_CPP and
7387         AC_TRY_COMPILE here.
7389 2002-10-27  Akim Demaille  <akim@epita.fr>
7391         Move sections around.
7393         * doc/autoconf.texi (Customizing autom4te): Remove a lost
7394         sentence.
7395         Reported by Burno Haible.
7396         (Language Choice): Now the first section of...
7397         (Writing Tests): this section.
7398         Make the introduction less C-centric.
7399         (Guidelines, Test Functions): Move to...
7400         (Writing Test Programs): this new section.
7401         (Test Programs): Merge into...
7402         (Run Time): this.
7404 2002-10-27  Akim Demaille  <akim@epita.fr>
7406         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
7407         autom4te.in that resulted in the need for two `make' runs.
7409 2002-10-27  Akim Demaille  <akim@epita.fr>
7411         * configure.ac: Bump to 2.54b.
7413 2002-10-25  Akim Demaille  <akim@epita.fr>
7415         Version 2.54a.
7417         * Makefile.maint: Update from the Coreutils.
7418         (AMTAR): Remove, obsolete.
7419         (automake_repo): Update to redhat.com.
7420         (cvs_file): New.
7421         Adjust to the fact that ansi2knr is now hosted by Automake.
7422         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
7423         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
7424         Update from masters.
7425         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
7426         autoscan.pre is not to be installed, and autoscan.list is not to
7427         be shipped.
7428         (CLEANFILES): Add autoscan.list.
7429         (autoscan.list): Disable the cache.
7430         * bin/Makefile.am: Include freeze.mk.
7432 2002-10-25  Akim Demaille  <akim@epita.fr>
7434         * bin/autom4te.in (&load_configuration): Take the file as
7435         argument.
7436         (&parse_args): Handle -C, --cache.
7437         ($help): Adjust.
7438         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
7439         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
7440         * doc/autoconf.texi (Invoking autom4te): Document --cache.
7441         Now a subsection of...
7442         (Using autom4te): This new section.
7443         (Customizing autom4te): New.
7444         (autom4te.cache): Adjust.
7446 2002-10-25  Akim Demaille  <akim@epita.fr>
7448         * doc/autoconf.texi (Generic Headers): More information on how to
7449         use AC_CHECK_HEADERS.
7451 2002-10-25  Akim Demaille  <akim@epita.fr>
7453         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
7454         Space changes.
7456 2002-10-25  Akim Demaille  <akim@epita.fr>
7458         * bin/autoscan.in (output): Output AC_PREREQ.
7459         (%needed_macros): Add AC_PREREQ so that configure.ac without one
7460         be reported.
7462 2002-10-23  Akim Demaille  <akim@epita.fr>
7464         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
7465         document _Bool.
7467 2002-10-23  Akim Demaille  <akim@epita.fr>
7469         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
7470         Reported by Peter Eisentraut.
7472 2002-10-23  Akim Demaille  <akim@epita.fr>
7474         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
7475         type _Bool.
7476         Fix a typo.
7477         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
7478         Eggert's recommandations.
7480 2002-10-22  Akim Demaille  <akim@epita.fr>
7482         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
7483         Bison, by Paul Eggert.
7484         * doc/autoconf.texi (Particular Headers): Document it.
7486 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
7488         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
7489         `$ac_configure_args'.
7491 2002-10-22  Akim Demaille  <akim@epita.fr>
7493         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
7494         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
7495         From Art Haas.
7497 2002-10-22  Akim Demaille  <akim@epita.fr>
7499         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
7501         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
7502         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
7503         (_AC_CHECK_HEADER_NEW): Rename as...
7504         (AC_CHECK_HEADER): this.
7506 2002-10-22  Akim Demaille  <akim@epita.fr>
7508         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
7509         words about HP-UX cmp: it was actually a user-written cmp.
7511 2002-10-22  Akim Demaille  <akim@epita.fr>
7513         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
7514         are a few warnings.
7515         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
7516         Quote for Perl '' strings, not "".
7517         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
7518         strings.
7520 2002-10-22  Akim Demaille  <akim@epita.fr>
7522         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
7523         characters is a syntax warning now.
7524         (_AS_QUOTE): Accept $2 as list of characters to quote.
7525         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
7526         Quote for Perl, not sh.
7527         * bin/autoheader.in: When $debug, report the file which is
7528         `do'ne.
7529         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
7530         `@', to tickle Perl's lists.
7531         Reported by Carlos Velasco.
7533 2002-10-18  Akim Demaille  <akim@epita.fr>
7535         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
7536         missing included files _are_ errors.
7537         Thanks to Alexandre Duret-Lutz.
7538         * tests/tools.at (autom4te cache): Adjust.
7539         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
7540         (AT_CHECK_M4SUGAR): Use it.
7541         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
7542         Adjust.
7543         * tests/tools.at (autom4te): Now it does exit 1.
7545 2002-10-17  Akim Demaille  <akim@epita.fr>
7547         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
7548         Fixes the `AC_ARG_VAR' test failures.
7549         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
7550         * lib/freeze.mk (check-forbidden-patterns): New.
7551         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
7552         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
7553         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
7554         /dev/null.
7555         Reported months ago by H. Merijn Brand.
7557 2002-10-17  Akim Demaille  <akim@epita.fr>
7559         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
7561 2002-10-16  Paul Eggert  <eggert@twinsun.com>
7563         * Makefile.maint (wget_files): Remove ansi2knr.c.
7564         (ansi2knr.c-url_prefix): Remove.
7566 2002-10-16  Akim Demaille  <akim@epita.fr>
7568         Because of caching, some files that no longer exist and are no
7569         longer required can still cause errors.
7570         Reported by Alexandre Duret-Lutz.
7572         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
7573         to frozen files in @ARGV, as @ARGV must remain being a list of
7574         files.  Rather, at M4 call sites, use this...
7575         (&files_to_options): New function.
7576         (&freeze): Use &error.
7577         (&up_to_date): If a file that was included according to the cache
7578         is no longer there, then the output is out dated.
7579         (&main): Don't even check whether a file is up to date is anyway
7580         --force is given.
7581         * tests/tools.at (autom4te cache): New.
7583 2002-10-16  Akim Demaille  <akim@epita.fr>
7585         * bin/autoconf.as: Kill dead options.
7586         * bin/autoupdate.in (&parse_args): Kill old options.
7587         * bin/autoreconf.in (&parse_args): Remove dead options.
7588         Factor some code.
7589         (&autoreconf): Report the directories we enter *and leave*, so
7590         that error messages can be easily located, and use GNU Make
7591         format, so that Emacs' compile mode understands us.
7592         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
7593         if some file was changed instead of `print'.
7594         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
7595         (&parse_args): Remove the dead options.
7596         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
7597         autoheader's quiet mode.
7598         (AT_CHECK_AUTOUPDATE): Likewise.
7599         * tests/tools.at (autoupdate): Adjust.
7600         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
7602 2002-10-11  Akim Demaille  <akim@epita.fr>
7604         No longer use CPP to check for the existing of headers: use CC to
7605         check for compilability.
7607         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
7608         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
7609         (_AC_CHECK_HEADER_NEW): Rename as...
7610         (AC_CHECK_HEADER): this.
7612         * lib/autotest/general.m4 (AT_INIT): Include the failed test
7613         numbers in the Subject suggestion.
7615 2002-10-11  Akim Demaille  <akim@epita.fr>
7617         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
7618         Suggest using AC_CHECK_DECLS instead.
7620 2002-10-11  Akim Demaille  <akim@epita.fr>
7622         * tests/torture.at (AC_ARG_VAR): Have configure report the value
7623         of `precious'.
7625 2002-10-11  Akim Demaille  <akim@epita.fr>
7627         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
7628         file name to enable parallel executions.
7629         From Sam Varshavchik.
7631 2002-10-08  Akim Demaille  <akim@epita.fr>
7633         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
7634         aclocal invocation, as Gettext macros might not be visible to
7635         aclocal.
7636         Instead of blindly running autopoint, scan configure.ac (not the
7637         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
7638         Reported by Paul D. Smith.
7640 2002-10-08  Paul Eggert  <eggert@twinsun.com>
7642         Work around problems found when POSIXLY_CORRECT=1 is set.
7643         None of this seems to have anything to do with POSIX, really,
7644         but it's how Perl getopt works.
7645         * bin/autom4te.in (parse_args): Configure GetOpt with
7646         "permute", too.
7647         * doc/autoconf.texi (Invoking autom4te):
7648         --warning -> --warnings.
7649         * lib/autom4te.in: --warning -> --warnings.
7651 2002-09-28  Akim Demaille  <akim@epita.fr>
7653         * doc/autoconf.texi (autom4te.cache): New section.
7655 2002-09-28  Akim Demaille  <akim@epita.fr>
7657         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
7658         (Automake-preselections): Update.
7659         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
7661 2002-09-28  Akim Demaille  <akim@epita.fr>
7663         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
7664         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
7665         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
7666         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
7668 2002-09-28  Akim Demaille  <akim@epita.fr>
7670         * tests/torture.at (Configuring subdirectories): Be robust to
7671         users who use config.site to require for a cache: in this case,
7672         the two last configure runs, using two different sets of
7673         arguments, trigger a legitimate error.
7675 2002-09-28  Akim Demaille  <akim@epita.fr>
7677         * tests/m4sh.at (Functions Support, Functions and return Support):
7678         New.
7680 2002-09-28  Akim Demaille  <akim@epita.fr>
7682         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
7683         autoheader are Perl programs.
7684         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
7685         (autom4te): Specify that the sources are in the $srcdir.
7686         * doc/autoconf.texi (Installation Directory Variables): Adjust.
7688 2002-09-28  Akim Demaille  <akim@epita.fr>
7690         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
7691         (tm_zone): Move their rules to...
7692         * lib/autoconf/types.m4: here, using AN_ macros.
7693         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
7694         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
7695         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
7696         * lib/autoconf/programs.m4: here.
7697         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
7698         (ETAGS_FOR_AUTOCONF): New.
7699         Use it.
7701 2002-09-28  Akim Demaille  <akim@epita.fr>
7703         * lib/autoconf/autoscan.m4: New file.
7704         * lib/autoconf/autoconf.m4: Include it.
7705         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
7706         that were listed in the original autoscan.list.
7707         * lib/autoconf/headers.m4: Similarly with headers.
7708         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
7709         (.m4.m4f): Don't pass --prepend-include, since that's done by
7710         tests/autom4te itself.
7711         * lib/autoscan/Makefile.am: Include freeze.mk.
7712         (autoscan.list): New target --this file is no longer a source.
7713         (autoscan.pre): New file.
7715 2002-09-28  Akim Demaille  <akim@epita.fr>
7717         * bin/autoscan.in (@kinds): Make them singular.
7718         Adjust all uses.
7719         (&init_tables): When --debug, report the list of rules to ease
7720         tracking changes in autoscan.list.
7721         * lib/autoscan/autoscan.list (function): Strip comments, sort.
7723 2002-09-28  Akim Demaille  <akim@epita.fr>
7725         * lib/autoscan/functions, lib/autoscan/headers,
7726         * lib/autoscan/identifiers, lib/autoscan/makevars,
7727         * lib/autoscan/programs: Merge into...
7728         * lib/autoscan/autoscan.list: this.
7729         * bin/autoscan.in (&init_tables): Adjust.
7731 2002-09-28  Akim Demaille  <akim@epita.fr>
7733         * lib/autoscan/functions, lib/autoscan/headers,
7734         * lib/autoscan/identifiers, lib/autoscan/makevars,
7735         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
7736         `functions' line is now prefixed with `function:'.
7737         * bin/autoscan.in (&init_tables): Adjust.
7739 2002-09-28  Akim Demaille  <akim@epita.fr>
7741         From now on, autoscan files must always map a macro name to a
7742         word: there is no `default' macro for autoscan.
7744         * bin/autoscan.in (&init_tables): Reject entries with no macro at
7745         all.
7746         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
7747         explicit.
7749 2002-09-28  Akim Demaille  <akim@epita.fr>
7751         * bin/autoscan.in (%c_keywords): Remove.
7752         (&used): Keep only track of the words we might be interested in.
7753         (&output_kind): It is no longer needed to look for non active
7754         checks.
7756 2002-09-27  Akim Demaille  <akim@epita.fr>
7758         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
7759         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
7760         * lib/autoscan/functions: Adjust.
7761         * doc/autoconf.texi (Particular Functions): Adjust.
7763 2002-09-27  Akim Demaille  <akim@epita.fr>
7765         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
7766         from /tmp.
7767         Thanks to Bill Moseley and Paul Eggert.
7768         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
7769         the tmpdir must be created.
7770         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
7771         dir be in the build tree, instead of $TMPDIR.
7773 2002-09-27  Akim Demaille  <akim@epita.fr>
7775         * bin/autoscan.in: Improve the comments.
7776         (&parse_args): Drop obsolete undocumented options.
7777         (&output_kind): Output warnings.
7778         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
7779         (getwd): Trigger a warning.
7781 2002-09-26  Akim Demaille  <akim@epita.fr>
7783         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
7784         Reported by Ralf Corsepius.
7785         * doc/autoconf.texi (autoreconf Invocation): Likewise.
7787 2002-09-26  Akim Demaille  <akim@epita.fr>
7789         Single suffix rules and seperated dependencies are not portable.
7791         * doc/autoconf.texi (Installation Directory Variables): Update.
7792         (Limitations of Make): Some about `Single Suffix Rules and
7793         Separated Dependencies'.
7794         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
7795         (ifnames, autoscan, autom4te): Un-factor into several rules.
7797 2002-09-25  Paul Eggert  <eggert@twinsun.com>
7799         * BUGS (Interoperability bugs): New section.  Mention libtool
7800         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
7802 2002-09-24  Paul Eggert  <eggert@twinsun.com>
7804         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
7805         make handles suffix-rules differently from GNU make.
7807         * bin/Makefile.am (SUFFIXES, .in): Remove.
7808         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
7809         Move the body of the old .in rule here.
7811 2002-09-16  Akim Demaille  <akim@epita.fr>
7813         i960 compilers create `b.out' files by default.
7814         Reported by Ralf Corsepius.
7816         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
7817         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
7819 2002-09-13  Paul Eggert  <eggert@twinsun.com>
7821         * doc/autoconf.texi (Particular Headers): Remove obsolete
7822         reference to `struct timezone' in the description of
7823         AC_HEADER_TIME.
7825 2002-09-13  Akim Demaille  <akim@epita.fr>
7827         Version 2.54.
7829         * config/config.sub, config/config.guess: Update.
7830         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
7831         * Makefile.am: Adjust.
7833 2002-09-13  Akim Demaille  <akim@epita.fr>
7835         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
7836         reading config.log when the compiler is rejected.
7837         Suggested by Guido Draheim.
7839 2002-09-13  Akim Demaille  <akim@epita.fr>
7841         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
7842         (chdir_init) might hang when stat'ing mounted directories.
7843         Reported by Vance Shipley.
7845 2002-09-12  Akim Demaille  <akim@epita.fr>
7847         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
7848         the lists.
7850 2002-09-12  Akim Demaille  <akim@epita.fr>
7852         * doc/autoconf.texi (Defining Symbols): Present two different
7853         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
7854         difference between 1 argument calls, and 2-3 argument calls.
7856 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
7858         * doc/autoconf.texi: Review grammar and punctuation.
7860 2002-09-11  Paul Eggert  <eggert@twinsun.com>
7862         * doc/autoconf.texi: Fix minor formatting, spelling, and
7863         grammatical typos.
7864         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
7865         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
7866         is obsolescent.
7868 2002-09-11  Akim Demaille  <akim@epita.fr>
7870         * doc/autoconf.texi (Questions): Rename as...
7871         (FAQ): this.
7872         (Defining Directories): New.
7874 2002-09-09  Akim Demaille  <akim@epita.fr>
7876         * doc/autoconf.texi (Making testsuite Scripts): Update.
7877         Suggested by Nishio Futoshi.
7879 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
7881         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
7882         plain `@' is wanted.
7884 2002-09-09  Akim Demaille  <akim@epita.fr>
7886         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
7887         `duplicates', since the algorithm was too naive and could keep
7888         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
7889         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
7890         Reported by Ralf Corsepius.
7891         * tests/torture.at (Configuring subdirectories): Exercise these
7892         cases.
7894 2002-09-09  Akim Demaille  <akim@epita.fr>
7896         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
7897         looking for a replacement file.
7898         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
7899         directory is relative.
7900         * doc/autoconf.texi (Generic Functions): Clarify the replacement
7901         directory definition.
7902         Reported by Andreas Schwab and Jim Meyering.
7904 2002-09-06  Akim Demaille  <akim@epita.fr>
7906         * doc/autoconf.texi (Setting Output Variables): Clarify what
7907         precious variables are.
7908         Suggested by Pontus Skoeld.
7910 2002-09-05  Akim Demaille  <akim@epita.fr>
7912         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
7913         (ifnames, autoscan, autom4te): Since we don't only depend on
7914         configure.ac variables (such as VERSION etc.), but also on prefix
7915         and so forth, depend on Makefile, not configure.ac.
7916         Reported by Alexandre Duret-Lutz.
7917         * doc/autoconf.texi (Installation Directory Variables): Adjust.
7919 2002-09-05  Kevin Ryde  <user42@zip.com.au>
7921         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
7922         doesn't seem to be confined to ia64, just say "some versions".
7924 2002-09-04  Akim Demaille  <akim@epita.fr>
7926         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
7927         Automake 1.6c.
7928         * Makefile.am (maintainer-clean-local): Remove.
7929         (MAINTAINERCLEANFILES): Remove COPYING.
7931 2002-09-03  Paul Eggert  <eggert@twinsun.com>
7933         * doc/autoconf.texi (Configuration Commands): Remove obsolete
7934         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
7935         Brinkmann.
7937 2002-09-03  Akim Demaille  <akim@epita.fr>
7939         * configure.ac: Bump to 2.53d.
7940         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
7941         as of today, on Automake's team suggestion.
7943 2002-09-03  Akim Demaille  <akim@epita.fr>
7945         Version 2.53c.
7947 2002-09-02  Akim Demaille  <akim@epita.fr>
7949         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
7950         SITE_MACRO_DIR.
7951         * configure.ac: Disable SITE_MACRO_DIR.
7953 2002-09-02  Jim Meyering  <meyering@lucent.com>
7955         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
7956         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
7957         Also, tweak grammar: s/make sure to/be sure to/.
7959 2002-09-02  Paul Eggert  <eggert@twinsun.com>
7961         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
7962         directory names are generally preferable to physical names.
7964 2002-09-02  Akim Demaille  <akim@epita.fr>
7966         * lib/Autom4te/General.pm (&update_file): s/die/error/.
7967         Reported by Raja R. Harinath.
7968         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
7969         * bin/autoupdate.in: Use error instead of die.
7971 2002-09-01  Paul Eggert  <eggert@twinsun.com>
7973         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
7974         ordinary shell concatenation rather than echo+tr+sed command that
7975         runs afoul of a long-line-related sed bug in Solaris 8.
7977         * bin/autoheader.in (parse_args): --warning -> --warnings.
7979         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
7980         stdout, as traditional "ls" does.
7981         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
7982         _AC_COMPILER_EXEEXT_O): Likewise.
7983         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
7985         * bin/autoconf.as: Add --prepend-include option.  This patch was
7986         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
7987         but bin/autoconf.in is generated automatically from bin/autoconf.as.
7989         * bin/autoconf.in, configure: Regenerate.
7991         * doc/autoconf.texi (Special Shell Variables): Mention
7992         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
7994         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
7995         MAILPATH and set PS1, PS2, PS4 to default values, to work
7996         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
7997         For LC_ALL etc, first try to set to "C" as POSIX requires and as
7998         the Autoconf documentation specifies; fall back to "unset" only if
7999         this fails.  Use a shell for-loop for this rather than an m4 loop,
8000         to shorten the output script.
8002 2002-08-30  Paul Eggert  <eggert@twinsun.com>
8004         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
8005         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
8006         for the CDPATH problem.  Document PWD.
8007         (Limitations of Builtins): Document the problem that "cd $foo" and
8008         "ls $foo" may refer to different directories in shells conforming
8009         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
8010         example, since the old example is now out of date.
8012         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
8013         FOO" and "ls FOO" talk about different directories; this catches
8014         problems when POSIX 1003.1-2001 "cd" fails due to symlink
8015         spaghetti.
8017         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
8018         of rolling our own unset.
8019         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
8020         in practice we needn't worry about CDPATH if unset doesn't work.
8022         * Makefile.in, aclocal.m4, bin/Makefile.in,
8023         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
8024         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
8025         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
8026         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
8027         tests/Makefile.in: Regenerate with Automake 1.6.3.
8029         * config/config.guess, config/config.sub, config/mkinstalldirs:
8030         Update.
8032         * configure: Regenerate with self.
8034 2002-08-30  Kevin Ryde  <user42@zip.com.au>
8036         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
8037         default output.
8039 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8041         * bin/autom4te.in (Request::load): Correctly test for "do" read
8042         failure.
8044 2002-08-29  Akim Demaille  <akim@epita.fr>
8046         * lib/Autom4te/General.pm (&xqx): New.
8047         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
8048         hand, which is not portable.
8049         (&error): New.
8050         * bin/autom4te.in: Use them.
8051         Use &error instead of die.
8052         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
8053         Adjust.
8055 2002-08-17  Paul Eggert  <eggert@twinsun.com>
8057         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
8058         default list of compilers to try, since it was long ago superseded
8059         by the ksh fc builtin.  Suggested by Steven G. Johnson.
8061 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
8063         * doc/autoconf.texi (Invoking autom4te): End the option table,
8064         fixing a bug introduced by the previous patch.
8065         (Limitations of Make): Add a 'target lookup' subentry in the
8066         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
8068 2002-07-29  Mark D. Roth  <roth@feep.net>
8070         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
8071         options and use $AUTOM4TE_PATH.
8072         * doc/autoconf.texi: Remove documentation of autom4te
8073         --include-envvar and --site-macro-subdir options and document
8074         use of $AUTOM4TE_PATH.
8075         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
8076         arguments from each language section.
8078 2002-07-29  Paul Eggert  <eggert@twinsun.com>
8080         * doc/install.texi: Include copyright symbol in copyright notice.
8082         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
8083         Replace with:
8084         (AM_MAKEINFOFLAGS): New macro.
8085         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
8086         * Makefile.am (INSTALL): Use the new macros.
8087         Use -o rather than --output, since "missing" does not grok --output.
8089 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
8091         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
8092         comments do not always work. Never trust the exit status of
8093         `make -k'.
8095 2002-07-24  Kevin Ryde  <user42@zip.com.au>
8097         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
8098         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
8100 2002-07-23  Paul Eggert  <eggert@twinsun.com>
8102         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
8103         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
8104         apparently treats PATH="nonexistent" as if it contained ".".
8105         Bug reported by Stefan `Sec' Zehl.
8107 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
8109         * doc/autoconf.texi (Limitations of Make): Mention the special
8110         handling of the obj/ directory by BSD make.
8112 2002-07-20  Kevin Ryde  <user42@zip.com.au>
8114         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
8115         backslashes.
8117 2002-07-19  Akim Demaille  <akim@epita.fr>
8119         * doc/autoconf.texi (Function Portability): `exit'.
8120         (Programming in M4sh): Ethymology of M4sh.
8122 2002-07-19  Akim Demaille  <akim@epita.fr>
8124         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
8126 2002-07-18  Akim Demaille  <akim@epita.fr>
8128         Version 2.53b.
8130 2002-07-18  Akim Demaille  <akim@epita.fr>
8132         * config/config.guess, config/config.sub: Update.
8134 2002-07-18  Akim Demaille  <akim@epita.fr>
8136         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
8137         Automake's parts.
8139         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
8140         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
8141         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
8143 2002-07-18  Akim Demaille  <akim@epita.fr>,
8144             Alexandre Duret-Lutz  <duret_g@epita.fr>
8146         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
8147         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
8149 2002-07-17  Russ Allbery  <rra@stanford.edu>
8151         * doc/autoconf.texi (Initializing configure): Clarify the
8152         description of the tarname default.
8154 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
8156         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
8157         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
8158         latter was not run.
8160 2002-07-17  Akim Demaille  <akim@epita.fr>
8162         * lib/Autom4te/General.pm (find_file): Browse the directories in
8163         the order they are given.
8165 2002-07-17  Akim Demaille  <akim@epita.fr>
8167         * tests/wrapsh.as, tests/wrappl.as: Merge into...
8168         * tests/wrapper.as: this.
8169         * tests/Makefile.am, configure.ac: Adjust.
8171 2002-07-17  Mark D. Roth  <roth@feep.net>
8173         * configure.ac: Add --enable-site-macro-dir option.
8174         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
8175         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
8176         --site-macro-subdir options.
8177         * bin/autoconf.in: Add --prepend-include option.
8178         * bin/autoheader.in: Add --prepend-include option.
8179         * bin/autoreconf.in: Add --prepend-include option.
8180         * bin/autoscan.in: Add --prepend-include option.
8181         * bin/autoupdate.in: Add --prepend-include option.
8182         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
8183         macro directory, remove note that include path directories are
8184         used in reverse order, and document --prepend-include option.
8185         * lib/autom4te.in: Use --prepend-include instead of --include.
8186         * tests/wrapsh.in: Use --prepend-include instead of --include.
8188 2002-07-17  Akim Demaille  <akim@epita.fr>
8190         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
8191         tarnames.
8192         * doc/autoconf.texi (Initializing configure): Adjust.
8194 2002-07-17  Akim Demaille  <akim@epita.fr>
8196         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
8197         (_AC_FUNC_MALLOC): New.
8198         (AC_FUNC_MALLOC): Use the latter.
8199         Define HAVE_MALLOC to 0 if broken.
8200         * doc/autoconf.texi (Particular Functions): Adjust.
8202 2002-07-16  Akim Demaille  <akim@epita.fr>
8204         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
8205         * doc/autoconf.texi (C Compiler): Adjust.
8207 2002-07-09  Akim Demaille  <akim@epita.fr>
8209         * doc/autoconf.texi: Properly set the ``header'' part.
8211 2002-07-09  Akim Demaille  <akim@epita.fr>
8213         * doc/autoconf.texi (Systemology): Some about Darwin.
8215 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
8217         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
8218         Don't use AC_REQUIRE in AU_DEFUN.
8220 2002-07-09  Art Haas  <ahaas@neosoft.com>
8222         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
8224 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
8226         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8227         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
8228         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
8229         so that Emacs setups GNU style for perl-mode and cperl-mode.
8231 2002-06-27  Paul Eggert  <eggert@twinsun.com>
8233         * config/install-sh: Quote $src.  Prefer || to test's -o option,
8234         as per "Limitations of Builtins".
8235         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
8236         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8238         * tests/mktests.sh: Use grep instead of fgrep, as per
8239         "Limitations of Builtins".
8241 2002-06-15  Paul Eggert  <eggert@twinsun.com>
8243         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
8244         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
8245         so that we consistently test the just-built programs.
8246         * tests/wrappl.as: Likewise.
8248 2002-06-12  Paul Eggert  <eggert@twinsun.com>
8250         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
8251         name, so that symlinks to 'autoconf' work properly.  Bug reported
8252         by Bruno Haible.
8253         * bin/autoheader.in (AUTOM4TE): Likewise.
8254         * bin/autoreconf.in (autoconf, autoheader): Likewise.
8255         * bin/autoscan.in (autom4te): Likewise.
8256         * bin/autoupdate.in (autom4te): Likewise.
8258         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
8259         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
8260         on Solaris 2.5.1.
8262 2002-06-11  Andreas Schwab  <schwab@suse.de>
8264         * doc/autoconf.texi: Add more dir entries.
8266 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
8268         * bin/autom4te.in ($cache): Don't define using `$me', the name
8269         of the cache should not depend on the name under which autom4te
8270         was installed.
8272 2002-06-07  Akim Demaille  <akim@epita.fr>
8274         * tests/tools.at (autoconf: forbidden tokens, basic)
8275         (autoconf: forbidden tokens, exceptions): Adjust to the change of
8276         words in autom4te.in.
8278 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
8280         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
8281         _AC_LANG_PROGRAM_C_F77_HOOKS.
8283 2002-06-07  Akim Demaille  <akim@epita.fr>
8285         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
8286         rename as...
8287         (AC_REPLACE_FNMATCH): this.
8288         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
8289         AC_FUNC_FNMATCH_GNU.
8291 2002-06-07  Akim Demaille  <akim@epita.fr>
8293         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
8294         Rosetta Stone for Unix.
8296 2002-06-07  Akim Demaille  <akim@epita.fr>
8298         * bin/autom4te.in (warn_forbidden): When rejecting a token,
8299         suggest m4_pattern_allow.
8300         Suggested by Adam J. Richter.
8302 2002-06-07  Akim Demaille  <akim@epita.fr>
8304         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
8305         ac_config_libobj_dir.
8306         (AC_CONFIG_LIBOBJ_DIR): New.
8307         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
8308         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
8309         Use ac_config_libobj_dir to find the replacement files.
8310         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
8311         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
8312         (AC_REPLACE_FNMATCH_GNU): these.
8313         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
8314         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
8315         * tests/mktests.sh (ac_exclude_list): Don't check
8316         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
8318 2002-06-06  Paul Eggert  <eggert@twinsun.com>
8320         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
8321         if ln doesn't work.
8322         * NEWS: Likewise.
8323         * doc/autoconf.texi (Configuration Links): Likewise.
8324         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
8326 2002-06-05  Paul Eggert  <eggert@twinsun.com>
8328         * config/config.guess, config/config.sub, config/texinfo.tex:
8329         Update from masters.
8331 2002-05-29  Paul Eggert  <eggert@twinsun.com>
8333         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
8334         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
8335         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
8336         Likewise.
8337         * lib/autoconf/Makefile.am (check-local): Likewise.
8338         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
8339         * lib/autoconf/types.m4 (commentary only): Likewise.
8340         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
8341         * lib/autotest/Makefile.am (check-local): Likewise.
8342         * lib/m4sugar/Makefile.am (check-local): Likewise.
8343         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
8344         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
8346         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
8347         * doc/autoconf.texi (Particular Programs): Document them.
8348         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
8349         * NEWS: Likewise.
8351 2002-05-27  Paul Eggert  <eggert@twinsun.com>
8353         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
8354         * NEWS, doc/autoconf.texi (Particular Types): Document it.
8355         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
8356         instead of AC_MBSTATE_T, which never existed.
8358 2002-05-23  Akim Demaille  <akim@epita.fr>
8360         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
8361         version of Autoconf that is discussed.
8363 2002-05-22  Paul Eggert  <eggert@twinsun.com>
8365         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
8366         from the default list of compilers to try.  Suggested by
8367         Kate Hedstrom.
8368         * NEWS: Document the above.
8369         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
8371 2002-05-17  Paul Eggert  <eggert@twinsun.com>
8373         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
8374         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
8375         This improves on an earlier suggestion by H. Peter Anvin.
8377 2002-05-16  Paul Eggert  <eggert@twinsun.com>
8379         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
8380         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
8381         Both macros now accept an optional source-dir arg.
8382         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
8384         * NEWS: Document this.
8385         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
8387         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
8388         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
8389         not for GNU extensions; this undoes part of the 2000-11-03 change,
8390         reverting to 2.13-compatible behavior.
8391         Add new optional argument DIR.
8392         (AC_FUNC_FNMATCH_GNU): New macro.
8394         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
8396 2002-05-08  Paul Eggert  <eggert@twinsun.com>
8398         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
8399         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
8400         and it causes a 'test' syntax error if it fails.
8401         Bug reported by Stephen Gildea.
8403         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
8404         If prototypes are supported, use them to check this at compile-time,
8405         instead of trying to check it at run-time.  If we must do a run-time
8406         check, assume that setvbuf is standard when cross-compiling, as
8407         nonstandard setvbuf occurs only on ancient and unlikely hosts.
8408         Bug reported by Paul D. Smith.
8410         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
8411         argument specifying location of getloadavg.c.  This removes a
8412         FIXME.  This idea was taken from Jim Meyering's implementation in
8413         textutils.
8414         * doc/autoconf.texi (Particular Functions): Document this.
8415         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
8416         that's what the code does; this fixes a bug reported by
8417         Paul D. Smith.
8419 2002-05-03  Akim Demaille  <akim@epita.fr>
8421         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
8422         autopoint instead of gettextize.
8423         ($uses_alocal): Rename as...
8424         ($uses_aclocal): this.
8425         * doc/autoconf.texi (autoreconf Invocation): Adjust.
8426         Suggested by Bruno Haible.
8428 2002-05-03  Akim Demaille  <akim@epita.fr>
8430         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
8432 2002-04-29  Paul Eggert  <eggert@twinsun.com>
8434         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
8435         files to be 1 second older; just set them to be the same time.
8436         Also, sleep 1 second after the first aclocal, to work around
8437         problems with sub-second time stamps on the input files.
8439 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
8441         * doc/autoconf.texi: Mention "set -e -x" lossage
8442         under node "Limitations of Builtins".
8444 2002-04-29  Akim Demaille  <akim@epita.fr>
8446         * doc/install.texi: Better wording for setting variables when
8447         running configure.
8448         From Christian Cornelssen.
8450 2002-04-29  Akim Demaille  <akim@epita.fr>
8452         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
8453         of lack of $LINENO support, then the test will compare the $LINENO
8454         in testsuite vs. the lineno in the test file.  This is wrong, of
8455         course.
8456         Be sure to protect it.
8457         Reported by Patrick Welche.
8459 2002-04-25  Akim Demaille  <akim@epita.fr>
8461         * doc/autoconf.texi (Obsolete Macros): Typo.
8462         Reported by Vladimir Volovich.
8464 2002-04-25  Akim Demaille  <akim@epita.fr>
8466         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
8467         than some of the input files, hence, on the second run of aclocal,
8468         if some of its input are younger, make them older.
8469         Suggested by Paul Eggert.
8471 2002-04-25  Akim Demaille  <akim@epita.fr>
8473         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
8474         Thanks to Paul Eggert.
8476 2002-04-25  Akim Demaille  <akim@epita.fr>
8478         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
8479         and ac_subst_vars be sh variables containing the list of
8480         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
8481         DEFAULT diversion.
8482         (_AC_INIT_PREPARE): Use them to log them.
8483         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
8484         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
8485         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
8486         _AC_SUBST_FILES and _AC_SUBST_VARS.
8487         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
8489 2002-04-24  Akim Demaille  <akim@epita.fr>
8491         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
8492         autoheader, so that automake does not complain about a missing
8493         config.h.in that was to be created.
8495 2002-04-23  Akim Demaille  <akim@epita.fr>
8497         * bin/autoheader.in (parse_args): --warning takes an argument.
8498         Fixes PR/220.
8500 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
8502         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
8503         and bb.out when cleaning up.
8505 2002-04-22  Akim Demaille  <akim@epita.fr>
8507         Version 2.53a.
8509 2002-04-22  Akim Demaille  <akim@epita.fr>
8511         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
8513 2002-04-22  Akim Demaille  <akim@epita.fr>
8515         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
8516         comma.
8517         Reported by Gregory Giannoni.
8519 2002-04-22  Akim Demaille  <akim@epita.fr>
8521         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
8522         Fixes false failures on Darwin.
8524 2002-04-21  Paul Eggert  <eggert@twinsun.com>
8526         * TODO, bin/autoupdate.in, doc/autoconf.texi,
8527         lib/autoconf/general.m4, lib/autoconf/libs.m4,
8528         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
8529         tests/tools.at: Minor spelling and grammar fixes.
8531 2002-04-20  Paul Eggert  <eggert@twinsun.com>
8533         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
8534         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
8535         * lib/autotest/general.m4 (AT_INIT): Likewise.
8536         * tests/atgeneral.m4 (AT_INIT): Likewise.
8538 2002-04-19  Paul Eggert  <eggert@twinsun.com>
8540         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
8541         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
8542         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
8543         lib/autoconf/functions.m4, lib/autoconf/general.m4,
8544         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
8545         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
8546         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
8547         Minor spelling and grammar fixes.
8549         * doc/autoconf.texi: Follow the outline suggested in the GNU
8550         Sample Texts sections of the Texinfo 4.2 manual.  Most
8551         importantly, this makes sure that the copyright notices appear in
8552         all output formats.  You probably need Texinfo 4.2 to generate
8553         the manual now.
8555         Fix some bugs when using "$@" when there might be zero positional
8556         arguments in cases where this matters.
8558         * bin/autoconf.as: Rewrite so that the problem does not come up.
8559         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
8560         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
8561         * lib/autotest/general.m4 (AT_INIT): Likewise.
8563         * bin/autoheader.in: Use 'case' statement to work around problem.
8564         * bin/auto4mte.in: Likewise.
8565         * bin/autoreconf.in: Likewise.
8566         * bin/autoscan.in: Likewise.
8567         * bin/autoupdate.in: Likewise.
8568         * bin/ifnames.in: Likewise.
8570         * doc/autoconf.texi (Shell Substitutions): Document the problem.
8572         * lib/autotest/general.m4 (AT_INIT):
8573         Use Zsh alias to work around problem.
8574         * tests/atgeneral.m4 (AT_INIT): Likewise.
8576         * tests/c.at: We can't have zero arguments, so remove workaround
8577         that is not portable to Zsh.
8579 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
8581         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
8582         from aclocal.m4 too.
8584 2002-04-12  Akim Demaille  <akim@epita.fr>
8586         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
8588 2002-04-10  Akim Demaille  <akim@epita.fr>
8590         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
8591         workaround for ${1+"$@"}.
8592         * doc/autoconf.texi (Shell Substitutions): Explain it.
8593         From Oliver Kiddle and Peter Stephenson.
8595         Have M4sh perform minimal shell sanitizing.
8597         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
8598         part into...
8599         (_AS_PREPARE): this new macro.
8600         (AS_PREPARE): New.
8601         (AS_INIT): Invoke AS_SHELL_SANITIZE.
8602         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
8604         Adjust Autoconf and Autotest.
8606         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
8607         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
8608         * lib/autotest/general.m4 (AT_INIT): Likewise.
8609         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
8610         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
8611         AS_SHELL_SANITIZE.
8613         Use this M4sh to generate Autoconf's shell scripts.
8615         * tests/wrapsh.as: New, precursor of wrapsh.in.
8616         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
8617         on Autotest and M4sh.
8618         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
8619         (wrapsh.in): New target.
8620         * bin/autoconf.as: New, precursor of autoconf.in.
8621         (autoconf.in): New target.
8623 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
8625         * doc/autoconf.texi (Limitations of Make): Mention the issue
8626         with indented comments in rules.
8628 2002-04-09  Andreas Schwab  <schwab@suse.de>
8630         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
8631         ac_top_builddir when setting ac_abs_top_builddir.
8633 2002-04-06  Kevin Ryde  <user42@zip.com.au>
8635         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
8636         (Portable Shell): Cross reference to Systemology.
8638 2002-04-05  Akim Demaille  <akim@epita.fr>
8640         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
8641         directories when descending in a SUBDIRS.
8642         Reported by Ezra Peisach.
8644 2002-04-04  Andreas Schwab  <schwab@suse.de>
8646         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
8647         contains no literal separators.
8649 2002-04-03  Akim Demaille  <akim@epita.fr>
8651         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
8652         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
8653         Use dnl, not the KILL diversion.
8654         Extracted from...
8655         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
8656         (AC_CONFIG_LINKS): here.
8657         Adjust.
8658         Don't use the KILL diversion, as it kills spurious output, which
8659         results in failures being hidden.
8660         Use m4_defn where appropriate.
8661         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
8662         after the second argument.
8663         Use m4_defn.
8664         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
8665         syntax, as it is provided by M4sugar.
8666         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
8668 2002-04-03  Andreas Schwab  <schwab@suse.de>
8670         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
8671         expanded if $# <= 2.
8673         * bin/autoreconf.in (autoreconf): Run automake after rerunning
8674         aclocal.
8676 2002-04-03  Akim Demaille  <akim@epita.fr>
8678         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
8679         (_AC_COMPILER_EXEEXT_REJECT): New.
8680         Also recognize *.bb and *.bbg as compilation byproducts.
8681         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
8682         (_AC_COMPILER_OBJEXT): Use them.
8683         Fixes Debian #138666.
8685 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
8687         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
8689         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
8690         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
8691         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
8692         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
8693         (AC_C_CONST): Same.
8694         (AC_C_INLINE): Same.
8695         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
8696         * doc/autoconf.texi, NEWS: Document.
8697         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
8698         AC_C_CROSS.
8700 2002-04-02  Akim Demaille  <akim@epita.fr>
8702         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
8703         _AS_MKDIR_P_PREPARE.
8705 2002-03-28  Kevin Ryde  <user42@zip.com.au>
8707         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
8708         to avoid versions of HP C which don't allow that.
8710 2002-03-27  Paul Eggert  <eggert@twinsun.com>
8712         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
8713         (AS_SHELL_SANITIZE): Invoke it.
8714         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
8716 2002-03-26  Akim Demaille  <akim@epita.fr>
8718         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
8720 2002-03-26  Akim Demaille  <akim@epita.fr>
8722         * doc/autoconf.texi (Introduction): The GNATS base moved.
8724 2002-03-25  Paul Eggert  <eggert@twinsun.com>
8726         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
8727         as POSIX requires, as it doesn't work with Zsh.
8728         * doc/autoconf.texi (Assignments): Document the problem.
8730 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
8732         * doc/autoconf.texi (Limitations of Make): Mention more issue
8733         about VPATH, overriding of macros in sub-makes, and handling of
8734         SHELL.
8736 2002-03-21  Paul Eggert  <eggert@twinsun.com>
8738         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
8739         problem with here-document buffer boundaries.
8741         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
8742         when reinvoking the shell, to work around problems with installers
8743         who put strange things like "cd" commands in their environments.
8745 2002-03-19  Akim Demaille  <akim@epita.fr>
8747         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
8748         From Aaron Ucko.
8750 2002-03-19  Akim Demaille  <akim@epita.fr>
8752         * bin/autoscan.in (scan_file): Specify the location in `&used'
8753         invocations.
8754         From Nicolas Joly.
8756 2002-03-19  Akim Demaille  <akim@epita.fr>
8758         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
8759         From Nishio Futoshi.
8761 2002-03-19  Akim Demaille  <akim@epita.fr>
8763         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
8765 2002-03-18  Paul Eggert  <eggert@twinsun.com>
8767         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
8768         (Limitations of Usual Tools): Add mkdir section.
8770         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
8771         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
8772         back on AS_DIRNAME to compute prefixes otherwise; this is
8773         roughly what mkinstalldirs does.  That way, we need not have
8774         our own filename disassembler.  The old disassembler did not
8775         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
8777         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
8778         Create at_test_all by a series of assignments,
8779         not by a single assignment of a long string.  The latter causes ksh
8780         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
8781         presumably because of a buffer overrun.
8783 2002-03-14  Paul Eggert  <eggert@twinsun.com>
8785         * lib/autotest/general.m4 (at_times_skip):
8786         Renamed from at_times.  Now a boolean.
8787         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
8788         says 'times: not found'.
8790 2002-03-14  Akim Demaille  <akim@epita.fr>
8792         * bin/autoreconf.in (&study_gettextize): New.
8793         (&autoreconf): Handle newest gettextize.
8794         Rerun aclocal if needed.
8795         Suggested by Andreas Schwab.
8797 2002-03-13  Akim Demaille  <akim@epita.fr>
8799         * doc/autoconf.texi (Special Shell Variables): More about IFS.
8801 2002-03-13  Akim Demaille  <akim@epita.fr>
8803         * doc/autoconf.texi (Header Portability): New.
8804         Add information about stdint.h and inttypes.h from Paul Eggert.
8806 2002-03-13  Akim Demaille  <akim@epita.fr>
8808         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
8809         -p'.
8810         From Bob Proulx.
8812 2002-03-12  Akim Demaille  <akim@epita.fr>
8814         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
8815         m4_require.
8817 2002-03-11  Andreas Schwab  <schwab@suse.de>
8819         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
8820         does not do it if --with-lispdir is given.
8822 2002-03-08  Akim Demaille  <akim@epita.fr>
8824         Version 2.53.
8826 2002-03-08  Akim Demaille  <akim@epita.fr>
8828         * doc/autoconf.texi (Subdirectories): Clarify that the
8829         subdirectory should exist.
8831 2002-03-08  Akim Demaille  <akim@epita.fr>
8833         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
8835 2002-03-08  Akim Demaille  <akim@epita.fr>
8837         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
8838         aliases the actual variables, and modifications of the former
8839         affect the latter.
8841 2002-03-08  Akim Demaille  <akim@epita.fr>
8843         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
8844         because of C-c: have m4 output in tmp files, then mv them.
8846 2002-03-08  Akim Demaille  <akim@epita.fr>
8848         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
8849         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
8850         * bin/ifnames.in: Copyright update.
8852 2002-03-08  Akim Demaille  <akim@epita.fr>
8854         * doc/autoconf.texi (Invoking autom4te): New.
8856 2002-03-05  Akim Demaille  <akim@epita.fr>
8858         * doc/autoconf.texi (Specifying Names): Clarification suggested by
8859         Kevin Ryde.
8861 2002-03-05  Akim Demaille  <akim@epita.fr>
8863         Version 2.52i.
8865 2002-03-04  Akim Demaille  <akim@epita.fr>
8867         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
8868         * lib/autoconf/general.m4 (AC_INIT): More informative error
8869         message for LIBOBJ.
8871 2002-03-04  Akim Demaille  <akim@epita.fr>
8873         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
8874         parallel builds.
8876 2002-03-04  Akim Demaille  <akim@epita.fr>
8878         * doc/autoconf.texi (Transforming Names): Equality between target
8879         and host is irrelevant.
8880         (Specifying Names, Canonicalizing): Remove all references to the
8881         backward compatibility hooks.  Rather, collect them all into...
8882         (Hosts and Cross-Compilation): this new section.
8883         * doc/install.texi (System Type): Ditto.
8884         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
8885         that `--host' implies cross-compilation.
8887 2002-03-04  Akim Demaille  <akim@epita.fr>
8889         * doc/autoconf.texi (Evaluation Macros): New.
8890         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
8891         useless.
8892         (_m4_foreach): Define the variant with immediate evaluation so
8893         that it contains exactly the items, not an expression which
8894         evaluation is the current item.
8895         (m4_re_string, m4_re_word): Don't over quote them.
8897 2002-03-04  Akim Demaille  <akim@epita.fr>
8899         Instead of having stacking `shift's evaluated at the end, let
8900         `foreach' loops immediately evaluate them.
8902         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
8903         $*.  This is the n-th time I change my mind, but hopefully this is
8904         the last...
8905         (m4_lquote): New.
8906         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
8907         efficient.
8908         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
8909         it was only a hack for m4_text_wrap.
8910         (m4_car2): Remove, replaced by...
8911         (m4_cdr): New.
8912         (_m4_foreach): Adjust.
8913         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
8914         m4_bpatsubst for clarification.
8916 2002-03-04  Akim Demaille  <akim@epita.fr>
8918         * doc/autoconf.texi (Changequote is Evil): New.
8920 2002-03-03  Kevin Ryde  <user42@zip.com.au>
8922         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
8923         on old systems like SunOS.
8925 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
8927         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8928         lib/autoconf/functions.m4, lib/autoconf/general.m4,
8929         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
8930         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
8931         of messages.
8933 2002-02-28  Akim Demaille  <akim@epita.fr>
8935         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
8936         message to be sent.
8938 2002-02-28  Kevin Ryde  <user42@zip.com.au>
8940         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
8942 2002-02-25  Akim Demaille  <akim@epita.fr>
8944         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
8945         From Akinori Musha.
8947 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
8949         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
8950         translate \r\n to \n.
8952 2002-02-07  Akim Demaille  <akim@epita.fr>
8954         Version 2.52h.
8956 2002-02-07  Akim Demaille  <akim@epita.fr>
8958         Fix Autoconf PR/209.
8959         Also reported by Frank Denis.
8961         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
8963 2002-02-07  Akim Demaille  <akim@epita.fr>
8965         Fix Autoconf PR/207:
8966         AC_PREFIX_PROGRAM fails with dashed program names
8968         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
8969         variable when looking for the prefix program.
8970         Now it also works for shell variables.
8972 2002-02-07  Akim Demaille  <akim@epita.fr>
8974         * doc/autoconf.texi (Limitations of Builtins): More about
8975         case/esac.
8977 2002-02-06  Akim Demaille  <akim@epita.fr>
8979         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
8980         case/esac, some shells don't support it.
8981         Reported by Zack Weinberg.
8982         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
8984 2002-02-06  Akim Demaille  <akim@epita.fr>
8986         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
8987         sure not to introduce newlines in at_groups.
8988         * lib/autotest/Makefile.am (autotest.m4f): Typo.
8990 2002-02-06  Akim Demaille  <akim@epita.fr>
8992         * tests/torture.at (Configuring subdirectories): Skip if aclocal
8993         is not available.
8995 2002-02-05  Paul Eggert  <eggert@twinsun.com>
8997         * doc/autoconf.texi (Specific Compiler Characteristics):
8998         Describe HP-UX cc bug workaround more accurately.
8999         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
9000         not unsigned long.
9001         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
9002         cross-compilers, too.  This undoes some of the most recent change
9003         to this file.
9005 2002-02-05  Akim Demaille  <akim@epita.fr>
9007         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
9008         to make sure they are up to date when `check' is run.
9010 2002-02-05  Akim Demaille  <akim@epita.fr>
9012         * doc/autoconf.texi (Making testsuite Scripts): Document
9013         package.m4.
9015 2002-02-05  Akim Demaille  <akim@epita.fr>
9017         * lib/freeze.mk: New.
9019 2002-02-05  Akim Demaille  <akim@epita.fr>
9021         Implement `autom4te --freeze'.
9023         * bin/autom4te.in (&freeze): New.
9024         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
9025         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
9027 2002-02-05  Akim Demaille  <akim@epita.fr>
9029         * bin/autom4te.in (&parse_args): Implement `frozen files are
9030         optional are the sum of the previous files on the command line'.
9031         Also, pass `--reload-state=' on them, so...
9032         (handle_m4): don't.
9033         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
9034         (M4sh): Rely on M4sugar.
9035         (Autotest, M4sh, M4sugar): Use frozen files.
9037 2002-01-31  Akim Demaille  <akim@epita.fr>
9039         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
9040         * doc/autoconf.texi (Initializing configure): Adjust.
9042 2002-01-30  Akim Demaille  <akim@epita.fr>
9044         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
9045         alphanumeric to `-' instead of `_'.
9047 2002-01-30  Akim Demaille  <akim@epita.fr>
9049         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
9050         for plain code, the other for cross-compilation code.  The latter
9051         is now run with GCC only.
9052         * doc/autoconf.texi (Compilers and Preprocessors): New.
9054 2002-01-30  Akim Demaille  <akim@epita.fr>
9056         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
9057         values.
9058         * doc/autoconf.texi (Initializing configure): Explain how to
9059         change AC_INIT default values.
9061 2002-01-29  Akim Demaille  <akim@epita.fr>
9063         * tests/torture.at (Configuring subdirectories): Use configure.in,
9064         so that aclocal 1.4 works.
9065         Reported by Alexandre Duret-Lutz and Larry Schmitt.
9067 2002-01-28  Akim Demaille  <akim@epita.fr>
9069         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
9070         needs an argument.
9072 2002-01-28  Akim Demaille  <akim@epita.fr>
9074         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
9075         AUTOTEST_PATH *after* it was set.
9076         Don't put `.' in the PATH: the user should be precise and `./' if
9077         needed.  In addition, given that the test suite does some `cd', if
9078         `.' is in the path, the `tested programs' sections will report
9079         programs found in the test suite's directory, while during the
9080         tests (performed in their own directory), these programs are no
9081         longer visible.  In other words, the results is confusing and
9082         useless.
9083         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
9085 2002-01-24  Akim Demaille  <akim@epita.fr>
9087         Version 2.52g.
9089 2002-01-24  Akim Demaille  <akim@epita.fr>
9091         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
9092         * doc/autoconf.texi: Finally add Akim as an author.
9094 2002-01-24  Akim Demaille  <akim@epita.fr>
9096         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
9097         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
9098         Bourne. Use /bin/sh.
9099         From Andreas Buening.
9101 2002-01-24  Akim Demaille  <akim@epita.fr>
9103         * config/config.guess, config/config.sub, config/texinfo.tex:
9104         Update from masters.
9106 2002-01-24  Akim Demaille  <akim@epita.fr>
9108         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
9109         * config/auxdir.m4, config/cond.m4, config/depend.m4,
9110         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
9111         * config/missing.m4, config/sanity.m4, config/select.m4,
9112         * config/strip.m4: Remove, to ease sync'ing with any version of
9113         Automake.
9115 2002-01-24  Akim Demaille  <akim@epita.fr>
9117         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
9118         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
9119         Reported by Geir Ove Myhr.
9121 2002-01-21  Akim Demaille  <akim@epita.fr>
9123         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
9125 2002-01-21  Akim Demaille  <akim@epita.fr>
9127         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
9128         message on invalid options.
9129         * bin/autom4te.in (parse_args): Don't use
9130         Autoconf::General::getopt with non valid options.
9132 2002-01-17  Jim Meyering  <meyering@lucent.com>
9134         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
9135         $ac_cv_exeext so we don't use an old, invalid, cached value.
9137 2002-01-11  Akim Demaille  <akim@epita.fr>
9139         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
9140         Meyering.
9141         * doc/autoconf.texi (Function Portability): Document the strnlen
9142         limitation.
9143         (Particular Functions): Document AC_FUNC_STRNLEN.
9144         * lib/autoscan/functions: Adjust.
9146 2002-01-06  Akim Demaille  <akim@epita.fr>
9148         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
9149         package.m4, since is really depends upon configure.ac, not
9150         configure.
9151         * doc/autoconf.texi (testsuite Scripts): Adjust.
9152         * tests/Makefile.am (package.m4): New.
9153         EXTRA_DIST it since its a source.
9155 2002-01-06  Akim Demaille  <akim@epita.fr>
9157         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
9158         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
9159         and PACKAGE_BUGREPORT from here...
9160         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
9161         arguments.
9162         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
9163         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
9164         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
9165         * tests/tools.at (autoheader): Adjust.
9166         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
9168 2002-01-06  Akim Demaille  <akim@epita.fr>
9170         * bin/autoscan.in (scan_file): Use `&used'.
9172 2002-01-03  Akim Demaille  <akim@epita.fr>
9174         * doc/autoconf.texi (Output): Improved wording regarding use of
9175         AC_OUTPUT.
9176         From Olly Betts.
9178 2001-12-18  Kevin Ryde  <user42@zip.com.au>
9180         * doc/autoconf.texi (Function Portability): Add notes on sscanf
9181         sometimes needing writable input.
9183 2001-12-17  Jim Meyering  <meyering@lucent.com>
9185         * doc/autoconf.texi (New Macros): Tweak wording.
9187 2001-12-14  Akim Demaille  <akim@epita.fr>
9189         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
9190         trailing files, don't apply `-rf' to files which might not be
9191         created by configure (core, core.*, and *.core), but just `rm -f'.
9192         Suggested by Jonathan Kamens.
9194 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
9196         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
9198 2001-12-14  Akim Demaille  <akim@epita.fr>
9200         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
9202 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
9204         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
9205         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
9206         abs_srcdir, top_srcpath to abs_top_srcdir.
9207         (_AC_OUTPUT_FILES): Adjust.
9208         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
9209         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
9210         * tests/wrappl.in, tests/wrapsh.in: Adjust.
9212 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
9214         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
9215         C/Fortran linking on HP/UX, by extracting the Fortran library
9216         search path from the LPATH line in the $F77 -v output.
9218 2001-12-12  Kevin Ryde  <user42@zip.com.au>
9220         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
9221         forbidden file descriptors table.
9223 2001-11-26  Akim Demaille  <akim@epita.fr>
9225         * bin/autoscan.in (%c_keywords): Build it at top level.
9226         Map to 1 in order to simplify its uses.
9228 2001-11-26  Akim Demaille  <akim@epita.fr>
9230         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
9231         Remove $filepath, useless.
9232         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
9233         variables, they are really part of the tokens.
9234         Split the input line on spaces and then look for tokens.
9235         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
9236         because of `lex$U.$(OBJEXT)'.
9237         (&scan_files): Use "@list" instead of join.
9238         * doc/Makefile.am (CLEANFILES): Add *.fns.
9240 2001-11-26  Akim Demaille  <akim@epita.fr>
9242         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
9243         Remove, replaced by...
9244         * tests/wrappl.in: Be common for all the Perl executables.
9245         In particular autoscan and autoheader want -I.
9246         * configure.ac: Adjust.
9247         * lib/autoscan/headers: errno.h is portable.
9249 2001-11-26  Akim Demaille  <akim@epita.fr>
9251         * bin/autoscan.in (used): New.
9252         Use it.
9254 2001-11-26  Akim Demaille  <akim@epita.fr>
9256         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
9257         directives.
9258         (&scan_sh_file): Remove a duplicate pattern.
9259         (&check_configure_ac): Use long options.
9260         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
9262 2001-11-26  Akim Demaille  <akim@epita.fr>
9264         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
9265         Before, having a line containing the opening of a multi line
9266         comment made the whole line be ignored.
9268 2001-11-26  Akim Demaille  <akim@epita.fr>
9270         * doc/autoconf.texi (Using an Autotest Test Suite): New.
9271         (testsuite Scripts): Be one of its subsection.
9272         (Autotest Logs): New.
9274 2001-11-26  Akim Demaille  <akim@epita.fr>
9276         Test groups are now run two directories deeper.
9278         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
9279         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
9280         at_top_builddir.
9281         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
9282         top_srcdir, builddir and top_builddir.
9283         Use `at_*dir' relatively to the directory containing the
9284         suite, use `*dir' when relatively to the current group dir.
9286 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
9288         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
9289         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
9290         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
9291         spelling errors.
9293 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
9295         * doc/autoconf.texi (Using System Type): Add an example of `case
9296         $host' usage so people quit using `case $target' everywhere.
9298 2001-11-22  Akim Demaille  <akim@epita.fr>
9300         * doc/autoconf.texi (Installation Directory Variables): Englishoes
9301         spotted by Jim Meyering.
9303 2001-11-16  Paul Eggert  <eggert@twinsun.com>
9305         This patch implements a `long double' suggestion by Oliver Kiddle.
9307         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
9308         static, to catch errors if the value isn't known at compile-time
9309         and the compiler supports dynamic arrays.  Change its name from
9310         `_array_' to `test_array' to avoid potential name clashes.
9311         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
9312         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
9313         better than double.  Catch a bug in GCC 2.95.2 x86.
9314         * doc/autoconf.texi (C Compiler): Document the above.
9315         * NEWS: Likewise.
9317 2001-11-13  Akim Demaille  <akim@epita.fr>
9319         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
9320         hand.
9321         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
9323 2001-11-13  Akim Demaille  <akim@epita.fr>
9325         * lib/autotest/general.m4 (AT_INIT): After having run the test
9326         group, go back to the initial directory, not to at_suite_dir.
9328 2001-11-13  Akim Demaille  <akim@epita.fr>
9330         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
9331         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
9332         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
9333         option.
9334         (AT_CHECK_CONFIGURE): Use absolute paths.
9335         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
9336         The problem is still the old one: there is no means in M4 (that I
9337         know about) to create a defining macro, because there is no means
9338         to create `$1' etc., therefore, the defining macro ``swallows''
9339         all the arguments meant to the defined macro.
9341 2001-11-13  Akim Demaille  <akim@epita.fr>
9343         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
9344         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
9345         configure.ac.
9346         * tests/aclocal.m4: Remove, as it is no longer used.
9348 2001-11-13  Akim Demaille  <akim@epita.fr>
9350         * lib/autotest/general.m4: Change `tests?' into `groups?' in
9351         variable names when referring to a single test group, or to
9352         `suite' when referring to the whole test suite.
9353         `at_last_test' is removed: m4 compute at_format itself.
9354         (at_stdout, at_stder1, at_stderr): New variables.
9355         (AT_CHECK): Use them.
9357 2001-11-13  Akim Demaille  <akim@epita.fr>
9359         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
9360         in PATH.
9361         Create `testsuite.dir/003/run' instead of `testsuite.003'.
9362         Do it as soon as a test fails, don't wait till the end of the test
9363         suite.
9364         Don't remove $as_me.[0-9]*, since these files no longer exist.
9366 2001-11-13  Akim Demaille  <akim@epita.fr>
9368         * tests/tools.at: Use absolute paths, since we are no longer run
9369         in place.
9371 2001-11-13  Akim Demaille  <akim@epita.fr>
9373         Now that tests are running in their own private dir, there is no
9374         need to list the files to remove at the end of tests groups.
9376         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
9377         (AT_data_files, at_data_files): Remove.
9378         (AT_CLEANUP, AT_DATA): Simplify.
9379         (AT_INIT): Adjust.
9380         Remove the group dir if !debug && !failed.
9381         * tests/atspecific.m4: Adjust.
9383 2001-11-13  Akim Demaille  <akim@epita.fr>
9385         Start a new layout for Autotest: `testsuite' creates
9386         `testsuite.dir' in which the at-check-line etc. files are to be
9387         found, and `testsuite.dir/003' where the test group 3 is run.
9389         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
9390         at_check_line_file, at_format, at_test_normalized, at_group_dir
9391         are new variables.
9392         Create the directories.
9393         Use absolute paths for at- files.
9394         (AT_CHECK): Adjust.
9396 2001-11-11  Michael Matz  <matz@kde.org>
9398         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
9399         (m4_car2): New.
9400         (m4_car): Properly quote arguments.
9402 2001-11-13  Akim Demaille  <akim@epita.fr>
9404         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
9405         with stricter rules on LIBOBJS.
9407 2001-11-12  Paul Eggert  <eggert@twinsun.com>
9409         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
9410         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
9411         __PROTOTYPES too.
9413 2001-11-12  Akim Demaille  <akim@epita.fr>
9415         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
9417 2001-11-12  Akim Demaille  <akim@epita.fr>
9419         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9420         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
9421         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
9422         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
9423         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
9424         specify to what the macro should be defined (typically to 1).
9426 2001-11-12  Akim Demaille  <akim@epita.fr>
9428         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
9429         From Jim Meyering.
9431 2001-11-12  Akim Demaille  <akim@epita.fr>
9433         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
9434         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
9435         definition used by Automake where LEX is +/- "${missing} lex" and
9436         `missing' itself contains variables.
9438 2001-11-12  Akim Demaille  <akim@epita.fr>
9440         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
9441         Now that M4sh pushes BODY, the comments were output at the end of
9442         the test suites.
9444 2001-11-08  Akim Demaille  <akim@epita.fr>
9446         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
9447         that we can trace macros from aclocal.m4.
9448         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
9449         obsoleted, and redirect to the former anyway.
9450         Reported by Ralf Corsepius.
9452 2001-11-08  Akim Demaille  <akim@epita.fr>
9454         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
9455         processed only if present.
9456         * tests/torture.at (Configuring subdirectories): Use autoreconf
9457         instead of successive calls to autoconf.
9458         Add a nonexistent subdirectory to exercise the patch above.
9459         Reported by Ralf Corsepius.
9461 2001-11-08  Kevin Ryde  <user42@zip.com.au>
9463         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
9464         doesn't accept .S files.
9466 2001-11-07  Akim Demaille  <akim@epita.fr>
9468         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
9469         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
9470         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
9471         * bin/autom4te.in (warn_forbidden): New.
9472         (handle_output): Use it.
9473         Read m4_pattern_forbid with messages.
9475 2001-11-05  Akim Demaille  <akim@epita.fr>
9477         * bin/autom4te.in (--normalize): Remove.
9478         * lib/autom4te.in: Adjust.
9480 2001-11-05  Akim Demaille  <akim@epita.fr>
9482         * tests/Makefile.am (testsuite): Rename this target as...
9483         ($(TESTSUITE)): this.
9484         From Nicolas Joly.
9486 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
9488         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
9489         the --prefix option, also remove it's argument.
9491 2001-11-05  Akim Demaille  <akim@epita.fr>
9493         * doc/autoconf.texi (testsuite Invocation): Update.
9494         (Writing testsuite.at): Update.
9496 2001-11-03  Akim Demaille  <akim@epita.fr>
9498         * doc/autoconf.texi: s/@code/@command/ where appropriate.
9500 2001-11-03  Akim Demaille  <akim@epita.fr>
9502         * lib/Autom4te/General.pm: (&catfile, &canonfile)
9503         (&file_name_is_absolute): New, wrappers around routines from
9504         File::Spec.
9505         Use and export them.
9506         (&find_configure_ac): Optionally take a directory where to look at.
9507         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
9508         the arguments.
9509         Default @ARGV to `.', not find_configure_ac.
9510         (&autoreconf): Argument is a directory.
9511         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
9512         * doc/autoconf.texi (autoreconf Invocation): Update.
9514 2001-11-03  Akim Demaille  <akim@epita.fr>
9516         * lib/Autom4te/General.pm (@export_vars, @export_subs)
9517         (@export_forward_subs): New.
9518         Add basename, dirname, and fileparse.
9519         (@EXPORT): Adjust.
9520         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
9521         Don't look for aclocal flags if we already know aclocal is not
9522         used.
9523         Move aclocal.m4t only if it exists.
9524         Reported by Ezra Peisach.
9526 2001-11-03  Akim Demaille  <akim@epita.fr>
9528         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
9529         passed on command line, defaulting to ./configure.ac if present.
9530         (&maybe_autoreconf, File::Find): Remove, unused.
9531         (&autoreconf): If autoconf is not used, don't try to trace.
9533 2001-11-02  Akim Demaille  <akim@epita.fr>
9535         * configure.ac: Bump to 2.52g.
9537 2001-11-02  Akim Demaille  <akim@epita.fr>
9539         Version 2.52f.
9541 2001-11-02  Akim Demaille  <akim@epita.fr>
9543         * config/config.guess, config/config.sub, doc/standards.texi:
9544         * config/lispdir.m4: Update from masters.
9545         * configure.ac: Bump to 2.52f.
9547 2001-11-02  Akim Demaille  <akim@epita.fr>
9549         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
9550         Don't run aclocal when aclocal.m4 is not from aclocal.
9551         From Ezra Peisach.
9552         Don't run libtoolize and gettextize if --install is not given.
9554 2001-11-01  Paul Eggert  <eggert@twinsun.com>
9556         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
9557         be invoked before _AS_LINENO_PREPARE.
9558         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
9559         than character ranges.
9561         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
9562         invoking AS_BASENAME.  Set the locale variables to 'C' if
9563         possible, as POSIX requires this to get the traditional
9564         behavior.
9565         * doc/autoconf.texi (Special Shell Variables): Describe the above.
9567 2001-10-31  Paul Eggert  <eggert@twinsun.com>
9569         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
9570         with {}, as that triggers a bug in Bash 2.05.
9572         (_AS_LINENO_PREPARE): Use Sed rather than
9573         Awk.  Fix the sed prepass to work even if there are multiple
9574         instances of $LINENO on the same line.  Do not substitute for
9575         other variables like $LINENOT.  Do not check file dates; such a
9576         check is unreliable on sufficiently fast machines, and removing
9577         the check makes the code simpler and more reliable.  Check for
9578         output and chmod failures.
9580         * doc/autoconf.texi (Special Shell Variables): Document
9581         the above.
9583 2001-10-31  Akim Demaille  <akim@epita.fr>
9585         * tests/Makefile.am (atconfig): Remove this target, Automake
9586         handles it now.
9588 2001-10-31  Akim Demaille  <akim@epita.fr>
9590         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
9591         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
9592         provided, while it is optional.
9593         * configure.ac: Adjust.
9595 2001-10-26  Paul Eggert  <eggert@twinsun.com>
9597         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
9598           lib/Autom4te/Struct.pm:
9599         Require Perl 5.005_03 instead of just 5.005, as some tests fail
9600         with 5.005_02.
9602         * doc/autoconf.texi (Special Shell Variables): Document some
9603         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
9605         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
9606         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
9607         eval $LINENO is not portable in practice.
9609 2001-10-24  Akim Demaille  <akim@epita.fr>
9611         * lib/Autom4te/General.pm (backname): New.
9613 2001-10-24  Akim Demaille  <akim@epita.fr>
9615         * m4/: Remove, merged into...
9616         * config/: here.
9618 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
9620         * doc/autoconf.texi (Shellology): Mention the problems with bash
9621         2.05's use of ANSI quoting in its `set' builtin.
9623 2001-10-22  Paul Eggert  <eggert@twinsun.com>
9625         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
9626         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
9627         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
9628         POSIX decided to standardize on the int flavor of strerror_r.
9629         Always do char* test, as there's no reason not to.
9630         Assign to a char* var, to catch strerror_r that returns int*.
9632         * doc/autoconf.texi (Particular Functions):
9633         Document the above changes.  Also, document the fact that
9634         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
9636         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
9638 2001-10-20  Akim Demaille  <akim@epita.fr>
9640         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
9641         the executable was missing from the log.
9643 2001-10-20  Akim Demaille  <akim@epita.fr>
9645         * lib/Autom4te/General.pm (&update_file): If destination is
9646         unchanged, remove the source.
9647         (&up_to_date_p): Don't be verbose, be debug.
9648         * bin/autoreconf.in: No longer support --m4dir.
9649         (&autoreconf): Display the full path of the configure.ac we are
9650         studying.
9651         Trace it only once.
9652         Be sure to honor --force with gettextize.
9653         Always run aclocal.
9654         * doc/autoconf.texi: Adjust.
9656 2001-10-20  Akim Demaille  <akim@epita.fr>
9658         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
9659         Remove, dead.
9660         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
9661         `intl' is already present, as it refuses unless --force.
9662         (&parse_args): Use -I, --include instead of the old Autoconf
9663         options.
9664         ($localdir, $autoconf_dir): Remove.
9665         (@include): New.
9666         (&maybe_autoreconf): New, to preserve $_ for File::Find.
9668 2001-10-19  Jens Petersen  <petersen@redhat.com>
9670         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
9671         * doc/autoconf.texi (Particular Programs): Likewise.
9673 2001-10-19  Akim Demaille  <akim@epita.fr>
9675         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
9676         file in @configure_input@.
9677         Don't mention `automatically' in addition to `generated'.
9678         * tests/torture.at (#define header templates): Adjust.
9680 2001-10-19  Akim Demaille  <akim@epita.fr>
9682         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
9683         comment, explain how to install automatic mode selection.
9684         From Russ Allbery.
9686 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
9688         * bin/autoreconf.in (autoreconf): Display the path to the
9689         configure.ac being studied.
9691 2001-10-18  Paul Eggert  <eggert@twinsun.com>
9693         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
9694         long, to work around a bug in the HP C compiler version HP92453-01
9695         B.11.11.23709.GP.
9697         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
9698         (AS_BASENAME_EXPR): New macro.
9699         (AS_BASENAME_SED): Do not assume GNU sed semantics.
9700         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
9701         and fall back on 'sed' only if the other two fail.  This makes
9702         AS_BASENAME act more like AS_DIRNAME.
9703         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
9704         contains white space.
9705         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
9706         Use AS_DIRNAME, since I think it's now DOS-friendly.
9707         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
9708         Allow "dirname //FOO" to return either / or //, as POSIX allows
9709         either behavior.
9711 2001-10-10  Akim Demaille  <akim@epita.fr>
9713         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
9714         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
9715         From Eric Sharkey.
9717 2001-10-10  Akim Demaille  <akim@epita.fr>
9719         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
9720         m4_define, since...
9721         (_AS_ECHO_N): AS_REQUIREs it.
9723 2001-10-10  Akim Demaille  <akim@epita.fr>
9725         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
9726         (AC_INCLUDES_DEFAULT): Move to...
9727         * lib/autoconf/headers.m4: here.
9728         * lib/autoconf/types.m4: Comment changes.
9729         * doc/autoconf.texi: Specify where the default includes are used
9730         in the macro prototypes.
9732 2001-10-09  Akim Demaille  <akim@epita.fr>
9734         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
9735         transition code.
9737 2001-10-08  Akim Demaille  <akim@epita.fr>
9739         * bin/autoreconf.in (&autoreconf): Remove debugging code.
9740         (&parse_args): Pass verbosity/debugging options to subtools when
9741         --debug, not when --verbose.
9742         * lib/autom4te.in (Autoreconf-preselections): New.
9743         (Autoconf): Use it.
9745 2001-10-08  Akim Demaille  <akim@epita.fr>
9747         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
9749 2001-10-08  Akim Demaille  <akim@epita.fr>
9751         * doc/autoconf.texi (autoreconf Invocation): Adjust.
9752         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
9754 2001-10-08  Akim Demaille  <akim@epita.fr>
9756         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
9757         (Syntax of the shell scripts): Don't.
9758         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
9759         bother with $force since...
9760         * lib/Autom4te/General.pm: does.
9762 2001-10-08  Akim Demaille  <akim@epita.fr>
9764         * bin/autoreconf.in: Rewrite in Perl.
9765         * configure.ac: Adjust.
9766         * lib/Autom4te/General.pm (&up_to_date_p): New.
9767         * bin/autom4te.in (&up_to_date_p): Use it.
9768         Rename as...
9769         (&up_to_date): this.
9771 2001-10-08  Akim Demaille  <akim@epita.fr>
9773         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
9774         (m4_list_cmp): Use $0 to reinvoke yourself.
9775         (m4_patsubsts): New.
9776         (m4_strip, m4_version_unletter): Use it.
9777         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
9779 2001-10-08  Akim Demaille  <akim@epita.fr>
9781         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
9782         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
9783         * lib/autoconf/types.m4, lib/autotest/general.m4,
9784         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
9785         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
9786         m4_bregexp, m4_bpatsubst, and m4_bmatch.
9787         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
9789 2001-10-08  Akim Demaille  <akim@epita.fr>
9791         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
9793 2001-10-08  Akim Demaille  <akim@epita.fr>
9795         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
9796         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
9797         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
9798         * tests/tools.at, tests/m4sh.at: Use it.
9799         * tests/m4sh.at: Don't rely on Autoconf macros.
9800         (DIRNAME_TEST): Also exercise the expr variant.
9801         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
9802         preferred M4sugar extension is now `.4s'.
9803         * tests/README: Remove.
9805 2001-10-08  Akim Demaille  <akim@epita.fr>
9807         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
9808         (m4_provide_if): this.
9809         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
9810         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
9811         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
9812         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
9814 2001-10-08  Akim Demaille  <akim@epita.fr>
9816         Use `add-log-current-defun-function' for ChangeLog creation.
9817         Suggested by Tom Tromey.
9819         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
9820         (autotest-mode): Adjust.
9821         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
9822         'comment-region onto `C-c ;'.
9823         Comments are `#', not `dnl'.
9824         (autoconf-current-defun): New.
9825         (autoconf-font-lock-keywords): Recognize `m4_defun'.
9827 2001-10-08  Akim Demaille  <akim@epita.fr>
9829         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
9830         * lib/m4sugar/m4sh.m4: here.
9831         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
9832         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
9833         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
9834         include handle the m4_pattern_*, no longer push the
9835         BODY diversion nor set the /bin/sh line, AS_INIT does it.
9836         * lib/autotest/general.m4 (AT_INIT): Likewise.
9837         * tests/base.at: Adjust the tests to use AS_INIT.
9838         * tests/tools.at (AT_DATA_FORBIDDEN): New.
9839         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
9840         Autoconf.
9842 2001-10-07  Paul Eggert  <eggert@twinsun.com>
9844         * doc/autoconf.texi (config.status Invocation):
9845         CONFIG_SHELL defaults to a shell that supports LINENO if available.
9847         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
9848         shell does not support LINENO, and if CONFIG_SHELL is unset or
9849         empty, and if we can find a shell that does support LINENO,
9850         then set CONFIG_SHELL to that shell and then re-execute
9851         ourselves with CONFIG_SHELL.
9853 2001-10-05  Paul Eggert  <eggert@twinsun.com>
9855         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
9856         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
9857         build of $(TESTSUITE).
9859 2001-10-05  Akim Demaille  <akim@epita.fr>
9861         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
9862         iff we are a bareword.
9863         Reported by Raja R Harinath.
9865 2001-10-05  Akim Demaille  <akim@epita.fr>
9867         * tests/m4sh.at (LINENO): New.
9868         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
9869         PATH_SEPARATOR before using it.
9870         Fix the absolute path case/esac pattern.
9871         Provide $0 as fallback for as_myself.
9872         Reported by Raja R Harinath.
9874 2001-10-05  Akim Demaille  <akim@epita.fr>
9876         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
9877         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
9879 2001-10-05  Akim Demaille  <akim@epita.fr>
9881         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
9882         (AS_SHELL_SANITIZE): here.  Use it.
9883         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
9884         From Paul Eggert.
9886 2001-10-04  Akim Demaille  <akim@epita.fr>
9888         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
9889         combination of Awk and sed to replace $LINENO.
9891 2001-10-02  Paul Eggert  <eggert@twinsun.com>
9893         * doc/autoconf.texi (Limitations of Builtins): You can't use
9894         "source"; it's not portable.  Remove confusing and
9895         somewhat-incorrect example involving "." and "/".
9897         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
9898         compatibility with POSIX shells.
9900 2001-10-02  Akim Demaille  <akim@epita.fr>
9902         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
9903         instead of exec'ing to preserve $0 and $@.
9905 2001-10-01  Akim Demaille  <akim@epita.fr>
9907         * tests/testsuite (AT_INIT) <at_pass_list>: New.
9908         Don't run twice the same test.
9910 2001-10-01  Akim Demaille  <akim@epita.fr>
9912         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
9913         No longer output the list of tests.
9914         <--list>: New option.
9915         <--full-help>: Remove.
9916         Complete the short/long options duality.
9917         Various small adjustments.
9919 2001-10-01  Akim Demaille  <akim@epita.fr>
9921         * doc/autoconf.texi: Use @kbd for user input.
9922         Always use `$' as shell prompt.
9924 2001-09-30  Paul Eggert  <eggert@twinsun.com>
9926         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
9927         Don't use nested parenthesization.  This patch was originally
9928         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
9929         but somehow it didn't get incorporated then.
9930         * doc/autoconf.texi (Limitations of Usual Tools):
9931         Clarify remark about sed and nested parenthesization.
9933         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
9934         Report an error if the size cannot be determined even though
9935         the type exists.
9936         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
9937         Check for `expr' arithmetic overflow, and for compilation failure,
9938         and invoke a new argument $4 if either is discovered.
9939         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
9940         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
9942 2001-09-28  Akim Demaille  <akim@epita.fr>
9944         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
9945         * m4/lispdir.m4: New.
9946         * aclocal.m4, configure.ac: Adjust.
9948 2001-09-28  Akim Demaille  <akim@epita.fr>
9950         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
9951         (AT_TESTED): this.
9952         (AT_INIT): More the wrapped section to where it will be expanded.
9953         Output `AT_tested' only when existing.
9954         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
9956 2001-09-27  Akim Demaille  <akim@epita.fr>
9958         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
9959         generates too many bug reports.
9961         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
9962         status when executing the ACTION-IF-FALSE.
9963         * tests/base.at (AC_TRY_*): Rename as...
9964         (AC_TRY_COMMAND): this.
9965         (AC_RUN_IFELSE): New.
9966         * tests/compile.at (Extensions, C keywords)
9967         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
9968         (Broken/missing compilers, AC_PROG_CPP with warnings)
9969         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
9970         * tests/c.at (Extensions, C keywords)
9971         (Broken/missing compilers, AC_PROG_CPP with warnings)
9972         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
9973         (AC_PROG_CPP requires AC_PROG_CC): here and...
9974         * tests/fortran.at (GNU Fortran 77): there.
9975         * doc/autoconf.texi (autoconf Invocation): Fix the example:
9976         AC_TRY_RUN is about compilation, not shell commands.
9977         (Test Programs): AC_TRY_RUN works as used to be advertised.
9979 2001-09-27  Akim Demaille  <akim@epita.fr>
9981         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
9982         Raja R Harinath:
9983         Be sure to detect when $LINENO always returns the same value.
9984         Look for the original script, basename($0) is certainly not
9985         enough.
9986         Pass the CLI arguments to `$as_me.lineno'.
9988 2001-09-25  Akim Demaille  <akim@epita.fr>
9990         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
9991         Be sure the close and reopen the LOG fd before and after using tee
9992         to extend the log.
9993         <at_tests_pattern>: Adjust to the new format of at_help_all.
9995 2001-09-23  Akim Demaille  <akim@epita.fr>
9997         * bin/autom4te.in (parse_args): There can be several invocations
9998         of --language now.
10000 2001-09-23  Akim Demaille  <akim@epita.fr>
10002         * doc/autoconf.texi (Top): Wrap in @ifnottex.
10004 2001-09-23  Akim Demaille  <akim@epita.fr>
10006         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
10007         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
10008         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
10009         builddir, buildpath, top_builddir, and top_buildpath.
10010         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
10011         the current directory.
10012         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
10013         variables *before* changing the current directory.
10014         Skip nonexistent dirs.
10015         * doc/autoconf.texi (Preset Output Variables): Document these
10016         variables.
10018         * lib/autotest/general.m4: Do not reset AT_victims.
10019         Don't compute at_srcdir nor at_top_srcdir.
10021         * tests/tools.at: Hence use top_srcdir.
10023         * tests/Makefile.am, tests/autoconf, tests/autoheader,
10024         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
10025         Remove.
10026         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
10027         * tests/wrapsh.in, tests/autoupdate.in: New.
10028         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
10029         * configure.ac: Build the position independent wrappers.
10031         * man/Makefile.am: Now that test wrappers are position
10032         independent, use them and drop dark envvar magic.
10034 2001-09-23  Akim Demaille  <akim@epita.fr>
10036         * doc/autoconf.texi (Common Shell Constructs): Rename as...
10037         (Programming in M4sh): this.
10038         Promote to @section.
10040 2001-09-23  Akim Demaille  <akim@epita.fr>
10042         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
10043         Pass $at_debug_args to the rerun test suite.
10044         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
10045         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
10046         From Paul Eggert.
10048 2001-09-23  Akim Demaille  <akim@epita.fr>
10050         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
10052 2001-09-23  Akim Demaille  <akim@epita.fr>
10054         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
10055         over-escaping.
10057 2001-09-23  Akim Demaille  <akim@epita.fr>
10059         * lib/Autom4te/General.pm (&debug): New.
10060         * bin/autom4te.in ($language): Move to...
10061         (parse_args): here.
10062         Handle --language in languages.
10063         * lib/autom4te.in (Automake-selections, Autoheader-selections)
10064         (Autoscan-selections): New.
10065         (Autoconf): Adjust.
10067 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
10069         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
10070         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
10071         to match current versions from CVS Automake.
10073 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
10075         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
10076         for $LINENO.
10078 2001-09-22  Akim Demaille  <akim@epita.fr>
10080         * lib/autoconf/autotest.m4: Create `package.m4'.
10081         * tests/Makefile.am (package.m4): Remove.
10083 2001-09-22  Akim Demaille  <akim@epita.fr>
10085         Rely on `$LINENO' when possible instead of `__oline__'.
10087         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
10088         `$LINENO' support replacement when not supported.
10089         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
10090         them explicitly to be sure they are not output before this section
10091         (via m4_require).  Cosmetic only.
10092         * lib/autoconf/c.m4, lib/autoconf/general.m4,
10093         * lib/autoconf/programs.m4: Replace all the occurrences of
10094         `__oline__' with `$LINENO'.
10095         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
10097 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
10099         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
10100         character (u: -> ue) in a code comment.
10101         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
10102         it works.
10104 2001-09-21  Akim Demaille  <akim@epita.fr>
10106         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
10107         Suggested by Jim Meyering.
10109 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10111         * lib/autoconf/programs.m4: Use extensions listed in
10112         $ac_executable_extensions when looking for programs.
10114 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10116         * lib/autoconf/general.m4: Fix a small Englisho.
10117         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
10118         setting up ac_dir_suffix and ac_top_builddir.
10119         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
10121 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10123         * doc/autoconf.texi (File System Conventions): Clarify the use of
10124         PATH_SEPARATOR.
10125         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
10126         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
10127         be used instead of ':'.
10128         * lib/autotest/general.m4: Replace occurrences of ':' in
10129         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
10131 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10133         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
10134         arguments.  Fixed a typo.
10136 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10138         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
10139         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
10141 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10143         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
10144         * bin/autoupdate.in: Ditto.
10145         * bin/autoheader.in: Reworded a few comments.
10146         * bin/autoconf.in: Reworded help text for a few options.
10147         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10148         * bin/autoscan.in, bin/autoupdate.in: Ditto.
10150 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
10152         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
10153         already have $file).  Set output files to binary mode (helps avoid
10154         CR issues on DOSish systems).
10156 2001-09-19  Akim Demaille  <akim@epita.fr>
10158         * lib/autotest/general.m4: Englishoes.
10159         From Tim Van Holder and Alexey Mahotkin.
10161 2001-09-18  Paul Eggert  <eggert@twinsun.com>
10163         * doc/autoconf.texi (Common Shell Constructs): New node,
10164         documenting AS_DIRNAME.
10165         (Limitations of Usual Tools): Refer to it when discussing dirname.
10166         Also, update discussion of POSIX standard to reflect latest draft.
10168         * lib/autoconf/c.m4:
10169         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
10171         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
10172         Do not pass a first argument with leading '-'
10173         to expr, by parenthesizing initial integers that might be negative.
10175         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
10176         now merely checks whether it is an error to pass an argument
10177         to getpgrp.
10179         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
10180         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
10181         whether it is a (compile-time) error to pass an argument to
10182         getpgrp.  This simpler test supports the revised documentation,
10183         and is all that AC_FUNC_GETPGRP's users really need.
10185 2001-09-18  Akim Demaille  <akim@epita.fr>
10187         * doc/autoconf.texi (Limitations of Make) <$<>: New.
10189 2001-09-18  Akim Demaille  <akim@epita.fr>
10191         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
10192         `{}'.
10193         * lib/autotest/general.m4 (AT_INIT): Adjust.
10195 2001-09-18  Paul Wagland  <paul@wagland.net>
10197         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
10198         correctly.
10199         Add test for AS_BASENAME.
10200         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
10201         added test. It now correctly handles /1/2/3/, returning '3' not ''.
10202         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
10203         * tests/base.at: Fixed the expected responses. The old ones were
10204         one line out...
10205         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
10206         the documentation claims it should (and how it behaved in 2.13).
10208 2001-09-18  Akim Demaille  <akim@epita.fr>
10210         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
10211         the AC_CONFIG_COMMANDS invocation.
10212         This also solves the name clash problems.
10213         Don't set the package's ID.
10214         * lib/m4sugar/Makefile.am (version.m4): Revamp.
10215         No longer to be shipped.
10216         (version.in): Remove.
10217         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
10218         * lib/autoconf/status.m4: Adjust.
10219         Use `m4_PACKAGE_STRING'.
10220         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
10221         the only optional argument is the name of the test suite.
10222         Expect `package.m4' to define the package signature.
10223         * lib/autom4te.in (Autotest): Add `package.m4?'.
10224         * tests/Makefile.am (package.m4): New.
10225         * tests/suite.at: ifnames is a victim.
10227 2001-09-18  Akim Demaille  <akim@epita.fr>
10229         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
10230         AC_LIBSOURCE, AC_CONFIG_FILES.
10231         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
10232         program version string doesn't match the package's.
10233         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
10234         after `(cached)'.
10236 2001-09-17  Paul Eggert  <eggert@twinsun.com>
10238         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10239         Allow expression to return any value that can fit into unsigned long
10240         (not int, as before).  Check for output errors.
10242 2001-09-17  Bruno Haible  <haible@ilog.fr>
10244         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10245         Always include <stdio.h> and <stdlib.h>. Evaluate
10246         the expression in an extra function before these includes. Call
10247         fprintf "%d" only after ensuring the argument is of type 'int'.
10248         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
10250 2001-09-17  Paul Eggert  <eggert@twinsun.com>
10252         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
10253         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
10254         fatal errors, and AC_CHECK_LIB causes it to include libraries even
10255         when they don't exist.
10257         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
10258         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
10259         need it.
10261         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
10262         version with the version used by fileutils 4.1, except use
10263         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
10264         we don't need it.
10266         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
10268 2001-09-13  Akim Demaille  <akim@epita.fr>
10270         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
10271         _first_.
10272         Reported by Gerrit P. Haase.
10274 2001-09-13  Akim Demaille  <akim@epita.fr>
10276         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
10277         m4_defn'ing is valid.
10279 2001-09-13  Akim Demaille  <akim@epita.fr>
10281         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
10282         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
10283         Use it.
10285 2001-09-13  Akim Demaille  <akim@epita.fr>
10287         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
10288         m4_match.
10289         (m4_re_escape): New.
10290         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
10291         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
10292         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
10293         Likewise.
10294         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
10295         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
10296         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
10297         AT_tests_all for consistency.
10298         Set at_victims.
10299         (AT_VICTIMS): Similar to AT_KEYWORDS.
10300         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
10302 2001-09-13  Akim Demaille  <akim@epita.fr>
10304         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
10306 2001-09-13  Akim Demaille  <akim@epita.fr>
10308         * lib/autotest/general.m4 (AT_INIT): Create and remove
10309         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
10310         test suites can cohabit.
10312 2001-09-13  Akim Demaille  <akim@epita.fr>
10314         * tests/mktests.sh: Don't output banners for empty test files.
10316 2001-09-13  Akim Demaille  <akim@epita.fr>
10318         Test suites can be run independently of configure.
10320         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
10321         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
10322         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
10323         ECHO_N etc.
10324         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
10325         and at_c.
10326         * lib/autotest/general.m4: Use ECHO_*.
10328 2001-09-13  Akim Demaille  <akim@epita.fr>
10330         * bin/ifnames.in: Rewrite in Perl.
10331         * configure.ac: Don't look for AWK.
10332         * tests/tools.at (AWK portability): Remove.
10333         (Syntax of the shell scripts): Don't check ifnames.
10334         (AT_CHECK_PERL_SYNTAX): New.
10335         (Syntax of the Perl scripts): Check ifnames.
10336         * tests/ifnames: New.
10338 2001-09-13  Akim Demaille  <akim@epita.fr>
10340         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
10341         test group titles.
10342         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
10343         Remove all the other keywords.
10345 2001-09-10  Akim Demaille  <akim@epita.fr>
10347         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
10348         SETUP: no longer used.
10349         Support -k, --keywords.
10350         <at_help>: Be `no', `short', or `long'.
10351         <at_help_all>: New variable.
10352         (AT_KEYWORDS): New.
10353         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
10354         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
10355         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
10356         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
10357         No longer fill the HELP diversion.
10358         (AT_CLEANUP): Use them.
10359         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
10360         (m4_list_append): Remove.
10362         Spread a few keywords in the Autoconf test suite.
10364 2001-09-10  Akim Demaille  <akim@epita.fr>
10366         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
10367         PATH_SEPARATOR, let M4sh compute it.
10368         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
10369         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
10370         Move to...
10371         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
10372         Simplify when the path is not a literal.
10373         (AS_UNAME): Use it to report PATH.
10374         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
10375         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
10376         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
10377         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
10378         normalize the path, and to look for victims.
10379         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
10380         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
10382 2001-09-07  Akim Demaille  <akim@epita.fr>
10384         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
10385         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
10386         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
10387         related variables into `at_package_*'.
10388         * lib/autotest/general.m4 (AT_VICTIMS): New.
10389         (AT_INIT): Adjust for stand-alone/embedded test suites.
10390         (AS_MESSAGE_LOG_FD): Define and use it.
10391         * tests/suite.at (AT_VICTIMS): Use it.
10392         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
10393         at_version.
10395 2001-09-07  Akim Demaille  <akim@epita.fr>
10397         Move toward possibly stand-alone test suites.
10399         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
10400         in addition, it introduces useless differences in logs.
10401         (AT_INIT): Let atconfig and atlocal be both optional.
10402         Adjust PATH computation.
10403         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
10405 2001-09-07  Akim Demaille  <akim@epita.fr>
10407         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
10408         m4sugar/version.m4.
10410 2001-09-05  Akim Demaille  <akim@epita.fr>
10412         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
10413         to avoid GCC warnings.
10414         From Uwe Seimet.
10416 2001-09-05  Akim Demaille  <akim@epita.fr>
10418         * bin/autom4te.in: --language is -l, not -s.
10420 2001-09-05  Akim Demaille  <akim@epita.fr>
10422         Be ready to handle filenames as stupid as `dnl.at', for if even
10423         the maintainer is dumb enough to do that...
10425         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
10426         excellence in M4 quotation: consider `__file__' is active.
10428         And BTW, when invoking m4, pass the --include in the right order:
10429         the wrong one.
10431         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
10432         4m.
10434 2001-09-05  Akim Demaille  <akim@epita.fr>
10436         * lib/Autom4te/XFile.pm: New lib file.
10437         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
10438         * bin/autoheader.in: Use it.
10440 2001-09-05  Akim Demaille  <akim@epita.fr>
10442         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
10443         defined.
10445 2001-09-05  Akim Demaille  <akim@epita.fr>
10447         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
10448         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
10450         * bin/autoscan.in: Use `getopt' and `find_files' etc.
10451         Add -I, --include support.
10452         * doc/autoconf.texi (autoscan Invocation): Adjust.
10454 2001-09-05  Akim Demaille  <akim@epita.fr>
10456         CVS GNU M4 doesn't like `undefine(undefined)'.
10458         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
10459         New, extracted from main.
10460         Use IO::File wherever possible.
10461         (input.m4): Be constant, use -I instead of hard coding $tmp.
10462         Therefore be a quoted heredoc.
10463         Don't invoke `_au_disable', since ac was not loaded, but just
10464         `unm4.m4'.
10466 2001-08-31  Akim Demaille  <akim@epita.fr>
10468         Version 2.52d.
10470 2001-08-31  Akim Demaille  <akim@epita.fr>
10472         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
10473         previous patch.
10474         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
10476 2001-08-31  Akim Demaille  <akim@epita.fr>
10478         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
10479         serious problems handling heredocs in heredocs.
10480         Reported by Nicolas Joly.
10482 2001-08-31  Akim Demaille  <akim@epita.fr>
10484         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
10485         (Making testsuite Scripts): Update.
10487 2001-08-31  Akim Demaille  <akim@epita.fr>
10489         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
10491 2001-08-31  Akim Demaille  <akim@epita.fr>
10493         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
10494         (testsuite Scripts): There is no such thing as `atconfig.in'.
10495         And actually one diagram is missing: test suite runtime.
10497 2001-08-31  Akim Demaille  <akim@epita.fr>
10499         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
10500         inverse order.
10502 2001-08-31  Akim Demaille  <akim@epita.fr>
10504         * bin/autoupdate.in (@include): `installcheck' revealed the path
10505         to m4sugar was lacking!
10507 2001-08-31  Akim Demaille  <akim@epita.fr>
10509         * man/Makefile.am (.x.1): We really have to pass
10510         autom4te_perllibdir.
10512 2001-08-31  Akim Demaille  <akim@epita.fr>
10514         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
10515         debug scripts, in particular passing explicitly listed tests to
10516         run is stupid.
10518 2001-08-31  Akim Demaille  <akim@epita.fr>
10520         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
10521         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
10522         Use directly autom4te, not autoconf.
10523         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
10525 2001-08-31  Akim Demaille  <akim@epita.fr>
10527         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
10528         * bin/autoheader.in (%symbol): Strip arguments of macros.
10530 2001-08-31  Akim Demaille  <akim@epita.fr>
10532         * doc/autoconf.texi: Catch up -I, --include changes.
10534 2001-08-31  Akim Demaille  <akim@epita.fr>
10536         * bin/autom4te.in (&parse_args): Die on unknown languages.
10537         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
10538         need for autoconf.
10539         Promote --include over --macrodir and other obsolete options.
10541 2001-08-31  Akim Demaille  <akim@epita.fr>
10543         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
10544         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
10545         * bin/autom4te.in ($autoconf): Pass --force.
10546         `print $out' doesn't print `$_' but `$out'.
10547         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
10548         (autoheader): Pass --force since the test suite goes too fast for
10549         the time stamps.
10550         Adjust to the new autoheader messages.
10552 2001-08-31  Akim Demaille  <akim@epita.fr>
10554         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
10555         Check the completeness of the #template.
10556         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
10557         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
10558         invocation.
10560 2001-08-31  Akim Demaille  <akim@epita.fr>
10562         * lib/Autom4te/General.pm (&find_file, &update_file): New.
10563         * bin/autoupdate.in, bin/autoheader.in: Adjust.
10564         Drop AC_MACRODIR dead for real.
10565         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
10566         `autoheader: `config.hin' is created'.
10567         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
10569 2001-08-31  Akim Demaille  <akim@epita.fr>
10571         * bin/autoheader.in: Rewrite in Perl.
10572         * tests/autoheader: Adjust.
10574 2001-08-31  Akim Demaille  <akim@epita.fr>
10576         * bin/autoconf.in (--include, -I): New option.
10577         Map --localdir, --autoconf-dir onto it.
10578         Forward autom4te's options instead of interpreting them.
10579         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
10580         There is no such envvar since the inception of autom4te.cfg.
10581         * bin/autom4te.in (&parse_args): Uniquify `@include'.
10582         * bin/autoupdate.in: Adjust, and perform more control.
10583         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
10584         * tests/autoconf: Dittowise.
10586 2001-08-31  Akim Demaille  <akim@epita.fr>
10588         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
10589         * bin/autom4te.in (&find_file): Support `FILE?' standing for
10590         optionally `FILE'.
10591         Use -e, not -f, since /dev/null for instance is OK.
10592         (&parse_args): Adjust.
10593         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
10595 2001-08-31  Akim Demaille  <akim@epita.fr>
10597         * configure.ac: Also find tested executables in bin.
10598         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
10599         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
10600         installed peer executables, only PATH is allowed to resolve it.
10601         Pass `autoconf_dir' via options, not via invisible envvars.
10602         * lib/Autom4te/General.pm (&find_peer): Remove.
10603         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
10604         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
10605         * man/Makefile.am: Let help2man rely on PATH instead of trying to
10606         find the executables for it.
10607         * tests/Makefile.am: Major cleanup.  Too lazy to document...
10608         * tests/atlocal.in: Remove all the obscure envvar manipulations.
10609         We only need PERL.
10610         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
10611         indeed related to running the test suite, while passing
10612         --autoconf-dir and others is related to running non installed
10613         Autoconf executables.  So don't do that, leave it to...
10614         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
10615         * tests/autoscan: New.
10616         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
10617         refer to library files: rely on --language.
10619 2001-08-29  Akim Demaille  <akim@epita.fr>
10621         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
10622         s/--set/--language/.
10624 2001-08-29  Akim Demaille  <akim@epita.fr>
10626         * doc/autoconf.texi: Strip the @nodes.
10627         Suggested by Paul Eggert.
10628         (Initializing configure): Typo.
10630 2001-08-29  Akim Demaille  <akim@epita.fr>
10632         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
10633         Suggested by Paul Eggert.
10635 2001-08-29  Akim Demaille  <akim@epita.fr>
10637         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
10638         download in a tmp dir.
10640 2001-08-29  Akim Demaille  <akim@epita.fr>
10642         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
10643         case insensitive OSes out there :(
10644         From Tim Van Holder.
10646 2001-08-29  Akim Demaille  <akim@epita.fr>
10648         * lib/autom4te.in: New.
10649         * lib/Makefile.am (edit, autom4te.cfg): New.
10650         * bin/autom4te.in (BEGIN): Simplify.
10651         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
10652         (&load_configuration): New.  Use it.
10653         (&parse_args): Support --mode, --set, and --melt.
10654         * bin/autoconf.in: Simplify and adjust.
10655         * tests/Makefile.am (AUTOMAKE): Use --set.
10656         * tests/atlocal.in: Adjust.
10657         * BUGS: distcheck and check are weak.
10659 2001-08-29  Akim Demaille  <akim@epita.fr>
10661         * lib/autotest/general.m4: Use
10662                 foo=`(command) 2>/dev/null`
10663         not
10664                 foo=`command` 2>/dev/null
10665         (at-devnull): Rename as...
10666         (AT-devnull): this.
10667         (--clean): Remove AT-* files too.
10668         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
10669         Reported by Nicolas Joly.
10671 2001-08-28  Akim Demaille  <akim@epita.fr>
10673         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
10674         quotes inside single quotes.
10675         Reported by Nicolas Joly.
10677 2001-08-28  Kevin Ryde  <user42@zip.com.au>
10679         * doc/autoconf.texi (Function Portability): Mention C right shifts.
10681 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
10683         * lib/autotest/general.m4: Reword some messages.
10684         (AT_INIT): Check for the `times' builtin before using it.
10685         Support test ranges as arguments to the testsuite.
10686         Have -e imply -d as the help text suggested.
10688 2001-08-27  Akim Demaille  <akim@epita.fr>
10690         * Makefile.maint: Formatting changes.
10691         (do-po-update, po-update, cvs-update, update): New targets.
10692         (AMTAR): Remove.
10694 2001-08-27  Akim Demaille  <akim@epita.fr>
10696         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
10697         <at_cmd_line>: New.
10698         Pass it to debug-*.sh scripts.
10699         <AUTOTEST_PATH>: May contain absolute dir names.
10701 2001-08-27  Akim Demaille  <akim@epita.fr>
10703         * lib/autotest/general.m4 (AT_INIT): Log the command line.
10704         Support `VAR=VAL' as arguments.
10705         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
10706         may be set via the command line.
10708 2001-08-27  Akim Demaille  <akim@epita.fr>
10710         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
10711         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
10712         first the build dirs, then the src dirs.
10713         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
10715 2001-08-27  Akim Demaille  <akim@epita.fr>
10717         * lib/autotest/general.m4 (AT_INIT): Output the definition of
10718         at_data_files earlier.
10719         (--clean, -c): New option.
10720         * tests/Makefile.am: Use this option.
10722 2001-08-27  Akim Demaille  <akim@epita.fr>
10724         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
10725         `ac_top_builddir' to mimic Automake's vocabulary, which much more
10726         readable.
10727         Adjust callers.
10728         * doc/autoconf.texi (Configuration Actions): Document the vars
10729         available in commands.
10730         Emphasize the risks of collisions in init-cmds.
10732 2001-08-27  Akim Demaille  <akim@epita.fr>
10734         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
10735         (Initializing configure): this new node.
10737 2001-08-27  Akim Demaille  <akim@epita.fr>
10739         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
10741 2001-08-27  Akim Demaille  <akim@epita.fr>
10743         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
10744         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
10745         New file.
10746         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
10748 2001-08-27  Akim Demaille  <akim@epita.fr>
10750         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
10751         to...
10752         * lib/autoconf/autoheader.m4: this new file.
10753         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
10754         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
10755         Move to...
10756         * lib/autoconf/autoupdate.m4: this new file.
10758 2001-08-27  Akim Demaille  <akim@epita.fr>
10760         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
10761         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
10762         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
10763         -> ac_dir).
10764         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
10765         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
10767 2001-08-27  Akim Demaille  <akim@epita.fr>
10769         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
10770         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
10771         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
10772         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
10773         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
10774         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
10775         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
10776         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
10777         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
10778         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
10779         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
10780         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
10781         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
10782         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
10783         (_AC_OUTPUT_SUBDIRS): Move to...
10784         * lib/autoconf/status.m4: this new file.
10785         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
10786         * tests/Makefile.am, tests/suite.at: Adjust.
10788 2001-08-27  Akim Demaille  <akim@epita.fr>
10790         Automake 1.5.
10792         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
10793         (AMTAR): Help automake define it.
10794         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
10795         needed, 1.5 can have a macro and a target with the same name.
10796         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
10797         * m4/strip.m4: New.
10798         * m4/init.m4, m4/sanity.m4: Update.
10799         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
10800         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
10801         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
10802         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
10804 2001-08-27  Akim Demaille  <akim@epita.fr>
10806         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
10808         * lib/autoconf/version.in: Remove.
10809         * lib/m4sugar/version.in: New.
10810         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
10811         Adjust callers.
10812         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
10813         the name of the directory they're in, instead of the filename,
10814         since version.m4 is now in m4sugar, but m4_acversion must not be
10815         classified as an Autoconf macro.
10816         ($input_m4): Don't qualify the path to m4sugar.
10817         Rather, pass autoconf_dir to m4.
10818         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
10819         * tests/suite.at: Require 2.52c.
10821 2001-08-27  Akim Demaille  <akim@epita.fr>
10823         testsuite.log should include config.log.
10825         * lib/autotest/autotest.m4: New.
10826         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
10827         * tests/suite.at : Adjust.
10828         (AT_INIT): Log config.log.
10829         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
10830         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
10831         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
10832         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
10833         of config.log on traps.
10834         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
10835         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
10836         for config.status'.
10837         Open the log as soon as possible.
10838         Use the same log introduction as configure's.
10840 2001-08-22  Paul Eggert  <eggert@twinsun.com>
10842         * doc/autoconf.texi (Indices): New node.
10843         Move indices out of the top level menu and into this submenu.
10845 2001-08-22  Akim Demaille  <akim@epita.fr>
10847         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10848         AC_TRY_COMMAND.
10849         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
10851 2001-08-22  Akim Demaille  <akim@epita.fr>
10853         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
10854         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
10855         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
10856         * lib/autoconf/programs.m4: here.
10857         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
10858         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
10859         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
10860         * lib/autoconf/programs.m4: here.
10861         (_AC_DECL_YYTEXT): Rename as...
10862         (_AC_PROG_LEX_YYTEXT_DECL): this.
10863         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
10864         * tests/Makefile.am, tests/suite.am: Adjust.
10866 2001-08-22  Akim Demaille  <akim@epita.fr>
10868         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
10869         Move to...
10870         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
10871         here.
10872         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
10873         * lib/autoconf/functions.m4: here.
10874         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
10875         (AH_CHECK_LIB): Move to...
10876         * lib/autoconf/libs: this new file.
10877         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
10878         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
10879         * lib/autoconf/libs.m4: here.
10880         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
10882 2001-08-22  Akim Demaille  <akim@epita.fr>
10884         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
10885         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
10886         (AC_SITE_LOAD): Better logging of config.site.
10888 2001-08-20  Akim Demaille  <akim@epita.fr>
10890         * configure.ac (AT_CONFIG): Fix the path.
10891         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
10892         can be used.
10894 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
10896         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
10897         program with AC_LANG_PROGRAM before feeding it to
10898         AC_COMPILE_IFELSE.  Cleanup grep usage.
10900 2001-08-20  Akim Demaille  <akim@epita.fr>
10902         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
10903         * NEWS, README, README-alpha, TODO, tests/README: This package is
10904         `Autoconf', not `autoconf' (the executable).
10906 2001-08-20  Akim Demaille  <akim@epita.fr>
10908         Info readers seem to need `Index' in the index node title :(
10910         * doc/autoconf.texi: Reverse the 2001-08-15 change which
10911         simplified index node names.
10913 2001-08-20  Akim Demaille  <akim@epita.fr>
10915         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
10916         arguments are not literals.
10917         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
10918         Specify the output variables, and macros defined.
10920 2001-08-20  Akim Demaille  <akim@epita.fr>
10922         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
10923         (Examining Syntax) <AC_TRY_COMPILE>
10924         (Examining Libraries) <AC_TRY_LINK>
10925         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
10926         their arguments.
10927         Reported by Werner Lemberg.
10929 2001-08-20  Akim Demaille  <akim@epita.fr>
10931         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
10932         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
10933         Load atlocal late enough to dump it in the log.
10934         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
10936 2001-08-20  Akim Demaille  <akim@epita.fr>
10938         * tests/torture.at (Configuring subdirectories): New test.
10939         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
10940         looking for.
10941         * m4/atconfig.m4: Be sure the let $[0] be expandable.
10942         (top_srcdir): Fix its computation.
10944 2001-08-20  Akim Demaille  <akim@epita.fr>
10946         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
10947         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
10948         test suite lives.
10949         Create `atconfig' automagically.
10950         Configure atlocal.in if present.
10951         * tests/atconfig.in: Remove.
10952         * tests/atlocal.in: New.
10953         * tests/Makefile.am: Adjust.
10955 2001-08-20  Akim Demaille  <akim@epita.fr>
10957         Huh!?!?!  There are still some user EOF tags used, which prevents
10958         their use in AC_CONFIG_COMMANDS for instance...
10960         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
10961         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
10962         `_CSEOF', or `_ATEOF', as appropriate.
10963         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
10964         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
10966 2001-08-20  Akim Demaille  <akim@epita.fr>
10968         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
10969         * tests/semantics.at, tests/tools.at, tests/torture.at:
10970         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
10972 2001-08-20  Akim Demaille  <akim@epita.fr>
10974         Autotest invokes M4sh's initialization.
10976         * lib/autotest/general.m4: Adjust the diversion names.
10977         (AT_INIT): Run AS_INIT.
10978         Use the BINSH diversion to invoke /bin/sh.
10979         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
10980         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
10982 2001-08-20  Akim Demaille  <akim@epita.fr>
10984         Let M4sh have its own diversions.
10986         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
10987         (_m4_divert(NOTICE)): Rename as...
10988         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
10989         (_m4_divert(HEADER-COMMENT)): these.
10990         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
10991         (_m4_divert(NOTICE)): New, for Libtool.
10992         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
10993         long ago with `_m4_divert(GROW)'.
10994         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
10996 2001-08-20  Akim Demaille  <akim@epita.fr>
10998         * tests/base.at, tests/compile.at, tests/foreign.at,
10999         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
11000         * tests/semantics.at, tests/suite.at, tests/tools.at,
11001         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
11003 2001-08-20  Akim Demaille  <akim@epita.fr>
11005         * bin/autom4te.in (handle_output): Handle @__@.
11007 2001-08-20  Akim Demaille  <akim@epita.fr>
11009         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
11010         * lib/autotest/general.m4: Adjust the license.
11012 2001-08-17  Paul Eggert  <eggert@twinsun.com>
11014         * doc/autoconf.texi (Function Portability): Mention snprintf,
11015         following up on a suggestion by Kevin Ryde.
11017 2001-08-17  Akim Demaille  <akim@epita.fr>
11019         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
11020         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
11022 2001-08-17  Akim Demaille  <akim@epita.fr>
11024         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
11025         `$0.log' as for projects where testsuite is in src, we'd have
11026         testsuite.log created in src.
11028 2001-08-17  Akim Demaille  <akim@epita.fr>
11030         * bin/autom4te.in (&parse_args): Recognize --normalize.
11032 2001-08-17  Akim Demaille  <akim@epita.fr>
11034         Start implementing the AC_CHECK_HEADER transition scheme.
11036         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
11037         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
11038         (AC_CHECK_HEADER): Use them.
11040 2001-08-17  Akim Demaille  <akim@epita.fr>
11042         * doc/autoconf.texi: Work around Texinfo buglets.
11043         (Transformation Rules): One example is enough, users are expected
11044         to have their brains on. And BTW, use DESTDIR.
11045         (dvar): New macro.  Use it.
11047 2001-08-17  Akim Demaille  <akim@epita.fr>
11049         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
11050         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
11051         looking for ChangeLogs.
11053 2001-08-17  Akim Demaille  <akim@epita.fr>
11055         * bin/autom4te.in: --normalize is a new option.
11056         * bin/autoconf.in: Use it.
11058 2001-08-17  Akim Demaille  <akim@epita.fr>
11060         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
11061         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
11063 2001-08-16  Paul Eggert  <eggert@twinsun.com>
11065         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
11066         start, not at end.
11068 2001-08-15  Akim Demaille  <akim@epita.fr>
11070         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
11071         Use it.
11073 2001-08-15  Akim Demaille  <akim@epita.fr>
11075         * doc/autoconf.texi (pr): New index.
11076         (prindex, findex): Use, merge, and output them.
11077         (Environment Variable Index, Output Variable Index)
11078         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
11079         (Autotest Macro Index): Rename as...
11080         (Environment Variables, Output Variables,Preprocessor Symbols)
11081         (Autoconf Macros, M4 Macros, Autotest Macros): these.
11082         * doc/install.texi: Use @command.
11083         (Environment Variables): Rename as...
11084         (Defining Variables): this.
11086 2001-08-15  Akim Demaille  <akim@epita.fr>
11088         * doc/autoconf.texi (Function Portability): sprintf's return
11089         value.
11090         From Kevin Ryde.
11092 2001-08-15  Akim Demaille  <akim@epita.fr>
11094         * Makefile.maint (CVS): New.
11095         (local-check): Run changelog-check. last.
11096         (alpha): Don't depend upon local-check, since...
11097         (cvs-dist): depends upon it.
11099 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
11101         * tests/Makefile.am: Use a clean-local rule to remove
11102         autom4te.cache (it's a directory, not a file.
11103         * Makefile.am: Ditto (but maintainer-clean-local).
11105 2001-08-15  Akim Demaille  <akim@epita.fr>
11107         * bin/autom4te.in (@m4_warning): New.
11108         (&handle_m4): Use it.
11109         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
11110         warnings are issued at each run.
11111         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
11112         is in the src tree.
11114 2001-08-15  Akim Demaille  <akim@epita.fr>
11116         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
11117         don't waste time running `autoupdate --version' works.
11118         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
11120 2001-08-13  Akim Demaille  <akim@epita.fr>
11122         * doc/autoconf.texi (ma): Rename this index as...
11123         (ac): this.
11125 2001-08-13  Akim Demaille  <akim@epita.fr>
11127         * Makefile.am: Remove dead code and dead comments.
11128         (pdf, html): New targets.
11129         * doc/autoconf.texi (Using Autotest): New chapter.
11130         * doc/Makefile.am (pdf): New targets.
11131         (CLEANFILES): Adjust.
11133 2001-08-13  Akim Demaille  <akim@epita.fr>
11135         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
11136         duration of the test suite.
11138 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
11140         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
11141         endianness for comparison instead of relying on AT_CHECK_ENV.
11143 2001-08-11  Paul Eggert  <eggert@twinsun.com>
11145         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
11146         to the INSTALL file.
11148 2001-08-11  Paul Eggert  <eggert@twinsun.com>
11150         * NEWS: The autoconf manual now is distributed under the terms
11151         of the GNU Free Documentation License.
11153         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
11154         Add an appendix "Copying This Manual" for the FDL.
11156         * doc/fdl.texi: New file, from
11157         <http://www.gnu.org/licenses/fdl.texi>.
11159         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
11161 2001-08-10  Paul Eggert  <eggert@twinsun.com>
11163         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
11164         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
11165         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
11166         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
11167         m4/sanity.m4, tests/README, tests/aclocal.m4,
11168         tests/atspecific.m4, tests/base.at, tests/compile.at,
11169         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
11170         tests/semantics.at, tests/suite.at, tests/tools.at,
11171         tests/torture.at: Add copyright notice.
11173         * tests/mktests.sh: Update year in copyright notice.
11175 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
11177         * tests/semantics.at (AC_C_BIGENDIAN): New test.
11179 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
11181         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
11182         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
11183         * doc/autoconf.texi (C Compiler Characteristics): Update
11184         documentation for AC_C_BIGENDIAN.
11186 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
11188         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
11189         magic values from an object file when cross-compiling.
11190         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
11192 2001-08-10  Akim Demaille  <akim@epita.fr>
11194         * bin/autom4te.in (&handle_output): Don't use `grep' with side
11195         effects.
11196         Suggested by Russ Allbery.
11198 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
11200         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
11201         current $prefix to the sub-configures.
11203 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
11205         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
11206         extension (needed on BeOS).  Reported by Guido van Rossum.
11208 2001-08-09  Akim Demaille  <akim@epita.fr>
11210         * bin/autom4te.in ($icache): Load it only if older than autom4te.
11212 2001-08-07  Akim Demaille  <akim@epita.fr>
11214         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
11215         removed.
11216         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
11217         No need to remove the files before and after the each test, before
11218         each test and at the end of the suite is enough.
11219         Display only the children `times', not the shell's.
11220         If the test failed or was skipped, at-times is not available.
11222 2001-08-07  Akim Demaille  <akim@epita.fr>
11224         Always produce testsuite.log, including when there are no
11225         failures.  This helps getting information on skipped tests, and
11226         duration of the tests.  Err, implement the latter btw.
11228         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
11229         Dump information on the first run of each test.
11230         (AT_CLEANUP): Create `at-times' containing the duration of the
11231         test group.
11233 2001-08-07  Akim Demaille  <akim@epita.fr>
11235         The use of `dumpstat' revealed that `len' was used although it
11236         should not.  m4_text_wrap was using it, but in the Autoconf world
11237         where it is legal.  Hence (i) test M4sh in its own world, not
11238         Autoconf's, and (ii), ahem, fix the bug :)
11240         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
11241         does not like `' instead of [].
11242         (AT_INIT): Forbid `^_?AT_'.
11243         And don't output such tokens.
11244         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
11245         `script.as', and `autom4te.cache'.
11246         Remove `empty' and `macro' which are no longer used.
11247         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
11248         * tests/m4sugar.at: Use it.
11249         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
11251 2001-08-07  Akim Demaille  <akim@epita.fr>
11253         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
11255 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
11257         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
11259 2001-08-04  Akim Demaille  <akim@epita.fr>
11261         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
11262         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
11263         AC_TRY_LINK.
11264         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
11265         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
11266         (AC_F77_MAIN): Likewise.
11268 2001-08-04  Akim Demaille  <akim@epita.fr>
11270         Don't rely on M4sugar outputting the patterns in files, since we
11271         might process the output _without_ running m4, hence without these
11272         files.
11274         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
11275         * bin/autom4te.in (@Request::includes): Remove, unused.
11276         (@Request::source): Rename as...
11277         (@Request::input): this.
11278         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
11279         (&handle_output): Fetch the patterns from the traces.
11280         `$forbidden' and `$allowed' are constant: use m//o.
11281         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
11282         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
11284 2001-08-04  Akim Demaille  <akim@epita.fr>
11286         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
11287         autoconf', i.e., in addition to caching traces, cache the output.
11289         * bin/autom4te.in (Request::cache): Rename as...
11290         (Request::id): this.
11291         ($cache, $icache, $tcache, $ocache): New.
11292         (&handle_m4): Save M4 output in the cache instead of $tmp.
11293         (&handle_output): Adjust.
11294         (&up_to_date_p): Check that the output cache is up to date too.
11295         (top level): Run `&handle_m4' iff force or the cache is invalid.
11296         Run `&handle_output' if the output cache is more recent.
11298 2001-08-04  Akim Demaille  <akim@epita.fr>
11300         * bin/autom4te.in ($force): New.
11301         (&parse_args, &print_usage): -f, --force is a new option.
11302         (&handle_output): CPP directives might have spaces after `#'.
11303         (&parse_args): The first file only can be frozen.
11305 2001-08-04  Akim Demaille  <akim@epita.fr>
11307         Don't let autom4te compute the `include' traces several times:
11308         first check that the trace cache file is up to date, and then
11309         compare its timestamp with that of the output.
11311         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
11312         the preamble.  Don't require 5.005 as Autom4te::General does it,
11313         and better yet (use `use', not `require'!).
11314         * lib/Autom4te/Struct.pm: Rename the last occurrences of
11315         Class::Struct as Autom4te::Struct.
11316         * lib/Autom4te/General.pm (File::stat): Use it.
11317         (&mtime): New, export it.
11318         * bin/autom4te.in: Use it.
11319         Declare `$req' is invalid if it is outdated.
11320         Don't declare it valid before saving it if something went wrong.
11322 2001-08-04  Akim Demaille  <akim@epita.fr>
11324         Autom4te shall not encode Autoconf data, and preselecting traces
11325         must be proposed to the users.
11327         * bin/autom4te.in (@required_trace): Remove.
11328         (@preselect): New.
11329         (&parse_args, &print_usage): -p, --preselect is a new option.
11330         (&up_to_date_p): Adjust.
11331         * bin/autoconf.in: Preselect some Autoconf macros.
11333 2001-08-04  Akim Demaille  <akim@epita.fr>
11335         * tests/tools.at (autoconf --trace: user macros): Check traces on
11336         macros invoked without arguments, and macros invoked with multiple
11337         lines arguments.
11339 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
11341         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
11342         arguments.
11344 2001-08-03  Akim Demaille  <akim@epita.fr>
11346         * bin/autoconf.in ($@): Work around the usual sh bug.
11347         From Nicolas Joly.
11349 2001-08-03  Akim Demaille  <akim@epita.fr>
11351         Clean up the handling of the M4 builtins tracing exception.
11353         * bin/autom4te.in (Request::request): Don't complete M4 builtins
11354         trace requests.
11355         (@m4_builtins): Rename as...
11356         (@m4_builtin): this.
11357         (%m4_builtin_alternate_name): New.
11358         (&parse_args): Complete the trace requests with alternate names.
11359         (&handle_traces): Hence no longer do it here.
11360         (&trace_requests): Remove, unused.
11362 2001-08-03  Akim Demaille  <akim@epita.fr>
11364         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
11365         m4_if, and m4_wrap.
11367 2001-08-03  Akim Demaille  <akim@epita.fr>
11369         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
11370         (m4_divert_pop): Dump the whole diversion stack when a diversion
11371         mismatch happens.
11372         * bin/autom4te.in (&handle_output): Remember of the first
11373         occurrence of a possibly undefined macro, not the last.
11374         Complain about the possibly undefined macros in the same order as
11375         the appear in the output.
11376         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
11377         * tests/tools.at (autoconf: forbidden tokens, basic)
11378         (autoconf: forbidden tokens, exceptions): No longer sort
11379         autoconf's stderr, as it is now deterministic.
11380         Check that `dnl' is caught.
11382 2001-08-01  Akim Demaille  <akim@epita.fr>
11384         * configure.ac: Bump to 2.52c.
11386 2001-08-01  Akim Demaille  <akim@epita.fr>
11388         Version 2.52b.
11390         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
11392 2001-08-01  Akim Demaille  <akim@epita.fr>
11394         Version 2.52a.
11396 2001-08-01  Akim Demaille  <akim@epita.fr>
11398         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
11399         `die'.
11400         (&END): New.
11401         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
11402         `END', as `Autom4te::General::END' will be triggered.
11403         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
11404         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
11405         system to run `mv', `rm', and `cmp'.
11407 2001-08-01  Akim Demaille  <akim@epita.fr>
11409         * lib/Autom4te/General.pm (&unique): New.
11410         * bin/autoscan.in (&output): Use it to issue trace requests once.
11412 2001-08-01  Akim Demaille  <akim@epita.fr>
11414         * lib/Autom4te/General.pm: New.
11415         * bin/autom4te.in (Autom4te::General): Use it.
11416         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
11417         (&find_configure_ac, &find_slave): Remove.
11418         * bin/autoscan.in: Likewise.
11419         * bin/autoupdate.in: Likewise.
11421 2001-08-01  Akim Demaille  <akim@epita.fr>
11423         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
11424         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
11425         * bin: here, new directory.
11426         * lib/Autoconf: Rename as...
11427         * lib/Autom4te: this, to please case insensitive junkie OSes.
11429 2001-08-01  Akim Demaille  <akim@epita.fr>
11431         * autom4te.in ($m4): Handle the --nesting-limit.
11432         * autoconf.in (M4): Remove.
11434 2001-08-01  Akim Demaille  <akim@epita.fr>
11436         * autoconf.in ($AWK): Remove, no longer used.
11437         * test/tools.at: Use AT_CHECK_AUTOCONF.
11438         (AWK portability): Remove, for autoconf no longer uses AWK.
11439         (Syntax of the Perl scripts): New.
11440         * configure.ac: autoconf no longer needs an AWK with a good
11441         regexp engine.
11442         Use a static test on AC_PACKAGE_VERSION.
11443         * autom4te.in (&up_to_date_p): Output depends on the arguments.
11444         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
11445         * tests/atconfig.in (PERL): New.
11447 2001-08-01  Akim Demaille  <akim@epita.fr>
11449         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
11450         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
11451         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
11452         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
11453         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
11454         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
11455         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
11456         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
11457         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
11458         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
11459         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
11460         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
11461         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
11462         * lib/autoconf/c.m4: here, new file.
11464         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
11465         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
11466         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
11467         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
11468         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
11469         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
11470         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
11471         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
11472         (AC_F77_FUNC): Move to...
11473         * lib/autoconf/fortran.m4: here, new file.
11475 2001-08-01  Akim Demaille  <akim@epita.fr>
11477         * acfunctions.m4: Rename as...
11478         * lib/autoconf/functions.m4: this.
11479         * acgeneral.m4: Rename as...
11480         * lib/autoconf/general.m4: this.
11481         * acheaders.m4: Rename as...
11482         * lib/autoconf/headers.m4: this.
11483         * aclang.m4: Rename as...
11484         * lib/autoconf/lang.m4: this.
11485         * acoldnames.m4: Rename as...
11486         * lib/autoconf/oldnames.m4: this.
11487         * acspecific.m4: Rename as...
11488         * lib/autoconf/specific.m4: this.
11489         * actypes.m4: Rename as...
11490         * lib/autoconf/types.m4: this.
11491         * autoconf.m4: Rename as...
11492         * lib/autoconf/autoconf.m4: this.
11494         * m4sugar.m4: Rename as...
11495         * lib/m4sugar/m4sugar.m4: this.
11496         * m4sh.m4: Rename as...
11497         * lib/m4sugar/m4sh.m4: this.
11499         * tests/atgeneral.m4: Rename as...
11500         * lib/autotest/general.m4: this.
11502         * acfunctions: Rename as...
11503         * lib/autoscan/functions: this.
11504         * acheaders: Rename as...
11505         * lib/autoscan/headers: this.
11506         * acidentifiers: Rename as...
11507         * lib/autoscan/identifiers: this.
11508         * aclibraries: Rename as...
11509         * lib/autoscan/libraries: this.
11510         * acmakevars: Rename as...
11511         * lib/autoscan/makevars: this.
11512         * acprograms: Rename as...
11513         * lib/autoscan/programs: this.
11515 2001-08-01  Akim Demaille  <akim@epita.fr>
11517         * doc/autoconf.texi: Moving/deleting open files is not portable.
11518         Portability issues for `.' (source), and more information about sed.
11520 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
11522         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
11523         which has a special meaning and is not a reference to libibmil.a.
11524         Reported by Matteo Frigo.
11526 2001-07-25  Pavel Roskin  <proski@gnu.org>
11528         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
11529         output.
11531 2001-07-25  Akim Demaille  <akim@epita.fr>
11533         * autoconf.in: Try to define the variables before using them.
11534         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
11535         instead of `$perllibdir'.
11536         * tests/atconfig.in ($autom4te_perllibdir): Export it.
11538 2001-07-25  Akim Demaille  <akim@epita.fr>
11540         * autoconf.in (ac_LF_and_DOT): Remove, unused.
11542 2001-07-24  Akim Demaille  <akim@epita.fr>
11544         Let autoconf use autom4te for traces.
11546         * autoconf.in ($task, task trace): Remove, merely pass --trace to
11547         autom4te.
11548         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
11549         (Because I found no way for autom4te to accept `-').
11550         * autom4te.in (&Request::request): Beware of M4 builtins.
11551         (END): Don't try to remove the content of an empty dir.
11552         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
11553         (&handle_output): Set a default value to `$forbidden'.
11554         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
11555         ($autoconf): Pass --debug and --verbose.
11556         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
11557         cache.
11559 2001-07-24  Akim Demaille  <akim@epita.fr>
11561         Let autoconf use autom4te to create configure.
11563         * autoconf.in ($automate): New var.
11564         (task script): Use autom4te.
11565         * autom4te.in (File::Spec): Use it.
11566         (&find_file): New.
11567         (&parse_args): --warning is -W, not -w.
11568         Find the top level files.
11569         (&handle_m4): Pass the warnings flags.
11570         Don't report verbosely m4's failures, unless requested.
11571         (&handle_output): Don't complain for forbidden tokens in comments.
11572         Be sure to report all the forbidden tokens within a single line.
11573         (&trace_format_to_m4): Preserve `$_'.
11574         (&handle_traces): Sort the output macros.
11575         (&up_to_date_p): Find the files before trying to get its time stamp.
11577 2001-07-24  Akim Demaille  <akim@epita.fr>
11579         * Makefile.am: Ship, build and install Autom4te.
11580         (SUBDIRS): Add lib.
11581         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
11582         * configure.in: Require Perl.
11583         * man/autom4te.in: New.
11585 2001-07-19  Paul Eggert  <eggert@twinsun.com>
11587         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
11588         example, rather than (exit 1); exit (which isn't portable).
11590 2001-07-18  Akim Demaille  <akim@epita.fr>
11592         Version 2.52.
11594 2001-07-18  Akim Demaille  <akim@epita.fr>
11596         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
11597         was run, while they are needed also when it is expanded.
11598         Reported by Nicolas Joly.
11600         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
11601         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
11602         AC_F77_DUMMY_MAIN being expanded.
11604 2001-07-18  Akim Demaille  <akim@epita.fr>
11606         * configure.in: Bump to 2.51a.
11608 2001-07-17  Akim Demaille  <akim@epita.fr>
11610         Version 2.51.
11612 2001-07-17  Akim Demaille  <akim@epita.fr>
11614         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
11615         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
11617 2001-07-17  Akim Demaille  <akim@epita.fr>
11619         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
11620         used.  Well, then use the prototypes when you can, and runtime as
11621         a last resort.
11622         Reported by Artur Frysiak
11624         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
11625         (AC_FUNC_GETPGRP): Use it.
11626         First try to compile with 0-ary or 1-ary calls.
11628 2001-07-17  Akim Demaille  <akim@epita.fr>
11630         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
11631         replacement type.
11632         From Paul Eggert.
11634 2001-07-17  Akim Demaille  <akim@epita.fr>
11636         * Makefile.maint: Sync. with cppi 1.10.
11638 2001-07-17  Akim Demaille  <akim@epita.fr>
11640         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
11641         AC_F77_DUMMY_MAIN has been run.
11642         From Pavel Roskin and Steven G. Johnson.
11644 2001-07-17  Akim Demaille  <akim@epita.fr>
11646         * configure.in: Rename as...
11647         * configure.ac: this.
11649 2001-07-17  Akim Demaille  <akim@epita.fr>
11651         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
11652         rules.
11653         From Marc Espie.
11654         * Makefile.maint (release-archive-dir): Rename as...
11655         (release_archive_dir): this, so that it can be specialized in
11656         Makefile.
11658 2001-07-14  Akim Demaille  <akim@epita.fr>
11660         * configure.in: Bump to 2.50d.
11662 2001-07-14  Akim Demaille  <akim@epita.fr>
11664         Version 2.50c.
11665         * Makefile.maint (alpha): Typo.
11667 2001-07-14  Akim Demaille  <akim@epita.fr>
11669         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
11671 2001-07-14  Akim Demaille  <akim@epita.fr>
11673         * config/config.guess, config/config.sub, config/texinfo.tex
11674         * doc/standards.texi, doc/make-stds.texi: Update.
11676 2001-07-14  Akim Demaille  <akim@epita.fr>
11678         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
11680 2001-07-14  Akim Demaille  <akim@epita.fr>
11682         * Makefile.maint (maintainer-check): Rename as...
11683         (maintainer-distcheck): this.
11684         (changelog-check, static-check): New.
11685         Use them.
11687 2001-07-14  Kevin Ryde  <user42@zip.com.au>
11689         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
11690         for CXX is g++, not gcc.
11692 2001-07-14  Akim Demaille  <akim@epita.fr>
11694         * doc/autoconf.texi (Files): New subsection.
11696 2001-07-14  Akim Demaille  <akim@epita.fr>
11698         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
11699         of...
11700         (Generic Compiler Characteristics): this.
11701         (C++ Compiler): New subsection.
11703 2001-07-14  Akim Demaille  <akim@epita.fr>
11705         * autoscan.in: Use IO::File.
11706         Adjust all the routines to use it.
11707         ($log): New file (autoscan.log).
11708         (output): Dump detailed logs into $log, and a shortened version to
11709         stderr.
11710         (&scan_makefile): Refine the regexp catching tokens in the code.
11711         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
11712         and the `configure.ac' checking feature.
11714 2001-07-12  Akim Demaille  <akim@epita.fr>
11716         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
11717         Reported by Michael Elizabeth Chastain.
11719         * autoconf.in: Refuse such AWK.
11720         * configure.in: Likewise.
11721         * Makefile.am (acversion.m4): Do not use move-if-change this file
11722         has dependencies.
11723         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
11725 2001-07-10  Jens Petersen  <petersen@redhat.com>
11727         * autoscan.in (&scan_makefile): Improve programs regexp to parse
11728         things like "g++", "file.c" and "some-conf" as tokens.
11729         (&scan_file): Match C++ files extensions.
11730         If the filename extension is C++ then ask for c++.
11732 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
11734         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
11735         AC_TRY_LINK_FUNC, to check whether defining a dummy
11736         main-like routine is needed for linking with F77 libs.
11738 2001-07-05  Pavel Roskin  <proski@gnu.org>
11740         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
11741         after using break.
11742         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
11743         linking.
11745 2001-07-05  Akim Demaille  <akim@epita.fr>
11747         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
11748         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
11749         Makes' lives.
11750         Reported by Nicolas Joly.
11752 2001-07-04  Akim Demaille  <akim@epita.fr>
11754         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
11755         up.
11756         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
11757         warnings from compilers.
11758         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
11759         for all the compilers, not only GNU.  Hence move from here...
11760         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
11762 2001-07-04  Akim Demaille  <akim@epita.fr>
11764         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
11765         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
11766         AC_COMPILE_IFELSE.
11768 2001-07-04  Akim Demaille  <akim@epita.fr>
11770         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
11771         the ``strings.h'' change claimed below.
11773 2001-07-04  Akim Demaille  <akim@epita.fr>
11775         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
11777 2001-07-04  Akim Demaille  <akim@epita.fr>
11779         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
11780         strings.h if usable with string.h.
11781         Suggested by Paul Eggert.
11783 2001-07-04  Akim Demaille  <akim@epita.fr>
11785         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
11786         From Jens Petersen.
11788 2001-07-03  Akim Demaille  <akim@epita.fr>
11790         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
11791         etc. in the log.
11793 2001-07-03  Akim Demaille  <akim@epita.fr>
11795         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
11796         compiler, not the preprocessor.
11797         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
11798         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
11799         the right thing.
11800         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
11801         earlier if there are.
11803 2001-07-03  Akim Demaille  <akim@epita.fr>
11805         * autoscan.in ($initfile): Remove.
11806         (&find_file): Rename as...
11807         (&scan_file): this.
11808         Immediately scan the current file, instead of gathering them, and
11809         later having them handled by &scan_files.
11810         (&scan_files): Merely invoke Find::File.
11811         Adjust.
11813 2001-07-02  Akim Demaille  <akim@epita.fr>
11815         * autoscan.in: Formatting changes, matching the invocation order.
11816         (File::Find): Use it instead of Perl 4's `find.pl'.
11817         (&wanted): Rename as...
11818         (&find_file): this.
11820 2001-07-01  Pavel Roskin  <proski@gnu.org>
11822         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
11823         break in the argument to AC_TRY_LINK_FUNC.
11824         (AC_F77_MAIN): Remove conftest* after using break in the
11825         argument to AC_TRY_LINK.
11827 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
11829         Add alternate 'main' routine detection for linking C/C++ with Fortran,
11830         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
11832         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
11833         dummy alternate main is required even if the user provides her own
11834         'main'.
11835         (AC_F77_MAIN): New macro to detect whether it is possible to
11836         provide an alternate 'main' function name, using the 'main' from
11837         the Fortran libraries.
11838         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
11839         cross-language link tests can be performed successfully.
11840         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
11841         after $LIBS, for consistency; this should be the general rule since
11842         the user may want to link to Fortran libraries that require $FLIBS.
11843         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
11845 2001-06-29  Pavel Roskin  <proski@gnu.org>
11847         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
11848         at-stdout and at-stderr instead of removing the newline
11849         from the echo output, which is not guaranteed to work.
11851 2001-06-28  Jens Petersen  <petersen@redhat.com>
11853         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
11854         confdefs.h when non-zero.
11856 2001-06-28  Akim Demaille  <akim@epita.fr>
11858         * configure.in: Bump to 2.50c.
11860 2001-06-26  Akim Demaille  <akim@epita.fr>
11862         Version 2.50b.
11864 2001-06-26  Akim Demaille  <akim@epita.fr>
11866         Version 2.50a.
11868 2001-06-25  Pavel Roskin  <proski@gnu.org>
11870         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
11871         argument, AUTOCONF-FLAGS.
11872         * tests/mktests.sh (update_exclude_list): Add
11873         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
11874         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
11875         AC_FUNC_WAIT3 with "-W no-obsolete".
11877 2001-06-25  Akim Demaille  <akim@epita.fr>
11879         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
11881 2001-06-25  Akim Demaille  <akim@epita.fr>
11883         * autoscan.in (%macro): Now maps from word to list of macros.
11884         (&init_tables): Die when a word which is already handled by
11885         explicit macros is mapped to the default macro.
11886         (&print_unique): Remove, inlined in...
11887         (&output_kind): here.
11888         (File::Basename): Use it.
11889         (&output): Sort the CONFIG_FILES.
11890         * acheaders: Normalize.
11891         * acfunctions: Likewise.
11893 2001-06-25  Akim Demaille  <akim@epita.fr>
11895         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
11896         characteristics in the logs.
11897         Suggested by Mo DeJong.
11899 2001-06-24  Akim Demaille  <akim@epita.fr>
11901         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
11902         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
11903         * doc/autoconf.texi (Autoconf 2.13): New section.
11905 2001-06-24  Akim Demaille  <akim@epita.fr>
11907         * autoconf.in (Task traces): Separate the error messages from the
11908         traces to improve robustness.
11910 2001-06-23  Akim Demaille  <akim@epita.fr>
11912         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
11913         three as failures are unlikely, and speed matters.
11915 2001-06-23  Akim Demaille  <akim@epita.fr>
11917         * doc/autoconf.texi (Redefined M4 Macros): New.
11919 2001-06-23  Akim Demaille  <akim@epita.fr>
11921         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
11922         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
11923         5.3.
11925 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
11927         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
11928         config.status targets to after the evaluation of the INIT-CMDS.
11929         Double quote config.status targets (used to be single quoted).
11931 2001-06-23  Akim Demaille  <akim@epita.fr>
11933         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
11934         Check the content of the created file.
11935         Check the ./config.status command line invocation.
11937 2001-06-23  Akim Demaille  <akim@epita.fr>
11939         * tests/foreign.at (Libtool): Reject prehistoric versions.
11941 2001-06-23  Akim Demaille  <akim@epita.fr>
11943         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
11944         preexisting files matching a.*.
11946 2001-06-23  Akim Demaille  <akim@epita.fr>
11948         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
11949         stderr.
11950         * doc/autoconf.texi (AC_ARG_VAR): Update.
11952 2001-06-21  Akim Demaille  <akim@epita.fr>
11954         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
11955         precious variables have changed.
11956         * tests/torture.at (AC_ARG_VAR): Adjust.
11958 2001-06-21  Akim Demaille  <akim@epita.fr>
11960         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
11961         but some sed choke on multiple `;', and other tools (e.g.,
11962         Automake), include the separator themselves.
11964         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
11966 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
11968         * doc/autoconf.texi (Functions Portability): Rename as...
11969         (Function Portability): this.
11970         (Function Portability): Document potential problems with unlink().
11972 2001-06-19  Paul Eggert  <eggert@twinsun.com>
11974         * NEWS, doc/autoconf.texi: Document quadrigraphs.
11976 2001-06-18  Akim Demaille  <akim@epita.fr>
11978         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
11980 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
11982         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
11983         (_AC_FUNC_VFORK): this.
11984         Remove AC_DEFINEs and don't guess cross-compilation values.
11985         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
11986         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
11987         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
11988         vfork doesn't work.
11989         Guess values if cross-compiling, but warn.
11990         * acfunctions: Add AC_FUNC_FORK.
11991         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
11992         and vfork appropriately.
11994 2001-06-18  Akim Demaille  <akim@epita.fr>
11996         * doc/autoconf.texi (Functions Portability): New section.
11998 2001-06-18  Akim Demaille  <akim@epita.fr>
12000         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
12001         in $M4.
12002         Suggested by Andreas Schwab.
12004 2001-06-18  Akim Demaille  <akim@epita.fr>
12006         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
12007         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
12008         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
12009         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
12010         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
12011         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
12012         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
12013         the converse).
12015 2001-06-18  Akim Demaille  <akim@epita.fr>
12017         * doc/autoconf.texi (ms): New index.
12018         (Macro Index): Rename as...
12019         (Autoconf Macro Index): this.
12020         (M4 Macro Index): New appendix.
12021         (Programming in M4): New chapter.
12022         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
12023         (Quoting): Rename as...
12024         (M$ Quotation): this.
12025         Be part of `Programming in M4).
12027 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
12029         * tests/torture.at (AC_ARG_VAR): Set variables and export them
12030         in separate statements for compatibility with Tru64 v5.1.
12032 2001-06-17  Akim Demaille  <akim@epita.fr>
12034         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
12035         current values of the precious variables, not the previously
12036         cached values.
12037         Pass precious variables which are set to config.status.
12038         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
12039         * tests/torture.at (AC_ARG_VAR): New.
12041 2001-06-15  Paul Eggert  <eggert@twinsun.com>
12043         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
12044         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
12045         and explain why and how to replace them.
12046         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
12047         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
12049 2001-06-15  Akim Demaille  <akim@epita.fr>
12051         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
12052         Reported by Bruno Haible.
12054         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
12055          (_AC_ARG_VAR_PRECIOUS): to here.
12057 2001-06-15  Pavel Roskin  <proski@gnu.org>
12059         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
12060         an unused pointer use cast to this type and `if' statement to
12061         avoid warnings from the compiler.
12062         (AC_HEADER_TIME): Likewise.
12063         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
12064         in `if' statement to avoid warnings from the compiler. Declare
12065         ac_aggr static to avoid the need to initialize it.
12067 2001-06-14  Akim Demaille  <akim@epita.fr>
12069         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
12070         Macros'.
12072 2001-06-13  Akim Demaille  <akim@epita.fr>
12074         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
12075         Suggested by Alexander Mai.
12077 2001-06-13  Akim Demaille  <akim@epita.fr>
12079         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
12080         sys/types.h and sys/stat.h, and check for them.
12082 2001-06-13  Akim Demaille  <akim@epita.fr>
12084         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
12085         INCLUDES.
12087 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
12089         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
12090         succeeds and only try adding libdnet upon a failure.
12092 2001-06-12  Akim Demaille  <akim@epita.fr>
12094         * autoscan.in (&output_kind): Output the comment only if it exists.
12095         (%kind_comment): Add entry for `programs'.
12096         (&output_programs): Use &output_kind.
12097         (&output_functions, &output_identifiers, &output_headers)
12098         (&output_programs): Inline, and remove.
12100 2001-06-12  Akim Demaille  <akim@epita.fr>
12102         * autoscan.in (%kind_comment): New.
12103         (output_kind): New.
12104         (output_functions, output_identifiers, output_headers): Use it.
12106 2001-06-12  Akim Demaille  <akim@epita.fr>
12108         * autoscan.in (&print_unique): Take `$kind' and `$word' as
12109         arguments, to factor indirections into `%macro' and `%used'.
12110         (%generic_macro): Fix a typo.
12112 2001-06-12  Akim Demaille  <akim@epita.fr>
12114         * aclibraries: New.
12115         * autoscan.in (@kinds): Add `libraries'.
12116         Use `@kinds' instead of hard coded lists.
12117         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
12118         Remove, replaced by...
12119         (%used): this.
12121 2001-06-12  Akim Demaille  <akim@epita.fr>
12123         * autoscan.in (%functions_macros %headers_macros)
12124         (%identifiers_macros %programs_macros %makevars_macros): Remove,
12125         replaced by...
12126         (%macro): New.
12128 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
12130         * aclang.m4 (AC_NO_EXECUTABLES): Override
12131         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
12133 2001-06-11  Akim Demaille  <akim@epita.fr>
12135         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
12136         trailing new line.
12137         Reported by Andreas Schwab.
12139 2001-06-11  Akim Demaille  <akim@epita.fr>
12141         * Makefile.am, Makefile.maint: Typos.
12143 2001-06-09  Akim Demaille  <akim@epita.fr>
12145         * doc/autoconf.texi (Here-Documents): New section, gathering
12146         documentation about here-documents.
12147         Use `href', not `uref', and other changes.
12149 2001-06-09  Akim Demaille  <akim@epita.fr>
12151         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
12152         chapter.
12154 2001-06-09  Akim Demaille  <akim@epita.fr>
12156         * doc/autoconf.texi (Limitations of Builtins): Complete the
12157         description of the here-docs penalties with Alexandre Oliva's
12158         explanations.
12160 2001-06-01  Paul Eggert  <eggert@twinsun.com>
12162         * doc/autoconf.texi: Talk about here documents and speedups.
12163         Do not use "echo" on arbitrary strings.
12164         Spell "here-documents" consistently with the standard.
12166 2001-06-09  Akim Demaille  <akim@epita.fr>
12168         * doc/autoconf.texi (Concept Index): Introduce it.
12169         Regenerate the menus.
12171 2001-06-09  Akim Demaille  <akim@epita.fr>
12173         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
12174         * config/prev-version.txt: New.
12175         * config/move-if-change: New, for GNU libc.
12177 2001-06-06  Pavel Roskin  <proski@gnu.org>
12179         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
12181 2001-06-06  Akim Demaille  <akim@epita.fr>
12183         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
12184         properly when $1 is not a literal.
12185         Fixes PR Autoconf/187, reported by Bram Moolenaar.
12187 2001-06-06  Akim Demaille  <akim@epita.fr>
12189         Invoking AC_COPYRIGHT before AC_INIT fails.
12191         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
12192         * acgeneral.m4 (_m4_divert(VERSION_FSF))
12193         (_m4_divert(VERSION_USER)): New.
12194         (AC_COPYRIGHT): $2 is the diversion to use.
12195         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
12196         (AC_INIT): Remove dead comments as now it's commutative.
12198 2001-06-06  Akim Demaille  <akim@epita.fr>
12200         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
12201         PR autoconf/187.
12203 2001-06-05  Akim Demaille  <akim@epita.fr>
12205         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
12206         can be empty.
12207         `*dir' variables cannot be NONE.
12208         Reported by Mark Kettenis.
12210 2001-06-05  Paul Eggert  <eggert@twinsun.com>
12212         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
12214 2001-06-04  Akim Demaille  <akim@epita.fr>
12216         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
12217         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
12218         (AC_TR_SH): Move as...
12219         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
12220         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
12221         (AS_TR_SH): these.
12222         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
12223         (_AS_TR_SH_PREPARE): New.
12224         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
12225         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
12227 2001-06-02  Akim Demaille  <akim@epita.fr>
12229         * Makefile.am (.m4.m4f): Pass the options first.
12230         Fixes PR autoconf/182.
12232 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
12234         GNU getopt, when POSIXLY_CORRECT does not permute options and
12235         arguments.  So pass the options first.
12236         Fixes PR autoconf/184.
12238         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
12239         (run_m4): Remove files.
12240         (run_m4f): Remove.
12241         Update remainder of script to use them.
12242         (for warning in): Do not use a literal comma as it will not be
12243         split by IFS.
12245 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
12247         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
12248         Fortran compilers to check.
12249         (_AC_PROG_F77_V): Add '-###' as a possible option to print
12250         information on library and object files.
12251         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
12252         to check.
12254 2001-06-02  Akim Demaille  <akim@epita.fr>
12256         * autom4te.in (Request::@request): Declare with `vars', not `my',
12257         as it prevents updates via `do FILENAME'.
12259 2001-06-02  Akim Demaille  <akim@epita.fr>
12261         * configure.in (standards_texi): Remove, dead code.
12263 2001-06-02  Akim Demaille  <akim@epita.fr>
12265         * autom4te.in: New.
12267 2001-06-02  Pavel Roskin  <proski@gnu.org>
12269         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
12270         for signals other than 0 - exit with code 1.
12271         * m4sh.m4 (AS_TMPDIR): Likewise.
12272         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
12273         * autoheader.in: Likewise.
12274         * autoreconf.in: Likewise.
12275         * tests/torture.at (Signal handling): New test for the above.
12277 2001-06-01  Akim Demaille  <akim@epita.fr>
12279         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
12280         message.
12282 2001-05-31  Akim Demaille  <akim@epita.fr>
12284         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
12285         Add copyright and comments.
12286         * acheaders: Add stdint.h.
12287         Suggested by Paul Eggert.
12289 2001-05-31  Akim Demaille  <akim@epita.fr>
12291         * atgeneral.m4 (AT_INIT): Use $SHELL.
12292         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
12294 2001-05-31  Akim Demaille  <akim@epita.fr>
12296         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12297         stdint.h.
12298         From Paul Eggert and Lars Hecking.
12300 2001-05-31  Akim Demaille  <akim@epita.fr>
12302         * tests/base.at: Adjust line numbers in error messages.
12304 2001-05-31  Akim Demaille  <akim@epita.fr>
12306         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
12307         to emit the bangshe line.
12308         Reported by David Carter.
12310 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
12312         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
12313         Fortran (95) compilers to check.
12315 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
12317         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
12318         Macro Archive URL.
12320 2001-05-23  Pavel Roskin  <proski@gnu.org>
12322         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
12323         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
12324         (AC_PROG_CXXCPP): Likewise.
12326 2001-05-22  Akim Demaille  <akim@epita.fr>
12328         * config: New directory.
12329         * configure.in: AC_CONFIG_AUX_DIR it.
12330         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
12332 2001-05-22  Akim Demaille  <akim@epita.fr>
12334         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
12335         * autoupdate.in: Specify the Emacs mode.
12336         * acversion.m4.in: Rename as...
12337         * acversion.m4: this.
12338         * tests/Makefile.am (CLEANFILES): More garbage.
12340 2001-05-22  Akim Demaille  <akim@epita.fr>
12342         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
12343         Rename as...
12344         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
12345         these.
12347 2001-05-21  Akim Demaille  <akim@epita.fr>
12349         * configure.in: Bump to 2.50a.
12352         -----
12354         Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
12355         Foundation, Inc.
12357         This file is part of GNU Autoconf.
12359         GNU Autoconf is free software; you can redistribute it and/or modify
12360         it under the terms of the GNU General Public License as published by
12361         the Free Software Foundation; either version 2, or (at your option)
12362         any later version.
12364         GNU Autoconf is distributed in the hope that it will be useful,
12365         but WITHOUT ANY WARRANTY; without even the implied warranty of
12366         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12367         GNU General Public License for more details.
12369         You should have received a copy of the GNU General Public License
12370         along with autoconf; see the file COPYING.  If not, write to
12371         the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12372         Boston, MA 02110-1301, USA.