Fix previous commit.
[autoconf.git] / ChangeLog
bloba2669a8b1347f6165bbf76f704dee81a986e8b78
1 2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
3         Fix previous commit.
4         * lib/autotest/general.m4 (AT_LINE): Fix regex.
6 2007-10-04  Eric Blake  <ebb9@byu.net>
8         Speed up building testsuites.
9         * lib/autotest/general.m4 (AT_LINE): Only use regex when file
10         changed since last time.  Use simpler regex.
12 2007-10-03  Eric Blake  <ebb9@byu.net>
14         Optimize checking for identifiers.
15         * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
16         macros, more efficient than regex on m4_re_word.
17         * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
18         Rewrite in terms of new macro.  As a side-effect, AC_DEFINE can
19         now use @&t@.
20         * configure: Regenerate.
22         Remove some XFAILs, and make AT_SETUP output line up.
23         * lib/autotest/general.m4 (AT_SETUP): Only expand description
24         once; thereafter, use its expansion, properly quoted.
25         * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
26         expansion with arguments, and check for aligned output.
27         (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
28         Add a test for macros with parameters.
29         * NEWS: Document the semantics change.
30         * tests/base.at: Fix test titles containing commas.
31         * tests/compile.at: Likewise.
32         * tests/tools.at: Likewise.
33         * tests/torture.at: Likewise.
35         Another round of regex avoidance.
36         * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
37         (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
38         (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
39         (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
40         character ranges useful in m4_translit.
41         (m4_toupper, m4_tolower): Optimize the constant portion of
42         definition.
43         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
44         creates $, and reject [] thanks to AS_TR_SH rewrite.
45         (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
46         (AS_ESCAPE): Factor...
47         (_AS_ESCAPE): ...into new macro, with second argument required.
48         Avoid regex in common case.
49         (_AS_QUOTE): Use new macro.
51         Whitespace cleanup.
52         * lib/autoconf/types.m4: Avoid space-tab.
53         * lib/m4sugar/m4sh.m4: Use tab consistently.
55 2007-10-03  Paul Eggert  <eggert@cs.ucla.edu>
57         * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
58         (m4_shiftn): Remove no-longer-needed optimization.  Perhaps we
59         should remove m4_shiftn entirely?
60         (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
61         Prefer m4_shift2 and m4_shift3 to m4_shiftn.
62         * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
63         * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
64         * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
66 2007-10-03  Eric Blake  <ebb9@byu.net>
68         Comment touchups.
69         * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
71 2007-10-02  Eric Blake  <ebb9@byu.net>
73         Optimize appending text.
74         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
75         expressions.
77         Optimize recursion.
78         * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
79         lot of hot spots; optimize it for 2 and 3 shifts.
81         Optimize AC_PREREQ and other m4sugar numerics.
82         * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
83         (m4_cmp): Compare arbitrary expressions, without overflow.
84         (m4_version_unletter): Also recognize capital letters.
85         (m4_version_compare): Avoid regex when splitting version number
86         string.
88 2007-10-01  Eric Blake  <ebb9@byu.net>
90         Once again, reject IRIX m4.
91         * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
92         implementations that ignore --trace.
93         * configure: Regenerate.
94         Reported by Ralf Wildenhues.
96         Fix regression in AC_DEFINE([macro(with_arg)]).
97         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
98         quotes with a careless m4_substr.
100 2007-09-30  Eric Blake  <ebb9@byu.net>
102         Allow nameless iteration.
103         * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
104         indirectly.
105         * tests/m4sugar.at (myvar): Test this.
107 2007-09-29  Eric Blake  <ebb9@byu.net>
109         Speed optimization: avoid m4 regex when other algorithms work.
110         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
111         (_AS_QUOTE_IFELSE): Likewise.
112         * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
113         (m4_bpatsubsts): Split...
114         (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
115         regex.
116         (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
117         (m4_qlen): Optimize on short strings, to avoid regex.
118         (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
119         * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
120         (AC_DEFINE_TRACE): Likewise.
122 2007-09-28  Eric Blake  <ebb9@byu.net>
124         Oops - my earlier 'optimization' caused a regression.
125         * tests/local.at (AT_CHECK_M4): Fix typo.
127 2007-09-27  Eric Blake  <ebb9@byu.net>
128         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
130         Catch even more common AC_CACHE_VAL mistakes.
131         * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
132         lacks '_cv_', or if AC_SUBST appears in body.
133         * tests/base.at (AC_CACHE_CHECK): Test this change.
135 2007-09-27  Stepan Kasal  <kasal@ucw.cz>
136         and Eric Blake  <ebb9@byu.net>
138         Autotest no longer caters to Ultrix redirection limitation.
139         * doc/autoconf.texi (Writing testsuite.at): Remove the
140         limitation that the first parameter of AT_CHECK cannot
141         contain redirection.
142         (File Descriptors): Mention that Ultrix limitation is no longer a
143         show-stopper in modern code.
144         * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
145         parameter is `stderr' or `experr'.  Optimize if it was `ignore'.
146         * lib/autotest/general.m4 (AT_CHECK): Update comment.
148 2007-09-27  Eric Blake  <ebb9@byu.net>
150         Squelch changeword in m4sugar.
151         * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
152         feature of m4 1.4.x.
154         Configure whitespace touchups.
155         * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
156         installation directories, and avoid TAB, in configure --help
157         output.
158         * configure.ac: Avoid extra trailing newline.
159         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
160         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
161         config.status --help output.
162         * configure: Regenerate.
164         Fix underquotation in AS_HELP_STRING.
165         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
166         argument.
167         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
168         first-prefix argument.
169         * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
170         * NEWS: Document AS_HELP_STRING fix.
172         Autotest formatting touchups.
173         * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
174         output.
175         (PATH): Simplify computation of new PATH.
177 2007-09-26  Eric Blake  <ebb9@byu.net>
179         Fix testsuite breakage in last patch.
180         * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
181         font-lock fix.
182         * tests/torture.at (@%:@define header templates): Rename, so that
183         output lines up correctly.
185         More font-lock happiness.
186         * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
187         confusion.
189 2007-09-25  Eric Blake  <ebb9@byu.net>
191         Typo fixes.
192         * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
193         * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
195         Improve documentation of M4 parameter expansion.
196         * doc/autoconf.texi (Quoting and Parameters): New section.
197         (Quotation and Nested Macros): Improve wording.
199         Improve C99 detection.
200         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
201         avoid deprecation warning with icc.
202         * THANKS: Update.
203         Reported by Ted Bullock.
205 2007-09-24  Jim Meyering  <jim@meyering.net>
207         Whenever possible, use the vertical bar as sed delimiter.
208         * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
209         Use "|", not "!".
210         * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
211         [ac_dir_suffix]: Use "|", not "," as sed delimiter.
212         * tests/mktests.sh (as_me): Likewise.
213         * lib/freeze.mk (check-forbidden-patterns): Likewise.
214         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
215         * configure: Regenerate.
216         * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
217         * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
218         in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
219         This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
221 2007-09-22  Jim Meyering  <jim@meyering.net>
223         Add a comment.
224         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
225         2004-05-31 change also with a comment in the code.
227 2007-09-20  Eric Blake  <ebb9@byu.net>
229         More contribution housekeeping.
230         * THANKS: Sort.
231         * AUTHORS: Sort, reflect recent assignment from Helge Deller.
233         Ignore additional files, when copying cross-repository.
234         * .gitignore: Ignore CVS directories, emacs edits.
235         * .cvsignore: Ignore .git directory, emacs edits.
237 2007-09-15  Eric Blake  <ebb9@byu.net>
239         Provide AC_VERSION, not m4_AUTOCONF_VERSION.
240         * doc/autoconf.texi (Text processing Macros): Remove mention of
241         m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
242         once again.
243         (Notices): Move AC_PREREQ...
244         (Versioning): ...to this new section, alongside the new AC_VERSION
245         alias for the undocumented m4_PACKAGE_VERSION.
246         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
247         * lib/autoconf/general.m4 (AC_VERSION): New macro.
248         * NEWS: Update to match this rename.
249         * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
250         m4_PACKAGE_VERSION.
251         * tests/tools.at (autoconf: AC_VERSION): New test.
252         Suggested by Paolo Bonzini and Benoit Sigoure.
254 2007-09-14  Eric Blake  <ebb9@byu.net>
256         Prepare for conversion to git.
257         * doc/.cvsignore: Avoid multiple listings on one line.
258         * bin/.cvsignore: Likewise.
259         * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
260         lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
261         lib/autoscan/.gitignore, lib/autotest/.gitignore,
262         lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
263         tests/.gitignore: New files, identical to .cvsignore counterpart.
265 2007-09-13  Eric Blake  <ebb9@byu.net>
267         Editing eye-candy.
268         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
269         font-lock balance.
270         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
271         * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
272         * configure: Regenerate.
274         Clean up 'make dist' of previous patch.
275         * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
276         (CLEANFILES): Don't clean the stamp, since we distribute the
277         generated files pre-built.
278         (MAINTAINERCLEANFILES): Clean it here instead.
279         * tests/Makefile.in: Regenerate.
281         Avoid parallel 'make check' issue.
282         * tests/Makefile.am (mktests.stamp): New witness.
283         (TESTSUITE_GENERATED_AT): Use it.
284         (CLEANFILES): Clean the witness.
285         * tests/.cvsignore (mktests.stamp): Ignore the witness.
287         Document another awk pitfall.
288         * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
289         limitation of field variables in END.
290         Reported by Gary V. Vaughan.
292         * AUTHORS: Add missing entries.
294 2007-09-12  Eric Blake  <ebb9@byu.net>
296         Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
297         * doc/autoconf.texi (Text processing Macros): Document
298         m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
299         (Redefined M4 Macros): Document m4_ifndef.
300         * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
301         can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
302         used it while it was undocumented.
303         * NEWS: Document this change.
304         * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
305         * lib/m4sugar/Makefile.in: Regenerate.
306         * tests/m4sugar.at (m4@&t@_version_compare): New test.
307         Reported by Bruno Haible.
309         * doc/autoconf.texi (Generic Compiler Characteristics): Add
310         missing index entries.
312 2007-09-11  Eric Blake  <ebb9@byu.net>
314         Centralize all system extensions checks.
315         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
316         from AC_AIX, AC_GNU_SOURCE, AC_MINIX.  Add Interix support.
317         (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
318         AC_USE_SYSTEM_EXTENSIONS.
319         (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
320         (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
321         * doc/autoconf.texi (Posix Variants): Reword this section,
322         emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
323         rather than a series of system-specific checks.
324         (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
325         AC_MINIX.
326         * NEWS: Document this change.
327         * THANKS: Update.
328         Reported by Martin Koeppe.
330 2007-09-08  Eric Blake  <ebb9@byu.net>
332         Clean up obsolete macros references.
333         * doc/autoconf.texi: Add anchors to support better
334         cross-referencing.
335         (Particular Structures): Move obsolete macros descriptions...
336         (External Software): Likewise.
337         (Package Options): Likewise.
338         (Obsolete Macros): ...to here.  Add cross-references to
339         documentation on replacements.
340         * NEWS: Mention that these macros have been obsolete for a while
341         now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
343         Improve M4 path searching during configure.
344         * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
345         macro.
346         (_AC_PATH_PROG_FEATURE_CHECK): Rename...
347         (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
348         parameter, and kill side effects.
349         (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
350         (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
351         * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
352         is found.
353         (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
354         allow bootstrapping with autoconf 2.61.
355         * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
356         * configure: Regenerate.
357         * doc/autoconf.texi (Generic Programs): Document new macro.
358         * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
359         macro.
360         * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
361         * NEWS: Document the change.
362         * THANKS: Update.
363         Reported by Hans Aberg.
365         * doc/autoconf.texi (Generic Programs): Fix typo.
367 2007-09-06  Eric Blake  <ebb9@byu.net>
369         * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
370         :, and make it clear that optional @var{path} defaults to $PATH.
371         (Erlang Compiler and Interpreter): Likewise.
373         Texinfo cleanup.
374         * doc/autoconf.texi: Avoid lines > 80 columns when possible.
375         Reword some paragraphs to avoid overfull, underfull hbox
376         warnings.  Add index entries to avoid overfull vbox warnings.
378 2007-09-05  Eric Blake  <ebb9@byu.net>
380         * NEWS: Adjust wording for AC_CONFIG_LINKS.
381         Reported by Ralf Wildenhues.
383 2007-09-03  Eric Blake  <ebb9@byu.net>
385         * NEWS: Document fixes that have been applied since 2.61a.
387         Housekeeping.
388         * THANKS: Update, and convert to UTF-8 encoding.
389         * AUTHORS: Likewise.
391 2007-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
393         * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
394         names beginning with `-' again.
396 2007-08-22  Stepan Kasal  <kasal@ucw.cz>
397             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
399         * doc/autoconf.texi (Defining Directories): Mention
400         AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
402 2007-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
404         * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
405         here, this macro is expanded by AC_INIT.  Fixes 2.60 regression.
406         * tests/base.at (configure arguments): New test.
407         * THANKS: Update.
408         Report by Olaf Lenz.
410         * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
411         arguments in comment.
412         Report by Vincent Torri <vtorri at univ minus evry dot fr>.
414 2007-08-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
416         * doc/autoconf.texi (File System Conventions): Index the proper
417         way of detecting absolute file names.
419 2007-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
421         * build-aux/config.guess, build-aux/config.sub,
422         build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
423         build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
424         doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
425         * doc/autoconf.texi (GNU Free Documentation License): Adjust for
426         sectioning change in fdl.texi.
428         * bin/autoconf.as: Update --version output to match current GCS.
429         * bin/autoheader.in: Likewise.
430         * bin/autom4te.in: Likewise.
431         * bin/autoreconf.in: Likewise.
432         * bin/autoscan.in: Likewise.
433         * bin/autoupdate.in: Likewise.
434         * bin/ifnames.in: Likewise.
436 2007-08-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
438         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
439         file to itself if source and build trees coincide.
440         * tests/torture.at (AC_CONFIG_LINKS and identical files): New
441         test.
442         Report by Sebastian Freundt <hroptatyr@gna.org>.
444 2007-07-20  Paul Eggert  <eggert@cs.ucla.edu>
446         Reword the copyright notices to match what's suggested in GPLv3.
447         In ChangeLog files, use more-permissive notice rather than GPL, as
448         per usual GNU standards these days.
450 2007-07-13  Paul Eggert  <eggert@cs.ucla.edu>
452         * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
453         limitation reported by Leo Moisio in
454         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
456 2007-07-03  Paul Eggert  <eggert@cs.ucla.edu>
458         * COPYING: Update to GPLv3.  All uses changed.
460 2007-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
461         and Paul Eggert  <eggert@cs.ucla.edu>
463         * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
464         fails on AIX 5.3.
466 2007-06-17  Noah Misch  <noah@cs.caltech.edu>
468         * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
469         * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
470         `srcdir' as subdirectory of `builddir'.
472 2007-06-13  Noah Misch  <noah@cs.caltech.edu>
474         * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
475         * tests/autotest.at (srcdir propagation): New test.
476         * THANKS: Update.
477         Reported by Mike Frysinger.
479 2007-06-13  Paul Eggert  <eggert@cs.ucla.edu>
481         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
482         Problem reported by Fred Kreek in
483         <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
484         * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
485         (Macro Names, Defining Directories): Don't mention PATH as a name
486         for a fully qualified file name, as this usage violates the GNU
487         coding standards and we shouldn't recommend it.
489         * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
490         string and then assume shell builtins like "test" will work.
492 2007-06-12  Noah Misch  <noah@cs.caltech.edu>
494         * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
495         not a valid shell variable name.
496         * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
497         * tests/torture.at (AC_SUBST: variable name validation): New test.
498         Reported by Andreas Schwab.
500 2007-06-04  Noah Misch  <noah@cs.caltech.edu>
502         * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
503         works with both C and C++.
505 2007-06-03  Noah Misch  <noah@cs.caltech.edu>,
506             Bruno Haible  <bruno@clisp.org>
508         * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
509         brand tests.
511 2007-05-31  Paul Eggert  <eggert@cs.ucla.edu>
513         * doc/autoconf.texi (Particular Types): Give example of use for
514         AC_TYPE_INT8_T etc.
516 2007-05-29  Stepan Kasal  <kasal@ucw.cz>
518         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
520 2007-05-28  Paul Eggert  <eggert@cs.ucla.edu>
522         * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
523         define HAVE_INT8_T, and likewise for similar macros.
524         Problem reported by Patrick Welche in
525         <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
527 2007-05-25  Noah Misch  <noah@cs.caltech.edu>
529         * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
531 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
533         * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
534         choice, since that's what we do with --enable-largefile etc.
535         Redo indenting and assignments to simplify things a bit, and make
536         the parens work with Emacs.
538         * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
539         in my previous change: AC_C_OPENMP -> AC_OPENMP.  Reported by Bruno
540         Haible.
542 2007-05-21  Noah Misch  <noah@cs.caltech.edu>
544         * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
545         * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
547 2007-05-21  Bruno Haible  <bruno@clisp.org>
549         * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
550         * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
551         * doc/autoconf.texi (Generic Compiler Characteristics): Move
552         renamed AC_OPENMP documentation here, from "C compiler".
553         Mention C++ and Fortran.
555 2007-05-21  Paul Eggert  <eggert@cs.ucla.edu>
557         * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
559 2007-05-21  Bruno Haible  <bruno@clisp.org>
561         * NEWS: Mention AC_C_OPENMP.
562         * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
563         * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
565 2007-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
567         * bin/autom4te.in: Fix typos.
569 2007-05-16  Noah Misch  <noah@cs.caltech.edu>
571         * bin/autoconf.as: Handle `-' just like other input files.
572         * bin/autom4te.in (parse_args): Pass `-' through.
573         (handle_output): Skip the forbidden token search if we read from stdin.
574         (up_to_date): Always treat stdin as out of date.
575         * tests/tools.at (autoconf: input from stdin): New test.
576         (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
578 2007-05-16  Stepan Kasal  <kasal@ucw.cz>
580         * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
581         parameters for AT_CLEANUP.
582         * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
584 2007-05-14  Paul Eggert  <eggert@cs.ucla.edu>
586         * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
587         * doc/autoconf.texi (C Compiler): Likewise.
589 2007-05-14  Noah Misch  <noah@cs.caltech.edu>
591         * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
593 2007-05-09  Stepan Kasal  <kasal@ucw.cz>
595         * doc/autoconf.texi: Direntry for "autoconf Invocation"
596         renamed to "autoconf-invocation"
598         * doc/autoconf.texi (Caching Results): The CACHE-ID variable
599         in the examples should not use the internal "ac_" prefix.
601 2007-05-05  Noah Misch  <noah@cs.caltech.edu>
603         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
604         * doc/autoconf.texi ($@, case): Document Zsh limitations.
606 2007-05-03  Stepan Kasal  <kasal@ucw.cz>
608         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
609         Reorganize the comments before and in the macro.
611 2007-05-02  Stepan Kasal  <kasal@ucw.cz>
613         * lib/autoconf/lang.m4, lib/autoconf/c.m4,
614         lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
615         section titles and other comments; no code change.
617 2007-05-01  Kevin Ryde  <user42@zip.com.au>
619         * doc/autoconf.texi (Particular Programs): Typo
620         @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
622 2007-04-30  Paul Eggert  <eggert@cs.ucla.edu>
624         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
625         'configure' will fail if the shell lacks proper support for shell
626         functions.  Suggested by RMS.
628 2007-04-29  Paul Eggert  <eggert@cs.ucla.edu>
630         * doc/autoconf.texi (Limitations of Builtins): Correct the warning
631         about Solaris /bin/printf '%010000x' 123.  Problem reported by
632         Bruno Haible.
634 2007-04-28  Paul Eggert  <eggert@cs.ucla.edu>
636         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
637         for a.* when searching for executables, as this prevents users
638         from having files like a.c.  Problem reported by Ralf Wildenhues in:
639         http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
640         This fixes a problem introduced on 2000-12-19.
642 2007-04-26  Paul Eggert  <eggert@cs.ucla.edu>
644         * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
645         /bin/printf '%010000x' 123.  Problem reported by Arto C. Nirkko
646         via Bruno Haible.
648 2007-04-12  Paul Eggert  <eggert@cs.ucla.edu>
650         * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
651         AC_CHECK_TYPE, AC_CHECK_TYPES.
652         * doc/autoconf.texi (Generic types): C types must be type-names
653         (the C terminology), not type-ids (the C++ term).  C++ types
654         must not be anonymous.
655         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
656         for C++; this drops support for anonymous struct and union types,
657         which were problematic anyway.
658         * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
659         for C++.
661 2007-04-12  Jim Meyering  <jim@meyering.net>
663         * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
665 2007-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
667         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
668         to prefer a link source from the build tree, if it exists.
669         Report by Pallav Gupta <pallavgupta@gmail.com>.
671 2007-04-11  Paul Eggert  <eggert@cs.ucla.edu>
673         * doc/autoconf.texi (Generic Types): Document the restrictions
674         on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
675         (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
676         with objects too.  Document the restrictions on its use.
677         Document the restrictions on AC_CHECK_ALIGNOF's type argument.
678         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
679         For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
680         works but the latter doesn't, then it's a valid type.
681         This lets people use function types and so forth.
682         For C++ there doesn't seem to be a simple solution, so leave it alone.
683         (AC_CHECK_SIZEOF): Allow argument to be a variable.
684         (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
685         AC_CHECK_TYPE; that wasn't documented or necessary.
687 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
689         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
690         when cross-compiling.
692 2007-04-11  Stepan Kasal  <kasal@ucw.cz>
694         * doc/autoconf.texi (External Software): Fix a typo in the
695         previous change.
697 2007-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
699         * doc/autoconf.texi (External Software, Package Options):
700         Fix ambiguous wording.  Report by Reuben Thomas <rrt@sc3d.org>.
702 2007-04-06  Paul Eggert  <eggert@cs.ucla.edu>
704         * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
705         obsolescent.  Suggested by Bruno Haible.
706         * NEWS: Document this.
708 2007-03-29  Paul Eggert  <eggert@cs.ucla.edu>
710         * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
711         (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
712         default still has the problem.  Problem reported by Bruce Korb.
714 2007-03-28  Stepan Kasal  <kasal@ucw.cz>
715         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
717         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
718         comment in the generated config.status.
720 2007-03-27  Stepan Kasal  <kasal@ucw.cz>
722         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
724 2007-03-26  Paul Eggert  <eggert@cs.ucla.edu>
726         * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
727         command and case statements to make it a bit clearer and describe
728         more pitfalls.
730 2007-03-23  Paul Eggert  <eggert@cs.ucla.edu>
732         * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
733         checks for unsigned long long int.
735 2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
737         * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
738         nonstandard grep R.E. escape sequences.
740 2007-03-17  Jim Meyering  <jim@meyering.net>
742         * doc/autoconf.texi: Adjust grammar around use of "heuristics".
743         (Limitations of Usual Tools): Also list \< and \>, and mention that
744         HP-UX's grep, like the one from Solaris, does not support that syntax.
746 2007-03-09  Stepan Kasal  <kasal@ucw.cz>
748         * doc/autoconf.texi (Specifying Names): `--host' does not
749         change the build type.
751 2007-03-05  Paul Eggert  <eggert@cs.ucla.edu>
753         * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
754         suggests AC_CONFIG_HEADERS.
755         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
756         AC_CONFIG_HEADERS.  Problem reported by
757         Peter O'Gorman.
759 2007-02-28  Paul Eggert  <eggert@cs.ucla.edu>
761         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
762         Problem reported by Paolo Bonzini in:
763         http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
764         * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
765         universal binaries.  Problem reported by Elias Pipping.
767 2007-02-27  Paul Eggert  <eggert@cs.ucla.edu>
769         * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
770         * doc/autoconf.texi (C Compiler): Document this.  There is a new
771         extra argument ACTION-IF-UNIVERSAL.
772         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
773         Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
774         Reindent for sanity's sake.
776 2007-02-24  Eric Blake  <ebb9@byu.net>
778         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
779         copyright.
780         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
781         * lib/autotest/general.m4 (AT_INIT): Likewise.
782         (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
784 2007-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
786         * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
787         status of rm so we know when it failed.
788         If cleaning of test dir failed before running the test, warn.
789         Output the line separator in verbose mode before the warning
790         to make clear the warning belongs to the following test.
792 2007-02-08  Paul Eggert  <eggert@cs.ucla.edu>
794         * doc/autoconf.texi (Parentheses): Mention problem with (( in
795         shells.
797 2007-02-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
798         and Paul Eggert  <eggert@cs.ucla.edu>
800         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
801         errors introduced in last change.
803 2007-02-07  Paul Eggert  <eggert@cs.ucla.edu>
805         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
806         an actual carriage return.  Use "ac_cr" to contain the actual
807         carriage return.
808         * doc/autoconf.texi (Limitations of Usual Tools): Document problem
809         with traditional Awk and begin.
810         * tests/torture.at (Limitations of Builtins): Document the problem
811         with Bash 2.03 printf.
812         (Substitute and define special characters):
813         Remove trailing white space.  Work around a bug in Solaris 8 /bin/bash.
815 2007-02-06  Ralf Menzel  <menzel@ls6.cs.uni-dortmund.de>  (tiny change)
817         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
818         input from /dev/null in awk test, so even Solaris /usr/bin/awk
819         will not wait for input with a script containing only a BEGIN
820         rule.
822 2007-02-03  Paul Eggert  <eggert@cs.ucla.edu>
824         * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
825         requirements.
826         * README: Likewise.
828 2007-02-02  Eric Blake  <ebb9@byu.net>
830         * NEWS: Update copyright.
832         * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
833         broken.
834         * configure.ac: Update error message.
835         * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
836         Reported by Gary Vaughan and Jim Meyering, and problem analyzed
837         by Stepan Kasal:
838         http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
840 2007-01-31  Eric Blake  <ebb9@byu.net>
842         * THANKS (people): Update.
844 2007-01-28  Paul Eggert  <eggert@cs.ucla.edu>
846         * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
847         latest version.
848         (Shell Substitutions): Note problems with @{var:=value} etc.
849         Add a new section for problems with @{#var} etc.  Problem noted
850         by Ralf Wildenhues.  See:
851         http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
853 2007-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
855         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
856         AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
857         trace, if a package uses AC_PROG_MKDIR_P explicitly.  The actual
858         substitution will still be done by the special code.
859         Report by Jim Meyering.
861         * doc/autoconf.texi (File System Conventions): Mention that
862         $PATH_SEPARATOR is for the build system only.
863         Report by Keith Marshall.
865 2007-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
867         * doc/autoconf.texi (Setting Output Variables): Mention that
868         all non-NUL characters are ok in substituted values.
869         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
870         (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
871         carriage return for $AWK, needed for BSD awk.
872         * tests/torture.at (Substitute and define special characters):
873         Test all 8 bit non-NUL characters.
874         Report against Automake by Patrick Welche.
876 2007-01-15  Stepan Kasal  <kasal@ucw.cz>
878         * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
880 2007-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
882         * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
883         early on the reader side, drop stderr of the input to avoid
884         `broken pipe' error output; this may happen even with shell
885         builtin `echo' of some bash versions.  Reports by Ian Macdonald
886         <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
888 2007-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
890         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
891         separate items of `ac_user_opts', to avoid long lines.
892         (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
894 2007-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
896         * doc/autoconf.texi: Fix some typos.
898 2007-01-05  Paul Eggert  <eggert@cs.ucla.edu>
900         Fix some wording problems noted by Paolo Bonzini in:
901         http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
902         * doc/autoconf.texi (Signed Overflow Examples): Give more
903         discussion about the allow_superuser_privileges example,
904         and change it a bit to make things clearer.
905         (Optimization and Wraparound): Clarify whether the compiler
906         will generate an infinite loop for the example derived from
907         Autoconf's mktime test.
908         (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
909         Also, clarify unsigned multiplication overflow.
911 2007-01-04  Eric Blake  <ebb9@byu.net>
913         * bin/Makefile.am (RELEASE_YEAR): New macro.
914         (edit): Use it to supply correct copyright year to scripts.
915         * bin/autoconf.as (version): Use it.
916         * bin/autoheader.in ($version): Likewise.
917         * bin/autom4te.in ($version): Likewise.
918         * bin/autoreconf.in ($version): Likewise.
919         * bin/autoscan.in ($version): Likewise.
920         * bin/autoupdate.in ($version): Likewise.
921         * bin/ifnames.in ($version): Likewise.
923 2007-01-02  Paul Eggert  <eggert@cs.ucla.edu>
925         * doc/autoconf.texi (Integer Overflow): Revised based on today's
926         feedback.  The most important changes document what happens when
927         you convert an out-of-range value to a signed integer type, and
928         say that (sum < a) != (b < 0) reliably detects overflow when sum =
929         a + b.
931         * doc/autoconf.texi (Integer Overflow): Greatly expand and
932         rewrite, taking notions from the recent discussion on the gcc and
933         autoconf mailing lists; please see
934         http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
935         and follow the many links.
936         (Integer Overflow Basics, Signed Overflow Examples):
937         (Optimization and Wraparound, Signed Overflow Advice):
938         (Signed Integer Division): New sections.
940 2006-12-28  Steven G. Johnson  <stevenj@alum.mit.edu>
942         * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
943         preprocessor macro arguments in traced name.
944         * doc/autoconf.texi (Defining symbols): Document longstanding
945         support for AC_DEFINE-ing macros with arguments, and document
946         behavior when the same variable has multiple AC_DEFINEs.
947         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
948         old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
949         macros directly, giving much shorter and simpler code.
951 2006-12-28  Malcolm Purvis <malcolmp@xemacs.org>  (trivial change)
953         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
954         space before "$ac_configure_args" to prevent a 'config.status
955         --recheck' failure if ac_configure_args doesn't contain a leading
956         space.  This works around a problem with the XEmacs configure.ac,
957         which uses the (undocumented) ac_configure_args variable
958         inconsistently with Autoconf.
960 2006-12-22  Paul Eggert  <eggert@cs.ucla.edu>
962         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
963         Include <limits.h>, and use its INT_MAX to rewrite the
964         j loop so that it does not overflow 'int'.  Problem reported by
965         Ralf Wildenhues in
966         <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
967         Play it safe by shifting left by 1 rather than multiplying by 2,
968         as GCC is less likely to optimize this away when the value
969         is signed (when it assumes overflow leads to undefined behavior).
970         Also, don't assume time_t uses two's complement.
972 2006-12-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
974         * tests/torture.at (Substitute a 2000-byte string): Avoid using
975         a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
976         dumps core on it.  Report by Tim Rice.
978 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
980         * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
981         --disable-option-checking to --help output even when
982         AC_PRESERVE_HELP_ORDER is not used.
983         (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
984         --with argument, rather than argument with [-.] replaced by
985         underscores.
986         * NEWS: Fix typo in previous change; the news was in the
987         wrong section.
989 2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
991         * NEWS: Warnings are now generated by default for unknown
992         --enable-* and --with-* options.
993         * doc/autoconf.texi (Option Checking): Renamed from
994         (Configure Option Checking).  Tighten up the wording a bit.
995         (External Software, Package Options): Cross-reference to Option
996         Checking, and use this to shorten our section.
997         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
998         "$x" to test "x$foo" != x.
999         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
1000         Don't warn if $enable_option_checking is "no".
1001         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
1002         ac_unrecognized_opts to the empty string.
1003         Don't echo the unrecognized opts, as this might mishandle
1004         backslashes or leading -.
1005         (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
1006         usage next to the other --disable-FEATURE options in the
1007         help string.
1009 2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>
1011         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
1012         (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
1013         Print warning for unrecognized --with and --enable options
1014         (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
1015         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
1016         Disable option checking when subdirs are configured.
1017         (AC_OUTPUT): If warnings are enabled, print warning about
1018         unrecognized --with and --enable options at the end of
1019         the configure output (as well as at the beginning).
1020         * doc/autoconf.texi (Option Checking): New node.
1021         Document new option warning functionality.
1023 2006-12-16  Eric Blake  <ebb9@byu.net>
1025         * configure.ac (AC_INIT): Bump version, since 2.61a is released.
1026         * NEWS: Start news for current version.
1028 2006-12-15  Paul Eggert  <eggert@cs.ucla.edu>
1030         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
1031         Define HAVE_GETMNTENT to 1, not to the empty string.
1032         Problem originally reported by Jochen Friedrich in
1033         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
1035         This change prompted by a problem report by Andrey Simonenko in
1036         <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
1037         * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
1038         object-like macros only, in the traditional portable character
1039         set.
1040         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
1041         Warn about attempts to define things that are not identifiers.
1042         * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
1043         awful hack that AC_DEFINEd macro names containing parentheses.
1045 2006-12-12  Paul Eggert  <eggert@cs.ucla.edu>
1047         * doc/autoconf.texi: Undo some of the 2006-12-10 change.  It was
1048         too drastic, even if Texinfo in theory requires it for info mode.
1050         (config.status Invocation): Renamed back from Recreating a
1051         Configuration).
1052         (Obsolete config.status Use): Renamed back from Obsolete Recreation.
1053         (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
1055 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
1057         * NEWS: Version 2.61a.
1059 2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
1060         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1062         * NEWS: Document changes with echo and printf, and the lack
1063         of limits on the total size of multi-line values of substituted
1064         variables, and the AC_FUNC_FSEEKO fix.
1066 2006-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1068         * doc/autoconf.texi (Writing Autoconf Input): Renamed from
1069         Writing configure.ac.
1070         (Autoconf Input Layout): Renamed from configure.ac Layout.
1071         (Recreating a Configuration): Renamed from config.status Invocation.
1072         (Obsolete Recreation): Renamed from Obsolete config.status Use.
1073         (acconfig Header): Renamed from acconfig.h.
1074         (20th-century Autoconf 2): Renamed from Autoconf 2.13.
1075         (Writing Testsuites): Renamed from Writing testsuite.at.
1076         (Autom4te Cache): Renamed from autom4te.cache.
1078         * BUGS: Remove mention of VPATH problem, since it's now documented
1079         not to be a bug in the Autoconf build procedure itself, but rather
1080         a problem with the proprietary `make' programs.
1082         * doc/autoconf.texi (Build Directories): Add a cross reference
1083         to VPATH and Make.
1085         * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
1086         * doc/standards.texi: Sync from gnulib.
1088         * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
1089         * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
1090         * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
1091         generated automatically.
1093 2006-12-06  Paul Eggert  <eggert@cs.ucla.edu>
1095         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
1096         C 5.8 on Solaris 10.  Using -xc99=all rather than -xc99 bypasses
1097         the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
1099 2006-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1101         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
1102         `CEOF$ac_eof' special marker, the awk script cannot contain a
1103         line matching `^CEOF', so this is not needed any more.
1104         * tests/torture.at (Substitute a newline): Expose the `%!_!# '
1105         special marker in the test.
1107 2006-12-06  Stepan Kasal  <kasal@ucw.cz>
1109         * tests/tools.at (autom4te preselections): Use `find -newer';
1110         remove one of the sleeps.
1112         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
1113         more readable, using ...
1114         (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
1116         * doc/autoconf.texi (autoheader Invocation): Do not double-
1117         quote the parameter of `AH_BOTTOM' in the example.
1119 2006-12-05  Stepan Kasal  <kasal@ucw.cz>
1121         * doc/autoconf.texi (Configuration Headers): Remove the
1122         example with multiple input files.
1123         (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
1124         multiple input files.
1126 2006-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1128         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
1129         creating the awk substitution script, handle one input line at a
1130         time, so that the maximum length of a substituted (multi-line)
1131         value is not limited by the size of the sed pattern space.
1132         The trade-off is a slightly repetitive sed script.
1133         * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
1134         can only have up to 7 characters, due to Solaris 10 /bin/sed.
1135         * tests/torture.at (Substitute a 2000-byte string): Increase the
1136         test with several long lines, they should not be caught by sed
1137         limits any more.
1139         * tests/tools.at (autom4te preselections): New test, to flag
1140         entries missing from autom4te.cfg.
1141         Report by David Byron <dbyron@hheld.com>.
1143         * tests/torture.at (Substitute a 2000-byte string): Actually use
1144         AC_PROG_AWK, so the last change works as intended.
1145         (Substitute and define special characters): Likewise.
1146         (Substitute a newline): Likewise.
1148         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
1149         instead of `awk' consistently.
1150         (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
1151         * tests/torture.at (Torturing config.status): Test both the
1152         result of AC_PROG_AWK and plain awk.
1153         (Substitute a 2000-byte string): Likewise.
1154         (Substitute and define special characters): Likewise.
1155         (Substitute a newline): Likewise.
1157 2006-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1159         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
1160         can be assigned to a function pointer.  Problem reported by
1161         Peter Palfrader in <http://bugs.debian.org/401377>.  Based on
1162         part of a patch by Ralf Wildenhues in that same bug report.
1164 2006-12-01  Paul Eggert  <eggert@cs.ucla.edu>
1166         * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
1167         * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
1169 2006-12-01  Eric Blake  <ebb9@byu.net>
1171         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
1172         cross-compiling from cygwin to mingw.
1173         Reported by Bob Rossi.  This resurrects the 2000-11-30 patch to
1174         aclang.m4, which was mistakenly removed in the 2001-09-17 patch
1175         to lib/autoconf/c.m4.
1177 2006-12-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1179         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
1180         string for more reliable failure.  Wrap the entire test that
1181         causes the broken Solaris printf to dump core, in a subshell,
1182         so the segmentation fault message is reliably suppressed.
1183         Fix shell expansion errors by using /usr/ucb/echo always;
1184         avoid an error on systems without it by another subshell.
1185         Avoid m4 expansion of `$1'.  Set the zeroth argument of the
1186         subshell-$as_echo to `as_echo', for better error message.
1188 2006-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1190         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
1191         `BASH_SOURCE' contain a newline, set them to empty, as they may
1192         not be unset.
1194 2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
1196         Turn AC_FUNC_SETVBUF_REVERSED into a noop.  It's been obsolete for
1197         years and is too hard to maintain now.  The last straw was
1198         reported by Jerker Baeck in
1199         <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
1200         * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
1201         * doc/autoconf.texi (Particular Functions): Move
1202         AC_FUNC_SETVBUF_REVERSED from here...
1203         (Obsolete Macros): ... to here.  Say that it does nothing now.
1204         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
1205         Turn into (almost) a no-op.
1207         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
1208         (AC_C_VOLATILE):
1209         Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
1210         These macros are obsolescent and new applications shouldn't need them.
1211         * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
1212         (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
1213         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
1214         (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1215         (AC_FUNC_VPRINTF): Likewise.
1216         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
1217         (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
1218         * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
1220         * doc/autoconf.texi (Setting Output Variables): Mention that
1221         @VAR1@VAR2 has unspecified behavior.  Problem reported by
1222         Ralf Wildenhues.
1223         * NEWS: Mention this.
1225         * Makefile.am: Put only a single '#' into the copyright notice,
1226         so that it's also present in the output file.  Standardize wording
1227         in makefile copyright notices to match GNU coding standards.
1228         * bin/Makefile.am: Likewise.
1229         * doc/Makefile.am: Likewise.
1230         * lib/Makefile.am: Likewise.
1231         * lib/freeze.mk: Likewise.
1232         * lib/autoconf/Makefile.am: Likewise.
1233         * lib/autoscan/Makefile.am: Likewise.
1234         * lib/autotest/Makefile.am: Likewise.
1235         * lib/m4sugar/Makefile.am: Likewise.
1236         * man/Makefile.am: Likewise.
1237         * tests/Makefile.am: Likewise.
1238         * lib/emacs/Makefile.am: Remove copyright notice; it's just a
1239         one-line file.
1241 2006-11-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1243         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
1244         in the sed script that mangles the awk script: delete up to the
1245         first exclamation mark only.
1246         * tests/torture.at (Substitute and define special characters):
1247         Test '!' too.
1249 2006-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1251         Rewrite config files generation: avoid quadratic growth in
1252         the number of substituted variables by using awk instead of sed
1253         for the bulk of the substitutions.
1254         * NEWS: Mention this.
1255         * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
1256         forbidden in the output (and thus input) file.
1257         * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
1258         (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
1259         generate just one large awk script for substitutions,
1260         eliminating much of the earlier complexity, while adding some
1261         new complexity.  Only expand the substitution templates at
1262         configure time, for smaller configure script size.  If
1263         _AC_SUBST_FILES are used, test 'awk' for working getline support
1264         at config.status time.  If absent, interpolate through the
1265         shell.  The awk script was written with much help
1266         from Paolo Bonzini and Paul Eggert.
1267         (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
1268         (_AC_SED_FRAG_NUM): Likewise.
1269         (_AC_SUBST_CMDS): Renamed from...
1270         (_AC_SED_CMDS): ...this.
1271         (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
1272         * tests/torture.at (Substitute a 2000-byte string): Also
1273         substitute a line with 1000 words, and a variable with several
1274         long lines.
1275         (Substitute and define special characters): Test awk special
1276         characters, and put substitution input strings `@foo@' in the
1277         output, to test that no recursion happens; test several other
1278         combinations from Paolo Bonzini.
1280 2006-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1282         * lib/autotest/general.m4 (AT_INIT): Undo recent changes
1283         that replaced echo with AS_ECHO where this wasn't necessary.
1284         Problem reportd by Ralf Wildenhues.
1285         * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
1286         where "/usr/bin/printf '%s\n' S" dumps core if S is long.
1287         This is Sun bug 4206210.  Problem reportd by Ralf Wildenhues.
1289 2006-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1291         * lib/freeze.mk (GREP): Removed, no need to initialize this.
1293 2006-11-21  Paul Eggert  <eggert@cs.ucla.edu>
1295         * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
1296         that traditional Awk lacks 3-arg "split".  It has it.
1297         Mention that FS must be a single character, and a few other
1298         99-byte limits of traditional Awk.
1299         Mention that if (i in a) doesn't work with traditional Awk.
1301 2006-11-18  Paul Eggert  <eggert@cs.ucla.edu>
1303         * tests/autotest.at (BSx641-newline in command):
1304         (BS-BS-newline in command, BSx640-newline in command):
1305         (Newline-CODE-BS-newline in command):
1306         (Single-quote-BS-newline in command):
1307         (Single-quote-newline-BS-newline in command):
1308         Use printf '%s\n' instead of echo, for portability to hosts
1309         where echo interprets backslashes.  This will break on hosts
1310         that lack printf, but for now let's assume all such hosts
1311         are dead (if not, we should get reports of test failures).
1313 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1315         'echo' has some portability problems, when given a first argument
1316         with a leading '-', or when given any argument containing '\'.
1317         Avoid using 'echo' in these cases.
1318         * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
1319         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
1320         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1321         * lib/autotest/general.m4 (AT_INIT): Likewise.
1322         * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
1323         argument might be unportable.
1324         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
1325         * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
1326         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
1327         (_AC_FC_LIBRARY_LDFLAGS): Likewise.
1328         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
1329         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
1330         (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
1331         (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
1332         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1333         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
1334         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
1335         (AC_PROG_MAKE_SET): Likewise.
1336         * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
1337         (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
1338         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
1339         (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
1340         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
1341         (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
1342         (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
1343         * bin/autoconf.as: Redo verbose flag implementation, as the old
1344         scheme wouldn't work with AS_ECHO.
1345         * lib/autotest/general.m4 (AT_INIT): Likewise.
1346         * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
1347         Don't use ECHO_T, since ECHO_N is now reliable.
1348         * lib/autotest/general.m4 (AT_INIT): Likewise.
1349         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
1350         rather than using a here-document to put the script into a file.
1351         (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
1352         use AS_ECHO.
1353         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
1354         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
1355         AS_ECHO_N rather than ECHO_N and ECHO_C.  This doesn't fix any
1356         bug, but we might as well stop using ECHO_N and ECHO_C internally.
1357         * lib/autotest/general.m4 (AT_SETUP): Likewise.
1358         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
1359         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1360         (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
1361         operand, as AS_ECHO requires.  Avoid double file name expansion.
1362         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
1363         Don't set as_nl, since _AS_ECHO_PREPARE does that now.
1364         (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
1365         (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
1366         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1367         Double-quote strings that would otherwise contain M4 comments.
1368         * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
1370         * configure.ac (AC_INIT): Bump to 2.61a.
1371         * NEWS: Likewise.
1373 2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1375         Version 2.61.
1377         * configure.ac (AC_INIT): Bump to 2.61.
1378         * NEWS: Likewise.
1380         * tests/autotest.at (Macro with backslash in a test title):
1381         Comment out for now, as this tests neither fails nor passes
1382         reliably.  Problem reported by Ralf Wildenhues.
1384 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
1386         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
1387         in previous change, which caused test failures.
1389 2006-11-16  Stepan Kasal  <kasal@ucw.cz>
1391         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
1392         code for --enable, --disable, --with, and --without to...
1393         (_AC_INIT_PARSE_ENABLE): ... a new macro.
1394         * doc/autoconf.texi (Package Options):
1395         * NEWS: Document that AC_ARG_ENABLE allows dots, too.
1397 2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
1399         Import these changes from config via gnulib:
1401         2006-11-15  Ben Elliston  <bje@gnu.org>
1403         From Josselin Mouette <joss@debian.org>:
1404         * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
1406         2006-11-08  Ben Elliston  <bje@gnu.org>
1408         * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
1410         2006-11-07  Steve Woodford  <scw@NetBSD.org>
1411                     Ben Elliston  <bje@gnu.org>
1413         * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
1414         * build-aux/config.sub (sh5el): New basic_machine.
1417         Import this change from coreutils:
1419         2006-02-13  Jim Meyering  <jim@meyering.net>
1421         * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
1424         Import this change from gnustandards via gnulib:
1426         2006-11-15  Karl Berry  <karl@gnu.org>
1428         * standards.texi: core -> memory, throughout.
1429         (CPU Portability): show correct example of calling write
1430         on a char value; thanks to Paul Eggert for the code.
1431         Both of these suggestions from Eugene Y. Vasserman.
1434         Import these changes from texinfo via gnulib:
1436         2006-11-08  Karl Berry  <karl@gnu.org>
1438         * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
1439           as well as pdf images, since they are supported in pdftex with
1440           no further ado.
1442         2006-11-05  Karl Berry  <karl@gnu.org>
1444         * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
1446 2006-11-13  Paul Eggert  <eggert@cs.ucla.edu>
1448         * NEWS: Document the AC_ARG_WITH change.
1450 2006-11-13  Bruno Haible  <bruno@clisp.org>
1452         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
1453         options, transliterate also dots to underscores.
1454         (_AC_ENABLE_IF): Transliterate also dots to underscores.
1455         * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
1456         first argument may also contain dots.
1458 2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
1460         * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
1461         benefit of platforms like Solaris+GCC where it is common to have a
1462         non-working g++ installation.
1464 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1465         and Joel E. Denny  <jdenny@ces.clemson.edu>
1466         and Paul Eggert  <eggert@cs.ucla.edu>
1468         * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
1469         and non-portable sed scripts, and use $CONFIG_SHELL when invoking
1470         ./micro-suite.
1472 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
1474         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
1475         ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
1476         Imported from a similar patch to gnulib by Bruno Haible.
1478 2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
1480         * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
1481         * doc/autoconf.texi (C Compiler): Document them.
1482         * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
1483         New macros, taken from gnulib.
1485 2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
1487         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
1488         Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
1489         Matthew Woehlke.
1491 2006-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1493         * tests/torture.at (Configuring subdirectories): Do not skip
1494         Automake 1.10 nor future Automake 11.1 (sic).
1496 2006-10-26  Joel E. Denny  <jdenny@ces.clemson.edu>
1497         and Stepan Kasal  <kasal@ucw.cz>
1499         Handle special characters in test case titles correctly.
1500         * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
1501         properly.
1502         (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
1503         * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
1504         argument.  Extend to check titles printed by ./micro-suite and
1505         ./micro-suite -l and the title in micro-suite.log.
1506         (Backquote in a test title,
1507         Single-quote in a test title,
1508         Double-quote in a test title): Don't expect failure anymore.
1509         (Backslash in a test title): Put a non-whitespace character after the
1510         backslash so that Bourne shells might actually see it as an escape
1511         sequence.
1512         (Brackets in a test title,
1513         Pound in a test title,
1514         Comma in a test title,
1515         Quoted Macro in a test title,
1516         Macro in a test title,
1517         Macro with single-quote in a test title): New tests.
1518         (Macro with backquote in a test title,
1519         Macro with double-quote in a test title,
1520         Macro with backslash in a test title): New tests expected to fail.
1521         * tests/torture.at (#define header templates): M4-quote this title in
1522         AT_SETUP call so that no M4 code is commented inadvertently somewhere.
1523         The visible effect was a stray [] in the testsuite output.
1525 2006-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1527         * doc/autoconf.texi (Limitations of Builtins): Do not invoke
1528         `trap ... 0' inside a function, for AIX sh.
1530 2006-10-26  Paul Eggert  <eggert@cs.ucla.edu>
1532         * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
1533         since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
1534         5363) simply issues a warning when dividing by zero at compile
1535         time.  Problem reported by Elias Pipping.
1537 2006-10-26  Eric Blake  <ebb9@byu.net>
1539         * THANKS: Update.
1540         * doc/autoconf.texi (Evaluation Macros): Improve the example to
1541         show effect on macros that expand with commas.
1542         Reported by Joel E. Denny.
1544         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1545         Also work with M4 1.4.8.
1547 2006-10-25  Paul Eggert  <eggert@cs.ucla.edu>
1549         * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
1550         Jim Meyering.
1552 2006-10-25  Stepan Kasal  <kasal@ucw.cz>
1554         * tests/tools.at (autom4te --force): New test, verifies that
1555         `--force' always rewrites the output file.
1557 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
1559         * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
1560         needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.
1562 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
1564         * tools/trace.at (autoconf --trace: user macros): Test `$%'.
1566 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
1568         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1569         If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
1570         AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
1571         reported by Nelson H. F. Beebe for Coreutils 6.4.
1573         * tests/tools.at (autoconf --trace: user macros): Remove test
1574         for tracing multiline macros, since m4 1.4.7a uses a different
1575         way to number lines.  Problem reported by Ralf Wildenhues.
1577 2006-10-24  Stepan Kasal  <kasal@ucw.cz>
1579         * bin/autom4te.in (handle_m4): Do not redirect stdin to
1580         /dev/null since the heuristics for interactive behaviour was
1581         fixed in CVS m4.
1583         * bin/autom4te.in: With --force, always refresh the output
1584         file.  Problem reported by Greg Schafer <gschafer@zip.com.au>.
1586         * bin/autoconf.as: Fix the verbose message at the end.
1588 2006-10-23  Paul Eggert  <eggert@cs.ucla.edu>
1590         * configure.ac (AC_INIT): Bump to 2.60c.
1591         * NEWS: Likewise.
1593 2006-10-22  Paul Eggert  <eggert@cs.ucla.edu>
1595         * NEWS: Version 2.60b.
1597         Import this change from Texinfo:
1598         2006-10-15  Karl Berry  <karl@gnu.org>
1599         * build-aux/texinfo.tex: automake 1.10
1601         * NEWS: Remove AC_CACHE_CHECK_INT.
1602         * doc/autoconf.texi (Caching Results): Likewise.
1603         * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
1604         AC_CACHE_CHECK_INT, since it's no longer public.
1605         * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
1606         * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
1608 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1610         * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
1612 2006-10-19  Eric Blake  <ebb9@byu.net>
1614         * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
1615         (m4_maketemp): Avoid warnings with M4 1.9a.
1616         * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
1617         m4_mkstemp.
1618         * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
1619         * NEWS: Likewise.
1621 2006-10-16  Eric Blake  <ebb9@byu.net>
1623         * doc/autoconf.texi (Setting Output Variables): Fix typo.
1625         * bin/autoconf.as (version): Reword to match GNU Coding
1626         Standards.
1627         * bin/autoheader.in (version): Likewise.
1628         * bin/autom4te.in (version): Likewise.
1629         * bin/autoreconf.in (version): Likewise.
1630         * bin/autoscan.in (version): Likewise.
1631         * bin/autoupdate.in (version): Likewise.
1632         * bin/ifnames.in (version): Likewise.
1634 2006-10-14  Stepan Kasal  <kasal@ucw.cz>
1636         * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
1637         looking for special shell characters.
1638         * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
1639         macro defined by AS_VAR_PUSHDEF before passing it as a
1640         parameter.
1641         * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
1642         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
1643         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
1644         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
1645         (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
1646         Likewise.
1647         * lib/autotest/general.m4 (AT_INIT): Quote parameters of
1648         AS_VAR_* properly.
1649         * tests/m4sh.at (AS_LITERAL_IF): New test.
1651 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
1653         (Imported from Automake.)
1654         * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
1655         which incorrectly sets the mode of an existing destination
1656         directory.  In some cases the unpatched install-sh could do the
1657         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
1658         system.  We hope this is rare in practice, but it's clearly worth
1659         fixing.  Problem reported by Alex Unleashed in
1660         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
1661         Also, don't bother to check for -m bugs unless we're using -m;
1662         suggested by Stepan Kasal.
1664 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
1666         Import this change from Automake:
1668         2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
1669         * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
1670         is enabled by default with gnu and gnits strictness.
1671         Report from Bruno Haible.
1673         2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
1674         * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
1675         gnu and gnits modes.
1677         Import this change from Config:
1679         2006-09-20  Ben Elliston  <bje@gnu.org>
1680         * build-aux/config.sub (score, score-*): New.
1682         Import this change from Gnulib:
1684         2006-09-16  Karl Berry  <karl@gnu.org>
1685         * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
1686         to avoid sectioning errors.
1688         Import these changes from Texinfo:
1690         2006-10-04  Karl Berry  <karl@gnu.org>
1691         * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
1692         (\quoteexpand): rename to \rquoteexpand.
1693         (\codequoteleft): new def, to look for @set codequotebacktick.
1694         (\lquoteexpand, \quoteexpand): new defs.
1695         (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
1696         (\code): must use new \...Char values, since now ` is active.
1698         2006-08-26  Karl Berry  <karl@gnu.org>
1699         * build-aux/texinfo.tex (\textdegree): New command.
1701         2006-08-12  Karl Berry  <karl@gnu.org>
1702         * build-aux/texinfo.tex (error \box0): smaller font.
1704 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1706         * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
1708 2006-10-13  Stepan Kasal  <kasal@ucw.cz>
1710         * doc/autoconf.texi (Autoheader Macros): Warn that the text
1711         added to the template can get mangled.
1713 2006-10-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1715         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
1716         include the default headers, and redefine obstack_chunk_alloc
1717         and obstack_chunk_free.  Fixes false failure with glibc.
1719 2006-10-12  Paul Eggert  <eggert@cs.ucla.edu>
1721         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
1722         for backward compatibility with Libtool 1.5.22.  Problem reported
1723         by Ralf Wildenhues.
1725 2006-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1727         * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
1728         AC_PROG_CC.
1729         Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
1731 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
1733         * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
1734         the NonStop platform.
1735         * doc/autoconf.texi (Posix Variants): Likewise.
1736         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
1738         * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
1739         (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
1740         (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
1741         Use a better substitute, by inspecting the output of "ls"
1742         rather than just using ":".
1743         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
1744         rather than AS_EXECUTABLE_P, since we needn't worry about
1745         non-regular files here.
1747         * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
1748         due to configuration hassles with this.  See Tonya Underwood's report
1749         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
1750         * doc/autoconf.texi (Special Shell Variables): Likewise.
1752 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
1753             Stepan Kasal  <kasal@ucw.cz>
1755         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
1756         (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
1758 2006-10-11  Stepan Kasal  <kasal@ucw.cz>
1760         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
1761           initialization which is not inherited through the environment
1762         (_AS_BOURNE_COMPATIBLE): ... to this new macro.
1763         (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
1765 2006-10-09  Paul Eggert  <eggert@cs.ucla.edu>
1767         * doc/autoconf.texi (Limitations of Usual Tools): Describe
1768         problems with mkdir -p -m.
1770 2006-10-06  Paul Eggert  <eggert@cs.ucla.edu>
1772         * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
1773         comment about ac_cpp_err; it was incorrect, and anyway
1774         ac_cpp_err is being removed below.
1775         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
1776         set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
1777         are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
1778         nobody uses it.
1779         (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
1780         with werror_flag and conftest.err and so forth.  This is more
1781         compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
1782         and anyway the user shouldn't normally want to see this gorp logged.
1783         Problem reported by Ralf Wildenhues.
1784         * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
1785         empty, not 'no', since the rest of the code uses 'test -z'.
1787 2006-10-04  Paul Eggert  <eggert@cs.ucla.edu>
1789         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
1790         Use a single call to AC_DO_TOKENS rather than multiple, for
1791         efficiency.
1792         (_AC_LINK_IFELSE): Test that resulting file is executable.
1793         Problem reported by mwoehlke in
1794         <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
1796         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
1797         than creating a file to use with test -x; this is much faster.
1799 2006-10-02  Bruno Haible  <bruno@clisp.org>
1801         * lib/autom4te.in (Automake-preselections): Add
1802         AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
1804 2006-09-27  Stepan Kasal  <kasal@ucw.cz>
1806         * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
1807         standard error, `experr' should be used, not `expout'.
1809 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
1811         * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
1812         fseeko testing program twice; just use the earlier result.
1813         * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1814         Set cache var to 'unknown' (not 'no') if leaving the macro unset
1815         still doesn't let the program compile.
1816         (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
1817         failed.
1819         * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
1820         (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
1821         include it, without including anything else.
1822         (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
1823         expressions.
1824         (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
1826 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1828         * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
1829         `error.h', and include it, for a `error_at_line' prototype.
1830         Use a nonempty format string in the link test.
1831         * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
1832         for a declaration of wait3.
1834 2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
1836         * NEWS: AC_CHECK_DECL now also works with aggregate objects.
1837         * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
1838         can apply to constants too, and that it checks for macro defns.
1839         * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
1840         and simply cast the identifier to void.  This handles structure
1841         values.  Problem reported by Ralf Wildenhues.
1842         * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
1844 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1846         * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
1847         structure, and function symbols.
1849 2006-09-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1851         * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
1852         member.
1854 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
1856         * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
1857         * README: Likewise.
1858         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
1860 2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
1861         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1863         * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
1864         warnings (uninitialized value).
1865         (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
1866         present.
1867         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
1868         parentheses.
1869         (AC_STRUCT_TM): Likewise, avoid unused variables.
1871 2006-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1873         * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
1874         (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
1875         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
1876         * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
1877         Report by Olly Betts.
1879 2006-09-19  Eric Blake  <ebb9@byu.net>
1881         * m4/m4.m4: Change copyright.
1882         * configure: Regenerate.
1883         * Makefile.in: Likewise.
1884         * bin/Makefile.in: Likewise.
1885         * doc/Makefile.in: Likewise.
1886         * lib/Makefile.in: Likewise.
1887         * lib/Autom4te/Makefile.in: Likewise.
1888         * lib/autoconf/Makefile.in: Likewise.
1889         * lib/autoscan/Makefile.in: Likewise.
1890         * lib/autotest/Makefile.in: Likewise.
1891         * lib/emacs/Makefile.in: Likewise.
1892         * lib/m4sugar/Makefile.in: Likewise.
1893         * man/Makefile.in: Likewise.
1894         * tests/Makefile.in: Likewise.
1896         * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
1897         * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
1898         * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
1899         --error-output, to avoid warnings with M4 2.0.
1901 2006-09-19  Stepan Kasal  <kasal@ucw.cz>
1903         * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
1904           consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
1905         * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
1907 2006-09-15  Stepan Kasal  <kasal@ucw.cz>
1909         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
1910         expansion of AC_CHECK_FUNCS.
1912 2006-09-14  Stepan Kasal  <kasal@ucw.cz>
1914         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
1915         mistaken comment: the path has to be relative; do not use
1916         the path at runtime.
1918 2006-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1920         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
1921         argument to `--prefix' for sub-configure scripts.
1922         Pass `--silent' to sub-configure scripts.
1923         * tests/torture.at (Configuring subdirectories): Add tests
1924         for both changes.
1925         * doc/autoconf.texi (Setting Output Variables): Fix example to
1926         not show `--silent' being passed to a `configure' re-run.
1928 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
1930         * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
1931         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
1932         for the existence of the directory at configure-time.  That's
1933         too late, anyway.  Problem reported by Stefan Seefeld.
1935         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
1936         7.1.4 /usr/bin/posix/sh described by Tim Rice in
1937         <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
1939 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
1941         * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
1942         works with GNU M4 1.4.3 again; make the normalized form
1943         match the current m4 message; fix the description.
1944         * test/tools.at (autom4te cache): Adapt to the change.
1946 2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
1948         * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):  Add year_2050_test
1949         to catch glibc bug 2821
1950         <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
1952         Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
1953         AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
1954         AC_CHECK_FUNCS.  Don't check for stdlib.h, since we now
1955         assume C89.
1957 2006-09-08  Stepan Kasal  <kasal@ucw.cz>
1959         * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
1960         preselections ...
1961         (Autoconf): ... here.
1962         (Autoscan-preselections): Delete.
1964 2006-09-07  Stepan Kasal  <kasal@ucw.cz>
1966         * lib/autom4te.in (Automake-preselections): Preselect
1967         AM_ENABLE_MULTILIB.
1969 2006-09-05  Paul Eggert  <eggert@cs.ucla.edu>
1971         * doc/autoconf.texi (Preset Output Variables): srcdir and
1972         top_srcdir are not necessarily relative.  Problem reported
1973         by Dries Kimpe.
1975 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1977         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
1978         f90/f95 because the latter drivers of AIX Fortran 9.1 do not
1979         accept files with extension `.f'.  For consistency, also prefer
1980         xlf over f77.
1981         * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
1982         from last patch.
1984 2006-09-05  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
1986         * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
1987         of ERLANG_LIB_VER_* variables.
1988         * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
1989         variables.
1991 2006-09-03  Paul Eggert  <eggert@cs.ucla.edu>
1992         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1994         * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
1995         bugs of Bash 2.01 and 2.05a.
1996         (Fortran Compiler): Document that AC_PROG_CC should be called
1997         before AC_PROG_FC, due to a bug in Autoconf.
1999 2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
2001         * NEWS: New macro AC_CACHE_CHECK_INT.  It replaces the
2002         old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
2003         except the first two arguments are reversed.
2004         * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
2005         (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
2006         caches nor outputs a diagnostic.  Suggested by Bruno Haible.
2007         * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
2008         equivalent to the old AC_COMPUTE_INT.
2009         (AC_COMPUTE_INT): No longer caches or reports.  New signature.
2010         All uses changed to AC_CACHE_CHECK_INT.
2011         * tests/base.at (AC_CACHE_CHECK_INT): New test.
2012         * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
2014 2006-08-31  Paul Eggert  <eggert@cs.ucla.edu>
2016         * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
2017         and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
2018         programs should use their Gnulib counterparts.
2019         * doc/autoconf.texi (Particular Functions): Likewise.
2020         (Macro Names, testsuite Invocation): Replace uses of these
2021         obsolete macros with uses of non-obsolete macros.
2023 2006-08-29  Eric Blake  <ebb9@byu.net>
2025         * configure.ac (AC_INIT): Bump to 2.60b.
2026         * NEWS: Update.
2028 2006-08-28  Eric Blake  <ebb9@byu.net>
2030         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
2031         mistakenly swapped on 2006-08-15.
2033 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
2035         * NEWS: Version 2.60a.
2037 2006-08-25  Stepan Kasal  <kasal@ucw.cz>
2039         * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
2040         file created by the PGI compiler.
2042 2006-08-25  Noah Misch  <noah@cs.caltech.edu>
2044         * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
2045         simplify the code.
2047 2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
2049         Fix Lex library problem reported to us by Julio Garvia.
2050         * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
2051         for the default, which the user can override.
2052         * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
2053         deal with LEXLIB.
2054         (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
2055         didn't work if some values were cached but not others.  Test for
2056         broken lex libraries like native ia64-hp-hpux11.22; see
2057         <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
2058         work around the problem by preferring an empty LEXLIB to -lfl or
2059         -ll.  Let the user set LEXLIB='' to indicate no library needed.
2061         * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
2062         * README: Likewise.
2063         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2065 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
2067         Rework to use more-modern build style.
2068         Many files are renamed; all uses of their names were changed.
2069         * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
2070         * .x-sc_useless_cpp_parens: New file.
2071         * build-aux/config.guess: Renamed from config/config.guess.  Update.
2072         * build-aux/config.sub: Renamed from config/config.sub.  Update.
2073         * build-aux/elisp-comp: Renamed from config/elisp-comp.
2074         * build-aux/install-sh: Renamed from config/install-sh.  Update.
2075         * build-aux/mdate-sh: Renamed from config/mdate-sh.
2076         * build-aux/missing: Renamed from config/missing.
2077         * build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
2078         * build-aux/vc-list-files: Renamed from config/vc-list-files.
2079         * config/Makefile.am: Removed.
2080         * config/mkinstalldirs: Removed.
2081         * config/move-if-change: Removed.
2082         * m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
2083         * Makefile.am (SUBDIRS): Remove config.
2084         (ACLOCAL_AMFLAGS): Include from m4, not config.
2085         (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
2086         (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
2087         (autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
2088         Fail if there's an error.
2089         * Makefile.cfg (move_if_change): Remove.
2090         (wget_files): Remove.
2091         (cvs_executable_files): New macro.
2092         (cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
2093         (executable-update): Use $(cvs_executable_files).
2094         (local-checks-to-skip): Remove.
2095         * Makefile.maint: Merge from coreutils, plus add our own changes
2096         (gzip_rsyncable): New macro.
2097         (GZIP_ENV): Use it.
2098         (CVS_LIST): Use build-aux/vc-list-files.
2099         (VERSION_REGEXP): New macro.
2100         (local-checks-available): Add patch-check, $(syntax-check-rules),
2101         check-AUTHORS.
2102         (syntax-check-rules): Compute dynamically.
2103         (sc_cast_of_x_alloc_return_value): Work even if no source files.
2104         (sc_cast_of_alloca_return_value): Likewise.
2105         (sc_prohibit_atoi_atof): Simplify regexp.
2106         (sc_no_if_have_config_h, sc_require_config_h):
2107         (sc_prohibit_assert_without_use,
2108         (sc_obsolete_symbols): Check for O_NDELAY.
2109         (sc_texi_notab): Remove.
2110         (sc-changelog): Don't make an exception for '----' lines.
2111         (.re-list): Remove, so we don't have a junk file behind.
2112         (sc_system_h_headers): Remove the need for .re-list.
2113         (sc_the_the):  New rule.
2114         (sc_tight_scope): Simplify.
2115         (sc_trailing_blank): Renamed from sc_trailing_space.
2116         (longopt_re): New macro.
2117         (sc_two_space_separator_in_usage): New rule.
2118         (sc_unmarked_diagnostics): Look at all files under CVS.
2119         (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
2120         (news-date-check, changelog-check): Version is OK.
2121         (po-check): Look for lib files even if not in CVS.
2122         (copyright-check): Use $() not ``.
2123         (maintainer-distcheck): Do not depend on changelog-check.
2124         (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
2125         Also check for -Wpointer-arith.
2126         (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
2127         (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
2128         Remove.
2129         (announcement): Add --gpg-key-id arg.
2130         (cvs-sv): Remove.
2131         (move_if_change): Just use mv.
2132         (local_updates: Remove wget-update, po-update.
2133         (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
2134         (config.guess-url_prefix, config.sub-url_prefix): Remove.
2135         (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
2136         (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
2137         ($(get-targets)): Remove.
2138         (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
2139         (gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
2140         (cvs-update): Get from gnulib.
2141         (emut_upload_commands): gnupload is in build-aux now.
2142         (alpha beta major): Add changelog-check.  Check version.
2143         * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
2144         (AC_CONFIG_FILES): Remove.
2145         * bin/autoconf.as: Add spaces to avoid distcheck warning.
2146         * config/announce-gen: Sync from coreutils.
2147         * doc/make-stds.texi: Sync from gnulib.
2148         * doc/standards.texi: Likewise.
2149         * man/Makefile.am: Adjust for config -> build-aux renaming.
2150         * tests/Makefile.am: Prefer $(FOO) to @FOO@.
2151         * tests/local.at: Adjust from config -> build-aux renaming.
2152         * tests/tools.at: Likewise.
2153         * tests/torture.at: Likewise.
2155         * NEWS: The C99 check now tests for vararg macros and 64-bit
2156         preprocessor ints.
2157         * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
2158         * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
2159         64-bit preprocessor ints.  Check for static initialization of
2160         long long.  Remove unnecessary casts.
2162 2006-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2164         * doc/autoconf.texi (Particular Programs): Mention that
2165         @INSTALL@ and @MKDIR_P@ may vary for different output files.
2166         Reported by Alexandre Duret-Lutz.
2168 2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
2170         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
2171         -lgcc?* and -lSystem, for Darwin/MacOS X.  Problem reported by
2172         Bill Northcott in
2173         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
2175 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
2177         * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
2178         pacify insanely picky compilers.  Problem reported by Eric Blake.
2180         * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
2181         longer supported by Sun.
2183 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
2185         * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
2186         rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
2187         -Wundef -Werror".  Problem reported by David Fang in
2188         <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
2189         * doc/autoconf.texi (Header Templates, Default Includes):
2190         (Particular Functions, Generic Functions, Header Portability):
2191         (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
2192         (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
2193         (Present But Cannot Be Compiled, Preprocessor Symbol Index):
2194         Prefer #ifdef to #if.
2195         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
2196         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
2197         (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2198         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
2199         Likewise.
2200         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2201         (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
2202         * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
2203         (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2204         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
2205         S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
2206         this.
2208 2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
2210         * doc/autoconf.texi (Limitations of Usual Tools): Document sed
2211         problems with arg script text that doesn't end in newline, and
2212         with '-e a...'.  Problems reported by Ralf Wildenhues.
2214 2006-08-12  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
2216         * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
2217         check for libXt by a check for libX11.
2219 2006-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2221         * doc/autoconf.texi (config.status Invocation): Adjust according
2222         to last change.
2224 2006-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2226         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
2227         --help' should mention that `--version' outputs configuration
2228         settings.  Report by Bruno Haible.
2230 2006-08-06  Paul Eggert  <eggert@cs.ucla.edu>
2232         Fix test suite failures reported by Pierre in
2233         <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
2234         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
2235         the compiler created a file "b.out" when it didn't create anything
2236         at all.
2237         * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
2238         Discard stderr too, when invoking the test script.
2240 2006-08-05  Alexandre Julliard  <julliard@winehq.org>  (tiny change)
2242         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
2243         in the restoring of the werror flag.
2245 2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
2247         * doc/autoconf.texi (Volatile Objects): Be even a little
2248         less skeptical about "volatile", after discussion with
2249         Bruno Haible on bug-gnulib.
2250         (Limitations of Usual Tools): Warn about sed stripping
2251         leading white space from text.  From Bruno Haible.
2253 2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
2255         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
2256         compiler complains about it, even if things works after the
2257         complaint.  Problem reported by Peter O'Gorman.
2259         * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
2260         CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
2261         Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
2263 2006-07-17  Paul Eggert  <eggert@cs.ucla.edu>
2265         * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
2266         after -R regardless of host.  Patrick Welche reports that this
2267         fixes things on NetBSD 3.99.
2269         * NEWS: Recommend M4 1.4.5.
2270         * README: Likewise.
2271         * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2272         * tests/tools.at (autom4te cache): Update wording of diagnostic
2273         to match M4 1.4.5.
2275 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
2277         * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
2278         under AC_C_VOLATILE.
2279         (Volatile Objects): Be a little less skeptical about what
2280         "volatile" means.  Derived from thoughts by Ben Pfaff in
2281         <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
2283 2006-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2285         * doc/autoconf.texi: Fix some typos.
2287 2006-07-07  Paul Eggert  <eggert@cs.ucla.edu>
2289         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2290         more globally, since the 2006-06-30 patch didn't suffice.  Problem
2291         reported by Keith Marshall.  Also, don't bother with builddir2,
2292         since it shouldn't be needed any more.
2294 2006-07-07  Paolo Bonzini  <bonzini@gnu.org>
2296         * doc/autoconf.texi (Generic compiler characteristics):
2297         Document AC_COMPUTE_INT.  Fix wrong statements on Default
2298         Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
2300         * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
2301         (_AC_COMPUTE_INT): Add obsoletion warnings.
2302         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
2303         AC_COMPUTE_INT.
2305         * NEWS: Document change.
2307 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
2309         * doc/autoconf.texi (Volatile Objects): New section.
2311         * NEWS: Document previous change.
2313 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
2315         * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
2316         Require that long long int be at least 64 bits wide.  C99 requires
2317         this and enough programs depend on it so we should check for it.
2318         Bruno Haible reports in
2319         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
2320         that long long int is 32 bits wide with some nonstandard compilers.
2321         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
2323 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
2325         * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2326         to a nonexistent file, so that we don't have to worry about
2327         a local site configuration that doesn't use /usr/local.
2328         Problem reported by Keith Marshall in
2329         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
2331 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2333         * doc/autoconf.texi: Be more consistent about using @acronym with
2334         "HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
2335         quite right (it talked about "OSF/Tru64", even though the
2336         operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
2337         and it even mentioned "OSF 4"!) and at this point there's little
2338         reason to talk about OSF any more, since it died in 1994.
2339         (Specific Compiler Characteristics): Simplify example of
2340         negative-size array.
2341         (File Descriptors): Reorder to make the text flow better.
2342         Remove joke about "appreciate the various levels"; I didn't get it.
2343         Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
2344         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
2345         (File Descriptors, Limitations of Usual Tools):
2346         Tone down the advice against renaming or removing open files.
2347         (Limitations of Usual Tools): Add a new section, on 'rm'.
2349 2006-06-26  Stepan Kasal  <kasal@ucw.cz>
2351         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
2352         -lXt in LIBS, idea from Karsten Hopp; this was due since
2353         this change:
2355         2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
2356         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2357         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2358         (which belong to Xt, not X itself).  See Debian bug 327655.
2360 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2362         * configure.ac (AC_INIT): Bump to 2.60a.
2363         * NEWS: Update.
2365 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2367         Version 2.60.
2369         * configure.ac, NEWS: Update.
2371 2006-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2373         * config/texinfo.tex: Sync from upstream.
2375         * bin/autom4te.in (handle_traces): Transform the `@S|@'
2376         quadrigraph correctly in traces.
2378         * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
2379         Fix typos.
2381         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
2382         datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
2383         not defined.
2384         * doc/autoconf.texi (Changed Directory Variables): New node,
2385         to document the whole `datarootdir' business a bit better.
2386         * NEWS: Update.
2387         * tests/torture.at (datarootdir workaround): Extend test.
2388         Prompted by report by Alexandre Julliard.
2390 2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
2392         * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
2393         when using default mode of IBM C 6 for AIX.  Problem and two-line
2394         fix reported by Larry Jones.
2396 2006-06-22  Alexandre Julliard <julliard@winehq.org>
2398         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
2399         about literal '${datarootdir}' if a definition is found in the
2400         output file.
2402 2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
2404         * NEWS: Use "M4" rather than "m4" when appropriate.
2405         Problem reported by Eric Blake.
2406         * doc/autoconf.texi: Likewise.
2407         Use @acronym around BSD, GCC, and GNU when appropriate.
2408         (Why GNU M4): Renamed from "Why GNU m4".
2409         (Redefined M4 Macros): Mention that Posix
2410         m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
2411         (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
2412         to int.
2414 2006-06-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2416         * bin/autom4te.in (handle_output): Do not forbid the empty
2417         pattern.
2418         * tests/tools.at (autoconf: the empty token): New test.
2420 2006-06-20  Stepan Kasal  <kasal@ucw.cz>
2422         * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
2423         calls, so that we do not care whether they are LIFO or FIFO;
2424         in the m4_wrap, do not check which diversion is the topmost
2425         one, just check that the stack is balanced at the end.
2426         * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
2427         base diversion forever--pop the previous diversion before
2428         opening the new one; consequently, remove the m4_wrap call.
2429         * lib/autotest/general.m4 (AT_INIT): Likewise.
2430         * tests/m4sugar.at: Do not use
2431         m4_wrap([m4_diversion_pop([..])]), for educational purposes.
2433 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
2434         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2436         * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
2437         * doc/autoconf.texi (Redefined M4 Macros): Likewise.
2438         Rework example of m4wrap token-pasting trouble so that it doesn't
2439         care whether it's LIFO or FIFO.
2440         Fix some "contrary to"s that are awkward in English.
2442 2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2444         * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
2445         to `yes' instead of `int$1_t' if the type is found, for more
2446         consistent configure output (where $1 is the number of bits).
2447         (_AC_TYPE_UINT): Likewise for `uint$1_t'.
2448         Suggested by Bruno Haible.
2450         * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
2451         needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
2452         with system headers.  Report by Bruno Haible.
2454 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2456         * config/config.guess, config/config.sub: Sync from upstream.
2458         * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
2459         in order to avoid picking up an older installed frozen m4sh.m4f.
2460         Besides an outdated shell startup, this could have been created
2461         by an earlier M4 version with incompatible frozen file format.
2463 2006-06-16  Paul Eggert  <eggert@cs.ucla.edu>
2465         * README: Recommend m4 1.4.4 instead of 1.4.3..
2466         * doc/autoconf.texi: Likewise.
2467         (Special Chars in Names): Say that $(.FOO) is portable, as
2468         suggested by Stepan Kasal.
2469         (Installation Directory Variables, Build Directories):
2470         (Automatic Remaking, Subdirectories, Fortran Compiler):
2471         (Making testsuite Scripts, Defining Directories):
2472         Quote variable usages better.
2473         (Making testsuite Scripts): Add clean-local rule to makefile
2474         snippet, by Eric Blake.
2475         (Installation Directory Variables): Fix table item font.
2476         Reword slightly to clarify.  Generalize advice about
2477         not using special characters to include all file-related
2478         vars, not just VPATH.
2479         (Special Chars in Variables): Warn about special characters in
2480         $(srcdir) too.
2481         (Assignments): Clarify default-value example as suggested by
2482         Ralf Wildenhues in
2483         <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
2484         (Special Shell Variables): Note leading ./ or ../, as suggested
2485         by Eric Blake.
2486         (Limitations of Builtins): Under cd, warn about CDPATH.
2487         (The Make Macro MAKEFLAGS): Untabify.  Problem reported by
2488         Ralf Wildenhues.
2490 2006-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2492         * doc/autoconf.texi (Configuration Actions): Remove duplicate
2493         `@var', for texi2html.
2494         (Systemology): Some more word wrapping, for DVI output.
2495         (autom4te Invocation): The short option for `--melt' is `-M',
2496         not `-m'.
2498 2006-06-15  Paul Eggert  <eggert@cs.ucla.edu>
2500         * doc/autoconf.texi: More formatting and English tweaks,
2501         many suggested by Ralf Wildenhues.
2502         Reword to avoid "@code{...}'s" and the like, since it's ugly
2503         with Emacs info mode.  discontents -> woes.
2504         Put a few "will"s back.  time stamp -> timestamp.
2505         side-effect -> side effect.
2507 2006-06-14  Paul Eggert  <eggert@cs.ucla.edu>
2509         * doc/autoconf.texi (Initializing configure, Shell Substitutions):
2510         Warn about $@ not persisting.  Problem reported by Julien Danjou in
2511         <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
2512         (Special Chars in Names): Renamed from Leading _ in Macro Names.
2513         Mention other special chars, too.
2515 2006-06-14  Eric Blake  <ebb9@byu.net>
2517         * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
2519 2006-06-13  Paul Eggert  <eggert@cs.ucla.edu>
2521         * doc/autoconf.texi: Some systematic minor improvements, as
2522         follows.  Use "makefile" when talking about makefiles
2523         generally (which might be named "makefile" or "Makefile" or even
2524         "foo.mk"), "Makefile" when talking about a specific makefile
2525         called "Makefile".  This unclutters the text from weird quotes
2526         (e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
2527         values" rather than "@var{foo}s" and similar constructs containing
2528         "}s".  Use "Make rules" rather than "Makefile rules".  Minor
2529         English-language improvements.  Change the prefix "sub-" to "sub"
2530         and "re-" to "re".
2531         Put blank lines around examples more consistently.
2532         Avoid "rather" and "very" as intensifiers.
2533         Avoid "will" as an auxiliary.
2534         (Limitations of Make): Split this node into....
2535         (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
2536         (Leading _ in Macro Names, Backslash-Newline-Newline):
2537         (Backslash-Newline Comments, Long Lines in Makefiles):
2538         (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
2539         (obj/ and Make, make -k Status, VPATH and Make):
2540         (VPATH and Double-colon, $< in Explicit Rules):
2541         (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
2542         (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
2543         New nodes, resulting from splitup of Limitations of Make.
2544         All cross-references changed.  Raise the top node from
2545         a section to a chapter, and all subnodes accordingly.
2546         Redo the introductory wording to match the new organization.
2547         (Installation Directory Variables): Use an example that is
2548         closer to what Autoconf actually does.  Mention that VPATH's
2549         value should not contain metacharacters or white space.
2550         (Fortran Compiler): Fix a VPATH bug in an example.
2551         (Leading _ in Macro Names): Mention that this problem is no longer
2552         of practical concern.
2553         (VPATH and Make): Reword the advice to make it clearer
2554         that Autoconf and Automake support VPATH in non-GNU make, but
2555         many packages have bugs in this area.
2556         ($< in Explicit Rules): Refer to Build Directories rather
2557         than using a (non-VPATH-safe) example.
2558         (Automatic Rule Rewriting): Mention the sort of disaster that
2559         can ensue with Solaris-style rule rewriting with VPATH.
2561 2006-06-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2563         * doc/install.texi (Compilers and Options): Weaken the
2564         suggestion to use GNU make for VPATH builds.
2566         * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
2567         AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
2569         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
2570         in regular expression.
2572 2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2574         * doc/autoconf.texi (Installation Directory Variables):
2575         Drop extra @samp from `@table @samp' item.
2576         (Limitations of Usual Tools): Comment fix.
2577         Do not nest @samp just to point to other table items.
2578         (Writing testsuite.at) <AT_CHECK>: The second argument to
2579         `@dvar' is already @samp'ed.
2580         (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
2581         do not use @var in the second argument.
2583 2006-06-07  Paul Eggert  <eggert@cs.ucla.edu>
2585         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
2586         $as_shell.exe too.  Problem reported by Andreas Buening in
2587         <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
2589 2006-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2591         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
2592         `unused variable' compiler warning, for `-Wall -Werror'.
2593         Reported by Jaap Haitsma in
2594         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
2596 2006-06-06  Paul Eggert  <eggert@cs.ucla.edu>
2598         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
2599         case the compiler dumps core.  Problem reported for
2600         OpenServer 5.0.7 by Tim Rice in
2601         <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
2602         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2603         Likewise.
2605 2006-06-06  Tim Rice <tim@multitalents.net>.
2607         * lib/freeze.mk: Quiet check-forbidden-patterns so the string
2608         "ERROR" only shows up in "make check" output if there is an
2609         error.
2611 2006-06-06  Eric Blake  <ebb9@byu.net>
2613         * tests/tools.at (automatically allowed tokens): Fix typo.
2615 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
2617         * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
2619         * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
2620         typically overflows on x86 CPUs, even though the C standard
2621         requires otherwise.
2623 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2625         * configure.ac (AC_INIT): Bump to 2.59e.
2626         * NEWS: Update.
2628 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2630         Version 2.59d.
2632         * config/texinfo.tex: Sync from upstream.
2634         * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
2635         seen, invoke libtoolize with `--ltdl' argument.
2636         * lib/autom4te.in (Autoreconf-preselections): Adjust.
2637         * NEWS: Update.
2638         Suggested by Eric Blake.
2640 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
2642         * NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
2643         reported by Ralf Wildenhues.
2644         * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
2646 2006-06-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2648         * THANKS: Update.
2650 2006-06-05  Paul Eggert  <eggert@cs.ucla.edu>
2652         * doc/autoconf.texi: Modernize some of the references to Solaris.
2654 2006-06-05  Stepan Kasal  <kasal@ucw.cz>
2656         * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
2657         message issued by AC_REQUIRE.
2658         * tests/m4sugar.at: Check m4_require's error message.
2659         * tests/base.at: Check AC_REQUIRE's error message.
2660         * tests/local.at (AT_CHECK_M4): New macro, almost identical
2661         to...
2662         (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
2663         AT_CHECK_M4.
2664         (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
2665         `expout' as the last parameter.
2666         * tests/tools.at: Adapt to the above change.
2668 2006-06-04  Stepan Kasal  <kasal@ucw.cz>
2670         * doc/autoconf.texi (Limitations of Usual Tools): Correct
2671         information about race-free implementations of mkdir.
2673 2006-06-04  Eric Blake  <ebb9@byu.net>
2675         * bin/autoreconf.in (help): Document M4 environment variable.
2676         * bin/autoconf.as (Usage): Likewise.
2677         * bin/autom4te.in (help): Likewise.
2678         * doc/autoconf.texi (autom4te Invocation): Likewise.
2680 2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
2682         * NEWS: GNU make now recommended for VPATH builds.
2683         Mention that some macros are now documented to be obsolescent.
2684         * doc/autoconf.texi:
2685         Prefer "current" to "modern" to describe
2686         currently-used (albeit perhaps old-fashioned) hosts.
2687         Mention which ancient features no longer need to be worried about.
2688         setgid -> set-group-ID
2689         setuid -> set-user-ID (these are the Posix terms)
2690         Fix some misuses of "only".
2691         (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
2692         (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
2693         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
2694         (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
2695         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
2696         (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
2697         (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
2698         (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
2699         (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
2700         Mention that these macros are obsolescent.
2701         (Installation Directory Variables): shall -> should
2702         (File Descriptors): Mention that 0, 1, 2 might get reopened.
2703         Mention that it's now safe to use 3 and 4.
2704         (Limitations of Usual Tools): cp -r is now specified by Posix.
2705         Omit longwinded and obsolescent discussion of cp -f.
2706         Modernize discussion of expr, ls.
2707         (Limitations of Make): Modernize discussion of VPATH builds.
2708         Mention $? as a workaround in some cases.
2709         * doc/install.texi (Basic Installation):
2710         Mention "./configure; make; make install" first.  Be more
2711         specific about why this file is generic.  Remove unnecessary
2712         parens.  Remove misleading "only".  Remove obsolete advice
2713         about csh.  Don't say "configure" takes awhile; say it
2714         might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
2715         and CC=c99 rather than CC=c89, as these are blessed by current
2716         Posix.  Recommend GNU make if doing a VPATH build.
2718 2006-06-03  Paul Eggert  <eggert@cs.ucla.edu>
2720         * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
2721         examples involving shell prompts.
2723 2006-06-02  Stepan Kasal  <kasal@ucw.cz>
2724         and Paul Eggert  <eggert@cs.ucla.edu>
2726         * doc/autoconf.texi (Here-Documents): Add details about the
2727         pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
2728         use "here-documents" instead of "here documents".
2730 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2732         * config/texinfo.tex, doc/standards.texi: Sync from upstream.
2734 2006-06-01  Paul Eggert  <eggert@cs.ucla.edu>
2736         * doc/autoconf.texi (File System Conventions): Warn about ":"
2737         anywhere in directory names.
2739 2006-05-31  Paul Eggert  <eggert@cs.ucla.edu>
2741         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
2742         about quoting the case statement, just in case.
2743         * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
2744         was fixed in ksh93g; reported by Ralf Wildenhues.
2746 2006-05-31  Stepan Kasal  <kasal@ucw.cz>
2748         * doc/autoconf.texi (System Services): Do not document
2749         overriding EXEEXT via ac_cv_exeext=ext.
2750         (Particular Programs) <AC_PROG_MKDIR_P>:
2751         Document that ${MKDIR_P} understands --.
2752         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
2753         comment.
2755 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2757         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
2758         argument with leading hyphen.  Problem reported by Paul Eggert.
2760 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
2762         * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
2763         about quoting ac_try: quote all of it, if any of it seems suspicious.
2764         This means we don't have to worry about ${ or sed any more.
2765         Also, double-quote the case statement, to work around misuses via
2766         underquoting as reported by Ralf Wildenhues in
2767         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
2768         (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
2769         undocumented and dangerous macro.
2770         Problem reported by Ralf Wildenhues in
2771         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
2773 2006-05-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2775         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
2776         `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
2777         Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
2779 2006-05-30  Paul Eggert  <eggert@cs.ucla.edu>
2781         * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
2782         since evidently some packages rely on the old, broken behavior.
2783         Problem reported by Ralf Wildenhues in
2784         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
2785         (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
2786         pre-2006-05-26 definitions, but leave in the comments that
2787         these macros are dangerous and should not be used.
2788         (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO.  All callers changed.
2789         (_AC_DO): Renamed from _AC_EVAL.  All callers changed.
2790         (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR.  All callers changed.
2791         (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
2792         (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
2794 2006-05-29  Paul Eggert  <eggert@cs.ucla.edu>
2796         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
2797         the use of 'tr', since this is our only use of 'tr'.
2799 2006-05-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2800         and Paul Eggert  <eggert@cs.ucla.edu>
2802         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
2803         Don't assume 'grep' works on long lines, since AIX grep doesn't.
2805 2005-05-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2807         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
2808         the output file in the `${datarootdir}' test.
2810 2005-05-28  Stepan Kasal  <kasal@ucw.cz>
2811         and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2813         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
2814         mention of `datarootdir' in the input file(s), but literal
2815         `${datarootdir}' in the output file, and we haven't warned yet,
2816         then warn as well: the user may have (erroneously) used
2817         `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
2818         `AC_SUBST([mydatadir], ['${datadir}/my'])'.
2819         * tests/torture.at (datarootdir workaround): Extend this test.
2820         * NEWS: Update.
2822 2006-05-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2823         and Paul Eggert  <eggert@cs.ucla.edu>
2825         * doc/autoconf.texi (autoheader Invocation): The first argument to
2826         `AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
2827         alternatives and clear up the language a bit.
2829 2006-05-27  Paul Eggert  <eggert@cs.ucla.edu>
2831         * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
2832         ac_config_guess, ac_config_sub, ac_configure.
2833         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2834         Fix typo that prevented an unnecessary space from being removed.
2835         Problems reported by Ralf Wildenhues in:
2836         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
2838 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
2840         * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
2841         Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
2842         Don't use the term "thread-safe" to talk about mkdir race
2843         conditions, since the problem is more a process than a thread
2844         issue.  Problem reported by Stepan Kasal in:
2845         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
2846         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
2847         the test for 'install' more closely.  Look at MKDIR_P first.
2848         Look in the PATH, and at /opt/sfw/bin.
2849         Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
2850         Don't bother to try mkdir -p, since we already check mkdir --version;
2851         just look at the version number.  (There's no easy way to check
2852         for race-free implementations.)
2853         * tests/tools.at (autoconf: subdirectories): Adjust to above
2854         changes, since MKDIR_P now might end in "/mkdir -p".
2856         * doc/autoconf.texi (autoheader Invocation): Mention that the
2857         first arg of AC_DEFINE_UNQUOTED must be a literal.
2858         Problem reported by Ben Pfaff in
2859         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
2861         * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
2862         * doc/autoconf.texi (Special Chars in Variables): New section.
2863         (Preset Output Variables): Warn about special chars in CPPFLAGS.
2864         (Installation Directory Variables): Quote $(datadir) better.
2865         (Limitations of Builtins): Describe some of eval's trickiness.
2867         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
2868         * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
2869         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
2870         in front of every arg, not just trailing args.  Quote apostrophes.
2871         (_AC_EVAL_ECHO): New macro.
2872         (_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
2873         (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
2874         removed.
2875         (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
2876         exposed by quoting of eval argument.  Put the command on line line
2877         so it logs better.
2878         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
2879         (_AC_PATH_X, AC_PATH_X): Quote more safely.
2880         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
2881         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
2882         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
2883         Handle special chars in prefix, ac_srcdir, ac_aux_dir.
2884         Use eval more safely.
2885         (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
2886         * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
2887         to be replaced.
2888         * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
2889         lines, exposed by quoting of eval argument.
2891 2006-05-26  Stepan Kasal  <kasal@ucw.cz>
2892         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2894         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
2895         initialization of `ac_cv_exeext', do not override it if it was
2896         already set, unless it was set to `no', for compatibility with
2897         Autoconf-2.13, and comment this.
2898         Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
2899         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
2900         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
2901         * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
2902         Document that this test may be overridden by setting
2903         `ac_cv_exeext'.
2905 2006-05-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2907         Revert these two patches:
2909         2006-04-06  Eric Blake  <ebb9@byu.net>
2910         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
2911         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
2912         2006-04-01.
2914         2006-04-01  Stepan Kasal  <kasal@ucw.cz>
2915         Clean up _AC_COMPILER_EXEEXT* macros.
2916         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
2917           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
2918           ac_file to the name of the default output file and call
2919           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
2920           initial `rm' of the candidate files...
2921         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
2922           the same list in subsequent `rm' calls, and for the temporary
2923           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
2924           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
2925         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
2926         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
2927           no longer needed) by libtool.  Make it a cache check.
2928         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
2929           copied here by mistake.
2930         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
2931           _AC_COMPILER_EXEEXT.
2932         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
2933           _AC_COMPILER_OBJEXT directly.
2934         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2936 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2938         * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
2939         Fix description of how the buggy `sed' works.
2941 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
2943         Sync from Automake:
2945         * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
2946         ENOLCK.  Only mention `make -j' when applicable.  Only raise
2947         fatal errors when `make -j' is involved.  Improve error message.
2949 2006-05-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2951         * doc/autoconf.texi (Here-Documents): We now know more about
2952         the variable expansion in here documents bug.
2953         Thanks to Tim Rice and Stepan Kasal.
2955         * doc/autoconf.texi (Making testsuite Scripts): Add an example
2956         how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
2958 2006-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2960         * tests/autotest.at (Multiline command from M4 expansion):
2961         No failure to be expected if the shell quotes newlines in
2962         commands in the `set -x' output.  Report by Tim Rice.
2963         * THANKS: Update.
2965 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
2967         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
2968         expansion in the here-documents used by config.status, as that
2969         runs afoul of the Korn shell version M-12/28/93d bug described in
2970         the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
2971         fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
2972         <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
2974 2006-05-23  Jim Meyering  <jim@meyering.net>
2976         * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
2977         Fix typo introduced with 2006-04-02 change.  It reversed the sense
2978         of the test.
2980 2006-05-23  Paul Eggert  <eggert@cs.ucla.edu>
2982         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
2983         ac_dB slightly, to save bytes in the script.
2984         Max out at 50 lines, rather than 96; this is more likely
2985         (though not guaranteed) to avoid obscure 'sed' failures.
2987 2006-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2989         * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
2990         `tr -d -' as bad option argument.  Work around this by deleting
2991         an unrelated character.
2992         Report by Tim Rice <tim@multitalents.net>.
2994 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>,
2995             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
2996             Stepan Kasal  <kasal@ucw.cz>
2998         * doc/autoconf.texi (Particular Programs): Do not promise that
2999         we always prefer the GNU version of the program, and that we
3000         search according to PATH; both rules can have exceptions.
3001         Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
3002         AC_PROG_SED.  Move descriptions of limitations
3003         to the Limitations of Usual Tools section.
3004         (Limitations of Usual Tools) <sed>: Mention script length
3005         limitations with Solaris /usr/ucb/sed.
3006         <grep>: Fix wording for empty alternative.  Mention that -c and
3007         -l should not be combined, and that -E and -F should not be
3008         combined.
3010 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3011         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3013         * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
3014         limits in Solaris 8 /usr/ucb/sed by testing a long script.
3016 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
3018         * doc/autoconf.texi (Defining Symbols): Literal parameter of
3019         AC_DEFINE is now passed to m4_pattern_allow.
3020         * NEWS: Mention that; likewise for AC_SUBST.
3021         * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
3022         the parameter to m4_pattern_allow.
3023         * tests/tools.at: Add a check for that.
3025 2006-05-22  Stepan Kasal  <kasal@ucw.cz>
3027         * lib/autoconf/status.m4: Fix typos.
3029 2006-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3031         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3032         only the files that this macro generates.
3034 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3036         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
3037         the HP-UX sed limitation of 99 commands, labels do not count.
3038         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
3039         in the comment.
3040         (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
3042 2006-05-21  Paul Eggert  <eggert@cs.ucla.edu>
3044         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
3045         Import the following fix from coreutils:
3047         2006-01-13  Jim Meyering  <jim@meyering.net>
3049         Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
3050         $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
3051         not double-quote uses of that variable, to accommodate the rare
3052         case in which getmntent is available in none of the libraries
3053         checked.  This happens at least on FreeBSD 5.0.
3055 2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
3057         * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
3058         ac_config_guess, ac_config_sub, and ac_configure, since evidently
3059         some other programs unwisely rely on these undocumented vars.
3060         But put in warning comments about them.
3061         Problem reported by Ralf Wildenhues in
3062         <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
3063         * NEWS: Document that these variables are intended to go away.
3065 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3067         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
3068         and set the language to C++ (analogous to the equivalent Fortran
3069         tests).
3071         * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
3072         * doc/autoconf.texi (C++ Compiler): Document it.
3073         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
3074         * NEWS: Update.
3076 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3078         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
3079         that caused config.status to generate 100-command sed scripts; the
3080         portable limit is 99.
3082 2006-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3084         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
3085         variable `ac_d' instead of `d' to avoid infringing namespace.
3086         Report by Ralf Menzel.
3088 2006-05-18  Paul Eggert  <eggert@cs.ucla.edu>
3090         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
3091         $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
3092         * tests/tools.at (autoconf: subdirectories): New test, taken from
3093         the corresponding problem report by Ralf Wildenhues in:
3094         http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
3096         * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
3097         Quote some uses of shell variables if they might suffer unexpected
3098         globbing.  This doesn't fix all instances of quoting problems that
3099         I found, just the easy ones that look safe.
3100         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
3101         (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
3102         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
3103         (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
3104         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
3105         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3106         * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
3107         Likewise.
3108         * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
3109         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
3111 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3113         * bin/autoreconf.in ($help): Reword according to the manual.
3114         Suggested by Olly Betts.
3116 2006-05-17  Olly Betts  <olly@survex.com>  (tiny change)
3117         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3119         * bin/autoreconf.in: Pass the directory argument to
3120         `require_configure_ac'.  Fix comment.
3121         * tests/torture.at (Configuring subdirectories): Expose this.
3122         Reported by Olly Betts.
3124 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3126         * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
3127         lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
3128         Automake as follows:
3130         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
3131         `$configure_in' instead of `configure.in', to preserve
3132         directory component.
3134 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3136         * config/config.guess, config/config.sub, config/texinfo.tex,
3137         doc/make-stds.texi, doc/standards.texi: Sync from upstream.
3139 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
3141         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
3142         test for C99 conformance; (bool) 0.5 is an integer constant
3143         expression, but (bool) -0.5 is not.  Problem reported by Fedor
3144         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
3146 2006-05-13  Paul Eggert  <eggert@cs.ucla.edu>
3148         * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
3149         sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
3150         Warn about obsolete install-sh files.  Remove stray sentence
3151         fragment and fix cross reference.
3152         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
3153         install -d; this undoes the 2006-05-10 change.
3154         (MKDIR_P): Mark with AN_MAKEVAR.
3155         (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
3156         that we don't require $INSTALL to be thread-safe.  Move comments
3157         out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
3158         of AC_PROG_INSTALL.  Output a message saying that we're checking
3159         mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
3160         MKDIR_P instead of AC_SUBST.
3161         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
3162         Special magic for MKDIR_P, too.
3163         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
3164         a dnl.
3165         * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
3167 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
3169         Sync from Automake, as follows:
3171         2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3172         * config/install-sh: Initialize IFS, so field splitting isn't
3173         turned off later.
3174         * config/mkinstalldirs: Likewise.
3175         * config/missing: Remove superfluous quotes.  Replace all uses of
3176         `[' by `test', for consistency, and for..
3177         * config/missing (sed_minuso, sed_output): New variables.
3178         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
3179         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
3180         Fixes `missing' to detect `--output' for help2man.  Fixes
3181         PR automake/483.  Report by Dennis J. Linse.
3182         (autom4te): Document in `missing --help'.
3184 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3186         * NEWS: New macro AC_PROG_MKDIR_P.  AS_MKDIR_P is now more robust.
3187         * config/install-sh: Don't use 'path' to talk about file names,
3188         as per GNU coding standards.  Close a race condition reported by Ralf
3189         Wildenhues and Stepan Kasal.  There is still a race condition
3190         on hosts that predate Posix 1003.1-1992, but we can't help this.
3191         Don't mishandle weird characters like space on pre-Posix hosts.
3192         Invoke mkdir at most once per dir arg on pre-Posix hosts.
3193         * doc/autoconf.texi (Programming in M4sh): Cross-reference to
3194         AC_PROG_MKDIR_P from AS_MKDIR_P.
3195         (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
3196         from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
3197         earlier editions are not (including Automake 1.8.3).
3198         Do not suggest mkinstalldirs for thread-safety.
3199         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
3200         that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
3201         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
3202         presence of special characters and race conditions.
3203         * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
3204         in Autoconf's name space.
3206 2006-05-10  Bruno Haible  <bruno@clisp.org>
3207         and Paul Eggert  <eggert@cs.ucla.edu>
3209         * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
3210         from Automake with minor changes.
3211         * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
3213 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3215         * config/install-sh: Update to Automake CVS version, as follows:
3216         2006-04-25  Stepan Kasal  <kasal@ucw.cz>
3217         * lib/install-sh: Simplify the expr implementation of dirname.
3218         2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
3219         * lib/install-sh: Handle --, and diagnose unknown options.
3221 2006-05-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3223         * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
3224         `./autom4te' to create `./testsuite', since the `all' target
3225         will ensure its presence, but `installcheck' should not create
3226         the uninstalled wrappers.
3228         * tests/torture.at (Unusual Automake input files): Skip if we
3229         detect automake < 1.8.
3231 2006-05-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3233         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
3234         is set to `no', then that overrides and sets ac_cv_prog_cc_c89
3235         and ac_cv_prog_cc_c99 to `no', for backward compatibility.
3236         * NEWS: Update.
3238 2006-05-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3240         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
3241         munge (multiple) white space and other oddities.
3242         * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
3243         single quotes in variable assignment.
3244         (AC_ARG_VAR, configure invocation): Adjust tests to expose this
3245         and similar failures by adding multiple spaces, tabs, and other
3246         special characters.
3247         Report and different test suggested by Francesco Romani
3248         <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
3250         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
3251         single quotes, we only need to search for single quotes; this
3252         both simplifies the search pattern, and makes us less
3253         susceptible to `echo' variations for arguments not containing
3254         single quotes.
3255         (_AC_ARG_VAR_VALIDATE): Likewise.
3257 2006-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3259         * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
3260         `$*' and IFS concatenation issue with traditional shells and
3261         bash-2.04.  Report by Seanster@Seanster.com.
3263 2006-05-03  Bruno Haible  <bruno@clisp.org>
3265         * doc/autoconf.texi (Limitations of Usual Tools): Identify more
3266         precisely which Mac OS X versions have the od problem.
3268 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
3270         * doc/autoconf.texi: Use @option systematically.
3272 2006-05-02  Paul Eggert  <eggert@cs.ucla.edu>
3273         and Bruno Haible  <bruno@clisp.org>
3275         * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
3276         about 'od'.
3277         (Integer Overflow): Mention the special case of integer division
3278         overflow.
3280 2006-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3282         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
3283         traditional shells like the Solaris one that do not use the
3284         first IFS character for assembling `$*'.
3285         Prompted by a related report from autoconf_bug@nro.ca.
3287 2006-05-01  Paul Eggert  <eggert@cs.ucla.edu>
3288         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3290         * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
3291         Mention more problems with the -e option.
3293 2006-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3295         * NEWS: Typo.
3296         * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
3298         * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
3299         in URLs to improve DVI formatted output (requires texinfo 4.6).
3300         (System Services, Systemology, Shellology): Likewise.
3301         (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
3302         output.
3304         * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
3305         continuous text.
3306         (Runtime): Fix macro argument names to match description:
3307         `action-if-found' -> `action-if-true' and similarly.
3308         (Obsolete Macros): Likewise.
3309         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
3310         (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
3311         (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
3313 2006-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3315         * doc/autoconf.texi (Limitations of Make): Clean up markup.
3317         * ChangeLog: Typo.
3318         * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
3319         DVI output.
3321 2006-04-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3323         * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
3324         /bin/sh set unsorted output.
3325         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
3326         * tests/local.at: Likewise.
3328 2006-04-26  Paul Eggert  <eggert@cs.ucla.edu>
3330         * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
3331         (Integer Overflow, Null Pointers, Buffer Overruns):
3332         (Floating Point Portability, Exiting Portably): New sections.
3333         (Writing Test Programs): Fix some langauge.  Recommend exiting
3334         with status 1, not merely nonzero.  Clarify exit declaration.
3335         (Run Time): Move C exit status stuff to new Exiting Portably section.
3336         (Systemology): Mention Posix and levenez.  Update v7 reference.
3337         (Portable Shell): Mention the Posix shell.
3339 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
3341         * bin/autoconf.as (me): Replace by as_me.
3343 2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
3345         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
3346         since as_me isn't set yet.
3348 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
3350         Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
3351         a few minor bugs in this area.
3353         * doc/autoconf.texi (Programming in M4sh): Comment out the
3354         documentation of AS_BASENAME, for now.
3355         (Shell Substitutions): Do not use AS_DIRNAME in an example.
3356         (Limitations of Builtins) <basename>: Do not refer to
3357         AS_BASENAME.
3358         * bin/autoconf.as (me): Don't use AS_BASENAME.
3359         (dir): Remove the unused variable.
3360         * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
3361         AS_DETECT_REQUIRED.  All uses changed.
3362         (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
3363         All uses changed.
3364         (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
3365         (AS_BASENAME): Use "basename --" to protect against leading "-".
3366         (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
3367         (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
3368         (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
3369         (_AS_DIRNAME_PREPARE): Likewise.
3370         (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
3371         (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
3372         (AS_DIRNAME): Use "dirname --".
3374 2006-04-23  Paul Eggert  <eggert@cs.ucla.edu>
3376         * doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
3377         of "run time" and "run-time" changed to "runtime", for consistency.
3378         * lib/autoconf/fortran.m4: Likewise (in comment).
3379         * lib/autoconf/functions.m4: Likewise.
3380         * lib/autoconf/general.m4: Likewise.
3381         * lib/autoconf/headers.m4: Likewise.
3383         * doc/autoconf.texi (Run Time): Document the exit status situation
3384         with more accuracy and detail.
3386 2006-04-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3388         * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
3389         Archive is not officially `GNU' any more.  Update URL.
3390         (Defining Directories): Likewise
3391         * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
3393 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3395         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
3396         newline from the `trap' code to finish `config.log'; the NetBSD
3397         /bin/sh resets the exit status after an empty command, as
3398         documented in doc/autoconf.texi.
3399         Reported by Dalibor Topic <robilad@kaffe.org>.
3401 2006-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3403         * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
3404         Suggested by Bruno Haible.
3406 2006-04-18  Paul Eggert  <eggert@cs.ucla.edu>
3408         * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
3409         some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
3410         Instead, just list the shells that we know work.
3411         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
3412         changed.  Be more cautious about the _cv_ variable.
3413         * tests/tools.at (Syntax of the shell scripts): Check the
3414         _cv_ variable once, at first, to avoid an internal autoconf error
3415         when sh -n does not work.
3417 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3419         * lib/Autom4te/FileUtils.pm: Sync from Automake.
3421 2006-04-16  Paul Eggert  <eggert@cs.ucla.edu>
3423         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
3424         use ">&-" since we're only 99.999% sure that this is portable,
3425         and since the MinGW bug is fixed in a different way.
3426         * lib/autotest/general.m4 (AT_INIT): Likewise.
3428 2006-04-16  Stepan Kasal  <kasal@ucw.cz>
3430         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
3431         before opening config.log, to avoid hitting a bug on MinGW.
3433 2006-04-14  Paul Eggert  <eggert@cs.ucla.edu>
3435         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
3436         AS_MESSAGE_LOG_FD before reopening it onto the log file.
3437         This works around a MinGW bug reported by Eric Paire.
3438         Make sure that all writes to the log file append to it,
3439         rather than possibly losing data.
3440         * lib/autotest/general.m4 (AT_INIT): Likewise.
3442 2006-04-14  Stepan Kasal  <kasal@ucw.cz>
3444         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
3445         description.
3447 2006-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3449         * NEWS: Update.
3451         * configure.ac (AC_INIT): Bump to 2.59d.
3453 2006-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3455         Version 2.59c.
3457         * Makefile.maint (news-date-check): Do not require a leading `*'
3458         before the release date in NEWS.
3460 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
3461         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3463         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
3464         the instantiated file do not contain the string 'datarootdir'
3465         but contain @datadir@, @docdir@, @infodir@, @localedir@, or
3466         @mandir@, replace the reference '${datarootdir}' by the value.
3467         * tests/torture.at (datarootdir workaround): New test.
3468         * NEWS: Advertise this temporary fixup.
3469         Based on a patch by Bruno Haible, reported and analyzed by
3470         Paul Eggert and Noah Misch.
3472 2006-04-12  Eric Blake  <ebb9@byu.net>
3474         * tests/autotest.at (Debugging a failed test): Fix comment.
3476 2006-04-12  Stepan Kasal  <kasal@ucw.cz>
3478         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
3479         all the changes since 2006-04-07.
3481 2006-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3483         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
3484         succeeded, but `ln -s file dir' failed, take care to remove the
3485         leftover target before the next test, to prevent its spurious
3486         failure; also make sure `ln file dir' works before selecting it.
3487         Thanks to Keith Marshall for pointing this out.
3488         * THANKS: Update.
3490         * lib/autotest/general.m4 (AT_INIT): Store quoted variable
3491         assignments in `at_debug_args', so that we put them correctly
3492         in the `run' script.
3493         * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
3494         Reported by Eric Blake.
3496 2006-04-11  Eric Blake  <ebb9@byu.net>
3498         * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
3499         top-level tests after micro-suite has been run.   Used in...
3500         (Debugging a successful test, Debugging script and environment),
3501         (Debugging a failed test): ...these new tests.  The first of these
3502         is fixed by...
3503         * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
3504         macro, split out from...
3505         (AT_INIT): ...here, so that using -d also generates a run script.
3506         Document that -d inhibits top-level logging.
3507         * doc/autoconf.texi (testsuite Invocation): Document that -d only
3508         inhibits top-level logging; debug scripts are created.
3510         * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
3511         check.
3512         * tests/autotest.at (Empty test, Empty check): New test to check it.
3514         * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
3515         from gcc.
3517 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
3519         * tests/mktests.sh: Use "trap '' 0", not "trap 0".  Do not touch
3520         the files if a problem appears.  Make the empty *.at files
3521         read-only, too.  Proposed by Ralf Wildenhues.
3523 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3525         * config/Makefile.am: Add comment to force updated Makefile.in.
3527         * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
3528         space only patch to this file, this patch causes the Makefile.in
3529         files that include freeze.mk to be updated, and thus have a
3530         newer time stamp again, which in turn makes a pristine CVS
3531         checkout have correct time stamps.
3533         * Makefile.maint (cvs-sv): New macro, to be used..
3534         (config.guess-url_prefix, config.sub-url_prefix)
3535         (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
3536         point to CVS text checkout of Gnulib files.
3537         (copyright-check): Bump current year.
3538         (announcement): Do not hard-wire `./announce-gen'.
3539         (cvs-update): Propagate failures of `cvs' and `move-if-change'
3540         correctly.
3541         * Makefile.cfg (executable-update): Use `chmod a+x' instead of
3542         `chmod +x'.
3543         (wget_files): Update config.guess, config.sub, texinfo.tex by
3544         `wget-update', now that their URLs work again.
3546 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
3548         * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
3549         Problem noted by Paul D. Smith.
3551 2006-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3553         * doc/autoconf.texi: Remove unused words from word list.
3554         * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
3555         .x-sc_trailing_space: New files.
3557         * doc/standards.texi: Sync from gnulib.
3559         * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
3560         `LIBOBJDIR' as experimental.
3562         * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
3563         with a target directory; it's internally implemented as `cp'
3564         anyway, but since Autoconf advertises the possibility to use
3565         a target directory when LN_S is `ln -s', we need to find out.
3566         Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
3567         analyzed by Keith Marshall <keith.marshall@total.com>.
3569         * THANKS: Update.
3571 2006-04-10  Paul Eggert  <eggert@cs.ucla.edu>
3573         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
3574         confdefs.h as-is.  In general, if it has backslash-newline or the
3575         like, then it doesn't work either to sort or to remove empty
3576         lines.
3578 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
3580         * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
3582 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
3584         * lib/autom4te.in (Automake-preselections): Preselect
3585         _AM_SUBST_NOTMAKE.
3587 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
3589         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
3590         apostrophe within a single-quoted string, as this is the usual
3591         tradition and is easier to read than '"'"'.  Don't rely on the
3592         shell treating "$/" like '$/'.  Use a more-consistent indenting
3593         style for the trap.
3595 2006-04-09  Eric Blake  <ebb9@byu.net>
3597         * tests/autotest.at (Backquote command substitution),
3598         (Multiline backquote command substitution): Remove mistaken
3599         AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
3600         applied...
3601         (Parenthetical command substitution, Multiline parenthetical
3602         command substitution): here.
3604 2006-04-08  Paul Eggert  <eggert@cs.ucla.edu>
3606         Import macros from gnulib (often changing their name).
3608         * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
3609         New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
3610         AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
3611         AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
3612         AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
3613         AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3614         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
3615         AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
3616         AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
3617         AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
3618         The manual mentions Gnulib more prominently.
3619         * doc/autoconf.texi (Gnulib): New node.
3620         (Pointers): Add Gnulib URL.
3621         (Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
3622         (Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
3623         Gnulib section.
3624         (Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
3625         suggest a #define rather than a typedef for _Bool, and mention
3626         Gnulib rather than trying to substitute stdbool code.
3627         (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
3628         (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
3629         (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
3630         AC_STRUCT_DIRENT_D_TYPE.
3631         (Particular Types): Mention stdint.h and inttypes.h as standard
3632         headers too.
3633         Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3634         AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
3635         AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
3636         AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
3637         AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
3638         (C Compiler): Move AC_C_LONG_DOUBLE to ...
3639         (Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
3640         AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
3641         (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
3642         (Coding Style).  Don't mention m4_expand_once.
3643         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
3644         AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
3645         * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
3646         (AC_CHECK_FUNCS): Use it.
3647         (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
3648         (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
3649         * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
3650         * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
3651         (AC_HEADER_ASSERT): New macro.
3652         (AC_HEADER_STDBOOL): Don't assume "#error" works.
3653         Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
3654         Catch a bug in an HP-UX C compiler.
3655         * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
3656         * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
3657         (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
3658         (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
3659         (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
3660         (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
3661         New macros.
3663         * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
3664         use /^foo|bar$/, it does not mean /^(foo|bar)$/.
3666 2006-04-08  Stepan Kasal  <kasal@ucw.cz>
3668         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
3669         of the warning introduced by the 2001-08-28 change.
3671 2006-04-08  Stepan Kasal  <kasal@ucw.cz>,
3672             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3674         * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
3675         variables shall be overriden by the cache.
3676         * tests/torture.at (AC_ARG_VAR): Test also with a first value
3677         that contains braces.
3679 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
3681         Revert the patch from 2006-04-01 and only improve
3682         _AS_DETECT_BETTER_SHELL:
3684         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
3685         skip nonexistent directories.
3686         (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
3687         only shell candidates which exist.
3688         (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
3689         * lib/autotest/general.m4 (AT_INIT): No need to give three
3690         parameters to _AS_PATH_WALK.
3692 2006-04-07  Stepan Kasal  <kasal@ucw.cz>,
3693             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3695         * bin/autoupdate.in (handle_autoconf_patches): Change the way we
3696         distinguish m4sugar macros.
3697         * tests/tools.at (autoupdating with aclocal and m4_include):
3698         New test.  Bug reported by Gary V. Vaughan <gary@gnu.org>,
3699         test case by Noah Misch <noah@cs.caltech.edu>.
3701 2006-04-07  Stepan Kasal  <kasal@ucw.cz>
3703         Revert my change from 2006-03-17, in other words:
3704         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
3705           and DUALCASE=1.
3706         (AS_SHELL_SANITIZE): Remove DUALCASE=1.
3707         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
3708           it is set.
3710 2006-04-07  Eric Blake  <ebb9@byu.net>
3712         * doc/autoconf.texi (Programming in M4sh): Document that
3713         AS_MKDIR_P exits the script on failure.
3714         * lib/autotest/general.m4: Remove redundant AS_ERROR.
3716 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3718         * config/elisp-comp, config/install-sh, config/mdate-sh,
3719         config/missing, config/mkinstalldirs: Sync from Automake.
3721         * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
3722         from Automake.
3724         * doc/make-stds.texi: Sync from gnulib.
3726 2006-04-06  Eric Blake  <ebb9@byu.net>
3728         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3729         check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
3730         2006-04-01.
3732 2006-04-06  Stepan Kasal  <kasal@ucw.cz>,
3733             Eric Blake  <ebb9@byu.net>,
3734             Paul Eggert  <eggert@cs.ucla.edu>,
3735             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3737         * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
3738         whether `set' quotes correctly: redirect stderr of the tested
3739         `set', and use a subshell, for Ultrix; use `sed' instead of
3740         `grep' for zsh `set' which may write binary output; match only
3741         at the beginning of a line, to avoid false positives.
3742         In order to avoid false positives by unrelated variables with
3743         multiline content, put the dump algorithm in a subshell and
3744         unset all variables containing newlines (except some which are
3745         special to the shell).  Warn about cache variables that are
3746         unset.
3748 2006-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3750         * config/config.guess, config/config.sub, config/texinfo.tex:
3751         Sync from upstream.
3753         * tests/mktests.sh: Reword comments.
3755         * tests/mktests.sh: Only skip internal macros starting with
3756         `_AC_' or `__AC_'.  Noted by Stepan Kasal.
3757         Update exclusion lists for the test suite to this end:
3758         (AC_ARG_VAR): Do test this now.
3759         (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
3760         (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
3761         (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
3762         (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
3764         * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
3765         shell issue with double-quoted command substitutions of native
3766         commands.
3767         Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
3768         Marshall.
3770         * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
3771         no file matches the glob, discard the warning, set `nullglob'.
3772         (syntax-check): Likewise.
3773         (sc_cast_of_x_alloc_return_value): Likewise.
3774         (sc_cast_of_alloca_return_value, sc_error_exit_success)
3775         (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
3776         (m4-check): Likewise.
3777         (sc_system_h_headers): Do not print rule on execution.
3778         (sc_tight_scope): Do not fail for non-existing `src' directory.
3779         (sc_changelog): Skip the Copyright footer.
3780         * lib/autoconf/lang.m4: Remove trailing space.
3782         * lib/autoconf/status.m4: More replacements to
3783         <tab><space> where this makes sense.
3785 2006-04-06  Stepan Kasal  <kasal@ucw.cz>
3787         * tests/Makefile.am (maintainer-check-posix):
3788           s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
3790         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
3791           ac_config_<foo>s again, sometimes normalized, sometimes not.
3792         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
3793         (AC_CONFIG_COMMANDS): Do not do so here.
3794         (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
3795           and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
3796           2005-07-25 rewrite.  Noticed by Noah Misch.
3798         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
3799           _AC_PRESERVE_HELP_ORDER, ...
3800         (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
3802         * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
3803           inside m4_expand_once; it is redundant.
3805         * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
3806           for --help from Cygnus `configure.'
3808 2006-04-06  Paul Eggert  <eggert@cs.ucla.edu>
3810         * doc/autoconf.texi (C Compiler): Warn about #error.  Follows up
3811         on a patch proposed by Ralf Wildenhues.
3813 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
3815         * lib/autoconf/status.m4: Replace <space>''<tab> with
3816         <tab><space> where this makes sense.
3818 2006-04-05  Howard Chu  <hyc@highlandsun.com>  (trivial change)
3819             Noah Misch  <noah@cs.caltech.edu>
3821         * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
3822         (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
3823         * doc/autoconf.texi (Help Formatting): New node.
3824         * NEWS: Announce AC_PRESERVE_HELP_ORDER.
3826 2006-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3828         * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
3829         lib/autoconf/specific.m4, lib/autoconf/status.m4,
3830         lib/autoconf/types.m4, lib/autotest/general.m4,
3831         tests/mktests.sh, tests/torture.at: White space cleanup:
3832         remove some SPACE before TAB, or add quoting ('' or @&t@).
3834         * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
3836         * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
3838 2006-04-05  Eric Blake  <ebb9@byu.net>
3840         * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
3841         empty test suite works.
3842         * tests/autotest.at (Empty test suite): Remove xfail.
3844 2006-04-05  Noah Misch  <noah@cs.caltech.edu>
3846         * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
3847         TAGS to ac_config_<foo>s.
3848         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
3849         (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
3850         normalizing it, consistent it with previous releases.
3851         * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
3853 2006-04-05  Paul Eggert  <eggert@cs.ucla.edu>
3855         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
3856         Use simplified args that Eric Blake originally suggested.
3858 2006-04-04  Paul Eggert  <eggert@cs.ucla.edu>
3860         * tests/mktests.sh: Don't use 'cat'; just read the files directly.
3861         Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
3862         Use 'comm' rather than N instances of grep; this also fixes a bug
3863         whereby substrings were incorrectly matched, causing us to not
3864         generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
3865         (exclude_list): Exclude empty macros.
3866         (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
3868         Use awk rather than grep -E or egrep, to avoid
3869         portability problems with regular expressions containing newlines.
3870         (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
3871         Switch from grep to awk syntax.
3872         (ac_exclude_script): Renamed from ac_exclude_egrep.
3873         (au_exclude_script): Renamed from au_exclude_egrep.
3875 2006-04-04  Noah Misch  <noah@cs.caltech.edu>
3877         * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
3878         a subdirectory subject to Cygnus `configure'.
3879         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
3881         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
3882         report request when we have no AC_PACKAGE_BUGREPORT.
3884 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3886         * THANKS: Update.
3888         * tests/mktests.sh: Update copyright year in the header of the
3889         generated files.
3891         * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
3892         (AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
3893         typedef'ed restricted pointer, to catch a compiler bug on
3894         HP-UX 11.x, and fix warnings so it passes with -Werror.
3895         (_AC_PROG_CC_C99): Likewise.
3896         Reported by Albert Chin <china@thewrittenword.com>.
3897         * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
3899 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
3901         * bin/autoscan.in (subdirs): New global.
3902         (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
3903         (output): Emit AC_CONFIG_SUBDIRS as needed.
3904         * tests/autoscan.at (autoscan): Remove XFAIL.
3906 2006-04-03  Noah Misch  <noah@cs.caltech.edu>
3908         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
3910 2006-04-03  Eric Blake  <ebb9@byu.net>
3912         * THANKS: Add myself.
3914 2006-04-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3916         * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
3917         to log, point to testsuite output tree.
3919 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
3921         * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
3922         * doc/autoconf.texi (Function Portability): Mention that C++
3923         has trouble with 'exit'.
3924         (Guidelines): Test programs shouldn't use 'exit'.
3925         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3926         Remove; all uses removed.
3927         (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
3928         Return from 'main' instead of calling 'exit'.
3929         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
3930         (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
3931         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
3932         (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
3933         (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
3934         (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3935         (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
3936         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
3937         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3938         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
3939         * tests/compile.at: Likewise.
3941 2006-04-02  Pavel Roskin  <proski@gnu.org>
3943         * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
3945 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3947         Clean up _AC_COMPILER_EXEEXT* macros.
3949         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3950           detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3951           ac_file to the name of the default output file and call
3952           _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
3953           initial `rm' of the candidate files...
3954         (_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
3955           the same list in subsequent `rm' calls, and for the temporary
3956           redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3957           and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3958         (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3959         (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3960           no longer needed) by libtool.  Make it a cache check.
3961         (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3962           copied here by mistake.
3963         (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3964           _AC_COMPILER_EXEEXT.
3965         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3966           _AC_COMPILER_OBJEXT directly.
3967         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3969 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3971         * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
3972         (AS_DIRNAME): Use it.
3973         (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
3975         * tests/*.at: Remove the generated ones.
3977 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
3979         * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
3981 2006-04-01  Eric Blake  <ebb9@byu.net>
3983         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
3984         directories, unless optional third argument supplied.
3985         (AS_UNAME): Don't optimize PATH walk.
3987         * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
3989 2006-04-01  Eric Blake  <ebb9@byu.net>
3990         and Stepan Kasal  <kasal@ucw.cz>
3992         * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
3993         and fix some typos.
3995 2006-04-01  Noah Misch  <noah@cs.caltech.edu>
3997         * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
3998         Autoconf version number despite a zero- or one-argument AC_INIT.
4000         * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
4001         subordinate tools.
4002         * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
4003         * doc/autoconf.texi (autoreconf Invocation): Document it.
4005         * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
4006         Append LocalWords so ispell-buffer passes cleanly.  Spelling fixes.
4008 2006-04-01  Eric Blake  <ebb9@byu.net>
4010         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
4011         * lib/autotest/general.m4: Be tolerant of existing directory when
4012           rm failed to remove it.
4014 2006-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4016         * bin/autoupdate.in: Redefine m4_location so that warnings print
4017         the correct lines of the input file by subtracting..
4018         (_au__first_line): ..this new definition.
4020         * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
4021         AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
4022         Remove stray newline in output.
4023         (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
4024         AC_DEFUN this for autoconf, including the obsoletion diagnose.
4025         Fixes autoupdating of code where the replacement output contains
4026         m4sugar macros.
4027         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4028         * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
4029          (au_exclude_list): Add AC_LANG_SAVE.
4030         * tests/tools.at: Several new tests for all of this.
4031         * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
4032         hairy details.
4033         The AC_LANG_SAVE issue was reported against Libtool by
4034         Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
4035         Kristian Kvilekval <kris@cs.ucsb.edu>.
4037 2006-04-01  Stepan Kasal  <kasal@ucw.cz>
4039         * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
4040           switch all of them on and of when necessary.  Fixes the bug when
4041           m4sugar macros (e.g., m4_define) were expanded after the first
4042           automatic update (e.g., after AC_PREREQ or AC_INIT).
4044 2006-03-31  Paul Eggert  <eggert@cs.ucla.edu>
4046         * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
4047         of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
4049         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
4050         correctly.  Problem reported by Eric Blake.
4051         (_AS_EXPR_PREPARE): Detect Tru64 expr bug.  Problem reported by
4052         Ralf Wildenhues.
4054 2006-03-30  Paul Eggert  <eggert@cs.ucla.edu>
4056         * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
4057         Tighten up the basename/dirname wording.
4059 2006-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4061         * Makefile.maint (sc_texi_notab): New check: do not use TABs
4062         in texinfo files outside of verbatim environments.
4063         (syntax-check-rules): Update.
4064         * doc/autoconf.texi (Configuration Headers): Conform to it.
4066 2006-03-30  Chris Pickett <cpicke@cs.mcgill.ca>  (tiny change)
4068         * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
4069           aclocal cannot be given on the command line.
4071 2006-03-29  Paul Eggert  <eggert@cs.ucla.edu>
4073         * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
4074         Give an example for AS_DIRNAME instead of referring to Posix..
4075         (File System Conventions): Put discussion of // versus / here, and
4076         modernize it a bit.
4077         (Limitations of Usual Tools): Add basename.  Remove verbiage
4078         after dirname, since it got moved to the above sections.
4079         All this was inspired by a patch proposed earlier by Eric Blake.
4081 2006-03-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4083         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
4084         `$0' to protect against spaces.
4085         * lib/autotest/general.m4 (AT_INIT): Likewise.
4086         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
4087         `$0', $as_me.
4089 2006-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4091         * bin/autoscan.in: The value of find_configure_ac should be
4092         checked for existence, so we don't barf over a nonexisting
4093         configure.ac.  Reported by Laurence Darby <ldarby@tuffmail.com>.
4095 2006-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4097         * bin/autoupdate.in: Fix some typos.
4099 2006-03-21  Stepan Kasal  <kasal@ucw.cz>
4101         * doc/autoconf.texi (Installation Directory Variables): Fix typo.
4103         * lib/autoscan/autoscan.list: Refreshed.
4105 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4107         * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
4108         and Erlang related variables.
4110         * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
4111         (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
4112         (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
4113         (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
4114         (AC_LANG_BOOL_COMPILE_TRY(Objective C))
4115         (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
4116         (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
4117         (_AC_PROG_OBJC_G): New macros.
4118         (_AC_ARG_VAR_CPPFLAGS): Adjusted.
4119         * doc/autoconf.texi (Objective C Compiler): New node.
4120         (Preset Output Variables): Document OBJCFLAGS.
4121         (Language Choice): Document `Objective C' language.
4122         (Fortran Compiler): Fix typo.
4123         * NEWS: Updated.
4124         Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
4126 2006-03-20  Stepan Kasal  <kasal@ucw.cz>
4128         * doc/autoconf.texi (Default Includes): Fix typo
4129           s/AC_HEADERS_STDC/AC_HEADER_STDC/
4130         (Limitations of Usual Tools): s/unwriteable/unwritable/
4131         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
4132           Fix typos in the comments.
4134 2006-03-17  Stepan Kasal  <kasal@ucw.cz>
4136         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
4137           Factor out the warning to...
4138         (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
4139         * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
4140         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4142         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
4143           case `ac_delim' when writing the sed script.
4145         * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
4146           moved DUALCASE=1 ...
4147         (AS_SHELL_SANITIZE): ... here.
4148         * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
4149           that it is set.
4151         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
4152           AC_SUBST.
4153         (_AC_PATH_PROG): Store the result to VARIABLE.
4154         (AC_PATH_PROG): No need to set VARIABLE again.
4156         * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
4157           the first one is usual AT_CHECK_MACRO test, the second one checks
4158           that the same works when cross-compiling.
4159         * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
4160         (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
4162 2006-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4164         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
4165         the directory `/usr/bin/posix' in the shell search, to prefer
4166         the Posix shell not only in subsequent spawns as with `$BIN_SH'
4167         on Tru64.
4169         * doc/autoconf.texi (contents): To fix texi2html output, hide
4170         `@setcontentsaftertitlepage' for HTML.
4171         (Writing Autoconf Macros): Likewise, insert space after `@c'.
4172         (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
4173         `@,{c}'.
4175 2006-03-16  Stepan Kasal  <kasal@ucw.cz>
4177         * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
4178           sanitizing...
4179         (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
4180         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
4181           why IFS is restored so late; thank you, Ralf, for reminding us.
4183 2006-03-15  Stepan Kasal  <kasal@ucw.cz>
4185         * doc/autoconf.texi (Pretty Help Strings): No need to use cached
4186           variables in the examples.
4188 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
4190         * doc/autoconf.texi (several sections): Cleaned up documentation for
4191         macros in erlang.m4.
4193 2006-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4195         * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
4196         failure condition for `$(cmd)' style command substitutions.
4197         (Parenthetical command substition, Multiline parenthetical
4198         command substition): Use it.
4200         * doc/autoconf.texi (Special Shell Variables): Missing word.
4201         Reported by Keith Marshall <keith.marshall@total.com>.
4203         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
4204         IFS even in case of empty `$PATH'.
4206 2006-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4208         * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
4209         `expr' away if there is nothing to do.
4210         < --keywords >: Simplify and robustify argument handling.
4211         Revert erroneous comment from 2005-08-23.  Extend to allow
4212         keyword negation with `!'.
4213         Update help message.  Remove broken code to prevent running
4214         tests multiple times.
4215         * doc/autoconf.texi (testsuite Invocation) < --keywords >:
4216         Update and fix the documentation accordingly.
4217         * tests/autotest.at (Keywords): Renamed to..
4218         (Keywords and ranges): .. this.  Extended to make sure negated
4219         keywords, keywords taken from AT_SETUP arguments, and numeric
4220         test ranges work, and that matching is case-insensitive.
4222 2006-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4224         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
4225         allow to pass unnamed structs even in C++.
4226         (AC_CHECK_SIZEOF):  Likewise.
4227         Also fix quoting error in `AC_MSG_FAILURE' arguments.
4228         * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
4229         struct): New tests for unnamed structs, each both native and
4230         cross-compiling.
4232         * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
4233         a structure inside a cast, for C++ conformance.
4234         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
4235         Also fix quoting error in `AC_MSG_FAILURE' arguments.
4237         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
4238         nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
4239         trying to execute the command `no'.
4241         * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
4242         m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
4243         expanded outside.
4245         * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
4246         example.  Do not emphasize `$%', it is hardly new and special.
4247         Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
4249         * doc/autoconf.texi (Limitations of Usual Tools): Document
4250         OpenBSD and traditional `grep' failure to handle multiple
4251         patterns separated by newlines.
4253 2006-03-10  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
4255         * doc/autoconf.texi (several sections): Add documentation for macros
4256         in erlang.m4.
4258 2006-03-10  Eric Blake  <ebb9@byu.net>
4260         * doc/autoconf.texi (Obsolete Macros): Fix wording of
4261         AC_TRY_LINK_FUNC.
4263 2006-03-10  Paul Eggert  <eggert@cs.ucla.edu>
4265         * doc/autoconf.texi: Use @acronym more consistently for acronyms
4266         like BSD, GPL, LGPL.  Fix minor English typos.
4267         (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
4268         Mention that these macros are becoming obsolete.
4269         (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
4270         Use more modern terminology for which standard is what.
4271         (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
4272         and to ansi2knr.
4273         (AC_PROG_CXX): Likewise.
4274         (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
4275         Remove obsolete discussion about how to port to K&R.
4276         (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
4277         the obsolescent AC_HEADER_STDC.
4278         (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
4279         can't rely on it.
4281 2006-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4283         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4284         Remove stdin redirection from /dev/null to allow pipe to work.
4286 2006-03-08  Paul Eggert  <eggert@cs.ucla.edu>
4288         * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4289         Require that /lib/cpp include stdio.h correctly.  Solaris 10's
4290         doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
4291         Ralf Wildenhues.
4293 2006-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4295         * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
4296         HP-UX sed is 99 commands, not 100.
4297         (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
4298         _AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
4299         newline for portability.
4300         * tests/torture.at (Torturing config.status): Also test 100
4301         AC_SUBST_FILE invocations.  Fix test to actually verify the
4302         AC_CONFIG_FILES output.
4303         * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
4304         command, label, and read-file `r' limits.  Unify HP-UX spelling.
4306         * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
4307         non-suffix rule.
4308         ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
4309         non-GNU make.
4310         (autoconfdir, $(AUTOCONF_FILES)): Likewise.
4311         * tests/mktests.sh: Small shell portability fixes.
4313 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4315         * doc/autoconf.texi (Caching Results): Fix the examples to use a
4316         recommended quoting style and discard unwanted output.
4318 2006-03-05  Paul Eggert  <eggert@cs.ucla.edu>
4320         * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
4321         (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
4322         cases, and to work around Tru64 expr bug.
4324 2006-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4326         * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
4327         expr bug that turns the result of a regex match into a number if
4328         possible.
4330 2006-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4332         * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
4333         HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
4334         in section `Specific Compiler Characteristics'.
4336 2006-03-04  Eric Blake  <ebb9@byu.net>
4338         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
4339         variable warning.
4341 2006-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4343         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
4344         order of variable initialization, so even the Solaris 2.6 shell
4345         can create a config header correctly.  Fixes lots of test suite
4346         failures.
4348 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4350         * doc/autoconf.texi (Text processing Macros): New node to
4351         document the m4sugar macros m4_re_escape, m4_tolower,
4352         m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
4354 2006-02-22  Paul Eggert  <eggert@cs.ucla.edu>
4356         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
4357         XrmInitialize (0) -> XrmInitialize ().
4358         Reported by Toshio Kuratomi.
4360 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4362         * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
4363         test, as in `if tests; then cmd1; elif ...; else ...; fi'.
4364         * doc/autoconf.texi (Programming in M4sh): Adjusted.
4365         * tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
4366         both macros are defun'ed so that required macros are evaluated
4367         outside.
4369         * doc/autoconf.texi (Prerequisite Macros): State more precisely
4370         where a required macro will be expanded.
4371         (Coding Style): Another reason not to use `m4_define'.
4373 2006-02-21  Eric Blake  <ebb9@byu.net>
4375         * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
4377 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4379         * doc/autoconf.texi (Looping constructs): New node, to
4380         document m4_for, m4_foreach, m4_foreach_w, and mention
4381         obsolete AC_FOREACH.
4382         (Obsolete Macros): Document AC_FOREACH.
4383         * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
4384         (m4_for): Fix to never loop (almost) endlessly, work correctly
4385         with arithmetic expressions in arguments, a step of zero or
4386         non-integer multiple of the interval, and avoid integer
4387         overflow.
4388         * tests/m4sugar.at: New test for m4_for, m4_foreach, and
4389         m4_foreach_w.
4391 2006-02-20  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
4393         Add basic support for Erlang, both for configuring Erlang/OTP
4394         tools, and Erlang as a conf test language.
4395         * lib/autoconf/erlang.m4: New file.
4396         * lib/autoconf/autoconf.m4: Add erlang.m4.
4397         * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
4398         * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
4399         * NEWS: Add short description of new macros.
4400         * THANKS: Add Romain Lenglet.
4402 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4404         * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
4405         native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
4407 2006-02-15  Eric Blake  <ebb9@byu.net>
4409         * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
4410         warning.
4412 2006-02-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4414         * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
4415         (_AS_CASE): Private helper macro.
4416         * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
4417         * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
4418         Fix syntax of AS_IF description
4419         (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
4420         for the AC_REQUIRE mess.
4421         * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
4422         AS_SHELL_SANITIZE.
4424 2006-02-14  Paul Eggert  <eggert@cs.ucla.edu>
4426         * doc/autoconf.texi: Minor style cleanup.
4427         Be consistent about spaces after commas.
4428         Insert [] where empty args look a bit funny.
4429         Fix some "i.e." and "e.g." usages.
4430         Try to avoid "X/Y" usages.
4431         Don't be pedantic about "ISO C99"; just say C99.
4432         Prefer GNU style for spaces in front of parens.
4433         (Function Portability): Comment about C89 versus C99
4434         signed integer division.
4435         (Particular Headers): Use current gnulib style for dirent
4436         includes.
4438 2006-02-14  Stepan Kasal  <kasal@ucw.cz>
4439         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4441         * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
4442         macros without parameters.
4443         * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
4444         * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
4445         * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
4446         `$#' bug.
4447         (autoupdate): Updated to match AU_ALIAS fix.
4449 2006-02-13 Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4450         and Paul Eggert  <eggert@cs.ucla.edu>
4452         * doc/autoconf.texi (Programming in M4sh): Document
4453         AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
4455 2006-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4457         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
4458         (AS_BOURNE_COMPATIBLE): ..this.
4459         (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
4461 2006-02-12  Paul Eggert  <eggert@cs.ucla.edu>
4463         * doc/install.texi (Defining Variables): Tighten up the
4464         CONFIG_SHELL wording.
4466 2006-02-12 Paul Eggert  <eggert@cs.ucla.edu>
4467         and Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4469         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
4470         of (set -o) rather than testing whether (set -o posix) succeeds,
4471         to work around a bug in the AIX 5.3 shell.  Problem originally
4472         reportd by Howard Chu for libtool.
4474 2006-02-10  J.T. Conklin  <jtc@acorntoolworks.com>
4476         * doc/autoconf.texi (Running the Compiler, Running the Linker):
4477         Changes the macro arguments in summaries to match the
4478         descriptions.
4480 2006-02-04  Stepan Kasal  <kasal@ucw.cz>
4482         * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
4483         hint as ``a workaround for a bug.''
4485 2006-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4487         * bin/autoreconf.in: New option `--no-recursive'.
4488         Improve wording for subpackages a bit.
4489         * doc/autoconf.texi (autoreconf Invocation): Updated.
4490         * NEWS: Updated.
4492         * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
4493         in environment of `configure', not the command line.
4494         Reported by Howard Chu <hyc@highlandsun.com>.
4496 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
4498         * doc/autoconf.texi (Limitations of Builtins): Document the
4499         problem with "trap -".
4501 2006-01-23  Steven G. Johnson  <stevenj@fftw.org>
4503         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
4504         (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
4505         messages to differentiate Fortran and Fortran 77 tests.
4506         (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
4507         AC_LANG_ASSERT, to allow use in mixed-language projects.
4509 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
4511         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
4512         FOO" to "defined (FOO)".
4513         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
4514         * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
4515         * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
4516         * tests/tools.at (ifnames): Likewise.
4518 2006-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4520         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
4521         * lib/Autom4te/General.pm (mktmpdir): Likewise.
4522         (END): Improve error message a bit.
4523         Reported by Bruce Korb <bkorb@gnu.org>.
4525 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4527         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4528         `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
4530 2006-01-11  Stepan Kasal  <kasal@ucw.cz>
4532         * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
4533         requires sys/stream.h.  Reported by Oliver Kiddle.
4535 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4536             Stepan Kasal  <kasal@ucw.cz>
4538         * lib/autotest/general.m4 (AT_INIT): When ensuring writability
4539         before the removals of test dirs, use `find' to avoid modification
4540         of symlinked directories.
4542 2006-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
4544         * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
4545         Don't ignore the macro arguments.
4547 2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
4549         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
4550         declaration that works for MSVC.
4552 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4554         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
4555         Add `*.map' and `.inf' for Green Hills compiler.
4556         Reported by Stefan Seefeld <stefan@codesourcery.com>.
4558         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
4559         correctly: pad with spaces after FIRST_PREFIX if necessary,
4560         and compute string lenghts with `m4_qlen' instead of `m4_len'.
4561         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
4562         * tests/m4sh.at (AS_HELP_STRING): Test extended.
4563         * NEWS: Updated.
4564         Reported by numerous people, numerous times.
4566 2006-01-05  Paul Eggert  <eggert@cs.ucla.edu>
4568         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
4569         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
4570         * lib/autoconf/general.m4, lib/autoconf/status.m4:
4571         * lib/autotest/general.m4, tests/local.at:
4572         Update copyright year to 2006.
4574         * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
4575         sed substitutions.
4576         * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
4577         for file names, again.  Reported by Noah Misch.
4578         (Coding Style): Explain that s|a|b| is preferred for file names.
4579         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
4580         (AC_OUTPUT_MAKE_DEFS): Likewise.
4581         * lib/autotest/general.m4 (AT_INIT): Likewise.
4582         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
4583         * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
4585         Fix Posix-conformance bugs re use of { command in sed scripts,
4586         and improve the sed-related documentation a bit.
4587         * doc/autoconf.texi (Installation Directory Variables): Use
4588         our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
4589         rather than "sed" when talking about Sed in general.
4590         (Particular Programs): Likewise.
4591         (Coding Style): y is like s with respect to / and ,.
4592         (Limitations of Usual Tools): Document the weird restrictions
4593         that Posix has about { }.  Use better quoting.
4594         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
4595         Rewrite to conform to Posix rules about { } in sed scripts.
4596         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
4597         * tests/foreign.at (Libtool): Likewise.
4598         * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
4599         Use our own style advice re 's,a,b,' versus 's|a|b|'.
4601 2006-01-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4603         * lib/autoconf/status.m4: Fix typo.
4605         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4606         singly- or doubly-quoted arguments to `-cmdline', `-ignore',
4607         `-def', for the benefit of Portland `pgf90 -Mipa'.
4608         Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
4610 2006-01-04  Paul Eggert  <eggert@cs.ucla.edu>
4612         * doc/autoconf.texi: Update copyright (and other) dates to 2006.
4613         * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
4614         shell from zsh to bash.
4616 2005-12-31  Stepan Kasal  <kasal@ucw.cz>
4618         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
4619           ":" caused problems on OS/2-EMX.  Suggested by Andrew Belov.
4621 2005-12-29  Paul Eggert  <eggert@cs.ucla.edu>
4623         * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
4624         parentheses in $(...).  Problem reported by Eric Blake.
4626 2005-12-12  Paul Eggert  <eggert@cs.ucla.edu>
4628         * doc/autoconf.texi (Limitations of Usual Tools):
4629         Mention which characters can be escaped with \ in portable regular
4630         expressions used in grep, sed, expr.  Mention the leading ^ problem
4631         with expr.  Clean up some confusing wording.  Mention which
4632         grep options are portable.
4634 2005-12-09  Stepan Kasal  <kasal@ucw.cz>
4636         * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
4638 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
4640         * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
4641         patch, noted by Ralf Wildenhues.
4643 2005-12-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4645         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
4646         posix' unconditionally, for pdksh in `native sh' emulation.
4648 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
4650         * doc/autoconf.texi (Shellology): Document eval $? problem
4651         with ash.
4652         (Limitations of Builtins): Likewise.
4654 2005-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4656         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
4657         CONFIG_SHELL in the environment of the configure rerun.
4658         * doc/autoconf.texi (Here-Documents, config.status Invocation):
4659         Suggest passing CONFIG_SHELL absolute, and in the environment
4660         rather than as option.
4662 2005-11-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4664         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
4665         Fix quoting of output line (triggered for many AC_SUBST_FILEs).
4666         Fix macro quoting.  Fix output for n * 98 substituted variables.
4668 2005-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4670         * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
4671         `tmp' to avoid file removal race.
4673 2005-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4675         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4676         ac_clean_files and LIBOBJS.
4678 2005-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4680         * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
4681         Factor functionality to..
4682         (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
4683         `AC_SUBST($1)' in the public version.
4684         (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
4685         (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
4686         ac_pt_* variables.
4688 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
4690         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
4691         filesystems.
4693 2005-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4695         * NEWS: Move AH_HEADER mention to right place.
4697 2005-10-27  Stepan Kasal  <kasal@ucw.cz>
4699         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
4700         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4702 2005-10-25  Stepan Kasal  <kasal@ucw.cz>
4704         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
4705         conftst2.$ac_objext.
4706         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4708 2005-10-24  Stepan Kasal  <kasal@ucw.cz>
4710         * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
4711         conftest.o, to see whether the compiler really obeys; rm the object
4712         file before and after the test and register it with ac_clean_files.
4713         * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4715 2005-10-21  Stepan Kasal  <kasal@ucw.cz>
4717         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
4718         the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
4719         code so that the most common case requires less forks.
4721 2005-10-20  Stepan Kasal  <kasal@ucw.cz>
4723         * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
4724         not portable; thanks to Paul Eggert and Alexandre.
4726         * NEWS: Fix an old typo.
4728 2005-10-20  Jim Meyering  <jim@meyering.net>
4730         * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
4731         the latter'', in two places.
4733 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
4735         * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
4736         AC_LANG_PROGRAM, fixing a typo.  Don't give details about
4737         the inner workings of AC_LANG_FUNC_LINK_TRY.
4738         * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
4739         AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
4740         by the function rather than ignoring it.
4741         (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
4742         comparing its address.  Intel's interprocedural optimization was
4743         outsmarting the old heuristic.  Problem reported by
4744         Mikulas Patocka.
4746 2005-10-19  Stepan Kasal  <kasal@ucw.cz>
4748         * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
4750 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
4752         * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
4753         (m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
4755 2005-10-04  Stepan Kasal  <kasal@ucw.cz>
4757         * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
4758         before removing it (chmod -R u+rwx); there are three instances of this.
4760 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4761             Stepan Kasal  <kasal@ucw.cz>
4763         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
4764         * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
4765         make its content writable before removing it.  Remove an errorneous
4766         comment from the end, where the logs of the failed tests are copied
4767         to the main log file.
4769 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
4771         * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
4772           in case the computer is too quick.  Double quote the configure.ac
4773           snippets.
4775         * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
4776           problems if the testsuite were running too fast.
4778 2005-09-18  Paul Eggert  <eggert@cs.ucla.edu>
4780         * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
4781         and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
4782         (which belong to Xt, not X itself).  See Debian bug 327655.
4783         * NEWS: Mention this.
4785 2005-09-07  Stepan Kasal  <kasal@ucw.cz>
4787         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
4789 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
4791         * config/move-if-change: Don't output "$2 is unchanged";
4792         suggested by Ben Elliston.  Handle weird characters correctly.
4794 2005-09-06  Stepan Kasal  <kasal@ucw.cz>
4796         * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
4797           calls, so that the final expansion of this macro is shorter.
4798           Create the conftest.$ac_ext outside the `for' loop, to speed the run.
4799           Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
4800           the cleanup there.  Use AS_VAR_* macros, to be more general.
4801         * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
4803         * lib/autoconf/general.m4: Use AS_IF where appropriate.
4805         * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
4807 2005-09-01  Stepan Kasal  <kasal@ucw.cz>
4809         * doc/autoconf.texi (Configuration Headers): Add an index entry
4810           for AH_HEADER.
4812 2005-08-26  Pavel Roskin  <proski@gnu.org>
4814         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
4815         XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
4816         running xmkmf.
4818 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
4820         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
4821         The previous patch didn't work, so try a better one.
4823 2005-08-26  Stepan Kasal  <kasal@ucw.cz>
4825         * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
4826         in the example.  Reported by Bruno Haible.
4827         <AS_TR_SH>: Likewise.  Also modify the example to be more convincing:
4828         "if $undefined_var;" succeeds with my shell.
4830         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
4831         AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
4832         but change the m4_divert_text to m4_divert_once.
4834 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
4836         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
4837         Work around bug in Solaris /usr/xpg4/bin/awk.
4838         The bug is present in at least Solaris 8 through 10.
4840 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
4842         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
4843         some evil values and relying on the fact that $* concatenates the
4844         parameters by the first character from IFS.
4846 2005-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>,
4847             Stepan Kasal  <kasal@ucw.cz>
4849         * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
4850         first header appears, define AH_HEADER.
4851         * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
4852         Update limitations about when to call AC_CONFIG_HEADERS.
4853         (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
4854         parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
4855         that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
4856         ``Configuration Actions''; fix their index entries.
4858         * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
4859         options correctly.  Process N-M as M-N if M is smaller than N.
4860         Process ranges correctly so that N-N will run only N.
4861         Sort and uniquify the tests that will be run.  If there is more
4862         than one test, reinsert the banners for the tests.
4863         * tests/autotest.at (Keywords): Unmark XFAIL.
4865 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
4867         * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
4868           before passing the macro name to AH_TEMPLATE.
4870         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
4871           now opens log after option processing; in particular, --version
4872           and --help do not touch config.log.
4874         * Makefile.maint: Revert the change from 2005-08-12.
4876 2005-08-22  Stepan Kasal  <kasal@ucw.cz>
4878         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
4879           common code to...
4880         (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
4882 2005-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4884         * doc/autoconf.texi (Using Autotest, testsuite Scripts)
4885         (Autotest Logs, Writing testsuite.at, testsuite Invocation):
4886         Language cleanup.
4888         * doc/autoconf.texi (Defining Symbols, Changed Results):
4889         Prepend to LIBS, not append, in examples.
4891 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
4893         When building in place, set srcdir="."; suggested by Tim Van Holder.
4895         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
4896           build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
4897         (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
4898         * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
4899           does not mean "no --srcdir option".
4901 2005-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4903         * tests/autoscan.at (autoscan): New file.
4904         * tests/suite.at: Use it.
4905         * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
4906         Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
4908         * tests/autotest.at (Keywords): Test keywords combinations.
4910 2005-08-12  Stepan Kasal  <kasal@ucw.cz>
4912         * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
4913           add "2>&1"; gzip 1.2.4 prints help on stderr.
4915 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
4917         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
4918         was pushdef'ed twice while popped only once.  Push it only once.
4919         (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
4921 2005-07-26  Stepan Kasal  <kasal@ucw.cz>
4923         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
4924         prefixed by mere "===", not "configure: === ".
4926 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
4928         * Makefile.maint: Update from Bison.
4930         * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
4931         "<tab>" in comment, so that the point is understandable.
4933 2005-07-25  Stepan Kasal  <kasal@ucw.cz>
4935         Rewrite substantial part of lib/autoconf/status.m4.
4936         The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
4937         and CONFIG_COMMANDS are not processed in four separate loops.
4938         Instead, there is one main loop.  This alows that the common code
4939         is expanded only once, thus config.status (and configure) is smaller.
4941         The registration mechnism in AC_CONFIG_FILES and cousins also changed;
4942         the AC_LIST_FILES and cousins macros are no longer used.
4944         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
4945         _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
4946         (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
4947         _AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
4948         contain the initialization, nor the for loop, nor the associated
4949         commands; all these go to ...
4950         (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
4951         _AC_OUTPUT_CONFIG_STATUS.
4952         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
4953         Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
4954         (_AC_OUTPUT_FILE): The creation of the sed script ...
4955         (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
4956         (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
4957         _AC_OUTPUT_MAIN_LOOP.
4958         (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
4959         _AC_CONFIG_COMMANDS): Use ...
4960         (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
4961         (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
4962         (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
4963         _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
4964         (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
4965         (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
4966         ... new macros.
4967         (_AC_CONFIG_UNIQUE): Update.
4968         (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
4969         Replaced by this ...
4970         (_AC_LIST_TAGS): ... new common macro.
4971         (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
4972         AC_LIST_COMMAND_COMMANDS): Replaced by this ...
4973         (_AC_LIST_TAG_COMMANDS): ... new common macro.
4974         (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
4975         this didn't belong to the `config commands' section.
4976         (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
4977         (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
4978         AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
4979         to the `config commands' section either.
4980         (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
4981         (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
4983         ... and many changes to the comments nearby.
4985         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
4986         set ac_subdirs_all='_AC_LIST_SUBDIRS'.
4987         * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
4988         AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
4989         (#define header templates): The comment at the top of the generated
4990         header now includes the name(s) of the source file(s).
4992         Several unrelated small changes:
4994         * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
4995         parameter to AC_DIAGNOSE.
4996         * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
4997         (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
4998         with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
4999         (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
5000         with AU::AC_OUTPUT.
5001         (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
5002         in AC_OUTPUT doesn't double-quote it either.
5003         * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
5004         parameters.
5006 2005-07-10  Stepan Kasal  <kasal@ucw.cz>
5008         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
5009         versions of Portland Group compiler produce single- and double-quoted
5010         -cmdline argument.  Reported by Steven G. Johnson <stevenj@fftw.org>
5011         and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5013 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
5015         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5016         This is a corrected version of yesterday's patch.
5018 2005-07-07  Stepan Kasal  <kasal@ucw.cz>
5020         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
5021         path, too; insert a "===" to emphasize the line.
5023         * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
5024           ac_cv_build_alias to ac_build_alias.
5025         (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
5027         On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
5028         change eliminates it.  Problem reported by Alexandre Duret-Lutz.
5029         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
5030         (AC_ARG_VAR): ... here.
5031         (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
5032           target_alias.
5034         Keep a list of all precious variables and process them with one simple
5035         for loop, instead of expanding all commands, or, OTOH, complicated
5036         processing of output of "set".
5037         * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
5038         variable names in new macro...
5039         (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
5040         (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
5041           a loop to assign all ac_env_* and ac_cv_env_* variables.
5042         (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
5043           to INIT_PREPARE.
5044         (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
5045           its value to shell variable ac_precious_vars and call
5046           _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
5047         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
5048           _AC_ARG_VAR_VALIDATE.
5050         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
5051           and the AC_SUBSTs ...
5052         (AC_INIT): ... here.
5054         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
5055           the ac_subst_files section in config.log.
5057         * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
5059 2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
5061         * NEWS: New macro AC_C_TYPEOF.
5062         * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
5063         * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
5064         * tests/c.at (C keywords): Test AC_C_TYPEOF.
5066         Fix problems reported by Nicolas Joly.
5067         * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
5068         * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5069         They are generated by the Tru64 v5.1B shell.
5071 2005-07-05  Stepan Kasal  <kasal@ucw.cz>
5073         Fix my changes from 2005-07-01; reported by Noah Misch.
5074         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
5075         description, the macro now accepts only a single tag.
5076         (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
5078         Fix cases when the varsions of Autoconf and Autotest don't match.
5079         Reported by Noah Misch.
5080         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
5081         at_top_builddir, for compatibility with older autotest.
5082         * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
5083         is not set, use at_top_builddir, for compatibility with older
5084         versions of autoconf.
5086 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
5088         * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
5089         Problem reported by Patrick Welche.
5091 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
5093         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
5094         sed substitution command, so that we allow | in program prefixes
5095         and program suffixes.  (& is a problem anyway; we're not fixing
5096         that here.)
5097         * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
5098         configure_input, top_builddir, srcdir, etc.
5099         * lib/autotest/general.m4 (AT_INIT): Likewise, for
5100         PATH_SEPARATOR in AUTOTEST_PATH.
5102 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
5104         * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
5105         for loop over config.site files using `set', to allow
5106         directory names containing IFS characters.
5108 2005-07-01  Paul Eggert  <eggert@cs.ucla.edu>
5110         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
5111         directories with weird names.  Apparently some people like living
5112         on the edge.  However, improve the test that "pwd" actually does
5113         report a name for the working directory.
5114         * NEWS: Remove the claim that we test for funny chars in dir names.
5116 2005-07-01  Stepan Kasal  <kasal@ucw.cz>
5118         * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
5119         replaced ...
5120         * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
5121         * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
5122         Now accept a single tag, not whitespace separated list.
5123         (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
5125 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
5127         * doc/autoconf.texi (Configuration Headers): Change the explanation
5128         about #include <config.h>.
5129         (Generic Functions): Mention the Gnulib project.
5130         (Limitations of Usual Tools) <sed>: Another minor rephrasing.
5132         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
5133         document to output the default config_* lists to config.status.
5134         Don't recognize option --file, if the functionality is not there.
5135         Likewise for --header; moreover, recognize --he and --h as shortcuts
5136         for --help in that case.
5138         * lib/autoconf/status.m4: Fix the order of the "sections", so that it
5139         matches the order of execution.  No code changed.
5141 2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5143         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
5144         single-quoted -cmdline argument in Portland Group compiler.
5145         Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5147 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
5149         * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
5151 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
5153         * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
5154         descriptors to child processes; reported by Norman Gray.
5156 2005-06-29  Stepan Kasal  <kasal@ucw.cz>
5158         * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
5160         * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
5161         instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
5162         (AC_SUBST): Call it.
5163         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
5164         the directory specific variables; but don't call it for configure_input.
5166 2005-06-28  Derek Price  <derek@ximbiot.com>
5168         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
5169         addition.
5171 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
5173         * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
5174         directory have inherent problems with special characters like spaces,
5175         due to limitations in Make syntax.  Problem reported by Alexandre
5176         Duret-Lutz.
5177         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
5178         Also, fix Tru64 porting problem with shell patterns,
5179         reported by Ralf Wildenhues.
5181 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5183         * doc/autoconf.texi (Subdirectories): Fix markup typos.
5185 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
5187         * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
5189         Fix some more shell quoting problems.  Prompted by a bug report
5190         from Justace Clutter.
5191         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
5192         variable into diagnostic.  Make the diagnostic an error, not a warning,
5193         because we really don't support spaces and suchlike in dir names.
5194         (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
5195         Don't worry about backslashes in srcdir; it can't happen now.
5196         (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
5197         Simplify ac_optarg handling.
5198         (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
5200 2005-06-22  Stepan Kasal  <kasal@ucw.cz>
5202         Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
5203         * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
5204         * tests/atlocal.in: Propagate $EGREP and $SED.
5205         * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
5206         (AT_CONFIG_CMP): Use sed instead of grep plumbing.
5208         * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
5209         that '\|' is not allowed in BREs; recommend using newline separated
5210         list of patterns instead of multiple -e options.
5212         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
5214         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
5216 2005-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5218         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
5220 2005-06-21  Stepan Kasal  <kasal@ucw.cz>
5222         * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
5223         b, t, r, w commands require single space, while : cannot have any.
5224         (Special Shell Variables): Fix sed code this in the example.
5225         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
5226         * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
5228         * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
5229         expand to the empty list.  Don't use two pairs of m4_changequote,
5230         it's not necessary.
5232 2005-06-20  Derek Price  <derek@ximbiot.com>
5234         * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
5236 2005-06-17  Paul Eggert  <eggert@cs.ucla.edu>
5238         * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
5239         * doc/autoconf.texi:
5240         Don't mention Solaris versions so much, if a
5241         problem is common to all extant versions of Solaris.  Say "SunOS
5242         4" instead of "SunOS" for SunOS 4.
5243         (awk): Mention more of the limitations of traditional Awk.
5244         (cat): Don't talk about cat -v.
5246 2005-06-16  Paul Eggert  <eggert@cs.ucla.edu>
5248         * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
5249         (AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
5250         but the implementation is entirely different and is designed
5251         to be compatible with glibc strverscmp.
5252         * tests/m4sh.at (AS_VERSION_COMPARE): New test.
5254         * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
5255         on Mac OS X 10.4 reported by Peter O'Gorman in:
5256         http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
5257         * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
5258         Use shell builtins rather than 'expr', to work around expr bug.
5260 2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
5262         * doc/autoconf.texi: "filesystem" -> "file system".
5263         "behaviour" -> "behavior".
5264         Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
5265         * lib/autoconf/general.m4: Omit blank after ":" sed command,
5266         as per POSIX.
5267         * lib/m4sugar/m4sh.m4: Likewise.
5268         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
5269         with Solaris sed.  Fix by Ralf Menzel and Stepan Kasal.
5271         * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
5272         (.x.1): Ignore the time stamp in the .TH line when deciding whether
5273         to update the man page.  That way, we don't have to check in new
5274         man pages every month.
5276         * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
5277         quotes and backslashes.  Patch from Derek Price.
5279 2005-06-10  Derek Price  <derek@ximbiot.com>
5281         * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
5282         AS_TR_SH.
5284 2005-06-08  Paul Eggert  <eggert@cs.ucla.edu>
5286         * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
5287         -u, since it outputs chatter if the input files are the same.
5288         Problem reported by Ralf Menzel.
5290 2005-06-08  Derek Price  <derek@ximbiot.com>
5292         * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
5293         renaming them since they are about to be redefined anyhow.
5295 2005-06-08  Derek Price  <derek@ximbiot.com>
5297         * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
5298         redefined M4 macros to this node.  Document m4_include & m4_sinclude.
5299         Move m4_undefine to alphabetical order.
5301 2005-06-07  Paul Eggert  <eggert@cs.ucla.edu>
5303         * README: Recommend GNU M4 1.4.3 or later.
5304         * doc/autoconf.texi (Introduction): Likewise.
5305         Reword to avoid some formatting glitches.
5306         Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
5307         Clarify explanation of HP compiler bug.
5308         Redo example output tp match current CVS snapshot.
5309         Use @example.org in email addresses when the examples
5310         might get inadvertently cut-and-pasted into user code.
5311         Remove example of autom4te usage that doesn't seem to work now.
5312         Use modern AC_INIT (except when the example is meant to be
5313         shown with Autoconf 2.13).
5314         Update ksh info for Solaris 9 and later.
5315         KB -> kB.
5316         Modernize description of Automake versions a bit.
5317         Don't claim a future version of Autoconf is near.
5318         * doc/install.texi: Reword to avoid some formatting glitches.
5320 2005-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5322         * doc/autoconf.texi: Add [] to examples, so that the manual
5323         follows its own advice about quoting better.
5324         Reword to avoid some formatting glitches.
5325         * doc/installt.exi: Reword to avoid some formatting glitches.
5327         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5328         Tru64 ksh pattern matching bug.  Reported against Libtool by
5329         Albert Chin <libtool@mlists.thewrittenword.com> and
5330         Nicolas Joly <njoly@pasteur.fr>.
5332 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
5334         m4_cdr of one-member list was [[]] (one-member list containing an
5335         empty string) instead of [] (an empty list.  Callers were skewed to
5336         match this misbehaviour.  As a consequence of this:
5337          - m4_foreach([x], [], [foo]) expanded to `foo', while
5338          - the expansion of m4_foreach([x], [[]], [foo]) was empty.
5339         This bug has been fixed:
5341         * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
5342           expand to an empty string; print error msg if called without
5343           an argument list.
5344         (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
5345           misbehaviour; handle [] and [[]] correctly.
5347 2005-06-06  Stepan Kasal  <kasal@ucw.cz>
5349         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
5350         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
5351           scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
5353 2005-06-06  Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>  (trivial change)
5355         * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
5356           swallow records with more than 99 fields.
5357         * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
5358           parse the long line.
5360 2005-06-04  Stepan Kasal  <kasal@ucw.cz>
5362         * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
5363           swallow literals longer than 399.  Reported by Ralf Wildenhues.
5364         * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
5365           to workaround this limitation.
5367 2005-06-03  Steven G. Johnson  <stevenj@alum.mit.edu>
5369         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
5370         to gfortran, and make these the first two compiler names
5371         checked (following the general autoconf preference for gcc).
5373 2005-06-03  Stepan Kasal  <kasal@ucw.cz>
5375         * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
5376         (DISTCLEANFILES): Remove $(check_SCRIPTS).
5377         (testsuite): Make sure autotest.m4f is up-to-date before using it.
5379 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
5381         * lib/autotest/general.m4 (AT_INIT): Don't create a regular
5382         expression of unbounded size when processing the --list
5383         option.  This runs afoul of a limit of 399 bytes per regular
5384         expression on AIX.  Problem reported by Ralf Wildenhues.
5386 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
5388         * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
5389         * doc/autoconf.texi (Particular Headers): Reword example
5390         for multiline stdbool replacement.
5391         (Setting Output Variables): Reword text a bit.  Don't
5392         give all the details about |#_!!_#|.
5393         Reword description of line replacement.
5395 2005-05-31  Dan Manthey  <dan_manthey@partech.com>
5397         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
5398         now contain newlines, and substituted files must be referenced on
5399         a line alone; the sed scripts to substitute them are now very
5400         different.
5401         (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
5402         commands can be put in a sed script portably.
5403         * doc/autoconf.texi (Setting Output Variables): Document above
5404         changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
5405         use of multiline substitution.
5406         * tests/torture.at: No longer expect substitution of newline to fail.
5408 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
5410         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
5411         From Ralf Menzel (trivial change).
5413 2005-05-25  Paul Eggert  <eggert@cs.ucla.edu>
5415         * tests/local.at: Don't attempt to check for negated character
5416         classes in shell scripts.  The test was too brittle.
5418 2005-05-25  Stepan Kasal  <kasal@ucw.cz>
5420         * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
5421         * doc/autoconf.texi (Limitations of Builtins): Document this
5422           limitation.
5424 2005-05-24  Stepan Kasal  <kasal@ucw.cz>
5426         * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
5427           common code; used in many places in the tree.
5428         (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
5429         (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
5431         * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
5433         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
5434           messages when ac_unique_file is not found.
5435         (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
5436         (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
5437           commands, for consistency with AC_MSG_ERROR and such.
5439         * bin/autoconf.as: Make more use of "shift 2" in option processing.
5441         * bin/Makefile.am: Merge the two rules for creating scripts.
5443 2005-05-23  Stepan Kasal  <kasal@ucw.cz>
5445         * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
5446         obsolete; it was never documented.
5447         (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
5449 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
5451         * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
5452         * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
5453         (ac_top_builddir): ... this ...
5454         (ac_top_build_prefix): ... to this; the old name is also kept, for
5455           backward compatibility.
5456         (ac_top_builddir_sub): New variable, without the trailing slash,
5457           always nonempty.
5458         (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
5459         * doc/autoconf.texi (Configuration Actions): Rename
5460           ac_top_builddir to ac_top_build_prefix.
5461         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
5462           at_top_builddir to at_top_build_prefix.
5463         * lib/autotest/general.m4 (AT_INIT): Likewise.
5465 2005-05-20  Stepan Kasal  <kasal@ucw.cz>
5467         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
5468           of confdefs.h .
5470 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
5472         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
5473           argument to m4_foreach.  I guess it was necessary in the past,
5474           but I think it's a no-op now.
5476 2005-05-17  Stepan Kasal  <kasal@ucw.cz>
5478         * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
5479           ``cat <<_ACEOF'' commands to one.
5480         (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
5481         * lib/autoconf/status.m4: On various places, use expr instead of
5482           ``echo|sed.''
5483         (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
5484         (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
5485         * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
5486           a range.
5487         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
5488           the wrong patterns between ``case'' and ``esac.''  The previous
5489           code had false positives.
5491 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
5493         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
5494         as on 2005-05-02.
5495         * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
5496         Mention LIBOBJDIR.
5498 2005-05-13  Paul Eggert  <eggert@cs.ucla.edu>
5500         * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
5501         ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
5502         Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
5503         bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
5504         bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
5505         bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
5506         config/config.guess, config/config.sub, config/elisp-comp,
5507         config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
5508         doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
5509         lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
5510         lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
5511         lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
5512         lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
5513         lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
5514         lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
5515         lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
5516         lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
5517         lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
5518         lib/autoconf/general.m4, lib/autoconf/headers.m4,
5519         lib/autoconf/lang.m4, lib/autoconf/libs.m4,
5520         lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
5521         lib/autoconf/specific.m4, lib/autoconf/status.m4,
5522         lib/autoconf/types.m4, lib/autoscan/Makefile.am,
5523         lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
5524         lib/autotest/Makefile.am, lib/autotest/autotest.m4,
5525         lib/autotest/general.m4, lib/emacs/Makefile.am,
5526         lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
5527         lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
5528         lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
5529         tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
5530         tests/compile.at, tests/foreign.at, tests/fortran.at,
5531         tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5532         tests/semantics.at, tests/suite.at, tests/tools.at,
5533         tests/torture.at, tests/wrapper.as:
5534         Update FSF postal mail address.
5536 2005-05-13  Stepan Kasal  <kasal@ucw.cz>
5538         * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
5539           check.
5540         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
5541           enough arguments, similarly as in m4_bpatsubsts.
5543 2005-05-12  Stepan Kasal  <kasal@ucw.cz>
5545         * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
5546           of absolute paths.
5548 2005-05-11  Stepan Kasal  <kasal@ucw.cz>
5550         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
5551           for absolute directory names in one loop.
5552         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
5553           abbreviations of --version and --debug.
5555 2005-05-10  Paul Eggert  <eggert@cs.ucla.edu>
5557         * doc/autoconf.texi (Autoconf Language): Be more precise about
5558         quoting rules.  Problems noted by Stepan Kasal.
5559         Also, throughout this document, be more careful about white space.
5560         "blank", "white space", and "space" all have different meanings
5561         and we should be careful to say what we mean.
5563 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
5565         Fix C++ related problems reported by Werner Lemberg.
5566         * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
5567         * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
5568         * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
5569         avoid problems with C++ and throw.
5570         * tests/compile.at: .cpp, not .cc.
5572         * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
5574 2005-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5576         * doc/autoconf.texi (Generic Functions): Typos.
5578 2005-05-02  Gary V. Vaughan  <gary@gnu.org>
5580         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
5581         object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
5582         set by latest automake.
5584 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
5586         * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
5587         outputs 0 on GNU/Linux these days.
5589 2005-04-29  Paul Eggert  <eggert@cs.ucla.edu>
5591         * doc/autoconf.texi (Autoconf Language): Add more description
5592         about quoting heuristics.
5593         (Limitations of Builtins): Describe "set -" problems.
5595 2005-04-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5597         * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
5598         not newline.
5600         * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
5601         by AC_DEFINE; it was a mistake.
5602         From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
5604 2005-04-25  Stepan Kasal  <kasal@ucw.cz>
5606         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
5608 2005-04-22  Stepan Kasal  <kasal@ucw.cz>
5610         * doc/autoconf.texi (External Software): Quadrigraphs are not
5611           processed correctly in AS_HELP_STRING; avoid this in the examples.
5612         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
5613         * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
5614           comment and reduce m4_default([foo], []) to [foo].
5615         (m4_strip): Update the explanation.
5617 2005-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5619         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
5620         Remove core.conftest.* too; it's generated by Tru64 5.1.
5621         Problem reported by Jennis Pruett.
5622         * lib/autoconf/functions.m4
5623         (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
5624         Don't bother to remove core files; AC_RUN_IFELSE should do that
5625         for you.
5627 2005-04-19  Stepan Kasal  <kasal@ucw.cz>
5629         * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
5631 2005-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
5633         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
5634         Report from Horst Wente.
5636 2005-04-15  Stepan Kasal  <kasal@ucw.cz>
5638         * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
5639           the comment.
5641 2005-04-14  Gregorio Guidi  <greg_g@gentoo.org>
5643         * doc/autoconf.texi (External Software, Package Options): Add
5644           examples showing how to implement --with-* and --enable-* options.
5646 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
5648         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
5649         as well as configure.in.  Problem reported by Gregorio Guidi.
5651 2005-04-10  Paul Eggert  <eggert@cs.ucla.edu>
5653         * doc/autoconf.texi (Particular Functions): Use gnulib's current
5654         pattern for alloca snippet.
5656 2005-04-04  Stepan Kasal  <kasal@ucw.cz>
5658         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
5660 2005-04-01  Stepan Kasal  <kasal@ucw.cz>
5662         * doc/autoconf.texi (Generic Programs): Fix a typo.
5664 2005-04-01  Paul Eggert  <eggert@cs.ucla.edu>
5666         * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
5667         fails if %s isn't supported.  Problem reported by Ralf Wildenhues.
5669 2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5671         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
5672         Merge `-z option' as well for the benefit of Solaris link flags.  Pass
5673         whole-archive (-zallextract, -zdefaultextract) options in the hope of
5674         unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
5675         against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
5677 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
5679         * NEWS: The configure command now warns you if you attempt to use
5680         a directory whose name contains a special character like space,
5681         newline, or "\".
5682         * doc/autoconf.texi (Installation Directory Variables): Allow
5683         "," in file names.  Do not use \@; it's not a portable regexp.
5684         * bin/Makefile.am (edit): Likewise.
5685         * lib/Makefile.am (edit): Likewise.
5686         * tests/Makefile.am (edit): Likewise.
5687         * tests/semantics.at: Likewise.
5688         * tests/torture.at: Likewise.
5689         * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
5690         * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
5691         * doc/autoconf.texi (File System Conventions): Warn about
5692         unportable file names.
5693         * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
5694         (AC_INIT): Use it.
5695         (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
5696         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
5697         ac_pwd, and quote srcdir.
5698         * lib/autotest/general.m4 (AT_INIT): Quote file name args.
5700         * doc/autoconf.texi: Fix some systematic formatting problems.
5701         ".)"  needs a following @: if not at the end of a sentence, and
5702         similarly for "!)".  "etc." should be preceded by a comma.
5703         "n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
5705 2005-03-22  Bruno Haible  <bruno@clisp.org>
5707         * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
5708         argument is often called 'build-aux'.
5710 2005-03-07  Stepan Kasal  <kasal@ucw.cz>
5712         * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
5713           macro AC_TRY_LINK is obsolete.
5714         (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
5715           `AC_CONFIG_FILES'.
5717 2005-02-24  Stepan Kasal  <kasal@ucw.cz>
5719         * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
5720           `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
5721           from a Common Lisp's `cl'.
5722         (AC_PROG_CXX): Behave according to the documentation: don't
5723           search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
5724           make the variable CCC precious; use `cl.exe', not `cl'.
5726 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
5727             Alexandre Duret-Lutz  <adl@gnu.org>
5729         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
5730         /dev/null, as "configure" shouldn't read stdin, and this insulates
5731         us from problems (e.g., when testing for "cl").  Also, do this
5732         redirection before invoking "hostname" or "uname", and keep the
5733         original input stream available via...
5734         (AS_ORIGINAL_STDIN_FD): ... this new macro.
5735         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
5736         bother with "</dev/null" since it's now done at the top of
5737         'configure'.
5738         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
5739         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5740         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5741         * doc/autoconf.texi (File Descriptor Macros): New section.
5742         (Printing Messages): Mention it.
5743         * tests/base.at (Input/Output): New test.
5745 2005-02-23  Paul Eggert  <eggert@cs.ucla.edu>
5747         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
5748         newline if neither \c nor -n work, as that would output two
5749         newlines.  Prefer -n to \c.  Reported by Stepan Kasal.
5751 2005-02-12  Stepan Kasal  <kasal@ucw.cz>
5753         * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
5754         This causes that any required macros inside will get before the if.
5755         * doc/autoconf.texi (autom4te.cache): A typo.
5757 2005-02-12  Paul Eggert  <eggert@cs.ucla.edu>
5759         Undo previous change, except keep the change to
5760         lib/autoconf/programs.m4 that replaced grep with shell
5761         pattern-matching.  This is because net-snmp configure reads stdin.
5762         Reported by Noah Misch.
5764 2005-02-11  Paul Eggert  <eggert@cs.ucla.edu>
5766         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
5767         from /dev/null, as "configure" shouldn't read stdin, and this
5768         insulates us from problems (e.g., when testing for "cl").
5769         Suggested by Alexandre Duret-Lutz.  Also, do this redirection
5770         before invoking "hostname" or "uname".
5771         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
5772         _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
5773         * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
5774         "</dev/null" since it's now done at the top of 'configure'.
5775         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5776         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5777         Also, replace grep with shell pattern-matching, to save a process.
5779 2005-02-10  Paul Eggert  <eggert@cs.ucla.edu>
5781         * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
5782         _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
5783         avoid thinking that Allegro Common Lisp's "cl" command is a C++
5784         compiler.
5786 2005-02-09  Paul Eggert  <eggert@cs.ucla.edu>
5788         * doc/autoconf.texi (Limitations of Usual Tools): Document that
5789         grep -q isn't portable.  Improve grep -s explanation.
5790         Problem reported by Dan Manthey.
5792 2005-02-08  Paul Eggert  <eggert@cs.ucla.edu>
5794         * doc/autoconf.texi (Special Shell Variables): Clarify
5795         PATH_SEPARATOR wording; fix typo in IFS.  Reported by Gary V. Vaughan.
5797 2005-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5799         * doc/autoconf.texi: Use @acronym for DJGPP.
5800         Fix some @code's that should have been @env's, and vice versa.
5801         Sort environment variable names.
5802         Mention that shells no longer inherit IFS.
5803         Don't recommend PATH_SEPARATOR=';' so strongly.
5804         Mention that $RANDOM might expand to the empty string.
5805         "symlink" and "soft link" -> "symbolic link".
5806         Improve mktemp description (reported by Bruno Haible).
5808 2005-02-05  Paul Eggert  <eggert@cs.ucla.edu>
5810         * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
5811         * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
5812         Likewise.
5813         * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
5814         Likewise.
5816 2005-02-04  Paul Eggert  <eggert@cs.ucla.edu>
5818         * NEWS: Mention AT_COPYRIGHT.
5820         * tests/local.at (AT_CMP): Use diff directly on input files rather
5821         than copying them.
5823         * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
5824         /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
5826 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
5827         and Paul Eggert  <eggert@cs.ucla.edu>
5829         * tests/autotest.at (Empty test suite): New test.
5830         * tests/torture.at (Substitute and define special characters)
5831         (Substitute a 2000-byte string, Define to a 2000-byte string)
5832         (Substitute a newline, Define a newline): New tests.
5834 2005-02-04  Noah Misch  <noah@cs.caltech.edu>
5836         * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
5837         * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
5838         (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
5839         * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
5840         (Standard regular expressions): New test.
5841         (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
5842         excess test name quoting.
5843         * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
5844         CPPFLAGS to `configure' instead of setting it in `configure'.
5846         * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
5847         any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
5848         on some platforms.
5850         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
5851         s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
5853         * tests/local.at (AT_CMP): New macro.
5854         (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
5855         (AC_SAVE_STATE): Move environment grep...
5856         (AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
5857         (AT_CONFIG_CMP): New macro.
5858         (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
5859         * tests/c.at (Extensions): Do not exit early.
5860         * tests/atlocal.in: Inherit $GREP.
5862         * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
5863         (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
5865         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
5866         (AC_COPYRIGHT): Factor header comment portion out and move into...
5867         * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
5868         * lib/autotest/general.at (AT_COPYRIGHT): New macro.
5869         (AT_INIT): Add Autotest copyright notice.  Display copyright notices in
5870         --version output.
5871         * tests/local.at: Add Autoconf test suite copyright notice.
5872         * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
5874 2005-02-04  Bruno Haible  <bruno@clisp.org>
5875         and Paul Eggert  <eggert@cs.ucla.edu>
5877         * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
5879 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
5881         * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
5882         this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
5884         Try not to generated lines of unlimited length, as POSIX places a
5885         2047-byte limit on line length of portable text files.
5886         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
5887         Use newline as a separator, not space.
5888         * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
5889         (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
5890         space.
5892 2005-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5894         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
5895         as_func_*.  Add test to check whether positional parameters
5896         are restored after function return.
5898 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
5900         * doc/autoconf.texi (Special Shell Variables): Mention _,
5901         BIN_SH, DUALCASE.  Say that variables other than "status" are safe
5902         if they contain a lower-case letter.  The DUALCASE problem was
5903         reported by Ralf Wildenhues.
5905         * bin/autoconf.as: Don't exit with status 0 after write failure
5906         with --help or --version.
5907         * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
5908         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
5910 2005-02-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5912         * doc/autoconf.texi (Limitations of Usual Tools):
5913         Unicos 9 sed limitations.
5914         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
5915         to get the option-enhanced interface on older Crays.  Try ftn for
5916         Fortran 95 (newer Crays).
5918 2005-02-01  Paul Eggert  <eggert@cs.ucla.edu>
5920         * man/Makefile.am (.x.1): Go back to the simple solution, but take
5921         care to echo the commands, so the user knows what's going on.
5922         Modified from a suggestion by Stepan Kasal.
5924         * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
5925         with a cross reference.  Derived from a suggestion by Bruce Korb.
5927 2005-01-31  Paul Eggert  <eggert@cs.ucla.edu>
5929         * doc/autoconf.texi (config.status Invocation): Warn about
5930         discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
5931         * doc/install.texi (Defining Variables): Likewise.
5932         Based on a proposed patch by Ralf Wildenhues.
5934         * man/Makefile.am (.x.1): Make sure the required generated files
5935         are up to date.  Problem and original solution proposed by Stepan Kasal.
5936         $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
5937         implicit-man-prerequisites): New rules, used by the above.
5939         * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
5940         * config/config.guess, config/config.sub, config/install-sh: Likewise.
5941         * config/missing, config/texinfo.tex: Likewise.
5943 2005-01-29  Stepan Kasal  <kasal@ucw.cz>
5945         Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
5946         Update the long comment explaining it.
5948         m4_require no longer writes an ``is required by'' line to the
5949         execution stack.  It contains only one bit of non-redundant
5950         information: that the macro was required, not called.  And even
5951         this bit is useless in most situations: have you ever met a macro
5952         which both calls and requires the same macro?
5954         * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
5955         (_m4_defun_pro_outer): ... only via this macro, for the outermost
5956           macro.
5957         (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
5958         (m4_expansion_stack_pop): Remove the misplaced comment.
5959         (m4_require): Don't put the ``is required by'' line to the
5960           execution stack; slightly improve the out-of-a-defun error message.
5961         (_m4_divert_grow): New macro, counter for the temporary diversions.
5962         (_m4_require_call): Use it.
5963         * tests/m4sugar.at (m4_require): Expect output without the
5964           ``is required by'' messages.
5966 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
5968         * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
5969         rather than x for expr.
5971         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
5972         this is safe.
5973         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
5974         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
5975         * lib/autotest/general.m4 (AT_INIT): Likewise.
5976         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
5977         * tests/mktests.sh: Likewise.
5979 2005-01-27  Akim Demaille  <akim@epita.fr>
5981         Have autoheader honor --force.
5983         * doc/make-stds.texi, doc/standards.texi: Update from masters.
5984         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
5985         * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
5986         from masters, so that FileUtils.pm's update_file provide --force
5987         support.
5988         * bin/autoheader.in: Pass $force to update_file so that
5989         config.h.in is always recreated when --force.
5991 2005-01-24  Stepan Kasal  <kasal@ucw.cz>
5993         * doc/autoconf.texi (Introduction): Update Peter Simons' address.
5995 2005-01-21  Paul Eggert  <eggert@cs.ucla.edu>
5997         * doc/autoconf.texi (Limitations of Builtins): Clarify that
5998         "if test ! -d foo; ..." is portable.  Suggested by Stepan Kasal.
6000 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
6002         * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
6003         Warn about newline stripping in `` and $().  Update Solaris
6004         version to 9.
6005         (Limitations of Builtins): Use expr "X...", not expr "x...", as
6006         X insulates us from future changes to Posix.
6007         (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
6008         stripping.
6010 2005-01-19  Stepan Kasal  <kasal@ucw.cz>
6012         * doc/autoconf.texi (Defining Symbols): Delete the false comment that
6013           you cannot use AC_DEFINE to define macros containing `[' or `]'.
6015 2005-01-13  Paul Eggert  <eggert@cs.ucla.edu>
6017         * doc/autoconf.texi (Limitations of Usual Tools): Document bug
6018         in Solaris 8 join.  Problem reported by Tomohiro Suzuki on
6019         bug-tar mailing list.
6021 2005-01-05  Stepan Kasal  <kasal@ucw.cz>
6023         * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
6025 2005-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6027         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
6028         ulongval to be static, to avoid unwanted GCC warning.  Problem
6029         reported by Michael Jennings via Daniel Reed; see
6030         <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
6032 2005-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
6034         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
6035         docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
6036         datadir, infodir, and mandir.  Adjust argument parsing code.
6037         (_AC_INIT_HELP): Update help text.
6038         * doc/autoconf.texi (Installation Directory Variables): Document
6039         new variables.
6041 2005-01-04  Noah Misch  <noah@cs.caltech.edu>
6043         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
6044         not seem to work, assume it does set $(MAKE).
6045         * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
6047 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
6049         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
6051 2005-01-03  Stepan Kasal  <kasal@ucw.cz>
6053         A cleanup of the diversion support in m4sugar.
6055         * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
6056         (_m4_divert_n_stack): New macro; the expansion is
6057           <newline>m4_divert_stack, if m4_divert_stack is defined, and void
6058           otherwise.
6059         (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
6060         (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
6061           stored in _m4_divert_diversion or _m4_divert_dump.
6062         (m4_divert_pop): When the parameter is given, compare the symbolic
6063           name with the last diversion pushed on the stack.  Previously, the
6064           current diversion was compared with the numeric value of the
6065           diversion given as the parameter.
6066         (m4_require): If the macro hasn't been expanded yet, call ...
6067         (_m4_require_call): this new macro.
6069 2005-01-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6071         * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
6072         Workarounds for documented `case' limitations.
6074 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
6076         * doc/autoconf.texi (Limitations of Usual Tools): Warn about
6077         sed 'command1;command2'.  Problem reported by Ralf Wildenhues.
6079 2005-01-02  Paul Eggert  <eggert@cs.ucla.edu>
6081         * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
6082         bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6083         bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
6085         Patch from Roger Leigh (with some minor changes) as follows:
6086         * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
6087         Resurrect AC_PROG_CC_STDC.
6088         * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
6089         AC_PROG_CC_C89, AC_PROG_CC_C99.
6090         (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
6091         * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
6092         AC_PROG_CC_C99): New macros.
6093         (AC_PROG_CC_STDC): Use them.
6094         (_AC_PROG_CC_STDC): Remove.
6095         (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
6096         * THANKS: Add Roger Leigh.
6098 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
6100         * bin/autoreconf.in (autoreconf_current_directory):  AM_INIT_AUTOMAKE
6101         signals that the package uses Automake; a `Makefile.am' is typical but
6102         not essential.  Reported by Magnus Therning.
6103         * tests/torture.at (autoreconf.): New banner.
6104         (autoreconf and non-AC configure): Rename to `Non-Autoconf
6105         AC_CONFIG_SUBDIRS'.
6106         (autoreconf an empty directory): Rename to `Empty directory'.
6107         (Unusual Automake input files): New test.
6109 2004-12-30  Noah Misch  <noah@cs.caltech.edu>
6111         * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
6112         (AT_SETUP): Clear AT_capture_files.
6113         (_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
6114         (AT_KEYWORDS): Fix comment typo.
6115         * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
6116         * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
6117         * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
6119 2004-12-29  Albert Chin-A-Young  <china@thewrittenword.com>
6121         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
6122         If the variable to set is already set, set ac_cv_path_$1
6123         to the preset value so caller can assume ac_cv_path_$1
6124         is available.  (trivial change)
6126 2004-12-27  Noah Misch  <noah@cs.caltech.edu>
6128         * BUGS (Minor Problems): Warn about makefile limitations.
6129         * Makefile.am: Find and update `INSTALL' in $(srcdir).
6130         * man/Makefile.am: Find and update manual pages in $(srcdir).
6132 2004-12-24  Eric Blake  <ebb9@byu.net>
6134         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
6135         shells in subshell, to avoid noise from ash.  (trivial change)
6137 2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6139         * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
6140         problems with SunOS ksh and backslash escaping, Bourne shells and
6141         closing brackets (both within character classes).  Bug reported
6142         against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
6143         <read>: New entry.  Mention non-availability of -r.
6145 2004-12-21  Akim Demaille  <akim@epita.fr>
6147         * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
6148         avoid cluttering displayed messages.  Rather, prepend srcdir where
6149         AT_LINE is used for log files.
6151 2004-12-21  Stepan Kasal  <kasal@ucw.cz>
6153         * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
6154         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
6155           no longer part of the macro, quote the occurrence of ``$tmp''.
6156         * doc/autoconf.texi (Forbidden Patterns): Typo.
6158 2004-12-21  Akim Demaille  <akim@epita.fr>
6160         * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
6161         separated from the test title by forcing a white space.
6163 2004-12-21  Akim Demaille  <akim@epita.fr>
6165         Enable Emacs navigation within testsuite.log files.
6167         * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
6168         use the compilation mode.
6169         (AT_LINE): Point to the srcdir.
6171 2004-12-19  Noah Misch  <noah@cs.caltech.edu>
6173         * tests/Makefile.am (installcheck-local): Use $(bindir).
6174         (check-local, installcheck-local): Pass TESTSUITEFLAGS.
6175         * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
6176         Makefile.am scheme Autoconf now uses.
6178 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
6180         * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
6181         * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
6183 2004-12-18  Noah Misch  <noah@cs.caltech.edu>
6185         * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
6186         (_AT_CHECK): Use it.
6187         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
6188         (AS_ESCAPE): Fix comment.
6189         * tests/autotest.at: Adjust section banner comments.
6190         (AT_CHECK_AT): Accept STATUS and STDERR.
6191         (AT_CHECK_AT_TEST): Likewise.
6192         (Invalid brace-enclosed parameter expansion)
6193         (Multiline command from M4 expansion)
6194         (Double-M4-quoted command): New tests.
6196 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
6198         * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
6200 2004-12-17  Akim Demaille  <akim@epita.fr>
6202         * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
6203         m4_pattern_allow.
6204         Suggested by Alexandre Duret-Lutz.
6205         * doc/autoconf.texi (Setting Output Variables): Catch up.
6207 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6209         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
6211 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6213         * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
6214           remove the comment which said we cannot.
6216 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6218         Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
6219         Reini Urban and Paul Eggert for reporting the dependencies.
6221         * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
6222         * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
6223         (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
6225 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
6227         * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
6228           so that eg. ``autoscan --help'' doesn't truncate it.
6230 2004-12-15  Nicolas Joly  <njoly@pasteur.fr>
6232         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
6233         generated conftest files.
6235 2004-12-13  Noah Misch  <noah@cs.caltech.edu>
6237         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
6238         tracing on commands with possibly-escaped newlines.
6239         * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
6240         discontinued behavior and its implications.
6241         * tests/autotest.at (BS-newline in command, ^BS-newline in command)
6242         (BSx641-newline in command, BS-BS-newline in command)
6243         (BSx640-newline in command, Newline-CODE-BS-newline in command)
6244         (Single-quote-BS-newline in command)
6245         (Single-quote-newline-BS-newline in command): New tests.
6247 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
6249         * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
6250           on platforms where it works.
6251         (_AS_TEST_PREPARE): Test for ``test -x''.
6252         (_AS_BROKEN_TEST_PREPARE): Nuke.
6254 2004-12-13  Stepan Kasal  <kasal@ucw.cz>
6256         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
6257         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
6258           give only 4-letter prefix to AS_TMPDIR, comment fixed.
6259         * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
6260           create the temporary directory.
6261         (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
6263 2004-12-12  Kelley Cook  <kcook@gcc.gnu.org>
6265         * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
6266         (trivial change)
6268 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
6270         * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
6272 2004-12-11  Noah Misch  <noah@cs.caltech.edu>
6274         * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
6275         to avoid using a negated character class.  Reported by Nicolas Joly.
6276         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
6278 2004-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6280         * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
6281         autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
6282         Don't depend on .x file explicitly, since "make" does that for us.
6283         Suggested by Stepan Kasal.
6285         * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
6286         Add *.tmp.
6287         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
6288         ifnames): Factor common code.  And they said it couldn't be done!
6290 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
6292         * bin/.cvsignore: Add autoconf.in.
6293         * tests/.cvsignore: Add wrapper.in.
6294         * lib/autotest/general.m4: Escape '$' in case pattern.
6296 2004-12-09  Noah Misch  <noah@cs.caltech.edu>
6298         * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
6300         * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
6302         * tests/autotest.at: New file.
6303         * tests/suite.at: Include it.
6304         * tests/Makefile.am: Distribute it.
6306         * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
6307           shell tracing on a command that could contain multiple lines.
6308         * doc/autoconf.text: Document that fact and its implications.
6309         * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
6310         * tests/autotest.at (Multiline backquote command substitution,
6311           Multiline parameter expansion, Literal multiline command,
6312           Multiline parenthetical command substitution): Remove XFAIL.
6314 2004-12-09  Paul Eggert  <eggert@cs.ucla.edu>
6316         * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
6317         and suggest AC_SEARCH_LIBS.  Suggested by Noah Misch and Stepan Kasal.
6319 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
6321         * configure.ac (test suite): Cease to generate wrapper scripts.
6322         * configure: Regenerate.
6323         * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
6324         (m4f_dependencies): Adjust accordingly.
6325         * tests/Makefile.am (Wrappers): Generate wrapper scripts.
6326         (wrapper.in): Generate it in the build directory.
6327         (MAINTAINERCLEANFILES): Delete wrapper.in.
6328         (CLEANFILES): Add wrapper.in.
6329         * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
6330         the output.  Replace each $as_me with a @wrap_program@.
6331         * tests/wrapper.in: Delete it; we always build it.
6333         * bin/Makefile.am (autoconf.in): Generate it in the build directory.
6334         (EXTRA_DIST): Remove autoconf.in.
6335         (CLEANFILES): Add autoconf.in.
6336         (autoconf): Find autoconf.in in the build directory.
6337         * bin/autoconf.in: Delete it; we always build it.
6339 2004-12-08  Noah Misch  <noah@cs.caltech.edu>
6341         * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'.  Join
6342         PATH members so as to not prepend an empty element.  Move a comment.
6343         * Makefile.am (SUBDIRS): Build in `tests' last.
6344         * tests/Makefile.am (installcheck-local): Add check-local dependencies.
6346 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
6348         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
6349         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
6350         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
6351         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
6353 2004-12-07  Stepan Kasal  <kasal@ucw.cz>
6355         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
6356         patch: extra "-l"s.
6358 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
6360         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
6361         looking elsewhere for getmntent.  Problem reported by Mark D. Baushke.
6362         * doc/autoconf.texi (Particular Functions): Mention new behavior.
6364 2004-12-03  Stepan Kasal  <kasal@ucw.cz>
6366         * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
6367           out the common code to ...
6368         (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
6369           value of the #define--default to 1, iff the macro was called
6370           with exactly one parameter.
6372 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
6374         * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
6375         "char c = '\200';" rather than "char c = 0x80;" as the
6376         latter doesn't conform to the strict C standard due to
6377         overflow on signed char hosts.
6379         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
6380         to -qlanglvl=ansi.  We don't want to disable extensions.
6382 2004-11-29  Paul Eggert  <eggert@cs.ucla.edu>
6384         * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
6385         (Using Autotest, testsuite Scripts, Writing testsuite.at):
6386         Reword slightly to avoid some English-language problems noted
6387         by Ralf Wildenhues in:
6388         http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
6390 2004-11-29  Stepan Kasal  <kasal@ucw.cz>
6392         * NEWS: Add ^L above each release.
6394 2004-11-28  Paul Eggert  <eggert@cs.ucla.edu>
6396         Fix documentation problems reported by Russ Boylan in
6397         <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
6398         along with some nearby cruft.
6399         * doc/autoconf.texi (Libtool): Libtool can be used without
6400         Automake (not without Autoconf).
6401         (Introduction): Mention lists.gnu.org.
6402         * BUGS: Don't mention bugs.gnu.org.
6403         Remove mention of ancient libtool compatibility problem.
6404         * NEWS: Mention that bugs.gnu.org is kaput.
6405         * README: Likewise.  Mention where mailing list archives can be found.
6407 2004-11-28  Stepan Kasal  <kasal@ucw.cz>
6409         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
6411 2004-11-26  Paul Eggert  <eggert@cs.ucla.edu>
6413         * doc/autoconf.texi (Pretty Help Strings): Go back to
6414         single-quoting assignments to cache variables.
6416 2004-11-23  Stepan Kasal  <kasal@ucw.cz>
6418         * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
6419         with the examples; fix the bug in MY_ARG_WITH example reported
6420         by Alexandre Duret-Lutz.
6421         * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
6422         expansion of $1 in the comment emitted to configure.
6424 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
6426         * doc/autoconf.texi (Pretty Help Strings): Fix typo
6427         in my editing of the previous patch.  Problem reported
6428         by Alexandre Duret-Lutz.
6430 2004-11-22  Stepan Kasal  <kasal@ucw.cz>
6432         * doc/autoconf.texi (Autoconf Language): Explain that
6433         ``descriptions'' may not be double quotes.
6434         (Quotation Rule Of Thumb): Likewise.
6435         (Pretty Help Strings): Likewise; remove the wrong comment;
6436         simplify the examples and improve their quoting.
6438 2004-11-13  Stepan Kasal  <kasal@ucw.cz>
6440         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
6441         the $1_found variable, don't test whether the file is executable;
6442         Both things are checked ...
6443         (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
6444         the former ``test -f''.
6445         * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
6447 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
6449         * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
6450         use cp -R instead.
6452 2004-11-10  Derek R. Price  <derek@ximbiot.com>
6454         * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
6455         limitations.  Reorder paragraphs for clarity.
6457 2004-10-11  Paul Eggert  <eggert@cs.ucla.edu>
6459         * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
6460         to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
6461         variants", "Unix", and some related minor wording fixups.
6463         (Shellology, Special Shell Variables): Document that the Zsh
6464         problem with NULLCMD was fixed in zsh 3.1.6-dev-18.  Thanks
6465         to Alexandre Duret-Lutz for this info.
6467 2004-10-10  Alexandre Duret-Lutz  <adl@gnu.org>
6469         * doc/autoconf.texi (One-Shot Macros): New node.
6471 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
6473         * doc/autoconf.texi (Function Portability): Fix misdescription
6474         of putenv.  Problem reported by Michael Wardle.
6476 2004-09-22  Paul Eggert  <eggert@cs.ucla.edu>
6478         * doc/autoconf.texi (auindex): New macro.
6479         (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
6480         Problem reported by Stepan Kasal.
6482 2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
6484         Fix problems reported by Andreas Buening in:
6485         http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
6486         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
6487         in test makefile.
6488         * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
6489         readable; it's not true in OS/2-emx.
6491 2004-09-04  Paul Eggert  <eggert@cs.ucla.edu>
6493         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
6494         "/usr/include", clear ac_x_includes instead of leaving it as "no"
6495         (trivial change).  Problem and patch reported by Andrew Church in:
6496         http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
6498 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
6500         * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
6501         three args in examples.  Problem reported by Frederik Fouvry in:
6502         http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
6503         Also, fix some minor spacing and punctuation bugs.
6505 2004-09-02  Akim Demaille  <akim@epita.fr>
6507         * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
6508         "case" to restore ordering.
6509         Reported by Stepan Kasal.
6511 2004-08-26  Akim Demaille  <akim@epita.fr>
6513         * doc/autoconf.texi: Minor typos and stylos.
6515 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
6517         * configure.ac (AC_INIT): Bump to 2.59c.
6519 2004-08-20  Paul Eggert  <eggert@cs.ucla.edu>
6521         Version 2.59b.
6523         * README: Add advice about m4 1.4.2.
6525         * Makefile.cfg (wget_files): Remove config.guess, config.sub,
6526         texinfo.tex for now (done by hand now).
6527         * Makefile.maint (wget_files, cvs_files):
6528         Remove ansi2knr.c; nobody uses it.
6529         (ansi2knr.c-url_prefix): Remove.
6530         (cvs-update): Fix test for failure.  I don't know why it ever
6531         worked...
6533         * doc/autoconf.texi: Update URLs, some of which went stale.
6534         Use @uref rather than @href.
6536         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
6537         handle "--" as per POSIX.  Suggested by Paul Pogonyshev.
6539         * config/config.guess, config/config.sub, config/elisp-comp,
6540         config/install-sh, config/mkinstalldirs, config/texinfo.tex,
6541         doc/fdl.texi, doc/standards.texi: Sync with master copy.
6543         * NEWS, TODO, configure.ac, bin/autoscan.in,
6544         bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
6545         doc/install.texi, lib/Autom4te/Configure_ac.pm,
6546         lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
6547         lib/autoconf/programs.m4, lib/autoconf/status.m4,
6548         lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
6549         lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
6550         tests/tools.at, tests/torture.at:
6551         Use "file name" rather than "filename" or "path",
6552         to be consistent with the terminology of the GNU coding standards.
6554 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
6556         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
6557         AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
6558         HP-UX 11.23 cc/aCC or Tru64 4.0 cc.  Problem reported by Noah Misch in
6559         <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
6561         More fixes to support spaces in the name of the build directory.
6562         This isn't a complete fix but it's an improvement.
6564         * bin/autoconf.as (autom4te_options): New var.
6565         Use it instead of appending to AUTOM4TE, so that we can allow
6566         spaces in the build directory's absolute name.
6567         * bin/autoheader.in ($autoconf): Allow spaces in file names.
6568         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
6569         AT_CHECK_NOESCAPE): Likewise.
6570         * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
6571         main program): Likewise.
6573 2004-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6575         * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
6576         From Ralf Corsepius in:
6577         http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
6579 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
6581         * doc/autoconf.texi (Function Portability): Document isinf and
6582         and isnan.  From a suggestion by Kevin Ryde.
6584         * lib/Autom4te/General.pm (END): Return correct exit status even
6585         if unlink succeeds and sets $?.  Needed with Solaris 8's perl 5.00503.
6587 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
6589         * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
6590         for compatibility with Automake 1.4.  Reported by J C Fitzgerald in
6591         <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
6593 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
6595         * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
6596         (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
6597         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
6598         * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
6599         * lib/autom4te.in (Automake-preselections): Preselect
6600         AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
6602 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
6604         * lib/autom4te.in (Automake-preselections): Preselect
6605         AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
6606         trace them.
6608 2004-07-29  Paul Eggert  <eggert@cs.ucla.edu>
6610         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
6611         Tru64.
6612         * doc/autoconf.texi (Shellology): Mention BIN_SH.
6613         Document problem with "`""`" in pdksh POSIX mode.
6615 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
6617         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
6618         with pdksh, too.  Problem reported by Patrick Welche via
6619         Gary V. Vaughan.
6620         * doc/autoconf.texi (Shellology): Note that set -o posix is
6621         useful for pkdsh, too.
6623 2004-06-24  Paul Eggert  <eggert@cs.ucla.edu>
6625         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
6626         _AS_UNSET_PREPARE, so that we can use $as_unset directly.
6627         Don't fail if ENV or BASH_ENV is readonly.
6628         (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
6629         etc. are read only.  Problem reported by Ludovic Courtes.
6631 2004-06-23  Noah Misch  <noah@cs.caltech.edu>
6633         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
6634         zsh, disable GLOB_SUBST to avoid backslash handling problems.
6635         (trivial change)
6637 2004-06-04  Paul Eggert  <eggert@cs.ucla.edu>
6639         * doc/autoconf.texi (File System Conventions): Warn about
6640         names like "aux".  Problem reported by Eric Blake.
6642         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
6643         by zero instead of array size, so that we can use any arithmetic
6644         constant expression (instead of requiring an integer constant
6645         expression).  This allows us to test expressions like DBL_MAX <
6646         LDBL_MAX, which didn't conform to the C standard using the old
6647         method.
6648         (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
6649         now that we can do floating-point tests at compile time.
6651 2004-06-02  Paul Eggert  <eggert@cs.ucla.edu>
6653         * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
6654         and LDBL_EPSILON, as the resulting expression isn't an
6655         integer constant expression and violates the C standard.
6656         Problem reported by Nelson H. F. Beebe.  Also, check
6657         for "L" suffix, and check that long double doesn't have
6658         worse range or precision than double, that mixed-mode
6659         arithmetic doesn't generate a diagnostic, that double
6660         constants fit in long double.
6662 2004-06-03  Kevin Ryde  <user42@zip.com.au>
6664         * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
6665         malloc(0) and realloc(NULL,size).
6667         * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
6668         Bob Proulx.
6670 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
6672         * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
6673         in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].  Problem reported
6674         by Jim Meyering.
6676 2004-05-26  Paul Eggert  <eggert@cs.ucla.edu>
6678         * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
6679         can be rewritten using if-then-else.  Suggested by Bruno Haible.
6681 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
6683         * doc/autoconf.texi (testsuite Scripts): Fix typo.
6684         Problem reported by Stepan Kasal.
6686 2004-05-24  Paul Eggert  <eggert@cs.ucla.edu>
6688         * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
6689         change).  Patch reported by Ralf Wildenhues in
6690         <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
6692         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
6693         function F exists if the compiler and linker let you compile an
6694         expression like (F != 0).  Recent versions of GCC optimize away
6695         the reference to F in that case, since every function address must
6696         be nonzero, so the link succeeds even if F does not exist.
6697         Problem reported by Manu in
6698         <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
6700         * doc/autoconf.texi (Systemology): Standardize on the spelling of
6701         "Unix".  Many uses changed.
6702         (Limitations of Builtins): Explain better why the ! command isn't
6703         portable.
6705 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
6707         * lib/autom4te.in (Automake-preselections): Preselect
6708         LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
6710 2004-05-19  Kevin Ryde  <user42@zip.com.au>
6712         * doc/autoconf.texi (Function Portability): Add strerror_r, cross
6713         referencing AC_FUNC_STRERROR_R.
6715         * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
6716         note pessimistic assumption when cross compiling.
6718 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
6720         * doc/autoconf.texi (Limitations of Make): Note that BSD make
6721         (until 2004) invoked subcommands with sh -e, contra POSIX.
6722         Reported by Kevin Ryde.
6724 2004-05-10  Eric Sunshine  <sunshine@sunshineco.com>
6726         * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
6727         _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
6728         "        $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
6729         `test -f "        /usr/bin/grep"', which _always_ failed.
6730         (AC_PROG_SED): Ditto bogus PATH fix.
6731         * autoconf.texi (AC_PROG_GREP): Properly document that this macro
6732         requires that grep correctly supports _multiple_ `-e' options, rather
6733         than stating only that grep should accept `-e'.
6735 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
6737         Port to C99, which requires that 'exit' be declared.
6739         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
6740         to ensure that stdlib.h is included.
6741         * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
6742         AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
6743         _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
6744         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6745         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
6746         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
6747         when using 'exit' in a test; C99 requires that 'exit' be declared.
6749 2004-05-02  Paul Eggert  <eggert@cs.ucla.edu>
6751         * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
6752         now prefers 'grep' implementations that accept -e.
6753         (Limitations of Usual Tools): Describe problems of traditional
6754         egrep and fgrep with long input lines, and of traditional grep
6755         with -e.
6756         * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
6757         (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
6758         All callers changed.  Append /usr/xpg4/bin to the PATH, for
6759         Solaris.
6760         (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
6761         the user with complaints about multiple -e options.
6762         * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
6763         Define it with AC_PROG_GREP.
6764         * configure.ac (AC_PROG_GREP): Add.
6765         * lib/freeze.mk (GREP): New macro.
6767 2004-05-02  Eric Sunshine  <sunshine@sunshineco.com>
6769         * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
6770         a possible candidate only after all others fail, rather than
6771         consulting it first.  This improves backward compatibility by
6772         better reflecting the way shell selection occurred in previous
6773         versions of Autoconf, and should help to avoid triggering latent
6774         problems in other packages, such as the one in Automake where zsh
6775         is not handled robustly:
6776         http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
6777         Although it is not Autoconf's responsibility to work around
6778         problems in Automake, it nevertheless makes sense to avoid
6779         introducing unnecessary incompatibilites.
6781 2004-04-22  Albert Chin-A-Young  <china@thewrittenword.com>,
6782             Gary V. Vaughan  <gary@gnu.org>
6784         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
6785         how deeply nested we are when a suitable tool is found, set the
6786         ac_path_TOOL_found flag.
6787         (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
6788         nested we are in this macro.  Break out of all 3 nested loops if
6789         ac_path_TOOL_found is set.
6791 2004-04-21  Gary V. Vaughan  <gary@gnu.org>
6793         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
6794         of the _AS_PATH_WALK loop too if GNU flavor is found.
6796 2004-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
6798         * doc/autoconf.texi (Limitations of Make): Update documentation
6799         for `$<'.  New entry `Long lines', based on a report from Simon
6800         Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
6801         paragraph about DJGPP, based on a mail from Richard Dawe.
6803 2004-04-20  Paul Eggert  <eggert@twinsun.com>
6805         * tests/c.at (C keywords): Don't assume that GCC supports
6806         "restrict" and "inline", as sufficiently-old GCC versions do not
6807         (also, GCC configured to be in pedantic C89 mode does not).
6808         Problem reported by Sumit Pandya in:
6809         http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
6811         * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
6812         consider -g to work if it generates warnings when plain compiles
6813         don't.  Problem reported by Braden McDaniel in:
6814         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
6816         * doc/autoconf.texi (Slashes): New section, to document a problem
6817         reported by Jim Meyering in:
6818         http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
6820         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
6821         linker output files before linking, to work around IRIX 6 linker bug.
6822         Problem reported by Rainer Orth in:
6823         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
6825 2004-04-20  Gary V. Vaughan  <gary@gnu.org>
6827         * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
6828         best tool so far counter rely on the tool path variable name to
6829         avoid checks for one tool being affected by the results of running
6830         the length check on a previous tool.
6832         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
6833         match expression argument, as different greps have different
6834         regular expression flavours.
6835         (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
6836         literals.
6837         (AC_PROG_EGREP): Pass 'EGREP$'.
6838         (AC_PROG_GREP): Pass 'GREP$'.
6840 2004-04-20  Albert Chin-A-Young  <china@thewrittenword.com>
6842         * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
6843         is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
6845 2004-03-29  Paul Eggert  <eggert@twinsun.com>
6847         * doc/autoconf.texi (Particular Headers, Particular Types, Generic
6848         Types, Specific Compiler Characteristics, System Services,
6849         Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
6850         etc. consistently instead of 'long', 'short', 'unsigned' etc.
6851         * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
6852         * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
6853         Likewise.
6854         * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
6855         * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
6856         AC_TYPE_OFF_T): Likewise.
6857         * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
6858         Likewise.
6860         * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
6861         pacify libtool 1.5.2.  Fix quoting problems in sed command.
6863 2004-03-28  Paul Eggert  <eggert@twinsun.com>
6865         * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
6866         now defines HAVE_DECL_TZNAME if it is declared, when
6867         HAVE_STRUCT_TM_TM_ZONE is not defined.
6868         * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
6869         Do not assume atoi.  Rely on HAVE_DECL_TZNAME when testing
6870         for HAVE_TZNAME.
6872 2004-03-28  Steven G. Johnson  <stevenj@fftw.org>
6874         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
6875         superfluous backslashing of quotes (") in sed expressions;
6876         thanks to Paul Eggert.
6878 2004-03-26  Steven G. Johnson  <stevenj@alum.mit.edu>
6880         * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
6881         Fortran compiler is ifort, also added pghpf; thanks to Nelson
6882         H. F. Beebe for the bug report.
6884 2004-03-26  Steven G. Johnson  <stevenj@fftw.org>
6886         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
6887         quoted -cmdline argument in Portland Group compiler (bug
6888         reported by Jeffrey J. Barteet).
6890 2004-03-25  Kevin Ryde  <user42@zip.com.au>
6892         * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
6893         (Run Time): ... here, where it's now mentioned.
6895 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
6897         * doc/autoconf.texi (autom4te Invocation): Language Autoconf
6898         inherits from language Autoconf-without-aclocal-m4.
6899         (Customizing autom4te): Adjust example; the cache must now be
6900         disabled for language Autoconf-without-aclocal-m4.
6902 2004-03-16  Paolo Bonzini  <bonzini@gnu.org>
6903             Nathanael Nerode  <neroden@twcny.rr.com>
6905         * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
6906         AC_CHECK_TOOLS): Warn if a cross-tool is found without
6907         a prefix.
6908         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
6909         AC_CHECK_TARGET_TOOLS): New macros.
6910         * doc/autoconf.texi (Generic Programs): Document
6911         (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
6912         AC_CHECK_TARGET_TOOLS, and warn for future changes
6913         in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
6914         AC_CHECK_TOOLS.
6915         (Specifying Names): Document the reason for these future
6916         behavioral changes.
6917         * tests/mktests.sh: Do not generate tests for the
6918         new macros.
6919         * NEWS: Document these changes.
6921         * doc/autoconf.texi: Avoid macros with unbraced arguments,
6922         they make TeX hang up.
6924 2004-03-15  Paul Eggert  <eggert@bogus.example.com>
6926         * NEWS: New macro AC_CHECK_ALIGNOF.
6927         * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
6928         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
6929         int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
6930         vowel.
6931         (AC_CHECK_ALIGNOF): New macro.
6932         * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
6933         * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
6934         those for sizeof.
6936 2004-03-03  Paul Eggert  <eggert@twinsun.com>
6938         * bin/Makefile.am (edit): Don't use $< in a context where
6939         POSIX doesn't require support for it.  Use $@.in instead.
6940         Problem reported by Anthony N. Frasso in
6941         <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
6942         * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
6944 2004-02-23  Gary V. Vaughan  <gary@gnu.org>
6946         * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
6947         from the next generation of Libtool.
6948         * lib/autom4te.in (Autoreconf-preselections): Ditto.
6950 2004-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
6952         * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
6953         is not always thread-safe.  Report from Nathanael Nerode.
6955 2004-02-18  Paul Eggert  <eggert@twinsun.com>
6957         Fix a dependencies problem, stemming from a Autoconf 2.59 build
6958         problem on QNX reported by Stephen Rasku in
6959         <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
6961         * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
6962         $(m4sh_m4f_dependencies); this removes a FIXME.
6963         * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
6964         (MAINTAINERCLEANFILES): Split into pieces,
6965         one per related section.  Add $(srcdir)/wrapper.in.
6967 2004-02-09  Paul Eggert  <eggert@twinsun.com>
6969         * doc/autoconf.texi (Setting Output Variables): Emphasize that
6970         AC_SUBST provides no portable way to escape literal newlines.
6972         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
6973         flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
6974         Darwin uses -lcrt2.o and there's little point to cataloging all
6975         the system variants.  Partial fix reported by Andreas Waechter in:
6976         http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
6977         for bug reported by Nelson H. F. Beebe in:
6978         http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
6980 2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
6982         * doc/autoconf.texi (AU_DEFUN): Fix English,
6983         suggested by Paul Eggert.
6984         * lib/autoconf/autoupdate.m4: Correct reference to
6985         acobsolete.m4, suggested by Alexandre Duret-Lutz.
6987 2004-02-02  Paolo Bonzini  <bonzini@gnu.org>
6989         * bin/autoupdate.in: Define __file__ so that warnings
6990         refer to the correct file.
6991         * doc/autoconf.texi (AU_DEFUN): Describe more correctly
6992         the behavior of the third argument.
6993         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
6994         correctly the behavior of the third argument.  Document
6995         what the three macros that AU_DEFUN defines do.  Fix
6996         warning message when the third argument includes $0
6997         (reported by Alexandre Duret-Lutz).
6999 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
7000             Eric Sunshine  <sunshine@sunshineco.com>
7001             Paul Eggert  <eggert@twinsun.com>
7003         * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
7004         (AS_INIT): Output shell initialization there. Removed optional
7005         parameter. Expand _AS_SHELL_FN_SPY.
7006         (AS_INIT_WITH_SHELL_FN): Removed.
7007         (_AS_SHELL_FN_SPY): New macro.
7008         (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
7009         macros.
7010         (AS_SHELL_SANITIZE): Remove loop to find better shell
7011         and documentation for the parameter.
7012         (_AS_DETECT_BETTER_SHELL): Move it here.
7013         (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
7014         (_AS_RUN): Move it here, support testing with eval.
7015         (AS_REQUIRE_SHELL_FN): Require shell functions when
7016         it is used.
7017         (_AS_LINENO_WORKS): Put around braces, we do not
7018         trigger the bash bug anymore.
7019         * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
7020         use AS_INIT_WITH_SHELL_FN.
7021         * bin/autoconf.in, tests/wrapper.in: Regenerated.
7023 2004-01-30  Paolo Bonzini  <bonzini@gnu.org>
7025         * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
7026         * doc/autoconf.texi: Don't say that the third parameter
7027         is broken.
7028         * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
7029         (AU_DEFUN): Honor the third parameter, create autoupdate
7030         macros with AU_DEFINE.
7031         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
7032         AC_DIR_HEADER): Use AU_DEFUN's third parameter.
7033         * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
7034         * lib/autoconf/programs.m4 (AC_RSH): Likewise.
7035         * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
7036         AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
7037         AC_XENIX_DIR): Likewise.
7038         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
7039         AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
7040         * lib/autoconf/status.m4: Remove FIXME.
7041         * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
7042         that the macro is not present anymore in the updated
7043         configure.ac.
7044         * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
7045         of autoupdate.
7047 2004-01-28  Paul Eggert  <eggert@twinsun.com>
7049         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
7050         copyright years.
7051         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
7052         2003 (except 1997) to the list of copyright years.  This undoes
7053         the 2003-05-22 change, which removed the older years from the list.
7054         * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
7056 2004-01-27  Gary V. Vaughan  <gary@gnu.org>
7057             Albert Chin-A-Young  <china@thewrittenword.com>
7059         * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
7060         grep or ggrep program in PATH that accepts as long lines as
7061         possible.
7062         * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
7063         AC_PROG_GREP.
7064         (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
7065         egrep and fgrep respectively if $GREP -E/-F don't work.
7066         (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
7067         _AC_PROG_GREP, and AC_PROG_SED.
7068         (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
7069         longest input length accepted by a command.
7070         (AC_PROG_SED): Use it.
7071         * doc/autoconf.texi (Particular Programs): Document the changes.
7072         * NEWS: Updated.
7074 2004-01-27  Paul Eggert  <eggert@twinsun.com>
7076         * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
7077         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7078         bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
7079         * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
7081         * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
7082         bin/autoconf.in, config/Makefile.in, config/config.guess,
7083         config/config.sub, config/install-sh, config/mdate-sh,
7084         config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
7085         lib/Makefile.in, lib/Autom4te/Makefile.in,
7086         lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
7087         lib/autotest/Makefile.in, lib/emacs/Makefile.in,
7088         lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
7089         man/autoheader.1, man/autom4te.1, man/autoreconf.1,
7090         man/autoscan.1, man/autoupdate.1, man/config.guess.1,
7091         man/config.sub.1, man/ifnames.1, tests/Makefile.in,
7092         tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
7093         tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
7094         tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
7095         tests/actypes.at: Regenerate and/or sync with original
7096         sources.
7098 2004-01-26  Paul Eggert  <eggert@twinsun.com>
7100         * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
7101         HAVE_INTTYPES_H is defined.  This is needed on Tru64 5.1b with
7102         Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
7103         not <inttypes.h>.  Problem reported by Tim Mooney in
7104         <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
7105         * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
7106         Likewise.
7108         * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
7109         otherwise "make check" fails because it forbids cmp (I guess
7110         because cmp treats files as binary on DOS-like systems).
7112         * tests/mktests.sh: Update copyright date to 2004, since some tests
7113         have changed in 2004.
7115 2004-01-23  Gary V. Vaughan  <gary@gnu.org>
7117         * lib/autoconf/programs.m4 (AC_PROG_SED):  New macro to test for a
7118         non-truncating sed or gsed program in PATH.
7119         * tests/acprograms.at: Add it.
7120         * doc/autoconf.texi (Particular Programs): Document it.
7121         * NEWS: Updated.
7123 2004-01-15  Paul Eggert  <eggert@twinsun.com>
7125         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
7126         -std1 disables some useful extensions on Tru64.  Problem reported
7127         by N. Lichtmaier in
7128         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
7130 2004-01-14  Paul Eggert  <eggert@twinsun.com>
7132         * doc/autoconf.texi (Programming in M4sh): Document that
7133         AS_MKDIR_P succeeds if the destination is a symbolic link
7134         to an existing directory.
7135         (Limitations of Usual Tools): Note that mkdir -p might not
7136         succeed on symlinks to directories.
7138 2004-01-13  Paul Hilfinger  <hilfinger@CS.Berkeley.EDU>
7140         * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
7141         * bin/autoheader.in: Grammar fix in message.
7142         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
7143         Test for dir before calling mkdir -p.  (trivial changes)
7145 2004-01-13  Eric Blake  <ebb9@byu.net>
7147         * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
7148         AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
7150 2004-01-10  Jim Meyering  <jim@meyering.net>
7152         * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
7154 2004-01-09  Paul Eggert  <eggert@twinsun.com>
7156         * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
7157         with `autoconf -Wall,error'.  Bug reported by Eric Blake in:
7158         http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
7159         (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
7160         AC_COMPILE_IFELSE, since we now assume our caller invokes
7161         AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
7162         (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
7163         of AC_RUN_IFELSE; this avoids the warning mentioned above.
7164         (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
7166 2004-01-07  Paul Eggert  <eggert@twinsun.com>
7168         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
7169         `"'...'"`, as it's confusing (and I suspect it may not work on
7170         some platforms).  The code was incorrect anyway, as it assumed
7171         that \$ evaluated to itself in that context.  Reported by
7172         Alexandre Duret-Lutz.
7174 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
7176         * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
7177         and _LT_AC_TAGCONFIG.
7179 2004-01-06  Paul Eggert  <eggert@twinsun.com>
7181         * doc/autoconf.texi (One Macro Call): Fix an incorrect
7182         example, and add more examples.  Reported by Eric Sunshine.
7184 2004-01-05  Paul Eggert  <eggert@twinsun.com>
7186         * doc/autoconf.texi (Limitations of Usual Tools):
7187         Remove warning against "rm -fr" introduced yesterday; it
7188         was a false alarm.
7190         * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
7191         autoscan, autoupdate, ifnames): Don't use chmod -w.
7192         * lib/Makefile.am (autom4te.cfg): Likewise.
7193         * doc/autoconf.texi (Limitations of Usual Tools): Warn against
7194         "chmod -w".
7196 2004-01-04  Paul Eggert  <eggert@twinsun.com>
7197             Paolo Bonzini  <bonzini@gnu.org>
7199         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
7200         by doing lineno substitution only on lines containing "$LINENO".
7202 2004-01-04  Paul Eggert  <eggert@twinsun.com>
7204         * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
7205         Use "rm -f" to remove conftest.sed, not plain "rm".
7206         Bug reported by David Relson in
7207         <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
7209         * Makefile.am (autom4te-update):
7210         Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
7211         * Makefile.maint (my-distcheck, do-po-update): Likewise.
7212         * doc/autoconf.texi (Guidelines): Likewise.
7213         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
7214         * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
7215         * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
7216         * lib/autotest/general.m4 (AT_INIT): Likewise.
7217         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
7218         * tests/Makefile.am (clean-local): Likewise.
7219         * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
7220         srcdir): Likewise.
7221         * doc/autoconf.texi (Limitations of Usual Tools):
7222         Warn against "rm -fr".
7224 2004-01-03  Paul Eggert  <eggert@twinsun.com>
7226         * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
7227         -c -o might not work.  From a suggestion by Kevin Ryde.
7228         (C Compiler, Generating Sources, Limitations
7229         of Usual Tools, Limitations of Make, Making testsuite Scripts):
7230         Don't put '-o' after non-options, as POSIX doesn't allow this.
7231         Mention that cc's name might be gcc or c89 or whatever.
7233 2004-01-04  Kevin Ryde  <user42@zip.com.au>
7235         * doc/autoconf.texi: Add various further index entries.
7237 2003-12-29  Paul Eggert  <eggert@twinsun.com>
7239         * bin/autoreconf.in (autoreconf_current_directory):
7240         Fix typo: mkdir without umask arg.
7242 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
7244         * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
7245         Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
7246         `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
7247         explanation clearer.
7249 2003-12-24  Andreas Schwab  <schwab@suse.de>
7251         * doc/autoconf.texi (Default Includes): Fix misspelling of
7252         AC_INCLUDES_DEFAULT.
7254 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
7256         * configure.ac: Test if sh -n works.
7257         * configure: Regenerate.
7258         * tests/atlocal.in: Store the result here.
7259         * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
7260         tools.at, looking in atlocal's ac_cv_sh_n_works instead
7261         of explicitly testing.
7262         (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
7263         (AT_CHECK_AUTOCONF): Test for the configure script syntax.
7264         * tests/tools.at (Syntax of the shell scripts): Simplify
7265         using AT_CHECK_SHELL_SYNTAX.
7266         (Syntax of the Perl scripts): Remove definition of
7267         AT_CHECK_PERL_SYNTAX.
7269 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
7271         * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
7272         stderr to /dev/null.
7273         * bin/autoconf.in: Regenerate.
7274         * bin/wrapper.in: Regenerate.
7276 2003-11-26  Paolo Bonzini  <bonzini@gnu.org>
7278         * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
7279         Extracted from AS_SHELL_SANITIZE.
7280         (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
7281         macros.
7282         (AS_SHELL_SANITIZE): Move reinvocation code from
7283         _AS_LINENO_WORKS, use it to find out if shell
7284         functions work.
7285         (_AS_LINENO_WORKS): Don't find another shell if $LINENO
7286         does not work.
7287         (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
7288         (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
7289         was called.
7290         * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
7291         * bin/autoconf.in: Regenerate.
7292         * tests/wrapper.in: Regenerate.
7293         * tests/tools.at: Test the syntax of tests/autoconf
7294         and tests/testsuite.
7296 2003-11-24  Akim Demaille  <akim@epita.fr>
7298         * config/announce-gen (&print_locations, &print_signatures)
7299         (&sizes): New.
7300         Use them.
7301         No longer rely on Gnus to inline the list of signatures: compute
7302         them on the fly.
7304 2003-11-24  Akim Demaille  <akim@epita.fr>
7306         * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
7307         override some files.
7308         (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
7309         From Debian Autoconf 2.58.
7311 2003-11-24  Akim Demaille  <akim@epita.fr>
7313         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
7314         uses.
7315         From Debian Autoconf 2.58.
7317 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
7319         * TODO: Remove already done things.  Update the part about finding
7320         tools for the target.
7322 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
7324         * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
7325         Make wording more consistent.
7326         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7327         Explain the transition better.
7328         * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
7329         the transition better.
7331 2003-11-24  Paolo Bonzini  <bonzini@gnu.org>
7333         * doc/autoconf.texi (Obsoleting Macros): Don't document the third
7334         parameter of AU_DEFUN.
7335         * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
7336         (AU_DEFUN): Remove the third parameter, it was not used.
7337         Use AC_DEFUN directly, not AU_DEFINE.
7338         * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
7339         the expanded body, consistently with other macros such as AC_USG.
7341 2003-11-17  Paul Eggert  <eggert@twinsun.com>
7343         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
7344         into the initial confdefs.h, to work around a bug in NextStep 3.3
7345         patch 3 reported by Eric Sunshine.
7347 2003-11-15  Kevin Ryde  <user42@zip.com.au>
7349         * doc/autoconf.texi (Using System Type): Revise, showing $host rather
7350         than $target since the latter is not usual, add guidelines on when to
7351         use or not use the system type.
7353 2003-11-12  Derek Price  <derek@ximbiot.com>
7355         * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
7356         typo misrepaired by an auto-spellcheck.
7358 2003-11-12  Akim Demaille  <akim@epita.fr>
7360         * bin/autoreconf.in (&parse_args): Don't call automake with
7361         --force-missing unless it actually supports it.
7362         From Debian #219336.
7364 2003-11-12  Akim Demaille  <akim@epita.fr>
7366         * configure.ac: Bump to 2.59a.
7367         Require 2.59.
7369 2003-11-06  Akim Demaille  <akim@epita.fr>
7371         Version 2.59.
7373 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
7375         * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
7376         so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
7377         and ac_abs_top_srcdir are absolute paths.
7378         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
7380 2003-11-05  Akim Demaille  <akim@epita.fr>
7382         * configure.ac: Bump to 2.58a.
7384 2003-11-05  Kevin Ryde  <user42@zip.com.au>
7386         * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
7387         it provokes a warning from makeinfo about looking like a cross
7388         reference in info output.
7390         * doc/autoconf.texi (Function Portability): Add notes on signal
7391         handler return type, as per AC_TYPE_SIGNAL.
7393 2003-11-04  Akim Demaille  <akim@epita.fr>
7395         Version 2.58.
7396         * doc/standards.texi: Update from master.
7398         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
7400 2003-11-04  Akim Demaille  <akim@epita.fr>
7402         AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
7403         computing the absolute path to d1 in the source hierarchy: it may
7404         not exist at all.  So don't cd into it.
7405         From Alexandre Duret-Lutz.
7406         http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
7408         * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
7409         From Paul Eggert, but named after Perl's IO::Spec->catfile.
7410         * doc/autoconf.texi (Programming in M4sh): Document.
7411         * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
7413 2003-11-03  Pavel Roskin  <proski@gnu.org>
7415         * doc/autoconf.texi (Generic Structure Checks): Describe
7416         action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
7418 2003-10-31  Akim Demaille  <akim@epita.fr>
7420         * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
7421         (GNU Fortran): New.
7422         * doc/autoconf.texi (Language Choice): Document.
7423         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
7424         the current language is Fortran.
7426 2003-10-31  Akim Demaille  <akim@epita.fr>
7428         * bin/autom4te.in (&freeze): Use a less likely warning separator
7429         than `\n\n', so that `\n\n\n' is valid in warnings.
7430         Reported by Steve Huston.
7432 2003-10-28  Akim Demaille  <akim@epita.fr>
7434         * Makefile.cfg (local_updates, executable-update): Tweak to be
7435         robust to parallel makes.
7436         Suggested by Alexandre Duret-Lutz.
7438 2003-10-27  Akim Demaille  <akim@epita.fr>
7440         * Makefile.cfg (executable-update): New.
7441         (local_updates): Call it.
7443 2003-10-27  Akim Demaille  <akim@epita.fr>
7445         * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
7446         Don't remove core.* as it may remove valid user files.
7447         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
7448         (AC_FUNC_UTIME_NULL): Likewise.
7450 2003-10-23  Akim Demaille  <akim@epita.fr>
7452         Version 2.57g.
7453         * config/config.guess, config/config.sub: Upgrade from masters.
7455 2003-10-23  Akim Demaille  <akim@epita.fr>
7457         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
7458         AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
7459         hand...
7461 2003-10-23  Akim Demaille  <akim@epita.fr>
7463         * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
7464         Don't forget to remove conftest.err.
7466 2003-10-23  Akim Demaille  <akim@epita.fr>
7468         * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
7469         same object file in $LIBOBJS.
7470         Reported by Alexandre Duret-Lutz & Derek Robert Price.
7471         * doc/autoconf.texi (Generic Functions): Adjust.
7473 2003-10-20  Paul Eggert  <eggert@twinsun.com>
7475         * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
7476         Use 'eval', so that the resulting configure scripts work even if
7477         the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
7479 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
7481         * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
7482         * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
7483         (_AC_LINK_IFELSE): Check the werror flag.
7484         * doc/autoconf.texi (Generic Compiler Characteristics): Document
7485         AC_LANG_WERROR.
7486         * NEWS: Mention it.
7488 2003-10-20  Daniel Jacobowitz  <drow@mvista.com>
7490         * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
7491         _AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
7492         override AC_LINK_IFELSE.
7494 2003-10-15  Paul Eggert  <eggert@twinsun.com>
7496         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
7497         pdksh 5.2.14.  Bug reported by Ralf Corsepius.
7498         * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
7499         Mention /usr/dt/bin/dtksh on Solaris.
7500         (Shell Substitutions): Warn about $((...)).
7501         (Parentheses): New section.
7503 2003-10-15  Kevin Ryde  <user42@zip.com.au>
7505         * doc/autoconf.texi (Function Portability): Add @prindex for exit.
7506         Add putenv and unsetenv.  Add sysconf _SC_PAGE_SIZE.
7508 2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
7510         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
7511         cross test.
7513 2003-10-11  Steven G. Johnson  <stevenj@alum.mit.edu>
7515         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
7516         name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
7518 2003-10-10  Andreas Schwab  <schwab@suse.de>
7520         * bin/autoheader.in: Avoid empty first line in --version and
7521         --help output.
7522         * bin/ifnames.in: Likewise.
7524 2003-10-09  Paul Eggert  <eggert@twinsun.com>
7526         * lib/Autom4te/XFile.pm: Don't assume -j is solo.
7527         Issue a more-informative diagnostic.
7528         Problems reported by Eric Sunshine.
7530 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
7532         * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
7533         -mGLOB_options_string stuff for Intel ifc, which can cause
7534         _AC_FC_LIBRARY_LDFLAGS to fail.  Use (faster) case for
7535         pattern-matching instead of grep.
7537 2003-10-08  Steven G. Johnson  <stevenj@alum.mit.edu>
7539         * doc/autoconf.texi: Document new FC Fortran macros.
7541 2003-10-08  Gary V. Vaughan  <gary@gnu.org>
7543         * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
7544         that future autopoint/aclocal/automake/autoreconf will be able
7545         to trace to find where to install local m4 macros.
7546         * doc/autoconf.texi (Input): Document it.
7547         * NEWS: Updated.
7549 2003-10-06  Gary V. Vaughan  <gary@gnu.org>
7551         * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
7552         -lcrtbegin.o to list of ignored flags and fix underquoting of
7553         -lcrt[01].o.
7555 2003-10-04  Steven G. Johnson  <stevenj@ab-initio.mit.edu>
7557         * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
7558         cache variable instead of $G77 to decide whether to include -O2,
7559         since $G77 is specific to Fortran 77.
7561 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
7563         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
7564         free" flag.  Re-order flags tested into rough order of popularity.
7566 2003-10-03  Steven G. Johnson  <stevenj@alum.mit.edu>
7568         * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
7569         arguments so that it can be used with syntax identical to
7570         AC_PROG_F77, and so that we can more easily decide to
7571         remove/deprecate the DIALECT optional argument in the future if it
7572         proves troublesome.
7573         (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
7574         non-freeform-supporting compilers.  Document freeform flags.
7576 2003-10-03  Akim Demaille  <akim@epita.fr>
7578         * configure.ac: Look for emacs, not macs.
7579         Reported by Eric Sunshine.
7581 2003-10-03  Akim Demaille  <akim@epita.fr>
7583         * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
7584         * bin/autoreconf.in (autoreconf_current_directory): Create the
7585         AUX_DIR if needed, for sake of automake --add-missing etc.
7586         Suggested by Alexandre Duret-Lutz.
7588 2003-10-03  Akim Demaille  <akim@epita.fr>
7590         * configure.ac: Quotation and formatting changes.
7591         (EMACS): Don't set it if it is not recent enough to support
7592         autoconf-mode.el.
7593         From Eric Sunshine.
7595 2003-10-02  Akim Demaille  <akim@epita.fr>
7597         * bin/ifnames.in (&scan_file): Skip C++ comments.
7598         From Jeremy Yallop.
7600 2003-10-01  Pavel Roskin  <proski@gnu.org>
7602         * doc/autoconf.texi (Particular Structure Checks):
7603         Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
7605 2003-10-01  Akim Demaille  <akim@epita.fr>
7607         Version 2.57f.
7609 2003-09-30  Paul Eggert  <eggert@twinsun.com>
7611         * lib/Autom4te/XFile.pm: Use Errno.
7612         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
7613         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
7615 2003-09-30  Akim Demaille  <akim@epita.fr>
7617         * config/announce-gen (&print_news_deltas): Extracted from...
7618         (&print_changelog_deltas): here.
7619         (&news_file): Rename as...
7620         (@news_file): this.
7622 2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
7624         * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
7625         have been created when invoking the compiler.
7626         * tests/fortran.at (GNU Fortran 77): Quote $G77.
7628 2003-09-29  Akim Demaille  <akim@epita.fr>
7630         Version 2.57e.
7632         * config/mkinstalldirs: Upgrade.
7634 2003-09-28  Paul Eggert  <eggert@twinsun.com>
7636         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
7637         Problem reported by Lars J. Aas in
7638         <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
7639         (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
7640         "test -d ./-p && rmdir ./-p".  Suggested by Andreas Schwab in:
7641         http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
7643 2003-09-26  Akim Demaille  <akim@epita.fr>
7645         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
7646         directory for AC_CONFIG_COMMANDS' first argument exists.
7647         This makes valid the invocation of _AC_SRCPATH that follows.
7648         Reported by Eric Sunshine.
7649         * doc/autoconf.texi (Configuration Commands): Adjust.
7651 2003-09-26  Akim Demaille  <akim@epita.fr>
7653         * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
7654         Reported by Ralf Corsepius.
7656 2003-09-26  Akim Demaille  <akim@epita.fr>
7658         * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
7659         arguments.
7660         Actually, use AU_ALIAS.
7661         From Bruno Haible.
7663 2003-09-26  Paul Eggert  <eggert@twinsun.com>
7665         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
7666         rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
7667         Problem reported by Eric Sunshine in:
7668         http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
7670 2003-09-26  Akim Demaille  <akim@epita.fr>
7672         The test suite are sometimes assigning timings incorrectly.
7673         Reported by Henk Krus.
7674         Diagnosed by Nicolas Joly.
7676         * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
7677         AT_help_all.
7678         Instead of making AT_help a sequence of assignments to grow
7679         $at_help_all, just make AT_help_all be the growing contents of
7680         $at_help_all, and make a single assignment in...
7681         (AT_INIT): here.
7682         (at_times_skip): Flip the meaning and rename as...
7683         (at_times_p): this.
7684         (AT_INIT): When summarizing the test that ran, remove
7685         $at_times_file after use, and check it is present before trying to
7686         use it.
7688 2003-09-25  Akim Demaille  <akim@epita.fr>
7690         Version 2.57d.
7692         * bin/Makefile.am (edit): Handle '@configure_input@'.
7693         (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
7694         (ifnames): chmod -w.
7695         * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
7696         executables, not bin/ executables!  Otherwise all the magic needed
7697         to find non installed files is turned off.  This caused a failure
7698         of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
7699         as found in its environment (sent by tests/autoreconf): pointing
7700         to bin/autom4te that could not find its files.
7701         * tests/mktests.sh: Force the replacement of generated files, for
7702         the sake of "mv" program that are interactive when overwriting a
7703         -w file.
7704         * config/install-sh: Upgrade from CVS Automake.
7706 2003-09-23  Paul Eggert  <eggert@twinsun.com>
7708         * doc/autoconf.texi (Limitations of Builtins): Document test -h
7709         versus test -L issues.
7711 2003-09-23  Daniel Jacobowitz  <drow@mvista.com> and
7712             Paul Eggert  <eggert@twinsun.com>
7714         Trivial change to support GCC's configuration procedure.
7715         * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
7716         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
7717         about inconsistency if the preprocessor is set to give errors for
7718         any warning.
7719         * doc/autoconf.texi (C Compiler Characteristics): Document this.
7721 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
7723         * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
7724         and XFile.pm from Automake.
7725         * lib/Autom4te/XFile.pm: Update from Automake.
7727 2003-09-12  Akim Demaille  <akim@epita.fr>
7729         Version 2.57c.
7731 2003-09-12  Akim Demaille  <akim@epita.fr>
7733         * config/config.guess, config/config.sub, config/missing,
7734         * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
7735         from masters.
7737 2003-09-12  Akim Demaille  <akim@epita.fr>
7739         * doc/autoconf.texi (Header Portability): Promote linux/types.h,
7740         not asm/types.h.
7742 2003-09-11  Akim Demaille  <akim@epita.fr>
7744         * doc/autoconf.texi (Header Portability): linux/random.h.
7745         From Peter Hendrickson.
7747 2003-09-10  Akim Demaille  <akim@epita.fr>
7749         * tests/mktests.sh (au_exclude_egrep): Make it harder to be
7750         willing to edit the output files.
7752 2003-09-10  Akim Demaille  <akim@epita.fr>
7754         * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
7755         and AC_FC_FREEFORM.
7756         * tests/mktests.sh: Skip AC_FC_SRCEXT.
7757         * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
7759 2003-09-09  Akim Demaille  <akim@epita.fr>
7761         * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
7762         Reported by Gary Vaughan.
7763         * bin/autom4te.in (handle_m4): Likewise.
7765 2003-09-09  Akim Demaille  <akim@epita.fr>
7767         * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
7768         trailing files.
7770 2003-09-07  Paul Eggert  <eggert@twinsun.com>
7772         * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
7773         Improve the accuracy of the wording about obsolescence.
7774         From a suggestion by Ian Lance Taylor in
7775         <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
7777 2003-09-05  Paul Eggert  <eggert@twinsun.com>
7779         * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
7780         for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
7782 2003-09-04  Akim Demaille  <akim@epita.fr>
7784         * tests/mktests.sh (ac_exclude_list): Fix the filtering of
7785         AC_FUNC_WAIT3.
7787 2003-09-04  Akim Demaille  <akim@epita.fr>
7789         * bin/autom4te.in: Use &fatal where more appropriate than &error.
7790         (freeze): When exiting, use $exit_code.
7791         * lib/autoconf/fortran.m4: Comment changes.
7793 2003-09-04  Akim Demaille  <akim@epita.fr>
7795         * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
7797 2003-09-02  Steven G. Johnson  <stevenj@alum.mit.edu>
7799         Add support for newer Fortran dialects.  The F77 interface is
7800         unchanged, and continues to support Fortran 77.  New FC macros
7801         correspond to all the old F77 macros, with output variables FC,
7802         FCFLAGS, and FCLIBS.  AC_PROG_FC defaults to picking the newest
7803         available dialect, but older dialects can be specified.  There are
7804         new macros AC_FC_SRCEXT to set the source extension, and
7805         AC_FC_FREEFORM to accept free-form source files.
7807         * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
7808         New macros.
7809         (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
7810         * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
7811         _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
7812         _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
7813         AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
7814         AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
7815         _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
7816         _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
7817         AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
7818         _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
7819         AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
7820         _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
7821         AC_FC_SRCEXT, AC_FC_FREEFORM):
7822         New macros.
7823         (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
7824         AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
7825         AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
7826         Rewrite in terms of the above.
7827         (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
7828         * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
7829         * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
7830         AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
7832 2003-09-02  Paul Eggert  <eggert@twinsun.com>
7834         * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
7835         Document problems with timestamp resolution that 'make', 'cp -p', and
7836         'touch -r' have.
7838 2003-08-27  Akim Demaille  <akim@epita.fr>
7840         * tests/m4sugar.at (cross_warning): Make sure to enable the
7841         output, so that we can track spurious m4sugar output.
7842         * tests/local.at: Require 2.57.
7843         (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
7844         are defaulted by AT_CHECK anyway.
7845         Use AT_CHECK_AUTOM4TE.
7846         * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
7847         missing dnl.
7849 2003-08-27  Akim Demaille  <akim@epita.fr>
7851         * bin/autoheader.in: Issue the "Using auxiliary..." message only
7852         when -Wobsolete is set.
7853         Set it on by default.
7854         Suggested by Klee Dienes.
7856 2003-08-27  Akim Demaille  <akim@epita.fr>
7858         * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
7859         documentation.
7860         From Guido Draheim.
7862 2003-08-26  Akim Demaille  <akim@epita.fr>
7864         * doc/autoconf.texi (Output): Make clear that one can run code
7865         after AC_OUTPUT.
7867 2003-08-25  Akim Demaille  <akim@epita.fr>
7869         * config/announce-gen, GNUmakefile, Makefile.maint: Update from
7870         CVS Bison.
7872 2003-08-25  Alexandre Duret-Lutz  <adl@gnu.org>
7874         * bin/autoreconf.in (parse_args): Do not pass --no-force to
7875         Automake versions prior to 1.8.
7877 2003-08-25  Akim Demaille  <akim@epita.fr>
7879         * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
7880         From Ville Karaila.
7882 2003-08-24  Akim Demaille  <akim@epita.fr>
7884         * configure.ac: Bump to 2.57c.
7886 2003-08-22  Akim Demaille  <akim@epita.fr>
7888         Version 2.57b.
7890         * Makefile.cfg (local-checks-to-skip): New.
7891         * Makefile.maint (local-check): Rename as...
7892         (local-checks-available): this.
7893         (local-check): New.
7895         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
7896         * configure.ac: Require Automake 1.7.6.
7898 2003-08-22  Akim Demaille  <akim@epita.fr>
7900         Output stack traces in warnings.
7902         * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
7903         Replace the former...
7904         (m4_warn): Pass the call stack to _m4_warn.
7905         * bin/autom4te.in: Adjust to output the call stack.
7906         * tests/m4sugar.at (m4@&t@_warn): Adjust.
7908 2003-08-22  Akim Demaille  <akim@epita.fr>
7910         * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
7911         * bin/autom4te.in: Adjust.
7913 2003-08-21  Akim Demaille  <akim@epita.fr>
7915         * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
7916         (&verbose): Remove.
7917         (&getopt): Adjust the note and verb channels, depending upon
7918         --verbose.
7919         * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
7920         * bin/autoupdate.in: Adjust.
7921         Use &verb, not &verbose.
7923 2003-08-21  Akim Demaille  <akim@epita.fr>
7925         * bin/autoheader.in (&parse_args): Use &parse_warnings and
7926         &parse_WARNINGS.
7927         ($help): Use Autom4te::ChannelDefs::usage.
7928         * bin/autoscan.in: Use Autom4te::ChannelDefs.
7929         * lib/Autom4te/General.pm: Don't export error: you don't own it.
7931 2003-08-21  Akim Demaille  <akim@epita.fr>
7933         First stab at preserving warnings between calls to autom4te,
7934         including when the cache is used.
7936         There are still several issues: (i) there are too many runs of m4
7937         (one for include, one for warnings, and some more), (ii) warnings
7938         spreading on several lines are not handled gracefully, (iii) the
7939         code meant to have the call stack display for errors does not work
7940         (its handling should move from m4 to autom4te).
7942         * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
7943         Use them.
7944         (@preselect): Add m4_warn.
7945         ($exit_status): Remove, use $exit_code.
7946         ($help): Use Autom4te::ChannelDefs::usage.
7947         (&handle_m4): No longer define the m4_warnings.
7948         At each run, extract and report the warnings.
7949         Always cache the result, including if the exit status is on
7950         failure, since if nothing changes, we should result in the same
7951         failure, hence we can use the cache.
7952         * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
7953         (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
7954         Remove.
7955         (m4_warn): Redefine as a do-nothing: it is its invocation that
7956         matters, as warnings are now reported via traces.
7957         * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
7958         the contents of m4_warn: make it _call_ m4_warn, so that tracing
7959         the latter reveals calls to the former.
7961         Adjust the tests.
7963         * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
7965 2003-08-21  Akim Demaille  <akim@epita.fr>
7967         * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
7968         Use them.
7970 2003-08-21  Akim Demaille  <akim@epita.fr>
7972         * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
7973         forward order.
7974         * lib/Autom4te/ChannelDefs.pm: Doc typos.
7975         (&parse_warnings): Accept a list of warning requests.
7976         (&usage): Return a string, not a side effect.
7977         (cross): New warning category.
7979 2003-08-21  Akim Demaille  <akim@epita.fr>
7981         * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
7982         (&require_configure_ac): Accept an optional directory argument.
7983         ($configure_ac): Remove.
7984         * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
7985         (&catfile): Remove.
7986         * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
7987         * bin/autoscan.in: Adjust.
7989 2003-08-20  Akim Demaille  <akim@epita.fr>
7991         * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
7992         Reported by Alexandre Duret-Lutz.
7994 2003-08-20  Akim Demaille  <akim@epita.fr>
7996         * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
7997         * bin/autom4te: Adjust.
7998         In particular, be Autoconf tools are really silent when properly
7999         working, bind the verbosity of the 'note' channel to $verbose.
8000         * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
8001         (&xsystem, &contents): Remove, since they are exported by...
8002         * lib/Autom4te/FileUtils.pm: this.
8003         More perldoc.
8004         * lib/Autom4te/General.pm (&up_to_date_p): Move to...
8005         * lib/Autom4te/FileUtils.pm: here.
8007 2003-08-20  Akim Demaille  <akim@epita.fr>
8009         * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
8010         * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
8011         from CVS Automake.
8013 2003-08-20  Akim Demaille  <akim@epita.fr>
8015         * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
8016         (autom4te-update): New.
8017         * Makefile.cfg (update): Bind autom4te-update.
8019 2003-08-19  Derek Price  <derek@ximbiot.com>
8021         * lib/autotest/general.m4: Comment various HELP_* diversions.
8022         (PARSE_ARGS_BEGIN): New section for option parsing related
8023         initialization.
8024         (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
8025         package specific options and associated help.
8027 2003-08-19  Akim Demaille  <akim@epita.fr>
8029         * config/announce-gen, Makefile.cfg: New.
8030         * Makefile.am: Adjust.
8031         * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
8033 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
8035         * lib/autom4te.in (Automake-preselections): Preselect
8036         AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
8037         and m4_sinclude.
8039 2003-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
8041         * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
8042         (Autoconf-without-aclocal-m4): ... this new language.
8043         * doc/autoconf.texi (autom4te Invocation): Mention
8044         Autoconf-without-aclocal-m4.
8046 2003-08-18  Derek Price  <derek@ximbiot.com>
8048         * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
8049         RUN-IF-PASS optional arguments.
8051 2003-08-18  Derek Price  <derek@ximbiot.com>
8053         * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
8055 2003-08-16  Derek Price  <derek@ximbiot.com>
8057         * doc/autoconf.texi (Writing testsuite.at): Document defaults for
8058         STDOUT & STDERR arguments.
8060 2003-08-14  Derek Price  <derek@ximbiot.com>
8062         * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
8063         DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
8064         shorter column three.  Add DESCRIPTION to log file content.
8066 2003-08-13  Derek Price  <derek@ximbiot.com>
8068         * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
8069         output.
8071 2003-08-12  Derek Price  <derek@ximbiot.com>
8073         * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
8074         (AT_CHECK_NOESCAPE): Move core functionality to...
8075         (_AT_CHECK): ...this new macro.
8077 2003-08-07  Derek Price  <derek@ximbiot.com>
8079         * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
8080         (AT_CHECK_NOESCAPE): ...to this new macro.
8082 2003-07-31  Paul Eggert  <eggert@twinsun.com>
8084         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
8085         in Bash 2.01.  Problem reported by Brian Gough in
8086         <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
8088 2003-07-25  John W. Eaton  <jwe@bevo.che.wisc.edu>
8090         * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
8091         -lcrt1.o, for OS X.  (trivial change)
8093 2003-07-07  Paul Eggert  <eggert@twinsun.com>
8095         * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
8096         inside '#ifndef __cplusplus'.  Problem reported by
8097         Bob Friesenhahn.
8099 2003-07-06  Bill Clarke  <llib@computer.org>
8101         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
8102         'long', not 'int', for benefit of Sun's recent C++ compilers
8103         (trivial change).  See:
8104         http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
8105         (This really should be 'intptr_t', not 'long', but that would
8106         take more work.)
8108 2003-06-25  Akim Demaille  <akim@epita.fr>
8110         * lib/Makefile.am (autom4te.cfg): Make it read only.
8111         Depend on Makefile since it contains substitutions.
8112         From Paolo Bonzini.
8113         * lib/autom4te.in (args): Add local.at? for Autotest args.
8114         This change was made on autom4te.cfg which is generated.
8115         Reported by Raja R. Harinath.
8117 2003-06-25  Akim Demaille  <akim@epita.fr>
8119         * doc/autoconf.texi (Header Portability): sys/mount.h.
8120         From Gareth McCaughan.
8122 2003-06-23  Akim Demaille  <akim@epita.fr>
8124         * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
8125         not all of them.  This fixes 1. the fact that when testing
8126         Autoconf there are many many config.log, 2. the incorrect use of
8127         top_srcdir to find config.log.
8128         Don't mix the detailed output of failed test with the summary of
8129         failures.  Rather, append detailed log afterwards.
8131 2003-06-23  Akim Demaille  <akim@epita.fr>
8133         * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
8134         always run: output config.log on $at_group_log.
8136 2003-06-23  Akim Demaille  <akim@epita.fr>
8138         * tests/torture.at (#define header templates): Don't use quotes in
8139         C++ comments as it puzzles Emacs' sh font-lock-mode.
8141 2003-06-23  Akim Demaille  <akim@epita.fr>
8143         * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
8144         * lib/autom4te.cfg (args): Add local.at? for Autotest args.
8145         * tests/atspecific.m4: Rename as...
8146         * tests/local.at: This.
8147         * tests/suite.at: Move the globals into...
8148         * tests/local.at: here.
8149         * tests/Makefile.am: Adjust.
8150         * doc/autoconf.texi (testsuite Scripts): Adjust.
8152 2003-06-21  Kevin Ryde  <user42@zip.com.au>
8154         * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
8155         error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
8156         ensuring we add -std1 for full-ANSI.
8158         * doc/autoconf.texi (hdrindex): New macro.
8159         Add index entries for portability of various standard header files.
8161 2003-06-20  Akim Demaille  <akim@epita.fr>
8163         * configure.ac: Bump to 2.57b.
8165 2003-06-20  Akim Demaille  <akim@epita.fr>
8167         Version 2.57a.
8169 2003-06-20  Akim Demaille  <akim@epita.fr>
8171         * bin/autom4te.in: Don't rely on $HOME being defined.
8172         Reported by Marc Espie as PR/233.
8174 2003-06-20  Akim Demaille  <akim@epita.fr>
8176         * lib/autotest/general.m4: Use at_times_file only if used.
8177         From Nicolas Joly.
8179 2003-06-20  Akim Demaille  <akim@epita.fr>
8181         * config/config.guess, config/config.sub, config/elisp-comp,
8182         * config/install-sh, config/mkinstalldirs, doc/standards.texi:
8183         Update from masters.
8185 2003-06-11  Paolo Bonzini  <bonzini@gnu.org>
8187         * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
8188         * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
8189         (TEST_SCRIPT): New diversion.
8190         (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
8191         (AT_CLEANUP): ...to here.  Undivert TEST_SCRIPT.
8192         (AT_INIT): Support for expected failures.
8194 2003-06-02  Akim Demaille  <akim@epita.fr>
8196         * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
8197         changes.
8198         * lib/Autom4te/General.pm (&backname): Remove, no longer used by
8199         Autoconf nor Automake.
8200         (&contents): New, from Automake.
8201         PODify.
8203 2003-05-28  Paul Eggert  <eggert@twinsun.com>
8205         * NEWS, doc/autoconf.texi (Particular Functions),
8206         lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
8207         is the inverse of localtime.
8209 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
8211         * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
8212         (handle_exec_errors): New function.  Work around $! being
8213         altered by WEXITSTATUS.
8214         (xqx, xsystem): Use handle_exec_errors.
8216 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
8218         * lib/Autom4te/General.pm (END): Rewrite exit code processing.
8219         Do not call `_exit()', simply modify `$?'.
8220         (xsystem): Reset $! before running system, and check it afterward.
8221         * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
8222         63 for version mismatches.
8224 2003-05-23  Akim Demaille  <akim@epita.fr>
8226         * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
8227         Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
8228         the middle of a line).
8229         * lib/m4sugar/m4sugar.m4: Likewise.
8230         Remove useless spaces in comments.
8232 2003-05-23  Akim Demaille  <akim@epita.fr>
8234         * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
8235         exit 63, so that we (or Automake's "missing") can tell the
8236         difference with a plain failure.
8237         * doc/autoconf.texi (Notices): Adjust.
8239 2003-05-23  Akim Demaille  <akim@epita.fr>
8241         * Makefile.am, bin/Makefile.am, config/Makefile.am,
8242         * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
8243         White spaces cleanup.
8245 2003-05-22  Jim Meyering  <jim@meyering.net>
8246             Paul Eggert  <eggert@twinsun.com>
8248         * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
8249         Remove `#include <stdlib.h>' from the list; we should never
8250         make confdefs.h include <stdlib.h> or <cstdlib>, because the
8251         resulting namespace pollution would cause other tests to fail.
8252         Configure scripts run with some older versions of g++ and HP's
8253         aCC would fail due to such an #include.  Problems reported by
8254         Matthew Mueller in <http://bugs.debian.org/120704> and by
8255         Keith Bostic in
8256         <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
8257         In the test, use the test declaration before including <stdlib.h>,
8258         as that's closer to how it'll be used.
8260 2003-05-23  Akim Demaille  <akim@epita.fr>
8262         * doc/autoconf.texi (Header Portability): ucred.h.
8263         From Ian Redfern.
8265 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
8267         Overhaul Autotest's logging: generate separate log files
8268         in testsuite.dir/NNN/testsuite.log, and append them to
8269         testsuite.log instead of re-running the test verbosely.
8271         * lib/autotest/general.m4 (AT_INIT): Use a single redirected
8272         file descriptor, write 0 to at_status_file instead of setting
8273         at_status=0, initialize some new variables (at_status_file,
8274         at_group_log, at_suite_log, at_tee_pipe).  Remove the cruft
8275         to rerun the tests, instead append the at_group_log to the
8276         at_suite_log when a test fails.
8277         (AT_SETUP): pipe the test case's output into at_tee_pipe,
8278         with the AS_MESSAGE_LOG_FD redirected to stdout.
8279         (AT_CLEANUP): save the output status in $at_status_file
8280         and restore it, redirect the AS_MESSAGE_LOG_FD back to
8281         its original place.
8282         (AT_CHECK): since tests are run with a redirected stdout,
8283         and used to be re-run in verbose mode, turn some $at_verbose
8284         into echo, and don't redirect the output of testing stdout
8285         and stderr.
8287         * lib/autotest/autoconf.texi (testsuite Scripts): Update
8288         the name of the debugging directory and information about
8289         its contents.
8291 2003-05-22  Paolo Bonzini  <bonzini@gnu.org>
8293         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
8294         parameter.
8296 2003-05-22  Akim Demaille  <akim@epita.fr>
8298         * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
8299         * lib/autoconf/fortran.m4 lib/autoconf/general.m4
8300         * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
8301         * lib/autoconf/status.m4: Fix and adjust copyright notices.
8303 2003-05-22  Akim Demaille  <akim@epita.fr>
8305         * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
8306         * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
8307         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8308         * lib/autoconf/general.m4, lib/autoconf/headers.m4,
8309         * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
8310         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
8311         * lib/autoconf/status.m4, lib/autoconf/types.m4,
8312         * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
8313         * tests/atspecific.m4, tests/base.at, tests/compile.at,
8314         * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
8315         * tests/tools.at, tests/torture.at:
8316         Whitespace clean up.
8317         Suggested by Jim Meyering.
8319 2003-05-22  Akim Demaille  <akim@epita.fr>
8321         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
8322         ' \t' as '\t ' so that Emacs' whitespace.el keep it.
8323         Reported by Jim Meyering.
8325 2003-05-22  Akim Demaille  <akim@epita.fr>
8327         * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
8328         Add AC_HELP_STRING  to the obsolete macros section.
8329         Typos.
8330         Use '@.' for sentences that ended in a capital letter.
8331         From Art Haas.
8333 2003-05-22  Akim Demaille  <akim@epita.fr>
8335         * config/config.guess, config/config.sub, config/elisp-comp,
8336         * config/install-sh, config/mdate-sh, config/mkinstalldirs,
8337         * config/texinfo.tex, doc/standards.texi: Update from masters.
8339 2003-05-21  Paolo Bonzini  <bonzini@gnu.org>
8341         * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
8342         it to eval.
8344 2003-05-21  Akim Demaille  <akim@epita.fr>
8346         * bin/autoupdate.in ($m4): Fix quotation.
8347         Reported by Martin Mokrejs.
8349 2003-05-19  Paul Eggert  <eggert@twinsun.com>
8351         * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
8352         Remove non-ASCII characters.
8354 2003-05-18  Paolo Bonzini  <bonzini@gnu.org>
8356         * tests/semantics.at (AC_SEARCH_LIBS): New test.
8357         * tests/semantics.at (AC_CHECK_HEADERS_OLD,
8358         AC_CHECK_HEADERS_NEW): New tests.
8360 2003-05-17  Akim Demaille  <akim@epita.fr>
8362         * lib/autoconf/functions.m4: Use the default includes so that
8363         memcmp be declared before being tested.
8364         Reported by Sander Niemeijer.
8365         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
8366         * doc/autoconf.texi (Default Includes): Document
8367         AC_INCLUDES_DEFAULT.
8369 2003-05-17  Akim Demaille  <akim@epita.fr>
8371         * lib/autoconf/specific.m4: Include signal.h and unistd.h.
8372         * doc/autoconf.texi (Obsolete Macros): Adjust.
8373         Reported by Werner LEMBERG and Debian Bug 190886.
8375 2003-05-16  Akim Demaille  <akim@epita.fr>
8377         * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
8378         user name space clashes.
8379         Reported by Bruno Haible.
8381 2003-05-16  Akim Demaille  <akim@epita.fr>
8383         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8384         * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
8385         them uniform, and more robust to Perl special characters.
8386         Reported by Martin Mokrejs.
8388 2003-05-14  Akim Demaille  <akim@epita.fr>
8390         * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
8392 2003-05-14  Akim Demaille  <akim@epita.fr>
8394         * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
8395         linux/irda.h.
8397 2003-05-12  Akim Demaille  <akim@epita.fr>
8399         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
8400         message.
8401         From Matthias Andree.
8403 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
8405         * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
8406         and truncate.
8408 2003-05-06  Akim Demaille  <akim@epita.fr>
8410         Don't try to be smart with aclocal 1.8+ because (i) aclocal no
8411         longer updates aclocal.m4 if useless, (ii) if a file m4_included
8412         by aclocal.m4 is changed it might require the importing of another
8413         m4 extension file, i.e., aclocal must be run.
8415         * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
8416         (&parse_args): Use --force with aclocal if required and supported.
8417         (&autoreconf_current_directory): Use &run_aclocal.
8419 2003-05-06  Akim Demaille  <akim@epita.fr>
8421         Lock autom4te's cache.
8423         * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
8424         * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
8425         argument instead of a file name, so that the request file remains
8426         open during the whole autom4te run.
8427         ($icache_file): New.
8428         (&freeze): Lock the $icache_file.
8430 2003-04-29  Derek Price  <derek@ximbiot.com>
8432         * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
8433         seperator with m4_append_uniq().  It doesn't work.
8434         (AT_CLEANUP): Add `;' to end of at_help_all.
8435         (AT_INIT): Allow --keywords to be specified more than once.  When
8436         grepping $at_help_all for keywords, use the field and keyword
8437         seperators to ensure a complete keyword match.  Alter at_prev handling
8438         to support the new --keywords behavior.
8440 2003-04-27  Karl Berry  <karl@freefriends.org>
8442         * doc/autoconf.texi: Make the dir entries in the autoconf manual
8443         align better with others.  I also made some of the individual
8444         entries on one line, for brevity and to make it easier for me to
8445         sort my dir-example file in the Texinfo distribution :).
8447 2003-04-12  Jim Meyering  <jim@meyering.net>
8449         * NEWS: Mention the new macro.
8450         * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
8451         * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
8452         * tests/c.at: Test AC_C_RESTRICT.
8453         * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
8455 2003-04-08  Akim Demaille  <akim@epita.fr>
8457         * bin/ifnames.in: Skip C++ comments.
8458         From Jeremy Yallop.
8460 2003-04-08  Akim Demaille  <akim@epita.fr>
8462         * GNUmakefile (SHELL): Don't assume sh is in /bin/.
8463         From Ilya Zakharevich.
8465 2003-04-08  Akim Demaille  <akim@epita.fr>
8467         * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
8468         net/if.h, stdlib.h.
8470 2003-04-01  Derek Price  <derek@ximbiot.com>
8472         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
8473         from Akim's checkin of 2003-03-29.
8475 2003-04-01  Derek Price  <derek@ximbiot.com>
8477         * tests/torture.at (Configuring subdirectories): Add missing
8478         close-quote for Akim's change from 2003-03-28.
8480 2003-04-01  Akim Demaille  <akim@epita.fr>
8482         * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
8483         (AC, AT, MS): these.
8484         (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
8485         New.
8486         Use them.
8487         * doc/Makefile.am (CLEANFILES): Adjust.
8488         (TEXI2DVI): Make it --batch.
8490 2003-03-31  Derek Price  <derek@ximbiot.com>
8492         * lib/autotest/general.m4: Revert the checkin from 2003-03-27
8493         which removed the main loop.
8494         Thanks to Akim Demaille.
8496 2003-03-29  Akim Demaille  <akim@epita.fr>
8498         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
8499         that starts a GUI.
8500         From Ilya Zakharevich.
8502 2003-03-29  Akim Demaille  <akim@epita.fr>
8504         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
8505         documentation to read is Autoconf's.
8506         Suggested by Paul Eggert.
8508 2003-03-28  Akim Demaille  <akim@epita.fr>
8510         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
8511         reading the section "Present But Cannot Be Compiled" when the
8512         header causes problems.
8514 2003-03-28  Akim Demaille  <akim@epita.fr>
8516         * tests/torture.at (Configuring subdirectories): Require aclocal
8517         1.4, otherwise the test fails, as it does support configure.ac.
8518         This fixes the "test 40 failed" bug reports.
8520 2003-03-28  Akim Demaille  <akim@epita.fr>
8522         * doc/autoconf.texi (C Compiler): `#line' portability.
8523         From Paul Eggert and Nelson H. F. Beebe.
8525 2003-03-27  Derek Price  <derek@ximbiot.com>
8527         * lib/autotest/general.m4: Eliminate main loop and reorganize test
8528         layout in order to allow scripting around test groups.
8530 2003-03-27  Derek Price  <derek@ximbiot.com>
8532         * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
8533         HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
8534         use new diversions in preparation for accepting new arguments and
8535         allowing scripting around tests.
8536         (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
8538 2003-03-26  Derek Price  <derek@ximbiot.com>
8540         * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
8541         obsolete AC_HELP_STRING.
8542         (AC_HELP_STRING): AU_DEFUN to...
8543         * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
8544         * tests/m4sh.at (AS_HELP_STRING): New test.
8546         * tests/acgeneral.at: Regenerated.
8548 2003-03-26  Derek Price  <derek@ximbiot.com>
8550         * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
8551         sense.  Verbosify the diversion definitions comment.
8553 2003-03-26  Derek Price  <derek@ximbiot.com>
8555         * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
8556         AS_PREPARE.
8558 2003-03-21  Eric Siegerman  <eric_97@pobox.com>
8560         * doc/autoconf.texi (Present But Cannot Be Compiled):
8561         Grammar fixes and minor rewording. (trivial change)
8563 2003-03-06  Paul Eggert  <eggert@twinsun.com>
8565         Work around a problem noted by Nelson H. F. Beebe with coreutils
8566         4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
8567         2002/05/09) rejects '#line 32768 "configure"' because the line
8568         number overflows.
8569         * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
8570         #line directives.
8571         * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
8572         * doc/autoconf.texi (Generating Sources): Document this.
8574 2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
8576         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
8577         file name for the m4 program, when it has an "exe" file extension.
8578         DJGPP's error messages include the error code in brackets -
8579         remove the error code during normalization.
8581 2003-02-28  Akim Demaille  <akim@epita.fr>
8583         * doc/autoconf.texi (Present But Cannot Be Compiled): New.
8585 2003-02-28  Alexandre Duret-Lutz  <adl@gnu.org>
8587         * doc/autoconf.texi (Limitations of Make): Remove the section
8588         about `$<' in inference rules, it was a bogus interpretation of
8589         an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
8590         Tru64 make in the "target lookup" section.
8591         (Automake): Automake 1.5+ no longer requires special tools to be
8592         present on the developer's host.
8594 2003-02-26  Richard Dawe  <rich@phekda.freeserve.co.uk>
8596         * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
8597         to a shell that can handle redirection or quoting correctly.
8598         Override SHELL with the shell detected by configure.
8599         Use of $^O suggested by Tim van Holder.
8600         * bin/autom4te.in (BEGIN): Likewise.
8601         * bin/autoreconf.in (BEGIN): Likewise.
8602         * bin/autoscan.in (BEGIN): Likewise.
8603         * bin/autoupdate.in (BEGIN): Likewise.
8604         * bin/ifnames.in (BEGIN): Likewise.
8606         * bin/ifnames.in: Add final newline to help and version messages.
8608         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
8609         to cope with DOS-style absolute paths, when constructing
8610         ${ac_make}.
8612         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
8613         When constructing paths with IFS=:, quote the path. If we're
8614         constructing a DOS-style absolute path, we don't want to split it
8615         on the colon.
8617         * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
8618         in description.
8620 2003-02-25  Pavel Roskin  <proski@gnu.org>
8622         * bin/autoheader.in: Add missing newline when printing
8623         suggestion how change AC_DEFINE call.
8625 2003-02-24  Paul Eggert  <eggert@twinsun.com>
8627         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
8628         2002-09-01 patch by replacing "test -n" with "test -z".
8629         This fixes a bug found by Jeff Painter and reported by Tom Epperly in
8630         <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
8632         * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
8633         to fix a mismatch between example and discussion.
8635 2003-02-24  Kevin Ryde  <user42@zip.com.au>
8637         * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
8638         format starting with "-".
8640 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
8642         * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
8643         is not portable inside Makefile.
8645 2003-02-20  Akim Demaille  <akim@epita.fr>
8647         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
8648         compiler says yeah, but preproc says nope, compiler is right.
8649         Conversely, prompt the reader to send a bug report to the
8650         maintainers of the package, not of Autoconf.
8652 2003-02-20  Klee Dienes  <kdienes@apple.com>
8654         * bin/autoreconf.in (autoreconf_current_directory): Properly
8655         handle an empty aclocal.m4.
8657 2003-02-20  Akim Demaille  <akim@epita.fr>
8659         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
8660         $ac_prefix_program.
8661         From Larry Jones.
8663 2002-12-23  Paul Eggert  <eggert@twinsun.com>
8665         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
8666         innocuous variant befor including <limits.h> or <assert.h>.  This
8667         works around a bug reported by Albert Chin: HP-UX 11i
8668         (and earlier versions) have a <limits.h> that declares
8669         gettimeofday and many other functions.
8671 2002-12-03  Paul Eggert  <eggert@twinsun.com>
8673         Version 2.57.
8675         * NEWS, configure.ac: Update version.
8677         * doc/fdl.texi: Upgrade to FDL version 1.2.
8679         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
8680         nontrivially in main's body, so that f's external declaration is
8681         not optimized away in AIX.  This should fix the bug reported by
8682         Martin Frydl in
8683         <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
8685         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
8686         _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
8687         defined, to support freestanding compilers.  This should fix the
8688         bug reported by Momchil Velkov in
8689         <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
8691         * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
8692         arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
8693         obsolete AC_CHECK_TYPE.  The missing empty arg was reported
8694         by Simon Josefsson in
8695         <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
8697         * Makefile.maint (www-gnu): New macro.
8698         (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
8699         the location has moved.
8701 2002-12-02  Martin Frydl  <martin@systinet.com>
8703         * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
8704         \(.*\) match is too long and there is something more to be checked.
8705         <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
8707 2002-11-15  Akim Demaille  <akim@epita.fr>
8709         Version 2.56.
8711         * config/install-sh: chmod +x.
8712         From Paul Eggert.
8713         * config/move-if-change: Indenting changes.
8714         * Makefile.am (AUTOMAKE_OPTIONS): Move to...
8715         * configure.ac (AM_INIT_AUTOMAKE): here.
8716         Require 1.7.1.
8718 2002-11-14  Akim Demaille  <akim@epita.fr>
8720         Version 2.55.
8722         * config/config.guess, config/config.sub, config/install-sh:
8723         Update from masters.
8725 2002-11-14  Akim Demaille  <akim@epita.fr>
8727         * Makefile.maint: Sync with Bison, i.e.:
8728         (po-check): Scan .l and .y files instead of the
8729         .c and the .h files that they generate.  This fixes the bug
8730         reported by Tim Van Holder in:
8731         <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
8732         Look for N_ as well as for _.  Try to avoid matching #define for
8733         N_ and _.
8734         From Paul Eggert.
8736 2002-11-14  Akim Demaille  <akim@epita.fr>
8738         * doc/autoconf.texi (C Compiler): Compiling several files at once.
8739         From Paul Eggert and Albert Chin-A-Young.
8741 2002-11-14  Akim Demaille  <akim@epita.fr>
8743         * doc/autoconf.texi (C Compiler): Solitary backslashes.
8744         From Paul Eggert and Albert Chin-A-Young.
8746 2002-11-14  Kevin Ryde  <user42@zip.com.au>
8748         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
8749         than assigning in main, to avoid HP cc +O3 optimizing it away.
8751 2002-11-12  Peter Eisentraut  <peter_e@gmx.net>
8753         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
8754         option.  Process --recheck after parsing all options.  Pass -q
8755         option to configure on --recheck.
8756         (AC_OUTPUT): Pass -q from configure to config.status.
8757         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
8758         arguments to record.
8759         * doc/autoconf.texi (config.status Invocation): Document
8760         config.status -q option.
8762 2002-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
8764         * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
8765         Makefile.in if Makefile.am exists.
8766         (output): Strip `.am' from Makefiles.  Don't
8767         output AC_CONFIG_FILES if no Makefiles were found.
8769 2002-11-07  Akim Demaille  <akim@epita.fr>
8771         * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
8772         (local_updates): New.
8773         * Makefile.maint: Update, from CVS Bison.
8774         (local_updates): New.
8776 2002-11-06  Akim Demaille  <akim@epita.fr>
8778         * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
8779         declaration in extern "C" too.
8780         Reported by Roberto Bagnara.
8782 2002-11-06  Akim Demaille  <akim@epita.fr>
8784         * tests/torture.at (Configuring subdirectories): Don't use grep
8785         -w.
8786         * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
8787         Reported by Ezra Peisach.
8789 2002-11-05  Akim Demaille  <akim@epita.fr>
8791         * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
8792         Remove.
8793         We _have_ to stop using the old compatibility scheme that tried to
8794         avoid useless backslashes because Libtool 1.4.3 contains a
8795         AC_DEFINE([error_t], [int],
8796         [Define to a type to use for \`error_t' if it is not
8797         otherwise available.])
8798         We _have_ to quote the single quote and backslashes with \.  The
8799         old compatibility scheme saw that ` was backslashed, and therefore
8800         did not quote the single quote.  Hence before this patch, Autoconf
8801         was not compatible with Libtool.
8803 2002-11-04  Paul Eggert  <eggert@twinsun.com>
8805         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
8806         too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
8807         LC_NAME, LC_PAPER, LC_TELEPHONE.
8808         * doc/autoconf.texi (Special Shell Variables): Mention those vars.
8810 2002-11-04  Akim Demaille  <akim@epita.fr>
8812         Version 2.54c.
8814         * Makefile.maint (update, cvs-update, po-update, do-po-update):
8815         New.
8816         * config/texinfo.tex: Update.
8818 2002-11-03  Akim Demaille  <akim@epita.fr>
8820         * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
8821         from...
8822         (&autoreconf): here.
8823         ($help, $make, &parse_args, &autoreconf_current_directory):
8824         Support -m/--make.
8825         * doc/autoconf.texi (autoreconf Invocation): Adjust.
8827 2002-10-31  Bruno Haible  <bruno@clisp.org>
8829         * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
8830         Change name of cache variable to ac_cv_func_malloc_0_nonnull.
8831         (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
8832         (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
8833         to ac_cv_func_realloc_0_nonnull.
8834         (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
8836 2002-10-31  Akim Demaille  <akim@epita.fr>
8838         The test suite was no longer checking for trailing envvars and files.
8840         * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
8841         (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
8843 2002-10-31  Akim Demaille  <akim@epita.fr>
8845         * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
8846         `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
8847         Make variable, not a shell variable.
8848         Suggested by Bruno Haible.
8850 2002-10-31  Akim Demaille  <akim@epita.fr>
8852         * bin/autom4te.in (load_configuration): Reject #args out of any
8853         language.
8855 2002-10-31  Akim Demaille  <akim@epita.fr>
8857         * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
8858         (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
8859         (_AC_RUN_IFELSE): Use it.
8860         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
8861         (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
8862         * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
8863         inline it.
8865 2002-10-30  Akim Demaille  <akim@epita.fr>
8867         * bin/autom4te.in (&parse_args, $help): Support --no-cache.
8868         * doc/autoconf.texi (autom4te Invocation): Adjust.
8869         Suggested by Tim van Holder.
8871 2002-10-29  Paul Eggert  <eggert@twinsun.com>
8873         * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
8874         AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
8875         Problem reported by Bruno Haible.
8877 2002-10-29  Akim Demaille  <akim@epita.fr>
8879         * doc/autoconf.texi (Header Templates): Put also in words what the
8880         pictures says to assist free style readers.
8881         (Customizing autom4te): s/--cache=/--cache /.
8883 2002-10-29  Akim Demaille  <akim@epita.fr>
8885         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
8886         sys/wait.h.
8887         sparc_address_test returns void.
8888         Use it with an argument, as prototyped.
8889         From Bruno Haible.
8891 2002-10-29  Akim Demaille  <akim@epita.fr>
8893         * doc/autoconf.texi (Subdirectories): Cygnus dirs have
8894         configure.in, not configure.ac.
8895         Reported by Bruno Haible.
8897 2002-10-29  Akim Demaille  <akim@epita.fr>
8899         * tests/torture.at (Deep Package): New test.
8900         (Configuring subdirectories): Don't use a testSubDir as Autotest
8901         now does it itself.
8903 2002-10-29  Akim Demaille  <akim@epita.fr>
8905         * bin/autoreconf.in (&parse_args, $help): Support --warnings.
8906         * doc/autoconf.texi (Invoking autom4te): Rename as...
8907         (autom4te Invocation): this, for consistency with the other nodes.
8909 2002-10-29  Akim Demaille  <akim@epita.fr>
8911         * lib/autom4te.in (Autoconf): s/automate/autom4te/.
8912         Reported by Ralf Corsepius.
8914 2002-10-29  Akim Demaille  <akim@epita.fr>
8916         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
8917         characters is a back as an `obsolete' warning now.
8918         Reported by Ralf Corsepius.
8920 2002-10-28  Akim Demaille  <akim@epita.fr>
8922         * configure.ac: Bump to 2.54c.
8924 2002-10-28  Akim Demaille  <akim@epita.fr>
8926         Version 2.54b.
8928         * tests/foreign.at (Libtool): Adjust to broken libtoolize.
8930 2002-10-28  Akim Demaille  <akim@epita.fr>
8932         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
8933         m4 executable names, and different GNU M4 version.
8934         Reported by Ezra Peisach and Paul Jarc.
8936 2002-10-27  Akim Demaille  <akim@epita.fr>
8938         * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
8939         AC_RUN_IFELSE.
8941 2002-10-27  Akim Demaille  <akim@epita.fr>
8943         * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
8944         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
8945         Die when a simple Fortran program cannot be compiled.
8946         * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
8947         Issue a warning if no function is given.
8949 2002-10-27  Akim Demaille  <akim@epita.fr>
8951         * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
8952         Move the documentation of AC_TRY_RUN to...
8953         (Obsolete Macros): here.
8954         Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
8955         (autoconf Invocation): Remove the duplicates with `invoking
8956         autom4te'.
8957         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
8958         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
8960 2002-10-27  Akim Demaille  <akim@epita.fr>
8962         * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
8963         and AC_LANG_FUNC_LINK_TRY.
8964         (Examining Libraries): Rename as...
8965         (Running the Linker): this.
8966         Document AC_LINK_IFELSE.
8967         Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
8968         (Obsolete Macros): here.
8969         * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
8970         AC_TRY_LINK_FUNC nor AC_TRY_LINK.
8971         * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
8972         * lib/autoconf/headers.m4 (AC_USG): Likewise.
8974 2002-10-27  Akim Demaille  <akim@epita.fr>
8976         * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
8978         More `check config.log' messages.
8980         * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
8981         * doc/autoconf.texi (Printing Messages): Document it.
8982         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
8983         appropriate.
8984         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
8985         (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
8986         (_AC_COMPILER_OBJEXT): Likewise.
8987         * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
8988         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
8989         Likewise.
8990         * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
8991         Likewise.
8993         Deprecate macros with unusual interfaces.
8995         * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
8996         (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
8998         Document the new ones, and proper style.
9000         * doc/autoconf.texi (Generating Sources): New.
9001         Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
9002         (Examining Declarations): Rename as...
9003         (Running the Preprocessor): this.
9004         Document AC_PREPROC_IFELSE.
9005         (Examining Syntax): Rename as...
9006         (Running the Compiler): this.
9007         (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
9008         (Obsolete Macros): Move the definition of AC_TRY_CPP and
9009         AC_TRY_COMPILE here.
9011 2002-10-27  Akim Demaille  <akim@epita.fr>
9013         Move sections around.
9015         * doc/autoconf.texi (Customizing autom4te): Remove a lost
9016         sentence.
9017         Reported by Burno Haible.
9018         (Language Choice): Now the first section of...
9019         (Writing Tests): this section.
9020         Make the introduction less C-centric.
9021         (Guidelines, Test Functions): Move to...
9022         (Writing Test Programs): this new section.
9023         (Test Programs): Merge into...
9024         (Run Time): this.
9026 2002-10-27  Akim Demaille  <akim@epita.fr>
9028         * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
9029         autom4te.in that resulted in the need for two `make' runs.
9031 2002-10-27  Akim Demaille  <akim@epita.fr>
9033         * configure.ac: Bump to 2.54b.
9035 2002-10-25  Akim Demaille  <akim@epita.fr>
9037         Version 2.54a.
9039         * Makefile.maint: Update from the Coreutils.
9040         (AMTAR): Remove, obsolete.
9041         (automake_repo): Update to redhat.com.
9042         (cvs_file): New.
9043         Adjust to the fact that ansi2knr is now hosted by Automake.
9044         * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
9045         * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
9046         Update from masters.
9047         * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
9048         autoscan.pre is not to be installed, and autoscan.list is not to
9049         be shipped.
9050         (CLEANFILES): Add autoscan.list.
9051         (autoscan.list): Disable the cache.
9052         * bin/Makefile.am: Include freeze.mk.
9054 2002-10-25  Akim Demaille  <akim@epita.fr>
9056         * bin/autom4te.in (&load_configuration): Take the file as
9057         argument.
9058         (&parse_args): Handle -C, --cache.
9059         ($help): Adjust.
9060         (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
9061         * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
9062         * doc/autoconf.texi (Invoking autom4te): Document --cache.
9063         Now a subsection of...
9064         (Using autom4te): This new section.
9065         (Customizing autom4te): New.
9066         (autom4te.cache): Adjust.
9068 2002-10-25  Akim Demaille  <akim@epita.fr>
9070         * doc/autoconf.texi (Generic Headers): More information on how to
9071         use AC_CHECK_HEADERS.
9073 2002-10-25  Akim Demaille  <akim@epita.fr>
9075         * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
9076         Space changes.
9078 2002-10-25  Akim Demaille  <akim@epita.fr>
9080         * bin/autoscan.in (output): Output AC_PREREQ.
9081         (%needed_macros): Add AC_PREREQ so that configure.ac without one
9082         be reported.
9084 2002-10-23  Akim Demaille  <akim@epita.fr>
9086         * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
9087         document _Bool.
9089 2002-10-23  Akim Demaille  <akim@epita.fr>
9091         * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
9092         Reported by Peter Eisentraut.
9094 2002-10-23  Akim Demaille  <akim@epita.fr>
9096         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
9097         type _Bool.
9098         Fix a typo.
9099         * doc/autoconf.texi (Particular Headers): Adjust according to Paul
9100         Eggert's recommandations.
9102 2002-10-22  Akim Demaille  <akim@epita.fr>
9104         * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
9105         Bison, by Paul Eggert.
9106         * doc/autoconf.texi (Particular Headers): Document it.
9108 2002-10-22  Aaron M. Ucko  <amu@alum.mit.edu>
9110         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
9111         `$ac_configure_args'.
9113 2002-10-22  Akim Demaille  <akim@epita.fr>
9115         * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
9116         (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
9117         From Art Haas.
9119 2002-10-22  Akim Demaille  <akim@epita.fr>
9121         Restore the 2002-10-11  Akim Demaille  <akim@epita.fr> patch:
9123         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9124         (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
9125         (_AC_CHECK_HEADER_NEW): Rename as...
9126         (AC_CHECK_HEADER): this.
9128 2002-10-22  Akim Demaille  <akim@epita.fr>
9130         * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
9131         words about HP-UX cmp: it was actually a user-written cmp.
9133 2002-10-22  Akim Demaille  <akim@epita.fr>
9135         * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
9136         are a few warnings.
9137         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9138         Quote for Perl '' strings, not "".
9139         * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
9140         strings.
9142 2002-10-22  Akim Demaille  <akim@epita.fr>
9144         * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9145         characters is a syntax warning now.
9146         (_AS_QUOTE): Accept $2 as list of characters to quote.
9147         * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9148         Quote for Perl, not sh.
9149         * bin/autoheader.in: When $debug, report the file which is
9150         `do'ne.
9151         * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
9152         `@', to tickle Perl's lists.
9153         Reported by Carlos Velasco.
9155 2002-10-18  Akim Demaille  <akim@epita.fr>
9157         * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
9158         missing included files _are_ errors.
9159         Thanks to Alexandre Duret-Lutz.
9160         * tests/tools.at (autom4te cache): Adjust.
9161         * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
9162         (AT_CHECK_M4SUGAR): Use it.
9163         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9164         Adjust.
9165         * tests/tools.at (autom4te): Now it does exit 1.
9167 2002-10-17  Akim Demaille  <akim@epita.fr>
9169         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
9170         Fixes the `AC_ARG_VAR' test failures.
9171         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
9172         * lib/freeze.mk (check-forbidden-patterns): New.
9173         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
9174         * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
9175         * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
9176         /dev/null.
9177         Reported months ago by H. Merijn Brand.
9179 2002-10-17  Akim Demaille  <akim@epita.fr>
9181         * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
9183 2002-10-16  Paul Eggert  <eggert@twinsun.com>
9185         * Makefile.maint (wget_files): Remove ansi2knr.c.
9186         (ansi2knr.c-url_prefix): Remove.
9188 2002-10-16  Akim Demaille  <akim@epita.fr>
9190         Because of caching, some files that no longer exist and are no
9191         longer required can still cause errors.
9192         Reported by Alexandre Duret-Lutz.
9194         * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
9195         to frozen files in @ARGV, as @ARGV must remain being a list of
9196         files.  Rather, at M4 call sites, use this...
9197         (&files_to_options): New function.
9198         (&freeze): Use &error.
9199         (&up_to_date): If a file that was included according to the cache
9200         is no longer there, then the output is out dated.
9201         (&main): Don't even check whether a file is up to date is anyway
9202         --force is given.
9203         * tests/tools.at (autom4te cache): New.
9205 2002-10-16  Akim Demaille  <akim@epita.fr>
9207         * bin/autoconf.as: Kill dead options.
9208         * bin/autoupdate.in (&parse_args): Kill old options.
9209         * bin/autoreconf.in (&parse_args): Remove dead options.
9210         Factor some code.
9211         (&autoreconf): Report the directories we enter *and leave*, so
9212         that error messages can be easily located, and use GNU Make
9213         format, so that Emacs' compile mode understands us.
9214         * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
9215         if some file was changed instead of `print'.
9216         * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
9217         (&parse_args): Remove the dead options.
9218         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
9219         autoheader's quiet mode.
9220         (AT_CHECK_AUTOUPDATE): Likewise.
9221         * tests/tools.at (autoupdate): Adjust.
9222         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9224 2002-10-11  Akim Demaille  <akim@epita.fr>
9226         No longer use CPP to check for the existing of headers: use CC to
9227         check for compilability.
9229         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9230         (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
9231         (_AC_CHECK_HEADER_NEW): Rename as...
9232         (AC_CHECK_HEADER): this.
9234         * lib/autotest/general.m4 (AT_INIT): Include the failed test
9235         numbers in the Subject suggestion.
9237 2002-10-11  Akim Demaille  <akim@epita.fr>
9239         * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
9240         Suggest using AC_CHECK_DECLS instead.
9242 2002-10-11  Akim Demaille  <akim@epita.fr>
9244         * tests/torture.at (AC_ARG_VAR): Have configure report the value
9245         of `precious'.
9247 2002-10-11  Akim Demaille  <akim@epita.fr>
9249         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
9250         file name to enable parallel executions.
9251         From Sam Varshavchik.
9253 2002-10-08  Akim Demaille  <akim@epita.fr>
9255         * bin/autoreconf.in (&autoreconf): Run autopoint before the first
9256         aclocal invocation, as Gettext macros might not be visible to
9257         aclocal.
9258         Instead of blindly running autopoint, scan configure.ac (not the
9259         traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
9260         Reported by Paul D. Smith.
9262 2002-10-08  Paul Eggert  <eggert@twinsun.com>
9264         Work around problems found when POSIXLY_CORRECT=1 is set.
9265         None of this seems to have anything to do with POSIX, really,
9266         but it's how Perl getopt works.
9267         * bin/autom4te.in (parse_args): Configure GetOpt with
9268         "permute", too.
9269         * doc/autoconf.texi (Invoking autom4te):
9270         --warning -> --warnings.
9271         * lib/autom4te.in: --warning -> --warnings.
9273 2002-09-28  Akim Demaille  <akim@epita.fr>
9275         * doc/autoconf.texi (autom4te.cache): New section.
9277 2002-09-28  Akim Demaille  <akim@epita.fr>
9279         * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
9280         (Automake-preselections): Update.
9281         * bin/autoreconf.in, bin/autoheader.in: Comment changes.
9283 2002-09-28  Akim Demaille  <akim@epita.fr>
9285         * lib/autoscan/autoscan.pre: Move all the remaining rules to...
9286         * lib/autoconf/c.m4, lib/autoconf/functions.m4,
9287         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
9288         * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
9290 2002-09-28  Akim Demaille  <akim@epita.fr>
9292         * tests/torture.at (Configuring subdirectories): Be robust to
9293         users who use config.site to require for a cache: in this case,
9294         the two last configure runs, using two different sets of
9295         arguments, trigger a legitimate error.
9297 2002-09-28  Akim Demaille  <akim@epita.fr>
9299         * tests/m4sh.at (Functions Support, Functions and return Support):
9300         New.
9302 2002-09-28  Akim Demaille  <akim@epita.fr>
9304         * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
9305         autoheader are Perl programs.
9306         (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
9307         (autom4te): Specify that the sources are in the $srcdir.
9308         * doc/autoconf.texi (Installation Directory Variables): Adjust.
9310 2002-09-28  Akim Demaille  <akim@epita.fr>
9312         * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
9313         (tm_zone): Move their rules to...
9314         * lib/autoconf/types.m4: here, using AN_ macros.
9315         * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
9316         (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
9317         (make, mawk, nawk, ranlib, yacc): Similarly, move to...
9318         * lib/autoconf/programs.m4: here.
9319         * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
9320         (ETAGS_FOR_AUTOCONF): New.
9321         Use it.
9323 2002-09-28  Akim Demaille  <akim@epita.fr>
9325         * lib/autoconf/autoscan.m4: New file.
9326         * lib/autoconf/autoconf.m4: Include it.
9327         * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
9328         that were listed in the original autoscan.list.
9329         * lib/autoconf/headers.m4: Similarly with headers.
9330         * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
9331         (.m4.m4f): Don't pass --prepend-include, since that's done by
9332         tests/autom4te itself.
9333         * lib/autoscan/Makefile.am: Include freeze.mk.
9334         (autoscan.list): New target --this file is no longer a source.
9335         (autoscan.pre): New file.
9337 2002-09-28  Akim Demaille  <akim@epita.fr>
9339         * bin/autoscan.in (@kinds): Make them singular.
9340         Adjust all uses.
9341         (&init_tables): When --debug, report the list of rules to ease
9342         tracking changes in autoscan.list.
9343         * lib/autoscan/autoscan.list (function): Strip comments, sort.
9345 2002-09-28  Akim Demaille  <akim@epita.fr>
9347         * lib/autoscan/functions, lib/autoscan/headers,
9348         * lib/autoscan/identifiers, lib/autoscan/makevars,
9349         * lib/autoscan/programs: Merge into...
9350         * lib/autoscan/autoscan.list: this.
9351         * bin/autoscan.in (&init_tables): Adjust.
9353 2002-09-28  Akim Demaille  <akim@epita.fr>
9355         * lib/autoscan/functions, lib/autoscan/headers,
9356         * lib/autoscan/identifiers, lib/autoscan/makevars,
9357         * lib/autoscan/programs: Make the `kind' explicit, i.e., each
9358         `functions' line is now prefixed with `function:'.
9359         * bin/autoscan.in (&init_tables): Adjust.
9361 2002-09-28  Akim Demaille  <akim@epita.fr>
9363         From now on, autoscan files must always map a macro name to a
9364         word: there is no `default' macro for autoscan.
9366         * bin/autoscan.in (&init_tables): Reject entries with no macro at
9367         all.
9368         * lib/autoscan/functions, lib/autoscan/headers: Make the macro
9369         explicit.
9371 2002-09-28  Akim Demaille  <akim@epita.fr>
9373         * bin/autoscan.in (%c_keywords): Remove.
9374         (&used): Keep only track of the words we might be interested in.
9375         (&output_kind): It is no longer needed to look for non active
9376         checks.
9378 2002-09-27  Akim Demaille  <akim@epita.fr>
9380         * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
9381         jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
9382         * lib/autoscan/functions: Adjust.
9383         * doc/autoconf.texi (Particular Functions): Adjust.
9385 2002-09-27  Akim Demaille  <akim@epita.fr>
9387         * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
9388         from /tmp.
9389         Thanks to Bill Moseley and Paul Eggert.
9390         * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
9391         the tmpdir must be created.
9392         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
9393         dir be in the build tree, instead of $TMPDIR.
9395 2002-09-27  Akim Demaille  <akim@epita.fr>
9397         * bin/autoscan.in: Improve the comments.
9398         (&parse_args): Drop obsolete undocumented options.
9399         (&output_kind): Output warnings.
9400         * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
9401         (getwd): Trigger a warning.
9403 2002-09-26  Akim Demaille  <akim@epita.fr>
9405         * bin/autoreconf.in: Clarify that -s is meaningless without -i.
9406         Reported by Ralf Corsepius.
9407         * doc/autoconf.texi (autoreconf Invocation): Likewise.
9409 2002-09-26  Akim Demaille  <akim@epita.fr>
9411         Single suffix rules and seperated dependencies are not portable.
9413         * doc/autoconf.texi (Installation Directory Variables): Update.
9414         (Limitations of Make): Some about `Single Suffix Rules and
9415         Separated Dependencies'.
9416         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9417         (ifnames, autoscan, autom4te): Un-factor into several rules.
9419 2002-09-25  Paul Eggert  <eggert@twinsun.com>
9421         * BUGS (Interoperability bugs): New section.  Mention libtool
9422         1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
9424 2002-09-24  Paul Eggert  <eggert@twinsun.com>
9426         Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
9427         make handles suffix-rules differently from GNU make.
9429         * bin/Makefile.am (SUFFIXES, .in): Remove.
9430         (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
9431         Move the body of the old .in rule here.
9433 2002-09-16  Akim Demaille  <akim@epita.fr>
9435         i960 compilers create `b.out' files by default.
9436         Reported by Ralf Corsepius.
9438         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
9439         (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
9441 2002-09-13  Paul Eggert  <eggert@twinsun.com>
9443         * doc/autoconf.texi (Particular Headers): Remove obsolete
9444         reference to `struct timezone' in the description of
9445         AC_HEADER_TIME.
9447 2002-09-13  Akim Demaille  <akim@epita.fr>
9449         Version 2.54.
9451         * config/config.sub, config/config.guess: Update.
9452         * Makefile.maint: Update from bits of the Coreutils 4.5.1.
9453         * Makefile.am: Adjust.
9455 2002-09-13  Akim Demaille  <akim@epita.fr>
9457         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
9458         reading config.log when the compiler is rejected.
9459         Suggested by Guido Draheim.
9461 2002-09-13  Akim Demaille  <akim@epita.fr>
9463         * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
9464         (chdir_init) might hang when stat'ing mounted directories.
9465         Reported by Vance Shipley.
9467 2002-09-12  Akim Demaille  <akim@epita.fr>
9469         * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
9470         the lists.
9472 2002-09-12  Akim Demaille  <akim@epita.fr>
9474         * doc/autoconf.texi (Defining Symbols): Present two different
9475         prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
9476         difference between 1 argument calls, and 2-3 argument calls.
9478 2002-09-12  Peter Eisentraut  <peter_e@gmx.net>
9480         * doc/autoconf.texi: Review grammar and punctuation.
9482 2002-09-11  Paul Eggert  <eggert@twinsun.com>
9484         * doc/autoconf.texi: Fix minor formatting, spelling, and
9485         grammatical typos.
9486         (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
9487         AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
9488         is obsolescent.
9490 2002-09-11  Akim Demaille  <akim@epita.fr>
9492         * doc/autoconf.texi (Questions): Rename as...
9493         (FAQ): this.
9494         (Defining Directories): New.
9496 2002-09-09  Akim Demaille  <akim@epita.fr>
9498         * doc/autoconf.texi (Making testsuite Scripts): Update.
9499         Suggested by Nishio Futoshi.
9501 2002-09-09  Koji Arai  <JCA02266@nifty.ne.jp>
9503         * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
9504         plain `@' is wanted.
9506 2002-09-09  Akim Demaille  <akim@epita.fr>
9508         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
9509         `duplicates', since the algorithm was too naive and could keep
9510         `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
9511         keep `--prefix foo --prefix bar' as `--prefix foo bar'.
9512         Reported by Ralf Corsepius.
9513         * tests/torture.at (Configuring subdirectories): Exercise these
9514         cases.
9516 2002-09-09  Akim Demaille  <akim@epita.fr>
9518         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
9519         looking for a replacement file.
9520         * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
9521         directory is relative.
9522         * doc/autoconf.texi (Generic Functions): Clarify the replacement
9523         directory definition.
9524         Reported by Andreas Schwab and Jim Meyering.
9526 2002-09-06  Akim Demaille  <akim@epita.fr>
9528         * doc/autoconf.texi (Setting Output Variables): Clarify what
9529         precious variables are.
9530         Suggested by Pontus Skoeld.
9532 2002-09-05  Akim Demaille  <akim@epita.fr>
9534         * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9535         (ifnames, autoscan, autom4te): Since we don't only depend on
9536         configure.ac variables (such as VERSION etc.), but also on prefix
9537         and so forth, depend on Makefile, not configure.ac.
9538         Reported by Alexandre Duret-Lutz.
9539         * doc/autoconf.texi (Installation Directory Variables): Adjust.
9541 2002-09-05  Kevin Ryde  <user42@zip.com.au>
9543         * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
9544         doesn't seem to be confined to ia64, just say "some versions".
9546 2002-09-04  Akim Demaille  <akim@epita.fr>
9548         * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
9549         Automake 1.6c.
9550         * Makefile.am (maintainer-clean-local): Remove.
9551         (MAINTAINERCLEANFILES): Remove COPYING.
9553 2002-09-03  Paul Eggert  <eggert@twinsun.com>
9555         * doc/autoconf.texi (Configuration Commands): Remove obsolete
9556         example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
9557         Brinkmann.
9559 2002-09-03  Akim Demaille  <akim@epita.fr>
9561         * configure.ac: Bump to 2.53d.
9562         * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
9563         as of today, on Automake's team suggestion.
9565 2002-09-03  Akim Demaille  <akim@epita.fr>
9567         Version 2.53c.
9569 2002-09-02  Akim Demaille  <akim@epita.fr>
9571         * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
9572         SITE_MACRO_DIR.
9573         * configure.ac: Disable SITE_MACRO_DIR.
9575 2002-09-02  Jim Meyering  <meyering@lucent.com>
9577         * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
9578         i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
9579         Also, tweak grammar: s/make sure to/be sure to/.
9581 2002-09-02  Paul Eggert  <eggert@twinsun.com>
9583         * doc/autoconf.texi (Limitations of Builtins): Explain why logical
9584         directory names are generally preferable to physical names.
9586 2002-09-02  Akim Demaille  <akim@epita.fr>
9588         * lib/Autom4te/General.pm (&update_file): s/die/error/.
9589         Reported by Raja R. Harinath.
9590         * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
9591         * bin/autoupdate.in: Use error instead of die.
9593 2002-09-01  Paul Eggert  <eggert@twinsun.com>
9595         * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
9596         ordinary shell concatenation rather than echo+tr+sed command that
9597         runs afoul of a long-line-related sed bug in Solaris 8.
9599         * bin/autoheader.in (parse_args): --warning -> --warnings.
9601         * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
9602         stdout, as traditional "ls" does.
9603         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
9604         _AC_COMPILER_EXEEXT_O): Likewise.
9605         * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
9607         * bin/autoconf.as: Add --prepend-include option.  This patch was
9608         applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
9609         but bin/autoconf.in is generated automatically from bin/autoconf.as.
9611         * bin/autoconf.in, configure: Regenerate.
9613         * doc/autoconf.texi (Special Shell Variables): Mention
9614         ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.
9616         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
9617         MAILPATH and set PS1, PS2, PS4 to default values, to work
9618         around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
9619         For LC_ALL etc, first try to set to "C" as POSIX requires and as
9620         the Autoconf documentation specifies; fall back to "unset" only if
9621         this fails.  Use a shell for-loop for this rather than an m4 loop,
9622         to shorten the output script.
9624 2002-08-30  Paul Eggert  <eggert@twinsun.com>
9626         * doc/autoconf.texi (Special Shell Variables): Mention POSIX
9627         1003.1-2001's requirements for CDPATH.  Give a simpler workaround
9628         for the CDPATH problem.  Document PWD.
9629         (Limitations of Builtins): Document the problem that "cd $foo" and
9630         "ls $foo" may refer to different directories in shells conforming
9631         to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
9632         example, since the old example is now out of date.
9634         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
9635         FOO" and "ls FOO" talk about different directories; this catches
9636         problems when POSIX 1003.1-2001 "cd" fails due to symlink
9637         spaghetti.
9639         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
9640         of rolling our own unset.
9641         (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
9642         in practice we needn't worry about CDPATH if unset doesn't work.
9644         * Makefile.in, aclocal.m4, bin/Makefile.in,
9645         config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
9646         lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
9647         lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
9648         lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
9649         tests/Makefile.in: Regenerate with Automake 1.6.3.
9651         * config/config.guess, config/config.sub, config/mkinstalldirs:
9652         Update.
9654         * configure: Regenerate with self.
9656 2002-08-30  Kevin Ryde  <user42@zip.com.au>
9658         * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
9659         default output.
9661 2002-08-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9663         * bin/autom4te.in (Request::load): Correctly test for "do" read
9664         failure.
9666 2002-08-29  Akim Demaille  <akim@epita.fr>
9668         * lib/Autom4te/General.pm (&xqx): New.
9669         (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
9670         hand, which is not portable.
9671         (&error): New.
9672         * bin/autom4te.in: Use them.
9673         Use &error instead of die.
9674         * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9675         Adjust.
9677 2002-08-17  Paul Eggert  <eggert@twinsun.com>
9679         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
9680         default list of compilers to try, since it was long ago superseded
9681         by the ksh fc builtin.  Suggested by Steven G. Johnson.
9683 2002-07-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
9685         * doc/autoconf.texi (Invoking autom4te): End the option table,
9686         fixing a bug introduced by the previous patch.
9687         (Limitations of Make): Add a 'target lookup' subentry in the
9688         'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
9690 2002-07-29  Mark D. Roth  <roth@feep.net>
9692         * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
9693         options and use $AUTOM4TE_PATH.
9694         * doc/autoconf.texi: Remove documentation of autom4te
9695         --include-envvar and --site-macro-subdir options and document
9696         use of $AUTOM4TE_PATH.
9697         * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
9698         arguments from each language section.
9700 2002-07-29  Paul Eggert  <eggert@twinsun.com>
9702         * doc/install.texi: Include copyright symbol in copyright notice.
9704         * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
9705         Replace with:
9706         (AM_MAKEINFOFLAGS): New macro.
9707         * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
9708         * Makefile.am (INSTALL): Use the new macros.
9709         Use -o rather than --output, since "missing" does not grok --output.
9711 2002-07-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
9713         * doc/autoconf.texi (Limitations of Make): Escaped newlines in
9714         comments do not always work. Never trust the exit status of
9715         `make -k'.
9717 2002-07-24  Kevin Ryde  <user42@zip.com.au>
9719         * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
9720         Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
9722 2002-07-23  Paul Eggert  <eggert@twinsun.com>
9724         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
9725         Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
9726         apparently treats PATH="nonexistent" as if it contained ".".
9727         Bug reported by Stefan `Sec' Zehl.
9729 2002-07-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
9731         * doc/autoconf.texi (Limitations of Make): Mention the special
9732         handling of the obj/ directory by BSD make.
9734 2002-07-20  Kevin Ryde  <user42@zip.com.au>
9736         * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
9737         backslashes.
9739 2002-07-19  Akim Demaille  <akim@epita.fr>
9741         * doc/autoconf.texi (Function Portability): `exit'.
9742         (Programming in M4sh): Ethymology of M4sh.
9744 2002-07-19  Akim Demaille  <akim@epita.fr>
9746         * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
9748 2002-07-18  Akim Demaille  <akim@epita.fr>
9750         Version 2.53b.
9752 2002-07-18  Akim Demaille  <akim@epita.fr>
9754         * config/config.guess, config/config.sub: Update.
9756 2002-07-18  Akim Demaille  <akim@epita.fr>
9758         Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
9759         Automake's parts.
9761         * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
9762         * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
9763         * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
9765 2002-07-18  Akim Demaille  <akim@epita.fr>,
9766             Alexandre Duret-Lutz  <duret_g@epita.fr>
9768         * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
9769         _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
9771 2002-07-17  Russ Allbery  <rra@stanford.edu>
9773         * doc/autoconf.texi (Initializing configure): Clarify the
9774         description of the tarname default.
9776 2002-07-17  Andreas Buening  <andreas.buening@nexgo.de>
9778         * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
9779         ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
9780         latter was not run.
9782 2002-07-17  Akim Demaille  <akim@epita.fr>
9784         * lib/Autom4te/General.pm (find_file): Browse the directories in
9785         the order they are given.
9787 2002-07-17  Akim Demaille  <akim@epita.fr>
9789         * tests/wrapsh.as, tests/wrappl.as: Merge into...
9790         * tests/wrapper.as: this.
9791         * tests/Makefile.am, configure.ac: Adjust.
9793 2002-07-17  Mark D. Roth  <roth@feep.net>
9795         * configure.ac: Add --enable-site-macro-dir option.
9796         * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
9797         * bin/autom4te.in: Add --prepend-include, --include-envvar, and
9798         --site-macro-subdir options.
9799         * bin/autoconf.in: Add --prepend-include option.
9800         * bin/autoheader.in: Add --prepend-include option.
9801         * bin/autoreconf.in: Add --prepend-include option.
9802         * bin/autoscan.in: Add --prepend-include option.
9803         * bin/autoupdate.in: Add --prepend-include option.
9804         * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
9805         macro directory, remove note that include path directories are
9806         used in reverse order, and document --prepend-include option.
9807         * lib/autom4te.in: Use --prepend-include instead of --include.
9808         * tests/wrapsh.in: Use --prepend-include instead of --include.
9810 2002-07-17  Akim Demaille  <akim@epita.fr>
9812         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
9813         tarnames.
9814         * doc/autoconf.texi (Initializing configure): Adjust.
9816 2002-07-17  Akim Demaille  <akim@epita.fr>
9818         * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
9819         (_AC_FUNC_MALLOC): New.
9820         (AC_FUNC_MALLOC): Use the latter.
9821         Define HAVE_MALLOC to 0 if broken.
9822         * doc/autoconf.texi (Particular Functions): Adjust.
9824 2002-07-16  Akim Demaille  <akim@epita.fr>
9826         * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
9827         * doc/autoconf.texi (C Compiler): Adjust.
9829 2002-07-09  Akim Demaille  <akim@epita.fr>
9831         * doc/autoconf.texi: Properly set the ``header'' part.
9833 2002-07-09  Akim Demaille  <akim@epita.fr>
9835         * doc/autoconf.texi (Systemology): Some about Darwin.
9837 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
9839         * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
9840         Don't use AC_REQUIRE in AU_DEFUN.
9842 2002-07-09  Art Haas  <ahaas@neosoft.com>
9844         * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
9846 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
9848         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9849         bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
9850         lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
9851         so that Emacs setups GNU style for perl-mode and cperl-mode.
9853 2002-06-27  Paul Eggert  <eggert@twinsun.com>
9855         * config/install-sh: Quote $src.  Prefer || to test's -o option,
9856         as per "Limitations of Builtins".
9857         * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
9858         * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9860         * tests/mktests.sh: Use grep instead of fgrep, as per
9861         "Limitations of Builtins".
9863 2002-06-15  Paul Eggert  <eggert@twinsun.com>
9865         * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
9866         autom4te_perllibdir): Set to top build dir or src dir as appropriate,
9867         so that we consistently test the just-built programs.
9868         * tests/wrappl.as: Likewise.
9870 2002-06-12  Paul Eggert  <eggert@twinsun.com>
9872         * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
9873         name, so that symlinks to 'autoconf' work properly.  Bug reported
9874         by Bruno Haible.
9875         * bin/autoheader.in (AUTOM4TE): Likewise.
9876         * bin/autoreconf.in (autoconf, autoheader): Likewise.
9877         * bin/autoscan.in (autom4te): Likewise.
9878         * bin/autoupdate.in (autom4te): Likewise.
9880         * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
9881         btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
9882         on Solaris 2.5.1.
9884 2002-06-11  Andreas Schwab  <schwab@suse.de>
9886         * doc/autoconf.texi: Add more dir entries.
9888 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
9890         * bin/autom4te.in ($cache): Don't define using `$me', the name
9891         of the cache should not depend on the name under which autom4te
9892         was installed.
9894 2002-06-07  Akim Demaille  <akim@epita.fr>
9896         * tests/tools.at (autoconf: forbidden tokens, basic)
9897         (autoconf: forbidden tokens, exceptions): Adjust to the change of
9898         words in autom4te.in.
9900 2002-06-07  Peter Eisentraut  <peter_e@gmx.net>
9902         * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
9903         _AC_LANG_PROGRAM_C_F77_HOOKS.
9905 2002-06-07  Akim Demaille  <akim@epita.fr>
9907         * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
9908         rename as...
9909         (AC_REPLACE_FNMATCH): this.
9910         * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
9911         AC_FUNC_FNMATCH_GNU.
9913 2002-06-07  Akim Demaille  <akim@epita.fr>
9915         * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
9916         Rosetta Stone for Unix.
9918 2002-06-07  Akim Demaille  <akim@epita.fr>
9920         * bin/autom4te.in (warn_forbidden): When rejecting a token,
9921         suggest m4_pattern_allow.
9922         Suggested by Adam J. Richter.
9924 2002-06-07  Akim Demaille  <akim@epita.fr>
9926         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
9927         ac_config_libobj_dir.
9928         (AC_CONFIG_LIBOBJ_DIR): New.
9929         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
9930         (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
9931         Use ac_config_libobj_dir to find the replacement files.
9932         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
9933         (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
9934         (AC_REPLACE_FNMATCH_GNU): these.
9935         (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
9936         * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
9937         * tests/mktests.sh (ac_exclude_list): Don't check
9938         AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
9940 2002-06-06  Paul Eggert  <eggert@twinsun.com>
9942         * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
9943         if ln doesn't work.
9944         * NEWS: Likewise.
9945         * doc/autoconf.texi (Configuration Links): Likewise.
9946         (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
9948 2002-06-05  Paul Eggert  <eggert@twinsun.com>
9950         * config/config.guess, config/config.sub, config/texinfo.tex:
9951         Update from masters.
9953 2002-05-29  Paul Eggert  <eggert@twinsun.com>
9955         * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
9956         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9957         * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
9958         Likewise.
9959         * lib/autoconf/Makefile.am (check-local): Likewise.
9960         * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
9961         * lib/autoconf/types.m4 (commentary only): Likewise.
9962         * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
9963         * lib/autotest/Makefile.am (check-local): Likewise.
9964         * lib/m4sugar/Makefile.am (check-local): Likewise.
9965         * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
9966         * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
9968         * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
9969         * doc/autoconf.texi (Particular Programs): Document them.
9970         (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
9971         * NEWS: Likewise.
9973 2002-05-27  Paul Eggert  <eggert@twinsun.com>
9975         * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
9976         * NEWS, doc/autoconf.texi (Particular Types): Document it.
9977         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
9978         instead of AC_MBSTATE_T, which never existed.
9980 2002-05-23  Akim Demaille  <akim@epita.fr>
9982         * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
9983         version of Autoconf that is discussed.
9985 2002-05-22  Paul Eggert  <eggert@twinsun.com>
9987         * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
9988         from the default list of compilers to try.  Suggested by
9989         Kate Hedstrom.
9990         * NEWS: Document the above.
9991         * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
9993 2002-05-17  Paul Eggert  <eggert@twinsun.com>
9995         * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
9996         the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
9997         This improves on an earlier suggestion by H. Peter Anvin.
9999 2002-05-16  Paul Eggert  <eggert@twinsun.com>
10001         AC_FUNC_FNMATCH now tests only for POSIX compatibility.
10002         AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
10003         Both macros now accept an optional source-dir arg.
10004         New macro AC_GNU_SOURCE to define _GNU_SOURCE.
10006         * NEWS: Document this.
10007         * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
10009         * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
10010         (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
10011         not for GNU extensions; this undoes part of the 2000-11-03 change,
10012         reverting to 2.13-compatible behavior.
10013         Add new optional argument DIR.
10014         (AC_FUNC_FNMATCH_GNU): New macro.
10016         * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
10018 2002-05-08  Paul Eggert  <eggert@twinsun.com>
10020         * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
10021         Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
10022         and it causes a 'test' syntax error if it fails.
10023         Bug reported by Stephen Gildea.
10025         * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
10026         If prototypes are supported, use them to check this at compile-time,
10027         instead of trying to check it at run-time.  If we must do a run-time
10028         check, assume that setvbuf is standard when cross-compiling, as
10029         nonstandard setvbuf occurs only on ancient and unlikely hosts.
10030         Bug reported by Paul D. Smith.
10032         * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
10033         argument specifying location of getloadavg.c.  This removes a
10034         FIXME.  This idea was taken from Jim Meyering's implementation in
10035         textutils.
10036         * doc/autoconf.texi (Particular Functions): Document this.
10037         Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
10038         that's what the code does; this fixes a bug reported by
10039         Paul D. Smith.
10041 2002-05-03  Akim Demaille  <akim@epita.fr>
10043         * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
10044         autopoint instead of gettextize.
10045         ($uses_alocal): Rename as...
10046         ($uses_aclocal): this.
10047         * doc/autoconf.texi (autoreconf Invocation): Adjust.
10048         Suggested by Bruno Haible.
10050 2002-05-03  Akim Demaille  <akim@epita.fr>
10052         * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
10054 2002-04-29  Paul Eggert  <eggert@twinsun.com>
10056         * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
10057         files to be 1 second older; just set them to be the same time.
10058         Also, sleep 1 second after the first aclocal, to work around
10059         problems with sub-second time stamps on the input files.
10061 2002-04-29  Thien-Thi Nguyen  <ttn@gnu.org>
10063         * doc/autoconf.texi: Mention "set -e -x" lossage
10064         under node "Limitations of Builtins".
10066 2002-04-29  Akim Demaille  <akim@epita.fr>
10068         * doc/install.texi: Better wording for setting variables when
10069         running configure.
10070         From Christian Cornelssen.
10072 2002-04-29  Akim Demaille  <akim@epita.fr>
10074         * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
10075         of lack of $LINENO support, then the test will compare the $LINENO
10076         in testsuite vs. the lineno in the test file.  This is wrong, of
10077         course.
10078         Be sure to protect it.
10079         Reported by Patrick Welche.
10081 2002-04-25  Akim Demaille  <akim@epita.fr>
10083         * doc/autoconf.texi (Obsolete Macros): Typo.
10084         Reported by Vladimir Volovich.
10086 2002-04-25  Akim Demaille  <akim@epita.fr>
10088         * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
10089         than some of the input files, hence, on the second run of aclocal,
10090         if some of its input are younger, make them older.
10091         Suggested by Paul Eggert.
10093 2002-04-25  Akim Demaille  <akim@epita.fr>
10095         * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
10096         Thanks to Paul Eggert.
10098 2002-04-25  Akim Demaille  <akim@epita.fr>
10100         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
10101         and ac_subst_vars be sh variables containing the list of
10102         AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
10103         DEFAULT diversion.
10104         (_AC_INIT_PREPARE): Use them to log them.
10105         (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
10106         (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
10107         _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
10108         _AC_SUBST_FILES and _AC_SUBST_VARS.
10109         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
10111 2002-04-24  Akim Demaille  <akim@epita.fr>
10113         * bin/autoreconf.in (autoreconf): Run automake after autoconf and
10114         autoheader, so that automake does not complain about a missing
10115         config.h.in that was to be created.
10117 2002-04-23  Akim Demaille  <akim@epita.fr>
10119         * bin/autoheader.in (parse_args): --warning takes an argument.
10120         Fixes PR/220.
10122 2002-04-22  Peter Eisentraut  <peter_e@gmx.net>
10124         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
10125         and bb.out when cleaning up.
10127 2002-04-22  Akim Demaille  <akim@epita.fr>
10129         Version 2.53a.
10131 2002-04-22  Akim Demaille  <akim@epita.fr>
10133         * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
10135 2002-04-22  Akim Demaille  <akim@epita.fr>
10137         * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
10138         comma.
10139         Reported by Gregory Giannoni.
10141 2002-04-22  Akim Demaille  <akim@epita.fr>
10143         * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
10144         Fixes false failures on Darwin.
10146 2002-04-21  Paul Eggert  <eggert@twinsun.com>
10148         * TODO, bin/autoupdate.in, doc/autoconf.texi,
10149         lib/autoconf/general.m4, lib/autoconf/libs.m4,
10150         lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
10151         tests/tools.at: Minor spelling and grammar fixes.
10153 2002-04-20  Paul Eggert  <eggert@twinsun.com>
10155         * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
10156         ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
10157         * lib/autotest/general.m4 (AT_INIT): Likewise.
10158         * tests/atgeneral.m4 (AT_INIT): Likewise.
10160 2002-04-19  Paul Eggert  <eggert@twinsun.com>
10162         * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
10163         doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
10164         lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
10165         lib/autoconf/functions.m4, lib/autoconf/general.m4,
10166         lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
10167         lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
10168         tests/atspecific.m4, tests/semantics.at, tests/torture.at:
10169         Minor spelling and grammar fixes.
10171         * doc/autoconf.texi: Follow the outline suggested in the GNU
10172         Sample Texts sections of the Texinfo 4.2 manual.  Most
10173         importantly, this makes sure that the copyright notices appear in
10174         all output formats.  You probably need Texinfo 4.2 to generate
10175         the manual now.
10177         Fix some bugs when using "$@" when there might be zero positional
10178         arguments in cases where this matters.
10180         * bin/autoconf.as: Rewrite so that the problem does not come up.
10181         * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
10182         * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
10183         * lib/autotest/general.m4 (AT_INIT): Likewise.
10185         * bin/autoheader.in: Use 'case' statement to work around problem.
10186         * bin/auto4mte.in: Likewise.
10187         * bin/autoreconf.in: Likewise.
10188         * bin/autoscan.in: Likewise.
10189         * bin/autoupdate.in: Likewise.
10190         * bin/ifnames.in: Likewise.
10192         * doc/autoconf.texi (Shell Substitutions): Document the problem.
10194         * lib/autotest/general.m4 (AT_INIT):
10195         Use Zsh alias to work around problem.
10196         * tests/atgeneral.m4 (AT_INIT): Likewise.
10198         * tests/c.at: We can't have zero arguments, so remove workaround
10199         that is not portable to Zsh.
10201 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
10203         * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
10204         from aclocal.m4 too.
10206 2002-04-12  Akim Demaille  <akim@epita.fr>
10208         * tests/wrappl.as: New, M4sh precursor of wrappl.in.
10210 2002-04-10  Akim Demaille  <akim@epita.fr>
10212         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
10213         workaround for ${1+"$@"}.
10214         * doc/autoconf.texi (Shell Substitutions): Explain it.
10215         From Oliver Kiddle and Peter Stephenson.
10217         Have M4sh perform minimal shell sanitizing.
10219         * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
10220         part into...
10221         (_AS_PREPARE): this new macro.
10222         (AS_PREPARE): New.
10223         (AS_INIT): Invoke AS_SHELL_SANITIZE.
10224         * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
10226         Adjust Autoconf and Autotest.
10228         * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
10229         AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
10230         * lib/autotest/general.m4 (AT_INIT): Likewise.
10231         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
10232         Invoke _AS_PREPARE (not AS_PREPARE) in addition to
10233         AS_SHELL_SANITIZE.
10235         Use this M4sh to generate Autoconf's shell scripts.
10237         * tests/wrapsh.as: New, precursor of wrapsh.in.
10238         * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
10239         on Autotest and M4sh.
10240         ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
10241         (wrapsh.in): New target.
10242         * bin/autoconf.as: New, precursor of autoconf.in.
10243         (autoconf.in): New target.
10245 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
10247         * doc/autoconf.texi (Limitations of Make): Mention the issue
10248         with indented comments in rules.
10250 2002-04-09  Andreas Schwab  <schwab@suse.de>
10252         * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
10253         ac_top_builddir when setting ac_abs_top_builddir.
10255 2002-04-06  Kevin Ryde  <user42@zip.com.au>
10257         * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
10258         (Portable Shell): Cross reference to Systemology.
10260 2002-04-05  Akim Demaille  <akim@epita.fr>
10262         * bin/autoreconf.in (autoreconf): Be sure to accumulate the
10263         directories when descending in a SUBDIRS.
10264         Reported by Ezra Peisach.
10266 2002-04-04  Andreas Schwab  <schwab@suse.de>
10268         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
10269         contains no literal separators.
10271 2002-04-03  Akim Demaille  <akim@epita.fr>
10273         * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
10274         (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
10275         Use dnl, not the KILL diversion.
10276         Extracted from...
10277         (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
10278         (AC_CONFIG_LINKS): here.
10279         Adjust.
10280         Don't use the KILL diversion, as it kills spurious output, which
10281         results in failures being hidden.
10282         Use m4_defn where appropriate.
10283         (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
10284         after the second argument.
10285         Use m4_defn.
10286         * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
10287         syntax, as it is provided by M4sugar.
10288         * tests/torture.at (Multiple AC_CONFIG_FILES): New.
10290 2002-04-03  Andreas Schwab  <schwab@suse.de>
10292         * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
10293         expanded if $# <= 2.
10295         * bin/autoreconf.in (autoreconf): Run automake after rerunning
10296         aclocal.
10298 2002-04-03  Akim Demaille  <akim@epita.fr>
10300         * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
10301         (_AC_COMPILER_EXEEXT_REJECT): New.
10302         Also recognize *.bb and *.bbg as compilation byproducts.
10303         (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
10304         (_AC_COMPILER_OBJEXT): Use them.
10305         Fixes Debian #138666.
10307 2002-04-02  Peter Eisentraut  <peter_e@gmx.net>
10309         Integrate AC_PROG_CC_STDC into AC_PROG_CC.
10311         * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
10312         AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
10313         (AC_PROG_CC): Call _AC_PROG_CC_STDC.
10314         (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
10315         (AC_C_CONST): Same.
10316         (AC_C_INLINE): Same.
10317         (AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
10318         * doc/autoconf.texi, NEWS: Document.
10319         * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
10320         AC_C_CROSS.
10322 2002-04-02  Akim Demaille  <akim@epita.fr>
10324         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
10325         _AS_MKDIR_P_PREPARE.
10327 2002-03-28  Kevin Ryde  <user42@zip.com.au>
10329         * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
10330         to avoid versions of HP C which don't allow that.
10332 2002-03-27  Paul Eggert  <eggert@twinsun.com>
10334         * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
10335         (AS_SHELL_SANITIZE): Invoke it.
10336         (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
10338 2002-03-26  Akim Demaille  <akim@epita.fr>
10340         * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
10342 2002-03-26  Akim Demaille  <akim@epita.fr>
10344         * doc/autoconf.texi (Introduction): The GNATS base moved.
10346 2002-03-25  Paul Eggert  <eggert@twinsun.com>
10348         * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
10349         as POSIX requires, as it doesn't work with Zsh.
10350         * doc/autoconf.texi (Assignments): Document the problem.
10352 2002-03-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
10354         * doc/autoconf.texi (Limitations of Make): Mention more issue
10355         about VPATH, overriding of macros in sub-makes, and handling of
10356         SHELL.
10358 2002-03-21  Paul Eggert  <eggert@twinsun.com>
10360         * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
10361         problem with here-document buffer boundaries.
10363         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
10364         when reinvoking the shell, to work around problems with installers
10365         who put strange things like "cd" commands in their environments.
10367 2002-03-19  Akim Demaille  <akim@epita.fr>
10369         * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
10370         From Aaron Ucko.
10372 2002-03-19  Akim Demaille  <akim@epita.fr>
10374         * bin/autoscan.in (scan_file): Specify the location in `&used'
10375         invocations.
10376         From Nicolas Joly.
10378 2002-03-19  Akim Demaille  <akim@epita.fr>
10380         * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
10381         From Nishio Futoshi.
10383 2002-03-19  Akim Demaille  <akim@epita.fr>
10385         * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
10387 2002-03-18  Paul Eggert  <eggert@twinsun.com>
10389         * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
10390         (Limitations of Usual Tools): Add mkdir section.
10392         * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
10393         (AS_MKDIR_P): Require it.  Use mkdir -p if available, falling
10394         back on AS_DIRNAME to compute prefixes otherwise; this is
10395         roughly what mkinstalldirs does.  That way, we need not have
10396         our own filename disassembler.  The old disassembler did not
10397         work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
10399         * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
10400         Create at_test_all by a series of assignments,
10401         not by a single assignment of a long string.  The latter causes ksh
10402         version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
10403         presumably because of a buffer overrun.
10405 2002-03-14  Paul Eggert  <eggert@twinsun.com>
10407         * lib/autotest/general.m4 (at_times_skip):
10408         Renamed from at_times.  Now a boolean.
10409         ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
10410         says 'times: not found'.
10412 2002-03-14  Akim Demaille  <akim@epita.fr>
10414         * bin/autoreconf.in (&study_gettextize): New.
10415         (&autoreconf): Handle newest gettextize.
10416         Rerun aclocal if needed.
10417         Suggested by Andreas Schwab.
10419 2002-03-13  Akim Demaille  <akim@epita.fr>
10421         * doc/autoconf.texi (Special Shell Variables): More about IFS.
10423 2002-03-13  Akim Demaille  <akim@epita.fr>
10425         * doc/autoconf.texi (Header Portability): New.
10426         Add information about stdint.h and inttypes.h from Paul Eggert.
10428 2002-03-13  Akim Demaille  <akim@epita.fr>
10430         * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
10431         -p'.
10432         From Bob Proulx.
10434 2002-03-12  Akim Demaille  <akim@epita.fr>
10436         * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
10437         m4_require.
10439 2002-03-11  Andreas Schwab  <schwab@suse.de>
10441         * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
10442         does not do it if --with-lispdir is given.
10444 2002-03-08  Akim Demaille  <akim@epita.fr>
10446         Version 2.53.
10448 2002-03-08  Akim Demaille  <akim@epita.fr>
10450         * doc/autoconf.texi (Subdirectories): Clarify that the
10451         subdirectory should exist.
10453 2002-03-08  Akim Demaille  <akim@epita.fr>
10455         * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
10457 2002-03-08  Akim Demaille  <akim@epita.fr>
10459         * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
10460         aliases the actual variables, and modifications of the former
10461         affect the latter.
10463 2002-03-08  Akim Demaille  <akim@epita.fr>
10465         * bin/autom4te.in (&handle_m4): Protect us from corrupted file
10466         because of C-c: have m4 output in tmp files, then mv them.
10468 2002-03-08  Akim Demaille  <akim@epita.fr>
10470         * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
10471         * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
10472         * bin/ifnames.in: Copyright update.
10474 2002-03-08  Akim Demaille  <akim@epita.fr>
10476         * doc/autoconf.texi (Invoking autom4te): New.
10478 2002-03-05  Akim Demaille  <akim@epita.fr>
10480         * doc/autoconf.texi (Specifying Names): Clarification suggested by
10481         Kevin Ryde.
10483 2002-03-05  Akim Demaille  <akim@epita.fr>
10485         Version 2.52i.
10487 2002-03-04  Akim Demaille  <akim@epita.fr>
10489         * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
10490         * lib/autoconf/general.m4 (AC_INIT): More informative error
10491         message for LIBOBJ.
10493 2002-03-04  Akim Demaille  <akim@epita.fr>
10495         * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
10496         parallel builds.
10498 2002-03-04  Akim Demaille  <akim@epita.fr>
10500         * doc/autoconf.texi (Transforming Names): Equality between target
10501         and host is irrelevant.
10502         (Specifying Names, Canonicalizing): Remove all references to the
10503         backward compatibility hooks.  Rather, collect them all into...
10504         (Hosts and Cross-Compilation): this new section.
10505         * doc/install.texi (System Type): Ditto.
10506         * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
10507         that `--host' implies cross-compilation.
10509 2002-03-04  Akim Demaille  <akim@epita.fr>
10511         * doc/autoconf.texi (Evaluation Macros): New.
10512         * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
10513         useless.
10514         (_m4_foreach): Define the variant with immediate evaluation so
10515         that it contains exactly the items, not an expression which
10516         evaluation is the current item.
10517         (m4_re_string, m4_re_word): Don't over quote them.
10519 2002-03-04  Akim Demaille  <akim@epita.fr>
10521         Instead of having stacking `shift's evaluated at the end, let
10522         `foreach' loops immediately evaluate them.
10524         * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
10525         $*.  This is the n-th time I change my mind, but hopefully this is
10526         the last...
10527         (m4_lquote): New.
10528         (m4_text_wrap): Use m4_foreach, which is finally correct _and_
10529         efficient.
10530         (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
10531         it was only a hack for m4_text_wrap.
10532         (m4_car2): Remove, replaced by...
10533         (m4_cdr): New.
10534         (_m4_foreach): Adjust.
10535         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
10536         m4_bpatsubst for clarification.
10538 2002-03-04  Akim Demaille  <akim@epita.fr>
10540         * doc/autoconf.texi (Changequote is Evil): New.
10542 2002-03-03  Kevin Ryde  <user42@zip.com.au>
10544         * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
10545         on old systems like SunOS.
10547 2002-03-01  Peter Eisentraut  <peter_e@gmx.net>
10549         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10550         lib/autoconf/functions.m4, lib/autoconf/general.m4,
10551         lib/autoconf/headers.m4, lib/autoconf/lang.m4,
10552         lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
10553         of messages.
10555 2002-02-28  Akim Demaille  <akim@epita.fr>
10557         * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
10558         message to be sent.
10560 2002-02-28  Kevin Ryde  <user42@zip.com.au>
10562         * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
10564 2002-02-25  Akim Demaille  <akim@epita.fr>
10566         * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
10567         From Akinori Musha.
10569 2002-02-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
10571         * lib/Autom4te/XFile.pm (getline, getlines): New functions,
10572         translate \r\n to \n.
10574 2002-02-07  Akim Demaille  <akim@epita.fr>
10576         Version 2.52h.
10578 2002-02-07  Akim Demaille  <akim@epita.fr>
10580         Fix Autoconf PR/209.
10581         Also reported by Frank Denis.
10583         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
10585 2002-02-07  Akim Demaille  <akim@epita.fr>
10587         Fix Autoconf PR/207:
10588         AC_PREFIX_PROGRAM fails with dashed program names
10590         * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
10591         variable when looking for the prefix program.
10592         Now it also works for shell variables.
10594 2002-02-07  Akim Demaille  <akim@epita.fr>
10596         * doc/autoconf.texi (Limitations of Builtins): More about
10597         case/esac.
10599 2002-02-06  Akim Demaille  <akim@epita.fr>
10601         * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
10602         case/esac, some shells don't support it.
10603         Reported by Zack Weinberg.
10604         * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
10606 2002-02-06  Akim Demaille  <akim@epita.fr>
10608         * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
10609         sure not to introduce newlines in at_groups.
10610         * lib/autotest/Makefile.am (autotest.m4f): Typo.
10612 2002-02-06  Akim Demaille  <akim@epita.fr>
10614         * tests/torture.at (Configuring subdirectories): Skip if aclocal
10615         is not available.
10617 2002-02-05  Paul Eggert  <eggert@twinsun.com>
10619         * doc/autoconf.texi (Specific Compiler Characteristics):
10620         Describe HP-UX cc bug workaround more accurately.
10621         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
10622         not unsigned long.
10623         * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
10624         cross-compilers, too.  This undoes some of the most recent change
10625         to this file.
10627 2002-02-05  Akim Demaille  <akim@epita.fr>
10629         * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
10630         to make sure they are up to date when `check' is run.
10632 2002-02-05  Akim Demaille  <akim@epita.fr>
10634         * doc/autoconf.texi (Making testsuite Scripts): Document
10635         package.m4.
10637 2002-02-05  Akim Demaille  <akim@epita.fr>
10639         * lib/freeze.mk: New.
10641 2002-02-05  Akim Demaille  <akim@epita.fr>
10643         Implement `autom4te --freeze'.
10645         * bin/autom4te.in (&freeze): New.
10646         * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
10647         * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
10649 2002-02-05  Akim Demaille  <akim@epita.fr>
10651         * bin/autom4te.in (&parse_args): Implement `frozen files are
10652         optional are the sum of the previous files on the command line'.
10653         Also, pass `--reload-state=' on them, so...
10654         (handle_m4): don't.
10655         * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
10656         (M4sh): Rely on M4sugar.
10657         (Autotest, M4sh, M4sugar): Use frozen files.
10659 2002-01-31  Akim Demaille  <akim@epita.fr>
10661         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
10662         * doc/autoconf.texi (Initializing configure): Adjust.
10664 2002-01-30  Akim Demaille  <akim@epita.fr>
10666         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
10667         alphanumeric to `-' instead of `_'.
10669 2002-01-30  Akim Demaille  <akim@epita.fr>
10671         * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
10672         for plain code, the other for cross-compilation code.  The latter
10673         is now run with GCC only.
10674         * doc/autoconf.texi (Compilers and Preprocessors): New.
10676 2002-01-30  Akim Demaille  <akim@epita.fr>
10678         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
10679         values.
10680         * doc/autoconf.texi (Initializing configure): Explain how to
10681         change AC_INIT default values.
10683 2002-01-29  Akim Demaille  <akim@epita.fr>
10685         * tests/torture.at (Configuring subdirectories): Use configure.in,
10686         so that aclocal 1.4 works.
10687         Reported by Alexandre Duret-Lutz and Larry Schmitt.
10689 2002-01-28  Akim Demaille  <akim@epita.fr>
10691         * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
10692         needs an argument.
10694 2002-01-28  Akim Demaille  <akim@epita.fr>
10696         * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
10697         AUTOTEST_PATH *after* it was set.
10698         Don't put `.' in the PATH: the user should be precise and `./' if
10699         needed.  In addition, given that the test suite does some `cd', if
10700         `.' is in the path, the `tested programs' sections will report
10701         programs found in the test suite's directory, while during the
10702         tests (performed in their own directory), these programs are no
10703         longer visible.  In other words, the results is confusing and
10704         useless.
10705         * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
10707 2002-01-24  Akim Demaille  <akim@epita.fr>
10709         Version 2.52g.
10711 2002-01-24  Akim Demaille  <akim@epita.fr>
10713         * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
10714         * doc/autoconf.texi: Finally add Akim as an author.
10716 2002-01-24  Akim Demaille  <akim@epita.fr>
10718         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
10719         (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
10720         Bourne. Use /bin/sh.
10721         From Andreas Buening.
10723 2002-01-24  Akim Demaille  <akim@epita.fr>
10725         * config/config.guess, config/config.sub, config/texinfo.tex:
10726         Update from masters.
10728 2002-01-24  Akim Demaille  <akim@epita.fr>
10730         * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
10731         * config/auxdir.m4, config/cond.m4, config/depend.m4,
10732         * config/init.m4, config/install-sh.m4, config/lispdir.m4,
10733         * config/missing.m4, config/sanity.m4, config/select.m4,
10734         * config/strip.m4: Remove, to ease sync'ing with any version of
10735         Automake.
10737 2002-01-24  Akim Demaille  <akim@epita.fr>
10739         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
10740         (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
10741         Reported by Geir Ove Myhr.
10743 2002-01-21  Akim Demaille  <akim@epita.fr>
10745         * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
10747 2002-01-21  Akim Demaille  <akim@epita.fr>
10749         * lib/Autom4te/General.pm (getopt): Use a more GNUish error
10750         message on invalid options.
10751         * bin/autom4te.in (parse_args): Don't use
10752         Autoconf::General::getopt with non valid options.
10754 2002-01-17  Jim Meyering  <meyering@lucent.com>
10756         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
10757         $ac_cv_exeext so we don't use an old, invalid, cached value.
10759 2002-01-11  Akim Demaille  <akim@epita.fr>
10761         * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
10762         Meyering.
10763         * doc/autoconf.texi (Function Portability): Document the strnlen
10764         limitation.
10765         (Particular Functions): Document AC_FUNC_STRNLEN.
10766         * lib/autoscan/functions: Adjust.
10768 2002-01-06  Akim Demaille  <akim@epita.fr>
10770         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
10771         package.m4, since is really depends upon configure.ac, not
10772         configure.
10773         * doc/autoconf.texi (testsuite Scripts): Adjust.
10774         * tests/Makefile.am (package.m4): New.
10775         EXTRA_DIST it since its a source.
10777 2002-01-06  Akim Demaille  <akim@epita.fr>
10779         * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
10780         of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
10781         and PACKAGE_BUGREPORT from here...
10782         (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
10783         arguments.
10784         (_AC_INIT_PREPARE): AC_DEFINE these symbols.
10785         * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
10786         (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
10787         * tests/tools.at (autoheader): Adjust.
10788         * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
10790 2002-01-06  Akim Demaille  <akim@epita.fr>
10792         * bin/autoscan.in (scan_file): Use `&used'.
10794 2002-01-03  Akim Demaille  <akim@epita.fr>
10796         * doc/autoconf.texi (Output): Improved wording regarding use of
10797         AC_OUTPUT.
10798         From Olly Betts.
10800 2001-12-18  Kevin Ryde  <user42@zip.com.au>
10802         * doc/autoconf.texi (Function Portability): Add notes on sscanf
10803         sometimes needing writable input.
10805 2001-12-17  Jim Meyering  <meyering@lucent.com>
10807         * doc/autoconf.texi (New Macros): Tweak wording.
10809 2001-12-14  Akim Demaille  <akim@epita.fr>
10811         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
10812         trailing files, don't apply `-rf' to files which might not be
10813         created by configure (core, core.*, and *.core), but just `rm -f'.
10814         Suggested by Jonathan Kamens.
10816 2001-12-14  Aaron M. Ucko  <amu@alum.mit.edu>
10818         * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
10820 2001-12-14  Akim Demaille  <akim@epita.fr>
10822         * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
10824 2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
10826         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
10827         abs_builddir, top_buildpath to abs_top_builddir, srcpath to
10828         abs_srcdir, top_srcpath to abs_top_srcdir.
10829         (_AC_OUTPUT_FILES): Adjust.
10830         * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
10831         * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
10832         * tests/wrappl.in, tests/wrapsh.in: Adjust.
10834 2001-12-12  Steven G. Johnson  <stevenj@alum.mit.edu>
10836         * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
10837         C/Fortran linking on HP/UX, by extracting the Fortran library
10838         search path from the LPATH line in the $F77 -v output.
10840 2001-12-12  Kevin Ryde  <user42@zip.com.au>
10842         * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
10843         forbidden file descriptors table.
10845 2001-11-26  Akim Demaille  <akim@epita.fr>
10847         * bin/autoscan.in (%c_keywords): Build it at top level.
10848         Map to 1 in order to simplify its uses.
10850 2001-11-26  Akim Demaille  <akim@epita.fr>
10852         * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
10853         Remove $filepath, useless.
10854         (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
10855         variables, they are really part of the tokens.
10856         Split the input line on spaces and then look for tokens.
10857         Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
10858         because of `lex$U.$(OBJEXT)'.
10859         (&scan_files): Use "@list" instead of join.
10860         * doc/Makefile.am (CLEANFILES): Add *.fns.
10862 2001-11-26  Akim Demaille  <akim@epita.fr>
10864         * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
10865         Remove, replaced by...
10866         * tests/wrappl.in: Be common for all the Perl executables.
10867         In particular autoscan and autoheader want -I.
10868         * configure.ac: Adjust.
10869         * lib/autoscan/headers: errno.h is portable.
10871 2001-11-26  Akim Demaille  <akim@epita.fr>
10873         * bin/autoscan.in (used): New.
10874         Use it.
10876 2001-11-26  Akim Demaille  <akim@epita.fr>
10878         * bin/autoscan.in (&scan_c_file): Better parsing of CPP
10879         directives.
10880         (&scan_sh_file): Remove a duplicate pattern.
10881         (&check_configure_ac): Use long options.
10882         * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
10884 2001-11-26  Akim Demaille  <akim@epita.fr>
10886         * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
10887         Before, having a line containing the opening of a multi line
10888         comment made the whole line be ignored.
10890 2001-11-26  Akim Demaille  <akim@epita.fr>
10892         * doc/autoconf.texi (Using an Autotest Test Suite): New.
10893         (testsuite Scripts): Be one of its subsection.
10894         (Autotest Logs): New.
10896 2001-11-26  Akim Demaille  <akim@epita.fr>
10898         Test groups are now run two directories deeper.
10900         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
10901         top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
10902         at_top_builddir.
10903         * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
10904         top_srcdir, builddir and top_builddir.
10905         Use `at_*dir' relatively to the directory containing the
10906         suite, use `*dir' when relatively to the current group dir.
10908 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
10910         * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
10911         lib/autoconf/functions.m4, lib/autoconf/headers.m4,
10912         tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
10913         spelling errors.
10915 2001-11-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
10917         * doc/autoconf.texi (Using System Type): Add an example of `case
10918         $host' usage so people quit using `case $target' everywhere.
10920 2001-11-22  Akim Demaille  <akim@epita.fr>
10922         * doc/autoconf.texi (Installation Directory Variables): Englishoes
10923         spotted by Jim Meyering.
10925 2001-11-16  Paul Eggert  <eggert@twinsun.com>
10927         This patch implements a `long double' suggestion by Oliver Kiddle.
10929         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
10930         static, to catch errors if the value isn't known at compile-time
10931         and the compiler supports dynamic arrays.  Change its name from
10932         `_array_' to `test_array' to avoid potential name clashes.
10933         (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
10934         test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
10935         better than double.  Catch a bug in GCC 2.95.2 x86.
10936         * doc/autoconf.texi (C Compiler): Document the above.
10937         * NEWS: Likewise.
10939 2001-11-13  Akim Demaille  <akim@epita.fr>
10941         * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
10942         hand.
10943         * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
10945 2001-11-13  Akim Demaille  <akim@epita.fr>
10947         * lib/autotest/general.m4 (AT_INIT): After having run the test
10948         group, go back to the initial directory, not to at_suite_dir.
10950 2001-11-13  Akim Demaille  <akim@epita.fr>
10952         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
10953         (AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
10954         (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
10955         option.
10956         (AT_CHECK_CONFIGURE): Use absolute paths.
10957         (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
10958         The problem is still the old one: there is no means in M4 (that I
10959         know about) to create a defining macro, because there is no means
10960         to create `$1' etc., therefore, the defining macro ``swallows''
10961         all the arguments meant to the defined macro.
10963 2001-11-13  Akim Demaille  <akim@epita.fr>
10965         * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
10966         (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
10967         configure.ac.
10968         * tests/aclocal.m4: Remove, as it is no longer used.
10970 2001-11-13  Akim Demaille  <akim@epita.fr>
10972         * lib/autotest/general.m4: Change `tests?' into `groups?' in
10973         variable names when referring to a single test group, or to
10974         `suite' when referring to the whole test suite.
10975         `at_last_test' is removed: m4 compute at_format itself.
10976         (at_stdout, at_stder1, at_stderr): New variables.
10977         (AT_CHECK): Use them.
10979 2001-11-13  Akim Demaille  <akim@epita.fr>
10981         * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
10982         in PATH.
10983         Create `testsuite.dir/003/run' instead of `testsuite.003'.
10984         Do it as soon as a test fails, don't wait till the end of the test
10985         suite.
10986         Don't remove $as_me.[0-9]*, since these files no longer exist.
10988 2001-11-13  Akim Demaille  <akim@epita.fr>
10990         * tests/tools.at: Use absolute paths, since we are no longer run
10991         in place.
10993 2001-11-13  Akim Demaille  <akim@epita.fr>
10995         Now that tests are running in their own private dir, there is no
10996         need to list the files to remove at the end of tests groups.
10998         * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
10999         (AT_data_files, at_data_files): Remove.
11000         (AT_CLEANUP, AT_DATA): Simplify.
11001         (AT_INIT): Adjust.
11002         Remove the group dir if !debug && !failed.
11003         * tests/atspecific.m4: Adjust.
11005 2001-11-13  Akim Demaille  <akim@epita.fr>
11007         Start a new layout for Autotest: `testsuite' creates
11008         `testsuite.dir' in which the at-check-line etc. files are to be
11009         found, and `testsuite.dir/003' where the test group 3 is run.
11011         * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
11012         at_check_line_file, at_format, at_test_normalized, at_group_dir
11013         are new variables.
11014         Create the directories.
11015         Use absolute paths for at- files.
11016         (AT_CHECK): Adjust.
11018 2001-11-11  Michael Matz  <matz@kde.org>
11020         * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
11021         (m4_car2): New.
11022         (m4_car): Properly quote arguments.
11024 2001-11-13  Akim Demaille  <akim@epita.fr>
11026         * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
11027         with stricter rules on LIBOBJS.
11029 2001-11-12  Paul Eggert  <eggert@twinsun.com>
11031         * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
11032         * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
11033         __PROTOTYPES too.
11035 2001-11-12  Akim Demaille  <akim@epita.fr>
11037         * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
11039 2001-11-12  Akim Demaille  <akim@epita.fr>
11041         * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11042         * lib/autoconf/functions.m4, lib/autoconf/general.m4,
11043         * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
11044         * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
11045         * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
11046         specify to what the macro should be defined (typically to 1).
11048 2001-11-12  Akim Demaille  <akim@epita.fr>
11050         * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
11051         From Jim Meyering.
11053 2001-11-12  Akim Demaille  <akim@epita.fr>
11055         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11056         AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
11057         definition used by Automake where LEX is +/- "${missing} lex" and
11058         `missing' itself contains variables.
11060 2001-11-12  Akim Demaille  <akim@epita.fr>
11062         * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
11063         Now that M4sh pushes BODY, the comments were output at the end of
11064         the test suites.
11066 2001-11-08  Akim Demaille  <akim@epita.fr>
11068         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
11069         that we can trace macros from aclocal.m4.
11070         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
11071         obsoleted, and redirect to the former anyway.
11072         Reported by Ralf Corsepius.
11074 2001-11-08  Akim Demaille  <akim@epita.fr>
11076         * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
11077         processed only if present.
11078         * tests/torture.at (Configuring subdirectories): Use autoreconf
11079         instead of successive calls to autoconf.
11080         Add a nonexistent subdirectory to exercise the patch above.
11081         Reported by Ralf Corsepius.
11083 2001-11-08  Kevin Ryde  <user42@zip.com.au>
11085         * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
11086         doesn't accept .S files.
11088 2001-11-07  Akim Demaille  <akim@epita.fr>
11090         * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
11091         * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
11092         (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
11093         * bin/autom4te.in (warn_forbidden): New.
11094         (handle_output): Use it.
11095         Read m4_pattern_forbid with messages.
11097 2001-11-05  Akim Demaille  <akim@epita.fr>
11099         * bin/autom4te.in (--normalize): Remove.
11100         * lib/autom4te.in: Adjust.
11102 2001-11-05  Akim Demaille  <akim@epita.fr>
11104         * tests/Makefile.am (testsuite): Rename this target as...
11105         ($(TESTSUITE)): this.
11106         From Nicolas Joly.
11108 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
11110         * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
11111         the --prefix option, also remove it's argument.
11113 2001-11-05  Akim Demaille  <akim@epita.fr>
11115         * doc/autoconf.texi (testsuite Invocation): Update.
11116         (Writing testsuite.at): Update.
11118 2001-11-03  Akim Demaille  <akim@epita.fr>
11120         * doc/autoconf.texi: s/@code/@command/ where appropriate.
11122 2001-11-03  Akim Demaille  <akim@epita.fr>
11124         * lib/Autom4te/General.pm: (&catfile, &canonfile)
11125         (&file_name_is_absolute): New, wrappers around routines from
11126         File::Spec.
11127         Use and export them.
11128         (&find_configure_ac): Optionally take a directory where to look at.
11129         * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
11130         the arguments.
11131         Default @ARGV to `.', not find_configure_ac.
11132         (&autoreconf): Argument is a directory.
11133         Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
11134         * doc/autoconf.texi (autoreconf Invocation): Update.
11136 2001-11-03  Akim Demaille  <akim@epita.fr>
11138         * lib/Autom4te/General.pm (@export_vars, @export_subs)
11139         (@export_forward_subs): New.
11140         Add basename, dirname, and fileparse.
11141         (@EXPORT): Adjust.
11142         * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
11143         Don't look for aclocal flags if we already know aclocal is not
11144         used.
11145         Move aclocal.m4t only if it exists.
11146         Reported by Ezra Peisach.
11148 2001-11-03  Akim Demaille  <akim@epita.fr>
11150         * bin/autoreconf.in (&parse_args): Work only on the configure.ac
11151         passed on command line, defaulting to ./configure.ac if present.
11152         (&maybe_autoreconf, File::Find): Remove, unused.
11153         (&autoreconf): If autoconf is not used, don't try to trace.
11155 2001-11-02  Akim Demaille  <akim@epita.fr>
11157         * configure.ac: Bump to 2.52g.
11159 2001-11-02  Akim Demaille  <akim@epita.fr>
11161         Version 2.52f.
11163 2001-11-02  Akim Demaille  <akim@epita.fr>
11165         * config/config.guess, config/config.sub, doc/standards.texi:
11166         * config/lispdir.m4: Update from masters.
11167         * configure.ac: Bump to 2.52f.
11169 2001-11-02  Akim Demaille  <akim@epita.fr>
11171         * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
11172         Don't run aclocal when aclocal.m4 is not from aclocal.
11173         From Ezra Peisach.
11174         Don't run libtoolize and gettextize if --install is not given.
11176 2001-11-01  Paul Eggert  <eggert@twinsun.com>
11178         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
11179         be invoked before _AS_LINENO_PREPARE.
11180         (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
11181         than character ranges.
11183         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
11184         invoking AS_BASENAME.  Set the locale variables to 'C' if
11185         possible, as POSIX requires this to get the traditional
11186         behavior.
11187         * doc/autoconf.texi (Special Shell Variables): Describe the above.
11189 2001-10-31  Paul Eggert  <eggert@twinsun.com>
11191         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
11192         with {}, as that triggers a bug in Bash 2.05.
11194         (_AS_LINENO_PREPARE): Use Sed rather than
11195         Awk.  Fix the sed prepass to work even if there are multiple
11196         instances of $LINENO on the same line.  Do not substitute for
11197         other variables like $LINENOT.  Do not check file dates; such a
11198         check is unreliable on sufficiently fast machines, and removing
11199         the check makes the code simpler and more reliable.  Check for
11200         output and chmod failures.
11202         * doc/autoconf.texi (Special Shell Variables): Document
11203         the above.
11205 2001-10-31  Akim Demaille  <akim@epita.fr>
11207         * tests/Makefile.am (atconfig): Remove this target, Automake
11208         handles it now.
11210 2001-10-31  Akim Demaille  <akim@epita.fr>
11212         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
11213         AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
11214         provided, while it is optional.
11215         * configure.ac: Adjust.
11217 2001-10-26  Paul Eggert  <eggert@twinsun.com>
11219         * NEWS, README, configure.ac, lib/Autom4te/General.pm,
11220           lib/Autom4te/Struct.pm:
11221         Require Perl 5.005_03 instead of just 5.005, as some tests fail
11222         with 5.005_02.
11224         * doc/autoconf.texi (Special Shell Variables): Document some
11225         more LINENO gotchas, particularly with respect to the Awk+Sed hack.
11227         * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
11228         (_AS_LINENO_PREPARE): Use it instead of shell eval, since
11229         eval $LINENO is not portable in practice.
11231 2001-10-24  Akim Demaille  <akim@epita.fr>
11233         * lib/Autom4te/General.pm (backname): New.
11235 2001-10-24  Akim Demaille  <akim@epita.fr>
11237         * m4/: Remove, merged into...
11238         * config/: here.
11240 2001-10-23  Tim Van Holder  <tim.van.holder@pandora.be>
11242         * doc/autoconf.texi (Shellology): Mention the problems with bash
11243         2.05's use of ANSI quoting in its `set' builtin.
11245 2001-10-22  Paul Eggert  <eggert@twinsun.com>
11247         * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
11248         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
11249         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
11250         POSIX decided to standardize on the int flavor of strerror_r.
11251         Always do char* test, as there's no reason not to.
11252         Assign to a char* var, to catch strerror_r that returns int*.
11254         * doc/autoconf.texi (Particular Functions):
11255         Document the above changes.  Also, document the fact that
11256         AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
11258         * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
11260 2001-10-20  Akim Demaille  <akim@epita.fr>
11262         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
11263         the executable was missing from the log.
11265 2001-10-20  Akim Demaille  <akim@epita.fr>
11267         * lib/Autom4te/General.pm (&update_file): If destination is
11268         unchanged, remove the source.
11269         (&up_to_date_p): Don't be verbose, be debug.
11270         * bin/autoreconf.in: No longer support --m4dir.
11271         (&autoreconf): Display the full path of the configure.ac we are
11272         studying.
11273         Trace it only once.
11274         Be sure to honor --force with gettextize.
11275         Always run aclocal.
11276         * doc/autoconf.texi: Adjust.
11278 2001-10-20  Akim Demaille  <akim@epita.fr>
11280         * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
11281         Remove, dead.
11282         * bin/autoreconf.in (&autoreconf): Do not run gettextize when
11283         `intl' is already present, as it refuses unless --force.
11284         (&parse_args): Use -I, --include instead of the old Autoconf
11285         options.
11286         ($localdir, $autoconf_dir): Remove.
11287         (@include): New.
11288         (&maybe_autoreconf): New, to preserve $_ for File::Find.
11290 2001-10-19  Jens Petersen  <petersen@redhat.com>
11292         * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
11293         * doc/autoconf.texi (Particular Programs): Likewise.
11295 2001-10-19  Akim Demaille  <akim@epita.fr>
11297         * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
11298         file in @configure_input@.
11299         Don't mention `automatically' in addition to `generated'.
11300         * tests/torture.at (#define header templates): Adjust.
11302 2001-10-19  Akim Demaille  <akim@epita.fr>
11304         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
11305         comment, explain how to install automatic mode selection.
11306         From Russ Allbery.
11308 2001-10-19  Ezra Peisach  <epeisach@zif.mit.edu>
11310         * bin/autoreconf.in (autoreconf): Display the path to the
11311         configure.ac being studied.
11313 2001-10-18  Paul Eggert  <eggert@twinsun.com>
11315         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
11316         long, to work around a bug in the HP C compiler version HP92453-01
11317         B.11.11.23709.GP.
11319         * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
11320         (AS_BASENAME_EXPR): New macro.
11321         (AS_BASENAME_SED): Do not assume GNU sed semantics.
11322         (AS_BASENAME): Use 'basename' if that works; then try 'expr';
11323         and fall back on 'sed' only if the other two fail.  This makes
11324         AS_BASENAME act more like AS_DIRNAME.
11325         (as_me): Shell-quote the argument of AS_BASENAME, in case $0
11326         contains white space.
11327         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
11328         Use AS_DIRNAME, since I think it's now DOS-friendly.
11329         * tests/m4sh.at (DIRNAME_TEST): New arg $3.
11330         Allow "dirname //FOO" to return either / or //, as POSIX allows
11331         either behavior.
11333 2001-10-10  Akim Demaille  <akim@epita.fr>
11335         * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
11336         `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
11337         From Eric Sharkey.
11339 2001-10-10  Akim Demaille  <akim@epita.fr>
11341         * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
11342         m4_define, since...
11343         (_AS_ECHO_N): AS_REQUIREs it.
11345 2001-10-10  Akim Demaille  <akim@epita.fr>
11347         * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
11348         (AC_INCLUDES_DEFAULT): Move to...
11349         * lib/autoconf/headers.m4: here.
11350         * lib/autoconf/types.m4: Comment changes.
11351         * doc/autoconf.texi: Specify where the default includes are used
11352         in the macro prototypes.
11354 2001-10-09  Akim Demaille  <akim@epita.fr>
11356         * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
11357         transition code.
11359 2001-10-08  Akim Demaille  <akim@epita.fr>
11361         * bin/autoreconf.in (&autoreconf): Remove debugging code.
11362         (&parse_args): Pass verbosity/debugging options to subtools when
11363         --debug, not when --verbose.
11364         * lib/autom4te.in (Autoreconf-preselections): New.
11365         (Autoconf): Use it.
11367 2001-10-08  Akim Demaille  <akim@epita.fr>
11369         * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
11371 2001-10-08  Akim Demaille  <akim@epita.fr>
11373         * doc/autoconf.texi (autoreconf Invocation): Adjust.
11374         * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
11376 2001-10-08  Akim Demaille  <akim@epita.fr>
11378         * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
11379         (Syntax of the shell scripts): Don't.
11380         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
11381         bother with $force since...
11382         * lib/Autom4te/General.pm: does.
11384 2001-10-08  Akim Demaille  <akim@epita.fr>
11386         * bin/autoreconf.in: Rewrite in Perl.
11387         * configure.ac: Adjust.
11388         * lib/Autom4te/General.pm (&up_to_date_p): New.
11389         * bin/autom4te.in (&up_to_date_p): Use it.
11390         Rename as...
11391         (&up_to_date): this.
11393 2001-10-08  Akim Demaille  <akim@epita.fr>
11395         * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
11396         (m4_list_cmp): Use $0 to reinvoke yourself.
11397         (m4_patsubsts): New.
11398         (m4_strip, m4_version_unletter): Use it.
11399         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
11401 2001-10-08  Akim Demaille  <akim@epita.fr>
11403         * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
11404         * lib/autoconf/libs.m4, lib/autoconf/status.m4,
11405         * lib/autoconf/types.m4, lib/autotest/general.m4,
11406         * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
11407         * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
11408         m4_bregexp, m4_bpatsubst, and m4_bmatch.
11409         * doc/autoconf.texi (Redefined M4 Macros): Adjust.
11411 2001-10-08  Akim Demaille  <akim@epita.fr>
11413         * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
11415 2001-10-08  Akim Demaille  <akim@epita.fr>
11417         * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
11418         * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
11419         * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
11420         * tests/tools.at, tests/m4sh.at: Use it.
11421         * tests/m4sh.at: Don't rely on Autoconf macros.
11422         (DIRNAME_TEST): Also exercise the expr variant.
11423         * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
11424         preferred M4sugar extension is now `.4s'.
11425         * tests/README: Remove.
11427 2001-10-08  Akim Demaille  <akim@epita.fr>
11429         * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
11430         (m4_provide_if): this.
11431         * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
11432         * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
11433         (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
11434         M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
11436 2001-10-08  Akim Demaille  <akim@epita.fr>
11438         Use `add-log-current-defun-function' for ChangeLog creation.
11439         Suggested by Tom Tromey.
11441         * lib/emacs/autotest-mode.el (autotest-mode-map): New.
11442         (autotest-mode): Adjust.
11443         * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
11444         'comment-region onto `C-c ;'.
11445         Comments are `#', not `dnl'.
11446         (autoconf-current-defun): New.
11447         (autoconf-font-lock-keywords): Recognize `m4_defun'.
11449 2001-10-08  Akim Demaille  <akim@epita.fr>
11451         * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
11452         * lib/m4sugar/m4sh.m4: here.
11453         (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
11454         * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
11455         (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
11456         include handle the m4_pattern_*, no longer push the
11457         BODY diversion nor set the /bin/sh line, AS_INIT does it.
11458         * lib/autotest/general.m4 (AT_INIT): Likewise.
11459         * tests/base.at: Adjust the tests to use AS_INIT.
11460         * tests/tools.at (AT_DATA_FORBIDDEN): New.
11461         (autoconf: forbidden tokens): Adjust to work on M4sh instead of
11462         Autoconf.
11464 2001-10-07  Paul Eggert  <eggert@twinsun.com>
11466         * doc/autoconf.texi (config.status Invocation):
11467         CONFIG_SHELL defaults to a shell that supports LINENO if available.
11469         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
11470         shell does not support LINENO, and if CONFIG_SHELL is unset or
11471         empty, and if we can find a shell that does support LINENO,
11472         then set CONFIG_SHELL to that shell and then re-execute
11473         ourselves with CONFIG_SHELL.
11475 2001-10-05  Paul Eggert  <eggert@twinsun.com>
11477         * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
11478         doesn't exist.  Remove *.tmp, as a .tmp file is created during the
11479         build of $(TESTSUITE).
11481 2001-10-05  Akim Demaille  <akim@epita.fr>
11483         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
11484         iff we are a bareword.
11485         Reported by Raja R Harinath.
11487 2001-10-05  Akim Demaille  <akim@epita.fr>
11489         * tests/m4sh.at (LINENO): New.
11490         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
11491         PATH_SEPARATOR before using it.
11492         Fix the absolute path case/esac pattern.
11493         Provide $0 as fallback for as_myself.
11494         Reported by Raja R Harinath.
11496 2001-10-05  Akim Demaille  <akim@epita.fr>
11498         * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
11499         * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
11501 2001-10-05  Akim Demaille  <akim@epita.fr>
11503         * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
11504         (AS_SHELL_SANITIZE): here.  Use it.
11505         (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
11506         From Paul Eggert.
11508 2001-10-04  Akim Demaille  <akim@epita.fr>
11510         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
11511         combination of Awk and sed to replace $LINENO.
11513 2001-10-02  Paul Eggert  <eggert@twinsun.com>
11515         * doc/autoconf.texi (Limitations of Builtins): You can't use
11516         "source"; it's not portable.  Remove confusing and
11517         somewhat-incorrect example involving "." and "/".
11519         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
11520         compatibility with POSIX shells.
11522 2001-10-02  Akim Demaille  <akim@epita.fr>
11524         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
11525         instead of exec'ing to preserve $0 and $@.
11527 2001-10-01  Akim Demaille  <akim@epita.fr>
11529         * tests/testsuite (AT_INIT) <at_pass_list>: New.
11530         Don't run twice the same test.
11532 2001-10-01  Akim Demaille  <akim@epita.fr>
11534         * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
11535         No longer output the list of tests.
11536         <--list>: New option.
11537         <--full-help>: Remove.
11538         Complete the short/long options duality.
11539         Various small adjustments.
11541 2001-10-01  Akim Demaille  <akim@epita.fr>
11543         * doc/autoconf.texi: Use @kbd for user input.
11544         Always use `$' as shell prompt.
11546 2001-09-30  Paul Eggert  <eggert@twinsun.com>
11548         * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
11549         Don't use nested parenthesization.  This patch was originally
11550         suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
11551         but somehow it didn't get incorporated then.
11552         * doc/autoconf.texi (Limitations of Usual Tools):
11553         Clarify remark about sed and nested parenthesization.
11555         * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
11556         Report an error if the size cannot be determined even though
11557         the type exists.
11558         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
11559         Check for `expr' arithmetic overflow, and for compilation failure,
11560         and invoke a new argument $4 if either is discovered.
11561         This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
11562         (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
11564 2001-09-28  Akim Demaille  <akim@epita.fr>
11566         * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
11567         * m4/lispdir.m4: New.
11568         * aclocal.m4, configure.ac: Adjust.
11570 2001-09-28  Akim Demaille  <akim@epita.fr>
11572         * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
11573         (AT_TESTED): this.
11574         (AT_INIT): More the wrapped section to where it will be expanded.
11575         Output `AT_tested' only when existing.
11576         Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
11578 2001-09-27  Akim Demaille  <akim@epita.fr>
11580         Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
11581         generates too many bug reports.
11583         * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
11584         status when executing the ACTION-IF-FALSE.
11585         * tests/base.at (AC_TRY_*): Rename as...
11586         (AC_TRY_COMMAND): this.
11587         (AC_RUN_IFELSE): New.
11588         * tests/compile.at (Extensions, C keywords)
11589         (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
11590         (Broken/missing compilers, AC_PROG_CPP with warnings)
11591         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
11592         * tests/c.at (Extensions, C keywords)
11593         (Broken/missing compilers, AC_PROG_CPP with warnings)
11594         (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
11595         (AC_PROG_CPP requires AC_PROG_CC): here and...
11596         * tests/fortran.at (GNU Fortran 77): there.
11597         * doc/autoconf.texi (autoconf Invocation): Fix the example:
11598         AC_TRY_RUN is about compilation, not shell commands.
11599         (Test Programs): AC_TRY_RUN works as used to be advertised.
11601 2001-09-27  Akim Demaille  <akim@epita.fr>
11603         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
11604         Raja R Harinath:
11605         Be sure to detect when $LINENO always returns the same value.
11606         Look for the original script, basename($0) is certainly not
11607         enough.
11608         Pass the CLI arguments to `$as_me.lineno'.
11610 2001-09-25  Akim Demaille  <akim@epita.fr>
11612         * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
11613         Be sure the close and reopen the LOG fd before and after using tee
11614         to extend the log.
11615         <at_tests_pattern>: Adjust to the new format of at_help_all.
11617 2001-09-23  Akim Demaille  <akim@epita.fr>
11619         * bin/autom4te.in (parse_args): There can be several invocations
11620         of --language now.
11622 2001-09-23  Akim Demaille  <akim@epita.fr>
11624         * doc/autoconf.texi (Top): Wrap in @ifnottex.
11626 2001-09-23  Akim Demaille  <akim@epita.fr>
11628         * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
11629         ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
11630         (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
11631         builddir, buildpath, top_builddir, and top_buildpath.
11632         (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
11633         the current directory.
11634         * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
11635         variables *before* changing the current directory.
11636         Skip nonexistent dirs.
11637         * doc/autoconf.texi (Preset Output Variables): Document these
11638         variables.
11640         * lib/autotest/general.m4: Do not reset AT_victims.
11641         Don't compute at_srcdir nor at_top_srcdir.
11643         * tests/tools.at: Hence use top_srcdir.
11645         * tests/Makefile.am, tests/autoconf, tests/autoheader,
11646         * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
11647         Remove.
11648         * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
11649         * tests/wrapsh.in, tests/autoupdate.in: New.
11650         * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
11651         * configure.ac: Build the position independent wrappers.
11653         * man/Makefile.am: Now that test wrappers are position
11654         independent, use them and drop dark envvar magic.
11656 2001-09-23  Akim Demaille  <akim@epita.fr>
11658         * doc/autoconf.texi (Common Shell Constructs): Rename as...
11659         (Programming in M4sh): this.
11660         Promote to @section.
11662 2001-09-23  Akim Demaille  <akim@epita.fr>
11664         * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
11665         Pass $at_debug_args to the rerun test suite.
11666         * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
11667         * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
11668         From Paul Eggert.
11670 2001-09-23  Akim Demaille  <akim@epita.fr>
11672         * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
11674 2001-09-23  Akim Demaille  <akim@epita.fr>
11676         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
11677         over-escaping.
11679 2001-09-23  Akim Demaille  <akim@epita.fr>
11681         * lib/Autom4te/General.pm (&debug): New.
11682         * bin/autom4te.in ($language): Move to...
11683         (parse_args): here.
11684         Handle --language in languages.
11685         * lib/autom4te.in (Automake-selections, Autoheader-selections)
11686         (Autoscan-selections): New.
11687         (Autoconf): Adjust.
11689 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
11691         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
11692         * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
11693         to match current versions from CVS Automake.
11695 2001-09-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
11697         * doc/autoconf.texi (Special Shell Variables): Add pdksh output
11698         for $LINENO.
11700 2001-09-22  Akim Demaille  <akim@epita.fr>
11702         * lib/autoconf/autotest.m4: Create `package.m4'.
11703         * tests/Makefile.am (package.m4): Remove.
11705 2001-09-22  Akim Demaille  <akim@epita.fr>
11707         Rely on `$LINENO' when possible instead of `__oline__'.
11709         * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
11710         `$LINENO' support replacement when not supported.
11711         (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
11712         them explicitly to be sure they are not output before this section
11713         (via m4_require).  Cosmetic only.
11714         * lib/autoconf/c.m4, lib/autoconf/general.m4,
11715         * lib/autoconf/programs.m4: Replace all the occurrences of
11716         `__oline__' with `$LINENO'.
11717         * doc/autoconf.texi (Special Shell Variables): Document LINENO.
11719 2001-09-21  Tim Van Holder  <tim.van.holder@pandora.be>
11721         * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
11722         character (u: -> ue) in a code comment.
11723         (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
11724         it works.
11726 2001-09-21  Akim Demaille  <akim@epita.fr>
11728         * Makefile.maint (AUTOM4TE): Neutralize autom4te.
11729         Suggested by Jim Meyering.
11731 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11733         * lib/autoconf/programs.m4: Use extensions listed in
11734         $ac_executable_extensions when looking for programs.
11736 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11738         * lib/autoconf/general.m4: Fix a small Englisho.
11739         * lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
11740         setting up ac_dir_suffix and ac_top_builddir.
11741         * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
11743 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11745         * doc/autoconf.texi (File System Conventions): Clarify the use of
11746         PATH_SEPARATOR.
11747         (Special Shell Variables[PATH_SEPARATOR]): Ditto.
11748         (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
11749         be used instead of ':'.
11750         * lib/autotest/general.m4: Replace occurrences of ':' in
11751         AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
11753 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11755         * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
11756         arguments.  Fixed a typo.
11758 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11760         * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
11761         $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.
11763 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11765         * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
11766         * bin/autoupdate.in: Ditto.
11767         * bin/autoheader.in: Reworded a few comments.
11768         * bin/autoconf.in: Reworded help text for a few options.
11769         * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
11770         * bin/autoscan.in, bin/autoupdate.in: Ditto.
11772 2001-09-20  Tim Van Holder  <tim.van.holder@pandora.be>
11774         * lib/Autom4te/XFile.pm (open): Simplified the error message (we
11775         already have $file).  Set output files to binary mode (helps avoid
11776         CR issues on DOSish systems).
11778 2001-09-19  Akim Demaille  <akim@epita.fr>
11780         * lib/autotest/general.m4: Englishoes.
11781         From Tim Van Holder and Alexey Mahotkin.
11783 2001-09-18  Paul Eggert  <eggert@twinsun.com>
11785         * doc/autoconf.texi (Common Shell Constructs): New node,
11786         documenting AS_DIRNAME.
11787         (Limitations of Usual Tools): Refer to it when discussing dirname.
11788         Also, update discussion of POSIX standard to reflect latest draft.
11790         * lib/autoconf/c.m4:
11791         (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
11793         * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
11794         Do not pass a first argument with leading '-'
11795         to expr, by parenthesizing initial integers that might be negative.
11797         * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
11798         now merely checks whether it is an error to pass an argument
11799         to getpgrp.
11801         * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
11802         (AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
11803         whether it is a (compile-time) error to pass an argument to
11804         getpgrp.  This simpler test supports the revised documentation,
11805         and is all that AC_FUNC_GETPGRP's users really need.
11807 2001-09-18  Akim Demaille  <akim@epita.fr>
11809         * doc/autoconf.texi (Limitations of Make) <$<>: New.
11811 2001-09-18  Akim Demaille  <akim@epita.fr>
11813         * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
11814         `{}'.
11815         * lib/autotest/general.m4 (AT_INIT): Adjust.
11817 2001-09-18  Paul Wagland  <paul@wagland.net>
11819         * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
11820         correctly.
11821         Add test for AS_BASENAME.
11822         * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
11823         added test. It now correctly handles /1/2/3/, returning '3' not ''.
11824         Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
11825         * tests/base.at: Fixed the expected responses. The old ones were
11826         one line out...
11827         * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
11828         the documentation claims it should (and how it behaved in 2.13).
11830 2001-09-18  Akim Demaille  <akim@epita.fr>
11832         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
11833         the AC_CONFIG_COMMANDS invocation.
11834         This also solves the name clash problems.
11835         Don't set the package's ID.
11836         * lib/m4sugar/Makefile.am (version.m4): Revamp.
11837         No longer to be shipped.
11838         (version.in): Remove.
11839         * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
11840         * lib/autoconf/status.m4: Adjust.
11841         Use `m4_PACKAGE_STRING'.
11842         * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
11843         the only optional argument is the name of the test suite.
11844         Expect `package.m4' to define the package signature.
11845         * lib/autom4te.in (Autotest): Add `package.m4?'.
11846         * tests/Makefile.am (package.m4): New.
11847         * tests/suite.at: ifnames is a victim.
11849 2001-09-18  Akim Demaille  <akim@epita.fr>
11851         * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
11852         AC_LIBSOURCE, AC_CONFIG_FILES.
11853         * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
11854         program version string doesn't match the package's.
11855         * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
11856         after `(cached)'.
11858 2001-09-17  Paul Eggert  <eggert@twinsun.com>
11860         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
11861         Allow expression to return any value that can fit into unsigned long
11862         (not int, as before).  Check for output errors.
11864 2001-09-17  Bruno Haible  <haible@ilog.fr>
11866         * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
11867         Always include <stdio.h> and <stdlib.h>. Evaluate
11868         the expression in an extra function before these includes. Call
11869         fprintf "%d" only after ensuring the argument is of type 'int'.
11870         Reported by Wayne Chapeskie <waynec@spinnaker.com>.
11872 2001-09-17  Paul Eggert  <eggert@twinsun.com>
11874         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
11875         or CFLAGS=-O5.  In that case, the linker has a relaxed view of
11876         fatal errors, and AC_CHECK_LIB causes it to include libraries even
11877         when they don't exist.
11879         * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
11880         not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
11881         need it.
11883         * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
11884         version with the version used by fileutils 4.1, except use
11885         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
11886         we don't need it.
11888         * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
11890 2001-09-13  Akim Demaille  <akim@epita.fr>
11892         * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
11893         _first_.
11894         Reported by Gerrit P. Haase.
11896 2001-09-13  Akim Demaille  <akim@epita.fr>
11898         * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
11899         m4_defn'ing is valid.
11901 2001-09-13  Akim Demaille  <akim@epita.fr>
11903         * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
11904         * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
11905         Use it.
11907 2001-09-13  Akim Demaille  <akim@epita.fr>
11909         * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
11910         m4_match.
11911         (m4_re_escape): New.
11912         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
11913         * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
11914         * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
11915         Likewise.
11916         * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
11917         (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
11918         * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
11919         AT_tests_all for consistency.
11920         Set at_victims.
11921         (AT_VICTIMS): Similar to AT_KEYWORDS.
11922         (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
11924 2001-09-13  Akim Demaille  <akim@epita.fr>
11926         * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
11928 2001-09-13  Akim Demaille  <akim@epita.fr>
11930         * lib/autotest/general.m4 (AT_INIT): Create and remove
11931         `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
11932         test suites can cohabit.
11934 2001-09-13  Akim Demaille  <akim@epita.fr>
11936         * tests/mktests.sh: Don't output banners for empty test files.
11938 2001-09-13  Akim Demaille  <akim@epita.fr>
11940         Test suites can be run independently of configure.
11942         * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
11943         * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
11944         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
11945         ECHO_N etc.
11946         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
11947         and at_c.
11948         * lib/autotest/general.m4: Use ECHO_*.
11950 2001-09-13  Akim Demaille  <akim@epita.fr>
11952         * bin/ifnames.in: Rewrite in Perl.
11953         * configure.ac: Don't look for AWK.
11954         * tests/tools.at (AWK portability): Remove.
11955         (Syntax of the shell scripts): Don't check ifnames.
11956         (AT_CHECK_PERL_SYNTAX): New.
11957         (Syntax of the Perl scripts): Check ifnames.
11958         * tests/ifnames: New.
11960 2001-09-13  Akim Demaille  <akim@epita.fr>
11962         * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
11963         test group titles.
11964         * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
11965         Remove all the other keywords.
11967 2001-09-10  Akim Demaille  <akim@epita.fr>
11969         * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
11970         SETUP: no longer used.
11971         Support -k, --keywords.
11972         <at_help>: Be `no', `short', or `long'.
11973         <at_help_all>: New variable.
11974         (AT_KEYWORDS): New.
11975         (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
11976         (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
11977         (_AT_CLEANUP_FILE_IF): Simplify the regexp.
11978         (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
11979         No longer fill the HELP diversion.
11980         (AT_CLEANUP): Use them.
11981         * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
11982         (m4_list_append): Remove.
11984         Spread a few keywords in the Autoconf test suite.
11986 2001-09-10  Akim Demaille  <akim@epita.fr>
11988         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
11989         PATH_SEPARATOR, let M4sh compute it.
11990         * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
11991         * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
11992         Move to...
11993         * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
11994         Simplify when the path is not a literal.
11995         (AS_UNAME): Use it to report PATH.
11996         * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
11997         (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
11998         * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
11999         * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
12000         normalize the path, and to look for victims.
12001         * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
12002         (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
12004 2001-09-07  Akim Demaille  <akim@epita.fr>
12006         * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
12007         doesn't neutralize SIGINT, making autoconf etc. non interruptible.
12008         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
12009         related variables into `at_package_*'.
12010         * lib/autotest/general.m4 (AT_VICTIMS): New.
12011         (AT_INIT): Adjust for stand-alone/embedded test suites.
12012         (AS_MESSAGE_LOG_FD): Define and use it.
12013         * tests/suite.at (AT_VICTIMS): Use it.
12014         * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
12015         at_version.
12017 2001-09-07  Akim Demaille  <akim@epita.fr>
12019         Move toward possibly stand-alone test suites.
12021         * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
12022         in addition, it introduces useless differences in logs.
12023         (AT_INIT): Let atconfig and atlocal be both optional.
12024         Adjust PATH computation.
12025         * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
12027 2001-09-07  Akim Demaille  <akim@epita.fr>
12029         * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
12030         m4sugar/version.m4.
12032 2001-09-05  Akim Demaille  <akim@epita.fr>
12034         * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
12035         to avoid GCC warnings.
12036         From Uwe Seimet.
12038 2001-09-05  Akim Demaille  <akim@epita.fr>
12040         * bin/autom4te.in: --language is -l, not -s.
12042 2001-09-05  Akim Demaille  <akim@epita.fr>
12044         Be ready to handle filenames as stupid as `dnl.at', for if even
12045         the maintainer is dumb enough to do that...
12047         * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
12048         excellence in M4 quotation: consider `__file__' is active.
12050         And BTW, when invoking m4, pass the --include in the right order:
12051         the wrong one.
12053         * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
12054         4m.
12056 2001-09-05  Akim Demaille  <akim@epita.fr>
12058         * lib/Autom4te/XFile.pm: New lib file.
12059         * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
12060         * bin/autoheader.in: Use it.
12062 2001-09-05  Akim Demaille  <akim@epita.fr>
12064         * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
12065         defined.
12067 2001-09-05  Akim Demaille  <akim@epita.fr>
12069         * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
12070         * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
12072         * bin/autoscan.in: Use `getopt' and `find_files' etc.
12073         Add -I, --include support.
12074         * doc/autoconf.texi (autoscan Invocation): Adjust.
12076 2001-09-05  Akim Demaille  <akim@epita.fr>
12078         CVS GNU M4 doesn't like `undefine(undefined)'.
12080         * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
12081         New, extracted from main.
12082         Use IO::File wherever possible.
12083         (input.m4): Be constant, use -I instead of hard coding $tmp.
12084         Therefore be a quoted heredoc.
12085         Don't invoke `_au_disable', since ac was not loaded, but just
12086         `unm4.m4'.
12088 2001-08-31  Akim Demaille  <akim@epita.fr>
12090         Version 2.52d.
12092 2001-08-31  Akim Demaille  <akim@epita.fr>
12094         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
12095         previous patch.
12096         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
12098 2001-08-31  Akim Demaille  <akim@epita.fr>
12100         * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
12101         serious problems handling heredocs in heredocs.
12102         Reported by Nicolas Joly.
12104 2001-08-31  Akim Demaille  <akim@epita.fr>
12106         * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
12107         (Making testsuite Scripts): Update.
12109 2001-08-31  Akim Demaille  <akim@epita.fr>
12111         * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
12113 2001-08-31  Akim Demaille  <akim@epita.fr>
12115         * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
12116         (testsuite Scripts): There is no such thing as `atconfig.in'.
12117         And actually one diagram is missing: test suite runtime.
12119 2001-08-31  Akim Demaille  <akim@epita.fr>
12121         * lib/Autom4te/General.pm (&find_file): Browse the includes in the
12122         inverse order.
12124 2001-08-31  Akim Demaille  <akim@epita.fr>
12126         * bin/autoupdate.in (@include): `installcheck' revealed the path
12127         to m4sugar was lacking!
12129 2001-08-31  Akim Demaille  <akim@epita.fr>
12131         * man/Makefile.am (.x.1): We really have to pass
12132         autom4te_perllibdir.
12134 2001-08-31  Akim Demaille  <akim@epita.fr>
12136         * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
12137         debug scripts, in particular passing explicitly listed tests to
12138         run is stupid.
12140 2001-08-31  Akim Demaille  <akim@epita.fr>
12142         * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
12143         * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
12144         Use directly autom4te, not autoconf.
12145         * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
12147 2001-08-31  Akim Demaille  <akim@epita.fr>
12149         * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
12150         * bin/autoheader.in (%symbol): Strip arguments of macros.
12152 2001-08-31  Akim Demaille  <akim@epita.fr>
12154         * doc/autoconf.texi: Catch up -I, --include changes.
12156 2001-08-31  Akim Demaille  <akim@epita.fr>
12158         * bin/autom4te.in (&parse_args): Die on unknown languages.
12159         * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
12160         need for autoconf.
12161         Promote --include over --macrodir and other obsolete options.
12163 2001-08-31  Akim Demaille  <akim@epita.fr>
12165         * lib/Autom4te/General.pm ($version, $help, &getopt): New.
12166         * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
12167         * bin/autom4te.in ($autoconf): Pass --force.
12168         `print $out' doesn't print `$_' but `$out'.
12169         * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
12170         (autoheader): Pass --force since the test suite goes too fast for
12171         the time stamps.
12172         Adjust to the new autoheader messages.
12174 2001-08-31  Akim Demaille  <akim@epita.fr>
12176         * bin/autoheader.in: Handle the acconfig.h etc. junk files.
12177         Check the completeness of the #template.
12178         * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
12179         * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
12180         invocation.
12182 2001-08-31  Akim Demaille  <akim@epita.fr>
12184         * lib/Autom4te/General.pm (&find_file, &update_file): New.
12185         * bin/autoupdate.in, bin/autoheader.in: Adjust.
12186         Drop AC_MACRODIR dead for real.
12187         * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
12188         `autoheader: `config.hin' is created'.
12189         * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
12191 2001-08-31  Akim Demaille  <akim@epita.fr>
12193         * bin/autoheader.in: Rewrite in Perl.
12194         * tests/autoheader: Adjust.
12196 2001-08-31  Akim Demaille  <akim@epita.fr>
12198         * bin/autoconf.in (--include, -I): New option.
12199         Map --localdir, --autoconf-dir onto it.
12200         Forward autom4te's options instead of interpreting them.
12201         * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
12202         There is no such envvar since the inception of autom4te.cfg.
12203         * bin/autom4te.in (&parse_args): Uniquify `@include'.
12204         * bin/autoupdate.in: Adjust, and perform more control.
12205         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
12206         * tests/autoconf: Dittowise.
12208 2001-08-31  Akim Demaille  <akim@epita.fr>
12210         * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
12211         * bin/autom4te.in (&find_file): Support `FILE?' standing for
12212         optionally `FILE'.
12213         Use -e, not -f, since /dev/null for instance is OK.
12214         (&parse_args): Adjust.
12215         * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
12217 2001-08-31  Akim Demaille  <akim@epita.fr>
12219         * configure.ac: Also find tested executables in bin.
12220         * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
12221         * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
12222         installed peer executables, only PATH is allowed to resolve it.
12223         Pass `autoconf_dir' via options, not via invisible envvars.
12224         * lib/Autom4te/General.pm (&find_peer): Remove.
12225         * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
12226         `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
12227         * man/Makefile.am: Let help2man rely on PATH instead of trying to
12228         find the executables for it.
12229         * tests/Makefile.am: Major cleanup.  Too lazy to document...
12230         * tests/atlocal.in: Remove all the obscure envvar manipulations.
12231         We only need PERL.
12232         * tests/atspecific.m4, tests/tools.at: Passing --localdir is
12233         indeed related to running the test suite, while passing
12234         --autoconf-dir and others is related to running non installed
12235         Autoconf executables.  So don't do that, leave it to...
12236         * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
12237         * tests/autoscan: New.
12238         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
12239         refer to library files: rely on --language.
12241 2001-08-29  Akim Demaille  <akim@epita.fr>
12243         * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
12244         s/--set/--language/.
12246 2001-08-29  Akim Demaille  <akim@epita.fr>
12248         * doc/autoconf.texi: Strip the @nodes.
12249         Suggested by Paul Eggert.
12250         (Initializing configure): Typo.
12252 2001-08-29  Akim Demaille  <akim@epita.fr>
12254         * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
12255         Suggested by Paul Eggert.
12257 2001-08-29  Akim Demaille  <akim@epita.fr>
12259         * Makefile.maint (do-po-update): Wget refuses to overwrite files:
12260         download in a tmp dir.
12262 2001-08-29  Akim Demaille  <akim@epita.fr>
12264         * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
12265         case insensitive OSes out there :(
12266         From Tim Van Holder.
12268 2001-08-29  Akim Demaille  <akim@epita.fr>
12270         * lib/autom4te.in: New.
12271         * lib/Makefile.am (edit, autom4te.cfg): New.
12272         * bin/autom4te.in (BEGIN): Simplify.
12273         Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
12274         (&load_configuration): New.  Use it.
12275         (&parse_args): Support --mode, --set, and --melt.
12276         * bin/autoconf.in: Simplify and adjust.
12277         * tests/Makefile.am (AUTOMAKE): Use --set.
12278         * tests/atlocal.in: Adjust.
12279         * BUGS: distcheck and check are weak.
12281 2001-08-29  Akim Demaille  <akim@epita.fr>
12283         * lib/autotest/general.m4: Use
12284                 foo=`(command) 2>/dev/null`
12285         not
12286                 foo=`command` 2>/dev/null
12287         (at-devnull): Rename as...
12288         (AT-devnull): this.
12289         (--clean): Remove AT-* files too.
12290         * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
12291         Reported by Nicolas Joly.
12293 2001-08-28  Akim Demaille  <akim@epita.fr>
12295         * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
12296         quotes inside single quotes.
12297         Reported by Nicolas Joly.
12299 2001-08-28  Kevin Ryde  <user42@zip.com.au>
12301         * doc/autoconf.texi (Function Portability): Mention C right shifts.
12303 2001-08-27  Tim Van Holder  <tim.van.holder@pandora.be>
12305         * lib/autotest/general.m4: Reword some messages.
12306         (AT_INIT): Check for the `times' builtin before using it.
12307         Support test ranges as arguments to the testsuite.
12308         Have -e imply -d as the help text suggested.
12310 2001-08-27  Akim Demaille  <akim@epita.fr>
12312         * Makefile.maint: Formatting changes.
12313         (do-po-update, po-update, cvs-update, update): New targets.
12314         (AMTAR): Remove.
12316 2001-08-27  Akim Demaille  <akim@epita.fr>
12318         * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
12319         <at_cmd_line>: New.
12320         Pass it to debug-*.sh scripts.
12321         <AUTOTEST_PATH>: May contain absolute dir names.
12323 2001-08-27  Akim Demaille  <akim@epita.fr>
12325         * lib/autotest/general.m4 (AT_INIT): Log the command line.
12326         Support `VAR=VAL' as arguments.
12327         Compute PATH _after_ the options processing, so that AUTOTEST_PATH
12328         may be set via the command line.
12330 2001-08-27  Akim Demaille  <akim@epita.fr>
12332         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
12333         * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
12334         first the build dirs, then the src dirs.
12335         * configure.ac (AC_CONFIG_TESTDIR): Adjust.
12337 2001-08-27  Akim Demaille  <akim@epita.fr>
12339         * lib/autotest/general.m4 (AT_INIT): Output the definition of
12340         at_data_files earlier.
12341         (--clean, -c): New option.
12342         * tests/Makefile.am: Use this option.
12344 2001-08-27  Akim Demaille  <akim@epita.fr>
12346         * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
12347         `ac_top_builddir' to mimic Automake's vocabulary, which much more
12348         readable.
12349         Adjust callers.
12350         * doc/autoconf.texi (Configuration Actions): Document the vars
12351         available in commands.
12352         Emphasize the risks of collisions in init-cmds.
12354 2001-08-27  Akim Demaille  <akim@epita.fr>
12356         * doc/autoconf.texi (Input) <AC_INIT>: Move to..
12357         (Initializing configure): this new node.
12359 2001-08-27  Akim Demaille  <akim@epita.fr>
12361         * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
12363 2001-08-27  Akim Demaille  <akim@epita.fr>
12365         * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
12366         * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
12367         New file.
12368         * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
12370 2001-08-27  Akim Demaille  <akim@epita.fr>
12372         * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
12373         to...
12374         * lib/autoconf/autoheader.m4: this new file.
12375         * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
12376         (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
12377         Move to...
12378         * lib/autoconf/autoupdate.m4: this new file.
12380 2001-08-27  Akim Demaille  <akim@epita.fr>
12382         * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
12383         (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
12384         Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
12385         -> ac_dir).
12386         (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
12387         * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
12389 2001-08-27  Akim Demaille  <akim@epita.fr>
12391         * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
12392         (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
12393         (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
12394         (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
12395         (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
12396         (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
12397         (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
12398         (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
12399         (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
12400         (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
12401         (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
12402         (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
12403         (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
12404         (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
12405         (_AC_OUTPUT_SUBDIRS): Move to...
12406         * lib/autoconf/status.m4: this new file.
12407         * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
12408         * tests/Makefile.am, tests/suite.at: Adjust.
12410 2001-08-27  Akim Demaille  <akim@epita.fr>
12412         Automake 1.5.
12414         * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
12415         (AMTAR): Help automake define it.
12416         (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
12417         needed, 1.5 can have a macro and a target with the same name.
12418         * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
12419         * m4/strip.m4: New.
12420         * m4/init.m4, m4/sanity.m4: Update.
12421         * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
12422         * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
12423         * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
12424         * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
12426 2001-08-27  Akim Demaille  <akim@epita.fr>
12428         Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
12430         * lib/autoconf/version.in: Remove.
12431         * lib/m4sugar/version.in: New.
12432         * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
12433         Adjust callers.
12434         * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
12435         the name of the directory they're in, instead of the filename,
12436         since version.m4 is now in m4sugar, but m4_acversion must not be
12437         classified as an Autoconf macro.
12438         ($input_m4): Don't qualify the path to m4sugar.
12439         Rather, pass autoconf_dir to m4.
12440         * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
12441         * tests/suite.at: Require 2.52c.
12443 2001-08-27  Akim Demaille  <akim@epita.fr>
12445         testsuite.log should include config.log.
12447         * lib/autotest/autotest.m4: New.
12448         * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
12449         * tests/suite.at : Adjust.
12450         (AT_INIT): Log config.log.
12451         * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
12452         * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
12453         * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
12454         (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
12455         of config.log on traps.
12456         (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
12457         Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
12458         for config.status'.
12459         Open the log as soon as possible.
12460         Use the same log introduction as configure's.
12462 2001-08-22  Paul Eggert  <eggert@twinsun.com>
12464         * doc/autoconf.texi (Indices): New node.
12465         Move indices out of the top level menu and into this submenu.
12467 2001-08-22  Akim Demaille  <akim@epita.fr>
12469         * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
12470         AC_TRY_COMMAND.
12471         (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
12473 2001-08-22  Akim Demaille  <akim@epita.fr>
12475         * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
12476         (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
12477         (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
12478         * lib/autoconf/programs.m4: here.
12479         * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
12480         (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
12481         (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
12482         * lib/autoconf/programs.m4: here.
12483         (_AC_DECL_YYTEXT): Rename as...
12484         (_AC_PROG_LEX_YYTEXT_DECL): this.
12485         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
12486         * tests/Makefile.am, tests/suite.am: Adjust.
12488 2001-08-22  Akim Demaille  <akim@epita.fr>
12490         * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
12491         Move to...
12492         * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
12493         here.
12494         * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
12495         * lib/autoconf/functions.m4: here.
12496         * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
12497         (AH_CHECK_LIB): Move to...
12498         * lib/autoconf/libs: this new file.
12499         * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
12500         (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
12501         * lib/autoconf/libs.m4: here.
12502         * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
12504 2001-08-22  Akim Demaille  <akim@epita.fr>
12506         * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
12507         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
12508         (AC_SITE_LOAD): Better logging of config.site.
12510 2001-08-20  Akim Demaille  <akim@epita.fr>
12512         * configure.ac (AT_CONFIG): Fix the path.
12513         * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
12514         can be used.
12516 2001-08-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
12518         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
12519         program with AC_LANG_PROGRAM before feeding it to
12520         AC_COMPILE_IFELSE.  Cleanup grep usage.
12522 2001-08-20  Akim Demaille  <akim@epita.fr>
12524         * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
12525         * NEWS, README, README-alpha, TODO, tests/README: This package is
12526         `Autoconf', not `autoconf' (the executable).
12528 2001-08-20  Akim Demaille  <akim@epita.fr>
12530         Info readers seem to need `Index' in the index node title :(
12532         * doc/autoconf.texi: Reverse the 2001-08-15 change which
12533         simplified index node names.
12535 2001-08-20  Akim Demaille  <akim@epita.fr>
12537         * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
12538         arguments are not literals.
12539         * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
12540         Specify the output variables, and macros defined.
12542 2001-08-20  Akim Demaille  <akim@epita.fr>
12544         * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
12545         (Examining Syntax) <AC_TRY_COMPILE>
12546         (Examining Libraries) <AC_TRY_LINK>
12547         (Test Programs) <AC_TRY_RUN>: These macros double quote some of
12548         their arguments.
12549         Reported by Werner Lemberg.
12551 2001-08-20  Akim Demaille  <akim@epita.fr>
12553         * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
12554         top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
12555         Load atlocal late enough to dump it in the log.
12556         * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
12558 2001-08-20  Akim Demaille  <akim@epita.fr>
12560         * tests/torture.at (Configuring subdirectories): New test.
12561         * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
12562         looking for.
12563         * m4/atconfig.m4: Be sure the let $[0] be expandable.
12564         (top_srcdir): Fix its computation.
12566 2001-08-20  Akim Demaille  <akim@epita.fr>
12568         * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
12569         * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
12570         test suite lives.
12571         Create `atconfig' automagically.
12572         Configure atlocal.in if present.
12573         * tests/atconfig.in: Remove.
12574         * tests/atlocal.in: New.
12575         * tests/Makefile.am: Adjust.
12577 2001-08-20  Akim Demaille  <akim@epita.fr>
12579         Huh!?!?!  There are still some user EOF tags used, which prevents
12580         their use in AC_CONFIG_COMMANDS for instance...
12582         * lib/autoconf/general.m4, lib/autoconf/specific.m4,
12583         * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
12584         `_CSEOF', or `_ATEOF', as appropriate.
12585         * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
12586         * lib/autotest/Makefile.am (check-local): Enforce this constraint.
12588 2001-08-20  Akim Demaille  <akim@epita.fr>
12590         * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
12591         * tests/semantics.at, tests/tools.at, tests/torture.at:
12592         s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
12594 2001-08-20  Akim Demaille  <akim@epita.fr>
12596         Autotest invokes M4sh's initialization.
12598         * lib/autotest/general.m4: Adjust the diversion names.
12599         (AT_INIT): Run AS_INIT.
12600         Use the BINSH diversion to invoke /bin/sh.
12601         * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
12602         * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
12604 2001-08-20  Akim Demaille  <akim@epita.fr>
12606         Let M4sh have its own diversions.
12608         * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
12609         (_m4_divert(NOTICE)): Rename as...
12610         * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
12611         (_m4_divert(HEADER-COMMENT)): these.
12612         (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
12613         (_m4_divert(NOTICE)): New, for Libtool.
12614         * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
12615         long ago with `_m4_divert(GROW)'.
12616         (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
12618 2001-08-20  Akim Demaille  <akim@epita.fr>
12620         * tests/base.at, tests/compile.at, tests/foreign.at,
12621         * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
12622         * tests/semantics.at, tests/suite.at, tests/tools.at,
12623         * tests/torture.at: Ask Autotest mode, not Autoconf mode.
12625 2001-08-20  Akim Demaille  <akim@epita.fr>
12627         * bin/autom4te.in (handle_output): Handle @__@.
12629 2001-08-20  Akim Demaille  <akim@epita.fr>
12631         * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
12632         * lib/autotest/general.m4: Adjust the license.
12634 2001-08-17  Paul Eggert  <eggert@twinsun.com>
12636         * doc/autoconf.texi (Function Portability): Mention snprintf,
12637         following up on a suggestion by Kevin Ryde.
12639 2001-08-17  Akim Demaille  <akim@epita.fr>
12641         * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
12642         `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
12644 2001-08-17  Akim Demaille  <akim@epita.fr>
12646         * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
12647         `$0.log' as for projects where testsuite is in src, we'd have
12648         testsuite.log created in src.
12650 2001-08-17  Akim Demaille  <akim@epita.fr>
12652         * bin/autom4te.in (&parse_args): Recognize --normalize.
12654 2001-08-17  Akim Demaille  <akim@epita.fr>
12656         Start implementing the AC_CHECK_HEADER transition scheme.
12658         * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
12659         (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
12660         (AC_CHECK_HEADER): Use them.
12662 2001-08-17  Akim Demaille  <akim@epita.fr>
12664         * doc/autoconf.texi: Work around Texinfo buglets.
12665         (Transformation Rules): One example is enough, users are expected
12666         to have their brains on. And BTW, use DESTDIR.
12667         (dvar): New macro.  Use it.
12669 2001-08-17  Akim Demaille  <akim@epita.fr>
12671         * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
12672         * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
12673         looking for ChangeLogs.
12675 2001-08-17  Akim Demaille  <akim@epita.fr>
12677         * bin/autom4te.in: --normalize is a new option.
12678         * bin/autoconf.in: Use it.
12680 2001-08-17  Akim Demaille  <akim@epita.fr>
12682         * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
12683         * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
12685 2001-08-16  Paul Eggert  <eggert@twinsun.com>
12687         * doc/autoconf.texi, doc/install.texi: Put copyright notice at
12688         start, not at end.
12690 2001-08-15  Akim Demaille  <akim@epita.fr>
12692         * doc/Makefile.am (fu): New index, can't use fn because of defmac.
12693         Use it.
12695 2001-08-15  Akim Demaille  <akim@epita.fr>
12697         * doc/autoconf.texi (pr): New index.
12698         (prindex, findex): Use, merge, and output them.
12699         (Environment Variable Index, Output Variable Index)
12700         (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
12701         (Autotest Macro Index): Rename as...
12702         (Environment Variables, Output Variables,Preprocessor Symbols)
12703         (Autoconf Macros, M4 Macros, Autotest Macros): these.
12704         * doc/install.texi: Use @command.
12705         (Environment Variables): Rename as...
12706         (Defining Variables): this.
12708 2001-08-15  Akim Demaille  <akim@epita.fr>
12710         * doc/autoconf.texi (Function Portability): sprintf's return
12711         value.
12712         From Kevin Ryde.
12714 2001-08-15  Akim Demaille  <akim@epita.fr>
12716         * Makefile.maint (CVS): New.
12717         (local-check): Run changelog-check. last.
12718         (alpha): Don't depend upon local-check, since...
12719         (cvs-dist): depends upon it.
12721 2001-08-15  Tim Van Holder  <tim.van.holder@pandora.be>
12723         * tests/Makefile.am: Use a clean-local rule to remove
12724         autom4te.cache (it's a directory, not a file.
12725         * Makefile.am: Ditto (but maintainer-clean-local).
12727 2001-08-15  Akim Demaille  <akim@epita.fr>
12729         * bin/autom4te.in (@m4_warning): New.
12730         (&handle_m4): Use it.
12731         * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
12732         warnings are issued at each run.
12733         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
12734         is in the src tree.
12736 2001-08-15  Akim Demaille  <akim@epita.fr>
12738         * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
12739         don't waste time running `autoupdate --version' works.
12740         * tests/tools.at (autoupdating AC_PREREQ): Likewise.
12742 2001-08-13  Akim Demaille  <akim@epita.fr>
12744         * doc/autoconf.texi (ma): Rename this index as...
12745         (ac): this.
12747 2001-08-13  Akim Demaille  <akim@epita.fr>
12749         * Makefile.am: Remove dead code and dead comments.
12750         (pdf, html): New targets.
12751         * doc/autoconf.texi (Using Autotest): New chapter.
12752         * doc/Makefile.am (pdf): New targets.
12753         (CLEANFILES): Adjust.
12755 2001-08-13  Akim Demaille  <akim@epita.fr>
12757         * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
12758         duration of the test suite.
12760 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
12762         * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
12763         endianness for comparison instead of relying on AT_CHECK_ENV.
12765 2001-08-11  Paul Eggert  <eggert@twinsun.com>
12767         * doc/autoconf.texi, doc/install.texi: Add a copyright notice
12768         to the INSTALL file.
12770 2001-08-11  Paul Eggert  <eggert@twinsun.com>
12772         * NEWS: The autoconf manual now is distributed under the terms
12773         of the GNU Free Documentation License.
12775         * doc/autoconf.texi: Switch from old style copyright notice to FDL.
12776         Add an appendix "Copying This Manual" for the FDL.
12778         * doc/fdl.texi: New file, from
12779         <http://www.gnu.org/licenses/fdl.texi>.
12781         * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
12783 2001-08-10  Paul Eggert  <eggert@twinsun.com>
12785         * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
12786         ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
12787         README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
12788         m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
12789         m4/sanity.m4, tests/README, tests/aclocal.m4,
12790         tests/atspecific.m4, tests/base.at, tests/compile.at,
12791         tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
12792         tests/semantics.at, tests/suite.at, tests/tools.at,
12793         tests/torture.at: Add copyright notice.
12795         * tests/mktests.sh: Update year in copyright notice.
12797 2001-08-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
12799         * tests/semantics.at (AC_C_BIGENDIAN): New test.
12801 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
12803         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
12804         ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
12805         * doc/autoconf.texi (C Compiler Characteristics): Update
12806         documentation for AC_C_BIGENDIAN.
12808 2001-08-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
12810         * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
12811         magic values from an object file when cross-compiling.
12812         Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
12814 2001-08-10  Akim Demaille  <akim@epita.fr>
12816         * bin/autom4te.in (&handle_output): Don't use `grep' with side
12817         effects.
12818         Suggested by Russ Allbery.
12820 2001-08-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
12822         * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
12823         current $prefix to the sub-configures.
12825 2001-08-09  Tim Van Holder  <tim.van.holder@pandora.be>
12827         * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
12828         extension (needed on BeOS).  Reported by Guido van Rossum.
12830 2001-08-09  Akim Demaille  <akim@epita.fr>
12832         * bin/autom4te.in ($icache): Load it only if older than autom4te.
12834 2001-08-07  Akim Demaille  <akim@epita.fr>
12836         * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
12837         removed.
12838         (at-setup-line): Huh?  Be a variable `at_setup_line', not a file.
12839         No need to remove the files before and after the each test, before
12840         each test and at the end of the suite is enough.
12841         Display only the children `times', not the shell's.
12842         If the test failed or was skipped, at-times is not available.
12844 2001-08-07  Akim Demaille  <akim@epita.fr>
12846         Always produce testsuite.log, including when there are no
12847         failures.  This helps getting information on skipped tests, and
12848         duration of the tests.  Err, implement the latter btw.
12850         * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
12851         Dump information on the first run of each test.
12852         (AT_CLEANUP): Create `at-times' containing the duration of the
12853         test group.
12855 2001-08-07  Akim Demaille  <akim@epita.fr>
12857         The use of `dumpstat' revealed that `len' was used although it
12858         should not.  m4_text_wrap was using it, but in the Autoconf world
12859         where it is legal.  Hence (i) test M4sh in its own world, not
12860         Autoconf's, and (ii), ahem, fix the bug :)
12862         * lib/autotest/general.m4: Be sure the set good quotes, as tracing
12863         does not like `' instead of [].
12864         (AT_INIT): Forbid `^_?AT_'.
12865         And don't output such tokens.
12866         * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
12867         `script.as', and `autom4te.cache'.
12868         Remove `empty' and `macro' which are no longer used.
12869         * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
12870         * tests/m4sugar.at: Use it.
12871         * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
12873 2001-08-07  Akim Demaille  <akim@epita.fr>
12875         * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
12877 2001-08-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
12879         * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
12881 2001-08-04  Akim Demaille  <akim@epita.fr>
12883         * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
12884         (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
12885         AC_TRY_LINK.
12886         * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
12887         * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
12888         (AC_F77_MAIN): Likewise.
12890 2001-08-04  Akim Demaille  <akim@epita.fr>
12892         Don't rely on M4sugar outputting the patterns in files, since we
12893         might process the output _without_ running m4, hence without these
12894         files.
12896         * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
12897         * bin/autom4te.in (@Request::includes): Remove, unused.
12898         (@Request::source): Rename as...
12899         (@Request::input): this.
12900         (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
12901         (&handle_output): Fetch the patterns from the traces.
12902         `$forbidden' and `$allowed' are constant: use m//o.
12903         (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
12904         (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
12906 2001-08-04  Akim Demaille  <akim@epita.fr>
12908         `autoconf && autoheader' is sped up.  Now, speed up `autoheader &&
12909         autoconf', i.e., in addition to caching traces, cache the output.
12911         * bin/autom4te.in (Request::cache): Rename as...
12912         (Request::id): this.
12913         ($cache, $icache, $tcache, $ocache): New.
12914         (&handle_m4): Save M4 output in the cache instead of $tmp.
12915         (&handle_output): Adjust.
12916         (&up_to_date_p): Check that the output cache is up to date too.
12917         (top level): Run `&handle_m4' iff force or the cache is invalid.
12918         Run `&handle_output' if the output cache is more recent.
12920 2001-08-04  Akim Demaille  <akim@epita.fr>
12922         * bin/autom4te.in ($force): New.
12923         (&parse_args, &print_usage): -f, --force is a new option.
12924         (&handle_output): CPP directives might have spaces after `#'.
12925         (&parse_args): The first file only can be frozen.
12927 2001-08-04  Akim Demaille  <akim@epita.fr>
12929         Don't let autom4te compute the `include' traces several times:
12930         first check that the trace cache file is up to date, and then
12931         compare its timestamp with that of the output.
12933         * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
12934         the preamble.  Don't require 5.005 as Autom4te::General does it,
12935         and better yet (use `use', not `require'!).
12936         * lib/Autom4te/Struct.pm: Rename the last occurrences of
12937         Class::Struct as Autom4te::Struct.
12938         * lib/Autom4te/General.pm (File::stat): Use it.
12939         (&mtime): New, export it.
12940         * bin/autom4te.in: Use it.
12941         Declare `$req' is invalid if it is outdated.
12942         Don't declare it valid before saving it if something went wrong.
12944 2001-08-04  Akim Demaille  <akim@epita.fr>
12946         Autom4te shall not encode Autoconf data, and preselecting traces
12947         must be proposed to the users.
12949         * bin/autom4te.in (@required_trace): Remove.
12950         (@preselect): New.
12951         (&parse_args, &print_usage): -p, --preselect is a new option.
12952         (&up_to_date_p): Adjust.
12953         * bin/autoconf.in: Preselect some Autoconf macros.
12955 2001-08-04  Akim Demaille  <akim@epita.fr>
12957         * tests/tools.at (autoconf --trace: user macros): Check traces on
12958         macros invoked without arguments, and macros invoked with multiple
12959         lines arguments.
12961 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
12963         * bin/autom4te.in (handle_traces): Fix rewriting of traces without
12964         arguments.
12966 2001-08-03  Akim Demaille  <akim@epita.fr>
12968         * bin/autoconf.in ($@): Work around the usual sh bug.
12969         From Nicolas Joly.
12971 2001-08-03  Akim Demaille  <akim@epita.fr>
12973         Clean up the handling of the M4 builtins tracing exception.
12975         * bin/autom4te.in (Request::request): Don't complete M4 builtins
12976         trace requests.
12977         (@m4_builtins): Rename as...
12978         (@m4_builtin): this.
12979         (%m4_builtin_alternate_name): New.
12980         (&parse_args): Complete the trace requests with alternate names.
12981         (&handle_traces): Hence no longer do it here.
12982         (&trace_requests): Remove, unused.
12984 2001-08-03  Akim Demaille  <akim@epita.fr>
12986         * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
12987         m4_if, and m4_wrap.
12989 2001-08-03  Akim Demaille  <akim@epita.fr>
12991         * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
12992         (m4_divert_pop): Dump the whole diversion stack when a diversion
12993         mismatch happens.
12994         * bin/autom4te.in (&handle_output): Remember of the first
12995         occurrence of a possibly undefined macro, not the last.
12996         Complain about the possibly undefined macros in the same order as
12997         the appear in the output.
12998         * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
12999         * tests/tools.at (autoconf: forbidden tokens, basic)
13000         (autoconf: forbidden tokens, exceptions): No longer sort
13001         autoconf's stderr, as it is now deterministic.
13002         Check that `dnl' is caught.
13004 2001-08-01  Akim Demaille  <akim@epita.fr>
13006         * configure.ac: Bump to 2.52c.
13008 2001-08-01  Akim Demaille  <akim@epita.fr>
13010         Version 2.52b.
13012         * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
13014 2001-08-01  Akim Demaille  <akim@epita.fr>
13016         Version 2.52a.
13018 2001-08-01  Akim Demaille  <akim@epita.fr>
13020         * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
13021         `die'.
13022         (&END): New.
13023         * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
13024         `END', as `Autom4te::General::END' will be triggered.
13025         * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
13026         * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
13027         system to run `mv', `rm', and `cmp'.
13029 2001-08-01  Akim Demaille  <akim@epita.fr>
13031         * lib/Autom4te/General.pm (&unique): New.
13032         * bin/autoscan.in (&output): Use it to issue trace requests once.
13034 2001-08-01  Akim Demaille  <akim@epita.fr>
13036         * lib/Autom4te/General.pm: New.
13037         * bin/autom4te.in (Autom4te::General): Use it.
13038         ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
13039         (&find_configure_ac, &find_slave): Remove.
13040         * bin/autoscan.in: Likewise.
13041         * bin/autoupdate.in: Likewise.
13043 2001-08-01  Akim Demaille  <akim@epita.fr>
13045         * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
13046         * autoheader.in, autoreconf.in, autoupdate.in: Move to...
13047         * bin: here, new directory.
13048         * lib/Autoconf: Rename as...
13049         * lib/Autom4te: this, to please case insensitive junkie OSes.
13051 2001-08-01  Akim Demaille  <akim@epita.fr>
13053         * autom4te.in ($m4): Handle the --nesting-limit.
13054         * autoconf.in (M4): Remove.
13056 2001-08-01  Akim Demaille  <akim@epita.fr>
13058         * autoconf.in ($AWK): Remove, no longer used.
13059         * test/tools.at: Use AT_CHECK_AUTOCONF.
13060         (AWK portability): Remove, for autoconf no longer uses AWK.
13061         (Syntax of the Perl scripts): New.
13062         * configure.ac: autoconf no longer needs an AWK with a good
13063         regexp engine.
13064         Use a static test on AC_PACKAGE_VERSION.
13065         * autom4te.in (&up_to_date_p): Output depends on the arguments.
13066         * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
13067         * tests/atconfig.in (PERL): New.
13069 2001-08-01  Akim Demaille  <akim@epita.fr>
13071         * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
13072         (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
13073         (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
13074         (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
13075         (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
13076         (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
13077         (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
13078         (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
13079         (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
13080         (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
13081         (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
13082         (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
13083         (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
13084         * lib/autoconf/c.m4: here, new file.
13086         * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
13087         (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
13088         (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
13089         (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
13090         (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
13091         (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
13092         (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
13093         (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
13094         (AC_F77_FUNC): Move to...
13095         * lib/autoconf/fortran.m4: here, new file.
13097 2001-08-01  Akim Demaille  <akim@epita.fr>
13099         * acfunctions.m4: Rename as...
13100         * lib/autoconf/functions.m4: this.
13101         * acgeneral.m4: Rename as...
13102         * lib/autoconf/general.m4: this.
13103         * acheaders.m4: Rename as...
13104         * lib/autoconf/headers.m4: this.
13105         * aclang.m4: Rename as...
13106         * lib/autoconf/lang.m4: this.
13107         * acoldnames.m4: Rename as...
13108         * lib/autoconf/oldnames.m4: this.
13109         * acspecific.m4: Rename as...
13110         * lib/autoconf/specific.m4: this.
13111         * actypes.m4: Rename as...
13112         * lib/autoconf/types.m4: this.
13113         * autoconf.m4: Rename as...
13114         * lib/autoconf/autoconf.m4: this.
13116         * m4sugar.m4: Rename as...
13117         * lib/m4sugar/m4sugar.m4: this.
13118         * m4sh.m4: Rename as...
13119         * lib/m4sugar/m4sh.m4: this.
13121         * tests/atgeneral.m4: Rename as...
13122         * lib/autotest/general.m4: this.
13124         * acfunctions: Rename as...
13125         * lib/autoscan/functions: this.
13126         * acheaders: Rename as...
13127         * lib/autoscan/headers: this.
13128         * acidentifiers: Rename as...
13129         * lib/autoscan/identifiers: this.
13130         * aclibraries: Rename as...
13131         * lib/autoscan/libraries: this.
13132         * acmakevars: Rename as...
13133         * lib/autoscan/makevars: this.
13134         * acprograms: Rename as...
13135         * lib/autoscan/programs: this.
13137 2001-08-01  Akim Demaille  <akim@epita.fr>
13139         * doc/autoconf.texi: Moving/deleting open files is not portable.
13140         Portability issues for `.' (source), and more information about sed.
13142 2001-07-25  Steven G. Johnson  <stevenj@alum.mit.edu>
13144         * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
13145         which has a special meaning and is not a reference to libibmil.a.
13146         Reported by Matteo Frigo.
13148 2001-07-25  Pavel Roskin  <proski@gnu.org>
13150         * autom4te.in (mktmpdir): Strip trailing newline from mktemp
13151         output.
13153 2001-07-25  Akim Demaille  <akim@epita.fr>
13155         * autoconf.in: Try to define the variables before using them.
13156         * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
13157         instead of `$perllibdir'.
13158         * tests/atconfig.in ($autom4te_perllibdir): Export it.
13160 2001-07-25  Akim Demaille  <akim@epita.fr>
13162         * autoconf.in (ac_LF_and_DOT): Remove, unused.
13164 2001-07-24  Akim Demaille  <akim@epita.fr>
13166         Let autoconf use autom4te for traces.
13168         * autoconf.in ($task, task trace): Remove, merely pass --trace to
13169         autom4te.
13170         * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
13171         (Because I found no way for autom4te to accept `-').
13172         * autom4te.in (&Request::request): Beware of M4 builtins.
13173         (END): Don't try to remove the content of an empty dir.
13174         (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
13175         (&handle_output): Set a default value to `$forbidden'.
13176         * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
13177         ($autoconf): Pass --debug and --verbose.
13178         * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
13179         cache.
13181 2001-07-24  Akim Demaille  <akim@epita.fr>
13183         Let autoconf use autom4te to create configure.
13185         * autoconf.in ($automate): New var.
13186         (task script): Use autom4te.
13187         * autom4te.in (File::Spec): Use it.
13188         (&find_file): New.
13189         (&parse_args): --warning is -W, not -w.
13190         Find the top level files.
13191         (&handle_m4): Pass the warnings flags.
13192         Don't report verbosely m4's failures, unless requested.
13193         (&handle_output): Don't complain for forbidden tokens in comments.
13194         Be sure to report all the forbidden tokens within a single line.
13195         (&trace_format_to_m4): Preserve `$_'.
13196         (&handle_traces): Sort the output macros.
13197         (&up_to_date_p): Find the files before trying to get its time stamp.
13199 2001-07-24  Akim Demaille  <akim@epita.fr>
13201         * Makefile.am: Ship, build and install Autom4te.
13202         (SUBDIRS): Add lib.
13203         * lib/Autoconf/Struct.pm: New, from Automake 1.5.
13204         * configure.in: Require Perl.
13205         * man/autom4te.in: New.
13207 2001-07-19  Paul Eggert  <eggert@twinsun.com>
13209         * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
13210         example, rather than (exit 1); exit (which isn't portable).
13212 2001-07-18  Akim Demaille  <akim@epita.fr>
13214         Version 2.52.
13216 2001-07-18  Akim Demaille  <akim@epita.fr>
13218         The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
13219         was run, while they are needed also when it is expanded.
13220         Reported by Nicolas Joly.
13222         * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
13223         (AC_LANG_PROGRAM(C)): Use it instead of depending upon
13224         AC_F77_DUMMY_MAIN being expanded.
13226 2001-07-18  Akim Demaille  <akim@epita.fr>
13228         * configure.in: Bump to 2.51a.
13230 2001-07-17  Akim Demaille  <akim@epita.fr>
13232         Version 2.51.
13234 2001-07-17  Akim Demaille  <akim@epita.fr>
13236         * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
13237         Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
13239 2001-07-17  Akim Demaille  <akim@epita.fr>
13241         The runtime test for AC_FUNC_GETPGRP fails when prototypes are
13242         used.  Well, then use the prototypes when you can, and runtime as
13243         a last resort.
13244         Reported by Artur Frysiak
13246         * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
13247         (AC_FUNC_GETPGRP): Use it.
13248         First try to compile with 0-ary or 1-ary calls.
13250 2001-07-17  Akim Demaille  <akim@epita.fr>
13252         * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
13253         replacement type.
13254         From Paul Eggert.
13256 2001-07-17  Akim Demaille  <akim@epita.fr>
13258         * Makefile.maint: Sync. with cppi 1.10.
13260 2001-07-17  Akim Demaille  <akim@epita.fr>
13262         * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
13263         AC_F77_DUMMY_MAIN has been run.
13264         From Pavel Roskin and Steven G. Johnson.
13266 2001-07-17  Akim Demaille  <akim@epita.fr>
13268         * configure.in: Rename as...
13269         * configure.ac: this.
13271 2001-07-17  Akim Demaille  <akim@epita.fr>
13273         * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
13274         rules.
13275         From Marc Espie.
13276         * Makefile.maint (release-archive-dir): Rename as...
13277         (release_archive_dir): this, so that it can be specialized in
13278         Makefile.
13280 2001-07-14  Akim Demaille  <akim@epita.fr>
13282         * configure.in: Bump to 2.50d.
13284 2001-07-14  Akim Demaille  <akim@epita.fr>
13286         Version 2.50c.
13287         * Makefile.maint (alpha): Typo.
13289 2001-07-14  Akim Demaille  <akim@epita.fr>
13291         * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
13293 2001-07-14  Akim Demaille  <akim@epita.fr>
13295         * config/config.guess, config/config.sub, config/texinfo.tex
13296         * doc/standards.texi, doc/make-stds.texi: Update.
13298 2001-07-14  Akim Demaille  <akim@epita.fr>
13300         * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
13302 2001-07-14  Akim Demaille  <akim@epita.fr>
13304         * Makefile.maint (maintainer-check): Rename as...
13305         (maintainer-distcheck): this.
13306         (changelog-check, static-check): New.
13307         Use them.
13309 2001-07-14  Kevin Ryde  <user42@zip.com.au>
13311         * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
13312         for CXX is g++, not gcc.
13314 2001-07-14  Akim Demaille  <akim@epita.fr>
13316         * doc/autoconf.texi (Files): New subsection.
13318 2001-07-14  Akim Demaille  <akim@epita.fr>
13320         * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
13321         of...
13322         (Generic Compiler Characteristics): this.
13323         (C++ Compiler): New subsection.
13325 2001-07-14  Akim Demaille  <akim@epita.fr>
13327         * autoscan.in: Use IO::File.
13328         Adjust all the routines to use it.
13329         ($log): New file (autoscan.log).
13330         (output): Dump detailed logs into $log, and a shortened version to
13331         stderr.
13332         (&scan_makefile): Refine the regexp catching tokens in the code.
13333         * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
13334         and the `configure.ac' checking feature.
13336 2001-07-12  Akim Demaille  <akim@epita.fr>
13338         For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
13339         Reported by Michael Elizabeth Chastain.
13341         * autoconf.in: Refuse such AWK.
13342         * configure.in: Likewise.
13343         * Makefile.am (acversion.m4): Do not use move-if-change this file
13344         has dependencies.
13345         * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
13347 2001-07-10  Jens Petersen  <petersen@redhat.com>
13349         * autoscan.in (&scan_makefile): Improve programs regexp to parse
13350         things like "g++", "file.c" and "some-conf" as tokens.
13351         (&scan_file): Match C++ files extensions.
13352         If the filename extension is C++ then ask for c++.
13354 2001-07-05  Steven G. Johnson  <stevenj@alum.mit.edu>
13356         * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
13357         AC_TRY_LINK_FUNC, to check whether defining a dummy
13358         main-like routine is needed for linking with F77 libs.
13360 2001-07-05  Pavel Roskin  <proski@gnu.org>
13362         * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
13363         after using break.
13364         (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
13365         linking.
13367 2001-07-05  Akim Demaille  <akim@epita.fr>
13369         * Makefile.am (move_if_change): New.  Use it instead of `mv'.
13370         (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
13371         Makes' lives.
13372         Reported by Nicolas Joly.
13374 2001-07-04  Akim Demaille  <akim@epita.fr>
13376         * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
13377         up.
13378         * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
13379         warnings from compilers.
13380         * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
13381         for all the compilers, not only GNU.  Hence move from here...
13382         (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
13384 2001-07-04  Akim Demaille  <akim@epita.fr>
13386         * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
13387         (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
13388         AC_COMPILE_IFELSE.
13390 2001-07-04  Akim Demaille  <akim@epita.fr>
13392         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
13393         the ``strings.h'' change claimed below.
13395 2001-07-04  Akim Demaille  <akim@epita.fr>
13397         * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
13399 2001-07-04  Akim Demaille  <akim@epita.fr>
13401         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
13402         strings.h if usable with string.h.
13403         Suggested by Paul Eggert.
13405 2001-07-04  Akim Demaille  <akim@epita.fr>
13407         * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
13408         From Jens Petersen.
13410 2001-07-03  Akim Demaille  <akim@epita.fr>
13412         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
13413         etc. in the log.
13415 2001-07-03  Akim Demaille  <akim@epita.fr>
13417         * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
13418         compiler, not the preprocessor.
13419         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
13420         dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
13421         the right thing.
13422         * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
13423         earlier if there are.
13425 2001-07-03  Akim Demaille  <akim@epita.fr>
13427         * autoscan.in ($initfile): Remove.
13428         (&find_file): Rename as...
13429         (&scan_file): this.
13430         Immediately scan the current file, instead of gathering them, and
13431         later having them handled by &scan_files.
13432         (&scan_files): Merely invoke Find::File.
13433         Adjust.
13435 2001-07-02  Akim Demaille  <akim@epita.fr>
13437         * autoscan.in: Formatting changes, matching the invocation order.
13438         (File::Find): Use it instead of Perl 4's `find.pl'.
13439         (&wanted): Rename as...
13440         (&find_file): this.
13442 2001-07-01  Pavel Roskin  <proski@gnu.org>
13444         * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
13445         break in the argument to AC_TRY_LINK_FUNC.
13446         (AC_F77_MAIN): Remove conftest* after using break in the
13447         argument to AC_TRY_LINK.
13449 2001-07-01  Steven G. Johnson  <stevenj@alum.mit.edu>
13451         Add alternate 'main' routine detection for linking C/C++ with Fortran,
13452         fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
13454         * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
13455         dummy alternate main is required even if the user provides her own
13456         'main'.
13457         (AC_F77_MAIN): New macro to detect whether it is possible to
13458         provide an alternate 'main' function name, using the 'main' from
13459         the Fortran libraries.
13460         (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
13461         cross-language link tests can be performed successfully.
13462         (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN.  Also put $FLIBS
13463         after $LIBS, for consistency; this should be the general rule since
13464         the user may want to link to Fortran libraries that require $FLIBS.
13465         * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
13467 2001-06-29  Pavel Roskin  <proski@gnu.org>
13469         * atgeneral.m4 (AT_CHECK): Add a newline to the end of
13470         at-stdout and at-stderr instead of removing the newline
13471         from the echo output, which is not guaranteed to work.
13473 2001-06-28  Jens Petersen  <petersen@redhat.com>
13475         * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
13476         confdefs.h when non-zero.
13478 2001-06-28  Akim Demaille  <akim@epita.fr>
13480         * configure.in: Bump to 2.50c.
13482 2001-06-26  Akim Demaille  <akim@epita.fr>
13484         Version 2.50b.
13486 2001-06-26  Akim Demaille  <akim@epita.fr>
13488         Version 2.50a.
13490 2001-06-25  Pavel Roskin  <proski@gnu.org>
13492         * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
13493         argument, AUTOCONF-FLAGS.
13494         * tests/mktests.sh (update_exclude_list): Add
13495         AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
13496         * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
13497         AC_FUNC_WAIT3 with "-W no-obsolete".
13499 2001-06-25  Akim Demaille  <akim@epita.fr>
13501         * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
13503 2001-06-25  Akim Demaille  <akim@epita.fr>
13505         * autoscan.in (%macro): Now maps from word to list of macros.
13506         (&init_tables): Die when a word which is already handled by
13507         explicit macros is mapped to the default macro.
13508         (&print_unique): Remove, inlined in...
13509         (&output_kind): here.
13510         (File::Basename): Use it.
13511         (&output): Sort the CONFIG_FILES.
13512         * acheaders: Normalize.
13513         * acfunctions: Likewise.
13515 2001-06-25  Akim Demaille  <akim@epita.fr>
13517         * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
13518         characteristics in the logs.
13519         Suggested by Mo DeJong.
13521 2001-06-24  Akim Demaille  <akim@epita.fr>
13523         * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
13524         (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
13525         * doc/autoconf.texi (Autoconf 2.13): New section.
13527 2001-06-24  Akim Demaille  <akim@epita.fr>
13529         * autoconf.in (Task traces): Separate the error messages from the
13530         traces to improve robustness.
13532 2001-06-23  Akim Demaille  <akim@epita.fr>
13534         * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
13535         three as failures are unlikely, and speed matters.
13537 2001-06-23  Akim Demaille  <akim@epita.fr>
13539         * doc/autoconf.texi (Redefined M4 Macros): New.
13541 2001-06-23  Akim Demaille  <akim@epita.fr>
13543         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
13544         inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
13545         5.3.
13547 2001-06-23  Paolo Bonzini  <bonzini@gnu.org>
13549         * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
13550         config.status targets to after the evaluation of the INIT-CMDS.
13551         Double quote config.status targets (used to be single quoted).
13553 2001-06-23  Akim Demaille  <akim@epita.fr>
13555         * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
13556         Check the content of the created file.
13557         Check the ./config.status command line invocation.
13559 2001-06-23  Akim Demaille  <akim@epita.fr>
13561         * tests/foreign.at (Libtool): Reject prehistoric versions.
13563 2001-06-23  Akim Demaille  <akim@epita.fr>
13565         * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
13566         preexisting files matching a.*.
13568 2001-06-23  Akim Demaille  <akim@epita.fr>
13570         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
13571         stderr.
13572         * doc/autoconf.texi (AC_ARG_VAR): Update.
13574 2001-06-21  Akim Demaille  <akim@epita.fr>
13576         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
13577         precious variables have changed.
13578         * tests/torture.at (AC_ARG_VAR): Adjust.
13580 2001-06-21  Akim Demaille  <akim@epita.fr>
13582         ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
13583         but some sed choke on multiple `;', and other tools (e.g.,
13584         Automake), include the separator themselves.
13586         * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
13588 2001-06-19  Tim Van Holder  <tim.van.holder@pandora.be>
13590         * doc/autoconf.texi (Functions Portability): Rename as...
13591         (Function Portability): this.
13592         (Function Portability): Document potential problems with unlink().
13594 2001-06-19  Paul Eggert  <eggert@twinsun.com>
13596         * NEWS, doc/autoconf.texi: Document quadrigraphs.
13598 2001-06-18  Akim Demaille  <akim@epita.fr>
13600         * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
13602 2001-06-18  Ruediger Kuhlmann  <info@ruediger-kuhlmann.de>
13604         * acfunctions.m4: (AC_FUNC_VFORK) rename as...
13605         (_AC_FUNC_VFORK): this.
13606         Remove AC_DEFINEs and don't guess cross-compilation values.
13607         (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
13608         (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
13609         define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
13610         vfork doesn't work.
13611         Guess values if cross-compiling, but warn.
13612         * acfunctions: Add AC_FUNC_FORK.
13613         * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
13614         and vfork appropriately.
13616 2001-06-18  Akim Demaille  <akim@epita.fr>
13618         * doc/autoconf.texi (Functions Portability): New section.
13620 2001-06-18  Akim Demaille  <akim@epita.fr>
13622         * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
13623         in $M4.
13624         Suggested by Andreas Schwab.
13626 2001-06-18  Akim Demaille  <akim@epita.fr>
13628         * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
13629         (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
13630         (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
13631         (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
13632         Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
13633         and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
13634         (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
13635         the converse).
13637 2001-06-18  Akim Demaille  <akim@epita.fr>
13639         * doc/autoconf.texi (ms): New index.
13640         (Macro Index): Rename as...
13641         (Autoconf Macro Index): this.
13642         (M4 Macro Index): New appendix.
13643         (Programming in M4): New chapter.
13644         Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
13645         (Quoting): Rename as...
13646         (M$ Quotation): this.
13647         Be part of `Programming in M4).
13649 2001-06-18  Nicolas Joly  <njoly@pasteur.fr>
13651         * tests/torture.at (AC_ARG_VAR): Set variables and export them
13652         in separate statements for compatibility with Tru64 v5.1.
13654 2001-06-17  Akim Demaille  <akim@epita.fr>
13656         * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
13657         current values of the precious variables, not the previously
13658         cached values.
13659         Pass precious variables which are set to config.status.
13660         * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
13661         * tests/torture.at (AC_ARG_VAR): New.
13663 2001-06-15  Paul Eggert  <eggert@twinsun.com>
13665         * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
13666         AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
13667         and explain why and how to replace them.
13668         * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
13669         * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
13671 2001-06-15  Akim Demaille  <akim@epita.fr>
13673         `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
13674         Reported by Bruno Haible.
13676         * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
13677          (_AC_ARG_VAR_PRECIOUS): to here.
13679 2001-06-15  Pavel Roskin  <proski@gnu.org>
13681         * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
13682         an unused pointer use cast to this type and `if' statement to
13683         avoid warnings from the compiler.
13684         (AC_HEADER_TIME): Likewise.
13685         * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
13686         in `if' statement to avoid warnings from the compiler. Declare
13687         ac_aggr static to avoid the need to initialize it.
13689 2001-06-14  Akim Demaille  <akim@epita.fr>
13691         * doc/autoconf.texi (Portable Shell): Move to follow `Writing
13692         Macros'.
13694 2001-06-13  Akim Demaille  <akim@epita.fr>
13696         * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
13697         Suggested by Alexander Mai.
13699 2001-06-13  Akim Demaille  <akim@epita.fr>
13701         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
13702         sys/types.h and sys/stat.h, and check for them.
13704 2001-06-13  Akim Demaille  <akim@epita.fr>
13706         * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
13707         INCLUDES.
13709 2001-06-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
13711         * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
13712         succeeds and only try adding libdnet upon a failure.
13714 2001-06-12  Akim Demaille  <akim@epita.fr>
13716         * autoscan.in (&output_kind): Output the comment only if it exists.
13717         (%kind_comment): Add entry for `programs'.
13718         (&output_programs): Use &output_kind.
13719         (&output_functions, &output_identifiers, &output_headers)
13720         (&output_programs): Inline, and remove.
13722 2001-06-12  Akim Demaille  <akim@epita.fr>
13724         * autoscan.in (%kind_comment): New.
13725         (output_kind): New.
13726         (output_functions, output_identifiers, output_headers): Use it.
13728 2001-06-12  Akim Demaille  <akim@epita.fr>
13730         * autoscan.in (&print_unique): Take `$kind' and `$word' as
13731         arguments, to factor indirections into `%macro' and `%used'.
13732         (%generic_macro): Fix a typo.
13734 2001-06-12  Akim Demaille  <akim@epita.fr>
13736         * aclibraries: New.
13737         * autoscan.in (@kinds): Add `libraries'.
13738         Use `@kinds' instead of hard coded lists.
13739         (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
13740         Remove, replaced by...
13741         (%used): this.
13743 2001-06-12  Akim Demaille  <akim@epita.fr>
13745         * autoscan.in (%functions_macros %headers_macros)
13746         (%identifiers_macros %programs_macros %makevars_macros): Remove,
13747         replaced by...
13748         (%macro): New.
13750 2001-06-11  Raja R Harinath  <harinath@cs.umn.edu>
13752         * aclang.m4 (AC_NO_EXECUTABLES): Override
13753         _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
13755 2001-06-11  Akim Demaille  <akim@epita.fr>
13757         * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
13758         trailing new line.
13759         Reported by Andreas Schwab.
13761 2001-06-11  Akim Demaille  <akim@epita.fr>
13763         * Makefile.am, Makefile.maint: Typos.
13765 2001-06-09  Akim Demaille  <akim@epita.fr>
13767         * doc/autoconf.texi (Here-Documents): New section, gathering
13768         documentation about here-documents.
13769         Use `href', not `uref', and other changes.
13771 2001-06-09  Akim Demaille  <akim@epita.fr>
13773         * doc/autoconf.texi (Portable Shell Programming): Promoted as a
13774         chapter.
13776 2001-06-09  Akim Demaille  <akim@epita.fr>
13778         * doc/autoconf.texi (Limitations of Builtins): Complete the
13779         description of the here-docs penalties with Alexandre Oliva's
13780         explanations.
13782 2001-06-01  Paul Eggert  <eggert@twinsun.com>
13784         * doc/autoconf.texi: Talk about here documents and speedups.
13785         Do not use "echo" on arbitrary strings.
13786         Spell "here-documents" consistently with the standard.
13788 2001-06-09  Akim Demaille  <akim@epita.fr>
13790         * doc/autoconf.texi (Concept Index): Introduce it.
13791         Regenerate the menus.
13793 2001-06-09  Akim Demaille  <akim@epita.fr>
13795         * Makefile.maint, GNUmakefile: New, from Jim Meyering.
13796         * config/prev-version.txt: New.
13797         * config/move-if-change: New, for GNU libc.
13799 2001-06-06  Pavel Roskin  <proski@gnu.org>
13801         * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
13803 2001-06-06  Akim Demaille  <akim@epita.fr>
13805         * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
13806         properly when $1 is not a literal.
13807         Fixes PR Autoconf/187, reported by Bram Moolenaar.
13809 2001-06-06  Akim Demaille  <akim@epita.fr>
13811         Invoking AC_COPYRIGHT before AC_INIT fails.
13813         * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
13814         * acgeneral.m4 (_m4_divert(VERSION_FSF))
13815         (_m4_divert(VERSION_USER)): New.
13816         (AC_COPYRIGHT): $2 is the diversion to use.
13817         (_AC_INIT_COPYRIGHT): Use the FSF diversion.
13818         (AC_INIT): Remove dead comments as now it's commutative.
13820 2001-06-06  Akim Demaille  <akim@epita.fr>
13822         * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
13823         PR autoconf/187.
13825 2001-06-05  Akim Demaille  <akim@epita.fr>
13827         * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
13828         can be empty.
13829         `*dir' variables cannot be NONE.
13830         Reported by Mark Kettenis.
13832 2001-06-05  Paul Eggert  <eggert@twinsun.com>
13834         * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
13836 2001-06-04  Akim Demaille  <akim@epita.fr>
13838         * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
13839         (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
13840         (AC_TR_SH): Move as...
13841         * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
13842         (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
13843         (AS_TR_SH): these.
13844         (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
13845         (_AS_TR_SH_PREPARE): New.
13846         (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
13847         * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
13849 2001-06-02  Akim Demaille  <akim@epita.fr>
13851         * Makefile.am (.m4.m4f): Pass the options first.
13852         Fixes PR autoconf/182.
13854 2001-06-02  Nathan Sidwell  <nathan@codesourcery.com>
13856         GNU getopt, when POSIXLY_CORRECT does not permute options and
13857         arguments.  So pass the options first.
13858         Fixes PR autoconf/184.
13860         * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
13861         (run_m4): Remove files.
13862         (run_m4f): Remove.
13863         Update remainder of script to use them.
13864         (for warning in): Do not use a literal comma as it will not be
13865         split by IFS.
13867 2001-06-02  Christian Marquardt  <marq@gfz-potsdam.de>
13869         * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
13870         Fortran compilers to check.
13871         (_AC_PROG_F77_V): Add '-###' as a possible option to print
13872         information on library and object files.
13873         (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
13874         to check.
13876 2001-06-02  Akim Demaille  <akim@epita.fr>
13878         * autom4te.in (Request::@request): Declare with `vars', not `my',
13879         as it prevents updates via `do FILENAME'.
13881 2001-06-02  Akim Demaille  <akim@epita.fr>
13883         * configure.in (standards_texi): Remove, dead code.
13885 2001-06-02  Akim Demaille  <akim@epita.fr>
13887         * autom4te.in: New.
13889 2001-06-02  Pavel Roskin  <proski@gnu.org>
13891         * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
13892         for signals other than 0 - exit with code 1.
13893         * m4sh.m4 (AS_TMPDIR): Likewise.
13894         * autoconf.in: Likewise. Also don't rely on exit == exit $?.
13895         * autoheader.in: Likewise.
13896         * autoreconf.in: Likewise.
13897         * tests/torture.at (Signal handling): New test for the above.
13899 2001-06-01  Akim Demaille  <akim@epita.fr>
13901         * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
13902         message.
13904 2001-05-31  Akim Demaille  <akim@epita.fr>
13906         * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
13907         Add copyright and comments.
13908         * acheaders: Add stdint.h.
13909         Suggested by Paul Eggert.
13911 2001-05-31  Akim Demaille  <akim@epita.fr>
13913         * atgeneral.m4 (AT_INIT): Use $SHELL.
13914         * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
13916 2001-05-31  Akim Demaille  <akim@epita.fr>
13918         * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
13919         stdint.h.
13920         From Paul Eggert and Lars Hecking.
13922 2001-05-31  Akim Demaille  <akim@epita.fr>
13924         * tests/base.at: Adjust line numbers in error messages.
13926 2001-05-31  Akim Demaille  <akim@epita.fr>
13928         * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
13929         to emit the bangshe line.
13930         Reported by David Carter.
13932 2001-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
13934         * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
13935         Fortran (95) compilers to check.
13937 2001-05-29  Alexandre Duret-Lutz  <duret_g@epita.fr>
13939         * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
13940         Macro Archive URL.
13942 2001-05-23  Pavel Roskin  <proski@gnu.org>
13944         * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
13945         _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
13946         (AC_PROG_CXXCPP): Likewise.
13948 2001-05-22  Akim Demaille  <akim@epita.fr>
13950         * config: New directory.
13951         * configure.in: AC_CONFIG_AUX_DIR it.
13952         * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
13954 2001-05-22  Akim Demaille  <akim@epita.fr>
13956         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
13957         * autoupdate.in: Specify the Emacs mode.
13958         * acversion.m4.in: Rename as...
13959         * acversion.m4: this.
13960         * tests/Makefile.am (CLEANFILES): More garbage.
13962 2001-05-22  Akim Demaille  <akim@epita.fr>
13964         * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
13965         Rename as...
13966         * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
13967         these.
13969 2001-05-21  Akim Demaille  <akim@epita.fr>
13971         * configure.in: Bump to 2.50a.
13974         -----
13976         Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
13977         Software Foundation, Inc.
13979         Copying and distribution of this file, with or without
13980         modification, are permitted provided the copyright notice and this
13981         notice are preserved.