* doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
[autoconf.git] / ChangeLog
blob17fb8aadd9d41ab92ac4e917097ccee12a6fe9cd
1 2004-09-02  Akim Demaille  <akim@epita.fr>
3         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
4         "case" to restore ordering.
5         Reported by Stepan Kasal.
7 2004-08-26  Akim Demaille  <akim@epita.fr>
9         * doc/autoconf.texi: Minor typos and stylos.
11 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
13         * configure.ac (AC_INIT): Bump to 2.59c.
15 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
17         Version 2.59b.
19         * README: Add advice about m4 1.4.2.
21         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
22         texinfo.tex for now (done by hand now).
23         * Makefile.maint (wget_files, cvs_files):
24         Remove ansi2knr.c; nobody uses it.
25         (ansi2knr.c-url_prefix): Remove.
26         (cvs-update): Fix test for failure.  I don't know why it ever
27         worked...
29         * doc/autoconf.texi: Update URLs, some of which went stale.
30         Use @uref rather than @href.
32         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
33         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
35         * config/config.guess, config/config.sub, config/elisp-comp,
36         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
37         doc/fdl.texi, doc/standards.texi: Sync with master copy.
39         * NEWS, TODO, configure.ac, bin/autoscan.in,
40         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
41         doc/install.texi, lib/Autom4te/Configure_ac.pm,
42         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
43         lib/autoconf/programs.m4, lib/autoconf/status.m4,
44         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
45         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
46         tests/tools.at, tests/torture.at:
47         Use "file name" rather than "filename" or "path",
48         to be consistent with the terminology of the GNU coding standards.
50 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
52         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
53         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
54         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
55         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
57         More fixes to support spaces in the name of the build directory.
58         This isn't a complete fix but it's an improvement.
60         * bin/autoconf.as (autom4te_options): New var.
61         Use it instead of appending to AUTOM4TE, so that we can allow
62         spaces in the build directory's absolute name.
63         * bin/autoheader.in ($autoconf): Allow spaces in file names.
64         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
65         AT_CHECK_NOESCAPE): Likewise.
66         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
67         main program): Likewise.
69 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
71         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
72         From Ralf Corsepius in:
73         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
75 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
77         * doc/autoconf.texi (Function Portability): Document isinf and
78         and isnan.  From a suggestion by Kevin Ryde.
80         * lib/Autom4te/General.pm (END): Return correct exit status even
81         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
83 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
85         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
86         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
87         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
89 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
91         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
92         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
93         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
94         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
95         * lib/autom4te.in (Automake-preselections): Preselect
96         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
98 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
100         * lib/autom4te.in (Automake-preselections): Preselect
101         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
102         trace them.
104 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
106         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
107         Tru64.
108         * doc/autoconf.texi (Shellology): Mention BIN_SH.
109         Document problem with "`""`" in pdksh POSIX mode.
111 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
113         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
114         with pdksh, too.  Problem reported by Patrick Welche via
115         Gary V. Vaughan.
116         * doc/autoconf.texi (Shellology): Note that set -o posix is
117         useful for pkdsh, too.
119 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
121         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
122         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
123         Don't fail if ENV or BASH_ENV is readonly.
124         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
125         etc. are read only.  Problem reported by Ludovic Courtes.
127 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
129         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
130         zsh, disable GLOB_SUBST to avoid backslash handling problems.
131         (trivial change)
133 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
135         * doc/autoconf.texi (File System Conventions): Warn about
136         names like "aux".  Problem reported by Eric Blake.
138         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
139         by zero instead of array size, so that we can use any arithmetic
140         constant expression (instead of requiring an integer constant
141         expression).  This allows us to test expressions like DBL_MAX <
142         LDBL_MAX, which didn't conform to the C standard using the old
143         method.
144         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
145         now that we can do floating-point tests at compile time.
147 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
149         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
150         and LDBL_EPSILON, as the resulting expression isn't an
151         integer constant expression and violates the C standard.
152         Problem reported by Nelson H. F. Beebe.  Also, check
153         for "L" suffix, and check that long double doesn't have
154         worse range or precision than double, that mixed-mode
155         arithmetic doesn't generate a diagnostic, that double
156         constants fit in long double.
158 2004-06-03  Kevin Ryde  <user42@zip.com.au>
160         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
161         malloc(0) and realloc(NULL,size).
163         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
164         Bob Proulx.
166 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
168         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
169         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
170         by Jim Meyering.
172 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
174         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
175         can be rewritten using if-then-else.  Suggested by Bruno Haible.
177 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
179         * doc/autoconf.texi (testsuite Scripts): Fix typo.
180         Problem reported by Stepan Kasal.
182 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
184         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
185         change).  Patch reported by Ralf Wildenhues in
186         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
188         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
189         function F exists if the compiler and linker let you compile an
190         expression like (F != 0).  Recent versions of GCC optimize away
191         the reference to F in that case, since every function address must
192         be nonzero, so the link succeeds even if F does not exist.
193         Problem reported by Manu in
194         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
196         * doc/autoconf.texi (Systemology): Standardize on the spelling of
197         "Unix".  Many uses changed.
198         (Limitations of Builtins): Explain better why the ! command isn't
199         portable.
201 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
203         * lib/autom4te.in (Automake-preselections): Preselect
204         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
206 2004-05-19  Kevin Ryde  <user42@zip.com.au>
208         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
209         referencing AC_FUNC_STRERROR_R.
211         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
212         note pessimistic assumption when cross compiling.
214 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
216         * doc/autoconf.texi (Limitations of Make): Note that BSD make
217         (until 2004) invoked subcommands with sh -e, contra POSIX.
218         Reported by Kevin Ryde.
220 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
222         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
223         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
224         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
225         `test -f "        /usr/bin/grep"', which _always_ failed.
226         (AC_PROG_SED): Ditto bogus PATH fix.
227         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
228         requires that grep correctly supports _multiple_ `-e' options, rather
229         than stating only that grep should accept `-e'.
231 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
233         Port to C99, which requires that 'exit' be declared.
235         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
236         to ensure that stdlib.h is included.
237         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
238         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
239         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
240         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
241         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
242         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
243         when using 'exit' in a test; C99 requires that 'exit' be declared.
245 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
247         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
248         now prefers 'grep' implementations that accept -e.
249         (Limitations of Usual Tools): Describe problems of traditional
250         egrep and fgrep with long input lines, and of traditional grep
251         with -e.
252         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
253         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
254         All callers changed.  Append /usr/xpg4/bin to the PATH, for
255         Solaris.
256         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
257         the user with complaints about multiple -e options.
258         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
259         Define it with AC_PROG_GREP.
260         * configure.ac (AC_PROG_GREP): Add.
261         * lib/freeze.mk (GREP): New macro.
263 2004-05-02  Eric Sunshine <sunshine@sunshineco.com>
265         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
266         a possible candidate only after all others fail, rather than
267         consulting it first.  This improves backward compatibility by
268         better reflecting the way shell selection occurred in previous
269         versions of Autoconf, and should help to avoid triggering latent
270         problems in other packages, such as the one in Automake where zsh
271         is not handled robustly:
272         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
273         Although it is not Autoconf's responsibility to work around
274         problems in Automake, it nevertheless makes sense to avoid
275         introducing unnecessary incompatibilites.
277 2004-04-22  Albert Chin-A-Young <china@thewrittenword.com>,
278             Gary V. Vaughan  <gary@gnu.org>
280         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
281         how deeply nested we are when a suitable tool is found, set the
282         ac_path_TOOL_found flag.
283         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
284         nested we are in this macro.  Break out of all 3 nested loops if
285         ac_path_TOOL_found is set.
287 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
289         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
290         of the _AS_PATH_WALK loop too if GNU flavor is found.
292 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
294         * doc/autoconf.texi (Limitations of Make): Update documentation
295         for `$<'.  New entry `Long lines', based on a report from Simon
296         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
297         paragraph about DJGPP, based on a mail from Richard Dawe.
299 2004-04-20  Paul Eggert  <eggert@twinsun.com>
301         * tests/c.at (C keywords): Don't assume that GCC supports
302         "restrict" and "inline", as sufficiently-old GCC versions do not
303         (also, GCC configured to be in pedantic C89 mode does not).
304         Problem reported by Sumit Pandya in:
305         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
307         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
308         consider -g to work if it generates warnings when plain compiles
309         don't.  Problem reported by Braden McDaniel in:
310         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
312         * doc/autoconf.texi (Slashes): New section, to document a problem
313         reported by Jim Meyering in:
314         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
316         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
317         linker output files before linking, to work around IRIX 6 linker bug.
318         Problem reported by Rainer Orth in:
319         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
321 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
323         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
324         best tool so far counter rely on the tool path variable name to
325         avoid checks for one tool being affected by the results of running
326         the length check on a previous tool.
328         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
329         match expression argument, as different greps have different
330         regular expression flavours.
331         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
332         literals.
333         (AC_PROG_EGREP): Pass 'EGREP$'.
334         (AC_PROG_GREP): Pass 'GREP$'.
336 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
338         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
339         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
341 2004-03-29  Paul Eggert  <eggert@twinsun.com>
343         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
344         Types, Specific Compiler Characteristics, System Services,
345         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
346         etc. consistently instead of 'long', 'short', 'unsigned' etc.
347         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
348         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
349         Likewise.
350         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
351         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
352         AC_TYPE_OFF_T): Likewise.
353         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
354         Likewise.
356         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
357         pacify libtool 1.5.2.  Fix quoting problems in sed command.
359 2004-03-28  Paul Eggert  <eggert@twinsun.com>
361         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
362         now defines HAVE_DECL_TZNAME if it is declared, when
363         HAVE_STRUCT_TM_TM_ZONE is not defined.
364         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
365         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
366         for HAVE_TZNAME.
368 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
370         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
371         superfluous backslashing of quotes (") in sed expressions;
372         thanks to Paul Eggert.
374 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
376         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
377         Fortran compiler is ifort, also added pghpf; thanks to Nelson
378         H. F. Beebe for the bug report.
380 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
382         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
383         quoted -cmdline argument in Portland Group compiler (bug
384         reported by Jeffrey J. Barteet).
386 2004-03-25  Kevin Ryde  <user42@zip.com.au>
388         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
389         (Run Time): ... here, where it's now mentioned.
391 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
393         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
394         inherits from language Autoconf-without-aclocal-m4.
395         (Customizing autom4te): Adjust example; the cache must now be
396         disabled for language Autoconf-without-aclocal-m4.
398 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
399             Nathanael Nerode  <neroden@twcny.rr.com>
401         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
402         AC_CHECK_TOOLS): Warn if a cross-tool is found without
403         a prefix.
404         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
405         AC_CHECK_TARGET_TOOLS): New macros.
406         * doc/autoconf.texi (Generic Programs): Document
407         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
408         AC_CHECK_TARGET_TOOLS, and warn for future changes
409         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
410         AC_CHECK_TOOLS.
411         (Specifying Names): Document the reason for these future
412         behavioral changes.
413         * tests/mktests.sh: Do not generate tests for the
414         new macros.
415         * NEWS: Document these changes.
417         * doc/autoconf.texi: Avoid macros with unbraced arguments,
418         they make TeX hang up.
420 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
422         * NEWS: New macro AC_CHECK_ALIGNOF.
423         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
424         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
425         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
426         vowel.
427         (AC_CHECK_ALIGNOF): New macro.
428         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
429         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
430         those for sizeof.
432 2004-03-03  Paul Eggert  <eggert@twinsun.com>
434         * bin/Makefile.am (edit): Don't use $< in a context where
435         POSIX doesn't require support for it.  Use $@.in instead.
436         Problem reported by Anthony N. Frasso in
437         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
438         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
440 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
442         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
443         from the next generation of Libtool.
444         * lib/autom4te.in (Autoreconf-preselections): Ditto.
446 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
448         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
449         is not always thread-safe.  Report from Nathanael Nerode.
451 2004-02-18  Paul Eggert  <eggert@twinsun.com>
453         Fix a dependencies problem, stemming from a Autoconf 2.59 build
454         problem on QNX reported by Stephen Rasku in
455         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
457         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
458         $(m4sh_m4f_dependencies); this removes a FIXME.
459         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
460         (MAINTAINERCLEANFILES): Split into pieces,
461         one per related section.  Add $(srcdir)/wrapper.in.
463 2004-02-09  Paul Eggert  <eggert@twinsun.com>
465         * doc/autoconf.texi (Setting Output Variables): Emphasize that
466         AC_SUBST provides no portable way to escape literal newlines.
468         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
469         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
470         Darwin uses -lcrt2.o and there's little point to cataloging all
471         the system variants.  Partial fix reported by Andreas Waechter in:
472         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
473         for bug reported by Nelson H. F. Beebe in:
474         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
476 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
478         * doc/autoconf.texi (AU_DEFUN): Fix English,
479         suggested by Paul Eggert.
480         * lib/autoconf/autoupdate.m4: Correct reference to
481         acobsolete.m4, suggested by Alexandre Duret-Lutz.
483 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
485         * bin/autoupdate.in: Define __file__ so that warnings
486         refer to the correct file.
487         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
488         the behavior of the third argument.
489         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
490         correctly the behavior of the third argument.  Document
491         what the three macros that AU_DEFUN defines do.  Fix
492         warning message when the third argument includes $0
493         (reported by Alexandre Duret-Lutz).
495 2004-01-30  Paolo Bonzini <bonzini@gnu.org>
496             Eric Sunshine <sunshine@sunshineco.com>
497             Paul Eggert <eggert@twinsun.com>
499         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
500         (AS_INIT): Output shell initialization there. Removed optional
501         parameter. Expand _AS_SHELL_FN_SPY.
502         (AS_INIT_WITH_SHELL_FN): Removed.
503         (_AS_SHELL_FN_SPY): New macro.
504         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
505         macros.
506         (AS_SHELL_SANITIZE): Remove loop to find better shell
507         and documentation for the parameter.
508         (_AS_DETECT_BETTER_SHELL): Move it here.
509         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
510         (_AS_RUN): Move it here, support testing with eval.
511         (AS_REQUIRE_SHELL_FN): Require shell functions when
512         it is used.
513         (_AS_LINENO_WORKS): Put around braces, we do not
514         trigger the bash bug anymore.
515         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
516         use AS_INIT_WITH_SHELL_FN.
517         * bin/autoconf.in, tests/wrapper.in: Regenerated.
519 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
521         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
522         * doc/autoconf.texi: Don't say that the third parameter
523         is broken.
524         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
525         (AU_DEFUN): Honor the third parameter, create autoupdate
526         macros with AU_DEFINE.
527         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
528         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
529         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
530         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
531         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
532         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
533         AC_XENIX_DIR): Likewise.
534         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
535         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
536         * lib/autoconf/status.m4: Remove FIXME.
537         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
538         that the macro is not present anymore in the updated
539         configure.ac.
540         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
541         of autoupdate.
543 2004-01-28  Paul Eggert  <eggert@twinsun.com>
545         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
546         copyright years.
547         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
548         2003 (except 1997) to the list of copyright years.  This undoes
549         the 2003-05-22 change, which removed the older years from the list.
550         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
552 2004-01-27  Gary V. Vaugan  <gary@gnu.org>
553             Albert Chin-A-Young <china@thewrittenword.com>
555         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
556         grep or ggrep program in PATH that accepts as long lines as
557         possible.
558         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
559         AC_PROG_GREP.
560         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
561         egrep and fgrep respectively if $GREP -E/-F don't work.
562         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
563         _AC_PROG_GREP, and AC_PROG_SED.
564         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
565         longest input length accepted by a command.
566         (AC_PROG_SED): Use it.
567         * doc/autoconf.texi (Particular Programs): Document the changes.
568         * NEWS: Updated.
570 2004-01-27  Paul Eggert  <eggert@twinsun.com>
572         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
573         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
574         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
575         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
577         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
578         bin/autoconf.in, config/Makefile.in, config/config.guess,
579         config/config.sub, config/install-sh, config/mdate-sh,
580         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
581         lib/Makefile.in, lib/Autom4te/Makefile.in,
582         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
583         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
584         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
585         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
586         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
587         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
588         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
589         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
590         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
591         tests/actypes.at: Regenerate and/or sync with original
592         sources.
594 2004-01-26  Paul Eggert  <eggert@twinsun.com>
596         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
597         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
598         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
599         not <inttypes.h>.  Problem reported by Tim Mooney in
600         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
601         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
602         Likewise.
604         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
605         otherwise "make check" fails because it forbids cmp (I guess
606         because cmp treats files as binary on DOS-like systems).
608         * tests/mktests.sh: Update copyright date to 2004, since some tests
609         have changed in 2004.
611 2004-01-23  Gary V. Vaugan  <gary@gnu.org>
613         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
614         non-truncating sed or gsed program in PATH.
615         * tests/acprograms.at: Add it.
616         * doc/autoconf.texi (Particular Programs): Document it.
617         * NEWS: Updated.
619 2004-01-15  Paul Eggert  <eggert@twinsun.com>
621         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
622         -std1 disables some useful extensions on Tru64.  Problem reported
623         by N. Lichtmaier in
624         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
626 2004-01-14  Paul Eggert  <eggert@twinsun.com>
628         * doc/autoconf.texi (Programming in M4sh): Document that
629         AS_MKDIR_P succeeds if the destination is a symbolic link
630         to an existing directory.
631         (Limitations of Usual Tools): Note that mkdir -p might not
632         succeed on symlinks to directories.
634 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
636         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
637         * bin/autoheader.in: Grammar fix in message.
638         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
639         Test for dir before calling mkdir -p.  (trivial changes)
641 2004-01-13  Eric Blake  <ebb9@byu.net>
643         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
644         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
646 2004-01-10  Jim Meyering  <jim@meyering.net>
648         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
650 2004-01-09  Paul Eggert  <eggert@twinsun.com>
652         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
653         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
654         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
655         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
656         AC_COMPILE_IFELSE, since we now assume our caller invokes
657         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
658         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
659         of AC_RUN_IFELSE; this avoids the warning mentioned above.
660         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
662 2004-01-07  Paul Eggert  <eggert@twinsun.com>
664         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
665         `"'...'"`, as it's confusing (and I suspect it may not work on
666         some platforms).  The code was incorrect anyway, as it assumed
667         that \$ evaluated to itself in that context.  Reported by
668         Alexandre Duret-Lutz.
670 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
672         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
673         and _LT_AC_TAGCONFIG.
675 2004-01-06  Paul Eggert  <eggert@twinsun.com>
677         * doc/autoconf.texi (One Macro Call): Fix an incorrect
678         example, and add more examples.  Reported by Eric Sunshine.
680 2004-01-05  Paul Eggert  <eggert@twinsun.com>
682         * doc/autoconf.texi (Limitations of Usual Tools):
683         Remove warning against "rm -fr" introduced yesterday; it
684         was a false alarm.
686         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
687         autoscan, autoupdate, ifnames): Don't use chmod -w.
688         * lib/Makefile.am (autom4te.cfg): Likewise.
689         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
690         "chmod -w".
692 2004-01-04  Paul Eggert  <eggert@twinsun.com>
693             Paolo Bonzini  <bonzini@gnu.org>
695         * libc/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
696         by doing lineno substitution only on lines containing "$LINENO".
698 2004-01-04  Paul Eggert  <eggert@twinsun.com>
700         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
701         Use "rm -f" to remove conftest.sed, not plain "rm".
702         Bug reported by David Relson in
703         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
705         * Makefile.am (autom4te-update):
706         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
707         * Makefile.maint (my-distcheck, do-po-update): Likewise.
708         * doc/autoconf.texi (Guidelines): Likewise.
709         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
710         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
711         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
712         * lib/autotest/general.m4 (AT_INIT): Likewise.
713         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
714         * tests/Makefile.am (clean-local): Likewise.
715         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
716         srcdir): Likewise.
717         * doc/autoconf.texi (Limitations of Usual Tools):
718         Warn against "rm -fr".
720 2004-01-03  Paul Eggert  <eggert@twinsun.com>
722         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
723         -c -o might not work.  From a suggestion by Kevin Ryde.
724         (C Compiler, Generating Sources, Limitations
725         of Usual Tools, Limitations of Make, Making testsuite Scripts):
726         Don't put '-o' after non-options, as POSIX doesn't allow this.
727         Mention that cc's name might be gcc or c89 or whatever.
729 2004-01-04  Kevin Ryde  <user42@zip.com.au>
731         * doc/autoconf.texi: Add various further index entries.
733 2003-12-29  Paul Eggert  <eggert@twinsun.com>
735         * bin/autoreconf.in (autoreconf_current_directory):
736         Fix typo: mkdir without umask arg.
738 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
740         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
741         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
742         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
743         explanation clearer.
745 2003-12-24  Andreas Schwab  <schwab@suse.de>
747         * doc/autoconf.texi (Default Includes): Fix misspelling of
748         AC_INCLUDES_DEFAULT.
750 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
752         * configure.ac: Test if sh -n works.
753         * configure: Regenerate.
754         * tests/atlocal.in: Store the result here.
755         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
756         tools.at, looking in atlocal's ac_cv_sh_n_works instead
757         of explicitly testing.
758         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
759         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
760         * tests/tools.at (Syntax of the shell scripts): Simplify
761         using AT_CHECK_SHELL_SYNTAX.
762         (Syntax of the Perl scripts): Remove definition of
763         AT_CHECK_PERL_SYNTAX.
765 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
767         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
768         stderr to /dev/null.
769         * bin/autoconf.in: Regenerate.
770         * bin/wrapper.in: Regenerate.
772 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
774         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
775         Extracted from AS_SHELL_SANITIZE.
776         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
777         macros.
778         (AS_SHELL_SANITIZE): Move reinvocation code from
779         _AS_LINENO_WORKS, use it to find out if shell
780         functions work.
781         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
782         does not work.
783         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
784         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
785         was called.
786         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
787         * bin/autoconf.in: Regenerate.
788         * tests/wrapper.in: Regenerate.
789         * tests/tools.at: Test the syntax of tests/autoconf
790         and tests/testsuite.
792 2003-11-24  Akim Demaille  <akim@epita.fr>
794         * config/announce-gen (&print_locations, &print_signatures)
795         (&sizes): New.
796         Use them.
797         No longer rely on Gnus to inline the list of signatures: compute
798         them on the fly.
800 2003-11-24  Akim Demaille  <akim@epita.fr>
802         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
803         override some files.
804         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
805         From Debian Autoconf 2.58.
807 2003-11-24  Akim Demaille  <akim@epita.fr>
809         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
810         uses.
811         From Debian Autoconf 2.58.
813 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
815         * TODO: Remove already done things.  Update the part about finding
816         tools for the target.
818 2003-11-24  Paolo Bonzini <bonzini@gnu.org>
820         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
821         Make wording more consistent.
822         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
823         Explain the transition better.
824         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
825         the transition better.
827 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
829         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
830         parameter of AU_DEFUN.
831         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
832         (AU_DEFUN): Remove the third parameter, it was not used.
833         Use AC_DEFUN directly, not AU_DEFINE.
834         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
835         the expanded body, consistently with other macros such as AC_USG.
837 2003-11-17  Paul Eggert  <eggert@twinsun.com>
839         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
840         into the initial confdefs.h, to work around a bug in NextStep 3.3
841         patch 3 reported by Eric Sunshine.
843 2003-11-15  Kevin Ryde  <user42@zip.com.au>
845         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
846         than $target since the latter is not usual, add guidelines on when to
847         use or not use the system type.
849 2003-11-12  Derek Price  <derek@ximbiot.com>
851         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
852         typo misrepaired by an auto-spellcheck.
854 2003-11-12  Akim Demaille  <akim@epita.fr>
856         * bin/autoreconf.in (&parse_args): Don't call automake with
857         --force-missing unless it actually supports it.
858         From Debian #219336.
860 2003-11-12  Akim Demaille  <akim@epita.fr>
862         * configure.ac: Bump to 2.59a.
863         Require 2.59.
865 2003-11-06  Akim Demaille  <akim@epita.fr>
867         Version 2.59.
869 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
871         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
872         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
873         and ac_abs_top_srcdir are absolute paths.
874         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
876 2003-11-05  Akim Demaille  <akim@epita.fr>
878         * configure.ac: Bump to 2.58a.
880 2003-11-05  Kevin Ryde  <user42@zip.com.au>
882         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
883         it provokes a warning from makeinfo about looking like a cross
884         reference in info output.
886         * doc/autoconf.texi (Function Portability): Add notes on signal
887         handler return type, as per AC_TYPE_SIGNAL.
889 2003-11-04  Akim Demaille  <akim@epita.fr>
891         Version 2.58.
892         * doc/standards.texi: Update from master.
894         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
896 2003-11-04  Akim Demaille  <akim@epita.fr>
898         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
899         computing the absolute path to d1 in the source hierarchy: it may
900         not exist at all.  So don't cd into it.
901         From Alexandre Duret-Lutz.
902         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
904         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
905         From Paul Eggert, but named after Perl's IO::Spec->catfile.
906         * doc/autoconf.texi (Programming in M4sh): Document.
907         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
909 2003-11-03  Pavel Roskin  <proski@gnu.org>
911         * doc/autoconf.texi (Generic Structure Checks): Describe
912         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
914 2003-10-31  Akim Demaille  <akim@epita.fr>
916         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
917         (GNU Fortran): New.
918         * doc/autoconf.texi (Language Choice): Document.
919         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
920         the current language is Fortran.
922 2003-10-31  Akim Demaille  <akim@epita.fr>
924         * bin/autom4te.in (&freeze): Use a less likely warning separator
925         than `\n\n', so that `\n\n\n' is valid in warnings.
926         Reported by Steve Huston.
928 2003-10-28  Akim Demaille  <akim@epita.fr>
930         * Makefile.cfg (local_updates, executable-update): Tweak to be
931         robust to parallel makes.
932         Suggested by Alexandre Duret-Lutz.
934 2003-10-27  Akim Demaille  <akim@epita.fr>
936         * Makefile.cfg (executable-update): New.
937         (local_updates): Call it.
939 2003-10-27  Akim Demaille  <akim@epita.fr>
941         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
942         Don't remove core.* as it may remove valid user files.
943         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
944         (AC_FUNC_UTIME_NULL): Likewise.
946 2003-10-23  Akim Demaille  <akim@epita.fr>
948         Version 2.57g.
949         * config/config.guess, config/config.sub: Upgrade from masters.
951 2003-10-23  Akim Demaille  <akim@epita.fr>
953         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
954         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
955         hand...
957 2003-10-23  Akim Demaille  <akim@epita.fr>
959         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
960         Don't forget to remove conftest.err.
962 2003-10-23  Akim Demaille  <akim@epita.fr>
964         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
965         same object file in $LIBOBJS.
966         Reported by Alexandre Duret-Lutz & Derek Robert Price.
967         * doc/autoconf.texi (Generic Functions): Adjust.
969 2003-10-20  Paul Eggert  <eggert@twinsun.com>
971         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
972         Use 'eval', so that the resulting configure scripts work even if
973         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
975 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
977         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
978         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
979         (_AC_LINK_IFELSE): Check the werror flag.
980         * doc/autoconf.texi (Generic Compiler Characteristics): Document
981         AC_LANG_WERROR.
982         * NEWS: Mention it.
984 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
986         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
987         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
988         override AC_LINK_IFELSE.
990 2003-10-15  Paul Eggert  <eggert@twinsun.com>
992         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
993         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
994         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
995         Mention /usr/dt/bin/dtksh on Solaris.
996         (Shell Substitutions): Warn about $((...)).
997         (Parentheses): New section.
999 2003-10-15  Kevin Ryde  <user42@zip.com.au>
1001         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
1002         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
1004 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
1006         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
1007         cross test.
1009 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
1011         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
1012         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
1014 2003-10-10  Andreas Schwab  <schwab@suse.de>
1016         * bin/autoheader.in: Avoid empty first line in --version and
1017         --help output.
1018         * bin/ifnames.in: Likewise.
1020 2003-10-09  Paul Eggert  <eggert@twinsun.com>
1022         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
1023         Issue a more-informative diagnostic.
1024         Problems reported by Eric Sunshine.
1026 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
1028         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
1029         -mGLOB_options_string stuff for Intel ifc, which can cause
1030         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
1031         pattern-matching instead of grep.
1033 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
1035         * doc/autoconf.texi: Document new FC Fortran macros.
1037 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
1039         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
1040         that future autopoint/aclocal/automake/autoreconf will be able
1041         to trace to find where to install local m4 macros.
1042         * doc/autoconf.texi (Input): Document it.
1043         * NEWS: Updated.
1045 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
1047         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
1048         -lcrtbegin.o to list of ignored flags and fix underquoting of
1049         -lcrt[01].o.
1051 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
1053         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
1054         cache variable instead of $G77 to decide whether to include -O2,
1055         since $G77 is specific to Fortran 77.
1057 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
1059         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
1060         free" flag.  Re-order flags tested into rough order of popularity.
1062 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
1064         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
1065         arguments so that it can be used with syntax identical to
1066         AC_PROG_F77, and so that we can more easily decide to
1067         remove/deprecate the DIALECT optional argument in the future if it
1068         proves troublesome.
1069         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
1070         non-freeform-supporting compilers.  Document freeform flags.
1072 2003-10-03  Akim Demaille  <akim@epita.fr>
1074         * configure.ac: Look for emacs, not macs.
1075         Reported by Eric Sunshine.
1077 2003-10-03  Akim Demaille  <akim@epita.fr>
1079         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
1080         * bin/autoreconf.in (autoreconf_current_directory): Create the
1081         AUX_DIR if needed, for sake of automake --add-missing etc.
1082         Suggested by Alexandre Duret-Lutz.
1084 2003-10-03  Akim Demaille  <akim@epita.fr>
1086         * configure.ac: Quotation and formatting changes.
1087         (EMACS): Don't set it if it is not recent enough to support
1088         autoconf-mode.el.
1089         From Eric Sunshine.
1091 2003-10-02  Akim Demaille  <akim@epita.fr>
1093         * bin/ifnames.in (&scan_file): Skip C++ comments.
1094         From Jeremy Yallop.
1096 2003-10-01  Pavel Roskin  <proski@gnu.org>
1098         * doc/autoconf.texi (Particular Structure Checks):
1099         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
1101 2003-10-01  Akim Demaille  <akim@epita.fr>
1103         Version 2.57f.
1105 2003-09-30  Paul Eggert  <eggert@twinsun.com>
1107         * lib/Autom4te/XFile.pm: Use Errno.
1108         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
1109         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
1111 2003-09-30  Akim Demaille  <akim@epita.fr>
1113         * config/announce-gen (&print_news_deltas): Extracted from...
1114         (&print_changelog_deltas): here.
1115         (&news_file): Rename as...
1116         (@news_file): this.
1118 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
1120         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
1121         have been created when invoking the compiler.
1122         * tests/fortran.at (GNU Fortran 77): Quote $G77.
1124 2003-09-29  Akim Demaille  <akim@epita.fr>
1126         Version 2.57e.
1128         * config/mkinstalldirs: Upgrade.
1130 2003-09-28  Paul Eggert  <eggert@twinsun.com>
1132         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
1133         Problem reported by Lars J. Aas in
1134         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
1135         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
1136         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
1137         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
1139 2003-09-26  Akim Demaille  <akim@epita.fr>
1141         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
1142         directory for AC_CONFIG_COMMANDS' first argument exists.
1143         This makes valid the invocation of _AC_SRCPATH that follows.
1144         Reported by Eric Sunshine.
1145         * doc/autoconf.texi (Configuration Commands): Adjust.
1147 2003-09-26  Akim Demaille  <akim@epita.fr>
1149         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
1150         Reported by Ralf Corsepius.
1152 2003-09-26  Akim Demaille  <akim@epita.fr>
1154         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
1155         arguments.
1156         Actually, use AU_ALIAS.
1157         From Bruno Haible.
1159 2003-09-26  Paul Eggert  <eggert@twinsun.com>
1161         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
1162         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
1163         Problem reported by Eric Sunshine in:
1164         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
1166 2003-09-26  Akim Demaille  <akim@epita.fr>
1168         The test suite are sometimes assigning timings incorrectly.
1169         Reported by Henk Krus.
1170         Diagnosed by Nicolas Joly.
1172         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
1173         AT_help_all.
1174         Instead of making AT_help a sequence of assignments to grow
1175         $at_help_all, just make AT_help_all be the growing contents of
1176         $at_help_all, and make a single assignment in...
1177         (AT_INIT): here.
1178         (at_times_skip): Flip the meaning and rename as...
1179         (at_times_p): this.
1180         (AT_INIT): When summarizing the test that ran, remove
1181         $at_times_file after use, and check it is present before trying to
1182         use it.
1184 2003-09-25  Akim Demaille  <akim@epita.fr>
1186         Version 2.57d.
1188         * bin/Makefile.am (edit): Handle '@configure_input@'.
1189         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
1190         (ifnames): chmod -w.
1191         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
1192         executables, not bin/ executables!  Otherwise all the magic needed
1193         to find non installed files is turned off.  This caused a failure
1194         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
1195         as found in its environment (sent by tests/autoreconf): pointing
1196         to bin/autom4te that could not find its files.
1197         * tests/mktests.sh: Force the replacement of generated files, for
1198         the sake of "mv" program that are interactive when overwriting a
1199         -w file.
1200         * config/install-sh: Upgrade from CVS Automake.
1202 2003-09-23  Paul Eggert  <eggert@twinsun.com>
1204         * doc/autoconf.texi (Limitations of Builtins): Document test -h
1205         versus test -L issues.
1207 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
1208             Paul Eggert <eggert@twinsun.com>
1210         Trivial change to support GCC's configuration procedure.
1211         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
1212         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
1213         about inconsistency if the preprocessor is set to give errors for
1214         any warning.
1215         * doc/autoconf.texi (C Compiler Characteristics): Document this.
1217 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
1219         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
1220         and XFile.pm from Automake.
1221         * lib/Autom4te/XFile.pm: Update from Automake.
1223 2003-09-12  Akim Demaille  <akim@epita.fr>
1225         Version 2.57c.
1227 2003-09-12  Akim Demaille  <akim@epita.fr>
1229         * config/config.guess, config/config.sub, config/missing,
1230         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
1231         from masters.
1233 2003-09-12  Akim Demaille  <akim@epita.fr>
1235         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
1236         not asm/types.h.
1238 2003-09-11  Akim Demaille  <akim@epita.fr>
1240         * doc/autoconf.texi (Header Portability): linux/random.h.
1241         From Peter Hendrickson.
1243 2003-09-10  Akim Demaille  <akim@epita.fr>
1245         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
1246         willing to edit the output files.
1248 2003-09-10  Akim Demaille  <akim@epita.fr>
1250         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
1251         and AC_FC_FREEFORM.
1252         * tests/mktests.sh: Skip AC_FC_SRCEXT.
1253         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
1255 2003-09-09  Akim Demaille  <akim@epita.fr>
1257         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
1258         Reported by Gary Vaughan.
1259         * bin/autom4te.in (handle_m4): Likewise.
1261 2003-09-09  Akim Demaille  <akim@epita.fr>
1263         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
1264         trailing files.
1266 2003-09-07  Paul Eggert  <eggert@twinsun.com>
1268         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
1269         Improve the accuracy of the wording about obsolescence.
1270         From a suggestion by Ian Lance Taylor in
1271         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
1273 2003-09-05  Paul Eggert  <eggert@twinsun.com>
1275         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
1276         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
1278 2003-09-04  Akim Demaille  <akim@epita.fr>
1280         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
1281         AC_FUNC_WAIT3.
1283 2003-09-04  Akim Demaille  <akim@epita.fr>
1285         * bin/autom4te.in: Use &fatal where more appropriate than &error.
1286         (freeze): When exiting, use $exit_code.
1287         * lib/autoconf/fortran.m4: Comment changes.
1289 2003-09-04  Akim Demaille  <akim@epita.fr>
1291         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
1293 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
1295         Add support for newer Fortran dialects.  The F77 interface is
1296         unchanged, and continues to support Fortran 77.  New FC macros
1297         correspond to all the old F77 macros, with output variables FC,
1298         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
1299         available dialect, but older dialects can be specified.  There are
1300         new macros AC_FC_SRCEXT to set the source extension, and
1301         AC_FC_FREEFORM to accept free-form source files.
1303         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
1304         New macros.
1305         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
1306         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
1307         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
1308         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
1309         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
1310         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
1311         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
1312         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
1313         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
1314         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
1315         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
1316         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
1317         AC_FC_SRCEXT, AC_FC_FREEFORM):
1318         New macros.
1319         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
1320         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
1321         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
1322         Rewrite in terms of the above.
1323         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
1324         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
1325         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
1326         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
1328 2003-09-02  Paul Eggert  <eggert@twinsun.com>
1330         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
1331         Document problems with timestamp resolution that 'make', 'cp -p', and
1332         'touch -r' have.
1334 2003-08-27  Akim Demaille  <akim@epita.fr>
1336         * tests/m4sugar.at (cross_warning): Make sure to enable the
1337         output, so that we can track spurious m4sugar output.
1338         * tests/local.at: Require 2.57.
1339         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
1340         are defaulted by AT_CHECK anyway.
1341         Use AT_CHECK_AUTOM4TE.
1342         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
1343         missing dnl.
1345 2003-08-27  Akim Demaille  <akim@epita.fr>
1347         * bin/autoheader.in: Issue the "Using auxiliary..." message only
1348         when -Wobsolete is set.
1349         Set it on by default.
1350         Suggested by Klee Dienes.
1352 2003-08-27  Akim Demaille  <akim@epita.fr>
1354         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
1355         documentation.
1356         From Guido Draheim.
1358 2003-08-26  Akim Demaille  <akim@epita.fr>
1360         * doc/autoconf.texi (Output): Make clear that one can run code
1361         after AC_OUTPUT.
1363 2003-08-25  Akim Demaille  <akim@epita.fr>
1365         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
1366         CVS Bison.
1368 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
1370         * bin/autoreconf.in (parse_args): Do not pass --no-force to
1371         Automake versions prior to 1.8.
1373 2003-08-25  Akim Demaille  <akim@epita.fr>
1375         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
1376         From Ville Karaila.
1378 2003-08-24  Akim Demaille  <akim@epita.fr>
1380         * configure.ac: Bump to 2.57c.
1382 2003-08-22  Akim Demaille  <akim@epita.fr>
1384         Version 2.57b.
1386         * Makefile.cfg (local-checks-to-skip): New.
1387         * Makefile.maint (local-check): Rename as...
1388         (local-checks-available): this.
1389         (local-check): New.
1391         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
1392         * configure.ac: Require Automake 1.7.6.
1394 2003-08-22  Akim Demaille  <akim@epita.fr>
1396         Output stack traces in warnings.
1398         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
1399         Replace the former...
1400         (m4_warn): Pass the call stack to _m4_warn.
1401         * bin/autom4te.in: Adjust to output the call stack.
1402         * tests/m4sugar.at (m4@&t@_warn): Adjust.
1404 2003-08-22  Akim Demaille  <akim@epita.fr>
1406         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
1407         * bin/autom4te.in: Adjust.
1409 2003-08-21  Akim Demaille  <akim@epita.fr>
1411         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
1412         (&verbose): Remove.
1413         (&getopt): Adjust the note and verb channels, depending upon
1414         --verbose.
1415         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
1416         * bin/autoupdate.in: Adjust.
1417         Use &verb, not &verbose.
1419 2003-08-21  Akim Demaille  <akim@epita.fr>
1421         * bin/autoheader.in (&parse_args): Use &parse_warnings and
1422         &parse_WARNINGS.
1423         ($help): Use Autom4te::ChannelDefs::usage.
1424         * bin/autoscan.in: Use Autom4te::ChannelDefs.
1425         * lib/Autom4te/General.pm: Don't export error: you don't own it.
1427 2003-08-21  Akim Demaille  <akim@epita.fr>
1429         First stab at preserving warnings between calls to autom4te,
1430         including when the cache is used.
1432         There are still several issues: (i) there are too many runs of m4
1433         (one for include, one for warnings, and some more), (ii) warnings
1434         spreading on several lines are not handled gracefully, (iii) the
1435         code meant to have the call stack display for errors does not work
1436         (its handling should move from m4 to autom4te).
1438         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
1439         Use them.
1440         (@preselect): Add m4_warn.
1441         ($exit_status): Remove, use $exit_code.
1442         ($help): Use Autom4te::ChannelDefs::usage.
1443         (&handle_m4): No longer define the m4_warnings.
1444         At each run, extract and report the warnings.
1445         Always cache the result, including if the exit status is on
1446         failure, since if nothing changes, we should result in the same
1447         failure, hence we can use the cache.
1448         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
1449         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
1450         Remove.
1451         (m4_warn): Redefine as a do-nothing: it is its invocation that
1452         matters, as warnings are now reported via traces.
1453         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
1454         the contents of m4_warn: make it _call_ m4_warn, so that tracing
1455         the latter reveals calls to the former.
1457         Adjust the tests.
1459         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
1461 2003-08-21  Akim Demaille  <akim@epita.fr>
1463         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
1464         Use them.
1466 2003-08-21  Akim Demaille  <akim@epita.fr>
1468         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
1469         forward order.
1470         * lib/Autom4te/ChannelDefs.pm: Doc typos.
1471         (&parse_warnings): Accept a list of warning requests.
1472         (&usage): Return a string, not a side effect.
1473         (cross): New warning category.
1475 2003-08-21  Akim Demaille  <akim@epita.fr>
1477         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
1478         (&require_configure_ac): Accept an optional directory argument.
1479         ($configure_ac): Remove.
1480         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
1481         (&catfile): Remove.
1482         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
1483         * bin/autoscan.in: Adjust.
1485 2003-08-20  Akim Demaille  <akim@epita.fr>
1487         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
1488         Reported by Alexandre Duret-Lutz.
1490 2003-08-20  Akim Demaille  <akim@epita.fr>
1492         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
1493         * bin/autom4te: Adjust.
1494         In particular, be Autoconf tools are really silent when properly
1495         working, bind the verbosity of the 'note' channel to $verbose.
1496         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
1497         (&xsystem, &contents): Remove, since they are exported by...
1498         * lib/Autom4te/FileUtils.pm: this.
1499         More perldoc.
1500         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
1501         * lib/Autom4te/FileUtils.pm: here.
1503 2003-08-20  Akim Demaille  <akim@epita.fr>
1505         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
1506         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
1507         from CVS Automake.
1509 2003-08-20  Akim Demaille  <akim@epita.fr>
1511         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
1512         (autom4te-update): New.
1513         * Makefile.cfg (update): Bind autom4te-update.
1515 2003-08-19  Derek Price  <derek@ximbiot.com>
1517         * lib/autotest/general.m4: Comment various HELP_* diversions.
1518         (PARSE_ARGS_BEGIN): New section for option parsing related
1519         initialization.
1520         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
1521         package specific options and associated help.
1523 2003-08-19  Akim Demaille  <akim@epita.fr>
1525         * config/announce-gen, Makefile.cfg: New.
1526         * Makefile.am: Adjust.
1527         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
1529 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
1531         * lib/autom4te.in (Automake-preselections): Preselect
1532         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
1533         and m4_sinclude.
1535 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
1537         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
1538         (Autoconf-without-aclocal-m4): ... this new language.
1539         * doc/autoconf.texi (autom4te Invocation): Mention
1540         Autoconf-without-aclocal-m4.
1542 2003-08-18  Derek Price <derek@ximbiot.com>
1544         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
1545         RUN-IF-PASS optional arguments.
1547 2003-08-18  Derek Price  <derek@ximbiot.com>
1549         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
1551 2003-08-16  Derek Price  <derek@ximbiot.com>
1553         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
1554         STDOUT & STDERR arguments.
1556 2003-08-14  Derek Price  <derek@ximbiot.com>
1558         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
1559         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
1560         shorter column three.  Add DESCRIPTION to log file content.
1562 2003-08-13  Derek Price  <derek@ximbiot.com>
1564         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
1565         output.
1567 2003-08-12  Derek Price  <derek@ximbiot.com>
1569         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
1570         (AT_CHECK_NOESCAPE): Move core functionality to...
1571         (_AT_CHECK): ...this new macro.
1573 2003-08-07  Derek Price  <derek@ximbiot.com>
1575         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
1576         (AT_CHECK_NOESCAPE): ...to this new macro.
1578 2003-07-31  Paul Eggert  <eggert@twinsun.com>
1580         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
1581         in Bash 2.01.  Problem reported by Brian Gough in
1582         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
1584 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
1586         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
1587         -lcrt1.o, for OS X.  (trivial change)
1589 2003-07-07  Paul Eggert  <eggert@twinsun.com>
1591         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
1592         inside '#ifndef __cplusplus'.  Problem reported by
1593         Bob Friesenhahn.
1595 2003-07-06  Bill Clarke  <llib@computer.org>
1597         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
1598         'long', not 'int', for benefit of Sun's recent C++ compilers
1599         (trivial change).  See:
1600         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
1601         (This really should be 'intptr_t', not 'long', but that would
1602         take more work.)
1604 2003-06-25  Akim Demaille  <akim@epita.fr>
1606         * lib/Makefile.am (autom4te.cfg): Make it read only.
1607         Depend on Makefile since it contains substitutions.
1608         From Paolo Bonzini.
1609         * lib/autom4te.in (args): Add local.at? for Autotest args.
1610         This change was made on autom4te.cfg which is generated.
1611         Reported by Raja R. Harinath.
1613 2003-06-25  Akim Demaille  <akim@epita.fr>
1615         * doc/autoconf.texi (Header Portability): sys/mount.h.
1616         From Gareth McCaughan.
1618 2003-06-23  Akim Demaille  <akim@epita.fr>
1620         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
1621         not all of them.  This fixes 1. the fact that when testing
1622         Autoconf there are many many config.log, 2. the incorrect use of
1623         top_srcdir to find config.log.
1624         Don't mix the detailed output of failed test with the summary of
1625         failures.  Rather, append detailed log afterwards.
1627 2003-06-23  Akim Demaille  <akim@epita.fr>
1629         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
1630         always run: output config.log on $at_group_log.
1632 2003-06-23  Akim Demaille  <akim@epita.fr>
1634         * tests/torture.at (#define header templates): Don't use quotes in
1635         C++ comments as it puzzles Emacs' sh font-lock-mode.
1637 2003-06-23  Akim Demaille  <akim@epita.fr>
1639         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
1640         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
1641         * tests/atspecific.m4: Rename as...
1642         * tests/local.at: This.
1643         * tests/suite.at: Move the globals into...
1644         * tests/local.at: here.
1645         * tests/Makefile.am: Adjust.
1646         * doc/autoconf.texi (testsuite Scripts): Adjust.
1648 2003-06-21  Kevin Ryde  <user42@zip.com.au>
1650         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
1651         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
1652         ensuring we add -std1 for full-ANSI.
1654         * doc/autoconf.texi (hdrindex): New macro.
1655         Add index entries for portability of various standard header files.
1657 2003-06-20  Akim Demaille  <akim@epita.fr>
1659         * configure.ac: Bump to 2.57b.
1661 2003-06-20  Akim Demaille  <akim@epita.fr>
1663         Version 2.57a.
1665 2003-06-20  Akim Demaille  <akim@epita.fr>
1667         * bin/autom4te.in: Don't rely on $HOME being defined.
1668         Reported by Marc Espie as PR/233.
1670 2003-06-20  Akim Demaille  <akim@epita.fr>
1672         * lib/autotest/general.m4: Use at_times_file only if used.
1673         From Nicolas Joly.
1675 2003-06-20  Akim Demaille  <akim@epita.fr>
1677         * config/config.guess, config/config.sub, config/elisp-comp,
1678         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
1679         Update from masters.
1681 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
1683         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
1684         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
1685         (TEST_SCRIPT): New diversion.
1686         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
1687         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
1688         (AT_INIT): Support for expected failures.
1690 2003-06-02  Akim Demaille  <akim@epita.fr>
1692         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
1693         changes.
1694         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
1695         Autoconf nor Automake.
1696         (&contents): New, from Automake.
1697         PODify.
1699 2003-05-28  Paul Eggert  <eggert@twinsun.com>
1701         * NEWS, doc/autoconf.texi (Particular Functions),
1702         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
1703         is the inverse of localtime.
1705 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
1707         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
1708         (handle_exec_errors): New function.  Work around $! being
1709         altered by WEXITSTATUS.
1710         (xqx, xsystem): Use handle_exec_errors.
1712 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
1714         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
1715         Do not call `_exit()', simply modify `$?'.
1716         (xsystem): Reset $! before running system, and check it afterward.
1717         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
1718         63 for version mismatches.
1720 2003-05-23  Akim Demaille  <akim@epita.fr>
1722         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
1723         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
1724         the middle of a line).
1725         * lib/m4sugar/m4sugar.m4: Likewise.
1726         Remove useless spaces in comments.
1728 2003-05-23  Akim Demaille  <akim@epita.fr>
1730         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
1731         exit 63, so that we (or Automake's "missing") can tell the
1732         difference with a plain failure.
1733         * doc/autoconf.texi (Notices): Adjust.
1735 2003-05-23  Akim Demaille  <akim@epita.fr>
1737         * Makefile.am, bin/Makefile.am, config/Makefile.am,
1738         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
1739         White spaces cleanup.
1741 2003-05-22  Jim Meyering  <jim@meyering.net>
1742             Paul Eggert <eggert@twinsun.com>
1744         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
1745         Remove `#include <stdlib.h>' from the list; we should never
1746         make confdefs.h include <stdlib.h> or <cstdlib>, because the
1747         resulting namespace pollution would cause other tests to fail.
1748         Configure scripts run with some older versions of g++ and HP's
1749         aCC would fail due to such an #include.  Problems reported by
1750         Matthew Mueller in <http://bugs.debian.org/120704> and by
1751         Keith Bostic in
1752         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
1753         In the test, use the test declaration before including <stdlib.h>,
1754         as that's closer to how it'll be used.
1756 2003-05-23  Akim Demaille  <akim@epita.fr>
1758         * doc/autoconf.texi (Header Portability): ucred.h.
1759         From Ian Redfern.
1761 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
1763         Overhaul Autotest's logging: generate separate log files
1764         in testsuite.dir/NNN/testsuite.log, and append them to
1765         testsuite.log instead of re-running the test verbosely.
1767         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
1768         file descriptor, write 0 to at_status_file instead of setting
1769         at_status=0, initialize some new variables (at_status_file,
1770         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
1771         to rerun the tests, instead append the at_group_log to the
1772         at_suite_log when a test fails.
1773         (AT_SETUP): pipe the test case's output into at_tee_pipe,
1774         with the AS_MESSAGE_LOG_FD redirected to stdout.
1775         (AT_CLEANUP): save the output status in $at_status_file
1776         and restore it, redirect the AS_MESSAGE_LOG_FD back to
1777         its original place.
1778         (AT_CHECK): since tests are run with a redirected stdout,
1779         and used to be re-run in verbose mode, turn some $at_verbose
1780         into echo, and don't redirect the output of testing stdout
1781         and stderr.
1783         * lib/autotest/autoconf.texi (testsuite Scripts): Update
1784         the name of the debugging directory and information about
1785         its contents.
1787 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
1789         * lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
1790         parameter
1792 2003-05-22  Akim Demaille  <akim@epita.fr>
1794         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
1795         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
1796         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
1797         * lib/autoconf/status.m4: Fix and adjust copyright notices.
1799 2003-05-22  Akim Demaille  <akim@epita.fr>
1801         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
1802         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
1803         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
1804         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
1805         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
1806         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
1807         * lib/autoconf/status.m4, lib/autoconf/types.m4,
1808         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
1809         * tests/atspecific.m4, tests/base.at, tests/compile.at,
1810         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
1811         * tests/tools.at, tests/torture.at:
1812         Whitespace clean up.
1813         Suggested by Jim Meyering.
1815 2003-05-22  Akim Demaille  <akim@epita.fr>
1817         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
1818         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
1819         Reported by Jim Meyering.
1821 2003-05-22  Akim Demaille  <akim@epita.fr>
1823         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
1824         Add AC_HELP_STRING  to the obsolete macros section.
1825         Typos.
1826         Use '@.' for sentences that ended in a capital letter.
1827         From Art Haas.
1829 2003-05-22  Akim Demaille  <akim@epita.fr>
1831         * config/config.guess, config/config.sub, config/elisp-comp,
1832         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
1833         * config/texinfo.tex, doc/standards.texi: Update from masters.
1835 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
1837         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
1838         it to eval.
1840 2003-05-21  Akim Demaille  <akim@epita.fr>
1842         * bin/autoupdate.in ($m4): Fix quotation.
1843         Reported by Martin Mokrejs.
1845 2003-05-19  Paul Eggert  <eggert@twinsun.com>
1847         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
1848         Remove non-ASCII characters.
1850 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
1852         * tests/semantics.at (AC_SEARCH_LIBS): New test.
1853         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
1854         AC_CHECK_HEADERS_NEW): New tests.
1856 2003-05-17  Akim Demaille  <akim@epita.fr>
1858         * lib/autoconf/functions.m4: Use the default includes so that
1859         memcmp be declared before being tested.
1860         Reported by Sander Niemeijer.
1861         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
1862         * doc/autoconf.texi (Default Includes): Document
1863         AC_INCLUDES_DEFAULT.
1865 2003-05-17  Akim Demaille  <akim@epita.fr>
1867         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
1868         * doc/autoconf.texi (Obsolete Macros): Adjust.
1869         Reported by Werner LEMBERG and Debian Bug 190886.
1871 2003-05-16  Akim Demaille  <akim@epita.fr>
1873         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
1874         user name space clashes.
1875         Reported by Bruno Haible.
1877 2003-05-16  Akim Demaille  <akim@epita.fr>
1879         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1880         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
1881         them uniform, and more robust to Perl special characters.
1882         Reported by Martin Mokrejs.
1884 2003-05-14  Akim Demaille  <akim@epita.fr>
1886         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
1888 2003-05-14  Akim Demaille  <akim@epita.fr>
1890         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
1891         linux/irda.h.
1893 2003-05-12  Akim Demaille  <akim@epita.fr>
1895         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
1896         message.
1897         From Matthias Andree.
1899 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
1901         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
1902         and truncate.
1904 2003-05-06  Akim Demaille  <akim@epita.fr>
1906         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
1907         longer updates aclocal.m4 if useless, (ii) if a file m4_included
1908         by aclocal.m4 is changed it might require the importing of another
1909         m4 extension file, i.e., aclocal must be run.
1911         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
1912         (&parse_args): Use --force with aclocal if required and supported.
1913         (&autoreconf_current_directory): Use &run_aclocal.
1915 2003-05-06  Akim Demaille  <akim@epita.fr>
1917         Lock autom4te's cache.
1919         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
1920         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
1921         argument instead of a file name, so that the request file remains
1922         open during the whole autom4te run.
1923         ($icache_file): New.
1924         (&freeze): Lock the $icache_file.
1926 2003-04-29  Derek Price  <derek@ximbiot.com>
1928         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
1929         seperator with m4_append_uniq().  It doesn't work.
1930         (AT_CLEANUP): Add `;' to end of at_help_all.
1931         (AT_INIT): Allow --keywords to be specified more than once.  When
1932         grepping $at_help_all for keywords, use the field and keyword
1933         seperators to ensure a complete keyword match.  Alter at_prev handling
1934         to support the new --keywords behavior.
1936 2003-04-27  Karl Berry  <karl@freefriends.org>
1938         * doc/autoconf.texi: Make the dir entries in the autoconf manual
1939         align better with others.  I also made some of the individual
1940         entries on one line, for brevity and to make it easier for me to
1941         sort my dir-example file in the Texinfo distribution :).
1943 2003-04-12  Jim Meyering  <jim@meyering.net>
1945         * NEWS: Mention the new macro.
1946         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
1947         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
1948         * tests/c.at: Test AC_C_RESTRICT.
1949         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
1951 2003-04-08  Akim Demaille  <akim@epita.fr>
1953         * bin/ifnames.in: Skip C++ comments.
1954         From Jeremy Yallop.
1956 2003-04-08  Akim Demaille  <akim@epita.fr>
1958         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
1959         From Ilya Zakharevich.
1961 2003-04-08  Akim Demaille  <akim@epita.fr>
1963         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
1964         net/if.h, stdlib.h.
1966 2003-04-01  Derek Price  <derek@ximbiot.com>
1968         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
1969         from Akim's checkin of 2003-03-29.
1971 2003-04-01  Derek Price  <derek@ximbiot.com>
1973         * tests/torture.at (Configuring subdirectories): Add missing
1974         close-quote for Akim's change from 2003-03-28.
1976 2003-04-01  Akim Demaille  <akim@epita.fr>
1978         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
1979         (AC, AT, MS): these.
1980         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
1981         New.
1982         Use them.
1983         * doc/Makefile.am (CLEANFILES): Adjust.
1984         (TEXI2DVI): Make it --batch.
1986 2003-03-31  Derek Price  <derek@ximbiot.com>
1988         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
1989         which removed the main loop.
1990         Thanks to Akim Demaille.
1992 2003-03-29  Akim Demaille  <akim@epita.fr>
1994         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
1995         that starts a GUI.
1996         From Ilya Zakharevich.
1998 2003-03-29  Akim Demaille  <akim@epita.fr>
2000         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
2001         documentation to read is Autoconf's.
2002         Suggested by Paul Eggert.
2004 2003-03-28  Akim Demaille  <akim@epita.fr>
2006         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
2007         reading the section "Present But Cannot Be Compiled" when the
2008         header causes problems.
2010 2003-03-28  Akim Demaille  <akim@epita.fr>
2012         * tests/torture.at (Configuring subdirectories): Require aclocal
2013         1.4, otherwise the test fails, as it does support configure.ac.
2014         This fixes the "test 40 failed" bug reports.
2016 2003-03-28  Akim Demaille  <akim@epita.fr>
2018         * doc/autoconf.texi (C Compiler): `#line' portability.
2019         From Paul Eggert and Nelson H. F. Beebe.
2021 2003-03-27  Derek Price  <derek@ximbiot.com>
2023         * lib/autotest/general.m4: Eliminate main loop and reorganize test
2024         layout in order to allow scripting around test groups.
2026 2003-03-27  Derek Price  <derek@ximbiot.com>
2028         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
2029         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
2030         use new diversions in preparation for accepting new arguments and
2031         allowing scripting around tests.
2032         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
2034 2003-03-26  Derek Price  <derek@ximbiot.com>
2036         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
2037         obsolete AC_HELP_STRING.
2038         (AC_HELP_STRING): AU_DEFUN to...
2039         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
2040         * tests/m4sh.at (AS_HELP_STRING): New test.
2042         * tests/acgeneral.at: Regenerated.
2044 2003-03-26  Derek Price  <derek@ximbiot.com>
2046         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
2047         sense.  Verbosify the diversion definitions comment.
2049 2003-03-26  Derek Price  <derek@ximbiot.com>
2051         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
2052         AS_PREPARE.
2054 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
2056         * doc/autoconf.texi (Present But Cannot Be Compiled):
2057         Grammar fixes and minor rewording. (trivial change)
2059 2003-03-06  Paul Eggert  <eggert@twinsun.com>
2061         Work around a problem noted by Nelson H. F. Beebe with coreutils
2062         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
2063         2002/05/09) rejects '#line 32768 "configure"' because the line
2064         number overflows.
2065         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
2066         #line directives.
2067         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
2068         * doc/autoconf.texi (Generating Sources): Document this.
2070 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
2072         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
2073         file name for the m4 program, when it has an "exe" file extension.
2074         DJGPP's error messages include the error code in brackets -
2075         remove the error code during normalization.
2077 2003-02-28  Akim Demaille  <akim@epita.fr>
2079         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
2081 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
2083         * doc/autoconf.texi (Limitations of Make): Remove the section
2084         about `$<' in inference rules, it was a bogus interpretation of
2085         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
2086         Tru64 make in the "target lookup" section.
2087         (Automake): Automake 1.5+ no longer requires special tools to be
2088         present on the developer's host.
2090 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
2092         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
2093         to a shell that can handle redirection or quoting correctly.
2094         Override SHELL with the shell detected by configure.
2095         Use of $^O suggested by Tim van Holder.
2096         * bin/autom4te.in (BEGIN): Likewise.
2097         * bin/autoreconf.in (BEGIN): Likewise.
2098         * bin/autoscan.in (BEGIN): Likewise.
2099         * bin/autoupdate.in (BEGIN): Likewise.
2100         * bin/ifnames.in (BEGIN): Likewise.
2102         * bin/ifnames.in: Add final newline to help and version messages.
2104         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
2105         to cope with DOS-style absolute paths, when constructing
2106         ${ac_make}.
2108         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
2109         When constructing paths with IFS=:, quote the path. If we're
2110         constructing a DOS-style absolute path, we don't want to split it
2111         on the colon.
2113         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
2114         in description.
2116 2003-02-25  Pavel Roskin  <proski@gnu.org>
2118         * bin/autoheader.in: Add missing newline when printing
2119         suggestion how change AC_DEFINE call.
2121 2003-02-24  Paul Eggert  <eggert@twinsun.com>
2123         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
2124         2002-09-01 patch by replacing "test -n" with "test -z".
2125         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
2126         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
2128         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
2129         to fix a mismatch between example and discussion.
2131 2003-02-24  Kevin Ryde  <user42@zip.com.au>
2133         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
2134         format starting with "-".
2136 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
2138         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
2139         is not portable inside Makefile.
2141 2003-02-20  Akim Demaille  <akim@epita.fr>
2143         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
2144         compiler says yeah, but preproc says nope, compiler is right.
2145         Conversely, prompt the reader to send a bug report to the
2146         maintainers of the package, not of Autoconf.
2148 2003-02-20  Klee Dienes  <kdienes@apple.com>
2150         * bin/autoreconf.in (autoreconf_current_directory): Properly
2151         handle an empty aclocal.m4.
2153 2003-02-20  Akim Demaille  <akim@epita.fr>
2155         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
2156         $ac_prefix_program.
2157         From Larry Jones.
2159 2002-12-23  Paul Eggert  <eggert@twinsun.com>
2161         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
2162         innocuous variant befor including <limits.h> or <assert.h>.  This
2163         works around a bug reported by Albert Chin: HP-UX 11i
2164         (and earlier versions) have a <limits.h> that declares
2165         gettimeofday and many other functions.
2167 2002-12-03  Paul Eggert  <eggert@twinsun.com>
2169         Version 2.57.
2171         * NEWS, configure.ac: Update version.
2173         * doc/fdl.texi: Upgrade to FDL version 1.2.
2175         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
2176         nontrivially in main's body, so that f's external declaration is
2177         not optimized away in AIX.  This should fix the bug reported by
2178         Martin Frydl in
2179         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
2181         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
2182         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
2183         defined, to support freestanding compilers.  This should fix the
2184         bug reported by Momchil Velkov in
2185         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
2187         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
2188         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
2189         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
2190         by Simon Josefsson in
2191         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
2193         * Makefile.maint (www-gnu): New macro.
2194         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
2195         the location has moved.
2197 2002-12-02  Martin Frydl  <martin@systinet.com>
2199         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
2200         \(.*\) match is too long and there is something more to be checked.
2201         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
2203 2002-11-15  Akim Demaille  <akim@epita.fr>
2205         Version 2.56.
2207         * config/install-sh: chmod +x.
2208         From Paul Eggert.
2209         * config/move-if-change: Indenting changes.
2210         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
2211         * configure.ac (AM_INIT_AUTOMAKE): here.
2212         Require 1.7.1.
2214 2002-11-14  Akim Demaille  <akim@epita.fr>
2216         Version 2.55.
2218         * config/config.guess, config/config.sub, config/install-sh:
2219         Update from masters.
2221 2002-11-14  Akim Demaille  <akim@epita.fr>
2223         * Makefile.maint: Sync with Bison, i.e.:
2224         (po-check): Scan .l and .y files instead of the
2225         .c and the .h files that they generate.  This fixes the bug
2226         reported by Tim Van Holder in:
2227         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
2228         Look for N_ as well as for _.  Try to avoid matching #define for
2229         N_ and _.
2230         From Paul Eggert.
2232 2002-11-14  Akim Demaille  <akim@epita.fr>
2234         * doc/autoconf.texi (C Compiler): Compiling several files at once.
2235         From Paul Eggert and Albert Chin-A-Young.
2237 2002-11-14  Akim Demaille  <akim@epita.fr>
2239         * doc/autoconf.texi (C Compiler): Solitary backslashes.
2240         From Paul Eggert and Albert Chin-A-Young.
2242 2002-11-14  Kevin Ryde  <user42@zip.com.au>
2244         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
2245         than assigning in main, to avoid HP cc +O3 optimizing it away.
2247 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
2249         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
2250         option.  Process --recheck after parsing all options.  Pass -q
2251         option to configure on --recheck.
2252         (AC_OUTPUT): Pass -q from configure to config.status.
2253         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
2254         arguments to record.
2255         * doc/autoconf.texi (config.status Invocation): Document
2256         config.status -q option.
2258 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
2260         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
2261         Makefile.in if Makefile.am exists.
2262         (output): Strip `.am' from Makefiles.  Don't
2263         output AC_CONFIG_FILES if no Makefiles were found.
2265 2002-11-07  Akim Demaille  <akim@epita.fr>
2267         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
2268         (local_updates): New.
2269         * Makefile.maint: Update, from CVS Bison.
2270         (local_updates): New.
2272 2002-11-06  Akim Demaille  <akim@epita.fr>
2274         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
2275         declaration in extern "C" too.
2276         Reported by Roberto Bagnara.
2278 2002-11-06  Akim Demaille  <akim@epita.fr>
2280         * tests/torture.at (Configuring subdirectories): Don't use grep
2281         -w.
2282         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
2283         Reported by Ezra Peisach.
2285 2002-11-05  Akim Demaille  <akim@epita.fr>
2287         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
2288         Remove.
2289         We _have_ to stop using the old compatibility scheme that tried to
2290         avoid useless backslashes because Libtool 1.4.3 contains a
2291         AC_DEFINE([error_t], [int],
2292         [Define to a type to use for \`error_t' if it is not
2293         otherwise available.])
2294         We _have_ to quote the single quote and backslashes with \.  The
2295         old compatibility scheme saw that ` was backslashed, and therefore
2296         did not quote the single quote.  Hence before this patch, Autoconf
2297         was not compatible with Libtool.
2299 2002-11-04  Paul Eggert  <eggert@twinsun.com>
2301         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
2302         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
2303         LC_NAME, LC_PAPER, LC_TELEPHONE.
2304         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
2306 2002-11-04  Akim Demaille  <akim@epita.fr>
2308         Version 2.54c.
2310         * Makefile.maint (update, cvs-update, po-update, do-po-update):
2311         New.
2312         * config/texinfo.tex: Update.
2314 2002-11-03  Akim Demaille  <akim@epita.fr>
2316         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
2317         from...
2318         (&autoreconf): here.
2319         ($help, $make, &parse_args, &autoreconf_current_directory):
2320         Support -m/--make.
2321         * doc/autoconf.texi (autoreconf Invocation): Adjust.
2323 2002-10-31  Bruno Haible  <bruno@clisp.org>
2325         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
2326         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
2327         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
2328         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
2329         to ac_cv_func_realloc_0_nonnull.
2330         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
2332 2002-10-31  Akim Demaille  <akim@epita.fr>
2334         The test suite was no longer checking for trailing envvars and files.
2336         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
2337         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
2339 2002-10-31  Akim Demaille  <akim@epita.fr>
2341         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
2342         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
2343         Make variable, not a shell variable.
2344         Suggested by Bruno Haible.
2346 2002-10-31  Akim Demaille  <akim@epita.fr>
2348         * bin/autom4te.in (load_configuration): Reject #args out of any
2349         language.
2351 2002-10-31  Akim Demaille  <akim@epita.fr>
2353         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
2354         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
2355         (_AC_RUN_IFELSE): Use it.
2356         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
2357         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
2358         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
2359         inline it.
2361 2002-10-30  Akim Demaille  <akim@epita.fr>
2363         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
2364         * doc/autoconf.texi (autom4te Invocation): Adjust.
2365         Suggested by Tim van Holder.
2367 2002-10-29  Paul Eggert  <eggert@twinsun.com>
2369         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
2370         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
2371         Problem reported by Bruno Haible.
2373 2002-10-29  Akim Demaille  <akim@epita.fr>
2375         * doc/autoconf.texi (Header Templates): Put also in words what the
2376         pictures says to assist free style readers.
2377         (Customizing autom4te): s/--cache=/--cache /.
2379 2002-10-29  Akim Demaille  <akim@epita.fr>
2381         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
2382         sys/wait.h.
2383         sparc_address_test returns void.
2384         Use it with an argument, as prototyped.
2385         From Bruno Haible.
2387 2002-10-29  Akim Demaille  <akim@epita.fr>
2389         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
2390         configure.in, not configure.ac.
2391         Reported by Bruno Haible.
2393 2002-10-29  Akim Demaille  <akim@epita.fr>
2395         * tests/torture.at (Deep Package): New test.
2396         (Configuring subdirectories): Don't use a testSubDir as Autotest
2397         now does it itself.
2399 2002-10-29  Akim Demaille  <akim@epita.fr>
2401         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
2402         * doc/autoconf.texi (Invoking autom4te): Rename as...
2403         (autom4te Invocation): this, for consistency with the other nodes.
2405 2002-10-29  Akim Demaille  <akim@epita.fr>
2407         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
2408         Reported by Ralf Corsepius.
2410 2002-10-29  Akim Demaille  <akim@epita.fr>
2412         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
2413         characters is a back as an `obsolete' warning now.
2414         Reported by Ralf Corsepius.
2416 2002-10-28  Akim Demaille  <akim@epita.fr>
2418         * configure.ac: Bump to 2.54c.
2420 2002-10-28  Akim Demaille  <akim@epita.fr>
2422         Version 2.54b.
2424         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
2426 2002-10-28  Akim Demaille  <akim@epita.fr>
2428         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
2429         m4 executable names, and different GNU M4 version.
2430         Reported by Ezra Peisach and Paul Jarc.
2432 2002-10-27  Akim Demaille  <akim@epita.fr>
2434         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
2435         AC_RUN_IFELSE.
2437 2002-10-27  Akim Demaille  <akim@epita.fr>
2439         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
2440         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
2441         Die when a simple Fortran program cannot be compiled.
2442         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
2443         Issue a warning if no function is given.
2445 2002-10-27  Akim Demaille  <akim@epita.fr>
2447         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
2448         Move the documentation of AC_TRY_RUN to...
2449         (Obsolete Macros): here.
2450         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
2451         (autoconf Invocation): Remove the duplicates with `invoking
2452         autom4te'.
2453         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
2454         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
2456 2002-10-27  Akim Demaille  <akim@epita.fr>
2458         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
2459         and AC_LANG_FUNC_LINK_TRY.
2460         (Examining Libraries): Rename as...
2461         (Running the Linker): this.
2462         Document AC_LINK_IFELSE.
2463         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
2464         (Obsolete Macros): here.
2465         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
2466         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
2467         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
2468         * lib/autoconf/headers.m4 (AC_USG): Likewise.
2470 2002-10-27  Akim Demaille  <akim@epita.fr>
2472         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
2474         More `check config.log' messages.
2476         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
2477         * doc/autoconf.texi (Printing Messages): Document it.
2478         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
2479         appropriate.
2480         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
2481         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
2482         (_AC_COMPILER_OBJEXT): Likewise.
2483         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
2484         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
2485         Likewise.
2486         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
2487         Likewise.
2489         Deprecate macros with unusual interfaces.
2491         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
2492         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
2494         Document the new ones, and proper style.
2496         * doc/autoconf.texi (Generating Sources): New.
2497         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
2498         (Examining Declarations): Rename as...
2499         (Running the Preprocessor): this.
2500         Document AC_PREPROC_IFELSE.
2501         (Examining Syntax): Rename as...
2502         (Running the Compiler): this.
2503         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
2504         (Obsolete Macros): Move the definition of AC_TRY_CPP and
2505         AC_TRY_COMPILE here.
2507 2002-10-27  Akim Demaille  <akim@epita.fr>
2509         Move sections around.
2511         * doc/autoconf.texi (Customizing autom4te): Remove a lost
2512         sentence.
2513         Reported by Burno Haible.
2514         (Language Choice): Now the first section of...
2515         (Writing Tests): this section.
2516         Make the introduction less C-centric.
2517         (Guidelines, Test Functions): Move to...
2518         (Writing Test Programs): this new section.
2519         (Test Programs): Merge into...
2520         (Run Time): this.
2522 2002-10-27  Akim Demaille  <akim@epita.fr>
2524         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
2525         autom4te.in that resulted in the need for two `make' runs.
2527 2002-10-27  Akim Demaille  <akim@epita.fr>
2529         * configure.ac: Bump to 2.54b.
2531 2002-10-25  Akim Demaille  <akim@epita.fr>
2533         Version 2.54a.
2535         * Makefile.maint: Update from the Coreutils.
2536         (AMTAR): Remove, obsolete.
2537         (automake_repo): Update to redhat.com.
2538         (cvs_file): New.
2539         Adjust to the fact that ansi2knr is now hosted by Automake.
2540         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
2541         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
2542         Update from masters.
2543         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
2544         autoscan.pre is not to be installed, and autoscan.list is not to
2545         be shipped.
2546         (CLEANFILES): Add autoscan.list.
2547         (autoscan.list): Disable the cache.
2548         * bin/Makefile.am: Include freeze.mk.
2550 2002-10-25  Akim Demaille  <akim@epita.fr>
2552         * bin/autom4te.in (&load_configuration): Take the file as
2553         argument.
2554         (&parse_args): Handle -C, --cache.
2555         ($help): Adjust.
2556         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
2557         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
2558         * doc/autoconf.texi (Invoking autom4te): Document --cache.
2559         Now a subsection of...
2560         (Using autom4te): This new section.
2561         (Customizing autom4te): New.
2562         (autom4te.cache): Adjust.
2564 2002-10-25  Akim Demaille  <akim@epita.fr>
2566         * doc/autoconf.texi (Generic Headers): More information on how to
2567         use AC_CHECK_HEADERS.
2569 2002-10-25  Akim Demaille  <akim@epita.fr>
2571         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
2572         Space changes.
2574 2002-10-25  Akim Demaille  <akim@epita.fr>
2576         * bin/autoscan.in (output): Output AC_PREREQ.
2577         (%needed_macros): Add AC_PREREQ so that configure.ac without one
2578         be reported.
2580 2002-10-23  Akim Demaille  <akim@epita.fr>
2582         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
2583         document _Bool.
2585 2002-10-23  Akim Demaille  <akim@epita.fr>
2587         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
2588         Reported by Peter Eisentraut.
2590 2002-10-23  Akim Demaille  <akim@epita.fr>
2592         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
2593         type _Bool.
2594         Fix a typo.
2595         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
2596         Eggert's recommandations.
2598 2002-10-22  Akim Demaille  <akim@epita.fr>
2600         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
2601         Bison, by Paul Eggert.
2602         * doc/autoconf.texi (Particular Headers): Document it.
2604 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
2606         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
2607         `$ac_configure_args'.
2609 2002-10-22  Akim Demaille  <akim@epita.fr>
2611         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
2612         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
2613         From Art Haas.
2615 2002-10-22  Akim Demaille  <akim@epita.fr>
2617         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
2619         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
2620         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
2621         (_AC_CHECK_HEADER_NEW): Rename as...
2622         (AC_CHECK_HEADER): this.
2624 2002-10-22  Akim Demaille  <akim@epita.fr>
2626         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
2627         words about HP-UX cmp: it was actually a user-written cmp.
2629 2002-10-22  Akim Demaille  <akim@epita.fr>
2631         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
2632         are a few warnings.
2633         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
2634         Quote for Perl '' strings, not "".
2635         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
2636         strings.
2638 2002-10-22  Akim Demaille  <akim@epita.fr>
2640         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
2641         characters is a syntax warning now.
2642         (_AS_QUOTE): Accept $2 as list of characters to quote.
2643         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
2644         Quote for Perl, not sh.
2645         * bin/autoheader.in: When $debug, report the file which is
2646         `do'ne.
2647         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
2648         `@', to tickle Perl's lists.
2649         Reported by Carlos Velasco.
2651 2002-10-18  Akim Demaille  <akim@epita.fr>
2653         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
2654         missing included files _are_ errors.
2655         Thanks to Alexandre Duret-Lutz.
2656         * tests/tools.at (autom4te cache): Adjust.
2657         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
2658         (AT_CHECK_M4SUGAR): Use it.
2659         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2660         Adjust.
2661         * tests/tools.at (autom4te): Now it does exit 1.
2663 2002-10-17  Akim Demaille  <akim@epita.fr>
2665         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
2666         Fixes the `AC_ARG_VAR' test failures.
2667         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
2668         * lib/freeze.mk (check-forbidden-patterns): New.
2669         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
2670         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
2671         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
2672         /dev/null.
2673         Reported months ago by H. Merijn Brand.
2675 2002-10-17  Akim Demaille  <akim@epita.fr>
2677         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
2679 2002-10-16  Paul Eggert  <eggert@twinsun.com>
2681         * Makefile.maint (wget_files): Remove ansi2knr.c.
2682         (ansi2knr.c-url_prefix): Remove.
2684 2002-10-16  Akim Demaille  <akim@epita.fr>
2686         Because of caching, some files that no longer exist and are no
2687         longer required can still cause errors.
2688         Reported by Alexandre Duret-Lutz.
2690         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
2691         to frozen files in @ARGV, as @ARGV must remain being a list of
2692         files.  Rather, at M4 call sites, use this...
2693         (&files_to_options): New function.
2694         (&freeze): Use &error.
2695         (&up_to_date): If a file that was included according to the cache
2696         is no longer there, then the output is out dated.
2697         (&main): Don't even check whether a file is up to date is anyway
2698         --force is given.
2699         * tests/tools.at (autom4te cache): New.
2701 2002-10-16  Akim Demaille  <akim@epita.fr>
2703         * bin/autoconf.as: Kill dead options.
2704         * bin/autoupdate.in (&parse_args): Kill old options.
2705         * bin/autoreconf.in (&parse_args): Remove dead options.
2706         Factor some code.
2707         (&autoreconf): Report the directories we enter *and leave*, so
2708         that error messages can be easily located, and use GNU Make
2709         format, so that Emacs' compile mode understands us.
2710         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
2711         if some file was changed instead of `print'.
2712         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
2713         (&parse_args): Remove the dead options.
2714         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
2715         autoheader's quiet mode.
2716         (AT_CHECK_AUTOUPDATE): Likewise.
2717         * tests/tools.at (autoupdate): Adjust.
2718         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2720 2002-10-11  Akim Demaille  <akim@epita.fr>
2722         No longer use CPP to check for the existing of headers: use CC to
2723         check for compilability.
2725         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
2726         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
2727         (_AC_CHECK_HEADER_NEW): Rename as...
2728         (AC_CHECK_HEADER): this.
2730         * lib/autotest/general.m4 (AT_INIT): Include the failed test
2731         numbers in the Subject suggestion.
2733 2002-10-11  Akim Demaille  <akim@epita.fr>
2735         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
2736         Suggest using AC_CHECK_DECLS instead.
2738 2002-10-11  Akim Demaille  <akim@epita.fr>
2740         * tests/torture.at (AC_ARG_VAR): Have configure report the value
2741         of `precious'.
2743 2002-10-11  Akim Demaille  <akim@epita.fr>
2745         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
2746         file name to enable parallel executions.
2747         From Sam Varshavchik.
2749 2002-10-08  Akim Demaille  <akim@epita.fr>
2751         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
2752         aclocal invocation, as Gettext macros might not be visible to
2753         aclocal.
2754         Instead of blindly running autopoint, scan configure.ac (not the
2755         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
2756         Reported by Paul D. Smith.
2758 2002-10-08  Paul Eggert  <eggert@twinsun.com>
2760         Work around problems found when POSIXLY_CORRECT=1 is set.
2761         None of this seems to have anything to do with POSIX, really,
2762         but it's how Perl getopt works.
2763         * bin/autom4te.in (parse_args): Configure GetOpt with
2764         "permute", too.
2765         * doc/autoconf.texi (Invoking autom4te):
2766         --warning -> --warnings.
2767         * lib/autom4te.in: --warning -> --warnings.
2769 2002-09-28  Akim Demaille  <akim@epita.fr>
2771         * doc/autoconf.texi (autom4te.cache): New section.
2773 2002-09-28  Akim Demaille  <akim@epita.fr>
2775         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
2776         (Automake-preselections): Update.
2777         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
2779 2002-09-28  Akim Demaille  <akim@epita.fr>
2781         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
2782         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
2783         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
2784         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
2786 2002-09-28  Akim Demaille  <akim@epita.fr>
2788         * tests/torture.at (Configuring subdirectories): Be robust to
2789         users who use config.site to require for a cache: in this case,
2790         the two last configure runs, using two different sets of
2791         arguments, trigger a legitimate error.
2793 2002-09-28  Akim Demaille  <akim@epita.fr>
2795         * tests/m4sh.at (Functions Support, Functions and return Support):
2796         New.
2798 2002-09-28  Akim Demaille  <akim@epita.fr>
2800         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
2801         autoheader are Perl programs.
2802         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
2803         (autom4te): Specify that the sources are in the $srcdir.
2804         * doc/autoconf.texi (Installation Directory Variables): Adjust.
2806 2002-09-28  Akim Demaille  <akim@epita.fr>
2808         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
2809         (tm_zone): Move their rules to...
2810         * lib/autoconf/types.m4: here, using AN_ macros.
2811         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
2812         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
2813         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
2814         * lib/autoconf/programs.m4: here.
2815         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
2816         (ETAGS_FOR_AUTOCONF): New.
2817         Use it.
2819 2002-09-28  Akim Demaille  <akim@epita.fr>
2821         * lib/autoconf/autoscan.m4: New file.
2822         * lib/autoconf/autoconf.m4: Include it.
2823         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
2824         that were listed in the original autoscan.list.
2825         * lib/autoconf/headers.m4: Similarly with headers.
2826         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
2827         (.m4.m4f): Don't pass --prepend-include, since that's done by
2828         tests/autom4te itself.
2829         * lib/autoscan/Makefile.am: Include freeze.mk.
2830         (autoscan.list): New target --this file is no longer a source.
2831         (autoscan.pre): New file.
2833 2002-09-28  Akim Demaille  <akim@epita.fr>
2835         * bin/autoscan.in (@kinds): Make them singular.
2836         Adjust all uses.
2837         (&init_tables): When --debug, report the list of rules to ease
2838         tracking changes in autoscan.list.
2839         * lib/autoscan/autoscan.list (function): Strip comments, sort.
2841 2002-09-28  Akim Demaille  <akim@epita.fr>
2843         * lib/autoscan/functions, lib/autoscan/headers,
2844         * lib/autoscan/identifiers, lib/autoscan/makevars,
2845         * lib/autoscan/programs: Merge into...
2846         * lib/autoscan/autoscan.list: this.
2847         * bin/autoscan.in (&init_tables): Adjust.
2849 2002-09-28  Akim Demaille  <akim@epita.fr>
2851         * lib/autoscan/functions, lib/autoscan/headers,
2852         * lib/autoscan/identifiers, lib/autoscan/makevars,
2853         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
2854         `functions' line is now prefixed with `function:'.
2855         * bin/autoscan.in (&init_tables): Adjust.
2857 2002-09-28  Akim Demaille  <akim@epita.fr>
2859         From now on, autoscan files must always map a macro name to a
2860         word: there is no `default' macro for autoscan.
2862         * bin/autoscan.in (&init_tables): Reject entries with no macro at
2863         all.
2864         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
2865         explicit.
2867 2002-09-28  Akim Demaille  <akim@epita.fr>
2869         * bin/autoscan.in (%c_keywords): Remove.
2870         (&used): Keep only track of the words we might be interested in.
2871         (&output_kind): It is no longer needed to look for non active
2872         checks.
2874 2002-09-27  Akim Demaille  <akim@epita.fr>
2876         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
2877         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
2878         * lib/autoscan/functions: Adjust.
2879         * doc/autoconf.texi (Particular Functions): Adjust.
2881 2002-09-27  Akim Demaille  <akim@epita.fr>
2883         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
2884         from /tmp.
2885         Thanks to Bill Moseley and Paul Eggert.
2886         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
2887         the tmpdir must be created.
2888         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
2889         dir be in the build tree, instead of $TMPDIR.
2891 2002-09-27  Akim Demaille  <akim@epita.fr>
2893         * bin/autoscan.in: Improve the comments.
2894         (&parse_args): Drop obsolete undocumented options.
2895         (&output_kind): Output warnings.
2896         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
2897         (getwd): Trigger a warning.
2899 2002-09-26  Akim Demaille  <akim@epita.fr>
2901         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
2902         Reported by Ralf Corsepius.
2903         * doc/autoconf.texi (autoreconf Invocation): Likewise.
2905 2002-09-26  Akim Demaille  <akim@epita.fr>
2907         Single suffix rules and seperated dependencies are not portable.
2909         * doc/autoconf.texi (Installation Directory Variables): Update.
2910         (Limitations of Make): Some about `Single Suffix Rules and
2911         Separated Dependencies'.
2912         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2913         (ifnames, autoscan, autom4te): Un-factor into several rules.
2915 2002-09-25  Paul Eggert  <eggert@twinsun.com>
2917         * BUGS (Interoperability bugs): New section.  Mention libtool
2918         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
2920 2002-09-24  Paul Eggert  <eggert@twinsun.com>
2922         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
2923         make handles suffix-rules differently from GNU make.
2925         * bin/Makefile.am (SUFFIXES, .in): Remove.
2926         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
2927         Move the body of the old .in rule here.
2929 2002-09-16  Akim Demaille  <akim@epita.fr>
2931         i960 compilers create `b.out' files by default.
2932         Reported by Ralf Corsepius.
2934         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
2935         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
2937 2002-09-13  Paul Eggert  <eggert@twinsun.com>
2939         * doc/autoconf.texi (Particular Headers): Remove obsolete
2940         reference to `struct timezone' in the description of
2941         AC_HEADER_TIME.
2943 2002-09-13  Akim Demaille  <akim@epita.fr>
2945         Version 2.54.
2947         * config/config.sub, config/config.guess: Update.
2948         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
2949         * Makefile.am: Adjust.
2951 2002-09-13  Akim Demaille  <akim@epita.fr>
2953         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
2954         reading config.log when the compiler is rejected.
2955         Suggested by Guido Draheim.
2957 2002-09-13  Akim Demaille  <akim@epita.fr>
2959         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
2960         (chdir_init) might hang when stat'ing mounted directories.
2961         Reported by Vance Shipley.
2963 2002-09-12  Akim Demaille  <akim@epita.fr>
2965         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
2966         the lists.
2968 2002-09-12  Akim Demaille  <akim@epita.fr>
2970         * doc/autoconf.texi (Defining Symbols): Present two different
2971         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
2972         difference between 1 argument calls, and 2-3 argument calls.
2974 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
2976         * doc/autoconf.texi: Review grammar and punctuation.
2978 2002-09-11  Paul Eggert  <eggert@twinsun.com>
2980         * doc/autoconf.texi: Fix minor formatting, spelling, and
2981         grammatical typos.
2982         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
2983         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
2984         is obsolescent.
2986 2002-09-11  Akim Demaille  <akim@epita.fr>
2988         * doc/autoconf.texi (Questions): Rename as...
2989         (FAQ): this.
2990         (Defining Directories): New.
2992 2002-09-09  Akim Demaille  <akim@epita.fr>
2994         * doc/autoconf.texi (Making testsuite Scripts): Update.
2995         Suggested by Nishio Futoshi.
2997 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
2999         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
3000         plain `@' is wanted.
3002 2002-09-09  Akim Demaille  <akim@epita.fr>
3004         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
3005         `duplicates', since the algorithm was too naive and could keep
3006         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
3007         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
3008         Reported by Ralf Corsepius.
3009         * tests/torture.at (Configuring subdirectories): Exercise these
3010         cases.
3012 2002-09-09  Akim Demaille  <akim@epita.fr>
3014         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
3015         looking for a replacement file.
3016         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
3017         directory is relative.
3018         * doc/autoconf.texi (Generic Functions): Clarify the replacement
3019         directory definition.
3020         Reported by Andreas Schwab and Jim Meyering.
3022 2002-09-06  Akim Demaille  <akim@epita.fr>
3024         * doc/autoconf.texi (Setting Output Variables): Clarify what
3025         precious variables are.
3026         Suggested by Pontus Skoeld.
3028 2002-09-05  Akim Demaille  <akim@epita.fr>
3030         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
3031         (ifnames, autoscan, autom4te): Since we don't only depend on
3032         configure.ac variables (such as VERSION etc.), but also on prefix
3033         and so forth, depend on Makefile, not configure.ac.
3034         Reported by Alexandre Duret-Lutz.
3035         * doc/autoconf.texi (Installation Directory Variables): Adjust.
3037 2002-09-05  Kevin Ryde  <user42@zip.com.au>
3039         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
3040         doesn't seem to be confined to ia64, just say "some versions".
3042 2002-09-04  Akim Demaille  <akim@epita.fr>
3044         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
3045         Automake 1.6c.
3046         * Makefile.am (maintainer-clean-local): Remove.
3047         (MAINTAINERCLEANFILES): Remove COPYING.
3049 2002-09-03  Paul Eggert  <eggert@twinsun.com>
3051         * doc/autoconf.texi (Configuration Commands): Remove obsolete
3052         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
3053         Brinkmann.
3055 2002-09-03  Akim Demaille  <akim@epita.fr>
3057         * configure.ac: Bump to 2.53d.
3058         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
3059         as of today, on Automake's team suggestion.
3061 2002-09-03  Akim Demaille  <akim@epita.fr>
3063         Version 2.53c.
3065 2002-09-02  Akim Demaille  <akim@epita.fr>
3067         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
3068         SITE_MACRO_DIR.
3069         * configure.ac: Disable SITE_MACRO_DIR.
3071 2002-09-02  Jim Meyering  <meyering@lucent.com>
3073         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
3074         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
3075         Also, tweak grammar: s/make sure to/be sure to/.
3077 2002-09-02  Paul Eggert  <eggert@twinsun.com>
3079         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
3080         directory names are generally preferable to physical names.
3082 2002-09-02  Akim Demaille  <akim@epita.fr>
3084         * lib/Autom4te/General.pm (&update_file): s/die/error/.
3085         Reported by Raja R. Harinath.
3086         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
3087         * bin/autoupdate.in: Use error instead of die.
3089 2002-09-01  Paul Eggert  <eggert@twinsun.com>
3091         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
3092         ordinary shell concatenation rather than echo+tr+sed command that
3093         runs afoul of a long-line-related sed bug in Solaris 8.
3095         * bin/autoheader.in (parse_args): --warning -> --warnings.
3097         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
3098         stdout, as traditional "ls" does.
3099         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
3100         _AC_COMPILER_EXEEXT_O): Likewise.
3101         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
3103         * bin/autoconf.as: Add --prepend-include option.  This patch was
3104         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
3105         but bin/autoconf.in is generated automatically from bin/autoconf.as.
3107         * bin/autoconf.in, configure: Regenerate.
3109         * doc/autoconf.texi (Special Shell Variables): Mention
3110         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
3112         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
3113         MAILPATH and set PS1, PS2, PS4 to default values, to work
3114         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
3115         For LC_ALL etc, first try to set to "C" as POSIX requires and as
3116         the Autoconf documentation specifies; fall back to "unset" only if
3117         this fails.  Use a shell for-loop for this rather than an m4 loop,
3118         to shorten the output script.
3120 2002-08-30  Paul Eggert  <eggert@twinsun.com>
3122         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
3123         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
3124         for the CDPATH problem.  Document PWD.
3125         (Limitations of Builtins): Document the problem that "cd $foo" and
3126         "ls $foo" may refer to different directories in shells conforming
3127         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
3128         example, since the old example is now out of date.
3130         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
3131         FOO" and "ls FOO" talk about different directories; this catches
3132         problems when POSIX 1003.1-2001 "cd" fails due to symlink
3133         spaghetti.
3135         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
3136         of rolling our own unset.
3137         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
3138         in practice we needn't worry about CDPATH if unset doesn't work.
3140         * Makefile.in, aclocal.m4, bin/Makefile.in,
3141         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
3142         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
3143         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
3144         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
3145         tests/Makefile.in: Regenerate with Automake 1.6.3.
3147         * config/config.guess, config/config.sub, config/mkinstalldirs:
3148         Update.
3150         * configure: Regenerate with self.
3152 2002-08-30  Kevin Ryde  <user42@zip.com.au>
3154         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
3155         default output.
3157 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3159         * bin/autom4te.in (Request::load): Correctly test for "do" read
3160         failure.
3162 2002-08-29  Akim Demaille  <akim@epita.fr>
3164         * lib/Autom4te/General.pm (&xqx): New.
3165         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
3166         hand, which is not portable.
3167         (&error): New.
3168         * bin/autom4te.in: Use them.
3169         Use &error instead of die.
3170         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3171         Adjust.
3173 2002-08-17  Paul Eggert  <eggert@twinsun.com>
3175         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
3176         default list of compilers to try, since it was long ago superseded
3177         by the ksh fc builtin.  Suggested by Steven G. Johnson.
3179 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
3181         * doc/autoconf.texi (Invoking autom4te): End the option table,
3182         fixing a bug introduced by the previous patch.
3183         (Limitations of Make): Add a 'target lookup' subentry in the
3184         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
3186 2002-07-29  Mark D. Roth  <roth@feep.net>
3188         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
3189         options and use $AUTOM4TE_PATH.
3190         * doc/autoconf.texi: Remove documentation of autom4te
3191         --include-envvar and --site-macro-subdir options and document
3192         use of $AUTOM4TE_PATH.
3193         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
3194         arguments from each language section.
3196 2002-07-29  Paul Eggert  <eggert@twinsun.com>
3198         * doc/install.texi: Include copyright symbol in copyright notice.
3200         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
3201         Replace with:
3202         (AM_MAKEINFOFLAGS): New macro.
3203         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
3204         * Makefile.am (INSTALL): Use the new macros.
3205         Use -o rather than --output, since "missing" does not grok --output.
3207 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
3209         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
3210         comments do not always work. Never trust the exit status of
3211         `make -k'.
3213 2002-07-24  Kevin Ryde  <user42@zip.com.au>
3215         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
3216         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
3218 2002-07-23  Paul Eggert  <eggert@twinsun.com>
3220         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
3221         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
3222         apparently treats PATH="nonexistent" as if it contained ".".
3223         Bug reported by Stefan `Sec' Zehl.
3225 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
3227         * doc/autoconf.texi (Limitations of Make): Mention the special
3228         handling of the obj/ directory by BSD make.
3230 2002-07-20  Kevin Ryde  <user42@zip.com.au>
3232         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
3233         backslashes.
3235 2002-07-19  Akim Demaille  <akim@epita.fr>
3237         * doc/autoconf.texi (Function Portability): `exit'.
3238         (Programming in M4sh): Ethymology of M4sh.
3240 2002-07-19  Akim Demaille  <akim@epita.fr>
3242         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
3244 2002-07-18  Akim Demaille  <akim@epita.fr>
3246         Version 2.53b.
3248 2002-07-18  Akim Demaille  <akim@epita.fr>
3250         * config/config.guess, config/config.sub: Update.
3252 2002-07-18  Akim Demaille  <akim@epita.fr>
3254         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
3255         Automake's parts.
3257         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
3258         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
3259         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
3261 2002-07-18  Akim Demaille  <akim@epita.fr>,
3262             Alexandre Duret-Lutz  <duret_g@epita.fr>
3264         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
3265         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
3267 2002-07-17  Russ Allbery  <rra@stanford.edu>
3269         * doc/autoconf.texi (Initializing configure): Clarify the
3270         description of the tarname default.
3272 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
3274         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
3275         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
3276         latter was not run.
3278 2002-07-17  Akim Demaille  <akim@epita.fr>
3280         * lib/Autom4te/General.pm (find_file): Browse the directories in
3281         the order they are given.
3283 2002-07-17  Akim Demaille  <akim@epita.fr>
3285         * tests/wrapsh.as, tests/wrappl.as: Merge into...
3286         * tests/wrapper.as: this.
3287         * tests/Makefile.am, configure.ac: Adjust.
3289 2002-07-17  Mark D. Roth  <roth@feep.net>
3291         * configure.ac: Add --enable-site-macro-dir option.
3292         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
3293         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
3294         --site-macro-subdir options.
3295         * bin/autoconf.in: Add --prepend-include option.
3296         * bin/autoheader.in: Add --prepend-include option.
3297         * bin/autoreconf.in: Add --prepend-include option.
3298         * bin/autoscan.in: Add --prepend-include option.
3299         * bin/autoupdate.in: Add --prepend-include option.
3300         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
3301         macro directory, remove note that include path directories are
3302         used in reverse order, and document --prepend-include option.
3303         * lib/autom4te.in: Use --prepend-include instead of --include.
3304         * tests/wrapsh.in: Use --prepend-include instead of --include.
3306 2002-07-17  Akim Demaille  <akim@epita.fr>
3308         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
3309         tarnames.
3310         * doc/autoconf.texi (Initializing configure): Adjust.
3312 2002-07-17  Akim Demaille  <akim@epita.fr>
3314         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
3315         (_AC_FUNC_MALLOC): New.
3316         (AC_FUNC_MALLOC): Use the latter.
3317         Define HAVE_MALLOC to 0 if broken.
3318         * doc/autoconf.texi (Particular Functions): Adjust.
3320 2002-07-16  Akim Demaille  <akim@epita.fr>
3322         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
3323         * doc/autoconf.texi (C Compiler): Adjust.
3325 2002-07-09  Akim Demaille  <akim@epita.fr>
3327         * doc/autoconf.texi: Properly set the ``header'' part.
3329 2002-07-09  Akim Demaille  <akim@epita.fr>
3331         * doc/autoconf.texi (Systemology): Some about Darwin.
3333 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
3335         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
3336         Don't use AC_REQUIRE in AU_DEFUN.
3338 2002-07-09  Art Haas  <ahaas@neosoft.com>
3340         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
3342 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
3344         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3345         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
3346         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
3347         so that Emacs setups GNU style for perl-mode and cperl-mode.
3349 2002-06-27  Paul Eggert  <eggert@twinsun.com>
3351         * config/install-sh: Quote $src.  Prefer || to test's -o option,
3352         as per "Limitations of Builtins".
3353         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
3354         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3356         * tests/mktests.sh: Use grep instead of fgrep, as per
3357         "Limitations of Builtins".
3359 2002-06-15  Paul Eggert  <eggert@twinsun.com>
3361         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
3362         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
3363         so that we consistently test the just-built programs.
3364         * tests/wrappl.as: Likewise.
3366 2002-06-12  Paul Eggert  <eggert@twinsun.com>
3368         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
3369         name, so that symlinks to 'autoconf' work properly.  Bug reported
3370         by Bruno Haible.
3371         * bin/autoheader.in (AUTOM4TE): Likewise.
3372         * bin/autoreconf.in (autoconf, autoheader): Likewise.
3373         * bin/autoscan.in (autom4te): Likewise.
3374         * bin/autoupdate.in (autom4te): Likewise.
3376         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
3377         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
3378         on Solaris 2.5.1.
3380 2002-06-11  Andreas Schwab  <schwab@suse.de>
3382         * doc/autoconf.texi: Add more dir entries.
3384 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
3386         * bin/autom4te.in ($cache): Don't define using `$me', the name
3387         of the cache should not depend on the name under which autom4te
3388         was installed.
3390 2002-06-07  Akim Demaille  <akim@epita.fr>
3392         * tests/tools.at (autoconf: forbidden tokens, basic)
3393         (autoconf: forbidden tokens, exceptions): Adjust to the change of
3394         words in autom4te.in.
3396 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
3398         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
3399         _AC_LANG_PROGRAM_C_F77_HOOKS.
3401 2002-06-07  Akim Demaille  <akim@epita.fr>
3403         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
3404         rename as...
3405         (AC_REPLACE_FNMATCH): this.
3406         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
3407         AC_FUNC_FNMATCH_GNU.
3409 2002-06-07  Akim Demaille  <akim@epita.fr>
3411         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
3412         Rosetta Stone for Unix.
3414 2002-06-07  Akim Demaille  <akim@epita.fr>
3416         * bin/autom4te.in (warn_forbidden): When rejecting a token,
3417         suggest m4_pattern_allow.
3418         Suggested by Adam J. Richter.
3420 2002-06-07  Akim Demaille  <akim@epita.fr>
3422         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
3423         ac_config_libobj_dir.
3424         (AC_CONFIG_LIBOBJ_DIR): New.
3425         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
3426         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
3427         Use ac_config_libobj_dir to find the replacement files.
3428         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
3429         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
3430         (AC_REPLACE_FNMATCH_GNU): these.
3431         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
3432         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
3433         * tests/mktests.sh (ac_exclude_list): Don't check
3434         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
3436 2002-06-06  Paul Eggert  <eggert@twinsun.com>
3438         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
3439         if ln doesn't work.
3440         * NEWS: Likewise.
3441         * doc/autoconf.texi (Configuration Links): Likewise.
3442         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
3444 2002-06-05  Paul Eggert  <eggert@twinsun.com>
3446         * config/config.guess, config/config.sub, config/texinfo.tex:
3447         Update from masters.
3449 2002-05-29  Paul Eggert  <eggert@twinsun.com>
3451         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
3452         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
3453         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
3454         Likewise.
3455         * lib/autoconf/Makefile.am (check-local): Likewise.
3456         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
3457         * lib/autoconf/types.m4 (commentary only): Likewise.
3458         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
3459         * lib/autotest/Makefile.am (check-local): Likewise.
3460         * lib/m4sugar/Makefile.am (check-local): Likewise.
3461         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
3462         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
3464         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
3465         * doc/autoconf.texi (Particular Programs): Document them.
3466         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
3467         * NEWS: Likewise.
3469 2002-05-27  Paul Eggert  <eggert@twinsun.com>
3471         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
3472         * NEWS, doc/autoconf.texi (Particular Types): Document it.
3473         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
3474         instead of AC_MBSTATE_T, which never existed.
3476 2002-05-23  Akim Demaille  <akim@epita.fr>
3478         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
3479         version of Autoconf that is discussed.
3481 2002-05-22  Paul Eggert  <eggert@twinsun.com>
3483         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
3484         from the default list of compilers to try.  Suggested by
3485         Kate Hedstrom.
3486         * NEWS: Document the above.
3487         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
3489 2002-05-17  Paul Eggert  <eggert@twinsun.com>
3491         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
3492         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
3493         This improves on an earlier suggestion by H. Peter Anvin.
3495 2002-05-16  Paul Eggert  <eggert@twinsun.com>
3497         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
3498         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
3499         Both macros now accept an optional source-dir arg.
3500         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
3502         * NEWS: Document this.
3503         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
3505         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
3506         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
3507         not for GNU extensions; this undoes part of the 2000-11-03 change,
3508         reverting to 2.13-compatible behavior.
3509         Add new optional argument DIR.
3510         (AC_FUNC_FNMATCH_GNU): New macro.
3512         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
3514 2002-05-08  Paul Eggert  <eggert@twinsun.com>
3516         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
3517         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
3518         and it causes a 'test' syntax error if it fails.
3519         Bug reported by Stephen Gildea.
3521         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
3522         If prototypes are supported, use them to check this at compile-time,
3523         instead of trying to check it at run-time.  If we must do a run-time
3524         check, assume that setvbuf is standard when cross-compiling, as
3525         nonstandard setvbuf occurs only on ancient and unlikely hosts.
3526         Bug reported by Paul D. Smith.
3528         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
3529         argument specifying location of getloadavg.c.  This removes a
3530         FIXME.  This idea was taken from Jim Meyering's implementation in
3531         textutils.
3532         * doc/autoconf.texi (Particular Functions): Document this.
3533         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
3534         that's what the code does; this fixes a bug reported by
3535         Paul D. Smith.
3537 2002-05-03  Akim Demaille  <akim@epita.fr>
3539         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
3540         autopoint instead of gettextize.
3541         ($uses_alocal): Rename as...
3542         ($uses_aclocal): this.
3543         * doc/autoconf.texi (autoreconf Invocation): Adjust.
3544         Suggested by Bruno Haible.
3546 2002-05-03  Akim Demaille  <akim@epita.fr>
3548         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
3550 2002-04-29  Paul Eggert  <eggert@twinsun.com>
3552         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
3553         files to be 1 second older; just set them to be the same time.
3554         Also, sleep 1 second after the first aclocal, to work around
3555         problems with sub-second time stamps on the input files.
3557 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
3559         * doc/autoconf.texi: Mention "set -e -x" lossage
3560         under node "Limitations of Builtins".
3562 2002-04-29  Akim Demaille  <akim@epita.fr>
3564         * doc/install.texi: Better wording for setting variables when
3565         running configure.
3566         From Christian Cornelssen.
3568 2002-04-29  Akim Demaille  <akim@epita.fr>
3570         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
3571         of lack of $LINENO support, then the test will compare the $LINENO
3572         in testsuite vs. the lineno in the test file.  This is wrong, of
3573         course.
3574         Be sure to protect it.
3575         Reported by Patrick Welche.
3577 2002-04-25  Akim Demaille  <akim@epita.fr>
3579         * doc/autoconf.texi (Obsolete Macros): Typo.
3580         Reported by Vladimir Volovich.
3582 2002-04-25  Akim Demaille  <akim@epita.fr>
3584         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
3585         than some of the input files, hence, on the second run of aclocal,
3586         if some of its input are younger, make them older.
3587         Suggested by Paul Eggert.
3589 2002-04-25  Akim Demaille  <akim@epita.fr>
3591         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
3592         Thanks to Paul Eggert.
3594 2002-04-25  Akim Demaille  <akim@epita.fr>
3596         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
3597         and ac_subst_vars be sh variables containing the list of
3598         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
3599         DEFAULT diversion.
3600         (_AC_INIT_PREPARE): Use them to log them.
3601         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
3602         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
3603         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
3604         _AC_SUBST_FILES and _AC_SUBST_VARS.
3605         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
3607 2002-04-24  Akim Demaille  <akim@epita.fr>
3609         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
3610         autoheader, so that automake does not complain about a missing
3611         config.h.in that was to be created.
3613 2002-04-23  Akim Demaille  <akim@epita.fr>
3615         * bin/autoheader.in (parse_args): --warning takes an argument.
3616         Fixes PR/220.
3618 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
3620         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
3621         and bb.out when cleaning up.
3623 2002-04-22  Akim Demaille  <akim@epita.fr>
3625         Version 2.53a.
3627 2002-04-22  Akim Demaille  <akim@epita.fr>
3629         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
3631 2002-04-22  Akim Demaille  <akim@epita.fr>
3633         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
3634         comma.
3635         Reported by Gregory Giannoni.
3637 2002-04-22  Akim Demaille  <akim@epita.fr>
3639         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
3640         Fixes false failures on Darwin.
3642 2002-04-21  Paul Eggert  <eggert@twinsun.com>
3644         * TODO, bin/autoupdate.in, doc/autoconf.texi,
3645         lib/autoconf/general.m4, lib/autoconf/libs.m4,
3646         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
3647         tests/tools.at: Minor spelling and grammar fixes.
3649 2002-04-20  Paul Eggert  <eggert@twinsun.com>
3651         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
3652         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
3653         * lib/autotest/general.m4 (AT_INIT): Likewise.
3654         * tests/atgeneral.m4 (AT_INIT): Likewise.
3656 2002-04-19  Paul Eggert  <eggert@twinsun.com>
3658         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
3659         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
3660         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
3661         lib/autoconf/functions.m4, lib/autoconf/general.m4,
3662         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
3663         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
3664         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
3665         Minor spelling and grammar fixes.
3667         * doc/autoconf.texi: Follow the outline suggested in the GNU
3668         Sample Texts sections of the Texinfo 4.2 manual.  Most
3669         importantly, this makes sure that the copyright notices appear in
3670         all output formats.  You probably need Texinfo 4.2 to generate
3671         the manual now.
3673         Fix some bugs when using "$@" when there might be zero positional
3674         arguments in cases where this matters.
3676         * bin/autoconf.as: Rewrite so that the problem does not come up.
3677         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
3678         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
3679         * lib/autotest/general.m4 (AT_INIT): Likewise.
3681         * bin/autoheader.in: Use 'case' statement to work around problem.
3682         * bin/auto4mte.in: Likewise.
3683         * bin/autoreconf.in: Likewise.
3684         * bin/autoscan.in: Likewise.
3685         * bin/autoupdate.in: Likewise.
3686         * bin/ifnames.in: Likewise.
3688         * doc/autoconf.texi (Shell Substitutions): Document the problem.
3690         * lib/autotest/general.m4 (AT_INIT):
3691         Use Zsh alias to work around problem.
3692         * tests/atgeneral.m4 (AT_INIT): Likewise.
3694         * tests/c.at: We can't have zero arguments, so remove workaround
3695         that is not portable to Zsh.
3697 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
3699         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
3700         from aclocal.m4 too.
3702 2002-04-12  Akim Demaille  <akim@epita.fr>
3704         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
3706 2002-04-10  Akim Demaille  <akim@epita.fr>
3708         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
3709         workaround for ${1+"$@"}.
3710         * doc/autoconf.texi (Shell Substitutions): Explain it.
3711         From Oliver Kiddle and Peter Stephenson.
3713         Have M4sh perform minimal shell sanitizing.
3715         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
3716         part into...
3717         (_AS_PREPARE): this new macro.
3718         (AS_PREPARE): New.
3719         (AS_INIT): Invoke AS_SHELL_SANITIZE.
3720         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
3722         Adjust Autoconf and Autotest.
3724         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
3725         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
3726         * lib/autotest/general.m4 (AT_INIT): Likewise.
3727         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3728         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
3729         AS_SHELL_SANITIZE.
3731         Use this M4sh to generate Autoconf's shell scripts.
3733         * tests/wrapsh.as: New, precursor of wrapsh.in.
3734         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
3735         on Autotest and M4sh.
3736         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
3737         (wrapsh.in): New target.
3738         * bin/autoconf.as: New, precursor of autoconf.in.
3739         (autoconf.in): New target.
3741 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
3743         * doc/autoconf.texi (Limitations of Make): Mention the issue
3744         with indented comments in rules.
3746 2002-04-09  Andreas Schwab  <schwab@suse.de>
3748         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
3749         ac_top_builddir when setting ac_abs_top_builddir.
3751 2002-04-06  Kevin Ryde  <user42@zip.com.au>
3753         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
3754         (Portable Shell): Cross reference to Systemology.
3756 2002-04-05  Akim Demaille  <akim@epita.fr>
3758         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
3759         directories when descending in a SUBDIRS.
3760         Reported by Ezra Peisach.
3762 2002-04-04  Andreas Schwab  <schwab@suse.de>
3764         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
3765         contains no literal separators.
3767 2002-04-03  Akim Demaille  <akim@epita.fr>
3769         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
3770         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
3771         Use dnl, not the KILL diversion.
3772         Extracted from...
3773         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
3774         (AC_CONFIG_LINKS): here.
3775         Adjust.
3776         Don't use the KILL diversion, as it kills spurious output, which
3777         results in failures being hidden.
3778         Use m4_defn where appropriate.
3779         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
3780         after the second argument.
3781         Use m4_defn.
3782         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
3783         syntax, as it is provided by M4sugar.
3784         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
3786 2002-04-03  Andreas Schwab  <schwab@suse.de>
3788         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
3789         expanded if $# <= 2.
3791         * bin/autoreconf.in (autoreconf): Run automake after rerunning
3792         aclocal.
3794 2002-04-03  Akim Demaille  <akim@epita.fr>
3796         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
3797         (_AC_COMPILER_EXEEXT_REJECT): New.
3798         Also recognize *.bb and *.bbg as compilation byproducts.
3799         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
3800         (_AC_COMPILER_OBJEXT): Use them.
3801         Fixes Debian #138666.
3803 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
3805         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
3807         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
3808         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
3809         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
3810         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
3811         (AC_C_CONST): Same.
3812         (AC_C_INLINE): Same.
3813         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
3814         * doc/autoconf.texi, NEWS: Document.
3815         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
3816         AC_C_CROSS.
3818 2002-04-02  Akim Demaille  <akim@epita.fr>
3820         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
3821         _AS_MKDIR_P_PREPARE.
3823 2002-03-28  Kevin Ryde  <user42@zip.com.au>
3825         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
3826         to avoid versions of HP C which don't allow that.
3828 2002-03-27  Paul Eggert  <eggert@twinsun.com>
3830         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
3831         (AS_SHELL_SANITIZE): Invoke it.
3832         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
3834 2002-03-26  Akim Demaille  <akim@epita.fr>
3836         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
3838 2002-03-26  Akim Demaille  <akim@epita.fr>
3840         * doc/autoconf.texi (Introduction): The GNATS base moved.
3842 2002-03-25  Paul Eggert  <eggert@twinsun.com>
3844         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
3845         as POSIX requires, as it doesn't work with Zsh.
3846         * doc/autoconf.texi (Assignments): Document the problem.
3848 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
3850         * doc/autoconf.texi (Limitations of Make): Mention more issue
3851         about VPATH, overriding of macros in sub-makes, and handling of
3852         SHELL.
3854 2002-03-21  Paul Eggert  <eggert@twinsun.com>
3856         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
3857         problem with here-document buffer boundaries.
3859         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
3860         when reinvoking the shell, to work around problems with installers
3861         who put strange things like "cd" commands in their environments.
3863 2002-03-19  Akim Demaille  <akim@epita.fr>
3865         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
3866         From Aaron Ucko.
3868 2002-03-19  Akim Demaille  <akim@epita.fr>
3870         * bin/autoscan.in (scan_file): Specify the location in `&used'
3871         invocations.
3872         From Nicolas Joly.
3874 2002-03-19  Akim Demaille  <akim@epita.fr>
3876         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
3877         From Nishio Futoshi.
3879 2002-03-19  Akim Demaille  <akim@epita.fr>
3881         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
3883 2002-03-18  Paul Eggert  <eggert@twinsun.com>
3885         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
3886         (Limitations of Usual Tools): Add mkdir section.
3888         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
3889         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
3890         back on AS_DIRNAME to compute prefixes otherwise; this is
3891         roughly what mkinstalldirs does.  That way, we need not have
3892         our own filename disassembler.  The old disassembler did not
3893         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
3895         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
3896         Create at_test_all by a series of assignments,
3897         not by a single assignment of a long string.  The latter causes ksh
3898         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
3899         presumably because of a buffer overrun.
3901 2002-03-14  Paul Eggert  <eggert@twinsun.com>
3903         * lib/autotest/general.m4 (at_times_skip):
3904         Renamed from at_times.  Now a boolean.
3905         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
3906         says 'times: not found'.
3908 2002-03-14  Akim Demaille  <akim@epita.fr>
3910         * bin/autoreconf.in (&study_gettextize): New.
3911         (&autoreconf): Handle newest gettextize.
3912         Rerun aclocal if needed.
3913         Suggested by Andreas Schwab.
3915 2002-03-13  Akim Demaille  <akim@epita.fr>
3917         * doc/autoconf.texi (Special Shell Variables): More about IFS.
3919 2002-03-13  Akim Demaille  <akim@epita.fr>
3921         * doc/autoconf.texi (Header Portability): New.
3922         Add information about stdint.h and inttypes.h from Paul Eggert.
3924 2002-03-13  Akim Demaille  <akim@epita.fr>
3926         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
3927         -p'.
3928         From Bob Proulx.
3930 2002-03-12  Akim Demaille  <akim@epita.fr>
3932         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
3933         m4_require.
3935 2002-03-11  Andreas Schwab  <schwab@suse.de>
3937         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
3938         does not do it if --with-lispdir is given.
3940 2002-03-08  Akim Demaille  <akim@epita.fr>
3942         Version 2.53.
3944 2002-03-08  Akim Demaille  <akim@epita.fr>
3946         * doc/autoconf.texi (Subdirectories): Clarify that the
3947         subdirectory should exist.
3949 2002-03-08  Akim Demaille  <akim@epita.fr>
3951         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
3953 2002-03-08  Akim Demaille  <akim@epita.fr>
3955         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
3956         aliases the actual variables, and modifications of the former
3957         affect the latter.
3959 2002-03-08  Akim Demaille  <akim@epita.fr>
3961         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
3962         because of C-c: have m4 output in tmp files, then mv them.
3964 2002-03-08  Akim Demaille  <akim@epita.fr>
3966         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
3967         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
3968         * bin/ifnames.in: Copyright update.
3970 2002-03-08  Akim Demaille  <akim@epita.fr>
3972         * doc/autoconf.texi (Invoking autom4te): New.
3974 2002-03-05  Akim Demaille  <akim@epita.fr>
3976         * doc/autoconf.texi (Specifying Names): Clarification suggested by
3977         Kevin Ryde.
3979 2002-03-05  Akim Demaille  <akim@epita.fr>
3981         Version 2.52i.
3983 2002-03-04  Akim Demaille  <akim@epita.fr>
3985         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
3986         * lib/autoconf/general.m4 (AC_INIT): More informative error
3987         message for LIBOBJ.
3989 2002-03-04  Akim Demaille  <akim@epita.fr>
3991         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
3992         parallel builds.
3994 2002-03-04  Akim Demaille  <akim@epita.fr>
3996         * doc/autoconf.texi (Transforming Names): Equality between target
3997         and host is irrelevant.
3998         (Specifying Names, Canonicalizing): Remove all references to the
3999         backward compatibility hooks.  Rather, collect them all into...
4000         (Hosts and Cross-Compilation): this new section.
4001         * doc/install.texi (System Type): Ditto.
4002         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
4003         that `--host' implies cross-compilation.
4005 2002-03-04  Akim Demaille  <akim@epita.fr>
4007         * doc/autoconf.texi (Evaluation Macros): New.
4008         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
4009         useless.
4010         (_m4_foreach): Define the variant with immediate evaluation so
4011         that it contains exactly the items, not an expression which
4012         evaluation is the current item.
4013         (m4_re_string, m4_re_word): Don't over quote them.
4015 2002-03-04  Akim Demaille  <akim@epita.fr>
4017         Instead of having stacking `shift's evaluated at the end, let
4018         `foreach' loops immediately evaluate them.
4020         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
4021         $*.  This is the n-th time I change my mind, but hopefully this is
4022         the last...
4023         (m4_lquote): New.
4024         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
4025         efficient.
4026         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
4027         it was only a hack for m4_text_wrap.
4028         (m4_car2): Remove, replaced by...
4029         (m4_cdr): New.
4030         (_m4_foreach): Adjust.
4031         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
4032         m4_bpatsubst for clarification.
4034 2002-03-04  Akim Demaille  <akim@epita.fr>
4036         * doc/autoconf.texi (Changequote is Evil): New.
4038 2002-03-03  Kevin Ryde  <user42@zip.com.au>
4040         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
4041         on old systems like SunOS.
4043 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
4045         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
4046         lib/autoconf/functions.m4, lib/autoconf/general.m4,
4047         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
4048         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
4049         of messages.
4051 2002-02-28  Akim Demaille  <akim@epita.fr>
4053         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
4054         message to be sent.
4056 2002-02-28  Kevin Ryde  <user42@zip.com.au>
4058         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
4060 2002-02-25  Akim Demaille  <akim@epita.fr>
4062         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
4063         From Akinori Musha.
4065 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
4067         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
4068         translate \r\n to \n.
4070 2002-02-07  Akim Demaille  <akim@epita.fr>
4072         Version 2.52h.
4074 2002-02-07  Akim Demaille  <akim@epita.fr>
4076         Fix Autoconf PR/209.
4077         Also reported by Frank Denis.
4079         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
4081 2002-02-07  Akim Demaille  <akim@epita.fr>
4083         Fix Autoconf PR/207:
4084         AC_PREFIX_PROGRAM fails with dashed program names
4086         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
4087         variable when looking for the prefix program.
4088         Now it also works for shell variables.
4090 2002-02-07  Akim Demaille  <akim@epita.fr>
4092         * doc/autoconf.texi (Limitations of Builtins): More about
4093         case/esac.
4095 2002-02-06  Akim Demaille  <akim@epita.fr>
4097         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
4098         case/esac, some shells don't support it.
4099         Reported by Zack Weinberg.
4100         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
4102 2002-02-06  Akim Demaille  <akim@epita.fr>
4104         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
4105         sure not to introduce newlines in at_groups.
4106         * lib/autotest/Makefile.am (autotest.m4f): Typo.
4108 2002-02-06  Akim Demaille  <akim@epita.fr>
4110         * tests/torture.at (Configuring subdirectories): Skip if aclocal
4111         is not available.
4113 2002-02-05  Paul Eggert  <eggert@twinsun.com>
4115         * doc/autoconf.texi (Specific Compiler Characteristics):
4116         Describe HP-UX cc bug workaround more accurately.
4117         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
4118         not unsigned long.
4119         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
4120         cross-compilers, too.  This undoes some of the most recent change
4121         to this file.
4123 2002-02-05  Akim Demaille  <akim@epita.fr>
4125         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
4126         to make sure they are up to date when `check' is run.
4128 2002-02-05  Akim Demaille  <akim@epita.fr>
4130         * doc/autoconf.texi (Making testsuite Scripts): Document
4131         package.m4.
4133 2002-02-05  Akim Demaille  <akim@epita.fr>
4135         * lib/freeze.mk: New.
4137 2002-02-05  Akim Demaille  <akim@epita.fr>
4139         Implement `autom4te --freeze'.
4141         * bin/autom4te.in (&freeze): New.
4142         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
4143         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
4145 2002-02-05  Akim Demaille  <akim@epita.fr>
4147         * bin/autom4te.in (&parse_args): Implement `frozen files are
4148         optional are the sum of the previous files on the command line'.
4149         Also, pass `--reload-state=' on them, so...
4150         (handle_m4): don't.
4151         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
4152         (M4sh): Rely on M4sugar.
4153         (Autotest, M4sh, M4sugar): Use frozen files.
4155 2002-01-31  Akim Demaille  <akim@epita.fr>
4157         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
4158         * doc/autoconf.texi (Initializing configure): Adjust.
4160 2002-01-30  Akim Demaille  <akim@epita.fr>
4162         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
4163         alphanumeric to `-' instead of `_'.
4165 2002-01-30  Akim Demaille  <akim@epita.fr>
4167         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
4168         for plain code, the other for cross-compilation code.  The latter
4169         is now run with GCC only.
4170         * doc/autoconf.texi (Compilers and Preprocessors): New.
4172 2002-01-30  Akim Demaille  <akim@epita.fr>
4174         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
4175         values.
4176         * doc/autoconf.texi (Initializing configure): Explain how to
4177         change AC_INIT default values.
4179 2002-01-29  Akim Demaille  <akim@epita.fr>
4181         * tests/torture.at (Configuring subdirectories): Use configure.in,
4182         so that aclocal 1.4 works.
4183         Reported by Alexandre Duret-Lutz and Larry Schmitt.
4185 2002-01-28  Akim Demaille  <akim@epita.fr>
4187         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
4188         needs an argument.
4190 2002-01-28  Akim Demaille  <akim@epita.fr>
4192         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
4193         AUTOTEST_PATH *after* it was set.
4194         Don't put `.' in the PATH: the user should be precise and `./' if
4195         needed.  In addition, given that the test suite does some `cd', if
4196         `.' is in the path, the `tested programs' sections will report
4197         programs found in the test suite's directory, while during the
4198         tests (performed in their own directory), these programs are no
4199         longer visible.  In other words, the results is confusing and
4200         useless.
4201         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
4203 2002-01-24  Akim Demaille  <akim@epita.fr>
4205         Version 2.52g.
4207 2002-01-24  Akim Demaille  <akim@epita.fr>
4209         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
4210         * doc/autoconf.texi: Finally add Akim as an author.
4212 2002-01-24  Akim Demaille  <akim@epita.fr>
4214         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
4215         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
4216         Bourne. Use /bin/sh.
4217         From Andreas Buening.
4219 2002-01-24  Akim Demaille  <akim@epita.fr>
4221         * config/config.guess, config/config.sub, config/texinfo.tex:
4222         Update from masters.
4224 2002-01-24  Akim Demaille  <akim@epita.fr>
4226         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
4227         * config/auxdir.m4, config/cond.m4, config/depend.m4,
4228         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
4229         * config/missing.m4, config/sanity.m4, config/select.m4,
4230         * config/strip.m4: Remove, to ease sync'ing with any version of
4231         Automake.
4233 2002-01-24  Akim Demaille  <akim@epita.fr>
4235         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
4236         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
4237         Reported by Geir Ove Myhr.
4239 2002-01-21  Akim Demaille  <akim@epita.fr>
4241         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
4243 2002-01-21  Akim Demaille  <akim@epita.fr>
4245         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
4246         message on invalid options.
4247         * bin/autom4te.in (parse_args): Don't use
4248         Autoconf::General::getopt with non valid options.
4250 2002-01-17  Jim Meyering  <meyering@lucent.com>
4252         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
4253         $ac_cv_exeext so we don't use an old, invalid, cached value.
4255 2002-01-11  Akim Demaille  <akim@epita.fr>
4257         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
4258         Meyering.
4259         * doc/autoconf.texi (Function Portability): Document the strnlen
4260         limitation.
4261         (Particular Functions): Document AC_FUNC_STRNLEN.
4262         * lib/autoscan/functions: Adjust.
4264 2002-01-06  Akim Demaille  <akim@epita.fr>
4266         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
4267         package.m4, since is really depends upon configure.ac, not
4268         configure.
4269         * doc/autoconf.texi (testsuite Scripts): Adjust.
4270         * tests/Makefile.am (package.m4): New.
4271         EXTRA_DIST it since its a source.
4273 2002-01-06  Akim Demaille  <akim@epita.fr>
4275         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
4276         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
4277         and PACKAGE_BUGREPORT from here...
4278         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
4279         arguments.
4280         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
4281         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
4282         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
4283         * tests/tools.at (autoheader): Adjust.
4284         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
4286 2002-01-06  Akim Demaille  <akim@epita.fr>
4288         * bin/autoscan.in (scan_file): Use `&used'.
4290 2002-01-03  Akim Demaille  <akim@epita.fr>
4292         * doc/autoconf.texi (Output): Improved wording regarding use of
4293         AC_OUTPUT.
4294         From Olly Betts.
4296 2001-12-18  Kevin Ryde  <user42@zip.com.au>
4298         * doc/autoconf.texi (Function Portability): Add notes on sscanf
4299         sometimes needing writable input.
4301 2001-12-17  Jim Meyering  <meyering@lucent.com>
4303         * doc/autoconf.texi (New Macros): Tweak wording.
4305 2001-12-14  Akim Demaille  <akim@epita.fr>
4307         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
4308         trailing files, don't apply `-rf' to files which might not be
4309         created by configure (core, core.*, and *.core), but just `rm -f'.
4310         Suggested by Jonathan Kamens.
4312 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
4314         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
4316 2001-12-14  Akim Demaille  <akim@epita.fr>
4318         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
4320 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
4322         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
4323         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
4324         abs_srcdir, top_srcpath to abs_top_srcdir.
4325         (_AC_OUTPUT_FILES): Adjust.
4326         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
4327         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
4328         * tests/wrappl.in, tests/wrapsh.in: Adjust.
4330 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
4332         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
4333         C/Fortran linking on HP/UX, by extracting the Fortran library
4334         search path from the LPATH line in the $F77 -v output.
4336 2001-12-12  Kevin Ryde  <user42@zip.com.au>
4338         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
4339         forbidden file descriptors table.
4341 2001-11-26  Akim Demaille  <akim@epita.fr>
4343         * bin/autoscan.in (%c_keywords): Build it at top level.
4344         Map to 1 in order to simplify its uses.
4346 2001-11-26  Akim Demaille  <akim@epita.fr>
4348         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
4349         Remove $filepath, useless.
4350         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
4351         variables, they are really part of the tokens.
4352         Split the input line on spaces and then look for tokens.
4353         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
4354         because of `lex$U.$(OBJEXT)'.
4355         (&scan_files): Use "@list" instead of join.
4356         * doc/Makefile.am (CLEANFILES): Add *.fns.
4358 2001-11-26  Akim Demaille  <akim@epita.fr>
4360         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
4361         Remove, replaced by...
4362         * tests/wrappl.in: Be common for all the Perl executables.
4363         In particular autoscan and autoheader want -I.
4364         * configure.ac: Adjust.
4365         * lib/autoscan/headers: errno.h is portable.
4367 2001-11-26  Akim Demaille  <akim@epita.fr>
4369         * bin/autoscan.in (used): New.
4370         Use it.
4372 2001-11-26  Akim Demaille  <akim@epita.fr>
4374         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
4375         directives.
4376         (&scan_sh_file): Remove a duplicate pattern.
4377         (&check_configure_ac): Use long options.
4378         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
4380 2001-11-26  Akim Demaille  <akim@epita.fr>
4382         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
4383         Before, having a line containing the opening of a multi line
4384         comment made the whole line be ignored.
4386 2001-11-26  Akim Demaille  <akim@epita.fr>
4388         * doc/autoconf.texi (Using an Autotest Test Suite): New.
4389         (testsuite Scripts): Be one of its subsection.
4390         (Autotest Logs): New.
4392 2001-11-26  Akim Demaille  <akim@epita.fr>
4394         Test groups are now run two directories deeper.
4396         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
4397         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
4398         at_top_builddir.
4399         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
4400         top_srcdir, builddir and top_builddir.
4401         Use `at_*dir' relatively to the directory containing the
4402         suite, use `*dir' when relatively to the current group dir.
4404 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
4406         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
4407         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
4408         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
4409         spelling errors.
4411 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
4413         * doc/autoconf.texi (Using System Type): Add an example of `case
4414         $host' usage so people quit using `case $target' everywhere.
4416 2001-11-22  Akim Demaille  <akim@epita.fr>
4418         * doc/autoconf.texi (Installation Directory Variables): Englishoes
4419         spotted by Jim Meyering.
4421 2001-11-16  Paul Eggert  <eggert@twinsun.com>
4423         This patch implements a `long double' suggestion by Oliver Kiddle.
4425         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
4426         static, to catch errors if the value isn't known at compile-time
4427         and the compiler supports dynamic arrays.  Change its name from
4428         `_array_' to `test_array' to avoid potential name clashes.
4429         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
4430         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
4431         better than double.  Catch a bug in GCC 2.95.2 x86.
4432         * doc/autoconf.texi (C Compiler): Document the above.
4433         * NEWS: Likewise.
4435 2001-11-13  Akim Demaille  <akim@epita.fr>
4437         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
4438         hand.
4439         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
4441 2001-11-13  Akim Demaille  <akim@epita.fr>
4443         * lib/autotest/general.m4 (AT_INIT): After having run the test
4444         group, go back to the initial directory, not to at_suite_dir.
4446 2001-11-13  Akim Demaille  <akim@epita.fr>
4448         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
4449         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
4450         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
4451         option.
4452         (AT_CHECK_CONFIGURE): Use absolute paths.
4453         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
4454         The problem is still the old one: there is no means in M4 (that I
4455         know about) to create a defining macro, because there is no means
4456         to create `$1' etc., therefore, the defining macro ``swallows''
4457         all the arguments meant to the defined macro.
4459 2001-11-13  Akim Demaille  <akim@epita.fr>
4461         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
4462         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
4463         configure.ac.
4464         * tests/aclocal.m4: Remove, as it is no longer used.
4466 2001-11-13  Akim Demaille  <akim@epita.fr>
4468         * lib/autotest/general.m4: Change `tests?' into `groups?' in
4469         variable names when referring to a single test group, or to
4470         `suite' when referring to the whole test suite.
4471         `at_last_test' is removed: m4 compute at_format itself.
4472         (at_stdout, at_stder1, at_stderr): New variables.
4473         (AT_CHECK): Use them.
4475 2001-11-13  Akim Demaille  <akim@epita.fr>
4477         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
4478         in PATH.
4479         Create `testsuite.dir/003/run' instead of `testsuite.003'.
4480         Do it as soon as a test fails, don't wait till the end of the test
4481         suite.
4482         Don't remove $as_me.[0-9]*, since these files no longer exist.
4484 2001-11-13  Akim Demaille  <akim@epita.fr>
4486         * tests/tools.at: Use absolute paths, since we are no longer run
4487         in place.
4489 2001-11-13  Akim Demaille  <akim@epita.fr>
4491         Now that tests are running in their own private dir, there is no
4492         need to list the files to remove at the end of tests groups.
4494         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
4495         (AT_data_files, at_data_files): Remove.
4496         (AT_CLEANUP, AT_DATA): Simplify.
4497         (AT_INIT): Adjust.
4498         Remove the group dir if !debug && !failed.
4499         * tests/atspecific.m4: Adjust.
4501 2001-11-13  Akim Demaille  <akim@epita.fr>
4503         Start a new layout for Autotest: `testsuite' creates
4504         `testsuite.dir' in which the at-check-line etc. files are to be
4505         found, and `testsuite.dir/003' where the test group 3 is run.
4507         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
4508         at_check_line_file, at_format, at_test_normalized, at_group_dir
4509         are new variables.
4510         Create the directories.
4511         Use absolute paths for at- files.
4512         (AT_CHECK): Adjust.
4514 2001-11-11  Michael Matz  <matz@kde.org>
4516         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
4517         (m4_car2): New.
4518         (m4_car): Properly quote arguments.
4520 2001-11-13  Akim Demaille  <akim@epita.fr>
4522         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
4523         with stricter rules on LIBOBJS.
4525 2001-11-12  Paul Eggert  <eggert@twinsun.com>
4527         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
4528         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
4529         __PROTOTYPES too.
4531 2001-11-12  Akim Demaille  <akim@epita.fr>
4533         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
4535 2001-11-12  Akim Demaille  <akim@epita.fr>
4537         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
4538         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
4539         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
4540         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
4541         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
4542         specify to what the macro should be defined (typically to 1).
4544 2001-11-12  Akim Demaille  <akim@epita.fr>
4546         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
4547         From Jim Meyering.
4549 2001-11-12  Akim Demaille  <akim@epita.fr>
4551         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
4552         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
4553         definition used by Automake where LEX is +/- "${missing} lex" and
4554         `missing' itself contains variables.
4556 2001-11-12  Akim Demaille  <akim@epita.fr>
4558         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
4559         Now that M4sh pushes BODY, the comments were output at the end of
4560         the test suites.
4562 2001-11-08  Akim Demaille  <akim@epita.fr>
4564         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
4565         that we can trace macros from aclocal.m4.
4566         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
4567         obsoleted, and redirect to the former anyway.
4568         Reported by Ralf Corsepius.
4570 2001-11-08  Akim Demaille  <akim@epita.fr>
4572         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
4573         processed only if present.
4574         * tests/torture.at (Configuring subdirectories): Use autoreconf
4575         instead of successive calls to autoconf.
4576         Add a nonexistent subdirectory to exercise the patch above.
4577         Reported by Ralf Corsepius.
4579 2001-11-08  Kevin Ryde  <user42@zip.com.au>
4581         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
4582         doesn't accept .S files.
4584 2001-11-07  Akim Demaille  <akim@epita.fr>
4586         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
4587         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
4588         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
4589         * bin/autom4te.in (warn_forbidden): New.
4590         (handle_output): Use it.
4591         Read m4_pattern_forbid with messages.
4593 2001-11-05  Akim Demaille  <akim@epita.fr>
4595         * bin/autom4te.in (--normalize): Remove.
4596         * lib/autom4te.in: Adjust.
4598 2001-11-05  Akim Demaille  <akim@epita.fr>
4600         * tests/Makefile.am (testsuite): Rename this target as...
4601         ($(TESTSUITE)): this.
4602         From Nicolas Joly.
4604 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
4606         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
4607         the --prefix option, also remove it's argument.
4609 2001-11-05  Akim Demaille  <akim@epita.fr>
4611         * doc/autoconf.texi (testsuite Invocation): Update.
4612         (Writing testsuite.at): Update.
4614 2001-11-03  Akim Demaille  <akim@epita.fr>
4616         * doc/autoconf.texi: s/@code/@command/ where appropriate.
4618 2001-11-03  Akim Demaille  <akim@epita.fr>
4620         * lib/Autom4te/General.pm: (&catfile, &canonfile)
4621         (&file_name_is_absolute): New, wrappers around routines from
4622         File::Spec.
4623         Use and export them.
4624         (&find_configure_ac): Optionally take a directory where to look at.
4625         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
4626         the arguments.
4627         Default @ARGV to `.', not find_configure_ac.
4628         (&autoreconf): Argument is a directory.
4629         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
4630         * doc/autoconf.texi (autoreconf Invocation): Update.
4632 2001-11-03  Akim Demaille  <akim@epita.fr>
4634         * lib/Autom4te/General.pm (@export_vars, @export_subs)
4635         (@export_forward_subs): New.
4636         Add basename, dirname, and fileparse.
4637         (@EXPORT): Adjust.
4638         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
4639         Don't look for aclocal flags if we already know aclocal is not
4640         used.
4641         Move aclocal.m4t only if it exists.
4642         Reported by Ezra Peisach.
4644 2001-11-03  Akim Demaille  <akim@epita.fr>
4646         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
4647         passed on command line, defaulting to ./configure.ac if present.
4648         (&maybe_autoreconf, File::Find): Remove, unused.
4649         (&autoreconf): If autoconf is not used, don't try to trace.
4651 2001-11-02  Akim Demaille  <akim@epita.fr>
4653         * configure.ac: Bump to 2.52g.
4655 2001-11-02  Akim Demaille  <akim@epita.fr>
4657         Version 2.52f.
4659 2001-11-02  Akim Demaille  <akim@epita.fr>
4661         * config/config.guess, config/config.sub, doc/standards.texi:
4662         * config/lispdir.m4: Update from masters.
4663         * configure.ac: Bump to 2.52f.
4665 2001-11-02  Akim Demaille  <akim@epita.fr>
4667         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
4668         Don't run aclocal when aclocal.m4 is not from aclocal.
4669         From Ezra Peisach.
4670         Don't run libtoolize and gettextize if --install is not given.
4672 2001-11-01  Paul Eggert  <eggert@twinsun.com>
4674         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
4675         be invoked before _AS_LINENO_PREPARE.
4676         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
4677         than character ranges.
4679         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
4680         invoking AS_BASENAME.  Set the locale variables to 'C' if
4681         possible, as POSIX requires this to get the traditional
4682         behavior.
4683         * doc/autoconf.texi (Special Shell Variables): Describe the above.
4685 2001-10-31  Paul Eggert  <eggert@twinsun.com>
4687         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
4688         with {}, as that triggers a bug in Bash 2.05.
4690         (_AS_LINENO_PREPARE): Use Sed rather than
4691         Awk.  Fix the sed prepass to work even if there are multiple
4692         instances of $LINENO on the same line.  Do not substitute for
4693         other variables like $LINENOT.  Do not check file dates; such a
4694         check is unreliable on sufficiently fast machines, and removing
4695         the check makes the code simpler and more reliable.  Check for
4696         output and chmod failures.
4698         * doc/autoconf.texi (Special Shell Variables): Document
4699         the above.
4701 2001-10-31  Akim Demaille  <akim@epita.fr>
4703         * tests/Makefile.am (atconfig): Remove this target, Automake
4704         handles it now.
4706 2001-10-31  Akim Demaille  <akim@epita.fr>
4708         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
4709         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
4710         provided, while it is optional.
4711         * configure.ac: Adjust.
4713 2001-10-26  Paul Eggert  <eggert@twinsun.com>
4715         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
4716           lib/Autom4te/Struct.pm:
4717         Require Perl 5.005_03 instead of just 5.005, as some tests fail
4718         with 5.005_02.
4720         * doc/autoconf.texi (Special Shell Variables): Document some
4721         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
4723         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
4724         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
4725         eval $LINENO is not portable in practice.
4727 2001-10-24  Akim Demaille  <akim@epita.fr>
4729         * lib/Autom4te/General.pm (backname): New.
4731 2001-10-24  Akim Demaille  <akim@epita.fr>
4733         * m4/: Remove, merged into...
4734         * config/: here.
4736 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
4738         * doc/autoconf.texi (Shellology): Mention the problems with bash
4739         2.05's use of ANSI quoting in its `set' builtin.
4741 2001-10-22  Paul Eggert  <eggert@twinsun.com>
4743         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
4744         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
4745         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
4746         POSIX decided to standardize on the int flavor of strerror_r.
4747         Always do char* test, as there's no reason not to.
4748         Assign to a char* var, to catch strerror_r that returns int*.
4750         * doc/autoconf.texi (Particular Functions):
4751         Document the above changes.  Also, document the fact that
4752         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
4754         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
4756 2001-10-20  Akim Demaille  <akim@epita.fr>
4758         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
4759         the executable was missing from the log.
4761 2001-10-20  Akim Demaille  <akim@epita.fr>
4763         * lib/Autom4te/General.pm (&update_file): If destination is
4764         unchanged, remove the source.
4765         (&up_to_date_p): Don't be verbose, be debug.
4766         * bin/autoreconf.in: No longer support --m4dir.
4767         (&autoreconf): Display the full path of the configure.ac we are
4768         studying.
4769         Trace it only once.
4770         Be sure to honor --force with gettextize.
4771         Always run aclocal.
4772         * doc/autoconf.texi: Adjust.
4774 2001-10-20  Akim Demaille  <akim@epita.fr>
4776         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
4777         Remove, dead.
4778         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
4779         `intl' is already present, as it refuses unless --force.
4780         (&parse_args): Use -I, --include instead of the old Autoconf
4781         options.
4782         ($localdir, $autoconf_dir): Remove.
4783         (@include): New.
4784         (&maybe_autoreconf): New, to preserve $_ for File::Find.
4786 2001-10-19  Jens Petersen  <petersen@redhat.com>
4788         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
4789         * doc/autoconf.texi (Particular Programs): Likewise.
4791 2001-10-19  Akim Demaille  <akim@epita.fr>
4793         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
4794         file in @configure_input@.
4795         Don't mention `automatically' in addition to `generated'.
4796         * tests/torture.at (#define header templates): Adjust.
4798 2001-10-19  Akim Demaille  <akim@epita.fr>
4800         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
4801         comment, explain how to install automatic mode selection.
4802         From Russ Allbery.
4804 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
4806         * bin/autoreconf.in (autoreconf): Display the path to the
4807         configure.ac being studied.
4809 2001-10-18  Paul Eggert  <eggert@twinsun.com>
4811         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
4812         long, to work around a bug in the HP C compiler version HP92453-01
4813         B.11.11.23709.GP.
4815         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
4816         (AS_BASENAME_EXPR): New macro.
4817         (AS_BASENAME_SED): Do not assume GNU sed semantics.
4818         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
4819         and fall back on 'sed' only if the other two fail.  This makes
4820         AS_BASENAME act more like AS_DIRNAME.
4821         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
4822         contains white space.
4823         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
4824         Use AS_DIRNAME, since I think it's now DOS-friendly.
4825         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
4826         Allow "dirname //FOO" to return either / or //, as POSIX allows
4827         either behavior.
4829 2001-10-10  Akim Demaille  <akim@epita.fr>
4831         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
4832         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
4833         From Eric Sharkey.
4835 2001-10-10  Akim Demaille  <akim@epita.fr>
4837         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
4838         m4_define, since...
4839         (_AS_ECHO_N): AS_REQUIREs it.
4841 2001-10-10  Akim Demaille  <akim@epita.fr>
4843         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
4844         (AC_INCLUDES_DEFAULT): Move to...
4845         * lib/autoconf/headers.m4: here.
4846         * lib/autoconf/types.m4: Comment changes.
4847         * doc/autoconf.texi: Specify where the default includes are used
4848         in the macro prototypes.
4850 2001-10-09  Akim Demaille  <akim@epita.fr>
4852         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
4853         transition code.
4855 2001-10-08  Akim Demaille  <akim@epita.fr>
4857         * bin/autoreconf.in (&autoreconf): Remove debugging code.
4858         (&parse_args): Pass verbosity/debugging options to subtools when
4859         --debug, not when --verbose.
4860         * lib/autom4te.in (Autoreconf-preselections): New.
4861         (Autoconf): Use it.
4863 2001-10-08  Akim Demaille  <akim@epita.fr>
4865         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
4867 2001-10-08  Akim Demaille  <akim@epita.fr>
4869         * doc/autoconf.texi (autoreconf Invocation): Adjust.
4870         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
4872 2001-10-08  Akim Demaille  <akim@epita.fr>
4874         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
4875         (Syntax of the shell scripts): Don't.
4876         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
4877         bother with $force since...
4878         * lib/Autom4te/General.pm: does.
4880 2001-10-08  Akim Demaille  <akim@epita.fr>
4882         * bin/autoreconf.in: Rewrite in Perl.
4883         * configure.ac: Adjust.
4884         * lib/Autom4te/General.pm (&up_to_date_p): New.
4885         * bin/autom4te.in (&up_to_date_p): Use it.
4886         Rename as...
4887         (&up_to_date): this.
4889 2001-10-08  Akim Demaille  <akim@epita.fr>
4891         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
4892         (m4_list_cmp): Use $0 to reinvoke yourself.
4893         (m4_patsubsts): New.
4894         (m4_strip, m4_version_unletter): Use it.
4895         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
4897 2001-10-08  Akim Demaille  <akim@epita.fr>
4899         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
4900         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
4901         * lib/autoconf/types.m4, lib/autotest/general.m4,
4902         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
4903         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
4904         m4_bregexp, m4_bpatsubst, and m4_bmatch.
4905         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
4907 2001-10-08  Akim Demaille  <akim@epita.fr>
4909         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
4911 2001-10-08  Akim Demaille  <akim@epita.fr>
4913         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
4914         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
4915         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
4916         * tests/tools.at, tests/m4sh.at: Use it.
4917         * tests/m4sh.at: Don't rely on Autoconf macros.
4918         (DIRNAME_TEST): Also exercise the expr variant.
4919         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
4920         preferred M4sugar extension is now `.4s'.
4921         * tests/README: Remove.
4923 2001-10-08  Akim Demaille  <akim@epita.fr>
4925         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
4926         (m4_provide_if): this.
4927         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
4928         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
4929         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
4930         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
4932 2001-10-08  Akim Demaille  <akim@epita.fr>
4934         Use `add-log-current-defun-function' for ChangeLog creation.
4935         Suggested by Tom Tromey.
4937         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
4938         (autotest-mode): Adjust.
4939         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
4940         'comment-region onto `C-c ;'.
4941         Comments are `#', not `dnl'.
4942         (autoconf-current-defun): New.
4943         (autoconf-font-lock-keywords): Recognize `m4_defun'.
4945 2001-10-08  Akim Demaille  <akim@epita.fr>
4947         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
4948         * lib/m4sugar/m4sh.m4: here.
4949         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
4950         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
4951         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
4952         include handle the m4_pattern_*, no longer push the
4953         BODY diversion nor set the /bin/sh line, AS_INIT does it.
4954         * lib/autotest/general.m4 (AT_INIT): Likewise.
4955         * tests/base.at: Adjust the tests to use AS_INIT.
4956         * tests/tools.at (AT_DATA_FORBIDDEN): New.
4957         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
4958         Autoconf.
4960 2001-10-07  Paul Eggert  <eggert@twinsun.com>
4962         * doc/autoconf.texi (config.status Invocation):
4963         CONFIG_SHELL defaults to a shell that supports LINENO if available.
4965         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
4966         shell does not support LINENO, and if CONFIG_SHELL is unset or
4967         empty, and if we can find a shell that does support LINENO,
4968         then set CONFIG_SHELL to that shell and then re-execute
4969         ourselves with CONFIG_SHELL.
4971 2001-10-05  Paul Eggert  <eggert@twinsun.com>
4973         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
4974         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
4975         build of $(TESTSUITE).
4977 2001-10-05  Akim Demaille  <akim@epita.fr>
4979         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
4980         iff we are a bareword.
4981         Reported by Raja R Harinath.
4983 2001-10-05  Akim Demaille  <akim@epita.fr>
4985         * tests/m4sh.at (LINENO): New.
4986         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
4987         PATH_SEPARATOR before using it.
4988         Fix the absolute path case/esac pattern.
4989         Provide $0 as fallback for as_myself.
4990         Reported by Raja R Harinath.
4992 2001-10-05  Akim Demaille  <akim@epita.fr>
4994         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
4995         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
4997 2001-10-05  Akim Demaille  <akim@epita.fr>
4999         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
5000         (AS_SHELL_SANITIZE): here.  Use it.
5001         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
5002         From Paul Eggert.
5004 2001-10-04  Akim Demaille  <akim@epita.fr>
5006         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
5007         combination of Awk and sed to replace $LINENO.
5009 2001-10-02  Paul Eggert  <eggert@twinsun.com>
5011         * doc/autoconf.texi (Limitations of Builtins): You can't use
5012         "source"; it's not portable.  Remove confusing and
5013         somewhat-incorrect example involving "." and "/".
5015         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
5016         compatibility with POSIX shells.
5018 2001-10-02  Akim Demaille  <akim@epita.fr>
5020         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
5021         instead of exec'ing to preserve $0 and $@.
5023 2001-10-01  Akim Demaille  <akim@epita.fr>
5025         * tests/testsuite (AT_INIT) <at_pass_list>: New.
5026         Don't run twice the same test.
5028 2001-10-01  Akim Demaille  <akim@epita.fr>
5030         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
5031         No longer output the list of tests.
5032         <--list>: New option.
5033         <--full-help>: Remove.
5034         Complete the short/long options duality.
5035         Various small adjustments.
5037 2001-10-01  Akim Demaille  <akim@epita.fr>
5039         * doc/autoconf.texi: Use @kbd for user input.
5040         Always use `$' as shell prompt.
5042 2001-09-30  Paul Eggert  <eggert@twinsun.com>
5044         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
5045         Don't use nested parenthesization.  This patch was originally
5046         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
5047         but somehow it didn't get incorporated then.
5048         * doc/autoconf.texi (Limitations of Usual Tools):
5049         Clarify remark about sed and nested parenthesization.
5051         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
5052         Report an error if the size cannot be determined even though
5053         the type exists.
5054         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
5055         Check for `expr' arithmetic overflow, and for compilation failure,
5056         and invoke a new argument $4 if either is discovered.
5057         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
5058         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
5060 2001-09-28  Akim Demaille  <akim@epita.fr>
5062         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
5063         * m4/lispdir.m4: New.
5064         * aclocal.m4, configure.ac: Adjust.
5066 2001-09-28  Akim Demaille  <akim@epita.fr>
5068         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
5069         (AT_TESTED): this.
5070         (AT_INIT): More the wrapped section to where it will be expanded.
5071         Output `AT_tested' only when existing.
5072         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
5074 2001-09-27  Akim Demaille  <akim@epita.fr>
5076         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
5077         generates too many bug reports.
5079         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
5080         status when executing the ACTION-IF-FALSE.
5081         * tests/base.at (AC_TRY_*): Rename as...
5082         (AC_TRY_COMMAND): this.
5083         (AC_RUN_IFELSE): New.
5084         * tests/compile.at (Extensions, C keywords)
5085         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
5086         (Broken/missing compilers, AC_PROG_CPP with warnings)
5087         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
5088         * tests/c.at (Extensions, C keywords)
5089         (Broken/missing compilers, AC_PROG_CPP with warnings)
5090         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
5091         (AC_PROG_CPP requires AC_PROG_CC): here and...
5092         * tests/fortran.at (GNU Fortran 77): there.
5093         * doc/autoconf.texi (autoconf Invocation): Fix the example:
5094         AC_TRY_RUN is about compilation, not shell commands.
5095         (Test Programs): AC_TRY_RUN works as used to be advertised.
5097 2001-09-27  Akim Demaille  <akim@epita.fr>
5099         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
5100         Raja R Harinath:
5101         Be sure to detect when $LINENO always returns the same value.
5102         Look for the original script, basename($0) is certainly not
5103         enough.
5104         Pass the CLI arguments to `$as_me.lineno'.
5106 2001-09-25  Akim Demaille  <akim@epita.fr>
5108         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
5109         Be sure the close and reopen the LOG fd before and after using tee
5110         to extend the log.
5111         <at_tests_pattern>: Adjust to the new format of at_help_all.
5113 2001-09-23  Akim Demaille  <akim@epita.fr>
5115         * bin/autom4te.in (parse_args): There can be several invocations
5116         of --language now.
5118 2001-09-23  Akim Demaille  <akim@epita.fr>
5120         * doc/autoconf.texi (Top): Wrap in @ifnottex.
5122 2001-09-23  Akim Demaille  <akim@epita.fr>
5124         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
5125         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
5126         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
5127         builddir, buildpath, top_builddir, and top_buildpath.
5128         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
5129         the current directory.
5130         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
5131         variables *before* changing the current directory.
5132         Skip nonexistent dirs.
5133         * doc/autoconf.texi (Preset Output Variables): Document these
5134         variables.
5136         * lib/autotest/general.m4: Do not reset AT_victims.
5137         Don't compute at_srcdir nor at_top_srcdir.
5139         * tests/tools.at: Hence use top_srcdir.
5141         * tests/Makefile.am, tests/autoconf, tests/autoheader,
5142         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
5143         Remove.
5144         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
5145         * tests/wrapsh.in, tests/autoupdate.in: New.
5146         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
5147         * configure.ac: Build the position independent wrappers.
5149         * man/Makefile.am: Now that test wrappers are position
5150         independent, use them and drop dark envvar magic.
5152 2001-09-23  Akim Demaille  <akim@epita.fr>
5154         * doc/autoconf.texi (Common Shell Constructs): Rename as...
5155         (Programming in M4sh): this.
5156         Promote to @section.
5158 2001-09-23  Akim Demaille  <akim@epita.fr>
5160         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
5161         Pass $at_debug_args to the rerun test suite.
5162         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
5163         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
5164         From Paul Eggert.
5166 2001-09-23  Akim Demaille  <akim@epita.fr>
5168         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
5170 2001-09-23  Akim Demaille  <akim@epita.fr>
5172         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
5173         over-escaping.
5175 2001-09-23  Akim Demaille  <akim@epita.fr>
5177         * lib/Autom4te/General.pm (&debug): New.
5178         * bin/autom4te.in ($language): Move to...
5179         (parse_args): here.
5180         Handle --language in languages.
5181         * lib/autom4te.in (Automake-selections, Autoheader-selections)
5182         (Autoscan-selections): New.
5183         (Autoconf): Adjust.
5185 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
5187         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
5188         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
5189         to match current versions from CVS Automake.
5191 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
5193         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
5194         for $LINENO.
5196 2001-09-22  Akim Demaille  <akim@epita.fr>
5198         * lib/autoconf/autotest.m4: Create `package.m4'.
5199         * tests/Makefile.am (package.m4): Remove.
5201 2001-09-22  Akim Demaille  <akim@epita.fr>
5203         Rely on `$LINENO' when possible instead of `__oline__'.
5205         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
5206         `$LINENO' support replacement when not supported.
5207         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
5208         them explicitly to be sure they are not output before this section
5209         (via m4_require).  Cosmetic only.
5210         * lib/autoconf/c.m4, lib/autoconf/general.m4,
5211         * lib/autoconf/programs.m4: Replace all the occurrences of
5212         `__oline__' with `$LINENO'.
5213         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
5215 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
5217         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
5218         character (u: -> ue) in a code comment.
5219         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
5220         it works.
5222 2001-09-21  Akim Demaille  <akim@epita.fr>
5224         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
5225         Suggested by Jim Meyering.
5227 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
5229         * lib/autoconf/programs.m4: Use extensions listed in
5230         $ac_executable_extensions when looking for programs.
5232 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
5234         * lib/autoconf/general.m4: Fix a small Englisho.
5235         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
5236         setting up ac_dir_suffix and ac_top_builddir.
5237         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
5239 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
5241         * doc/autoconf.texi (File System Conventions): Clarify the use of
5242         PATH_SEPARATOR.
5243         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
5244         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
5245         be used instead of ':'.
5246         * lib/autotest/general.m4: Replace occurrences of ':' in
5247         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
5249 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
5251         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
5252         arguments.  Fixed a typo.
5254 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
5256         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
5257         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
5259 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
5261         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
5262         * bin/autoupdate.in: Ditto.
5263         * bin/autoheader.in: Reworded a few comments.
5264         * bin/autoconf.in: Reworded help text for a few options.
5265         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5266         * bin/autoscan.in, bin/autoupdate.in: Ditto.
5268 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
5270         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
5271         already have $file).  Set output files to binary mode (helps avoid
5272         CR issues on DOSish systems).
5274 2001-09-19  Akim Demaille  <akim@epita.fr>
5276         * lib/autotest/general.m4: Englishoes.
5277         From Tim Van Holder and Alexey Mahotkin.
5279 2001-09-18  Paul Eggert  <eggert@twinsun.com>
5281         * doc/autoconf.texi (Common Shell Constructs): New node,
5282         documenting AS_DIRNAME.
5283         (Limitations of Usual Tools): Refer to it when discussing dirname.
5284         Also, update discussion of POSIX standard to reflect latest draft.
5286         * lib/autoconf/c.m4:
5287         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
5289         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
5290         Do not pass a first argument with leading '-'
5291         to expr, by parenthesizing initial integers that might be negative.
5293         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
5294         now merely checks whether it is an error to pass an argument
5295         to getpgrp.
5297         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
5298         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
5299         whether it is a (compile-time) error to pass an argument to
5300         getpgrp.  This simpler test supports the revised documentation,
5301         and is all that AC_FUNC_GETPGRP's users really need.
5303 2001-09-18  Akim Demaille  <akim@epita.fr>
5305         * doc/autoconf.texi (Limitations of Make) <$<>: New.
5307 2001-09-18  Akim Demaille  <akim@epita.fr>
5309         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
5310         `{}'.
5311         * lib/autotest/general.m4 (AT_INIT): Adjust.
5313 2001-09-18  Paul Wagland  <paul@wagland.net>
5315         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
5316         correctly.
5317         Add test for AS_BASENAME.
5318         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
5319         added test. It now correctly handles /1/2/3/, returning '3' not ''.
5320         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
5321         * tests/base.at: Fixed the expected responses. The old ones were
5322         one line out...
5323         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
5324         the documentation claims it should (and how it behaved in 2.13).
5326 2001-09-18  Akim Demaille  <akim@epita.fr>
5328         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
5329         the AC_CONFIG_COMMANDS invocation.
5330         This also solves the name clash problems.
5331         Don't set the package's ID.
5332         * lib/m4sugar/Makefile.am (version.m4): Revamp.
5333         No longer to be shipped.
5334         (version.in): Remove.
5335         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
5336         * lib/autoconf/status.m4: Adjust.
5337         Use `m4_PACKAGE_STRING'.
5338         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
5339         the only optional argument is the name of the test suite.
5340         Expect `package.m4' to define the package signature.
5341         * lib/autom4te.in (Autotest): Add `package.m4?'.
5342         * tests/Makefile.am (package.m4): New.
5343         * tests/suite.at: ifnames is a victim.
5345 2001-09-18  Akim Demaille  <akim@epita.fr>
5347         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
5348         AC_LIBSOURCE, AC_CONFIG_FILES.
5349         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
5350         program version string doesn't match the package's.
5351         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
5352         after `(cached)'.
5354 2001-09-17  Paul Eggert  <eggert@twinsun.com>
5356         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
5357         Allow expression to return any value that can fit into unsigned long
5358         (not int, as before).  Check for output errors.
5360 2001-09-17  Bruno Haible <haible@ilog.fr>
5362         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
5363         Always include <stdio.h> and <stdlib.h>. Evaluate
5364         the expression in an extra function before these includes. Call
5365         fprintf "%d" only after ensuring the argument is of type 'int'.
5366         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
5368 2001-09-17  Paul Eggert  <eggert@twinsun.com>
5370         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
5371         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
5372         fatal errors, and AC_CHECK_LIB causes it to include libraries even
5373         when they don't exist.
5375         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
5376         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
5377         need it.
5379         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
5380         version with the version used by fileutils 4.1, except use
5381         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
5382         we don't need it.
5384         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
5386 2001-09-13  Akim Demaille  <akim@epita.fr>
5388         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
5389         _first_.
5390         Reported by Gerrit P. Haase.
5392 2001-09-13  Akim Demaille  <akim@epita.fr>
5394         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
5395         m4_defn'ing is valid.
5397 2001-09-13  Akim Demaille  <akim@epita.fr>
5399         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
5400         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
5401         Use it.
5403 2001-09-13  Akim Demaille  <akim@epita.fr>
5405         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
5406         m4_match.
5407         (m4_re_escape): New.
5408         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
5409         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
5410         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
5411         Likewise.
5412         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
5413         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
5414         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
5415         AT_tests_all for consistency.
5416         Set at_victims.
5417         (AT_VICTIMS): Similar to AT_KEYWORDS.
5418         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
5420 2001-09-13  Akim Demaille  <akim@epita.fr>
5422         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
5424 2001-09-13  Akim Demaille  <akim@epita.fr>
5426         * lib/autotest/general.m4 (AT_INIT): Create and remove
5427         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
5428         test suites can cohabit.
5430 2001-09-13  Akim Demaille  <akim@epita.fr>
5432         * tests/mktests.sh: Don't output banners for empty test files.
5434 2001-09-13  Akim Demaille  <akim@epita.fr>
5436         Test suites can be run independently of configure.
5438         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
5439         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
5440         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
5441         ECHO_N etc.
5442         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
5443         and at_c.
5444         * lib/autotest/general.m4: Use ECHO_*.
5446 2001-09-13  Akim Demaille  <akim@epita.fr>
5448         * bin/ifnames.in: Rewrite in Perl.
5449         * configure.ac: Don't look for AWK.
5450         * tests/tools.at (AWK portability): Remove.
5451         (Syntax of the shell scripts): Don't check ifnames.
5452         (AT_CHECK_PERL_SYNTAX): New.
5453         (Syntax of the Perl scripts): Check ifnames.
5454         * tests/ifnames: New.
5456 2001-09-13  Akim Demaille  <akim@epita.fr>
5458         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
5459         test group titles.
5460         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
5461         Remove all the other keywords.
5463 2001-09-10  Akim Demaille  <akim@epita.fr>
5465         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
5466         SETUP: no longer used.
5467         Support -k, --keywords.
5468         <at_help>: Be `no', `short', or `long'.
5469         <at_help_all>: New variable.
5470         (AT_KEYWORDS): New.
5471         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
5472         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
5473         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
5474         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
5475         No longer fill the HELP diversion.
5476         (AT_CLEANUP): Use them.
5477         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
5478         (m4_list_append): Remove.
5480         Spread a few keywords in the Autoconf test suite.
5482 2001-09-10  Akim Demaille  <akim@epita.fr>
5484         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
5485         PATH_SEPARATOR, let M4sh compute it.
5486         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
5487         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
5488         Move to...
5489         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
5490         Simplify when the path is not a literal.
5491         (AS_UNAME): Use it to report PATH.
5492         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
5493         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
5494         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
5495         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
5496         normalize the path, and to look for victims.
5497         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
5498         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
5500 2001-09-07  Akim Demaille  <akim@epita.fr>
5502         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
5503         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
5504         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
5505         related variables into `at_package_*'.
5506         * lib/autotest/general.m4 (AT_VICTIMS): New.
5507         (AT_INIT): Adjust for stand-alone/embedded test suites.
5508         (AS_MESSAGE_LOG_FD): Define and use it.
5509         * tests/suite.at (AT_VICTIMS): Use it.
5510         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
5511         at_version.
5513 2001-09-07  Akim Demaille  <akim@epita.fr>
5515         Move toward possibly stand-alone test suites.
5517         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
5518         in addition, it introduces useless differences in logs.
5519         (AT_INIT): Let atconfig and atlocal be both optional.
5520         Adjust PATH computation.
5521         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
5523 2001-09-07  Akim Demaille  <akim@epita.fr>
5525         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
5526         m4sugar/version.m4.
5528 2001-09-05  Akim Demaille  <akim@epita.fr>
5530         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
5531         to avoid GCC warnings.
5532         From Uwe Seimet.
5534 2001-09-05  Akim Demaille  <akim@epita.fr>
5536         * bin/autom4te.in: --language is -l, not -s.
5538 2001-09-05  Akim Demaille  <akim@epita.fr>
5540         Be ready to handle filenames as stupid as `dnl.at', for if even
5541         the maintainer is dumb enough to do that...
5543         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
5544         excellence in M4 quotation: consider `__file__' is active.
5546         And BTW, when invoking m4, pass the --include in the right order:
5547         the wrong one.
5549         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
5550         4m.
5552 2001-09-05  Akim Demaille  <akim@epita.fr>
5554         * lib/Autom4te/XFile.pm: New lib file.
5555         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
5556         * bin/autoheader.in: Use it.
5558 2001-09-05  Akim Demaille  <akim@epita.fr>
5560         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
5561         defined.
5563 2001-09-05  Akim Demaille  <akim@epita.fr>
5565         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
5566         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
5568         * bin/autoscan.in: Use `getopt' and `find_files' etc.
5569         Add -I, --include support.
5570         * doc/autoconf.texi (autoscan Invocation): Adjust.
5572 2001-09-05  Akim Demaille  <akim@epita.fr>
5574         CVS GNU M4 doesn't like `undefine(undefined)'.
5576         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
5577         New, extracted from main.
5578         Use IO::File wherever possible.
5579         (input.m4): Be constant, use -I instead of hard coding $tmp.
5580         Therefore be a quoted heredoc.
5581         Don't invoke `_au_disable', since ac was not loaded, but just
5582         `unm4.m4'.
5584 2001-08-31  Akim Demaille  <akim@epita.fr>
5586         Version 2.52d.
5588 2001-08-31  Akim Demaille  <akim@epita.fr>
5590         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
5591         previous patch.
5592         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
5594 2001-08-31  Akim Demaille  <akim@epita.fr>
5596         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
5597         serious problems handling heredocs in heredocs.
5598         Reported by Nicolas Joly.
5600 2001-08-31  Akim Demaille  <akim@epita.fr>
5602         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
5603         (Making testsuite Scripts): Update.
5605 2001-08-31  Akim Demaille  <akim@epita.fr>
5607         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
5609 2001-08-31  Akim Demaille  <akim@epita.fr>
5611         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
5612         (testsuite Scripts): There is no such thing as `atconfig.in'.
5613         And actually one diagram is missing: test suite runtime.
5615 2001-08-31  Akim Demaille  <akim@epita.fr>
5617         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
5618         inverse order.
5620 2001-08-31  Akim Demaille  <akim@epita.fr>
5622         * bin/autoupdate.in (@include): `installcheck' revealed the path
5623         to m4sugar was lacking!
5625 2001-08-31  Akim Demaille  <akim@epita.fr>
5627         * man/Makefile.am (.x.1): We really have to pass
5628         autom4te_perllibdir.
5630 2001-08-31  Akim Demaille  <akim@epita.fr>
5632         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
5633         debug scripts, in particular passing explicitly listed tests to
5634         run is stupid.
5636 2001-08-31  Akim Demaille  <akim@epita.fr>
5638         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
5639         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
5640         Use directly autom4te, not autoconf.
5641         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
5643 2001-08-31  Akim Demaille  <akim@epita.fr>
5645         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
5646         * bin/autoheader.in (%symbol): Strip arguments of macros.
5648 2001-08-31  Akim Demaille  <akim@epita.fr>
5650         * doc/autoconf.texi: Catch up -I, --include changes.
5652 2001-08-31  Akim Demaille  <akim@epita.fr>
5654         * bin/autom4te.in (&parse_args): Die on unknown languages.
5655         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
5656         need for autoconf.
5657         Promote --include over --macrodir and other obsolete options.
5659 2001-08-31  Akim Demaille  <akim@epita.fr>
5661         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
5662         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
5663         * bin/autom4te.in ($autoconf): Pass --force.
5664         `print $out' doesn't print `$_' but `$out'.
5665         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
5666         (autoheader): Pass --force since the test suite goes too fast for
5667         the time stamps.
5668         Adjust to the new autoheader messages.
5670 2001-08-31  Akim Demaille  <akim@epita.fr>
5672         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
5673         Check the completeness of the #template.
5674         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
5675         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
5676         invocation.
5678 2001-08-31  Akim Demaille  <akim@epita.fr>
5680         * lib/Autom4te/General.pm (&find_file, &update_file): New.
5681         * bin/autoupdate.in, bin/autoheader.in: Adjust.
5682         Drop AC_MACRODIR dead for real.
5683         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
5684         `autoheader: `config.hin' is created'.
5685         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
5687 2001-08-31  Akim Demaille  <akim@epita.fr>
5689         * bin/autoheader.in: Rewrite in Perl.
5690         * tests/autoheader: Adjust.
5692 2001-08-31  Akim Demaille  <akim@epita.fr>
5694         * bin/autoconf.in (--include, -I): New option.
5695         Map --localdir, --autoconf-dir onto it.
5696         Forward autom4te's options instead of interpreting them.
5697         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
5698         There is no such envvar since the inception of autom4te.cfg.
5699         * bin/autom4te.in (&parse_args): Uniquify `@include'.
5700         * bin/autoupdate.in: Adjust, and perform more control.
5701         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
5702         * tests/autoconf: Dittowise.
5704 2001-08-31  Akim Demaille  <akim@epita.fr>
5706         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
5707         * bin/autom4te.in (&find_file): Support `FILE?' standing for
5708         optionally `FILE'.
5709         Use -e, not -f, since /dev/null for instance is OK.
5710         (&parse_args): Adjust.
5711         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
5713 2001-08-31  Akim Demaille  <akim@epita.fr>
5715         * configure.ac: Also find tested executables in bin.
5716         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
5717         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
5718         installed peer executables, only PATH is allowed to resolve it.
5719         Pass `autoconf_dir' via options, not via invisible envvars.
5720         * lib/Autom4te/General.pm (&find_peer): Remove.
5721         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
5722         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
5723         * man/Makefile.am: Let help2man rely on PATH instead of trying to
5724         find the executables for it.
5725         * tests/Makefile.am: Major cleanup.  Too lazy to document...
5726         * tests/atlocal.in: Remove all the obscure envvar manipulations.
5727         We only need PERL.
5728         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
5729         indeed related to running the test suite, while passing
5730         --autoconf-dir and others is related to running non installed
5731         Autoconf executables.  So don't do that, leave it to...
5732         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
5733         * tests/autoscan: New.
5734         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
5735         refer to library files: rely on --language.
5737 2001-08-29  Akim Demaille  <akim@epita.fr>
5739         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
5740         s/--set/--language/.
5742 2001-08-29  Akim Demaille  <akim@epita.fr>
5744         * doc/autoconf.texi: Strip the @nodes.
5745         Suggested by Paul Eggert.
5746         (Initializing configure): Typo.
5748 2001-08-29  Akim Demaille  <akim@epita.fr>
5750         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
5751         Suggested by Paul Eggert.
5753 2001-08-29  Akim Demaille  <akim@epita.fr>
5755         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
5756         download in a tmp dir.
5758 2001-08-29  Akim Demaille  <akim@epita.fr>
5760         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
5761         case insensitive OSes out there :(
5762         From Tim Van Holder.
5764 2001-08-29  Akim Demaille  <akim@epita.fr>
5766         * lib/autom4te.in: New.
5767         * lib/Makefile.am (edit, autom4te.cfg): New.
5768         * bin/autom4te.in (BEGIN): Simplify.
5769         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
5770         (&load_configuration): New.  Use it.
5771         (&parse_args): Support --mode, --set, and --melt.
5772         * bin/autoconf.in: Simplify and adjust.
5773         * tests/Makefile.am (AUTOMAKE): Use --set.
5774         * tests/atlocal.in: Adjust.
5775         * BUGS: distcheck and check are weak.
5777 2001-08-29  Akim Demaille  <akim@epita.fr>
5779         * lib/autotest/general.m4: Use
5780                 foo=`(command) 2>/dev/null`
5781         not
5782                 foo=`command` 2>/dev/null
5783         (at-devnull): Rename as...
5784         (AT-devnull): this.
5785         (--clean): Remove AT-* files too.
5786         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
5787         Reported by Nicolas Joly.
5789 2001-08-28  Akim Demaille  <akim@epita.fr>
5791         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
5792         quotes inside single quotes.
5793         Reported by Nicolas Joly.
5795 2001-08-28  Kevin Ryde  <user42@zip.com.au>
5797         * doc/autoconf.texi (Function Portability): Mention C right shifts.
5799 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
5801         * lib/autotest/general.m4: Reword some messages.
5802         (AT_INIT): Check for the `times' builtin before using it.
5803         Support test ranges as arguments to the testsuite.
5804         Have -e imply -d as the help text suggested.
5806 2001-08-27  Akim Demaille  <akim@epita.fr>
5808         * Makefile.maint: Formatting changes.
5809         (do-po-update, po-update, cvs-update, update): New targets.
5810         (AMTAR): Remove.
5812 2001-08-27  Akim Demaille  <akim@epita.fr>
5814         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
5815         <at_cmd_line>: New.
5816         Pass it to debug-*.sh scripts.
5817         <AUTOTEST_PATH>: May contain absolute dir names.
5819 2001-08-27  Akim Demaille  <akim@epita.fr>
5821         * lib/autotest/general.m4 (AT_INIT): Log the command line.
5822         Support `VAR=VAL' as arguments.
5823         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
5824         may be set via the command line.
5826 2001-08-27  Akim Demaille  <akim@epita.fr>
5828         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
5829         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
5830         first the build dirs, then the src dirs.
5831         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
5833 2001-08-27  Akim Demaille  <akim@epita.fr>
5835         * lib/autotest/general.m4 (AT_INIT): Output the definition of
5836         at_data_files earlier.
5837         (--clean, -c): New option.
5838         * tests/Makefile.am: Use this option.
5840 2001-08-27  Akim Demaille  <akim@epita.fr>
5842         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
5843         `ac_top_builddir' to mimic Automake's vocabulary, which much more
5844         readable.
5845         Adjust callers.
5846         * doc/autoconf.texi (Configuration Actions): Document the vars
5847         available in commands.
5848         Emphasize the risks of collisions in init-cmds.
5850 2001-08-27  Akim Demaille  <akim@epita.fr>
5852         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
5853         (Initializing configure): this new node.
5855 2001-08-27  Akim Demaille  <akim@epita.fr>
5857         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
5859 2001-08-27  Akim Demaille  <akim@epita.fr>
5861         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
5862         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
5863         New file.
5864         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
5866 2001-08-27  Akim Demaille  <akim@epita.fr>
5868         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
5869         to...
5870         * lib/autoconf/autoheader.m4: this new file.
5871         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
5872         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
5873         Move to...
5874         * lib/autoconf/autoupdate.m4: this new file.
5876 2001-08-27  Akim Demaille  <akim@epita.fr>
5878         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
5879         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
5880         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
5881         -> ac_dir).
5882         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
5883         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
5885 2001-08-27  Akim Demaille  <akim@epita.fr>
5887         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
5888         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
5889         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
5890         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
5891         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
5892         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
5893         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
5894         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
5895         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
5896         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
5897         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
5898         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
5899         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
5900         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
5901         (_AC_OUTPUT_SUBDIRS): Move to...
5902         * lib/autoconf/status.m4: this new file.
5903         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
5904         * tests/Makefile.am, tests/suite.at: Adjust.
5906 2001-08-27  Akim Demaille  <akim@epita.fr>
5908         Automake 1.5.
5910         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
5911         (AMTAR): Help automake define it.
5912         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
5913         needed, 1.5 can have a macro and a target with the same name.
5914         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
5915         * m4/strip.m4: New.
5916         * m4/init.m4, m4/sanity.m4: Update.
5917         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
5918         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
5919         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
5920         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
5922 2001-08-27  Akim Demaille  <akim@epita.fr>
5924         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
5926         * lib/autoconf/version.in: Remove.
5927         * lib/m4sugar/version.in: New.
5928         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
5929         Adjust callers.
5930         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
5931         the name of the directory they're in, instead of the filename,
5932         since version.m4 is now in m4sugar, but m4_acversion must not be
5933         classified as an Autoconf macro.
5934         ($input_m4): Don't qualify the path to m4sugar.
5935         Rather, pass autoconf_dir to m4.
5936         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
5937         * tests/suite.at: Require 2.52c.
5939 2001-08-27  Akim Demaille  <akim@epita.fr>
5941         testsuite.log should include config.log.
5943         * lib/autotest/autotest.m4: New.
5944         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
5945         * tests/suite.at : Adjust.
5946         (AT_INIT): Log config.log.
5947         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
5948         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
5949         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
5950         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
5951         of config.log on traps.
5952         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
5953         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
5954         for config.status'.
5955         Open the log as soon as possible.
5956         Use the same log introduction as configure's.
5958 2001-08-22  Paul Eggert  <eggert@twinsun.com>
5960         * doc/autoconf.texi (Indices): New node.
5961         Move indices out of the top level menu and into this submenu.
5963 2001-08-22  Akim Demaille  <akim@epita.fr>
5965         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5966         AC_TRY_COMMAND.
5967         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
5969 2001-08-22  Akim Demaille  <akim@epita.fr>
5971         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
5972         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
5973         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
5974         * lib/autoconf/programs.m4: here.
5975         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
5976         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
5977         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
5978         * lib/autoconf/programs.m4: here.
5979         (_AC_DECL_YYTEXT): Rename as...
5980         (_AC_PROG_LEX_YYTEXT_DECL): this.
5981         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
5982         * tests/Makefile.am, tests/suite.am: Adjust.
5984 2001-08-22  Akim Demaille  <akim@epita.fr>
5986         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
5987         Move to...
5988         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
5989         here.
5990         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
5991         * lib/autoconf/functions.m4: here.
5992         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
5993         (AH_CHECK_LIB): Move to...
5994         * lib/autoconf/libs: this new file.
5995         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
5996         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
5997         * lib/autoconf/libs.m4: here.
5998         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
6000 2001-08-22  Akim Demaille  <akim@epita.fr>
6002         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
6003         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
6004         (AC_SITE_LOAD): Better logging of config.site.
6006 2001-08-20  Akim Demaille  <akim@epita.fr>
6008         * configure.ac (AT_CONFIG): Fix the path.
6009         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
6010         can be used.
6012 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
6014         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
6015         program with AC_LANG_PROGRAM before feeding it to
6016         AC_COMPILE_IFELSE.  Cleanup grep usage.
6018 2001-08-20  Akim Demaille  <akim@epita.fr>
6020         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
6021         * NEWS, README, README-alpha, TODO, tests/README: This package is
6022         `Autoconf', not `autoconf' (the executable).
6024 2001-08-20  Akim Demaille  <akim@epita.fr>
6026         Info readers seem to need `Index' in the index node title :(
6028         * doc/autoconf.texi: Reverse the 2001-08-15 change which
6029         simplified index node names.
6031 2001-08-20  Akim Demaille  <akim@epita.fr>
6033         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
6034         arguments are not literals.
6035         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
6036         Specify the output variables, and macros defined.
6038 2001-08-20  Akim Demaille  <akim@epita.fr>
6040         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
6041         (Examining Syntax) <AC_TRY_COMPILE>
6042         (Examining Libraries) <AC_TRY_LINK>
6043         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
6044         their arguments.
6045         Reported by Werner Lemberg.
6047 2001-08-20  Akim Demaille  <akim@epita.fr>
6049         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
6050         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
6051         Load atlocal late enough to dump it in the log.
6052         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
6054 2001-08-20  Akim Demaille  <akim@epita.fr>
6056         * tests/torture.at (Configuring subdirectories): New test.
6057         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
6058         looking for.
6059         * m4/atconfig.m4: Be sure the let $[0] be expandable.
6060         (top_srcdir): Fix its computation.
6062 2001-08-20  Akim Demaille  <akim@epita.fr>
6064         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
6065         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
6066         test suite lives.
6067         Create `atconfig' automagically.
6068         Configure atlocal.in if present.
6069         * tests/atconfig.in: Remove.
6070         * tests/atlocal.in: New.
6071         * tests/Makefile.am: Adjust.
6073 2001-08-20  Akim Demaille  <akim@epita.fr>
6075         Huh!?!?!  There are still some user EOF tags used, which prevents
6076         their use in AC_CONFIG_COMMANDS for instance...
6078         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
6079         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
6080         `_CSEOF', or `_ATEOF', as appropriate.
6081         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
6082         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
6084 2001-08-20  Akim Demaille  <akim@epita.fr>
6086         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
6087         * tests/semantics.at, tests/tools.at, tests/torture.at:
6088         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
6090 2001-08-20  Akim Demaille  <akim@epita.fr>
6092         Autotest invokes M4sh's initialization.
6094         * lib/autotest/general.m4: Adjust the diversion names.
6095         (AT_INIT): Run AS_INIT.
6096         Use the BINSH diversion to invoke /bin/sh.
6097         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
6098         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
6100 2001-08-20  Akim Demaille  <akim@epita.fr>
6102         Let M4sh have its own diversions.
6104         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
6105         (_m4_divert(NOTICE)): Rename as...
6106         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
6107         (_m4_divert(HEADER-COMMENT)): these.
6108         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
6109         (_m4_divert(NOTICE)): New, for Libtool.
6110         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
6111         long ago with `_m4_divert(GROW)'.
6112         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
6114 2001-08-20  Akim Demaille  <akim@epita.fr>
6116         * tests/base.at, tests/compile.at, tests/foreign.at,
6117         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
6118         * tests/semantics.at, tests/suite.at, tests/tools.at,
6119         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
6121 2001-08-20  Akim Demaille  <akim@epita.fr>
6123         * bin/autom4te.in (handle_output): Handle @__@.
6125 2001-08-20  Akim Demaille  <akim@epita.fr>
6127         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
6128         * lib/autotest/general.m4: Adjust the license.
6130 2001-08-17  Paul Eggert  <eggert@twinsun.com>
6132         * doc/autoconf.texi (Function Portability): Mention snprintf,
6133         following up on a suggestion by Kevin Ryde.
6135 2001-08-17  Akim Demaille  <akim@epita.fr>
6137         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
6138         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
6140 2001-08-17  Akim Demaille  <akim@epita.fr>
6142         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
6143         `$0.log' as for projects where testsuite is in src, we'd have
6144         testsuite.log created in src.
6146 2001-08-17  Akim Demaille  <akim@epita.fr>
6148         * bin/autom4te.in (&parse_args): Recognize --normalize.
6150 2001-08-17  Akim Demaille  <akim@epita.fr>
6152         Start implementing the AC_CHECK_HEADER transition scheme.
6154         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
6155         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
6156         (AC_CHECK_HEADER): Use them.
6158 2001-08-17  Akim Demaille  <akim@epita.fr>
6160         * doc/autoconf.texi: Work around Texinfo buglets.
6161         (Transformation Rules): One example is enough, users are expected
6162         to have their brains on. And BTW, use DESTDIR.
6163         (dvar): New macro.  Use it.
6165 2001-08-17  Akim Demaille  <akim@epita.fr>
6167         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
6168         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
6169         looking for ChangeLogs.
6171 2001-08-17  Akim Demaille  <akim@epita.fr>
6173         * bin/autom4te.in: --normalize is a new option.
6174         * bin/autoconf.in: Use it.
6176 2001-08-17  Akim Demaille  <akim@epita.fr>
6178         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
6179         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
6181 2001-08-16  Paul Eggert  <eggert@twinsun.com>
6183         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
6184         start, not at end.
6186 2001-08-15  Akim Demaille  <akim@epita.fr>
6188         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
6189         Use it.
6191 2001-08-15  Akim Demaille  <akim@epita.fr>
6193         * doc/autoconf.texi (pr): New index.
6194         (prindex, findex): Use, merge, and output them.
6195         (Environment Variable Index, Output Variable Index)
6196         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
6197         (Autotest Macro Index): Rename as...
6198         (Environment Variables, Output Variables,Preprocessor Symbols)
6199         (Autoconf Macros, M4 Macros, Autotest Macros): these.
6200         * doc/install.texi: Use @command.
6201         (Environment Variables): Rename as...
6202         (Defining Variables): this.
6204 2001-08-15  Akim Demaille  <akim@epita.fr>
6206         * doc/autoconf.texi (Function Portability): sprintf's return
6207         value.
6208         From Kevin Ryde.
6210 2001-08-15  Akim Demaille  <akim@epita.fr>
6212         * Makefile.maint (CVS): New.
6213         (local-check): Run changelog-check. last.
6214         (alpha): Don't depend upon local-check, since...
6215         (cvs-dist): depends upon it.
6217 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
6219         * tests/Makefile.am: Use a clean-local rule to remove
6220         autom4te.cache (it's a directory, not a file.
6221         * Makefile.am: Ditto (but maintainer-clean-local).
6223 2001-08-15  Akim Demaille  <akim@epita.fr>
6225         * bin/autom4te.in (@m4_warning): New.
6226         (&handle_m4): Use it.
6227         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
6228         warnings are issued at each run.
6229         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
6230         is in the src tree.
6232 2001-08-15  Akim Demaille  <akim@epita.fr>
6234         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
6235         don't waste time running `autoupdate --version' works.
6236         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
6238 2001-08-13  Akim Demaille  <akim@epita.fr>
6240         * doc/autoconf.texi (ma): Rename this index as...
6241         (ac): this.
6243 2001-08-13  Akim Demaille  <akim@epita.fr>
6245         * Makefile.am: Remove dead code and dead comments.
6246         (pdf, html): New targets.
6247         * doc/autoconf.texi (Using Autotest): New chapter.
6248         * doc/Makefile.am (pdf): New targets.
6249         (CLEANFILES): Adjust.
6251 2001-08-13  Akim Demaille  <akim@epita.fr>
6253         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
6254         duration of the test suite.
6256 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
6258         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
6259         endianness for comparison instead of relying on AT_CHECK_ENV.
6261 2001-08-11  Paul Eggert  <eggert@twinsun.com>
6263         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
6264         to the INSTALL file.
6266 2001-08-11  Paul Eggert  <eggert@twinsun.com>
6268         * NEWS: The autoconf manual now is distributed under the terms
6269         of the GNU Free Documentation License.
6271         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
6272         Add an appendix "Copying This Manual" for the FDL.
6274         * doc/fdl.texi: New file, from
6275         <http://www.gnu.org/licenses/fdl.texi>.
6277         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
6279 2001-08-10  Paul Eggert  <eggert@twinsun.com>
6281         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
6282         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
6283         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
6284         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
6285         m4/sanity.m4, tests/README, tests/aclocal.m4,
6286         tests/atspecific.m4, tests/base.at, tests/compile.at,
6287         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
6288         tests/semantics.at, tests/suite.at, tests/tools.at,
6289         tests/torture.at: Add copyright notice.
6291         * tests/mktests.sh: Update year in copyright notice.
6293 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
6295         * tests/semantics.at (AC_C_BIGENDIAN): New test.
6297 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
6299         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
6300         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
6301         * doc/autoconf.texi (C Compiler Characteristics): Update
6302         documentation for AC_C_BIGENDIAN.
6304 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
6306         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
6307         magic values from an object file when cross-compiling.
6308         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
6310 2001-08-10  Akim Demaille  <akim@epita.fr>
6312         * bin/autom4te.in (&handle_output): Don't use `grep' with side
6313         effects.
6314         Suggested by Russ Allbery.
6316 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
6318         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
6319         current $prefix to the sub-configures.
6321 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
6323         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
6324         extension (needed on BeOS).  Reported by Guido van Rossum.
6326 2001-08-09  Akim Demaille  <akim@epita.fr>
6328         * bin/autom4te.in ($icache): Load it only if older than autom4te.
6330 2001-08-07  Akim Demaille  <akim@epita.fr>
6332         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
6333         removed.
6334         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
6335         No need to remove the files before and after the each test, before
6336         each test and at the end of the suite is enough.
6337         Display only the children `times', not the shell's.
6338         If the test failed or was skipped, at-times is not available.
6340 2001-08-07  Akim Demaille  <akim@epita.fr>
6342         Always produce testsuite.log, including when there are no
6343         failures.  This helps getting information on skipped tests, and
6344         duration of the tests.  Err, implement the latter btw.
6346         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
6347         Dump information on the first run of each test.
6348         (AT_CLEANUP): Create `at-times' containing the duration of the
6349         test group.
6351 2001-08-07  Akim Demaille  <akim@epita.fr>
6353         The use of `dumpstat' revealed that `len' was used although it
6354         should not.  m4_text_wrap was using it, but in the Autoconf world
6355         where it is legal.  Hence (i) test M4sh in its own world, not
6356         Autoconf's, and (ii), ahem, fix the bug :)
6358         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
6359         does not like `' instead of [].
6360         (AT_INIT): Forbid `^_?AT_'.
6361         And don't output such tokens.
6362         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
6363         `script.as', and `autom4te.cache'.
6364         Remove `empty' and `macro' which are no longer used.
6365         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
6366         * tests/m4sugar.at: Use it.
6367         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
6369 2001-08-07  Akim Demaille  <akim@epita.fr>
6371         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
6373 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
6375         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
6377 2001-08-04  Akim Demaille  <akim@epita.fr>
6379         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
6380         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
6381         AC_TRY_LINK.
6382         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
6383         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
6384         (AC_F77_MAIN): Likewise.
6386 2001-08-04  Akim Demaille  <akim@epita.fr>
6388         Don't rely on M4sugar outputting the patterns in files, since we
6389         might process the output _without_ running m4, hence without these
6390         files.
6392         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
6393         * bin/autom4te.in (@Request::includes): Remove, unused.
6394         (@Request::source): Rename as...
6395         (@Request::input): this.
6396         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
6397         (&handle_output): Fetch the patterns from the traces.
6398         `$forbidden' and `$allowed' are constant: use m//o.
6399         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
6400         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
6402 2001-08-04  Akim Demaille  <akim@epita.fr>
6404         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
6405         autoconf', i.e., in addition to caching traces, cache the output.
6407         * bin/autom4te.in (Request::cache): Rename as...
6408         (Request::id): this.
6409         ($cache, $icache, $tcache, $ocache): New.
6410         (&handle_m4): Save M4 output in the cache instead of $tmp.
6411         (&handle_output): Adjust.
6412         (&up_to_date_p): Check that the output cache is up to date too.
6413         (top level): Run `&handle_m4' iff force or the cache is invalid.
6414         Run `&handle_output' if the output cache is more recent.
6416 2001-08-04  Akim Demaille  <akim@epita.fr>
6418         * bin/autom4te.in ($force): New.
6419         (&parse_args, &print_usage): -f, --force is a new option.
6420         (&handle_output): CPP directives might have spaces after `#'.
6421         (&parse_args): The first file only can be frozen.
6423 2001-08-04  Akim Demaille  <akim@epita.fr>
6425         Don't let autom4te compute the `include' traces several times:
6426         first check that the trace cache file is up to date, and then
6427         compare its timestamp with that of the output.
6429         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
6430         the preamble.  Don't require 5.005 as Autom4te::General does it,
6431         and better yet (use `use', not `require'!).
6432         * lib/Autom4te/Struct.pm: Rename the last occurrences of
6433         Class::Struct as Autom4te::Struct.
6434         * lib/Autom4te/General.pm (File::stat): Use it.
6435         (&mtime): New, export it.
6436         * bin/autom4te.in: Use it.
6437         Declare `$req' is invalid if it is outdated.
6438         Don't declare it valid before saving it if something went wrong.
6440 2001-08-04  Akim Demaille  <akim@epita.fr>
6442         Autom4te shall not encode Autoconf data, and preselecting traces
6443         must be proposed to the users.
6445         * bin/autom4te.in (@required_trace): Remove.
6446         (@preselect): New.
6447         (&parse_args, &print_usage): -p, --preselect is a new option.
6448         (&up_to_date_p): Adjust.
6449         * bin/autoconf.in: Preselect some Autoconf macros.
6451 2001-08-04  Akim Demaille  <akim@epita.fr>
6453         * tests/tools.at (autoconf --trace: user macros): Check traces on
6454         macros invoked without arguments, and macros invoked with multiple
6455         lines arguments.
6457 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
6459         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
6460         arguments.
6462 2001-08-03  Akim Demaille  <akim@epita.fr>
6464         * bin/autoconf.in ($@): Work around the usual sh bug.
6465         From Nicolas Joly.
6467 2001-08-03  Akim Demaille  <akim@epita.fr>
6469         Clean up the handling of the M4 builtins tracing exception.
6471         * bin/autom4te.in (Request::request): Don't complete M4 builtins
6472         trace requests.
6473         (@m4_builtins): Rename as...
6474         (@m4_builtin): this.
6475         (%m4_builtin_alternate_name): New.
6476         (&parse_args): Complete the trace requests with alternate names.
6477         (&handle_traces): Hence no longer do it here.
6478         (&trace_requests): Remove, unused.
6480 2001-08-03  Akim Demaille  <akim@epita.fr>
6482         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
6483         m4_if, and m4_wrap.
6485 2001-08-03  Akim Demaille  <akim@epita.fr>
6487         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
6488         (m4_divert_pop): Dump the whole diversion stack when a diversion
6489         mismatch happens.
6490         * bin/autom4te.in (&handle_output): Remember of the first
6491         occurrence of a possibly undefined macro, not the last.
6492         Complain about the possibly undefined macros in the same order as
6493         the appear in the output.
6494         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
6495         * tests/tools.at (autoconf: forbidden tokens, basic)
6496         (autoconf: forbidden tokens, exceptions): No longer sort
6497         autoconf's stderr, as it is now deterministic.
6498         Check that `dnl' is caught.
6500 2001-08-01  Akim Demaille  <akim@epita.fr>
6502         * configure.ac: Bump to 2.52c.
6504 2001-08-01  Akim Demaille  <akim@epita.fr>
6506         Version 2.52b.
6508         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
6510 2001-08-01  Akim Demaille  <akim@epita.fr>
6512         Version 2.52a.
6514 2001-08-01  Akim Demaille  <akim@epita.fr>
6516         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
6517         `die'.
6518         (&END): New.
6519         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
6520         `END', as `Autom4te::General::END' will be triggered.
6521         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
6522         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
6523         system to run `mv', `rm', and `cmp'.
6525 2001-08-01  Akim Demaille  <akim@epita.fr>
6527         * lib/Autom4te/General.pm (&unique): New.
6528         * bin/autoscan.in (&output): Use it to issue trace requests once.
6530 2001-08-01  Akim Demaille  <akim@epita.fr>
6532         * lib/Autom4te/General.pm: New.
6533         * bin/autom4te.in (Autom4te::General): Use it.
6534         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
6535         (&find_configure_ac, &find_slave): Remove.
6536         * bin/autoscan.in: Likewise.
6537         * bin/autoupdate.in: Likewise.
6539 2001-08-01  Akim Demaille  <akim@epita.fr>
6541         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
6542         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
6543         * bin: here, new directory.
6544         * lib/Autoconf: Rename as...
6545         * lib/Autom4te: this, to please case insensitive junkie OSes.
6547 2001-08-01  Akim Demaille  <akim@epita.fr>
6549         * autom4te.in ($m4): Handle the --nesting-limit.
6550         * autoconf.in (M4): Remove.
6552 2001-08-01  Akim Demaille  <akim@epita.fr>
6554         * autoconf.in ($AWK): Remove, no longer used.
6555         * test/tools.at: Use AT_CHECK_AUTOCONF.
6556         (AWK portability): Remove, for autoconf no longer uses AWK.
6557         (Syntax of the Perl scripts): New.
6558         * configure.ac: autoconf no longer needs an AWK with a good
6559         regexp engine.
6560         Use a static test on AC_PACKAGE_VERSION.
6561         * autom4te.in (&up_to_date_p): Output depends on the arguments.
6562         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
6563         * tests/atconfig.in (PERL): New.
6565 2001-08-01  Akim Demaille  <akim@epita.fr>
6567         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
6568         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
6569         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
6570         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
6571         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
6572         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
6573         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
6574         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
6575         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
6576         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
6577         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
6578         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
6579         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
6580         * lib/autoconf/c.m4: here, new file.
6582         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
6583         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
6584         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
6585         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
6586         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
6587         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
6588         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
6589         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
6590         (AC_F77_FUNC): Move to...
6591         * lib/autoconf/fortran.m4: here, new file.
6593 2001-08-01  Akim Demaille  <akim@epita.fr>
6595         * acfunctions.m4: Rename as...
6596         * lib/autoconf/functions.m4: this.
6597         * acgeneral.m4: Rename as...
6598         * lib/autoconf/general.m4: this.
6599         * acheaders.m4: Rename as...
6600         * lib/autoconf/headers.m4: this.
6601         * aclang.m4: Rename as...
6602         * lib/autoconf/lang.m4: this.
6603         * acoldnames.m4: Rename as...
6604         * lib/autoconf/oldnames.m4: this.
6605         * acspecific.m4: Rename as...
6606         * lib/autoconf/specific.m4: this.
6607         * actypes.m4: Rename as...
6608         * lib/autoconf/types.m4: this.
6609         * autoconf.m4: Rename as...
6610         * lib/autoconf/autoconf.m4: this.
6612         * m4sugar.m4: Rename as...
6613         * lib/m4sugar/m4sugar.m4: this.
6614         * m4sh.m4: Rename as...
6615         * lib/m4sugar/m4sh.m4: this.
6617         * tests/atgeneral.m4: Rename as...
6618         * lib/autotest/general.m4: this.
6620         * acfunctions: Rename as...
6621         * lib/autoscan/functions: this.
6622         * acheaders: Rename as...
6623         * lib/autoscan/headers: this.
6624         * acidentifiers: Rename as...
6625         * lib/autoscan/identifiers: this.
6626         * aclibraries: Rename as...
6627         * lib/autoscan/libraries: this.
6628         * acmakevars: Rename as...
6629         * lib/autoscan/makevars: this.
6630         * acprograms: Rename as...
6631         * lib/autoscan/programs: this.
6633 2001-08-01  Akim Demaille  <akim@epita.fr>
6635         * doc/autoconf.texi: Moving/deleting open files is not portable.
6636         Portability issues for `.' (source), and more information about sed.
6638 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
6640         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
6641         which has a special meaning and is not a reference to libibmil.a.
6642         Reported by Matteo Frigo.
6644 2001-07-25  Pavel Roskin  <proski@gnu.org>
6646         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
6647         output.
6649 2001-07-25  Akim Demaille  <akim@epita.fr>
6651         * autoconf.in: Try to define the variables before using them.
6652         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
6653         instead of `$perllibdir'.
6654         * tests/atconfig.in ($autom4te_perllibdir): Export it.
6656 2001-07-25  Akim Demaille  <akim@epita.fr>
6658         * autoconf.in (ac_LF_and_DOT): Remove, unused.
6660 2001-07-24  Akim Demaille  <akim@epita.fr>
6662         Let autoconf use autom4te for traces.
6664         * autoconf.in ($task, task trace): Remove, merely pass --trace to
6665         autom4te.
6666         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
6667         (Because I found no way for autom4te to accept `-').
6668         * autom4te.in (&Request::request): Beware of M4 builtins.
6669         (END): Don't try to remove the content of an empty dir.
6670         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
6671         (&handle_output): Set a default value to `$forbidden'.
6672         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
6673         ($autoconf): Pass --debug and --verbose.
6674         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
6675         cache.
6677 2001-07-24  Akim Demaille  <akim@epita.fr>
6679         Let autoconf use autom4te to create configure.
6681         * autoconf.in ($automate): New var.
6682         (task script): Use autom4te.
6683         * autom4te.in (File::Spec): Use it.
6684         (&find_file): New.
6685         (&parse_args): --warning is -W, not -w.
6686         Find the top level files.
6687         (&handle_m4): Pass the warnings flags.
6688         Don't report verbosely m4's failures, unless requested.
6689         (&handle_output): Don't complain for forbidden tokens in comments.
6690         Be sure to report all the forbidden tokens within a single line.
6691         (&trace_format_to_m4): Preserve `$_'.
6692         (&handle_traces): Sort the output macros.
6693         (&up_to_date_p): Find the files before trying to get its time stamp.
6695 2001-07-24  Akim Demaille  <akim@epita.fr>
6697         * Makefile.am: Ship, build and install Autom4te.
6698         (SUBDIRS): Add lib.
6699         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
6700         * configure.in: Require Perl.
6701         * man/autom4te.in: New.
6703 2001-07-19  Paul Eggert  <eggert@twinsun.com>
6705         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
6706         example, rather than (exit 1); exit (which isn't portable).
6708 2001-07-18  Akim Demaille  <akim@epita.fr>
6710         Version 2.52.
6712 2001-07-18  Akim Demaille  <akim@epita.fr>
6714         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
6715         was run, while they are needed also when it is expanded.
6716         Reported by Nicolas Joly.
6718         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
6719         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
6720         AC_F77_DUMMY_MAIN being expanded.
6722 2001-07-18  Akim Demaille  <akim@epita.fr>
6724         * configure.in: Bump to 2.51a.
6726 2001-07-17  Akim Demaille  <akim@epita.fr>
6728         Version 2.51.
6730 2001-07-17  Akim Demaille  <akim@epita.fr>
6732         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
6733         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
6735 2001-07-17  Akim Demaille  <akim@epita.fr>
6737         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
6738         used.  Well, then use the prototypes when you can, and runtime as
6739         a last resort.
6740         Reported by Artur Frysiak
6742         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
6743         (AC_FUNC_GETPGRP): Use it.
6744         First try to compile with 0-ary or 1-ary calls.
6746 2001-07-17  Akim Demaille  <akim@epita.fr>
6748         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
6749         replacement type.
6750         From Paul Eggert.
6752 2001-07-17  Akim Demaille  <akim@epita.fr>
6754         * Makefile.maint: Sync. with cppi 1.10.
6756 2001-07-17  Akim Demaille  <akim@epita.fr>
6758         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
6759         AC_F77_DUMMY_MAIN has been run.
6760         From Pavel Roskin and Steven G. Johnson.
6762 2001-07-17  Akim Demaille  <akim@epita.fr>
6764         * configure.in: Rename as...
6765         * configure.ac: this.
6767 2001-07-17  Akim Demaille  <akim@epita.fr>
6769         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
6770         rules.
6771         From Marc Espie.
6772         * Makefile.maint (release-archive-dir): Rename as...
6773         (release_archive_dir): this, so that it can be specialized in
6774         Makefile.
6776 2001-07-14  Akim Demaille  <akim@epita.fr>
6778         * configure.in: Bump to 2.50d.
6780 2001-07-14  Akim Demaille  <akim@epita.fr>
6782         Version 2.50c.
6783         * Makefile.maint (alpha): Typo.
6785 2001-07-14  Akim Demaille  <akim@epita.fr>
6787         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
6789 2001-07-14  Akim Demaille  <akim@epita.fr>
6791         * config/config.guess, config/config.sub, config/texinfo.tex
6792         * doc/standards.texi, doc/make-stds.texi: Update.
6794 2001-07-14  Akim Demaille  <akim@epita.fr>
6796         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
6798 2001-07-14  Akim Demaille  <akim@epita.fr>
6800         * Makefile.maint (maintainer-check): Rename as...
6801         (maintainer-distcheck): this.
6802         (changelog-check, static-check): New.
6803         Use them.
6805 2001-07-14  Kevin Ryde  <user42@zip.com.au>
6807         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
6808         for CXX is g++, not gcc.
6810 2001-07-14  Akim Demaille  <akim@epita.fr>
6812         * doc/autoconf.texi (Files): New subsection.
6814 2001-07-14  Akim Demaille  <akim@epita.fr>
6816         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
6817         of...
6818         (Generic Compiler Characteristics): this.
6819         (C++ Compiler): New subsection.
6821 2001-07-14  Akim Demaille  <akim@epita.fr>
6823         * autoscan.in: Use IO::File.
6824         Adjust all the routines to use it.
6825         ($log): New file (autoscan.log).
6826         (output): Dump detailed logs into $log, and a shortened version to
6827         stderr.
6828         (&scan_makefile): Refine the regexp catching tokens in the code.
6829         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
6830         and the `configure.ac' checking feature.
6832 2001-07-12  Akim Demaille  <akim@epita.fr>
6834         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
6835         Reported by Michael Elizabeth Chastain.
6837         * autoconf.in: Refuse such AWK.
6838         * configure.in: Likewise.
6839         * Makefile.am (acversion.m4): Do not use move-if-change this file
6840         has dependencies.
6841         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
6843 2001-07-10  Jens Petersen  <petersen@redhat.com>
6845         * autoscan.in (&scan_makefile): Improve programs regexp to parse
6846         things like "g++", "file.c" and "some-conf" as tokens.
6847         (&scan_file): Match C++ files extensions.
6848         If the filename extension is C++ then ask for c++.
6850 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
6852         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
6853         AC_TRY_LINK_FUNC, to check whether defining a dummy
6854         main-like routine is needed for linking with F77 libs.
6856 2001-07-05  Pavel Roskin  <proski@gnu.org>
6858         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
6859         after using break.
6860         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
6861         linking.
6863 2001-07-05  Akim Demaille  <akim@epita.fr>
6865         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
6866         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
6867         Makes' lives.
6868         Reported by Nicolas Joly.
6870 2001-07-04  Akim Demaille  <akim@epita.fr>
6872         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
6873         up.
6874         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
6875         warnings from compilers.
6876         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
6877         for all the compilers, not only GNU.  Hence move from here...
6878         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
6880 2001-07-04  Akim Demaille  <akim@epita.fr>
6882         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
6883         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
6884         AC_COMPILE_IFELSE.
6886 2001-07-04  Akim Demaille  <akim@epita.fr>
6888         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
6889         the ``strings.h'' change claimed below.
6891 2001-07-04  Akim Demaille  <akim@epita.fr>
6893         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
6895 2001-07-04  Akim Demaille  <akim@epita.fr>
6897         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6898         strings.h if usable with string.h.
6899         Suggested by Paul Eggert.
6901 2001-07-04  Akim Demaille  <akim@epita.fr>
6903         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
6904         From Jens Petersen.
6906 2001-07-03  Akim Demaille  <akim@epita.fr>
6908         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
6909         etc. in the log.
6911 2001-07-03  Akim Demaille  <akim@epita.fr>
6913         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
6914         compiler, not the preprocessor.
6915         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
6916         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
6917         the right thing.
6918         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
6919         earlier if there are.
6921 2001-07-03  Akim Demaille  <akim@epita.fr>
6923         * autoscan.in ($initfile): Remove.
6924         (&find_file): Rename as...
6925         (&scan_file): this.
6926         Immediately scan the current file, instead of gathering them, and
6927         later having them handled by &scan_files.
6928         (&scan_files): Merely invoke Find::File.
6929         Adjust.
6931 2001-07-02  Akim Demaille  <akim@epita.fr>
6933         * autoscan.in: Formatting changes, matching the invocation order.
6934         (File::Find): Use it instead of Perl 4's `find.pl'.
6935         (&wanted): Rename as...
6936         (&find_file): this.
6938 2001-07-01  Pavel Roskin  <proski@gnu.org>
6940         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
6941         break in the argument to AC_TRY_LINK_FUNC.
6942         (AC_F77_MAIN): Remove conftest* after using break in the
6943         argument to AC_TRY_LINK.
6945 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
6947         Add alternate 'main' routine detection for linking C/C++ with Fortran,
6948         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
6950         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
6951         dummy alternate main is required even if the user provides her own
6952         'main'.
6953         (AC_F77_MAIN): New macro to detect whether it is possible to
6954         provide an alternate 'main' function name, using the 'main' from
6955         the Fortran libraries.
6956         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
6957         cross-language link tests can be performed successfully.
6958         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
6959         after $LIBS, for consistency; this should be the general rule since
6960         the user may want to link to Fortran libraries that require $FLIBS.
6961         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
6963 2001-06-29  Pavel Roskin  <proski@gnu.org>
6965         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
6966         at-stdout and at-stderr instead of removing the newline
6967         from the echo output, which is not guaranteed to work.
6969 2001-06-28  Jens Petersen  <petersen@redhat.com>
6971         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
6972         confdefs.h when non-zero.
6974 2001-06-28  Akim Demaille  <akim@epita.fr>
6976         * configure.in: Bump to 2.50c.
6978 2001-06-26  Akim Demaille  <akim@epita.fr>
6980         Version 2.50b.
6982 2001-06-26  Akim Demaille  <akim@epita.fr>
6984         Version 2.50a.
6986 2001-06-25  Pavel Roskin  <proski@gnu.org>
6988         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
6989         argument, AUTOCONF-FLAGS.
6990         * tests/mktests.sh (update_exclude_list): Add
6991         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
6992         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
6993         AC_FUNC_WAIT3 with "-W no-obsolete".
6995 2001-06-25  Akim Demaille  <akim@epita.fr>
6997         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
6999 2001-06-25  Akim Demaille  <akim@epita.fr>
7001         * autoscan.in (%macro): Now maps from word to list of macros.
7002         (&init_tables): Die when a word which is already handled by
7003         explicit macros is mapped to the default macro.
7004         (&print_unique): Remove, inlined in...
7005         (&output_kind): here.
7006         (File::Basename): Use it.
7007         (&output): Sort the CONFIG_FILES.
7008         * acheaders: Normalize.
7009         * acfunctions: Likewise.
7011 2001-06-25  Akim Demaille  <akim@epita.fr>
7013         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
7014         characteristics in the logs.
7015         Suggested by Mo DeJong.
7017 2001-06-24  Akim Demaille  <akim@epita.fr>
7019         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
7020         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
7021         * doc/autoconf.texi (Autoconf 2.13): New section.
7023 2001-06-24  Akim Demaille  <akim@epita.fr>
7025         * autoconf.in (Task traces): Separate the error messages from the
7026         traces to improve robustness.
7028 2001-06-23  Akim Demaille  <akim@epita.fr>
7030         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
7031         three as failures are unlikely, and speed matters.
7033 2001-06-23  Akim Demaille  <akim@epita.fr>
7035         * doc/autoconf.texi (Redefined M4 Macros): New.
7037 2001-06-23  Akim Demaille  <akim@epita.fr>
7039         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
7040         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
7041         5.3.
7043 2001-06-23  Paolo Bonzini <bonzini@gnu.org>
7045         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
7046         config.status targets to after the evaluation of the INIT-CMDS.
7047         Double quote config.status targets (used to be single quoted).
7049 2001-06-23  Akim Demaille  <akim@epita.fr>
7051         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
7052         Check the content of the created file.
7053         Check the ./config.status command line invocation.
7055 2001-06-23  Akim Demaille  <akim@epita.fr>
7057         * tests/foreign.at (Libtool): Reject prehistoric versions.
7059 2001-06-23  Akim Demaille  <akim@epita.fr>
7061         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
7062         preexisting files matching a.*.
7064 2001-06-23  Akim Demaille  <akim@epita.fr>
7066         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
7067         stderr.
7068         * doc/autoconf.texi (AC_ARG_VAR): Update.
7070 2001-06-21  Akim Demaille  <akim@epita.fr>
7072         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
7073         precious variables have changed.
7074         * tests/torture.at (AC_ARG_VAR): Adjust.
7076 2001-06-21  Akim Demaille  <akim@epita.fr>
7078         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
7079         but some sed choke on multiple `;', and other tools (e.g.,
7080         Automake), include the separator themselves.
7082         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
7084 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
7086         * doc/autoconf.texi (Functions Portability): Rename as...
7087         (Function Portability): this.
7088         (Function Portability): Document potential problems with unlink().
7090 2001-06-19  Paul Eggert  <eggert@twinsun.com>
7092         * NEWS, doc/autoconf.texi: Document quadrigraphs.
7094 2001-06-18  Akim Demaille  <akim@epita.fr>
7096         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
7098 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
7100         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
7101         (_AC_FUNC_VFORK): this.
7102         Remove AC_DEFINEs and don't guess cross-compilation values.
7103         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
7104         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
7105         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
7106         vfork doesn't work.
7107         Guess values if cross-compiling, but warn.
7108         * acfunctions: Add AC_FUNC_FORK.
7109         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
7110         and vfork appropriately.
7112 2001-06-18  Akim Demaille  <akim@epita.fr>
7114         * doc/autoconf.texi (Functions Portability): New section.
7116 2001-06-18  Akim Demaille  <akim@epita.fr>
7118         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
7119         in $M4.
7120         Suggested by Andreas Schwab.
7122 2001-06-18  Akim Demaille  <akim@epita.fr>
7124         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
7125         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
7126         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
7127         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
7128         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
7129         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
7130         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
7131         the converse).
7133 2001-06-18  Akim Demaille  <akim@epita.fr>
7135         * doc/autoconf.texi (ms): New index.
7136         (Macro Index): Rename as...
7137         (Autoconf Macro Index): this.
7138         (M4 Macro Index): New appendix.
7139         (Programming in M4): New chapter.
7140         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
7141         (Quoting): Rename as...
7142         (M$ Quotation): this.
7143         Be part of `Programming in M4).
7145 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
7147         * tests/torture.at (AC_ARG_VAR): Set variables and export them
7148         in separate statements for compatibility with Tru64 v5.1.
7150 2001-06-17  Akim Demaille  <akim@epita.fr>
7152         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
7153         current values of the precious variables, not the previously
7154         cached values.
7155         Pass precious variables which are set to config.status.
7156         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
7157         * tests/torture.at (AC_ARG_VAR): New.
7159 2001-06-15  Paul Eggert  <eggert@twinsun.com>
7161         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
7162         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
7163         and explain why and how to replace them.
7164         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
7165         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
7167 2001-06-15  Akim Demaille  <akim@epita.fr>
7169         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
7170         Reported by Bruno Haible.
7172         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
7173          (_AC_ARG_VAR_PRECIOUS): to here.
7175 2001-06-15  Pavel Roskin  <proski@gnu.org>
7177         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
7178         an unused pointer use cast to this type and `if' statement to
7179         avoid warnings from the compiler.
7180         (AC_HEADER_TIME): Likewise.
7181         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
7182         in `if' statement to avoid warnings from the compiler. Declare
7183         ac_aggr static to avoid the need to initialize it.
7185 2001-06-14  Akim Demaille  <akim@epita.fr>
7187         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
7188         Macros'.
7190 2001-06-13  Akim Demaille  <akim@epita.fr>
7192         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
7193         Suggested by Alexander Mai.
7195 2001-06-13  Akim Demaille  <akim@epita.fr>
7197         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
7198         sys/types.h and sys/stat.h, and check for them.
7200 2001-06-13  Akim Demaille  <akim@epita.fr>
7202         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
7203         INCLUDES.
7205 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
7207         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
7208         succeeds and only try adding libdnet upon a failure.
7210 2001-06-12  Akim Demaille  <akim@epita.fr>
7212         * autoscan.in (&output_kind): Output the comment only if it exists.
7213         (%kind_comment): Add entry for `programs'.
7214         (&output_programs): Use &output_kind.
7215         (&output_functions, &output_identifiers, &output_headers)
7216         (&output_programs): Inline, and remove.
7218 2001-06-12  Akim Demaille  <akim@epita.fr>
7220         * autoscan.in (%kind_comment): New.
7221         (output_kind): New.
7222         (output_functions, output_identifiers, output_headers): Use it.
7224 2001-06-12  Akim Demaille  <akim@epita.fr>
7226         * autoscan.in (&print_unique): Take `$kind' and `$word' as
7227         arguments, to factor indirections into `%macro' and `%used'.
7228         (%generic_macro): Fix a typo.
7230 2001-06-12  Akim Demaille  <akim@epita.fr>
7232         * aclibraries: New.
7233         * autoscan.in (@kinds): Add `libraries'.
7234         Use `@kinds' instead of hard coded lists.
7235         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
7236         Remove, replaced by...
7237         (%used): this.
7239 2001-06-12  Akim Demaille  <akim@epita.fr>
7241         * autoscan.in (%functions_macros %headers_macros)
7242         (%identifiers_macros %programs_macros %makevars_macros): Remove,
7243         replaced by...
7244         (%macro): New.
7246 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
7248         * aclang.m4 (AC_NO_EXECUTABLES): Override
7249         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
7251 2001-06-11  Akim Demaille  <akim@epita.fr>
7253         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
7254         trailing new line.
7255         Reported by Andreas Schwab.
7257 2001-06-11  Akim Demaille  <akim@epita.fr>
7259         * Makefile.am, Makefile.maint: Typos.
7261 2001-06-09  Akim Demaille  <akim@epita.fr>
7263         * doc/autoconf.texi (Here-Documents): New section, gathering
7264         documentation about here-documents.
7265         Use `href', not `uref', and other changes.
7267 2001-06-09  Akim Demaille  <akim@epita.fr>
7269         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
7270         chapter.
7272 2001-06-09  Akim Demaille  <akim@epita.fr>
7274         * doc/autoconf.texi (Limitations of Builtins): Complete the
7275         description of the here-docs penalties with Alexandre Oliva's
7276         explanations.
7278 2001-06-01  Paul Eggert  <eggert@twinsun.com>
7280         * doc/autoconf.texi: Talk about here documents and speedups.
7281         Do not use "echo" on arbitrary strings.
7282         Spell "here-documents" consistently with the standard.
7284 2001-06-09  Akim Demaille  <akim@epita.fr>
7286         * doc/autoconf.texi (Concept Index): Introduce it.
7287         Regenerate the menus.
7289 2001-06-09  Akim Demaille  <akim@epita.fr>
7291         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
7292         * config/prev-version.txt: New.
7293         * config/move-if-change: New, for GNU libc.
7295 2001-06-06  Pavel Roskin  <proski@gnu.org>
7297         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
7299 2001-06-06  Akim Demaille  <akim@epita.fr>
7301         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
7302         properly when $1 is not a literal.
7303         Fixes PR Autoconf/187, reported by Bram Moolenaar.
7305 2001-06-06  Akim Demaille  <akim@epita.fr>
7307         Invoking AC_COPYRIGHT before AC_INIT fails.
7309         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
7310         * acgeneral.m4 (_m4_divert(VERSION_FSF))
7311         (_m4_divert(VERSION_USER)): New.
7312         (AC_COPYRIGHT): $2 is the diversion to use.
7313         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
7314         (AC_INIT): Remove dead comments as now it's commutative.
7316 2001-06-06  Akim Demaille  <akim@epita.fr>
7318         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
7319         PR autoconf/187.
7321 2001-06-05  Akim Demaille  <akim@epita.fr>
7323         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
7324         can be empty.
7325         `*dir' variables cannot be NONE.
7326         Reported by Mark Kettenis.
7328 2001-06-05  Paul Eggert  <eggert@twinsun.com>
7330         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
7332 2001-06-04  Akim Demaille  <akim@epita.fr>
7334         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
7335         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
7336         (AC_TR_SH): Move as...
7337         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
7338         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
7339         (AS_TR_SH): these.
7340         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
7341         (_AS_TR_SH_PREPARE): New.
7342         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
7343         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
7345 2001-06-02  Akim Demaille  <akim@epita.fr>
7347         * Makefile.am (.m4.m4f): Pass the options first.
7348         Fixes PR autoconf/182.
7350 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
7352         GNU getopt, when POSIXLY_CORRECT does not permute options and
7353         arguments.  So pass the options first.
7354         Fixes PR autoconf/184.
7356         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
7357         (run_m4): Remove files.
7358         (run_m4f): Remove.
7359         Update remainder of script to use them.
7360         (for warning in): Do not use a literal comma as it will not be
7361         split by IFS.
7363 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
7365         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
7366         Fortran compilers to check.
7367         (_AC_PROG_F77_V): Add '-###' as a possible option to print
7368         information on library and object files.
7369         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
7370         to check.
7372 2001-06-02  Akim Demaille  <akim@epita.fr>
7374         * autom4te.in (Request::@request): Declare with `vars', not `my',
7375         as it prevents updates via `do FILENAME'.
7377 2001-06-02  Akim Demaille  <akim@epita.fr>
7379         * configure.in (standards_texi): Remove, dead code.
7381 2001-06-02  Akim Demaille  <akim@epita.fr>
7383         * autom4te.in: New.
7385 2001-06-02  Pavel Roskin  <proski@gnu.org>
7387         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
7388         for signals other than 0 - exit with code 1.
7389         * m4sh.m4 (AS_TMPDIR): Likewise.
7390         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
7391         * autoheader.in: Likewise.
7392         * autoreconf.in: Likewise.
7393         * tests/torture.at (Signal handling): New test for the above.
7395 2001-06-01  Akim Demaille  <akim@epita.fr>
7397         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
7398         message.
7400 2001-05-31  Akim Demaille  <akim@epita.fr>
7402         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
7403         Add copyright and comments.
7404         * acheaders: Add stdint.h.
7405         Suggested by Paul Eggert.
7407 2001-05-31  Akim Demaille  <akim@epita.fr>
7409         * atgeneral.m4 (AT_INIT): Use $SHELL.
7410         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
7412 2001-05-31  Akim Demaille  <akim@epita.fr>
7414         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
7415         stdint.h.
7416         From Paul Eggert and Lars Hecking.
7418 2001-05-31  Akim Demaille  <akim@epita.fr>
7420         * tests/base.at: Adjust line numbers in error messages.
7422 2001-05-31  Akim Demaille  <akim@epita.fr>
7424         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
7425         to emit the bangshe line.
7426         Reported by David Carter.
7428 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
7430         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
7431         Fortran (95) compilers to check.
7433 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
7435         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
7436         Macro Archive URL.
7438 2001-05-23  Pavel Roskin  <proski@gnu.org>
7440         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
7441         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
7442         (AC_PROG_CXXCPP): Likewise.
7444 2001-05-22  Akim Demaille  <akim@epita.fr>
7446         * config: New directory.
7447         * configure.in: AC_CONFIG_AUX_DIR it.
7448         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
7450 2001-05-22  Akim Demaille  <akim@epita.fr>
7452         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
7453         * autoupdate.in: Specify the Emacs mode.
7454         * acversion.m4.in: Rename as...
7455         * acversion.m4: this.
7456         * tests/Makefile.am (CLEANFILES): More garbage.
7458 2001-05-22  Akim Demaille  <akim@epita.fr>
7460         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
7461         Rename as...
7462         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
7463         these.
7465 2001-05-21  Akim Demaille  <akim@epita.fr>
7467         * configure.in: Bump to 2.50a.
7469 -----
7471 Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
7473 This file is part of GNU Autoconf.
7475 GNU Autoconf is free software; you can redistribute it and/or modify
7476 it under the terms of the GNU General Public License as published by
7477 the Free Software Foundation; either version 2, or (at your option)
7478 any later version.
7480 GNU Autoconf is distributed in the hope that it will be useful,
7481 but WITHOUT ANY WARRANTY; without even the implied warranty of
7482 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7483 GNU General Public License for more details.
7485 You should have received a copy of the GNU General Public License
7486 along with autoconf; see the file COPYING.  If not, write to
7487 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
7488 Boston, MA 02111-1307, USA.