* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
[autoconf.git] / ChangeLog
bloba91abe31d4bedbbc2d40864ca78580499a311c26
1 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
4         in regular expression.
6 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8         * doc/autoconf.texi (Installation Directory Variables):
9         Drop extra @samp from `@table @samp' item.
10         (Limitations of Usual Tools): Comment fix.
11         Do not nest @samp just to point to other table items.
12         (Writing testsuite.at) <AT_CHECK>: The second argument to
13         `@dvar' is already @samp'ed.
14         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
15         do not use @var in the second argument.
17 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
19         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
20         $as_shell.exe too.  Problem reported by Andreas Buening in
21         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
23 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
25         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
26         `unused variable' compiler warning, for `-Wall -Werror'.
27         Reported by Jaap Haitsma in
28         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
30 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
32         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
33         case the compiler dumps core.  Problem reported for
34         OpenServer 5.0.7 by Tim Rice in
35         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
36         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
37         Likewise.
39 2006-06-06  Tim Rice <tim@multitalents.net>.
41         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
42         "ERROR" only shows up in "make check" output if there is an
43         error.
45 2006-06-06  Eric Blake  <ebb9@byu.net>
47         * tests/tools.at (automatically allowed tokens): Fix typo.
49 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
51         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
53         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
54         typically overflows on x86 CPUs, even though the C standard
55         requires otherwise.
57 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
59         * configure.ac (AC_INIT): Bump to 2.59e.
60         * NEWS: Update.
62 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
64         Version 2.59d.
66         * config/texinfo.tex: Sync from upstream.
68         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
69         seen, invoke libtoolize with `--ltdl' argument.
70         * lib/autom4te.in (Autoreconf-preselections): Adjust.
71         * NEWS: Update.
72         Suggested by Eric Blake.
74 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
76         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
77         reported by Ralf Wildenhues.
78         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
80 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
82         * THANKS: Update.
84 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
86         * doc/autoconf.texi: Modernize some of the references to Solaris.
88 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
90         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
91         message issued by AC_REQUIRE.
92         * tests/m4sugar.at: Check m4_require's error message.
93         * tests/base.at: Check AC_REQUIRE's error message.
94         * tests/local.at (AT_CHECK_M4): New macro, almost identical
95         to...
96         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
97         AT_CHECK_M4.
98         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
99         `expout' as the last parameter.
100         * tests/tools.at: Adapt to the above change.
102 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
104         * doc/autoconf.texi (Limitations of Usual Tools): Correct
105         information about race-free implementations of mkdir.
107 2006-06-04  Eric Blake  <ebb9@byu.net>
109         * bin/autoreconf.in (help): Document M4 environment variable.
110         * bin/autoconf.as (Usage): Likewise.
111         * bin/autom4te.in (help): Likewise.
112         * doc/autoconf.texi (autom4te Invocation): Likewise.
114 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
116         * NEWS: GNU make now recommended for VPATH builds.
117         Mention that some macros are now documented to be obsolescent.
118         * doc/autoconf.texi:
119         Prefer "current" to "modern" to describe
120         currently-used (albeit perhaps old-fashioned) hosts.
121         Mention which ancient features no longer need to be worried about.
122         setgid -> set-group-ID
123         setuid -> set-user-ID (these are the Posix terms)
124         Fix some misuses of "only".
125         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
126         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
127         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
128         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
129         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
130         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
131         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
132         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
133         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
134         Mention that these macros are obsolescent.
135         (Installation Directory Variables): shall -> should
136         (File Descriptors): Mention that 0, 1, 2 might get reopened.
137         Mention that it's now safe to use 3 and 4.
138         (Limitations of Usual Tools): cp -r is now specified by Posix.
139         Omit longwinded and obsolescent discussion of cp -f.
140         Modernize discussion of expr, ls.
141         (Limitations of Make): Modernize discussion of VPATH builds.
142         Mention $? as a workaround in some cases.
143         * doc/install.texi (Basic Installation):
144         Mention "./configure; make; make install" first.  Be more
145         specific about why this file is generic.  Remove unnecessary
146         parens.  Remove misleading "only".  Remove obsolete advice
147         about csh.  Don't say "configure" takes awhile; say it
148         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
149         and CC=c99 rather than CC=c89, as these are blessed by current
150         Posix.  Recommend GNU make if doing a VPATH build.
152 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
154         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
155         examples involving shell prompts.
157 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
158         and Paul Eggert  <eggert@cs.ucla.edu>
160         * doc/autoconf.texi (Here-Documents): Add details about the
161         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
162         use "here-documents" instead of "here documents".
164 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
166         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
168 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
170         * doc/autoconf.texi (File System Conventions): Warn about ":"
171         anywhere in directory names.
173 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
175         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
176         about quoting the case statement, just in case.
177         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
178         was fixed in ksh93g; reported by Ralf Wildenhues.
180 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
182         * doc/autoconf.texi (System Services): Do not document
183         overriding EXEEXT via ac_cv_exeext=ext.
184         (Particular Programs) <AC_PROG_MKDIR_P>:
185         Document that ${MKDIR_P} understands --.
186         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
187         comment.
189 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
191         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
192         argument with leading hyphen.  Problem reported by Paul Eggert.
194 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
196         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
197         about quoting ac_try: quote all of it, if any of it seems suspicious.
198         This means we don't have to worry about ${ or sed any more.
199         Also, double-quote the case statement, to work around misuses via
200         underquoting as reported by Ralf Wildenhues in
201         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
202         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
203         undocumented and dangerous macro.
204         Problem reported by Ralf Wildenhues in
205         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
207 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
209         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
210         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
211         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
213 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
215         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
216         since evidently some packages rely on the old, broken behavior.
217         Problem reported by Ralf Wildenhues in
218         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
219         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
220         pre-2006-05-26 definitions, but leave in the comments that
221         these macros are dangerous and should not be used.
222         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
223         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
224         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
225         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
226         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
228 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
230         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
231         the use of 'tr', since this is our only use of 'tr'.
233 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
234         and Paul Eggert  <eggert@cs.ucla.edu>
236         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
237         Don't assume 'grep' works on long lines, since AIX grep doesn't.
239 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
241         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
242         the output file in the `${datarootdir}' test.
244 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
245         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
247         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
248         mention of `datarootdir' in the input file(s), but literal
249         `${datarootdir}' in the output file, and we haven't warned yet,
250         then warn as well: the user may have (erroneously) used
251         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
252         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
253         * tests/torture.at (datarootdir workaround): Extend this test.
254         * NEWS: Update.
256 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
257         and Paul Eggert  <eggert@cs.ucla.edu>
259         * doc/autoconf.texi (autoheader Invocation): The first argument to
260         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
261         alternatives and clear up the language a bit.
263 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
265         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
266         ac_config_guess, ac_config_sub, ac_configure.
267         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
268         Fix typo that prevented an unnecessary space from being removed.
269         Problems reported by Ralf Wildenhues in:
270         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
272 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
274         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
275         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
276         Don't use the term "thread-safe" to talk about mkdir race
277         conditions, since the problem is more a process than a thread
278         issue.  Problem reported by Stepan Kasal in:
279         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
280         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
281         the test for 'install' more closely.  Look at MKDIR_P first.
282         Look in the PATH, and at /opt/sfw/bin.
283         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
284         Don't bother to try mkdir -p, since we already check mkdir --version;
285         just look at the version number.  (There's no easy way to check
286         for race-free implementations.)
287         * tests/tools.at (autoconf: subdirectories): Adjust to above
288         changes, since MKDIR_P now might end in "/mkdir -p".
290         * doc/autoconf.texi (autoheader Invocation): Mention that the
291         first arg of AC_DEFINE_UNQUOTED must be a literal.
292         Problem reported by Ben Pfaff in
293         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
295         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
296         * doc/autoconf.texi (Special Chars in Variables): New section.
297         (Preset Output Variables): Warn about special chars in CPPFLAGS.
298         (Installation Directory Variables): Quote $(datadir) better.
299         (Limitations of Builtins): Describe some of eval's trickiness.
301         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
302         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
303         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
304         in front of every arg, not just trailing args.  Quote apostrophes.
305         (_AC_EVAL_ECHO): New macro.
306         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
307         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
308         removed.
309         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
310         exposed by quoting of eval argument.  Put the command on line line
311         so it logs better.
312         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
313         (_AC_PATH_X, AC_PATH_X): Quote more safely.
314         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
315         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
316         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
317         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
318         Use eval more safely.
319         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
320         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
321         to be replaced.
322         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
323         lines, exposed by quoting of eval argument.
325 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
326         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
328         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
329         initialization of `ac_cv_exeext', do not override it if it was
330         already set, unless it was set to `no', for compatibility with
331         Autoconf-2.13, and comment this.
332         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
333         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
334         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
335         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
336         Document that this test may be overridden by setting
337         `ac_cv_exeext'.
339 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
341         Revert these two patches:
343         2006-04-06  Eric Blake  <ebb9@byu.net>
344         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
345         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
346         2006-04-01.
348         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
349         Clean up _AC_COMPILER_EXEEXT* macros.
350         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
351           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
352           ac_file to the name of the default output file and call
353           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
354           initial `rm' of the candidate files...
355         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
356           the same list in subsequent `rm' calls, and for the temporary
357           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
358           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
359         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
360         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
361           no longer needed) by libtool.  Make it a cache check.
362         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
363           copied here by mistake.
364         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
365           _AC_COMPILER_EXEEXT.
366         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
367           _AC_COMPILER_OBJEXT directly.
368         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
370 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
372         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
373         Fix description of how the buggy `sed' works.
375 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
377         Sync from Automake:
379         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
380         ENOLCK.  Only mention `make -j' when applicable.  Only raise
381         fatal errors when `make -j' is involved.  Improve error message.
383 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
385         * doc/autoconf.texi (Here-Documents): We now know more about
386         the variable expansion in here documents bug.
387         Thanks to Tim Rice and Stepan Kasal.
389         * doc/autoconf.texi (Making testsuite Scripts): Add an example
390         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
392 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
394         * tests/autotest.at (Multiline command from M4 expansion):
395         No failure to be expected if the shell quotes newlines in
396         commands in the `set -x' output.  Report by Tim Rice.
397         * THANKS: Update.
399 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
401         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
402         expansion in the here-documents used by config.status, as that
403         runs afoul of the Korn shell version M-12/28/93d bug described in
404         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
405         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
406         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
408 2006-05-23  Jim Meyering  <jim@meyering.net>
410         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
411         Fix typo introduced with 2006-04-02 change.  It reversed the sense
412         of the test.
414 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
416         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
417         ac_dB slightly, to save bytes in the script.
418         Max out at 50 lines, rather than 96; this is more likely
419         (though not guaranteed) to avoid obscure 'sed' failures.
421 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
423         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
424         `tr -d -' as bad option argument.  Work around this by deleting
425         an unrelated character.
426         Report by Tim Rice <tim@multitalents.net>.
428 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
429             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
430             Stepan Kasal  <kasal@ucw.cz>
432         * doc/autoconf.texi (Particular Programs): Do not promise that
433         we always prefer the GNU version of the program, and that we
434         search according to PATH; both rules can have exceptions.
435         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
436         AC_PROG_SED.  Move descriptions of limitations
437         to the Limitations of Usual Tools section.
438         (Limitations of Usual Tools) <sed>: Mention script length
439         limitations with Solaris /usr/ucb/sed.
440         <grep>: Fix wording for empty alternative.  Mention that -c and
441         -l should not be combined, and that -E and -F should not be
442         combined.
444 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
445         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
447         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
448         limits in Solaris 8 /usr/ucb/sed by testing a long script.
450 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
452         * doc/autoconf.texi (Defining Symbols): Literal parameter of
453         AC_DEFINE is now passed to m4_pattern_allow.
454         * NEWS: Mention that; likewise for AC_SUBST.
455         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
456         the parameter to m4_pattern_allow.
457         * tests/tools.at: Add a check for that.
459 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
461         * lib/autoconf/status.m4: Fix typos.
463 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
465         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
466         only the files that this macro generates.
468 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
470         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
471         the HP-UX sed limitation of 99 commands, labels do not count.
472         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
473         in the comment.
474         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
476 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
478         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
479         Import the following fix from coreutils:
481         2006-01-13  Jim Meyering  <jim@meyering.net>
483         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
484         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
485         not double-quote uses of that variable, to accommodate the rare
486         case in which getmntent is available in none of the libraries
487         checked.  This happens at least on FreeBSD 5.0.
489 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
491         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
492         ac_config_guess, ac_config_sub, and ac_configure, since evidently
493         some other programs unwisely rely on these undocumented vars.
494         But put in warning comments about them.
495         Problem reported by Ralf Wildenhues in
496         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
497         * NEWS: Document that these variables are intended to go away.
499 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
501         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
502         and set the language to C++ (analogous to the equivalent Fortran
503         tests).
505         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
506         * doc/autoconf.texi (C++ Compiler): Document it.
507         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
508         * NEWS: Update.
510 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
512         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
513         that caused config.status to generate 100-command sed scripts; the
514         portable limit is 99.
516 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
518         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
519         variable `ac_d' instead of `d' to avoid infringing namespace.
520         Report by Ralf Menzel.
522 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
524         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
525         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
526         * tests/tools.at (autoconf: subdirectories): New test, taken from
527         the corresponding problem report by Ralf Wildenhues in:
528         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
530         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
531         Quote some uses of shell variables if they might suffer unexpected
532         globbing.  This doesn't fix all instances of quoting problems that
533         I found, just the easy ones that look safe.
534         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
535         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
536         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
537         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
538         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
539         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
540         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
541         Likewise.
542         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
543         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
545 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
547         * bin/autoreconf.in ($help): Reword according to the manual.
548         Suggested by Olly Betts.
550 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
551         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
553         * bin/autoreconf.in: Pass the directory argument to
554         `require_configure_ac'.  Fix comment.
555         * tests/torture.at (Configuring subdirectories): Expose this.
556         Reported by Olly Betts.
558 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
560         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
561         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
562         Automake as follows:
564         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
565         `$configure_in' instead of `configure.in', to preserve
566         directory component.
568 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
570         * config/config.guess, config/config.sub, config/texinfo.tex,
571         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
573 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
575         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
576         test for C99 conformance; (bool) 0.5 is an integer constant
577         expression, but (bool) -0.5 is not.  Problem reported by Fedor
578         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
580 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
582         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
583         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
584         Warn about obsolete install-sh files.  Remove stray sentence
585         fragment and fix cross reference.
586         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
587         install -d; this undoes the 2006-05-10 change.
588         (MKDIR_P): Mark with AN_MAKEVAR.
589         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
590         that we don't require $INSTALL to be thread-safe.  Move comments
591         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
592         of AC_PROG_INSTALL.  Output a message saying that we're checking
593         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
594         MKDIR_P instead of AC_SUBST.
595         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
596         Special magic for MKDIR_P, too.
597         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
598         a dnl.
599         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
601 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
603         Sync from Automake, as follows:
605         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
606         * config/install-sh: Initialize IFS, so field splitting isn't
607         turned off later.
608         * config/mkinstalldirs: Likewise.
609         * config/missing: Remove superfluous quotes.  Replace all uses of
610         `[' by `test', for consistency, and for..
611         * config/missing (sed_minuso, sed_output): New variables.
612         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
613         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
614         Fixes `missing' to detect `--output' for help2man.  Fixes
615         PR automake/483.  Report by Dennis J. Linse.
616         (autom4te): Document in `missing --help'.
618 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
620         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
621         * config/install-sh: Don't use 'path' to talk about file names,
622         as per GNU coding standards.  Close a race condition reported by Ralf
623         Wildenhues and Stepan Kasal.  There is still a race condition
624         on hosts that predate Posix 1003.1-1992, but we can't help this.
625         Don't mishandle weird characters like space on pre-Posix hosts.
626         Invoke mkdir at most once per dir arg on pre-Posix hosts.
627         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
628         AC_PROG_MKDIR_P from AS_MKDIR_P.
629         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
630         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
631         earlier editions are not (including Automake 1.8.3).
632         Do not suggest mkinstalldirs for thread-safety.
633         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
634         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
635         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
636         presence of special characters and race conditions.
637         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
638         in Autoconf's name space.
640 2006-05-10  Bruno Haible  <bruno@clisp.org>
641         and Paul Eggert  <eggert@cs.ucla.edu>
643         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
644         from Automake with minor changes.
645         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
647 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
649         * config/install-sh: Update to Automake CVS version, as follows:
650         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
651         * lib/install-sh: Simplify the expr implementation of dirname.
652         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
653         * lib/install-sh: Handle --, and diagnose unknown options.
655 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
657         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
658         `./autom4te' to create `./testsuite', since the `all' target
659         will ensure its presence, but `installcheck' should not create
660         the uninstalled wrappers.
662         * tests/torture.at (Unusual Automake input files): Skip if we
663         detect automake < 1.8.
665 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
667         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
668         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
669         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
670         * NEWS: Update.
672 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
674         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
675         munge (multiple) white space and other oddities.
676         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
677         single quotes in variable assignment.
678         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
679         and similar failures by adding multiple spaces, tabs, and other
680         special characters.
681         Report and different test suggested by Francesco Romani
682         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
684         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
685         single quotes, we only need to search for single quotes; this
686         both simplifies the search pattern, and makes us less
687         susceptible to `echo' variations for arguments not containing
688         single quotes.
689         (_AC_ARG_VAR_VALIDATE): Likewise.
691 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
693         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
694         `$*' and IFS concatenation issue with traditional shells and
695         bash-2.04.  Report by Seanster@Seanster.com.
697 2006-05-03  Bruno Haible  <bruno@clisp.org>
699         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
700         precisely which Mac OS X versions have the od problem.
702 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
704         * doc/autoconf.texi: Use @option systematically.
705         (Integer Overflow):
707 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
708         and Bruno Haible  <bruno@clisp.org>
710         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
711         about 'od'.
712         (Integer Overflow): Mention the special case of integer division
713         overflow.
715 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
717         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
718         traditional shells like the Solaris one that do not use the
719         first IFS character for assembling `$*'.
720         Prompted by a related report from autoconf_bug@nro.ca.
722 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
723         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
725         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
726         Mention more problems with the -e option.
728 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
730         * NEWS: Typo.
731         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
733         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
734         in URLs to improve DVI formatted output (requires texinfo 4.6).
735         (System Services, Systemology, Shellology): Likewise.
736         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
737         output.
739         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
740         continuous text.
741         (Runtime): Fix macro argument names to match description:
742         `action-if-found' -> `action-if-true' and similarly.
743         (Obsolete Macros): Likewise.
744         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
745         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
746         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
748 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
750         * doc/autoconf.texi (Limitations of Make): Clean up markup.
752         * ChangeLog: Typo.
753         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
754         DVI output.
756 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
758         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
759         /bin/sh set unsorted output.
760         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
761         * tests/local.at: Likewise.
763 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
765         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
766         (Integer Overflow, Null Pointers, Buffer Overruns):
767         (Floating Point Portability, Exiting Portably): New sections.
768         (Writing Test Programs): Fix some langauge.  Recommend exiting
769         with status 1, not merely nonzero.  Clarify exit declaration.
770         (Run Time): Move C exit status stuff to new Exiting Portably section.
771         (Systemology): Mention Posix and levenez.  Update v7 reference.
772         (Portable Shell): Mention the Posix shell.
774 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
776         * bin/autoconf.as (me): Replace by as_me.
778 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
780         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
781         since as_me isn't set yet.
783 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
785         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
786         a few minor bugs in this area.
788         * doc/autoconf.texi (Programming in M4sh): Comment out the
789         documentation of AS_BASENAME, for now.
790         (Shell Substitutions): Do not use AS_DIRNAME in an example.
791         (Limitations of Builtins) <basename>: Do not refer to
792         AS_BASENAME.
793         * bin/autoconf.as (me): Don't use AS_BASENAME.
794         (dir): Remove the unused variable.
795         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
796         AS_DETECT_REQUIRED.  All uses changed.
797         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
798         All uses changed.
799         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
800         (AS_BASENAME): Use "basename --" to protect against leading "-".
801         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
802         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
803         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
804         (_AS_DIRNAME_PREPARE): Likewise.
805         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
806         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
807         (AS_DIRNAME): Use "dirname --".
809 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
811         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
812         of "run time" and "run-time" changed to "runtime", for consistency.
813         * lib/autoconf/fortran.m4: Likewise (in comment).
814         * lib/autoconf/functions.m4: Likewise.
815         * lib/autoconf/general.m4: Likewise.
816         * lib/autoconf/headers.m4: Likewise.
818         * doc/autoconf.texi (Run Time): Document the exit status situation
819         with more accuracy and detail.
821 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
823         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
824         Archive is not officially `GNU' any more.  Update URL.
825         (Defining Directories): Likewise
826         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
828 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
830         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
831         newline from the `trap' code to finish `config.log'; the NetBSD
832         /bin/sh resets the exit status after an empty command, as
833         documented in doc/autoconf.texi.
834         Reported by Dalibor Topic <robilad@kaffe.org>.
836 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
838         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
839         Suggested by Bruno Haible.
841 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
843         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
844         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
845         Instead, just list the shells that we know work.
846         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
847         changed.  Be more cautious about the _cv_ variable.
848         * tests/tools.at (Syntax of the shell scripts): Check the
849         _cv_ variable once, at first, to avoid an internal autoconf error
850         when sh -n does not work.
852 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
854         * lib/Autom4te/FileUtils.pm: Sync from Automake.
856 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
858         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
859         use ">&-" since we're only 99.999% sure that this is portable,
860         and since the MinGW bug is fixed in a different way.
861         * lib/autotest/general.m4 (AT_INIT): Likewise.
863 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
865         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
866         before opening config.log, to avoid hitting a bug on MinGW.
868 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
870         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
871         AS_MESSAGE_LOG_FD before reopening it onto the log file.
872         This works around a MinGW bug reported by Eric Paire.
873         Make sure that all writes to the log file append to it,
874         rather than possibly losing data.
875         * lib/autotest/general.m4 (AT_INIT): Likewise.
877 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
879         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
880         description.
882 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
884         * NEWS: Update.
886         * configure.ac (AC_INIT): Bump to 2.59d.
888 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
890         Version 2.59c.
892         * Makefile.maint (news-date-check): Do not require a leading `*'
893         before the release date in NEWS.
895 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
896         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
898         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
899         the instantiated file do not contain the string 'datarootdir'
900         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
901         @mandir@, replace the reference '${datarootdir}' by the value.
902         * tests/torture.at (datarootdir workaround): New test.
903         * NEWS: Advertise this temporary fixup.
904         Based on a patch by Bruno Haible, reported and analyzed by
905         Paul Eggert and Noah Misch.
907 2006-04-12  Eric Blake  <ebb9@byu.net>
909         * tests/autotest.at (Debugging a failed test): Fix comment.
911 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
913         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
914         all the changes since 2006-04-07.
916 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
918         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
919         succeeded, but `ln -s file dir' failed, take care to remove the
920         leftover target before the next test, to prevent its spurious
921         failure; also make sure `ln file dir' works before selecting it.
922         Thanks to Keith Marshall for pointing this out.
923         * THANKS: Update.
925         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
926         assignments in `at_debug_args', so that we put them correctly
927         in the `run' script.
928         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
929         Reported by Eric Blake.
931 2006-04-11  Eric Blake  <ebb9@byu.net>
933         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
934         top-level tests after micro-suite has been run.   Used in...
935         (Debugging a successful test, Debugging script and environment),
936         (Debugging a failed test): ...these new tests.  The first of these
937         is fixed by...
938         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
939         macro, split out from...
940         (AT_INIT): ...here, so that using -d also generates a run script.
941         Document that -d inhibits top-level logging.
942         * doc/autoconf.texi (testsuite Invocation): Document that -d only
943         inhibits top-level logging; debug scripts are created.
945         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
946         check.
947         * tests/autotest.at (Empty test, Empty check): New test to check it.
949         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
950         from gcc.
952 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
954         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
955         the files if a problem appears.  Make the empty *.at files
956         read-only, too.  Proposed by Ralf Wildenhues.
958 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
960         * config/Makefile.am: Add comment to force updated Makefile.in.
962         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
963         space only patch to this file, this patch causes the Makefile.in
964         files that include freeze.mk to be updated, and thus have a
965         newer time stamp again, which in turn makes a pristine CVS
966         checkout have correct time stamps.
968         * Makefile.maint (cvs-sv): New macro, to be used..
969         (config.guess-url_prefix, config.sub-url_prefix)
970         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
971         point to CVS text checkout of Gnulib files.
972         (copyright-check): Bump current year.
973         (announcement): Do not hard-wire `./announce-gen'.
974         (cvs-update): Propagate failures of `cvs' and `move-if-change'
975         correctly.
976         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
977         `chmod +x'.
978         (wget_files): Update config.guess, config.sub, texinfo.tex by
979         `wget-update', now that their URLs work again.
981 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
983         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
984         Problem noted by Paul D. Smith.
986 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
988         * doc/autoconf.texi: Remove unused words from word list.
989         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
990         .x-sc_trailing_space: New files.
992         * doc/standards.texi: Sync from gnulib.
994         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
995         `LIBOBJDIR' as experimental.
997         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
998         with a target directory; it's internally implemented as `cp'
999         anyway, but since Autoconf advertises the possibility to use
1000         a target directory when LN_S is `ln -s', we need to find out.
1001         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
1002         analyzed by Keith Marshall <keith.marshall@total.com>.
1004         * THANKS: Update.
1006 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
1008         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
1009         confdefs.h as-is.  In general, if it has backslash-newline or the
1010         like, then it doesn't work either to sort or to remove empty
1011         lines.
1013 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
1015         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
1017 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
1019         * lib/autom4te.in (Automake-preselections): Preselect
1020         _AM_SUBST_NOTMAKE.
1022 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
1024         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
1025         apostrophe within a single-quoted string, as this is the usual
1026         tradition and is easier to read than '"'"'.  Don't rely on the
1027         shell treating "$/" like '$/'.  Use a more-consistent indenting
1028         style for the trap.
1030 2006-04-09  Eric Blake  <ebb9@byu.net>
1032         * tests/autotest.at (Backquote command substitution),
1033         (Multiline backquote command substitution): Remove mistaken
1034         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
1035         applied...
1036         (Parenthetical command substitution, Multiline parenthetical
1037         command substitution): here.
1039 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
1041         Import macros from gnulib (often changing their name).
1043         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
1044         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
1045         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
1046         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
1047         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
1048         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1049         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
1050         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
1051         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
1052         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
1053         The manual mentions Gnulib more prominently.
1054         * doc/autoconf.texi (Gnulib): New node.
1055         (Pointers): Add Gnulib URL.
1056         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
1057         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
1058         Gnulib section.
1059         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
1060         suggest a #define rather than a typedef for _Bool, and mention
1061         Gnulib rather than trying to substitute stdbool code.
1062         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
1063         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
1064         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
1065         AC_STRUCT_DIRENT_D_TYPE.
1066         (Particular Types): Mention stdint.h and inttypes.h as standard
1067         headers too.
1068         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1069         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
1070         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
1071         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
1072         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
1073         (C Compiler): Move AC_C_LONG_DOUBLE to ...
1074         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
1075         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
1076         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
1077         (Coding Style).  Don't mention m4_expand_once.
1078         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
1079         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
1080         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
1081         (AC_CHECK_FUNCS): Use it.
1082         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
1083         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
1084         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
1085         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
1086         (AC_HEADER_ASSERT): New macro.
1087         (AC_HEADER_STDBOOL): Don't assume "#error" works.
1088         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
1089         Catch a bug in an HP-UX C compiler.
1090         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
1091         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
1092         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
1093         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
1094         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
1095         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
1096         New macros.
1098         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
1099         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
1101 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
1103         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
1104         of the warning introduced by the 2001-08-28 change.
1106 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
1107             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1109         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
1110         variables shall be overriden by the cache.
1111         * tests/torture.at (AC_ARG_VAR): Test also with a first value
1112         that contains braces.
1114 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
1116         Revert the patch from 2006-04-01 and only improve
1117         _AS_DETECT_BETTER_SHELL:
1119         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
1120         skip nonexistent directories.
1121         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
1122         only shell candidates which exist.
1123         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
1124         * lib/autotest/general.m4 (AT_INIT): No need to give three
1125         parameters to _AS_PATH_WALK.
1127 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
1128             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1130         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
1131         distinguish m4sugar macros.
1132         * tests/tools.at (autoupdating with aclocal and m4_include):
1133         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
1134         test case by Noah Misch <noah@cs.caltech.edu>.
1136 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
1138         Revert my change from 2006-03-17, in other words:
1139         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
1140           and DUALCASE=1.
1141         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
1142         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
1143           it is set.
1145 2006-04-07  Eric Blake  <ebb9@byu.net>
1147         * doc/autoconf.texi (Programming in M4sh): Document that
1148         AS_MKDIR_P exits the script on failure.
1149         * lib/autotest/general.m4: Remove redundant AS_ERROR.
1151 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1153         * config/elisp-comp, config/install-sh, config/mdate-sh,
1154         config/missing, config/mkinstalldirs: Sync from Automake.
1156         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
1157         from Automake.
1159         * doc/make-stds.texi: Sync from gnulib.
1161 2006-04-06  Eric Blake  <ebb9@byu.net>
1163         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1164         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
1165         2006-04-01.
1167 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
1168             Eric Blake  <ebb9@byu.net>,
1169             Paul Eggert  <eggert@cs.ucla.edu>,
1170             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1172         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
1173         whether `set' quotes correctly: redirect stderr of the tested
1174         `set', and use a subshell, for Ultrix; use `sed' instead of
1175         `grep' for zsh `set' which may write binary output; match only
1176         at the beginning of a line, to avoid false positives.
1177         In order to avoid false positives by unrelated variables with
1178         multiline content, put the dump algorithm in a subshell and
1179         unset all variables containing newlines (except some which are
1180         special to the shell).  Warn about cache variables that are
1181         unset.
1183 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1185         * config/config.guess, config/config.sub, config/texinfo.tex:
1186         Sync from upstream.
1188         * tests/mktests.sh: Reword comments.
1190         * tests/mktests.sh: Only skip internal macros starting with
1191         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
1192         Update exclusion lists for the test suite to this end:
1193         (AC_ARG_VAR): Do test this now.
1194         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
1195         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
1196         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
1197         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
1199         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
1200         shell issue with double-quoted command substitutions of native
1201         commands.
1202         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
1203         Marshall.
1205         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
1206         no file matches the glob, discard the warning, set `nullglob'.
1207         (syntax-check): Likewise.
1208         (sc_cast_of_x_alloc_return_value): Likewise.
1209         (sc_cast_of_alloca_return_value, sc_error_exit_success)
1210         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
1211         (m4-check): Likewise.
1212         (sc_system_h_headers): Do not print rule on execution.
1213         (sc_tight_scope): Do not fail for non-existing `src' directory.
1214         (sc_changelog): Skip the Copyright footer.
1215         * lib/autoconf/lang.m4: Remove trailing space.
1217         * lib/autoconf/status.m4: More replacements to
1218         <tab><space> where this makes sense.
1220 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
1222         * tests/Makefile.am (maintainer-check-posix):
1223           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
1225         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
1226           ac_config_<foo>s again, sometimes normalized, sometimes not.
1227         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
1228         (AC_CONFIG_COMMANDS): Do not do so here.
1229         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
1230           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
1231           2005-07-25 rewrite.  Noticed by Noah Misch.
1233         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
1234           _AC_PRESERVE_HELP_ORDER, ...
1235         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
1237         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
1238           inside m4_expand_once; it is redundant.
1240         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
1241           for --help from Cygnus `configure.'
1243 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
1245         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
1246         on a patch proposed by Ralf Wildenhues.
1248 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
1250         * lib/autoconf/status.m4: Replace <space>''<tab> with
1251         <tab><space> where this makes sense.
1253 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
1254             Noah Misch  <noah@cs.caltech.edu>
1256         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
1257         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
1258         * doc/autoconf.texi (Help Formatting): New node.
1259         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
1261 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1263         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
1264         lib/autoconf/specific.m4, lib/autoconf/status.m4,
1265         lib/autoconf/types.m4, lib/autotest/general.m4,
1266         tests/mktests.sh, tests/torture.at: White space cleanup:
1267         remove some SPACE before TAB, or add quoting ('' or @&t@).
1269         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
1271         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
1273 2006-04-05  Eric Blake  <ebb9@byu.net>
1275         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
1276         empty test suite works.
1277         * tests/autotest.at (Empty test suite): Remove xfail.
1279 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
1281         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
1282         TAGS to ac_config_<foo>s.
1283         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
1284         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
1285         normalizing it, consistent it with previous releases.
1286         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
1288 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
1290         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
1291         Use simplified args that Eric Blake originally suggested.
1293 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
1295         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
1296         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
1297         Use 'comm' rather than N instances of grep; this also fixes a bug
1298         whereby substrings were incorrectly matched, causing us to not
1299         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
1300         (exclude_list): Exclude empty macros.
1301         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
1303         Use awk rather than grep -E or egrep, to avoid
1304         portability problems with regular expressions containing newlines.
1305         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
1306         Switch from grep to awk syntax.
1307         (ac_exclude_script): Renamed from ac_exclude_egrep.
1308         (au_exclude_script): Renamed from au_exclude_egrep.
1310 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
1312         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
1313         a subdirectory subject to Cygnus `configure'.
1314         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
1316         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
1317         report request when we have no AC_PACKAGE_BUGREPORT.
1319 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1321         * THANKS: Update.
1323         * tests/mktests.sh: Update copyright year in the header of the
1324         generated files.
1326         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
1327         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
1328         typedef'ed restricted pointer, to catch a compiler bug on
1329         HP-UX 11.x, and fix warnings so it passes with -Werror.
1330         (_AC_PROG_CC_C99): Likewise.
1331         Reported by Albert Chin <china@thewrittenword.com>.
1332         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
1334 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
1336         * bin/autoscan.in (subdirs): New global.
1337         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
1338         (output): Emit AC_CONFIG_SUBDIRS as needed.
1339         * tests/autoscan.at (autoscan): Remove XFAIL.
1341 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
1343         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
1345 2006-04-03  Eric Blake  <ebb9@byu.net>
1347         * THANKS: Add myself.
1349 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1351         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
1352         to log, point to testsuite output tree.
1354 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
1356         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
1357         * doc/autoconf.texi (Function Portability): Mention that C++
1358         has trouble with 'exit'.
1359         (Guidelines): Test programs shouldn't use 'exit'.
1360         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
1361         Remove; all uses removed.
1362         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
1363         Return from 'main' instead of calling 'exit'.
1364         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
1365         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
1366         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
1367         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1368         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
1369         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1370         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1371         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
1372         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1373         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1374         * tests/compile.at: Likewise.
1376 2006-04-02  Pavel Roskin  <proski@gnu.org>
1378         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
1380 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1382         Clean up _AC_COMPILER_EXEEXT* macros.
1384         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
1385           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
1386           ac_file to the name of the default output file and call
1387           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
1388           initial `rm' of the candidate files...
1389         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
1390           the same list in subsequent `rm' calls, and for the temporary
1391           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
1392           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
1393         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
1394         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
1395           no longer needed) by libtool.  Make it a cache check.
1396         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
1397           copied here by mistake.
1398         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
1399           _AC_COMPILER_EXEEXT.
1400         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
1401           _AC_COMPILER_OBJEXT directly.
1402         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1404 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1406         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
1407         (AS_DIRNAME): Use it.
1408         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
1410         * tests/*.at: Remove the generated ones.
1412 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1414         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
1416 2006-04-01  Eric Blake  <ebb9@byu.net>
1418         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
1419         directories, unless optional third argument supplied.
1420         (AS_UNAME): Don't optimize PATH walk.
1422         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
1424 2006-04-01  Eric Blake  <ebb9@byu.net>
1425         and Stepan Kasal  <kasal@ucw.cz>
1427         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
1428         and fix some typos.
1430 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
1432         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
1433         Autoconf version number despite a zero- or one-argument AC_INIT.
1435         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
1436         subordinate tools.
1437         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
1438         * doc/autoconf.texi (autoreconf Invocation): Document it.
1440         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
1441         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
1443 2006-04-01  Eric Blake  <ebb9@byu.net>
1445         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
1446         * lib/autotest/general.m4: Be tolerant of existing directory when
1447           rm failed to remove it.
1449 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1451         * bin/autoupdate.in: Redefine m4_location so that warnings print
1452         the correct lines of the input file by subtracting..
1453         (_au__first_line): ..this new definition.
1455         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
1456         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
1457         Remove stray newline in output.
1458         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
1459         AC_DEFUN this for autoconf, including the obsoletion diagnose.
1460         Fixes autoupdating of code where the replacement output contains
1461         m4sugar macros.
1462         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1463         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
1464          (au_exclude_list): Add AC_LANG_SAVE.
1465         * tests/tools.at: Several new tests for all of this.
1466         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
1467         hairy details.
1468         The AC_LANG_SAVE issue was reported against Libtool by
1469         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
1470         Kristian Kvilekval <kris@cs.ucsb.edu>.
1472 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
1474         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
1475           switch all of them on and of when necessary.  Fixes the bug when
1476           m4sugar macros (e.g., m4_define) were expanded after the first
1477           automatic update (e.g., after AC_PREREQ or AC_INIT).
1479 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
1481         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
1482         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
1484         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
1485         correctly.  Problem reported by Eric Blake.
1486         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
1487         Ralf Wildenhues.
1489 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
1491         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
1492         Tighten up the basename/dirname wording.
1494 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1496         * Makefile.maint (sc_texi_notab): New check: do not use TABs
1497         in texinfo files outside of verbatim environments.
1498         (syntax-check-rules): Update.
1499         * doc/autoconf.texi (Configuration Headers): Conform to it.
1501 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
1503         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
1504           aclocal cannot be given on the command line.
1506 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
1508         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
1509         Give an example for AS_DIRNAME instead of referring to Posix..
1510         (File System Conventions): Put discussion of // versus / here, and
1511         modernize it a bit.
1512         (Limitations of Usual Tools): Add basename.  Remove verbiage
1513         after dirname, since it got moved to the above sections.
1514         All this was inspired by a patch proposed earlier by Eric Blake.
1516 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1518         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
1519         `$0' to protect against spaces.
1520         * lib/autotest/general.m4 (AT_INIT): Likewise.
1521         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
1522         `$0', $as_me.
1524 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1526         * bin/autoscan.in: The value of find_configure_ac should be
1527         checked for existence, so we don't barf over a nonexisting
1528         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
1530 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1532         * bin/autoupdate.in: Fix some typos.
1534 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
1536         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
1538         * lib/autoscan/autoscan.list: Refreshed.
1540 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1542         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
1543         and Erlang related variables.
1545         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
1546         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
1547         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
1548         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
1549         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
1550         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
1551         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
1552         (_AC_PROG_OBJC_G): New macros.
1553         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
1554         * doc/autoconf.texi (Objective C Compiler): New node.
1555         (Preset Output Variables): Document OBJCFLAGS.
1556         (Language Choice): Document `Objective C' language.
1557         (Fortran Compiler): Fix typo.
1558         * NEWS: Updated.
1559         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
1561 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
1563         * doc/autoconf.texi (Default Includes): Fix typo
1564           s/AC_HEADERS_STDC/AC_HEADER_STDC/
1565         (Limitations of Usual Tools): s/unwriteable/unwritable/
1566         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
1567           Fix typos in the comments.
1569 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
1571         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
1572           Factor out the warning to...
1573         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
1574         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
1575         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
1577         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
1578           case `ac_delim' when writing the sed script.
1580         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
1581           moved DUALCASE=1 ...
1582         (AS_SHELL_SANITIZE): ... here.
1583         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
1584           that it is set.
1586         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
1587           AC_SUBST.
1588         (_AC_PATH_PROG): Store the result to VARIABLE.
1589         (AC_PATH_PROG): No need to set VARIABLE again.
1591         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
1592           the first one is usual AT_CHECK_MACRO test, the second one checks
1593           that the same works when cross-compiling.
1594         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
1595         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
1597 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1599         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
1600         the directory `/usr/bin/posix' in the shell search, to prefer
1601         the Posix shell not only in subsequent spawns as with `$BIN_SH'
1602         on Tru64.
1604         * doc/autoconf.texi (contents): To fix texi2html output, hide
1605         `@setcontentsaftertitlepage' for HTML.
1606         (Writing Autoconf Macros): Likewise, insert space after `@c'.
1607         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
1608         `@,{c}'.
1610 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
1612         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
1613           sanitizing...
1614         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
1615         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
1616           why IFS is restored so late; thank you, Ralf, for reminding us.
1618 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
1620         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
1621           variables in the examples.
1623 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
1625         * doc/autoconf.texi (several sections): Cleaned up documentation for
1626         macros in erlang.m4.
1628 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1630         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
1631         failure condition for `$(cmd)' style command substitutions.
1632         (Parenthetical command substition, Multiline parenthetical
1633         command substition): Use it.
1635         * doc/autoconf.texi (Special Shell Variables): Missing word.
1636         Reported by Keith Marshall <keith.marshall@total.com>.
1638         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
1639         IFS even in case of empty `$PATH'.
1641 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1643         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
1644         `expr' away if there is nothing to do.
1645         < --keywords >: Simplify and robustify argument handling.
1646         Revert erroneous comment from 2005-08-23.  Extend to allow
1647         keyword negation with `!'.
1648         Update help message.  Remove broken code to prevent running
1649         tests multiple times.
1650         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
1651         Update and fix the documentation accordingly.
1652         * tests/autotest.at (Keywords): Renamed to..
1653         (Keywords and ranges): .. this.  Extended to make sure negated
1654         keywords, keywords taken from AT_SETUP arguments, and numeric
1655         test ranges work, and that matching is case-insensitive.
1657 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1659         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
1660         allow to pass unnamed structs even in C++.
1661         (AC_CHECK_SIZEOF):  Likewise.
1662         Also fix quoting error in `AC_MSG_FAILURE' arguments.
1663         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
1664         struct): New tests for unnamed structs, each both native and
1665         cross-compiling.
1667         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
1668         a structure inside a cast, for C++ conformance.
1669         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
1670         Also fix quoting error in `AC_MSG_FAILURE' arguments.
1672         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
1673         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
1674         trying to execute the command `no'.
1676         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
1677         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
1678         expanded outside.
1680         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
1681         example.  Do not emphasize `$%', it is hardly new and special.
1682         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
1684         * doc/autoconf.texi (Limitations of Usual Tools): Document
1685         OpenBSD and traditional `grep' failure to handle multiple
1686         patterns separated by newlines.
1688 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
1690         * doc/autoconf.texi (several sections): Add documentation for macros
1691         in erlang.m4.
1693 2006-03-10  Eric Blake  <ebb9@byu.net>
1695         * doc/autoconf.texi (Obsolete Macros): Fix wording of
1696         AC_TRY_LINK_FUNC.
1698 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
1700         * doc/autoconf.texi: Use @acronym more consistently for acronyms
1701         like BSD, GPL, LGPL.  Fix minor English typos.
1702         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
1703         Mention that these macros are becoming obsolete.
1704         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
1705         Use more modern terminology for which standard is what.
1706         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
1707         and to ansi2knr.
1708         (AC_PROG_CXX): Likewise.
1709         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
1710         Remove obsolete discussion about how to port to K&R.
1711         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
1712         the obsolescent AC_HEADER_STDC.
1713         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
1714         can't rely on it.
1716 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1718         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1719         Remove stdin redirection from /dev/null to allow pipe to work.
1721 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
1723         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1724         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
1725         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
1726         Ralf Wildenhues.
1728 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1730         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
1731         HP-UX sed is 99 commands, not 100.
1732         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
1733         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
1734         newline for portability.
1735         * tests/torture.at (Torturing config.status): Also test 100
1736         AC_SUBST_FILE invocations.  Fix test to actually verify the
1737         AC_CONFIG_FILES output.
1738         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
1739         command, label, and read-file `r' limits.  Unify HP-UX spelling.
1741         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
1742         non-suffix rule.
1743         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
1744         non-GNU make.
1745         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
1746         * tests/mktests.sh: Small shell portability fixes.
1748 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1750         * doc/autoconf.texi (Caching Results): Fix the examples to use a
1751         recommended quoting style and discard unwanted output.
1753 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
1755         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
1756         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
1757         cases, and to work around Tru64 expr bug.
1759 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1761         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
1762         expr bug that turns the result of a regex match into a number if
1763         possible.
1765 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1767         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
1768         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
1769         in section `Specific Compiler Characteristics'.
1771 2006-03-04  Eric Blake  <ebb9@byu.net>
1773         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
1774         variable warning.
1776 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1778         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
1779         order of variable initialization, so even the Solaris 2.6 shell
1780         can create a config header correctly.  Fixes lots of test suite
1781         failures.
1783 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1785         * doc/autoconf.texi (Text processing Macros): New node to
1786         document the m4sugar macros m4_re_escape, m4_tolower,
1787         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
1789 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
1791         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
1792         XrmInitialize (0) -> XrmInitialize ().
1793         Reported by Toshio Kuratomi.
1795 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1797         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
1798         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
1799         * doc/autoconf.texi (Programming in M4sh): Adjusted.
1800         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
1801         both macros are defun'ed so that required macros are evaluated
1802         outside.
1804         * doc/autoconf.texi (Prerequisite Macros): State more precisely
1805         where a required macro will be expanded.
1806         (Coding Style): Another reason not to use `m4_define'.
1808 2006-02-21  Eric Blake  <ebb9@byu.net>
1810         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
1812 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1814         * doc/autoconf.texi (Looping constructs): New node, to
1815         document m4_for, m4_foreach, m4_foreach_w, and mention
1816         obsolete AC_FOREACH.
1817         (Obsolete Macros): Document AC_FOREACH.
1818         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
1819         (m4_for): Fix to never loop (almost) endlessly, work correctly
1820         with arithmetic expressions in arguments, a step of zero or
1821         non-integer multiple of the interval, and avoid integer
1822         overflow.
1823         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
1824         m4_foreach_w.
1826 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
1828         Add basic support for Erlang, both for configuring Erlang/OTP
1829         tools, and Erlang as a conf test language.
1830         * lib/autoconf/erlang.m4: New file.
1831         * lib/autoconf/autoconf.m4: Add erlang.m4.
1832         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
1833         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
1834         * NEWS: Add short description of new macros.
1835         * THANKS: Add Romain Lenglet.
1837 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1839         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
1840         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
1842 2006-02-15  Eric Blake  <ebb9@byu.net>
1844         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
1845         warning.
1847 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1849         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
1850         (_AS_CASE): Private helper macro.
1851         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
1852         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
1853         Fix syntax of AS_IF description
1854         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
1855         for the AC_REQUIRE mess.
1856         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
1857         AS_SHELL_SANITIZE.
1859 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
1861         * doc/autoconf.texi: Minor style cleanup.
1862         Be consistent about spaces after commas.
1863         Insert [] where empty args look a bit funny.
1864         Fix some "i.e." and "e.g." usages.
1865         Try to avoid "X/Y" usages.
1866         Don't be pedantic about "ISO C99"; just say C99.
1867         Prefer GNU style for spaces in front of parens.
1868         (Function Portability): Comment about C89 versus C99
1869         signed integer division.
1870         (Particular Headers): Use current gnulib style for dirent
1871         includes.
1873 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
1874         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1876         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
1877         macros without parameters.
1878         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
1879         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
1880         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
1881         `$#' bug.
1882         (autoupdate): Updated to match AU_ALIAS fix.
1884 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1885         and Paul Eggert  <eggert@cs.ucla.edu>
1887         * doc/autoconf.texi (Programming in M4sh): Document
1888         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
1890 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1892         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
1893         (AS_BOURNE_COMPATIBLE): ..this.
1894         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
1896 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
1898         * doc/install.texi (Defining Variables): Tighten up the
1899         CONFIG_SHELL wording.
1901 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
1902         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1904         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
1905         of (set -o) rather than testing whether (set -o posix) succeeds,
1906         to work around a bug in the AIX 5.3 shell.  Problem originally
1907         reportd by Howard Chu for libtool.
1909 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
1911         * doc/autoconf.texi (Running the Compiler, Running the Linker):
1912         Changes the macro arguments in summaries to match the
1913         descriptions.
1915 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
1917         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
1918         hint as ``a workaround for a bug.''
1920 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1922         * bin/autoreconf.in: New option `--no-recursive'.
1923         Improve wording for subpackages a bit.
1924         * doc/autoconf.texi (autoreconf Invocation): Updated.
1925         * NEWS: Updated.
1927         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
1928         in environment of `configure', not the command line.
1929         Reported by Howard Chu <hyc@highlandsun.com>.
1931 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
1933         * doc/autoconf.texi (Limitations of Builtins): Document the
1934         problem with "trap -".
1936 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
1938         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
1939         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
1940         messages to differentiate Fortran and Fortran 77 tests.
1941         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
1942         AC_LANG_ASSERT, to allow use in mixed-language projects.
1944 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
1946         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
1947         FOO" to "defined (FOO)".
1948         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
1949         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
1950         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
1951         * tests/tools.at (ifnames): Likewise.
1953 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1955         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
1956         * lib/Autom4te/General.pm (mktmpdir): Likewise.
1957         (END): Improve error message a bit.
1958         Reported by Bruce Korb <bkorb@gnu.org>.
1960 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1962         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
1963         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
1965 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
1967         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
1968         requires sys/stream.h.  Reported by Oliver Kiddle.
1970 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1971             Stepan Kasal  <kasal@ucw.cz>
1973         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
1974         before the removals of test dirs, use `find' to avoid modification
1975         of symlinked directories.
1977 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
1979         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
1980         Don't ignore the macro arguments.
1982 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
1984         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
1985         declaration that works for MSVC.
1987 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1989         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
1990         Add `*.map' and `.inf' for Green Hills compiler.
1991         Reported by Stefan Seefeld <stefan@codesourcery.com>.
1993         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
1994         correctly: pad with spaces after FIRST_PREFIX if necessary,
1995         and compute string lenghts with `m4_qlen' instead of `m4_len'.
1996         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
1997         * tests/m4sh.at (AS_HELP_STRING): Test extended.
1998         * NEWS: Updated.
1999         Reported by numerous people, numerous times.
2001 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
2003         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
2004         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
2005         * lib/autoconf/general.m4, lib/autoconf/status.m4:
2006         * lib/autotest/general.m4, tests/local.at:
2007         Update copyright year to 2006.
2009         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
2010         sed substitutions.
2011         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
2012         for file names, again.  Reported by Noah Misch.
2013         (Coding Style): Explain that s|a|b| is preferred for file names.
2014         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
2015         (AC_OUTPUT_MAKE_DEFS): Likewise.
2016         * lib/autotest/general.m4 (AT_INIT): Likewise.
2017         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
2018         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
2020         Fix Posix-conformance bugs re use of { command in sed scripts,
2021         and improve the sed-related documentation a bit.
2022         * doc/autoconf.texi (Installation Directory Variables): Use
2023         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
2024         rather than "sed" when talking about Sed in general.
2025         (Particular Programs): Likewise.
2026         (Coding Style): y is like s with respect to / and ,.
2027         (Limitations of Usual Tools): Document the weird restrictions
2028         that Posix has about { }.  Use better quoting.
2029         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
2030         Rewrite to conform to Posix rules about { } in sed scripts.
2031         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
2032         * tests/foreign.at (Libtool): Likewise.
2033         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
2034         Use our own style advice re 's,a,b,' versus 's|a|b|'.
2036 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2038         * lib/autoconf/status.m4: Fix typo.
2040         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2041         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
2042         `-def', for the benefit of Portland `pgf90 -Mipa'.
2043         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
2045 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
2047         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
2048         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
2049         shell from zsh to bash.
2051 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
2053         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
2054           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
2056 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
2058         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
2059         parentheses in $(...).  Problem reported by Eric Blake.
2061 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
2063         * doc/autoconf.texi (Limitations of Usual Tools):
2064         Mention which characters can be escaped with \ in portable regular
2065         expressions used in grep, sed, expr.  Mention the leading ^ problem
2066         with expr.  Clean up some confusing wording.  Mention which
2067         grep options are portable.
2069 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
2071         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
2073 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
2075         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
2076         patch, noted by Ralf Wildenhues.
2078 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2080         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
2081         posix' unconditionally, for pdksh in `native sh' emulation.
2083 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
2085         * doc/autoconf.texi (Shellology): Document eval $? problem
2086         with ash.
2087         (Limitations of Builtins): Likewise.
2089 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2091         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
2092         CONFIG_SHELL in the environment of the configure rerun.
2093         * doc/autoconf.texi (Here-Documents, config.status Invocation):
2094         Suggest passing CONFIG_SHELL absolute, and in the environment
2095         rather than as option.
2097 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2099         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
2100         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
2101         Fix macro quoting.  Fix output for n * 98 substituted variables.
2103 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2105         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
2106         `tmp' to avoid file removal race.
2108 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2110         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2111         ac_clean_files and LIBOBJS.
2113 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2115         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
2116         Factor functionality to..
2117         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
2118         `AC_SUBST($1)' in the public version.
2119         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
2120         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
2121         ac_pt_* variables.
2123 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
2125         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
2126         filesystems.
2128 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2130         * NEWS: Move AH_HEADER mention to right place.
2132 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
2134         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
2135         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2137 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
2139         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
2140         conftst2.$ac_objext.
2141         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2143 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
2145         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
2146         conftest.o, to see whether the compiler really obeys; rm the object
2147         file before and after the test and register it with ac_clean_files.
2148         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2150 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
2152         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
2153         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
2154         code so that the most common case requires less forks.
2156 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
2158         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
2159         not portable; thanks to Paul Eggert and Alexandre.
2161         * NEWS: Fix an old typo.
2163 2005-10-20  Jim Meyering  <jim@meyering.net>
2165         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
2166         the latter'', in two places.
2168 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
2170         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
2171         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
2172         the inner workings of AC_LANG_FUNC_LINK_TRY.
2173         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
2174         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
2175         by the function rather than ignoring it.
2176         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
2177         comparing its address.  Intel's interprocedural optimization was
2178         outsmarting the old heuristic.  Problem reported by
2179         Mikulas Patocka.
2181 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
2183         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
2185 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
2187         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
2188         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
2190 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
2192         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
2193         before removing it (chmod -R u+rwx); there are three instances of this.
2195 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2196             Stepan Kasal  <kasal@ucw.cz>
2198         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
2199         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
2200         make its content writable before removing it.  Remove an errorneous
2201         comment from the end, where the logs of the failed tests are copied
2202         to the main log file.
2204 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
2206         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
2207           in case the computer is too quick.  Double quote the configure.ac
2208           snippets.
2210         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
2211           problems if the testsuite were running too fast.
2213 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
2215         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2216         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2217         (which belong to Xt, not X itself).  See Debian bug 327655.
2218         * NEWS: Mention this.
2220 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
2222         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
2224 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
2226         * config/move-if-change: Don't output "$2 is unchanged";
2227         suggested by Ben Elliston.  Handle weird characters correctly.
2229 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
2231         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
2232           calls, so that the final expansion of this macro is shorter.
2233           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
2234           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
2235           the cleanup there.  Use AS_VAR_* macros, to be more general.
2236         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
2238         * lib/autoconf/general.m4: Use AS_IF where appropriate.
2240         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
2242 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
2244         * doc/autoconf.texi (Configuration Headers): Add an index entry
2245           for AH_HEADER.
2247 2005-08-26  Pavel Roskin  <proski@gnu.org>
2249         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
2250         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
2251         running xmkmf.
2253 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
2255         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2256         The previous patch didn't work, so try a better one.
2258 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
2260         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
2261         in the example.  Reported by Bruno Haible.
2262         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
2263         "if $undefined_var;" succeeds with my shell.
2265         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
2266         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
2267         but change the m4_divert_text to m4_divert_once.
2269 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
2271         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2272         Work around bug in Solaris /usr/xpg4/bin/awk.
2273         The bug is present in at least Solaris 8 through 10.
2275 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
2277         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
2278         some evil values and relying on the fact that $* concatenates the
2279         parameters by the first character from IFS.
2281 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
2282             Stepan Kasal  <kasal@ucw.cz>
2284         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
2285         first header appears, define AH_HEADER.
2286         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
2287         Update limitations about when to call AC_CONFIG_HEADERS.
2288         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
2289         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
2290         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
2291         ``Configuration Actions''; fix their index entries.
2293         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
2294         options correctly.  Process N-M as M-N if M is smaller than N.
2295         Process ranges correctly so that N-N will run only N.
2296         Sort and uniquify the tests that will be run.  If there is more
2297         than one test, reinsert the banners for the tests.
2298         * tests/autotest.at (Keywords): Unmark XFAIL.
2300 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
2302         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
2303           before passing the macro name to AH_TEMPLATE.
2305         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
2306           now opens log after option processing; in particular, --version
2307           and --help do not touch config.log.
2309         * Makefile.maint: Revert the change from 2005-08-12.
2311 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
2313         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
2314           common code to...
2315         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
2317 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2319         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
2320         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
2321         Language cleanup.
2323         * doc/autoconf.texi (Defining Symbols, Changed Results):
2324         Prepend to LIBS, not append, in examples.
2326 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
2328         When building in place, set srcdir="."; suggested by Tim Van Holder.
2330         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
2331           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
2332         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
2333         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
2334           does not mean "no --srcdir option".
2336 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2338         * tests/autoscan.at (autoscan): New file.
2339         * tests/suite.at: Use it.
2340         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
2341         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
2343         * tests/autotest.at (Keywords): Test keywords combinations.
2345 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
2347         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
2348           add "2>&1"; gzip 1.2.4 prints help on stderr.
2350 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
2352         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
2353         was pushdef'ed twice while popped only once.  Push it only once.
2354         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
2356 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
2358         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
2359         prefixed by mere "===", not "configure: === ".
2361 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
2363         * Makefile.maint: Update from Bison.
2365         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
2366         "<tab>" in comment, so that the point is understandable.
2368 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
2370         Rewrite substantial part of lib/autoconf/status.m4.
2371         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
2372         and CONFIG_COMMANDS are not processed in four separate loops.
2373         Instead, there is one main loop.  This alows that the common code
2374         is expanded only once, thus config.status (and configure) is smaller.
2376         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
2377         the AC_LIST_FILES and cousins macros are no longer used.
2379         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
2380         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
2381         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
2382         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
2383         contain the initialization, nor the for loop, nor the associated
2384         commands; all these go to ...
2385         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
2386         _AC_OUTPUT_CONFIG_STATUS.
2387         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
2388         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
2389         (_AC_OUTPUT_FILE): The creation of the sed script ...
2390         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
2391         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
2392         _AC_OUTPUT_MAIN_LOOP.
2393         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
2394         _AC_CONFIG_COMMANDS): Use ...
2395         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
2396         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
2397         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
2398         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
2399         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
2400         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
2401         ... new macros.
2402         (_AC_CONFIG_UNIQUE): Update.
2403         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
2404         Replaced by this ...
2405         (_AC_LIST_TAGS): ... new common macro.
2406         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
2407         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
2408         (_AC_LIST_TAG_COMMANDS): ... new common macro.
2409         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
2410         this didn't belong to the `config commands' section.
2411         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
2412         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
2413         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
2414         to the `config commands' section either.
2415         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
2416         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
2418         ... and many changes to the comments nearby.
2420         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
2421         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
2422         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
2423         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
2424         (#define header templates): The comment at the top of the generated
2425         header now includes the name(s) of the source file(s).
2427         Several unrelated small changes:
2429         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
2430         parameter to AC_DIAGNOSE.
2431         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
2432         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
2433         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
2434         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
2435         with AU::AC_OUTPUT.
2436         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
2437         in AC_OUTPUT doesn't double-quote it either.
2438         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
2439         parameters.
2441 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
2443         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
2444         versions of Portland Group compiler produce single- and double-quoted
2445         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
2446         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
2448 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
2450         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
2451         This is a corrected version of yesterday's patch.
2453 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
2455         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
2456         path, too; insert a "===" to emphasize the line.
2458         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
2459           ac_cv_build_alias to ac_build_alias.
2460         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
2462         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
2463         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
2464         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
2465         (AC_ARG_VAR): ... here.
2466         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
2467           target_alias.
2469         Keep a list of all precious variables and process them with one simple
2470         for loop, instead of expanding all commands, or, OTOH, complicated
2471         processing of output of "set".
2472         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
2473         variable names in new macro...
2474         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
2475         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
2476           a loop to assign all ac_env_* and ac_cv_env_* variables.
2477         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
2478           to INIT_PREPARE.
2479         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
2480           its value to shell variable ac_precious_vars and call
2481           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
2482         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
2483           _AC_ARG_VAR_VALIDATE.
2485         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
2486           and the AC_SUBSTs ...
2487         (AC_INIT): ... here.
2489         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
2490           the ac_subst_files section in config.log.
2492         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
2494 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
2496         * NEWS: New macro AC_C_TYPEOF.
2497         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
2498         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
2499         * tests/c.at (C keywords): Test AC_C_TYPEOF.
2501         Fix problems reported by Nicolas Joly.
2502         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
2503         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
2504         They are generated by the Tru64 v5.1B shell.
2506 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
2508         Fix my changes from 2005-07-01; reported by Noah Misch.
2509         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
2510         description, the macro now accepts only a single tag.
2511         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
2513         Fix cases when the varsions of Autoconf and Autotest don't match.
2514         Reported by Noah Misch.
2515         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
2516         at_top_builddir, for compatibility with older autotest.
2517         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
2518         is not set, use at_top_builddir, for compatibility with older
2519         versions of autoconf.
2521 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
2523         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
2524         Problem reported by Patrick Welche.
2526 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
2528         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
2529         sed substitution command, so that we allow | in program prefixes
2530         and program suffixes.  (& is a problem anyway; we're not fixing
2531         that here.)
2532         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
2533         configure_input, top_builddir, srcdir, etc.
2534         * lib/autotest/general.m4 (AT_INIT): Likewise, for
2535         PATH_SEPARATOR in AUTOTEST_PATH.
2537 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
2539         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
2540         for loop over config.site files using `set', to allow
2541         directory names containing IFS characters.
2543 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
2545         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
2546         directories with weird names.  Apparently some people like living
2547         on the edge.  However, improve the test that "pwd" actually does
2548         report a name for the working directory.
2549         * NEWS: Remove the claim that we test for funny chars in dir names.
2551 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
2553         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
2554         replaced ...
2555         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
2556         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
2557         Now accept a single tag, not whitespace separated list.
2558         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
2560 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
2562         * doc/autoconf.texi (Configuration Headers): Change the explanation
2563         about #include <config.h>.
2564         (Generic Functions): Mention the Gnulib project.
2565         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
2567         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
2568         document to output the default config_* lists to config.status.
2569         Don't recognize option --file, if the functionality is not there.
2570         Likewise for --header; moreover, recognize --he and --h as shortcuts
2571         for --help in that case.
2573         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
2574         matches the order of execution.  No code changed.
2576 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2578         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
2579         single-quoted -cmdline argument in Portland Group compiler.
2580         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
2582 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
2584         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
2586 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
2588         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
2589         descriptors to child processes; reported by Norman Gray.
2591 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
2593         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
2595         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
2596         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
2597         (AC_SUBST): Call it.
2598         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
2599         the directory specific variables; but don't call it for configure_input.
2601 2005-06-28  Derek Price  <derek@ximbiot.com>
2603         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
2604         addition.
2606 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
2608         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
2609         directory have inherent problems with special characters like spaces,
2610         due to limitations in Make syntax.  Problem reported by Alexandre
2611         Duret-Lutz.
2612         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
2613         Also, fix Tru64 porting problem with shell patterns,
2614         reported by Ralf Wildenhues.
2616 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2618         * doc/autoconf.texi (Subdirectories): Fix markup typos.
2620 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
2622         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
2624         Fix some more shell quoting problems.  Prompted by a bug report
2625         from Justace Clutter.
2626         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
2627         variable into diagnostic.  Make the diagnostic an error, not a warning,
2628         because we really don't support spaces and suchlike in dir names.
2629         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
2630         Don't worry about backslashes in srcdir; it can't happen now.
2631         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
2632         Simplify ac_optarg handling.
2633         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
2635 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
2637         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
2638         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
2639         * tests/atlocal.in: Propagate $EGREP and $SED.
2640         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
2641         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
2643         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
2644         that '\|' is not allowed in BREs; recommend using newline separated
2645         list of patterns instead of multiple -e options.
2647         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
2649         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
2651 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2653         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
2655 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
2657         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
2658         b, t, r, w commands require single space, while : cannot have any.
2659         (Special Shell Variables): Fix sed code this in the example.
2660         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
2661         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
2663         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
2664         expand to the empty list.  Don't use two pairs of m4_changequote,
2665         it's not necessary.
2667 2005-06-20  Derek Price  <derek@ximbiot.com>
2669         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
2671 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
2673         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
2674         * doc/autoconf.texi:
2675         Don't mention Solaris versions so much, if a
2676         problem is common to all extant versions of Solaris.  Say "SunOS
2677         4" instead of "SunOS" for SunOS 4.
2678         (awk): Mention more of the limitations of traditional Awk.
2679         (cat): Don't talk about cat -v.
2681 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
2683         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
2684         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
2685         but the implementation is entirely different and is designed
2686         to be compatible with glibc strverscmp.
2687         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
2689         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
2690         on Mac OS X 10.4 reported by Peter O'Gorman in:
2691         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
2692         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
2693         Use shell builtins rather than 'expr', to work around expr bug.
2695 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
2697         * doc/autoconf.texi: "filesystem" -> "file system".
2698         "behaviour" -> "behavior".
2699         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
2700         * lib/autoconf/general.m4: Omit blank after ":" sed command,
2701         as per POSIX.
2702         * lib/m4sugar/m4sh.m4: Likewise.
2703         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
2704         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
2706         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
2707         (.x.1): Ignore the time stamp in the .TH line when deciding whether
2708         to update the man page.  That way, we don't have to check in new
2709         man pages every month.
2711         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
2712         quotes and backslashes.  Patch from Derek Price.
2714 2005-06-10  Derek Price  <derek@ximbiot.com>
2716         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
2717         AS_TR_SH.
2719 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
2721         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
2722         -u, since it outputs chatter if the input files are the same.
2723         Problem reported by Ralf Menzel.
2725 2005-06-08  Derek Price  <derek@ximbiot.com>
2727         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
2728         renaming them since they are about to be redefined anyhow.
2730 2005-06-08  Derek Price  <derek@ximbiot.com>
2732         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
2733         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
2734         Move m4_undefine to alphabetical order.
2736 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
2738         * README: Recommend GNU M4 1.4.3 or later.
2739         * doc/autoconf.texi (Introduction): Likewise.
2740         Reword to avoid some formatting glitches.
2741         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
2742         Clarify explanation of HP compiler bug.
2743         Redo example output tp match current CVS snapshot.
2744         Use @example.org in email addresses when the examples
2745         might get inadvertently cut-and-pasted into user code.
2746         Remove example of autom4te usage that doesn't seem to work now.
2747         Use modern AC_INIT (except when the example is meant to be
2748         shown with Autoconf 2.13).
2749         Update ksh info for Solaris 9 and later.
2750         KB -> kB.
2751         Modernize description of Automake versions a bit.
2752         Don't claim a future version of Autoconf is near.
2753         * doc/install.texi: Reword to avoid some formatting glitches.
2755 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2757         * doc/autoconf.texi: Add [] to examples, so that the manual
2758         follows its own advice about quoting better.
2759         Reword to avoid some formatting glitches.
2760         * doc/installt.exi: Reword to avoid some formatting glitches.
2762         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
2763         Tru64 ksh pattern matching bug.  Reported against Libtool by
2764         Albert Chin <libtool@mlists.thewrittenword.com> and
2765         Nicolas Joly <njoly@pasteur.fr>.
2767 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
2769         m4_cdr of one-member list was [[]] (one-member list containing an
2770         empty string) instead of [] (an empty list.  Callers were skewed to
2771         match this misbehaviour.  As a consequence of this:
2772          - m4_foreach([x], [], [foo]) expanded to `foo', while
2773          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
2774         This bug has been fixed:
2776         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
2777           expand to an empty string; print error msg if called without
2778           an argument list.
2779         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
2780           misbehaviour; handle [] and [[]] correctly.
2782 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
2784         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
2785         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
2786           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
2788 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
2790         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
2791           swallow records with more than 99 fields.
2792         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
2793           parse the long line.
2795 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
2797         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
2798           swallow literals longer than 399.  Reported by Ralf Wildenhues.
2799         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
2800           to workaround this limitation.
2802 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
2804         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
2805         to gfortran, and make these the first two compiler names
2806         checked (following the general autoconf preference for gcc).
2808 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
2810         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
2811         (DISTCLEANFILES): Remove $(check_SCRIPTS).
2812         (testsuite): Make sure autotest.m4f is up-to-date before using it.
2814 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
2816         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
2817         expression of unbounded size when processing the --list
2818         option.  This runs afoul of a limit of 399 bytes per regular
2819         expression on AIX.  Problem reported by Ralf Wildenhues.
2821 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
2823         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
2824         * doc/autoconf.texi (Particular Headers): Reword example
2825         for multiline stdbool replacement.
2826         (Setting Output Variables): Reword text a bit.  Don't
2827         give all the details about |#_!!_#|.
2828         Reword description of line replacement.
2830 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
2832         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
2833         now contain newlines, and substituted files must be referenced on
2834         a line alone; the sed scripts to substitute them are now very
2835         different.
2836         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
2837         commands can be put in a sed script portably.
2838         * doc/autoconf.texi (Setting Output Variables): Document above
2839         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
2840         use of multiline substitution.
2841         * tests/torture.at: No longer expect substitution of newline to fail.
2843 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
2845         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
2846         From Ralf Menzel (trivial change).
2848 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
2850         * tests/local.at: Don't attempt to check for negated character
2851         classes in shell scripts.  The test was too brittle.
2853 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
2855         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
2856         * doc/autoconf.texi (Limitations of Builtins): Document this
2857           limitation.
2859 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
2861         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
2862           common code; used in many places in the tree.
2863         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
2864         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
2866         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
2868         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
2869           messages when ac_unique_file is not found.
2870         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
2871         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
2872           commands, for consistency with AC_MSG_ERROR and such.
2874         * bin/autoconf.as: Make more use of "shift 2" in option processing.
2876         * bin/Makefile.am: Merge the two rules for creating scripts.
2878 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
2880         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
2881         obsolete; it was never documented.
2882         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
2884 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
2886         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
2887         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
2888         (ac_top_builddir): ... this ...
2889         (ac_top_build_prefix): ... to this; the old name is also kept, for
2890           backward compatibility.
2891         (ac_top_builddir_sub): New variable, without the trailing slash,
2892           always nonempty.
2893         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
2894         * doc/autoconf.texi (Configuration Actions): Rename
2895           ac_top_builddir to ac_top_build_prefix.
2896         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
2897           at_top_builddir to at_top_build_prefix.
2898         * lib/autotest/general.m4 (AT_INIT): Likewise.
2900 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
2902         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
2903           of confdefs.h .
2905 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
2907         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
2908           argument to m4_foreach.  I guess it was necessary in the past,
2909           but I think it's a no-op now.
2911 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
2913         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
2914           ``cat <<_ACEOF'' commands to one.
2915         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
2916         * lib/autoconf/status.m4: On various places, use expr instead of
2917           ``echo|sed.''
2918         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
2919         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
2920         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
2921           a range.
2922         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
2923           the wrong patterns between ``case'' and ``esac.''  The previous
2924           code had false positives.
2926 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
2928         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
2929         as on 2005-05-02.
2930         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
2931         Mention LIBOBJDIR.
2933 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
2935         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
2936         ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
2937         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
2938         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
2939         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
2940         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
2941         config/config.guess, config/config.sub, config/elisp-comp,
2942         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
2943         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
2944         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
2945         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
2946         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
2947         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
2948         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
2949         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
2950         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
2951         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
2952         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
2953         lib/autoconf/general.m4, lib/autoconf/headers.m4,
2954         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
2955         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
2956         lib/autoconf/specific.m4, lib/autoconf/status.m4,
2957         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
2958         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
2959         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
2960         lib/autotest/general.m4, lib/emacs/Makefile.am,
2961         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
2962         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
2963         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
2964         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
2965         tests/compile.at, tests/foreign.at, tests/fortran.at,
2966         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
2967         tests/semantics.at, tests/suite.at, tests/tools.at,
2968         tests/torture.at, tests/wrapper.as:
2969         Update FSF postal mail address.
2971 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
2973         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
2974           check.
2975         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
2976           enough arguments, similarly as in m4_bpatsubsts.
2978 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
2980         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
2981           of absolute paths.
2983 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
2985         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
2986           for absolute directory names in one loop.
2987         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
2988           abbreviations of --version and --debug.
2990 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
2992         * doc/autoconf.texi (Autoconf Language): Be more precise about
2993         quoting rules.  Problems noted by Stepan Kasal.
2994         Also, throughout this document, be more careful about white space.
2995         "blank", "white space", and "space" all have different meanings
2996         and we should be careful to say what we mean.
2998 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
3000         Fix C++ related problems reported by Werner Lemberg.
3001         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
3002         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
3003         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
3004         avoid problems with C++ and throw.
3005         * tests/compile.at: .cpp, not .cc.
3007         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
3009 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3011         * doc/autoconf.texi (Generic Functions): Typos.
3013 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
3015         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
3016         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
3017         set by latest automake.
3019 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
3021         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
3022         outputs 0 on GNU/Linux these days.
3024 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
3026         * doc/autoconf.texi (Autoconf Language): Add more description
3027         about quoting heuristics.
3028         (Limitations of Builtins): Describe "set -" problems.
3030 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3032         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
3033         not newline.
3035         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
3036         by AC_DEFINE; it was a mistake.
3037         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
3039 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
3041         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
3043 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
3045         * doc/autoconf.texi (External Software): Quadrigraphs are not
3046           processed correctly in AS_HELP_STRING; avoid this in the examples.
3047         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
3048         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
3049           comment and reduce m4_default([foo], []) to [foo].
3050         (m4_strip): Update the explanation.
3052 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3054         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
3055         Remove core.conftest.* too; it's generated by Tru64 5.1.
3056         Problem reported by Jennis Pruett.
3057         * lib/autoconf/functions.m4
3058         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3059         Don't bother to remove core files; AC_RUN_IFELSE should do that
3060         for you.
3062 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
3064         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
3066 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
3068         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
3069         Report from Horst Wente.
3071 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
3073         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
3074           the comment.
3076 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
3078         * doc/autoconf.texi (External Software, Package Options): Add
3079           examples showing how to implement --with-* and --enable-* options.
3081 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
3083         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
3084         as well as configure.in.  Problem reported by Gregorio Guidi.
3086 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
3088         * doc/autoconf.texi (Particular Functions): Use gnulib's current
3089         pattern for alloca snippet.
3091 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
3093         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
3095 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
3097         * doc/autoconf.texi (Generic Programs): Fix a typo.
3099 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
3101         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
3102         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
3104 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3106         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
3107         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
3108         whole-archive (-zallextract, -zdefaultextract) options in the hope of
3109         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
3110         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
3112 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
3114         * NEWS: The configure command now warns you if you attempt to use
3115         a directory whose name contains a special character like space,
3116         newline, or "\".
3117         * doc/autoconf.texi (Installation Directory Variables): Allow
3118         "," in file names.  Do not use \@; it's not a portable regexp.
3119         * bin/Makefile.am (edit): Likewise.
3120         * lib/Makefile.am (edit): Likewise.
3121         * tests/Makefile.am (edit): Likewise.
3122         * tests/semantics.at: Likewise.
3123         * tests/torture.at: Likewise.
3124         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
3125         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
3126         * doc/autoconf.texi (File System Conventions): Warn about
3127         unportable file names.
3128         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
3129         (AC_INIT): Use it.
3130         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
3131         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
3132         ac_pwd, and quote srcdir.
3133         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
3135         * doc/autoconf.texi: Fix some systematic formatting problems.
3136         ".)"  needs a following @: if not at the end of a sentence, and
3137         similarly for "!)".  "etc." should be preceded by a comma.
3138         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
3140 2005-03-22  Bruno Haible  <bruno@clisp.org>
3142         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
3143         argument is often called 'build-aux'.
3145 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
3147         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
3148           macro AC_TRY_LINK is obsolete.
3149         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
3150           `AC_CONFIG_FILES'.
3152 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
3154         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
3155           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
3156           from a Common Lisp's `cl'.
3157         (AC_PROG_CXX): Behave according to the documentation: don't
3158           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
3159           make the variable CCC precious; use `cl.exe', not `cl'.
3161 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
3162             Alexandre Duret-Lutz  <adl@gnu.org>
3164         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
3165         /dev/null, as "configure" shouldn't read stdin, and this insulates
3166         us from problems (e.g., when testing for "cl").  Also, do this
3167         redirection before invoking "hostname" or "uname", and keep the
3168         original input stream available via...
3169         (AS_ORIGINAL_STDIN_FD): ... this new macro.
3170         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
3171         bother with "</dev/null" since it's now done at the top of
3172         'configure'.
3173         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
3174         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3175         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3176         * doc/autoconf.texi (File Descriptor Macros): New section.
3177         (Printing Messages): Mention it.
3178         * tests/base.at (Input/Output): New test.
3180 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
3182         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
3183         newline if neither \c nor -n work, as that would output two
3184         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
3186 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
3188         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
3189         This causes that any required macros inside will get before the if.
3190         * doc/autoconf.texi (autom4te.cache): A typo.
3192 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
3194         Undo previous change, except keep the change to
3195         lib/autoconf/programs.m4 that replaced grep with shell
3196         pattern-matching.  This is because net-snmp configure reads stdin.
3197         Reported by Noah Misch.
3199 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
3201         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
3202         from /dev/null, as "configure" shouldn't read stdin, and this
3203         insulates us from problems (e.g., when testing for "cl").
3204         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
3205         before invoking "hostname" or "uname".
3206         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3207         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
3208         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
3209         "</dev/null" since it's now done at the top of 'configure'.
3210         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3211         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3212         Also, replace grep with shell pattern-matching, to save a process.
3214 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
3216         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3217         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
3218         avoid thinking that Allegro Common Lisp's "cl" command is a C++
3219         compiler.
3221 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
3223         * doc/autoconf.texi (Limitations of Usual Tools): Document that
3224         grep -q isn't portable.  Improve grep -s explanation.
3225         Problem reported by Dan Manthey.
3227 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
3229         * doc/autoconf.texi (Special Shell Variables): Clarify
3230         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
3232 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3234         * doc/autoconf.texi: Use @acronym for DJGPP.
3235         Fix some @code's that should have been @env's, and vice versa.
3236         Sort environment variable names.
3237         Mention that shells no longer inherit IFS.
3238         Don't recommend PATH_SEPARATOR=';' so strongly.
3239         Mention that $RANDOM might expand to the empty string.
3240         "symlink" and "soft link" -> "symbolic link".
3241         Improve mktemp description (reported by Bruno Haible).
3243 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
3245         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
3246         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
3247         Likewise.
3248         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
3249         Likewise.
3251 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
3253         * NEWS: Mention AT_COPYRIGHT.
3255         * tests/local.at (AT_CMP): Use diff directly on input files rather
3256         than copying them.
3258         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
3259         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
3261 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
3262         and Paul Eggert  <eggert@cs.ucla.edu>
3264         * tests/autotest.at (Empty test suite): New test.
3265         * tests/torture.at (Substitute and define special characters)
3266         (Substitute a 2000-byte string, Define to a 2000-byte string)
3267         (Substitute a newline, Define a newline): New tests.
3269 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
3271         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
3272         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
3273         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
3274         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
3275         (Standard regular expressions): New test.
3276         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
3277         excess test name quoting.
3278         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
3279         CPPFLAGS to `configure' instead of setting it in `configure'.
3281         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
3282         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
3283         on some platforms.
3285         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
3286         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
3288         * tests/local.at (AT_CMP): New macro.
3289         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
3290         (AC_SAVE_STATE): Move environment grep...
3291         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
3292         (AT_CONFIG_CMP): New macro.
3293         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
3294         * tests/c.at (Extensions): Do not exit early.
3295         * tests/atlocal.in: Inherit $GREP.
3297         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
3298         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
3300         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
3301         (AC_COPYRIGHT): Factor header comment portion out and move into...
3302         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
3303         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
3304         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
3305         --version output.
3306         * tests/local.at: Add Autoconf test suite copyright notice.
3307         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
3309 2005-02-04  Bruno Haible  <bruno@clisp.org>
3310         and Paul Eggert  <eggert@cs.ucla.edu>
3312         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
3314 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
3316         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
3317         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
3319         Try not to generated lines of unlimited length, as POSIX places a
3320         2047-byte limit on line length of portable text files.
3321         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
3322         Use newline as a separator, not space.
3323         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
3324         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
3325         space.
3327 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3329         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
3330         as_func_*.  Add test to check whether positional parameters
3331         are restored after function return.
3333 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
3335         * doc/autoconf.texi (Special Shell Variables): Mention _,
3336         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
3337         if they contain a lower-case letter.  The DUALCASE problem was
3338         reported by Ralf Wildenhues.
3340         * bin/autoconf.as: Don't exit with status 0 after write failure
3341         with --help or --version.
3342         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
3343         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
3345 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3347         * doc/autoconf.texi (Limitations of Usual Tools):
3348         Unicos 9 sed limitations.
3349         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
3350         to get the option-enhanced interface on older Crays.  Try ftn for
3351         Fortran 95 (newer Crays).
3353 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
3355         * man/Makefile.am (.x.1): Go back to the simple solution, but take
3356         care to echo the commands, so the user knows what's going on.
3357         Modified from a suggestion by Stepan Kasal.
3359         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
3360         with a cross reference.  Derived from a suggestion by Bruce Korb.
3362 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
3364         * doc/autoconf.texi (config.status Invocation): Warn about
3365         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
3366         * doc/install.texi (Defining Variables): Likewise.
3367         Based on a proposed patch by Ralf Wildenhues.
3369         * man/Makefile.am (.x.1): Make sure the required generated files
3370         are up to date.  Problem and original solution proposed by Stepan Kasal.
3371         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
3372         implicit-man-prerequisites): New rules, used by the above.
3374         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
3375         * config/config.guess, config/config.sub, config/install-sh: Likewise.
3376         * config/missing, config/texinfo.tex: Likewise.
3378 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
3380         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
3381         Update the long comment explaining it.
3383         m4_require no longer writes an ``is required by'' line to the
3384         execution stack.  It contains only one bit of non-redundant
3385         information: that the macro was required, not called.  And even
3386         this bit is useless in most situations: have you ever met a macro
3387         which both calls and requires the same macro?
3389         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
3390         (_m4_defun_pro_outer): ... only via this macro, for the outermost
3391           macro.
3392         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
3393         (m4_expansion_stack_pop): Remove the misplaced comment.
3394         (m4_require): Don't put the ``is required by'' line to the
3395           execution stack; slightly improve the out-of-a-defun error message.
3396         (_m4_divert_grow): New macro, counter for the temporary diversions.
3397         (_m4_require_call): Use it.
3398         * tests/m4sugar.at (m4_require): Expect output without the
3399           ``is required by'' messages.
3401 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
3403         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
3404         rather than x for expr.
3406         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
3407         this is safe.
3408         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
3409         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3410         * lib/autotest/general.m4 (AT_INIT): Likewise.
3411         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
3412         * tests/mktests.sh: Likewise.
3414 2005-01-27  Akim Demaille  <akim@epita.fr>
3416         Have autoheader honor --force.
3418         * doc/make-stds.texi, doc/standards.texi: Update from masters.
3419         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
3420         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
3421         from masters, so that FileUtils.pm's update_file provide --force
3422         support.
3423         * bin/autoheader.in: Pass $force to update_file so that
3424         config.h.in is always recreated when --force.
3426 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
3428         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
3430 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
3432         * doc/autoconf.texi (Limitations of Builtins): Clarify that
3433         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
3435 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
3437         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
3438         Warn about newline stripping in `` and $().  Update Solaris
3439         version to 9.
3440         (Limitations of Builtins): Use expr "X...", not expr "x...", as
3441         X insulates us from future changes to Posix.
3442         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
3443         stripping.
3445 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
3447         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
3448           you cannot use AC_DEFINE to define macros containing `[' or `]'.
3450 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
3452         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
3453         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
3454         bug-tar mailing list.
3456 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
3458         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
3460 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
3462         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
3463         ulongval to be static, to avoid unwanted GCC warning.  Problem
3464         reported by Michael Jennings via Daniel Reed; see
3465         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
3467 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
3469         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
3470         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
3471         datadir, infodir, and mandir.  Adjust argument parsing code.
3472         (_AC_INIT_HELP): Update help text.
3473         * doc/autoconf.texi (Installation Directory Variables): Document
3474         new variables.
3476 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
3478         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
3479         not seem to work, assume it does set $(MAKE).
3480         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
3482 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
3484         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
3486 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
3488         A cleanup of the diversion support in m4sugar.
3490         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
3491         (_m4_divert_n_stack): New macro; the expansion is
3492           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
3493           otherwise.
3494         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
3495         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
3496           stored in _m4_divert_diversion or _m4_divert_dump.
3497         (m4_divert_pop): When the parameter is given, compare the symbolic
3498           name with the last diversion pushed on the stack.  Previously, the
3499           current diversion was compared with the numeric value of the
3500           diversion given as the parameter.
3501         (m4_require): If the macro hasn't been expanded yet, call ...
3502         (_m4_require_call): this new macro.
3504 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3506         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
3507         Workarounds for documented `case' limitations.
3509 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
3511         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
3512         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
3514 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
3516         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
3517         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
3518         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
3520         Patch from Roger Leigh (with some minor changes) as follows:
3521         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
3522         Resurrect AC_PROG_CC_STDC.
3523         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
3524         AC_PROG_CC_C89, AC_PROG_CC_C99.
3525         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
3526         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
3527         AC_PROG_CC_C99): New macros.
3528         (AC_PROG_CC_STDC): Use them.
3529         (_AC_PROG_CC_STDC): Remove.
3530         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
3531         * THANKS: Add Roger Leigh.
3533 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
3535         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
3536         signals that the package uses Automake; a `Makefile.am' is typical but
3537         not essential.  Reported by Magnus Therning.
3538         * tests/torture.at (autoreconf.): New banner.
3539         (autoreconf and non-AC configure): Rename to `Non-Autoconf
3540         AC_CONFIG_SUBDIRS'.
3541         (autoreconf an empty directory): Rename to `Empty directory'.
3542         (Unusual Automake input files): New test.
3544 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
3546         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
3547         (AT_SETUP): Clear AT_capture_files.
3548         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
3549         (AT_KEYWORDS): Fix comment typo.
3550         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
3551         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
3552         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
3554 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
3556         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
3557         If the variable to set is already set, set ac_cv_path_$1
3558         to the preset value so caller can assume ac_cv_path_$1
3559         is available.  (trivial change)
3561 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
3563         * BUGS (Minor Problems): Warn about makefile limitations.
3564         * Makefile.am: Find and update `INSTALL' in $(srcdir).
3565         * man/Makefile.am: Find and update manual pages in $(srcdir).
3567 2004-12-24  Eric Blake  <ebb9@byu.net>
3569         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
3570         shells in subshell, to avoid noise from ash.  (trivial change)
3572 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3574         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
3575         problems with SunOS ksh and backslash escaping, Bourne shells and
3576         closing brackets (both within character classes).  Bug reported
3577         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
3578         <read>: New entry.  Mention non-availability of -r.
3580 2004-12-21  Akim Demaille  <akim@epita.fr>
3582         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
3583         avoid cluttering displayed messages.  Rather, prepend srcdir where
3584         AT_LINE is used for log files.
3586 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
3588         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
3589         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
3590           no longer part of the macro, quote the occurrence of ``$tmp''.
3591         * doc/autoconf.texi (Forbidden Patterns): Typo.
3593 2004-12-21  Akim Demaille  <akim@epita.fr>
3595         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
3596         separated from the test title by forcing a white space.
3598 2004-12-21  Akim Demaille  <akim@epita.fr>
3600         Enable Emacs navigation within testsuite.log files.
3602         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
3603         use the compilation mode.
3604         (AT_LINE): Point to the srcdir.
3606 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
3608         * tests/Makefile.am (installcheck-local): Use $(bindir).
3609         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
3610         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
3611         Makefile.am scheme Autoconf now uses.
3613 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
3615         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
3616         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
3618 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
3620         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
3621         (_AT_CHECK): Use it.
3622         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
3623         (AS_ESCAPE): Fix comment.
3624         * tests/autotest.at: Adjust section banner comments.
3625         (AT_CHECK_AT): Accept STATUS and STDERR.
3626         (AT_CHECK_AT_TEST): Likewise.
3627         (Invalid brace-enclosed parameter expansion)
3628         (Multiline command from M4 expansion)
3629         (Double-M4-quoted command): New tests.
3631 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
3633         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
3635 2004-12-17  Akim Demaille  <akim@epita.fr>
3637         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
3638         m4_pattern_allow.
3639         Suggested by Alexandre Duret-Lutz.
3640         * doc/autoconf.texi (Setting Output Variables): Catch up.
3642 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
3644         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
3646 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
3648         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
3649           remove the comment which said we cannot.
3651 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
3653         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
3654         Reini Urban and Paul Eggert for reporting the dependencies.
3656         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
3657         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
3658         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
3660 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
3662         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
3663           so that eg. ``autoscan --help'' doesn't truncate it.
3665 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
3667         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3668         generated conftest files.
3670 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
3672         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
3673         tracing on commands with possibly-escaped newlines.
3674         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
3675         discontinued behavior and its implications.
3676         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
3677         (BSx641-newline in command, BS-BS-newline in command)
3678         (BSx640-newline in command, Newline-CODE-BS-newline in command)
3679         (Single-quote-BS-newline in command)
3680         (Single-quote-newline-BS-newline in command): New tests.
3682 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
3684         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
3685           on platforms where it works.
3686         (_AS_TEST_PREPARE): Test for ``test -x''.
3687         (_AS_BROKEN_TEST_PREPARE): Nuke.
3689 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
3691         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
3692         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
3693           give only 4-letter prefix to AS_TMPDIR, comment fixed.
3694         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
3695           create the temporary directory.
3696         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
3698 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
3700         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
3701         (trivial change)
3703 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
3705         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
3707 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
3709         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
3710         to avoid using a negated character class.  Reported by Nicolas Joly.
3711         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
3713 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
3715         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
3716         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
3717         Don't depend on .x file explicitly, since "make" does that for us.
3718         Suggested by Stepan Kasal.
3720         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
3721         Add *.tmp.
3722         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
3723         ifnames): Factor common code.  And they said it couldn't be done!
3725 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
3727         * bin/.cvsignore: Add autoconf.in.
3728         * tests/.cvsignore: Add wrapper.in.
3729         * lib/autotest/general.m4: Escape '$' in case pattern.
3731 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
3733         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
3735         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
3737         * tests/autotest.at: New file.
3738         * tests/suite.at: Include it.
3739         * tests/Makefile.am: Distribute it.
3741         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
3742           shell tracing on a command that could contain multiple lines.
3743         * doc/autoconf.text: Document that fact and its implications.
3744         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
3745         * tests/autotest.at (Multiline backquote command substitution,
3746           Multiline parameter expansion, Literal multiline command,
3747           Multiline parenthetical command substitution): Remove XFAIL.
3749 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
3751         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
3752         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
3754 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
3756         * configure.ac (test suite): Cease to generate wrapper scripts.
3757         * configure: Regenerate.
3758         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
3759         (m4f_dependencies): Adjust accordingly.
3760         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
3761         (wrapper.in): Generate it in the build directory.
3762         (MAINTAINERCLEANFILES): Delete wrapper.in.
3763         (CLEANFILES): Add wrapper.in.
3764         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
3765         the output.  Replace each $as_me with a @wrap_program@.
3766         * tests/wrapper.in: Delete it; we always build it.
3768         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
3769         (EXTRA_DIST): Remove autoconf.in.
3770         (CLEANFILES): Add autoconf.in.
3771         (autoconf): Find autoconf.in in the build directory.
3772         * bin/autoconf.in: Delete it; we always build it.
3774 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
3776         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
3777         PATH members so as to not prepend an empty element.  Move a comment.
3778         * Makefile.am (SUBDIRS): Build in `tests' last.
3779         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
3781 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
3783         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
3784         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
3785         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
3786         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
3788 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
3790         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
3791         patch: extra "-l"s.
3793 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
3795         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
3796         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
3797         * doc/autoconf.texi (Particular Functions): Mention new behavior.
3799 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
3801         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
3802           out the common code to ...
3803         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
3804           value of the #define--default to 1, iff the macro was called
3805           with exactly one parameter.
3807 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
3809         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
3810         "char c = '\200';" rather than "char c = 0x80;" as the
3811         latter doesn't conform to the strict C standard due to
3812         overflow on signed char hosts.
3814         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
3815         to -qlanglvl=ansi.  We don't want to disable extensions.
3817 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
3819         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
3820         (Using Autotest, testsuite Scripts, Writing testsuite.at):
3821         Reword slightly to avoid some English-language problems noted
3822         by Ralf Wildenhues in:
3823         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
3825 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
3827         * NEWS: Add ^L above each release.
3829 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
3831         Fix documentation problems reported by Russ Boylan in
3832         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
3833         along with some nearby cruft.
3834         * doc/autoconf.texi (Libtool): Libtool can be used without
3835         Automake (not without Autoconf).
3836         (Introduction): Mention lists.gnu.org.
3837         * BUGS: Don't mention bugs.gnu.org.
3838         Remove mention of ancient libtool compatibility problem.
3839         * NEWS: Mention that bugs.gnu.org is kaput.
3840         * README: Likewise.  Mention where mailing list archives can be found.
3842 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
3844         * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
3845         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
3847 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
3849         * doc/autoconf.texi (Pretty Help Strings): Go back to
3850         single-quoting assignments to cache variables.
3852 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
3854         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
3855         with the examples; fix the bug in MY_ARG_WITH example reported
3856         by Alexandre Duret-Lutz.
3857         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
3858         expansion of $1 in the comment emitted to configure.
3860 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
3862         * doc/autoconf.texi (Pretty Help Strings): Fix typo
3863         in my editing of the previous patch.  Problem reported
3864         by Alexandre Duret-Lutz.
3866 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
3868         * doc/autoconf.texi (Autoconf Language): Explain that
3869         ``descriptions'' may not be double quotes.
3870         (Quotation Rule Of Thumb): Likewise.
3871         (Pretty Help Strings): Likewise; remove the wrong comment;
3872         simplify the examples and improve their quoting.
3874 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
3876         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
3877         the $1_found variable, don't test whether the file is executable;
3878         Both things are checked ...
3879         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
3880         the former ``test -f''.
3881         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
3883 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
3885         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
3886         use cp -R instead.
3888 2004-11-10  Derek R. Price  <derek@ximbiot.com>
3890         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
3891         limitations.  Reorder paragraphs for clarity.
3893 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
3895         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
3896         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
3897         variants", "Unix", and some related minor wording fixups.
3899         (Shellology, Special Shell Variables): Document that the Zsh
3900         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
3901         to Alexandre Duret-Lutz for this info.
3903 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
3905         * doc/autoconf.texi (One-Shot Macros): New node.
3907 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
3909         * doc/autoconf.texi (Function Portability): Fix misdescription
3910         of putenv.  Problem reported by Michael Wardle.
3912 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
3914         * doc/autoconf.texi (auindex): New macro.
3915         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
3916         Problem reported by Stepan Kasal.
3918 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
3920         Fix problems reported by Andreas Buening in:
3921         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
3922         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
3923         in test makefile.
3924         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
3925         readable; it's not true in OS/2-emx.
3927 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
3929         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
3930         "/usr/include", clear ac_x_includes instead of leaving it as "no"
3931         (trivial change).  Problem and patch reported by Andrew Church in:
3932         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
3934 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
3936         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
3937         three args in examples.  Problem reported by Frederik Fouvry in:
3938         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
3939         Also, fix some minor spacing and punctuation bugs.
3941 2004-09-02  Akim Demaille  <akim@epita.fr>
3943         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
3944         "case" to restore ordering.
3945         Reported by Stepan Kasal.
3947 2004-08-26  Akim Demaille  <akim@epita.fr>
3949         * doc/autoconf.texi: Minor typos and stylos.
3951 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
3953         * configure.ac (AC_INIT): Bump to 2.59c.
3955 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
3957         Version 2.59b.
3959         * README: Add advice about m4 1.4.2.
3961         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
3962         texinfo.tex for now (done by hand now).
3963         * Makefile.maint (wget_files, cvs_files):
3964         Remove ansi2knr.c; nobody uses it.
3965         (ansi2knr.c-url_prefix): Remove.
3966         (cvs-update): Fix test for failure.  I don't know why it ever
3967         worked...
3969         * doc/autoconf.texi: Update URLs, some of which went stale.
3970         Use @uref rather than @href.
3972         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
3973         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
3975         * config/config.guess, config/config.sub, config/elisp-comp,
3976         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
3977         doc/fdl.texi, doc/standards.texi: Sync with master copy.
3979         * NEWS, TODO, configure.ac, bin/autoscan.in,
3980         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
3981         doc/install.texi, lib/Autom4te/Configure_ac.pm,
3982         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
3983         lib/autoconf/programs.m4, lib/autoconf/status.m4,
3984         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
3985         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
3986         tests/tools.at, tests/torture.at:
3987         Use "file name" rather than "filename" or "path",
3988         to be consistent with the terminology of the GNU coding standards.
3990 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
3992         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
3993         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
3994         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
3995         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
3997         More fixes to support spaces in the name of the build directory.
3998         This isn't a complete fix but it's an improvement.
4000         * bin/autoconf.as (autom4te_options): New var.
4001         Use it instead of appending to AUTOM4TE, so that we can allow
4002         spaces in the build directory's absolute name.
4003         * bin/autoheader.in ($autoconf): Allow spaces in file names.
4004         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
4005         AT_CHECK_NOESCAPE): Likewise.
4006         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
4007         main program): Likewise.
4009 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
4011         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
4012         From Ralf Corsepius in:
4013         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
4015 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
4017         * doc/autoconf.texi (Function Portability): Document isinf and
4018         and isnan.  From a suggestion by Kevin Ryde.
4020         * lib/Autom4te/General.pm (END): Return correct exit status even
4021         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
4023 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
4025         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
4026         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
4027         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
4029 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
4031         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
4032         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
4033         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
4034         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
4035         * lib/autom4te.in (Automake-preselections): Preselect
4036         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
4038 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
4040         * lib/autom4te.in (Automake-preselections): Preselect
4041         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
4042         trace them.
4044 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
4046         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
4047         Tru64.
4048         * doc/autoconf.texi (Shellology): Mention BIN_SH.
4049         Document problem with "`""`" in pdksh POSIX mode.
4051 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
4053         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
4054         with pdksh, too.  Problem reported by Patrick Welche via
4055         Gary V. Vaughan.
4056         * doc/autoconf.texi (Shellology): Note that set -o posix is
4057         useful for pkdsh, too.
4059 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
4061         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
4062         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
4063         Don't fail if ENV or BASH_ENV is readonly.
4064         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
4065         etc. are read only.  Problem reported by Ludovic Courtes.
4067 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
4069         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
4070         zsh, disable GLOB_SUBST to avoid backslash handling problems.
4071         (trivial change)
4073 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
4075         * doc/autoconf.texi (File System Conventions): Warn about
4076         names like "aux".  Problem reported by Eric Blake.
4078         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
4079         by zero instead of array size, so that we can use any arithmetic
4080         constant expression (instead of requiring an integer constant
4081         expression).  This allows us to test expressions like DBL_MAX <
4082         LDBL_MAX, which didn't conform to the C standard using the old
4083         method.
4084         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
4085         now that we can do floating-point tests at compile time.
4087 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
4089         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
4090         and LDBL_EPSILON, as the resulting expression isn't an
4091         integer constant expression and violates the C standard.
4092         Problem reported by Nelson H. F. Beebe.  Also, check
4093         for "L" suffix, and check that long double doesn't have
4094         worse range or precision than double, that mixed-mode
4095         arithmetic doesn't generate a diagnostic, that double
4096         constants fit in long double.
4098 2004-06-03  Kevin Ryde  <user42@zip.com.au>
4100         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
4101         malloc(0) and realloc(NULL,size).
4103         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
4104         Bob Proulx.
4106 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
4108         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
4109         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
4110         by Jim Meyering.
4112 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
4114         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
4115         can be rewritten using if-then-else.  Suggested by Bruno Haible.
4117 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
4119         * doc/autoconf.texi (testsuite Scripts): Fix typo.
4120         Problem reported by Stepan Kasal.
4122 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
4124         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
4125         change).  Patch reported by Ralf Wildenhues in
4126         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
4128         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
4129         function F exists if the compiler and linker let you compile an
4130         expression like (F != 0).  Recent versions of GCC optimize away
4131         the reference to F in that case, since every function address must
4132         be nonzero, so the link succeeds even if F does not exist.
4133         Problem reported by Manu in
4134         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
4136         * doc/autoconf.texi (Systemology): Standardize on the spelling of
4137         "Unix".  Many uses changed.
4138         (Limitations of Builtins): Explain better why the ! command isn't
4139         portable.
4141 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
4143         * lib/autom4te.in (Automake-preselections): Preselect
4144         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
4146 2004-05-19  Kevin Ryde  <user42@zip.com.au>
4148         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
4149         referencing AC_FUNC_STRERROR_R.
4151         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
4152         note pessimistic assumption when cross compiling.
4154 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
4156         * doc/autoconf.texi (Limitations of Make): Note that BSD make
4157         (until 2004) invoked subcommands with sh -e, contra POSIX.
4158         Reported by Kevin Ryde.
4160 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
4162         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
4163         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
4164         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
4165         `test -f "        /usr/bin/grep"', which _always_ failed.
4166         (AC_PROG_SED): Ditto bogus PATH fix.
4167         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
4168         requires that grep correctly supports _multiple_ `-e' options, rather
4169         than stating only that grep should accept `-e'.
4171 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
4173         Port to C99, which requires that 'exit' be declared.
4175         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
4176         to ensure that stdlib.h is included.
4177         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
4178         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
4179         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4180         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4181         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4182         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
4183         when using 'exit' in a test; C99 requires that 'exit' be declared.
4185 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
4187         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
4188         now prefers 'grep' implementations that accept -e.
4189         (Limitations of Usual Tools): Describe problems of traditional
4190         egrep and fgrep with long input lines, and of traditional grep
4191         with -e.
4192         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
4193         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
4194         All callers changed.  Append /usr/xpg4/bin to the PATH, for
4195         Solaris.
4196         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
4197         the user with complaints about multiple -e options.
4198         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
4199         Define it with AC_PROG_GREP.
4200         * configure.ac (AC_PROG_GREP): Add.
4201         * lib/freeze.mk (GREP): New macro.
4203 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
4205         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
4206         a possible candidate only after all others fail, rather than
4207         consulting it first.  This improves backward compatibility by
4208         better reflecting the way shell selection occurred in previous
4209         versions of Autoconf, and should help to avoid triggering latent
4210         problems in other packages, such as the one in Automake where zsh
4211         is not handled robustly:
4212         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
4213         Although it is not Autoconf's responsibility to work around
4214         problems in Automake, it nevertheless makes sense to avoid
4215         introducing unnecessary incompatibilites.
4217 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
4218             Gary V. Vaughan  <gary@gnu.org>
4220         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
4221         how deeply nested we are when a suitable tool is found, set the
4222         ac_path_TOOL_found flag.
4223         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
4224         nested we are in this macro.  Break out of all 3 nested loops if
4225         ac_path_TOOL_found is set.
4227 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
4229         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
4230         of the _AS_PATH_WALK loop too if GNU flavor is found.
4232 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
4234         * doc/autoconf.texi (Limitations of Make): Update documentation
4235         for `$<'.  New entry `Long lines', based on a report from Simon
4236         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
4237         paragraph about DJGPP, based on a mail from Richard Dawe.
4239 2004-04-20  Paul Eggert  <eggert@twinsun.com>
4241         * tests/c.at (C keywords): Don't assume that GCC supports
4242         "restrict" and "inline", as sufficiently-old GCC versions do not
4243         (also, GCC configured to be in pedantic C89 mode does not).
4244         Problem reported by Sumit Pandya in:
4245         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
4247         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
4248         consider -g to work if it generates warnings when plain compiles
4249         don't.  Problem reported by Braden McDaniel in:
4250         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
4252         * doc/autoconf.texi (Slashes): New section, to document a problem
4253         reported by Jim Meyering in:
4254         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
4256         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
4257         linker output files before linking, to work around IRIX 6 linker bug.
4258         Problem reported by Rainer Orth in:
4259         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
4261 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
4263         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
4264         best tool so far counter rely on the tool path variable name to
4265         avoid checks for one tool being affected by the results of running
4266         the length check on a previous tool.
4268         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
4269         match expression argument, as different greps have different
4270         regular expression flavours.
4271         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
4272         literals.
4273         (AC_PROG_EGREP): Pass 'EGREP$'.
4274         (AC_PROG_GREP): Pass 'GREP$'.
4276 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
4278         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
4279         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
4281 2004-03-29  Paul Eggert  <eggert@twinsun.com>
4283         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
4284         Types, Specific Compiler Characteristics, System Services,
4285         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
4286         etc. consistently instead of 'long', 'short', 'unsigned' etc.
4287         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
4288         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
4289         Likewise.
4290         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
4291         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
4292         AC_TYPE_OFF_T): Likewise.
4293         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
4294         Likewise.
4296         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
4297         pacify libtool 1.5.2.  Fix quoting problems in sed command.
4299 2004-03-28  Paul Eggert  <eggert@twinsun.com>
4301         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
4302         now defines HAVE_DECL_TZNAME if it is declared, when
4303         HAVE_STRUCT_TM_TM_ZONE is not defined.
4304         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
4305         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
4306         for HAVE_TZNAME.
4308 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
4310         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
4311         superfluous backslashing of quotes (") in sed expressions;
4312         thanks to Paul Eggert.
4314 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
4316         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
4317         Fortran compiler is ifort, also added pghpf; thanks to Nelson
4318         H. F. Beebe for the bug report.
4320 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
4322         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
4323         quoted -cmdline argument in Portland Group compiler (bug
4324         reported by Jeffrey J. Barteet).
4326 2004-03-25  Kevin Ryde  <user42@zip.com.au>
4328         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
4329         (Run Time): ... here, where it's now mentioned.
4331 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
4333         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
4334         inherits from language Autoconf-without-aclocal-m4.
4335         (Customizing autom4te): Adjust example; the cache must now be
4336         disabled for language Autoconf-without-aclocal-m4.
4338 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
4339             Nathanael Nerode  <neroden@twcny.rr.com>
4341         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
4342         AC_CHECK_TOOLS): Warn if a cross-tool is found without
4343         a prefix.
4344         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
4345         AC_CHECK_TARGET_TOOLS): New macros.
4346         * doc/autoconf.texi (Generic Programs): Document
4347         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
4348         AC_CHECK_TARGET_TOOLS, and warn for future changes
4349         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
4350         AC_CHECK_TOOLS.
4351         (Specifying Names): Document the reason for these future
4352         behavioral changes.
4353         * tests/mktests.sh: Do not generate tests for the
4354         new macros.
4355         * NEWS: Document these changes.
4357         * doc/autoconf.texi: Avoid macros with unbraced arguments,
4358         they make TeX hang up.
4360 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
4362         * NEWS: New macro AC_CHECK_ALIGNOF.
4363         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
4364         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
4365         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
4366         vowel.
4367         (AC_CHECK_ALIGNOF): New macro.
4368         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
4369         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
4370         those for sizeof.
4372 2004-03-03  Paul Eggert  <eggert@twinsun.com>
4374         * bin/Makefile.am (edit): Don't use $< in a context where
4375         POSIX doesn't require support for it.  Use $@.in instead.
4376         Problem reported by Anthony N. Frasso in
4377         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
4378         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
4380 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
4382         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
4383         from the next generation of Libtool.
4384         * lib/autom4te.in (Autoreconf-preselections): Ditto.
4386 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
4388         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
4389         is not always thread-safe.  Report from Nathanael Nerode.
4391 2004-02-18  Paul Eggert  <eggert@twinsun.com>
4393         Fix a dependencies problem, stemming from a Autoconf 2.59 build
4394         problem on QNX reported by Stephen Rasku in
4395         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
4397         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
4398         $(m4sh_m4f_dependencies); this removes a FIXME.
4399         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
4400         (MAINTAINERCLEANFILES): Split into pieces,
4401         one per related section.  Add $(srcdir)/wrapper.in.
4403 2004-02-09  Paul Eggert  <eggert@twinsun.com>
4405         * doc/autoconf.texi (Setting Output Variables): Emphasize that
4406         AC_SUBST provides no portable way to escape literal newlines.
4408         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
4409         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
4410         Darwin uses -lcrt2.o and there's little point to cataloging all
4411         the system variants.  Partial fix reported by Andreas Waechter in:
4412         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
4413         for bug reported by Nelson H. F. Beebe in:
4414         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
4416 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
4418         * doc/autoconf.texi (AU_DEFUN): Fix English,
4419         suggested by Paul Eggert.
4420         * lib/autoconf/autoupdate.m4: Correct reference to
4421         acobsolete.m4, suggested by Alexandre Duret-Lutz.
4423 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
4425         * bin/autoupdate.in: Define __file__ so that warnings
4426         refer to the correct file.
4427         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
4428         the behavior of the third argument.
4429         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
4430         correctly the behavior of the third argument.  Document
4431         what the three macros that AU_DEFUN defines do.  Fix
4432         warning message when the third argument includes $0
4433         (reported by Alexandre Duret-Lutz).
4435 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
4436             Eric Sunshine  <sunshine@sunshineco.com>
4437             Paul Eggert  <eggert@twinsun.com>
4439         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
4440         (AS_INIT): Output shell initialization there. Removed optional
4441         parameter. Expand _AS_SHELL_FN_SPY.
4442         (AS_INIT_WITH_SHELL_FN): Removed.
4443         (_AS_SHELL_FN_SPY): New macro.
4444         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
4445         macros.
4446         (AS_SHELL_SANITIZE): Remove loop to find better shell
4447         and documentation for the parameter.
4448         (_AS_DETECT_BETTER_SHELL): Move it here.
4449         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
4450         (_AS_RUN): Move it here, support testing with eval.
4451         (AS_REQUIRE_SHELL_FN): Require shell functions when
4452         it is used.
4453         (_AS_LINENO_WORKS): Put around braces, we do not
4454         trigger the bash bug anymore.
4455         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
4456         use AS_INIT_WITH_SHELL_FN.
4457         * bin/autoconf.in, tests/wrapper.in: Regenerated.
4459 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
4461         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
4462         * doc/autoconf.texi: Don't say that the third parameter
4463         is broken.
4464         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
4465         (AU_DEFUN): Honor the third parameter, create autoupdate
4466         macros with AU_DEFINE.
4467         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
4468         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
4469         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4470         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
4471         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
4472         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
4473         AC_XENIX_DIR): Likewise.
4474         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
4475         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
4476         * lib/autoconf/status.m4: Remove FIXME.
4477         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
4478         that the macro is not present anymore in the updated
4479         configure.ac.
4480         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
4481         of autoupdate.
4483 2004-01-28  Paul Eggert  <eggert@twinsun.com>
4485         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
4486         copyright years.
4487         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
4488         2003 (except 1997) to the list of copyright years.  This undoes
4489         the 2003-05-22 change, which removed the older years from the list.
4490         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
4492 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
4493             Albert Chin-A-Young  <china@thewrittenword.com>
4495         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
4496         grep or ggrep program in PATH that accepts as long lines as
4497         possible.
4498         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
4499         AC_PROG_GREP.
4500         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
4501         egrep and fgrep respectively if $GREP -E/-F don't work.
4502         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
4503         _AC_PROG_GREP, and AC_PROG_SED.
4504         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
4505         longest input length accepted by a command.
4506         (AC_PROG_SED): Use it.
4507         * doc/autoconf.texi (Particular Programs): Document the changes.
4508         * NEWS: Updated.
4510 2004-01-27  Paul Eggert  <eggert@twinsun.com>
4512         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
4513         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4514         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
4515         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
4517         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
4518         bin/autoconf.in, config/Makefile.in, config/config.guess,
4519         config/config.sub, config/install-sh, config/mdate-sh,
4520         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
4521         lib/Makefile.in, lib/Autom4te/Makefile.in,
4522         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
4523         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
4524         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
4525         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
4526         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
4527         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
4528         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
4529         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
4530         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
4531         tests/actypes.at: Regenerate and/or sync with original
4532         sources.
4534 2004-01-26  Paul Eggert  <eggert@twinsun.com>
4536         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
4537         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
4538         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
4539         not <inttypes.h>.  Problem reported by Tim Mooney in
4540         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
4541         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
4542         Likewise.
4544         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
4545         otherwise "make check" fails because it forbids cmp (I guess
4546         because cmp treats files as binary on DOS-like systems).
4548         * tests/mktests.sh: Update copyright date to 2004, since some tests
4549         have changed in 2004.
4551 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
4553         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
4554         non-truncating sed or gsed program in PATH.
4555         * tests/acprograms.at: Add it.
4556         * doc/autoconf.texi (Particular Programs): Document it.
4557         * NEWS: Updated.
4559 2004-01-15  Paul Eggert  <eggert@twinsun.com>
4561         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
4562         -std1 disables some useful extensions on Tru64.  Problem reported
4563         by N. Lichtmaier in
4564         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
4566 2004-01-14  Paul Eggert  <eggert@twinsun.com>
4568         * doc/autoconf.texi (Programming in M4sh): Document that
4569         AS_MKDIR_P succeeds if the destination is a symbolic link
4570         to an existing directory.
4571         (Limitations of Usual Tools): Note that mkdir -p might not
4572         succeed on symlinks to directories.
4574 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
4576         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
4577         * bin/autoheader.in: Grammar fix in message.
4578         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
4579         Test for dir before calling mkdir -p.  (trivial changes)
4581 2004-01-13  Eric Blake  <ebb9@byu.net>
4583         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
4584         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
4586 2004-01-10  Jim Meyering  <jim@meyering.net>
4588         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
4590 2004-01-09  Paul Eggert  <eggert@twinsun.com>
4592         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
4593         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
4594         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
4595         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
4596         AC_COMPILE_IFELSE, since we now assume our caller invokes
4597         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
4598         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
4599         of AC_RUN_IFELSE; this avoids the warning mentioned above.
4600         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
4602 2004-01-07  Paul Eggert  <eggert@twinsun.com>
4604         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
4605         `"'...'"`, as it's confusing (and I suspect it may not work on
4606         some platforms).  The code was incorrect anyway, as it assumed
4607         that \$ evaluated to itself in that context.  Reported by
4608         Alexandre Duret-Lutz.
4610 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
4612         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
4613         and _LT_AC_TAGCONFIG.
4615 2004-01-06  Paul Eggert  <eggert@twinsun.com>
4617         * doc/autoconf.texi (One Macro Call): Fix an incorrect
4618         example, and add more examples.  Reported by Eric Sunshine.
4620 2004-01-05  Paul Eggert  <eggert@twinsun.com>
4622         * doc/autoconf.texi (Limitations of Usual Tools):
4623         Remove warning against "rm -fr" introduced yesterday; it
4624         was a false alarm.
4626         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
4627         autoscan, autoupdate, ifnames): Don't use chmod -w.
4628         * lib/Makefile.am (autom4te.cfg): Likewise.
4629         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
4630         "chmod -w".
4632 2004-01-04  Paul Eggert  <eggert@twinsun.com>
4633             Paolo Bonzini  <bonzini@gnu.org>
4635         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
4636         by doing lineno substitution only on lines containing "$LINENO".
4638 2004-01-04  Paul Eggert  <eggert@twinsun.com>
4640         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
4641         Use "rm -f" to remove conftest.sed, not plain "rm".
4642         Bug reported by David Relson in
4643         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
4645         * Makefile.am (autom4te-update):
4646         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
4647         * Makefile.maint (my-distcheck, do-po-update): Likewise.
4648         * doc/autoconf.texi (Guidelines): Likewise.
4649         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
4650         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
4651         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4652         * lib/autotest/general.m4 (AT_INIT): Likewise.
4653         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
4654         * tests/Makefile.am (clean-local): Likewise.
4655         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
4656         srcdir): Likewise.
4657         * doc/autoconf.texi (Limitations of Usual Tools):
4658         Warn against "rm -fr".
4660 2004-01-03  Paul Eggert  <eggert@twinsun.com>
4662         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
4663         -c -o might not work.  From a suggestion by Kevin Ryde.
4664         (C Compiler, Generating Sources, Limitations
4665         of Usual Tools, Limitations of Make, Making testsuite Scripts):
4666         Don't put '-o' after non-options, as POSIX doesn't allow this.
4667         Mention that cc's name might be gcc or c89 or whatever.
4669 2004-01-04  Kevin Ryde  <user42@zip.com.au>
4671         * doc/autoconf.texi: Add various further index entries.
4673 2003-12-29  Paul Eggert  <eggert@twinsun.com>
4675         * bin/autoreconf.in (autoreconf_current_directory):
4676         Fix typo: mkdir without umask arg.
4678 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
4680         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
4681         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
4682         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
4683         explanation clearer.
4685 2003-12-24  Andreas Schwab  <schwab@suse.de>
4687         * doc/autoconf.texi (Default Includes): Fix misspelling of
4688         AC_INCLUDES_DEFAULT.
4690 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
4692         * configure.ac: Test if sh -n works.
4693         * configure: Regenerate.
4694         * tests/atlocal.in: Store the result here.
4695         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
4696         tools.at, looking in atlocal's ac_cv_sh_n_works instead
4697         of explicitly testing.
4698         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
4699         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
4700         * tests/tools.at (Syntax of the shell scripts): Simplify
4701         using AT_CHECK_SHELL_SYNTAX.
4702         (Syntax of the Perl scripts): Remove definition of
4703         AT_CHECK_PERL_SYNTAX.
4705 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
4707         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
4708         stderr to /dev/null.
4709         * bin/autoconf.in: Regenerate.
4710         * bin/wrapper.in: Regenerate.
4712 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
4714         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
4715         Extracted from AS_SHELL_SANITIZE.
4716         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
4717         macros.
4718         (AS_SHELL_SANITIZE): Move reinvocation code from
4719         _AS_LINENO_WORKS, use it to find out if shell
4720         functions work.
4721         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
4722         does not work.
4723         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
4724         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
4725         was called.
4726         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
4727         * bin/autoconf.in: Regenerate.
4728         * tests/wrapper.in: Regenerate.
4729         * tests/tools.at: Test the syntax of tests/autoconf
4730         and tests/testsuite.
4732 2003-11-24  Akim Demaille  <akim@epita.fr>
4734         * config/announce-gen (&print_locations, &print_signatures)
4735         (&sizes): New.
4736         Use them.
4737         No longer rely on Gnus to inline the list of signatures: compute
4738         them on the fly.
4740 2003-11-24  Akim Demaille  <akim@epita.fr>
4742         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
4743         override some files.
4744         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
4745         From Debian Autoconf 2.58.
4747 2003-11-24  Akim Demaille  <akim@epita.fr>
4749         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
4750         uses.
4751         From Debian Autoconf 2.58.
4753 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
4755         * TODO: Remove already done things.  Update the part about finding
4756         tools for the target.
4758 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
4760         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
4761         Make wording more consistent.
4762         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4763         Explain the transition better.
4764         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
4765         the transition better.
4767 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
4769         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
4770         parameter of AU_DEFUN.
4771         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
4772         (AU_DEFUN): Remove the third parameter, it was not used.
4773         Use AC_DEFUN directly, not AU_DEFINE.
4774         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
4775         the expanded body, consistently with other macros such as AC_USG.
4777 2003-11-17  Paul Eggert  <eggert@twinsun.com>
4779         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
4780         into the initial confdefs.h, to work around a bug in NextStep 3.3
4781         patch 3 reported by Eric Sunshine.
4783 2003-11-15  Kevin Ryde  <user42@zip.com.au>
4785         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
4786         than $target since the latter is not usual, add guidelines on when to
4787         use or not use the system type.
4789 2003-11-12  Derek Price  <derek@ximbiot.com>
4791         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
4792         typo misrepaired by an auto-spellcheck.
4794 2003-11-12  Akim Demaille  <akim@epita.fr>
4796         * bin/autoreconf.in (&parse_args): Don't call automake with
4797         --force-missing unless it actually supports it.
4798         From Debian #219336.
4800 2003-11-12  Akim Demaille  <akim@epita.fr>
4802         * configure.ac: Bump to 2.59a.
4803         Require 2.59.
4805 2003-11-06  Akim Demaille  <akim@epita.fr>
4807         Version 2.59.
4809 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
4811         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
4812         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
4813         and ac_abs_top_srcdir are absolute paths.
4814         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
4816 2003-11-05  Akim Demaille  <akim@epita.fr>
4818         * configure.ac: Bump to 2.58a.
4820 2003-11-05  Kevin Ryde  <user42@zip.com.au>
4822         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
4823         it provokes a warning from makeinfo about looking like a cross
4824         reference in info output.
4826         * doc/autoconf.texi (Function Portability): Add notes on signal
4827         handler return type, as per AC_TYPE_SIGNAL.
4829 2003-11-04  Akim Demaille  <akim@epita.fr>
4831         Version 2.58.
4832         * doc/standards.texi: Update from master.
4834         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
4836 2003-11-04  Akim Demaille  <akim@epita.fr>
4838         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
4839         computing the absolute path to d1 in the source hierarchy: it may
4840         not exist at all.  So don't cd into it.
4841         From Alexandre Duret-Lutz.
4842         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
4844         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
4845         From Paul Eggert, but named after Perl's IO::Spec->catfile.
4846         * doc/autoconf.texi (Programming in M4sh): Document.
4847         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
4849 2003-11-03  Pavel Roskin  <proski@gnu.org>
4851         * doc/autoconf.texi (Generic Structure Checks): Describe
4852         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
4854 2003-10-31  Akim Demaille  <akim@epita.fr>
4856         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
4857         (GNU Fortran): New.
4858         * doc/autoconf.texi (Language Choice): Document.
4859         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
4860         the current language is Fortran.
4862 2003-10-31  Akim Demaille  <akim@epita.fr>
4864         * bin/autom4te.in (&freeze): Use a less likely warning separator
4865         than `\n\n', so that `\n\n\n' is valid in warnings.
4866         Reported by Steve Huston.
4868 2003-10-28  Akim Demaille  <akim@epita.fr>
4870         * Makefile.cfg (local_updates, executable-update): Tweak to be
4871         robust to parallel makes.
4872         Suggested by Alexandre Duret-Lutz.
4874 2003-10-27  Akim Demaille  <akim@epita.fr>
4876         * Makefile.cfg (executable-update): New.
4877         (local_updates): Call it.
4879 2003-10-27  Akim Demaille  <akim@epita.fr>
4881         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
4882         Don't remove core.* as it may remove valid user files.
4883         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
4884         (AC_FUNC_UTIME_NULL): Likewise.
4886 2003-10-23  Akim Demaille  <akim@epita.fr>
4888         Version 2.57g.
4889         * config/config.guess, config/config.sub: Upgrade from masters.
4891 2003-10-23  Akim Demaille  <akim@epita.fr>
4893         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
4894         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
4895         hand...
4897 2003-10-23  Akim Demaille  <akim@epita.fr>
4899         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
4900         Don't forget to remove conftest.err.
4902 2003-10-23  Akim Demaille  <akim@epita.fr>
4904         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
4905         same object file in $LIBOBJS.
4906         Reported by Alexandre Duret-Lutz & Derek Robert Price.
4907         * doc/autoconf.texi (Generic Functions): Adjust.
4909 2003-10-20  Paul Eggert  <eggert@twinsun.com>
4911         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
4912         Use 'eval', so that the resulting configure scripts work even if
4913         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
4915 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
4917         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
4918         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
4919         (_AC_LINK_IFELSE): Check the werror flag.
4920         * doc/autoconf.texi (Generic Compiler Characteristics): Document
4921         AC_LANG_WERROR.
4922         * NEWS: Mention it.
4924 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
4926         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
4927         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
4928         override AC_LINK_IFELSE.
4930 2003-10-15  Paul Eggert  <eggert@twinsun.com>
4932         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
4933         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
4934         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
4935         Mention /usr/dt/bin/dtksh on Solaris.
4936         (Shell Substitutions): Warn about $((...)).
4937         (Parentheses): New section.
4939 2003-10-15  Kevin Ryde  <user42@zip.com.au>
4941         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
4942         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
4944 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
4946         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
4947         cross test.
4949 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
4951         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
4952         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
4954 2003-10-10  Andreas Schwab  <schwab@suse.de>
4956         * bin/autoheader.in: Avoid empty first line in --version and
4957         --help output.
4958         * bin/ifnames.in: Likewise.
4960 2003-10-09  Paul Eggert  <eggert@twinsun.com>
4962         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
4963         Issue a more-informative diagnostic.
4964         Problems reported by Eric Sunshine.
4966 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
4968         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
4969         -mGLOB_options_string stuff for Intel ifc, which can cause
4970         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
4971         pattern-matching instead of grep.
4973 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
4975         * doc/autoconf.texi: Document new FC Fortran macros.
4977 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
4979         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
4980         that future autopoint/aclocal/automake/autoreconf will be able
4981         to trace to find where to install local m4 macros.
4982         * doc/autoconf.texi (Input): Document it.
4983         * NEWS: Updated.
4985 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
4987         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
4988         -lcrtbegin.o to list of ignored flags and fix underquoting of
4989         -lcrt[01].o.
4991 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
4993         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
4994         cache variable instead of $G77 to decide whether to include -O2,
4995         since $G77 is specific to Fortran 77.
4997 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
4999         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
5000         free" flag.  Re-order flags tested into rough order of popularity.
5002 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
5004         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
5005         arguments so that it can be used with syntax identical to
5006         AC_PROG_F77, and so that we can more easily decide to
5007         remove/deprecate the DIALECT optional argument in the future if it
5008         proves troublesome.
5009         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
5010         non-freeform-supporting compilers.  Document freeform flags.
5012 2003-10-03  Akim Demaille  <akim@epita.fr>
5014         * configure.ac: Look for emacs, not macs.
5015         Reported by Eric Sunshine.
5017 2003-10-03  Akim Demaille  <akim@epita.fr>
5019         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
5020         * bin/autoreconf.in (autoreconf_current_directory): Create the
5021         AUX_DIR if needed, for sake of automake --add-missing etc.
5022         Suggested by Alexandre Duret-Lutz.
5024 2003-10-03  Akim Demaille  <akim@epita.fr>
5026         * configure.ac: Quotation and formatting changes.
5027         (EMACS): Don't set it if it is not recent enough to support
5028         autoconf-mode.el.
5029         From Eric Sunshine.
5031 2003-10-02  Akim Demaille  <akim@epita.fr>
5033         * bin/ifnames.in (&scan_file): Skip C++ comments.
5034         From Jeremy Yallop.
5036 2003-10-01  Pavel Roskin  <proski@gnu.org>
5038         * doc/autoconf.texi (Particular Structure Checks):
5039         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
5041 2003-10-01  Akim Demaille  <akim@epita.fr>
5043         Version 2.57f.
5045 2003-09-30  Paul Eggert  <eggert@twinsun.com>
5047         * lib/Autom4te/XFile.pm: Use Errno.
5048         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
5049         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
5051 2003-09-30  Akim Demaille  <akim@epita.fr>
5053         * config/announce-gen (&print_news_deltas): Extracted from...
5054         (&print_changelog_deltas): here.
5055         (&news_file): Rename as...
5056         (@news_file): this.
5058 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
5060         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
5061         have been created when invoking the compiler.
5062         * tests/fortran.at (GNU Fortran 77): Quote $G77.
5064 2003-09-29  Akim Demaille  <akim@epita.fr>
5066         Version 2.57e.
5068         * config/mkinstalldirs: Upgrade.
5070 2003-09-28  Paul Eggert  <eggert@twinsun.com>
5072         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
5073         Problem reported by Lars J. Aas in
5074         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
5075         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
5076         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
5077         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
5079 2003-09-26  Akim Demaille  <akim@epita.fr>
5081         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
5082         directory for AC_CONFIG_COMMANDS' first argument exists.
5083         This makes valid the invocation of _AC_SRCPATH that follows.
5084         Reported by Eric Sunshine.
5085         * doc/autoconf.texi (Configuration Commands): Adjust.
5087 2003-09-26  Akim Demaille  <akim@epita.fr>
5089         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
5090         Reported by Ralf Corsepius.
5092 2003-09-26  Akim Demaille  <akim@epita.fr>
5094         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
5095         arguments.
5096         Actually, use AU_ALIAS.
5097         From Bruno Haible.
5099 2003-09-26  Paul Eggert  <eggert@twinsun.com>
5101         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
5102         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
5103         Problem reported by Eric Sunshine in:
5104         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
5106 2003-09-26  Akim Demaille  <akim@epita.fr>
5108         The test suite are sometimes assigning timings incorrectly.
5109         Reported by Henk Krus.
5110         Diagnosed by Nicolas Joly.
5112         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
5113         AT_help_all.
5114         Instead of making AT_help a sequence of assignments to grow
5115         $at_help_all, just make AT_help_all be the growing contents of
5116         $at_help_all, and make a single assignment in...
5117         (AT_INIT): here.
5118         (at_times_skip): Flip the meaning and rename as...
5119         (at_times_p): this.
5120         (AT_INIT): When summarizing the test that ran, remove
5121         $at_times_file after use, and check it is present before trying to
5122         use it.
5124 2003-09-25  Akim Demaille  <akim@epita.fr>
5126         Version 2.57d.
5128         * bin/Makefile.am (edit): Handle '@configure_input@'.
5129         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
5130         (ifnames): chmod -w.
5131         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
5132         executables, not bin/ executables!  Otherwise all the magic needed
5133         to find non installed files is turned off.  This caused a failure
5134         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
5135         as found in its environment (sent by tests/autoreconf): pointing
5136         to bin/autom4te that could not find its files.
5137         * tests/mktests.sh: Force the replacement of generated files, for
5138         the sake of "mv" program that are interactive when overwriting a
5139         -w file.
5140         * config/install-sh: Upgrade from CVS Automake.
5142 2003-09-23  Paul Eggert  <eggert@twinsun.com>
5144         * doc/autoconf.texi (Limitations of Builtins): Document test -h
5145         versus test -L issues.
5147 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
5148             Paul Eggert  <eggert@twinsun.com>
5150         Trivial change to support GCC's configuration procedure.
5151         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
5152         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
5153         about inconsistency if the preprocessor is set to give errors for
5154         any warning.
5155         * doc/autoconf.texi (C Compiler Characteristics): Document this.
5157 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
5159         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
5160         and XFile.pm from Automake.
5161         * lib/Autom4te/XFile.pm: Update from Automake.
5163 2003-09-12  Akim Demaille  <akim@epita.fr>
5165         Version 2.57c.
5167 2003-09-12  Akim Demaille  <akim@epita.fr>
5169         * config/config.guess, config/config.sub, config/missing,
5170         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
5171         from masters.
5173 2003-09-12  Akim Demaille  <akim@epita.fr>
5175         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
5176         not asm/types.h.
5178 2003-09-11  Akim Demaille  <akim@epita.fr>
5180         * doc/autoconf.texi (Header Portability): linux/random.h.
5181         From Peter Hendrickson.
5183 2003-09-10  Akim Demaille  <akim@epita.fr>
5185         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
5186         willing to edit the output files.
5188 2003-09-10  Akim Demaille  <akim@epita.fr>
5190         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
5191         and AC_FC_FREEFORM.
5192         * tests/mktests.sh: Skip AC_FC_SRCEXT.
5193         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
5195 2003-09-09  Akim Demaille  <akim@epita.fr>
5197         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
5198         Reported by Gary Vaughan.
5199         * bin/autom4te.in (handle_m4): Likewise.
5201 2003-09-09  Akim Demaille  <akim@epita.fr>
5203         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
5204         trailing files.
5206 2003-09-07  Paul Eggert  <eggert@twinsun.com>
5208         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
5209         Improve the accuracy of the wording about obsolescence.
5210         From a suggestion by Ian Lance Taylor in
5211         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
5213 2003-09-05  Paul Eggert  <eggert@twinsun.com>
5215         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
5216         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
5218 2003-09-04  Akim Demaille  <akim@epita.fr>
5220         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
5221         AC_FUNC_WAIT3.
5223 2003-09-04  Akim Demaille  <akim@epita.fr>
5225         * bin/autom4te.in: Use &fatal where more appropriate than &error.
5226         (freeze): When exiting, use $exit_code.
5227         * lib/autoconf/fortran.m4: Comment changes.
5229 2003-09-04  Akim Demaille  <akim@epita.fr>
5231         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
5233 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
5235         Add support for newer Fortran dialects.  The F77 interface is
5236         unchanged, and continues to support Fortran 77.  New FC macros
5237         correspond to all the old F77 macros, with output variables FC,
5238         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
5239         available dialect, but older dialects can be specified.  There are
5240         new macros AC_FC_SRCEXT to set the source extension, and
5241         AC_FC_FREEFORM to accept free-form source files.
5243         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
5244         New macros.
5245         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
5246         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
5247         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
5248         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
5249         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
5250         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
5251         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
5252         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
5253         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
5254         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
5255         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
5256         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
5257         AC_FC_SRCEXT, AC_FC_FREEFORM):
5258         New macros.
5259         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
5260         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
5261         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
5262         Rewrite in terms of the above.
5263         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
5264         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
5265         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
5266         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
5268 2003-09-02  Paul Eggert  <eggert@twinsun.com>
5270         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
5271         Document problems with timestamp resolution that 'make', 'cp -p', and
5272         'touch -r' have.
5274 2003-08-27  Akim Demaille  <akim@epita.fr>
5276         * tests/m4sugar.at (cross_warning): Make sure to enable the
5277         output, so that we can track spurious m4sugar output.
5278         * tests/local.at: Require 2.57.
5279         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
5280         are defaulted by AT_CHECK anyway.
5281         Use AT_CHECK_AUTOM4TE.
5282         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
5283         missing dnl.
5285 2003-08-27  Akim Demaille  <akim@epita.fr>
5287         * bin/autoheader.in: Issue the "Using auxiliary..." message only
5288         when -Wobsolete is set.
5289         Set it on by default.
5290         Suggested by Klee Dienes.
5292 2003-08-27  Akim Demaille  <akim@epita.fr>
5294         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
5295         documentation.
5296         From Guido Draheim.
5298 2003-08-26  Akim Demaille  <akim@epita.fr>
5300         * doc/autoconf.texi (Output): Make clear that one can run code
5301         after AC_OUTPUT.
5303 2003-08-25  Akim Demaille  <akim@epita.fr>
5305         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
5306         CVS Bison.
5308 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
5310         * bin/autoreconf.in (parse_args): Do not pass --no-force to
5311         Automake versions prior to 1.8.
5313 2003-08-25  Akim Demaille  <akim@epita.fr>
5315         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
5316         From Ville Karaila.
5318 2003-08-24  Akim Demaille  <akim@epita.fr>
5320         * configure.ac: Bump to 2.57c.
5322 2003-08-22  Akim Demaille  <akim@epita.fr>
5324         Version 2.57b.
5326         * Makefile.cfg (local-checks-to-skip): New.
5327         * Makefile.maint (local-check): Rename as...
5328         (local-checks-available): this.
5329         (local-check): New.
5331         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
5332         * configure.ac: Require Automake 1.7.6.
5334 2003-08-22  Akim Demaille  <akim@epita.fr>
5336         Output stack traces in warnings.
5338         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
5339         Replace the former...
5340         (m4_warn): Pass the call stack to _m4_warn.
5341         * bin/autom4te.in: Adjust to output the call stack.
5342         * tests/m4sugar.at (m4@&t@_warn): Adjust.
5344 2003-08-22  Akim Demaille  <akim@epita.fr>
5346         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
5347         * bin/autom4te.in: Adjust.
5349 2003-08-21  Akim Demaille  <akim@epita.fr>
5351         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
5352         (&verbose): Remove.
5353         (&getopt): Adjust the note and verb channels, depending upon
5354         --verbose.
5355         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
5356         * bin/autoupdate.in: Adjust.
5357         Use &verb, not &verbose.
5359 2003-08-21  Akim Demaille  <akim@epita.fr>
5361         * bin/autoheader.in (&parse_args): Use &parse_warnings and
5362         &parse_WARNINGS.
5363         ($help): Use Autom4te::ChannelDefs::usage.
5364         * bin/autoscan.in: Use Autom4te::ChannelDefs.
5365         * lib/Autom4te/General.pm: Don't export error: you don't own it.
5367 2003-08-21  Akim Demaille  <akim@epita.fr>
5369         First stab at preserving warnings between calls to autom4te,
5370         including when the cache is used.
5372         There are still several issues: (i) there are too many runs of m4
5373         (one for include, one for warnings, and some more), (ii) warnings
5374         spreading on several lines are not handled gracefully, (iii) the
5375         code meant to have the call stack display for errors does not work
5376         (its handling should move from m4 to autom4te).
5378         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
5379         Use them.
5380         (@preselect): Add m4_warn.
5381         ($exit_status): Remove, use $exit_code.
5382         ($help): Use Autom4te::ChannelDefs::usage.
5383         (&handle_m4): No longer define the m4_warnings.
5384         At each run, extract and report the warnings.
5385         Always cache the result, including if the exit status is on
5386         failure, since if nothing changes, we should result in the same
5387         failure, hence we can use the cache.
5388         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
5389         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
5390         Remove.
5391         (m4_warn): Redefine as a do-nothing: it is its invocation that
5392         matters, as warnings are now reported via traces.
5393         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
5394         the contents of m4_warn: make it _call_ m4_warn, so that tracing
5395         the latter reveals calls to the former.
5397         Adjust the tests.
5399         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
5401 2003-08-21  Akim Demaille  <akim@epita.fr>
5403         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
5404         Use them.
5406 2003-08-21  Akim Demaille  <akim@epita.fr>
5408         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
5409         forward order.
5410         * lib/Autom4te/ChannelDefs.pm: Doc typos.
5411         (&parse_warnings): Accept a list of warning requests.
5412         (&usage): Return a string, not a side effect.
5413         (cross): New warning category.
5415 2003-08-21  Akim Demaille  <akim@epita.fr>
5417         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
5418         (&require_configure_ac): Accept an optional directory argument.
5419         ($configure_ac): Remove.
5420         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
5421         (&catfile): Remove.
5422         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
5423         * bin/autoscan.in: Adjust.
5425 2003-08-20  Akim Demaille  <akim@epita.fr>
5427         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
5428         Reported by Alexandre Duret-Lutz.
5430 2003-08-20  Akim Demaille  <akim@epita.fr>
5432         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
5433         * bin/autom4te: Adjust.
5434         In particular, be Autoconf tools are really silent when properly
5435         working, bind the verbosity of the 'note' channel to $verbose.
5436         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
5437         (&xsystem, &contents): Remove, since they are exported by...
5438         * lib/Autom4te/FileUtils.pm: this.
5439         More perldoc.
5440         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
5441         * lib/Autom4te/FileUtils.pm: here.
5443 2003-08-20  Akim Demaille  <akim@epita.fr>
5445         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
5446         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
5447         from CVS Automake.
5449 2003-08-20  Akim Demaille  <akim@epita.fr>
5451         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
5452         (autom4te-update): New.
5453         * Makefile.cfg (update): Bind autom4te-update.
5455 2003-08-19  Derek Price  <derek@ximbiot.com>
5457         * lib/autotest/general.m4: Comment various HELP_* diversions.
5458         (PARSE_ARGS_BEGIN): New section for option parsing related
5459         initialization.
5460         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
5461         package specific options and associated help.
5463 2003-08-19  Akim Demaille  <akim@epita.fr>
5465         * config/announce-gen, Makefile.cfg: New.
5466         * Makefile.am: Adjust.
5467         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
5469 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
5471         * lib/autom4te.in (Automake-preselections): Preselect
5472         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
5473         and m4_sinclude.
5475 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
5477         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
5478         (Autoconf-without-aclocal-m4): ... this new language.
5479         * doc/autoconf.texi (autom4te Invocation): Mention
5480         Autoconf-without-aclocal-m4.
5482 2003-08-18  Derek Price  <derek@ximbiot.com>
5484         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
5485         RUN-IF-PASS optional arguments.
5487 2003-08-18  Derek Price  <derek@ximbiot.com>
5489         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
5491 2003-08-16  Derek Price  <derek@ximbiot.com>
5493         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
5494         STDOUT & STDERR arguments.
5496 2003-08-14  Derek Price  <derek@ximbiot.com>
5498         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
5499         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
5500         shorter column three.  Add DESCRIPTION to log file content.
5502 2003-08-13  Derek Price  <derek@ximbiot.com>
5504         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
5505         output.
5507 2003-08-12  Derek Price  <derek@ximbiot.com>
5509         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
5510         (AT_CHECK_NOESCAPE): Move core functionality to...
5511         (_AT_CHECK): ...this new macro.
5513 2003-08-07  Derek Price  <derek@ximbiot.com>
5515         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
5516         (AT_CHECK_NOESCAPE): ...to this new macro.
5518 2003-07-31  Paul Eggert  <eggert@twinsun.com>
5520         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
5521         in Bash 2.01.  Problem reported by Brian Gough in
5522         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
5524 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
5526         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
5527         -lcrt1.o, for OS X.  (trivial change)
5529 2003-07-07  Paul Eggert  <eggert@twinsun.com>
5531         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
5532         inside '#ifndef __cplusplus'.  Problem reported by
5533         Bob Friesenhahn.
5535 2003-07-06  Bill Clarke  <llib@computer.org>
5537         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
5538         'long', not 'int', for benefit of Sun's recent C++ compilers
5539         (trivial change).  See:
5540         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
5541         (This really should be 'intptr_t', not 'long', but that would
5542         take more work.)
5544 2003-06-25  Akim Demaille  <akim@epita.fr>
5546         * lib/Makefile.am (autom4te.cfg): Make it read only.
5547         Depend on Makefile since it contains substitutions.
5548         From Paolo Bonzini.
5549         * lib/autom4te.in (args): Add local.at? for Autotest args.
5550         This change was made on autom4te.cfg which is generated.
5551         Reported by Raja R. Harinath.
5553 2003-06-25  Akim Demaille  <akim@epita.fr>
5555         * doc/autoconf.texi (Header Portability): sys/mount.h.
5556         From Gareth McCaughan.
5558 2003-06-23  Akim Demaille  <akim@epita.fr>
5560         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
5561         not all of them.  This fixes 1. the fact that when testing
5562         Autoconf there are many many config.log, 2. the incorrect use of
5563         top_srcdir to find config.log.
5564         Don't mix the detailed output of failed test with the summary of
5565         failures.  Rather, append detailed log afterwards.
5567 2003-06-23  Akim Demaille  <akim@epita.fr>
5569         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
5570         always run: output config.log on $at_group_log.
5572 2003-06-23  Akim Demaille  <akim@epita.fr>
5574         * tests/torture.at (#define header templates): Don't use quotes in
5575         C++ comments as it puzzles Emacs' sh font-lock-mode.
5577 2003-06-23  Akim Demaille  <akim@epita.fr>
5579         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
5580         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
5581         * tests/atspecific.m4: Rename as...
5582         * tests/local.at: This.
5583         * tests/suite.at: Move the globals into...
5584         * tests/local.at: here.
5585         * tests/Makefile.am: Adjust.
5586         * doc/autoconf.texi (testsuite Scripts): Adjust.
5588 2003-06-21  Kevin Ryde  <user42@zip.com.au>
5590         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
5591         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
5592         ensuring we add -std1 for full-ANSI.
5594         * doc/autoconf.texi (hdrindex): New macro.
5595         Add index entries for portability of various standard header files.
5597 2003-06-20  Akim Demaille  <akim@epita.fr>
5599         * configure.ac: Bump to 2.57b.
5601 2003-06-20  Akim Demaille  <akim@epita.fr>
5603         Version 2.57a.
5605 2003-06-20  Akim Demaille  <akim@epita.fr>
5607         * bin/autom4te.in: Don't rely on $HOME being defined.
5608         Reported by Marc Espie as PR/233.
5610 2003-06-20  Akim Demaille  <akim@epita.fr>
5612         * lib/autotest/general.m4: Use at_times_file only if used.
5613         From Nicolas Joly.
5615 2003-06-20  Akim Demaille  <akim@epita.fr>
5617         * config/config.guess, config/config.sub, config/elisp-comp,
5618         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
5619         Update from masters.
5621 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
5623         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
5624         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
5625         (TEST_SCRIPT): New diversion.
5626         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
5627         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
5628         (AT_INIT): Support for expected failures.
5630 2003-06-02  Akim Demaille  <akim@epita.fr>
5632         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
5633         changes.
5634         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
5635         Autoconf nor Automake.
5636         (&contents): New, from Automake.
5637         PODify.
5639 2003-05-28  Paul Eggert  <eggert@twinsun.com>
5641         * NEWS, doc/autoconf.texi (Particular Functions),
5642         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
5643         is the inverse of localtime.
5645 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
5647         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
5648         (handle_exec_errors): New function.  Work around $! being
5649         altered by WEXITSTATUS.
5650         (xqx, xsystem): Use handle_exec_errors.
5652 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
5654         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
5655         Do not call `_exit()', simply modify `$?'.
5656         (xsystem): Reset $! before running system, and check it afterward.
5657         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
5658         63 for version mismatches.
5660 2003-05-23  Akim Demaille  <akim@epita.fr>
5662         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
5663         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
5664         the middle of a line).
5665         * lib/m4sugar/m4sugar.m4: Likewise.
5666         Remove useless spaces in comments.
5668 2003-05-23  Akim Demaille  <akim@epita.fr>
5670         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
5671         exit 63, so that we (or Automake's "missing") can tell the
5672         difference with a plain failure.
5673         * doc/autoconf.texi (Notices): Adjust.
5675 2003-05-23  Akim Demaille  <akim@epita.fr>
5677         * Makefile.am, bin/Makefile.am, config/Makefile.am,
5678         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
5679         White spaces cleanup.
5681 2003-05-22  Jim Meyering  <jim@meyering.net>
5682             Paul Eggert  <eggert@twinsun.com>
5684         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
5685         Remove `#include <stdlib.h>' from the list; we should never
5686         make confdefs.h include <stdlib.h> or <cstdlib>, because the
5687         resulting namespace pollution would cause other tests to fail.
5688         Configure scripts run with some older versions of g++ and HP's
5689         aCC would fail due to such an #include.  Problems reported by
5690         Matthew Mueller in <http://bugs.debian.org/120704> and by
5691         Keith Bostic in
5692         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
5693         In the test, use the test declaration before including <stdlib.h>,
5694         as that's closer to how it'll be used.
5696 2003-05-23  Akim Demaille  <akim@epita.fr>
5698         * doc/autoconf.texi (Header Portability): ucred.h.
5699         From Ian Redfern.
5701 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
5703         Overhaul Autotest's logging: generate separate log files
5704         in testsuite.dir/NNN/testsuite.log, and append them to
5705         testsuite.log instead of re-running the test verbosely.
5707         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
5708         file descriptor, write 0 to at_status_file instead of setting
5709         at_status=0, initialize some new variables (at_status_file,
5710         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
5711         to rerun the tests, instead append the at_group_log to the
5712         at_suite_log when a test fails.
5713         (AT_SETUP): pipe the test case's output into at_tee_pipe,
5714         with the AS_MESSAGE_LOG_FD redirected to stdout.
5715         (AT_CLEANUP): save the output status in $at_status_file
5716         and restore it, redirect the AS_MESSAGE_LOG_FD back to
5717         its original place.
5718         (AT_CHECK): since tests are run with a redirected stdout,
5719         and used to be re-run in verbose mode, turn some $at_verbose
5720         into echo, and don't redirect the output of testing stdout
5721         and stderr.
5723         * lib/autotest/autoconf.texi (testsuite Scripts): Update
5724         the name of the debugging directory and information about
5725         its contents.
5727 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
5729         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
5730         parameter.
5732 2003-05-22  Akim Demaille  <akim@epita.fr>
5734         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
5735         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
5736         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
5737         * lib/autoconf/status.m4: Fix and adjust copyright notices.
5739 2003-05-22  Akim Demaille  <akim@epita.fr>
5741         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
5742         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
5743         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5744         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
5745         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
5746         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5747         * lib/autoconf/status.m4, lib/autoconf/types.m4,
5748         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
5749         * tests/atspecific.m4, tests/base.at, tests/compile.at,
5750         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
5751         * tests/tools.at, tests/torture.at:
5752         Whitespace clean up.
5753         Suggested by Jim Meyering.
5755 2003-05-22  Akim Demaille  <akim@epita.fr>
5757         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
5758         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
5759         Reported by Jim Meyering.
5761 2003-05-22  Akim Demaille  <akim@epita.fr>
5763         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
5764         Add AC_HELP_STRING  to the obsolete macros section.
5765         Typos.
5766         Use '@.' for sentences that ended in a capital letter.
5767         From Art Haas.
5769 2003-05-22  Akim Demaille  <akim@epita.fr>
5771         * config/config.guess, config/config.sub, config/elisp-comp,
5772         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
5773         * config/texinfo.tex, doc/standards.texi: Update from masters.
5775 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
5777         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
5778         it to eval.
5780 2003-05-21  Akim Demaille  <akim@epita.fr>
5782         * bin/autoupdate.in ($m4): Fix quotation.
5783         Reported by Martin Mokrejs.
5785 2003-05-19  Paul Eggert  <eggert@twinsun.com>
5787         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
5788         Remove non-ASCII characters.
5790 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
5792         * tests/semantics.at (AC_SEARCH_LIBS): New test.
5793         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
5794         AC_CHECK_HEADERS_NEW): New tests.
5796 2003-05-17  Akim Demaille  <akim@epita.fr>
5798         * lib/autoconf/functions.m4: Use the default includes so that
5799         memcmp be declared before being tested.
5800         Reported by Sander Niemeijer.
5801         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
5802         * doc/autoconf.texi (Default Includes): Document
5803         AC_INCLUDES_DEFAULT.
5805 2003-05-17  Akim Demaille  <akim@epita.fr>
5807         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
5808         * doc/autoconf.texi (Obsolete Macros): Adjust.
5809         Reported by Werner LEMBERG and Debian Bug 190886.
5811 2003-05-16  Akim Demaille  <akim@epita.fr>
5813         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
5814         user name space clashes.
5815         Reported by Bruno Haible.
5817 2003-05-16  Akim Demaille  <akim@epita.fr>
5819         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5820         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
5821         them uniform, and more robust to Perl special characters.
5822         Reported by Martin Mokrejs.
5824 2003-05-14  Akim Demaille  <akim@epita.fr>
5826         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
5828 2003-05-14  Akim Demaille  <akim@epita.fr>
5830         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
5831         linux/irda.h.
5833 2003-05-12  Akim Demaille  <akim@epita.fr>
5835         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
5836         message.
5837         From Matthias Andree.
5839 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
5841         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
5842         and truncate.
5844 2003-05-06  Akim Demaille  <akim@epita.fr>
5846         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
5847         longer updates aclocal.m4 if useless, (ii) if a file m4_included
5848         by aclocal.m4 is changed it might require the importing of another
5849         m4 extension file, i.e., aclocal must be run.
5851         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
5852         (&parse_args): Use --force with aclocal if required and supported.
5853         (&autoreconf_current_directory): Use &run_aclocal.
5855 2003-05-06  Akim Demaille  <akim@epita.fr>
5857         Lock autom4te's cache.
5859         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
5860         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
5861         argument instead of a file name, so that the request file remains
5862         open during the whole autom4te run.
5863         ($icache_file): New.
5864         (&freeze): Lock the $icache_file.
5866 2003-04-29  Derek Price  <derek@ximbiot.com>
5868         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
5869         seperator with m4_append_uniq().  It doesn't work.
5870         (AT_CLEANUP): Add `;' to end of at_help_all.
5871         (AT_INIT): Allow --keywords to be specified more than once.  When
5872         grepping $at_help_all for keywords, use the field and keyword
5873         seperators to ensure a complete keyword match.  Alter at_prev handling
5874         to support the new --keywords behavior.
5876 2003-04-27  Karl Berry  <karl@freefriends.org>
5878         * doc/autoconf.texi: Make the dir entries in the autoconf manual
5879         align better with others.  I also made some of the individual
5880         entries on one line, for brevity and to make it easier for me to
5881         sort my dir-example file in the Texinfo distribution :).
5883 2003-04-12  Jim Meyering  <jim@meyering.net>
5885         * NEWS: Mention the new macro.
5886         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
5887         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
5888         * tests/c.at: Test AC_C_RESTRICT.
5889         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
5891 2003-04-08  Akim Demaille  <akim@epita.fr>
5893         * bin/ifnames.in: Skip C++ comments.
5894         From Jeremy Yallop.
5896 2003-04-08  Akim Demaille  <akim@epita.fr>
5898         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
5899         From Ilya Zakharevich.
5901 2003-04-08  Akim Demaille  <akim@epita.fr>
5903         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
5904         net/if.h, stdlib.h.
5906 2003-04-01  Derek Price  <derek@ximbiot.com>
5908         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
5909         from Akim's checkin of 2003-03-29.
5911 2003-04-01  Derek Price  <derek@ximbiot.com>
5913         * tests/torture.at (Configuring subdirectories): Add missing
5914         close-quote for Akim's change from 2003-03-28.
5916 2003-04-01  Akim Demaille  <akim@epita.fr>
5918         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
5919         (AC, AT, MS): these.
5920         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
5921         New.
5922         Use them.
5923         * doc/Makefile.am (CLEANFILES): Adjust.
5924         (TEXI2DVI): Make it --batch.
5926 2003-03-31  Derek Price  <derek@ximbiot.com>
5928         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
5929         which removed the main loop.
5930         Thanks to Akim Demaille.
5932 2003-03-29  Akim Demaille  <akim@epita.fr>
5934         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
5935         that starts a GUI.
5936         From Ilya Zakharevich.
5938 2003-03-29  Akim Demaille  <akim@epita.fr>
5940         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
5941         documentation to read is Autoconf's.
5942         Suggested by Paul Eggert.
5944 2003-03-28  Akim Demaille  <akim@epita.fr>
5946         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
5947         reading the section "Present But Cannot Be Compiled" when the
5948         header causes problems.
5950 2003-03-28  Akim Demaille  <akim@epita.fr>
5952         * tests/torture.at (Configuring subdirectories): Require aclocal
5953         1.4, otherwise the test fails, as it does support configure.ac.
5954         This fixes the "test 40 failed" bug reports.
5956 2003-03-28  Akim Demaille  <akim@epita.fr>
5958         * doc/autoconf.texi (C Compiler): `#line' portability.
5959         From Paul Eggert and Nelson H. F. Beebe.
5961 2003-03-27  Derek Price  <derek@ximbiot.com>
5963         * lib/autotest/general.m4: Eliminate main loop and reorganize test
5964         layout in order to allow scripting around test groups.
5966 2003-03-27  Derek Price  <derek@ximbiot.com>
5968         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
5969         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
5970         use new diversions in preparation for accepting new arguments and
5971         allowing scripting around tests.
5972         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
5974 2003-03-26  Derek Price  <derek@ximbiot.com>
5976         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
5977         obsolete AC_HELP_STRING.
5978         (AC_HELP_STRING): AU_DEFUN to...
5979         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
5980         * tests/m4sh.at (AS_HELP_STRING): New test.
5982         * tests/acgeneral.at: Regenerated.
5984 2003-03-26  Derek Price  <derek@ximbiot.com>
5986         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
5987         sense.  Verbosify the diversion definitions comment.
5989 2003-03-26  Derek Price  <derek@ximbiot.com>
5991         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
5992         AS_PREPARE.
5994 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
5996         * doc/autoconf.texi (Present But Cannot Be Compiled):
5997         Grammar fixes and minor rewording. (trivial change)
5999 2003-03-06  Paul Eggert  <eggert@twinsun.com>
6001         Work around a problem noted by Nelson H. F. Beebe with coreutils
6002         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
6003         2002/05/09) rejects '#line 32768 "configure"' because the line
6004         number overflows.
6005         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
6006         #line directives.
6007         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
6008         * doc/autoconf.texi (Generating Sources): Document this.
6010 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
6012         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
6013         file name for the m4 program, when it has an "exe" file extension.
6014         DJGPP's error messages include the error code in brackets -
6015         remove the error code during normalization.
6017 2003-02-28  Akim Demaille  <akim@epita.fr>
6019         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
6021 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
6023         * doc/autoconf.texi (Limitations of Make): Remove the section
6024         about `$<' in inference rules, it was a bogus interpretation of
6025         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
6026         Tru64 make in the "target lookup" section.
6027         (Automake): Automake 1.5+ no longer requires special tools to be
6028         present on the developer's host.
6030 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
6032         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
6033         to a shell that can handle redirection or quoting correctly.
6034         Override SHELL with the shell detected by configure.
6035         Use of $^O suggested by Tim van Holder.
6036         * bin/autom4te.in (BEGIN): Likewise.
6037         * bin/autoreconf.in (BEGIN): Likewise.
6038         * bin/autoscan.in (BEGIN): Likewise.
6039         * bin/autoupdate.in (BEGIN): Likewise.
6040         * bin/ifnames.in (BEGIN): Likewise.
6042         * bin/ifnames.in: Add final newline to help and version messages.
6044         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
6045         to cope with DOS-style absolute paths, when constructing
6046         ${ac_make}.
6048         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
6049         When constructing paths with IFS=:, quote the path. If we're
6050         constructing a DOS-style absolute path, we don't want to split it
6051         on the colon.
6053         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
6054         in description.
6056 2003-02-25  Pavel Roskin  <proski@gnu.org>
6058         * bin/autoheader.in: Add missing newline when printing
6059         suggestion how change AC_DEFINE call.
6061 2003-02-24  Paul Eggert  <eggert@twinsun.com>
6063         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
6064         2002-09-01 patch by replacing "test -n" with "test -z".
6065         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
6066         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
6068         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
6069         to fix a mismatch between example and discussion.
6071 2003-02-24  Kevin Ryde  <user42@zip.com.au>
6073         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
6074         format starting with "-".
6076 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
6078         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
6079         is not portable inside Makefile.
6081 2003-02-20  Akim Demaille  <akim@epita.fr>
6083         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
6084         compiler says yeah, but preproc says nope, compiler is right.
6085         Conversely, prompt the reader to send a bug report to the
6086         maintainers of the package, not of Autoconf.
6088 2003-02-20  Klee Dienes  <kdienes@apple.com>
6090         * bin/autoreconf.in (autoreconf_current_directory): Properly
6091         handle an empty aclocal.m4.
6093 2003-02-20  Akim Demaille  <akim@epita.fr>
6095         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
6096         $ac_prefix_program.
6097         From Larry Jones.
6099 2002-12-23  Paul Eggert  <eggert@twinsun.com>
6101         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
6102         innocuous variant befor including <limits.h> or <assert.h>.  This
6103         works around a bug reported by Albert Chin: HP-UX 11i
6104         (and earlier versions) have a <limits.h> that declares
6105         gettimeofday and many other functions.
6107 2002-12-03  Paul Eggert  <eggert@twinsun.com>
6109         Version 2.57.
6111         * NEWS, configure.ac: Update version.
6113         * doc/fdl.texi: Upgrade to FDL version 1.2.
6115         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
6116         nontrivially in main's body, so that f's external declaration is
6117         not optimized away in AIX.  This should fix the bug reported by
6118         Martin Frydl in
6119         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
6121         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
6122         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
6123         defined, to support freestanding compilers.  This should fix the
6124         bug reported by Momchil Velkov in
6125         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
6127         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
6128         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
6129         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
6130         by Simon Josefsson in
6131         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
6133         * Makefile.maint (www-gnu): New macro.
6134         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
6135         the location has moved.
6137 2002-12-02  Martin Frydl  <martin@systinet.com>
6139         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
6140         \(.*\) match is too long and there is something more to be checked.
6141         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
6143 2002-11-15  Akim Demaille  <akim@epita.fr>
6145         Version 2.56.
6147         * config/install-sh: chmod +x.
6148         From Paul Eggert.
6149         * config/move-if-change: Indenting changes.
6150         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
6151         * configure.ac (AM_INIT_AUTOMAKE): here.
6152         Require 1.7.1.
6154 2002-11-14  Akim Demaille  <akim@epita.fr>
6156         Version 2.55.
6158         * config/config.guess, config/config.sub, config/install-sh:
6159         Update from masters.
6161 2002-11-14  Akim Demaille  <akim@epita.fr>
6163         * Makefile.maint: Sync with Bison, i.e.:
6164         (po-check): Scan .l and .y files instead of the
6165         .c and the .h files that they generate.  This fixes the bug
6166         reported by Tim Van Holder in:
6167         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
6168         Look for N_ as well as for _.  Try to avoid matching #define for
6169         N_ and _.
6170         From Paul Eggert.
6172 2002-11-14  Akim Demaille  <akim@epita.fr>
6174         * doc/autoconf.texi (C Compiler): Compiling several files at once.
6175         From Paul Eggert and Albert Chin-A-Young.
6177 2002-11-14  Akim Demaille  <akim@epita.fr>
6179         * doc/autoconf.texi (C Compiler): Solitary backslashes.
6180         From Paul Eggert and Albert Chin-A-Young.
6182 2002-11-14  Kevin Ryde  <user42@zip.com.au>
6184         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
6185         than assigning in main, to avoid HP cc +O3 optimizing it away.
6187 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
6189         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
6190         option.  Process --recheck after parsing all options.  Pass -q
6191         option to configure on --recheck.
6192         (AC_OUTPUT): Pass -q from configure to config.status.
6193         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
6194         arguments to record.
6195         * doc/autoconf.texi (config.status Invocation): Document
6196         config.status -q option.
6198 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
6200         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
6201         Makefile.in if Makefile.am exists.
6202         (output): Strip `.am' from Makefiles.  Don't
6203         output AC_CONFIG_FILES if no Makefiles were found.
6205 2002-11-07  Akim Demaille  <akim@epita.fr>
6207         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
6208         (local_updates): New.
6209         * Makefile.maint: Update, from CVS Bison.
6210         (local_updates): New.
6212 2002-11-06  Akim Demaille  <akim@epita.fr>
6214         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
6215         declaration in extern "C" too.
6216         Reported by Roberto Bagnara.
6218 2002-11-06  Akim Demaille  <akim@epita.fr>
6220         * tests/torture.at (Configuring subdirectories): Don't use grep
6221         -w.
6222         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
6223         Reported by Ezra Peisach.
6225 2002-11-05  Akim Demaille  <akim@epita.fr>
6227         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
6228         Remove.
6229         We _have_ to stop using the old compatibility scheme that tried to
6230         avoid useless backslashes because Libtool 1.4.3 contains a
6231         AC_DEFINE([error_t], [int],
6232         [Define to a type to use for \`error_t' if it is not
6233         otherwise available.])
6234         We _have_ to quote the single quote and backslashes with \.  The
6235         old compatibility scheme saw that ` was backslashed, and therefore
6236         did not quote the single quote.  Hence before this patch, Autoconf
6237         was not compatible with Libtool.
6239 2002-11-04  Paul Eggert  <eggert@twinsun.com>
6241         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
6242         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
6243         LC_NAME, LC_PAPER, LC_TELEPHONE.
6244         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
6246 2002-11-04  Akim Demaille  <akim@epita.fr>
6248         Version 2.54c.
6250         * Makefile.maint (update, cvs-update, po-update, do-po-update):
6251         New.
6252         * config/texinfo.tex: Update.
6254 2002-11-03  Akim Demaille  <akim@epita.fr>
6256         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
6257         from...
6258         (&autoreconf): here.
6259         ($help, $make, &parse_args, &autoreconf_current_directory):
6260         Support -m/--make.
6261         * doc/autoconf.texi (autoreconf Invocation): Adjust.
6263 2002-10-31  Bruno Haible  <bruno@clisp.org>
6265         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
6266         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
6267         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
6268         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
6269         to ac_cv_func_realloc_0_nonnull.
6270         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
6272 2002-10-31  Akim Demaille  <akim@epita.fr>
6274         The test suite was no longer checking for trailing envvars and files.
6276         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
6277         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
6279 2002-10-31  Akim Demaille  <akim@epita.fr>
6281         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
6282         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
6283         Make variable, not a shell variable.
6284         Suggested by Bruno Haible.
6286 2002-10-31  Akim Demaille  <akim@epita.fr>
6288         * bin/autom4te.in (load_configuration): Reject #args out of any
6289         language.
6291 2002-10-31  Akim Demaille  <akim@epita.fr>
6293         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
6294         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
6295         (_AC_RUN_IFELSE): Use it.
6296         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
6297         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
6298         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
6299         inline it.
6301 2002-10-30  Akim Demaille  <akim@epita.fr>
6303         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
6304         * doc/autoconf.texi (autom4te Invocation): Adjust.
6305         Suggested by Tim van Holder.
6307 2002-10-29  Paul Eggert  <eggert@twinsun.com>
6309         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
6310         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
6311         Problem reported by Bruno Haible.
6313 2002-10-29  Akim Demaille  <akim@epita.fr>
6315         * doc/autoconf.texi (Header Templates): Put also in words what the
6316         pictures says to assist free style readers.
6317         (Customizing autom4te): s/--cache=/--cache /.
6319 2002-10-29  Akim Demaille  <akim@epita.fr>
6321         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
6322         sys/wait.h.
6323         sparc_address_test returns void.
6324         Use it with an argument, as prototyped.
6325         From Bruno Haible.
6327 2002-10-29  Akim Demaille  <akim@epita.fr>
6329         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
6330         configure.in, not configure.ac.
6331         Reported by Bruno Haible.
6333 2002-10-29  Akim Demaille  <akim@epita.fr>
6335         * tests/torture.at (Deep Package): New test.
6336         (Configuring subdirectories): Don't use a testSubDir as Autotest
6337         now does it itself.
6339 2002-10-29  Akim Demaille  <akim@epita.fr>
6341         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
6342         * doc/autoconf.texi (Invoking autom4te): Rename as...
6343         (autom4te Invocation): this, for consistency with the other nodes.
6345 2002-10-29  Akim Demaille  <akim@epita.fr>
6347         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
6348         Reported by Ralf Corsepius.
6350 2002-10-29  Akim Demaille  <akim@epita.fr>
6352         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
6353         characters is a back as an `obsolete' warning now.
6354         Reported by Ralf Corsepius.
6356 2002-10-28  Akim Demaille  <akim@epita.fr>
6358         * configure.ac: Bump to 2.54c.
6360 2002-10-28  Akim Demaille  <akim@epita.fr>
6362         Version 2.54b.
6364         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
6366 2002-10-28  Akim Demaille  <akim@epita.fr>
6368         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
6369         m4 executable names, and different GNU M4 version.
6370         Reported by Ezra Peisach and Paul Jarc.
6372 2002-10-27  Akim Demaille  <akim@epita.fr>
6374         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
6375         AC_RUN_IFELSE.
6377 2002-10-27  Akim Demaille  <akim@epita.fr>
6379         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
6380         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
6381         Die when a simple Fortran program cannot be compiled.
6382         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
6383         Issue a warning if no function is given.
6385 2002-10-27  Akim Demaille  <akim@epita.fr>
6387         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
6388         Move the documentation of AC_TRY_RUN to...
6389         (Obsolete Macros): here.
6390         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
6391         (autoconf Invocation): Remove the duplicates with `invoking
6392         autom4te'.
6393         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
6394         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
6396 2002-10-27  Akim Demaille  <akim@epita.fr>
6398         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
6399         and AC_LANG_FUNC_LINK_TRY.
6400         (Examining Libraries): Rename as...
6401         (Running the Linker): this.
6402         Document AC_LINK_IFELSE.
6403         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
6404         (Obsolete Macros): here.
6405         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
6406         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
6407         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
6408         * lib/autoconf/headers.m4 (AC_USG): Likewise.
6410 2002-10-27  Akim Demaille  <akim@epita.fr>
6412         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
6414         More `check config.log' messages.
6416         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
6417         * doc/autoconf.texi (Printing Messages): Document it.
6418         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
6419         appropriate.
6420         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
6421         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
6422         (_AC_COMPILER_OBJEXT): Likewise.
6423         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
6424         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
6425         Likewise.
6426         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
6427         Likewise.
6429         Deprecate macros with unusual interfaces.
6431         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
6432         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
6434         Document the new ones, and proper style.
6436         * doc/autoconf.texi (Generating Sources): New.
6437         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
6438         (Examining Declarations): Rename as...
6439         (Running the Preprocessor): this.
6440         Document AC_PREPROC_IFELSE.
6441         (Examining Syntax): Rename as...
6442         (Running the Compiler): this.
6443         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
6444         (Obsolete Macros): Move the definition of AC_TRY_CPP and
6445         AC_TRY_COMPILE here.
6447 2002-10-27  Akim Demaille  <akim@epita.fr>
6449         Move sections around.
6451         * doc/autoconf.texi (Customizing autom4te): Remove a lost
6452         sentence.
6453         Reported by Burno Haible.
6454         (Language Choice): Now the first section of...
6455         (Writing Tests): this section.
6456         Make the introduction less C-centric.
6457         (Guidelines, Test Functions): Move to...
6458         (Writing Test Programs): this new section.
6459         (Test Programs): Merge into...
6460         (Run Time): this.
6462 2002-10-27  Akim Demaille  <akim@epita.fr>
6464         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
6465         autom4te.in that resulted in the need for two `make' runs.
6467 2002-10-27  Akim Demaille  <akim@epita.fr>
6469         * configure.ac: Bump to 2.54b.
6471 2002-10-25  Akim Demaille  <akim@epita.fr>
6473         Version 2.54a.
6475         * Makefile.maint: Update from the Coreutils.
6476         (AMTAR): Remove, obsolete.
6477         (automake_repo): Update to redhat.com.
6478         (cvs_file): New.
6479         Adjust to the fact that ansi2knr is now hosted by Automake.
6480         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
6481         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
6482         Update from masters.
6483         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
6484         autoscan.pre is not to be installed, and autoscan.list is not to
6485         be shipped.
6486         (CLEANFILES): Add autoscan.list.
6487         (autoscan.list): Disable the cache.
6488         * bin/Makefile.am: Include freeze.mk.
6490 2002-10-25  Akim Demaille  <akim@epita.fr>
6492         * bin/autom4te.in (&load_configuration): Take the file as
6493         argument.
6494         (&parse_args): Handle -C, --cache.
6495         ($help): Adjust.
6496         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
6497         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
6498         * doc/autoconf.texi (Invoking autom4te): Document --cache.
6499         Now a subsection of...
6500         (Using autom4te): This new section.
6501         (Customizing autom4te): New.
6502         (autom4te.cache): Adjust.
6504 2002-10-25  Akim Demaille  <akim@epita.fr>
6506         * doc/autoconf.texi (Generic Headers): More information on how to
6507         use AC_CHECK_HEADERS.
6509 2002-10-25  Akim Demaille  <akim@epita.fr>
6511         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
6512         Space changes.
6514 2002-10-25  Akim Demaille  <akim@epita.fr>
6516         * bin/autoscan.in (output): Output AC_PREREQ.
6517         (%needed_macros): Add AC_PREREQ so that configure.ac without one
6518         be reported.
6520 2002-10-23  Akim Demaille  <akim@epita.fr>
6522         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
6523         document _Bool.
6525 2002-10-23  Akim Demaille  <akim@epita.fr>
6527         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
6528         Reported by Peter Eisentraut.
6530 2002-10-23  Akim Demaille  <akim@epita.fr>
6532         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
6533         type _Bool.
6534         Fix a typo.
6535         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
6536         Eggert's recommandations.
6538 2002-10-22  Akim Demaille  <akim@epita.fr>
6540         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
6541         Bison, by Paul Eggert.
6542         * doc/autoconf.texi (Particular Headers): Document it.
6544 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
6546         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
6547         `$ac_configure_args'.
6549 2002-10-22  Akim Demaille  <akim@epita.fr>
6551         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
6552         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
6553         From Art Haas.
6555 2002-10-22  Akim Demaille  <akim@epita.fr>
6557         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
6559         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
6560         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
6561         (_AC_CHECK_HEADER_NEW): Rename as...
6562         (AC_CHECK_HEADER): this.
6564 2002-10-22  Akim Demaille  <akim@epita.fr>
6566         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
6567         words about HP-UX cmp: it was actually a user-written cmp.
6569 2002-10-22  Akim Demaille  <akim@epita.fr>
6571         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
6572         are a few warnings.
6573         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
6574         Quote for Perl '' strings, not "".
6575         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
6576         strings.
6578 2002-10-22  Akim Demaille  <akim@epita.fr>
6580         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
6581         characters is a syntax warning now.
6582         (_AS_QUOTE): Accept $2 as list of characters to quote.
6583         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
6584         Quote for Perl, not sh.
6585         * bin/autoheader.in: When $debug, report the file which is
6586         `do'ne.
6587         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
6588         `@', to tickle Perl's lists.
6589         Reported by Carlos Velasco.
6591 2002-10-18  Akim Demaille  <akim@epita.fr>
6593         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
6594         missing included files _are_ errors.
6595         Thanks to Alexandre Duret-Lutz.
6596         * tests/tools.at (autom4te cache): Adjust.
6597         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
6598         (AT_CHECK_M4SUGAR): Use it.
6599         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
6600         Adjust.
6601         * tests/tools.at (autom4te): Now it does exit 1.
6603 2002-10-17  Akim Demaille  <akim@epita.fr>
6605         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
6606         Fixes the `AC_ARG_VAR' test failures.
6607         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
6608         * lib/freeze.mk (check-forbidden-patterns): New.
6609         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
6610         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
6611         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
6612         /dev/null.
6613         Reported months ago by H. Merijn Brand.
6615 2002-10-17  Akim Demaille  <akim@epita.fr>
6617         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
6619 2002-10-16  Paul Eggert  <eggert@twinsun.com>
6621         * Makefile.maint (wget_files): Remove ansi2knr.c.
6622         (ansi2knr.c-url_prefix): Remove.
6624 2002-10-16  Akim Demaille  <akim@epita.fr>
6626         Because of caching, some files that no longer exist and are no
6627         longer required can still cause errors.
6628         Reported by Alexandre Duret-Lutz.
6630         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
6631         to frozen files in @ARGV, as @ARGV must remain being a list of
6632         files.  Rather, at M4 call sites, use this...
6633         (&files_to_options): New function.
6634         (&freeze): Use &error.
6635         (&up_to_date): If a file that was included according to the cache
6636         is no longer there, then the output is out dated.
6637         (&main): Don't even check whether a file is up to date is anyway
6638         --force is given.
6639         * tests/tools.at (autom4te cache): New.
6641 2002-10-16  Akim Demaille  <akim@epita.fr>
6643         * bin/autoconf.as: Kill dead options.
6644         * bin/autoupdate.in (&parse_args): Kill old options.
6645         * bin/autoreconf.in (&parse_args): Remove dead options.
6646         Factor some code.
6647         (&autoreconf): Report the directories we enter *and leave*, so
6648         that error messages can be easily located, and use GNU Make
6649         format, so that Emacs' compile mode understands us.
6650         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
6651         if some file was changed instead of `print'.
6652         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
6653         (&parse_args): Remove the dead options.
6654         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
6655         autoheader's quiet mode.
6656         (AT_CHECK_AUTOUPDATE): Likewise.
6657         * tests/tools.at (autoupdate): Adjust.
6658         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
6660 2002-10-11  Akim Demaille  <akim@epita.fr>
6662         No longer use CPP to check for the existing of headers: use CC to
6663         check for compilability.
6665         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
6666         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
6667         (_AC_CHECK_HEADER_NEW): Rename as...
6668         (AC_CHECK_HEADER): this.
6670         * lib/autotest/general.m4 (AT_INIT): Include the failed test
6671         numbers in the Subject suggestion.
6673 2002-10-11  Akim Demaille  <akim@epita.fr>
6675         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
6676         Suggest using AC_CHECK_DECLS instead.
6678 2002-10-11  Akim Demaille  <akim@epita.fr>
6680         * tests/torture.at (AC_ARG_VAR): Have configure report the value
6681         of `precious'.
6683 2002-10-11  Akim Demaille  <akim@epita.fr>
6685         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
6686         file name to enable parallel executions.
6687         From Sam Varshavchik.
6689 2002-10-08  Akim Demaille  <akim@epita.fr>
6691         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
6692         aclocal invocation, as Gettext macros might not be visible to
6693         aclocal.
6694         Instead of blindly running autopoint, scan configure.ac (not the
6695         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
6696         Reported by Paul D. Smith.
6698 2002-10-08  Paul Eggert  <eggert@twinsun.com>
6700         Work around problems found when POSIXLY_CORRECT=1 is set.
6701         None of this seems to have anything to do with POSIX, really,
6702         but it's how Perl getopt works.
6703         * bin/autom4te.in (parse_args): Configure GetOpt with
6704         "permute", too.
6705         * doc/autoconf.texi (Invoking autom4te):
6706         --warning -> --warnings.
6707         * lib/autom4te.in: --warning -> --warnings.
6709 2002-09-28  Akim Demaille  <akim@epita.fr>
6711         * doc/autoconf.texi (autom4te.cache): New section.
6713 2002-09-28  Akim Demaille  <akim@epita.fr>
6715         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
6716         (Automake-preselections): Update.
6717         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
6719 2002-09-28  Akim Demaille  <akim@epita.fr>
6721         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
6722         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
6723         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
6724         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
6726 2002-09-28  Akim Demaille  <akim@epita.fr>
6728         * tests/torture.at (Configuring subdirectories): Be robust to
6729         users who use config.site to require for a cache: in this case,
6730         the two last configure runs, using two different sets of
6731         arguments, trigger a legitimate error.
6733 2002-09-28  Akim Demaille  <akim@epita.fr>
6735         * tests/m4sh.at (Functions Support, Functions and return Support):
6736         New.
6738 2002-09-28  Akim Demaille  <akim@epita.fr>
6740         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
6741         autoheader are Perl programs.
6742         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
6743         (autom4te): Specify that the sources are in the $srcdir.
6744         * doc/autoconf.texi (Installation Directory Variables): Adjust.
6746 2002-09-28  Akim Demaille  <akim@epita.fr>
6748         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
6749         (tm_zone): Move their rules to...
6750         * lib/autoconf/types.m4: here, using AN_ macros.
6751         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
6752         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
6753         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
6754         * lib/autoconf/programs.m4: here.
6755         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
6756         (ETAGS_FOR_AUTOCONF): New.
6757         Use it.
6759 2002-09-28  Akim Demaille  <akim@epita.fr>
6761         * lib/autoconf/autoscan.m4: New file.
6762         * lib/autoconf/autoconf.m4: Include it.
6763         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
6764         that were listed in the original autoscan.list.
6765         * lib/autoconf/headers.m4: Similarly with headers.
6766         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
6767         (.m4.m4f): Don't pass --prepend-include, since that's done by
6768         tests/autom4te itself.
6769         * lib/autoscan/Makefile.am: Include freeze.mk.
6770         (autoscan.list): New target --this file is no longer a source.
6771         (autoscan.pre): New file.
6773 2002-09-28  Akim Demaille  <akim@epita.fr>
6775         * bin/autoscan.in (@kinds): Make them singular.
6776         Adjust all uses.
6777         (&init_tables): When --debug, report the list of rules to ease
6778         tracking changes in autoscan.list.
6779         * lib/autoscan/autoscan.list (function): Strip comments, sort.
6781 2002-09-28  Akim Demaille  <akim@epita.fr>
6783         * lib/autoscan/functions, lib/autoscan/headers,
6784         * lib/autoscan/identifiers, lib/autoscan/makevars,
6785         * lib/autoscan/programs: Merge into...
6786         * lib/autoscan/autoscan.list: this.
6787         * bin/autoscan.in (&init_tables): Adjust.
6789 2002-09-28  Akim Demaille  <akim@epita.fr>
6791         * lib/autoscan/functions, lib/autoscan/headers,
6792         * lib/autoscan/identifiers, lib/autoscan/makevars,
6793         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
6794         `functions' line is now prefixed with `function:'.
6795         * bin/autoscan.in (&init_tables): Adjust.
6797 2002-09-28  Akim Demaille  <akim@epita.fr>
6799         From now on, autoscan files must always map a macro name to a
6800         word: there is no `default' macro for autoscan.
6802         * bin/autoscan.in (&init_tables): Reject entries with no macro at
6803         all.
6804         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
6805         explicit.
6807 2002-09-28  Akim Demaille  <akim@epita.fr>
6809         * bin/autoscan.in (%c_keywords): Remove.
6810         (&used): Keep only track of the words we might be interested in.
6811         (&output_kind): It is no longer needed to look for non active
6812         checks.
6814 2002-09-27  Akim Demaille  <akim@epita.fr>
6816         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
6817         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
6818         * lib/autoscan/functions: Adjust.
6819         * doc/autoconf.texi (Particular Functions): Adjust.
6821 2002-09-27  Akim Demaille  <akim@epita.fr>
6823         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
6824         from /tmp.
6825         Thanks to Bill Moseley and Paul Eggert.
6826         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
6827         the tmpdir must be created.
6828         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
6829         dir be in the build tree, instead of $TMPDIR.
6831 2002-09-27  Akim Demaille  <akim@epita.fr>
6833         * bin/autoscan.in: Improve the comments.
6834         (&parse_args): Drop obsolete undocumented options.
6835         (&output_kind): Output warnings.
6836         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
6837         (getwd): Trigger a warning.
6839 2002-09-26  Akim Demaille  <akim@epita.fr>
6841         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
6842         Reported by Ralf Corsepius.
6843         * doc/autoconf.texi (autoreconf Invocation): Likewise.
6845 2002-09-26  Akim Demaille  <akim@epita.fr>
6847         Single suffix rules and seperated dependencies are not portable.
6849         * doc/autoconf.texi (Installation Directory Variables): Update.
6850         (Limitations of Make): Some about `Single Suffix Rules and
6851         Separated Dependencies'.
6852         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6853         (ifnames, autoscan, autom4te): Un-factor into several rules.
6855 2002-09-25  Paul Eggert  <eggert@twinsun.com>
6857         * BUGS (Interoperability bugs): New section.  Mention libtool
6858         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
6860 2002-09-24  Paul Eggert  <eggert@twinsun.com>
6862         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
6863         make handles suffix-rules differently from GNU make.
6865         * bin/Makefile.am (SUFFIXES, .in): Remove.
6866         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
6867         Move the body of the old .in rule here.
6869 2002-09-16  Akim Demaille  <akim@epita.fr>
6871         i960 compilers create `b.out' files by default.
6872         Reported by Ralf Corsepius.
6874         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
6875         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
6877 2002-09-13  Paul Eggert  <eggert@twinsun.com>
6879         * doc/autoconf.texi (Particular Headers): Remove obsolete
6880         reference to `struct timezone' in the description of
6881         AC_HEADER_TIME.
6883 2002-09-13  Akim Demaille  <akim@epita.fr>
6885         Version 2.54.
6887         * config/config.sub, config/config.guess: Update.
6888         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
6889         * Makefile.am: Adjust.
6891 2002-09-13  Akim Demaille  <akim@epita.fr>
6893         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
6894         reading config.log when the compiler is rejected.
6895         Suggested by Guido Draheim.
6897 2002-09-13  Akim Demaille  <akim@epita.fr>
6899         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
6900         (chdir_init) might hang when stat'ing mounted directories.
6901         Reported by Vance Shipley.
6903 2002-09-12  Akim Demaille  <akim@epita.fr>
6905         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
6906         the lists.
6908 2002-09-12  Akim Demaille  <akim@epita.fr>
6910         * doc/autoconf.texi (Defining Symbols): Present two different
6911         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
6912         difference between 1 argument calls, and 2-3 argument calls.
6914 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
6916         * doc/autoconf.texi: Review grammar and punctuation.
6918 2002-09-11  Paul Eggert  <eggert@twinsun.com>
6920         * doc/autoconf.texi: Fix minor formatting, spelling, and
6921         grammatical typos.
6922         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
6923         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
6924         is obsolescent.
6926 2002-09-11  Akim Demaille  <akim@epita.fr>
6928         * doc/autoconf.texi (Questions): Rename as...
6929         (FAQ): this.
6930         (Defining Directories): New.
6932 2002-09-09  Akim Demaille  <akim@epita.fr>
6934         * doc/autoconf.texi (Making testsuite Scripts): Update.
6935         Suggested by Nishio Futoshi.
6937 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
6939         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
6940         plain `@' is wanted.
6942 2002-09-09  Akim Demaille  <akim@epita.fr>
6944         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
6945         `duplicates', since the algorithm was too naive and could keep
6946         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
6947         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
6948         Reported by Ralf Corsepius.
6949         * tests/torture.at (Configuring subdirectories): Exercise these
6950         cases.
6952 2002-09-09  Akim Demaille  <akim@epita.fr>
6954         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
6955         looking for a replacement file.
6956         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
6957         directory is relative.
6958         * doc/autoconf.texi (Generic Functions): Clarify the replacement
6959         directory definition.
6960         Reported by Andreas Schwab and Jim Meyering.
6962 2002-09-06  Akim Demaille  <akim@epita.fr>
6964         * doc/autoconf.texi (Setting Output Variables): Clarify what
6965         precious variables are.
6966         Suggested by Pontus Skoeld.
6968 2002-09-05  Akim Demaille  <akim@epita.fr>
6970         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6971         (ifnames, autoscan, autom4te): Since we don't only depend on
6972         configure.ac variables (such as VERSION etc.), but also on prefix
6973         and so forth, depend on Makefile, not configure.ac.
6974         Reported by Alexandre Duret-Lutz.
6975         * doc/autoconf.texi (Installation Directory Variables): Adjust.
6977 2002-09-05  Kevin Ryde  <user42@zip.com.au>
6979         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
6980         doesn't seem to be confined to ia64, just say "some versions".
6982 2002-09-04  Akim Demaille  <akim@epita.fr>
6984         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
6985         Automake 1.6c.
6986         * Makefile.am (maintainer-clean-local): Remove.
6987         (MAINTAINERCLEANFILES): Remove COPYING.
6989 2002-09-03  Paul Eggert  <eggert@twinsun.com>
6991         * doc/autoconf.texi (Configuration Commands): Remove obsolete
6992         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
6993         Brinkmann.
6995 2002-09-03  Akim Demaille  <akim@epita.fr>
6997         * configure.ac: Bump to 2.53d.
6998         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
6999         as of today, on Automake's team suggestion.
7001 2002-09-03  Akim Demaille  <akim@epita.fr>
7003         Version 2.53c.
7005 2002-09-02  Akim Demaille  <akim@epita.fr>
7007         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
7008         SITE_MACRO_DIR.
7009         * configure.ac: Disable SITE_MACRO_DIR.
7011 2002-09-02  Jim Meyering  <meyering@lucent.com>
7013         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
7014         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
7015         Also, tweak grammar: s/make sure to/be sure to/.
7017 2002-09-02  Paul Eggert  <eggert@twinsun.com>
7019         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
7020         directory names are generally preferable to physical names.
7022 2002-09-02  Akim Demaille  <akim@epita.fr>
7024         * lib/Autom4te/General.pm (&update_file): s/die/error/.
7025         Reported by Raja R. Harinath.
7026         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
7027         * bin/autoupdate.in: Use error instead of die.
7029 2002-09-01  Paul Eggert  <eggert@twinsun.com>
7031         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
7032         ordinary shell concatenation rather than echo+tr+sed command that
7033         runs afoul of a long-line-related sed bug in Solaris 8.
7035         * bin/autoheader.in (parse_args): --warning -> --warnings.
7037         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
7038         stdout, as traditional "ls" does.
7039         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
7040         _AC_COMPILER_EXEEXT_O): Likewise.
7041         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
7043         * bin/autoconf.as: Add --prepend-include option.  This patch was
7044         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
7045         but bin/autoconf.in is generated automatically from bin/autoconf.as.
7047         * bin/autoconf.in, configure: Regenerate.
7049         * doc/autoconf.texi (Special Shell Variables): Mention
7050         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
7052         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
7053         MAILPATH and set PS1, PS2, PS4 to default values, to work
7054         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
7055         For LC_ALL etc, first try to set to "C" as POSIX requires and as
7056         the Autoconf documentation specifies; fall back to "unset" only if
7057         this fails.  Use a shell for-loop for this rather than an m4 loop,
7058         to shorten the output script.
7060 2002-08-30  Paul Eggert  <eggert@twinsun.com>
7062         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
7063         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
7064         for the CDPATH problem.  Document PWD.
7065         (Limitations of Builtins): Document the problem that "cd $foo" and
7066         "ls $foo" may refer to different directories in shells conforming
7067         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
7068         example, since the old example is now out of date.
7070         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
7071         FOO" and "ls FOO" talk about different directories; this catches
7072         problems when POSIX 1003.1-2001 "cd" fails due to symlink
7073         spaghetti.
7075         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
7076         of rolling our own unset.
7077         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
7078         in practice we needn't worry about CDPATH if unset doesn't work.
7080         * Makefile.in, aclocal.m4, bin/Makefile.in,
7081         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
7082         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
7083         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
7084         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
7085         tests/Makefile.in: Regenerate with Automake 1.6.3.
7087         * config/config.guess, config/config.sub, config/mkinstalldirs:
7088         Update.
7090         * configure: Regenerate with self.
7092 2002-08-30  Kevin Ryde  <user42@zip.com.au>
7094         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
7095         default output.
7097 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7099         * bin/autom4te.in (Request::load): Correctly test for "do" read
7100         failure.
7102 2002-08-29  Akim Demaille  <akim@epita.fr>
7104         * lib/Autom4te/General.pm (&xqx): New.
7105         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
7106         hand, which is not portable.
7107         (&error): New.
7108         * bin/autom4te.in: Use them.
7109         Use &error instead of die.
7110         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
7111         Adjust.
7113 2002-08-17  Paul Eggert  <eggert@twinsun.com>
7115         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
7116         default list of compilers to try, since it was long ago superseded
7117         by the ksh fc builtin.  Suggested by Steven G. Johnson.
7119 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
7121         * doc/autoconf.texi (Invoking autom4te): End the option table,
7122         fixing a bug introduced by the previous patch.
7123         (Limitations of Make): Add a 'target lookup' subentry in the
7124         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
7126 2002-07-29  Mark D. Roth  <roth@feep.net>
7128         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
7129         options and use $AUTOM4TE_PATH.
7130         * doc/autoconf.texi: Remove documentation of autom4te
7131         --include-envvar and --site-macro-subdir options and document
7132         use of $AUTOM4TE_PATH.
7133         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
7134         arguments from each language section.
7136 2002-07-29  Paul Eggert  <eggert@twinsun.com>
7138         * doc/install.texi: Include copyright symbol in copyright notice.
7140         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
7141         Replace with:
7142         (AM_MAKEINFOFLAGS): New macro.
7143         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
7144         * Makefile.am (INSTALL): Use the new macros.
7145         Use -o rather than --output, since "missing" does not grok --output.
7147 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
7149         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
7150         comments do not always work. Never trust the exit status of
7151         `make -k'.
7153 2002-07-24  Kevin Ryde  <user42@zip.com.au>
7155         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
7156         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
7158 2002-07-23  Paul Eggert  <eggert@twinsun.com>
7160         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
7161         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
7162         apparently treats PATH="nonexistent" as if it contained ".".
7163         Bug reported by Stefan `Sec' Zehl.
7165 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
7167         * doc/autoconf.texi (Limitations of Make): Mention the special
7168         handling of the obj/ directory by BSD make.
7170 2002-07-20  Kevin Ryde  <user42@zip.com.au>
7172         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
7173         backslashes.
7175 2002-07-19  Akim Demaille  <akim@epita.fr>
7177         * doc/autoconf.texi (Function Portability): `exit'.
7178         (Programming in M4sh): Ethymology of M4sh.
7180 2002-07-19  Akim Demaille  <akim@epita.fr>
7182         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
7184 2002-07-18  Akim Demaille  <akim@epita.fr>
7186         Version 2.53b.
7188 2002-07-18  Akim Demaille  <akim@epita.fr>
7190         * config/config.guess, config/config.sub: Update.
7192 2002-07-18  Akim Demaille  <akim@epita.fr>
7194         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
7195         Automake's parts.
7197         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
7198         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
7199         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
7201 2002-07-18  Akim Demaille  <akim@epita.fr>,
7202             Alexandre Duret-Lutz  <duret_g@epita.fr>
7204         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
7205         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
7207 2002-07-17  Russ Allbery  <rra@stanford.edu>
7209         * doc/autoconf.texi (Initializing configure): Clarify the
7210         description of the tarname default.
7212 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
7214         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
7215         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
7216         latter was not run.
7218 2002-07-17  Akim Demaille  <akim@epita.fr>
7220         * lib/Autom4te/General.pm (find_file): Browse the directories in
7221         the order they are given.
7223 2002-07-17  Akim Demaille  <akim@epita.fr>
7225         * tests/wrapsh.as, tests/wrappl.as: Merge into...
7226         * tests/wrapper.as: this.
7227         * tests/Makefile.am, configure.ac: Adjust.
7229 2002-07-17  Mark D. Roth  <roth@feep.net>
7231         * configure.ac: Add --enable-site-macro-dir option.
7232         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
7233         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
7234         --site-macro-subdir options.
7235         * bin/autoconf.in: Add --prepend-include option.
7236         * bin/autoheader.in: Add --prepend-include option.
7237         * bin/autoreconf.in: Add --prepend-include option.
7238         * bin/autoscan.in: Add --prepend-include option.
7239         * bin/autoupdate.in: Add --prepend-include option.
7240         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
7241         macro directory, remove note that include path directories are
7242         used in reverse order, and document --prepend-include option.
7243         * lib/autom4te.in: Use --prepend-include instead of --include.
7244         * tests/wrapsh.in: Use --prepend-include instead of --include.
7246 2002-07-17  Akim Demaille  <akim@epita.fr>
7248         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
7249         tarnames.
7250         * doc/autoconf.texi (Initializing configure): Adjust.
7252 2002-07-17  Akim Demaille  <akim@epita.fr>
7254         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
7255         (_AC_FUNC_MALLOC): New.
7256         (AC_FUNC_MALLOC): Use the latter.
7257         Define HAVE_MALLOC to 0 if broken.
7258         * doc/autoconf.texi (Particular Functions): Adjust.
7260 2002-07-16  Akim Demaille  <akim@epita.fr>
7262         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
7263         * doc/autoconf.texi (C Compiler): Adjust.
7265 2002-07-09  Akim Demaille  <akim@epita.fr>
7267         * doc/autoconf.texi: Properly set the ``header'' part.
7269 2002-07-09  Akim Demaille  <akim@epita.fr>
7271         * doc/autoconf.texi (Systemology): Some about Darwin.
7273 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
7275         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7276         Don't use AC_REQUIRE in AU_DEFUN.
7278 2002-07-09  Art Haas  <ahaas@neosoft.com>
7280         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
7282 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
7284         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7285         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
7286         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
7287         so that Emacs setups GNU style for perl-mode and cperl-mode.
7289 2002-06-27  Paul Eggert  <eggert@twinsun.com>
7291         * config/install-sh: Quote $src.  Prefer || to test's -o option,
7292         as per "Limitations of Builtins".
7293         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
7294         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
7296         * tests/mktests.sh: Use grep instead of fgrep, as per
7297         "Limitations of Builtins".
7299 2002-06-15  Paul Eggert  <eggert@twinsun.com>
7301         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
7302         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
7303         so that we consistently test the just-built programs.
7304         * tests/wrappl.as: Likewise.
7306 2002-06-12  Paul Eggert  <eggert@twinsun.com>
7308         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
7309         name, so that symlinks to 'autoconf' work properly.  Bug reported
7310         by Bruno Haible.
7311         * bin/autoheader.in (AUTOM4TE): Likewise.
7312         * bin/autoreconf.in (autoconf, autoheader): Likewise.
7313         * bin/autoscan.in (autom4te): Likewise.
7314         * bin/autoupdate.in (autom4te): Likewise.
7316         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
7317         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
7318         on Solaris 2.5.1.
7320 2002-06-11  Andreas Schwab  <schwab@suse.de>
7322         * doc/autoconf.texi: Add more dir entries.
7324 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
7326         * bin/autom4te.in ($cache): Don't define using `$me', the name
7327         of the cache should not depend on the name under which autom4te
7328         was installed.
7330 2002-06-07  Akim Demaille  <akim@epita.fr>
7332         * tests/tools.at (autoconf: forbidden tokens, basic)
7333         (autoconf: forbidden tokens, exceptions): Adjust to the change of
7334         words in autom4te.in.
7336 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
7338         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
7339         _AC_LANG_PROGRAM_C_F77_HOOKS.
7341 2002-06-07  Akim Demaille  <akim@epita.fr>
7343         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
7344         rename as...
7345         (AC_REPLACE_FNMATCH): this.
7346         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
7347         AC_FUNC_FNMATCH_GNU.
7349 2002-06-07  Akim Demaille  <akim@epita.fr>
7351         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
7352         Rosetta Stone for Unix.
7354 2002-06-07  Akim Demaille  <akim@epita.fr>
7356         * bin/autom4te.in (warn_forbidden): When rejecting a token,
7357         suggest m4_pattern_allow.
7358         Suggested by Adam J. Richter.
7360 2002-06-07  Akim Demaille  <akim@epita.fr>
7362         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
7363         ac_config_libobj_dir.
7364         (AC_CONFIG_LIBOBJ_DIR): New.
7365         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
7366         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
7367         Use ac_config_libobj_dir to find the replacement files.
7368         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
7369         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
7370         (AC_REPLACE_FNMATCH_GNU): these.
7371         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
7372         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
7373         * tests/mktests.sh (ac_exclude_list): Don't check
7374         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
7376 2002-06-06  Paul Eggert  <eggert@twinsun.com>
7378         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
7379         if ln doesn't work.
7380         * NEWS: Likewise.
7381         * doc/autoconf.texi (Configuration Links): Likewise.
7382         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
7384 2002-06-05  Paul Eggert  <eggert@twinsun.com>
7386         * config/config.guess, config/config.sub, config/texinfo.tex:
7387         Update from masters.
7389 2002-05-29  Paul Eggert  <eggert@twinsun.com>
7391         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
7392         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
7393         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
7394         Likewise.
7395         * lib/autoconf/Makefile.am (check-local): Likewise.
7396         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
7397         * lib/autoconf/types.m4 (commentary only): Likewise.
7398         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
7399         * lib/autotest/Makefile.am (check-local): Likewise.
7400         * lib/m4sugar/Makefile.am (check-local): Likewise.
7401         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
7402         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
7404         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
7405         * doc/autoconf.texi (Particular Programs): Document them.
7406         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
7407         * NEWS: Likewise.
7409 2002-05-27  Paul Eggert  <eggert@twinsun.com>
7411         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
7412         * NEWS, doc/autoconf.texi (Particular Types): Document it.
7413         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
7414         instead of AC_MBSTATE_T, which never existed.
7416 2002-05-23  Akim Demaille  <akim@epita.fr>
7418         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
7419         version of Autoconf that is discussed.
7421 2002-05-22  Paul Eggert  <eggert@twinsun.com>
7423         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
7424         from the default list of compilers to try.  Suggested by
7425         Kate Hedstrom.
7426         * NEWS: Document the above.
7427         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
7429 2002-05-17  Paul Eggert  <eggert@twinsun.com>
7431         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
7432         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
7433         This improves on an earlier suggestion by H. Peter Anvin.
7435 2002-05-16  Paul Eggert  <eggert@twinsun.com>
7437         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
7438         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
7439         Both macros now accept an optional source-dir arg.
7440         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
7442         * NEWS: Document this.
7443         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
7445         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
7446         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
7447         not for GNU extensions; this undoes part of the 2000-11-03 change,
7448         reverting to 2.13-compatible behavior.
7449         Add new optional argument DIR.
7450         (AC_FUNC_FNMATCH_GNU): New macro.
7452         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
7454 2002-05-08  Paul Eggert  <eggert@twinsun.com>
7456         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
7457         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
7458         and it causes a 'test' syntax error if it fails.
7459         Bug reported by Stephen Gildea.
7461         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
7462         If prototypes are supported, use them to check this at compile-time,
7463         instead of trying to check it at run-time.  If we must do a run-time
7464         check, assume that setvbuf is standard when cross-compiling, as
7465         nonstandard setvbuf occurs only on ancient and unlikely hosts.
7466         Bug reported by Paul D. Smith.
7468         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
7469         argument specifying location of getloadavg.c.  This removes a
7470         FIXME.  This idea was taken from Jim Meyering's implementation in
7471         textutils.
7472         * doc/autoconf.texi (Particular Functions): Document this.
7473         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
7474         that's what the code does; this fixes a bug reported by
7475         Paul D. Smith.
7477 2002-05-03  Akim Demaille  <akim@epita.fr>
7479         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
7480         autopoint instead of gettextize.
7481         ($uses_alocal): Rename as...
7482         ($uses_aclocal): this.
7483         * doc/autoconf.texi (autoreconf Invocation): Adjust.
7484         Suggested by Bruno Haible.
7486 2002-05-03  Akim Demaille  <akim@epita.fr>
7488         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
7490 2002-04-29  Paul Eggert  <eggert@twinsun.com>
7492         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
7493         files to be 1 second older; just set them to be the same time.
7494         Also, sleep 1 second after the first aclocal, to work around
7495         problems with sub-second time stamps on the input files.
7497 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
7499         * doc/autoconf.texi: Mention "set -e -x" lossage
7500         under node "Limitations of Builtins".
7502 2002-04-29  Akim Demaille  <akim@epita.fr>
7504         * doc/install.texi: Better wording for setting variables when
7505         running configure.
7506         From Christian Cornelssen.
7508 2002-04-29  Akim Demaille  <akim@epita.fr>
7510         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
7511         of lack of $LINENO support, then the test will compare the $LINENO
7512         in testsuite vs. the lineno in the test file.  This is wrong, of
7513         course.
7514         Be sure to protect it.
7515         Reported by Patrick Welche.
7517 2002-04-25  Akim Demaille  <akim@epita.fr>
7519         * doc/autoconf.texi (Obsolete Macros): Typo.
7520         Reported by Vladimir Volovich.
7522 2002-04-25  Akim Demaille  <akim@epita.fr>
7524         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
7525         than some of the input files, hence, on the second run of aclocal,
7526         if some of its input are younger, make them older.
7527         Suggested by Paul Eggert.
7529 2002-04-25  Akim Demaille  <akim@epita.fr>
7531         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
7532         Thanks to Paul Eggert.
7534 2002-04-25  Akim Demaille  <akim@epita.fr>
7536         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
7537         and ac_subst_vars be sh variables containing the list of
7538         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
7539         DEFAULT diversion.
7540         (_AC_INIT_PREPARE): Use them to log them.
7541         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
7542         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
7543         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
7544         _AC_SUBST_FILES and _AC_SUBST_VARS.
7545         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
7547 2002-04-24  Akim Demaille  <akim@epita.fr>
7549         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
7550         autoheader, so that automake does not complain about a missing
7551         config.h.in that was to be created.
7553 2002-04-23  Akim Demaille  <akim@epita.fr>
7555         * bin/autoheader.in (parse_args): --warning takes an argument.
7556         Fixes PR/220.
7558 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
7560         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
7561         and bb.out when cleaning up.
7563 2002-04-22  Akim Demaille  <akim@epita.fr>
7565         Version 2.53a.
7567 2002-04-22  Akim Demaille  <akim@epita.fr>
7569         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
7571 2002-04-22  Akim Demaille  <akim@epita.fr>
7573         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
7574         comma.
7575         Reported by Gregory Giannoni.
7577 2002-04-22  Akim Demaille  <akim@epita.fr>
7579         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
7580         Fixes false failures on Darwin.
7582 2002-04-21  Paul Eggert  <eggert@twinsun.com>
7584         * TODO, bin/autoupdate.in, doc/autoconf.texi,
7585         lib/autoconf/general.m4, lib/autoconf/libs.m4,
7586         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
7587         tests/tools.at: Minor spelling and grammar fixes.
7589 2002-04-20  Paul Eggert  <eggert@twinsun.com>
7591         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
7592         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
7593         * lib/autotest/general.m4 (AT_INIT): Likewise.
7594         * tests/atgeneral.m4 (AT_INIT): Likewise.
7596 2002-04-19  Paul Eggert  <eggert@twinsun.com>
7598         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
7599         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
7600         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
7601         lib/autoconf/functions.m4, lib/autoconf/general.m4,
7602         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
7603         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
7604         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
7605         Minor spelling and grammar fixes.
7607         * doc/autoconf.texi: Follow the outline suggested in the GNU
7608         Sample Texts sections of the Texinfo 4.2 manual.  Most
7609         importantly, this makes sure that the copyright notices appear in
7610         all output formats.  You probably need Texinfo 4.2 to generate
7611         the manual now.
7613         Fix some bugs when using "$@" when there might be zero positional
7614         arguments in cases where this matters.
7616         * bin/autoconf.as: Rewrite so that the problem does not come up.
7617         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
7618         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
7619         * lib/autotest/general.m4 (AT_INIT): Likewise.
7621         * bin/autoheader.in: Use 'case' statement to work around problem.
7622         * bin/auto4mte.in: Likewise.
7623         * bin/autoreconf.in: Likewise.
7624         * bin/autoscan.in: Likewise.
7625         * bin/autoupdate.in: Likewise.
7626         * bin/ifnames.in: Likewise.
7628         * doc/autoconf.texi (Shell Substitutions): Document the problem.
7630         * lib/autotest/general.m4 (AT_INIT):
7631         Use Zsh alias to work around problem.
7632         * tests/atgeneral.m4 (AT_INIT): Likewise.
7634         * tests/c.at: We can't have zero arguments, so remove workaround
7635         that is not portable to Zsh.
7637 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
7639         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
7640         from aclocal.m4 too.
7642 2002-04-12  Akim Demaille  <akim@epita.fr>
7644         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
7646 2002-04-10  Akim Demaille  <akim@epita.fr>
7648         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
7649         workaround for ${1+"$@"}.
7650         * doc/autoconf.texi (Shell Substitutions): Explain it.
7651         From Oliver Kiddle and Peter Stephenson.
7653         Have M4sh perform minimal shell sanitizing.
7655         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
7656         part into...
7657         (_AS_PREPARE): this new macro.
7658         (AS_PREPARE): New.
7659         (AS_INIT): Invoke AS_SHELL_SANITIZE.
7660         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
7662         Adjust Autoconf and Autotest.
7664         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
7665         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
7666         * lib/autotest/general.m4 (AT_INIT): Likewise.
7667         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
7668         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
7669         AS_SHELL_SANITIZE.
7671         Use this M4sh to generate Autoconf's shell scripts.
7673         * tests/wrapsh.as: New, precursor of wrapsh.in.
7674         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
7675         on Autotest and M4sh.
7676         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
7677         (wrapsh.in): New target.
7678         * bin/autoconf.as: New, precursor of autoconf.in.
7679         (autoconf.in): New target.
7681 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
7683         * doc/autoconf.texi (Limitations of Make): Mention the issue
7684         with indented comments in rules.
7686 2002-04-09  Andreas Schwab  <schwab@suse.de>
7688         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
7689         ac_top_builddir when setting ac_abs_top_builddir.
7691 2002-04-06  Kevin Ryde  <user42@zip.com.au>
7693         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
7694         (Portable Shell): Cross reference to Systemology.
7696 2002-04-05  Akim Demaille  <akim@epita.fr>
7698         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
7699         directories when descending in a SUBDIRS.
7700         Reported by Ezra Peisach.
7702 2002-04-04  Andreas Schwab  <schwab@suse.de>
7704         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
7705         contains no literal separators.
7707 2002-04-03  Akim Demaille  <akim@epita.fr>
7709         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
7710         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
7711         Use dnl, not the KILL diversion.
7712         Extracted from...
7713         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
7714         (AC_CONFIG_LINKS): here.
7715         Adjust.
7716         Don't use the KILL diversion, as it kills spurious output, which
7717         results in failures being hidden.
7718         Use m4_defn where appropriate.
7719         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
7720         after the second argument.
7721         Use m4_defn.
7722         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
7723         syntax, as it is provided by M4sugar.
7724         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
7726 2002-04-03  Andreas Schwab  <schwab@suse.de>
7728         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
7729         expanded if $# <= 2.
7731         * bin/autoreconf.in (autoreconf): Run automake after rerunning
7732         aclocal.
7734 2002-04-03  Akim Demaille  <akim@epita.fr>
7736         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
7737         (_AC_COMPILER_EXEEXT_REJECT): New.
7738         Also recognize *.bb and *.bbg as compilation byproducts.
7739         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
7740         (_AC_COMPILER_OBJEXT): Use them.
7741         Fixes Debian #138666.
7743 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
7745         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
7747         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
7748         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
7749         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
7750         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
7751         (AC_C_CONST): Same.
7752         (AC_C_INLINE): Same.
7753         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
7754         * doc/autoconf.texi, NEWS: Document.
7755         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
7756         AC_C_CROSS.
7758 2002-04-02  Akim Demaille  <akim@epita.fr>
7760         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
7761         _AS_MKDIR_P_PREPARE.
7763 2002-03-28  Kevin Ryde  <user42@zip.com.au>
7765         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
7766         to avoid versions of HP C which don't allow that.
7768 2002-03-27  Paul Eggert  <eggert@twinsun.com>
7770         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
7771         (AS_SHELL_SANITIZE): Invoke it.
7772         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
7774 2002-03-26  Akim Demaille  <akim@epita.fr>
7776         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
7778 2002-03-26  Akim Demaille  <akim@epita.fr>
7780         * doc/autoconf.texi (Introduction): The GNATS base moved.
7782 2002-03-25  Paul Eggert  <eggert@twinsun.com>
7784         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
7785         as POSIX requires, as it doesn't work with Zsh.
7786         * doc/autoconf.texi (Assignments): Document the problem.
7788 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
7790         * doc/autoconf.texi (Limitations of Make): Mention more issue
7791         about VPATH, overriding of macros in sub-makes, and handling of
7792         SHELL.
7794 2002-03-21  Paul Eggert  <eggert@twinsun.com>
7796         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
7797         problem with here-document buffer boundaries.
7799         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
7800         when reinvoking the shell, to work around problems with installers
7801         who put strange things like "cd" commands in their environments.
7803 2002-03-19  Akim Demaille  <akim@epita.fr>
7805         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
7806         From Aaron Ucko.
7808 2002-03-19  Akim Demaille  <akim@epita.fr>
7810         * bin/autoscan.in (scan_file): Specify the location in `&used'
7811         invocations.
7812         From Nicolas Joly.
7814 2002-03-19  Akim Demaille  <akim@epita.fr>
7816         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
7817         From Nishio Futoshi.
7819 2002-03-19  Akim Demaille  <akim@epita.fr>
7821         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
7823 2002-03-18  Paul Eggert  <eggert@twinsun.com>
7825         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
7826         (Limitations of Usual Tools): Add mkdir section.
7828         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
7829         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
7830         back on AS_DIRNAME to compute prefixes otherwise; this is
7831         roughly what mkinstalldirs does.  That way, we need not have
7832         our own filename disassembler.  The old disassembler did not
7833         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
7835         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
7836         Create at_test_all by a series of assignments,
7837         not by a single assignment of a long string.  The latter causes ksh
7838         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
7839         presumably because of a buffer overrun.
7841 2002-03-14  Paul Eggert  <eggert@twinsun.com>
7843         * lib/autotest/general.m4 (at_times_skip):
7844         Renamed from at_times.  Now a boolean.
7845         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
7846         says 'times: not found'.
7848 2002-03-14  Akim Demaille  <akim@epita.fr>
7850         * bin/autoreconf.in (&study_gettextize): New.
7851         (&autoreconf): Handle newest gettextize.
7852         Rerun aclocal if needed.
7853         Suggested by Andreas Schwab.
7855 2002-03-13  Akim Demaille  <akim@epita.fr>
7857         * doc/autoconf.texi (Special Shell Variables): More about IFS.
7859 2002-03-13  Akim Demaille  <akim@epita.fr>
7861         * doc/autoconf.texi (Header Portability): New.
7862         Add information about stdint.h and inttypes.h from Paul Eggert.
7864 2002-03-13  Akim Demaille  <akim@epita.fr>
7866         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
7867         -p'.
7868         From Bob Proulx.
7870 2002-03-12  Akim Demaille  <akim@epita.fr>
7872         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
7873         m4_require.
7875 2002-03-11  Andreas Schwab  <schwab@suse.de>
7877         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
7878         does not do it if --with-lispdir is given.
7880 2002-03-08  Akim Demaille  <akim@epita.fr>
7882         Version 2.53.
7884 2002-03-08  Akim Demaille  <akim@epita.fr>
7886         * doc/autoconf.texi (Subdirectories): Clarify that the
7887         subdirectory should exist.
7889 2002-03-08  Akim Demaille  <akim@epita.fr>
7891         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
7893 2002-03-08  Akim Demaille  <akim@epita.fr>
7895         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
7896         aliases the actual variables, and modifications of the former
7897         affect the latter.
7899 2002-03-08  Akim Demaille  <akim@epita.fr>
7901         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
7902         because of C-c: have m4 output in tmp files, then mv them.
7904 2002-03-08  Akim Demaille  <akim@epita.fr>
7906         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
7907         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
7908         * bin/ifnames.in: Copyright update.
7910 2002-03-08  Akim Demaille  <akim@epita.fr>
7912         * doc/autoconf.texi (Invoking autom4te): New.
7914 2002-03-05  Akim Demaille  <akim@epita.fr>
7916         * doc/autoconf.texi (Specifying Names): Clarification suggested by
7917         Kevin Ryde.
7919 2002-03-05  Akim Demaille  <akim@epita.fr>
7921         Version 2.52i.
7923 2002-03-04  Akim Demaille  <akim@epita.fr>
7925         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
7926         * lib/autoconf/general.m4 (AC_INIT): More informative error
7927         message for LIBOBJ.
7929 2002-03-04  Akim Demaille  <akim@epita.fr>
7931         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
7932         parallel builds.
7934 2002-03-04  Akim Demaille  <akim@epita.fr>
7936         * doc/autoconf.texi (Transforming Names): Equality between target
7937         and host is irrelevant.
7938         (Specifying Names, Canonicalizing): Remove all references to the
7939         backward compatibility hooks.  Rather, collect them all into...
7940         (Hosts and Cross-Compilation): this new section.
7941         * doc/install.texi (System Type): Ditto.
7942         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
7943         that `--host' implies cross-compilation.
7945 2002-03-04  Akim Demaille  <akim@epita.fr>
7947         * doc/autoconf.texi (Evaluation Macros): New.
7948         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
7949         useless.
7950         (_m4_foreach): Define the variant with immediate evaluation so
7951         that it contains exactly the items, not an expression which
7952         evaluation is the current item.
7953         (m4_re_string, m4_re_word): Don't over quote them.
7955 2002-03-04  Akim Demaille  <akim@epita.fr>
7957         Instead of having stacking `shift's evaluated at the end, let
7958         `foreach' loops immediately evaluate them.
7960         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
7961         $*.  This is the n-th time I change my mind, but hopefully this is
7962         the last...
7963         (m4_lquote): New.
7964         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
7965         efficient.
7966         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
7967         it was only a hack for m4_text_wrap.
7968         (m4_car2): Remove, replaced by...
7969         (m4_cdr): New.
7970         (_m4_foreach): Adjust.
7971         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
7972         m4_bpatsubst for clarification.
7974 2002-03-04  Akim Demaille  <akim@epita.fr>
7976         * doc/autoconf.texi (Changequote is Evil): New.
7978 2002-03-03  Kevin Ryde  <user42@zip.com.au>
7980         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
7981         on old systems like SunOS.
7983 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
7985         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7986         lib/autoconf/functions.m4, lib/autoconf/general.m4,
7987         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
7988         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
7989         of messages.
7991 2002-02-28  Akim Demaille  <akim@epita.fr>
7993         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
7994         message to be sent.
7996 2002-02-28  Kevin Ryde  <user42@zip.com.au>
7998         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
8000 2002-02-25  Akim Demaille  <akim@epita.fr>
8002         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
8003         From Akinori Musha.
8005 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
8007         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
8008         translate \r\n to \n.
8010 2002-02-07  Akim Demaille  <akim@epita.fr>
8012         Version 2.52h.
8014 2002-02-07  Akim Demaille  <akim@epita.fr>
8016         Fix Autoconf PR/209.
8017         Also reported by Frank Denis.
8019         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
8021 2002-02-07  Akim Demaille  <akim@epita.fr>
8023         Fix Autoconf PR/207:
8024         AC_PREFIX_PROGRAM fails with dashed program names
8026         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
8027         variable when looking for the prefix program.
8028         Now it also works for shell variables.
8030 2002-02-07  Akim Demaille  <akim@epita.fr>
8032         * doc/autoconf.texi (Limitations of Builtins): More about
8033         case/esac.
8035 2002-02-06  Akim Demaille  <akim@epita.fr>
8037         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
8038         case/esac, some shells don't support it.
8039         Reported by Zack Weinberg.
8040         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
8042 2002-02-06  Akim Demaille  <akim@epita.fr>
8044         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
8045         sure not to introduce newlines in at_groups.
8046         * lib/autotest/Makefile.am (autotest.m4f): Typo.
8048 2002-02-06  Akim Demaille  <akim@epita.fr>
8050         * tests/torture.at (Configuring subdirectories): Skip if aclocal
8051         is not available.
8053 2002-02-05  Paul Eggert  <eggert@twinsun.com>
8055         * doc/autoconf.texi (Specific Compiler Characteristics):
8056         Describe HP-UX cc bug workaround more accurately.
8057         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
8058         not unsigned long.
8059         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
8060         cross-compilers, too.  This undoes some of the most recent change
8061         to this file.
8063 2002-02-05  Akim Demaille  <akim@epita.fr>
8065         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
8066         to make sure they are up to date when `check' is run.
8068 2002-02-05  Akim Demaille  <akim@epita.fr>
8070         * doc/autoconf.texi (Making testsuite Scripts): Document
8071         package.m4.
8073 2002-02-05  Akim Demaille  <akim@epita.fr>
8075         * lib/freeze.mk: New.
8077 2002-02-05  Akim Demaille  <akim@epita.fr>
8079         Implement `autom4te --freeze'.
8081         * bin/autom4te.in (&freeze): New.
8082         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
8083         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
8085 2002-02-05  Akim Demaille  <akim@epita.fr>
8087         * bin/autom4te.in (&parse_args): Implement `frozen files are
8088         optional are the sum of the previous files on the command line'.
8089         Also, pass `--reload-state=' on them, so...
8090         (handle_m4): don't.
8091         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
8092         (M4sh): Rely on M4sugar.
8093         (Autotest, M4sh, M4sugar): Use frozen files.
8095 2002-01-31  Akim Demaille  <akim@epita.fr>
8097         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
8098         * doc/autoconf.texi (Initializing configure): Adjust.
8100 2002-01-30  Akim Demaille  <akim@epita.fr>
8102         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
8103         alphanumeric to `-' instead of `_'.
8105 2002-01-30  Akim Demaille  <akim@epita.fr>
8107         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
8108         for plain code, the other for cross-compilation code.  The latter
8109         is now run with GCC only.
8110         * doc/autoconf.texi (Compilers and Preprocessors): New.
8112 2002-01-30  Akim Demaille  <akim@epita.fr>
8114         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
8115         values.
8116         * doc/autoconf.texi (Initializing configure): Explain how to
8117         change AC_INIT default values.
8119 2002-01-29  Akim Demaille  <akim@epita.fr>
8121         * tests/torture.at (Configuring subdirectories): Use configure.in,
8122         so that aclocal 1.4 works.
8123         Reported by Alexandre Duret-Lutz and Larry Schmitt.
8125 2002-01-28  Akim Demaille  <akim@epita.fr>
8127         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
8128         needs an argument.
8130 2002-01-28  Akim Demaille  <akim@epita.fr>
8132         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
8133         AUTOTEST_PATH *after* it was set.
8134         Don't put `.' in the PATH: the user should be precise and `./' if
8135         needed.  In addition, given that the test suite does some `cd', if
8136         `.' is in the path, the `tested programs' sections will report
8137         programs found in the test suite's directory, while during the
8138         tests (performed in their own directory), these programs are no
8139         longer visible.  In other words, the results is confusing and
8140         useless.
8141         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
8143 2002-01-24  Akim Demaille  <akim@epita.fr>
8145         Version 2.52g.
8147 2002-01-24  Akim Demaille  <akim@epita.fr>
8149         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
8150         * doc/autoconf.texi: Finally add Akim as an author.
8152 2002-01-24  Akim Demaille  <akim@epita.fr>
8154         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
8155         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
8156         Bourne. Use /bin/sh.
8157         From Andreas Buening.
8159 2002-01-24  Akim Demaille  <akim@epita.fr>
8161         * config/config.guess, config/config.sub, config/texinfo.tex:
8162         Update from masters.
8164 2002-01-24  Akim Demaille  <akim@epita.fr>
8166         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
8167         * config/auxdir.m4, config/cond.m4, config/depend.m4,
8168         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
8169         * config/missing.m4, config/sanity.m4, config/select.m4,
8170         * config/strip.m4: Remove, to ease sync'ing with any version of
8171         Automake.
8173 2002-01-24  Akim Demaille  <akim@epita.fr>
8175         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
8176         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
8177         Reported by Geir Ove Myhr.
8179 2002-01-21  Akim Demaille  <akim@epita.fr>
8181         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
8183 2002-01-21  Akim Demaille  <akim@epita.fr>
8185         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
8186         message on invalid options.
8187         * bin/autom4te.in (parse_args): Don't use
8188         Autoconf::General::getopt with non valid options.
8190 2002-01-17  Jim Meyering  <meyering@lucent.com>
8192         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
8193         $ac_cv_exeext so we don't use an old, invalid, cached value.
8195 2002-01-11  Akim Demaille  <akim@epita.fr>
8197         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
8198         Meyering.
8199         * doc/autoconf.texi (Function Portability): Document the strnlen
8200         limitation.
8201         (Particular Functions): Document AC_FUNC_STRNLEN.
8202         * lib/autoscan/functions: Adjust.
8204 2002-01-06  Akim Demaille  <akim@epita.fr>
8206         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
8207         package.m4, since is really depends upon configure.ac, not
8208         configure.
8209         * doc/autoconf.texi (testsuite Scripts): Adjust.
8210         * tests/Makefile.am (package.m4): New.
8211         EXTRA_DIST it since its a source.
8213 2002-01-06  Akim Demaille  <akim@epita.fr>
8215         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
8216         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
8217         and PACKAGE_BUGREPORT from here...
8218         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
8219         arguments.
8220         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
8221         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
8222         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
8223         * tests/tools.at (autoheader): Adjust.
8224         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
8226 2002-01-06  Akim Demaille  <akim@epita.fr>
8228         * bin/autoscan.in (scan_file): Use `&used'.
8230 2002-01-03  Akim Demaille  <akim@epita.fr>
8232         * doc/autoconf.texi (Output): Improved wording regarding use of
8233         AC_OUTPUT.
8234         From Olly Betts.
8236 2001-12-18  Kevin Ryde  <user42@zip.com.au>
8238         * doc/autoconf.texi (Function Portability): Add notes on sscanf
8239         sometimes needing writable input.
8241 2001-12-17  Jim Meyering  <meyering@lucent.com>
8243         * doc/autoconf.texi (New Macros): Tweak wording.
8245 2001-12-14  Akim Demaille  <akim@epita.fr>
8247         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
8248         trailing files, don't apply `-rf' to files which might not be
8249         created by configure (core, core.*, and *.core), but just `rm -f'.
8250         Suggested by Jonathan Kamens.
8252 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
8254         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
8256 2001-12-14  Akim Demaille  <akim@epita.fr>
8258         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
8260 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
8262         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
8263         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
8264         abs_srcdir, top_srcpath to abs_top_srcdir.
8265         (_AC_OUTPUT_FILES): Adjust.
8266         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
8267         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
8268         * tests/wrappl.in, tests/wrapsh.in: Adjust.
8270 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
8272         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
8273         C/Fortran linking on HP/UX, by extracting the Fortran library
8274         search path from the LPATH line in the $F77 -v output.
8276 2001-12-12  Kevin Ryde  <user42@zip.com.au>
8278         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
8279         forbidden file descriptors table.
8281 2001-11-26  Akim Demaille  <akim@epita.fr>
8283         * bin/autoscan.in (%c_keywords): Build it at top level.
8284         Map to 1 in order to simplify its uses.
8286 2001-11-26  Akim Demaille  <akim@epita.fr>
8288         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
8289         Remove $filepath, useless.
8290         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
8291         variables, they are really part of the tokens.
8292         Split the input line on spaces and then look for tokens.
8293         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
8294         because of `lex$U.$(OBJEXT)'.
8295         (&scan_files): Use "@list" instead of join.
8296         * doc/Makefile.am (CLEANFILES): Add *.fns.
8298 2001-11-26  Akim Demaille  <akim@epita.fr>
8300         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
8301         Remove, replaced by...
8302         * tests/wrappl.in: Be common for all the Perl executables.
8303         In particular autoscan and autoheader want -I.
8304         * configure.ac: Adjust.
8305         * lib/autoscan/headers: errno.h is portable.
8307 2001-11-26  Akim Demaille  <akim@epita.fr>
8309         * bin/autoscan.in (used): New.
8310         Use it.
8312 2001-11-26  Akim Demaille  <akim@epita.fr>
8314         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
8315         directives.
8316         (&scan_sh_file): Remove a duplicate pattern.
8317         (&check_configure_ac): Use long options.
8318         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
8320 2001-11-26  Akim Demaille  <akim@epita.fr>
8322         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
8323         Before, having a line containing the opening of a multi line
8324         comment made the whole line be ignored.
8326 2001-11-26  Akim Demaille  <akim@epita.fr>
8328         * doc/autoconf.texi (Using an Autotest Test Suite): New.
8329         (testsuite Scripts): Be one of its subsection.
8330         (Autotest Logs): New.
8332 2001-11-26  Akim Demaille  <akim@epita.fr>
8334         Test groups are now run two directories deeper.
8336         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
8337         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
8338         at_top_builddir.
8339         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
8340         top_srcdir, builddir and top_builddir.
8341         Use `at_*dir' relatively to the directory containing the
8342         suite, use `*dir' when relatively to the current group dir.
8344 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
8346         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
8347         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
8348         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
8349         spelling errors.
8351 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
8353         * doc/autoconf.texi (Using System Type): Add an example of `case
8354         $host' usage so people quit using `case $target' everywhere.
8356 2001-11-22  Akim Demaille  <akim@epita.fr>
8358         * doc/autoconf.texi (Installation Directory Variables): Englishoes
8359         spotted by Jim Meyering.
8361 2001-11-16  Paul Eggert  <eggert@twinsun.com>
8363         This patch implements a `long double' suggestion by Oliver Kiddle.
8365         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
8366         static, to catch errors if the value isn't known at compile-time
8367         and the compiler supports dynamic arrays.  Change its name from
8368         `_array_' to `test_array' to avoid potential name clashes.
8369         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
8370         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
8371         better than double.  Catch a bug in GCC 2.95.2 x86.
8372         * doc/autoconf.texi (C Compiler): Document the above.
8373         * NEWS: Likewise.
8375 2001-11-13  Akim Demaille  <akim@epita.fr>
8377         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
8378         hand.
8379         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
8381 2001-11-13  Akim Demaille  <akim@epita.fr>
8383         * lib/autotest/general.m4 (AT_INIT): After having run the test
8384         group, go back to the initial directory, not to at_suite_dir.
8386 2001-11-13  Akim Demaille  <akim@epita.fr>
8388         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
8389         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
8390         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
8391         option.
8392         (AT_CHECK_CONFIGURE): Use absolute paths.
8393         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
8394         The problem is still the old one: there is no means in M4 (that I
8395         know about) to create a defining macro, because there is no means
8396         to create `$1' etc., therefore, the defining macro ``swallows''
8397         all the arguments meant to the defined macro.
8399 2001-11-13  Akim Demaille  <akim@epita.fr>
8401         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
8402         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
8403         configure.ac.
8404         * tests/aclocal.m4: Remove, as it is no longer used.
8406 2001-11-13  Akim Demaille  <akim@epita.fr>
8408         * lib/autotest/general.m4: Change `tests?' into `groups?' in
8409         variable names when referring to a single test group, or to
8410         `suite' when referring to the whole test suite.
8411         `at_last_test' is removed: m4 compute at_format itself.
8412         (at_stdout, at_stder1, at_stderr): New variables.
8413         (AT_CHECK): Use them.
8415 2001-11-13  Akim Demaille  <akim@epita.fr>
8417         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
8418         in PATH.
8419         Create `testsuite.dir/003/run' instead of `testsuite.003'.
8420         Do it as soon as a test fails, don't wait till the end of the test
8421         suite.
8422         Don't remove $as_me.[0-9]*, since these files no longer exist.
8424 2001-11-13  Akim Demaille  <akim@epita.fr>
8426         * tests/tools.at: Use absolute paths, since we are no longer run
8427         in place.
8429 2001-11-13  Akim Demaille  <akim@epita.fr>
8431         Now that tests are running in their own private dir, there is no
8432         need to list the files to remove at the end of tests groups.
8434         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
8435         (AT_data_files, at_data_files): Remove.
8436         (AT_CLEANUP, AT_DATA): Simplify.
8437         (AT_INIT): Adjust.
8438         Remove the group dir if !debug && !failed.
8439         * tests/atspecific.m4: Adjust.
8441 2001-11-13  Akim Demaille  <akim@epita.fr>
8443         Start a new layout for Autotest: `testsuite' creates
8444         `testsuite.dir' in which the at-check-line etc. files are to be
8445         found, and `testsuite.dir/003' where the test group 3 is run.
8447         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
8448         at_check_line_file, at_format, at_test_normalized, at_group_dir
8449         are new variables.
8450         Create the directories.
8451         Use absolute paths for at- files.
8452         (AT_CHECK): Adjust.
8454 2001-11-11  Michael Matz  <matz@kde.org>
8456         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
8457         (m4_car2): New.
8458         (m4_car): Properly quote arguments.
8460 2001-11-13  Akim Demaille  <akim@epita.fr>
8462         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
8463         with stricter rules on LIBOBJS.
8465 2001-11-12  Paul Eggert  <eggert@twinsun.com>
8467         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
8468         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
8469         __PROTOTYPES too.
8471 2001-11-12  Akim Demaille  <akim@epita.fr>
8473         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
8475 2001-11-12  Akim Demaille  <akim@epita.fr>
8477         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8478         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
8479         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8480         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
8481         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
8482         specify to what the macro should be defined (typically to 1).
8484 2001-11-12  Akim Demaille  <akim@epita.fr>
8486         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
8487         From Jim Meyering.
8489 2001-11-12  Akim Demaille  <akim@epita.fr>
8491         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
8492         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
8493         definition used by Automake where LEX is +/- "${missing} lex" and
8494         `missing' itself contains variables.
8496 2001-11-12  Akim Demaille  <akim@epita.fr>
8498         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
8499         Now that M4sh pushes BODY, the comments were output at the end of
8500         the test suites.
8502 2001-11-08  Akim Demaille  <akim@epita.fr>
8504         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
8505         that we can trace macros from aclocal.m4.
8506         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
8507         obsoleted, and redirect to the former anyway.
8508         Reported by Ralf Corsepius.
8510 2001-11-08  Akim Demaille  <akim@epita.fr>
8512         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
8513         processed only if present.
8514         * tests/torture.at (Configuring subdirectories): Use autoreconf
8515         instead of successive calls to autoconf.
8516         Add a nonexistent subdirectory to exercise the patch above.
8517         Reported by Ralf Corsepius.
8519 2001-11-08  Kevin Ryde  <user42@zip.com.au>
8521         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
8522         doesn't accept .S files.
8524 2001-11-07  Akim Demaille  <akim@epita.fr>
8526         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
8527         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
8528         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
8529         * bin/autom4te.in (warn_forbidden): New.
8530         (handle_output): Use it.
8531         Read m4_pattern_forbid with messages.
8533 2001-11-05  Akim Demaille  <akim@epita.fr>
8535         * bin/autom4te.in (--normalize): Remove.
8536         * lib/autom4te.in: Adjust.
8538 2001-11-05  Akim Demaille  <akim@epita.fr>
8540         * tests/Makefile.am (testsuite): Rename this target as...
8541         ($(TESTSUITE)): this.
8542         From Nicolas Joly.
8544 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
8546         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
8547         the --prefix option, also remove it's argument.
8549 2001-11-05  Akim Demaille  <akim@epita.fr>
8551         * doc/autoconf.texi (testsuite Invocation): Update.
8552         (Writing testsuite.at): Update.
8554 2001-11-03  Akim Demaille  <akim@epita.fr>
8556         * doc/autoconf.texi: s/@code/@command/ where appropriate.
8558 2001-11-03  Akim Demaille  <akim@epita.fr>
8560         * lib/Autom4te/General.pm: (&catfile, &canonfile)
8561         (&file_name_is_absolute): New, wrappers around routines from
8562         File::Spec.
8563         Use and export them.
8564         (&find_configure_ac): Optionally take a directory where to look at.
8565         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
8566         the arguments.
8567         Default @ARGV to `.', not find_configure_ac.
8568         (&autoreconf): Argument is a directory.
8569         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
8570         * doc/autoconf.texi (autoreconf Invocation): Update.
8572 2001-11-03  Akim Demaille  <akim@epita.fr>
8574         * lib/Autom4te/General.pm (@export_vars, @export_subs)
8575         (@export_forward_subs): New.
8576         Add basename, dirname, and fileparse.
8577         (@EXPORT): Adjust.
8578         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
8579         Don't look for aclocal flags if we already know aclocal is not
8580         used.
8581         Move aclocal.m4t only if it exists.
8582         Reported by Ezra Peisach.
8584 2001-11-03  Akim Demaille  <akim@epita.fr>
8586         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
8587         passed on command line, defaulting to ./configure.ac if present.
8588         (&maybe_autoreconf, File::Find): Remove, unused.
8589         (&autoreconf): If autoconf is not used, don't try to trace.
8591 2001-11-02  Akim Demaille  <akim@epita.fr>
8593         * configure.ac: Bump to 2.52g.
8595 2001-11-02  Akim Demaille  <akim@epita.fr>
8597         Version 2.52f.
8599 2001-11-02  Akim Demaille  <akim@epita.fr>
8601         * config/config.guess, config/config.sub, doc/standards.texi:
8602         * config/lispdir.m4: Update from masters.
8603         * configure.ac: Bump to 2.52f.
8605 2001-11-02  Akim Demaille  <akim@epita.fr>
8607         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
8608         Don't run aclocal when aclocal.m4 is not from aclocal.
8609         From Ezra Peisach.
8610         Don't run libtoolize and gettextize if --install is not given.
8612 2001-11-01  Paul Eggert  <eggert@twinsun.com>
8614         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
8615         be invoked before _AS_LINENO_PREPARE.
8616         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
8617         than character ranges.
8619         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
8620         invoking AS_BASENAME.  Set the locale variables to 'C' if
8621         possible, as POSIX requires this to get the traditional
8622         behavior.
8623         * doc/autoconf.texi (Special Shell Variables): Describe the above.
8625 2001-10-31  Paul Eggert  <eggert@twinsun.com>
8627         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
8628         with {}, as that triggers a bug in Bash 2.05.
8630         (_AS_LINENO_PREPARE): Use Sed rather than
8631         Awk.  Fix the sed prepass to work even if there are multiple
8632         instances of $LINENO on the same line.  Do not substitute for
8633         other variables like $LINENOT.  Do not check file dates; such a
8634         check is unreliable on sufficiently fast machines, and removing
8635         the check makes the code simpler and more reliable.  Check for
8636         output and chmod failures.
8638         * doc/autoconf.texi (Special Shell Variables): Document
8639         the above.
8641 2001-10-31  Akim Demaille  <akim@epita.fr>
8643         * tests/Makefile.am (atconfig): Remove this target, Automake
8644         handles it now.
8646 2001-10-31  Akim Demaille  <akim@epita.fr>
8648         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
8649         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
8650         provided, while it is optional.
8651         * configure.ac: Adjust.
8653 2001-10-26  Paul Eggert  <eggert@twinsun.com>
8655         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
8656           lib/Autom4te/Struct.pm:
8657         Require Perl 5.005_03 instead of just 5.005, as some tests fail
8658         with 5.005_02.
8660         * doc/autoconf.texi (Special Shell Variables): Document some
8661         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
8663         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
8664         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
8665         eval $LINENO is not portable in practice.
8667 2001-10-24  Akim Demaille  <akim@epita.fr>
8669         * lib/Autom4te/General.pm (backname): New.
8671 2001-10-24  Akim Demaille  <akim@epita.fr>
8673         * m4/: Remove, merged into...
8674         * config/: here.
8676 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
8678         * doc/autoconf.texi (Shellology): Mention the problems with bash
8679         2.05's use of ANSI quoting in its `set' builtin.
8681 2001-10-22  Paul Eggert  <eggert@twinsun.com>
8683         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
8684         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
8685         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
8686         POSIX decided to standardize on the int flavor of strerror_r.
8687         Always do char* test, as there's no reason not to.
8688         Assign to a char* var, to catch strerror_r that returns int*.
8690         * doc/autoconf.texi (Particular Functions):
8691         Document the above changes.  Also, document the fact that
8692         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
8694         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
8696 2001-10-20  Akim Demaille  <akim@epita.fr>
8698         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
8699         the executable was missing from the log.
8701 2001-10-20  Akim Demaille  <akim@epita.fr>
8703         * lib/Autom4te/General.pm (&update_file): If destination is
8704         unchanged, remove the source.
8705         (&up_to_date_p): Don't be verbose, be debug.
8706         * bin/autoreconf.in: No longer support --m4dir.
8707         (&autoreconf): Display the full path of the configure.ac we are
8708         studying.
8709         Trace it only once.
8710         Be sure to honor --force with gettextize.
8711         Always run aclocal.
8712         * doc/autoconf.texi: Adjust.
8714 2001-10-20  Akim Demaille  <akim@epita.fr>
8716         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
8717         Remove, dead.
8718         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
8719         `intl' is already present, as it refuses unless --force.
8720         (&parse_args): Use -I, --include instead of the old Autoconf
8721         options.
8722         ($localdir, $autoconf_dir): Remove.
8723         (@include): New.
8724         (&maybe_autoreconf): New, to preserve $_ for File::Find.
8726 2001-10-19  Jens Petersen  <petersen@redhat.com>
8728         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
8729         * doc/autoconf.texi (Particular Programs): Likewise.
8731 2001-10-19  Akim Demaille  <akim@epita.fr>
8733         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
8734         file in @configure_input@.
8735         Don't mention `automatically' in addition to `generated'.
8736         * tests/torture.at (#define header templates): Adjust.
8738 2001-10-19  Akim Demaille  <akim@epita.fr>
8740         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
8741         comment, explain how to install automatic mode selection.
8742         From Russ Allbery.
8744 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
8746         * bin/autoreconf.in (autoreconf): Display the path to the
8747         configure.ac being studied.
8749 2001-10-18  Paul Eggert  <eggert@twinsun.com>
8751         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
8752         long, to work around a bug in the HP C compiler version HP92453-01
8753         B.11.11.23709.GP.
8755         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
8756         (AS_BASENAME_EXPR): New macro.
8757         (AS_BASENAME_SED): Do not assume GNU sed semantics.
8758         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
8759         and fall back on 'sed' only if the other two fail.  This makes
8760         AS_BASENAME act more like AS_DIRNAME.
8761         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
8762         contains white space.
8763         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
8764         Use AS_DIRNAME, since I think it's now DOS-friendly.
8765         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
8766         Allow "dirname //FOO" to return either / or //, as POSIX allows
8767         either behavior.
8769 2001-10-10  Akim Demaille  <akim@epita.fr>
8771         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
8772         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
8773         From Eric Sharkey.
8775 2001-10-10  Akim Demaille  <akim@epita.fr>
8777         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
8778         m4_define, since...
8779         (_AS_ECHO_N): AS_REQUIREs it.
8781 2001-10-10  Akim Demaille  <akim@epita.fr>
8783         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
8784         (AC_INCLUDES_DEFAULT): Move to...
8785         * lib/autoconf/headers.m4: here.
8786         * lib/autoconf/types.m4: Comment changes.
8787         * doc/autoconf.texi: Specify where the default includes are used
8788         in the macro prototypes.
8790 2001-10-09  Akim Demaille  <akim@epita.fr>
8792         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
8793         transition code.
8795 2001-10-08  Akim Demaille  <akim@epita.fr>
8797         * bin/autoreconf.in (&autoreconf): Remove debugging code.
8798         (&parse_args): Pass verbosity/debugging options to subtools when
8799         --debug, not when --verbose.
8800         * lib/autom4te.in (Autoreconf-preselections): New.
8801         (Autoconf): Use it.
8803 2001-10-08  Akim Demaille  <akim@epita.fr>
8805         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
8807 2001-10-08  Akim Demaille  <akim@epita.fr>
8809         * doc/autoconf.texi (autoreconf Invocation): Adjust.
8810         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
8812 2001-10-08  Akim Demaille  <akim@epita.fr>
8814         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
8815         (Syntax of the shell scripts): Don't.
8816         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
8817         bother with $force since...
8818         * lib/Autom4te/General.pm: does.
8820 2001-10-08  Akim Demaille  <akim@epita.fr>
8822         * bin/autoreconf.in: Rewrite in Perl.
8823         * configure.ac: Adjust.
8824         * lib/Autom4te/General.pm (&up_to_date_p): New.
8825         * bin/autom4te.in (&up_to_date_p): Use it.
8826         Rename as...
8827         (&up_to_date): this.
8829 2001-10-08  Akim Demaille  <akim@epita.fr>
8831         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
8832         (m4_list_cmp): Use $0 to reinvoke yourself.
8833         (m4_patsubsts): New.
8834         (m4_strip, m4_version_unletter): Use it.
8835         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
8837 2001-10-08  Akim Demaille  <akim@epita.fr>
8839         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
8840         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
8841         * lib/autoconf/types.m4, lib/autotest/general.m4,
8842         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
8843         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
8844         m4_bregexp, m4_bpatsubst, and m4_bmatch.
8845         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
8847 2001-10-08  Akim Demaille  <akim@epita.fr>
8849         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
8851 2001-10-08  Akim Demaille  <akim@epita.fr>
8853         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
8854         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
8855         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
8856         * tests/tools.at, tests/m4sh.at: Use it.
8857         * tests/m4sh.at: Don't rely on Autoconf macros.
8858         (DIRNAME_TEST): Also exercise the expr variant.
8859         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
8860         preferred M4sugar extension is now `.4s'.
8861         * tests/README: Remove.
8863 2001-10-08  Akim Demaille  <akim@epita.fr>
8865         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
8866         (m4_provide_if): this.
8867         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
8868         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
8869         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
8870         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
8872 2001-10-08  Akim Demaille  <akim@epita.fr>
8874         Use `add-log-current-defun-function' for ChangeLog creation.
8875         Suggested by Tom Tromey.
8877         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
8878         (autotest-mode): Adjust.
8879         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
8880         'comment-region onto `C-c ;'.
8881         Comments are `#', not `dnl'.
8882         (autoconf-current-defun): New.
8883         (autoconf-font-lock-keywords): Recognize `m4_defun'.
8885 2001-10-08  Akim Demaille  <akim@epita.fr>
8887         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
8888         * lib/m4sugar/m4sh.m4: here.
8889         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
8890         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
8891         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
8892         include handle the m4_pattern_*, no longer push the
8893         BODY diversion nor set the /bin/sh line, AS_INIT does it.
8894         * lib/autotest/general.m4 (AT_INIT): Likewise.
8895         * tests/base.at: Adjust the tests to use AS_INIT.
8896         * tests/tools.at (AT_DATA_FORBIDDEN): New.
8897         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
8898         Autoconf.
8900 2001-10-07  Paul Eggert  <eggert@twinsun.com>
8902         * doc/autoconf.texi (config.status Invocation):
8903         CONFIG_SHELL defaults to a shell that supports LINENO if available.
8905         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
8906         shell does not support LINENO, and if CONFIG_SHELL is unset or
8907         empty, and if we can find a shell that does support LINENO,
8908         then set CONFIG_SHELL to that shell and then re-execute
8909         ourselves with CONFIG_SHELL.
8911 2001-10-05  Paul Eggert  <eggert@twinsun.com>
8913         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
8914         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
8915         build of $(TESTSUITE).
8917 2001-10-05  Akim Demaille  <akim@epita.fr>
8919         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
8920         iff we are a bareword.
8921         Reported by Raja R Harinath.
8923 2001-10-05  Akim Demaille  <akim@epita.fr>
8925         * tests/m4sh.at (LINENO): New.
8926         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
8927         PATH_SEPARATOR before using it.
8928         Fix the absolute path case/esac pattern.
8929         Provide $0 as fallback for as_myself.
8930         Reported by Raja R Harinath.
8932 2001-10-05  Akim Demaille  <akim@epita.fr>
8934         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
8935         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
8937 2001-10-05  Akim Demaille  <akim@epita.fr>
8939         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
8940         (AS_SHELL_SANITIZE): here.  Use it.
8941         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
8942         From Paul Eggert.
8944 2001-10-04  Akim Demaille  <akim@epita.fr>
8946         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
8947         combination of Awk and sed to replace $LINENO.
8949 2001-10-02  Paul Eggert  <eggert@twinsun.com>
8951         * doc/autoconf.texi (Limitations of Builtins): You can't use
8952         "source"; it's not portable.  Remove confusing and
8953         somewhat-incorrect example involving "." and "/".
8955         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
8956         compatibility with POSIX shells.
8958 2001-10-02  Akim Demaille  <akim@epita.fr>
8960         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
8961         instead of exec'ing to preserve $0 and $@.
8963 2001-10-01  Akim Demaille  <akim@epita.fr>
8965         * tests/testsuite (AT_INIT) <at_pass_list>: New.
8966         Don't run twice the same test.
8968 2001-10-01  Akim Demaille  <akim@epita.fr>
8970         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
8971         No longer output the list of tests.
8972         <--list>: New option.
8973         <--full-help>: Remove.
8974         Complete the short/long options duality.
8975         Various small adjustments.
8977 2001-10-01  Akim Demaille  <akim@epita.fr>
8979         * doc/autoconf.texi: Use @kbd for user input.
8980         Always use `$' as shell prompt.
8982 2001-09-30  Paul Eggert  <eggert@twinsun.com>
8984         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
8985         Don't use nested parenthesization.  This patch was originally
8986         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
8987         but somehow it didn't get incorporated then.
8988         * doc/autoconf.texi (Limitations of Usual Tools):
8989         Clarify remark about sed and nested parenthesization.
8991         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
8992         Report an error if the size cannot be determined even though
8993         the type exists.
8994         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
8995         Check for `expr' arithmetic overflow, and for compilation failure,
8996         and invoke a new argument $4 if either is discovered.
8997         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
8998         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
9000 2001-09-28  Akim Demaille  <akim@epita.fr>
9002         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
9003         * m4/lispdir.m4: New.
9004         * aclocal.m4, configure.ac: Adjust.
9006 2001-09-28  Akim Demaille  <akim@epita.fr>
9008         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
9009         (AT_TESTED): this.
9010         (AT_INIT): More the wrapped section to where it will be expanded.
9011         Output `AT_tested' only when existing.
9012         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
9014 2001-09-27  Akim Demaille  <akim@epita.fr>
9016         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
9017         generates too many bug reports.
9019         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
9020         status when executing the ACTION-IF-FALSE.
9021         * tests/base.at (AC_TRY_*): Rename as...
9022         (AC_TRY_COMMAND): this.
9023         (AC_RUN_IFELSE): New.
9024         * tests/compile.at (Extensions, C keywords)
9025         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
9026         (Broken/missing compilers, AC_PROG_CPP with warnings)
9027         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
9028         * tests/c.at (Extensions, C keywords)
9029         (Broken/missing compilers, AC_PROG_CPP with warnings)
9030         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
9031         (AC_PROG_CPP requires AC_PROG_CC): here and...
9032         * tests/fortran.at (GNU Fortran 77): there.
9033         * doc/autoconf.texi (autoconf Invocation): Fix the example:
9034         AC_TRY_RUN is about compilation, not shell commands.
9035         (Test Programs): AC_TRY_RUN works as used to be advertised.
9037 2001-09-27  Akim Demaille  <akim@epita.fr>
9039         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
9040         Raja R Harinath:
9041         Be sure to detect when $LINENO always returns the same value.
9042         Look for the original script, basename($0) is certainly not
9043         enough.
9044         Pass the CLI arguments to `$as_me.lineno'.
9046 2001-09-25  Akim Demaille  <akim@epita.fr>
9048         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
9049         Be sure the close and reopen the LOG fd before and after using tee
9050         to extend the log.
9051         <at_tests_pattern>: Adjust to the new format of at_help_all.
9053 2001-09-23  Akim Demaille  <akim@epita.fr>
9055         * bin/autom4te.in (parse_args): There can be several invocations
9056         of --language now.
9058 2001-09-23  Akim Demaille  <akim@epita.fr>
9060         * doc/autoconf.texi (Top): Wrap in @ifnottex.
9062 2001-09-23  Akim Demaille  <akim@epita.fr>
9064         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
9065         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
9066         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
9067         builddir, buildpath, top_builddir, and top_buildpath.
9068         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
9069         the current directory.
9070         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
9071         variables *before* changing the current directory.
9072         Skip nonexistent dirs.
9073         * doc/autoconf.texi (Preset Output Variables): Document these
9074         variables.
9076         * lib/autotest/general.m4: Do not reset AT_victims.
9077         Don't compute at_srcdir nor at_top_srcdir.
9079         * tests/tools.at: Hence use top_srcdir.
9081         * tests/Makefile.am, tests/autoconf, tests/autoheader,
9082         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
9083         Remove.
9084         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
9085         * tests/wrapsh.in, tests/autoupdate.in: New.
9086         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
9087         * configure.ac: Build the position independent wrappers.
9089         * man/Makefile.am: Now that test wrappers are position
9090         independent, use them and drop dark envvar magic.
9092 2001-09-23  Akim Demaille  <akim@epita.fr>
9094         * doc/autoconf.texi (Common Shell Constructs): Rename as...
9095         (Programming in M4sh): this.
9096         Promote to @section.
9098 2001-09-23  Akim Demaille  <akim@epita.fr>
9100         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
9101         Pass $at_debug_args to the rerun test suite.
9102         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
9103         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
9104         From Paul Eggert.
9106 2001-09-23  Akim Demaille  <akim@epita.fr>
9108         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
9110 2001-09-23  Akim Demaille  <akim@epita.fr>
9112         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
9113         over-escaping.
9115 2001-09-23  Akim Demaille  <akim@epita.fr>
9117         * lib/Autom4te/General.pm (&debug): New.
9118         * bin/autom4te.in ($language): Move to...
9119         (parse_args): here.
9120         Handle --language in languages.
9121         * lib/autom4te.in (Automake-selections, Autoheader-selections)
9122         (Autoscan-selections): New.
9123         (Autoconf): Adjust.
9125 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
9127         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
9128         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
9129         to match current versions from CVS Automake.
9131 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
9133         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
9134         for $LINENO.
9136 2001-09-22  Akim Demaille  <akim@epita.fr>
9138         * lib/autoconf/autotest.m4: Create `package.m4'.
9139         * tests/Makefile.am (package.m4): Remove.
9141 2001-09-22  Akim Demaille  <akim@epita.fr>
9143         Rely on `$LINENO' when possible instead of `__oline__'.
9145         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
9146         `$LINENO' support replacement when not supported.
9147         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
9148         them explicitly to be sure they are not output before this section
9149         (via m4_require).  Cosmetic only.
9150         * lib/autoconf/c.m4, lib/autoconf/general.m4,
9151         * lib/autoconf/programs.m4: Replace all the occurrences of
9152         `__oline__' with `$LINENO'.
9153         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
9155 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
9157         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
9158         character (u: -> ue) in a code comment.
9159         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
9160         it works.
9162 2001-09-21  Akim Demaille  <akim@epita.fr>
9164         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
9165         Suggested by Jim Meyering.
9167 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9169         * lib/autoconf/programs.m4: Use extensions listed in
9170         $ac_executable_extensions when looking for programs.
9172 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9174         * lib/autoconf/general.m4: Fix a small Englisho.
9175         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
9176         setting up ac_dir_suffix and ac_top_builddir.
9177         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
9179 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9181         * doc/autoconf.texi (File System Conventions): Clarify the use of
9182         PATH_SEPARATOR.
9183         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
9184         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
9185         be used instead of ':'.
9186         * lib/autotest/general.m4: Replace occurrences of ':' in
9187         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
9189 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9191         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
9192         arguments.  Fixed a typo.
9194 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9196         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
9197         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
9199 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9201         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
9202         * bin/autoupdate.in: Ditto.
9203         * bin/autoheader.in: Reworded a few comments.
9204         * bin/autoconf.in: Reworded help text for a few options.
9205         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9206         * bin/autoscan.in, bin/autoupdate.in: Ditto.
9208 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
9210         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
9211         already have $file).  Set output files to binary mode (helps avoid
9212         CR issues on DOSish systems).
9214 2001-09-19  Akim Demaille  <akim@epita.fr>
9216         * lib/autotest/general.m4: Englishoes.
9217         From Tim Van Holder and Alexey Mahotkin.
9219 2001-09-18  Paul Eggert  <eggert@twinsun.com>
9221         * doc/autoconf.texi (Common Shell Constructs): New node,
9222         documenting AS_DIRNAME.
9223         (Limitations of Usual Tools): Refer to it when discussing dirname.
9224         Also, update discussion of POSIX standard to reflect latest draft.
9226         * lib/autoconf/c.m4:
9227         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
9229         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
9230         Do not pass a first argument with leading '-'
9231         to expr, by parenthesizing initial integers that might be negative.
9233         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
9234         now merely checks whether it is an error to pass an argument
9235         to getpgrp.
9237         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
9238         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
9239         whether it is a (compile-time) error to pass an argument to
9240         getpgrp.  This simpler test supports the revised documentation,
9241         and is all that AC_FUNC_GETPGRP's users really need.
9243 2001-09-18  Akim Demaille  <akim@epita.fr>
9245         * doc/autoconf.texi (Limitations of Make) <$<>: New.
9247 2001-09-18  Akim Demaille  <akim@epita.fr>
9249         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
9250         `{}'.
9251         * lib/autotest/general.m4 (AT_INIT): Adjust.
9253 2001-09-18  Paul Wagland  <paul@wagland.net>
9255         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
9256         correctly.
9257         Add test for AS_BASENAME.
9258         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
9259         added test. It now correctly handles /1/2/3/, returning '3' not ''.
9260         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
9261         * tests/base.at: Fixed the expected responses. The old ones were
9262         one line out...
9263         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
9264         the documentation claims it should (and how it behaved in 2.13).
9266 2001-09-18  Akim Demaille  <akim@epita.fr>
9268         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
9269         the AC_CONFIG_COMMANDS invocation.
9270         This also solves the name clash problems.
9271         Don't set the package's ID.
9272         * lib/m4sugar/Makefile.am (version.m4): Revamp.
9273         No longer to be shipped.
9274         (version.in): Remove.
9275         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
9276         * lib/autoconf/status.m4: Adjust.
9277         Use `m4_PACKAGE_STRING'.
9278         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
9279         the only optional argument is the name of the test suite.
9280         Expect `package.m4' to define the package signature.
9281         * lib/autom4te.in (Autotest): Add `package.m4?'.
9282         * tests/Makefile.am (package.m4): New.
9283         * tests/suite.at: ifnames is a victim.
9285 2001-09-18  Akim Demaille  <akim@epita.fr>
9287         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
9288         AC_LIBSOURCE, AC_CONFIG_FILES.
9289         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
9290         program version string doesn't match the package's.
9291         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
9292         after `(cached)'.
9294 2001-09-17  Paul Eggert  <eggert@twinsun.com>
9296         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
9297         Allow expression to return any value that can fit into unsigned long
9298         (not int, as before).  Check for output errors.
9300 2001-09-17  Bruno Haible  <haible@ilog.fr>
9302         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
9303         Always include <stdio.h> and <stdlib.h>. Evaluate
9304         the expression in an extra function before these includes. Call
9305         fprintf "%d" only after ensuring the argument is of type 'int'.
9306         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
9308 2001-09-17  Paul Eggert  <eggert@twinsun.com>
9310         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
9311         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
9312         fatal errors, and AC_CHECK_LIB causes it to include libraries even
9313         when they don't exist.
9315         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
9316         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
9317         need it.
9319         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
9320         version with the version used by fileutils 4.1, except use
9321         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
9322         we don't need it.
9324         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
9326 2001-09-13  Akim Demaille  <akim@epita.fr>
9328         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
9329         _first_.
9330         Reported by Gerrit P. Haase.
9332 2001-09-13  Akim Demaille  <akim@epita.fr>
9334         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
9335         m4_defn'ing is valid.
9337 2001-09-13  Akim Demaille  <akim@epita.fr>
9339         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
9340         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
9341         Use it.
9343 2001-09-13  Akim Demaille  <akim@epita.fr>
9345         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
9346         m4_match.
9347         (m4_re_escape): New.
9348         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
9349         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
9350         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
9351         Likewise.
9352         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
9353         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
9354         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
9355         AT_tests_all for consistency.
9356         Set at_victims.
9357         (AT_VICTIMS): Similar to AT_KEYWORDS.
9358         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
9360 2001-09-13  Akim Demaille  <akim@epita.fr>
9362         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
9364 2001-09-13  Akim Demaille  <akim@epita.fr>
9366         * lib/autotest/general.m4 (AT_INIT): Create and remove
9367         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
9368         test suites can cohabit.
9370 2001-09-13  Akim Demaille  <akim@epita.fr>
9372         * tests/mktests.sh: Don't output banners for empty test files.
9374 2001-09-13  Akim Demaille  <akim@epita.fr>
9376         Test suites can be run independently of configure.
9378         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
9379         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
9380         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
9381         ECHO_N etc.
9382         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
9383         and at_c.
9384         * lib/autotest/general.m4: Use ECHO_*.
9386 2001-09-13  Akim Demaille  <akim@epita.fr>
9388         * bin/ifnames.in: Rewrite in Perl.
9389         * configure.ac: Don't look for AWK.
9390         * tests/tools.at (AWK portability): Remove.
9391         (Syntax of the shell scripts): Don't check ifnames.
9392         (AT_CHECK_PERL_SYNTAX): New.
9393         (Syntax of the Perl scripts): Check ifnames.
9394         * tests/ifnames: New.
9396 2001-09-13  Akim Demaille  <akim@epita.fr>
9398         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
9399         test group titles.
9400         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
9401         Remove all the other keywords.
9403 2001-09-10  Akim Demaille  <akim@epita.fr>
9405         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
9406         SETUP: no longer used.
9407         Support -k, --keywords.
9408         <at_help>: Be `no', `short', or `long'.
9409         <at_help_all>: New variable.
9410         (AT_KEYWORDS): New.
9411         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
9412         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
9413         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
9414         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
9415         No longer fill the HELP diversion.
9416         (AT_CLEANUP): Use them.
9417         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
9418         (m4_list_append): Remove.
9420         Spread a few keywords in the Autoconf test suite.
9422 2001-09-10  Akim Demaille  <akim@epita.fr>
9424         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
9425         PATH_SEPARATOR, let M4sh compute it.
9426         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
9427         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
9428         Move to...
9429         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
9430         Simplify when the path is not a literal.
9431         (AS_UNAME): Use it to report PATH.
9432         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
9433         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
9434         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
9435         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
9436         normalize the path, and to look for victims.
9437         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
9438         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
9440 2001-09-07  Akim Demaille  <akim@epita.fr>
9442         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
9443         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
9444         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
9445         related variables into `at_package_*'.
9446         * lib/autotest/general.m4 (AT_VICTIMS): New.
9447         (AT_INIT): Adjust for stand-alone/embedded test suites.
9448         (AS_MESSAGE_LOG_FD): Define and use it.
9449         * tests/suite.at (AT_VICTIMS): Use it.
9450         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
9451         at_version.
9453 2001-09-07  Akim Demaille  <akim@epita.fr>
9455         Move toward possibly stand-alone test suites.
9457         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
9458         in addition, it introduces useless differences in logs.
9459         (AT_INIT): Let atconfig and atlocal be both optional.
9460         Adjust PATH computation.
9461         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
9463 2001-09-07  Akim Demaille  <akim@epita.fr>
9465         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
9466         m4sugar/version.m4.
9468 2001-09-05  Akim Demaille  <akim@epita.fr>
9470         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
9471         to avoid GCC warnings.
9472         From Uwe Seimet.
9474 2001-09-05  Akim Demaille  <akim@epita.fr>
9476         * bin/autom4te.in: --language is -l, not -s.
9478 2001-09-05  Akim Demaille  <akim@epita.fr>
9480         Be ready to handle filenames as stupid as `dnl.at', for if even
9481         the maintainer is dumb enough to do that...
9483         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
9484         excellence in M4 quotation: consider `__file__' is active.
9486         And BTW, when invoking m4, pass the --include in the right order:
9487         the wrong one.
9489         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
9490         4m.
9492 2001-09-05  Akim Demaille  <akim@epita.fr>
9494         * lib/Autom4te/XFile.pm: New lib file.
9495         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
9496         * bin/autoheader.in: Use it.
9498 2001-09-05  Akim Demaille  <akim@epita.fr>
9500         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
9501         defined.
9503 2001-09-05  Akim Demaille  <akim@epita.fr>
9505         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
9506         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
9508         * bin/autoscan.in: Use `getopt' and `find_files' etc.
9509         Add -I, --include support.
9510         * doc/autoconf.texi (autoscan Invocation): Adjust.
9512 2001-09-05  Akim Demaille  <akim@epita.fr>
9514         CVS GNU M4 doesn't like `undefine(undefined)'.
9516         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
9517         New, extracted from main.
9518         Use IO::File wherever possible.
9519         (input.m4): Be constant, use -I instead of hard coding $tmp.
9520         Therefore be a quoted heredoc.
9521         Don't invoke `_au_disable', since ac was not loaded, but just
9522         `unm4.m4'.
9524 2001-08-31  Akim Demaille  <akim@epita.fr>
9526         Version 2.52d.
9528 2001-08-31  Akim Demaille  <akim@epita.fr>
9530         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
9531         previous patch.
9532         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
9534 2001-08-31  Akim Demaille  <akim@epita.fr>
9536         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
9537         serious problems handling heredocs in heredocs.
9538         Reported by Nicolas Joly.
9540 2001-08-31  Akim Demaille  <akim@epita.fr>
9542         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
9543         (Making testsuite Scripts): Update.
9545 2001-08-31  Akim Demaille  <akim@epita.fr>
9547         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
9549 2001-08-31  Akim Demaille  <akim@epita.fr>
9551         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
9552         (testsuite Scripts): There is no such thing as `atconfig.in'.
9553         And actually one diagram is missing: test suite runtime.
9555 2001-08-31  Akim Demaille  <akim@epita.fr>
9557         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
9558         inverse order.
9560 2001-08-31  Akim Demaille  <akim@epita.fr>
9562         * bin/autoupdate.in (@include): `installcheck' revealed the path
9563         to m4sugar was lacking!
9565 2001-08-31  Akim Demaille  <akim@epita.fr>
9567         * man/Makefile.am (.x.1): We really have to pass
9568         autom4te_perllibdir.
9570 2001-08-31  Akim Demaille  <akim@epita.fr>
9572         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
9573         debug scripts, in particular passing explicitly listed tests to
9574         run is stupid.
9576 2001-08-31  Akim Demaille  <akim@epita.fr>
9578         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
9579         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
9580         Use directly autom4te, not autoconf.
9581         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
9583 2001-08-31  Akim Demaille  <akim@epita.fr>
9585         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
9586         * bin/autoheader.in (%symbol): Strip arguments of macros.
9588 2001-08-31  Akim Demaille  <akim@epita.fr>
9590         * doc/autoconf.texi: Catch up -I, --include changes.
9592 2001-08-31  Akim Demaille  <akim@epita.fr>
9594         * bin/autom4te.in (&parse_args): Die on unknown languages.
9595         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
9596         need for autoconf.
9597         Promote --include over --macrodir and other obsolete options.
9599 2001-08-31  Akim Demaille  <akim@epita.fr>
9601         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
9602         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
9603         * bin/autom4te.in ($autoconf): Pass --force.
9604         `print $out' doesn't print `$_' but `$out'.
9605         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
9606         (autoheader): Pass --force since the test suite goes too fast for
9607         the time stamps.
9608         Adjust to the new autoheader messages.
9610 2001-08-31  Akim Demaille  <akim@epita.fr>
9612         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
9613         Check the completeness of the #template.
9614         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
9615         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
9616         invocation.
9618 2001-08-31  Akim Demaille  <akim@epita.fr>
9620         * lib/Autom4te/General.pm (&find_file, &update_file): New.
9621         * bin/autoupdate.in, bin/autoheader.in: Adjust.
9622         Drop AC_MACRODIR dead for real.
9623         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
9624         `autoheader: `config.hin' is created'.
9625         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
9627 2001-08-31  Akim Demaille  <akim@epita.fr>
9629         * bin/autoheader.in: Rewrite in Perl.
9630         * tests/autoheader: Adjust.
9632 2001-08-31  Akim Demaille  <akim@epita.fr>
9634         * bin/autoconf.in (--include, -I): New option.
9635         Map --localdir, --autoconf-dir onto it.
9636         Forward autom4te's options instead of interpreting them.
9637         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
9638         There is no such envvar since the inception of autom4te.cfg.
9639         * bin/autom4te.in (&parse_args): Uniquify `@include'.
9640         * bin/autoupdate.in: Adjust, and perform more control.
9641         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
9642         * tests/autoconf: Dittowise.
9644 2001-08-31  Akim Demaille  <akim@epita.fr>
9646         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
9647         * bin/autom4te.in (&find_file): Support `FILE?' standing for
9648         optionally `FILE'.
9649         Use -e, not -f, since /dev/null for instance is OK.
9650         (&parse_args): Adjust.
9651         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
9653 2001-08-31  Akim Demaille  <akim@epita.fr>
9655         * configure.ac: Also find tested executables in bin.
9656         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
9657         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
9658         installed peer executables, only PATH is allowed to resolve it.
9659         Pass `autoconf_dir' via options, not via invisible envvars.
9660         * lib/Autom4te/General.pm (&find_peer): Remove.
9661         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
9662         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
9663         * man/Makefile.am: Let help2man rely on PATH instead of trying to
9664         find the executables for it.
9665         * tests/Makefile.am: Major cleanup.  Too lazy to document...
9666         * tests/atlocal.in: Remove all the obscure envvar manipulations.
9667         We only need PERL.
9668         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
9669         indeed related to running the test suite, while passing
9670         --autoconf-dir and others is related to running non installed
9671         Autoconf executables.  So don't do that, leave it to...
9672         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
9673         * tests/autoscan: New.
9674         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
9675         refer to library files: rely on --language.
9677 2001-08-29  Akim Demaille  <akim@epita.fr>
9679         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
9680         s/--set/--language/.
9682 2001-08-29  Akim Demaille  <akim@epita.fr>
9684         * doc/autoconf.texi: Strip the @nodes.
9685         Suggested by Paul Eggert.
9686         (Initializing configure): Typo.
9688 2001-08-29  Akim Demaille  <akim@epita.fr>
9690         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
9691         Suggested by Paul Eggert.
9693 2001-08-29  Akim Demaille  <akim@epita.fr>
9695         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
9696         download in a tmp dir.
9698 2001-08-29  Akim Demaille  <akim@epita.fr>
9700         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
9701         case insensitive OSes out there :(
9702         From Tim Van Holder.
9704 2001-08-29  Akim Demaille  <akim@epita.fr>
9706         * lib/autom4te.in: New.
9707         * lib/Makefile.am (edit, autom4te.cfg): New.
9708         * bin/autom4te.in (BEGIN): Simplify.
9709         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
9710         (&load_configuration): New.  Use it.
9711         (&parse_args): Support --mode, --set, and --melt.
9712         * bin/autoconf.in: Simplify and adjust.
9713         * tests/Makefile.am (AUTOMAKE): Use --set.
9714         * tests/atlocal.in: Adjust.
9715         * BUGS: distcheck and check are weak.
9717 2001-08-29  Akim Demaille  <akim@epita.fr>
9719         * lib/autotest/general.m4: Use
9720                 foo=`(command) 2>/dev/null`
9721         not
9722                 foo=`command` 2>/dev/null
9723         (at-devnull): Rename as...
9724         (AT-devnull): this.
9725         (--clean): Remove AT-* files too.
9726         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
9727         Reported by Nicolas Joly.
9729 2001-08-28  Akim Demaille  <akim@epita.fr>
9731         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
9732         quotes inside single quotes.
9733         Reported by Nicolas Joly.
9735 2001-08-28  Kevin Ryde  <user42@zip.com.au>
9737         * doc/autoconf.texi (Function Portability): Mention C right shifts.
9739 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
9741         * lib/autotest/general.m4: Reword some messages.
9742         (AT_INIT): Check for the `times' builtin before using it.
9743         Support test ranges as arguments to the testsuite.
9744         Have -e imply -d as the help text suggested.
9746 2001-08-27  Akim Demaille  <akim@epita.fr>
9748         * Makefile.maint: Formatting changes.
9749         (do-po-update, po-update, cvs-update, update): New targets.
9750         (AMTAR): Remove.
9752 2001-08-27  Akim Demaille  <akim@epita.fr>
9754         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
9755         <at_cmd_line>: New.
9756         Pass it to debug-*.sh scripts.
9757         <AUTOTEST_PATH>: May contain absolute dir names.
9759 2001-08-27  Akim Demaille  <akim@epita.fr>
9761         * lib/autotest/general.m4 (AT_INIT): Log the command line.
9762         Support `VAR=VAL' as arguments.
9763         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
9764         may be set via the command line.
9766 2001-08-27  Akim Demaille  <akim@epita.fr>
9768         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
9769         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
9770         first the build dirs, then the src dirs.
9771         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
9773 2001-08-27  Akim Demaille  <akim@epita.fr>
9775         * lib/autotest/general.m4 (AT_INIT): Output the definition of
9776         at_data_files earlier.
9777         (--clean, -c): New option.
9778         * tests/Makefile.am: Use this option.
9780 2001-08-27  Akim Demaille  <akim@epita.fr>
9782         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
9783         `ac_top_builddir' to mimic Automake's vocabulary, which much more
9784         readable.
9785         Adjust callers.
9786         * doc/autoconf.texi (Configuration Actions): Document the vars
9787         available in commands.
9788         Emphasize the risks of collisions in init-cmds.
9790 2001-08-27  Akim Demaille  <akim@epita.fr>
9792         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
9793         (Initializing configure): this new node.
9795 2001-08-27  Akim Demaille  <akim@epita.fr>
9797         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
9799 2001-08-27  Akim Demaille  <akim@epita.fr>
9801         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
9802         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
9803         New file.
9804         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
9806 2001-08-27  Akim Demaille  <akim@epita.fr>
9808         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
9809         to...
9810         * lib/autoconf/autoheader.m4: this new file.
9811         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
9812         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
9813         Move to...
9814         * lib/autoconf/autoupdate.m4: this new file.
9816 2001-08-27  Akim Demaille  <akim@epita.fr>
9818         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
9819         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
9820         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
9821         -> ac_dir).
9822         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
9823         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
9825 2001-08-27  Akim Demaille  <akim@epita.fr>
9827         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
9828         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
9829         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
9830         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
9831         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
9832         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
9833         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
9834         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
9835         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
9836         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
9837         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
9838         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
9839         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
9840         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
9841         (_AC_OUTPUT_SUBDIRS): Move to...
9842         * lib/autoconf/status.m4: this new file.
9843         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
9844         * tests/Makefile.am, tests/suite.at: Adjust.
9846 2001-08-27  Akim Demaille  <akim@epita.fr>
9848         Automake 1.5.
9850         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
9851         (AMTAR): Help automake define it.
9852         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
9853         needed, 1.5 can have a macro and a target with the same name.
9854         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
9855         * m4/strip.m4: New.
9856         * m4/init.m4, m4/sanity.m4: Update.
9857         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
9858         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
9859         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
9860         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
9862 2001-08-27  Akim Demaille  <akim@epita.fr>
9864         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
9866         * lib/autoconf/version.in: Remove.
9867         * lib/m4sugar/version.in: New.
9868         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
9869         Adjust callers.
9870         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
9871         the name of the directory they're in, instead of the filename,
9872         since version.m4 is now in m4sugar, but m4_acversion must not be
9873         classified as an Autoconf macro.
9874         ($input_m4): Don't qualify the path to m4sugar.
9875         Rather, pass autoconf_dir to m4.
9876         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
9877         * tests/suite.at: Require 2.52c.
9879 2001-08-27  Akim Demaille  <akim@epita.fr>
9881         testsuite.log should include config.log.
9883         * lib/autotest/autotest.m4: New.
9884         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
9885         * tests/suite.at : Adjust.
9886         (AT_INIT): Log config.log.
9887         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
9888         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
9889         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
9890         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
9891         of config.log on traps.
9892         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
9893         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
9894         for config.status'.
9895         Open the log as soon as possible.
9896         Use the same log introduction as configure's.
9898 2001-08-22  Paul Eggert  <eggert@twinsun.com>
9900         * doc/autoconf.texi (Indices): New node.
9901         Move indices out of the top level menu and into this submenu.
9903 2001-08-22  Akim Demaille  <akim@epita.fr>
9905         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
9906         AC_TRY_COMMAND.
9907         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
9909 2001-08-22  Akim Demaille  <akim@epita.fr>
9911         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
9912         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
9913         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
9914         * lib/autoconf/programs.m4: here.
9915         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
9916         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
9917         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
9918         * lib/autoconf/programs.m4: here.
9919         (_AC_DECL_YYTEXT): Rename as...
9920         (_AC_PROG_LEX_YYTEXT_DECL): this.
9921         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
9922         * tests/Makefile.am, tests/suite.am: Adjust.
9924 2001-08-22  Akim Demaille  <akim@epita.fr>
9926         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
9927         Move to...
9928         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
9929         here.
9930         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
9931         * lib/autoconf/functions.m4: here.
9932         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
9933         (AH_CHECK_LIB): Move to...
9934         * lib/autoconf/libs: this new file.
9935         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
9936         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
9937         * lib/autoconf/libs.m4: here.
9938         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
9940 2001-08-22  Akim Demaille  <akim@epita.fr>
9942         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
9943         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
9944         (AC_SITE_LOAD): Better logging of config.site.
9946 2001-08-20  Akim Demaille  <akim@epita.fr>
9948         * configure.ac (AT_CONFIG): Fix the path.
9949         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
9950         can be used.
9952 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
9954         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
9955         program with AC_LANG_PROGRAM before feeding it to
9956         AC_COMPILE_IFELSE.  Cleanup grep usage.
9958 2001-08-20  Akim Demaille  <akim@epita.fr>
9960         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
9961         * NEWS, README, README-alpha, TODO, tests/README: This package is
9962         `Autoconf', not `autoconf' (the executable).
9964 2001-08-20  Akim Demaille  <akim@epita.fr>
9966         Info readers seem to need `Index' in the index node title :(
9968         * doc/autoconf.texi: Reverse the 2001-08-15 change which
9969         simplified index node names.
9971 2001-08-20  Akim Demaille  <akim@epita.fr>
9973         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
9974         arguments are not literals.
9975         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
9976         Specify the output variables, and macros defined.
9978 2001-08-20  Akim Demaille  <akim@epita.fr>
9980         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
9981         (Examining Syntax) <AC_TRY_COMPILE>
9982         (Examining Libraries) <AC_TRY_LINK>
9983         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
9984         their arguments.
9985         Reported by Werner Lemberg.
9987 2001-08-20  Akim Demaille  <akim@epita.fr>
9989         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
9990         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
9991         Load atlocal late enough to dump it in the log.
9992         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
9994 2001-08-20  Akim Demaille  <akim@epita.fr>
9996         * tests/torture.at (Configuring subdirectories): New test.
9997         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
9998         looking for.
9999         * m4/atconfig.m4: Be sure the let $[0] be expandable.
10000         (top_srcdir): Fix its computation.
10002 2001-08-20  Akim Demaille  <akim@epita.fr>
10004         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
10005         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
10006         test suite lives.
10007         Create `atconfig' automagically.
10008         Configure atlocal.in if present.
10009         * tests/atconfig.in: Remove.
10010         * tests/atlocal.in: New.
10011         * tests/Makefile.am: Adjust.
10013 2001-08-20  Akim Demaille  <akim@epita.fr>
10015         Huh!?!?!  There are still some user EOF tags used, which prevents
10016         their use in AC_CONFIG_COMMANDS for instance...
10018         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
10019         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
10020         `_CSEOF', or `_ATEOF', as appropriate.
10021         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
10022         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
10024 2001-08-20  Akim Demaille  <akim@epita.fr>
10026         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
10027         * tests/semantics.at, tests/tools.at, tests/torture.at:
10028         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
10030 2001-08-20  Akim Demaille  <akim@epita.fr>
10032         Autotest invokes M4sh's initialization.
10034         * lib/autotest/general.m4: Adjust the diversion names.
10035         (AT_INIT): Run AS_INIT.
10036         Use the BINSH diversion to invoke /bin/sh.
10037         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
10038         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
10040 2001-08-20  Akim Demaille  <akim@epita.fr>
10042         Let M4sh have its own diversions.
10044         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
10045         (_m4_divert(NOTICE)): Rename as...
10046         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
10047         (_m4_divert(HEADER-COMMENT)): these.
10048         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
10049         (_m4_divert(NOTICE)): New, for Libtool.
10050         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
10051         long ago with `_m4_divert(GROW)'.
10052         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
10054 2001-08-20  Akim Demaille  <akim@epita.fr>
10056         * tests/base.at, tests/compile.at, tests/foreign.at,
10057         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
10058         * tests/semantics.at, tests/suite.at, tests/tools.at,
10059         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
10061 2001-08-20  Akim Demaille  <akim@epita.fr>
10063         * bin/autom4te.in (handle_output): Handle @__@.
10065 2001-08-20  Akim Demaille  <akim@epita.fr>
10067         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
10068         * lib/autotest/general.m4: Adjust the license.
10070 2001-08-17  Paul Eggert  <eggert@twinsun.com>
10072         * doc/autoconf.texi (Function Portability): Mention snprintf,
10073         following up on a suggestion by Kevin Ryde.
10075 2001-08-17  Akim Demaille  <akim@epita.fr>
10077         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
10078         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
10080 2001-08-17  Akim Demaille  <akim@epita.fr>
10082         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
10083         `$0.log' as for projects where testsuite is in src, we'd have
10084         testsuite.log created in src.
10086 2001-08-17  Akim Demaille  <akim@epita.fr>
10088         * bin/autom4te.in (&parse_args): Recognize --normalize.
10090 2001-08-17  Akim Demaille  <akim@epita.fr>
10092         Start implementing the AC_CHECK_HEADER transition scheme.
10094         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
10095         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
10096         (AC_CHECK_HEADER): Use them.
10098 2001-08-17  Akim Demaille  <akim@epita.fr>
10100         * doc/autoconf.texi: Work around Texinfo buglets.
10101         (Transformation Rules): One example is enough, users are expected
10102         to have their brains on. And BTW, use DESTDIR.
10103         (dvar): New macro.  Use it.
10105 2001-08-17  Akim Demaille  <akim@epita.fr>
10107         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
10108         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
10109         looking for ChangeLogs.
10111 2001-08-17  Akim Demaille  <akim@epita.fr>
10113         * bin/autom4te.in: --normalize is a new option.
10114         * bin/autoconf.in: Use it.
10116 2001-08-17  Akim Demaille  <akim@epita.fr>
10118         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
10119         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
10121 2001-08-16  Paul Eggert  <eggert@twinsun.com>
10123         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
10124         start, not at end.
10126 2001-08-15  Akim Demaille  <akim@epita.fr>
10128         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
10129         Use it.
10131 2001-08-15  Akim Demaille  <akim@epita.fr>
10133         * doc/autoconf.texi (pr): New index.
10134         (prindex, findex): Use, merge, and output them.
10135         (Environment Variable Index, Output Variable Index)
10136         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
10137         (Autotest Macro Index): Rename as...
10138         (Environment Variables, Output Variables,Preprocessor Symbols)
10139         (Autoconf Macros, M4 Macros, Autotest Macros): these.
10140         * doc/install.texi: Use @command.
10141         (Environment Variables): Rename as...
10142         (Defining Variables): this.
10144 2001-08-15  Akim Demaille  <akim@epita.fr>
10146         * doc/autoconf.texi (Function Portability): sprintf's return
10147         value.
10148         From Kevin Ryde.
10150 2001-08-15  Akim Demaille  <akim@epita.fr>
10152         * Makefile.maint (CVS): New.
10153         (local-check): Run changelog-check. last.
10154         (alpha): Don't depend upon local-check, since...
10155         (cvs-dist): depends upon it.
10157 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
10159         * tests/Makefile.am: Use a clean-local rule to remove
10160         autom4te.cache (it's a directory, not a file.
10161         * Makefile.am: Ditto (but maintainer-clean-local).
10163 2001-08-15  Akim Demaille  <akim@epita.fr>
10165         * bin/autom4te.in (@m4_warning): New.
10166         (&handle_m4): Use it.
10167         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
10168         warnings are issued at each run.
10169         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
10170         is in the src tree.
10172 2001-08-15  Akim Demaille  <akim@epita.fr>
10174         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
10175         don't waste time running `autoupdate --version' works.
10176         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
10178 2001-08-13  Akim Demaille  <akim@epita.fr>
10180         * doc/autoconf.texi (ma): Rename this index as...
10181         (ac): this.
10183 2001-08-13  Akim Demaille  <akim@epita.fr>
10185         * Makefile.am: Remove dead code and dead comments.
10186         (pdf, html): New targets.
10187         * doc/autoconf.texi (Using Autotest): New chapter.
10188         * doc/Makefile.am (pdf): New targets.
10189         (CLEANFILES): Adjust.
10191 2001-08-13  Akim Demaille  <akim@epita.fr>
10193         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
10194         duration of the test suite.
10196 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
10198         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
10199         endianness for comparison instead of relying on AT_CHECK_ENV.
10201 2001-08-11  Paul Eggert  <eggert@twinsun.com>
10203         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
10204         to the INSTALL file.
10206 2001-08-11  Paul Eggert  <eggert@twinsun.com>
10208         * NEWS: The autoconf manual now is distributed under the terms
10209         of the GNU Free Documentation License.
10211         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
10212         Add an appendix "Copying This Manual" for the FDL.
10214         * doc/fdl.texi: New file, from
10215         <http://www.gnu.org/licenses/fdl.texi>.
10217         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
10219 2001-08-10  Paul Eggert  <eggert@twinsun.com>
10221         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
10222         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
10223         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
10224         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
10225         m4/sanity.m4, tests/README, tests/aclocal.m4,
10226         tests/atspecific.m4, tests/base.at, tests/compile.at,
10227         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
10228         tests/semantics.at, tests/suite.at, tests/tools.at,
10229         tests/torture.at: Add copyright notice.
10231         * tests/mktests.sh: Update year in copyright notice.
10233 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
10235         * tests/semantics.at (AC_C_BIGENDIAN): New test.
10237 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
10239         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
10240         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
10241         * doc/autoconf.texi (C Compiler Characteristics): Update
10242         documentation for AC_C_BIGENDIAN.
10244 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
10246         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
10247         magic values from an object file when cross-compiling.
10248         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
10250 2001-08-10  Akim Demaille  <akim@epita.fr>
10252         * bin/autom4te.in (&handle_output): Don't use `grep' with side
10253         effects.
10254         Suggested by Russ Allbery.
10256 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
10258         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
10259         current $prefix to the sub-configures.
10261 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
10263         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
10264         extension (needed on BeOS).  Reported by Guido van Rossum.
10266 2001-08-09  Akim Demaille  <akim@epita.fr>
10268         * bin/autom4te.in ($icache): Load it only if older than autom4te.
10270 2001-08-07  Akim Demaille  <akim@epita.fr>
10272         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
10273         removed.
10274         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
10275         No need to remove the files before and after the each test, before
10276         each test and at the end of the suite is enough.
10277         Display only the children `times', not the shell's.
10278         If the test failed or was skipped, at-times is not available.
10280 2001-08-07  Akim Demaille  <akim@epita.fr>
10282         Always produce testsuite.log, including when there are no
10283         failures.  This helps getting information on skipped tests, and
10284         duration of the tests.  Err, implement the latter btw.
10286         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
10287         Dump information on the first run of each test.
10288         (AT_CLEANUP): Create `at-times' containing the duration of the
10289         test group.
10291 2001-08-07  Akim Demaille  <akim@epita.fr>
10293         The use of `dumpstat' revealed that `len' was used although it
10294         should not.  m4_text_wrap was using it, but in the Autoconf world
10295         where it is legal.  Hence (i) test M4sh in its own world, not
10296         Autoconf's, and (ii), ahem, fix the bug :)
10298         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
10299         does not like `' instead of [].
10300         (AT_INIT): Forbid `^_?AT_'.
10301         And don't output such tokens.
10302         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
10303         `script.as', and `autom4te.cache'.
10304         Remove `empty' and `macro' which are no longer used.
10305         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
10306         * tests/m4sugar.at: Use it.
10307         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
10309 2001-08-07  Akim Demaille  <akim@epita.fr>
10311         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
10313 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
10315         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
10317 2001-08-04  Akim Demaille  <akim@epita.fr>
10319         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
10320         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
10321         AC_TRY_LINK.
10322         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
10323         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
10324         (AC_F77_MAIN): Likewise.
10326 2001-08-04  Akim Demaille  <akim@epita.fr>
10328         Don't rely on M4sugar outputting the patterns in files, since we
10329         might process the output _without_ running m4, hence without these
10330         files.
10332         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
10333         * bin/autom4te.in (@Request::includes): Remove, unused.
10334         (@Request::source): Rename as...
10335         (@Request::input): this.
10336         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
10337         (&handle_output): Fetch the patterns from the traces.
10338         `$forbidden' and `$allowed' are constant: use m//o.
10339         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
10340         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
10342 2001-08-04  Akim Demaille  <akim@epita.fr>
10344         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
10345         autoconf', i.e., in addition to caching traces, cache the output.
10347         * bin/autom4te.in (Request::cache): Rename as...
10348         (Request::id): this.
10349         ($cache, $icache, $tcache, $ocache): New.
10350         (&handle_m4): Save M4 output in the cache instead of $tmp.
10351         (&handle_output): Adjust.
10352         (&up_to_date_p): Check that the output cache is up to date too.
10353         (top level): Run `&handle_m4' iff force or the cache is invalid.
10354         Run `&handle_output' if the output cache is more recent.
10356 2001-08-04  Akim Demaille  <akim@epita.fr>
10358         * bin/autom4te.in ($force): New.
10359         (&parse_args, &print_usage): -f, --force is a new option.
10360         (&handle_output): CPP directives might have spaces after `#'.
10361         (&parse_args): The first file only can be frozen.
10363 2001-08-04  Akim Demaille  <akim@epita.fr>
10365         Don't let autom4te compute the `include' traces several times:
10366         first check that the trace cache file is up to date, and then
10367         compare its timestamp with that of the output.
10369         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
10370         the preamble.  Don't require 5.005 as Autom4te::General does it,
10371         and better yet (use `use', not `require'!).
10372         * lib/Autom4te/Struct.pm: Rename the last occurrences of
10373         Class::Struct as Autom4te::Struct.
10374         * lib/Autom4te/General.pm (File::stat): Use it.
10375         (&mtime): New, export it.
10376         * bin/autom4te.in: Use it.
10377         Declare `$req' is invalid if it is outdated.
10378         Don't declare it valid before saving it if something went wrong.
10380 2001-08-04  Akim Demaille  <akim@epita.fr>
10382         Autom4te shall not encode Autoconf data, and preselecting traces
10383         must be proposed to the users.
10385         * bin/autom4te.in (@required_trace): Remove.
10386         (@preselect): New.
10387         (&parse_args, &print_usage): -p, --preselect is a new option.
10388         (&up_to_date_p): Adjust.
10389         * bin/autoconf.in: Preselect some Autoconf macros.
10391 2001-08-04  Akim Demaille  <akim@epita.fr>
10393         * tests/tools.at (autoconf --trace: user macros): Check traces on
10394         macros invoked without arguments, and macros invoked with multiple
10395         lines arguments.
10397 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
10399         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
10400         arguments.
10402 2001-08-03  Akim Demaille  <akim@epita.fr>
10404         * bin/autoconf.in ($@): Work around the usual sh bug.
10405         From Nicolas Joly.
10407 2001-08-03  Akim Demaille  <akim@epita.fr>
10409         Clean up the handling of the M4 builtins tracing exception.
10411         * bin/autom4te.in (Request::request): Don't complete M4 builtins
10412         trace requests.
10413         (@m4_builtins): Rename as...
10414         (@m4_builtin): this.
10415         (%m4_builtin_alternate_name): New.
10416         (&parse_args): Complete the trace requests with alternate names.
10417         (&handle_traces): Hence no longer do it here.
10418         (&trace_requests): Remove, unused.
10420 2001-08-03  Akim Demaille  <akim@epita.fr>
10422         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
10423         m4_if, and m4_wrap.
10425 2001-08-03  Akim Demaille  <akim@epita.fr>
10427         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
10428         (m4_divert_pop): Dump the whole diversion stack when a diversion
10429         mismatch happens.
10430         * bin/autom4te.in (&handle_output): Remember of the first
10431         occurrence of a possibly undefined macro, not the last.
10432         Complain about the possibly undefined macros in the same order as
10433         the appear in the output.
10434         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
10435         * tests/tools.at (autoconf: forbidden tokens, basic)
10436         (autoconf: forbidden tokens, exceptions): No longer sort
10437         autoconf's stderr, as it is now deterministic.
10438         Check that `dnl' is caught.
10440 2001-08-01  Akim Demaille  <akim@epita.fr>
10442         * configure.ac: Bump to 2.52c.
10444 2001-08-01  Akim Demaille  <akim@epita.fr>
10446         Version 2.52b.
10448         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
10450 2001-08-01  Akim Demaille  <akim@epita.fr>
10452         Version 2.52a.
10454 2001-08-01  Akim Demaille  <akim@epita.fr>
10456         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
10457         `die'.
10458         (&END): New.
10459         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
10460         `END', as `Autom4te::General::END' will be triggered.
10461         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
10462         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
10463         system to run `mv', `rm', and `cmp'.
10465 2001-08-01  Akim Demaille  <akim@epita.fr>
10467         * lib/Autom4te/General.pm (&unique): New.
10468         * bin/autoscan.in (&output): Use it to issue trace requests once.
10470 2001-08-01  Akim Demaille  <akim@epita.fr>
10472         * lib/Autom4te/General.pm: New.
10473         * bin/autom4te.in (Autom4te::General): Use it.
10474         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
10475         (&find_configure_ac, &find_slave): Remove.
10476         * bin/autoscan.in: Likewise.
10477         * bin/autoupdate.in: Likewise.
10479 2001-08-01  Akim Demaille  <akim@epita.fr>
10481         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
10482         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
10483         * bin: here, new directory.
10484         * lib/Autoconf: Rename as...
10485         * lib/Autom4te: this, to please case insensitive junkie OSes.
10487 2001-08-01  Akim Demaille  <akim@epita.fr>
10489         * autom4te.in ($m4): Handle the --nesting-limit.
10490         * autoconf.in (M4): Remove.
10492 2001-08-01  Akim Demaille  <akim@epita.fr>
10494         * autoconf.in ($AWK): Remove, no longer used.
10495         * test/tools.at: Use AT_CHECK_AUTOCONF.
10496         (AWK portability): Remove, for autoconf no longer uses AWK.
10497         (Syntax of the Perl scripts): New.
10498         * configure.ac: autoconf no longer needs an AWK with a good
10499         regexp engine.
10500         Use a static test on AC_PACKAGE_VERSION.
10501         * autom4te.in (&up_to_date_p): Output depends on the arguments.
10502         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
10503         * tests/atconfig.in (PERL): New.
10505 2001-08-01  Akim Demaille  <akim@epita.fr>
10507         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
10508         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
10509         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
10510         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
10511         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
10512         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
10513         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
10514         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
10515         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
10516         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
10517         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
10518         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
10519         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
10520         * lib/autoconf/c.m4: here, new file.
10522         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
10523         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
10524         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
10525         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
10526         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
10527         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
10528         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
10529         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
10530         (AC_F77_FUNC): Move to...
10531         * lib/autoconf/fortran.m4: here, new file.
10533 2001-08-01  Akim Demaille  <akim@epita.fr>
10535         * acfunctions.m4: Rename as...
10536         * lib/autoconf/functions.m4: this.
10537         * acgeneral.m4: Rename as...
10538         * lib/autoconf/general.m4: this.
10539         * acheaders.m4: Rename as...
10540         * lib/autoconf/headers.m4: this.
10541         * aclang.m4: Rename as...
10542         * lib/autoconf/lang.m4: this.
10543         * acoldnames.m4: Rename as...
10544         * lib/autoconf/oldnames.m4: this.
10545         * acspecific.m4: Rename as...
10546         * lib/autoconf/specific.m4: this.
10547         * actypes.m4: Rename as...
10548         * lib/autoconf/types.m4: this.
10549         * autoconf.m4: Rename as...
10550         * lib/autoconf/autoconf.m4: this.
10552         * m4sugar.m4: Rename as...
10553         * lib/m4sugar/m4sugar.m4: this.
10554         * m4sh.m4: Rename as...
10555         * lib/m4sugar/m4sh.m4: this.
10557         * tests/atgeneral.m4: Rename as...
10558         * lib/autotest/general.m4: this.
10560         * acfunctions: Rename as...
10561         * lib/autoscan/functions: this.
10562         * acheaders: Rename as...
10563         * lib/autoscan/headers: this.
10564         * acidentifiers: Rename as...
10565         * lib/autoscan/identifiers: this.
10566         * aclibraries: Rename as...
10567         * lib/autoscan/libraries: this.
10568         * acmakevars: Rename as...
10569         * lib/autoscan/makevars: this.
10570         * acprograms: Rename as...
10571         * lib/autoscan/programs: this.
10573 2001-08-01  Akim Demaille  <akim@epita.fr>
10575         * doc/autoconf.texi: Moving/deleting open files is not portable.
10576         Portability issues for `.' (source), and more information about sed.
10578 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
10580         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
10581         which has a special meaning and is not a reference to libibmil.a.
10582         Reported by Matteo Frigo.
10584 2001-07-25  Pavel Roskin  <proski@gnu.org>
10586         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
10587         output.
10589 2001-07-25  Akim Demaille  <akim@epita.fr>
10591         * autoconf.in: Try to define the variables before using them.
10592         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
10593         instead of `$perllibdir'.
10594         * tests/atconfig.in ($autom4te_perllibdir): Export it.
10596 2001-07-25  Akim Demaille  <akim@epita.fr>
10598         * autoconf.in (ac_LF_and_DOT): Remove, unused.
10600 2001-07-24  Akim Demaille  <akim@epita.fr>
10602         Let autoconf use autom4te for traces.
10604         * autoconf.in ($task, task trace): Remove, merely pass --trace to
10605         autom4te.
10606         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
10607         (Because I found no way for autom4te to accept `-').
10608         * autom4te.in (&Request::request): Beware of M4 builtins.
10609         (END): Don't try to remove the content of an empty dir.
10610         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
10611         (&handle_output): Set a default value to `$forbidden'.
10612         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
10613         ($autoconf): Pass --debug and --verbose.
10614         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
10615         cache.
10617 2001-07-24  Akim Demaille  <akim@epita.fr>
10619         Let autoconf use autom4te to create configure.
10621         * autoconf.in ($automate): New var.
10622         (task script): Use autom4te.
10623         * autom4te.in (File::Spec): Use it.
10624         (&find_file): New.
10625         (&parse_args): --warning is -W, not -w.
10626         Find the top level files.
10627         (&handle_m4): Pass the warnings flags.
10628         Don't report verbosely m4's failures, unless requested.
10629         (&handle_output): Don't complain for forbidden tokens in comments.
10630         Be sure to report all the forbidden tokens within a single line.
10631         (&trace_format_to_m4): Preserve `$_'.
10632         (&handle_traces): Sort the output macros.
10633         (&up_to_date_p): Find the files before trying to get its time stamp.
10635 2001-07-24  Akim Demaille  <akim@epita.fr>
10637         * Makefile.am: Ship, build and install Autom4te.
10638         (SUBDIRS): Add lib.
10639         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
10640         * configure.in: Require Perl.
10641         * man/autom4te.in: New.
10643 2001-07-19  Paul Eggert  <eggert@twinsun.com>
10645         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
10646         example, rather than (exit 1); exit (which isn't portable).
10648 2001-07-18  Akim Demaille  <akim@epita.fr>
10650         Version 2.52.
10652 2001-07-18  Akim Demaille  <akim@epita.fr>
10654         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
10655         was run, while they are needed also when it is expanded.
10656         Reported by Nicolas Joly.
10658         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
10659         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
10660         AC_F77_DUMMY_MAIN being expanded.
10662 2001-07-18  Akim Demaille  <akim@epita.fr>
10664         * configure.in: Bump to 2.51a.
10666 2001-07-17  Akim Demaille  <akim@epita.fr>
10668         Version 2.51.
10670 2001-07-17  Akim Demaille  <akim@epita.fr>
10672         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
10673         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
10675 2001-07-17  Akim Demaille  <akim@epita.fr>
10677         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
10678         used.  Well, then use the prototypes when you can, and runtime as
10679         a last resort.
10680         Reported by Artur Frysiak
10682         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
10683         (AC_FUNC_GETPGRP): Use it.
10684         First try to compile with 0-ary or 1-ary calls.
10686 2001-07-17  Akim Demaille  <akim@epita.fr>
10688         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
10689         replacement type.
10690         From Paul Eggert.
10692 2001-07-17  Akim Demaille  <akim@epita.fr>
10694         * Makefile.maint: Sync. with cppi 1.10.
10696 2001-07-17  Akim Demaille  <akim@epita.fr>
10698         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
10699         AC_F77_DUMMY_MAIN has been run.
10700         From Pavel Roskin and Steven G. Johnson.
10702 2001-07-17  Akim Demaille  <akim@epita.fr>
10704         * configure.in: Rename as...
10705         * configure.ac: this.
10707 2001-07-17  Akim Demaille  <akim@epita.fr>
10709         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
10710         rules.
10711         From Marc Espie.
10712         * Makefile.maint (release-archive-dir): Rename as...
10713         (release_archive_dir): this, so that it can be specialized in
10714         Makefile.
10716 2001-07-14  Akim Demaille  <akim@epita.fr>
10718         * configure.in: Bump to 2.50d.
10720 2001-07-14  Akim Demaille  <akim@epita.fr>
10722         Version 2.50c.
10723         * Makefile.maint (alpha): Typo.
10725 2001-07-14  Akim Demaille  <akim@epita.fr>
10727         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
10729 2001-07-14  Akim Demaille  <akim@epita.fr>
10731         * config/config.guess, config/config.sub, config/texinfo.tex
10732         * doc/standards.texi, doc/make-stds.texi: Update.
10734 2001-07-14  Akim Demaille  <akim@epita.fr>
10736         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
10738 2001-07-14  Akim Demaille  <akim@epita.fr>
10740         * Makefile.maint (maintainer-check): Rename as...
10741         (maintainer-distcheck): this.
10742         (changelog-check, static-check): New.
10743         Use them.
10745 2001-07-14  Kevin Ryde  <user42@zip.com.au>
10747         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
10748         for CXX is g++, not gcc.
10750 2001-07-14  Akim Demaille  <akim@epita.fr>
10752         * doc/autoconf.texi (Files): New subsection.
10754 2001-07-14  Akim Demaille  <akim@epita.fr>
10756         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
10757         of...
10758         (Generic Compiler Characteristics): this.
10759         (C++ Compiler): New subsection.
10761 2001-07-14  Akim Demaille  <akim@epita.fr>
10763         * autoscan.in: Use IO::File.
10764         Adjust all the routines to use it.
10765         ($log): New file (autoscan.log).
10766         (output): Dump detailed logs into $log, and a shortened version to
10767         stderr.
10768         (&scan_makefile): Refine the regexp catching tokens in the code.
10769         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
10770         and the `configure.ac' checking feature.
10772 2001-07-12  Akim Demaille  <akim@epita.fr>
10774         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
10775         Reported by Michael Elizabeth Chastain.
10777         * autoconf.in: Refuse such AWK.
10778         * configure.in: Likewise.
10779         * Makefile.am (acversion.m4): Do not use move-if-change this file
10780         has dependencies.
10781         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
10783 2001-07-10  Jens Petersen  <petersen@redhat.com>
10785         * autoscan.in (&scan_makefile): Improve programs regexp to parse
10786         things like "g++", "file.c" and "some-conf" as tokens.
10787         (&scan_file): Match C++ files extensions.
10788         If the filename extension is C++ then ask for c++.
10790 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
10792         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
10793         AC_TRY_LINK_FUNC, to check whether defining a dummy
10794         main-like routine is needed for linking with F77 libs.
10796 2001-07-05  Pavel Roskin  <proski@gnu.org>
10798         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
10799         after using break.
10800         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
10801         linking.
10803 2001-07-05  Akim Demaille  <akim@epita.fr>
10805         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
10806         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
10807         Makes' lives.
10808         Reported by Nicolas Joly.
10810 2001-07-04  Akim Demaille  <akim@epita.fr>
10812         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
10813         up.
10814         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
10815         warnings from compilers.
10816         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
10817         for all the compilers, not only GNU.  Hence move from here...
10818         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
10820 2001-07-04  Akim Demaille  <akim@epita.fr>
10822         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
10823         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
10824         AC_COMPILE_IFELSE.
10826 2001-07-04  Akim Demaille  <akim@epita.fr>
10828         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
10829         the ``strings.h'' change claimed below.
10831 2001-07-04  Akim Demaille  <akim@epita.fr>
10833         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
10835 2001-07-04  Akim Demaille  <akim@epita.fr>
10837         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
10838         strings.h if usable with string.h.
10839         Suggested by Paul Eggert.
10841 2001-07-04  Akim Demaille  <akim@epita.fr>
10843         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
10844         From Jens Petersen.
10846 2001-07-03  Akim Demaille  <akim@epita.fr>
10848         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
10849         etc. in the log.
10851 2001-07-03  Akim Demaille  <akim@epita.fr>
10853         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
10854         compiler, not the preprocessor.
10855         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
10856         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
10857         the right thing.
10858         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
10859         earlier if there are.
10861 2001-07-03  Akim Demaille  <akim@epita.fr>
10863         * autoscan.in ($initfile): Remove.
10864         (&find_file): Rename as...
10865         (&scan_file): this.
10866         Immediately scan the current file, instead of gathering them, and
10867         later having them handled by &scan_files.
10868         (&scan_files): Merely invoke Find::File.
10869         Adjust.
10871 2001-07-02  Akim Demaille  <akim@epita.fr>
10873         * autoscan.in: Formatting changes, matching the invocation order.
10874         (File::Find): Use it instead of Perl 4's `find.pl'.
10875         (&wanted): Rename as...
10876         (&find_file): this.
10878 2001-07-01  Pavel Roskin  <proski@gnu.org>
10880         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
10881         break in the argument to AC_TRY_LINK_FUNC.
10882         (AC_F77_MAIN): Remove conftest* after using break in the
10883         argument to AC_TRY_LINK.
10885 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
10887         Add alternate 'main' routine detection for linking C/C++ with Fortran,
10888         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
10890         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
10891         dummy alternate main is required even if the user provides her own
10892         'main'.
10893         (AC_F77_MAIN): New macro to detect whether it is possible to
10894         provide an alternate 'main' function name, using the 'main' from
10895         the Fortran libraries.
10896         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
10897         cross-language link tests can be performed successfully.
10898         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
10899         after $LIBS, for consistency; this should be the general rule since
10900         the user may want to link to Fortran libraries that require $FLIBS.
10901         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
10903 2001-06-29  Pavel Roskin  <proski@gnu.org>
10905         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
10906         at-stdout and at-stderr instead of removing the newline
10907         from the echo output, which is not guaranteed to work.
10909 2001-06-28  Jens Petersen  <petersen@redhat.com>
10911         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
10912         confdefs.h when non-zero.
10914 2001-06-28  Akim Demaille  <akim@epita.fr>
10916         * configure.in: Bump to 2.50c.
10918 2001-06-26  Akim Demaille  <akim@epita.fr>
10920         Version 2.50b.
10922 2001-06-26  Akim Demaille  <akim@epita.fr>
10924         Version 2.50a.
10926 2001-06-25  Pavel Roskin  <proski@gnu.org>
10928         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
10929         argument, AUTOCONF-FLAGS.
10930         * tests/mktests.sh (update_exclude_list): Add
10931         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
10932         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
10933         AC_FUNC_WAIT3 with "-W no-obsolete".
10935 2001-06-25  Akim Demaille  <akim@epita.fr>
10937         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
10939 2001-06-25  Akim Demaille  <akim@epita.fr>
10941         * autoscan.in (%macro): Now maps from word to list of macros.
10942         (&init_tables): Die when a word which is already handled by
10943         explicit macros is mapped to the default macro.
10944         (&print_unique): Remove, inlined in...
10945         (&output_kind): here.
10946         (File::Basename): Use it.
10947         (&output): Sort the CONFIG_FILES.
10948         * acheaders: Normalize.
10949         * acfunctions: Likewise.
10951 2001-06-25  Akim Demaille  <akim@epita.fr>
10953         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
10954         characteristics in the logs.
10955         Suggested by Mo DeJong.
10957 2001-06-24  Akim Demaille  <akim@epita.fr>
10959         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
10960         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
10961         * doc/autoconf.texi (Autoconf 2.13): New section.
10963 2001-06-24  Akim Demaille  <akim@epita.fr>
10965         * autoconf.in (Task traces): Separate the error messages from the
10966         traces to improve robustness.
10968 2001-06-23  Akim Demaille  <akim@epita.fr>
10970         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
10971         three as failures are unlikely, and speed matters.
10973 2001-06-23  Akim Demaille  <akim@epita.fr>
10975         * doc/autoconf.texi (Redefined M4 Macros): New.
10977 2001-06-23  Akim Demaille  <akim@epita.fr>
10979         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
10980         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
10981         5.3.
10983 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
10985         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
10986         config.status targets to after the evaluation of the INIT-CMDS.
10987         Double quote config.status targets (used to be single quoted).
10989 2001-06-23  Akim Demaille  <akim@epita.fr>
10991         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
10992         Check the content of the created file.
10993         Check the ./config.status command line invocation.
10995 2001-06-23  Akim Demaille  <akim@epita.fr>
10997         * tests/foreign.at (Libtool): Reject prehistoric versions.
10999 2001-06-23  Akim Demaille  <akim@epita.fr>
11001         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
11002         preexisting files matching a.*.
11004 2001-06-23  Akim Demaille  <akim@epita.fr>
11006         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
11007         stderr.
11008         * doc/autoconf.texi (AC_ARG_VAR): Update.
11010 2001-06-21  Akim Demaille  <akim@epita.fr>
11012         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
11013         precious variables have changed.
11014         * tests/torture.at (AC_ARG_VAR): Adjust.
11016 2001-06-21  Akim Demaille  <akim@epita.fr>
11018         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
11019         but some sed choke on multiple `;', and other tools (e.g.,
11020         Automake), include the separator themselves.
11022         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
11024 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
11026         * doc/autoconf.texi (Functions Portability): Rename as...
11027         (Function Portability): this.
11028         (Function Portability): Document potential problems with unlink().
11030 2001-06-19  Paul Eggert  <eggert@twinsun.com>
11032         * NEWS, doc/autoconf.texi: Document quadrigraphs.
11034 2001-06-18  Akim Demaille  <akim@epita.fr>
11036         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
11038 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
11040         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
11041         (_AC_FUNC_VFORK): this.
11042         Remove AC_DEFINEs and don't guess cross-compilation values.
11043         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
11044         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
11045         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
11046         vfork doesn't work.
11047         Guess values if cross-compiling, but warn.
11048         * acfunctions: Add AC_FUNC_FORK.
11049         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
11050         and vfork appropriately.
11052 2001-06-18  Akim Demaille  <akim@epita.fr>
11054         * doc/autoconf.texi (Functions Portability): New section.
11056 2001-06-18  Akim Demaille  <akim@epita.fr>
11058         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
11059         in $M4.
11060         Suggested by Andreas Schwab.
11062 2001-06-18  Akim Demaille  <akim@epita.fr>
11064         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
11065         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
11066         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
11067         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
11068         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
11069         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
11070         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
11071         the converse).
11073 2001-06-18  Akim Demaille  <akim@epita.fr>
11075         * doc/autoconf.texi (ms): New index.
11076         (Macro Index): Rename as...
11077         (Autoconf Macro Index): this.
11078         (M4 Macro Index): New appendix.
11079         (Programming in M4): New chapter.
11080         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
11081         (Quoting): Rename as...
11082         (M$ Quotation): this.
11083         Be part of `Programming in M4).
11085 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
11087         * tests/torture.at (AC_ARG_VAR): Set variables and export them
11088         in separate statements for compatibility with Tru64 v5.1.
11090 2001-06-17  Akim Demaille  <akim@epita.fr>
11092         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
11093         current values of the precious variables, not the previously
11094         cached values.
11095         Pass precious variables which are set to config.status.
11096         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
11097         * tests/torture.at (AC_ARG_VAR): New.
11099 2001-06-15  Paul Eggert  <eggert@twinsun.com>
11101         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
11102         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
11103         and explain why and how to replace them.
11104         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
11105         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
11107 2001-06-15  Akim Demaille  <akim@epita.fr>
11109         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
11110         Reported by Bruno Haible.
11112         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
11113          (_AC_ARG_VAR_PRECIOUS): to here.
11115 2001-06-15  Pavel Roskin  <proski@gnu.org>
11117         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
11118         an unused pointer use cast to this type and `if' statement to
11119         avoid warnings from the compiler.
11120         (AC_HEADER_TIME): Likewise.
11121         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
11122         in `if' statement to avoid warnings from the compiler. Declare
11123         ac_aggr static to avoid the need to initialize it.
11125 2001-06-14  Akim Demaille  <akim@epita.fr>
11127         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
11128         Macros'.
11130 2001-06-13  Akim Demaille  <akim@epita.fr>
11132         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
11133         Suggested by Alexander Mai.
11135 2001-06-13  Akim Demaille  <akim@epita.fr>
11137         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
11138         sys/types.h and sys/stat.h, and check for them.
11140 2001-06-13  Akim Demaille  <akim@epita.fr>
11142         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
11143         INCLUDES.
11145 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
11147         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
11148         succeeds and only try adding libdnet upon a failure.
11150 2001-06-12  Akim Demaille  <akim@epita.fr>
11152         * autoscan.in (&output_kind): Output the comment only if it exists.
11153         (%kind_comment): Add entry for `programs'.
11154         (&output_programs): Use &output_kind.
11155         (&output_functions, &output_identifiers, &output_headers)
11156         (&output_programs): Inline, and remove.
11158 2001-06-12  Akim Demaille  <akim@epita.fr>
11160         * autoscan.in (%kind_comment): New.
11161         (output_kind): New.
11162         (output_functions, output_identifiers, output_headers): Use it.
11164 2001-06-12  Akim Demaille  <akim@epita.fr>
11166         * autoscan.in (&print_unique): Take `$kind' and `$word' as
11167         arguments, to factor indirections into `%macro' and `%used'.
11168         (%generic_macro): Fix a typo.
11170 2001-06-12  Akim Demaille  <akim@epita.fr>
11172         * aclibraries: New.
11173         * autoscan.in (@kinds): Add `libraries'.
11174         Use `@kinds' instead of hard coded lists.
11175         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
11176         Remove, replaced by...
11177         (%used): this.
11179 2001-06-12  Akim Demaille  <akim@epita.fr>
11181         * autoscan.in (%functions_macros %headers_macros)
11182         (%identifiers_macros %programs_macros %makevars_macros): Remove,
11183         replaced by...
11184         (%macro): New.
11186 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
11188         * aclang.m4 (AC_NO_EXECUTABLES): Override
11189         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
11191 2001-06-11  Akim Demaille  <akim@epita.fr>
11193         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
11194         trailing new line.
11195         Reported by Andreas Schwab.
11197 2001-06-11  Akim Demaille  <akim@epita.fr>
11199         * Makefile.am, Makefile.maint: Typos.
11201 2001-06-09  Akim Demaille  <akim@epita.fr>
11203         * doc/autoconf.texi (Here-Documents): New section, gathering
11204         documentation about here-documents.
11205         Use `href', not `uref', and other changes.
11207 2001-06-09  Akim Demaille  <akim@epita.fr>
11209         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
11210         chapter.
11212 2001-06-09  Akim Demaille  <akim@epita.fr>
11214         * doc/autoconf.texi (Limitations of Builtins): Complete the
11215         description of the here-docs penalties with Alexandre Oliva's
11216         explanations.
11218 2001-06-01  Paul Eggert  <eggert@twinsun.com>
11220         * doc/autoconf.texi: Talk about here documents and speedups.
11221         Do not use "echo" on arbitrary strings.
11222         Spell "here-documents" consistently with the standard.
11224 2001-06-09  Akim Demaille  <akim@epita.fr>
11226         * doc/autoconf.texi (Concept Index): Introduce it.
11227         Regenerate the menus.
11229 2001-06-09  Akim Demaille  <akim@epita.fr>
11231         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
11232         * config/prev-version.txt: New.
11233         * config/move-if-change: New, for GNU libc.
11235 2001-06-06  Pavel Roskin  <proski@gnu.org>
11237         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
11239 2001-06-06  Akim Demaille  <akim@epita.fr>
11241         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
11242         properly when $1 is not a literal.
11243         Fixes PR Autoconf/187, reported by Bram Moolenaar.
11245 2001-06-06  Akim Demaille  <akim@epita.fr>
11247         Invoking AC_COPYRIGHT before AC_INIT fails.
11249         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
11250         * acgeneral.m4 (_m4_divert(VERSION_FSF))
11251         (_m4_divert(VERSION_USER)): New.
11252         (AC_COPYRIGHT): $2 is the diversion to use.
11253         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
11254         (AC_INIT): Remove dead comments as now it's commutative.
11256 2001-06-06  Akim Demaille  <akim@epita.fr>
11258         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
11259         PR autoconf/187.
11261 2001-06-05  Akim Demaille  <akim@epita.fr>
11263         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
11264         can be empty.
11265         `*dir' variables cannot be NONE.
11266         Reported by Mark Kettenis.
11268 2001-06-05  Paul Eggert  <eggert@twinsun.com>
11270         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
11272 2001-06-04  Akim Demaille  <akim@epita.fr>
11274         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
11275         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
11276         (AC_TR_SH): Move as...
11277         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
11278         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
11279         (AS_TR_SH): these.
11280         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
11281         (_AS_TR_SH_PREPARE): New.
11282         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
11283         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
11285 2001-06-02  Akim Demaille  <akim@epita.fr>
11287         * Makefile.am (.m4.m4f): Pass the options first.
11288         Fixes PR autoconf/182.
11290 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
11292         GNU getopt, when POSIXLY_CORRECT does not permute options and
11293         arguments.  So pass the options first.
11294         Fixes PR autoconf/184.
11296         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
11297         (run_m4): Remove files.
11298         (run_m4f): Remove.
11299         Update remainder of script to use them.
11300         (for warning in): Do not use a literal comma as it will not be
11301         split by IFS.
11303 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
11305         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
11306         Fortran compilers to check.
11307         (_AC_PROG_F77_V): Add '-###' as a possible option to print
11308         information on library and object files.
11309         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
11310         to check.
11312 2001-06-02  Akim Demaille  <akim@epita.fr>
11314         * autom4te.in (Request::@request): Declare with `vars', not `my',
11315         as it prevents updates via `do FILENAME'.
11317 2001-06-02  Akim Demaille  <akim@epita.fr>
11319         * configure.in (standards_texi): Remove, dead code.
11321 2001-06-02  Akim Demaille  <akim@epita.fr>
11323         * autom4te.in: New.
11325 2001-06-02  Pavel Roskin  <proski@gnu.org>
11327         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
11328         for signals other than 0 - exit with code 1.
11329         * m4sh.m4 (AS_TMPDIR): Likewise.
11330         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
11331         * autoheader.in: Likewise.
11332         * autoreconf.in: Likewise.
11333         * tests/torture.at (Signal handling): New test for the above.
11335 2001-06-01  Akim Demaille  <akim@epita.fr>
11337         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
11338         message.
11340 2001-05-31  Akim Demaille  <akim@epita.fr>
11342         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
11343         Add copyright and comments.
11344         * acheaders: Add stdint.h.
11345         Suggested by Paul Eggert.
11347 2001-05-31  Akim Demaille  <akim@epita.fr>
11349         * atgeneral.m4 (AT_INIT): Use $SHELL.
11350         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
11352 2001-05-31  Akim Demaille  <akim@epita.fr>
11354         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
11355         stdint.h.
11356         From Paul Eggert and Lars Hecking.
11358 2001-05-31  Akim Demaille  <akim@epita.fr>
11360         * tests/base.at: Adjust line numbers in error messages.
11362 2001-05-31  Akim Demaille  <akim@epita.fr>
11364         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
11365         to emit the bangshe line.
11366         Reported by David Carter.
11368 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
11370         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
11371         Fortran (95) compilers to check.
11373 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
11375         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
11376         Macro Archive URL.
11378 2001-05-23  Pavel Roskin  <proski@gnu.org>
11380         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
11381         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
11382         (AC_PROG_CXXCPP): Likewise.
11384 2001-05-22  Akim Demaille  <akim@epita.fr>
11386         * config: New directory.
11387         * configure.in: AC_CONFIG_AUX_DIR it.
11388         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
11390 2001-05-22  Akim Demaille  <akim@epita.fr>
11392         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
11393         * autoupdate.in: Specify the Emacs mode.
11394         * acversion.m4.in: Rename as...
11395         * acversion.m4: this.
11396         * tests/Makefile.am (CLEANFILES): More garbage.
11398 2001-05-22  Akim Demaille  <akim@epita.fr>
11400         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
11401         Rename as...
11402         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
11403         these.
11405 2001-05-21  Akim Demaille  <akim@epita.fr>
11407         * configure.in: Bump to 2.50a.
11409 -----
11411 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
11413 This file is part of GNU Autoconf.
11415 GNU Autoconf is free software; you can redistribute it and/or modify
11416 it under the terms of the GNU General Public License as published by
11417 the Free Software Foundation; either version 2, or (at your option)
11418 any later version.
11420 GNU Autoconf is distributed in the hope that it will be useful,
11421 but WITHOUT ANY WARRANTY; without even the implied warranty of
11422 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11423 GNU General Public License for more details.
11425 You should have received a copy of the GNU General Public License
11426 along with autoconf; see the file COPYING.  If not, write to
11427 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
11428 Boston, MA 02110-1301, USA.