* lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
[autoconf/tsuna.git] / ChangeLog
blob912467fd3dc04fdfb844e141543f8bd950ab8fd7
1 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
3         * NEWS: Version 2.60a.
5 2006-08-25  Stepan Kasal  <kasal@ucw.cz>
7         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
8         file created by the PGI compiler.
10 2006-08-25  Noah Misch  <noah@cs.caltech.edu>
12         * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
13         simplify the code.
15 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
17         Fix Lex library problem reported to us by Julio Garvia.
18         * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
19         for the default, which the user can override.
20         * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
21         deal with LEXLIB.
22         (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
23         didn't work if some values were cached but not others.  Test for
24         broken lex libraries like native ia64-hp-hpux11.22; see
25         <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
26         work around the problem by preferring an empty LEXLIB to -lfl or
27         -ll.  Let the user set LEXLIB='' to indicate no library needed.
29         * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
30         * README: Likewise.
31         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
33 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
35         Rework to use more-modern build style.
36         Many files are renamed; all uses of their names were changed.
37         * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
38         * .x-sc_useless_cpp_parens: New file.
39         * build-aux/config.guess: Renamed from config/config.guess.  Update.
40         * build-aux/config.sub: Renamed from config/config.sub.  Update.
41         * build-aux/elisp-comp: Renamed from config/elisp-comp.
42         * build-aux/install-sh: Renamed from config/install-sh.  Update.
43         * build-aux/mdate-sh: Renamed from config/mdate-sh.
44         * build-aux/missing: Renamed from config/missing.
45         * build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
46         * build-aux/vc-list-files: Renamed from config/vc-list-files.
47         * config/Makefile.am: Removed.
48         * config/mkinstalldirs: Removed.
49         * config/move-if-change: Removed.
50         * m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
51         * Makefile.am (SUBDIRS): Remove config.
52         (ACLOCAL_AMFLAGS): Include from m4, not config.
53         (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
54         (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
55         (autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
56         Fail if there's an error.
57         * Makefile.cfg (move_if_change): Remove.
58         (wget_files): Remove.
59         (cvs_executable_files): New macro.
60         (cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
61         (executable-update): Use $(cvs_executable_files).
62         (local-checks-to-skip): Remove.
63         * Makefile.maint: Merge from coreutils, plus add our own changes
64         (gzip_rsyncable): New macro.
65         (GZIP_ENV): Use it.
66         (CVS_LIST): Use build-aux/vc-list-files.
67         (VERSION_REGEXP): New macro.
68         (local-checks-available): Add patch-check, $(syntax-check-rules),
69         check-AUTHORS.
70         (syntax-check-rules): Compute dynamically.
71         (sc_cast_of_x_alloc_return_value): Work even if no source files.
72         (sc_cast_of_alloca_return_value): Likewise.
73         (sc_prohibit_atoi_atof): Simplify regexp.
74         (sc_no_if_have_config_h, sc_require_config_h):
75         (sc_prohibit_assert_without_use,
76         (sc_obsolete_symbols): Check for O_NDELAY.
77         (sc_texi_notab): Remove.
78         (sc-changelog): Don't make an exception for '----' lines.
79         (.re-list): Remove, so we don't have a junk file behind.
80         (sc_system_h_headers): Remove the need for .re-list.
81         (sc_the_the):  New rule.
82         (sc_tight_scope): Simplify.
83         (sc_trailing_blank): Renamed from sc_trailing_space.
84         (longopt_re): New macro.
85         (sc_two_space_separator_in_usage): New rule.
86         (sc_unmarked_diagnostics): Look at all files under CVS.
87         (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
88         (news-date-check, changelog-check): Version is OK.
89         (po-check): Look for lib files even if not in CVS.
90         (copyright-check): Use $() not ``.
91         (maintainer-distcheck): Do not depend on changelog-check.
92         (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
93         Also check for -Wpointer-arith.
94         (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
95         (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
96         Remove.
97         (announcement): Add --gpg-key-id arg.
98         (cvs-sv): Remove.
99         (move_if_change): Just use mv.
100         (local_updates: Remove wget-update, po-update.
101         (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
102         (config.guess-url_prefix, config.sub-url_prefix): Remove.
103         (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
104         (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
105         ($(get-targets)): Remove.
106         (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
107         (gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
108         (cvs-update): Get from gnulib.
109         (emut_upload_commands): gnupload is in build-aux now.
110         (alpha beta major): Add changelog-check.  Check version.
111         * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
112         (AC_CONFIG_FILES): Remove.
113         * bin/autoconf.as: Add spaces to avoid distcheck warning.
114         * config/announce-gen: Sync from coreutils.
115         * doc/make-stds.texi: Sync from gnulib.
116         * doc/standards.texi: Likewise.
117         * man/Makefile.am: Adjust for config -> build-aux renaming.
118         * tests/Makefile.am: Prefer $(FOO) to @FOO@.
119         * tests/local.at: Adjust from config -> build-aux renaming.
120         * tests/tools.at: Likewise.
121         * tests/torture.at: Likewise.
123         * NEWS: The C99 check now tests for vararg macros and 64-bit
124         preprocessor ints.
125         * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
126         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
127         64-bit preprocessor ints.  Check for static initialization of
128         long long.  Remove unnecessary casts.
130 2006-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
132         * doc/autoconf.texi (Particular Programs): Mention that
133         @INSTALL@ and @MKDIR_P@ may vary for different output files.
134         Reported by Alexandre Duret-Lutz.
136 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
138         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
139         -lgcc?* and -lSystem, for Darwin/MacOS X.  Problem reported by
140         Bill Northcott in
141         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
143 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
145         * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
146         pacify insanely picky compilers.  Problem reported by Eric Blake.
148         * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
149         longer supported by Sun.
151 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
153         * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
154         rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
155         -Wundef -Werror".  Problem reported by David Fang in
156         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
157         * doc/autoconf.texi (Header Templates, Default Includes):
158         (Particular Functions, Generic Functions, Header Portability):
159         (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
160         (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
161         (Present But Cannot Be Compiled, Preprocessor Symbol Index):
162         Prefer #ifdef to #if.
163         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
164         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
165         (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
166         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
167         Likewise.
168         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
169         (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
170         * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
171         (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
172         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
173         S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
174         this.
176 2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
178         * doc/autoconf.texi (Limitations of Usual Tools): Document sed
179         problems with arg script text that doesn't end in newline, and
180         with '-e a...'.  Problems reported by Ralf Wildenhues.
182 2006-08-12  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
184         * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
185         check for libXt by a check for libX11.
187 2006-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
189         * doc/autoconf.texi (config.status Invocation): Adjust according
190         to last change.
192 2006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
194         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
195         --help' should mention that `--version' outputs configuration
196         settings.  Report by Bruno Haible.
198 2006-08-06  Paul Eggert  <eggert@cs.ucla.edu>
200         Fix test suite failures reported by Pierre in
201         <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
202         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
203         the compiler created a file "b.out" when it didn't create anything
204         at all.
205         * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
206         Discard stderr too, when invoking the test script.
208 2006-08-05  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
210         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
211         in the restoring of the werror flag.
213 2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
215         * doc/autoconf.texi (Volatile Objects): Be even a little
216         less skeptical about "volatile", after discussion with
217         Bruno Haible on bug-gnulib.
218         (Limitations of Usual Tools): Warn about sed stripping
219         leading white space from text.  From Bruno Haible.
221 2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
223         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
224         compiler complains about it, even if things works after the
225         complaint.  Problem reported by Peter O'Gorman.
227         * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
228         CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
229         Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
231 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
233         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
234         after -R regardless of host.  Patrick Welche reports that this
235         fixes things on NetBSD 3.99.
237         * NEWS: Recommend M4 1.4.5.
238         * README: Likewise.
239         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
240         * tests/tools.at (autom4te cache): Update wording of diagnostic
241         to match M4 1.4.5.
243 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
245         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
246         under AC_C_VOLATILE.
247         (Volatile Objects): Be a little less skeptical about what
248         "volatile" means.  Derived from thoughts by Ben Pfaff in
249         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
251 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
253         * doc/autoconf.texi: Fix some typos.
255 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
257         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
258         more globally, since the 2006-06-30 patch didn't suffice.  Problem
259         reported by Keith Marshall.  Also, don't bother with builddir2,
260         since it shouldn't be needed any more.
262 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
264         * doc/autoconf.texi (Generic compiler characteristics):
265         Document AC_COMPUTE_INT.  Fix wrong statements on Default
266         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
268         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
269         (_AC_COMPUTE_INT): Add obsoletion warnings.
270         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
271         AC_COMPUTE_INT.
273         * NEWS: Document change.
275 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
277         * doc/autoconf.texi (Volatile Objects): New section.
279         * NEWS: Document previous change.
281 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
283         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
284         Require that long long int be at least 64 bits wide.  C99 requires
285         this and enough programs depend on it so we should check for it.
286         Bruno Haible reports in
287         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
288         that long long int is 32 bits wide with some nonstandard compilers.
289         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
291 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
293         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
294         to a nonexistent file, so that we don't have to worry about
295         a local site configuration that doesn't use /usr/local.
296         Problem reported by Keith Marshall in
297         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
299 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
301         * doc/autoconf.texi: Be more consistent about using @acronym with
302         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
303         quite right (it talked about "OSF/Tru64", even though the
304         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
305         and it even mentioned "OSF 4"!) and at this point there's little
306         reason to talk about OSF any more, since it died in 1994.
307         (Specific Compiler Characteristics): Simplify example of
308         negative-size array.
309         (File Descriptors): Reorder to make the text flow better.
310         Remove joke about "appreciate the various levels"; I didn't get it.
311         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
312         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
313         (File Descriptors, Limitations of Usual Tools):
314         Tone down the advice against renaming or removing open files.
315         (Limitations of Usual Tools): Add a new section, on 'rm'.
317 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
319         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
320         -lXt in LIBS, idea from Karsten Hopp; this was due since
321         this change:
323         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
324         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
325         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
326         (which belong to Xt, not X itself).  See Debian bug 327655.
328 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
330         * configure.ac (AC_INIT): Bump to 2.60a.
331         * NEWS: Update.
333 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
335         Version 2.60.
337         * configure.ac, NEWS: Update.
339 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
341         * config/texinfo.tex: Sync from upstream.
343         * bin/autom4te.in (handle_traces): Transform the `@S|@'
344         quadrigraph correctly in traces.
346         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
347         Fix typos.
349         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
350         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
351         not defined.
352         * doc/autoconf.texi (Changed Directory Variables): New node,
353         to document the whole `datarootdir' business a bit better.
354         * NEWS: Update.
355         * tests/torture.at (datarootdir workaround): Extend test.
356         Prompted by report by Alexandre Julliard.
358 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
360         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
361         when using default mode of IBM C 6 for AIX.  Problem and two-line
362         fix reported by Larry Jones.
364 2006-06-22  Alexandre Julliard <julliard@winehq.org>
366         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
367         about literal '${datarootdir}' if a definition is found in the
368         output file.
370 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
372         * NEWS: Use "M4" rather than "m4" when appropriate.
373         Problem reported by Eric Blake.
374         * doc/autoconf.texi: Likewise.
375         Use @acronym around BSD, GCC, and GNU when appropriate.
376         (Why GNU M4): Renamed from "Why GNU m4".
377         (Redefined M4 Macros): Mention that Posix
378         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
379         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
380         to int.
382 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
384         * bin/autom4te.in (handle_output): Do not forbid the empty
385         pattern.
386         * tests/tools.at (autoconf: the empty token): New test.
388 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
390         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
391         calls, so that we do not care whether they are LIFO or FIFO;
392         in the m4_wrap, do not check which diversion is the topmost
393         one, just check that the stack is balanced at the end.
394         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
395         base diversion forever--pop the previous diversion before
396         opening the new one; consequently, remove the m4_wrap call.
397         * lib/autotest/general.m4 (AT_INIT): Likewise.
398         * tests/m4sugar.at: Do not use
399         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
401 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
402         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
404         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
405         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
406         Rework example of m4wrap token-pasting trouble so that it doesn't
407         care whether it's LIFO or FIFO.
408         Fix some "contrary to"s that are awkward in English.
410 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
412         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
413         to `yes' instead of `int$1_t' if the type is found, for more
414         consistent configure output (where $1 is the number of bits).
415         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
416         Suggested by Bruno Haible.
418         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
419         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
420         with system headers.  Report by Bruno Haible.
422 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
424         * config/config.guess, config/config.sub: Sync from upstream.
426         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
427         in order to avoid picking up an older installed frozen m4sh.m4f.
428         Besides an outdated shell startup, this could have been created
429         by an earlier M4 version with incompatible frozen file format.
431 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
433         * README: Recommend m4 1.4.4 instead of 1.4.3..
434         * doc/autoconf.texi: Likewise.
435         (Special Chars in Names): Say that $(.FOO) is portable, as
436         suggested by Stepan Kasal.
437         (Installation Directory Variables, Build Directories):
438         (Automatic Remaking, Subdirectories, Fortran Compiler):
439         (Making testsuite Scripts, Defining Directories):
440         Quote variable usages better.
441         (Making testsuite Scripts): Add clean-local rule to makefile
442         snippet, by Eric Blake.
443         (Installation Directory Variables): Fix table item font.
444         Reword slightly to clarify.  Generalize advice about
445         not using special characters to include all file-related
446         vars, not just VPATH.
447         (Special Chars in Variables): Warn about special characters in
448         $(srcdir) too.
449         (Assignments): Clarify default-value example as suggested by
450         Ralf Wildenhues in
451         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
452         (Special Shell Variables): Note leading ./ or ../, as suggested
453         by Eric Blake.
454         (Limitations of Builtins): Under cd, warn about CDPATH.
455         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
456         Ralf Wildenhues.
458 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
460         * doc/autoconf.texi (Configuration Actions): Remove duplicate
461         `@var', for texi2html.
462         (Systemology): Some more word wrapping, for DVI output.
463         (autom4te Invocation): The short option for `--melt' is `-M',
464         not `-m'.
466 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
468         * doc/autoconf.texi: More formatting and English tweaks,
469         many suggested by Ralf Wildenhues.
470         Reword to avoid "@code{...}'s" and the like, since it's ugly
471         with Emacs info mode.  discontents -> woes.
472         Put a few "will"s back.  time stamp -> timestamp.
473         side-effect -> side effect.
475 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
477         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
478         Warn about $@ not persisting.  Problem reported by Julien Danjou in
479         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
480         (Special Chars in Names): Renamed from Leading _ in Macro Names.
481         Mention other special chars, too.
483 2006-06-14  Eric Blake  <ebb9@byu.net>
485         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
487 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
489         * doc/autoconf.texi: Some systematic minor improvements, as
490         follows.  Use "makefile" when talking about makefiles
491         generally (which might be named "makefile" or "Makefile" or even
492         "foo.mk"), "Makefile" when talking about a specific makefile
493         called "Makefile".  This unclutters the text from weird quotes
494         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
495         values" rather than "@var{foo}s" and similar constructs containing
496         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
497         English-language improvements.  Change the prefix "sub-" to "sub"
498         and "re-" to "re".
499         Put blank lines around examples more consistently.
500         Avoid "rather" and "very" as intensifiers.
501         Avoid "will" as an auxiliary.
502         (Limitations of Make): Split this node into....
503         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
504         (Leading _ in Macro Names, Backslash-Newline-Newline):
505         (Backslash-Newline Comments, Long Lines in Makefiles):
506         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
507         (obj/ and Make, make -k Status, VPATH and Make):
508         (VPATH and Double-colon, $< in Explicit Rules):
509         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
510         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
511         New nodes, resulting from splitup of Limitations of Make.
512         All cross-references changed.  Raise the top node from
513         a section to a chapter, and all subnodes accordingly.
514         Redo the introductory wording to match the new organization.
515         (Installation Directory Variables): Use an example that is
516         closer to what Autoconf actually does.  Mention that VPATH's
517         value should not contain metacharacters or white space.
518         (Fortran Compiler): Fix a VPATH bug in an example.
519         (Leading _ in Macro Names): Mention that this problem is no longer
520         of practical concern.
521         (VPATH and Make): Reword the advice to make it clearer
522         that Autoconf and Automake support VPATH in non-GNU make, but
523         many packages have bugs in this area.
524         ($< in Explicit Rules): Refer to Build Directories rather
525         than using a (non-VPATH-safe) example.
526         (Automatic Rule Rewriting): Mention the sort of disaster that
527         can ensue with Solaris-style rule rewriting with VPATH.
529 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
531         * doc/install.texi (Compilers and Options): Weaken the
532         suggestion to use GNU make for VPATH builds.
534         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
535         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
537         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
538         in regular expression.
540 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
542         * doc/autoconf.texi (Installation Directory Variables):
543         Drop extra @samp from `@table @samp' item.
544         (Limitations of Usual Tools): Comment fix.
545         Do not nest @samp just to point to other table items.
546         (Writing testsuite.at) <AT_CHECK>: The second argument to
547         `@dvar' is already @samp'ed.
548         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
549         do not use @var in the second argument.
551 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
553         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
554         $as_shell.exe too.  Problem reported by Andreas Buening in
555         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
557 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
559         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
560         `unused variable' compiler warning, for `-Wall -Werror'.
561         Reported by Jaap Haitsma in
562         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
564 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
566         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
567         case the compiler dumps core.  Problem reported for
568         OpenServer 5.0.7 by Tim Rice in
569         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
570         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
571         Likewise.
573 2006-06-06  Tim Rice <tim@multitalents.net>.
575         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
576         "ERROR" only shows up in "make check" output if there is an
577         error.
579 2006-06-06  Eric Blake  <ebb9@byu.net>
581         * tests/tools.at (automatically allowed tokens): Fix typo.
583 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
585         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
587         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
588         typically overflows on x86 CPUs, even though the C standard
589         requires otherwise.
591 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
593         * configure.ac (AC_INIT): Bump to 2.59e.
594         * NEWS: Update.
596 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
598         Version 2.59d.
600         * config/texinfo.tex: Sync from upstream.
602         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
603         seen, invoke libtoolize with `--ltdl' argument.
604         * lib/autom4te.in (Autoreconf-preselections): Adjust.
605         * NEWS: Update.
606         Suggested by Eric Blake.
608 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
610         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
611         reported by Ralf Wildenhues.
612         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
614 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
616         * THANKS: Update.
618 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
620         * doc/autoconf.texi: Modernize some of the references to Solaris.
622 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
624         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
625         message issued by AC_REQUIRE.
626         * tests/m4sugar.at: Check m4_require's error message.
627         * tests/base.at: Check AC_REQUIRE's error message.
628         * tests/local.at (AT_CHECK_M4): New macro, almost identical
629         to...
630         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
631         AT_CHECK_M4.
632         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
633         `expout' as the last parameter.
634         * tests/tools.at: Adapt to the above change.
636 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
638         * doc/autoconf.texi (Limitations of Usual Tools): Correct
639         information about race-free implementations of mkdir.
641 2006-06-04  Eric Blake  <ebb9@byu.net>
643         * bin/autoreconf.in (help): Document M4 environment variable.
644         * bin/autoconf.as (Usage): Likewise.
645         * bin/autom4te.in (help): Likewise.
646         * doc/autoconf.texi (autom4te Invocation): Likewise.
648 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
650         * NEWS: GNU make now recommended for VPATH builds.
651         Mention that some macros are now documented to be obsolescent.
652         * doc/autoconf.texi:
653         Prefer "current" to "modern" to describe
654         currently-used (albeit perhaps old-fashioned) hosts.
655         Mention which ancient features no longer need to be worried about.
656         setgid -> set-group-ID
657         setuid -> set-user-ID (these are the Posix terms)
658         Fix some misuses of "only".
659         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
660         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
661         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
662         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
663         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
664         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
665         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
666         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
667         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
668         Mention that these macros are obsolescent.
669         (Installation Directory Variables): shall -> should
670         (File Descriptors): Mention that 0, 1, 2 might get reopened.
671         Mention that it's now safe to use 3 and 4.
672         (Limitations of Usual Tools): cp -r is now specified by Posix.
673         Omit longwinded and obsolescent discussion of cp -f.
674         Modernize discussion of expr, ls.
675         (Limitations of Make): Modernize discussion of VPATH builds.
676         Mention $? as a workaround in some cases.
677         * doc/install.texi (Basic Installation):
678         Mention "./configure; make; make install" first.  Be more
679         specific about why this file is generic.  Remove unnecessary
680         parens.  Remove misleading "only".  Remove obsolete advice
681         about csh.  Don't say "configure" takes awhile; say it
682         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
683         and CC=c99 rather than CC=c89, as these are blessed by current
684         Posix.  Recommend GNU make if doing a VPATH build.
686 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
688         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
689         examples involving shell prompts.
691 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
692         and Paul Eggert  <eggert@cs.ucla.edu>
694         * doc/autoconf.texi (Here-Documents): Add details about the
695         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
696         use "here-documents" instead of "here documents".
698 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
700         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
702 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
704         * doc/autoconf.texi (File System Conventions): Warn about ":"
705         anywhere in directory names.
707 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
709         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
710         about quoting the case statement, just in case.
711         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
712         was fixed in ksh93g; reported by Ralf Wildenhues.
714 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
716         * doc/autoconf.texi (System Services): Do not document
717         overriding EXEEXT via ac_cv_exeext=ext.
718         (Particular Programs) <AC_PROG_MKDIR_P>:
719         Document that ${MKDIR_P} understands --.
720         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
721         comment.
723 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
725         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
726         argument with leading hyphen.  Problem reported by Paul Eggert.
728 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
730         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
731         about quoting ac_try: quote all of it, if any of it seems suspicious.
732         This means we don't have to worry about ${ or sed any more.
733         Also, double-quote the case statement, to work around misuses via
734         underquoting as reported by Ralf Wildenhues in
735         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
736         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
737         undocumented and dangerous macro.
738         Problem reported by Ralf Wildenhues in
739         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
741 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
743         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
744         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
745         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
747 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
749         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
750         since evidently some packages rely on the old, broken behavior.
751         Problem reported by Ralf Wildenhues in
752         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
753         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
754         pre-2006-05-26 definitions, but leave in the comments that
755         these macros are dangerous and should not be used.
756         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
757         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
758         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
759         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
760         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
762 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
764         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
765         the use of 'tr', since this is our only use of 'tr'.
767 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
768         and Paul Eggert  <eggert@cs.ucla.edu>
770         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
771         Don't assume 'grep' works on long lines, since AIX grep doesn't.
773 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
775         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
776         the output file in the `${datarootdir}' test.
778 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
779         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
781         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
782         mention of `datarootdir' in the input file(s), but literal
783         `${datarootdir}' in the output file, and we haven't warned yet,
784         then warn as well: the user may have (erroneously) used
785         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
786         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
787         * tests/torture.at (datarootdir workaround): Extend this test.
788         * NEWS: Update.
790 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
791         and Paul Eggert  <eggert@cs.ucla.edu>
793         * doc/autoconf.texi (autoheader Invocation): The first argument to
794         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
795         alternatives and clear up the language a bit.
797 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
799         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
800         ac_config_guess, ac_config_sub, ac_configure.
801         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
802         Fix typo that prevented an unnecessary space from being removed.
803         Problems reported by Ralf Wildenhues in:
804         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
806 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
808         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
809         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
810         Don't use the term "thread-safe" to talk about mkdir race
811         conditions, since the problem is more a process than a thread
812         issue.  Problem reported by Stepan Kasal in:
813         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
814         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
815         the test for 'install' more closely.  Look at MKDIR_P first.
816         Look in the PATH, and at /opt/sfw/bin.
817         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
818         Don't bother to try mkdir -p, since we already check mkdir --version;
819         just look at the version number.  (There's no easy way to check
820         for race-free implementations.)
821         * tests/tools.at (autoconf: subdirectories): Adjust to above
822         changes, since MKDIR_P now might end in "/mkdir -p".
824         * doc/autoconf.texi (autoheader Invocation): Mention that the
825         first arg of AC_DEFINE_UNQUOTED must be a literal.
826         Problem reported by Ben Pfaff in
827         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
829         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
830         * doc/autoconf.texi (Special Chars in Variables): New section.
831         (Preset Output Variables): Warn about special chars in CPPFLAGS.
832         (Installation Directory Variables): Quote $(datadir) better.
833         (Limitations of Builtins): Describe some of eval's trickiness.
835         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
836         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
837         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
838         in front of every arg, not just trailing args.  Quote apostrophes.
839         (_AC_EVAL_ECHO): New macro.
840         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
841         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
842         removed.
843         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
844         exposed by quoting of eval argument.  Put the command on line line
845         so it logs better.
846         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
847         (_AC_PATH_X, AC_PATH_X): Quote more safely.
848         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
849         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
850         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
851         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
852         Use eval more safely.
853         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
854         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
855         to be replaced.
856         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
857         lines, exposed by quoting of eval argument.
859 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
860         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
862         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
863         initialization of `ac_cv_exeext', do not override it if it was
864         already set, unless it was set to `no', for compatibility with
865         Autoconf-2.13, and comment this.
866         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
867         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
868         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
869         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
870         Document that this test may be overridden by setting
871         `ac_cv_exeext'.
873 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
875         Revert these two patches:
877         2006-04-06  Eric Blake  <ebb9@byu.net>
878         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
879         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
880         2006-04-01.
882         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
883         Clean up _AC_COMPILER_EXEEXT* macros.
884         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
885           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
886           ac_file to the name of the default output file and call
887           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
888           initial `rm' of the candidate files...
889         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
890           the same list in subsequent `rm' calls, and for the temporary
891           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
892           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
893         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
894         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
895           no longer needed) by libtool.  Make it a cache check.
896         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
897           copied here by mistake.
898         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
899           _AC_COMPILER_EXEEXT.
900         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
901           _AC_COMPILER_OBJEXT directly.
902         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
904 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
906         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
907         Fix description of how the buggy `sed' works.
909 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
911         Sync from Automake:
913         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
914         ENOLCK.  Only mention `make -j' when applicable.  Only raise
915         fatal errors when `make -j' is involved.  Improve error message.
917 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
919         * doc/autoconf.texi (Here-Documents): We now know more about
920         the variable expansion in here documents bug.
921         Thanks to Tim Rice and Stepan Kasal.
923         * doc/autoconf.texi (Making testsuite Scripts): Add an example
924         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
926 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
928         * tests/autotest.at (Multiline command from M4 expansion):
929         No failure to be expected if the shell quotes newlines in
930         commands in the `set -x' output.  Report by Tim Rice.
931         * THANKS: Update.
933 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
935         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
936         expansion in the here-documents used by config.status, as that
937         runs afoul of the Korn shell version M-12/28/93d bug described in
938         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
939         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
940         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
942 2006-05-23  Jim Meyering  <jim@meyering.net>
944         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
945         Fix typo introduced with 2006-04-02 change.  It reversed the sense
946         of the test.
948 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
950         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
951         ac_dB slightly, to save bytes in the script.
952         Max out at 50 lines, rather than 96; this is more likely
953         (though not guaranteed) to avoid obscure 'sed' failures.
955 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
957         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
958         `tr -d -' as bad option argument.  Work around this by deleting
959         an unrelated character.
960         Report by Tim Rice <tim@multitalents.net>.
962 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
963             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
964             Stepan Kasal  <kasal@ucw.cz>
966         * doc/autoconf.texi (Particular Programs): Do not promise that
967         we always prefer the GNU version of the program, and that we
968         search according to PATH; both rules can have exceptions.
969         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
970         AC_PROG_SED.  Move descriptions of limitations
971         to the Limitations of Usual Tools section.
972         (Limitations of Usual Tools) <sed>: Mention script length
973         limitations with Solaris /usr/ucb/sed.
974         <grep>: Fix wording for empty alternative.  Mention that -c and
975         -l should not be combined, and that -E and -F should not be
976         combined.
978 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
979         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
981         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
982         limits in Solaris 8 /usr/ucb/sed by testing a long script.
984 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
986         * doc/autoconf.texi (Defining Symbols): Literal parameter of
987         AC_DEFINE is now passed to m4_pattern_allow.
988         * NEWS: Mention that; likewise for AC_SUBST.
989         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
990         the parameter to m4_pattern_allow.
991         * tests/tools.at: Add a check for that.
993 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
995         * lib/autoconf/status.m4: Fix typos.
997 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
999         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
1000         only the files that this macro generates.
1002 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
1004         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
1005         the HP-UX sed limitation of 99 commands, labels do not count.
1006         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
1007         in the comment.
1008         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
1010 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
1012         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
1013         Import the following fix from coreutils:
1015         2006-01-13  Jim Meyering  <jim@meyering.net>
1017         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
1018         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
1019         not double-quote uses of that variable, to accommodate the rare
1020         case in which getmntent is available in none of the libraries
1021         checked.  This happens at least on FreeBSD 5.0.
1023 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
1025         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
1026         ac_config_guess, ac_config_sub, and ac_configure, since evidently
1027         some other programs unwisely rely on these undocumented vars.
1028         But put in warning comments about them.
1029         Problem reported by Ralf Wildenhues in
1030         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
1031         * NEWS: Document that these variables are intended to go away.
1033 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1035         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
1036         and set the language to C++ (analogous to the equivalent Fortran
1037         tests).
1039         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
1040         * doc/autoconf.texi (C++ Compiler): Document it.
1041         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
1042         * NEWS: Update.
1044 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1046         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
1047         that caused config.status to generate 100-command sed scripts; the
1048         portable limit is 99.
1050 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1052         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
1053         variable `ac_d' instead of `d' to avoid infringing namespace.
1054         Report by Ralf Menzel.
1056 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
1058         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
1059         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
1060         * tests/tools.at (autoconf: subdirectories): New test, taken from
1061         the corresponding problem report by Ralf Wildenhues in:
1062         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
1064         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
1065         Quote some uses of shell variables if they might suffer unexpected
1066         globbing.  This doesn't fix all instances of quoting problems that
1067         I found, just the easy ones that look safe.
1068         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
1069         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
1070         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
1071         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
1072         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
1073         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1074         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
1075         Likewise.
1076         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
1077         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
1079 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1081         * bin/autoreconf.in ($help): Reword according to the manual.
1082         Suggested by Olly Betts.
1084 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
1085         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1087         * bin/autoreconf.in: Pass the directory argument to
1088         `require_configure_ac'.  Fix comment.
1089         * tests/torture.at (Configuring subdirectories): Expose this.
1090         Reported by Olly Betts.
1092 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1094         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
1095         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
1096         Automake as follows:
1098         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
1099         `$configure_in' instead of `configure.in', to preserve
1100         directory component.
1102 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1104         * config/config.guess, config/config.sub, config/texinfo.tex,
1105         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
1107 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
1109         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
1110         test for C99 conformance; (bool) 0.5 is an integer constant
1111         expression, but (bool) -0.5 is not.  Problem reported by Fedor
1112         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
1114 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
1116         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
1117         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
1118         Warn about obsolete install-sh files.  Remove stray sentence
1119         fragment and fix cross reference.
1120         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
1121         install -d; this undoes the 2006-05-10 change.
1122         (MKDIR_P): Mark with AN_MAKEVAR.
1123         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
1124         that we don't require $INSTALL to be thread-safe.  Move comments
1125         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
1126         of AC_PROG_INSTALL.  Output a message saying that we're checking
1127         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
1128         MKDIR_P instead of AC_SUBST.
1129         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
1130         Special magic for MKDIR_P, too.
1131         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
1132         a dnl.
1133         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
1135 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
1137         Sync from Automake, as follows:
1139         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1140         * config/install-sh: Initialize IFS, so field splitting isn't
1141         turned off later.
1142         * config/mkinstalldirs: Likewise.
1143         * config/missing: Remove superfluous quotes.  Replace all uses of
1144         `[' by `test', for consistency, and for..
1145         * config/missing (sed_minuso, sed_output): New variables.
1146         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
1147         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
1148         Fixes `missing' to detect `--output' for help2man.  Fixes
1149         PR automake/483.  Report by Dennis J. Linse.
1150         (autom4te): Document in `missing --help'.
1152 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
1154         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
1155         * config/install-sh: Don't use 'path' to talk about file names,
1156         as per GNU coding standards.  Close a race condition reported by Ralf
1157         Wildenhues and Stepan Kasal.  There is still a race condition
1158         on hosts that predate Posix 1003.1-1992, but we can't help this.
1159         Don't mishandle weird characters like space on pre-Posix hosts.
1160         Invoke mkdir at most once per dir arg on pre-Posix hosts.
1161         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
1162         AC_PROG_MKDIR_P from AS_MKDIR_P.
1163         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
1164         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
1165         earlier editions are not (including Automake 1.8.3).
1166         Do not suggest mkinstalldirs for thread-safety.
1167         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
1168         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
1169         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
1170         presence of special characters and race conditions.
1171         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
1172         in Autoconf's name space.
1174 2006-05-10  Bruno Haible  <bruno@clisp.org>
1175         and Paul Eggert  <eggert@cs.ucla.edu>
1177         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
1178         from Automake with minor changes.
1179         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
1181 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
1183         * config/install-sh: Update to Automake CVS version, as follows:
1184         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
1185         * lib/install-sh: Simplify the expr implementation of dirname.
1186         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
1187         * lib/install-sh: Handle --, and diagnose unknown options.
1189 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1191         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
1192         `./autom4te' to create `./testsuite', since the `all' target
1193         will ensure its presence, but `installcheck' should not create
1194         the uninstalled wrappers.
1196         * tests/torture.at (Unusual Automake input files): Skip if we
1197         detect automake < 1.8.
1199 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1201         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
1202         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
1203         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
1204         * NEWS: Update.
1206 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1208         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
1209         munge (multiple) white space and other oddities.
1210         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
1211         single quotes in variable assignment.
1212         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
1213         and similar failures by adding multiple spaces, tabs, and other
1214         special characters.
1215         Report and different test suggested by Francesco Romani
1216         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
1218         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
1219         single quotes, we only need to search for single quotes; this
1220         both simplifies the search pattern, and makes us less
1221         susceptible to `echo' variations for arguments not containing
1222         single quotes.
1223         (_AC_ARG_VAR_VALIDATE): Likewise.
1225 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1227         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
1228         `$*' and IFS concatenation issue with traditional shells and
1229         bash-2.04.  Report by Seanster@Seanster.com.
1231 2006-05-03  Bruno Haible  <bruno@clisp.org>
1233         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
1234         precisely which Mac OS X versions have the od problem.
1236 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
1238         * doc/autoconf.texi: Use @option systematically.
1240 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
1241         and Bruno Haible  <bruno@clisp.org>
1243         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
1244         about 'od'.
1245         (Integer Overflow): Mention the special case of integer division
1246         overflow.
1248 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1250         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
1251         traditional shells like the Solaris one that do not use the
1252         first IFS character for assembling `$*'.
1253         Prompted by a related report from autoconf_bug@nro.ca.
1255 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
1256         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1258         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
1259         Mention more problems with the -e option.
1261 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1263         * NEWS: Typo.
1264         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
1266         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
1267         in URLs to improve DVI formatted output (requires texinfo 4.6).
1268         (System Services, Systemology, Shellology): Likewise.
1269         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
1270         output.
1272         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
1273         continuous text.
1274         (Runtime): Fix macro argument names to match description:
1275         `action-if-found' -> `action-if-true' and similarly.
1276         (Obsolete Macros): Likewise.
1277         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
1278         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
1279         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
1281 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1283         * doc/autoconf.texi (Limitations of Make): Clean up markup.
1285         * ChangeLog: Typo.
1286         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
1287         DVI output.
1289 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1291         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
1292         /bin/sh set unsorted output.
1293         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
1294         * tests/local.at: Likewise.
1296 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
1298         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
1299         (Integer Overflow, Null Pointers, Buffer Overruns):
1300         (Floating Point Portability, Exiting Portably): New sections.
1301         (Writing Test Programs): Fix some langauge.  Recommend exiting
1302         with status 1, not merely nonzero.  Clarify exit declaration.
1303         (Run Time): Move C exit status stuff to new Exiting Portably section.
1304         (Systemology): Mention Posix and levenez.  Update v7 reference.
1305         (Portable Shell): Mention the Posix shell.
1307 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
1309         * bin/autoconf.as (me): Replace by as_me.
1311 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
1313         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
1314         since as_me isn't set yet.
1316 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
1318         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
1319         a few minor bugs in this area.
1321         * doc/autoconf.texi (Programming in M4sh): Comment out the
1322         documentation of AS_BASENAME, for now.
1323         (Shell Substitutions): Do not use AS_DIRNAME in an example.
1324         (Limitations of Builtins) <basename>: Do not refer to
1325         AS_BASENAME.
1326         * bin/autoconf.as (me): Don't use AS_BASENAME.
1327         (dir): Remove the unused variable.
1328         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
1329         AS_DETECT_REQUIRED.  All uses changed.
1330         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
1331         All uses changed.
1332         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
1333         (AS_BASENAME): Use "basename --" to protect against leading "-".
1334         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
1335         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
1336         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
1337         (_AS_DIRNAME_PREPARE): Likewise.
1338         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
1339         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
1340         (AS_DIRNAME): Use "dirname --".
1342 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
1344         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
1345         of "run time" and "run-time" changed to "runtime", for consistency.
1346         * lib/autoconf/fortran.m4: Likewise (in comment).
1347         * lib/autoconf/functions.m4: Likewise.
1348         * lib/autoconf/general.m4: Likewise.
1349         * lib/autoconf/headers.m4: Likewise.
1351         * doc/autoconf.texi (Run Time): Document the exit status situation
1352         with more accuracy and detail.
1354 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1356         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
1357         Archive is not officially `GNU' any more.  Update URL.
1358         (Defining Directories): Likewise
1359         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
1361 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1363         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
1364         newline from the `trap' code to finish `config.log'; the NetBSD
1365         /bin/sh resets the exit status after an empty command, as
1366         documented in doc/autoconf.texi.
1367         Reported by Dalibor Topic <robilad@kaffe.org>.
1369 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
1371         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
1372         Suggested by Bruno Haible.
1374 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
1376         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
1377         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
1378         Instead, just list the shells that we know work.
1379         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
1380         changed.  Be more cautious about the _cv_ variable.
1381         * tests/tools.at (Syntax of the shell scripts): Check the
1382         _cv_ variable once, at first, to avoid an internal autoconf error
1383         when sh -n does not work.
1385 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1387         * lib/Autom4te/FileUtils.pm: Sync from Automake.
1389 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
1391         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
1392         use ">&-" since we're only 99.999% sure that this is portable,
1393         and since the MinGW bug is fixed in a different way.
1394         * lib/autotest/general.m4 (AT_INIT): Likewise.
1396 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
1398         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
1399         before opening config.log, to avoid hitting a bug on MinGW.
1401 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
1403         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
1404         AS_MESSAGE_LOG_FD before reopening it onto the log file.
1405         This works around a MinGW bug reported by Eric Paire.
1406         Make sure that all writes to the log file append to it,
1407         rather than possibly losing data.
1408         * lib/autotest/general.m4 (AT_INIT): Likewise.
1410 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
1412         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
1413         description.
1415 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1417         * NEWS: Update.
1419         * configure.ac (AC_INIT): Bump to 2.59d.
1421 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1423         Version 2.59c.
1425         * Makefile.maint (news-date-check): Do not require a leading `*'
1426         before the release date in NEWS.
1428 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
1429         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1431         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
1432         the instantiated file do not contain the string 'datarootdir'
1433         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
1434         @mandir@, replace the reference '${datarootdir}' by the value.
1435         * tests/torture.at (datarootdir workaround): New test.
1436         * NEWS: Advertise this temporary fixup.
1437         Based on a patch by Bruno Haible, reported and analyzed by
1438         Paul Eggert and Noah Misch.
1440 2006-04-12  Eric Blake  <ebb9@byu.net>
1442         * tests/autotest.at (Debugging a failed test): Fix comment.
1444 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
1446         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
1447         all the changes since 2006-04-07.
1449 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1451         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
1452         succeeded, but `ln -s file dir' failed, take care to remove the
1453         leftover target before the next test, to prevent its spurious
1454         failure; also make sure `ln file dir' works before selecting it.
1455         Thanks to Keith Marshall for pointing this out.
1456         * THANKS: Update.
1458         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
1459         assignments in `at_debug_args', so that we put them correctly
1460         in the `run' script.
1461         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
1462         Reported by Eric Blake.
1464 2006-04-11  Eric Blake  <ebb9@byu.net>
1466         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
1467         top-level tests after micro-suite has been run.   Used in...
1468         (Debugging a successful test, Debugging script and environment),
1469         (Debugging a failed test): ...these new tests.  The first of these
1470         is fixed by...
1471         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
1472         macro, split out from...
1473         (AT_INIT): ...here, so that using -d also generates a run script.
1474         Document that -d inhibits top-level logging.
1475         * doc/autoconf.texi (testsuite Invocation): Document that -d only
1476         inhibits top-level logging; debug scripts are created.
1478         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
1479         check.
1480         * tests/autotest.at (Empty test, Empty check): New test to check it.
1482         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
1483         from gcc.
1485 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
1487         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
1488         the files if a problem appears.  Make the empty *.at files
1489         read-only, too.  Proposed by Ralf Wildenhues.
1491 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1493         * config/Makefile.am: Add comment to force updated Makefile.in.
1495         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
1496         space only patch to this file, this patch causes the Makefile.in
1497         files that include freeze.mk to be updated, and thus have a
1498         newer time stamp again, which in turn makes a pristine CVS
1499         checkout have correct time stamps.
1501         * Makefile.maint (cvs-sv): New macro, to be used..
1502         (config.guess-url_prefix, config.sub-url_prefix)
1503         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
1504         point to CVS text checkout of Gnulib files.
1505         (copyright-check): Bump current year.
1506         (announcement): Do not hard-wire `./announce-gen'.
1507         (cvs-update): Propagate failures of `cvs' and `move-if-change'
1508         correctly.
1509         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
1510         `chmod +x'.
1511         (wget_files): Update config.guess, config.sub, texinfo.tex by
1512         `wget-update', now that their URLs work again.
1514 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
1516         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
1517         Problem noted by Paul D. Smith.
1519 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1521         * doc/autoconf.texi: Remove unused words from word list.
1522         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
1523         .x-sc_trailing_space: New files.
1525         * doc/standards.texi: Sync from gnulib.
1527         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
1528         `LIBOBJDIR' as experimental.
1530         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
1531         with a target directory; it's internally implemented as `cp'
1532         anyway, but since Autoconf advertises the possibility to use
1533         a target directory when LN_S is `ln -s', we need to find out.
1534         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
1535         analyzed by Keith Marshall <keith.marshall@total.com>.
1537         * THANKS: Update.
1539 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
1541         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
1542         confdefs.h as-is.  In general, if it has backslash-newline or the
1543         like, then it doesn't work either to sort or to remove empty
1544         lines.
1546 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
1548         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
1550 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
1552         * lib/autom4te.in (Automake-preselections): Preselect
1553         _AM_SUBST_NOTMAKE.
1555 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
1557         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
1558         apostrophe within a single-quoted string, as this is the usual
1559         tradition and is easier to read than '"'"'.  Don't rely on the
1560         shell treating "$/" like '$/'.  Use a more-consistent indenting
1561         style for the trap.
1563 2006-04-09  Eric Blake  <ebb9@byu.net>
1565         * tests/autotest.at (Backquote command substitution),
1566         (Multiline backquote command substitution): Remove mistaken
1567         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
1568         applied...
1569         (Parenthetical command substitution, Multiline parenthetical
1570         command substitution): here.
1572 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
1574         Import macros from gnulib (often changing their name).
1576         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
1577         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
1578         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
1579         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
1580         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
1581         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1582         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
1583         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
1584         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
1585         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
1586         The manual mentions Gnulib more prominently.
1587         * doc/autoconf.texi (Gnulib): New node.
1588         (Pointers): Add Gnulib URL.
1589         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
1590         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
1591         Gnulib section.
1592         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
1593         suggest a #define rather than a typedef for _Bool, and mention
1594         Gnulib rather than trying to substitute stdbool code.
1595         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
1596         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
1597         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
1598         AC_STRUCT_DIRENT_D_TYPE.
1599         (Particular Types): Mention stdint.h and inttypes.h as standard
1600         headers too.
1601         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1602         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
1603         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
1604         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
1605         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
1606         (C Compiler): Move AC_C_LONG_DOUBLE to ...
1607         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
1608         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
1609         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
1610         (Coding Style).  Don't mention m4_expand_once.
1611         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
1612         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
1613         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
1614         (AC_CHECK_FUNCS): Use it.
1615         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
1616         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
1617         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
1618         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
1619         (AC_HEADER_ASSERT): New macro.
1620         (AC_HEADER_STDBOOL): Don't assume "#error" works.
1621         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
1622         Catch a bug in an HP-UX C compiler.
1623         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
1624         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
1625         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
1626         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
1627         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
1628         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
1629         New macros.
1631         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
1632         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
1634 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
1636         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
1637         of the warning introduced by the 2001-08-28 change.
1639 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
1640             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1642         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
1643         variables shall be overriden by the cache.
1644         * tests/torture.at (AC_ARG_VAR): Test also with a first value
1645         that contains braces.
1647 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
1649         Revert the patch from 2006-04-01 and only improve
1650         _AS_DETECT_BETTER_SHELL:
1652         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
1653         skip nonexistent directories.
1654         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
1655         only shell candidates which exist.
1656         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
1657         * lib/autotest/general.m4 (AT_INIT): No need to give three
1658         parameters to _AS_PATH_WALK.
1660 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
1661             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1663         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
1664         distinguish m4sugar macros.
1665         * tests/tools.at (autoupdating with aclocal and m4_include):
1666         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
1667         test case by Noah Misch <noah@cs.caltech.edu>.
1669 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
1671         Revert my change from 2006-03-17, in other words:
1672         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
1673           and DUALCASE=1.
1674         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
1675         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
1676           it is set.
1678 2006-04-07  Eric Blake  <ebb9@byu.net>
1680         * doc/autoconf.texi (Programming in M4sh): Document that
1681         AS_MKDIR_P exits the script on failure.
1682         * lib/autotest/general.m4: Remove redundant AS_ERROR.
1684 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1686         * config/elisp-comp, config/install-sh, config/mdate-sh,
1687         config/missing, config/mkinstalldirs: Sync from Automake.
1689         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
1690         from Automake.
1692         * doc/make-stds.texi: Sync from gnulib.
1694 2006-04-06  Eric Blake  <ebb9@byu.net>
1696         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1697         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
1698         2006-04-01.
1700 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
1701             Eric Blake  <ebb9@byu.net>,
1702             Paul Eggert  <eggert@cs.ucla.edu>,
1703             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1705         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
1706         whether `set' quotes correctly: redirect stderr of the tested
1707         `set', and use a subshell, for Ultrix; use `sed' instead of
1708         `grep' for zsh `set' which may write binary output; match only
1709         at the beginning of a line, to avoid false positives.
1710         In order to avoid false positives by unrelated variables with
1711         multiline content, put the dump algorithm in a subshell and
1712         unset all variables containing newlines (except some which are
1713         special to the shell).  Warn about cache variables that are
1714         unset.
1716 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1718         * config/config.guess, config/config.sub, config/texinfo.tex:
1719         Sync from upstream.
1721         * tests/mktests.sh: Reword comments.
1723         * tests/mktests.sh: Only skip internal macros starting with
1724         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
1725         Update exclusion lists for the test suite to this end:
1726         (AC_ARG_VAR): Do test this now.
1727         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
1728         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
1729         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
1730         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
1732         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
1733         shell issue with double-quoted command substitutions of native
1734         commands.
1735         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
1736         Marshall.
1738         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
1739         no file matches the glob, discard the warning, set `nullglob'.
1740         (syntax-check): Likewise.
1741         (sc_cast_of_x_alloc_return_value): Likewise.
1742         (sc_cast_of_alloca_return_value, sc_error_exit_success)
1743         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
1744         (m4-check): Likewise.
1745         (sc_system_h_headers): Do not print rule on execution.
1746         (sc_tight_scope): Do not fail for non-existing `src' directory.
1747         (sc_changelog): Skip the Copyright footer.
1748         * lib/autoconf/lang.m4: Remove trailing space.
1750         * lib/autoconf/status.m4: More replacements to
1751         <tab><space> where this makes sense.
1753 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
1755         * tests/Makefile.am (maintainer-check-posix):
1756           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
1758         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
1759           ac_config_<foo>s again, sometimes normalized, sometimes not.
1760         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
1761         (AC_CONFIG_COMMANDS): Do not do so here.
1762         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
1763           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
1764           2005-07-25 rewrite.  Noticed by Noah Misch.
1766         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
1767           _AC_PRESERVE_HELP_ORDER, ...
1768         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
1770         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
1771           inside m4_expand_once; it is redundant.
1773         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
1774           for --help from Cygnus `configure.'
1776 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
1778         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
1779         on a patch proposed by Ralf Wildenhues.
1781 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
1783         * lib/autoconf/status.m4: Replace <space>''<tab> with
1784         <tab><space> where this makes sense.
1786 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
1787             Noah Misch  <noah@cs.caltech.edu>
1789         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
1790         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
1791         * doc/autoconf.texi (Help Formatting): New node.
1792         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
1794 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1796         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
1797         lib/autoconf/specific.m4, lib/autoconf/status.m4,
1798         lib/autoconf/types.m4, lib/autotest/general.m4,
1799         tests/mktests.sh, tests/torture.at: White space cleanup:
1800         remove some SPACE before TAB, or add quoting ('' or @&t@).
1802         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
1804         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
1806 2006-04-05  Eric Blake  <ebb9@byu.net>
1808         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
1809         empty test suite works.
1810         * tests/autotest.at (Empty test suite): Remove xfail.
1812 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
1814         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
1815         TAGS to ac_config_<foo>s.
1816         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
1817         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
1818         normalizing it, consistent it with previous releases.
1819         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
1821 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
1823         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
1824         Use simplified args that Eric Blake originally suggested.
1826 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
1828         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
1829         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
1830         Use 'comm' rather than N instances of grep; this also fixes a bug
1831         whereby substrings were incorrectly matched, causing us to not
1832         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
1833         (exclude_list): Exclude empty macros.
1834         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
1836         Use awk rather than grep -E or egrep, to avoid
1837         portability problems with regular expressions containing newlines.
1838         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
1839         Switch from grep to awk syntax.
1840         (ac_exclude_script): Renamed from ac_exclude_egrep.
1841         (au_exclude_script): Renamed from au_exclude_egrep.
1843 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
1845         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
1846         a subdirectory subject to Cygnus `configure'.
1847         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
1849         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
1850         report request when we have no AC_PACKAGE_BUGREPORT.
1852 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1854         * THANKS: Update.
1856         * tests/mktests.sh: Update copyright year in the header of the
1857         generated files.
1859         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
1860         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
1861         typedef'ed restricted pointer, to catch a compiler bug on
1862         HP-UX 11.x, and fix warnings so it passes with -Werror.
1863         (_AC_PROG_CC_C99): Likewise.
1864         Reported by Albert Chin <china@thewrittenword.com>.
1865         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
1867 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
1869         * bin/autoscan.in (subdirs): New global.
1870         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
1871         (output): Emit AC_CONFIG_SUBDIRS as needed.
1872         * tests/autoscan.at (autoscan): Remove XFAIL.
1874 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
1876         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
1878 2006-04-03  Eric Blake  <ebb9@byu.net>
1880         * THANKS: Add myself.
1882 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1884         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
1885         to log, point to testsuite output tree.
1887 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
1889         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
1890         * doc/autoconf.texi (Function Portability): Mention that C++
1891         has trouble with 'exit'.
1892         (Guidelines): Test programs shouldn't use 'exit'.
1893         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
1894         Remove; all uses removed.
1895         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
1896         Return from 'main' instead of calling 'exit'.
1897         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
1898         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
1899         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
1900         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1901         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
1902         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1903         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1904         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
1905         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1906         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1907         * tests/compile.at: Likewise.
1909 2006-04-02  Pavel Roskin  <proski@gnu.org>
1911         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
1913 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1915         Clean up _AC_COMPILER_EXEEXT* macros.
1917         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
1918           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
1919           ac_file to the name of the default output file and call
1920           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
1921           initial `rm' of the candidate files...
1922         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
1923           the same list in subsequent `rm' calls, and for the temporary
1924           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
1925           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
1926         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
1927         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
1928           no longer needed) by libtool.  Make it a cache check.
1929         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
1930           copied here by mistake.
1931         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
1932           _AC_COMPILER_EXEEXT.
1933         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
1934           _AC_COMPILER_OBJEXT directly.
1935         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1937 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1939         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
1940         (AS_DIRNAME): Use it.
1941         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
1943         * tests/*.at: Remove the generated ones.
1945 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1947         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
1949 2006-04-01  Eric Blake  <ebb9@byu.net>
1951         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
1952         directories, unless optional third argument supplied.
1953         (AS_UNAME): Don't optimize PATH walk.
1955         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
1957 2006-04-01  Eric Blake  <ebb9@byu.net>
1958         and Stepan Kasal  <kasal@ucw.cz>
1960         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
1961         and fix some typos.
1963 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
1965         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
1966         Autoconf version number despite a zero- or one-argument AC_INIT.
1968         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
1969         subordinate tools.
1970         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
1971         * doc/autoconf.texi (autoreconf Invocation): Document it.
1973         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
1974         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
1976 2006-04-01  Eric Blake  <ebb9@byu.net>
1978         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
1979         * lib/autotest/general.m4: Be tolerant of existing directory when
1980           rm failed to remove it.
1982 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1984         * bin/autoupdate.in: Redefine m4_location so that warnings print
1985         the correct lines of the input file by subtracting..
1986         (_au__first_line): ..this new definition.
1988         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
1989         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
1990         Remove stray newline in output.
1991         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
1992         AC_DEFUN this for autoconf, including the obsoletion diagnose.
1993         Fixes autoupdating of code where the replacement output contains
1994         m4sugar macros.
1995         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1996         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
1997          (au_exclude_list): Add AC_LANG_SAVE.
1998         * tests/tools.at: Several new tests for all of this.
1999         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
2000         hairy details.
2001         The AC_LANG_SAVE issue was reported against Libtool by
2002         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
2003         Kristian Kvilekval <kris@cs.ucsb.edu>.
2005 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2007         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
2008           switch all of them on and of when necessary.  Fixes the bug when
2009           m4sugar macros (e.g., m4_define) were expanded after the first
2010           automatic update (e.g., after AC_PREREQ or AC_INIT).
2012 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
2014         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
2015         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
2017         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
2018         correctly.  Problem reported by Eric Blake.
2019         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
2020         Ralf Wildenhues.
2022 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
2024         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
2025         Tighten up the basename/dirname wording.
2027 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2029         * Makefile.maint (sc_texi_notab): New check: do not use TABs
2030         in texinfo files outside of verbatim environments.
2031         (syntax-check-rules): Update.
2032         * doc/autoconf.texi (Configuration Headers): Conform to it.
2034 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
2036         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
2037           aclocal cannot be given on the command line.
2039 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
2041         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
2042         Give an example for AS_DIRNAME instead of referring to Posix..
2043         (File System Conventions): Put discussion of // versus / here, and
2044         modernize it a bit.
2045         (Limitations of Usual Tools): Add basename.  Remove verbiage
2046         after dirname, since it got moved to the above sections.
2047         All this was inspired by a patch proposed earlier by Eric Blake.
2049 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2051         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
2052         `$0' to protect against spaces.
2053         * lib/autotest/general.m4 (AT_INIT): Likewise.
2054         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
2055         `$0', $as_me.
2057 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2059         * bin/autoscan.in: The value of find_configure_ac should be
2060         checked for existence, so we don't barf over a nonexisting
2061         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
2063 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2065         * bin/autoupdate.in: Fix some typos.
2067 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
2069         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
2071         * lib/autoscan/autoscan.list: Refreshed.
2073 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2075         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
2076         and Erlang related variables.
2078         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
2079         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
2080         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
2081         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
2082         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
2083         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
2084         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
2085         (_AC_PROG_OBJC_G): New macros.
2086         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
2087         * doc/autoconf.texi (Objective C Compiler): New node.
2088         (Preset Output Variables): Document OBJCFLAGS.
2089         (Language Choice): Document `Objective C' language.
2090         (Fortran Compiler): Fix typo.
2091         * NEWS: Updated.
2092         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
2094 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
2096         * doc/autoconf.texi (Default Includes): Fix typo
2097           s/AC_HEADERS_STDC/AC_HEADER_STDC/
2098         (Limitations of Usual Tools): s/unwriteable/unwritable/
2099         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
2100           Fix typos in the comments.
2102 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
2104         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
2105           Factor out the warning to...
2106         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
2107         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
2108         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2110         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
2111           case `ac_delim' when writing the sed script.
2113         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
2114           moved DUALCASE=1 ...
2115         (AS_SHELL_SANITIZE): ... here.
2116         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
2117           that it is set.
2119         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
2120           AC_SUBST.
2121         (_AC_PATH_PROG): Store the result to VARIABLE.
2122         (AC_PATH_PROG): No need to set VARIABLE again.
2124         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
2125           the first one is usual AT_CHECK_MACRO test, the second one checks
2126           that the same works when cross-compiling.
2127         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
2128         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
2130 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2132         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
2133         the directory `/usr/bin/posix' in the shell search, to prefer
2134         the Posix shell not only in subsequent spawns as with `$BIN_SH'
2135         on Tru64.
2137         * doc/autoconf.texi (contents): To fix texi2html output, hide
2138         `@setcontentsaftertitlepage' for HTML.
2139         (Writing Autoconf Macros): Likewise, insert space after `@c'.
2140         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
2141         `@,{c}'.
2143 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
2145         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
2146           sanitizing...
2147         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
2148         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
2149           why IFS is restored so late; thank you, Ralf, for reminding us.
2151 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
2153         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
2154           variables in the examples.
2156 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
2158         * doc/autoconf.texi (several sections): Cleaned up documentation for
2159         macros in erlang.m4.
2161 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2163         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
2164         failure condition for `$(cmd)' style command substitutions.
2165         (Parenthetical command substition, Multiline parenthetical
2166         command substition): Use it.
2168         * doc/autoconf.texi (Special Shell Variables): Missing word.
2169         Reported by Keith Marshall <keith.marshall@total.com>.
2171         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
2172         IFS even in case of empty `$PATH'.
2174 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2176         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
2177         `expr' away if there is nothing to do.
2178         < --keywords >: Simplify and robustify argument handling.
2179         Revert erroneous comment from 2005-08-23.  Extend to allow
2180         keyword negation with `!'.
2181         Update help message.  Remove broken code to prevent running
2182         tests multiple times.
2183         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
2184         Update and fix the documentation accordingly.
2185         * tests/autotest.at (Keywords): Renamed to..
2186         (Keywords and ranges): .. this.  Extended to make sure negated
2187         keywords, keywords taken from AT_SETUP arguments, and numeric
2188         test ranges work, and that matching is case-insensitive.
2190 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2192         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
2193         allow to pass unnamed structs even in C++.
2194         (AC_CHECK_SIZEOF):  Likewise.
2195         Also fix quoting error in `AC_MSG_FAILURE' arguments.
2196         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
2197         struct): New tests for unnamed structs, each both native and
2198         cross-compiling.
2200         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
2201         a structure inside a cast, for C++ conformance.
2202         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
2203         Also fix quoting error in `AC_MSG_FAILURE' arguments.
2205         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
2206         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
2207         trying to execute the command `no'.
2209         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
2210         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
2211         expanded outside.
2213         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
2214         example.  Do not emphasize `$%', it is hardly new and special.
2215         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
2217         * doc/autoconf.texi (Limitations of Usual Tools): Document
2218         OpenBSD and traditional `grep' failure to handle multiple
2219         patterns separated by newlines.
2221 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
2223         * doc/autoconf.texi (several sections): Add documentation for macros
2224         in erlang.m4.
2226 2006-03-10  Eric Blake  <ebb9@byu.net>
2228         * doc/autoconf.texi (Obsolete Macros): Fix wording of
2229         AC_TRY_LINK_FUNC.
2231 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
2233         * doc/autoconf.texi: Use @acronym more consistently for acronyms
2234         like BSD, GPL, LGPL.  Fix minor English typos.
2235         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
2236         Mention that these macros are becoming obsolete.
2237         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
2238         Use more modern terminology for which standard is what.
2239         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
2240         and to ansi2knr.
2241         (AC_PROG_CXX): Likewise.
2242         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
2243         Remove obsolete discussion about how to port to K&R.
2244         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
2245         the obsolescent AC_HEADER_STDC.
2246         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
2247         can't rely on it.
2249 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2251         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2252         Remove stdin redirection from /dev/null to allow pipe to work.
2254 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
2256         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2257         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
2258         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
2259         Ralf Wildenhues.
2261 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2263         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
2264         HP-UX sed is 99 commands, not 100.
2265         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
2266         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
2267         newline for portability.
2268         * tests/torture.at (Torturing config.status): Also test 100
2269         AC_SUBST_FILE invocations.  Fix test to actually verify the
2270         AC_CONFIG_FILES output.
2271         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
2272         command, label, and read-file `r' limits.  Unify HP-UX spelling.
2274         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
2275         non-suffix rule.
2276         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
2277         non-GNU make.
2278         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
2279         * tests/mktests.sh: Small shell portability fixes.
2281 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2283         * doc/autoconf.texi (Caching Results): Fix the examples to use a
2284         recommended quoting style and discard unwanted output.
2286 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
2288         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
2289         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
2290         cases, and to work around Tru64 expr bug.
2292 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2294         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
2295         expr bug that turns the result of a regex match into a number if
2296         possible.
2298 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2300         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
2301         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
2302         in section `Specific Compiler Characteristics'.
2304 2006-03-04  Eric Blake  <ebb9@byu.net>
2306         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
2307         variable warning.
2309 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2311         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
2312         order of variable initialization, so even the Solaris 2.6 shell
2313         can create a config header correctly.  Fixes lots of test suite
2314         failures.
2316 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2318         * doc/autoconf.texi (Text processing Macros): New node to
2319         document the m4sugar macros m4_re_escape, m4_tolower,
2320         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
2322 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
2324         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
2325         XrmInitialize (0) -> XrmInitialize ().
2326         Reported by Toshio Kuratomi.
2328 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2330         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
2331         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
2332         * doc/autoconf.texi (Programming in M4sh): Adjusted.
2333         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
2334         both macros are defun'ed so that required macros are evaluated
2335         outside.
2337         * doc/autoconf.texi (Prerequisite Macros): State more precisely
2338         where a required macro will be expanded.
2339         (Coding Style): Another reason not to use `m4_define'.
2341 2006-02-21  Eric Blake  <ebb9@byu.net>
2343         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
2345 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2347         * doc/autoconf.texi (Looping constructs): New node, to
2348         document m4_for, m4_foreach, m4_foreach_w, and mention
2349         obsolete AC_FOREACH.
2350         (Obsolete Macros): Document AC_FOREACH.
2351         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
2352         (m4_for): Fix to never loop (almost) endlessly, work correctly
2353         with arithmetic expressions in arguments, a step of zero or
2354         non-integer multiple of the interval, and avoid integer
2355         overflow.
2356         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
2357         m4_foreach_w.
2359 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
2361         Add basic support for Erlang, both for configuring Erlang/OTP
2362         tools, and Erlang as a conf test language.
2363         * lib/autoconf/erlang.m4: New file.
2364         * lib/autoconf/autoconf.m4: Add erlang.m4.
2365         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
2366         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
2367         * NEWS: Add short description of new macros.
2368         * THANKS: Add Romain Lenglet.
2370 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2372         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
2373         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
2375 2006-02-15  Eric Blake  <ebb9@byu.net>
2377         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
2378         warning.
2380 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2382         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
2383         (_AS_CASE): Private helper macro.
2384         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
2385         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
2386         Fix syntax of AS_IF description
2387         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
2388         for the AC_REQUIRE mess.
2389         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
2390         AS_SHELL_SANITIZE.
2392 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
2394         * doc/autoconf.texi: Minor style cleanup.
2395         Be consistent about spaces after commas.
2396         Insert [] where empty args look a bit funny.
2397         Fix some "i.e." and "e.g." usages.
2398         Try to avoid "X/Y" usages.
2399         Don't be pedantic about "ISO C99"; just say C99.
2400         Prefer GNU style for spaces in front of parens.
2401         (Function Portability): Comment about C89 versus C99
2402         signed integer division.
2403         (Particular Headers): Use current gnulib style for dirent
2404         includes.
2406 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
2407         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2409         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
2410         macros without parameters.
2411         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
2412         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
2413         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
2414         `$#' bug.
2415         (autoupdate): Updated to match AU_ALIAS fix.
2417 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2418         and Paul Eggert  <eggert@cs.ucla.edu>
2420         * doc/autoconf.texi (Programming in M4sh): Document
2421         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
2423 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2425         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
2426         (AS_BOURNE_COMPATIBLE): ..this.
2427         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
2429 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
2431         * doc/install.texi (Defining Variables): Tighten up the
2432         CONFIG_SHELL wording.
2434 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
2435         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2437         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
2438         of (set -o) rather than testing whether (set -o posix) succeeds,
2439         to work around a bug in the AIX 5.3 shell.  Problem originally
2440         reportd by Howard Chu for libtool.
2442 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
2444         * doc/autoconf.texi (Running the Compiler, Running the Linker):
2445         Changes the macro arguments in summaries to match the
2446         descriptions.
2448 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
2450         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
2451         hint as ``a workaround for a bug.''
2453 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2455         * bin/autoreconf.in: New option `--no-recursive'.
2456         Improve wording for subpackages a bit.
2457         * doc/autoconf.texi (autoreconf Invocation): Updated.
2458         * NEWS: Updated.
2460         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
2461         in environment of `configure', not the command line.
2462         Reported by Howard Chu <hyc@highlandsun.com>.
2464 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
2466         * doc/autoconf.texi (Limitations of Builtins): Document the
2467         problem with "trap -".
2469 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
2471         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
2472         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
2473         messages to differentiate Fortran and Fortran 77 tests.
2474         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
2475         AC_LANG_ASSERT, to allow use in mixed-language projects.
2477 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
2479         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
2480         FOO" to "defined (FOO)".
2481         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
2482         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
2483         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
2484         * tests/tools.at (ifnames): Likewise.
2486 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2488         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
2489         * lib/Autom4te/General.pm (mktmpdir): Likewise.
2490         (END): Improve error message a bit.
2491         Reported by Bruce Korb <bkorb@gnu.org>.
2493 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2495         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2496         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
2498 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
2500         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
2501         requires sys/stream.h.  Reported by Oliver Kiddle.
2503 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2504             Stepan Kasal  <kasal@ucw.cz>
2506         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
2507         before the removals of test dirs, use `find' to avoid modification
2508         of symlinked directories.
2510 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
2512         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
2513         Don't ignore the macro arguments.
2515 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
2517         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
2518         declaration that works for MSVC.
2520 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2522         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
2523         Add `*.map' and `.inf' for Green Hills compiler.
2524         Reported by Stefan Seefeld <stefan@codesourcery.com>.
2526         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
2527         correctly: pad with spaces after FIRST_PREFIX if necessary,
2528         and compute string lenghts with `m4_qlen' instead of `m4_len'.
2529         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
2530         * tests/m4sh.at (AS_HELP_STRING): Test extended.
2531         * NEWS: Updated.
2532         Reported by numerous people, numerous times.
2534 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
2536         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
2537         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
2538         * lib/autoconf/general.m4, lib/autoconf/status.m4:
2539         * lib/autotest/general.m4, tests/local.at:
2540         Update copyright year to 2006.
2542         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
2543         sed substitutions.
2544         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
2545         for file names, again.  Reported by Noah Misch.
2546         (Coding Style): Explain that s|a|b| is preferred for file names.
2547         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
2548         (AC_OUTPUT_MAKE_DEFS): Likewise.
2549         * lib/autotest/general.m4 (AT_INIT): Likewise.
2550         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
2551         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
2553         Fix Posix-conformance bugs re use of { command in sed scripts,
2554         and improve the sed-related documentation a bit.
2555         * doc/autoconf.texi (Installation Directory Variables): Use
2556         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
2557         rather than "sed" when talking about Sed in general.
2558         (Particular Programs): Likewise.
2559         (Coding Style): y is like s with respect to / and ,.
2560         (Limitations of Usual Tools): Document the weird restrictions
2561         that Posix has about { }.  Use better quoting.
2562         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
2563         Rewrite to conform to Posix rules about { } in sed scripts.
2564         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
2565         * tests/foreign.at (Libtool): Likewise.
2566         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
2567         Use our own style advice re 's,a,b,' versus 's|a|b|'.
2569 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2571         * lib/autoconf/status.m4: Fix typo.
2573         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2574         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
2575         `-def', for the benefit of Portland `pgf90 -Mipa'.
2576         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
2578 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
2580         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
2581         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
2582         shell from zsh to bash.
2584 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
2586         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
2587           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
2589 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
2591         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
2592         parentheses in $(...).  Problem reported by Eric Blake.
2594 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
2596         * doc/autoconf.texi (Limitations of Usual Tools):
2597         Mention which characters can be escaped with \ in portable regular
2598         expressions used in grep, sed, expr.  Mention the leading ^ problem
2599         with expr.  Clean up some confusing wording.  Mention which
2600         grep options are portable.
2602 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
2604         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
2606 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
2608         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
2609         patch, noted by Ralf Wildenhues.
2611 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2613         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
2614         posix' unconditionally, for pdksh in `native sh' emulation.
2616 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
2618         * doc/autoconf.texi (Shellology): Document eval $? problem
2619         with ash.
2620         (Limitations of Builtins): Likewise.
2622 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2624         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
2625         CONFIG_SHELL in the environment of the configure rerun.
2626         * doc/autoconf.texi (Here-Documents, config.status Invocation):
2627         Suggest passing CONFIG_SHELL absolute, and in the environment
2628         rather than as option.
2630 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2632         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
2633         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
2634         Fix macro quoting.  Fix output for n * 98 substituted variables.
2636 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2638         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
2639         `tmp' to avoid file removal race.
2641 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2643         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2644         ac_clean_files and LIBOBJS.
2646 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2648         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
2649         Factor functionality to..
2650         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
2651         `AC_SUBST($1)' in the public version.
2652         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
2653         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
2654         ac_pt_* variables.
2656 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
2658         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
2659         filesystems.
2661 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2663         * NEWS: Move AH_HEADER mention to right place.
2665 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
2667         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
2668         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2670 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
2672         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
2673         conftst2.$ac_objext.
2674         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2676 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
2678         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
2679         conftest.o, to see whether the compiler really obeys; rm the object
2680         file before and after the test and register it with ac_clean_files.
2681         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2683 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
2685         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
2686         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
2687         code so that the most common case requires less forks.
2689 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
2691         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
2692         not portable; thanks to Paul Eggert and Alexandre.
2694         * NEWS: Fix an old typo.
2696 2005-10-20  Jim Meyering  <jim@meyering.net>
2698         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
2699         the latter'', in two places.
2701 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
2703         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
2704         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
2705         the inner workings of AC_LANG_FUNC_LINK_TRY.
2706         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
2707         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
2708         by the function rather than ignoring it.
2709         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
2710         comparing its address.  Intel's interprocedural optimization was
2711         outsmarting the old heuristic.  Problem reported by
2712         Mikulas Patocka.
2714 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
2716         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
2718 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
2720         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
2721         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
2723 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
2725         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
2726         before removing it (chmod -R u+rwx); there are three instances of this.
2728 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2729             Stepan Kasal  <kasal@ucw.cz>
2731         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
2732         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
2733         make its content writable before removing it.  Remove an errorneous
2734         comment from the end, where the logs of the failed tests are copied
2735         to the main log file.
2737 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
2739         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
2740           in case the computer is too quick.  Double quote the configure.ac
2741           snippets.
2743         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
2744           problems if the testsuite were running too fast.
2746 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
2748         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2749         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2750         (which belong to Xt, not X itself).  See Debian bug 327655.
2751         * NEWS: Mention this.
2753 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
2755         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
2757 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
2759         * config/move-if-change: Don't output "$2 is unchanged";
2760         suggested by Ben Elliston.  Handle weird characters correctly.
2762 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
2764         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
2765           calls, so that the final expansion of this macro is shorter.
2766           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
2767           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
2768           the cleanup there.  Use AS_VAR_* macros, to be more general.
2769         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
2771         * lib/autoconf/general.m4: Use AS_IF where appropriate.
2773         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
2775 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
2777         * doc/autoconf.texi (Configuration Headers): Add an index entry
2778           for AH_HEADER.
2780 2005-08-26  Pavel Roskin  <proski@gnu.org>
2782         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
2783         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
2784         running xmkmf.
2786 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
2788         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2789         The previous patch didn't work, so try a better one.
2791 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
2793         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
2794         in the example.  Reported by Bruno Haible.
2795         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
2796         "if $undefined_var;" succeeds with my shell.
2798         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
2799         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
2800         but change the m4_divert_text to m4_divert_once.
2802 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
2804         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2805         Work around bug in Solaris /usr/xpg4/bin/awk.
2806         The bug is present in at least Solaris 8 through 10.
2808 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
2810         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
2811         some evil values and relying on the fact that $* concatenates the
2812         parameters by the first character from IFS.
2814 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
2815             Stepan Kasal  <kasal@ucw.cz>
2817         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
2818         first header appears, define AH_HEADER.
2819         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
2820         Update limitations about when to call AC_CONFIG_HEADERS.
2821         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
2822         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
2823         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
2824         ``Configuration Actions''; fix their index entries.
2826         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
2827         options correctly.  Process N-M as M-N if M is smaller than N.
2828         Process ranges correctly so that N-N will run only N.
2829         Sort and uniquify the tests that will be run.  If there is more
2830         than one test, reinsert the banners for the tests.
2831         * tests/autotest.at (Keywords): Unmark XFAIL.
2833 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
2835         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
2836           before passing the macro name to AH_TEMPLATE.
2838         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
2839           now opens log after option processing; in particular, --version
2840           and --help do not touch config.log.
2842         * Makefile.maint: Revert the change from 2005-08-12.
2844 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
2846         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
2847           common code to...
2848         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
2850 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2852         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
2853         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
2854         Language cleanup.
2856         * doc/autoconf.texi (Defining Symbols, Changed Results):
2857         Prepend to LIBS, not append, in examples.
2859 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
2861         When building in place, set srcdir="."; suggested by Tim Van Holder.
2863         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
2864           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
2865         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
2866         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
2867           does not mean "no --srcdir option".
2869 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2871         * tests/autoscan.at (autoscan): New file.
2872         * tests/suite.at: Use it.
2873         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
2874         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
2876         * tests/autotest.at (Keywords): Test keywords combinations.
2878 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
2880         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
2881           add "2>&1"; gzip 1.2.4 prints help on stderr.
2883 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
2885         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
2886         was pushdef'ed twice while popped only once.  Push it only once.
2887         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
2889 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
2891         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
2892         prefixed by mere "===", not "configure: === ".
2894 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
2896         * Makefile.maint: Update from Bison.
2898         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
2899         "<tab>" in comment, so that the point is understandable.
2901 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
2903         Rewrite substantial part of lib/autoconf/status.m4.
2904         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
2905         and CONFIG_COMMANDS are not processed in four separate loops.
2906         Instead, there is one main loop.  This alows that the common code
2907         is expanded only once, thus config.status (and configure) is smaller.
2909         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
2910         the AC_LIST_FILES and cousins macros are no longer used.
2912         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
2913         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
2914         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
2915         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
2916         contain the initialization, nor the for loop, nor the associated
2917         commands; all these go to ...
2918         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
2919         _AC_OUTPUT_CONFIG_STATUS.
2920         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
2921         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
2922         (_AC_OUTPUT_FILE): The creation of the sed script ...
2923         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
2924         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
2925         _AC_OUTPUT_MAIN_LOOP.
2926         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
2927         _AC_CONFIG_COMMANDS): Use ...
2928         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
2929         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
2930         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
2931         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
2932         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
2933         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
2934         ... new macros.
2935         (_AC_CONFIG_UNIQUE): Update.
2936         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
2937         Replaced by this ...
2938         (_AC_LIST_TAGS): ... new common macro.
2939         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
2940         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
2941         (_AC_LIST_TAG_COMMANDS): ... new common macro.
2942         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
2943         this didn't belong to the `config commands' section.
2944         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
2945         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
2946         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
2947         to the `config commands' section either.
2948         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
2949         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
2951         ... and many changes to the comments nearby.
2953         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
2954         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
2955         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
2956         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
2957         (#define header templates): The comment at the top of the generated
2958         header now includes the name(s) of the source file(s).
2960         Several unrelated small changes:
2962         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
2963         parameter to AC_DIAGNOSE.
2964         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
2965         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
2966         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
2967         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
2968         with AU::AC_OUTPUT.
2969         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
2970         in AC_OUTPUT doesn't double-quote it either.
2971         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
2972         parameters.
2974 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
2976         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
2977         versions of Portland Group compiler produce single- and double-quoted
2978         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
2979         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
2981 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
2983         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
2984         This is a corrected version of yesterday's patch.
2986 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
2988         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
2989         path, too; insert a "===" to emphasize the line.
2991         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
2992           ac_cv_build_alias to ac_build_alias.
2993         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
2995         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
2996         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
2997         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
2998         (AC_ARG_VAR): ... here.
2999         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
3000           target_alias.
3002         Keep a list of all precious variables and process them with one simple
3003         for loop, instead of expanding all commands, or, OTOH, complicated
3004         processing of output of "set".
3005         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
3006         variable names in new macro...
3007         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
3008         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
3009           a loop to assign all ac_env_* and ac_cv_env_* variables.
3010         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
3011           to INIT_PREPARE.
3012         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
3013           its value to shell variable ac_precious_vars and call
3014           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
3015         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
3016           _AC_ARG_VAR_VALIDATE.
3018         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
3019           and the AC_SUBSTs ...
3020         (AC_INIT): ... here.
3022         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
3023           the ac_subst_files section in config.log.
3025         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
3027 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
3029         * NEWS: New macro AC_C_TYPEOF.
3030         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
3031         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
3032         * tests/c.at (C keywords): Test AC_C_TYPEOF.
3034         Fix problems reported by Nicolas Joly.
3035         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
3036         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
3037         They are generated by the Tru64 v5.1B shell.
3039 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
3041         Fix my changes from 2005-07-01; reported by Noah Misch.
3042         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
3043         description, the macro now accepts only a single tag.
3044         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
3046         Fix cases when the varsions of Autoconf and Autotest don't match.
3047         Reported by Noah Misch.
3048         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
3049         at_top_builddir, for compatibility with older autotest.
3050         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
3051         is not set, use at_top_builddir, for compatibility with older
3052         versions of autoconf.
3054 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
3056         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
3057         Problem reported by Patrick Welche.
3059 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
3061         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
3062         sed substitution command, so that we allow | in program prefixes
3063         and program suffixes.  (& is a problem anyway; we're not fixing
3064         that here.)
3065         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
3066         configure_input, top_builddir, srcdir, etc.
3067         * lib/autotest/general.m4 (AT_INIT): Likewise, for
3068         PATH_SEPARATOR in AUTOTEST_PATH.
3070 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
3072         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
3073         for loop over config.site files using `set', to allow
3074         directory names containing IFS characters.
3076 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
3078         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
3079         directories with weird names.  Apparently some people like living
3080         on the edge.  However, improve the test that "pwd" actually does
3081         report a name for the working directory.
3082         * NEWS: Remove the claim that we test for funny chars in dir names.
3084 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
3086         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
3087         replaced ...
3088         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
3089         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
3090         Now accept a single tag, not whitespace separated list.
3091         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
3093 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
3095         * doc/autoconf.texi (Configuration Headers): Change the explanation
3096         about #include <config.h>.
3097         (Generic Functions): Mention the Gnulib project.
3098         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
3100         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
3101         document to output the default config_* lists to config.status.
3102         Don't recognize option --file, if the functionality is not there.
3103         Likewise for --header; moreover, recognize --he and --h as shortcuts
3104         for --help in that case.
3106         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
3107         matches the order of execution.  No code changed.
3109 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3111         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
3112         single-quoted -cmdline argument in Portland Group compiler.
3113         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
3115 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
3117         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
3119 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
3121         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
3122         descriptors to child processes; reported by Norman Gray.
3124 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
3126         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
3128         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
3129         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
3130         (AC_SUBST): Call it.
3131         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
3132         the directory specific variables; but don't call it for configure_input.
3134 2005-06-28  Derek Price  <derek@ximbiot.com>
3136         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
3137         addition.
3139 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
3141         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
3142         directory have inherent problems with special characters like spaces,
3143         due to limitations in Make syntax.  Problem reported by Alexandre
3144         Duret-Lutz.
3145         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
3146         Also, fix Tru64 porting problem with shell patterns,
3147         reported by Ralf Wildenhues.
3149 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3151         * doc/autoconf.texi (Subdirectories): Fix markup typos.
3153 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
3155         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
3157         Fix some more shell quoting problems.  Prompted by a bug report
3158         from Justace Clutter.
3159         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
3160         variable into diagnostic.  Make the diagnostic an error, not a warning,
3161         because we really don't support spaces and suchlike in dir names.
3162         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
3163         Don't worry about backslashes in srcdir; it can't happen now.
3164         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
3165         Simplify ac_optarg handling.
3166         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
3168 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
3170         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
3171         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
3172         * tests/atlocal.in: Propagate $EGREP and $SED.
3173         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
3174         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
3176         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
3177         that '\|' is not allowed in BREs; recommend using newline separated
3178         list of patterns instead of multiple -e options.
3180         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
3182         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
3184 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3186         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
3188 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
3190         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
3191         b, t, r, w commands require single space, while : cannot have any.
3192         (Special Shell Variables): Fix sed code this in the example.
3193         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
3194         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
3196         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
3197         expand to the empty list.  Don't use two pairs of m4_changequote,
3198         it's not necessary.
3200 2005-06-20  Derek Price  <derek@ximbiot.com>
3202         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
3204 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
3206         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
3207         * doc/autoconf.texi:
3208         Don't mention Solaris versions so much, if a
3209         problem is common to all extant versions of Solaris.  Say "SunOS
3210         4" instead of "SunOS" for SunOS 4.
3211         (awk): Mention more of the limitations of traditional Awk.
3212         (cat): Don't talk about cat -v.
3214 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
3216         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
3217         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
3218         but the implementation is entirely different and is designed
3219         to be compatible with glibc strverscmp.
3220         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
3222         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
3223         on Mac OS X 10.4 reported by Peter O'Gorman in:
3224         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
3225         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
3226         Use shell builtins rather than 'expr', to work around expr bug.
3228 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
3230         * doc/autoconf.texi: "filesystem" -> "file system".
3231         "behaviour" -> "behavior".
3232         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
3233         * lib/autoconf/general.m4: Omit blank after ":" sed command,
3234         as per POSIX.
3235         * lib/m4sugar/m4sh.m4: Likewise.
3236         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
3237         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
3239         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
3240         (.x.1): Ignore the time stamp in the .TH line when deciding whether
3241         to update the man page.  That way, we don't have to check in new
3242         man pages every month.
3244         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
3245         quotes and backslashes.  Patch from Derek Price.
3247 2005-06-10  Derek Price  <derek@ximbiot.com>
3249         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
3250         AS_TR_SH.
3252 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
3254         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
3255         -u, since it outputs chatter if the input files are the same.
3256         Problem reported by Ralf Menzel.
3258 2005-06-08  Derek Price  <derek@ximbiot.com>
3260         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
3261         renaming them since they are about to be redefined anyhow.
3263 2005-06-08  Derek Price  <derek@ximbiot.com>
3265         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
3266         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
3267         Move m4_undefine to alphabetical order.
3269 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
3271         * README: Recommend GNU M4 1.4.3 or later.
3272         * doc/autoconf.texi (Introduction): Likewise.
3273         Reword to avoid some formatting glitches.
3274         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
3275         Clarify explanation of HP compiler bug.
3276         Redo example output tp match current CVS snapshot.
3277         Use @example.org in email addresses when the examples
3278         might get inadvertently cut-and-pasted into user code.
3279         Remove example of autom4te usage that doesn't seem to work now.
3280         Use modern AC_INIT (except when the example is meant to be
3281         shown with Autoconf 2.13).
3282         Update ksh info for Solaris 9 and later.
3283         KB -> kB.
3284         Modernize description of Automake versions a bit.
3285         Don't claim a future version of Autoconf is near.
3286         * doc/install.texi: Reword to avoid some formatting glitches.
3288 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3290         * doc/autoconf.texi: Add [] to examples, so that the manual
3291         follows its own advice about quoting better.
3292         Reword to avoid some formatting glitches.
3293         * doc/installt.exi: Reword to avoid some formatting glitches.
3295         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
3296         Tru64 ksh pattern matching bug.  Reported against Libtool by
3297         Albert Chin <libtool@mlists.thewrittenword.com> and
3298         Nicolas Joly <njoly@pasteur.fr>.
3300 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
3302         m4_cdr of one-member list was [[]] (one-member list containing an
3303         empty string) instead of [] (an empty list.  Callers were skewed to
3304         match this misbehaviour.  As a consequence of this:
3305          - m4_foreach([x], [], [foo]) expanded to `foo', while
3306          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
3307         This bug has been fixed:
3309         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
3310           expand to an empty string; print error msg if called without
3311           an argument list.
3312         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
3313           misbehaviour; handle [] and [[]] correctly.
3315 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
3317         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
3318         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
3319           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
3321 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
3323         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
3324           swallow records with more than 99 fields.
3325         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
3326           parse the long line.
3328 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
3330         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
3331           swallow literals longer than 399.  Reported by Ralf Wildenhues.
3332         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
3333           to workaround this limitation.
3335 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
3337         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
3338         to gfortran, and make these the first two compiler names
3339         checked (following the general autoconf preference for gcc).
3341 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
3343         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
3344         (DISTCLEANFILES): Remove $(check_SCRIPTS).
3345         (testsuite): Make sure autotest.m4f is up-to-date before using it.
3347 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
3349         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
3350         expression of unbounded size when processing the --list
3351         option.  This runs afoul of a limit of 399 bytes per regular
3352         expression on AIX.  Problem reported by Ralf Wildenhues.
3354 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
3356         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
3357         * doc/autoconf.texi (Particular Headers): Reword example
3358         for multiline stdbool replacement.
3359         (Setting Output Variables): Reword text a bit.  Don't
3360         give all the details about |#_!!_#|.
3361         Reword description of line replacement.
3363 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
3365         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
3366         now contain newlines, and substituted files must be referenced on
3367         a line alone; the sed scripts to substitute them are now very
3368         different.
3369         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
3370         commands can be put in a sed script portably.
3371         * doc/autoconf.texi (Setting Output Variables): Document above
3372         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
3373         use of multiline substitution.
3374         * tests/torture.at: No longer expect substitution of newline to fail.
3376 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
3378         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
3379         From Ralf Menzel (trivial change).
3381 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
3383         * tests/local.at: Don't attempt to check for negated character
3384         classes in shell scripts.  The test was too brittle.
3386 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
3388         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
3389         * doc/autoconf.texi (Limitations of Builtins): Document this
3390           limitation.
3392 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
3394         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
3395           common code; used in many places in the tree.
3396         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
3397         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
3399         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
3401         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
3402           messages when ac_unique_file is not found.
3403         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
3404         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
3405           commands, for consistency with AC_MSG_ERROR and such.
3407         * bin/autoconf.as: Make more use of "shift 2" in option processing.
3409         * bin/Makefile.am: Merge the two rules for creating scripts.
3411 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
3413         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
3414         obsolete; it was never documented.
3415         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
3417 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
3419         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
3420         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
3421         (ac_top_builddir): ... this ...
3422         (ac_top_build_prefix): ... to this; the old name is also kept, for
3423           backward compatibility.
3424         (ac_top_builddir_sub): New variable, without the trailing slash,
3425           always nonempty.
3426         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
3427         * doc/autoconf.texi (Configuration Actions): Rename
3428           ac_top_builddir to ac_top_build_prefix.
3429         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
3430           at_top_builddir to at_top_build_prefix.
3431         * lib/autotest/general.m4 (AT_INIT): Likewise.
3433 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
3435         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
3436           of confdefs.h .
3438 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
3440         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
3441           argument to m4_foreach.  I guess it was necessary in the past,
3442           but I think it's a no-op now.
3444 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
3446         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
3447           ``cat <<_ACEOF'' commands to one.
3448         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
3449         * lib/autoconf/status.m4: On various places, use expr instead of
3450           ``echo|sed.''
3451         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
3452         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
3453         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
3454           a range.
3455         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
3456           the wrong patterns between ``case'' and ``esac.''  The previous
3457           code had false positives.
3459 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
3461         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
3462         as on 2005-05-02.
3463         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
3464         Mention LIBOBJDIR.
3466 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
3468         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
3469         ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
3470         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
3471         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
3472         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
3473         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
3474         config/config.guess, config/config.sub, config/elisp-comp,
3475         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
3476         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
3477         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
3478         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
3479         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
3480         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
3481         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
3482         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
3483         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
3484         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
3485         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
3486         lib/autoconf/general.m4, lib/autoconf/headers.m4,
3487         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3488         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
3489         lib/autoconf/specific.m4, lib/autoconf/status.m4,
3490         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
3491         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
3492         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
3493         lib/autotest/general.m4, lib/emacs/Makefile.am,
3494         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
3495         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
3496         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
3497         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
3498         tests/compile.at, tests/foreign.at, tests/fortran.at,
3499         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
3500         tests/semantics.at, tests/suite.at, tests/tools.at,
3501         tests/torture.at, tests/wrapper.as:
3502         Update FSF postal mail address.
3504 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
3506         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
3507           check.
3508         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
3509           enough arguments, similarly as in m4_bpatsubsts.
3511 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
3513         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
3514           of absolute paths.
3516 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
3518         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
3519           for absolute directory names in one loop.
3520         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
3521           abbreviations of --version and --debug.
3523 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3525         * doc/autoconf.texi (Autoconf Language): Be more precise about
3526         quoting rules.  Problems noted by Stepan Kasal.
3527         Also, throughout this document, be more careful about white space.
3528         "blank", "white space", and "space" all have different meanings
3529         and we should be careful to say what we mean.
3531 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
3533         Fix C++ related problems reported by Werner Lemberg.
3534         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
3535         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
3536         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
3537         avoid problems with C++ and throw.
3538         * tests/compile.at: .cpp, not .cc.
3540         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
3542 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3544         * doc/autoconf.texi (Generic Functions): Typos.
3546 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
3548         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
3549         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
3550         set by latest automake.
3552 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
3554         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
3555         outputs 0 on GNU/Linux these days.
3557 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
3559         * doc/autoconf.texi (Autoconf Language): Add more description
3560         about quoting heuristics.
3561         (Limitations of Builtins): Describe "set -" problems.
3563 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3565         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
3566         not newline.
3568         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
3569         by AC_DEFINE; it was a mistake.
3570         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
3572 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
3574         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
3576 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
3578         * doc/autoconf.texi (External Software): Quadrigraphs are not
3579           processed correctly in AS_HELP_STRING; avoid this in the examples.
3580         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
3581         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
3582           comment and reduce m4_default([foo], []) to [foo].
3583         (m4_strip): Update the explanation.
3585 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3587         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
3588         Remove core.conftest.* too; it's generated by Tru64 5.1.
3589         Problem reported by Jennis Pruett.
3590         * lib/autoconf/functions.m4
3591         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3592         Don't bother to remove core files; AC_RUN_IFELSE should do that
3593         for you.
3595 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
3597         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
3599 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
3601         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
3602         Report from Horst Wente.
3604 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
3606         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
3607           the comment.
3609 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
3611         * doc/autoconf.texi (External Software, Package Options): Add
3612           examples showing how to implement --with-* and --enable-* options.
3614 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
3616         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
3617         as well as configure.in.  Problem reported by Gregorio Guidi.
3619 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
3621         * doc/autoconf.texi (Particular Functions): Use gnulib's current
3622         pattern for alloca snippet.
3624 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
3626         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
3628 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
3630         * doc/autoconf.texi (Generic Programs): Fix a typo.
3632 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
3634         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
3635         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
3637 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3639         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
3640         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
3641         whole-archive (-zallextract, -zdefaultextract) options in the hope of
3642         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
3643         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
3645 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
3647         * NEWS: The configure command now warns you if you attempt to use
3648         a directory whose name contains a special character like space,
3649         newline, or "\".
3650         * doc/autoconf.texi (Installation Directory Variables): Allow
3651         "," in file names.  Do not use \@; it's not a portable regexp.
3652         * bin/Makefile.am (edit): Likewise.
3653         * lib/Makefile.am (edit): Likewise.
3654         * tests/Makefile.am (edit): Likewise.
3655         * tests/semantics.at: Likewise.
3656         * tests/torture.at: Likewise.
3657         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
3658         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
3659         * doc/autoconf.texi (File System Conventions): Warn about
3660         unportable file names.
3661         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
3662         (AC_INIT): Use it.
3663         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
3664         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
3665         ac_pwd, and quote srcdir.
3666         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
3668         * doc/autoconf.texi: Fix some systematic formatting problems.
3669         ".)"  needs a following @: if not at the end of a sentence, and
3670         similarly for "!)".  "etc." should be preceded by a comma.
3671         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
3673 2005-03-22  Bruno Haible  <bruno@clisp.org>
3675         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
3676         argument is often called 'build-aux'.
3678 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
3680         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
3681           macro AC_TRY_LINK is obsolete.
3682         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
3683           `AC_CONFIG_FILES'.
3685 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
3687         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
3688           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
3689           from a Common Lisp's `cl'.
3690         (AC_PROG_CXX): Behave according to the documentation: don't
3691           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
3692           make the variable CCC precious; use `cl.exe', not `cl'.
3694 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
3695             Alexandre Duret-Lutz  <adl@gnu.org>
3697         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
3698         /dev/null, as "configure" shouldn't read stdin, and this insulates
3699         us from problems (e.g., when testing for "cl").  Also, do this
3700         redirection before invoking "hostname" or "uname", and keep the
3701         original input stream available via...
3702         (AS_ORIGINAL_STDIN_FD): ... this new macro.
3703         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
3704         bother with "</dev/null" since it's now done at the top of
3705         'configure'.
3706         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
3707         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3708         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3709         * doc/autoconf.texi (File Descriptor Macros): New section.
3710         (Printing Messages): Mention it.
3711         * tests/base.at (Input/Output): New test.
3713 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
3715         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
3716         newline if neither \c nor -n work, as that would output two
3717         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
3719 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
3721         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
3722         This causes that any required macros inside will get before the if.
3723         * doc/autoconf.texi (autom4te.cache): A typo.
3725 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
3727         Undo previous change, except keep the change to
3728         lib/autoconf/programs.m4 that replaced grep with shell
3729         pattern-matching.  This is because net-snmp configure reads stdin.
3730         Reported by Noah Misch.
3732 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
3734         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
3735         from /dev/null, as "configure" shouldn't read stdin, and this
3736         insulates us from problems (e.g., when testing for "cl").
3737         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
3738         before invoking "hostname" or "uname".
3739         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3740         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
3741         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
3742         "</dev/null" since it's now done at the top of 'configure'.
3743         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3744         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3745         Also, replace grep with shell pattern-matching, to save a process.
3747 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
3749         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3750         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
3751         avoid thinking that Allegro Common Lisp's "cl" command is a C++
3752         compiler.
3754 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
3756         * doc/autoconf.texi (Limitations of Usual Tools): Document that
3757         grep -q isn't portable.  Improve grep -s explanation.
3758         Problem reported by Dan Manthey.
3760 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
3762         * doc/autoconf.texi (Special Shell Variables): Clarify
3763         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
3765 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3767         * doc/autoconf.texi: Use @acronym for DJGPP.
3768         Fix some @code's that should have been @env's, and vice versa.
3769         Sort environment variable names.
3770         Mention that shells no longer inherit IFS.
3771         Don't recommend PATH_SEPARATOR=';' so strongly.
3772         Mention that $RANDOM might expand to the empty string.
3773         "symlink" and "soft link" -> "symbolic link".
3774         Improve mktemp description (reported by Bruno Haible).
3776 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
3778         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
3779         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
3780         Likewise.
3781         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
3782         Likewise.
3784 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
3786         * NEWS: Mention AT_COPYRIGHT.
3788         * tests/local.at (AT_CMP): Use diff directly on input files rather
3789         than copying them.
3791         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
3792         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
3794 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
3795         and Paul Eggert  <eggert@cs.ucla.edu>
3797         * tests/autotest.at (Empty test suite): New test.
3798         * tests/torture.at (Substitute and define special characters)
3799         (Substitute a 2000-byte string, Define to a 2000-byte string)
3800         (Substitute a newline, Define a newline): New tests.
3802 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
3804         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
3805         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
3806         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
3807         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
3808         (Standard regular expressions): New test.
3809         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
3810         excess test name quoting.
3811         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
3812         CPPFLAGS to `configure' instead of setting it in `configure'.
3814         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
3815         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
3816         on some platforms.
3818         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
3819         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
3821         * tests/local.at (AT_CMP): New macro.
3822         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
3823         (AC_SAVE_STATE): Move environment grep...
3824         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
3825         (AT_CONFIG_CMP): New macro.
3826         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
3827         * tests/c.at (Extensions): Do not exit early.
3828         * tests/atlocal.in: Inherit $GREP.
3830         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
3831         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
3833         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
3834         (AC_COPYRIGHT): Factor header comment portion out and move into...
3835         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
3836         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
3837         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
3838         --version output.
3839         * tests/local.at: Add Autoconf test suite copyright notice.
3840         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
3842 2005-02-04  Bruno Haible  <bruno@clisp.org>
3843         and Paul Eggert  <eggert@cs.ucla.edu>
3845         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
3847 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
3849         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
3850         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
3852         Try not to generated lines of unlimited length, as POSIX places a
3853         2047-byte limit on line length of portable text files.
3854         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
3855         Use newline as a separator, not space.
3856         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
3857         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
3858         space.
3860 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3862         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
3863         as_func_*.  Add test to check whether positional parameters
3864         are restored after function return.
3866 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
3868         * doc/autoconf.texi (Special Shell Variables): Mention _,
3869         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
3870         if they contain a lower-case letter.  The DUALCASE problem was
3871         reported by Ralf Wildenhues.
3873         * bin/autoconf.as: Don't exit with status 0 after write failure
3874         with --help or --version.
3875         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
3876         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
3878 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3880         * doc/autoconf.texi (Limitations of Usual Tools):
3881         Unicos 9 sed limitations.
3882         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
3883         to get the option-enhanced interface on older Crays.  Try ftn for
3884         Fortran 95 (newer Crays).
3886 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
3888         * man/Makefile.am (.x.1): Go back to the simple solution, but take
3889         care to echo the commands, so the user knows what's going on.
3890         Modified from a suggestion by Stepan Kasal.
3892         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
3893         with a cross reference.  Derived from a suggestion by Bruce Korb.
3895 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
3897         * doc/autoconf.texi (config.status Invocation): Warn about
3898         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
3899         * doc/install.texi (Defining Variables): Likewise.
3900         Based on a proposed patch by Ralf Wildenhues.
3902         * man/Makefile.am (.x.1): Make sure the required generated files
3903         are up to date.  Problem and original solution proposed by Stepan Kasal.
3904         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
3905         implicit-man-prerequisites): New rules, used by the above.
3907         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
3908         * config/config.guess, config/config.sub, config/install-sh: Likewise.
3909         * config/missing, config/texinfo.tex: Likewise.
3911 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
3913         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
3914         Update the long comment explaining it.
3916         m4_require no longer writes an ``is required by'' line to the
3917         execution stack.  It contains only one bit of non-redundant
3918         information: that the macro was required, not called.  And even
3919         this bit is useless in most situations: have you ever met a macro
3920         which both calls and requires the same macro?
3922         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
3923         (_m4_defun_pro_outer): ... only via this macro, for the outermost
3924           macro.
3925         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
3926         (m4_expansion_stack_pop): Remove the misplaced comment.
3927         (m4_require): Don't put the ``is required by'' line to the
3928           execution stack; slightly improve the out-of-a-defun error message.
3929         (_m4_divert_grow): New macro, counter for the temporary diversions.
3930         (_m4_require_call): Use it.
3931         * tests/m4sugar.at (m4_require): Expect output without the
3932           ``is required by'' messages.
3934 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
3936         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
3937         rather than x for expr.
3939         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
3940         this is safe.
3941         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
3942         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3943         * lib/autotest/general.m4 (AT_INIT): Likewise.
3944         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
3945         * tests/mktests.sh: Likewise.
3947 2005-01-27  Akim Demaille  <akim@epita.fr>
3949         Have autoheader honor --force.
3951         * doc/make-stds.texi, doc/standards.texi: Update from masters.
3952         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
3953         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
3954         from masters, so that FileUtils.pm's update_file provide --force
3955         support.
3956         * bin/autoheader.in: Pass $force to update_file so that
3957         config.h.in is always recreated when --force.
3959 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
3961         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
3963 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
3965         * doc/autoconf.texi (Limitations of Builtins): Clarify that
3966         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
3968 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
3970         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
3971         Warn about newline stripping in `` and $().  Update Solaris
3972         version to 9.
3973         (Limitations of Builtins): Use expr "X...", not expr "x...", as
3974         X insulates us from future changes to Posix.
3975         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
3976         stripping.
3978 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
3980         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
3981           you cannot use AC_DEFINE to define macros containing `[' or `]'.
3983 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
3985         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
3986         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
3987         bug-tar mailing list.
3989 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
3991         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
3993 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
3995         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
3996         ulongval to be static, to avoid unwanted GCC warning.  Problem
3997         reported by Michael Jennings via Daniel Reed; see
3998         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
4000 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
4002         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
4003         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
4004         datadir, infodir, and mandir.  Adjust argument parsing code.
4005         (_AC_INIT_HELP): Update help text.
4006         * doc/autoconf.texi (Installation Directory Variables): Document
4007         new variables.
4009 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
4011         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
4012         not seem to work, assume it does set $(MAKE).
4013         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
4015 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
4017         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
4019 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
4021         A cleanup of the diversion support in m4sugar.
4023         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
4024         (_m4_divert_n_stack): New macro; the expansion is
4025           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
4026           otherwise.
4027         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
4028         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
4029           stored in _m4_divert_diversion or _m4_divert_dump.
4030         (m4_divert_pop): When the parameter is given, compare the symbolic
4031           name with the last diversion pushed on the stack.  Previously, the
4032           current diversion was compared with the numeric value of the
4033           diversion given as the parameter.
4034         (m4_require): If the macro hasn't been expanded yet, call ...
4035         (_m4_require_call): this new macro.
4037 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4039         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
4040         Workarounds for documented `case' limitations.
4042 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
4044         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
4045         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
4047 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
4049         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
4050         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
4051         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
4053         Patch from Roger Leigh (with some minor changes) as follows:
4054         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
4055         Resurrect AC_PROG_CC_STDC.
4056         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
4057         AC_PROG_CC_C89, AC_PROG_CC_C99.
4058         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
4059         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
4060         AC_PROG_CC_C99): New macros.
4061         (AC_PROG_CC_STDC): Use them.
4062         (_AC_PROG_CC_STDC): Remove.
4063         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
4064         * THANKS: Add Roger Leigh.
4066 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
4068         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
4069         signals that the package uses Automake; a `Makefile.am' is typical but
4070         not essential.  Reported by Magnus Therning.
4071         * tests/torture.at (autoreconf.): New banner.
4072         (autoreconf and non-AC configure): Rename to `Non-Autoconf
4073         AC_CONFIG_SUBDIRS'.
4074         (autoreconf an empty directory): Rename to `Empty directory'.
4075         (Unusual Automake input files): New test.
4077 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
4079         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
4080         (AT_SETUP): Clear AT_capture_files.
4081         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
4082         (AT_KEYWORDS): Fix comment typo.
4083         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
4084         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
4085         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
4087 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
4089         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
4090         If the variable to set is already set, set ac_cv_path_$1
4091         to the preset value so caller can assume ac_cv_path_$1
4092         is available.  (trivial change)
4094 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
4096         * BUGS (Minor Problems): Warn about makefile limitations.
4097         * Makefile.am: Find and update `INSTALL' in $(srcdir).
4098         * man/Makefile.am: Find and update manual pages in $(srcdir).
4100 2004-12-24  Eric Blake  <ebb9@byu.net>
4102         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
4103         shells in subshell, to avoid noise from ash.  (trivial change)
4105 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4107         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
4108         problems with SunOS ksh and backslash escaping, Bourne shells and
4109         closing brackets (both within character classes).  Bug reported
4110         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
4111         <read>: New entry.  Mention non-availability of -r.
4113 2004-12-21  Akim Demaille  <akim@epita.fr>
4115         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
4116         avoid cluttering displayed messages.  Rather, prepend srcdir where
4117         AT_LINE is used for log files.
4119 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
4121         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
4122         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
4123           no longer part of the macro, quote the occurrence of ``$tmp''.
4124         * doc/autoconf.texi (Forbidden Patterns): Typo.
4126 2004-12-21  Akim Demaille  <akim@epita.fr>
4128         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
4129         separated from the test title by forcing a white space.
4131 2004-12-21  Akim Demaille  <akim@epita.fr>
4133         Enable Emacs navigation within testsuite.log files.
4135         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
4136         use the compilation mode.
4137         (AT_LINE): Point to the srcdir.
4139 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
4141         * tests/Makefile.am (installcheck-local): Use $(bindir).
4142         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
4143         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
4144         Makefile.am scheme Autoconf now uses.
4146 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
4148         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
4149         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
4151 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
4153         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
4154         (_AT_CHECK): Use it.
4155         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
4156         (AS_ESCAPE): Fix comment.
4157         * tests/autotest.at: Adjust section banner comments.
4158         (AT_CHECK_AT): Accept STATUS and STDERR.
4159         (AT_CHECK_AT_TEST): Likewise.
4160         (Invalid brace-enclosed parameter expansion)
4161         (Multiline command from M4 expansion)
4162         (Double-M4-quoted command): New tests.
4164 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
4166         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
4168 2004-12-17  Akim Demaille  <akim@epita.fr>
4170         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
4171         m4_pattern_allow.
4172         Suggested by Alexandre Duret-Lutz.
4173         * doc/autoconf.texi (Setting Output Variables): Catch up.
4175 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
4177         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
4179 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
4181         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
4182           remove the comment which said we cannot.
4184 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
4186         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
4187         Reini Urban and Paul Eggert for reporting the dependencies.
4189         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
4190         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
4191         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
4193 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
4195         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
4196           so that eg. ``autoscan --help'' doesn't truncate it.
4198 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
4200         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
4201         generated conftest files.
4203 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
4205         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
4206         tracing on commands with possibly-escaped newlines.
4207         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
4208         discontinued behavior and its implications.
4209         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
4210         (BSx641-newline in command, BS-BS-newline in command)
4211         (BSx640-newline in command, Newline-CODE-BS-newline in command)
4212         (Single-quote-BS-newline in command)
4213         (Single-quote-newline-BS-newline in command): New tests.
4215 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
4217         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
4218           on platforms where it works.
4219         (_AS_TEST_PREPARE): Test for ``test -x''.
4220         (_AS_BROKEN_TEST_PREPARE): Nuke.
4222 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
4224         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
4225         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
4226           give only 4-letter prefix to AS_TMPDIR, comment fixed.
4227         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
4228           create the temporary directory.
4229         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
4231 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
4233         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
4234         (trivial change)
4236 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
4238         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
4240 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
4242         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
4243         to avoid using a negated character class.  Reported by Nicolas Joly.
4244         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
4246 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4248         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
4249         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
4250         Don't depend on .x file explicitly, since "make" does that for us.
4251         Suggested by Stepan Kasal.
4253         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
4254         Add *.tmp.
4255         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
4256         ifnames): Factor common code.  And they said it couldn't be done!
4258 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
4260         * bin/.cvsignore: Add autoconf.in.
4261         * tests/.cvsignore: Add wrapper.in.
4262         * lib/autotest/general.m4: Escape '$' in case pattern.
4264 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
4266         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
4268         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
4270         * tests/autotest.at: New file.
4271         * tests/suite.at: Include it.
4272         * tests/Makefile.am: Distribute it.
4274         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
4275           shell tracing on a command that could contain multiple lines.
4276         * doc/autoconf.text: Document that fact and its implications.
4277         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
4278         * tests/autotest.at (Multiline backquote command substitution,
4279           Multiline parameter expansion, Literal multiline command,
4280           Multiline parenthetical command substitution): Remove XFAIL.
4282 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
4284         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
4285         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
4287 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
4289         * configure.ac (test suite): Cease to generate wrapper scripts.
4290         * configure: Regenerate.
4291         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
4292         (m4f_dependencies): Adjust accordingly.
4293         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
4294         (wrapper.in): Generate it in the build directory.
4295         (MAINTAINERCLEANFILES): Delete wrapper.in.
4296         (CLEANFILES): Add wrapper.in.
4297         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
4298         the output.  Replace each $as_me with a @wrap_program@.
4299         * tests/wrapper.in: Delete it; we always build it.
4301         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
4302         (EXTRA_DIST): Remove autoconf.in.
4303         (CLEANFILES): Add autoconf.in.
4304         (autoconf): Find autoconf.in in the build directory.
4305         * bin/autoconf.in: Delete it; we always build it.
4307 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
4309         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
4310         PATH members so as to not prepend an empty element.  Move a comment.
4311         * Makefile.am (SUBDIRS): Build in `tests' last.
4312         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
4314 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
4316         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
4317         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
4318         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
4319         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
4321 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
4323         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
4324         patch: extra "-l"s.
4326 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
4328         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
4329         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
4330         * doc/autoconf.texi (Particular Functions): Mention new behavior.
4332 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
4334         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
4335           out the common code to ...
4336         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
4337           value of the #define--default to 1, iff the macro was called
4338           with exactly one parameter.
4340 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
4342         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
4343         "char c = '\200';" rather than "char c = 0x80;" as the
4344         latter doesn't conform to the strict C standard due to
4345         overflow on signed char hosts.
4347         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
4348         to -qlanglvl=ansi.  We don't want to disable extensions.
4350 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
4352         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
4353         (Using Autotest, testsuite Scripts, Writing testsuite.at):
4354         Reword slightly to avoid some English-language problems noted
4355         by Ralf Wildenhues in:
4356         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
4358 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
4360         * NEWS: Add ^L above each release.
4362 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
4364         Fix documentation problems reported by Russ Boylan in
4365         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
4366         along with some nearby cruft.
4367         * doc/autoconf.texi (Libtool): Libtool can be used without
4368         Automake (not without Autoconf).
4369         (Introduction): Mention lists.gnu.org.
4370         * BUGS: Don't mention bugs.gnu.org.
4371         Remove mention of ancient libtool compatibility problem.
4372         * NEWS: Mention that bugs.gnu.org is kaput.
4373         * README: Likewise.  Mention where mailing list archives can be found.
4375 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
4377         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
4379 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
4381         * doc/autoconf.texi (Pretty Help Strings): Go back to
4382         single-quoting assignments to cache variables.
4384 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
4386         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
4387         with the examples; fix the bug in MY_ARG_WITH example reported
4388         by Alexandre Duret-Lutz.
4389         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
4390         expansion of $1 in the comment emitted to configure.
4392 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
4394         * doc/autoconf.texi (Pretty Help Strings): Fix typo
4395         in my editing of the previous patch.  Problem reported
4396         by Alexandre Duret-Lutz.
4398 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
4400         * doc/autoconf.texi (Autoconf Language): Explain that
4401         ``descriptions'' may not be double quotes.
4402         (Quotation Rule Of Thumb): Likewise.
4403         (Pretty Help Strings): Likewise; remove the wrong comment;
4404         simplify the examples and improve their quoting.
4406 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
4408         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
4409         the $1_found variable, don't test whether the file is executable;
4410         Both things are checked ...
4411         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
4412         the former ``test -f''.
4413         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
4415 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
4417         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
4418         use cp -R instead.
4420 2004-11-10  Derek R. Price  <derek@ximbiot.com>
4422         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
4423         limitations.  Reorder paragraphs for clarity.
4425 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
4427         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
4428         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
4429         variants", "Unix", and some related minor wording fixups.
4431         (Shellology, Special Shell Variables): Document that the Zsh
4432         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
4433         to Alexandre Duret-Lutz for this info.
4435 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
4437         * doc/autoconf.texi (One-Shot Macros): New node.
4439 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
4441         * doc/autoconf.texi (Function Portability): Fix misdescription
4442         of putenv.  Problem reported by Michael Wardle.
4444 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
4446         * doc/autoconf.texi (auindex): New macro.
4447         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
4448         Problem reported by Stepan Kasal.
4450 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
4452         Fix problems reported by Andreas Buening in:
4453         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
4454         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
4455         in test makefile.
4456         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
4457         readable; it's not true in OS/2-emx.
4459 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
4461         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
4462         "/usr/include", clear ac_x_includes instead of leaving it as "no"
4463         (trivial change).  Problem and patch reported by Andrew Church in:
4464         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
4466 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
4468         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
4469         three args in examples.  Problem reported by Frederik Fouvry in:
4470         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
4471         Also, fix some minor spacing and punctuation bugs.
4473 2004-09-02  Akim Demaille  <akim@epita.fr>
4475         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
4476         "case" to restore ordering.
4477         Reported by Stepan Kasal.
4479 2004-08-26  Akim Demaille  <akim@epita.fr>
4481         * doc/autoconf.texi: Minor typos and stylos.
4483 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
4485         * configure.ac (AC_INIT): Bump to 2.59c.
4487 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
4489         Version 2.59b.
4491         * README: Add advice about m4 1.4.2.
4493         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
4494         texinfo.tex for now (done by hand now).
4495         * Makefile.maint (wget_files, cvs_files):
4496         Remove ansi2knr.c; nobody uses it.
4497         (ansi2knr.c-url_prefix): Remove.
4498         (cvs-update): Fix test for failure.  I don't know why it ever
4499         worked...
4501         * doc/autoconf.texi: Update URLs, some of which went stale.
4502         Use @uref rather than @href.
4504         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
4505         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
4507         * config/config.guess, config/config.sub, config/elisp-comp,
4508         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
4509         doc/fdl.texi, doc/standards.texi: Sync with master copy.
4511         * NEWS, TODO, configure.ac, bin/autoscan.in,
4512         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
4513         doc/install.texi, lib/Autom4te/Configure_ac.pm,
4514         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
4515         lib/autoconf/programs.m4, lib/autoconf/status.m4,
4516         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
4517         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
4518         tests/tools.at, tests/torture.at:
4519         Use "file name" rather than "filename" or "path",
4520         to be consistent with the terminology of the GNU coding standards.
4522 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
4524         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
4525         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
4526         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
4527         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
4529         More fixes to support spaces in the name of the build directory.
4530         This isn't a complete fix but it's an improvement.
4532         * bin/autoconf.as (autom4te_options): New var.
4533         Use it instead of appending to AUTOM4TE, so that we can allow
4534         spaces in the build directory's absolute name.
4535         * bin/autoheader.in ($autoconf): Allow spaces in file names.
4536         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
4537         AT_CHECK_NOESCAPE): Likewise.
4538         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
4539         main program): Likewise.
4541 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
4543         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
4544         From Ralf Corsepius in:
4545         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
4547 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
4549         * doc/autoconf.texi (Function Portability): Document isinf and
4550         and isnan.  From a suggestion by Kevin Ryde.
4552         * lib/Autom4te/General.pm (END): Return correct exit status even
4553         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
4555 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
4557         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
4558         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
4559         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
4561 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
4563         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
4564         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
4565         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
4566         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
4567         * lib/autom4te.in (Automake-preselections): Preselect
4568         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
4570 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
4572         * lib/autom4te.in (Automake-preselections): Preselect
4573         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
4574         trace them.
4576 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
4578         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
4579         Tru64.
4580         * doc/autoconf.texi (Shellology): Mention BIN_SH.
4581         Document problem with "`""`" in pdksh POSIX mode.
4583 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
4585         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
4586         with pdksh, too.  Problem reported by Patrick Welche via
4587         Gary V. Vaughan.
4588         * doc/autoconf.texi (Shellology): Note that set -o posix is
4589         useful for pkdsh, too.
4591 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
4593         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
4594         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
4595         Don't fail if ENV or BASH_ENV is readonly.
4596         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
4597         etc. are read only.  Problem reported by Ludovic Courtes.
4599 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
4601         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
4602         zsh, disable GLOB_SUBST to avoid backslash handling problems.
4603         (trivial change)
4605 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
4607         * doc/autoconf.texi (File System Conventions): Warn about
4608         names like "aux".  Problem reported by Eric Blake.
4610         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
4611         by zero instead of array size, so that we can use any arithmetic
4612         constant expression (instead of requiring an integer constant
4613         expression).  This allows us to test expressions like DBL_MAX <
4614         LDBL_MAX, which didn't conform to the C standard using the old
4615         method.
4616         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
4617         now that we can do floating-point tests at compile time.
4619 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
4621         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
4622         and LDBL_EPSILON, as the resulting expression isn't an
4623         integer constant expression and violates the C standard.
4624         Problem reported by Nelson H. F. Beebe.  Also, check
4625         for "L" suffix, and check that long double doesn't have
4626         worse range or precision than double, that mixed-mode
4627         arithmetic doesn't generate a diagnostic, that double
4628         constants fit in long double.
4630 2004-06-03  Kevin Ryde  <user42@zip.com.au>
4632         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
4633         malloc(0) and realloc(NULL,size).
4635         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
4636         Bob Proulx.
4638 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
4640         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
4641         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
4642         by Jim Meyering.
4644 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
4646         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
4647         can be rewritten using if-then-else.  Suggested by Bruno Haible.
4649 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
4651         * doc/autoconf.texi (testsuite Scripts): Fix typo.
4652         Problem reported by Stepan Kasal.
4654 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
4656         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
4657         change).  Patch reported by Ralf Wildenhues in
4658         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
4660         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
4661         function F exists if the compiler and linker let you compile an
4662         expression like (F != 0).  Recent versions of GCC optimize away
4663         the reference to F in that case, since every function address must
4664         be nonzero, so the link succeeds even if F does not exist.
4665         Problem reported by Manu in
4666         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
4668         * doc/autoconf.texi (Systemology): Standardize on the spelling of
4669         "Unix".  Many uses changed.
4670         (Limitations of Builtins): Explain better why the ! command isn't
4671         portable.
4673 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
4675         * lib/autom4te.in (Automake-preselections): Preselect
4676         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
4678 2004-05-19  Kevin Ryde  <user42@zip.com.au>
4680         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
4681         referencing AC_FUNC_STRERROR_R.
4683         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
4684         note pessimistic assumption when cross compiling.
4686 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
4688         * doc/autoconf.texi (Limitations of Make): Note that BSD make
4689         (until 2004) invoked subcommands with sh -e, contra POSIX.
4690         Reported by Kevin Ryde.
4692 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
4694         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
4695         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
4696         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
4697         `test -f "        /usr/bin/grep"', which _always_ failed.
4698         (AC_PROG_SED): Ditto bogus PATH fix.
4699         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
4700         requires that grep correctly supports _multiple_ `-e' options, rather
4701         than stating only that grep should accept `-e'.
4703 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
4705         Port to C99, which requires that 'exit' be declared.
4707         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
4708         to ensure that stdlib.h is included.
4709         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
4710         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
4711         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4712         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4713         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4714         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
4715         when using 'exit' in a test; C99 requires that 'exit' be declared.
4717 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
4719         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
4720         now prefers 'grep' implementations that accept -e.
4721         (Limitations of Usual Tools): Describe problems of traditional
4722         egrep and fgrep with long input lines, and of traditional grep
4723         with -e.
4724         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
4725         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
4726         All callers changed.  Append /usr/xpg4/bin to the PATH, for
4727         Solaris.
4728         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
4729         the user with complaints about multiple -e options.
4730         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
4731         Define it with AC_PROG_GREP.
4732         * configure.ac (AC_PROG_GREP): Add.
4733         * lib/freeze.mk (GREP): New macro.
4735 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
4737         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
4738         a possible candidate only after all others fail, rather than
4739         consulting it first.  This improves backward compatibility by
4740         better reflecting the way shell selection occurred in previous
4741         versions of Autoconf, and should help to avoid triggering latent
4742         problems in other packages, such as the one in Automake where zsh
4743         is not handled robustly:
4744         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
4745         Although it is not Autoconf's responsibility to work around
4746         problems in Automake, it nevertheless makes sense to avoid
4747         introducing unnecessary incompatibilites.
4749 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
4750             Gary V. Vaughan  <gary@gnu.org>
4752         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
4753         how deeply nested we are when a suitable tool is found, set the
4754         ac_path_TOOL_found flag.
4755         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
4756         nested we are in this macro.  Break out of all 3 nested loops if
4757         ac_path_TOOL_found is set.
4759 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
4761         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
4762         of the _AS_PATH_WALK loop too if GNU flavor is found.
4764 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
4766         * doc/autoconf.texi (Limitations of Make): Update documentation
4767         for `$<'.  New entry `Long lines', based on a report from Simon
4768         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
4769         paragraph about DJGPP, based on a mail from Richard Dawe.
4771 2004-04-20  Paul Eggert  <eggert@twinsun.com>
4773         * tests/c.at (C keywords): Don't assume that GCC supports
4774         "restrict" and "inline", as sufficiently-old GCC versions do not
4775         (also, GCC configured to be in pedantic C89 mode does not).
4776         Problem reported by Sumit Pandya in:
4777         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
4779         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
4780         consider -g to work if it generates warnings when plain compiles
4781         don't.  Problem reported by Braden McDaniel in:
4782         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
4784         * doc/autoconf.texi (Slashes): New section, to document a problem
4785         reported by Jim Meyering in:
4786         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
4788         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
4789         linker output files before linking, to work around IRIX 6 linker bug.
4790         Problem reported by Rainer Orth in:
4791         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
4793 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
4795         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
4796         best tool so far counter rely on the tool path variable name to
4797         avoid checks for one tool being affected by the results of running
4798         the length check on a previous tool.
4800         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
4801         match expression argument, as different greps have different
4802         regular expression flavours.
4803         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
4804         literals.
4805         (AC_PROG_EGREP): Pass 'EGREP$'.
4806         (AC_PROG_GREP): Pass 'GREP$'.
4808 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
4810         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
4811         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
4813 2004-03-29  Paul Eggert  <eggert@twinsun.com>
4815         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
4816         Types, Specific Compiler Characteristics, System Services,
4817         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
4818         etc. consistently instead of 'long', 'short', 'unsigned' etc.
4819         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
4820         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
4821         Likewise.
4822         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
4823         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
4824         AC_TYPE_OFF_T): Likewise.
4825         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
4826         Likewise.
4828         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
4829         pacify libtool 1.5.2.  Fix quoting problems in sed command.
4831 2004-03-28  Paul Eggert  <eggert@twinsun.com>
4833         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
4834         now defines HAVE_DECL_TZNAME if it is declared, when
4835         HAVE_STRUCT_TM_TM_ZONE is not defined.
4836         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
4837         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
4838         for HAVE_TZNAME.
4840 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
4842         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
4843         superfluous backslashing of quotes (") in sed expressions;
4844         thanks to Paul Eggert.
4846 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
4848         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
4849         Fortran compiler is ifort, also added pghpf; thanks to Nelson
4850         H. F. Beebe for the bug report.
4852 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
4854         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
4855         quoted -cmdline argument in Portland Group compiler (bug
4856         reported by Jeffrey J. Barteet).
4858 2004-03-25  Kevin Ryde  <user42@zip.com.au>
4860         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
4861         (Run Time): ... here, where it's now mentioned.
4863 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
4865         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
4866         inherits from language Autoconf-without-aclocal-m4.
4867         (Customizing autom4te): Adjust example; the cache must now be
4868         disabled for language Autoconf-without-aclocal-m4.
4870 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
4871             Nathanael Nerode  <neroden@twcny.rr.com>
4873         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
4874         AC_CHECK_TOOLS): Warn if a cross-tool is found without
4875         a prefix.
4876         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
4877         AC_CHECK_TARGET_TOOLS): New macros.
4878         * doc/autoconf.texi (Generic Programs): Document
4879         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
4880         AC_CHECK_TARGET_TOOLS, and warn for future changes
4881         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
4882         AC_CHECK_TOOLS.
4883         (Specifying Names): Document the reason for these future
4884         behavioral changes.
4885         * tests/mktests.sh: Do not generate tests for the
4886         new macros.
4887         * NEWS: Document these changes.
4889         * doc/autoconf.texi: Avoid macros with unbraced arguments,
4890         they make TeX hang up.
4892 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
4894         * NEWS: New macro AC_CHECK_ALIGNOF.
4895         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
4896         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
4897         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
4898         vowel.
4899         (AC_CHECK_ALIGNOF): New macro.
4900         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
4901         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
4902         those for sizeof.
4904 2004-03-03  Paul Eggert  <eggert@twinsun.com>
4906         * bin/Makefile.am (edit): Don't use $< in a context where
4907         POSIX doesn't require support for it.  Use $@.in instead.
4908         Problem reported by Anthony N. Frasso in
4909         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
4910         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
4912 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
4914         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
4915         from the next generation of Libtool.
4916         * lib/autom4te.in (Autoreconf-preselections): Ditto.
4918 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
4920         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
4921         is not always thread-safe.  Report from Nathanael Nerode.
4923 2004-02-18  Paul Eggert  <eggert@twinsun.com>
4925         Fix a dependencies problem, stemming from a Autoconf 2.59 build
4926         problem on QNX reported by Stephen Rasku in
4927         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
4929         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
4930         $(m4sh_m4f_dependencies); this removes a FIXME.
4931         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
4932         (MAINTAINERCLEANFILES): Split into pieces,
4933         one per related section.  Add $(srcdir)/wrapper.in.
4935 2004-02-09  Paul Eggert  <eggert@twinsun.com>
4937         * doc/autoconf.texi (Setting Output Variables): Emphasize that
4938         AC_SUBST provides no portable way to escape literal newlines.
4940         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
4941         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
4942         Darwin uses -lcrt2.o and there's little point to cataloging all
4943         the system variants.  Partial fix reported by Andreas Waechter in:
4944         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
4945         for bug reported by Nelson H. F. Beebe in:
4946         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
4948 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
4950         * doc/autoconf.texi (AU_DEFUN): Fix English,
4951         suggested by Paul Eggert.
4952         * lib/autoconf/autoupdate.m4: Correct reference to
4953         acobsolete.m4, suggested by Alexandre Duret-Lutz.
4955 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
4957         * bin/autoupdate.in: Define __file__ so that warnings
4958         refer to the correct file.
4959         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
4960         the behavior of the third argument.
4961         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
4962         correctly the behavior of the third argument.  Document
4963         what the three macros that AU_DEFUN defines do.  Fix
4964         warning message when the third argument includes $0
4965         (reported by Alexandre Duret-Lutz).
4967 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
4968             Eric Sunshine  <sunshine@sunshineco.com>
4969             Paul Eggert  <eggert@twinsun.com>
4971         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
4972         (AS_INIT): Output shell initialization there. Removed optional
4973         parameter. Expand _AS_SHELL_FN_SPY.
4974         (AS_INIT_WITH_SHELL_FN): Removed.
4975         (_AS_SHELL_FN_SPY): New macro.
4976         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
4977         macros.
4978         (AS_SHELL_SANITIZE): Remove loop to find better shell
4979         and documentation for the parameter.
4980         (_AS_DETECT_BETTER_SHELL): Move it here.
4981         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
4982         (_AS_RUN): Move it here, support testing with eval.
4983         (AS_REQUIRE_SHELL_FN): Require shell functions when
4984         it is used.
4985         (_AS_LINENO_WORKS): Put around braces, we do not
4986         trigger the bash bug anymore.
4987         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
4988         use AS_INIT_WITH_SHELL_FN.
4989         * bin/autoconf.in, tests/wrapper.in: Regenerated.
4991 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
4993         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
4994         * doc/autoconf.texi: Don't say that the third parameter
4995         is broken.
4996         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
4997         (AU_DEFUN): Honor the third parameter, create autoupdate
4998         macros with AU_DEFINE.
4999         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
5000         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
5001         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
5002         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
5003         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
5004         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
5005         AC_XENIX_DIR): Likewise.
5006         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
5007         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
5008         * lib/autoconf/status.m4: Remove FIXME.
5009         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
5010         that the macro is not present anymore in the updated
5011         configure.ac.
5012         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
5013         of autoupdate.
5015 2004-01-28  Paul Eggert  <eggert@twinsun.com>
5017         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
5018         copyright years.
5019         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
5020         2003 (except 1997) to the list of copyright years.  This undoes
5021         the 2003-05-22 change, which removed the older years from the list.
5022         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
5024 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
5025             Albert Chin-A-Young  <china@thewrittenword.com>
5027         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
5028         grep or ggrep program in PATH that accepts as long lines as
5029         possible.
5030         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
5031         AC_PROG_GREP.
5032         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
5033         egrep and fgrep respectively if $GREP -E/-F don't work.
5034         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
5035         _AC_PROG_GREP, and AC_PROG_SED.
5036         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
5037         longest input length accepted by a command.
5038         (AC_PROG_SED): Use it.
5039         * doc/autoconf.texi (Particular Programs): Document the changes.
5040         * NEWS: Updated.
5042 2004-01-27  Paul Eggert  <eggert@twinsun.com>
5044         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
5045         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5046         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
5047         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
5049         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
5050         bin/autoconf.in, config/Makefile.in, config/config.guess,
5051         config/config.sub, config/install-sh, config/mdate-sh,
5052         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
5053         lib/Makefile.in, lib/Autom4te/Makefile.in,
5054         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
5055         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
5056         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
5057         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
5058         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
5059         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
5060         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
5061         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
5062         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
5063         tests/actypes.at: Regenerate and/or sync with original
5064         sources.
5066 2004-01-26  Paul Eggert  <eggert@twinsun.com>
5068         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
5069         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
5070         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
5071         not <inttypes.h>.  Problem reported by Tim Mooney in
5072         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
5073         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
5074         Likewise.
5076         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
5077         otherwise "make check" fails because it forbids cmp (I guess
5078         because cmp treats files as binary on DOS-like systems).
5080         * tests/mktests.sh: Update copyright date to 2004, since some tests
5081         have changed in 2004.
5083 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
5085         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
5086         non-truncating sed or gsed program in PATH.
5087         * tests/acprograms.at: Add it.
5088         * doc/autoconf.texi (Particular Programs): Document it.
5089         * NEWS: Updated.
5091 2004-01-15  Paul Eggert  <eggert@twinsun.com>
5093         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
5094         -std1 disables some useful extensions on Tru64.  Problem reported
5095         by N. Lichtmaier in
5096         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
5098 2004-01-14  Paul Eggert  <eggert@twinsun.com>
5100         * doc/autoconf.texi (Programming in M4sh): Document that
5101         AS_MKDIR_P succeeds if the destination is a symbolic link
5102         to an existing directory.
5103         (Limitations of Usual Tools): Note that mkdir -p might not
5104         succeed on symlinks to directories.
5106 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
5108         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
5109         * bin/autoheader.in: Grammar fix in message.
5110         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
5111         Test for dir before calling mkdir -p.  (trivial changes)
5113 2004-01-13  Eric Blake  <ebb9@byu.net>
5115         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
5116         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
5118 2004-01-10  Jim Meyering  <jim@meyering.net>
5120         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
5122 2004-01-09  Paul Eggert  <eggert@twinsun.com>
5124         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
5125         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
5126         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
5127         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
5128         AC_COMPILE_IFELSE, since we now assume our caller invokes
5129         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
5130         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
5131         of AC_RUN_IFELSE; this avoids the warning mentioned above.
5132         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
5134 2004-01-07  Paul Eggert  <eggert@twinsun.com>
5136         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
5137         `"'...'"`, as it's confusing (and I suspect it may not work on
5138         some platforms).  The code was incorrect anyway, as it assumed
5139         that \$ evaluated to itself in that context.  Reported by
5140         Alexandre Duret-Lutz.
5142 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
5144         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
5145         and _LT_AC_TAGCONFIG.
5147 2004-01-06  Paul Eggert  <eggert@twinsun.com>
5149         * doc/autoconf.texi (One Macro Call): Fix an incorrect
5150         example, and add more examples.  Reported by Eric Sunshine.
5152 2004-01-05  Paul Eggert  <eggert@twinsun.com>
5154         * doc/autoconf.texi (Limitations of Usual Tools):
5155         Remove warning against "rm -fr" introduced yesterday; it
5156         was a false alarm.
5158         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
5159         autoscan, autoupdate, ifnames): Don't use chmod -w.
5160         * lib/Makefile.am (autom4te.cfg): Likewise.
5161         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
5162         "chmod -w".
5164 2004-01-04  Paul Eggert  <eggert@twinsun.com>
5165             Paolo Bonzini  <bonzini@gnu.org>
5167         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
5168         by doing lineno substitution only on lines containing "$LINENO".
5170 2004-01-04  Paul Eggert  <eggert@twinsun.com>
5172         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
5173         Use "rm -f" to remove conftest.sed, not plain "rm".
5174         Bug reported by David Relson in
5175         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
5177         * Makefile.am (autom4te-update):
5178         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
5179         * Makefile.maint (my-distcheck, do-po-update): Likewise.
5180         * doc/autoconf.texi (Guidelines): Likewise.
5181         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
5182         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
5183         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
5184         * lib/autotest/general.m4 (AT_INIT): Likewise.
5185         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
5186         * tests/Makefile.am (clean-local): Likewise.
5187         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
5188         srcdir): Likewise.
5189         * doc/autoconf.texi (Limitations of Usual Tools):
5190         Warn against "rm -fr".
5192 2004-01-03  Paul Eggert  <eggert@twinsun.com>
5194         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
5195         -c -o might not work.  From a suggestion by Kevin Ryde.
5196         (C Compiler, Generating Sources, Limitations
5197         of Usual Tools, Limitations of Make, Making testsuite Scripts):
5198         Don't put '-o' after non-options, as POSIX doesn't allow this.
5199         Mention that cc's name might be gcc or c89 or whatever.
5201 2004-01-04  Kevin Ryde  <user42@zip.com.au>
5203         * doc/autoconf.texi: Add various further index entries.
5205 2003-12-29  Paul Eggert  <eggert@twinsun.com>
5207         * bin/autoreconf.in (autoreconf_current_directory):
5208         Fix typo: mkdir without umask arg.
5210 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
5212         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
5213         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
5214         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
5215         explanation clearer.
5217 2003-12-24  Andreas Schwab  <schwab@suse.de>
5219         * doc/autoconf.texi (Default Includes): Fix misspelling of
5220         AC_INCLUDES_DEFAULT.
5222 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
5224         * configure.ac: Test if sh -n works.
5225         * configure: Regenerate.
5226         * tests/atlocal.in: Store the result here.
5227         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
5228         tools.at, looking in atlocal's ac_cv_sh_n_works instead
5229         of explicitly testing.
5230         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
5231         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
5232         * tests/tools.at (Syntax of the shell scripts): Simplify
5233         using AT_CHECK_SHELL_SYNTAX.
5234         (Syntax of the Perl scripts): Remove definition of
5235         AT_CHECK_PERL_SYNTAX.
5237 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
5239         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
5240         stderr to /dev/null.
5241         * bin/autoconf.in: Regenerate.
5242         * bin/wrapper.in: Regenerate.
5244 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
5246         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
5247         Extracted from AS_SHELL_SANITIZE.
5248         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
5249         macros.
5250         (AS_SHELL_SANITIZE): Move reinvocation code from
5251         _AS_LINENO_WORKS, use it to find out if shell
5252         functions work.
5253         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
5254         does not work.
5255         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
5256         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
5257         was called.
5258         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
5259         * bin/autoconf.in: Regenerate.
5260         * tests/wrapper.in: Regenerate.
5261         * tests/tools.at: Test the syntax of tests/autoconf
5262         and tests/testsuite.
5264 2003-11-24  Akim Demaille  <akim@epita.fr>
5266         * config/announce-gen (&print_locations, &print_signatures)
5267         (&sizes): New.
5268         Use them.
5269         No longer rely on Gnus to inline the list of signatures: compute
5270         them on the fly.
5272 2003-11-24  Akim Demaille  <akim@epita.fr>
5274         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
5275         override some files.
5276         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
5277         From Debian Autoconf 2.58.
5279 2003-11-24  Akim Demaille  <akim@epita.fr>
5281         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
5282         uses.
5283         From Debian Autoconf 2.58.
5285 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
5287         * TODO: Remove already done things.  Update the part about finding
5288         tools for the target.
5290 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
5292         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
5293         Make wording more consistent.
5294         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
5295         Explain the transition better.
5296         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
5297         the transition better.
5299 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
5301         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
5302         parameter of AU_DEFUN.
5303         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
5304         (AU_DEFUN): Remove the third parameter, it was not used.
5305         Use AC_DEFUN directly, not AU_DEFINE.
5306         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
5307         the expanded body, consistently with other macros such as AC_USG.
5309 2003-11-17  Paul Eggert  <eggert@twinsun.com>
5311         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
5312         into the initial confdefs.h, to work around a bug in NextStep 3.3
5313         patch 3 reported by Eric Sunshine.
5315 2003-11-15  Kevin Ryde  <user42@zip.com.au>
5317         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
5318         than $target since the latter is not usual, add guidelines on when to
5319         use or not use the system type.
5321 2003-11-12  Derek Price  <derek@ximbiot.com>
5323         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
5324         typo misrepaired by an auto-spellcheck.
5326 2003-11-12  Akim Demaille  <akim@epita.fr>
5328         * bin/autoreconf.in (&parse_args): Don't call automake with
5329         --force-missing unless it actually supports it.
5330         From Debian #219336.
5332 2003-11-12  Akim Demaille  <akim@epita.fr>
5334         * configure.ac: Bump to 2.59a.
5335         Require 2.59.
5337 2003-11-06  Akim Demaille  <akim@epita.fr>
5339         Version 2.59.
5341 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
5343         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
5344         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
5345         and ac_abs_top_srcdir are absolute paths.
5346         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
5348 2003-11-05  Akim Demaille  <akim@epita.fr>
5350         * configure.ac: Bump to 2.58a.
5352 2003-11-05  Kevin Ryde  <user42@zip.com.au>
5354         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
5355         it provokes a warning from makeinfo about looking like a cross
5356         reference in info output.
5358         * doc/autoconf.texi (Function Portability): Add notes on signal
5359         handler return type, as per AC_TYPE_SIGNAL.
5361 2003-11-04  Akim Demaille  <akim@epita.fr>
5363         Version 2.58.
5364         * doc/standards.texi: Update from master.
5366         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
5368 2003-11-04  Akim Demaille  <akim@epita.fr>
5370         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
5371         computing the absolute path to d1 in the source hierarchy: it may
5372         not exist at all.  So don't cd into it.
5373         From Alexandre Duret-Lutz.
5374         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
5376         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
5377         From Paul Eggert, but named after Perl's IO::Spec->catfile.
5378         * doc/autoconf.texi (Programming in M4sh): Document.
5379         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
5381 2003-11-03  Pavel Roskin  <proski@gnu.org>
5383         * doc/autoconf.texi (Generic Structure Checks): Describe
5384         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
5386 2003-10-31  Akim Demaille  <akim@epita.fr>
5388         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
5389         (GNU Fortran): New.
5390         * doc/autoconf.texi (Language Choice): Document.
5391         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
5392         the current language is Fortran.
5394 2003-10-31  Akim Demaille  <akim@epita.fr>
5396         * bin/autom4te.in (&freeze): Use a less likely warning separator
5397         than `\n\n', so that `\n\n\n' is valid in warnings.
5398         Reported by Steve Huston.
5400 2003-10-28  Akim Demaille  <akim@epita.fr>
5402         * Makefile.cfg (local_updates, executable-update): Tweak to be
5403         robust to parallel makes.
5404         Suggested by Alexandre Duret-Lutz.
5406 2003-10-27  Akim Demaille  <akim@epita.fr>
5408         * Makefile.cfg (executable-update): New.
5409         (local_updates): Call it.
5411 2003-10-27  Akim Demaille  <akim@epita.fr>
5413         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
5414         Don't remove core.* as it may remove valid user files.
5415         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
5416         (AC_FUNC_UTIME_NULL): Likewise.
5418 2003-10-23  Akim Demaille  <akim@epita.fr>
5420         Version 2.57g.
5421         * config/config.guess, config/config.sub: Upgrade from masters.
5423 2003-10-23  Akim Demaille  <akim@epita.fr>
5425         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
5426         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
5427         hand...
5429 2003-10-23  Akim Demaille  <akim@epita.fr>
5431         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
5432         Don't forget to remove conftest.err.
5434 2003-10-23  Akim Demaille  <akim@epita.fr>
5436         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
5437         same object file in $LIBOBJS.
5438         Reported by Alexandre Duret-Lutz & Derek Robert Price.
5439         * doc/autoconf.texi (Generic Functions): Adjust.
5441 2003-10-20  Paul Eggert  <eggert@twinsun.com>
5443         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
5444         Use 'eval', so that the resulting configure scripts work even if
5445         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
5447 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
5449         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
5450         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
5451         (_AC_LINK_IFELSE): Check the werror flag.
5452         * doc/autoconf.texi (Generic Compiler Characteristics): Document
5453         AC_LANG_WERROR.
5454         * NEWS: Mention it.
5456 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
5458         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
5459         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
5460         override AC_LINK_IFELSE.
5462 2003-10-15  Paul Eggert  <eggert@twinsun.com>
5464         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
5465         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
5466         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
5467         Mention /usr/dt/bin/dtksh on Solaris.
5468         (Shell Substitutions): Warn about $((...)).
5469         (Parentheses): New section.
5471 2003-10-15  Kevin Ryde  <user42@zip.com.au>
5473         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
5474         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
5476 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
5478         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
5479         cross test.
5481 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
5483         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
5484         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
5486 2003-10-10  Andreas Schwab  <schwab@suse.de>
5488         * bin/autoheader.in: Avoid empty first line in --version and
5489         --help output.
5490         * bin/ifnames.in: Likewise.
5492 2003-10-09  Paul Eggert  <eggert@twinsun.com>
5494         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
5495         Issue a more-informative diagnostic.
5496         Problems reported by Eric Sunshine.
5498 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
5500         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
5501         -mGLOB_options_string stuff for Intel ifc, which can cause
5502         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
5503         pattern-matching instead of grep.
5505 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
5507         * doc/autoconf.texi: Document new FC Fortran macros.
5509 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
5511         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
5512         that future autopoint/aclocal/automake/autoreconf will be able
5513         to trace to find where to install local m4 macros.
5514         * doc/autoconf.texi (Input): Document it.
5515         * NEWS: Updated.
5517 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
5519         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
5520         -lcrtbegin.o to list of ignored flags and fix underquoting of
5521         -lcrt[01].o.
5523 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
5525         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
5526         cache variable instead of $G77 to decide whether to include -O2,
5527         since $G77 is specific to Fortran 77.
5529 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
5531         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
5532         free" flag.  Re-order flags tested into rough order of popularity.
5534 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
5536         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
5537         arguments so that it can be used with syntax identical to
5538         AC_PROG_F77, and so that we can more easily decide to
5539         remove/deprecate the DIALECT optional argument in the future if it
5540         proves troublesome.
5541         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
5542         non-freeform-supporting compilers.  Document freeform flags.
5544 2003-10-03  Akim Demaille  <akim@epita.fr>
5546         * configure.ac: Look for emacs, not macs.
5547         Reported by Eric Sunshine.
5549 2003-10-03  Akim Demaille  <akim@epita.fr>
5551         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
5552         * bin/autoreconf.in (autoreconf_current_directory): Create the
5553         AUX_DIR if needed, for sake of automake --add-missing etc.
5554         Suggested by Alexandre Duret-Lutz.
5556 2003-10-03  Akim Demaille  <akim@epita.fr>
5558         * configure.ac: Quotation and formatting changes.
5559         (EMACS): Don't set it if it is not recent enough to support
5560         autoconf-mode.el.
5561         From Eric Sunshine.
5563 2003-10-02  Akim Demaille  <akim@epita.fr>
5565         * bin/ifnames.in (&scan_file): Skip C++ comments.
5566         From Jeremy Yallop.
5568 2003-10-01  Pavel Roskin  <proski@gnu.org>
5570         * doc/autoconf.texi (Particular Structure Checks):
5571         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
5573 2003-10-01  Akim Demaille  <akim@epita.fr>
5575         Version 2.57f.
5577 2003-09-30  Paul Eggert  <eggert@twinsun.com>
5579         * lib/Autom4te/XFile.pm: Use Errno.
5580         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
5581         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
5583 2003-09-30  Akim Demaille  <akim@epita.fr>
5585         * config/announce-gen (&print_news_deltas): Extracted from...
5586         (&print_changelog_deltas): here.
5587         (&news_file): Rename as...
5588         (@news_file): this.
5590 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
5592         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
5593         have been created when invoking the compiler.
5594         * tests/fortran.at (GNU Fortran 77): Quote $G77.
5596 2003-09-29  Akim Demaille  <akim@epita.fr>
5598         Version 2.57e.
5600         * config/mkinstalldirs: Upgrade.
5602 2003-09-28  Paul Eggert  <eggert@twinsun.com>
5604         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
5605         Problem reported by Lars J. Aas in
5606         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
5607         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
5608         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
5609         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
5611 2003-09-26  Akim Demaille  <akim@epita.fr>
5613         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
5614         directory for AC_CONFIG_COMMANDS' first argument exists.
5615         This makes valid the invocation of _AC_SRCPATH that follows.
5616         Reported by Eric Sunshine.
5617         * doc/autoconf.texi (Configuration Commands): Adjust.
5619 2003-09-26  Akim Demaille  <akim@epita.fr>
5621         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
5622         Reported by Ralf Corsepius.
5624 2003-09-26  Akim Demaille  <akim@epita.fr>
5626         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
5627         arguments.
5628         Actually, use AU_ALIAS.
5629         From Bruno Haible.
5631 2003-09-26  Paul Eggert  <eggert@twinsun.com>
5633         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
5634         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
5635         Problem reported by Eric Sunshine in:
5636         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
5638 2003-09-26  Akim Demaille  <akim@epita.fr>
5640         The test suite are sometimes assigning timings incorrectly.
5641         Reported by Henk Krus.
5642         Diagnosed by Nicolas Joly.
5644         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
5645         AT_help_all.
5646         Instead of making AT_help a sequence of assignments to grow
5647         $at_help_all, just make AT_help_all be the growing contents of
5648         $at_help_all, and make a single assignment in...
5649         (AT_INIT): here.
5650         (at_times_skip): Flip the meaning and rename as...
5651         (at_times_p): this.
5652         (AT_INIT): When summarizing the test that ran, remove
5653         $at_times_file after use, and check it is present before trying to
5654         use it.
5656 2003-09-25  Akim Demaille  <akim@epita.fr>
5658         Version 2.57d.
5660         * bin/Makefile.am (edit): Handle '@configure_input@'.
5661         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
5662         (ifnames): chmod -w.
5663         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
5664         executables, not bin/ executables!  Otherwise all the magic needed
5665         to find non installed files is turned off.  This caused a failure
5666         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
5667         as found in its environment (sent by tests/autoreconf): pointing
5668         to bin/autom4te that could not find its files.
5669         * tests/mktests.sh: Force the replacement of generated files, for
5670         the sake of "mv" program that are interactive when overwriting a
5671         -w file.
5672         * config/install-sh: Upgrade from CVS Automake.
5674 2003-09-23  Paul Eggert  <eggert@twinsun.com>
5676         * doc/autoconf.texi (Limitations of Builtins): Document test -h
5677         versus test -L issues.
5679 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
5680             Paul Eggert  <eggert@twinsun.com>
5682         Trivial change to support GCC's configuration procedure.
5683         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
5684         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
5685         about inconsistency if the preprocessor is set to give errors for
5686         any warning.
5687         * doc/autoconf.texi (C Compiler Characteristics): Document this.
5689 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
5691         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
5692         and XFile.pm from Automake.
5693         * lib/Autom4te/XFile.pm: Update from Automake.
5695 2003-09-12  Akim Demaille  <akim@epita.fr>
5697         Version 2.57c.
5699 2003-09-12  Akim Demaille  <akim@epita.fr>
5701         * config/config.guess, config/config.sub, config/missing,
5702         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
5703         from masters.
5705 2003-09-12  Akim Demaille  <akim@epita.fr>
5707         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
5708         not asm/types.h.
5710 2003-09-11  Akim Demaille  <akim@epita.fr>
5712         * doc/autoconf.texi (Header Portability): linux/random.h.
5713         From Peter Hendrickson.
5715 2003-09-10  Akim Demaille  <akim@epita.fr>
5717         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
5718         willing to edit the output files.
5720 2003-09-10  Akim Demaille  <akim@epita.fr>
5722         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
5723         and AC_FC_FREEFORM.
5724         * tests/mktests.sh: Skip AC_FC_SRCEXT.
5725         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
5727 2003-09-09  Akim Demaille  <akim@epita.fr>
5729         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
5730         Reported by Gary Vaughan.
5731         * bin/autom4te.in (handle_m4): Likewise.
5733 2003-09-09  Akim Demaille  <akim@epita.fr>
5735         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
5736         trailing files.
5738 2003-09-07  Paul Eggert  <eggert@twinsun.com>
5740         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
5741         Improve the accuracy of the wording about obsolescence.
5742         From a suggestion by Ian Lance Taylor in
5743         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
5745 2003-09-05  Paul Eggert  <eggert@twinsun.com>
5747         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
5748         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
5750 2003-09-04  Akim Demaille  <akim@epita.fr>
5752         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
5753         AC_FUNC_WAIT3.
5755 2003-09-04  Akim Demaille  <akim@epita.fr>
5757         * bin/autom4te.in: Use &fatal where more appropriate than &error.
5758         (freeze): When exiting, use $exit_code.
5759         * lib/autoconf/fortran.m4: Comment changes.
5761 2003-09-04  Akim Demaille  <akim@epita.fr>
5763         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
5765 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
5767         Add support for newer Fortran dialects.  The F77 interface is
5768         unchanged, and continues to support Fortran 77.  New FC macros
5769         correspond to all the old F77 macros, with output variables FC,
5770         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
5771         available dialect, but older dialects can be specified.  There are
5772         new macros AC_FC_SRCEXT to set the source extension, and
5773         AC_FC_FREEFORM to accept free-form source files.
5775         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
5776         New macros.
5777         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
5778         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
5779         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
5780         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
5781         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
5782         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
5783         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
5784         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
5785         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
5786         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
5787         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
5788         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
5789         AC_FC_SRCEXT, AC_FC_FREEFORM):
5790         New macros.
5791         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
5792         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
5793         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
5794         Rewrite in terms of the above.
5795         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
5796         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
5797         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
5798         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
5800 2003-09-02  Paul Eggert  <eggert@twinsun.com>
5802         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
5803         Document problems with timestamp resolution that 'make', 'cp -p', and
5804         'touch -r' have.
5806 2003-08-27  Akim Demaille  <akim@epita.fr>
5808         * tests/m4sugar.at (cross_warning): Make sure to enable the
5809         output, so that we can track spurious m4sugar output.
5810         * tests/local.at: Require 2.57.
5811         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
5812         are defaulted by AT_CHECK anyway.
5813         Use AT_CHECK_AUTOM4TE.
5814         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
5815         missing dnl.
5817 2003-08-27  Akim Demaille  <akim@epita.fr>
5819         * bin/autoheader.in: Issue the "Using auxiliary..." message only
5820         when -Wobsolete is set.
5821         Set it on by default.
5822         Suggested by Klee Dienes.
5824 2003-08-27  Akim Demaille  <akim@epita.fr>
5826         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
5827         documentation.
5828         From Guido Draheim.
5830 2003-08-26  Akim Demaille  <akim@epita.fr>
5832         * doc/autoconf.texi (Output): Make clear that one can run code
5833         after AC_OUTPUT.
5835 2003-08-25  Akim Demaille  <akim@epita.fr>
5837         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
5838         CVS Bison.
5840 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
5842         * bin/autoreconf.in (parse_args): Do not pass --no-force to
5843         Automake versions prior to 1.8.
5845 2003-08-25  Akim Demaille  <akim@epita.fr>
5847         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
5848         From Ville Karaila.
5850 2003-08-24  Akim Demaille  <akim@epita.fr>
5852         * configure.ac: Bump to 2.57c.
5854 2003-08-22  Akim Demaille  <akim@epita.fr>
5856         Version 2.57b.
5858         * Makefile.cfg (local-checks-to-skip): New.
5859         * Makefile.maint (local-check): Rename as...
5860         (local-checks-available): this.
5861         (local-check): New.
5863         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
5864         * configure.ac: Require Automake 1.7.6.
5866 2003-08-22  Akim Demaille  <akim@epita.fr>
5868         Output stack traces in warnings.
5870         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
5871         Replace the former...
5872         (m4_warn): Pass the call stack to _m4_warn.
5873         * bin/autom4te.in: Adjust to output the call stack.
5874         * tests/m4sugar.at (m4@&t@_warn): Adjust.
5876 2003-08-22  Akim Demaille  <akim@epita.fr>
5878         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
5879         * bin/autom4te.in: Adjust.
5881 2003-08-21  Akim Demaille  <akim@epita.fr>
5883         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
5884         (&verbose): Remove.
5885         (&getopt): Adjust the note and verb channels, depending upon
5886         --verbose.
5887         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
5888         * bin/autoupdate.in: Adjust.
5889         Use &verb, not &verbose.
5891 2003-08-21  Akim Demaille  <akim@epita.fr>
5893         * bin/autoheader.in (&parse_args): Use &parse_warnings and
5894         &parse_WARNINGS.
5895         ($help): Use Autom4te::ChannelDefs::usage.
5896         * bin/autoscan.in: Use Autom4te::ChannelDefs.
5897         * lib/Autom4te/General.pm: Don't export error: you don't own it.
5899 2003-08-21  Akim Demaille  <akim@epita.fr>
5901         First stab at preserving warnings between calls to autom4te,
5902         including when the cache is used.
5904         There are still several issues: (i) there are too many runs of m4
5905         (one for include, one for warnings, and some more), (ii) warnings
5906         spreading on several lines are not handled gracefully, (iii) the
5907         code meant to have the call stack display for errors does not work
5908         (its handling should move from m4 to autom4te).
5910         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
5911         Use them.
5912         (@preselect): Add m4_warn.
5913         ($exit_status): Remove, use $exit_code.
5914         ($help): Use Autom4te::ChannelDefs::usage.
5915         (&handle_m4): No longer define the m4_warnings.
5916         At each run, extract and report the warnings.
5917         Always cache the result, including if the exit status is on
5918         failure, since if nothing changes, we should result in the same
5919         failure, hence we can use the cache.
5920         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
5921         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
5922         Remove.
5923         (m4_warn): Redefine as a do-nothing: it is its invocation that
5924         matters, as warnings are now reported via traces.
5925         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
5926         the contents of m4_warn: make it _call_ m4_warn, so that tracing
5927         the latter reveals calls to the former.
5929         Adjust the tests.
5931         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
5933 2003-08-21  Akim Demaille  <akim@epita.fr>
5935         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
5936         Use them.
5938 2003-08-21  Akim Demaille  <akim@epita.fr>
5940         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
5941         forward order.
5942         * lib/Autom4te/ChannelDefs.pm: Doc typos.
5943         (&parse_warnings): Accept a list of warning requests.
5944         (&usage): Return a string, not a side effect.
5945         (cross): New warning category.
5947 2003-08-21  Akim Demaille  <akim@epita.fr>
5949         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
5950         (&require_configure_ac): Accept an optional directory argument.
5951         ($configure_ac): Remove.
5952         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
5953         (&catfile): Remove.
5954         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
5955         * bin/autoscan.in: Adjust.
5957 2003-08-20  Akim Demaille  <akim@epita.fr>
5959         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
5960         Reported by Alexandre Duret-Lutz.
5962 2003-08-20  Akim Demaille  <akim@epita.fr>
5964         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
5965         * bin/autom4te: Adjust.
5966         In particular, be Autoconf tools are really silent when properly
5967         working, bind the verbosity of the 'note' channel to $verbose.
5968         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
5969         (&xsystem, &contents): Remove, since they are exported by...
5970         * lib/Autom4te/FileUtils.pm: this.
5971         More perldoc.
5972         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
5973         * lib/Autom4te/FileUtils.pm: here.
5975 2003-08-20  Akim Demaille  <akim@epita.fr>
5977         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
5978         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
5979         from CVS Automake.
5981 2003-08-20  Akim Demaille  <akim@epita.fr>
5983         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
5984         (autom4te-update): New.
5985         * Makefile.cfg (update): Bind autom4te-update.
5987 2003-08-19  Derek Price  <derek@ximbiot.com>
5989         * lib/autotest/general.m4: Comment various HELP_* diversions.
5990         (PARSE_ARGS_BEGIN): New section for option parsing related
5991         initialization.
5992         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
5993         package specific options and associated help.
5995 2003-08-19  Akim Demaille  <akim@epita.fr>
5997         * config/announce-gen, Makefile.cfg: New.
5998         * Makefile.am: Adjust.
5999         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
6001 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
6003         * lib/autom4te.in (Automake-preselections): Preselect
6004         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
6005         and m4_sinclude.
6007 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
6009         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
6010         (Autoconf-without-aclocal-m4): ... this new language.
6011         * doc/autoconf.texi (autom4te Invocation): Mention
6012         Autoconf-without-aclocal-m4.
6014 2003-08-18  Derek Price  <derek@ximbiot.com>
6016         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
6017         RUN-IF-PASS optional arguments.
6019 2003-08-18  Derek Price  <derek@ximbiot.com>
6021         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
6023 2003-08-16  Derek Price  <derek@ximbiot.com>
6025         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
6026         STDOUT & STDERR arguments.
6028 2003-08-14  Derek Price  <derek@ximbiot.com>
6030         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
6031         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
6032         shorter column three.  Add DESCRIPTION to log file content.
6034 2003-08-13  Derek Price  <derek@ximbiot.com>
6036         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
6037         output.
6039 2003-08-12  Derek Price  <derek@ximbiot.com>
6041         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
6042         (AT_CHECK_NOESCAPE): Move core functionality to...
6043         (_AT_CHECK): ...this new macro.
6045 2003-08-07  Derek Price  <derek@ximbiot.com>
6047         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
6048         (AT_CHECK_NOESCAPE): ...to this new macro.
6050 2003-07-31  Paul Eggert  <eggert@twinsun.com>
6052         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
6053         in Bash 2.01.  Problem reported by Brian Gough in
6054         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
6056 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
6058         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
6059         -lcrt1.o, for OS X.  (trivial change)
6061 2003-07-07  Paul Eggert  <eggert@twinsun.com>
6063         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
6064         inside '#ifndef __cplusplus'.  Problem reported by
6065         Bob Friesenhahn.
6067 2003-07-06  Bill Clarke  <llib@computer.org>
6069         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
6070         'long', not 'int', for benefit of Sun's recent C++ compilers
6071         (trivial change).  See:
6072         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
6073         (This really should be 'intptr_t', not 'long', but that would
6074         take more work.)
6076 2003-06-25  Akim Demaille  <akim@epita.fr>
6078         * lib/Makefile.am (autom4te.cfg): Make it read only.
6079         Depend on Makefile since it contains substitutions.
6080         From Paolo Bonzini.
6081         * lib/autom4te.in (args): Add local.at? for Autotest args.
6082         This change was made on autom4te.cfg which is generated.
6083         Reported by Raja R. Harinath.
6085 2003-06-25  Akim Demaille  <akim@epita.fr>
6087         * doc/autoconf.texi (Header Portability): sys/mount.h.
6088         From Gareth McCaughan.
6090 2003-06-23  Akim Demaille  <akim@epita.fr>
6092         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
6093         not all of them.  This fixes 1. the fact that when testing
6094         Autoconf there are many many config.log, 2. the incorrect use of
6095         top_srcdir to find config.log.
6096         Don't mix the detailed output of failed test with the summary of
6097         failures.  Rather, append detailed log afterwards.
6099 2003-06-23  Akim Demaille  <akim@epita.fr>
6101         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
6102         always run: output config.log on $at_group_log.
6104 2003-06-23  Akim Demaille  <akim@epita.fr>
6106         * tests/torture.at (#define header templates): Don't use quotes in
6107         C++ comments as it puzzles Emacs' sh font-lock-mode.
6109 2003-06-23  Akim Demaille  <akim@epita.fr>
6111         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
6112         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
6113         * tests/atspecific.m4: Rename as...
6114         * tests/local.at: This.
6115         * tests/suite.at: Move the globals into...
6116         * tests/local.at: here.
6117         * tests/Makefile.am: Adjust.
6118         * doc/autoconf.texi (testsuite Scripts): Adjust.
6120 2003-06-21  Kevin Ryde  <user42@zip.com.au>
6122         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
6123         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
6124         ensuring we add -std1 for full-ANSI.
6126         * doc/autoconf.texi (hdrindex): New macro.
6127         Add index entries for portability of various standard header files.
6129 2003-06-20  Akim Demaille  <akim@epita.fr>
6131         * configure.ac: Bump to 2.57b.
6133 2003-06-20  Akim Demaille  <akim@epita.fr>
6135         Version 2.57a.
6137 2003-06-20  Akim Demaille  <akim@epita.fr>
6139         * bin/autom4te.in: Don't rely on $HOME being defined.
6140         Reported by Marc Espie as PR/233.
6142 2003-06-20  Akim Demaille  <akim@epita.fr>
6144         * lib/autotest/general.m4: Use at_times_file only if used.
6145         From Nicolas Joly.
6147 2003-06-20  Akim Demaille  <akim@epita.fr>
6149         * config/config.guess, config/config.sub, config/elisp-comp,
6150         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
6151         Update from masters.
6153 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
6155         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
6156         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
6157         (TEST_SCRIPT): New diversion.
6158         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
6159         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
6160         (AT_INIT): Support for expected failures.
6162 2003-06-02  Akim Demaille  <akim@epita.fr>
6164         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
6165         changes.
6166         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
6167         Autoconf nor Automake.
6168         (&contents): New, from Automake.
6169         PODify.
6171 2003-05-28  Paul Eggert  <eggert@twinsun.com>
6173         * NEWS, doc/autoconf.texi (Particular Functions),
6174         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
6175         is the inverse of localtime.
6177 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
6179         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
6180         (handle_exec_errors): New function.  Work around $! being
6181         altered by WEXITSTATUS.
6182         (xqx, xsystem): Use handle_exec_errors.
6184 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
6186         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
6187         Do not call `_exit()', simply modify `$?'.
6188         (xsystem): Reset $! before running system, and check it afterward.
6189         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
6190         63 for version mismatches.
6192 2003-05-23  Akim Demaille  <akim@epita.fr>
6194         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
6195         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
6196         the middle of a line).
6197         * lib/m4sugar/m4sugar.m4: Likewise.
6198         Remove useless spaces in comments.
6200 2003-05-23  Akim Demaille  <akim@epita.fr>
6202         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
6203         exit 63, so that we (or Automake's "missing") can tell the
6204         difference with a plain failure.
6205         * doc/autoconf.texi (Notices): Adjust.
6207 2003-05-23  Akim Demaille  <akim@epita.fr>
6209         * Makefile.am, bin/Makefile.am, config/Makefile.am,
6210         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
6211         White spaces cleanup.
6213 2003-05-22  Jim Meyering  <jim@meyering.net>
6214             Paul Eggert  <eggert@twinsun.com>
6216         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
6217         Remove `#include <stdlib.h>' from the list; we should never
6218         make confdefs.h include <stdlib.h> or <cstdlib>, because the
6219         resulting namespace pollution would cause other tests to fail.
6220         Configure scripts run with some older versions of g++ and HP's
6221         aCC would fail due to such an #include.  Problems reported by
6222         Matthew Mueller in <http://bugs.debian.org/120704> and by
6223         Keith Bostic in
6224         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
6225         In the test, use the test declaration before including <stdlib.h>,
6226         as that's closer to how it'll be used.
6228 2003-05-23  Akim Demaille  <akim@epita.fr>
6230         * doc/autoconf.texi (Header Portability): ucred.h.
6231         From Ian Redfern.
6233 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
6235         Overhaul Autotest's logging: generate separate log files
6236         in testsuite.dir/NNN/testsuite.log, and append them to
6237         testsuite.log instead of re-running the test verbosely.
6239         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
6240         file descriptor, write 0 to at_status_file instead of setting
6241         at_status=0, initialize some new variables (at_status_file,
6242         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
6243         to rerun the tests, instead append the at_group_log to the
6244         at_suite_log when a test fails.
6245         (AT_SETUP): pipe the test case's output into at_tee_pipe,
6246         with the AS_MESSAGE_LOG_FD redirected to stdout.
6247         (AT_CLEANUP): save the output status in $at_status_file
6248         and restore it, redirect the AS_MESSAGE_LOG_FD back to
6249         its original place.
6250         (AT_CHECK): since tests are run with a redirected stdout,
6251         and used to be re-run in verbose mode, turn some $at_verbose
6252         into echo, and don't redirect the output of testing stdout
6253         and stderr.
6255         * lib/autotest/autoconf.texi (testsuite Scripts): Update
6256         the name of the debugging directory and information about
6257         its contents.
6259 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
6261         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
6262         parameter.
6264 2003-05-22  Akim Demaille  <akim@epita.fr>
6266         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
6267         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
6268         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
6269         * lib/autoconf/status.m4: Fix and adjust copyright notices.
6271 2003-05-22  Akim Demaille  <akim@epita.fr>
6273         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
6274         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
6275         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
6276         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
6277         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
6278         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
6279         * lib/autoconf/status.m4, lib/autoconf/types.m4,
6280         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
6281         * tests/atspecific.m4, tests/base.at, tests/compile.at,
6282         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
6283         * tests/tools.at, tests/torture.at:
6284         Whitespace clean up.
6285         Suggested by Jim Meyering.
6287 2003-05-22  Akim Demaille  <akim@epita.fr>
6289         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
6290         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
6291         Reported by Jim Meyering.
6293 2003-05-22  Akim Demaille  <akim@epita.fr>
6295         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
6296         Add AC_HELP_STRING  to the obsolete macros section.
6297         Typos.
6298         Use '@.' for sentences that ended in a capital letter.
6299         From Art Haas.
6301 2003-05-22  Akim Demaille  <akim@epita.fr>
6303         * config/config.guess, config/config.sub, config/elisp-comp,
6304         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
6305         * config/texinfo.tex, doc/standards.texi: Update from masters.
6307 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
6309         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
6310         it to eval.
6312 2003-05-21  Akim Demaille  <akim@epita.fr>
6314         * bin/autoupdate.in ($m4): Fix quotation.
6315         Reported by Martin Mokrejs.
6317 2003-05-19  Paul Eggert  <eggert@twinsun.com>
6319         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
6320         Remove non-ASCII characters.
6322 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
6324         * tests/semantics.at (AC_SEARCH_LIBS): New test.
6325         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
6326         AC_CHECK_HEADERS_NEW): New tests.
6328 2003-05-17  Akim Demaille  <akim@epita.fr>
6330         * lib/autoconf/functions.m4: Use the default includes so that
6331         memcmp be declared before being tested.
6332         Reported by Sander Niemeijer.
6333         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
6334         * doc/autoconf.texi (Default Includes): Document
6335         AC_INCLUDES_DEFAULT.
6337 2003-05-17  Akim Demaille  <akim@epita.fr>
6339         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
6340         * doc/autoconf.texi (Obsolete Macros): Adjust.
6341         Reported by Werner LEMBERG and Debian Bug 190886.
6343 2003-05-16  Akim Demaille  <akim@epita.fr>
6345         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
6346         user name space clashes.
6347         Reported by Bruno Haible.
6349 2003-05-16  Akim Demaille  <akim@epita.fr>
6351         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6352         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
6353         them uniform, and more robust to Perl special characters.
6354         Reported by Martin Mokrejs.
6356 2003-05-14  Akim Demaille  <akim@epita.fr>
6358         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
6360 2003-05-14  Akim Demaille  <akim@epita.fr>
6362         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
6363         linux/irda.h.
6365 2003-05-12  Akim Demaille  <akim@epita.fr>
6367         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
6368         message.
6369         From Matthias Andree.
6371 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
6373         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
6374         and truncate.
6376 2003-05-06  Akim Demaille  <akim@epita.fr>
6378         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
6379         longer updates aclocal.m4 if useless, (ii) if a file m4_included
6380         by aclocal.m4 is changed it might require the importing of another
6381         m4 extension file, i.e., aclocal must be run.
6383         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
6384         (&parse_args): Use --force with aclocal if required and supported.
6385         (&autoreconf_current_directory): Use &run_aclocal.
6387 2003-05-06  Akim Demaille  <akim@epita.fr>
6389         Lock autom4te's cache.
6391         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
6392         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
6393         argument instead of a file name, so that the request file remains
6394         open during the whole autom4te run.
6395         ($icache_file): New.
6396         (&freeze): Lock the $icache_file.
6398 2003-04-29  Derek Price  <derek@ximbiot.com>
6400         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
6401         seperator with m4_append_uniq().  It doesn't work.
6402         (AT_CLEANUP): Add `;' to end of at_help_all.
6403         (AT_INIT): Allow --keywords to be specified more than once.  When
6404         grepping $at_help_all for keywords, use the field and keyword
6405         seperators to ensure a complete keyword match.  Alter at_prev handling
6406         to support the new --keywords behavior.
6408 2003-04-27  Karl Berry  <karl@freefriends.org>
6410         * doc/autoconf.texi: Make the dir entries in the autoconf manual
6411         align better with others.  I also made some of the individual
6412         entries on one line, for brevity and to make it easier for me to
6413         sort my dir-example file in the Texinfo distribution :).
6415 2003-04-12  Jim Meyering  <jim@meyering.net>
6417         * NEWS: Mention the new macro.
6418         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
6419         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
6420         * tests/c.at: Test AC_C_RESTRICT.
6421         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
6423 2003-04-08  Akim Demaille  <akim@epita.fr>
6425         * bin/ifnames.in: Skip C++ comments.
6426         From Jeremy Yallop.
6428 2003-04-08  Akim Demaille  <akim@epita.fr>
6430         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
6431         From Ilya Zakharevich.
6433 2003-04-08  Akim Demaille  <akim@epita.fr>
6435         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
6436         net/if.h, stdlib.h.
6438 2003-04-01  Derek Price  <derek@ximbiot.com>
6440         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
6441         from Akim's checkin of 2003-03-29.
6443 2003-04-01  Derek Price  <derek@ximbiot.com>
6445         * tests/torture.at (Configuring subdirectories): Add missing
6446         close-quote for Akim's change from 2003-03-28.
6448 2003-04-01  Akim Demaille  <akim@epita.fr>
6450         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
6451         (AC, AT, MS): these.
6452         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
6453         New.
6454         Use them.
6455         * doc/Makefile.am (CLEANFILES): Adjust.
6456         (TEXI2DVI): Make it --batch.
6458 2003-03-31  Derek Price  <derek@ximbiot.com>
6460         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
6461         which removed the main loop.
6462         Thanks to Akim Demaille.
6464 2003-03-29  Akim Demaille  <akim@epita.fr>
6466         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
6467         that starts a GUI.
6468         From Ilya Zakharevich.
6470 2003-03-29  Akim Demaille  <akim@epita.fr>
6472         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
6473         documentation to read is Autoconf's.
6474         Suggested by Paul Eggert.
6476 2003-03-28  Akim Demaille  <akim@epita.fr>
6478         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
6479         reading the section "Present But Cannot Be Compiled" when the
6480         header causes problems.
6482 2003-03-28  Akim Demaille  <akim@epita.fr>
6484         * tests/torture.at (Configuring subdirectories): Require aclocal
6485         1.4, otherwise the test fails, as it does support configure.ac.
6486         This fixes the "test 40 failed" bug reports.
6488 2003-03-28  Akim Demaille  <akim@epita.fr>
6490         * doc/autoconf.texi (C Compiler): `#line' portability.
6491         From Paul Eggert and Nelson H. F. Beebe.
6493 2003-03-27  Derek Price  <derek@ximbiot.com>
6495         * lib/autotest/general.m4: Eliminate main loop and reorganize test
6496         layout in order to allow scripting around test groups.
6498 2003-03-27  Derek Price  <derek@ximbiot.com>
6500         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
6501         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
6502         use new diversions in preparation for accepting new arguments and
6503         allowing scripting around tests.
6504         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
6506 2003-03-26  Derek Price  <derek@ximbiot.com>
6508         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
6509         obsolete AC_HELP_STRING.
6510         (AC_HELP_STRING): AU_DEFUN to...
6511         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
6512         * tests/m4sh.at (AS_HELP_STRING): New test.
6514         * tests/acgeneral.at: Regenerated.
6516 2003-03-26  Derek Price  <derek@ximbiot.com>
6518         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
6519         sense.  Verbosify the diversion definitions comment.
6521 2003-03-26  Derek Price  <derek@ximbiot.com>
6523         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
6524         AS_PREPARE.
6526 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
6528         * doc/autoconf.texi (Present But Cannot Be Compiled):
6529         Grammar fixes and minor rewording. (trivial change)
6531 2003-03-06  Paul Eggert  <eggert@twinsun.com>
6533         Work around a problem noted by Nelson H. F. Beebe with coreutils
6534         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
6535         2002/05/09) rejects '#line 32768 "configure"' because the line
6536         number overflows.
6537         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
6538         #line directives.
6539         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
6540         * doc/autoconf.texi (Generating Sources): Document this.
6542 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
6544         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
6545         file name for the m4 program, when it has an "exe" file extension.
6546         DJGPP's error messages include the error code in brackets -
6547         remove the error code during normalization.
6549 2003-02-28  Akim Demaille  <akim@epita.fr>
6551         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
6553 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
6555         * doc/autoconf.texi (Limitations of Make): Remove the section
6556         about `$<' in inference rules, it was a bogus interpretation of
6557         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
6558         Tru64 make in the "target lookup" section.
6559         (Automake): Automake 1.5+ no longer requires special tools to be
6560         present on the developer's host.
6562 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
6564         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
6565         to a shell that can handle redirection or quoting correctly.
6566         Override SHELL with the shell detected by configure.
6567         Use of $^O suggested by Tim van Holder.
6568         * bin/autom4te.in (BEGIN): Likewise.
6569         * bin/autoreconf.in (BEGIN): Likewise.
6570         * bin/autoscan.in (BEGIN): Likewise.
6571         * bin/autoupdate.in (BEGIN): Likewise.
6572         * bin/ifnames.in (BEGIN): Likewise.
6574         * bin/ifnames.in: Add final newline to help and version messages.
6576         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
6577         to cope with DOS-style absolute paths, when constructing
6578         ${ac_make}.
6580         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
6581         When constructing paths with IFS=:, quote the path. If we're
6582         constructing a DOS-style absolute path, we don't want to split it
6583         on the colon.
6585         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
6586         in description.
6588 2003-02-25  Pavel Roskin  <proski@gnu.org>
6590         * bin/autoheader.in: Add missing newline when printing
6591         suggestion how change AC_DEFINE call.
6593 2003-02-24  Paul Eggert  <eggert@twinsun.com>
6595         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
6596         2002-09-01 patch by replacing "test -n" with "test -z".
6597         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
6598         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
6600         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
6601         to fix a mismatch between example and discussion.
6603 2003-02-24  Kevin Ryde  <user42@zip.com.au>
6605         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
6606         format starting with "-".
6608 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
6610         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
6611         is not portable inside Makefile.
6613 2003-02-20  Akim Demaille  <akim@epita.fr>
6615         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
6616         compiler says yeah, but preproc says nope, compiler is right.
6617         Conversely, prompt the reader to send a bug report to the
6618         maintainers of the package, not of Autoconf.
6620 2003-02-20  Klee Dienes  <kdienes@apple.com>
6622         * bin/autoreconf.in (autoreconf_current_directory): Properly
6623         handle an empty aclocal.m4.
6625 2003-02-20  Akim Demaille  <akim@epita.fr>
6627         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
6628         $ac_prefix_program.
6629         From Larry Jones.
6631 2002-12-23  Paul Eggert  <eggert@twinsun.com>
6633         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
6634         innocuous variant befor including <limits.h> or <assert.h>.  This
6635         works around a bug reported by Albert Chin: HP-UX 11i
6636         (and earlier versions) have a <limits.h> that declares
6637         gettimeofday and many other functions.
6639 2002-12-03  Paul Eggert  <eggert@twinsun.com>
6641         Version 2.57.
6643         * NEWS, configure.ac: Update version.
6645         * doc/fdl.texi: Upgrade to FDL version 1.2.
6647         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
6648         nontrivially in main's body, so that f's external declaration is
6649         not optimized away in AIX.  This should fix the bug reported by
6650         Martin Frydl in
6651         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
6653         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
6654         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
6655         defined, to support freestanding compilers.  This should fix the
6656         bug reported by Momchil Velkov in
6657         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
6659         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
6660         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
6661         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
6662         by Simon Josefsson in
6663         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
6665         * Makefile.maint (www-gnu): New macro.
6666         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
6667         the location has moved.
6669 2002-12-02  Martin Frydl  <martin@systinet.com>
6671         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
6672         \(.*\) match is too long and there is something more to be checked.
6673         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
6675 2002-11-15  Akim Demaille  <akim@epita.fr>
6677         Version 2.56.
6679         * config/install-sh: chmod +x.
6680         From Paul Eggert.
6681         * config/move-if-change: Indenting changes.
6682         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
6683         * configure.ac (AM_INIT_AUTOMAKE): here.
6684         Require 1.7.1.
6686 2002-11-14  Akim Demaille  <akim@epita.fr>
6688         Version 2.55.
6690         * config/config.guess, config/config.sub, config/install-sh:
6691         Update from masters.
6693 2002-11-14  Akim Demaille  <akim@epita.fr>
6695         * Makefile.maint: Sync with Bison, i.e.:
6696         (po-check): Scan .l and .y files instead of the
6697         .c and the .h files that they generate.  This fixes the bug
6698         reported by Tim Van Holder in:
6699         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
6700         Look for N_ as well as for _.  Try to avoid matching #define for
6701         N_ and _.
6702         From Paul Eggert.
6704 2002-11-14  Akim Demaille  <akim@epita.fr>
6706         * doc/autoconf.texi (C Compiler): Compiling several files at once.
6707         From Paul Eggert and Albert Chin-A-Young.
6709 2002-11-14  Akim Demaille  <akim@epita.fr>
6711         * doc/autoconf.texi (C Compiler): Solitary backslashes.
6712         From Paul Eggert and Albert Chin-A-Young.
6714 2002-11-14  Kevin Ryde  <user42@zip.com.au>
6716         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
6717         than assigning in main, to avoid HP cc +O3 optimizing it away.
6719 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
6721         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
6722         option.  Process --recheck after parsing all options.  Pass -q
6723         option to configure on --recheck.
6724         (AC_OUTPUT): Pass -q from configure to config.status.
6725         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
6726         arguments to record.
6727         * doc/autoconf.texi (config.status Invocation): Document
6728         config.status -q option.
6730 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
6732         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
6733         Makefile.in if Makefile.am exists.
6734         (output): Strip `.am' from Makefiles.  Don't
6735         output AC_CONFIG_FILES if no Makefiles were found.
6737 2002-11-07  Akim Demaille  <akim@epita.fr>
6739         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
6740         (local_updates): New.
6741         * Makefile.maint: Update, from CVS Bison.
6742         (local_updates): New.
6744 2002-11-06  Akim Demaille  <akim@epita.fr>
6746         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
6747         declaration in extern "C" too.
6748         Reported by Roberto Bagnara.
6750 2002-11-06  Akim Demaille  <akim@epita.fr>
6752         * tests/torture.at (Configuring subdirectories): Don't use grep
6753         -w.
6754         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
6755         Reported by Ezra Peisach.
6757 2002-11-05  Akim Demaille  <akim@epita.fr>
6759         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
6760         Remove.
6761         We _have_ to stop using the old compatibility scheme that tried to
6762         avoid useless backslashes because Libtool 1.4.3 contains a
6763         AC_DEFINE([error_t], [int],
6764         [Define to a type to use for \`error_t' if it is not
6765         otherwise available.])
6766         We _have_ to quote the single quote and backslashes with \.  The
6767         old compatibility scheme saw that ` was backslashed, and therefore
6768         did not quote the single quote.  Hence before this patch, Autoconf
6769         was not compatible with Libtool.
6771 2002-11-04  Paul Eggert  <eggert@twinsun.com>
6773         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
6774         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
6775         LC_NAME, LC_PAPER, LC_TELEPHONE.
6776         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
6778 2002-11-04  Akim Demaille  <akim@epita.fr>
6780         Version 2.54c.
6782         * Makefile.maint (update, cvs-update, po-update, do-po-update):
6783         New.
6784         * config/texinfo.tex: Update.
6786 2002-11-03  Akim Demaille  <akim@epita.fr>
6788         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
6789         from...
6790         (&autoreconf): here.
6791         ($help, $make, &parse_args, &autoreconf_current_directory):
6792         Support -m/--make.
6793         * doc/autoconf.texi (autoreconf Invocation): Adjust.
6795 2002-10-31  Bruno Haible  <bruno@clisp.org>
6797         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
6798         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
6799         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
6800         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
6801         to ac_cv_func_realloc_0_nonnull.
6802         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
6804 2002-10-31  Akim Demaille  <akim@epita.fr>
6806         The test suite was no longer checking for trailing envvars and files.
6808         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
6809         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
6811 2002-10-31  Akim Demaille  <akim@epita.fr>
6813         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
6814         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
6815         Make variable, not a shell variable.
6816         Suggested by Bruno Haible.
6818 2002-10-31  Akim Demaille  <akim@epita.fr>
6820         * bin/autom4te.in (load_configuration): Reject #args out of any
6821         language.
6823 2002-10-31  Akim Demaille  <akim@epita.fr>
6825         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
6826         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
6827         (_AC_RUN_IFELSE): Use it.
6828         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
6829         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
6830         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
6831         inline it.
6833 2002-10-30  Akim Demaille  <akim@epita.fr>
6835         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
6836         * doc/autoconf.texi (autom4te Invocation): Adjust.
6837         Suggested by Tim van Holder.
6839 2002-10-29  Paul Eggert  <eggert@twinsun.com>
6841         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
6842         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
6843         Problem reported by Bruno Haible.
6845 2002-10-29  Akim Demaille  <akim@epita.fr>
6847         * doc/autoconf.texi (Header Templates): Put also in words what the
6848         pictures says to assist free style readers.
6849         (Customizing autom4te): s/--cache=/--cache /.
6851 2002-10-29  Akim Demaille  <akim@epita.fr>
6853         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
6854         sys/wait.h.
6855         sparc_address_test returns void.
6856         Use it with an argument, as prototyped.
6857         From Bruno Haible.
6859 2002-10-29  Akim Demaille  <akim@epita.fr>
6861         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
6862         configure.in, not configure.ac.
6863         Reported by Bruno Haible.
6865 2002-10-29  Akim Demaille  <akim@epita.fr>
6867         * tests/torture.at (Deep Package): New test.
6868         (Configuring subdirectories): Don't use a testSubDir as Autotest
6869         now does it itself.
6871 2002-10-29  Akim Demaille  <akim@epita.fr>
6873         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
6874         * doc/autoconf.texi (Invoking autom4te): Rename as...
6875         (autom4te Invocation): this, for consistency with the other nodes.
6877 2002-10-29  Akim Demaille  <akim@epita.fr>
6879         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
6880         Reported by Ralf Corsepius.
6882 2002-10-29  Akim Demaille  <akim@epita.fr>
6884         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
6885         characters is a back as an `obsolete' warning now.
6886         Reported by Ralf Corsepius.
6888 2002-10-28  Akim Demaille  <akim@epita.fr>
6890         * configure.ac: Bump to 2.54c.
6892 2002-10-28  Akim Demaille  <akim@epita.fr>
6894         Version 2.54b.
6896         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
6898 2002-10-28  Akim Demaille  <akim@epita.fr>
6900         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
6901         m4 executable names, and different GNU M4 version.
6902         Reported by Ezra Peisach and Paul Jarc.
6904 2002-10-27  Akim Demaille  <akim@epita.fr>
6906         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
6907         AC_RUN_IFELSE.
6909 2002-10-27  Akim Demaille  <akim@epita.fr>
6911         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
6912         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
6913         Die when a simple Fortran program cannot be compiled.
6914         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
6915         Issue a warning if no function is given.
6917 2002-10-27  Akim Demaille  <akim@epita.fr>
6919         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
6920         Move the documentation of AC_TRY_RUN to...
6921         (Obsolete Macros): here.
6922         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
6923         (autoconf Invocation): Remove the duplicates with `invoking
6924         autom4te'.
6925         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
6926         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
6928 2002-10-27  Akim Demaille  <akim@epita.fr>
6930         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
6931         and AC_LANG_FUNC_LINK_TRY.
6932         (Examining Libraries): Rename as...
6933         (Running the Linker): this.
6934         Document AC_LINK_IFELSE.
6935         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
6936         (Obsolete Macros): here.
6937         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
6938         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
6939         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
6940         * lib/autoconf/headers.m4 (AC_USG): Likewise.
6942 2002-10-27  Akim Demaille  <akim@epita.fr>
6944         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
6946         More `check config.log' messages.
6948         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
6949         * doc/autoconf.texi (Printing Messages): Document it.
6950         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
6951         appropriate.
6952         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
6953         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
6954         (_AC_COMPILER_OBJEXT): Likewise.
6955         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
6956         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
6957         Likewise.
6958         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
6959         Likewise.
6961         Deprecate macros with unusual interfaces.
6963         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
6964         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
6966         Document the new ones, and proper style.
6968         * doc/autoconf.texi (Generating Sources): New.
6969         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
6970         (Examining Declarations): Rename as...
6971         (Running the Preprocessor): this.
6972         Document AC_PREPROC_IFELSE.
6973         (Examining Syntax): Rename as...
6974         (Running the Compiler): this.
6975         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
6976         (Obsolete Macros): Move the definition of AC_TRY_CPP and
6977         AC_TRY_COMPILE here.
6979 2002-10-27  Akim Demaille  <akim@epita.fr>
6981         Move sections around.
6983         * doc/autoconf.texi (Customizing autom4te): Remove a lost
6984         sentence.
6985         Reported by Burno Haible.
6986         (Language Choice): Now the first section of...
6987         (Writing Tests): this section.
6988         Make the introduction less C-centric.
6989         (Guidelines, Test Functions): Move to...
6990         (Writing Test Programs): this new section.
6991         (Test Programs): Merge into...
6992         (Run Time): this.
6994 2002-10-27  Akim Demaille  <akim@epita.fr>
6996         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
6997         autom4te.in that resulted in the need for two `make' runs.
6999 2002-10-27  Akim Demaille  <akim@epita.fr>
7001         * configure.ac: Bump to 2.54b.
7003 2002-10-25  Akim Demaille  <akim@epita.fr>
7005         Version 2.54a.
7007         * Makefile.maint: Update from the Coreutils.
7008         (AMTAR): Remove, obsolete.
7009         (automake_repo): Update to redhat.com.
7010         (cvs_file): New.
7011         Adjust to the fact that ansi2knr is now hosted by Automake.
7012         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
7013         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
7014         Update from masters.
7015         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
7016         autoscan.pre is not to be installed, and autoscan.list is not to
7017         be shipped.
7018         (CLEANFILES): Add autoscan.list.
7019         (autoscan.list): Disable the cache.
7020         * bin/Makefile.am: Include freeze.mk.
7022 2002-10-25  Akim Demaille  <akim@epita.fr>
7024         * bin/autom4te.in (&load_configuration): Take the file as
7025         argument.
7026         (&parse_args): Handle -C, --cache.
7027         ($help): Adjust.
7028         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
7029         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
7030         * doc/autoconf.texi (Invoking autom4te): Document --cache.
7031         Now a subsection of...
7032         (Using autom4te): This new section.
7033         (Customizing autom4te): New.
7034         (autom4te.cache): Adjust.
7036 2002-10-25  Akim Demaille  <akim@epita.fr>
7038         * doc/autoconf.texi (Generic Headers): More information on how to
7039         use AC_CHECK_HEADERS.
7041 2002-10-25  Akim Demaille  <akim@epita.fr>
7043         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
7044         Space changes.
7046 2002-10-25  Akim Demaille  <akim@epita.fr>
7048         * bin/autoscan.in (output): Output AC_PREREQ.
7049         (%needed_macros): Add AC_PREREQ so that configure.ac without one
7050         be reported.
7052 2002-10-23  Akim Demaille  <akim@epita.fr>
7054         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
7055         document _Bool.
7057 2002-10-23  Akim Demaille  <akim@epita.fr>
7059         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
7060         Reported by Peter Eisentraut.
7062 2002-10-23  Akim Demaille  <akim@epita.fr>
7064         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
7065         type _Bool.
7066         Fix a typo.
7067         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
7068         Eggert's recommandations.
7070 2002-10-22  Akim Demaille  <akim@epita.fr>
7072         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
7073         Bison, by Paul Eggert.
7074         * doc/autoconf.texi (Particular Headers): Document it.
7076 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
7078         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
7079         `$ac_configure_args'.
7081 2002-10-22  Akim Demaille  <akim@epita.fr>
7083         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
7084         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
7085         From Art Haas.
7087 2002-10-22  Akim Demaille  <akim@epita.fr>
7089         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
7091         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
7092         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
7093         (_AC_CHECK_HEADER_NEW): Rename as...
7094         (AC_CHECK_HEADER): this.
7096 2002-10-22  Akim Demaille  <akim@epita.fr>
7098         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
7099         words about HP-UX cmp: it was actually a user-written cmp.
7101 2002-10-22  Akim Demaille  <akim@epita.fr>
7103         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
7104         are a few warnings.
7105         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
7106         Quote for Perl '' strings, not "".
7107         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
7108         strings.
7110 2002-10-22  Akim Demaille  <akim@epita.fr>
7112         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
7113         characters is a syntax warning now.
7114         (_AS_QUOTE): Accept $2 as list of characters to quote.
7115         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
7116         Quote for Perl, not sh.
7117         * bin/autoheader.in: When $debug, report the file which is
7118         `do'ne.
7119         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
7120         `@', to tickle Perl's lists.
7121         Reported by Carlos Velasco.
7123 2002-10-18  Akim Demaille  <akim@epita.fr>
7125         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
7126         missing included files _are_ errors.
7127         Thanks to Alexandre Duret-Lutz.
7128         * tests/tools.at (autom4te cache): Adjust.
7129         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
7130         (AT_CHECK_M4SUGAR): Use it.
7131         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
7132         Adjust.
7133         * tests/tools.at (autom4te): Now it does exit 1.
7135 2002-10-17  Akim Demaille  <akim@epita.fr>
7137         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
7138         Fixes the `AC_ARG_VAR' test failures.
7139         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
7140         * lib/freeze.mk (check-forbidden-patterns): New.
7141         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
7142         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
7143         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
7144         /dev/null.
7145         Reported months ago by H. Merijn Brand.
7147 2002-10-17  Akim Demaille  <akim@epita.fr>
7149         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
7151 2002-10-16  Paul Eggert  <eggert@twinsun.com>
7153         * Makefile.maint (wget_files): Remove ansi2knr.c.
7154         (ansi2knr.c-url_prefix): Remove.
7156 2002-10-16  Akim Demaille  <akim@epita.fr>
7158         Because of caching, some files that no longer exist and are no
7159         longer required can still cause errors.
7160         Reported by Alexandre Duret-Lutz.
7162         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
7163         to frozen files in @ARGV, as @ARGV must remain being a list of
7164         files.  Rather, at M4 call sites, use this...
7165         (&files_to_options): New function.
7166         (&freeze): Use &error.
7167         (&up_to_date): If a file that was included according to the cache
7168         is no longer there, then the output is out dated.
7169         (&main): Don't even check whether a file is up to date is anyway
7170         --force is given.
7171         * tests/tools.at (autom4te cache): New.
7173 2002-10-16  Akim Demaille  <akim@epita.fr>
7175         * bin/autoconf.as: Kill dead options.
7176         * bin/autoupdate.in (&parse_args): Kill old options.
7177         * bin/autoreconf.in (&parse_args): Remove dead options.
7178         Factor some code.
7179         (&autoreconf): Report the directories we enter *and leave*, so
7180         that error messages can be easily located, and use GNU Make
7181         format, so that Emacs' compile mode understands us.
7182         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
7183         if some file was changed instead of `print'.
7184         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
7185         (&parse_args): Remove the dead options.
7186         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
7187         autoheader's quiet mode.
7188         (AT_CHECK_AUTOUPDATE): Likewise.
7189         * tests/tools.at (autoupdate): Adjust.
7190         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
7192 2002-10-11  Akim Demaille  <akim@epita.fr>
7194         No longer use CPP to check for the existing of headers: use CC to
7195         check for compilability.
7197         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
7198         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
7199         (_AC_CHECK_HEADER_NEW): Rename as...
7200         (AC_CHECK_HEADER): this.
7202         * lib/autotest/general.m4 (AT_INIT): Include the failed test
7203         numbers in the Subject suggestion.
7205 2002-10-11  Akim Demaille  <akim@epita.fr>
7207         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
7208         Suggest using AC_CHECK_DECLS instead.
7210 2002-10-11  Akim Demaille  <akim@epita.fr>
7212         * tests/torture.at (AC_ARG_VAR): Have configure report the value
7213         of `precious'.
7215 2002-10-11  Akim Demaille  <akim@epita.fr>
7217         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
7218         file name to enable parallel executions.
7219         From Sam Varshavchik.
7221 2002-10-08  Akim Demaille  <akim@epita.fr>
7223         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
7224         aclocal invocation, as Gettext macros might not be visible to
7225         aclocal.
7226         Instead of blindly running autopoint, scan configure.ac (not the
7227         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
7228         Reported by Paul D. Smith.
7230 2002-10-08  Paul Eggert  <eggert@twinsun.com>
7232         Work around problems found when POSIXLY_CORRECT=1 is set.
7233         None of this seems to have anything to do with POSIX, really,
7234         but it's how Perl getopt works.
7235         * bin/autom4te.in (parse_args): Configure GetOpt with
7236         "permute", too.
7237         * doc/autoconf.texi (Invoking autom4te):
7238         --warning -> --warnings.
7239         * lib/autom4te.in: --warning -> --warnings.
7241 2002-09-28  Akim Demaille  <akim@epita.fr>
7243         * doc/autoconf.texi (autom4te.cache): New section.
7245 2002-09-28  Akim Demaille  <akim@epita.fr>
7247         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
7248         (Automake-preselections): Update.
7249         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
7251 2002-09-28  Akim Demaille  <akim@epita.fr>
7253         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
7254         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
7255         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
7256         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
7258 2002-09-28  Akim Demaille  <akim@epita.fr>
7260         * tests/torture.at (Configuring subdirectories): Be robust to
7261         users who use config.site to require for a cache: in this case,
7262         the two last configure runs, using two different sets of
7263         arguments, trigger a legitimate error.
7265 2002-09-28  Akim Demaille  <akim@epita.fr>
7267         * tests/m4sh.at (Functions Support, Functions and return Support):
7268         New.
7270 2002-09-28  Akim Demaille  <akim@epita.fr>
7272         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
7273         autoheader are Perl programs.
7274         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
7275         (autom4te): Specify that the sources are in the $srcdir.
7276         * doc/autoconf.texi (Installation Directory Variables): Adjust.
7278 2002-09-28  Akim Demaille  <akim@epita.fr>
7280         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
7281         (tm_zone): Move their rules to...
7282         * lib/autoconf/types.m4: here, using AN_ macros.
7283         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
7284         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
7285         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
7286         * lib/autoconf/programs.m4: here.
7287         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
7288         (ETAGS_FOR_AUTOCONF): New.
7289         Use it.
7291 2002-09-28  Akim Demaille  <akim@epita.fr>
7293         * lib/autoconf/autoscan.m4: New file.
7294         * lib/autoconf/autoconf.m4: Include it.
7295         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
7296         that were listed in the original autoscan.list.
7297         * lib/autoconf/headers.m4: Similarly with headers.
7298         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
7299         (.m4.m4f): Don't pass --prepend-include, since that's done by
7300         tests/autom4te itself.
7301         * lib/autoscan/Makefile.am: Include freeze.mk.
7302         (autoscan.list): New target --this file is no longer a source.
7303         (autoscan.pre): New file.
7305 2002-09-28  Akim Demaille  <akim@epita.fr>
7307         * bin/autoscan.in (@kinds): Make them singular.
7308         Adjust all uses.
7309         (&init_tables): When --debug, report the list of rules to ease
7310         tracking changes in autoscan.list.
7311         * lib/autoscan/autoscan.list (function): Strip comments, sort.
7313 2002-09-28  Akim Demaille  <akim@epita.fr>
7315         * lib/autoscan/functions, lib/autoscan/headers,
7316         * lib/autoscan/identifiers, lib/autoscan/makevars,
7317         * lib/autoscan/programs: Merge into...
7318         * lib/autoscan/autoscan.list: this.
7319         * bin/autoscan.in (&init_tables): Adjust.
7321 2002-09-28  Akim Demaille  <akim@epita.fr>
7323         * lib/autoscan/functions, lib/autoscan/headers,
7324         * lib/autoscan/identifiers, lib/autoscan/makevars,
7325         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
7326         `functions' line is now prefixed with `function:'.
7327         * bin/autoscan.in (&init_tables): Adjust.
7329 2002-09-28  Akim Demaille  <akim@epita.fr>
7331         From now on, autoscan files must always map a macro name to a
7332         word: there is no `default' macro for autoscan.
7334         * bin/autoscan.in (&init_tables): Reject entries with no macro at
7335         all.
7336         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
7337         explicit.
7339 2002-09-28  Akim Demaille  <akim@epita.fr>
7341         * bin/autoscan.in (%c_keywords): Remove.
7342         (&used): Keep only track of the words we might be interested in.
7343         (&output_kind): It is no longer needed to look for non active
7344         checks.
7346 2002-09-27  Akim Demaille  <akim@epita.fr>
7348         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
7349         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
7350         * lib/autoscan/functions: Adjust.
7351         * doc/autoconf.texi (Particular Functions): Adjust.
7353 2002-09-27  Akim Demaille  <akim@epita.fr>
7355         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
7356         from /tmp.
7357         Thanks to Bill Moseley and Paul Eggert.
7358         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
7359         the tmpdir must be created.
7360         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
7361         dir be in the build tree, instead of $TMPDIR.
7363 2002-09-27  Akim Demaille  <akim@epita.fr>
7365         * bin/autoscan.in: Improve the comments.
7366         (&parse_args): Drop obsolete undocumented options.
7367         (&output_kind): Output warnings.
7368         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
7369         (getwd): Trigger a warning.
7371 2002-09-26  Akim Demaille  <akim@epita.fr>
7373         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
7374         Reported by Ralf Corsepius.
7375         * doc/autoconf.texi (autoreconf Invocation): Likewise.
7377 2002-09-26  Akim Demaille  <akim@epita.fr>
7379         Single suffix rules and seperated dependencies are not portable.
7381         * doc/autoconf.texi (Installation Directory Variables): Update.
7382         (Limitations of Make): Some about `Single Suffix Rules and
7383         Separated Dependencies'.
7384         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
7385         (ifnames, autoscan, autom4te): Un-factor into several rules.
7387 2002-09-25  Paul Eggert  <eggert@twinsun.com>
7389         * BUGS (Interoperability bugs): New section.  Mention libtool
7390         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
7392 2002-09-24  Paul Eggert  <eggert@twinsun.com>
7394         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
7395         make handles suffix-rules differently from GNU make.
7397         * bin/Makefile.am (SUFFIXES, .in): Remove.
7398         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
7399         Move the body of the old .in rule here.
7401 2002-09-16  Akim Demaille  <akim@epita.fr>
7403         i960 compilers create `b.out' files by default.
7404         Reported by Ralf Corsepius.
7406         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
7407         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
7409 2002-09-13  Paul Eggert  <eggert@twinsun.com>
7411         * doc/autoconf.texi (Particular Headers): Remove obsolete
7412         reference to `struct timezone' in the description of
7413         AC_HEADER_TIME.
7415 2002-09-13  Akim Demaille  <akim@epita.fr>
7417         Version 2.54.
7419         * config/config.sub, config/config.guess: Update.
7420         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
7421         * Makefile.am: Adjust.
7423 2002-09-13  Akim Demaille  <akim@epita.fr>
7425         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
7426         reading config.log when the compiler is rejected.
7427         Suggested by Guido Draheim.
7429 2002-09-13  Akim Demaille  <akim@epita.fr>
7431         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
7432         (chdir_init) might hang when stat'ing mounted directories.
7433         Reported by Vance Shipley.
7435 2002-09-12  Akim Demaille  <akim@epita.fr>
7437         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
7438         the lists.
7440 2002-09-12  Akim Demaille  <akim@epita.fr>
7442         * doc/autoconf.texi (Defining Symbols): Present two different
7443         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
7444         difference between 1 argument calls, and 2-3 argument calls.
7446 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
7448         * doc/autoconf.texi: Review grammar and punctuation.
7450 2002-09-11  Paul Eggert  <eggert@twinsun.com>
7452         * doc/autoconf.texi: Fix minor formatting, spelling, and
7453         grammatical typos.
7454         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
7455         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
7456         is obsolescent.
7458 2002-09-11  Akim Demaille  <akim@epita.fr>
7460         * doc/autoconf.texi (Questions): Rename as...
7461         (FAQ): this.
7462         (Defining Directories): New.
7464 2002-09-09  Akim Demaille  <akim@epita.fr>
7466         * doc/autoconf.texi (Making testsuite Scripts): Update.
7467         Suggested by Nishio Futoshi.
7469 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
7471         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
7472         plain `@' is wanted.
7474 2002-09-09  Akim Demaille  <akim@epita.fr>
7476         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
7477         `duplicates', since the algorithm was too naive and could keep
7478         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
7479         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
7480         Reported by Ralf Corsepius.
7481         * tests/torture.at (Configuring subdirectories): Exercise these
7482         cases.
7484 2002-09-09  Akim Demaille  <akim@epita.fr>
7486         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
7487         looking for a replacement file.
7488         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
7489         directory is relative.
7490         * doc/autoconf.texi (Generic Functions): Clarify the replacement
7491         directory definition.
7492         Reported by Andreas Schwab and Jim Meyering.
7494 2002-09-06  Akim Demaille  <akim@epita.fr>
7496         * doc/autoconf.texi (Setting Output Variables): Clarify what
7497         precious variables are.
7498         Suggested by Pontus Skoeld.
7500 2002-09-05  Akim Demaille  <akim@epita.fr>
7502         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
7503         (ifnames, autoscan, autom4te): Since we don't only depend on
7504         configure.ac variables (such as VERSION etc.), but also on prefix
7505         and so forth, depend on Makefile, not configure.ac.
7506         Reported by Alexandre Duret-Lutz.
7507         * doc/autoconf.texi (Installation Directory Variables): Adjust.
7509 2002-09-05  Kevin Ryde  <user42@zip.com.au>
7511         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
7512         doesn't seem to be confined to ia64, just say "some versions".
7514 2002-09-04  Akim Demaille  <akim@epita.fr>
7516         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
7517         Automake 1.6c.
7518         * Makefile.am (maintainer-clean-local): Remove.
7519         (MAINTAINERCLEANFILES): Remove COPYING.
7521 2002-09-03  Paul Eggert  <eggert@twinsun.com>
7523         * doc/autoconf.texi (Configuration Commands): Remove obsolete
7524         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
7525         Brinkmann.
7527 2002-09-03  Akim Demaille  <akim@epita.fr>
7529         * configure.ac: Bump to 2.53d.
7530         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
7531         as of today, on Automake's team suggestion.
7533 2002-09-03  Akim Demaille  <akim@epita.fr>
7535         Version 2.53c.
7537 2002-09-02  Akim Demaille  <akim@epita.fr>
7539         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
7540         SITE_MACRO_DIR.
7541         * configure.ac: Disable SITE_MACRO_DIR.
7543 2002-09-02  Jim Meyering  <meyering@lucent.com>
7545         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
7546         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
7547         Also, tweak grammar: s/make sure to/be sure to/.
7549 2002-09-02  Paul Eggert  <eggert@twinsun.com>
7551         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
7552         directory names are generally preferable to physical names.
7554 2002-09-02  Akim Demaille  <akim@epita.fr>
7556         * lib/Autom4te/General.pm (&update_file): s/die/error/.
7557         Reported by Raja R. Harinath.
7558         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
7559         * bin/autoupdate.in: Use error instead of die.
7561 2002-09-01  Paul Eggert  <eggert@twinsun.com>
7563         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
7564         ordinary shell concatenation rather than echo+tr+sed command that
7565         runs afoul of a long-line-related sed bug in Solaris 8.
7567         * bin/autoheader.in (parse_args): --warning -> --warnings.
7569         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
7570         stdout, as traditional "ls" does.
7571         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
7572         _AC_COMPILER_EXEEXT_O): Likewise.
7573         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
7575         * bin/autoconf.as: Add --prepend-include option.  This patch was
7576         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
7577         but bin/autoconf.in is generated automatically from bin/autoconf.as.
7579         * bin/autoconf.in, configure: Regenerate.
7581         * doc/autoconf.texi (Special Shell Variables): Mention
7582         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
7584         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
7585         MAILPATH and set PS1, PS2, PS4 to default values, to work
7586         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
7587         For LC_ALL etc, first try to set to "C" as POSIX requires and as
7588         the Autoconf documentation specifies; fall back to "unset" only if
7589         this fails.  Use a shell for-loop for this rather than an m4 loop,
7590         to shorten the output script.
7592 2002-08-30  Paul Eggert  <eggert@twinsun.com>
7594         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
7595         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
7596         for the CDPATH problem.  Document PWD.
7597         (Limitations of Builtins): Document the problem that "cd $foo" and
7598         "ls $foo" may refer to different directories in shells conforming
7599         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
7600         example, since the old example is now out of date.
7602         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
7603         FOO" and "ls FOO" talk about different directories; this catches
7604         problems when POSIX 1003.1-2001 "cd" fails due to symlink
7605         spaghetti.
7607         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
7608         of rolling our own unset.
7609         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
7610         in practice we needn't worry about CDPATH if unset doesn't work.
7612         * Makefile.in, aclocal.m4, bin/Makefile.in,
7613         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
7614         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
7615         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
7616         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
7617         tests/Makefile.in: Regenerate with Automake 1.6.3.
7619         * config/config.guess, config/config.sub, config/mkinstalldirs:
7620         Update.
7622         * configure: Regenerate with self.
7624 2002-08-30  Kevin Ryde  <user42@zip.com.au>
7626         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
7627         default output.
7629 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7631         * bin/autom4te.in (Request::load): Correctly test for "do" read
7632         failure.
7634 2002-08-29  Akim Demaille  <akim@epita.fr>
7636         * lib/Autom4te/General.pm (&xqx): New.
7637         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
7638         hand, which is not portable.
7639         (&error): New.
7640         * bin/autom4te.in: Use them.
7641         Use &error instead of die.
7642         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
7643         Adjust.
7645 2002-08-17  Paul Eggert  <eggert@twinsun.com>
7647         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
7648         default list of compilers to try, since it was long ago superseded
7649         by the ksh fc builtin.  Suggested by Steven G. Johnson.
7651 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
7653         * doc/autoconf.texi (Invoking autom4te): End the option table,
7654         fixing a bug introduced by the previous patch.
7655         (Limitations of Make): Add a 'target lookup' subentry in the
7656         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
7658 2002-07-29  Mark D. Roth  <roth@feep.net>
7660         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
7661         options and use $AUTOM4TE_PATH.
7662         * doc/autoconf.texi: Remove documentation of autom4te
7663         --include-envvar and --site-macro-subdir options and document
7664         use of $AUTOM4TE_PATH.
7665         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
7666         arguments from each language section.
7668 2002-07-29  Paul Eggert  <eggert@twinsun.com>
7670         * doc/install.texi: Include copyright symbol in copyright notice.
7672         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
7673         Replace with:
7674         (AM_MAKEINFOFLAGS): New macro.
7675         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
7676         * Makefile.am (INSTALL): Use the new macros.
7677         Use -o rather than --output, since "missing" does not grok --output.
7679 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
7681         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
7682         comments do not always work. Never trust the exit status of
7683         `make -k'.
7685 2002-07-24  Kevin Ryde  <user42@zip.com.au>
7687         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
7688         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
7690 2002-07-23  Paul Eggert  <eggert@twinsun.com>
7692         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
7693         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
7694         apparently treats PATH="nonexistent" as if it contained ".".
7695         Bug reported by Stefan `Sec' Zehl.
7697 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
7699         * doc/autoconf.texi (Limitations of Make): Mention the special
7700         handling of the obj/ directory by BSD make.
7702 2002-07-20  Kevin Ryde  <user42@zip.com.au>
7704         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
7705         backslashes.
7707 2002-07-19  Akim Demaille  <akim@epita.fr>
7709         * doc/autoconf.texi (Function Portability): `exit'.
7710         (Programming in M4sh): Ethymology of M4sh.
7712 2002-07-19  Akim Demaille  <akim@epita.fr>
7714         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
7716 2002-07-18  Akim Demaille  <akim@epita.fr>
7718         Version 2.53b.
7720 2002-07-18  Akim Demaille  <akim@epita.fr>
7722         * config/config.guess, config/config.sub: Update.
7724 2002-07-18  Akim Demaille  <akim@epita.fr>
7726         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
7727         Automake's parts.
7729         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
7730         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
7731         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
7733 2002-07-18  Akim Demaille  <akim@epita.fr>,
7734             Alexandre Duret-Lutz  <duret_g@epita.fr>
7736         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
7737         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
7739 2002-07-17  Russ Allbery  <rra@stanford.edu>
7741         * doc/autoconf.texi (Initializing configure): Clarify the
7742         description of the tarname default.
7744 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
7746         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
7747         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
7748         latter was not run.
7750 2002-07-17  Akim Demaille  <akim@epita.fr>
7752         * lib/Autom4te/General.pm (find_file): Browse the directories in
7753         the order they are given.
7755 2002-07-17  Akim Demaille  <akim@epita.fr>
7757         * tests/wrapsh.as, tests/wrappl.as: Merge into...
7758         * tests/wrapper.as: this.
7759         * tests/Makefile.am, configure.ac: Adjust.
7761 2002-07-17  Mark D. Roth  <roth@feep.net>
7763         * configure.ac: Add --enable-site-macro-dir option.
7764         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
7765         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
7766         --site-macro-subdir options.
7767         * bin/autoconf.in: Add --prepend-include option.
7768         * bin/autoheader.in: Add --prepend-include option.
7769         * bin/autoreconf.in: Add --prepend-include option.
7770         * bin/autoscan.in: Add --prepend-include option.
7771         * bin/autoupdate.in: Add --prepend-include option.
7772         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
7773         macro directory, remove note that include path directories are
7774         used in reverse order, and document --prepend-include option.
7775         * lib/autom4te.in: Use --prepend-include instead of --include.
7776         * tests/wrapsh.in: Use --prepend-include instead of --include.
7778 2002-07-17  Akim Demaille  <akim@epita.fr>
7780         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
7781         tarnames.
7782         * doc/autoconf.texi (Initializing configure): Adjust.
7784 2002-07-17  Akim Demaille  <akim@epita.fr>
7786         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
7787         (_AC_FUNC_MALLOC): New.
7788         (AC_FUNC_MALLOC): Use the latter.
7789         Define HAVE_MALLOC to 0 if broken.
7790         * doc/autoconf.texi (Particular Functions): Adjust.
7792 2002-07-16  Akim Demaille  <akim@epita.fr>
7794         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
7795         * doc/autoconf.texi (C Compiler): Adjust.
7797 2002-07-09  Akim Demaille  <akim@epita.fr>
7799         * doc/autoconf.texi: Properly set the ``header'' part.
7801 2002-07-09  Akim Demaille  <akim@epita.fr>
7803         * doc/autoconf.texi (Systemology): Some about Darwin.
7805 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
7807         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7808         Don't use AC_REQUIRE in AU_DEFUN.
7810 2002-07-09  Art Haas  <ahaas@neosoft.com>
7812         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
7814 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
7816         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7817         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
7818         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
7819         so that Emacs setups GNU style for perl-mode and cperl-mode.
7821 2002-06-27  Paul Eggert  <eggert@twinsun.com>
7823         * config/install-sh: Quote $src.  Prefer || to test's -o option,
7824         as per "Limitations of Builtins".
7825         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
7826         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
7828         * tests/mktests.sh: Use grep instead of fgrep, as per
7829         "Limitations of Builtins".
7831 2002-06-15  Paul Eggert  <eggert@twinsun.com>
7833         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
7834         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
7835         so that we consistently test the just-built programs.
7836         * tests/wrappl.as: Likewise.
7838 2002-06-12  Paul Eggert  <eggert@twinsun.com>
7840         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
7841         name, so that symlinks to 'autoconf' work properly.  Bug reported
7842         by Bruno Haible.
7843         * bin/autoheader.in (AUTOM4TE): Likewise.
7844         * bin/autoreconf.in (autoconf, autoheader): Likewise.
7845         * bin/autoscan.in (autom4te): Likewise.
7846         * bin/autoupdate.in (autom4te): Likewise.
7848         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
7849         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
7850         on Solaris 2.5.1.
7852 2002-06-11  Andreas Schwab  <schwab@suse.de>
7854         * doc/autoconf.texi: Add more dir entries.
7856 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
7858         * bin/autom4te.in ($cache): Don't define using `$me', the name
7859         of the cache should not depend on the name under which autom4te
7860         was installed.
7862 2002-06-07  Akim Demaille  <akim@epita.fr>
7864         * tests/tools.at (autoconf: forbidden tokens, basic)
7865         (autoconf: forbidden tokens, exceptions): Adjust to the change of
7866         words in autom4te.in.
7868 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
7870         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
7871         _AC_LANG_PROGRAM_C_F77_HOOKS.
7873 2002-06-07  Akim Demaille  <akim@epita.fr>
7875         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
7876         rename as...
7877         (AC_REPLACE_FNMATCH): this.
7878         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
7879         AC_FUNC_FNMATCH_GNU.
7881 2002-06-07  Akim Demaille  <akim@epita.fr>
7883         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
7884         Rosetta Stone for Unix.
7886 2002-06-07  Akim Demaille  <akim@epita.fr>
7888         * bin/autom4te.in (warn_forbidden): When rejecting a token,
7889         suggest m4_pattern_allow.
7890         Suggested by Adam J. Richter.
7892 2002-06-07  Akim Demaille  <akim@epita.fr>
7894         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
7895         ac_config_libobj_dir.
7896         (AC_CONFIG_LIBOBJ_DIR): New.
7897         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
7898         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
7899         Use ac_config_libobj_dir to find the replacement files.
7900         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
7901         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
7902         (AC_REPLACE_FNMATCH_GNU): these.
7903         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
7904         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
7905         * tests/mktests.sh (ac_exclude_list): Don't check
7906         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
7908 2002-06-06  Paul Eggert  <eggert@twinsun.com>
7910         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
7911         if ln doesn't work.
7912         * NEWS: Likewise.
7913         * doc/autoconf.texi (Configuration Links): Likewise.
7914         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
7916 2002-06-05  Paul Eggert  <eggert@twinsun.com>
7918         * config/config.guess, config/config.sub, config/texinfo.tex:
7919         Update from masters.
7921 2002-05-29  Paul Eggert  <eggert@twinsun.com>
7923         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
7924         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
7925         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
7926         Likewise.
7927         * lib/autoconf/Makefile.am (check-local): Likewise.
7928         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
7929         * lib/autoconf/types.m4 (commentary only): Likewise.
7930         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
7931         * lib/autotest/Makefile.am (check-local): Likewise.
7932         * lib/m4sugar/Makefile.am (check-local): Likewise.
7933         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
7934         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
7936         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
7937         * doc/autoconf.texi (Particular Programs): Document them.
7938         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
7939         * NEWS: Likewise.
7941 2002-05-27  Paul Eggert  <eggert@twinsun.com>
7943         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
7944         * NEWS, doc/autoconf.texi (Particular Types): Document it.
7945         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
7946         instead of AC_MBSTATE_T, which never existed.
7948 2002-05-23  Akim Demaille  <akim@epita.fr>
7950         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
7951         version of Autoconf that is discussed.
7953 2002-05-22  Paul Eggert  <eggert@twinsun.com>
7955         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
7956         from the default list of compilers to try.  Suggested by
7957         Kate Hedstrom.
7958         * NEWS: Document the above.
7959         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
7961 2002-05-17  Paul Eggert  <eggert@twinsun.com>
7963         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
7964         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
7965         This improves on an earlier suggestion by H. Peter Anvin.
7967 2002-05-16  Paul Eggert  <eggert@twinsun.com>
7969         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
7970         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
7971         Both macros now accept an optional source-dir arg.
7972         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
7974         * NEWS: Document this.
7975         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
7977         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
7978         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
7979         not for GNU extensions; this undoes part of the 2000-11-03 change,
7980         reverting to 2.13-compatible behavior.
7981         Add new optional argument DIR.
7982         (AC_FUNC_FNMATCH_GNU): New macro.
7984         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
7986 2002-05-08  Paul Eggert  <eggert@twinsun.com>
7988         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
7989         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
7990         and it causes a 'test' syntax error if it fails.
7991         Bug reported by Stephen Gildea.
7993         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
7994         If prototypes are supported, use them to check this at compile-time,
7995         instead of trying to check it at run-time.  If we must do a run-time
7996         check, assume that setvbuf is standard when cross-compiling, as
7997         nonstandard setvbuf occurs only on ancient and unlikely hosts.
7998         Bug reported by Paul D. Smith.
8000         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
8001         argument specifying location of getloadavg.c.  This removes a
8002         FIXME.  This idea was taken from Jim Meyering's implementation in
8003         textutils.
8004         * doc/autoconf.texi (Particular Functions): Document this.
8005         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
8006         that's what the code does; this fixes a bug reported by
8007         Paul D. Smith.
8009 2002-05-03  Akim Demaille  <akim@epita.fr>
8011         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
8012         autopoint instead of gettextize.
8013         ($uses_alocal): Rename as...
8014         ($uses_aclocal): this.
8015         * doc/autoconf.texi (autoreconf Invocation): Adjust.
8016         Suggested by Bruno Haible.
8018 2002-05-03  Akim Demaille  <akim@epita.fr>
8020         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
8022 2002-04-29  Paul Eggert  <eggert@twinsun.com>
8024         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
8025         files to be 1 second older; just set them to be the same time.
8026         Also, sleep 1 second after the first aclocal, to work around
8027         problems with sub-second time stamps on the input files.
8029 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
8031         * doc/autoconf.texi: Mention "set -e -x" lossage
8032         under node "Limitations of Builtins".
8034 2002-04-29  Akim Demaille  <akim@epita.fr>
8036         * doc/install.texi: Better wording for setting variables when
8037         running configure.
8038         From Christian Cornelssen.
8040 2002-04-29  Akim Demaille  <akim@epita.fr>
8042         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
8043         of lack of $LINENO support, then the test will compare the $LINENO
8044         in testsuite vs. the lineno in the test file.  This is wrong, of
8045         course.
8046         Be sure to protect it.
8047         Reported by Patrick Welche.
8049 2002-04-25  Akim Demaille  <akim@epita.fr>
8051         * doc/autoconf.texi (Obsolete Macros): Typo.
8052         Reported by Vladimir Volovich.
8054 2002-04-25  Akim Demaille  <akim@epita.fr>
8056         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
8057         than some of the input files, hence, on the second run of aclocal,
8058         if some of its input are younger, make them older.
8059         Suggested by Paul Eggert.
8061 2002-04-25  Akim Demaille  <akim@epita.fr>
8063         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
8064         Thanks to Paul Eggert.
8066 2002-04-25  Akim Demaille  <akim@epita.fr>
8068         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
8069         and ac_subst_vars be sh variables containing the list of
8070         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
8071         DEFAULT diversion.
8072         (_AC_INIT_PREPARE): Use them to log them.
8073         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
8074         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
8075         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
8076         _AC_SUBST_FILES and _AC_SUBST_VARS.
8077         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
8079 2002-04-24  Akim Demaille  <akim@epita.fr>
8081         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
8082         autoheader, so that automake does not complain about a missing
8083         config.h.in that was to be created.
8085 2002-04-23  Akim Demaille  <akim@epita.fr>
8087         * bin/autoheader.in (parse_args): --warning takes an argument.
8088         Fixes PR/220.
8090 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
8092         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
8093         and bb.out when cleaning up.
8095 2002-04-22  Akim Demaille  <akim@epita.fr>
8097         Version 2.53a.
8099 2002-04-22  Akim Demaille  <akim@epita.fr>
8101         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
8103 2002-04-22  Akim Demaille  <akim@epita.fr>
8105         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
8106         comma.
8107         Reported by Gregory Giannoni.
8109 2002-04-22  Akim Demaille  <akim@epita.fr>
8111         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
8112         Fixes false failures on Darwin.
8114 2002-04-21  Paul Eggert  <eggert@twinsun.com>
8116         * TODO, bin/autoupdate.in, doc/autoconf.texi,
8117         lib/autoconf/general.m4, lib/autoconf/libs.m4,
8118         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
8119         tests/tools.at: Minor spelling and grammar fixes.
8121 2002-04-20  Paul Eggert  <eggert@twinsun.com>
8123         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
8124         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
8125         * lib/autotest/general.m4 (AT_INIT): Likewise.
8126         * tests/atgeneral.m4 (AT_INIT): Likewise.
8128 2002-04-19  Paul Eggert  <eggert@twinsun.com>
8130         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
8131         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
8132         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
8133         lib/autoconf/functions.m4, lib/autoconf/general.m4,
8134         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
8135         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
8136         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
8137         Minor spelling and grammar fixes.
8139         * doc/autoconf.texi: Follow the outline suggested in the GNU
8140         Sample Texts sections of the Texinfo 4.2 manual.  Most
8141         importantly, this makes sure that the copyright notices appear in
8142         all output formats.  You probably need Texinfo 4.2 to generate
8143         the manual now.
8145         Fix some bugs when using "$@" when there might be zero positional
8146         arguments in cases where this matters.
8148         * bin/autoconf.as: Rewrite so that the problem does not come up.
8149         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
8150         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
8151         * lib/autotest/general.m4 (AT_INIT): Likewise.
8153         * bin/autoheader.in: Use 'case' statement to work around problem.
8154         * bin/auto4mte.in: Likewise.
8155         * bin/autoreconf.in: Likewise.
8156         * bin/autoscan.in: Likewise.
8157         * bin/autoupdate.in: Likewise.
8158         * bin/ifnames.in: Likewise.
8160         * doc/autoconf.texi (Shell Substitutions): Document the problem.
8162         * lib/autotest/general.m4 (AT_INIT):
8163         Use Zsh alias to work around problem.
8164         * tests/atgeneral.m4 (AT_INIT): Likewise.
8166         * tests/c.at: We can't have zero arguments, so remove workaround
8167         that is not portable to Zsh.
8169 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
8171         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
8172         from aclocal.m4 too.
8174 2002-04-12  Akim Demaille  <akim@epita.fr>
8176         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
8178 2002-04-10  Akim Demaille  <akim@epita.fr>
8180         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
8181         workaround for ${1+"$@"}.
8182         * doc/autoconf.texi (Shell Substitutions): Explain it.
8183         From Oliver Kiddle and Peter Stephenson.
8185         Have M4sh perform minimal shell sanitizing.
8187         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
8188         part into...
8189         (_AS_PREPARE): this new macro.
8190         (AS_PREPARE): New.
8191         (AS_INIT): Invoke AS_SHELL_SANITIZE.
8192         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
8194         Adjust Autoconf and Autotest.
8196         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
8197         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
8198         * lib/autotest/general.m4 (AT_INIT): Likewise.
8199         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
8200         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
8201         AS_SHELL_SANITIZE.
8203         Use this M4sh to generate Autoconf's shell scripts.
8205         * tests/wrapsh.as: New, precursor of wrapsh.in.
8206         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
8207         on Autotest and M4sh.
8208         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
8209         (wrapsh.in): New target.
8210         * bin/autoconf.as: New, precursor of autoconf.in.
8211         (autoconf.in): New target.
8213 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
8215         * doc/autoconf.texi (Limitations of Make): Mention the issue
8216         with indented comments in rules.
8218 2002-04-09  Andreas Schwab  <schwab@suse.de>
8220         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
8221         ac_top_builddir when setting ac_abs_top_builddir.
8223 2002-04-06  Kevin Ryde  <user42@zip.com.au>
8225         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
8226         (Portable Shell): Cross reference to Systemology.
8228 2002-04-05  Akim Demaille  <akim@epita.fr>
8230         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
8231         directories when descending in a SUBDIRS.
8232         Reported by Ezra Peisach.
8234 2002-04-04  Andreas Schwab  <schwab@suse.de>
8236         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
8237         contains no literal separators.
8239 2002-04-03  Akim Demaille  <akim@epita.fr>
8241         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
8242         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
8243         Use dnl, not the KILL diversion.
8244         Extracted from...
8245         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
8246         (AC_CONFIG_LINKS): here.
8247         Adjust.
8248         Don't use the KILL diversion, as it kills spurious output, which
8249         results in failures being hidden.
8250         Use m4_defn where appropriate.
8251         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
8252         after the second argument.
8253         Use m4_defn.
8254         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
8255         syntax, as it is provided by M4sugar.
8256         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
8258 2002-04-03  Andreas Schwab  <schwab@suse.de>
8260         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
8261         expanded if $# <= 2.
8263         * bin/autoreconf.in (autoreconf): Run automake after rerunning
8264         aclocal.
8266 2002-04-03  Akim Demaille  <akim@epita.fr>
8268         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
8269         (_AC_COMPILER_EXEEXT_REJECT): New.
8270         Also recognize *.bb and *.bbg as compilation byproducts.
8271         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
8272         (_AC_COMPILER_OBJEXT): Use them.
8273         Fixes Debian #138666.
8275 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
8277         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
8279         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
8280         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
8281         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
8282         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
8283         (AC_C_CONST): Same.
8284         (AC_C_INLINE): Same.
8285         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
8286         * doc/autoconf.texi, NEWS: Document.
8287         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
8288         AC_C_CROSS.
8290 2002-04-02  Akim Demaille  <akim@epita.fr>
8292         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
8293         _AS_MKDIR_P_PREPARE.
8295 2002-03-28  Kevin Ryde  <user42@zip.com.au>
8297         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
8298         to avoid versions of HP C which don't allow that.
8300 2002-03-27  Paul Eggert  <eggert@twinsun.com>
8302         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
8303         (AS_SHELL_SANITIZE): Invoke it.
8304         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
8306 2002-03-26  Akim Demaille  <akim@epita.fr>
8308         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
8310 2002-03-26  Akim Demaille  <akim@epita.fr>
8312         * doc/autoconf.texi (Introduction): The GNATS base moved.
8314 2002-03-25  Paul Eggert  <eggert@twinsun.com>
8316         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
8317         as POSIX requires, as it doesn't work with Zsh.
8318         * doc/autoconf.texi (Assignments): Document the problem.
8320 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
8322         * doc/autoconf.texi (Limitations of Make): Mention more issue
8323         about VPATH, overriding of macros in sub-makes, and handling of
8324         SHELL.
8326 2002-03-21  Paul Eggert  <eggert@twinsun.com>
8328         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
8329         problem with here-document buffer boundaries.
8331         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
8332         when reinvoking the shell, to work around problems with installers
8333         who put strange things like "cd" commands in their environments.
8335 2002-03-19  Akim Demaille  <akim@epita.fr>
8337         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
8338         From Aaron Ucko.
8340 2002-03-19  Akim Demaille  <akim@epita.fr>
8342         * bin/autoscan.in (scan_file): Specify the location in `&used'
8343         invocations.
8344         From Nicolas Joly.
8346 2002-03-19  Akim Demaille  <akim@epita.fr>
8348         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
8349         From Nishio Futoshi.
8351 2002-03-19  Akim Demaille  <akim@epita.fr>
8353         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
8355 2002-03-18  Paul Eggert  <eggert@twinsun.com>
8357         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
8358         (Limitations of Usual Tools): Add mkdir section.
8360         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
8361         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
8362         back on AS_DIRNAME to compute prefixes otherwise; this is
8363         roughly what mkinstalldirs does.  That way, we need not have
8364         our own filename disassembler.  The old disassembler did not
8365         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
8367         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
8368         Create at_test_all by a series of assignments,
8369         not by a single assignment of a long string.  The latter causes ksh
8370         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
8371         presumably because of a buffer overrun.
8373 2002-03-14  Paul Eggert  <eggert@twinsun.com>
8375         * lib/autotest/general.m4 (at_times_skip):
8376         Renamed from at_times.  Now a boolean.
8377         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
8378         says 'times: not found'.
8380 2002-03-14  Akim Demaille  <akim@epita.fr>
8382         * bin/autoreconf.in (&study_gettextize): New.
8383         (&autoreconf): Handle newest gettextize.
8384         Rerun aclocal if needed.
8385         Suggested by Andreas Schwab.
8387 2002-03-13  Akim Demaille  <akim@epita.fr>
8389         * doc/autoconf.texi (Special Shell Variables): More about IFS.
8391 2002-03-13  Akim Demaille  <akim@epita.fr>
8393         * doc/autoconf.texi (Header Portability): New.
8394         Add information about stdint.h and inttypes.h from Paul Eggert.
8396 2002-03-13  Akim Demaille  <akim@epita.fr>
8398         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
8399         -p'.
8400         From Bob Proulx.
8402 2002-03-12  Akim Demaille  <akim@epita.fr>
8404         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
8405         m4_require.
8407 2002-03-11  Andreas Schwab  <schwab@suse.de>
8409         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
8410         does not do it if --with-lispdir is given.
8412 2002-03-08  Akim Demaille  <akim@epita.fr>
8414         Version 2.53.
8416 2002-03-08  Akim Demaille  <akim@epita.fr>
8418         * doc/autoconf.texi (Subdirectories): Clarify that the
8419         subdirectory should exist.
8421 2002-03-08  Akim Demaille  <akim@epita.fr>
8423         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
8425 2002-03-08  Akim Demaille  <akim@epita.fr>
8427         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
8428         aliases the actual variables, and modifications of the former
8429         affect the latter.
8431 2002-03-08  Akim Demaille  <akim@epita.fr>
8433         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
8434         because of C-c: have m4 output in tmp files, then mv them.
8436 2002-03-08  Akim Demaille  <akim@epita.fr>
8438         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
8439         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
8440         * bin/ifnames.in: Copyright update.
8442 2002-03-08  Akim Demaille  <akim@epita.fr>
8444         * doc/autoconf.texi (Invoking autom4te): New.
8446 2002-03-05  Akim Demaille  <akim@epita.fr>
8448         * doc/autoconf.texi (Specifying Names): Clarification suggested by
8449         Kevin Ryde.
8451 2002-03-05  Akim Demaille  <akim@epita.fr>
8453         Version 2.52i.
8455 2002-03-04  Akim Demaille  <akim@epita.fr>
8457         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
8458         * lib/autoconf/general.m4 (AC_INIT): More informative error
8459         message for LIBOBJ.
8461 2002-03-04  Akim Demaille  <akim@epita.fr>
8463         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
8464         parallel builds.
8466 2002-03-04  Akim Demaille  <akim@epita.fr>
8468         * doc/autoconf.texi (Transforming Names): Equality between target
8469         and host is irrelevant.
8470         (Specifying Names, Canonicalizing): Remove all references to the
8471         backward compatibility hooks.  Rather, collect them all into...
8472         (Hosts and Cross-Compilation): this new section.
8473         * doc/install.texi (System Type): Ditto.
8474         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
8475         that `--host' implies cross-compilation.
8477 2002-03-04  Akim Demaille  <akim@epita.fr>
8479         * doc/autoconf.texi (Evaluation Macros): New.
8480         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
8481         useless.
8482         (_m4_foreach): Define the variant with immediate evaluation so
8483         that it contains exactly the items, not an expression which
8484         evaluation is the current item.
8485         (m4_re_string, m4_re_word): Don't over quote them.
8487 2002-03-04  Akim Demaille  <akim@epita.fr>
8489         Instead of having stacking `shift's evaluated at the end, let
8490         `foreach' loops immediately evaluate them.
8492         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
8493         $*.  This is the n-th time I change my mind, but hopefully this is
8494         the last...
8495         (m4_lquote): New.
8496         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
8497         efficient.
8498         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
8499         it was only a hack for m4_text_wrap.
8500         (m4_car2): Remove, replaced by...
8501         (m4_cdr): New.
8502         (_m4_foreach): Adjust.
8503         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
8504         m4_bpatsubst for clarification.
8506 2002-03-04  Akim Demaille  <akim@epita.fr>
8508         * doc/autoconf.texi (Changequote is Evil): New.
8510 2002-03-03  Kevin Ryde  <user42@zip.com.au>
8512         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
8513         on old systems like SunOS.
8515 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
8517         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8518         lib/autoconf/functions.m4, lib/autoconf/general.m4,
8519         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
8520         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
8521         of messages.
8523 2002-02-28  Akim Demaille  <akim@epita.fr>
8525         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
8526         message to be sent.
8528 2002-02-28  Kevin Ryde  <user42@zip.com.au>
8530         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
8532 2002-02-25  Akim Demaille  <akim@epita.fr>
8534         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
8535         From Akinori Musha.
8537 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
8539         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
8540         translate \r\n to \n.
8542 2002-02-07  Akim Demaille  <akim@epita.fr>
8544         Version 2.52h.
8546 2002-02-07  Akim Demaille  <akim@epita.fr>
8548         Fix Autoconf PR/209.
8549         Also reported by Frank Denis.
8551         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
8553 2002-02-07  Akim Demaille  <akim@epita.fr>
8555         Fix Autoconf PR/207:
8556         AC_PREFIX_PROGRAM fails with dashed program names
8558         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
8559         variable when looking for the prefix program.
8560         Now it also works for shell variables.
8562 2002-02-07  Akim Demaille  <akim@epita.fr>
8564         * doc/autoconf.texi (Limitations of Builtins): More about
8565         case/esac.
8567 2002-02-06  Akim Demaille  <akim@epita.fr>
8569         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
8570         case/esac, some shells don't support it.
8571         Reported by Zack Weinberg.
8572         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
8574 2002-02-06  Akim Demaille  <akim@epita.fr>
8576         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
8577         sure not to introduce newlines in at_groups.
8578         * lib/autotest/Makefile.am (autotest.m4f): Typo.
8580 2002-02-06  Akim Demaille  <akim@epita.fr>
8582         * tests/torture.at (Configuring subdirectories): Skip if aclocal
8583         is not available.
8585 2002-02-05  Paul Eggert  <eggert@twinsun.com>
8587         * doc/autoconf.texi (Specific Compiler Characteristics):
8588         Describe HP-UX cc bug workaround more accurately.
8589         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
8590         not unsigned long.
8591         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
8592         cross-compilers, too.  This undoes some of the most recent change
8593         to this file.
8595 2002-02-05  Akim Demaille  <akim@epita.fr>
8597         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
8598         to make sure they are up to date when `check' is run.
8600 2002-02-05  Akim Demaille  <akim@epita.fr>
8602         * doc/autoconf.texi (Making testsuite Scripts): Document
8603         package.m4.
8605 2002-02-05  Akim Demaille  <akim@epita.fr>
8607         * lib/freeze.mk: New.
8609 2002-02-05  Akim Demaille  <akim@epita.fr>
8611         Implement `autom4te --freeze'.
8613         * bin/autom4te.in (&freeze): New.
8614         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
8615         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
8617 2002-02-05  Akim Demaille  <akim@epita.fr>
8619         * bin/autom4te.in (&parse_args): Implement `frozen files are
8620         optional are the sum of the previous files on the command line'.
8621         Also, pass `--reload-state=' on them, so...
8622         (handle_m4): don't.
8623         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
8624         (M4sh): Rely on M4sugar.
8625         (Autotest, M4sh, M4sugar): Use frozen files.
8627 2002-01-31  Akim Demaille  <akim@epita.fr>
8629         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
8630         * doc/autoconf.texi (Initializing configure): Adjust.
8632 2002-01-30  Akim Demaille  <akim@epita.fr>
8634         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
8635         alphanumeric to `-' instead of `_'.
8637 2002-01-30  Akim Demaille  <akim@epita.fr>
8639         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
8640         for plain code, the other for cross-compilation code.  The latter
8641         is now run with GCC only.
8642         * doc/autoconf.texi (Compilers and Preprocessors): New.
8644 2002-01-30  Akim Demaille  <akim@epita.fr>
8646         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
8647         values.
8648         * doc/autoconf.texi (Initializing configure): Explain how to
8649         change AC_INIT default values.
8651 2002-01-29  Akim Demaille  <akim@epita.fr>
8653         * tests/torture.at (Configuring subdirectories): Use configure.in,
8654         so that aclocal 1.4 works.
8655         Reported by Alexandre Duret-Lutz and Larry Schmitt.
8657 2002-01-28  Akim Demaille  <akim@epita.fr>
8659         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
8660         needs an argument.
8662 2002-01-28  Akim Demaille  <akim@epita.fr>
8664         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
8665         AUTOTEST_PATH *after* it was set.
8666         Don't put `.' in the PATH: the user should be precise and `./' if
8667         needed.  In addition, given that the test suite does some `cd', if
8668         `.' is in the path, the `tested programs' sections will report
8669         programs found in the test suite's directory, while during the
8670         tests (performed in their own directory), these programs are no
8671         longer visible.  In other words, the results is confusing and
8672         useless.
8673         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
8675 2002-01-24  Akim Demaille  <akim@epita.fr>
8677         Version 2.52g.
8679 2002-01-24  Akim Demaille  <akim@epita.fr>
8681         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
8682         * doc/autoconf.texi: Finally add Akim as an author.
8684 2002-01-24  Akim Demaille  <akim@epita.fr>
8686         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
8687         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
8688         Bourne. Use /bin/sh.
8689         From Andreas Buening.
8691 2002-01-24  Akim Demaille  <akim@epita.fr>
8693         * config/config.guess, config/config.sub, config/texinfo.tex:
8694         Update from masters.
8696 2002-01-24  Akim Demaille  <akim@epita.fr>
8698         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
8699         * config/auxdir.m4, config/cond.m4, config/depend.m4,
8700         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
8701         * config/missing.m4, config/sanity.m4, config/select.m4,
8702         * config/strip.m4: Remove, to ease sync'ing with any version of
8703         Automake.
8705 2002-01-24  Akim Demaille  <akim@epita.fr>
8707         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
8708         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
8709         Reported by Geir Ove Myhr.
8711 2002-01-21  Akim Demaille  <akim@epita.fr>
8713         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
8715 2002-01-21  Akim Demaille  <akim@epita.fr>
8717         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
8718         message on invalid options.
8719         * bin/autom4te.in (parse_args): Don't use
8720         Autoconf::General::getopt with non valid options.
8722 2002-01-17  Jim Meyering  <meyering@lucent.com>
8724         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
8725         $ac_cv_exeext so we don't use an old, invalid, cached value.
8727 2002-01-11  Akim Demaille  <akim@epita.fr>
8729         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
8730         Meyering.
8731         * doc/autoconf.texi (Function Portability): Document the strnlen
8732         limitation.
8733         (Particular Functions): Document AC_FUNC_STRNLEN.
8734         * lib/autoscan/functions: Adjust.
8736 2002-01-06  Akim Demaille  <akim@epita.fr>
8738         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
8739         package.m4, since is really depends upon configure.ac, not
8740         configure.
8741         * doc/autoconf.texi (testsuite Scripts): Adjust.
8742         * tests/Makefile.am (package.m4): New.
8743         EXTRA_DIST it since its a source.
8745 2002-01-06  Akim Demaille  <akim@epita.fr>
8747         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
8748         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
8749         and PACKAGE_BUGREPORT from here...
8750         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
8751         arguments.
8752         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
8753         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
8754         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
8755         * tests/tools.at (autoheader): Adjust.
8756         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
8758 2002-01-06  Akim Demaille  <akim@epita.fr>
8760         * bin/autoscan.in (scan_file): Use `&used'.
8762 2002-01-03  Akim Demaille  <akim@epita.fr>
8764         * doc/autoconf.texi (Output): Improved wording regarding use of
8765         AC_OUTPUT.
8766         From Olly Betts.
8768 2001-12-18  Kevin Ryde  <user42@zip.com.au>
8770         * doc/autoconf.texi (Function Portability): Add notes on sscanf
8771         sometimes needing writable input.
8773 2001-12-17  Jim Meyering  <meyering@lucent.com>
8775         * doc/autoconf.texi (New Macros): Tweak wording.
8777 2001-12-14  Akim Demaille  <akim@epita.fr>
8779         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
8780         trailing files, don't apply `-rf' to files which might not be
8781         created by configure (core, core.*, and *.core), but just `rm -f'.
8782         Suggested by Jonathan Kamens.
8784 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
8786         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
8788 2001-12-14  Akim Demaille  <akim@epita.fr>
8790         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
8792 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
8794         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
8795         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
8796         abs_srcdir, top_srcpath to abs_top_srcdir.
8797         (_AC_OUTPUT_FILES): Adjust.
8798         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
8799         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
8800         * tests/wrappl.in, tests/wrapsh.in: Adjust.
8802 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
8804         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
8805         C/Fortran linking on HP/UX, by extracting the Fortran library
8806         search path from the LPATH line in the $F77 -v output.
8808 2001-12-12  Kevin Ryde  <user42@zip.com.au>
8810         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
8811         forbidden file descriptors table.
8813 2001-11-26  Akim Demaille  <akim@epita.fr>
8815         * bin/autoscan.in (%c_keywords): Build it at top level.
8816         Map to 1 in order to simplify its uses.
8818 2001-11-26  Akim Demaille  <akim@epita.fr>
8820         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
8821         Remove $filepath, useless.
8822         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
8823         variables, they are really part of the tokens.
8824         Split the input line on spaces and then look for tokens.
8825         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
8826         because of `lex$U.$(OBJEXT)'.
8827         (&scan_files): Use "@list" instead of join.
8828         * doc/Makefile.am (CLEANFILES): Add *.fns.
8830 2001-11-26  Akim Demaille  <akim@epita.fr>
8832         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
8833         Remove, replaced by...
8834         * tests/wrappl.in: Be common for all the Perl executables.
8835         In particular autoscan and autoheader want -I.
8836         * configure.ac: Adjust.
8837         * lib/autoscan/headers: errno.h is portable.
8839 2001-11-26  Akim Demaille  <akim@epita.fr>
8841         * bin/autoscan.in (used): New.
8842         Use it.
8844 2001-11-26  Akim Demaille  <akim@epita.fr>
8846         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
8847         directives.
8848         (&scan_sh_file): Remove a duplicate pattern.
8849         (&check_configure_ac): Use long options.
8850         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
8852 2001-11-26  Akim Demaille  <akim@epita.fr>
8854         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
8855         Before, having a line containing the opening of a multi line
8856         comment made the whole line be ignored.
8858 2001-11-26  Akim Demaille  <akim@epita.fr>
8860         * doc/autoconf.texi (Using an Autotest Test Suite): New.
8861         (testsuite Scripts): Be one of its subsection.
8862         (Autotest Logs): New.
8864 2001-11-26  Akim Demaille  <akim@epita.fr>
8866         Test groups are now run two directories deeper.
8868         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
8869         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
8870         at_top_builddir.
8871         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
8872         top_srcdir, builddir and top_builddir.
8873         Use `at_*dir' relatively to the directory containing the
8874         suite, use `*dir' when relatively to the current group dir.
8876 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
8878         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
8879         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
8880         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
8881         spelling errors.
8883 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
8885         * doc/autoconf.texi (Using System Type): Add an example of `case
8886         $host' usage so people quit using `case $target' everywhere.
8888 2001-11-22  Akim Demaille  <akim@epita.fr>
8890         * doc/autoconf.texi (Installation Directory Variables): Englishoes
8891         spotted by Jim Meyering.
8893 2001-11-16  Paul Eggert  <eggert@twinsun.com>
8895         This patch implements a `long double' suggestion by Oliver Kiddle.
8897         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
8898         static, to catch errors if the value isn't known at compile-time
8899         and the compiler supports dynamic arrays.  Change its name from
8900         `_array_' to `test_array' to avoid potential name clashes.
8901         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
8902         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
8903         better than double.  Catch a bug in GCC 2.95.2 x86.
8904         * doc/autoconf.texi (C Compiler): Document the above.
8905         * NEWS: Likewise.
8907 2001-11-13  Akim Demaille  <akim@epita.fr>
8909         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
8910         hand.
8911         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
8913 2001-11-13  Akim Demaille  <akim@epita.fr>
8915         * lib/autotest/general.m4 (AT_INIT): After having run the test
8916         group, go back to the initial directory, not to at_suite_dir.
8918 2001-11-13  Akim Demaille  <akim@epita.fr>
8920         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
8921         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
8922         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
8923         option.
8924         (AT_CHECK_CONFIGURE): Use absolute paths.
8925         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
8926         The problem is still the old one: there is no means in M4 (that I
8927         know about) to create a defining macro, because there is no means
8928         to create `$1' etc., therefore, the defining macro ``swallows''
8929         all the arguments meant to the defined macro.
8931 2001-11-13  Akim Demaille  <akim@epita.fr>
8933         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
8934         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
8935         configure.ac.
8936         * tests/aclocal.m4: Remove, as it is no longer used.
8938 2001-11-13  Akim Demaille  <akim@epita.fr>
8940         * lib/autotest/general.m4: Change `tests?' into `groups?' in
8941         variable names when referring to a single test group, or to
8942         `suite' when referring to the whole test suite.
8943         `at_last_test' is removed: m4 compute at_format itself.
8944         (at_stdout, at_stder1, at_stderr): New variables.
8945         (AT_CHECK): Use them.
8947 2001-11-13  Akim Demaille  <akim@epita.fr>
8949         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
8950         in PATH.
8951         Create `testsuite.dir/003/run' instead of `testsuite.003'.
8952         Do it as soon as a test fails, don't wait till the end of the test
8953         suite.
8954         Don't remove $as_me.[0-9]*, since these files no longer exist.
8956 2001-11-13  Akim Demaille  <akim@epita.fr>
8958         * tests/tools.at: Use absolute paths, since we are no longer run
8959         in place.
8961 2001-11-13  Akim Demaille  <akim@epita.fr>
8963         Now that tests are running in their own private dir, there is no
8964         need to list the files to remove at the end of tests groups.
8966         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
8967         (AT_data_files, at_data_files): Remove.
8968         (AT_CLEANUP, AT_DATA): Simplify.
8969         (AT_INIT): Adjust.
8970         Remove the group dir if !debug && !failed.
8971         * tests/atspecific.m4: Adjust.
8973 2001-11-13  Akim Demaille  <akim@epita.fr>
8975         Start a new layout for Autotest: `testsuite' creates
8976         `testsuite.dir' in which the at-check-line etc. files are to be
8977         found, and `testsuite.dir/003' where the test group 3 is run.
8979         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
8980         at_check_line_file, at_format, at_test_normalized, at_group_dir
8981         are new variables.
8982         Create the directories.
8983         Use absolute paths for at- files.
8984         (AT_CHECK): Adjust.
8986 2001-11-11  Michael Matz  <matz@kde.org>
8988         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
8989         (m4_car2): New.
8990         (m4_car): Properly quote arguments.
8992 2001-11-13  Akim Demaille  <akim@epita.fr>
8994         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
8995         with stricter rules on LIBOBJS.
8997 2001-11-12  Paul Eggert  <eggert@twinsun.com>
8999         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
9000         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
9001         __PROTOTYPES too.
9003 2001-11-12  Akim Demaille  <akim@epita.fr>
9005         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
9007 2001-11-12  Akim Demaille  <akim@epita.fr>
9009         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9010         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
9011         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
9012         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
9013         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
9014         specify to what the macro should be defined (typically to 1).
9016 2001-11-12  Akim Demaille  <akim@epita.fr>
9018         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
9019         From Jim Meyering.
9021 2001-11-12  Akim Demaille  <akim@epita.fr>
9023         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
9024         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
9025         definition used by Automake where LEX is +/- "${missing} lex" and
9026         `missing' itself contains variables.
9028 2001-11-12  Akim Demaille  <akim@epita.fr>
9030         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
9031         Now that M4sh pushes BODY, the comments were output at the end of
9032         the test suites.
9034 2001-11-08  Akim Demaille  <akim@epita.fr>
9036         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
9037         that we can trace macros from aclocal.m4.
9038         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
9039         obsoleted, and redirect to the former anyway.
9040         Reported by Ralf Corsepius.
9042 2001-11-08  Akim Demaille  <akim@epita.fr>
9044         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
9045         processed only if present.
9046         * tests/torture.at (Configuring subdirectories): Use autoreconf
9047         instead of successive calls to autoconf.
9048         Add a nonexistent subdirectory to exercise the patch above.
9049         Reported by Ralf Corsepius.
9051 2001-11-08  Kevin Ryde  <user42@zip.com.au>
9053         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
9054         doesn't accept .S files.
9056 2001-11-07  Akim Demaille  <akim@epita.fr>
9058         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
9059         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
9060         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
9061         * bin/autom4te.in (warn_forbidden): New.
9062         (handle_output): Use it.
9063         Read m4_pattern_forbid with messages.
9065 2001-11-05  Akim Demaille  <akim@epita.fr>
9067         * bin/autom4te.in (--normalize): Remove.
9068         * lib/autom4te.in: Adjust.
9070 2001-11-05  Akim Demaille  <akim@epita.fr>
9072         * tests/Makefile.am (testsuite): Rename this target as...
9073         ($(TESTSUITE)): this.
9074         From Nicolas Joly.
9076 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
9078         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
9079         the --prefix option, also remove it's argument.
9081 2001-11-05  Akim Demaille  <akim@epita.fr>
9083         * doc/autoconf.texi (testsuite Invocation): Update.
9084         (Writing testsuite.at): Update.
9086 2001-11-03  Akim Demaille  <akim@epita.fr>
9088         * doc/autoconf.texi: s/@code/@command/ where appropriate.
9090 2001-11-03  Akim Demaille  <akim@epita.fr>
9092         * lib/Autom4te/General.pm: (&catfile, &canonfile)
9093         (&file_name_is_absolute): New, wrappers around routines from
9094         File::Spec.
9095         Use and export them.
9096         (&find_configure_ac): Optionally take a directory where to look at.
9097         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
9098         the arguments.
9099         Default @ARGV to `.', not find_configure_ac.
9100         (&autoreconf): Argument is a directory.
9101         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
9102         * doc/autoconf.texi (autoreconf Invocation): Update.
9104 2001-11-03  Akim Demaille  <akim@epita.fr>
9106         * lib/Autom4te/General.pm (@export_vars, @export_subs)
9107         (@export_forward_subs): New.
9108         Add basename, dirname, and fileparse.
9109         (@EXPORT): Adjust.
9110         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
9111         Don't look for aclocal flags if we already know aclocal is not
9112         used.
9113         Move aclocal.m4t only if it exists.
9114         Reported by Ezra Peisach.
9116 2001-11-03  Akim Demaille  <akim@epita.fr>
9118         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
9119         passed on command line, defaulting to ./configure.ac if present.
9120         (&maybe_autoreconf, File::Find): Remove, unused.
9121         (&autoreconf): If autoconf is not used, don't try to trace.
9123 2001-11-02  Akim Demaille  <akim@epita.fr>
9125         * configure.ac: Bump to 2.52g.
9127 2001-11-02  Akim Demaille  <akim@epita.fr>
9129         Version 2.52f.
9131 2001-11-02  Akim Demaille  <akim@epita.fr>
9133         * config/config.guess, config/config.sub, doc/standards.texi:
9134         * config/lispdir.m4: Update from masters.
9135         * configure.ac: Bump to 2.52f.
9137 2001-11-02  Akim Demaille  <akim@epita.fr>
9139         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
9140         Don't run aclocal when aclocal.m4 is not from aclocal.
9141         From Ezra Peisach.
9142         Don't run libtoolize and gettextize if --install is not given.
9144 2001-11-01  Paul Eggert  <eggert@twinsun.com>
9146         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
9147         be invoked before _AS_LINENO_PREPARE.
9148         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
9149         than character ranges.
9151         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
9152         invoking AS_BASENAME.  Set the locale variables to 'C' if
9153         possible, as POSIX requires this to get the traditional
9154         behavior.
9155         * doc/autoconf.texi (Special Shell Variables): Describe the above.
9157 2001-10-31  Paul Eggert  <eggert@twinsun.com>
9159         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
9160         with {}, as that triggers a bug in Bash 2.05.
9162         (_AS_LINENO_PREPARE): Use Sed rather than
9163         Awk.  Fix the sed prepass to work even if there are multiple
9164         instances of $LINENO on the same line.  Do not substitute for
9165         other variables like $LINENOT.  Do not check file dates; such a
9166         check is unreliable on sufficiently fast machines, and removing
9167         the check makes the code simpler and more reliable.  Check for
9168         output and chmod failures.
9170         * doc/autoconf.texi (Special Shell Variables): Document
9171         the above.
9173 2001-10-31  Akim Demaille  <akim@epita.fr>
9175         * tests/Makefile.am (atconfig): Remove this target, Automake
9176         handles it now.
9178 2001-10-31  Akim Demaille  <akim@epita.fr>
9180         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
9181         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
9182         provided, while it is optional.
9183         * configure.ac: Adjust.
9185 2001-10-26  Paul Eggert  <eggert@twinsun.com>
9187         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
9188           lib/Autom4te/Struct.pm:
9189         Require Perl 5.005_03 instead of just 5.005, as some tests fail
9190         with 5.005_02.
9192         * doc/autoconf.texi (Special Shell Variables): Document some
9193         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
9195         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
9196         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
9197         eval $LINENO is not portable in practice.
9199 2001-10-24  Akim Demaille  <akim@epita.fr>
9201         * lib/Autom4te/General.pm (backname): New.
9203 2001-10-24  Akim Demaille  <akim@epita.fr>
9205         * m4/: Remove, merged into...
9206         * config/: here.
9208 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
9210         * doc/autoconf.texi (Shellology): Mention the problems with bash
9211         2.05's use of ANSI quoting in its `set' builtin.
9213 2001-10-22  Paul Eggert  <eggert@twinsun.com>
9215         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
9216         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
9217         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
9218         POSIX decided to standardize on the int flavor of strerror_r.
9219         Always do char* test, as there's no reason not to.
9220         Assign to a char* var, to catch strerror_r that returns int*.
9222         * doc/autoconf.texi (Particular Functions):
9223         Document the above changes.  Also, document the fact that
9224         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
9226         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
9228 2001-10-20  Akim Demaille  <akim@epita.fr>
9230         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
9231         the executable was missing from the log.
9233 2001-10-20  Akim Demaille  <akim@epita.fr>
9235         * lib/Autom4te/General.pm (&update_file): If destination is
9236         unchanged, remove the source.
9237         (&up_to_date_p): Don't be verbose, be debug.
9238         * bin/autoreconf.in: No longer support --m4dir.
9239         (&autoreconf): Display the full path of the configure.ac we are
9240         studying.
9241         Trace it only once.
9242         Be sure to honor --force with gettextize.
9243         Always run aclocal.
9244         * doc/autoconf.texi: Adjust.
9246 2001-10-20  Akim Demaille  <akim@epita.fr>
9248         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
9249         Remove, dead.
9250         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
9251         `intl' is already present, as it refuses unless --force.
9252         (&parse_args): Use -I, --include instead of the old Autoconf
9253         options.
9254         ($localdir, $autoconf_dir): Remove.
9255         (@include): New.
9256         (&maybe_autoreconf): New, to preserve $_ for File::Find.
9258 2001-10-19  Jens Petersen  <petersen@redhat.com>
9260         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
9261         * doc/autoconf.texi (Particular Programs): Likewise.
9263 2001-10-19  Akim Demaille  <akim@epita.fr>
9265         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
9266         file in @configure_input@.
9267         Don't mention `automatically' in addition to `generated'.
9268         * tests/torture.at (#define header templates): Adjust.
9270 2001-10-19  Akim Demaille  <akim@epita.fr>
9272         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
9273         comment, explain how to install automatic mode selection.
9274         From Russ Allbery.
9276 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
9278         * bin/autoreconf.in (autoreconf): Display the path to the
9279         configure.ac being studied.
9281 2001-10-18  Paul Eggert  <eggert@twinsun.com>
9283         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
9284         long, to work around a bug in the HP C compiler version HP92453-01
9285         B.11.11.23709.GP.
9287         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
9288         (AS_BASENAME_EXPR): New macro.
9289         (AS_BASENAME_SED): Do not assume GNU sed semantics.
9290         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
9291         and fall back on 'sed' only if the other two fail.  This makes
9292         AS_BASENAME act more like AS_DIRNAME.
9293         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
9294         contains white space.
9295         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
9296         Use AS_DIRNAME, since I think it's now DOS-friendly.
9297         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
9298         Allow "dirname //FOO" to return either / or //, as POSIX allows
9299         either behavior.
9301 2001-10-10  Akim Demaille  <akim@epita.fr>
9303         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
9304         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
9305         From Eric Sharkey.
9307 2001-10-10  Akim Demaille  <akim@epita.fr>
9309         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
9310         m4_define, since...
9311         (_AS_ECHO_N): AS_REQUIREs it.
9313 2001-10-10  Akim Demaille  <akim@epita.fr>
9315         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
9316         (AC_INCLUDES_DEFAULT): Move to...
9317         * lib/autoconf/headers.m4: here.
9318         * lib/autoconf/types.m4: Comment changes.
9319         * doc/autoconf.texi: Specify where the default includes are used
9320         in the macro prototypes.
9322 2001-10-09  Akim Demaille  <akim@epita.fr>
9324         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
9325         transition code.
9327 2001-10-08  Akim Demaille  <akim@epita.fr>
9329         * bin/autoreconf.in (&autoreconf): Remove debugging code.
9330         (&parse_args): Pass verbosity/debugging options to subtools when
9331         --debug, not when --verbose.
9332         * lib/autom4te.in (Autoreconf-preselections): New.
9333         (Autoconf): Use it.
9335 2001-10-08  Akim Demaille  <akim@epita.fr>
9337         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
9339 2001-10-08  Akim Demaille  <akim@epita.fr>
9341         * doc/autoconf.texi (autoreconf Invocation): Adjust.
9342         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
9344 2001-10-08  Akim Demaille  <akim@epita.fr>
9346         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
9347         (Syntax of the shell scripts): Don't.
9348         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
9349         bother with $force since...
9350         * lib/Autom4te/General.pm: does.
9352 2001-10-08  Akim Demaille  <akim@epita.fr>
9354         * bin/autoreconf.in: Rewrite in Perl.
9355         * configure.ac: Adjust.
9356         * lib/Autom4te/General.pm (&up_to_date_p): New.
9357         * bin/autom4te.in (&up_to_date_p): Use it.
9358         Rename as...
9359         (&up_to_date): this.
9361 2001-10-08  Akim Demaille  <akim@epita.fr>
9363         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
9364         (m4_list_cmp): Use $0 to reinvoke yourself.
9365         (m4_patsubsts): New.
9366         (m4_strip, m4_version_unletter): Use it.
9367         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
9369 2001-10-08  Akim Demaille  <akim@epita.fr>
9371         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
9372         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
9373         * lib/autoconf/types.m4, lib/autotest/general.m4,
9374         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
9375         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
9376         m4_bregexp, m4_bpatsubst, and m4_bmatch.
9377         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
9379 2001-10-08  Akim Demaille  <akim@epita.fr>
9381         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
9383 2001-10-08  Akim Demaille  <akim@epita.fr>
9385         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
9386         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
9387         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
9388         * tests/tools.at, tests/m4sh.at: Use it.
9389         * tests/m4sh.at: Don't rely on Autoconf macros.
9390         (DIRNAME_TEST): Also exercise the expr variant.
9391         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
9392         preferred M4sugar extension is now `.4s'.
9393         * tests/README: Remove.
9395 2001-10-08  Akim Demaille  <akim@epita.fr>
9397         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
9398         (m4_provide_if): this.
9399         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
9400         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
9401         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
9402         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
9404 2001-10-08  Akim Demaille  <akim@epita.fr>
9406         Use `add-log-current-defun-function' for ChangeLog creation.
9407         Suggested by Tom Tromey.
9409         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
9410         (autotest-mode): Adjust.
9411         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
9412         'comment-region onto `C-c ;'.
9413         Comments are `#', not `dnl'.
9414         (autoconf-current-defun): New.
9415         (autoconf-font-lock-keywords): Recognize `m4_defun'.
9417 2001-10-08  Akim Demaille  <akim@epita.fr>
9419         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
9420         * lib/m4sugar/m4sh.m4: here.
9421         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
9422         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
9423         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
9424         include handle the m4_pattern_*, no longer push the
9425         BODY diversion nor set the /bin/sh line, AS_INIT does it.
9426         * lib/autotest/general.m4 (AT_INIT): Likewise.
9427         * tests/base.at: Adjust the tests to use AS_INIT.
9428         * tests/tools.at (AT_DATA_FORBIDDEN): New.
9429         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
9430         Autoconf.
9432 2001-10-07  Paul Eggert  <eggert@twinsun.com>
9434         * doc/autoconf.texi (config.status Invocation):
9435         CONFIG_SHELL defaults to a shell that supports LINENO if available.
9437         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
9438         shell does not support LINENO, and if CONFIG_SHELL is unset or
9439         empty, and if we can find a shell that does support LINENO,
9440         then set CONFIG_SHELL to that shell and then re-execute
9441         ourselves with CONFIG_SHELL.
9443 2001-10-05  Paul Eggert  <eggert@twinsun.com>
9445         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
9446         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
9447         build of $(TESTSUITE).
9449 2001-10-05  Akim Demaille  <akim@epita.fr>
9451         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
9452         iff we are a bareword.
9453         Reported by Raja R Harinath.
9455 2001-10-05  Akim Demaille  <akim@epita.fr>
9457         * tests/m4sh.at (LINENO): New.
9458         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
9459         PATH_SEPARATOR before using it.
9460         Fix the absolute path case/esac pattern.
9461         Provide $0 as fallback for as_myself.
9462         Reported by Raja R Harinath.
9464 2001-10-05  Akim Demaille  <akim@epita.fr>
9466         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
9467         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
9469 2001-10-05  Akim Demaille  <akim@epita.fr>
9471         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
9472         (AS_SHELL_SANITIZE): here.  Use it.
9473         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
9474         From Paul Eggert.
9476 2001-10-04  Akim Demaille  <akim@epita.fr>
9478         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
9479         combination of Awk and sed to replace $LINENO.
9481 2001-10-02  Paul Eggert  <eggert@twinsun.com>
9483         * doc/autoconf.texi (Limitations of Builtins): You can't use
9484         "source"; it's not portable.  Remove confusing and
9485         somewhat-incorrect example involving "." and "/".
9487         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
9488         compatibility with POSIX shells.
9490 2001-10-02  Akim Demaille  <akim@epita.fr>
9492         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
9493         instead of exec'ing to preserve $0 and $@.
9495 2001-10-01  Akim Demaille  <akim@epita.fr>
9497         * tests/testsuite (AT_INIT) <at_pass_list>: New.
9498         Don't run twice the same test.
9500 2001-10-01  Akim Demaille  <akim@epita.fr>
9502         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
9503         No longer output the list of tests.
9504         <--list>: New option.
9505         <--full-help>: Remove.
9506         Complete the short/long options duality.
9507         Various small adjustments.
9509 2001-10-01  Akim Demaille  <akim@epita.fr>
9511         * doc/autoconf.texi: Use @kbd for user input.
9512         Always use `$' as shell prompt.
9514 2001-09-30  Paul Eggert  <eggert@twinsun.com>
9516         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
9517         Don't use nested parenthesization.  This patch was originally
9518         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
9519         but somehow it didn't get incorporated then.
9520         * doc/autoconf.texi (Limitations of Usual Tools):
9521         Clarify remark about sed and nested parenthesization.
9523         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
9524         Report an error if the size cannot be determined even though
9525         the type exists.
9526         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
9527         Check for `expr' arithmetic overflow, and for compilation failure,
9528         and invoke a new argument $4 if either is discovered.
9529         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
9530         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
9532 2001-09-28  Akim Demaille  <akim@epita.fr>
9534         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
9535         * m4/lispdir.m4: New.
9536         * aclocal.m4, configure.ac: Adjust.
9538 2001-09-28  Akim Demaille  <akim@epita.fr>
9540         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
9541         (AT_TESTED): this.
9542         (AT_INIT): More the wrapped section to where it will be expanded.
9543         Output `AT_tested' only when existing.
9544         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
9546 2001-09-27  Akim Demaille  <akim@epita.fr>
9548         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
9549         generates too many bug reports.
9551         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
9552         status when executing the ACTION-IF-FALSE.
9553         * tests/base.at (AC_TRY_*): Rename as...
9554         (AC_TRY_COMMAND): this.
9555         (AC_RUN_IFELSE): New.
9556         * tests/compile.at (Extensions, C keywords)
9557         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
9558         (Broken/missing compilers, AC_PROG_CPP with warnings)
9559         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
9560         * tests/c.at (Extensions, C keywords)
9561         (Broken/missing compilers, AC_PROG_CPP with warnings)
9562         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
9563         (AC_PROG_CPP requires AC_PROG_CC): here and...
9564         * tests/fortran.at (GNU Fortran 77): there.
9565         * doc/autoconf.texi (autoconf Invocation): Fix the example:
9566         AC_TRY_RUN is about compilation, not shell commands.
9567         (Test Programs): AC_TRY_RUN works as used to be advertised.
9569 2001-09-27  Akim Demaille  <akim@epita.fr>
9571         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
9572         Raja R Harinath:
9573         Be sure to detect when $LINENO always returns the same value.
9574         Look for the original script, basename($0) is certainly not
9575         enough.
9576         Pass the CLI arguments to `$as_me.lineno'.
9578 2001-09-25  Akim Demaille  <akim@epita.fr>
9580         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
9581         Be sure the close and reopen the LOG fd before and after using tee
9582         to extend the log.
9583         <at_tests_pattern>: Adjust to the new format of at_help_all.
9585 2001-09-23  Akim Demaille  <akim@epita.fr>
9587         * bin/autom4te.in (parse_args): There can be several invocations
9588         of --language now.
9590 2001-09-23  Akim Demaille  <akim@epita.fr>
9592         * doc/autoconf.texi (Top): Wrap in @ifnottex.
9594 2001-09-23  Akim Demaille  <akim@epita.fr>
9596         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
9597         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
9598         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
9599         builddir, buildpath, top_builddir, and top_buildpath.
9600         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
9601         the current directory.
9602         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
9603         variables *before* changing the current directory.
9604         Skip nonexistent dirs.
9605         * doc/autoconf.texi (Preset Output Variables): Document these
9606         variables.
9608         * lib/autotest/general.m4: Do not reset AT_victims.
9609         Don't compute at_srcdir nor at_top_srcdir.
9611         * tests/tools.at: Hence use top_srcdir.
9613         * tests/Makefile.am, tests/autoconf, tests/autoheader,
9614         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
9615         Remove.
9616         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
9617         * tests/wrapsh.in, tests/autoupdate.in: New.
9618         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
9619         * configure.ac: Build the position independent wrappers.
9621         * man/Makefile.am: Now that test wrappers are position
9622         independent, use them and drop dark envvar magic.
9624 2001-09-23  Akim Demaille  <akim@epita.fr>
9626         * doc/autoconf.texi (Common Shell Constructs): Rename as...
9627         (Programming in M4sh): this.
9628         Promote to @section.
9630 2001-09-23  Akim Demaille  <akim@epita.fr>
9632         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
9633         Pass $at_debug_args to the rerun test suite.
9634         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
9635         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
9636         From Paul Eggert.
9638 2001-09-23  Akim Demaille  <akim@epita.fr>
9640         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
9642 2001-09-23  Akim Demaille  <akim@epita.fr>
9644         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
9645         over-escaping.
9647 2001-09-23  Akim Demaille  <akim@epita.fr>
9649         * lib/Autom4te/General.pm (&debug): New.
9650         * bin/autom4te.in ($language): Move to...
9651         (parse_args): here.
9652         Handle --language in languages.
9653         * lib/autom4te.in (Automake-selections, Autoheader-selections)
9654         (Autoscan-selections): New.
9655         (Autoconf): Adjust.
9657 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
9659         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
9660         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
9661         to match current versions from CVS Automake.
9663 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
9665         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
9666         for $LINENO.
9668 2001-09-22  Akim Demaille  <akim@epita.fr>
9670         * lib/autoconf/autotest.m4: Create `package.m4'.
9671         * tests/Makefile.am (package.m4): Remove.
9673 2001-09-22  Akim Demaille  <akim@epita.fr>
9675         Rely on `$LINENO' when possible instead of `__oline__'.
9677         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
9678         `$LINENO' support replacement when not supported.
9679         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
9680         them explicitly to be sure they are not output before this section
9681         (via m4_require).  Cosmetic only.
9682         * lib/autoconf/c.m4, lib/autoconf/general.m4,
9683         * lib/autoconf/programs.m4: Replace all the occurrences of
9684         `__oline__' with `$LINENO'.
9685         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
9687 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
9689         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
9690         character (u: -> ue) in a code comment.
9691         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
9692         it works.
9694 2001-09-21  Akim Demaille  <akim@epita.fr>
9696         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
9697         Suggested by Jim Meyering.
9699 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9701         * lib/autoconf/programs.m4: Use extensions listed in
9702         $ac_executable_extensions when looking for programs.
9704 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9706         * lib/autoconf/general.m4: Fix a small Englisho.
9707         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
9708         setting up ac_dir_suffix and ac_top_builddir.
9709         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
9711 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9713         * doc/autoconf.texi (File System Conventions): Clarify the use of
9714         PATH_SEPARATOR.
9715         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
9716         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
9717         be used instead of ':'.
9718         * lib/autotest/general.m4: Replace occurrences of ':' in
9719         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
9721 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9723         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
9724         arguments.  Fixed a typo.
9726 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9728         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
9729         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
9731 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9733         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
9734         * bin/autoupdate.in: Ditto.
9735         * bin/autoheader.in: Reworded a few comments.
9736         * bin/autoconf.in: Reworded help text for a few options.
9737         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9738         * bin/autoscan.in, bin/autoupdate.in: Ditto.
9740 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9742         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
9743         already have $file).  Set output files to binary mode (helps avoid
9744         CR issues on DOSish systems).
9746 2001-09-19  Akim Demaille  <akim@epita.fr>
9748         * lib/autotest/general.m4: Englishoes.
9749         From Tim Van Holder and Alexey Mahotkin.
9751 2001-09-18  Paul Eggert  <eggert@twinsun.com>
9753         * doc/autoconf.texi (Common Shell Constructs): New node,
9754         documenting AS_DIRNAME.
9755         (Limitations of Usual Tools): Refer to it when discussing dirname.
9756         Also, update discussion of POSIX standard to reflect latest draft.
9758         * lib/autoconf/c.m4:
9759         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
9761         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
9762         Do not pass a first argument with leading '-'
9763         to expr, by parenthesizing initial integers that might be negative.
9765         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
9766         now merely checks whether it is an error to pass an argument
9767         to getpgrp.
9769         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
9770         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
9771         whether it is a (compile-time) error to pass an argument to
9772         getpgrp.  This simpler test supports the revised documentation,
9773         and is all that AC_FUNC_GETPGRP's users really need.
9775 2001-09-18  Akim Demaille  <akim@epita.fr>
9777         * doc/autoconf.texi (Limitations of Make) <$<>: New.
9779 2001-09-18  Akim Demaille  <akim@epita.fr>
9781         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
9782         `{}'.
9783         * lib/autotest/general.m4 (AT_INIT): Adjust.
9785 2001-09-18  Paul Wagland  <paul@wagland.net>
9787         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
9788         correctly.
9789         Add test for AS_BASENAME.
9790         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
9791         added test. It now correctly handles /1/2/3/, returning '3' not ''.
9792         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
9793         * tests/base.at: Fixed the expected responses. The old ones were
9794         one line out...
9795         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
9796         the documentation claims it should (and how it behaved in 2.13).
9798 2001-09-18  Akim Demaille  <akim@epita.fr>
9800         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
9801         the AC_CONFIG_COMMANDS invocation.
9802         This also solves the name clash problems.
9803         Don't set the package's ID.
9804         * lib/m4sugar/Makefile.am (version.m4): Revamp.
9805         No longer to be shipped.
9806         (version.in): Remove.
9807         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
9808         * lib/autoconf/status.m4: Adjust.
9809         Use `m4_PACKAGE_STRING'.
9810         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
9811         the only optional argument is the name of the test suite.
9812         Expect `package.m4' to define the package signature.
9813         * lib/autom4te.in (Autotest): Add `package.m4?'.
9814         * tests/Makefile.am (package.m4): New.
9815         * tests/suite.at: ifnames is a victim.
9817 2001-09-18  Akim Demaille  <akim@epita.fr>
9819         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
9820         AC_LIBSOURCE, AC_CONFIG_FILES.
9821         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
9822         program version string doesn't match the package's.
9823         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
9824         after `(cached)'.
9826 2001-09-17  Paul Eggert  <eggert@twinsun.com>
9828         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
9829         Allow expression to return any value that can fit into unsigned long
9830         (not int, as before).  Check for output errors.
9832 2001-09-17  Bruno Haible  <haible@ilog.fr>
9834         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
9835         Always include <stdio.h> and <stdlib.h>. Evaluate
9836         the expression in an extra function before these includes. Call
9837         fprintf "%d" only after ensuring the argument is of type 'int'.
9838         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
9840 2001-09-17  Paul Eggert  <eggert@twinsun.com>
9842         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
9843         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
9844         fatal errors, and AC_CHECK_LIB causes it to include libraries even
9845         when they don't exist.
9847         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
9848         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
9849         need it.
9851         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
9852         version with the version used by fileutils 4.1, except use
9853         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
9854         we don't need it.
9856         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
9858 2001-09-13  Akim Demaille  <akim@epita.fr>
9860         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
9861         _first_.
9862         Reported by Gerrit P. Haase.
9864 2001-09-13  Akim Demaille  <akim@epita.fr>
9866         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
9867         m4_defn'ing is valid.
9869 2001-09-13  Akim Demaille  <akim@epita.fr>
9871         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
9872         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
9873         Use it.
9875 2001-09-13  Akim Demaille  <akim@epita.fr>
9877         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
9878         m4_match.
9879         (m4_re_escape): New.
9880         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
9881         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
9882         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
9883         Likewise.
9884         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
9885         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
9886         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
9887         AT_tests_all for consistency.
9888         Set at_victims.
9889         (AT_VICTIMS): Similar to AT_KEYWORDS.
9890         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
9892 2001-09-13  Akim Demaille  <akim@epita.fr>
9894         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
9896 2001-09-13  Akim Demaille  <akim@epita.fr>
9898         * lib/autotest/general.m4 (AT_INIT): Create and remove
9899         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
9900         test suites can cohabit.
9902 2001-09-13  Akim Demaille  <akim@epita.fr>
9904         * tests/mktests.sh: Don't output banners for empty test files.
9906 2001-09-13  Akim Demaille  <akim@epita.fr>
9908         Test suites can be run independently of configure.
9910         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
9911         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
9912         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
9913         ECHO_N etc.
9914         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
9915         and at_c.
9916         * lib/autotest/general.m4: Use ECHO_*.
9918 2001-09-13  Akim Demaille  <akim@epita.fr>
9920         * bin/ifnames.in: Rewrite in Perl.
9921         * configure.ac: Don't look for AWK.
9922         * tests/tools.at (AWK portability): Remove.
9923         (Syntax of the shell scripts): Don't check ifnames.
9924         (AT_CHECK_PERL_SYNTAX): New.
9925         (Syntax of the Perl scripts): Check ifnames.
9926         * tests/ifnames: New.
9928 2001-09-13  Akim Demaille  <akim@epita.fr>
9930         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
9931         test group titles.
9932         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
9933         Remove all the other keywords.
9935 2001-09-10  Akim Demaille  <akim@epita.fr>
9937         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
9938         SETUP: no longer used.
9939         Support -k, --keywords.
9940         <at_help>: Be `no', `short', or `long'.
9941         <at_help_all>: New variable.
9942         (AT_KEYWORDS): New.
9943         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
9944         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
9945         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
9946         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
9947         No longer fill the HELP diversion.
9948         (AT_CLEANUP): Use them.
9949         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
9950         (m4_list_append): Remove.
9952         Spread a few keywords in the Autoconf test suite.
9954 2001-09-10  Akim Demaille  <akim@epita.fr>
9956         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
9957         PATH_SEPARATOR, let M4sh compute it.
9958         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
9959         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
9960         Move to...
9961         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
9962         Simplify when the path is not a literal.
9963         (AS_UNAME): Use it to report PATH.
9964         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
9965         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
9966         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
9967         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
9968         normalize the path, and to look for victims.
9969         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
9970         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
9972 2001-09-07  Akim Demaille  <akim@epita.fr>
9974         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
9975         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
9976         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
9977         related variables into `at_package_*'.
9978         * lib/autotest/general.m4 (AT_VICTIMS): New.
9979         (AT_INIT): Adjust for stand-alone/embedded test suites.
9980         (AS_MESSAGE_LOG_FD): Define and use it.
9981         * tests/suite.at (AT_VICTIMS): Use it.
9982         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
9983         at_version.
9985 2001-09-07  Akim Demaille  <akim@epita.fr>
9987         Move toward possibly stand-alone test suites.
9989         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
9990         in addition, it introduces useless differences in logs.
9991         (AT_INIT): Let atconfig and atlocal be both optional.
9992         Adjust PATH computation.
9993         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
9995 2001-09-07  Akim Demaille  <akim@epita.fr>
9997         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
9998         m4sugar/version.m4.
10000 2001-09-05  Akim Demaille  <akim@epita.fr>
10002         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
10003         to avoid GCC warnings.
10004         From Uwe Seimet.
10006 2001-09-05  Akim Demaille  <akim@epita.fr>
10008         * bin/autom4te.in: --language is -l, not -s.
10010 2001-09-05  Akim Demaille  <akim@epita.fr>
10012         Be ready to handle filenames as stupid as `dnl.at', for if even
10013         the maintainer is dumb enough to do that...
10015         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
10016         excellence in M4 quotation: consider `__file__' is active.
10018         And BTW, when invoking m4, pass the --include in the right order:
10019         the wrong one.
10021         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
10022         4m.
10024 2001-09-05  Akim Demaille  <akim@epita.fr>
10026         * lib/Autom4te/XFile.pm: New lib file.
10027         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
10028         * bin/autoheader.in: Use it.
10030 2001-09-05  Akim Demaille  <akim@epita.fr>
10032         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
10033         defined.
10035 2001-09-05  Akim Demaille  <akim@epita.fr>
10037         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
10038         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
10040         * bin/autoscan.in: Use `getopt' and `find_files' etc.
10041         Add -I, --include support.
10042         * doc/autoconf.texi (autoscan Invocation): Adjust.
10044 2001-09-05  Akim Demaille  <akim@epita.fr>
10046         CVS GNU M4 doesn't like `undefine(undefined)'.
10048         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
10049         New, extracted from main.
10050         Use IO::File wherever possible.
10051         (input.m4): Be constant, use -I instead of hard coding $tmp.
10052         Therefore be a quoted heredoc.
10053         Don't invoke `_au_disable', since ac was not loaded, but just
10054         `unm4.m4'.
10056 2001-08-31  Akim Demaille  <akim@epita.fr>
10058         Version 2.52d.
10060 2001-08-31  Akim Demaille  <akim@epita.fr>
10062         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
10063         previous patch.
10064         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
10066 2001-08-31  Akim Demaille  <akim@epita.fr>
10068         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
10069         serious problems handling heredocs in heredocs.
10070         Reported by Nicolas Joly.
10072 2001-08-31  Akim Demaille  <akim@epita.fr>
10074         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
10075         (Making testsuite Scripts): Update.
10077 2001-08-31  Akim Demaille  <akim@epita.fr>
10079         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
10081 2001-08-31  Akim Demaille  <akim@epita.fr>
10083         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
10084         (testsuite Scripts): There is no such thing as `atconfig.in'.
10085         And actually one diagram is missing: test suite runtime.
10087 2001-08-31  Akim Demaille  <akim@epita.fr>
10089         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
10090         inverse order.
10092 2001-08-31  Akim Demaille  <akim@epita.fr>
10094         * bin/autoupdate.in (@include): `installcheck' revealed the path
10095         to m4sugar was lacking!
10097 2001-08-31  Akim Demaille  <akim@epita.fr>
10099         * man/Makefile.am (.x.1): We really have to pass
10100         autom4te_perllibdir.
10102 2001-08-31  Akim Demaille  <akim@epita.fr>
10104         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
10105         debug scripts, in particular passing explicitly listed tests to
10106         run is stupid.
10108 2001-08-31  Akim Demaille  <akim@epita.fr>
10110         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
10111         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
10112         Use directly autom4te, not autoconf.
10113         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
10115 2001-08-31  Akim Demaille  <akim@epita.fr>
10117         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
10118         * bin/autoheader.in (%symbol): Strip arguments of macros.
10120 2001-08-31  Akim Demaille  <akim@epita.fr>
10122         * doc/autoconf.texi: Catch up -I, --include changes.
10124 2001-08-31  Akim Demaille  <akim@epita.fr>
10126         * bin/autom4te.in (&parse_args): Die on unknown languages.
10127         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
10128         need for autoconf.
10129         Promote --include over --macrodir and other obsolete options.
10131 2001-08-31  Akim Demaille  <akim@epita.fr>
10133         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
10134         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
10135         * bin/autom4te.in ($autoconf): Pass --force.
10136         `print $out' doesn't print `$_' but `$out'.
10137         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
10138         (autoheader): Pass --force since the test suite goes too fast for
10139         the time stamps.
10140         Adjust to the new autoheader messages.
10142 2001-08-31  Akim Demaille  <akim@epita.fr>
10144         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
10145         Check the completeness of the #template.
10146         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
10147         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
10148         invocation.
10150 2001-08-31  Akim Demaille  <akim@epita.fr>
10152         * lib/Autom4te/General.pm (&find_file, &update_file): New.
10153         * bin/autoupdate.in, bin/autoheader.in: Adjust.
10154         Drop AC_MACRODIR dead for real.
10155         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
10156         `autoheader: `config.hin' is created'.
10157         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
10159 2001-08-31  Akim Demaille  <akim@epita.fr>
10161         * bin/autoheader.in: Rewrite in Perl.
10162         * tests/autoheader: Adjust.
10164 2001-08-31  Akim Demaille  <akim@epita.fr>
10166         * bin/autoconf.in (--include, -I): New option.
10167         Map --localdir, --autoconf-dir onto it.
10168         Forward autom4te's options instead of interpreting them.
10169         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
10170         There is no such envvar since the inception of autom4te.cfg.
10171         * bin/autom4te.in (&parse_args): Uniquify `@include'.
10172         * bin/autoupdate.in: Adjust, and perform more control.
10173         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
10174         * tests/autoconf: Dittowise.
10176 2001-08-31  Akim Demaille  <akim@epita.fr>
10178         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
10179         * bin/autom4te.in (&find_file): Support `FILE?' standing for
10180         optionally `FILE'.
10181         Use -e, not -f, since /dev/null for instance is OK.
10182         (&parse_args): Adjust.
10183         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
10185 2001-08-31  Akim Demaille  <akim@epita.fr>
10187         * configure.ac: Also find tested executables in bin.
10188         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
10189         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
10190         installed peer executables, only PATH is allowed to resolve it.
10191         Pass `autoconf_dir' via options, not via invisible envvars.
10192         * lib/Autom4te/General.pm (&find_peer): Remove.
10193         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
10194         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
10195         * man/Makefile.am: Let help2man rely on PATH instead of trying to
10196         find the executables for it.
10197         * tests/Makefile.am: Major cleanup.  Too lazy to document...
10198         * tests/atlocal.in: Remove all the obscure envvar manipulations.
10199         We only need PERL.
10200         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
10201         indeed related to running the test suite, while passing
10202         --autoconf-dir and others is related to running non installed
10203         Autoconf executables.  So don't do that, leave it to...
10204         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
10205         * tests/autoscan: New.
10206         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
10207         refer to library files: rely on --language.
10209 2001-08-29  Akim Demaille  <akim@epita.fr>
10211         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
10212         s/--set/--language/.
10214 2001-08-29  Akim Demaille  <akim@epita.fr>
10216         * doc/autoconf.texi: Strip the @nodes.
10217         Suggested by Paul Eggert.
10218         (Initializing configure): Typo.
10220 2001-08-29  Akim Demaille  <akim@epita.fr>
10222         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
10223         Suggested by Paul Eggert.
10225 2001-08-29  Akim Demaille  <akim@epita.fr>
10227         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
10228         download in a tmp dir.
10230 2001-08-29  Akim Demaille  <akim@epita.fr>
10232         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
10233         case insensitive OSes out there :(
10234         From Tim Van Holder.
10236 2001-08-29  Akim Demaille  <akim@epita.fr>
10238         * lib/autom4te.in: New.
10239         * lib/Makefile.am (edit, autom4te.cfg): New.
10240         * bin/autom4te.in (BEGIN): Simplify.
10241         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
10242         (&load_configuration): New.  Use it.
10243         (&parse_args): Support --mode, --set, and --melt.
10244         * bin/autoconf.in: Simplify and adjust.
10245         * tests/Makefile.am (AUTOMAKE): Use --set.
10246         * tests/atlocal.in: Adjust.
10247         * BUGS: distcheck and check are weak.
10249 2001-08-29  Akim Demaille  <akim@epita.fr>
10251         * lib/autotest/general.m4: Use
10252                 foo=`(command) 2>/dev/null`
10253         not
10254                 foo=`command` 2>/dev/null
10255         (at-devnull): Rename as...
10256         (AT-devnull): this.
10257         (--clean): Remove AT-* files too.
10258         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
10259         Reported by Nicolas Joly.
10261 2001-08-28  Akim Demaille  <akim@epita.fr>
10263         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
10264         quotes inside single quotes.
10265         Reported by Nicolas Joly.
10267 2001-08-28  Kevin Ryde  <user42@zip.com.au>
10269         * doc/autoconf.texi (Function Portability): Mention C right shifts.
10271 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
10273         * lib/autotest/general.m4: Reword some messages.
10274         (AT_INIT): Check for the `times' builtin before using it.
10275         Support test ranges as arguments to the testsuite.
10276         Have -e imply -d as the help text suggested.
10278 2001-08-27  Akim Demaille  <akim@epita.fr>
10280         * Makefile.maint: Formatting changes.
10281         (do-po-update, po-update, cvs-update, update): New targets.
10282         (AMTAR): Remove.
10284 2001-08-27  Akim Demaille  <akim@epita.fr>
10286         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
10287         <at_cmd_line>: New.
10288         Pass it to debug-*.sh scripts.
10289         <AUTOTEST_PATH>: May contain absolute dir names.
10291 2001-08-27  Akim Demaille  <akim@epita.fr>
10293         * lib/autotest/general.m4 (AT_INIT): Log the command line.
10294         Support `VAR=VAL' as arguments.
10295         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
10296         may be set via the command line.
10298 2001-08-27  Akim Demaille  <akim@epita.fr>
10300         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
10301         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
10302         first the build dirs, then the src dirs.
10303         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
10305 2001-08-27  Akim Demaille  <akim@epita.fr>
10307         * lib/autotest/general.m4 (AT_INIT): Output the definition of
10308         at_data_files earlier.
10309         (--clean, -c): New option.
10310         * tests/Makefile.am: Use this option.
10312 2001-08-27  Akim Demaille  <akim@epita.fr>
10314         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
10315         `ac_top_builddir' to mimic Automake's vocabulary, which much more
10316         readable.
10317         Adjust callers.
10318         * doc/autoconf.texi (Configuration Actions): Document the vars
10319         available in commands.
10320         Emphasize the risks of collisions in init-cmds.
10322 2001-08-27  Akim Demaille  <akim@epita.fr>
10324         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
10325         (Initializing configure): this new node.
10327 2001-08-27  Akim Demaille  <akim@epita.fr>
10329         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
10331 2001-08-27  Akim Demaille  <akim@epita.fr>
10333         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
10334         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
10335         New file.
10336         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
10338 2001-08-27  Akim Demaille  <akim@epita.fr>
10340         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
10341         to...
10342         * lib/autoconf/autoheader.m4: this new file.
10343         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
10344         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
10345         Move to...
10346         * lib/autoconf/autoupdate.m4: this new file.
10348 2001-08-27  Akim Demaille  <akim@epita.fr>
10350         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
10351         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
10352         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
10353         -> ac_dir).
10354         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
10355         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
10357 2001-08-27  Akim Demaille  <akim@epita.fr>
10359         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
10360         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
10361         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
10362         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
10363         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
10364         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
10365         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
10366         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
10367         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
10368         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
10369         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
10370         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
10371         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
10372         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
10373         (_AC_OUTPUT_SUBDIRS): Move to...
10374         * lib/autoconf/status.m4: this new file.
10375         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
10376         * tests/Makefile.am, tests/suite.at: Adjust.
10378 2001-08-27  Akim Demaille  <akim@epita.fr>
10380         Automake 1.5.
10382         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
10383         (AMTAR): Help automake define it.
10384         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
10385         needed, 1.5 can have a macro and a target with the same name.
10386         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
10387         * m4/strip.m4: New.
10388         * m4/init.m4, m4/sanity.m4: Update.
10389         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
10390         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
10391         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
10392         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
10394 2001-08-27  Akim Demaille  <akim@epita.fr>
10396         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
10398         * lib/autoconf/version.in: Remove.
10399         * lib/m4sugar/version.in: New.
10400         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
10401         Adjust callers.
10402         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
10403         the name of the directory they're in, instead of the filename,
10404         since version.m4 is now in m4sugar, but m4_acversion must not be
10405         classified as an Autoconf macro.
10406         ($input_m4): Don't qualify the path to m4sugar.
10407         Rather, pass autoconf_dir to m4.
10408         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
10409         * tests/suite.at: Require 2.52c.
10411 2001-08-27  Akim Demaille  <akim@epita.fr>
10413         testsuite.log should include config.log.
10415         * lib/autotest/autotest.m4: New.
10416         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
10417         * tests/suite.at : Adjust.
10418         (AT_INIT): Log config.log.
10419         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
10420         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
10421         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
10422         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
10423         of config.log on traps.
10424         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
10425         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
10426         for config.status'.
10427         Open the log as soon as possible.
10428         Use the same log introduction as configure's.
10430 2001-08-22  Paul Eggert  <eggert@twinsun.com>
10432         * doc/autoconf.texi (Indices): New node.
10433         Move indices out of the top level menu and into this submenu.
10435 2001-08-22  Akim Demaille  <akim@epita.fr>
10437         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10438         AC_TRY_COMMAND.
10439         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
10441 2001-08-22  Akim Demaille  <akim@epita.fr>
10443         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
10444         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
10445         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
10446         * lib/autoconf/programs.m4: here.
10447         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
10448         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
10449         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
10450         * lib/autoconf/programs.m4: here.
10451         (_AC_DECL_YYTEXT): Rename as...
10452         (_AC_PROG_LEX_YYTEXT_DECL): this.
10453         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
10454         * tests/Makefile.am, tests/suite.am: Adjust.
10456 2001-08-22  Akim Demaille  <akim@epita.fr>
10458         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
10459         Move to...
10460         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
10461         here.
10462         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
10463         * lib/autoconf/functions.m4: here.
10464         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
10465         (AH_CHECK_LIB): Move to...
10466         * lib/autoconf/libs: this new file.
10467         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
10468         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
10469         * lib/autoconf/libs.m4: here.
10470         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
10472 2001-08-22  Akim Demaille  <akim@epita.fr>
10474         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
10475         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
10476         (AC_SITE_LOAD): Better logging of config.site.
10478 2001-08-20  Akim Demaille  <akim@epita.fr>
10480         * configure.ac (AT_CONFIG): Fix the path.
10481         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
10482         can be used.
10484 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
10486         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
10487         program with AC_LANG_PROGRAM before feeding it to
10488         AC_COMPILE_IFELSE.  Cleanup grep usage.
10490 2001-08-20  Akim Demaille  <akim@epita.fr>
10492         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
10493         * NEWS, README, README-alpha, TODO, tests/README: This package is
10494         `Autoconf', not `autoconf' (the executable).
10496 2001-08-20  Akim Demaille  <akim@epita.fr>
10498         Info readers seem to need `Index' in the index node title :(
10500         * doc/autoconf.texi: Reverse the 2001-08-15 change which
10501         simplified index node names.
10503 2001-08-20  Akim Demaille  <akim@epita.fr>
10505         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
10506         arguments are not literals.
10507         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
10508         Specify the output variables, and macros defined.
10510 2001-08-20  Akim Demaille  <akim@epita.fr>
10512         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
10513         (Examining Syntax) <AC_TRY_COMPILE>
10514         (Examining Libraries) <AC_TRY_LINK>
10515         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
10516         their arguments.
10517         Reported by Werner Lemberg.
10519 2001-08-20  Akim Demaille  <akim@epita.fr>
10521         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
10522         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
10523         Load atlocal late enough to dump it in the log.
10524         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
10526 2001-08-20  Akim Demaille  <akim@epita.fr>
10528         * tests/torture.at (Configuring subdirectories): New test.
10529         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
10530         looking for.
10531         * m4/atconfig.m4: Be sure the let $[0] be expandable.
10532         (top_srcdir): Fix its computation.
10534 2001-08-20  Akim Demaille  <akim@epita.fr>
10536         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
10537         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
10538         test suite lives.
10539         Create `atconfig' automagically.
10540         Configure atlocal.in if present.
10541         * tests/atconfig.in: Remove.
10542         * tests/atlocal.in: New.
10543         * tests/Makefile.am: Adjust.
10545 2001-08-20  Akim Demaille  <akim@epita.fr>
10547         Huh!?!?!  There are still some user EOF tags used, which prevents
10548         their use in AC_CONFIG_COMMANDS for instance...
10550         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
10551         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
10552         `_CSEOF', or `_ATEOF', as appropriate.
10553         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
10554         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
10556 2001-08-20  Akim Demaille  <akim@epita.fr>
10558         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
10559         * tests/semantics.at, tests/tools.at, tests/torture.at:
10560         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
10562 2001-08-20  Akim Demaille  <akim@epita.fr>
10564         Autotest invokes M4sh's initialization.
10566         * lib/autotest/general.m4: Adjust the diversion names.
10567         (AT_INIT): Run AS_INIT.
10568         Use the BINSH diversion to invoke /bin/sh.
10569         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
10570         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
10572 2001-08-20  Akim Demaille  <akim@epita.fr>
10574         Let M4sh have its own diversions.
10576         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
10577         (_m4_divert(NOTICE)): Rename as...
10578         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
10579         (_m4_divert(HEADER-COMMENT)): these.
10580         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
10581         (_m4_divert(NOTICE)): New, for Libtool.
10582         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
10583         long ago with `_m4_divert(GROW)'.
10584         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
10586 2001-08-20  Akim Demaille  <akim@epita.fr>
10588         * tests/base.at, tests/compile.at, tests/foreign.at,
10589         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
10590         * tests/semantics.at, tests/suite.at, tests/tools.at,
10591         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
10593 2001-08-20  Akim Demaille  <akim@epita.fr>
10595         * bin/autom4te.in (handle_output): Handle @__@.
10597 2001-08-20  Akim Demaille  <akim@epita.fr>
10599         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
10600         * lib/autotest/general.m4: Adjust the license.
10602 2001-08-17  Paul Eggert  <eggert@twinsun.com>
10604         * doc/autoconf.texi (Function Portability): Mention snprintf,
10605         following up on a suggestion by Kevin Ryde.
10607 2001-08-17  Akim Demaille  <akim@epita.fr>
10609         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
10610         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
10612 2001-08-17  Akim Demaille  <akim@epita.fr>
10614         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
10615         `$0.log' as for projects where testsuite is in src, we'd have
10616         testsuite.log created in src.
10618 2001-08-17  Akim Demaille  <akim@epita.fr>
10620         * bin/autom4te.in (&parse_args): Recognize --normalize.
10622 2001-08-17  Akim Demaille  <akim@epita.fr>
10624         Start implementing the AC_CHECK_HEADER transition scheme.
10626         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
10627         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
10628         (AC_CHECK_HEADER): Use them.
10630 2001-08-17  Akim Demaille  <akim@epita.fr>
10632         * doc/autoconf.texi: Work around Texinfo buglets.
10633         (Transformation Rules): One example is enough, users are expected
10634         to have their brains on. And BTW, use DESTDIR.
10635         (dvar): New macro.  Use it.
10637 2001-08-17  Akim Demaille  <akim@epita.fr>
10639         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
10640         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
10641         looking for ChangeLogs.
10643 2001-08-17  Akim Demaille  <akim@epita.fr>
10645         * bin/autom4te.in: --normalize is a new option.
10646         * bin/autoconf.in: Use it.
10648 2001-08-17  Akim Demaille  <akim@epita.fr>
10650         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
10651         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
10653 2001-08-16  Paul Eggert  <eggert@twinsun.com>
10655         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
10656         start, not at end.
10658 2001-08-15  Akim Demaille  <akim@epita.fr>
10660         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
10661         Use it.
10663 2001-08-15  Akim Demaille  <akim@epita.fr>
10665         * doc/autoconf.texi (pr): New index.
10666         (prindex, findex): Use, merge, and output them.
10667         (Environment Variable Index, Output Variable Index)
10668         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
10669         (Autotest Macro Index): Rename as...
10670         (Environment Variables, Output Variables,Preprocessor Symbols)
10671         (Autoconf Macros, M4 Macros, Autotest Macros): these.
10672         * doc/install.texi: Use @command.
10673         (Environment Variables): Rename as...
10674         (Defining Variables): this.
10676 2001-08-15  Akim Demaille  <akim@epita.fr>
10678         * doc/autoconf.texi (Function Portability): sprintf's return
10679         value.
10680         From Kevin Ryde.
10682 2001-08-15  Akim Demaille  <akim@epita.fr>
10684         * Makefile.maint (CVS): New.
10685         (local-check): Run changelog-check. last.
10686         (alpha): Don't depend upon local-check, since...
10687         (cvs-dist): depends upon it.
10689 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
10691         * tests/Makefile.am: Use a clean-local rule to remove
10692         autom4te.cache (it's a directory, not a file.
10693         * Makefile.am: Ditto (but maintainer-clean-local).
10695 2001-08-15  Akim Demaille  <akim@epita.fr>
10697         * bin/autom4te.in (@m4_warning): New.
10698         (&handle_m4): Use it.
10699         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
10700         warnings are issued at each run.
10701         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
10702         is in the src tree.
10704 2001-08-15  Akim Demaille  <akim@epita.fr>
10706         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
10707         don't waste time running `autoupdate --version' works.
10708         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
10710 2001-08-13  Akim Demaille  <akim@epita.fr>
10712         * doc/autoconf.texi (ma): Rename this index as...
10713         (ac): this.
10715 2001-08-13  Akim Demaille  <akim@epita.fr>
10717         * Makefile.am: Remove dead code and dead comments.
10718         (pdf, html): New targets.
10719         * doc/autoconf.texi (Using Autotest): New chapter.
10720         * doc/Makefile.am (pdf): New targets.
10721         (CLEANFILES): Adjust.
10723 2001-08-13  Akim Demaille  <akim@epita.fr>
10725         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
10726         duration of the test suite.
10728 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
10730         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
10731         endianness for comparison instead of relying on AT_CHECK_ENV.
10733 2001-08-11  Paul Eggert  <eggert@twinsun.com>
10735         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
10736         to the INSTALL file.
10738 2001-08-11  Paul Eggert  <eggert@twinsun.com>
10740         * NEWS: The autoconf manual now is distributed under the terms
10741         of the GNU Free Documentation License.
10743         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
10744         Add an appendix "Copying This Manual" for the FDL.
10746         * doc/fdl.texi: New file, from
10747         <http://www.gnu.org/licenses/fdl.texi>.
10749         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
10751 2001-08-10  Paul Eggert  <eggert@twinsun.com>
10753         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
10754         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
10755         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
10756         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
10757         m4/sanity.m4, tests/README, tests/aclocal.m4,
10758         tests/atspecific.m4, tests/base.at, tests/compile.at,
10759         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
10760         tests/semantics.at, tests/suite.at, tests/tools.at,
10761         tests/torture.at: Add copyright notice.
10763         * tests/mktests.sh: Update year in copyright notice.
10765 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
10767         * tests/semantics.at (AC_C_BIGENDIAN): New test.
10769 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
10771         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
10772         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
10773         * doc/autoconf.texi (C Compiler Characteristics): Update
10774         documentation for AC_C_BIGENDIAN.
10776 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
10778         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
10779         magic values from an object file when cross-compiling.
10780         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
10782 2001-08-10  Akim Demaille  <akim@epita.fr>
10784         * bin/autom4te.in (&handle_output): Don't use `grep' with side
10785         effects.
10786         Suggested by Russ Allbery.
10788 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
10790         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
10791         current $prefix to the sub-configures.
10793 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
10795         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
10796         extension (needed on BeOS).  Reported by Guido van Rossum.
10798 2001-08-09  Akim Demaille  <akim@epita.fr>
10800         * bin/autom4te.in ($icache): Load it only if older than autom4te.
10802 2001-08-07  Akim Demaille  <akim@epita.fr>
10804         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
10805         removed.
10806         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
10807         No need to remove the files before and after the each test, before
10808         each test and at the end of the suite is enough.
10809         Display only the children `times', not the shell's.
10810         If the test failed or was skipped, at-times is not available.
10812 2001-08-07  Akim Demaille  <akim@epita.fr>
10814         Always produce testsuite.log, including when there are no
10815         failures.  This helps getting information on skipped tests, and
10816         duration of the tests.  Err, implement the latter btw.
10818         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
10819         Dump information on the first run of each test.
10820         (AT_CLEANUP): Create `at-times' containing the duration of the
10821         test group.
10823 2001-08-07  Akim Demaille  <akim@epita.fr>
10825         The use of `dumpstat' revealed that `len' was used although it
10826         should not.  m4_text_wrap was using it, but in the Autoconf world
10827         where it is legal.  Hence (i) test M4sh in its own world, not
10828         Autoconf's, and (ii), ahem, fix the bug :)
10830         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
10831         does not like `' instead of [].
10832         (AT_INIT): Forbid `^_?AT_'.
10833         And don't output such tokens.
10834         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
10835         `script.as', and `autom4te.cache'.
10836         Remove `empty' and `macro' which are no longer used.
10837         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
10838         * tests/m4sugar.at: Use it.
10839         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
10841 2001-08-07  Akim Demaille  <akim@epita.fr>
10843         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
10845 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
10847         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
10849 2001-08-04  Akim Demaille  <akim@epita.fr>
10851         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
10852         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
10853         AC_TRY_LINK.
10854         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
10855         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
10856         (AC_F77_MAIN): Likewise.
10858 2001-08-04  Akim Demaille  <akim@epita.fr>
10860         Don't rely on M4sugar outputting the patterns in files, since we
10861         might process the output _without_ running m4, hence without these
10862         files.
10864         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
10865         * bin/autom4te.in (@Request::includes): Remove, unused.
10866         (@Request::source): Rename as...
10867         (@Request::input): this.
10868         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
10869         (&handle_output): Fetch the patterns from the traces.
10870         `$forbidden' and `$allowed' are constant: use m//o.
10871         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
10872         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
10874 2001-08-04  Akim Demaille  <akim@epita.fr>
10876         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
10877         autoconf', i.e., in addition to caching traces, cache the output.
10879         * bin/autom4te.in (Request::cache): Rename as...
10880         (Request::id): this.
10881         ($cache, $icache, $tcache, $ocache): New.
10882         (&handle_m4): Save M4 output in the cache instead of $tmp.
10883         (&handle_output): Adjust.
10884         (&up_to_date_p): Check that the output cache is up to date too.
10885         (top level): Run `&handle_m4' iff force or the cache is invalid.
10886         Run `&handle_output' if the output cache is more recent.
10888 2001-08-04  Akim Demaille  <akim@epita.fr>
10890         * bin/autom4te.in ($force): New.
10891         (&parse_args, &print_usage): -f, --force is a new option.
10892         (&handle_output): CPP directives might have spaces after `#'.
10893         (&parse_args): The first file only can be frozen.
10895 2001-08-04  Akim Demaille  <akim@epita.fr>
10897         Don't let autom4te compute the `include' traces several times:
10898         first check that the trace cache file is up to date, and then
10899         compare its timestamp with that of the output.
10901         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
10902         the preamble.  Don't require 5.005 as Autom4te::General does it,
10903         and better yet (use `use', not `require'!).
10904         * lib/Autom4te/Struct.pm: Rename the last occurrences of
10905         Class::Struct as Autom4te::Struct.
10906         * lib/Autom4te/General.pm (File::stat): Use it.
10907         (&mtime): New, export it.
10908         * bin/autom4te.in: Use it.
10909         Declare `$req' is invalid if it is outdated.
10910         Don't declare it valid before saving it if something went wrong.
10912 2001-08-04  Akim Demaille  <akim@epita.fr>
10914         Autom4te shall not encode Autoconf data, and preselecting traces
10915         must be proposed to the users.
10917         * bin/autom4te.in (@required_trace): Remove.
10918         (@preselect): New.
10919         (&parse_args, &print_usage): -p, --preselect is a new option.
10920         (&up_to_date_p): Adjust.
10921         * bin/autoconf.in: Preselect some Autoconf macros.
10923 2001-08-04  Akim Demaille  <akim@epita.fr>
10925         * tests/tools.at (autoconf --trace: user macros): Check traces on
10926         macros invoked without arguments, and macros invoked with multiple
10927         lines arguments.
10929 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
10931         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
10932         arguments.
10934 2001-08-03  Akim Demaille  <akim@epita.fr>
10936         * bin/autoconf.in ($@): Work around the usual sh bug.
10937         From Nicolas Joly.
10939 2001-08-03  Akim Demaille  <akim@epita.fr>
10941         Clean up the handling of the M4 builtins tracing exception.
10943         * bin/autom4te.in (Request::request): Don't complete M4 builtins
10944         trace requests.
10945         (@m4_builtins): Rename as...
10946         (@m4_builtin): this.
10947         (%m4_builtin_alternate_name): New.
10948         (&parse_args): Complete the trace requests with alternate names.
10949         (&handle_traces): Hence no longer do it here.
10950         (&trace_requests): Remove, unused.
10952 2001-08-03  Akim Demaille  <akim@epita.fr>
10954         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
10955         m4_if, and m4_wrap.
10957 2001-08-03  Akim Demaille  <akim@epita.fr>
10959         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
10960         (m4_divert_pop): Dump the whole diversion stack when a diversion
10961         mismatch happens.
10962         * bin/autom4te.in (&handle_output): Remember of the first
10963         occurrence of a possibly undefined macro, not the last.
10964         Complain about the possibly undefined macros in the same order as
10965         the appear in the output.
10966         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
10967         * tests/tools.at (autoconf: forbidden tokens, basic)
10968         (autoconf: forbidden tokens, exceptions): No longer sort
10969         autoconf's stderr, as it is now deterministic.
10970         Check that `dnl' is caught.
10972 2001-08-01  Akim Demaille  <akim@epita.fr>
10974         * configure.ac: Bump to 2.52c.
10976 2001-08-01  Akim Demaille  <akim@epita.fr>
10978         Version 2.52b.
10980         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
10982 2001-08-01  Akim Demaille  <akim@epita.fr>
10984         Version 2.52a.
10986 2001-08-01  Akim Demaille  <akim@epita.fr>
10988         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
10989         `die'.
10990         (&END): New.
10991         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
10992         `END', as `Autom4te::General::END' will be triggered.
10993         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
10994         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
10995         system to run `mv', `rm', and `cmp'.
10997 2001-08-01  Akim Demaille  <akim@epita.fr>
10999         * lib/Autom4te/General.pm (&unique): New.
11000         * bin/autoscan.in (&output): Use it to issue trace requests once.
11002 2001-08-01  Akim Demaille  <akim@epita.fr>
11004         * lib/Autom4te/General.pm: New.
11005         * bin/autom4te.in (Autom4te::General): Use it.
11006         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
11007         (&find_configure_ac, &find_slave): Remove.
11008         * bin/autoscan.in: Likewise.
11009         * bin/autoupdate.in: Likewise.
11011 2001-08-01  Akim Demaille  <akim@epita.fr>
11013         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
11014         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
11015         * bin: here, new directory.
11016         * lib/Autoconf: Rename as...
11017         * lib/Autom4te: this, to please case insensitive junkie OSes.
11019 2001-08-01  Akim Demaille  <akim@epita.fr>
11021         * autom4te.in ($m4): Handle the --nesting-limit.
11022         * autoconf.in (M4): Remove.
11024 2001-08-01  Akim Demaille  <akim@epita.fr>
11026         * autoconf.in ($AWK): Remove, no longer used.
11027         * test/tools.at: Use AT_CHECK_AUTOCONF.
11028         (AWK portability): Remove, for autoconf no longer uses AWK.
11029         (Syntax of the Perl scripts): New.
11030         * configure.ac: autoconf no longer needs an AWK with a good
11031         regexp engine.
11032         Use a static test on AC_PACKAGE_VERSION.
11033         * autom4te.in (&up_to_date_p): Output depends on the arguments.
11034         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
11035         * tests/atconfig.in (PERL): New.
11037 2001-08-01  Akim Demaille  <akim@epita.fr>
11039         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
11040         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
11041         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
11042         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
11043         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
11044         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
11045         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
11046         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
11047         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
11048         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
11049         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
11050         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
11051         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
11052         * lib/autoconf/c.m4: here, new file.
11054         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
11055         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
11056         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
11057         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
11058         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
11059         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
11060         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
11061         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
11062         (AC_F77_FUNC): Move to...
11063         * lib/autoconf/fortran.m4: here, new file.
11065 2001-08-01  Akim Demaille  <akim@epita.fr>
11067         * acfunctions.m4: Rename as...
11068         * lib/autoconf/functions.m4: this.
11069         * acgeneral.m4: Rename as...
11070         * lib/autoconf/general.m4: this.
11071         * acheaders.m4: Rename as...
11072         * lib/autoconf/headers.m4: this.
11073         * aclang.m4: Rename as...
11074         * lib/autoconf/lang.m4: this.
11075         * acoldnames.m4: Rename as...
11076         * lib/autoconf/oldnames.m4: this.
11077         * acspecific.m4: Rename as...
11078         * lib/autoconf/specific.m4: this.
11079         * actypes.m4: Rename as...
11080         * lib/autoconf/types.m4: this.
11081         * autoconf.m4: Rename as...
11082         * lib/autoconf/autoconf.m4: this.
11084         * m4sugar.m4: Rename as...
11085         * lib/m4sugar/m4sugar.m4: this.
11086         * m4sh.m4: Rename as...
11087         * lib/m4sugar/m4sh.m4: this.
11089         * tests/atgeneral.m4: Rename as...
11090         * lib/autotest/general.m4: this.
11092         * acfunctions: Rename as...
11093         * lib/autoscan/functions: this.
11094         * acheaders: Rename as...
11095         * lib/autoscan/headers: this.
11096         * acidentifiers: Rename as...
11097         * lib/autoscan/identifiers: this.
11098         * aclibraries: Rename as...
11099         * lib/autoscan/libraries: this.
11100         * acmakevars: Rename as...
11101         * lib/autoscan/makevars: this.
11102         * acprograms: Rename as...
11103         * lib/autoscan/programs: this.
11105 2001-08-01  Akim Demaille  <akim@epita.fr>
11107         * doc/autoconf.texi: Moving/deleting open files is not portable.
11108         Portability issues for `.' (source), and more information about sed.
11110 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
11112         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
11113         which has a special meaning and is not a reference to libibmil.a.
11114         Reported by Matteo Frigo.
11116 2001-07-25  Pavel Roskin  <proski@gnu.org>
11118         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
11119         output.
11121 2001-07-25  Akim Demaille  <akim@epita.fr>
11123         * autoconf.in: Try to define the variables before using them.
11124         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
11125         instead of `$perllibdir'.
11126         * tests/atconfig.in ($autom4te_perllibdir): Export it.
11128 2001-07-25  Akim Demaille  <akim@epita.fr>
11130         * autoconf.in (ac_LF_and_DOT): Remove, unused.
11132 2001-07-24  Akim Demaille  <akim@epita.fr>
11134         Let autoconf use autom4te for traces.
11136         * autoconf.in ($task, task trace): Remove, merely pass --trace to
11137         autom4te.
11138         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
11139         (Because I found no way for autom4te to accept `-').
11140         * autom4te.in (&Request::request): Beware of M4 builtins.
11141         (END): Don't try to remove the content of an empty dir.
11142         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
11143         (&handle_output): Set a default value to `$forbidden'.
11144         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
11145         ($autoconf): Pass --debug and --verbose.
11146         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
11147         cache.
11149 2001-07-24  Akim Demaille  <akim@epita.fr>
11151         Let autoconf use autom4te to create configure.
11153         * autoconf.in ($automate): New var.
11154         (task script): Use autom4te.
11155         * autom4te.in (File::Spec): Use it.
11156         (&find_file): New.
11157         (&parse_args): --warning is -W, not -w.
11158         Find the top level files.
11159         (&handle_m4): Pass the warnings flags.
11160         Don't report verbosely m4's failures, unless requested.
11161         (&handle_output): Don't complain for forbidden tokens in comments.
11162         Be sure to report all the forbidden tokens within a single line.
11163         (&trace_format_to_m4): Preserve `$_'.
11164         (&handle_traces): Sort the output macros.
11165         (&up_to_date_p): Find the files before trying to get its time stamp.
11167 2001-07-24  Akim Demaille  <akim@epita.fr>
11169         * Makefile.am: Ship, build and install Autom4te.
11170         (SUBDIRS): Add lib.
11171         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
11172         * configure.in: Require Perl.
11173         * man/autom4te.in: New.
11175 2001-07-19  Paul Eggert  <eggert@twinsun.com>
11177         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
11178         example, rather than (exit 1); exit (which isn't portable).
11180 2001-07-18  Akim Demaille  <akim@epita.fr>
11182         Version 2.52.
11184 2001-07-18  Akim Demaille  <akim@epita.fr>
11186         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
11187         was run, while they are needed also when it is expanded.
11188         Reported by Nicolas Joly.
11190         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
11191         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
11192         AC_F77_DUMMY_MAIN being expanded.
11194 2001-07-18  Akim Demaille  <akim@epita.fr>
11196         * configure.in: Bump to 2.51a.
11198 2001-07-17  Akim Demaille  <akim@epita.fr>
11200         Version 2.51.
11202 2001-07-17  Akim Demaille  <akim@epita.fr>
11204         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
11205         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
11207 2001-07-17  Akim Demaille  <akim@epita.fr>
11209         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
11210         used.  Well, then use the prototypes when you can, and runtime as
11211         a last resort.
11212         Reported by Artur Frysiak
11214         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
11215         (AC_FUNC_GETPGRP): Use it.
11216         First try to compile with 0-ary or 1-ary calls.
11218 2001-07-17  Akim Demaille  <akim@epita.fr>
11220         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
11221         replacement type.
11222         From Paul Eggert.
11224 2001-07-17  Akim Demaille  <akim@epita.fr>
11226         * Makefile.maint: Sync. with cppi 1.10.
11228 2001-07-17  Akim Demaille  <akim@epita.fr>
11230         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
11231         AC_F77_DUMMY_MAIN has been run.
11232         From Pavel Roskin and Steven G. Johnson.
11234 2001-07-17  Akim Demaille  <akim@epita.fr>
11236         * configure.in: Rename as...
11237         * configure.ac: this.
11239 2001-07-17  Akim Demaille  <akim@epita.fr>
11241         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
11242         rules.
11243         From Marc Espie.
11244         * Makefile.maint (release-archive-dir): Rename as...
11245         (release_archive_dir): this, so that it can be specialized in
11246         Makefile.
11248 2001-07-14  Akim Demaille  <akim@epita.fr>
11250         * configure.in: Bump to 2.50d.
11252 2001-07-14  Akim Demaille  <akim@epita.fr>
11254         Version 2.50c.
11255         * Makefile.maint (alpha): Typo.
11257 2001-07-14  Akim Demaille  <akim@epita.fr>
11259         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
11261 2001-07-14  Akim Demaille  <akim@epita.fr>
11263         * config/config.guess, config/config.sub, config/texinfo.tex
11264         * doc/standards.texi, doc/make-stds.texi: Update.
11266 2001-07-14  Akim Demaille  <akim@epita.fr>
11268         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
11270 2001-07-14  Akim Demaille  <akim@epita.fr>
11272         * Makefile.maint (maintainer-check): Rename as...
11273         (maintainer-distcheck): this.
11274         (changelog-check, static-check): New.
11275         Use them.
11277 2001-07-14  Kevin Ryde  <user42@zip.com.au>
11279         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
11280         for CXX is g++, not gcc.
11282 2001-07-14  Akim Demaille  <akim@epita.fr>
11284         * doc/autoconf.texi (Files): New subsection.
11286 2001-07-14  Akim Demaille  <akim@epita.fr>
11288         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
11289         of...
11290         (Generic Compiler Characteristics): this.
11291         (C++ Compiler): New subsection.
11293 2001-07-14  Akim Demaille  <akim@epita.fr>
11295         * autoscan.in: Use IO::File.
11296         Adjust all the routines to use it.
11297         ($log): New file (autoscan.log).
11298         (output): Dump detailed logs into $log, and a shortened version to
11299         stderr.
11300         (&scan_makefile): Refine the regexp catching tokens in the code.
11301         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
11302         and the `configure.ac' checking feature.
11304 2001-07-12  Akim Demaille  <akim@epita.fr>
11306         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
11307         Reported by Michael Elizabeth Chastain.
11309         * autoconf.in: Refuse such AWK.
11310         * configure.in: Likewise.
11311         * Makefile.am (acversion.m4): Do not use move-if-change this file
11312         has dependencies.
11313         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
11315 2001-07-10  Jens Petersen  <petersen@redhat.com>
11317         * autoscan.in (&scan_makefile): Improve programs regexp to parse
11318         things like "g++", "file.c" and "some-conf" as tokens.
11319         (&scan_file): Match C++ files extensions.
11320         If the filename extension is C++ then ask for c++.
11322 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
11324         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
11325         AC_TRY_LINK_FUNC, to check whether defining a dummy
11326         main-like routine is needed for linking with F77 libs.
11328 2001-07-05  Pavel Roskin  <proski@gnu.org>
11330         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
11331         after using break.
11332         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
11333         linking.
11335 2001-07-05  Akim Demaille  <akim@epita.fr>
11337         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
11338         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
11339         Makes' lives.
11340         Reported by Nicolas Joly.
11342 2001-07-04  Akim Demaille  <akim@epita.fr>
11344         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
11345         up.
11346         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
11347         warnings from compilers.
11348         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
11349         for all the compilers, not only GNU.  Hence move from here...
11350         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
11352 2001-07-04  Akim Demaille  <akim@epita.fr>
11354         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
11355         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
11356         AC_COMPILE_IFELSE.
11358 2001-07-04  Akim Demaille  <akim@epita.fr>
11360         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
11361         the ``strings.h'' change claimed below.
11363 2001-07-04  Akim Demaille  <akim@epita.fr>
11365         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
11367 2001-07-04  Akim Demaille  <akim@epita.fr>
11369         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
11370         strings.h if usable with string.h.
11371         Suggested by Paul Eggert.
11373 2001-07-04  Akim Demaille  <akim@epita.fr>
11375         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
11376         From Jens Petersen.
11378 2001-07-03  Akim Demaille  <akim@epita.fr>
11380         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
11381         etc. in the log.
11383 2001-07-03  Akim Demaille  <akim@epita.fr>
11385         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
11386         compiler, not the preprocessor.
11387         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
11388         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
11389         the right thing.
11390         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
11391         earlier if there are.
11393 2001-07-03  Akim Demaille  <akim@epita.fr>
11395         * autoscan.in ($initfile): Remove.
11396         (&find_file): Rename as...
11397         (&scan_file): this.
11398         Immediately scan the current file, instead of gathering them, and
11399         later having them handled by &scan_files.
11400         (&scan_files): Merely invoke Find::File.
11401         Adjust.
11403 2001-07-02  Akim Demaille  <akim@epita.fr>
11405         * autoscan.in: Formatting changes, matching the invocation order.
11406         (File::Find): Use it instead of Perl 4's `find.pl'.
11407         (&wanted): Rename as...
11408         (&find_file): this.
11410 2001-07-01  Pavel Roskin  <proski@gnu.org>
11412         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
11413         break in the argument to AC_TRY_LINK_FUNC.
11414         (AC_F77_MAIN): Remove conftest* after using break in the
11415         argument to AC_TRY_LINK.
11417 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
11419         Add alternate 'main' routine detection for linking C/C++ with Fortran,
11420         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
11422         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
11423         dummy alternate main is required even if the user provides her own
11424         'main'.
11425         (AC_F77_MAIN): New macro to detect whether it is possible to
11426         provide an alternate 'main' function name, using the 'main' from
11427         the Fortran libraries.
11428         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
11429         cross-language link tests can be performed successfully.
11430         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
11431         after $LIBS, for consistency; this should be the general rule since
11432         the user may want to link to Fortran libraries that require $FLIBS.
11433         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
11435 2001-06-29  Pavel Roskin  <proski@gnu.org>
11437         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
11438         at-stdout and at-stderr instead of removing the newline
11439         from the echo output, which is not guaranteed to work.
11441 2001-06-28  Jens Petersen  <petersen@redhat.com>
11443         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
11444         confdefs.h when non-zero.
11446 2001-06-28  Akim Demaille  <akim@epita.fr>
11448         * configure.in: Bump to 2.50c.
11450 2001-06-26  Akim Demaille  <akim@epita.fr>
11452         Version 2.50b.
11454 2001-06-26  Akim Demaille  <akim@epita.fr>
11456         Version 2.50a.
11458 2001-06-25  Pavel Roskin  <proski@gnu.org>
11460         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
11461         argument, AUTOCONF-FLAGS.
11462         * tests/mktests.sh (update_exclude_list): Add
11463         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
11464         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
11465         AC_FUNC_WAIT3 with "-W no-obsolete".
11467 2001-06-25  Akim Demaille  <akim@epita.fr>
11469         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
11471 2001-06-25  Akim Demaille  <akim@epita.fr>
11473         * autoscan.in (%macro): Now maps from word to list of macros.
11474         (&init_tables): Die when a word which is already handled by
11475         explicit macros is mapped to the default macro.
11476         (&print_unique): Remove, inlined in...
11477         (&output_kind): here.
11478         (File::Basename): Use it.
11479         (&output): Sort the CONFIG_FILES.
11480         * acheaders: Normalize.
11481         * acfunctions: Likewise.
11483 2001-06-25  Akim Demaille  <akim@epita.fr>
11485         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
11486         characteristics in the logs.
11487         Suggested by Mo DeJong.
11489 2001-06-24  Akim Demaille  <akim@epita.fr>
11491         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
11492         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
11493         * doc/autoconf.texi (Autoconf 2.13): New section.
11495 2001-06-24  Akim Demaille  <akim@epita.fr>
11497         * autoconf.in (Task traces): Separate the error messages from the
11498         traces to improve robustness.
11500 2001-06-23  Akim Demaille  <akim@epita.fr>
11502         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
11503         three as failures are unlikely, and speed matters.
11505 2001-06-23  Akim Demaille  <akim@epita.fr>
11507         * doc/autoconf.texi (Redefined M4 Macros): New.
11509 2001-06-23  Akim Demaille  <akim@epita.fr>
11511         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
11512         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
11513         5.3.
11515 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
11517         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
11518         config.status targets to after the evaluation of the INIT-CMDS.
11519         Double quote config.status targets (used to be single quoted).
11521 2001-06-23  Akim Demaille  <akim@epita.fr>
11523         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
11524         Check the content of the created file.
11525         Check the ./config.status command line invocation.
11527 2001-06-23  Akim Demaille  <akim@epita.fr>
11529         * tests/foreign.at (Libtool): Reject prehistoric versions.
11531 2001-06-23  Akim Demaille  <akim@epita.fr>
11533         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
11534         preexisting files matching a.*.
11536 2001-06-23  Akim Demaille  <akim@epita.fr>
11538         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
11539         stderr.
11540         * doc/autoconf.texi (AC_ARG_VAR): Update.
11542 2001-06-21  Akim Demaille  <akim@epita.fr>
11544         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
11545         precious variables have changed.
11546         * tests/torture.at (AC_ARG_VAR): Adjust.
11548 2001-06-21  Akim Demaille  <akim@epita.fr>
11550         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
11551         but some sed choke on multiple `;', and other tools (e.g.,
11552         Automake), include the separator themselves.
11554         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
11556 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
11558         * doc/autoconf.texi (Functions Portability): Rename as...
11559         (Function Portability): this.
11560         (Function Portability): Document potential problems with unlink().
11562 2001-06-19  Paul Eggert  <eggert@twinsun.com>
11564         * NEWS, doc/autoconf.texi: Document quadrigraphs.
11566 2001-06-18  Akim Demaille  <akim@epita.fr>
11568         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
11570 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
11572         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
11573         (_AC_FUNC_VFORK): this.
11574         Remove AC_DEFINEs and don't guess cross-compilation values.
11575         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
11576         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
11577         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
11578         vfork doesn't work.
11579         Guess values if cross-compiling, but warn.
11580         * acfunctions: Add AC_FUNC_FORK.
11581         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
11582         and vfork appropriately.
11584 2001-06-18  Akim Demaille  <akim@epita.fr>
11586         * doc/autoconf.texi (Functions Portability): New section.
11588 2001-06-18  Akim Demaille  <akim@epita.fr>
11590         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
11591         in $M4.
11592         Suggested by Andreas Schwab.
11594 2001-06-18  Akim Demaille  <akim@epita.fr>
11596         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
11597         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
11598         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
11599         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
11600         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
11601         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
11602         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
11603         the converse).
11605 2001-06-18  Akim Demaille  <akim@epita.fr>
11607         * doc/autoconf.texi (ms): New index.
11608         (Macro Index): Rename as...
11609         (Autoconf Macro Index): this.
11610         (M4 Macro Index): New appendix.
11611         (Programming in M4): New chapter.
11612         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
11613         (Quoting): Rename as...
11614         (M$ Quotation): this.
11615         Be part of `Programming in M4).
11617 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
11619         * tests/torture.at (AC_ARG_VAR): Set variables and export them
11620         in separate statements for compatibility with Tru64 v5.1.
11622 2001-06-17  Akim Demaille  <akim@epita.fr>
11624         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
11625         current values of the precious variables, not the previously
11626         cached values.
11627         Pass precious variables which are set to config.status.
11628         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
11629         * tests/torture.at (AC_ARG_VAR): New.
11631 2001-06-15  Paul Eggert  <eggert@twinsun.com>
11633         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
11634         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
11635         and explain why and how to replace them.
11636         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
11637         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
11639 2001-06-15  Akim Demaille  <akim@epita.fr>
11641         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
11642         Reported by Bruno Haible.
11644         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
11645          (_AC_ARG_VAR_PRECIOUS): to here.
11647 2001-06-15  Pavel Roskin  <proski@gnu.org>
11649         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
11650         an unused pointer use cast to this type and `if' statement to
11651         avoid warnings from the compiler.
11652         (AC_HEADER_TIME): Likewise.
11653         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
11654         in `if' statement to avoid warnings from the compiler. Declare
11655         ac_aggr static to avoid the need to initialize it.
11657 2001-06-14  Akim Demaille  <akim@epita.fr>
11659         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
11660         Macros'.
11662 2001-06-13  Akim Demaille  <akim@epita.fr>
11664         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
11665         Suggested by Alexander Mai.
11667 2001-06-13  Akim Demaille  <akim@epita.fr>
11669         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
11670         sys/types.h and sys/stat.h, and check for them.
11672 2001-06-13  Akim Demaille  <akim@epita.fr>
11674         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
11675         INCLUDES.
11677 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
11679         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
11680         succeeds and only try adding libdnet upon a failure.
11682 2001-06-12  Akim Demaille  <akim@epita.fr>
11684         * autoscan.in (&output_kind): Output the comment only if it exists.
11685         (%kind_comment): Add entry for `programs'.
11686         (&output_programs): Use &output_kind.
11687         (&output_functions, &output_identifiers, &output_headers)
11688         (&output_programs): Inline, and remove.
11690 2001-06-12  Akim Demaille  <akim@epita.fr>
11692         * autoscan.in (%kind_comment): New.
11693         (output_kind): New.
11694         (output_functions, output_identifiers, output_headers): Use it.
11696 2001-06-12  Akim Demaille  <akim@epita.fr>
11698         * autoscan.in (&print_unique): Take `$kind' and `$word' as
11699         arguments, to factor indirections into `%macro' and `%used'.
11700         (%generic_macro): Fix a typo.
11702 2001-06-12  Akim Demaille  <akim@epita.fr>
11704         * aclibraries: New.
11705         * autoscan.in (@kinds): Add `libraries'.
11706         Use `@kinds' instead of hard coded lists.
11707         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
11708         Remove, replaced by...
11709         (%used): this.
11711 2001-06-12  Akim Demaille  <akim@epita.fr>
11713         * autoscan.in (%functions_macros %headers_macros)
11714         (%identifiers_macros %programs_macros %makevars_macros): Remove,
11715         replaced by...
11716         (%macro): New.
11718 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
11720         * aclang.m4 (AC_NO_EXECUTABLES): Override
11721         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
11723 2001-06-11  Akim Demaille  <akim@epita.fr>
11725         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
11726         trailing new line.
11727         Reported by Andreas Schwab.
11729 2001-06-11  Akim Demaille  <akim@epita.fr>
11731         * Makefile.am, Makefile.maint: Typos.
11733 2001-06-09  Akim Demaille  <akim@epita.fr>
11735         * doc/autoconf.texi (Here-Documents): New section, gathering
11736         documentation about here-documents.
11737         Use `href', not `uref', and other changes.
11739 2001-06-09  Akim Demaille  <akim@epita.fr>
11741         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
11742         chapter.
11744 2001-06-09  Akim Demaille  <akim@epita.fr>
11746         * doc/autoconf.texi (Limitations of Builtins): Complete the
11747         description of the here-docs penalties with Alexandre Oliva's
11748         explanations.
11750 2001-06-01  Paul Eggert  <eggert@twinsun.com>
11752         * doc/autoconf.texi: Talk about here documents and speedups.
11753         Do not use "echo" on arbitrary strings.
11754         Spell "here-documents" consistently with the standard.
11756 2001-06-09  Akim Demaille  <akim@epita.fr>
11758         * doc/autoconf.texi (Concept Index): Introduce it.
11759         Regenerate the menus.
11761 2001-06-09  Akim Demaille  <akim@epita.fr>
11763         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
11764         * config/prev-version.txt: New.
11765         * config/move-if-change: New, for GNU libc.
11767 2001-06-06  Pavel Roskin  <proski@gnu.org>
11769         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
11771 2001-06-06  Akim Demaille  <akim@epita.fr>
11773         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
11774         properly when $1 is not a literal.
11775         Fixes PR Autoconf/187, reported by Bram Moolenaar.
11777 2001-06-06  Akim Demaille  <akim@epita.fr>
11779         Invoking AC_COPYRIGHT before AC_INIT fails.
11781         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
11782         * acgeneral.m4 (_m4_divert(VERSION_FSF))
11783         (_m4_divert(VERSION_USER)): New.
11784         (AC_COPYRIGHT): $2 is the diversion to use.
11785         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
11786         (AC_INIT): Remove dead comments as now it's commutative.
11788 2001-06-06  Akim Demaille  <akim@epita.fr>
11790         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
11791         PR autoconf/187.
11793 2001-06-05  Akim Demaille  <akim@epita.fr>
11795         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
11796         can be empty.
11797         `*dir' variables cannot be NONE.
11798         Reported by Mark Kettenis.
11800 2001-06-05  Paul Eggert  <eggert@twinsun.com>
11802         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
11804 2001-06-04  Akim Demaille  <akim@epita.fr>
11806         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
11807         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
11808         (AC_TR_SH): Move as...
11809         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
11810         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
11811         (AS_TR_SH): these.
11812         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
11813         (_AS_TR_SH_PREPARE): New.
11814         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
11815         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
11817 2001-06-02  Akim Demaille  <akim@epita.fr>
11819         * Makefile.am (.m4.m4f): Pass the options first.
11820         Fixes PR autoconf/182.
11822 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
11824         GNU getopt, when POSIXLY_CORRECT does not permute options and
11825         arguments.  So pass the options first.
11826         Fixes PR autoconf/184.
11828         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
11829         (run_m4): Remove files.
11830         (run_m4f): Remove.
11831         Update remainder of script to use them.
11832         (for warning in): Do not use a literal comma as it will not be
11833         split by IFS.
11835 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
11837         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
11838         Fortran compilers to check.
11839         (_AC_PROG_F77_V): Add '-###' as a possible option to print
11840         information on library and object files.
11841         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
11842         to check.
11844 2001-06-02  Akim Demaille  <akim@epita.fr>
11846         * autom4te.in (Request::@request): Declare with `vars', not `my',
11847         as it prevents updates via `do FILENAME'.
11849 2001-06-02  Akim Demaille  <akim@epita.fr>
11851         * configure.in (standards_texi): Remove, dead code.
11853 2001-06-02  Akim Demaille  <akim@epita.fr>
11855         * autom4te.in: New.
11857 2001-06-02  Pavel Roskin  <proski@gnu.org>
11859         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
11860         for signals other than 0 - exit with code 1.
11861         * m4sh.m4 (AS_TMPDIR): Likewise.
11862         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
11863         * autoheader.in: Likewise.
11864         * autoreconf.in: Likewise.
11865         * tests/torture.at (Signal handling): New test for the above.
11867 2001-06-01  Akim Demaille  <akim@epita.fr>
11869         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
11870         message.
11872 2001-05-31  Akim Demaille  <akim@epita.fr>
11874         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
11875         Add copyright and comments.
11876         * acheaders: Add stdint.h.
11877         Suggested by Paul Eggert.
11879 2001-05-31  Akim Demaille  <akim@epita.fr>
11881         * atgeneral.m4 (AT_INIT): Use $SHELL.
11882         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
11884 2001-05-31  Akim Demaille  <akim@epita.fr>
11886         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
11887         stdint.h.
11888         From Paul Eggert and Lars Hecking.
11890 2001-05-31  Akim Demaille  <akim@epita.fr>
11892         * tests/base.at: Adjust line numbers in error messages.
11894 2001-05-31  Akim Demaille  <akim@epita.fr>
11896         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
11897         to emit the bangshe line.
11898         Reported by David Carter.
11900 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
11902         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
11903         Fortran (95) compilers to check.
11905 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
11907         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
11908         Macro Archive URL.
11910 2001-05-23  Pavel Roskin  <proski@gnu.org>
11912         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
11913         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
11914         (AC_PROG_CXXCPP): Likewise.
11916 2001-05-22  Akim Demaille  <akim@epita.fr>
11918         * config: New directory.
11919         * configure.in: AC_CONFIG_AUX_DIR it.
11920         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
11922 2001-05-22  Akim Demaille  <akim@epita.fr>
11924         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
11925         * autoupdate.in: Specify the Emacs mode.
11926         * acversion.m4.in: Rename as...
11927         * acversion.m4: this.
11928         * tests/Makefile.am (CLEANFILES): More garbage.
11930 2001-05-22  Akim Demaille  <akim@epita.fr>
11932         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
11933         Rename as...
11934         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
11935         these.
11937 2001-05-21  Akim Demaille  <akim@epita.fr>
11939         * configure.in: Bump to 2.50a.
11942         -----
11944         Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
11945         Foundation, Inc.
11947         This file is part of GNU Autoconf.
11949         GNU Autoconf is free software; you can redistribute it and/or modify
11950         it under the terms of the GNU General Public License as published by
11951         the Free Software Foundation; either version 2, or (at your option)
11952         any later version.
11954         GNU Autoconf is distributed in the hope that it will be useful,
11955         but WITHOUT ANY WARRANTY; without even the implied warranty of
11956         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11957         GNU General Public License for more details.
11959         You should have received a copy of the GNU General Public License
11960         along with autoconf; see the file COPYING.  If not, write to
11961         the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
11962         Boston, MA 02110-1301, USA.