1 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 Use awk for config header generation.
4 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
5 (_AC_OUTPUT_HEADERS_PREPARE): New macro. Rewrite of the config
6 header machinery for use with awk and placement outside the main
7 config.status instantiation loop. Retain multi-line defines
8 through backslash-newline combinations, do not split the script
10 (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
11 (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
13 (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
16 * tests/torture.at (#define header templates): Extend test by
17 several more cases: white space before and after `#', macros
18 with parameters in config.hin and as defines, multi-line macro
20 (Torturing config.status): Use a define value twice the length
21 in order to exercise the awk literal string limit.
22 (Substitute and define special characters): Also try special
23 delimiter, to exercise the special-case code.
24 Suggestion by Eric Lemings.
26 * tests/local.at (AT_COPYRIGHT): Bump copyright years.
28 2007-10-09 Eric Blake <ebb9@byu.net>
30 Improve header of bin/autoconf.
31 * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
32 * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
34 * bin/autoconf.as: Put copyright up front in generated file.
36 * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
38 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
40 * doc/install.texi (Basic Installation): Document `uninstall'.
41 * INSTALL: Regenerate.
42 Suggestion by Roberto Bagnara.
44 2007-10-08 Paul Eggert <eggert@cs.ucla.edu>
46 * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
48 Adjust doc. to match latest gnulib.
49 * build-aux/texinfo.tex: Sync from gnulib.
50 * doc/standards.texi: Likewise.
51 * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
52 Documentation License" and remove the subsection. This simplifies
53 the manual a bit and is more like what other GNU projects do
56 2007-10-08 Eric Blake <ebb9@byu.net>
59 * configure: Regenerate.
61 Fix regression in m4_text_wrap from 2007-10-05.
62 * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
64 (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
66 * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
67 * tests/autotest.at (Long test title, Longer test title): Test
68 this fix, beyond what AS_HELP_STRING already tests.
70 Avoid m4 warnings on bad m4_format usage.
71 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
73 * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
74 enough arguments are provided.
76 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
78 * doc/autoconf.texi (Shell portability): Document shell function
81 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
83 * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
84 at_func_check_skip, at_func_check_status, at_func_filter_trace,
85 at_func_log_failure shell functions. Use test -s to avoid
86 useless diff invocations.
87 (AT_SETUP): Define AT_captured_files to empty.
88 (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
89 (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir. Use all
92 2007-10-05 Paul Eggert <eggert@cs.ucla.edu>
94 Don't assume "." is writeable, for commands like "autoconf --version".
95 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
96 different heuristic instead, one that doesn't rely on creating
99 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
102 2007-10-05 Jim Meyering <meyering@redhat.com>
104 Avoid makeinfo warnings.
105 * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
106 (Looping constructs): Add ` ' after @defmac'd name, m4_do.
108 2007-10-05 Eric Blake <ebb9@byu.net>
110 Resolve Python issue 1676135 regarding configure directory args.
111 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
112 slashes from directory arguments.
113 * tests/base.at (configure directories): New test.
114 * doc/autoconf.texi (Installation Directory Variables): Document
118 Reported by Björn Lindqvist.
120 Provide better short-circuiting operation.
121 * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
122 (m4_text_wrap): Use it. Also avoid useless m4_for.
123 * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
125 (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
126 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
128 * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
129 documentation. Sort m4_mkstemp, m4_undefine. Move m4_ifndef...
130 (Conditional constructs): ...here, to new section. Also document
131 m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
132 m4_bpatsubsts, and m4_default.
133 (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
136 2007-10-04 Eric Blake <ebb9@byu.net>
138 Fix recent testsuite failures.
139 * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
140 that must not be re-expanded after AS_ESCAPE.
141 * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
142 checking if it is an identifier.
145 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
146 leading whitespace, as it caused space-tab in testsuite.
147 (AT_INIT): Avoid trailing newlines in testsuite.
149 One more round of m4_foreach_w speedups.
150 * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
152 (_m4_split): Avoid useless expansions inside definition. Move
153 argument defaulting...
154 (m4_split): ...here. Change alternate quote to something less
155 likely to appear in $1. Also, special case space as regexp...
156 (m4_foreach_w): ...to avoid regexp on single-term list.
157 (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
158 useless expansions inside definition.
159 * tests/m4sugar.at (m4@&t@_split): Add tests.
161 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
163 * general.m4 (AT_INIT): Add at_check_newline function.
164 (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
165 (_AT_CHECK): Don't use at_trace_this.
167 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
170 * lib/autotest/general.m4 (AT_LINE): Fix regex.
172 2007-10-04 Eric Blake <ebb9@byu.net>
174 Speed up building testsuites.
175 * lib/autotest/general.m4 (AT_LINE): Only use regex when file
176 changed since last time. Use simpler regex.
178 2007-10-03 Eric Blake <ebb9@byu.net>
180 Optimize checking for identifiers.
181 * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
182 macros, more efficient than regex on m4_re_word.
183 * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
184 Rewrite in terms of new macro. As a side-effect, AC_DEFINE can
186 * configure: Regenerate.
188 Remove some XFAILs, and make AT_SETUP output line up.
189 * lib/autotest/general.m4 (AT_SETUP): Only expand description
190 once; thereafter, use its expansion, properly quoted.
191 * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
192 expansion with arguments, and check for aligned output.
193 (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
194 Add a test for macros with parameters.
195 * NEWS: Document the semantics change.
196 * tests/base.at: Fix test titles containing commas.
197 * tests/compile.at: Likewise.
198 * tests/tools.at: Likewise.
199 * tests/torture.at: Likewise.
201 Another round of regex avoidance.
202 * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
203 (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
204 (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
205 (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
206 character ranges useful in m4_translit.
207 (m4_toupper, m4_tolower): Optimize the constant portion of
209 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
210 creates $, and reject [] thanks to AS_TR_SH rewrite.
211 (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
212 (AS_ESCAPE): Factor...
213 (_AS_ESCAPE): ...into new macro, with second argument required.
214 Avoid regex in common case.
215 (_AS_QUOTE): Use new macro.
218 * lib/autoconf/types.m4: Avoid space-tab.
219 * lib/m4sugar/m4sh.m4: Use tab consistently.
221 2007-10-03 Paul Eggert <eggert@cs.ucla.edu>
223 * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
224 (m4_shiftn): Remove no-longer-needed optimization. Perhaps we
225 should remove m4_shiftn entirely?
226 (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
227 Prefer m4_shift2 and m4_shift3 to m4_shiftn.
228 * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
229 * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
230 * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
232 2007-10-03 Eric Blake <ebb9@byu.net>
235 * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
237 2007-10-02 Eric Blake <ebb9@byu.net>
239 Optimize appending text.
240 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
244 * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
245 lot of hot spots; optimize it for 2 and 3 shifts.
247 Optimize AC_PREREQ and other m4sugar numerics.
248 * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
249 (m4_cmp): Compare arbitrary expressions, without overflow.
250 (m4_version_unletter): Also recognize capital letters.
251 (m4_version_compare): Avoid regex when splitting version number
254 2007-10-01 Eric Blake <ebb9@byu.net>
256 Once again, reject IRIX m4.
257 * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
258 implementations that ignore --trace.
259 * configure: Regenerate.
260 Reported by Ralf Wildenhues.
262 Fix regression in AC_DEFINE([macro(with_arg)]).
263 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
264 quotes with a careless m4_substr.
266 2007-09-30 Eric Blake <ebb9@byu.net>
268 Allow nameless iteration.
269 * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
271 * tests/m4sugar.at (myvar): Test this.
273 2007-09-29 Eric Blake <ebb9@byu.net>
275 Speed optimization: avoid m4 regex when other algorithms work.
276 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
277 (_AS_QUOTE_IFELSE): Likewise.
278 * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
279 (m4_bpatsubsts): Split...
280 (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
282 (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
283 (m4_qlen): Optimize on short strings, to avoid regex.
284 (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
285 * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
286 (AC_DEFINE_TRACE): Likewise.
288 2007-09-28 Eric Blake <ebb9@byu.net>
290 Oops - my earlier 'optimization' caused a regression.
291 * tests/local.at (AT_CHECK_M4): Fix typo.
293 2007-09-27 Eric Blake <ebb9@byu.net>
294 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
296 Catch even more common AC_CACHE_VAL mistakes.
297 * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
298 lacks '_cv_', or if AC_SUBST appears in body.
299 * tests/base.at (AC_CACHE_CHECK): Test this change.
301 2007-09-27 Stepan Kasal <kasal@ucw.cz>
302 and Eric Blake <ebb9@byu.net>
304 Autotest no longer caters to Ultrix redirection limitation.
305 * doc/autoconf.texi (Writing testsuite.at): Remove the
306 limitation that the first parameter of AT_CHECK cannot
308 (File Descriptors): Mention that Ultrix limitation is no longer a
309 show-stopper in modern code.
310 * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
311 parameter is `stderr' or `experr'. Optimize if it was `ignore'.
312 * lib/autotest/general.m4 (AT_CHECK): Update comment.
314 2007-09-27 Eric Blake <ebb9@byu.net>
316 Squelch changeword in m4sugar.
317 * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
320 Configure whitespace touchups.
321 * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
322 installation directories, and avoid TAB, in configure --help
324 * configure.ac: Avoid extra trailing newline.
325 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
326 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
327 config.status --help output.
328 * configure: Regenerate.
330 Fix underquotation in AS_HELP_STRING.
331 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
333 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
334 first-prefix argument.
335 * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
336 * NEWS: Document AS_HELP_STRING fix.
338 Autotest formatting touchups.
339 * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
341 (PATH): Simplify computation of new PATH.
343 2007-09-26 Eric Blake <ebb9@byu.net>
345 Fix testsuite breakage in last patch.
346 * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
348 * tests/torture.at (@%:@define header templates): Rename, so that
349 output lines up correctly.
351 More font-lock happiness.
352 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
355 2007-09-25 Eric Blake <ebb9@byu.net>
358 * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
359 * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
361 Improve documentation of M4 parameter expansion.
362 * doc/autoconf.texi (Quoting and Parameters): New section.
363 (Quotation and Nested Macros): Improve wording.
365 Improve C99 detection.
366 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
367 avoid deprecation warning with icc.
369 Reported by Ted Bullock.
371 2007-09-24 Jim Meyering <jim@meyering.net>
373 Whenever possible, use the vertical bar as sed delimiter.
374 * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
376 * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
377 [ac_dir_suffix]: Use "|", not "," as sed delimiter.
378 * tests/mktests.sh (as_me): Likewise.
379 * lib/freeze.mk (check-forbidden-patterns): Likewise.
380 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
381 * configure: Regenerate.
382 * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
383 * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
384 in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
385 This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
387 2007-09-22 Jim Meyering <jim@meyering.net>
390 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
391 2004-05-31 change also with a comment in the code.
393 2007-09-20 Eric Blake <ebb9@byu.net>
395 More contribution housekeeping.
397 * AUTHORS: Sort, reflect recent assignment from Helge Deller.
399 Ignore additional files, when copying cross-repository.
400 * .gitignore: Ignore CVS directories, emacs edits.
401 * .cvsignore: Ignore .git directory, emacs edits.
403 2007-09-15 Eric Blake <ebb9@byu.net>
405 Provide AC_VERSION, not m4_AUTOCONF_VERSION.
406 * doc/autoconf.texi (Text processing Macros): Remove mention of
407 m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
409 (Notices): Move AC_PREREQ...
410 (Versioning): ...to this new section, alongside the new AC_VERSION
411 alias for the undocumented m4_PACKAGE_VERSION.
412 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
413 * lib/autoconf/general.m4 (AC_VERSION): New macro.
414 * NEWS: Update to match this rename.
415 * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
417 * tests/tools.at (autoconf: AC_VERSION): New test.
418 Suggested by Paolo Bonzini and Benoit Sigoure.
420 2007-09-14 Eric Blake <ebb9@byu.net>
422 Prepare for conversion to git.
423 * doc/.cvsignore: Avoid multiple listings on one line.
424 * bin/.cvsignore: Likewise.
425 * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
426 lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
427 lib/autoscan/.gitignore, lib/autotest/.gitignore,
428 lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
429 tests/.gitignore: New files, identical to .cvsignore counterpart.
431 2007-09-13 Eric Blake <ebb9@byu.net>
434 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
436 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
437 * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
438 * configure: Regenerate.
440 Clean up 'make dist' of previous patch.
441 * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
442 (CLEANFILES): Don't clean the stamp, since we distribute the
443 generated files pre-built.
444 (MAINTAINERCLEANFILES): Clean it here instead.
445 * tests/Makefile.in: Regenerate.
447 Avoid parallel 'make check' issue.
448 * tests/Makefile.am (mktests.stamp): New witness.
449 (TESTSUITE_GENERATED_AT): Use it.
450 (CLEANFILES): Clean the witness.
451 * tests/.cvsignore (mktests.stamp): Ignore the witness.
453 Document another awk pitfall.
454 * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
455 limitation of field variables in END.
456 Reported by Gary V. Vaughan.
458 * AUTHORS: Add missing entries.
460 2007-09-12 Eric Blake <ebb9@byu.net>
462 Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
463 * doc/autoconf.texi (Text processing Macros): Document
464 m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
465 (Redefined M4 Macros): Document m4_ifndef.
466 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
467 can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
468 used it while it was undocumented.
469 * NEWS: Document this change.
470 * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
471 * lib/m4sugar/Makefile.in: Regenerate.
472 * tests/m4sugar.at (m4@&t@_version_compare): New test.
473 Reported by Bruno Haible.
475 * doc/autoconf.texi (Generic Compiler Characteristics): Add
476 missing index entries.
478 2007-09-11 Eric Blake <ebb9@byu.net>
480 Centralize all system extensions checks.
481 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
482 from AC_AIX, AC_GNU_SOURCE, AC_MINIX. Add Interix support.
483 (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
484 AC_USE_SYSTEM_EXTENSIONS.
485 (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
486 (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
487 * doc/autoconf.texi (Posix Variants): Reword this section,
488 emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
489 rather than a series of system-specific checks.
490 (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
492 * NEWS: Document this change.
494 Reported by Martin Koeppe.
496 2007-09-08 Eric Blake <ebb9@byu.net>
498 Clean up obsolete macros references.
499 * doc/autoconf.texi: Add anchors to support better
501 (Particular Structures): Move obsolete macros descriptions...
502 (External Software): Likewise.
503 (Package Options): Likewise.
504 (Obsolete Macros): ...to here. Add cross-references to
505 documentation on replacements.
506 * NEWS: Mention that these macros have been obsolete for a while
507 now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
509 Improve M4 path searching during configure.
510 * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
512 (_AC_PATH_PROG_FEATURE_CHECK): Rename...
513 (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
514 parameter, and kill side effects.
515 (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
516 (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
517 * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
519 (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
520 allow bootstrapping with autoconf 2.61.
521 * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
522 * configure: Regenerate.
523 * doc/autoconf.texi (Generic Programs): Document new macro.
524 * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
526 * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
527 * NEWS: Document the change.
529 Reported by Hans Aberg.
531 * doc/autoconf.texi (Generic Programs): Fix typo.
533 2007-09-06 Eric Blake <ebb9@byu.net>
535 * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
536 :, and make it clear that optional @var{path} defaults to $PATH.
537 (Erlang Compiler and Interpreter): Likewise.
540 * doc/autoconf.texi: Avoid lines > 80 columns when possible.
541 Reword some paragraphs to avoid overfull, underfull hbox
542 warnings. Add index entries to avoid overfull vbox warnings.
544 2007-09-05 Eric Blake <ebb9@byu.net>
546 * NEWS: Adjust wording for AC_CONFIG_LINKS.
547 Reported by Ralf Wildenhues.
549 2007-09-03 Eric Blake <ebb9@byu.net>
551 * NEWS: Document fixes that have been applied since 2.61a.
554 * THANKS: Update, and convert to UTF-8 encoding.
557 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
559 * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
560 names beginning with `-' again.
562 2007-08-22 Stepan Kasal <kasal@ucw.cz>
563 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
565 * doc/autoconf.texi (Defining Directories): Mention
566 AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
568 2007-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
570 * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
571 here, this macro is expanded by AC_INIT. Fixes 2.60 regression.
572 * tests/base.at (configure arguments): New test.
576 * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
577 arguments in comment.
578 Report by Vincent Torri <vtorri at univ minus evry dot fr>.
580 2007-08-20 Benoit Sigoure <tsuna@lrde.epita.fr>
582 * doc/autoconf.texi (File System Conventions): Index the proper
583 way of detecting absolute file names.
585 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
587 * build-aux/config.guess, build-aux/config.sub,
588 build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
589 build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
590 doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
591 * doc/autoconf.texi (GNU Free Documentation License): Adjust for
592 sectioning change in fdl.texi.
594 * bin/autoconf.as: Update --version output to match current GCS.
595 * bin/autoheader.in: Likewise.
596 * bin/autom4te.in: Likewise.
597 * bin/autoreconf.in: Likewise.
598 * bin/autoscan.in: Likewise.
599 * bin/autoupdate.in: Likewise.
600 * bin/ifnames.in: Likewise.
602 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
604 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
605 file to itself if source and build trees coincide.
606 * tests/torture.at (AC_CONFIG_LINKS and identical files): New
608 Report by Sebastian Freundt <hroptatyr@gna.org>.
610 2007-07-20 Paul Eggert <eggert@cs.ucla.edu>
612 Reword the copyright notices to match what's suggested in GPLv3.
613 In ChangeLog files, use more-permissive notice rather than GPL, as
614 per usual GNU standards these days.
616 2007-07-13 Paul Eggert <eggert@cs.ucla.edu>
618 * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
619 limitation reported by Leo Moisio in
620 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
622 2007-07-03 Paul Eggert <eggert@cs.ucla.edu>
624 * COPYING: Update to GPLv3. All uses changed.
626 2007-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
627 and Paul Eggert <eggert@cs.ucla.edu>
629 * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
632 2007-06-17 Noah Misch <noah@cs.caltech.edu>
634 * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
635 * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
636 `srcdir' as subdirectory of `builddir'.
638 2007-06-13 Noah Misch <noah@cs.caltech.edu>
640 * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
641 * tests/autotest.at (srcdir propagation): New test.
643 Reported by Mike Frysinger.
645 2007-06-13 Paul Eggert <eggert@cs.ucla.edu>
647 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
648 Problem reported by Fred Kreek in
649 <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
650 * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
651 (Macro Names, Defining Directories): Don't mention PATH as a name
652 for a fully qualified file name, as this usage violates the GNU
653 coding standards and we shouldn't recommend it.
655 * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
656 string and then assume shell builtins like "test" will work.
658 2007-06-12 Noah Misch <noah@cs.caltech.edu>
660 * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
661 not a valid shell variable name.
662 * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
663 * tests/torture.at (AC_SUBST: variable name validation): New test.
664 Reported by Andreas Schwab.
666 2007-06-04 Noah Misch <noah@cs.caltech.edu>
668 * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
669 works with both C and C++.
671 2007-06-03 Noah Misch <noah@cs.caltech.edu>,
672 Bruno Haible <bruno@clisp.org>
674 * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
677 2007-05-31 Paul Eggert <eggert@cs.ucla.edu>
679 * doc/autoconf.texi (Particular Types): Give example of use for
682 2007-05-29 Stepan Kasal <kasal@ucw.cz>
684 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
686 2007-05-28 Paul Eggert <eggert@cs.ucla.edu>
688 * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
689 define HAVE_INT8_T, and likewise for similar macros.
690 Problem reported by Patrick Welche in
691 <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
693 2007-05-25 Noah Misch <noah@cs.caltech.edu>
695 * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
697 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
699 * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
700 choice, since that's what we do with --enable-largefile etc.
701 Redo indenting and assignments to simplify things a bit, and make
702 the parens work with Emacs.
704 * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
705 in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
708 2007-05-21 Noah Misch <noah@cs.caltech.edu>
710 * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
711 * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
713 2007-05-21 Bruno Haible <bruno@clisp.org>
715 * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
716 * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
717 * doc/autoconf.texi (Generic Compiler Characteristics): Move
718 renamed AC_OPENMP documentation here, from "C compiler".
719 Mention C++ and Fortran.
721 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
723 * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
725 2007-05-21 Bruno Haible <bruno@clisp.org>
727 * NEWS: Mention AC_C_OPENMP.
728 * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
729 * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
730 Based in part on Steven G. Johnson's investigations for the AX_OPENMP
731 macro in the Autoconf macro archive.
733 2007-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
735 * bin/autom4te.in: Fix typos.
737 2007-05-16 Noah Misch <noah@cs.caltech.edu>
739 * bin/autoconf.as: Handle `-' just like other input files.
740 * bin/autom4te.in (parse_args): Pass `-' through.
741 (handle_output): Skip the forbidden token search if we read from stdin.
742 (up_to_date): Always treat stdin as out of date.
743 * tests/tools.at (autoconf: input from stdin): New test.
744 (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
746 2007-05-16 Stepan Kasal <kasal@ucw.cz>
748 * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
749 parameters for AT_CLEANUP.
750 * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
752 2007-05-14 Paul Eggert <eggert@cs.ucla.edu>
754 * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
755 * doc/autoconf.texi (C Compiler): Likewise.
757 2007-05-14 Noah Misch <noah@cs.caltech.edu>
759 * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
761 2007-05-09 Stepan Kasal <kasal@ucw.cz>
763 * doc/autoconf.texi: Direntry for "autoconf Invocation"
764 renamed to "autoconf-invocation"
766 * doc/autoconf.texi (Caching Results): The CACHE-ID variable
767 in the examples should not use the internal "ac_" prefix.
769 2007-05-05 Noah Misch <noah@cs.caltech.edu>
771 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
772 * doc/autoconf.texi ($@, case): Document Zsh limitations.
774 2007-05-03 Stepan Kasal <kasal@ucw.cz>
776 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
777 Reorganize the comments before and in the macro.
779 2007-05-02 Stepan Kasal <kasal@ucw.cz>
781 * lib/autoconf/lang.m4, lib/autoconf/c.m4,
782 lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
783 section titles and other comments; no code change.
785 2007-05-01 Kevin Ryde <user42@zip.com.au>
787 * doc/autoconf.texi (Particular Programs): Typo
788 @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
790 2007-04-30 Paul Eggert <eggert@cs.ucla.edu>
792 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
793 'configure' will fail if the shell lacks proper support for shell
794 functions. Suggested by RMS.
796 2007-04-29 Paul Eggert <eggert@cs.ucla.edu>
798 * doc/autoconf.texi (Limitations of Builtins): Correct the warning
799 about Solaris /bin/printf '%010000x' 123. Problem reported by
802 2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
804 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
805 for a.* when searching for executables, as this prevents users
806 from having files like a.c. Problem reported by Ralf Wildenhues in:
807 http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
808 This fixes a problem introduced on 2000-12-19.
810 2007-04-26 Paul Eggert <eggert@cs.ucla.edu>
812 * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
813 /bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko
816 2007-04-12 Paul Eggert <eggert@cs.ucla.edu>
818 * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
819 AC_CHECK_TYPE, AC_CHECK_TYPES.
820 * doc/autoconf.texi (Generic types): C types must be type-names
821 (the C terminology), not type-ids (the C++ term). C++ types
822 must not be anonymous.
823 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
824 for C++; this drops support for anonymous struct and union types,
825 which were problematic anyway.
826 * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
829 2007-04-12 Jim Meyering <jim@meyering.net>
831 * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
833 2007-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
835 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
836 to prefer a link source from the build tree, if it exists.
837 Report by Pallav Gupta <pallavgupta@gmail.com>.
839 2007-04-11 Paul Eggert <eggert@cs.ucla.edu>
841 * doc/autoconf.texi (Generic Types): Document the restrictions
842 on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
843 (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
844 with objects too. Document the restrictions on its use.
845 Document the restrictions on AC_CHECK_ALIGNOF's type argument.
846 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
847 For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
848 works but the latter doesn't, then it's a valid type.
849 This lets people use function types and so forth.
850 For C++ there doesn't seem to be a simple solution, so leave it alone.
851 (AC_CHECK_SIZEOF): Allow argument to be a variable.
852 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
853 AC_CHECK_TYPE; that wasn't documented or necessary.
855 2007-04-11 Stepan Kasal <kasal@ucw.cz>
857 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
858 when cross-compiling.
860 2007-04-11 Stepan Kasal <kasal@ucw.cz>
862 * doc/autoconf.texi (External Software): Fix a typo in the
865 2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
867 * doc/autoconf.texi (External Software, Package Options):
868 Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
870 2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
872 * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
873 obsolescent. Suggested by Bruno Haible.
874 * NEWS: Document this.
876 2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
878 * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
879 (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
880 default still has the problem. Problem reported by Bruce Korb.
882 2007-03-28 Stepan Kasal <kasal@ucw.cz>
883 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
885 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
886 comment in the generated config.status.
888 2007-03-27 Stepan Kasal <kasal@ucw.cz>
890 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
892 2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
894 * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
895 command and case statements to make it a bit clearer and describe
898 2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
900 * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
901 checks for unsigned long long int.
903 2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
905 * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
906 nonstandard grep R.E. escape sequences.
908 2007-03-17 Jim Meyering <jim@meyering.net>
910 * doc/autoconf.texi: Adjust grammar around use of "heuristics".
911 (Limitations of Usual Tools): Also list \< and \>, and mention that
912 HP-UX's grep, like the one from Solaris, does not support that syntax.
914 2007-03-09 Stepan Kasal <kasal@ucw.cz>
916 * doc/autoconf.texi (Specifying Names): `--host' does not
917 change the build type.
919 2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
921 * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
922 suggests AC_CONFIG_HEADERS.
923 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
924 AC_CONFIG_HEADERS. Problem reported by
927 2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
929 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
930 Problem reported by Paolo Bonzini in:
931 http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
932 * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
933 universal binaries. Problem reported by Elias Pipping.
935 2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
937 * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
938 * doc/autoconf.texi (C Compiler): Document this. There is a new
939 extra argument ACTION-IF-UNIVERSAL.
940 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
941 Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
942 Reindent for sanity's sake.
944 2007-02-24 Eric Blake <ebb9@byu.net>
946 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
948 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
949 * lib/autotest/general.m4 (AT_INIT): Likewise.
950 (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
952 2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
954 * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
955 status of rm so we know when it failed.
956 If cleaning of test dir failed before running the test, warn.
957 Output the line separator in verbose mode before the warning
958 to make clear the warning belongs to the following test.
960 2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
962 * doc/autoconf.texi (Parentheses): Mention problem with (( in
965 2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
966 and Paul Eggert <eggert@cs.ucla.edu>
968 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
969 errors introduced in last change.
971 2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
973 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
974 an actual carriage return. Use "ac_cr" to contain the actual
976 * doc/autoconf.texi (Limitations of Usual Tools): Document problem
977 with traditional Awk and begin.
978 * tests/torture.at (Limitations of Builtins): Document the problem
979 with Bash 2.03 printf.
980 (Substitute and define special characters):
981 Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
983 2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
985 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
986 input from /dev/null in awk test, so even Solaris /usr/bin/awk
987 will not wait for input with a script containing only a BEGIN
990 2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
992 * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
996 2007-02-02 Eric Blake <ebb9@byu.net>
998 * NEWS: Update copyright.
1000 * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
1002 * configure.ac: Update error message.
1003 * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
1004 Reported by Gary Vaughan and Jim Meyering, and problem analyzed
1006 http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
1008 2007-01-31 Eric Blake <ebb9@byu.net>
1010 * THANKS (people): Update.
1012 2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
1014 * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
1016 (Shell Substitutions): Note problems with @{var:=value} etc.
1017 Add a new section for problems with @{#var} etc. Problem noted
1018 by Ralf Wildenhues. See:
1019 http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
1021 2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1023 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
1024 AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
1025 trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
1026 substitution will still be done by the special code.
1027 Report by Jim Meyering.
1029 * doc/autoconf.texi (File System Conventions): Mention that
1030 $PATH_SEPARATOR is for the build system only.
1031 Report by Keith Marshall.
1033 2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1035 * doc/autoconf.texi (Setting Output Variables): Mention that
1036 all non-NUL characters are ok in substituted values.
1037 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
1038 (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
1039 carriage return for $AWK, needed for BSD awk.
1040 * tests/torture.at (Substitute and define special characters):
1041 Test all 8 bit non-NUL characters.
1042 Report against Automake by Patrick Welche.
1044 2007-01-15 Stepan Kasal <kasal@ucw.cz>
1046 * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
1048 2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1050 * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
1051 early on the reader side, drop stderr of the input to avoid
1052 `broken pipe' error output; this may happen even with shell
1053 builtin `echo' of some bash versions. Reports by Ian Macdonald
1054 <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
1056 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1058 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
1059 separate items of `ac_user_opts', to avoid long lines.
1060 (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
1062 2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1064 * doc/autoconf.texi: Fix some typos.
1066 2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
1068 Fix some wording problems noted by Paolo Bonzini in:
1069 http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
1070 * doc/autoconf.texi (Signed Overflow Examples): Give more
1071 discussion about the allow_superuser_privileges example,
1072 and change it a bit to make things clearer.
1073 (Optimization and Wraparound): Clarify whether the compiler
1074 will generate an infinite loop for the example derived from
1075 Autoconf's mktime test.
1076 (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
1077 Also, clarify unsigned multiplication overflow.
1079 2007-01-04 Eric Blake <ebb9@byu.net>
1081 * bin/Makefile.am (RELEASE_YEAR): New macro.
1082 (edit): Use it to supply correct copyright year to scripts.
1083 * bin/autoconf.as (version): Use it.
1084 * bin/autoheader.in ($version): Likewise.
1085 * bin/autom4te.in ($version): Likewise.
1086 * bin/autoreconf.in ($version): Likewise.
1087 * bin/autoscan.in ($version): Likewise.
1088 * bin/autoupdate.in ($version): Likewise.
1089 * bin/ifnames.in ($version): Likewise.
1091 2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
1093 * doc/autoconf.texi (Integer Overflow): Revised based on today's
1094 feedback. The most important changes document what happens when
1095 you convert an out-of-range value to a signed integer type, and
1096 say that (sum < a) != (b < 0) reliably detects overflow when sum =
1099 * doc/autoconf.texi (Integer Overflow): Greatly expand and
1100 rewrite, taking notions from the recent discussion on the gcc and
1101 autoconf mailing lists; please see
1102 http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
1103 and follow the many links.
1104 (Integer Overflow Basics, Signed Overflow Examples):
1105 (Optimization and Wraparound, Signed Overflow Advice):
1106 (Signed Integer Division): New sections.
1108 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
1110 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
1111 preprocessor macro arguments in traced name.
1112 * doc/autoconf.texi (Defining symbols): Document longstanding
1113 support for AC_DEFINE-ing macros with arguments, and document
1114 behavior when the same variable has multiple AC_DEFINEs.
1115 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
1116 old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
1117 macros directly, giving much shorter and simpler code.
1119 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
1121 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
1122 space before "$ac_configure_args" to prevent a 'config.status
1123 --recheck' failure if ac_configure_args doesn't contain a leading
1124 space. This works around a problem with the XEmacs configure.ac,
1125 which uses the (undocumented) ac_configure_args variable
1126 inconsistently with Autoconf.
1128 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
1130 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
1131 Include <limits.h>, and use its INT_MAX to rewrite the
1132 j loop so that it does not overflow 'int'. Problem reported by
1134 <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
1135 Play it safe by shifting left by 1 rather than multiplying by 2,
1136 as GCC is less likely to optimize this away when the value
1137 is signed (when it assumes overflow leads to undefined behavior).
1138 Also, don't assume time_t uses two's complement.
1140 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1142 * tests/torture.at (Substitute a 2000-byte string): Avoid using
1143 a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
1144 dumps core on it. Report by Tim Rice.
1146 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
1148 * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
1149 --disable-option-checking to --help output even when
1150 AC_PRESERVE_HELP_ORDER is not used.
1151 (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
1152 --with argument, rather than argument with [-.] replaced by
1154 * NEWS: Fix typo in previous change; the news was in the
1157 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
1159 * NEWS: Warnings are now generated by default for unknown
1160 --enable-* and --with-* options.
1161 * doc/autoconf.texi (Option Checking): Renamed from
1162 (Configure Option Checking). Tighten up the wording a bit.
1163 (External Software, Package Options): Cross-reference to Option
1164 Checking, and use this to shorten our section.
1165 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
1166 "$x" to test "x$foo" != x.
1167 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
1168 Don't warn if $enable_option_checking is "no".
1169 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
1170 ac_unrecognized_opts to the empty string.
1171 Don't echo the unrecognized opts, as this might mishandle
1172 backslashes or leading -.
1173 (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
1174 usage next to the other --disable-FEATURE options in the
1177 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
1179 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
1180 (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
1181 Print warning for unrecognized --with and --enable options
1182 (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
1183 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
1184 Disable option checking when subdirs are configured.
1185 (AC_OUTPUT): If warnings are enabled, print warning about
1186 unrecognized --with and --enable options at the end of
1187 the configure output (as well as at the beginning).
1188 * doc/autoconf.texi (Option Checking): New node.
1189 Document new option warning functionality.
1191 2006-12-16 Eric Blake <ebb9@byu.net>
1193 * configure.ac (AC_INIT): Bump version, since 2.61a is released.
1194 * NEWS: Start news for current version.
1196 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
1198 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
1199 Define HAVE_GETMNTENT to 1, not to the empty string.
1200 Problem originally reported by Jochen Friedrich in
1201 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
1203 This change prompted by a problem report by Andrey Simonenko in
1204 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
1205 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
1206 object-like macros only, in the traditional portable character
1208 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
1209 Warn about attempts to define things that are not identifiers.
1210 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
1211 awful hack that AC_DEFINEd macro names containing parentheses.
1213 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
1215 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
1216 too drastic, even if Texinfo in theory requires it for info mode.
1218 (config.status Invocation): Renamed back from Recreating a
1220 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
1221 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
1223 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
1225 * NEWS: Version 2.61a.
1227 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
1228 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1230 * NEWS: Document changes with echo and printf, and the lack
1231 of limits on the total size of multi-line values of substituted
1232 variables, and the AC_FUNC_FSEEKO fix.
1234 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
1236 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
1237 Writing configure.ac.
1238 (Autoconf Input Layout): Renamed from configure.ac Layout.
1239 (Recreating a Configuration): Renamed from config.status Invocation.
1240 (Obsolete Recreation): Renamed from Obsolete config.status Use.
1241 (acconfig Header): Renamed from acconfig.h.
1242 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
1243 (Writing Testsuites): Renamed from Writing testsuite.at.
1244 (Autom4te Cache): Renamed from autom4te.cache.
1246 * BUGS: Remove mention of VPATH problem, since it's now documented
1247 not to be a bug in the Autoconf build procedure itself, but rather
1248 a problem with the proprietary `make' programs.
1250 * doc/autoconf.texi (Build Directories): Add a cross reference
1253 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
1254 * doc/standards.texi: Sync from gnulib.
1256 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
1257 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
1258 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
1259 generated automatically.
1261 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
1263 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
1264 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
1265 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
1267 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1269 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
1270 `CEOF$ac_eof' special marker, the awk script cannot contain a
1271 line matching `^CEOF', so this is not needed any more.
1272 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
1273 special marker in the test.
1275 2006-12-06 Stepan Kasal <kasal@ucw.cz>
1277 * tests/tools.at (autom4te preselections): Use `find -newer';
1278 remove one of the sleeps.
1280 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
1281 more readable, using ...
1282 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
1284 * doc/autoconf.texi (autoheader Invocation): Do not double-
1285 quote the parameter of `AH_BOTTOM' in the example.
1287 2006-12-05 Stepan Kasal <kasal@ucw.cz>
1289 * doc/autoconf.texi (Configuration Headers): Remove the
1290 example with multiple input files.
1291 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
1292 multiple input files.
1294 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1296 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
1297 creating the awk substitution script, handle one input line at a
1298 time, so that the maximum length of a substituted (multi-line)
1299 value is not limited by the size of the sed pattern space.
1300 The trade-off is a slightly repetitive sed script.
1301 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
1302 can only have up to 7 characters, due to Solaris 10 /bin/sed.
1303 * tests/torture.at (Substitute a 2000-byte string): Increase the
1304 test with several long lines, they should not be caught by sed
1307 * tests/tools.at (autom4te preselections): New test, to flag
1308 entries missing from autom4te.cfg.
1309 Report by David Byron <dbyron@hheld.com>.
1311 * tests/torture.at (Substitute a 2000-byte string): Actually use
1312 AC_PROG_AWK, so the last change works as intended.
1313 (Substitute and define special characters): Likewise.
1314 (Substitute a newline): Likewise.
1316 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
1317 instead of `awk' consistently.
1318 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
1319 * tests/torture.at (Torturing config.status): Test both the
1320 result of AC_PROG_AWK and plain awk.
1321 (Substitute a 2000-byte string): Likewise.
1322 (Substitute and define special characters): Likewise.
1323 (Substitute a newline): Likewise.
1325 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
1327 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
1328 can be assigned to a function pointer. Problem reported by
1329 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
1330 part of a patch by Ralf Wildenhues in that same bug report.
1332 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
1334 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
1335 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
1337 2006-12-01 Eric Blake <ebb9@byu.net>
1339 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
1340 cross-compiling from cygwin to mingw.
1341 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
1342 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
1343 to lib/autoconf/c.m4.
1345 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1347 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
1348 string for more reliable failure. Wrap the entire test that
1349 causes the broken Solaris printf to dump core, in a subshell,
1350 so the segmentation fault message is reliably suppressed.
1351 Fix shell expansion errors by using /usr/ucb/echo always;
1352 avoid an error on systems without it by another subshell.
1353 Avoid m4 expansion of `$1'. Set the zeroth argument of the
1354 subshell-$as_echo to `as_echo', for better error message.
1356 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1358 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
1359 `BASH_SOURCE' contain a newline, set them to empty, as they may
1362 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
1364 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
1365 years and is too hard to maintain now. The last straw was
1366 reported by Jerker Baeck in
1367 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
1368 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
1369 * doc/autoconf.texi (Particular Functions): Move
1370 AC_FUNC_SETVBUF_REVERSED from here...
1371 (Obsolete Macros): ... to here. Say that it does nothing now.
1372 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
1373 Turn into (almost) a no-op.
1375 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
1377 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
1378 These macros are obsolescent and new applications shouldn't need them.
1379 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
1380 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
1381 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
1382 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1383 (AC_FUNC_VPRINTF): Likewise.
1384 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
1385 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
1386 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
1388 * doc/autoconf.texi (Setting Output Variables): Mention that
1389 @VAR1@VAR2 has unspecified behavior. Problem reported by
1391 * NEWS: Mention this.
1393 * Makefile.am: Put only a single '#' into the copyright notice,
1394 so that it's also present in the output file. Standardize wording
1395 in makefile copyright notices to match GNU coding standards.
1396 * bin/Makefile.am: Likewise.
1397 * doc/Makefile.am: Likewise.
1398 * lib/Makefile.am: Likewise.
1399 * lib/freeze.mk: Likewise.
1400 * lib/autoconf/Makefile.am: Likewise.
1401 * lib/autoscan/Makefile.am: Likewise.
1402 * lib/autotest/Makefile.am: Likewise.
1403 * lib/m4sugar/Makefile.am: Likewise.
1404 * man/Makefile.am: Likewise.
1405 * tests/Makefile.am: Likewise.
1406 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
1409 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1411 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
1412 in the sed script that mangles the awk script: delete up to the
1413 first exclamation mark only.
1414 * tests/torture.at (Substitute and define special characters):
1417 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1419 Rewrite config files generation: avoid quadratic growth in
1420 the number of substituted variables by using awk instead of sed
1421 for the bulk of the substitutions.
1422 * NEWS: Mention this.
1423 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
1424 forbidden in the output (and thus input) file.
1425 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
1426 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
1427 generate just one large awk script for substitutions,
1428 eliminating much of the earlier complexity, while adding some
1429 new complexity. Only expand the substitution templates at
1430 configure time, for smaller configure script size. If
1431 _AC_SUBST_FILES are used, test 'awk' for working getline support
1432 at config.status time. If absent, interpolate through the
1433 shell. The awk script was written with much help
1434 from Paolo Bonzini and Paul Eggert.
1435 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
1436 (_AC_SED_FRAG_NUM): Likewise.
1437 (_AC_SUBST_CMDS): Renamed from...
1438 (_AC_SED_CMDS): ...this.
1439 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
1440 * tests/torture.at (Substitute a 2000-byte string): Also
1441 substitute a line with 1000 words, and a variable with several
1443 (Substitute and define special characters): Test awk special
1444 characters, and put substitution input strings `@foo@' in the
1445 output, to test that no recursion happens; test several other
1446 combinations from Paolo Bonzini.
1448 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
1450 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
1451 that replaced echo with AS_ECHO where this wasn't necessary.
1452 Problem reportd by Ralf Wildenhues.
1453 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
1454 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
1455 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
1457 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1459 * lib/freeze.mk (GREP): Removed, no need to initialize this.
1461 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
1463 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
1464 that traditional Awk lacks 3-arg "split". It has it.
1465 Mention that FS must be a single character, and a few other
1466 99-byte limits of traditional Awk.
1467 Mention that if (i in a) doesn't work with traditional Awk.
1469 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
1471 * tests/autotest.at (BSx641-newline in command):
1472 (BS-BS-newline in command, BSx640-newline in command):
1473 (Newline-CODE-BS-newline in command):
1474 (Single-quote-BS-newline in command):
1475 (Single-quote-newline-BS-newline in command):
1476 Use printf '%s\n' instead of echo, for portability to hosts
1477 where echo interprets backslashes. This will break on hosts
1478 that lack printf, but for now let's assume all such hosts
1479 are dead (if not, we should get reports of test failures).
1481 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
1483 'echo' has some portability problems, when given a first argument
1484 with a leading '-', or when given any argument containing '\'.
1485 Avoid using 'echo' in these cases.
1486 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
1487 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
1488 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1489 * lib/autotest/general.m4 (AT_INIT): Likewise.
1490 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
1491 argument might be unportable.
1492 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
1493 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
1494 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
1495 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
1496 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
1497 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
1498 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
1499 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
1500 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1501 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
1502 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
1503 (AC_PROG_MAKE_SET): Likewise.
1504 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
1505 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
1506 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
1507 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
1508 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
1509 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
1510 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
1511 * bin/autoconf.as: Redo verbose flag implementation, as the old
1512 scheme wouldn't work with AS_ECHO.
1513 * lib/autotest/general.m4 (AT_INIT): Likewise.
1514 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
1515 Don't use ECHO_T, since ECHO_N is now reliable.
1516 * lib/autotest/general.m4 (AT_INIT): Likewise.
1517 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
1518 rather than using a here-document to put the script into a file.
1519 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
1521 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
1522 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
1523 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
1524 bug, but we might as well stop using ECHO_N and ECHO_C internally.
1525 * lib/autotest/general.m4 (AT_SETUP): Likewise.
1526 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
1527 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1528 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
1529 operand, as AS_ECHO requires. Avoid double file name expansion.
1530 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
1531 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
1532 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
1533 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
1534 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1535 Double-quote strings that would otherwise contain M4 comments.
1536 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
1538 * configure.ac (AC_INIT): Bump to 2.61a.
1541 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
1545 * configure.ac (AC_INIT): Bump to 2.61.
1548 * tests/autotest.at (Macro with backslash in a test title):
1549 Comment out for now, as this tests neither fails nor passes
1550 reliably. Problem reported by Ralf Wildenhues.
1552 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
1554 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
1555 in previous change, which caused test failures.
1557 2006-11-16 Stepan Kasal <kasal@ucw.cz>
1559 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
1560 code for --enable, --disable, --with, and --without to...
1561 (_AC_INIT_PARSE_ENABLE): ... a new macro.
1562 * doc/autoconf.texi (Package Options):
1563 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
1565 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
1567 Import these changes from config via gnulib:
1569 2006-11-15 Ben Elliston <bje@gnu.org>
1571 From Josselin Mouette <joss@debian.org>:
1572 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
1574 2006-11-08 Ben Elliston <bje@gnu.org>
1576 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
1578 2006-11-07 Steve Woodford <scw@NetBSD.org>
1579 Ben Elliston <bje@gnu.org>
1581 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
1582 * build-aux/config.sub (sh5el): New basic_machine.
1585 Import this change from coreutils:
1587 2006-02-13 Jim Meyering <jim@meyering.net>
1589 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
1592 Import this change from gnustandards via gnulib:
1594 2006-11-15 Karl Berry <karl@gnu.org>
1596 * standards.texi: core -> memory, throughout.
1597 (CPU Portability): show correct example of calling write
1598 on a char value; thanks to Paul Eggert for the code.
1599 Both of these suggestions from Eugene Y. Vasserman.
1602 Import these changes from texinfo via gnulib:
1604 2006-11-08 Karl Berry <karl@gnu.org>
1606 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
1607 as well as pdf images, since they are supported in pdftex with
1610 2006-11-05 Karl Berry <karl@gnu.org>
1612 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
1614 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
1616 * NEWS: Document the AC_ARG_WITH change.
1618 2006-11-13 Bruno Haible <bruno@clisp.org>
1620 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
1621 options, transliterate also dots to underscores.
1622 (_AC_ENABLE_IF): Transliterate also dots to underscores.
1623 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
1624 first argument may also contain dots.
1626 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
1628 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
1629 benefit of platforms like Solaris+GCC where it is common to have a
1630 non-working g++ installation.
1632 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1633 and Joel E. Denny <jdenny@ces.clemson.edu>
1634 and Paul Eggert <eggert@cs.ucla.edu>
1636 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
1637 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
1640 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
1642 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
1643 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
1644 Imported from a similar patch to gnulib by Bruno Haible.
1646 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
1648 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
1649 * doc/autoconf.texi (C Compiler): Document them.
1650 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
1651 New macros, taken from gnulib.
1653 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
1655 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
1656 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
1659 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1661 * tests/torture.at (Configuring subdirectories): Do not skip
1662 Automake 1.10 nor future Automake 11.1 (sic).
1664 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
1665 and Stepan Kasal <kasal@ucw.cz>
1667 Handle special characters in test case titles correctly.
1668 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
1670 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
1671 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
1672 argument. Extend to check titles printed by ./micro-suite and
1673 ./micro-suite -l and the title in micro-suite.log.
1674 (Backquote in a test title,
1675 Single-quote in a test title,
1676 Double-quote in a test title): Don't expect failure anymore.
1677 (Backslash in a test title): Put a non-whitespace character after the
1678 backslash so that Bourne shells might actually see it as an escape
1680 (Brackets in a test title,
1681 Pound in a test title,
1682 Comma in a test title,
1683 Quoted Macro in a test title,
1684 Macro in a test title,
1685 Macro with single-quote in a test title): New tests.
1686 (Macro with backquote in a test title,
1687 Macro with double-quote in a test title,
1688 Macro with backslash in a test title): New tests expected to fail.
1689 * tests/torture.at (#define header templates): M4-quote this title in
1690 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
1691 The visible effect was a stray [] in the testsuite output.
1693 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1695 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
1696 `trap ... 0' inside a function, for AIX sh.
1698 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
1700 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
1701 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
1702 5363) simply issues a warning when dividing by zero at compile
1703 time. Problem reported by Elias Pipping.
1705 2006-10-26 Eric Blake <ebb9@byu.net>
1708 * doc/autoconf.texi (Evaluation Macros): Improve the example to
1709 show effect on macros that expand with commas.
1710 Reported by Joel E. Denny.
1712 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1713 Also work with M4 1.4.8.
1715 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
1717 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
1720 2006-10-25 Stepan Kasal <kasal@ucw.cz>
1722 * tests/tools.at (autom4te --force): New test, verifies that
1723 `--force' always rewrites the output file.
1725 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
1727 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
1728 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
1730 2006-10-24 Stepan Kasal <kasal@ucw.cz>
1732 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
1734 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
1736 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1737 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
1738 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
1739 reported by Nelson H. F. Beebe for Coreutils 6.4.
1741 * tests/tools.at (autoconf --trace: user macros): Remove test
1742 for tracing multiline macros, since m4 1.4.7a uses a different
1743 way to number lines. Problem reported by Ralf Wildenhues.
1745 2006-10-24 Stepan Kasal <kasal@ucw.cz>
1747 * bin/autom4te.in (handle_m4): Do not redirect stdin to
1748 /dev/null since the heuristics for interactive behaviour was
1751 * bin/autom4te.in: With --force, always refresh the output
1752 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
1754 * bin/autoconf.as: Fix the verbose message at the end.
1756 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
1758 * configure.ac (AC_INIT): Bump to 2.60c.
1761 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
1763 * NEWS: Version 2.60b.
1765 Import this change from Texinfo:
1766 2006-10-15 Karl Berry <karl@gnu.org>
1767 * build-aux/texinfo.tex: automake 1.10
1769 * NEWS: Remove AC_CACHE_CHECK_INT.
1770 * doc/autoconf.texi (Caching Results): Likewise.
1771 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
1772 AC_CACHE_CHECK_INT, since it's no longer public.
1773 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
1774 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
1776 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1778 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
1780 2006-10-19 Eric Blake <ebb9@byu.net>
1782 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
1783 (m4_maketemp): Avoid warnings with M4 1.9a.
1784 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
1786 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
1789 2006-10-16 Eric Blake <ebb9@byu.net>
1791 * doc/autoconf.texi (Setting Output Variables): Fix typo.
1793 * bin/autoconf.as (version): Reword to match GNU Coding
1795 * bin/autoheader.in (version): Likewise.
1796 * bin/autom4te.in (version): Likewise.
1797 * bin/autoreconf.in (version): Likewise.
1798 * bin/autoscan.in (version): Likewise.
1799 * bin/autoupdate.in (version): Likewise.
1800 * bin/ifnames.in (version): Likewise.
1802 2006-10-14 Stepan Kasal <kasal@ucw.cz>
1804 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
1805 looking for special shell characters.
1806 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
1807 macro defined by AS_VAR_PUSHDEF before passing it as a
1809 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
1810 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
1811 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
1812 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
1813 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
1815 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
1817 * tests/m4sh.at (AS_LITERAL_IF): New test.
1819 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
1821 (Imported from Automake.)
1822 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
1823 which incorrectly sets the mode of an existing destination
1824 directory. In some cases the unpatched install-sh could do the
1825 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
1826 system. We hope this is rare in practice, but it's clearly worth
1827 fixing. Problem reported by Alex Unleashed in
1828 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
1829 Also, don't bother to check for -m bugs unless we're using -m;
1830 suggested by Stepan Kasal.
1832 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
1834 Import this change from Automake:
1836 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
1837 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
1838 is enabled by default with gnu and gnits strictness.
1839 Report from Bruno Haible.
1841 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
1842 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
1843 gnu and gnits modes.
1845 Import this change from Config:
1847 2006-09-20 Ben Elliston <bje@gnu.org>
1848 * build-aux/config.sub (score, score-*): New.
1850 Import this change from Gnulib:
1852 2006-09-16 Karl Berry <karl@gnu.org>
1853 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
1854 to avoid sectioning errors.
1856 Import these changes from Texinfo:
1858 2006-10-04 Karl Berry <karl@gnu.org>
1859 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
1860 (\quoteexpand): rename to \rquoteexpand.
1861 (\codequoteleft): new def, to look for @set codequotebacktick.
1862 (\lquoteexpand, \quoteexpand): new defs.
1863 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
1864 (\code): must use new \...Char values, since now ` is active.
1866 2006-08-26 Karl Berry <karl@gnu.org>
1867 * build-aux/texinfo.tex (\textdegree): New command.
1869 2006-08-12 Karl Berry <karl@gnu.org>
1870 * build-aux/texinfo.tex (error \box0): smaller font.
1872 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1874 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
1876 2006-10-13 Stepan Kasal <kasal@ucw.cz>
1878 * doc/autoconf.texi (Autoheader Macros): Warn that the text
1879 added to the template can get mangled.
1881 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1883 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
1884 include the default headers, and redefine obstack_chunk_alloc
1885 and obstack_chunk_free. Fixes false failure with glibc.
1887 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
1889 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
1890 for backward compatibility with Libtool 1.5.22. Problem reported
1893 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1895 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
1897 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
1899 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
1901 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
1902 the NonStop platform.
1903 * doc/autoconf.texi (Posix Variants): Likewise.
1904 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
1906 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
1907 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
1908 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
1909 Use a better substitute, by inspecting the output of "ls"
1910 rather than just using ":".
1911 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
1912 rather than AS_EXECUTABLE_P, since we needn't worry about
1913 non-regular files here.
1915 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
1916 due to configuration hassles with this. See Tonya Underwood's report
1917 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
1918 * doc/autoconf.texi (Special Shell Variables): Likewise.
1920 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
1921 Stepan Kasal <kasal@ucw.cz>
1923 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
1924 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
1926 2006-10-11 Stepan Kasal <kasal@ucw.cz>
1928 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
1929 initialization which is not inherited through the environment
1930 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
1931 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
1933 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
1935 * doc/autoconf.texi (Limitations of Usual Tools): Describe
1936 problems with mkdir -p -m.
1938 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
1940 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
1941 comment about ac_cpp_err; it was incorrect, and anyway
1942 ac_cpp_err is being removed below.
1943 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
1944 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
1945 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
1947 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
1948 with werror_flag and conftest.err and so forth. This is more
1949 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
1950 and anyway the user shouldn't normally want to see this gorp logged.
1951 Problem reported by Ralf Wildenhues.
1952 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
1953 empty, not 'no', since the rest of the code uses 'test -z'.
1955 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
1957 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
1958 Use a single call to AC_DO_TOKENS rather than multiple, for
1960 (_AC_LINK_IFELSE): Test that resulting file is executable.
1961 Problem reported by mwoehlke in
1962 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
1964 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
1965 than creating a file to use with test -x; this is much faster.
1967 2006-10-02 Bruno Haible <bruno@clisp.org>
1969 * lib/autom4te.in (Automake-preselections): Add
1970 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
1972 2006-09-27 Stepan Kasal <kasal@ucw.cz>
1974 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
1975 standard error, `experr' should be used, not `expout'.
1977 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
1979 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
1980 fseeko testing program twice; just use the earlier result.
1981 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
1982 Set cache var to 'unknown' (not 'no') if leaving the macro unset
1983 still doesn't let the program compile.
1984 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
1987 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
1988 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
1989 include it, without including anything else.
1990 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
1992 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
1994 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1996 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
1997 `error.h', and include it, for a `error_at_line' prototype.
1998 Use a nonempty format string in the link test.
1999 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
2000 for a declaration of wait3.
2002 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
2004 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
2005 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
2006 can apply to constants too, and that it checks for macro defns.
2007 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
2008 and simply cast the identifier to void. This handles structure
2009 values. Problem reported by Ralf Wildenhues.
2010 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
2012 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2014 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
2015 structure, and function symbols.
2017 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2019 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
2022 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
2024 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
2026 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2028 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
2029 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2031 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
2032 warnings (uninitialized value).
2033 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
2035 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
2037 (AC_STRUCT_TM): Likewise, avoid unused variables.
2039 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2041 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
2042 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
2043 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
2044 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
2045 Report by Olly Betts.
2047 2006-09-19 Eric Blake <ebb9@byu.net>
2049 * m4/m4.m4: Change copyright.
2050 * configure: Regenerate.
2051 * Makefile.in: Likewise.
2052 * bin/Makefile.in: Likewise.
2053 * doc/Makefile.in: Likewise.
2054 * lib/Makefile.in: Likewise.
2055 * lib/Autom4te/Makefile.in: Likewise.
2056 * lib/autoconf/Makefile.in: Likewise.
2057 * lib/autoscan/Makefile.in: Likewise.
2058 * lib/autotest/Makefile.in: Likewise.
2059 * lib/emacs/Makefile.in: Likewise.
2060 * lib/m4sugar/Makefile.in: Likewise.
2061 * man/Makefile.in: Likewise.
2062 * tests/Makefile.in: Likewise.
2064 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
2065 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
2066 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
2067 --error-output, to avoid warnings with M4 2.0.
2069 2006-09-19 Stepan Kasal <kasal@ucw.cz>
2071 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
2072 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
2073 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
2075 2006-09-15 Stepan Kasal <kasal@ucw.cz>
2077 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
2078 expansion of AC_CHECK_FUNCS.
2080 2006-09-14 Stepan Kasal <kasal@ucw.cz>
2082 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
2083 mistaken comment: the path has to be relative; do not use
2084 the path at runtime.
2086 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2088 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
2089 argument to `--prefix' for sub-configure scripts.
2090 Pass `--silent' to sub-configure scripts.
2091 * tests/torture.at (Configuring subdirectories): Add tests
2093 * doc/autoconf.texi (Setting Output Variables): Fix example to
2094 not show `--silent' being passed to a `configure' re-run.
2096 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
2098 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
2099 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
2100 for the existence of the directory at configure-time. That's
2101 too late, anyway. Problem reported by Stefan Seefeld.
2103 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
2104 7.1.4 /usr/bin/posix/sh described by Tim Rice in
2105 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
2107 2006-09-11 Stepan Kasal <kasal@ucw.cz>
2109 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
2110 works with GNU M4 1.4.3 again; make the normalized form
2111 match the current m4 message; fix the description.
2112 * test/tools.at (autom4te cache): Adapt to the change.
2114 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
2116 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
2117 to catch glibc bug 2821
2118 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
2120 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
2121 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
2122 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
2125 2006-09-08 Stepan Kasal <kasal@ucw.cz>
2127 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
2129 (Autoconf): ... here.
2130 (Autoscan-preselections): Delete.
2132 2006-09-07 Stepan Kasal <kasal@ucw.cz>
2134 * lib/autom4te.in (Automake-preselections): Preselect
2137 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
2139 * doc/autoconf.texi (Preset Output Variables): srcdir and
2140 top_srcdir are not necessarily relative. Problem reported
2143 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2145 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
2146 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
2147 accept files with extension `.f'. For consistency, also prefer
2149 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
2152 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
2154 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
2155 of ERLANG_LIB_VER_* variables.
2156 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
2159 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
2160 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2162 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
2163 bugs of Bash 2.01 and 2.05a.
2164 (Fortran Compiler): Document that AC_PROG_CC should be called
2165 before AC_PROG_FC, due to a bug in Autoconf.
2167 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
2169 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
2170 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
2171 except the first two arguments are reversed.
2172 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
2173 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
2174 caches nor outputs a diagnostic. Suggested by Bruno Haible.
2175 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
2176 equivalent to the old AC_COMPUTE_INT.
2177 (AC_COMPUTE_INT): No longer caches or reports. New signature.
2178 All uses changed to AC_CACHE_CHECK_INT.
2179 * tests/base.at (AC_CACHE_CHECK_INT): New test.
2180 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
2182 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
2184 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
2185 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
2186 programs should use their Gnulib counterparts.
2187 * doc/autoconf.texi (Particular Functions): Likewise.
2188 (Macro Names, testsuite Invocation): Replace uses of these
2189 obsolete macros with uses of non-obsolete macros.
2191 2006-08-29 Eric Blake <ebb9@byu.net>
2193 * configure.ac (AC_INIT): Bump to 2.60b.
2196 2006-08-28 Eric Blake <ebb9@byu.net>
2198 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
2199 mistakenly swapped on 2006-08-15.
2201 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
2203 * NEWS: Version 2.60a.
2205 2006-08-25 Stepan Kasal <kasal@ucw.cz>
2207 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
2208 file created by the PGI compiler.
2210 2006-08-25 Noah Misch <noah@cs.caltech.edu>
2212 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
2215 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
2217 Fix Lex library problem reported to us by Julio Garvia.
2218 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
2219 for the default, which the user can override.
2220 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
2222 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
2223 didn't work if some values were cached but not others. Test for
2224 broken lex libraries like native ia64-hp-hpux11.22; see
2225 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
2226 work around the problem by preferring an empty LEXLIB to -lfl or
2227 -ll. Let the user set LEXLIB='' to indicate no library needed.
2229 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
2231 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2233 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
2235 Rework to use more-modern build style.
2236 Many files are renamed; all uses of their names were changed.
2237 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
2238 * .x-sc_useless_cpp_parens: New file.
2239 * build-aux/config.guess: Renamed from config/config.guess. Update.
2240 * build-aux/config.sub: Renamed from config/config.sub. Update.
2241 * build-aux/elisp-comp: Renamed from config/elisp-comp.
2242 * build-aux/install-sh: Renamed from config/install-sh. Update.
2243 * build-aux/mdate-sh: Renamed from config/mdate-sh.
2244 * build-aux/missing: Renamed from config/missing.
2245 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
2246 * build-aux/vc-list-files: Renamed from config/vc-list-files.
2247 * config/Makefile.am: Removed.
2248 * config/mkinstalldirs: Removed.
2249 * config/move-if-change: Removed.
2250 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
2251 * Makefile.am (SUBDIRS): Remove config.
2252 (ACLOCAL_AMFLAGS): Include from m4, not config.
2253 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
2254 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
2255 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
2256 Fail if there's an error.
2257 * Makefile.cfg (move_if_change): Remove.
2258 (wget_files): Remove.
2259 (cvs_executable_files): New macro.
2260 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
2261 (executable-update): Use $(cvs_executable_files).
2262 (local-checks-to-skip): Remove.
2263 * Makefile.maint: Merge from coreutils, plus add our own changes
2264 (gzip_rsyncable): New macro.
2266 (CVS_LIST): Use build-aux/vc-list-files.
2267 (VERSION_REGEXP): New macro.
2268 (local-checks-available): Add patch-check, $(syntax-check-rules),
2270 (syntax-check-rules): Compute dynamically.
2271 (sc_cast_of_x_alloc_return_value): Work even if no source files.
2272 (sc_cast_of_alloca_return_value): Likewise.
2273 (sc_prohibit_atoi_atof): Simplify regexp.
2274 (sc_no_if_have_config_h, sc_require_config_h):
2275 (sc_prohibit_assert_without_use,
2276 (sc_obsolete_symbols): Check for O_NDELAY.
2277 (sc_texi_notab): Remove.
2278 (sc-changelog): Don't make an exception for '----' lines.
2279 (.re-list): Remove, so we don't have a junk file behind.
2280 (sc_system_h_headers): Remove the need for .re-list.
2281 (sc_the_the): New rule.
2282 (sc_tight_scope): Simplify.
2283 (sc_trailing_blank): Renamed from sc_trailing_space.
2284 (longopt_re): New macro.
2285 (sc_two_space_separator_in_usage): New rule.
2286 (sc_unmarked_diagnostics): Look at all files under CVS.
2287 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
2288 (news-date-check, changelog-check): Version is OK.
2289 (po-check): Look for lib files even if not in CVS.
2290 (copyright-check): Use $() not ``.
2291 (maintainer-distcheck): Do not depend on changelog-check.
2292 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
2293 Also check for -Wpointer-arith.
2294 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
2295 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
2297 (announcement): Add --gpg-key-id arg.
2299 (move_if_change): Just use mv.
2300 (local_updates: Remove wget-update, po-update.
2301 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
2302 (config.guess-url_prefix, config.sub-url_prefix): Remove.
2303 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
2304 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
2305 ($(get-targets)): Remove.
2306 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
2307 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
2308 (cvs-update): Get from gnulib.
2309 (emut_upload_commands): gnupload is in build-aux now.
2310 (alpha beta major): Add changelog-check. Check version.
2311 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
2312 (AC_CONFIG_FILES): Remove.
2313 * bin/autoconf.as: Add spaces to avoid distcheck warning.
2314 * config/announce-gen: Sync from coreutils.
2315 * doc/make-stds.texi: Sync from gnulib.
2316 * doc/standards.texi: Likewise.
2317 * man/Makefile.am: Adjust for config -> build-aux renaming.
2318 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
2319 * tests/local.at: Adjust from config -> build-aux renaming.
2320 * tests/tools.at: Likewise.
2321 * tests/torture.at: Likewise.
2323 * NEWS: The C99 check now tests for vararg macros and 64-bit
2325 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
2326 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
2327 64-bit preprocessor ints. Check for static initialization of
2328 long long. Remove unnecessary casts.
2330 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2332 * doc/autoconf.texi (Particular Programs): Mention that
2333 @INSTALL@ and @MKDIR_P@ may vary for different output files.
2334 Reported by Alexandre Duret-Lutz.
2336 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
2338 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
2339 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
2341 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
2343 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
2345 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
2346 pacify insanely picky compilers. Problem reported by Eric Blake.
2348 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
2349 longer supported by Sun.
2351 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
2353 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
2354 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
2355 -Wundef -Werror". Problem reported by David Fang in
2356 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
2357 * doc/autoconf.texi (Header Templates, Default Includes):
2358 (Particular Functions, Generic Functions, Header Portability):
2359 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
2360 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
2361 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
2362 Prefer #ifdef to #if.
2363 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
2364 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
2365 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2366 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
2368 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2369 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
2370 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
2371 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2372 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
2373 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
2376 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
2378 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
2379 problems with arg script text that doesn't end in newline, and
2380 with '-e a...'. Problems reported by Ralf Wildenhues.
2382 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
2384 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
2385 check for libXt by a check for libX11.
2387 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2389 * doc/autoconf.texi (config.status Invocation): Adjust according
2392 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2394 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
2395 --help' should mention that `--version' outputs configuration
2396 settings. Report by Bruno Haible.
2398 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
2400 Fix test suite failures reported by Pierre in
2401 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
2402 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
2403 the compiler created a file "b.out" when it didn't create anything
2405 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
2406 Discard stderr too, when invoking the test script.
2408 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
2410 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
2411 in the restoring of the werror flag.
2413 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
2415 * doc/autoconf.texi (Volatile Objects): Be even a little
2416 less skeptical about "volatile", after discussion with
2417 Bruno Haible on bug-gnulib.
2418 (Limitations of Usual Tools): Warn about sed stripping
2419 leading white space from text. From Bruno Haible.
2421 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
2423 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
2424 compiler complains about it, even if things works after the
2425 complaint. Problem reported by Peter O'Gorman.
2427 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
2428 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
2429 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
2431 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
2433 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
2434 after -R regardless of host. Patrick Welche reports that this
2435 fixes things on NetBSD 3.99.
2437 * NEWS: Recommend M4 1.4.5.
2439 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2440 * tests/tools.at (autom4te cache): Update wording of diagnostic
2443 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
2445 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
2446 under AC_C_VOLATILE.
2447 (Volatile Objects): Be a little less skeptical about what
2448 "volatile" means. Derived from thoughts by Ben Pfaff in
2449 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
2451 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2453 * doc/autoconf.texi: Fix some typos.
2455 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
2457 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2458 more globally, since the 2006-06-30 patch didn't suffice. Problem
2459 reported by Keith Marshall. Also, don't bother with builddir2,
2460 since it shouldn't be needed any more.
2462 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
2464 * doc/autoconf.texi (Generic compiler characteristics):
2465 Document AC_COMPUTE_INT. Fix wrong statements on Default
2466 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
2468 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
2469 (_AC_COMPUTE_INT): Add obsoletion warnings.
2470 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
2473 * NEWS: Document change.
2475 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
2477 * doc/autoconf.texi (Volatile Objects): New section.
2479 * NEWS: Document previous change.
2481 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
2483 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
2484 Require that long long int be at least 64 bits wide. C99 requires
2485 this and enough programs depend on it so we should check for it.
2486 Bruno Haible reports in
2487 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
2488 that long long int is 32 bits wide with some nonstandard compilers.
2489 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
2491 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
2493 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2494 to a nonexistent file, so that we don't have to worry about
2495 a local site configuration that doesn't use /usr/local.
2496 Problem reported by Keith Marshall in
2497 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
2499 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
2501 * doc/autoconf.texi: Be more consistent about using @acronym with
2502 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
2503 quite right (it talked about "OSF/Tru64", even though the
2504 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
2505 and it even mentioned "OSF 4"!) and at this point there's little
2506 reason to talk about OSF any more, since it died in 1994.
2507 (Specific Compiler Characteristics): Simplify example of
2508 negative-size array.
2509 (File Descriptors): Reorder to make the text flow better.
2510 Remove joke about "appreciate the various levels"; I didn't get it.
2511 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
2512 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
2513 (File Descriptors, Limitations of Usual Tools):
2514 Tone down the advice against renaming or removing open files.
2515 (Limitations of Usual Tools): Add a new section, on 'rm'.
2517 2006-06-26 Stepan Kasal <kasal@ucw.cz>
2519 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
2520 -lXt in LIBS, idea from Karsten Hopp; this was due since
2523 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
2524 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2525 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2526 (which belong to Xt, not X itself). See Debian bug 327655.
2528 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2530 * configure.ac (AC_INIT): Bump to 2.60a.
2533 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2537 * configure.ac, NEWS: Update.
2539 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2541 * config/texinfo.tex: Sync from upstream.
2543 * bin/autom4te.in (handle_traces): Transform the `@S|@'
2544 quadrigraph correctly in traces.
2546 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
2549 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
2550 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
2552 * doc/autoconf.texi (Changed Directory Variables): New node,
2553 to document the whole `datarootdir' business a bit better.
2555 * tests/torture.at (datarootdir workaround): Extend test.
2556 Prompted by report by Alexandre Julliard.
2558 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
2560 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
2561 when using default mode of IBM C 6 for AIX. Problem and two-line
2562 fix reported by Larry Jones.
2564 2006-06-22 Alexandre Julliard <julliard@winehq.org>
2566 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
2567 about literal '${datarootdir}' if a definition is found in the
2570 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
2572 * NEWS: Use "M4" rather than "m4" when appropriate.
2573 Problem reported by Eric Blake.
2574 * doc/autoconf.texi: Likewise.
2575 Use @acronym around BSD, GCC, and GNU when appropriate.
2576 (Why GNU M4): Renamed from "Why GNU m4".
2577 (Redefined M4 Macros): Mention that Posix
2578 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
2579 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
2582 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2584 * bin/autom4te.in (handle_output): Do not forbid the empty
2586 * tests/tools.at (autoconf: the empty token): New test.
2588 2006-06-20 Stepan Kasal <kasal@ucw.cz>
2590 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
2591 calls, so that we do not care whether they are LIFO or FIFO;
2592 in the m4_wrap, do not check which diversion is the topmost
2593 one, just check that the stack is balanced at the end.
2594 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
2595 base diversion forever--pop the previous diversion before
2596 opening the new one; consequently, remove the m4_wrap call.
2597 * lib/autotest/general.m4 (AT_INIT): Likewise.
2598 * tests/m4sugar.at: Do not use
2599 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
2601 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
2602 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2604 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
2605 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
2606 Rework example of m4wrap token-pasting trouble so that it doesn't
2607 care whether it's LIFO or FIFO.
2608 Fix some "contrary to"s that are awkward in English.
2610 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2612 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
2613 to `yes' instead of `int$1_t' if the type is found, for more
2614 consistent configure output (where $1 is the number of bits).
2615 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
2616 Suggested by Bruno Haible.
2618 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
2619 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
2620 with system headers. Report by Bruno Haible.
2622 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2624 * config/config.guess, config/config.sub: Sync from upstream.
2626 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
2627 in order to avoid picking up an older installed frozen m4sh.m4f.
2628 Besides an outdated shell startup, this could have been created
2629 by an earlier M4 version with incompatible frozen file format.
2631 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
2633 * README: Recommend m4 1.4.4 instead of 1.4.3..
2634 * doc/autoconf.texi: Likewise.
2635 (Special Chars in Names): Say that $(.FOO) is portable, as
2636 suggested by Stepan Kasal.
2637 (Installation Directory Variables, Build Directories):
2638 (Automatic Remaking, Subdirectories, Fortran Compiler):
2639 (Making testsuite Scripts, Defining Directories):
2640 Quote variable usages better.
2641 (Making testsuite Scripts): Add clean-local rule to makefile
2642 snippet, by Eric Blake.
2643 (Installation Directory Variables): Fix table item font.
2644 Reword slightly to clarify. Generalize advice about
2645 not using special characters to include all file-related
2646 vars, not just VPATH.
2647 (Special Chars in Variables): Warn about special characters in
2649 (Assignments): Clarify default-value example as suggested by
2651 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
2652 (Special Shell Variables): Note leading ./ or ../, as suggested
2654 (Limitations of Builtins): Under cd, warn about CDPATH.
2655 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
2658 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2660 * doc/autoconf.texi (Configuration Actions): Remove duplicate
2661 `@var', for texi2html.
2662 (Systemology): Some more word wrapping, for DVI output.
2663 (autom4te Invocation): The short option for `--melt' is `-M',
2666 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
2668 * doc/autoconf.texi: More formatting and English tweaks,
2669 many suggested by Ralf Wildenhues.
2670 Reword to avoid "@code{...}'s" and the like, since it's ugly
2671 with Emacs info mode. discontents -> woes.
2672 Put a few "will"s back. time stamp -> timestamp.
2673 side-effect -> side effect.
2675 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
2677 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
2678 Warn about $@ not persisting. Problem reported by Julien Danjou in
2679 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
2680 (Special Chars in Names): Renamed from Leading _ in Macro Names.
2681 Mention other special chars, too.
2683 2006-06-14 Eric Blake <ebb9@byu.net>
2685 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
2687 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
2689 * doc/autoconf.texi: Some systematic minor improvements, as
2690 follows. Use "makefile" when talking about makefiles
2691 generally (which might be named "makefile" or "Makefile" or even
2692 "foo.mk"), "Makefile" when talking about a specific makefile
2693 called "Makefile". This unclutters the text from weird quotes
2694 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
2695 values" rather than "@var{foo}s" and similar constructs containing
2696 "}s". Use "Make rules" rather than "Makefile rules". Minor
2697 English-language improvements. Change the prefix "sub-" to "sub"
2699 Put blank lines around examples more consistently.
2700 Avoid "rather" and "very" as intensifiers.
2701 Avoid "will" as an auxiliary.
2702 (Limitations of Make): Split this node into....
2703 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
2704 (Leading _ in Macro Names, Backslash-Newline-Newline):
2705 (Backslash-Newline Comments, Long Lines in Makefiles):
2706 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
2707 (obj/ and Make, make -k Status, VPATH and Make):
2708 (VPATH and Double-colon, $< in Explicit Rules):
2709 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
2710 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
2711 New nodes, resulting from splitup of Limitations of Make.
2712 All cross-references changed. Raise the top node from
2713 a section to a chapter, and all subnodes accordingly.
2714 Redo the introductory wording to match the new organization.
2715 (Installation Directory Variables): Use an example that is
2716 closer to what Autoconf actually does. Mention that VPATH's
2717 value should not contain metacharacters or white space.
2718 (Fortran Compiler): Fix a VPATH bug in an example.
2719 (Leading _ in Macro Names): Mention that this problem is no longer
2720 of practical concern.
2721 (VPATH and Make): Reword the advice to make it clearer
2722 that Autoconf and Automake support VPATH in non-GNU make, but
2723 many packages have bugs in this area.
2724 ($< in Explicit Rules): Refer to Build Directories rather
2725 than using a (non-VPATH-safe) example.
2726 (Automatic Rule Rewriting): Mention the sort of disaster that
2727 can ensue with Solaris-style rule rewriting with VPATH.
2729 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2731 * doc/install.texi (Compilers and Options): Weaken the
2732 suggestion to use GNU make for VPATH builds.
2734 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
2735 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
2737 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
2738 in regular expression.
2740 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2742 * doc/autoconf.texi (Installation Directory Variables):
2743 Drop extra @samp from `@table @samp' item.
2744 (Limitations of Usual Tools): Comment fix.
2745 Do not nest @samp just to point to other table items.
2746 (Writing testsuite.at) <AT_CHECK>: The second argument to
2747 `@dvar' is already @samp'ed.
2748 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
2749 do not use @var in the second argument.
2751 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
2753 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
2754 $as_shell.exe too. Problem reported by Andreas Buening in
2755 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
2757 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2759 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
2760 `unused variable' compiler warning, for `-Wall -Werror'.
2761 Reported by Jaap Haitsma in
2762 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
2764 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
2766 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
2767 case the compiler dumps core. Problem reported for
2768 OpenServer 5.0.7 by Tim Rice in
2769 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
2770 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2773 2006-06-06 Tim Rice <tim@multitalents.net>.
2775 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
2776 "ERROR" only shows up in "make check" output if there is an
2779 2006-06-06 Eric Blake <ebb9@byu.net>
2781 * tests/tools.at (automatically allowed tokens): Fix typo.
2783 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
2785 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
2787 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
2788 typically overflows on x86 CPUs, even though the C standard
2791 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2793 * configure.ac (AC_INIT): Bump to 2.59e.
2796 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2800 * config/texinfo.tex: Sync from upstream.
2802 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
2803 seen, invoke libtoolize with `--ltdl' argument.
2804 * lib/autom4te.in (Autoreconf-preselections): Adjust.
2806 Suggested by Eric Blake.
2808 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
2810 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
2811 reported by Ralf Wildenhues.
2812 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
2814 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2818 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
2820 * doc/autoconf.texi: Modernize some of the references to Solaris.
2822 2006-06-05 Stepan Kasal <kasal@ucw.cz>
2824 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
2825 message issued by AC_REQUIRE.
2826 * tests/m4sugar.at: Check m4_require's error message.
2827 * tests/base.at: Check AC_REQUIRE's error message.
2828 * tests/local.at (AT_CHECK_M4): New macro, almost identical
2830 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
2832 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
2833 `expout' as the last parameter.
2834 * tests/tools.at: Adapt to the above change.
2836 2006-06-04 Stepan Kasal <kasal@ucw.cz>
2838 * doc/autoconf.texi (Limitations of Usual Tools): Correct
2839 information about race-free implementations of mkdir.
2841 2006-06-04 Eric Blake <ebb9@byu.net>
2843 * bin/autoreconf.in (help): Document M4 environment variable.
2844 * bin/autoconf.as (Usage): Likewise.
2845 * bin/autom4te.in (help): Likewise.
2846 * doc/autoconf.texi (autom4te Invocation): Likewise.
2848 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
2850 * NEWS: GNU make now recommended for VPATH builds.
2851 Mention that some macros are now documented to be obsolescent.
2852 * doc/autoconf.texi:
2853 Prefer "current" to "modern" to describe
2854 currently-used (albeit perhaps old-fashioned) hosts.
2855 Mention which ancient features no longer need to be worried about.
2856 setgid -> set-group-ID
2857 setuid -> set-user-ID (these are the Posix terms)
2858 Fix some misuses of "only".
2859 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
2860 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
2861 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
2862 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
2863 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
2864 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
2865 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
2866 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
2867 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
2868 Mention that these macros are obsolescent.
2869 (Installation Directory Variables): shall -> should
2870 (File Descriptors): Mention that 0, 1, 2 might get reopened.
2871 Mention that it's now safe to use 3 and 4.
2872 (Limitations of Usual Tools): cp -r is now specified by Posix.
2873 Omit longwinded and obsolescent discussion of cp -f.
2874 Modernize discussion of expr, ls.
2875 (Limitations of Make): Modernize discussion of VPATH builds.
2876 Mention $? as a workaround in some cases.
2877 * doc/install.texi (Basic Installation):
2878 Mention "./configure; make; make install" first. Be more
2879 specific about why this file is generic. Remove unnecessary
2880 parens. Remove misleading "only". Remove obsolete advice
2881 about csh. Don't say "configure" takes awhile; say it
2882 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
2883 and CC=c99 rather than CC=c89, as these are blessed by current
2884 Posix. Recommend GNU make if doing a VPATH build.
2886 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
2888 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
2889 examples involving shell prompts.
2891 2006-06-02 Stepan Kasal <kasal@ucw.cz>
2892 and Paul Eggert <eggert@cs.ucla.edu>
2894 * doc/autoconf.texi (Here-Documents): Add details about the
2895 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
2896 use "here-documents" instead of "here documents".
2898 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2900 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
2902 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
2904 * doc/autoconf.texi (File System Conventions): Warn about ":"
2905 anywhere in directory names.
2907 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
2909 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
2910 about quoting the case statement, just in case.
2911 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
2912 was fixed in ksh93g; reported by Ralf Wildenhues.
2914 2006-05-31 Stepan Kasal <kasal@ucw.cz>
2916 * doc/autoconf.texi (System Services): Do not document
2917 overriding EXEEXT via ac_cv_exeext=ext.
2918 (Particular Programs) <AC_PROG_MKDIR_P>:
2919 Document that ${MKDIR_P} understands --.
2920 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
2923 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2925 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
2926 argument with leading hyphen. Problem reported by Paul Eggert.
2928 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
2930 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
2931 about quoting ac_try: quote all of it, if any of it seems suspicious.
2932 This means we don't have to worry about ${ or sed any more.
2933 Also, double-quote the case statement, to work around misuses via
2934 underquoting as reported by Ralf Wildenhues in
2935 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
2936 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
2937 undocumented and dangerous macro.
2938 Problem reported by Ralf Wildenhues in
2939 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
2941 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2943 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
2944 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
2945 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
2947 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
2949 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
2950 since evidently some packages rely on the old, broken behavior.
2951 Problem reported by Ralf Wildenhues in
2952 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
2953 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
2954 pre-2006-05-26 definitions, but leave in the comments that
2955 these macros are dangerous and should not be used.
2956 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
2957 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
2958 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
2959 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
2960 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
2962 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
2964 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
2965 the use of 'tr', since this is our only use of 'tr'.
2967 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2968 and Paul Eggert <eggert@cs.ucla.edu>
2970 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
2971 Don't assume 'grep' works on long lines, since AIX grep doesn't.
2973 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2975 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
2976 the output file in the `${datarootdir}' test.
2978 2005-05-28 Stepan Kasal <kasal@ucw.cz>
2979 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2981 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
2982 mention of `datarootdir' in the input file(s), but literal
2983 `${datarootdir}' in the output file, and we haven't warned yet,
2984 then warn as well: the user may have (erroneously) used
2985 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
2986 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
2987 * tests/torture.at (datarootdir workaround): Extend this test.
2990 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2991 and Paul Eggert <eggert@cs.ucla.edu>
2993 * doc/autoconf.texi (autoheader Invocation): The first argument to
2994 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
2995 alternatives and clear up the language a bit.
2997 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
2999 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
3000 ac_config_guess, ac_config_sub, ac_configure.
3001 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3002 Fix typo that prevented an unnecessary space from being removed.
3003 Problems reported by Ralf Wildenhues in:
3004 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
3006 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
3008 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
3009 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
3010 Don't use the term "thread-safe" to talk about mkdir race
3011 conditions, since the problem is more a process than a thread
3012 issue. Problem reported by Stepan Kasal in:
3013 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
3014 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
3015 the test for 'install' more closely. Look at MKDIR_P first.
3016 Look in the PATH, and at /opt/sfw/bin.
3017 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
3018 Don't bother to try mkdir -p, since we already check mkdir --version;
3019 just look at the version number. (There's no easy way to check
3020 for race-free implementations.)
3021 * tests/tools.at (autoconf: subdirectories): Adjust to above
3022 changes, since MKDIR_P now might end in "/mkdir -p".
3024 * doc/autoconf.texi (autoheader Invocation): Mention that the
3025 first arg of AC_DEFINE_UNQUOTED must be a literal.
3026 Problem reported by Ben Pfaff in
3027 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
3029 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
3030 * doc/autoconf.texi (Special Chars in Variables): New section.
3031 (Preset Output Variables): Warn about special chars in CPPFLAGS.
3032 (Installation Directory Variables): Quote $(datadir) better.
3033 (Limitations of Builtins): Describe some of eval's trickiness.
3035 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
3036 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
3037 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
3038 in front of every arg, not just trailing args. Quote apostrophes.
3039 (_AC_EVAL_ECHO): New macro.
3040 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
3041 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
3043 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
3044 exposed by quoting of eval argument. Put the command on line line
3046 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
3047 (_AC_PATH_X, AC_PATH_X): Quote more safely.
3048 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
3049 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
3050 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
3051 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
3052 Use eval more safely.
3053 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
3054 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
3056 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
3057 lines, exposed by quoting of eval argument.
3059 2006-05-26 Stepan Kasal <kasal@ucw.cz>
3060 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3062 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
3063 initialization of `ac_cv_exeext', do not override it if it was
3064 already set, unless it was set to `no', for compatibility with
3065 Autoconf-2.13, and comment this.
3066 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
3067 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
3068 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
3069 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
3070 Document that this test may be overridden by setting
3073 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3075 Revert these two patches:
3077 2006-04-06 Eric Blake <ebb9@byu.net>
3078 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3079 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
3082 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3083 Clean up _AC_COMPILER_EXEEXT* macros.
3084 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3085 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3086 ac_file to the name of the default output file and call
3087 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
3088 initial `rm' of the candidate files...
3089 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
3090 the same list in subsequent `rm' calls, and for the temporary
3091 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3092 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3093 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3094 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3095 no longer needed) by libtool. Make it a cache check.
3096 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3097 copied here by mistake.
3098 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3099 _AC_COMPILER_EXEEXT.
3100 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3101 _AC_COMPILER_OBJEXT directly.
3102 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3104 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3106 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
3107 Fix description of how the buggy `sed' works.
3109 2006-05-25 Noah Misch <noah@cs.caltech.edu>
3113 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
3114 ENOLCK. Only mention `make -j' when applicable. Only raise
3115 fatal errors when `make -j' is involved. Improve error message.
3117 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3119 * doc/autoconf.texi (Here-Documents): We now know more about
3120 the variable expansion in here documents bug.
3121 Thanks to Tim Rice and Stepan Kasal.
3123 * doc/autoconf.texi (Making testsuite Scripts): Add an example
3124 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
3126 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3128 * tests/autotest.at (Multiline command from M4 expansion):
3129 No failure to be expected if the shell quotes newlines in
3130 commands in the `set -x' output. Report by Tim Rice.
3133 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
3135 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
3136 expansion in the here-documents used by config.status, as that
3137 runs afoul of the Korn shell version M-12/28/93d bug described in
3138 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
3139 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
3140 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
3142 2006-05-23 Jim Meyering <jim@meyering.net>
3144 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
3145 Fix typo introduced with 2006-04-02 change. It reversed the sense
3148 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
3150 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
3151 ac_dB slightly, to save bytes in the script.
3152 Max out at 50 lines, rather than 96; this is more likely
3153 (though not guaranteed) to avoid obscure 'sed' failures.
3155 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3157 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
3158 `tr -d -' as bad option argument. Work around this by deleting
3159 an unrelated character.
3160 Report by Tim Rice <tim@multitalents.net>.
3162 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
3163 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
3164 Stepan Kasal <kasal@ucw.cz>
3166 * doc/autoconf.texi (Particular Programs): Do not promise that
3167 we always prefer the GNU version of the program, and that we
3168 search according to PATH; both rules can have exceptions.
3169 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
3170 AC_PROG_SED. Move descriptions of limitations
3171 to the Limitations of Usual Tools section.
3172 (Limitations of Usual Tools) <sed>: Mention script length
3173 limitations with Solaris /usr/ucb/sed.
3174 <grep>: Fix wording for empty alternative. Mention that -c and
3175 -l should not be combined, and that -E and -F should not be
3178 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3179 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3181 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
3182 limits in Solaris 8 /usr/ucb/sed by testing a long script.
3184 2006-05-22 Stepan Kasal <kasal@ucw.cz>
3186 * doc/autoconf.texi (Defining Symbols): Literal parameter of
3187 AC_DEFINE is now passed to m4_pattern_allow.
3188 * NEWS: Mention that; likewise for AC_SUBST.
3189 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
3190 the parameter to m4_pattern_allow.
3191 * tests/tools.at: Add a check for that.
3193 2006-05-22 Stepan Kasal <kasal@ucw.cz>
3195 * lib/autoconf/status.m4: Fix typos.
3197 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3199 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3200 only the files that this macro generates.
3202 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3204 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
3205 the HP-UX sed limitation of 99 commands, labels do not count.
3206 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
3208 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
3210 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3212 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
3213 Import the following fix from coreutils:
3215 2006-01-13 Jim Meyering <jim@meyering.net>
3217 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
3218 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
3219 not double-quote uses of that variable, to accommodate the rare
3220 case in which getmntent is available in none of the libraries
3221 checked. This happens at least on FreeBSD 5.0.
3223 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
3225 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
3226 ac_config_guess, ac_config_sub, and ac_configure, since evidently
3227 some other programs unwisely rely on these undocumented vars.
3228 But put in warning comments about them.
3229 Problem reported by Ralf Wildenhues in
3230 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
3231 * NEWS: Document that these variables are intended to go away.
3233 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3235 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
3236 and set the language to C++ (analogous to the equivalent Fortran
3239 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
3240 * doc/autoconf.texi (C++ Compiler): Document it.
3241 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
3244 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
3246 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
3247 that caused config.status to generate 100-command sed scripts; the
3248 portable limit is 99.
3250 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3252 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
3253 variable `ac_d' instead of `d' to avoid infringing namespace.
3254 Report by Ralf Menzel.
3256 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
3258 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
3259 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
3260 * tests/tools.at (autoconf: subdirectories): New test, taken from
3261 the corresponding problem report by Ralf Wildenhues in:
3262 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
3264 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
3265 Quote some uses of shell variables if they might suffer unexpected
3266 globbing. This doesn't fix all instances of quoting problems that
3267 I found, just the easy ones that look safe.
3268 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
3269 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
3270 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
3271 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
3272 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
3273 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3274 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
3276 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
3277 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
3279 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3281 * bin/autoreconf.in ($help): Reword according to the manual.
3282 Suggested by Olly Betts.
3284 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
3285 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3287 * bin/autoreconf.in: Pass the directory argument to
3288 `require_configure_ac'. Fix comment.
3289 * tests/torture.at (Configuring subdirectories): Expose this.
3290 Reported by Olly Betts.
3292 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3294 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
3295 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
3296 Automake as follows:
3298 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
3299 `$configure_in' instead of `configure.in', to preserve
3300 directory component.
3302 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3304 * config/config.guess, config/config.sub, config/texinfo.tex,
3305 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
3307 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
3309 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
3310 test for C99 conformance; (bool) 0.5 is an integer constant
3311 expression, but (bool) -0.5 is not. Problem reported by Fedor
3312 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
3314 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
3316 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
3317 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
3318 Warn about obsolete install-sh files. Remove stray sentence
3319 fragment and fix cross reference.
3320 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
3321 install -d; this undoes the 2006-05-10 change.
3322 (MKDIR_P): Mark with AN_MAKEVAR.
3323 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
3324 that we don't require $INSTALL to be thread-safe. Move comments
3325 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
3326 of AC_PROG_INSTALL. Output a message saying that we're checking
3327 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
3328 MKDIR_P instead of AC_SUBST.
3329 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
3330 Special magic for MKDIR_P, too.
3331 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
3333 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
3335 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
3337 Sync from Automake, as follows:
3339 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3340 * config/install-sh: Initialize IFS, so field splitting isn't
3342 * config/mkinstalldirs: Likewise.
3343 * config/missing: Remove superfluous quotes. Replace all uses of
3344 `[' by `test', for consistency, and for..
3345 * config/missing (sed_minuso, sed_output): New variables.
3346 (autom4te, help2man, makeinfo): Use them. Unifies detection of
3347 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
3348 Fixes `missing' to detect `--output' for help2man. Fixes
3349 PR automake/483. Report by Dennis J. Linse.
3350 (autom4te): Document in `missing --help'.
3352 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
3354 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
3355 * config/install-sh: Don't use 'path' to talk about file names,
3356 as per GNU coding standards. Close a race condition reported by Ralf
3357 Wildenhues and Stepan Kasal. There is still a race condition
3358 on hosts that predate Posix 1003.1-1992, but we can't help this.
3359 Don't mishandle weird characters like space on pre-Posix hosts.
3360 Invoke mkdir at most once per dir arg on pre-Posix hosts.
3361 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
3362 AC_PROG_MKDIR_P from AS_MKDIR_P.
3363 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
3364 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
3365 earlier editions are not (including Automake 1.8.3).
3366 Do not suggest mkinstalldirs for thread-safety.
3367 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
3368 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
3369 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
3370 presence of special characters and race conditions.
3371 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
3372 in Autoconf's name space.
3374 2006-05-10 Bruno Haible <bruno@clisp.org>
3375 and Paul Eggert <eggert@cs.ucla.edu>
3377 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
3378 from Automake with minor changes.
3379 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
3381 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
3383 * config/install-sh: Update to Automake CVS version, as follows:
3384 2006-04-25 Stepan Kasal <kasal@ucw.cz>
3385 * lib/install-sh: Simplify the expr implementation of dirname.
3386 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
3387 * lib/install-sh: Handle --, and diagnose unknown options.
3389 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3391 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
3392 `./autom4te' to create `./testsuite', since the `all' target
3393 will ensure its presence, but `installcheck' should not create
3394 the uninstalled wrappers.
3396 * tests/torture.at (Unusual Automake input files): Skip if we
3397 detect automake < 1.8.
3399 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3401 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
3402 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
3403 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
3406 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3408 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
3409 munge (multiple) white space and other oddities.
3410 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
3411 single quotes in variable assignment.
3412 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
3413 and similar failures by adding multiple spaces, tabs, and other
3415 Report and different test suggested by Francesco Romani
3416 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
3418 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
3419 single quotes, we only need to search for single quotes; this
3420 both simplifies the search pattern, and makes us less
3421 susceptible to `echo' variations for arguments not containing
3423 (_AC_ARG_VAR_VALIDATE): Likewise.
3425 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3427 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
3428 `$*' and IFS concatenation issue with traditional shells and
3429 bash-2.04. Report by Seanster@Seanster.com.
3431 2006-05-03 Bruno Haible <bruno@clisp.org>
3433 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
3434 precisely which Mac OS X versions have the od problem.
3436 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
3438 * doc/autoconf.texi: Use @option systematically.
3440 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
3441 and Bruno Haible <bruno@clisp.org>
3443 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
3445 (Integer Overflow): Mention the special case of integer division
3448 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3450 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
3451 traditional shells like the Solaris one that do not use the
3452 first IFS character for assembling `$*'.
3453 Prompted by a related report from autoconf_bug@nro.ca.
3455 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
3456 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3458 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
3459 Mention more problems with the -e option.
3461 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3464 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
3466 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
3467 in URLs to improve DVI formatted output (requires texinfo 4.6).
3468 (System Services, Systemology, Shellology): Likewise.
3469 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
3472 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
3474 (Runtime): Fix macro argument names to match description:
3475 `action-if-found' -> `action-if-true' and similarly.
3476 (Obsolete Macros): Likewise.
3477 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
3478 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
3479 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
3481 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3483 * doc/autoconf.texi (Limitations of Make): Clean up markup.
3486 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
3489 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3491 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
3492 /bin/sh set unsorted output.
3493 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
3494 * tests/local.at: Likewise.
3496 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
3498 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
3499 (Integer Overflow, Null Pointers, Buffer Overruns):
3500 (Floating Point Portability, Exiting Portably): New sections.
3501 (Writing Test Programs): Fix some langauge. Recommend exiting
3502 with status 1, not merely nonzero. Clarify exit declaration.
3503 (Run Time): Move C exit status stuff to new Exiting Portably section.
3504 (Systemology): Mention Posix and levenez. Update v7 reference.
3505 (Portable Shell): Mention the Posix shell.
3507 2006-04-25 Stepan Kasal <kasal@ucw.cz>
3509 * bin/autoconf.as (me): Replace by as_me.
3511 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
3513 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
3514 since as_me isn't set yet.
3516 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
3518 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
3519 a few minor bugs in this area.
3521 * doc/autoconf.texi (Programming in M4sh): Comment out the
3522 documentation of AS_BASENAME, for now.
3523 (Shell Substitutions): Do not use AS_DIRNAME in an example.
3524 (Limitations of Builtins) <basename>: Do not refer to
3526 * bin/autoconf.as (me): Don't use AS_BASENAME.
3527 (dir): Remove the unused variable.
3528 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
3529 AS_DETECT_REQUIRED. All uses changed.
3530 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
3532 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
3533 (AS_BASENAME): Use "basename --" to protect against leading "-".
3534 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
3535 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
3536 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
3537 (_AS_DIRNAME_PREPARE): Likewise.
3538 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
3539 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
3540 (AS_DIRNAME): Use "dirname --".
3542 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
3544 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
3545 of "run time" and "run-time" changed to "runtime", for consistency.
3546 * lib/autoconf/fortran.m4: Likewise (in comment).
3547 * lib/autoconf/functions.m4: Likewise.
3548 * lib/autoconf/general.m4: Likewise.
3549 * lib/autoconf/headers.m4: Likewise.
3551 * doc/autoconf.texi (Run Time): Document the exit status situation
3552 with more accuracy and detail.
3554 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3556 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
3557 Archive is not officially `GNU' any more. Update URL.
3558 (Defining Directories): Likewise
3559 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
3561 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3563 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
3564 newline from the `trap' code to finish `config.log'; the NetBSD
3565 /bin/sh resets the exit status after an empty command, as
3566 documented in doc/autoconf.texi.
3567 Reported by Dalibor Topic <robilad@kaffe.org>.
3569 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
3571 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
3572 Suggested by Bruno Haible.
3574 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
3576 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
3577 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
3578 Instead, just list the shells that we know work.
3579 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
3580 changed. Be more cautious about the _cv_ variable.
3581 * tests/tools.at (Syntax of the shell scripts): Check the
3582 _cv_ variable once, at first, to avoid an internal autoconf error
3583 when sh -n does not work.
3585 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3587 * lib/Autom4te/FileUtils.pm: Sync from Automake.
3589 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
3591 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
3592 use ">&-" since we're only 99.999% sure that this is portable,
3593 and since the MinGW bug is fixed in a different way.
3594 * lib/autotest/general.m4 (AT_INIT): Likewise.
3596 2006-04-16 Stepan Kasal <kasal@ucw.cz>
3598 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
3599 before opening config.log, to avoid hitting a bug on MinGW.
3601 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
3603 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
3604 AS_MESSAGE_LOG_FD before reopening it onto the log file.
3605 This works around a MinGW bug reported by Eric Paire.
3606 Make sure that all writes to the log file append to it,
3607 rather than possibly losing data.
3608 * lib/autotest/general.m4 (AT_INIT): Likewise.
3610 2006-04-14 Stepan Kasal <kasal@ucw.cz>
3612 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
3615 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3619 * configure.ac (AC_INIT): Bump to 2.59d.
3621 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3625 * Makefile.maint (news-date-check): Do not require a leading `*'
3626 before the release date in NEWS.
3628 2006-04-12 Stepan Kasal <kasal@ucw.cz>
3629 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3631 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
3632 the instantiated file do not contain the string 'datarootdir'
3633 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
3634 @mandir@, replace the reference '${datarootdir}' by the value.
3635 * tests/torture.at (datarootdir workaround): New test.
3636 * NEWS: Advertise this temporary fixup.
3637 Based on a patch by Bruno Haible, reported and analyzed by
3638 Paul Eggert and Noah Misch.
3640 2006-04-12 Eric Blake <ebb9@byu.net>
3642 * tests/autotest.at (Debugging a failed test): Fix comment.
3644 2006-04-12 Stepan Kasal <kasal@ucw.cz>
3646 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
3647 all the changes since 2006-04-07.
3649 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3651 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
3652 succeeded, but `ln -s file dir' failed, take care to remove the
3653 leftover target before the next test, to prevent its spurious
3654 failure; also make sure `ln file dir' works before selecting it.
3655 Thanks to Keith Marshall for pointing this out.
3658 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
3659 assignments in `at_debug_args', so that we put them correctly
3660 in the `run' script.
3661 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
3662 Reported by Eric Blake.
3664 2006-04-11 Eric Blake <ebb9@byu.net>
3666 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
3667 top-level tests after micro-suite has been run. Used in...
3668 (Debugging a successful test, Debugging script and environment),
3669 (Debugging a failed test): ...these new tests. The first of these
3671 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
3672 macro, split out from...
3673 (AT_INIT): ...here, so that using -d also generates a run script.
3674 Document that -d inhibits top-level logging.
3675 * doc/autoconf.texi (testsuite Invocation): Document that -d only
3676 inhibits top-level logging; debug scripts are created.
3678 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
3680 * tests/autotest.at (Empty test, Empty check): New test to check it.
3682 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
3685 2006-04-10 Stepan Kasal <kasal@ucw.cz>
3687 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
3688 the files if a problem appears. Make the empty *.at files
3689 read-only, too. Proposed by Ralf Wildenhues.
3691 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3693 * config/Makefile.am: Add comment to force updated Makefile.in.
3695 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
3696 space only patch to this file, this patch causes the Makefile.in
3697 files that include freeze.mk to be updated, and thus have a
3698 newer time stamp again, which in turn makes a pristine CVS
3699 checkout have correct time stamps.
3701 * Makefile.maint (cvs-sv): New macro, to be used..
3702 (config.guess-url_prefix, config.sub-url_prefix)
3703 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
3704 point to CVS text checkout of Gnulib files.
3705 (copyright-check): Bump current year.
3706 (announcement): Do not hard-wire `./announce-gen'.
3707 (cvs-update): Propagate failures of `cvs' and `move-if-change'
3709 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
3711 (wget_files): Update config.guess, config.sub, texinfo.tex by
3712 `wget-update', now that their URLs work again.
3714 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
3716 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
3717 Problem noted by Paul D. Smith.
3719 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3721 * doc/autoconf.texi: Remove unused words from word list.
3722 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
3723 .x-sc_trailing_space: New files.
3725 * doc/standards.texi: Sync from gnulib.
3727 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
3728 `LIBOBJDIR' as experimental.
3730 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
3731 with a target directory; it's internally implemented as `cp'
3732 anyway, but since Autoconf advertises the possibility to use
3733 a target directory when LN_S is `ln -s', we need to find out.
3734 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
3735 analyzed by Keith Marshall <keith.marshall@total.com>.
3739 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
3741 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
3742 confdefs.h as-is. In general, if it has backslash-newline or the
3743 like, then it doesn't work either to sort or to remove empty
3746 2006-04-09 Stepan Kasal <kasal@ucw.cz>
3748 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
3750 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
3752 * lib/autom4te.in (Automake-preselections): Preselect
3755 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
3757 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
3758 apostrophe within a single-quoted string, as this is the usual
3759 tradition and is easier to read than '"'"'. Don't rely on the
3760 shell treating "$/" like '$/'. Use a more-consistent indenting
3763 2006-04-09 Eric Blake <ebb9@byu.net>
3765 * tests/autotest.at (Backquote command substitution),
3766 (Multiline backquote command substitution): Remove mistaken
3767 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
3769 (Parenthetical command substitution, Multiline parenthetical
3770 command substitution): here.
3772 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
3774 Import macros from gnulib (often changing their name).
3776 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
3777 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
3778 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
3779 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
3780 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
3781 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3782 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
3783 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
3784 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
3785 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
3786 The manual mentions Gnulib more prominently.
3787 * doc/autoconf.texi (Gnulib): New node.
3788 (Pointers): Add Gnulib URL.
3789 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
3790 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
3792 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
3793 suggest a #define rather than a typedef for _Bool, and mention
3794 Gnulib rather than trying to substitute stdbool code.
3795 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
3796 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
3797 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
3798 AC_STRUCT_DIRENT_D_TYPE.
3799 (Particular Types): Mention stdint.h and inttypes.h as standard
3801 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
3802 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
3803 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
3804 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
3805 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
3806 (C Compiler): Move AC_C_LONG_DOUBLE to ...
3807 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
3808 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
3809 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
3810 (Coding Style). Don't mention m4_expand_once.
3811 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
3812 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
3813 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
3814 (AC_CHECK_FUNCS): Use it.
3815 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
3816 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
3817 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
3818 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
3819 (AC_HEADER_ASSERT): New macro.
3820 (AC_HEADER_STDBOOL): Don't assume "#error" works.
3821 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
3822 Catch a bug in an HP-UX C compiler.
3823 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
3824 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
3825 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
3826 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
3827 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
3828 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
3831 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
3832 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
3834 2006-04-08 Stepan Kasal <kasal@ucw.cz>
3836 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
3837 of the warning introduced by the 2001-08-28 change.
3839 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
3840 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3842 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
3843 variables shall be overriden by the cache.
3844 * tests/torture.at (AC_ARG_VAR): Test also with a first value
3845 that contains braces.
3847 2006-04-07 Stepan Kasal <kasal@ucw.cz>
3849 Revert the patch from 2006-04-01 and only improve
3850 _AS_DETECT_BETTER_SHELL:
3852 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
3853 skip nonexistent directories.
3854 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
3855 only shell candidates which exist.
3856 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
3857 * lib/autotest/general.m4 (AT_INIT): No need to give three
3858 parameters to _AS_PATH_WALK.
3860 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
3861 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3863 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
3864 distinguish m4sugar macros.
3865 * tests/tools.at (autoupdating with aclocal and m4_include):
3866 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
3867 test case by Noah Misch <noah@cs.caltech.edu>.
3869 2006-04-07 Stepan Kasal <kasal@ucw.cz>
3871 Revert my change from 2006-03-17, in other words:
3872 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
3874 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
3875 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
3878 2006-04-07 Eric Blake <ebb9@byu.net>
3880 * doc/autoconf.texi (Programming in M4sh): Document that
3881 AS_MKDIR_P exits the script on failure.
3882 * lib/autotest/general.m4: Remove redundant AS_ERROR.
3884 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3886 * config/elisp-comp, config/install-sh, config/mdate-sh,
3887 config/missing, config/mkinstalldirs: Sync from Automake.
3889 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
3892 * doc/make-stds.texi: Sync from gnulib.
3894 2006-04-06 Eric Blake <ebb9@byu.net>
3896 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3897 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
3900 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
3901 Eric Blake <ebb9@byu.net>,
3902 Paul Eggert <eggert@cs.ucla.edu>,
3903 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3905 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
3906 whether `set' quotes correctly: redirect stderr of the tested
3907 `set', and use a subshell, for Ultrix; use `sed' instead of
3908 `grep' for zsh `set' which may write binary output; match only
3909 at the beginning of a line, to avoid false positives.
3910 In order to avoid false positives by unrelated variables with
3911 multiline content, put the dump algorithm in a subshell and
3912 unset all variables containing newlines (except some which are
3913 special to the shell). Warn about cache variables that are
3916 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3918 * config/config.guess, config/config.sub, config/texinfo.tex:
3921 * tests/mktests.sh: Reword comments.
3923 * tests/mktests.sh: Only skip internal macros starting with
3924 `_AC_' or `__AC_'. Noted by Stepan Kasal.
3925 Update exclusion lists for the test suite to this end:
3926 (AC_ARG_VAR): Do test this now.
3927 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
3928 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
3929 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
3930 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
3932 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
3933 shell issue with double-quoted command substitutions of native
3935 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
3938 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
3939 no file matches the glob, discard the warning, set `nullglob'.
3940 (syntax-check): Likewise.
3941 (sc_cast_of_x_alloc_return_value): Likewise.
3942 (sc_cast_of_alloca_return_value, sc_error_exit_success)
3943 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
3944 (m4-check): Likewise.
3945 (sc_system_h_headers): Do not print rule on execution.
3946 (sc_tight_scope): Do not fail for non-existing `src' directory.
3947 (sc_changelog): Skip the Copyright footer.
3948 * lib/autoconf/lang.m4: Remove trailing space.
3950 * lib/autoconf/status.m4: More replacements to
3951 <tab><space> where this makes sense.
3953 2006-04-06 Stepan Kasal <kasal@ucw.cz>
3955 * tests/Makefile.am (maintainer-check-posix):
3956 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
3958 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
3959 ac_config_<foo>s again, sometimes normalized, sometimes not.
3960 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
3961 (AC_CONFIG_COMMANDS): Do not do so here.
3962 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
3963 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
3964 2005-07-25 rewrite. Noticed by Noah Misch.
3966 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
3967 _AC_PRESERVE_HELP_ORDER, ...
3968 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
3970 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
3971 inside m4_expand_once; it is redundant.
3973 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
3974 for --help from Cygnus `configure.'
3976 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
3978 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
3979 on a patch proposed by Ralf Wildenhues.
3981 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
3983 * lib/autoconf/status.m4: Replace <space>''<tab> with
3984 <tab><space> where this makes sense.
3986 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
3987 Noah Misch <noah@cs.caltech.edu>
3989 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
3990 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
3991 * doc/autoconf.texi (Help Formatting): New node.
3992 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
3994 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3996 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
3997 lib/autoconf/specific.m4, lib/autoconf/status.m4,
3998 lib/autoconf/types.m4, lib/autotest/general.m4,
3999 tests/mktests.sh, tests/torture.at: White space cleanup:
4000 remove some SPACE before TAB, or add quoting ('' or @&t@).
4002 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
4004 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
4006 2006-04-05 Eric Blake <ebb9@byu.net>
4008 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
4009 empty test suite works.
4010 * tests/autotest.at (Empty test suite): Remove xfail.
4012 2006-04-05 Noah Misch <noah@cs.caltech.edu>
4014 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
4015 TAGS to ac_config_<foo>s.
4016 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
4017 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
4018 normalizing it, consistent it with previous releases.
4019 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
4021 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
4023 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
4024 Use simplified args that Eric Blake originally suggested.
4026 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
4028 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
4029 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
4030 Use 'comm' rather than N instances of grep; this also fixes a bug
4031 whereby substrings were incorrectly matched, causing us to not
4032 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
4033 (exclude_list): Exclude empty macros.
4034 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
4036 Use awk rather than grep -E or egrep, to avoid
4037 portability problems with regular expressions containing newlines.
4038 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
4039 Switch from grep to awk syntax.
4040 (ac_exclude_script): Renamed from ac_exclude_egrep.
4041 (au_exclude_script): Renamed from au_exclude_egrep.
4043 2006-04-04 Noah Misch <noah@cs.caltech.edu>
4045 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
4046 a subdirectory subject to Cygnus `configure'.
4047 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
4049 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
4050 report request when we have no AC_PACKAGE_BUGREPORT.
4052 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4056 * tests/mktests.sh: Update copyright year in the header of the
4059 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
4060 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
4061 typedef'ed restricted pointer, to catch a compiler bug on
4062 HP-UX 11.x, and fix warnings so it passes with -Werror.
4063 (_AC_PROG_CC_C99): Likewise.
4064 Reported by Albert Chin <china@thewrittenword.com>.
4065 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
4067 2006-04-03 Noah Misch <noah@cs.caltech.edu>
4069 * bin/autoscan.in (subdirs): New global.
4070 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
4071 (output): Emit AC_CONFIG_SUBDIRS as needed.
4072 * tests/autoscan.at (autoscan): Remove XFAIL.
4074 2006-04-03 Noah Misch <noah@cs.caltech.edu>
4076 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
4078 2006-04-03 Eric Blake <ebb9@byu.net>
4080 * THANKS: Add myself.
4082 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4084 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
4085 to log, point to testsuite output tree.
4087 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
4089 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
4090 * doc/autoconf.texi (Function Portability): Mention that C++
4091 has trouble with 'exit'.
4092 (Guidelines): Test programs shouldn't use 'exit'.
4093 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4094 Remove; all uses removed.
4095 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
4096 Return from 'main' instead of calling 'exit'.
4097 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
4098 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
4099 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
4100 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
4101 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
4102 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4103 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4104 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
4105 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4106 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4107 * tests/compile.at: Likewise.
4109 2006-04-02 Pavel Roskin <proski@gnu.org>
4111 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
4113 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4115 Clean up _AC_COMPILER_EXEEXT* macros.
4117 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
4118 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
4119 ac_file to the name of the default output file and call
4120 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
4121 initial `rm' of the candidate files...
4122 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
4123 the same list in subsequent `rm' calls, and for the temporary
4124 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
4125 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
4126 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
4127 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
4128 no longer needed) by libtool. Make it a cache check.
4129 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
4130 copied here by mistake.
4131 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
4132 _AC_COMPILER_EXEEXT.
4133 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
4134 _AC_COMPILER_OBJEXT directly.
4135 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4137 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4139 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
4140 (AS_DIRNAME): Use it.
4141 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
4143 * tests/*.at: Remove the generated ones.
4145 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4147 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
4149 2006-04-01 Eric Blake <ebb9@byu.net>
4151 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
4152 directories, unless optional third argument supplied.
4153 (AS_UNAME): Don't optimize PATH walk.
4155 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
4157 2006-04-01 Eric Blake <ebb9@byu.net>
4158 and Stepan Kasal <kasal@ucw.cz>
4160 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
4163 2006-04-01 Noah Misch <noah@cs.caltech.edu>
4165 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
4166 Autoconf version number despite a zero- or one-argument AC_INIT.
4168 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
4170 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
4171 * doc/autoconf.texi (autoreconf Invocation): Document it.
4173 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
4174 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
4176 2006-04-01 Eric Blake <ebb9@byu.net>
4178 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
4179 * lib/autotest/general.m4: Be tolerant of existing directory when
4180 rm failed to remove it.
4182 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4184 * bin/autoupdate.in: Redefine m4_location so that warnings print
4185 the correct lines of the input file by subtracting..
4186 (_au__first_line): ..this new definition.
4188 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
4189 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
4190 Remove stray newline in output.
4191 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
4192 AC_DEFUN this for autoconf, including the obsoletion diagnose.
4193 Fixes autoupdating of code where the replacement output contains
4195 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4196 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
4197 (au_exclude_list): Add AC_LANG_SAVE.
4198 * tests/tools.at: Several new tests for all of this.
4199 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
4201 The AC_LANG_SAVE issue was reported against Libtool by
4202 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
4203 Kristian Kvilekval <kris@cs.ucsb.edu>.
4205 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4207 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
4208 switch all of them on and of when necessary. Fixes the bug when
4209 m4sugar macros (e.g., m4_define) were expanded after the first
4210 automatic update (e.g., after AC_PREREQ or AC_INIT).
4212 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
4214 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
4215 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
4217 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
4218 correctly. Problem reported by Eric Blake.
4219 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
4222 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
4224 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
4225 Tighten up the basename/dirname wording.
4227 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4229 * Makefile.maint (sc_texi_notab): New check: do not use TABs
4230 in texinfo files outside of verbatim environments.
4231 (syntax-check-rules): Update.
4232 * doc/autoconf.texi (Configuration Headers): Conform to it.
4234 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
4236 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
4237 aclocal cannot be given on the command line.
4239 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
4241 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
4242 Give an example for AS_DIRNAME instead of referring to Posix..
4243 (File System Conventions): Put discussion of // versus / here, and
4245 (Limitations of Usual Tools): Add basename. Remove verbiage
4246 after dirname, since it got moved to the above sections.
4247 All this was inspired by a patch proposed earlier by Eric Blake.
4249 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4251 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
4252 `$0' to protect against spaces.
4253 * lib/autotest/general.m4 (AT_INIT): Likewise.
4254 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
4257 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4259 * bin/autoscan.in: The value of find_configure_ac should be
4260 checked for existence, so we don't barf over a nonexisting
4261 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
4263 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4265 * bin/autoupdate.in: Fix some typos.
4267 2006-03-21 Stepan Kasal <kasal@ucw.cz>
4269 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
4271 * lib/autoscan/autoscan.list: Refreshed.
4273 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4275 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
4276 and Erlang related variables.
4278 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
4279 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
4280 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
4281 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
4282 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
4283 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
4284 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
4285 (_AC_PROG_OBJC_G): New macros.
4286 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
4287 * doc/autoconf.texi (Objective C Compiler): New node.
4288 (Preset Output Variables): Document OBJCFLAGS.
4289 (Language Choice): Document `Objective C' language.
4290 (Fortran Compiler): Fix typo.
4292 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
4294 2006-03-20 Stepan Kasal <kasal@ucw.cz>
4296 * doc/autoconf.texi (Default Includes): Fix typo
4297 s/AC_HEADERS_STDC/AC_HEADER_STDC/
4298 (Limitations of Usual Tools): s/unwriteable/unwritable/
4299 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
4300 Fix typos in the comments.
4302 2006-03-17 Stepan Kasal <kasal@ucw.cz>
4304 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
4305 Factor out the warning to...
4306 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
4307 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
4308 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4310 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
4311 case `ac_delim' when writing the sed script.
4313 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
4314 moved DUALCASE=1 ...
4315 (AS_SHELL_SANITIZE): ... here.
4316 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
4319 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
4321 (_AC_PATH_PROG): Store the result to VARIABLE.
4322 (AC_PATH_PROG): No need to set VARIABLE again.
4324 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
4325 the first one is usual AT_CHECK_MACRO test, the second one checks
4326 that the same works when cross-compiling.
4327 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
4328 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
4330 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4332 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
4333 the directory `/usr/bin/posix' in the shell search, to prefer
4334 the Posix shell not only in subsequent spawns as with `$BIN_SH'
4337 * doc/autoconf.texi (contents): To fix texi2html output, hide
4338 `@setcontentsaftertitlepage' for HTML.
4339 (Writing Autoconf Macros): Likewise, insert space after `@c'.
4340 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
4343 2006-03-16 Stepan Kasal <kasal@ucw.cz>
4345 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
4347 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
4348 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
4349 why IFS is restored so late; thank you, Ralf, for reminding us.
4351 2006-03-15 Stepan Kasal <kasal@ucw.cz>
4353 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
4354 variables in the examples.
4356 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
4358 * doc/autoconf.texi (several sections): Cleaned up documentation for
4359 macros in erlang.m4.
4361 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4363 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
4364 failure condition for `$(cmd)' style command substitutions.
4365 (Parenthetical command substition, Multiline parenthetical
4366 command substition): Use it.
4368 * doc/autoconf.texi (Special Shell Variables): Missing word.
4369 Reported by Keith Marshall <keith.marshall@total.com>.
4371 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
4372 IFS even in case of empty `$PATH'.
4374 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4376 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
4377 `expr' away if there is nothing to do.
4378 < --keywords >: Simplify and robustify argument handling.
4379 Revert erroneous comment from 2005-08-23. Extend to allow
4380 keyword negation with `!'.
4381 Update help message. Remove broken code to prevent running
4382 tests multiple times.
4383 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
4384 Update and fix the documentation accordingly.
4385 * tests/autotest.at (Keywords): Renamed to..
4386 (Keywords and ranges): .. this. Extended to make sure negated
4387 keywords, keywords taken from AT_SETUP arguments, and numeric
4388 test ranges work, and that matching is case-insensitive.
4390 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4392 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
4393 allow to pass unnamed structs even in C++.
4394 (AC_CHECK_SIZEOF): Likewise.
4395 Also fix quoting error in `AC_MSG_FAILURE' arguments.
4396 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
4397 struct): New tests for unnamed structs, each both native and
4400 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
4401 a structure inside a cast, for C++ conformance.
4402 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
4403 Also fix quoting error in `AC_MSG_FAILURE' arguments.
4405 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
4406 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
4407 trying to execute the command `no'.
4409 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
4410 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
4413 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
4414 example. Do not emphasize `$%', it is hardly new and special.
4415 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
4417 * doc/autoconf.texi (Limitations of Usual Tools): Document
4418 OpenBSD and traditional `grep' failure to handle multiple
4419 patterns separated by newlines.
4421 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
4423 * doc/autoconf.texi (several sections): Add documentation for macros
4426 2006-03-10 Eric Blake <ebb9@byu.net>
4428 * doc/autoconf.texi (Obsolete Macros): Fix wording of
4431 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
4433 * doc/autoconf.texi: Use @acronym more consistently for acronyms
4434 like BSD, GPL, LGPL. Fix minor English typos.
4435 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
4436 Mention that these macros are becoming obsolete.
4437 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
4438 Use more modern terminology for which standard is what.
4439 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
4441 (AC_PROG_CXX): Likewise.
4442 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
4443 Remove obsolete discussion about how to port to K&R.
4444 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
4445 the obsolescent AC_HEADER_STDC.
4446 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
4449 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4451 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4452 Remove stdin redirection from /dev/null to allow pipe to work.
4454 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
4456 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4457 Require that /lib/cpp include stdio.h correctly. Solaris 10's
4458 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
4461 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4463 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
4464 HP-UX sed is 99 commands, not 100.
4465 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
4466 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
4467 newline for portability.
4468 * tests/torture.at (Torturing config.status): Also test 100
4469 AC_SUBST_FILE invocations. Fix test to actually verify the
4470 AC_CONFIG_FILES output.
4471 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
4472 command, label, and read-file `r' limits. Unify HP-UX spelling.
4474 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
4476 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
4478 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
4479 * tests/mktests.sh: Small shell portability fixes.
4481 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4483 * doc/autoconf.texi (Caching Results): Fix the examples to use a
4484 recommended quoting style and discard unwanted output.
4486 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
4488 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
4489 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
4490 cases, and to work around Tru64 expr bug.
4492 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4494 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
4495 expr bug that turns the result of a regex match into a number if
4498 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4500 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
4501 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
4502 in section `Specific Compiler Characteristics'.
4504 2006-03-04 Eric Blake <ebb9@byu.net>
4506 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
4509 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4511 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
4512 order of variable initialization, so even the Solaris 2.6 shell
4513 can create a config header correctly. Fixes lots of test suite
4516 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4518 * doc/autoconf.texi (Text processing Macros): New node to
4519 document the m4sugar macros m4_re_escape, m4_tolower,
4520 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
4522 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
4524 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
4525 XrmInitialize (0) -> XrmInitialize ().
4526 Reported by Toshio Kuratomi.
4528 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4530 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
4531 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
4532 * doc/autoconf.texi (Programming in M4sh): Adjusted.
4533 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
4534 both macros are defun'ed so that required macros are evaluated
4537 * doc/autoconf.texi (Prerequisite Macros): State more precisely
4538 where a required macro will be expanded.
4539 (Coding Style): Another reason not to use `m4_define'.
4541 2006-02-21 Eric Blake <ebb9@byu.net>
4543 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
4545 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4547 * doc/autoconf.texi (Looping constructs): New node, to
4548 document m4_for, m4_foreach, m4_foreach_w, and mention
4549 obsolete AC_FOREACH.
4550 (Obsolete Macros): Document AC_FOREACH.
4551 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
4552 (m4_for): Fix to never loop (almost) endlessly, work correctly
4553 with arithmetic expressions in arguments, a step of zero or
4554 non-integer multiple of the interval, and avoid integer
4556 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
4559 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
4561 Add basic support for Erlang, both for configuring Erlang/OTP
4562 tools, and Erlang as a conf test language.
4563 * lib/autoconf/erlang.m4: New file.
4564 * lib/autoconf/autoconf.m4: Add erlang.m4.
4565 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
4566 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
4567 * NEWS: Add short description of new macros.
4568 * THANKS: Add Romain Lenglet.
4570 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4572 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
4573 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
4575 2006-02-15 Eric Blake <ebb9@byu.net>
4577 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
4580 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4582 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
4583 (_AS_CASE): Private helper macro.
4584 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
4585 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
4586 Fix syntax of AS_IF description
4587 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
4588 for the AC_REQUIRE mess.
4589 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
4592 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
4594 * doc/autoconf.texi: Minor style cleanup.
4595 Be consistent about spaces after commas.
4596 Insert [] where empty args look a bit funny.
4597 Fix some "i.e." and "e.g." usages.
4598 Try to avoid "X/Y" usages.
4599 Don't be pedantic about "ISO C99"; just say C99.
4600 Prefer GNU style for spaces in front of parens.
4601 (Function Portability): Comment about C89 versus C99
4602 signed integer division.
4603 (Particular Headers): Use current gnulib style for dirent
4606 2006-02-14 Stepan Kasal <kasal@ucw.cz>
4607 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4609 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
4610 macros without parameters.
4611 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
4612 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
4613 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
4615 (autoupdate): Updated to match AU_ALIAS fix.
4617 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4618 and Paul Eggert <eggert@cs.ucla.edu>
4620 * doc/autoconf.texi (Programming in M4sh): Document
4621 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
4623 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4625 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
4626 (AS_BOURNE_COMPATIBLE): ..this.
4627 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
4629 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
4631 * doc/install.texi (Defining Variables): Tighten up the
4632 CONFIG_SHELL wording.
4634 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
4635 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4637 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
4638 of (set -o) rather than testing whether (set -o posix) succeeds,
4639 to work around a bug in the AIX 5.3 shell. Problem originally
4640 reportd by Howard Chu for libtool.
4642 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
4644 * doc/autoconf.texi (Running the Compiler, Running the Linker):
4645 Changes the macro arguments in summaries to match the
4648 2006-02-04 Stepan Kasal <kasal@ucw.cz>
4650 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
4651 hint as ``a workaround for a bug.''
4653 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4655 * bin/autoreconf.in: New option `--no-recursive'.
4656 Improve wording for subpackages a bit.
4657 * doc/autoconf.texi (autoreconf Invocation): Updated.
4660 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
4661 in environment of `configure', not the command line.
4662 Reported by Howard Chu <hyc@highlandsun.com>.
4664 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
4666 * doc/autoconf.texi (Limitations of Builtins): Document the
4667 problem with "trap -".
4669 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
4671 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
4672 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
4673 messages to differentiate Fortran and Fortran 77 tests.
4674 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
4675 AC_LANG_ASSERT, to allow use in mixed-language projects.
4677 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
4679 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
4680 FOO" to "defined (FOO)".
4681 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
4682 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
4683 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
4684 * tests/tools.at (ifnames): Likewise.
4686 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4688 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
4689 * lib/Autom4te/General.pm (mktmpdir): Likewise.
4690 (END): Improve error message a bit.
4691 Reported by Bruce Korb <bkorb@gnu.org>.
4693 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4695 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4696 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
4698 2006-01-11 Stepan Kasal <kasal@ucw.cz>
4700 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
4701 requires sys/stream.h. Reported by Oliver Kiddle.
4703 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4704 Stepan Kasal <kasal@ucw.cz>
4706 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
4707 before the removals of test dirs, use `find' to avoid modification
4708 of symlinked directories.
4710 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
4712 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
4713 Don't ignore the macro arguments.
4715 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
4717 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
4718 declaration that works for MSVC.
4720 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4722 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
4723 Add `*.map' and `.inf' for Green Hills compiler.
4724 Reported by Stefan Seefeld <stefan@codesourcery.com>.
4726 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
4727 correctly: pad with spaces after FIRST_PREFIX if necessary,
4728 and compute string lenghts with `m4_qlen' instead of `m4_len'.
4729 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
4730 * tests/m4sh.at (AS_HELP_STRING): Test extended.
4732 Reported by numerous people, numerous times.
4734 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
4736 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
4737 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
4738 * lib/autoconf/general.m4, lib/autoconf/status.m4:
4739 * lib/autotest/general.m4, tests/local.at:
4740 Update copyright year to 2006.
4742 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
4744 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
4745 for file names, again. Reported by Noah Misch.
4746 (Coding Style): Explain that s|a|b| is preferred for file names.
4747 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
4748 (AC_OUTPUT_MAKE_DEFS): Likewise.
4749 * lib/autotest/general.m4 (AT_INIT): Likewise.
4750 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
4751 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
4753 Fix Posix-conformance bugs re use of { command in sed scripts,
4754 and improve the sed-related documentation a bit.
4755 * doc/autoconf.texi (Installation Directory Variables): Use
4756 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
4757 rather than "sed" when talking about Sed in general.
4758 (Particular Programs): Likewise.
4759 (Coding Style): y is like s with respect to / and ,.
4760 (Limitations of Usual Tools): Document the weird restrictions
4761 that Posix has about { }. Use better quoting.
4762 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
4763 Rewrite to conform to Posix rules about { } in sed scripts.
4764 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
4765 * tests/foreign.at (Libtool): Likewise.
4766 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
4767 Use our own style advice re 's,a,b,' versus 's|a|b|'.
4769 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4771 * lib/autoconf/status.m4: Fix typo.
4773 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
4774 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
4775 `-def', for the benefit of Portland `pgf90 -Mipa'.
4776 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
4778 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
4780 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
4781 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
4782 shell from zsh to bash.
4784 2005-12-31 Stepan Kasal <kasal@ucw.cz>
4786 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
4787 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
4789 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
4791 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
4792 parentheses in $(...). Problem reported by Eric Blake.
4794 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
4796 * doc/autoconf.texi (Limitations of Usual Tools):
4797 Mention which characters can be escaped with \ in portable regular
4798 expressions used in grep, sed, expr. Mention the leading ^ problem
4799 with expr. Clean up some confusing wording. Mention which
4800 grep options are portable.
4802 2005-12-09 Stepan Kasal <kasal@ucw.cz>
4804 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
4806 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
4808 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
4809 patch, noted by Ralf Wildenhues.
4811 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4813 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
4814 posix' unconditionally, for pdksh in `native sh' emulation.
4816 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
4818 * doc/autoconf.texi (Shellology): Document eval $? problem
4820 (Limitations of Builtins): Likewise.
4822 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4824 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
4825 CONFIG_SHELL in the environment of the configure rerun.
4826 * doc/autoconf.texi (Here-Documents, config.status Invocation):
4827 Suggest passing CONFIG_SHELL absolute, and in the environment
4828 rather than as option.
4830 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4832 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
4833 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
4834 Fix macro quoting. Fix output for n * 98 substituted variables.
4836 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4838 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
4839 `tmp' to avoid file removal race.
4841 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4843 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4844 ac_clean_files and LIBOBJS.
4846 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4848 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
4849 Factor functionality to..
4850 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
4851 `AC_SUBST($1)' in the public version.
4852 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
4853 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
4856 2005-11-01 Stepan Kasal <kasal@ucw.cz>
4858 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
4861 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4863 * NEWS: Move AH_HEADER mention to right place.
4865 2005-10-27 Stepan Kasal <kasal@ucw.cz>
4867 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
4868 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4870 2005-10-25 Stepan Kasal <kasal@ucw.cz>
4872 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
4873 conftst2.$ac_objext.
4874 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4876 2005-10-24 Stepan Kasal <kasal@ucw.cz>
4878 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
4879 conftest.o, to see whether the compiler really obeys; rm the object
4880 file before and after the test and register it with ac_clean_files.
4881 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
4883 2005-10-21 Stepan Kasal <kasal@ucw.cz>
4885 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
4886 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
4887 code so that the most common case requires less forks.
4889 2005-10-20 Stepan Kasal <kasal@ucw.cz>
4891 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
4892 not portable; thanks to Paul Eggert and Alexandre.
4894 * NEWS: Fix an old typo.
4896 2005-10-20 Jim Meyering <jim@meyering.net>
4898 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
4899 the latter'', in two places.
4901 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
4903 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
4904 AC_LANG_PROGRAM, fixing a typo. Don't give details about
4905 the inner workings of AC_LANG_FUNC_LINK_TRY.
4906 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
4907 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
4908 by the function rather than ignoring it.
4909 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
4910 comparing its address. Intel's interprocedural optimization was
4911 outsmarting the old heuristic. Problem reported by
4914 2005-10-19 Stepan Kasal <kasal@ucw.cz>
4916 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
4918 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
4920 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
4921 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
4923 2005-10-04 Stepan Kasal <kasal@ucw.cz>
4925 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
4926 before removing it (chmod -R u+rwx); there are three instances of this.
4928 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4929 Stepan Kasal <kasal@ucw.cz>
4931 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
4932 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
4933 make its content writable before removing it. Remove an errorneous
4934 comment from the end, where the logs of the failed tests are copied
4935 to the main log file.
4937 2005-09-27 Stepan Kasal <kasal@ucw.cz>
4939 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
4940 in case the computer is too quick. Double quote the configure.ac
4943 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
4944 problems if the testsuite were running too fast.
4946 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
4948 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
4949 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
4950 (which belong to Xt, not X itself). See Debian bug 327655.
4951 * NEWS: Mention this.
4953 2005-09-07 Stepan Kasal <kasal@ucw.cz>
4955 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
4957 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
4959 * config/move-if-change: Don't output "$2 is unchanged";
4960 suggested by Ben Elliston. Handle weird characters correctly.
4962 2005-09-06 Stepan Kasal <kasal@ucw.cz>
4964 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
4965 calls, so that the final expansion of this macro is shorter.
4966 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
4967 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
4968 the cleanup there. Use AS_VAR_* macros, to be more general.
4969 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
4971 * lib/autoconf/general.m4: Use AS_IF where appropriate.
4973 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
4975 2005-09-01 Stepan Kasal <kasal@ucw.cz>
4977 * doc/autoconf.texi (Configuration Headers): Add an index entry
4980 2005-08-26 Pavel Roskin <proski@gnu.org>
4982 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
4983 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
4986 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
4988 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
4989 The previous patch didn't work, so try a better one.
4991 2005-08-26 Stepan Kasal <kasal@ucw.cz>
4993 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
4994 in the example. Reported by Bruno Haible.
4995 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
4996 "if $undefined_var;" succeeds with my shell.
4998 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
4999 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
5000 but change the m4_divert_text to m4_divert_once.
5002 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
5004 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5005 Work around bug in Solaris /usr/xpg4/bin/awk.
5006 The bug is present in at least Solaris 8 through 10.
5008 2005-08-24 Stepan Kasal <kasal@ucw.cz>
5010 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
5011 some evil values and relying on the fact that $* concatenates the
5012 parameters by the first character from IFS.
5014 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
5015 Stepan Kasal <kasal@ucw.cz>
5017 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
5018 first header appears, define AH_HEADER.
5019 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
5020 Update limitations about when to call AC_CONFIG_HEADERS.
5021 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
5022 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
5023 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
5024 ``Configuration Actions''; fix their index entries.
5026 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
5027 options correctly. Process N-M as M-N if M is smaller than N.
5028 Process ranges correctly so that N-N will run only N.
5029 Sort and uniquify the tests that will be run. If there is more
5030 than one test, reinsert the banners for the tests.
5031 * tests/autotest.at (Keywords): Unmark XFAIL.
5033 2005-08-23 Stepan Kasal <kasal@ucw.cz>
5035 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
5036 before passing the macro name to AH_TEMPLATE.
5038 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
5039 now opens log after option processing; in particular, --version
5040 and --help do not touch config.log.
5042 * Makefile.maint: Revert the change from 2005-08-12.
5044 2005-08-22 Stepan Kasal <kasal@ucw.cz>
5046 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
5048 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
5050 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5052 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
5053 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
5056 * doc/autoconf.texi (Defining Symbols, Changed Results):
5057 Prepend to LIBS, not append, in examples.
5059 2005-08-16 Stepan Kasal <kasal@ucw.cz>
5061 When building in place, set srcdir="."; suggested by Tim Van Holder.
5063 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
5064 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
5065 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
5066 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
5067 does not mean "no --srcdir option".
5069 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5071 * tests/autoscan.at (autoscan): New file.
5072 * tests/suite.at: Use it.
5073 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
5074 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
5076 * tests/autotest.at (Keywords): Test keywords combinations.
5078 2005-08-12 Stepan Kasal <kasal@ucw.cz>
5080 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
5081 add "2>&1"; gzip 1.2.4 prints help on stderr.
5083 2005-07-27 Stepan Kasal <kasal@ucw.cz>
5085 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
5086 was pushdef'ed twice while popped only once. Push it only once.
5087 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
5089 2005-07-26 Stepan Kasal <kasal@ucw.cz>
5091 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
5092 prefixed by mere "===", not "configure: === ".
5094 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
5096 * Makefile.maint: Update from Bison.
5098 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
5099 "<tab>" in comment, so that the point is understandable.
5101 2005-07-25 Stepan Kasal <kasal@ucw.cz>
5103 Rewrite substantial part of lib/autoconf/status.m4.
5104 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
5105 and CONFIG_COMMANDS are not processed in four separate loops.
5106 Instead, there is one main loop. This alows that the common code
5107 is expanded only once, thus config.status (and configure) is smaller.
5109 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
5110 the AC_LIST_FILES and cousins macros are no longer used.
5112 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
5113 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
5114 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
5115 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
5116 contain the initialization, nor the for loop, nor the associated
5117 commands; all these go to ...
5118 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
5119 _AC_OUTPUT_CONFIG_STATUS.
5120 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
5121 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
5122 (_AC_OUTPUT_FILE): The creation of the sed script ...
5123 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
5124 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
5125 _AC_OUTPUT_MAIN_LOOP.
5126 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
5127 _AC_CONFIG_COMMANDS): Use ...
5128 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
5129 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
5130 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
5131 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
5132 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
5133 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
5135 (_AC_CONFIG_UNIQUE): Update.
5136 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
5137 Replaced by this ...
5138 (_AC_LIST_TAGS): ... new common macro.
5139 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
5140 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
5141 (_AC_LIST_TAG_COMMANDS): ... new common macro.
5142 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
5143 this didn't belong to the `config commands' section.
5144 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
5145 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
5146 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
5147 to the `config commands' section either.
5148 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
5149 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
5151 ... and many changes to the comments nearby.
5153 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
5154 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
5155 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
5156 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
5157 (#define header templates): The comment at the top of the generated
5158 header now includes the name(s) of the source file(s).
5160 Several unrelated small changes:
5162 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
5163 parameter to AC_DIAGNOSE.
5164 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
5165 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
5166 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
5167 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
5169 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
5170 in AC_OUTPUT doesn't double-quote it either.
5171 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
5174 2005-07-10 Stepan Kasal <kasal@ucw.cz>
5176 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
5177 versions of Portland Group compiler produce single- and double-quoted
5178 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
5179 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5181 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
5183 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5184 This is a corrected version of yesterday's patch.
5186 2005-07-07 Stepan Kasal <kasal@ucw.cz>
5188 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
5189 path, too; insert a "===" to emphasize the line.
5191 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
5192 ac_cv_build_alias to ac_build_alias.
5193 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
5195 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
5196 change eliminates it. Problem reported by Alexandre Duret-Lutz.
5197 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
5198 (AC_ARG_VAR): ... here.
5199 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
5202 Keep a list of all precious variables and process them with one simple
5203 for loop, instead of expanding all commands, or, OTOH, complicated
5204 processing of output of "set".
5205 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
5206 variable names in new macro...
5207 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
5208 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
5209 a loop to assign all ac_env_* and ac_cv_env_* variables.
5210 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
5212 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
5213 its value to shell variable ac_precious_vars and call
5214 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
5215 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
5216 _AC_ARG_VAR_VALIDATE.
5218 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
5219 and the AC_SUBSTs ...
5220 (AC_INIT): ... here.
5222 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
5223 the ac_subst_files section in config.log.
5225 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
5227 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
5229 * NEWS: New macro AC_C_TYPEOF.
5230 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
5231 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
5232 * tests/c.at (C keywords): Test AC_C_TYPEOF.
5234 Fix problems reported by Nicolas Joly.
5235 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
5236 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5237 They are generated by the Tru64 v5.1B shell.
5239 2005-07-05 Stepan Kasal <kasal@ucw.cz>
5241 Fix my changes from 2005-07-01; reported by Noah Misch.
5242 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
5243 description, the macro now accepts only a single tag.
5244 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
5246 Fix cases when the varsions of Autoconf and Autotest don't match.
5247 Reported by Noah Misch.
5248 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
5249 at_top_builddir, for compatibility with older autotest.
5250 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
5251 is not set, use at_top_builddir, for compatibility with older
5252 versions of autoconf.
5254 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
5256 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
5257 Problem reported by Patrick Welche.
5259 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
5261 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
5262 sed substitution command, so that we allow | in program prefixes
5263 and program suffixes. (& is a problem anyway; we're not fixing
5265 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
5266 configure_input, top_builddir, srcdir, etc.
5267 * lib/autotest/general.m4 (AT_INIT): Likewise, for
5268 PATH_SEPARATOR in AUTOTEST_PATH.
5270 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
5272 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
5273 for loop over config.site files using `set', to allow
5274 directory names containing IFS characters.
5276 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
5278 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
5279 directories with weird names. Apparently some people like living
5280 on the edge. However, improve the test that "pwd" actually does
5281 report a name for the working directory.
5282 * NEWS: Remove the claim that we test for funny chars in dir names.
5284 2005-07-01 Stepan Kasal <kasal@ucw.cz>
5286 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
5288 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
5289 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
5290 Now accept a single tag, not whitespace separated list.
5291 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
5293 2005-06-30 Stepan Kasal <kasal@ucw.cz>
5295 * doc/autoconf.texi (Configuration Headers): Change the explanation
5296 about #include <config.h>.
5297 (Generic Functions): Mention the Gnulib project.
5298 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
5300 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
5301 document to output the default config_* lists to config.status.
5302 Don't recognize option --file, if the functionality is not there.
5303 Likewise for --header; moreover, recognize --he and --h as shortcuts
5304 for --help in that case.
5306 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
5307 matches the order of execution. No code changed.
5309 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5311 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
5312 single-quoted -cmdline argument in Portland Group compiler.
5313 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5315 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
5317 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
5319 2005-06-29 Stepan Kasal <kasal@ucw.cz>
5321 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
5322 descriptors to child processes; reported by Norman Gray.
5324 2005-06-29 Stepan Kasal <kasal@ucw.cz>
5326 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
5328 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
5329 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
5330 (AC_SUBST): Call it.
5331 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
5332 the directory specific variables; but don't call it for configure_input.
5334 2005-06-28 Derek Price <derek@ximbiot.com>
5336 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
5339 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
5341 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
5342 directory have inherent problems with special characters like spaces,
5343 due to limitations in Make syntax. Problem reported by Alexandre
5345 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
5346 Also, fix Tru64 porting problem with shell patterns,
5347 reported by Ralf Wildenhues.
5349 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5351 * doc/autoconf.texi (Subdirectories): Fix markup typos.
5353 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
5355 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
5357 Fix some more shell quoting problems. Prompted by a bug report
5358 from Justace Clutter.
5359 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
5360 variable into diagnostic. Make the diagnostic an error, not a warning,
5361 because we really don't support spaces and suchlike in dir names.
5362 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
5363 Don't worry about backslashes in srcdir; it can't happen now.
5364 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
5365 Simplify ac_optarg handling.
5366 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
5368 2005-06-22 Stepan Kasal <kasal@ucw.cz>
5370 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
5371 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
5372 * tests/atlocal.in: Propagate $EGREP and $SED.
5373 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
5374 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
5376 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
5377 that '\|' is not allowed in BREs; recommend using newline separated
5378 list of patterns instead of multiple -e options.
5380 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
5382 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
5384 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5386 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
5388 2005-06-21 Stepan Kasal <kasal@ucw.cz>
5390 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
5391 b, t, r, w commands require single space, while : cannot have any.
5392 (Special Shell Variables): Fix sed code this in the example.
5393 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
5394 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
5396 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
5397 expand to the empty list. Don't use two pairs of m4_changequote,
5400 2005-06-20 Derek Price <derek@ximbiot.com>
5402 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
5404 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
5406 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
5407 * doc/autoconf.texi:
5408 Don't mention Solaris versions so much, if a
5409 problem is common to all extant versions of Solaris. Say "SunOS
5410 4" instead of "SunOS" for SunOS 4.
5411 (awk): Mention more of the limitations of traditional Awk.
5412 (cat): Don't talk about cat -v.
5414 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
5416 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
5417 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
5418 but the implementation is entirely different and is designed
5419 to be compatible with glibc strverscmp.
5420 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
5422 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
5423 on Mac OS X 10.4 reported by Peter O'Gorman in:
5424 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
5425 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
5426 Use shell builtins rather than 'expr', to work around expr bug.
5428 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
5430 * doc/autoconf.texi: "filesystem" -> "file system".
5431 "behaviour" -> "behavior".
5432 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
5433 * lib/autoconf/general.m4: Omit blank after ":" sed command,
5435 * lib/m4sugar/m4sh.m4: Likewise.
5436 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
5437 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
5439 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
5440 (.x.1): Ignore the time stamp in the .TH line when deciding whether
5441 to update the man page. That way, we don't have to check in new
5442 man pages every month.
5444 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
5445 quotes and backslashes. Patch from Derek Price.
5447 2005-06-10 Derek Price <derek@ximbiot.com>
5449 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
5452 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
5454 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
5455 -u, since it outputs chatter if the input files are the same.
5456 Problem reported by Ralf Menzel.
5458 2005-06-08 Derek Price <derek@ximbiot.com>
5460 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
5461 renaming them since they are about to be redefined anyhow.
5463 2005-06-08 Derek Price <derek@ximbiot.com>
5465 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
5466 redefined M4 macros to this node. Document m4_include & m4_sinclude.
5467 Move m4_undefine to alphabetical order.
5469 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
5471 * README: Recommend GNU M4 1.4.3 or later.
5472 * doc/autoconf.texi (Introduction): Likewise.
5473 Reword to avoid some formatting glitches.
5474 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
5475 Clarify explanation of HP compiler bug.
5476 Redo example output tp match current CVS snapshot.
5477 Use @example.org in email addresses when the examples
5478 might get inadvertently cut-and-pasted into user code.
5479 Remove example of autom4te usage that doesn't seem to work now.
5480 Use modern AC_INIT (except when the example is meant to be
5481 shown with Autoconf 2.13).
5482 Update ksh info for Solaris 9 and later.
5484 Modernize description of Automake versions a bit.
5485 Don't claim a future version of Autoconf is near.
5486 * doc/install.texi: Reword to avoid some formatting glitches.
5488 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5490 * doc/autoconf.texi: Add [] to examples, so that the manual
5491 follows its own advice about quoting better.
5492 Reword to avoid some formatting glitches.
5493 * doc/installt.exi: Reword to avoid some formatting glitches.
5495 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5496 Tru64 ksh pattern matching bug. Reported against Libtool by
5497 Albert Chin <libtool@mlists.thewrittenword.com> and
5498 Nicolas Joly <njoly@pasteur.fr>.
5500 2005-06-06 Stepan Kasal <kasal@ucw.cz>
5502 m4_cdr of one-member list was [[]] (one-member list containing an
5503 empty string) instead of [] (an empty list. Callers were skewed to
5504 match this misbehaviour. As a consequence of this:
5505 - m4_foreach([x], [], [foo]) expanded to `foo', while
5506 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
5507 This bug has been fixed:
5509 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
5510 expand to an empty string; print error msg if called without
5512 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
5513 misbehaviour; handle [] and [[]] correctly.
5515 2005-06-06 Stepan Kasal <kasal@ucw.cz>
5517 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
5518 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
5519 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
5521 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
5523 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
5524 swallow records with more than 99 fields.
5525 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
5526 parse the long line.
5528 2005-06-04 Stepan Kasal <kasal@ucw.cz>
5530 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
5531 swallow literals longer than 399. Reported by Ralf Wildenhues.
5532 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
5533 to workaround this limitation.
5535 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
5537 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
5538 to gfortran, and make these the first two compiler names
5539 checked (following the general autoconf preference for gcc).
5541 2005-06-03 Stepan Kasal <kasal@ucw.cz>
5543 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
5544 (DISTCLEANFILES): Remove $(check_SCRIPTS).
5545 (testsuite): Make sure autotest.m4f is up-to-date before using it.
5547 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
5549 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
5550 expression of unbounded size when processing the --list
5551 option. This runs afoul of a limit of 399 bytes per regular
5552 expression on AIX. Problem reported by Ralf Wildenhues.
5554 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
5556 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
5557 * doc/autoconf.texi (Particular Headers): Reword example
5558 for multiline stdbool replacement.
5559 (Setting Output Variables): Reword text a bit. Don't
5560 give all the details about |#_!!_#|.
5561 Reword description of line replacement.
5563 2005-05-31 Dan Manthey <dan_manthey@partech.com>
5565 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
5566 now contain newlines, and substituted files must be referenced on
5567 a line alone; the sed scripts to substitute them are now very
5569 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
5570 commands can be put in a sed script portably.
5571 * doc/autoconf.texi (Setting Output Variables): Document above
5572 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
5573 use of multiline substitution.
5574 * tests/torture.at: No longer expect substitution of newline to fail.
5576 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
5578 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
5579 From Ralf Menzel (trivial change).
5581 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
5583 * tests/local.at: Don't attempt to check for negated character
5584 classes in shell scripts. The test was too brittle.
5586 2005-05-25 Stepan Kasal <kasal@ucw.cz>
5588 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
5589 * doc/autoconf.texi (Limitations of Builtins): Document this
5592 2005-05-24 Stepan Kasal <kasal@ucw.cz>
5594 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
5595 common code; used in many places in the tree.
5596 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
5597 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
5599 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
5601 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
5602 messages when ac_unique_file is not found.
5603 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
5604 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
5605 commands, for consistency with AC_MSG_ERROR and such.
5607 * bin/autoconf.as: Make more use of "shift 2" in option processing.
5609 * bin/Makefile.am: Merge the two rules for creating scripts.
5611 2005-05-23 Stepan Kasal <kasal@ucw.cz>
5613 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
5614 obsolete; it was never documented.
5615 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
5617 2005-05-20 Stepan Kasal <kasal@ucw.cz>
5619 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
5620 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
5621 (ac_top_builddir): ... this ...
5622 (ac_top_build_prefix): ... to this; the old name is also kept, for
5623 backward compatibility.
5624 (ac_top_builddir_sub): New variable, without the trailing slash,
5626 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
5627 * doc/autoconf.texi (Configuration Actions): Rename
5628 ac_top_builddir to ac_top_build_prefix.
5629 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
5630 at_top_builddir to at_top_build_prefix.
5631 * lib/autotest/general.m4 (AT_INIT): Likewise.
5633 2005-05-20 Stepan Kasal <kasal@ucw.cz>
5635 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
5638 2005-05-17 Stepan Kasal <kasal@ucw.cz>
5640 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
5641 argument to m4_foreach. I guess it was necessary in the past,
5642 but I think it's a no-op now.
5644 2005-05-17 Stepan Kasal <kasal@ucw.cz>
5646 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
5647 ``cat <<_ACEOF'' commands to one.
5648 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
5649 * lib/autoconf/status.m4: On various places, use expr instead of
5651 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
5652 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
5653 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
5655 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
5656 the wrong patterns between ``case'' and ``esac.'' The previous
5657 code had false positives.
5659 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
5661 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
5663 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
5666 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
5668 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
5669 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
5670 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
5671 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
5672 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
5673 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
5674 config/config.guess, config/config.sub, config/elisp-comp,
5675 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
5676 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
5677 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
5678 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
5679 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
5680 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
5681 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
5682 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
5683 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
5684 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
5685 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
5686 lib/autoconf/general.m4, lib/autoconf/headers.m4,
5687 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
5688 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
5689 lib/autoconf/specific.m4, lib/autoconf/status.m4,
5690 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
5691 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
5692 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
5693 lib/autotest/general.m4, lib/emacs/Makefile.am,
5694 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
5695 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
5696 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
5697 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
5698 tests/compile.at, tests/foreign.at, tests/fortran.at,
5699 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5700 tests/semantics.at, tests/suite.at, tests/tools.at,
5701 tests/torture.at, tests/wrapper.as:
5702 Update FSF postal mail address.
5704 2005-05-13 Stepan Kasal <kasal@ucw.cz>
5706 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
5708 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
5709 enough arguments, similarly as in m4_bpatsubsts.
5711 2005-05-12 Stepan Kasal <kasal@ucw.cz>
5713 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
5716 2005-05-11 Stepan Kasal <kasal@ucw.cz>
5718 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
5719 for absolute directory names in one loop.
5720 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
5721 abbreviations of --version and --debug.
5723 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
5725 * doc/autoconf.texi (Autoconf Language): Be more precise about
5726 quoting rules. Problems noted by Stepan Kasal.
5727 Also, throughout this document, be more careful about white space.
5728 "blank", "white space", and "space" all have different meanings
5729 and we should be careful to say what we mean.
5731 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
5733 Fix C++ related problems reported by Werner Lemberg.
5734 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
5735 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
5736 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
5737 avoid problems with C++ and throw.
5738 * tests/compile.at: .cpp, not .cc.
5740 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
5742 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5744 * doc/autoconf.texi (Generic Functions): Typos.
5746 2005-05-02 Gary V. Vaughan <gary@gnu.org>
5748 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
5749 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
5750 set by latest automake.
5752 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
5754 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
5755 outputs 0 on GNU/Linux these days.
5757 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
5759 * doc/autoconf.texi (Autoconf Language): Add more description
5760 about quoting heuristics.
5761 (Limitations of Builtins): Describe "set -" problems.
5763 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5765 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
5768 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
5769 by AC_DEFINE; it was a mistake.
5770 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
5772 2005-04-25 Stepan Kasal <kasal@ucw.cz>
5774 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
5776 2005-04-22 Stepan Kasal <kasal@ucw.cz>
5778 * doc/autoconf.texi (External Software): Quadrigraphs are not
5779 processed correctly in AS_HELP_STRING; avoid this in the examples.
5780 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
5781 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
5782 comment and reduce m4_default([foo], []) to [foo].
5783 (m4_strip): Update the explanation.
5785 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
5787 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
5788 Remove core.conftest.* too; it's generated by Tru64 5.1.
5789 Problem reported by Jennis Pruett.
5790 * lib/autoconf/functions.m4
5791 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
5792 Don't bother to remove core files; AC_RUN_IFELSE should do that
5795 2005-04-19 Stepan Kasal <kasal@ucw.cz>
5797 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
5799 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
5801 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
5802 Report from Horst Wente.
5804 2005-04-15 Stepan Kasal <kasal@ucw.cz>
5806 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
5809 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
5811 * doc/autoconf.texi (External Software, Package Options): Add
5812 examples showing how to implement --with-* and --enable-* options.
5814 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
5816 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
5817 as well as configure.in. Problem reported by Gregorio Guidi.
5819 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
5821 * doc/autoconf.texi (Particular Functions): Use gnulib's current
5822 pattern for alloca snippet.
5824 2005-04-04 Stepan Kasal <kasal@ucw.cz>
5826 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
5828 2005-04-01 Stepan Kasal <kasal@ucw.cz>
5830 * doc/autoconf.texi (Generic Programs): Fix a typo.
5832 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
5834 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
5835 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
5837 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5839 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
5840 Merge `-z option' as well for the benefit of Solaris link flags. Pass
5841 whole-archive (-zallextract, -zdefaultextract) options in the hope of
5842 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
5843 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
5845 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
5847 * NEWS: The configure command now warns you if you attempt to use
5848 a directory whose name contains a special character like space,
5850 * doc/autoconf.texi (Installation Directory Variables): Allow
5851 "," in file names. Do not use \@; it's not a portable regexp.
5852 * bin/Makefile.am (edit): Likewise.
5853 * lib/Makefile.am (edit): Likewise.
5854 * tests/Makefile.am (edit): Likewise.
5855 * tests/semantics.at: Likewise.
5856 * tests/torture.at: Likewise.
5857 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
5858 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
5859 * doc/autoconf.texi (File System Conventions): Warn about
5860 unportable file names.
5861 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
5863 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
5864 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
5865 ac_pwd, and quote srcdir.
5866 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
5868 * doc/autoconf.texi: Fix some systematic formatting problems.
5869 ".)" needs a following @: if not at the end of a sentence, and
5870 similarly for "!)". "etc." should be preceded by a comma.
5871 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
5873 2005-03-22 Bruno Haible <bruno@clisp.org>
5875 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
5876 argument is often called 'build-aux'.
5878 2005-03-07 Stepan Kasal <kasal@ucw.cz>
5880 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
5881 macro AC_TRY_LINK is obsolete.
5882 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
5885 2005-02-24 Stepan Kasal <kasal@ucw.cz>
5887 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
5888 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
5889 from a Common Lisp's `cl'.
5890 (AC_PROG_CXX): Behave according to the documentation: don't
5891 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
5892 make the variable CCC precious; use `cl.exe', not `cl'.
5894 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
5895 Alexandre Duret-Lutz <adl@gnu.org>
5897 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
5898 /dev/null, as "configure" shouldn't read stdin, and this insulates
5899 us from problems (e.g., when testing for "cl"). Also, do this
5900 redirection before invoking "hostname" or "uname", and keep the
5901 original input stream available via...
5902 (AS_ORIGINAL_STDIN_FD): ... this new macro.
5903 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
5904 bother with "</dev/null" since it's now done at the top of
5906 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
5907 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5908 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5909 * doc/autoconf.texi (File Descriptor Macros): New section.
5910 (Printing Messages): Mention it.
5911 * tests/base.at (Input/Output): New test.
5913 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
5915 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
5916 newline if neither \c nor -n work, as that would output two
5917 newlines. Prefer -n to \c. Reported by Stepan Kasal.
5919 2005-02-12 Stepan Kasal <kasal@ucw.cz>
5921 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
5922 This causes that any required macros inside will get before the if.
5923 * doc/autoconf.texi (autom4te.cache): A typo.
5925 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
5927 Undo previous change, except keep the change to
5928 lib/autoconf/programs.m4 that replaced grep with shell
5929 pattern-matching. This is because net-snmp configure reads stdin.
5930 Reported by Noah Misch.
5932 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
5934 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
5935 from /dev/null, as "configure" shouldn't read stdin, and this
5936 insulates us from problems (e.g., when testing for "cl").
5937 Suggested by Alexandre Duret-Lutz. Also, do this redirection
5938 before invoking "hostname" or "uname".
5939 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
5940 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
5941 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
5942 "</dev/null" since it's now done at the top of 'configure'.
5943 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
5944 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
5945 Also, replace grep with shell pattern-matching, to save a process.
5947 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
5949 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
5950 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
5951 avoid thinking that Allegro Common Lisp's "cl" command is a C++
5954 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
5956 * doc/autoconf.texi (Limitations of Usual Tools): Document that
5957 grep -q isn't portable. Improve grep -s explanation.
5958 Problem reported by Dan Manthey.
5960 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
5962 * doc/autoconf.texi (Special Shell Variables): Clarify
5963 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
5965 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
5967 * doc/autoconf.texi: Use @acronym for DJGPP.
5968 Fix some @code's that should have been @env's, and vice versa.
5969 Sort environment variable names.
5970 Mention that shells no longer inherit IFS.
5971 Don't recommend PATH_SEPARATOR=';' so strongly.
5972 Mention that $RANDOM might expand to the empty string.
5973 "symlink" and "soft link" -> "symbolic link".
5974 Improve mktemp description (reported by Bruno Haible).
5976 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
5978 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
5979 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
5981 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
5984 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
5986 * NEWS: Mention AT_COPYRIGHT.
5988 * tests/local.at (AT_CMP): Use diff directly on input files rather
5991 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
5992 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
5994 2005-02-04 Noah Misch <noah@cs.caltech.edu>
5995 and Paul Eggert <eggert@cs.ucla.edu>
5997 * tests/autotest.at (Empty test suite): New test.
5998 * tests/torture.at (Substitute and define special characters)
5999 (Substitute a 2000-byte string, Define to a 2000-byte string)
6000 (Substitute a newline, Define a newline): New tests.
6002 2005-02-04 Noah Misch <noah@cs.caltech.edu>
6004 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
6005 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
6006 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
6007 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
6008 (Standard regular expressions): New test.
6009 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
6010 excess test name quoting.
6011 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
6012 CPPFLAGS to `configure' instead of setting it in `configure'.
6014 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
6015 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
6018 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
6019 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
6021 * tests/local.at (AT_CMP): New macro.
6022 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
6023 (AC_SAVE_STATE): Move environment grep...
6024 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
6025 (AT_CONFIG_CMP): New macro.
6026 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
6027 * tests/c.at (Extensions): Do not exit early.
6028 * tests/atlocal.in: Inherit $GREP.
6030 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
6031 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
6033 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
6034 (AC_COPYRIGHT): Factor header comment portion out and move into...
6035 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
6036 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
6037 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
6039 * tests/local.at: Add Autoconf test suite copyright notice.
6040 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
6042 2005-02-04 Bruno Haible <bruno@clisp.org>
6043 and Paul Eggert <eggert@cs.ucla.edu>
6045 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
6047 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
6049 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
6050 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
6052 Try not to generated lines of unlimited length, as POSIX places a
6053 2047-byte limit on line length of portable text files.
6054 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
6055 Use newline as a separator, not space.
6056 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
6057 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
6060 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6062 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
6063 as_func_*. Add test to check whether positional parameters
6064 are restored after function return.
6066 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
6068 * doc/autoconf.texi (Special Shell Variables): Mention _,
6069 BIN_SH, DUALCASE. Say that variables other than "status" are safe
6070 if they contain a lower-case letter. The DUALCASE problem was
6071 reported by Ralf Wildenhues.
6073 * bin/autoconf.as: Don't exit with status 0 after write failure
6074 with --help or --version.
6075 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
6076 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
6078 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6080 * doc/autoconf.texi (Limitations of Usual Tools):
6081 Unicos 9 sed limitations.
6082 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
6083 to get the option-enhanced interface on older Crays. Try ftn for
6084 Fortran 95 (newer Crays).
6086 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
6088 * man/Makefile.am (.x.1): Go back to the simple solution, but take
6089 care to echo the commands, so the user knows what's going on.
6090 Modified from a suggestion by Stepan Kasal.
6092 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
6093 with a cross reference. Derived from a suggestion by Bruce Korb.
6095 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
6097 * doc/autoconf.texi (config.status Invocation): Warn about
6098 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
6099 * doc/install.texi (Defining Variables): Likewise.
6100 Based on a proposed patch by Ralf Wildenhues.
6102 * man/Makefile.am (.x.1): Make sure the required generated files
6103 are up to date. Problem and original solution proposed by Stepan Kasal.
6104 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
6105 implicit-man-prerequisites): New rules, used by the above.
6107 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
6108 * config/config.guess, config/config.sub, config/install-sh: Likewise.
6109 * config/missing, config/texinfo.tex: Likewise.
6111 2005-01-29 Stepan Kasal <kasal@ucw.cz>
6113 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
6114 Update the long comment explaining it.
6116 m4_require no longer writes an ``is required by'' line to the
6117 execution stack. It contains only one bit of non-redundant
6118 information: that the macro was required, not called. And even
6119 this bit is useless in most situations: have you ever met a macro
6120 which both calls and requires the same macro?
6122 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
6123 (_m4_defun_pro_outer): ... only via this macro, for the outermost
6125 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
6126 (m4_expansion_stack_pop): Remove the misplaced comment.
6127 (m4_require): Don't put the ``is required by'' line to the
6128 execution stack; slightly improve the out-of-a-defun error message.
6129 (_m4_divert_grow): New macro, counter for the temporary diversions.
6130 (_m4_require_call): Use it.
6131 * tests/m4sugar.at (m4_require): Expect output without the
6132 ``is required by'' messages.
6134 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
6136 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
6137 rather than x for expr.
6139 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
6141 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
6142 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6143 * lib/autotest/general.m4 (AT_INIT): Likewise.
6144 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
6145 * tests/mktests.sh: Likewise.
6147 2005-01-27 Akim Demaille <akim@epita.fr>
6149 Have autoheader honor --force.
6151 * doc/make-stds.texi, doc/standards.texi: Update from masters.
6152 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
6153 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
6154 from masters, so that FileUtils.pm's update_file provide --force
6156 * bin/autoheader.in: Pass $force to update_file so that
6157 config.h.in is always recreated when --force.
6159 2005-01-24 Stepan Kasal <kasal@ucw.cz>
6161 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
6163 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
6165 * doc/autoconf.texi (Limitations of Builtins): Clarify that
6166 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
6168 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
6170 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
6171 Warn about newline stripping in `` and $(). Update Solaris
6173 (Limitations of Builtins): Use expr "X...", not expr "x...", as
6174 X insulates us from future changes to Posix.
6175 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
6178 2005-01-19 Stepan Kasal <kasal@ucw.cz>
6180 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
6181 you cannot use AC_DEFINE to define macros containing `[' or `]'.
6183 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
6185 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
6186 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
6187 bug-tar mailing list.
6189 2005-01-05 Stepan Kasal <kasal@ucw.cz>
6191 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
6193 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
6195 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
6196 ulongval to be static, to avoid unwanted GCC warning. Problem
6197 reported by Michael Jennings via Daniel Reed; see
6198 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
6200 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
6202 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
6203 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
6204 datadir, infodir, and mandir. Adjust argument parsing code.
6205 (_AC_INIT_HELP): Update help text.
6206 * doc/autoconf.texi (Installation Directory Variables): Document
6209 2005-01-04 Noah Misch <noah@cs.caltech.edu>
6211 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
6212 not seem to work, assume it does set $(MAKE).
6213 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
6215 2005-01-03 Stepan Kasal <kasal@ucw.cz>
6217 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
6219 2005-01-03 Stepan Kasal <kasal@ucw.cz>
6221 A cleanup of the diversion support in m4sugar.
6223 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
6224 (_m4_divert_n_stack): New macro; the expansion is
6225 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
6227 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
6228 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
6229 stored in _m4_divert_diversion or _m4_divert_dump.
6230 (m4_divert_pop): When the parameter is given, compare the symbolic
6231 name with the last diversion pushed on the stack. Previously, the
6232 current diversion was compared with the numeric value of the
6233 diversion given as the parameter.
6234 (m4_require): If the macro hasn't been expanded yet, call ...
6235 (_m4_require_call): this new macro.
6237 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6239 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
6240 Workarounds for documented `case' limitations.
6242 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
6244 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
6245 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
6247 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
6249 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
6250 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6251 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
6253 Patch from Roger Leigh (with some minor changes) as follows:
6254 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
6255 Resurrect AC_PROG_CC_STDC.
6256 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
6257 AC_PROG_CC_C89, AC_PROG_CC_C99.
6258 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
6259 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
6260 AC_PROG_CC_C99): New macros.
6261 (AC_PROG_CC_STDC): Use them.
6262 (_AC_PROG_CC_STDC): Remove.
6263 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
6264 * THANKS: Add Roger Leigh.
6266 2004-12-30 Noah Misch <noah@cs.caltech.edu>
6268 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
6269 signals that the package uses Automake; a `Makefile.am' is typical but
6270 not essential. Reported by Magnus Therning.
6271 * tests/torture.at (autoreconf.): New banner.
6272 (autoreconf and non-AC configure): Rename to `Non-Autoconf
6274 (autoreconf an empty directory): Rename to `Empty directory'.
6275 (Unusual Automake input files): New test.
6277 2004-12-30 Noah Misch <noah@cs.caltech.edu>
6279 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
6280 (AT_SETUP): Clear AT_capture_files.
6281 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
6282 (AT_KEYWORDS): Fix comment typo.
6283 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
6284 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
6285 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
6287 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
6289 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
6290 If the variable to set is already set, set ac_cv_path_$1
6291 to the preset value so caller can assume ac_cv_path_$1
6292 is available. (trivial change)
6294 2004-12-27 Noah Misch <noah@cs.caltech.edu>
6296 * BUGS (Minor Problems): Warn about makefile limitations.
6297 * Makefile.am: Find and update `INSTALL' in $(srcdir).
6298 * man/Makefile.am: Find and update manual pages in $(srcdir).
6300 2004-12-24 Eric Blake <ebb9@byu.net>
6302 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
6303 shells in subshell, to avoid noise from ash. (trivial change)
6305 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6307 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
6308 problems with SunOS ksh and backslash escaping, Bourne shells and
6309 closing brackets (both within character classes). Bug reported
6310 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
6311 <read>: New entry. Mention non-availability of -r.
6313 2004-12-21 Akim Demaille <akim@epita.fr>
6315 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
6316 avoid cluttering displayed messages. Rather, prepend srcdir where
6317 AT_LINE is used for log files.
6319 2004-12-21 Stepan Kasal <kasal@ucw.cz>
6321 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
6322 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
6323 no longer part of the macro, quote the occurrence of ``$tmp''.
6324 * doc/autoconf.texi (Forbidden Patterns): Typo.
6326 2004-12-21 Akim Demaille <akim@epita.fr>
6328 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
6329 separated from the test title by forcing a white space.
6331 2004-12-21 Akim Demaille <akim@epita.fr>
6333 Enable Emacs navigation within testsuite.log files.
6335 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
6336 use the compilation mode.
6337 (AT_LINE): Point to the srcdir.
6339 2004-12-19 Noah Misch <noah@cs.caltech.edu>
6341 * tests/Makefile.am (installcheck-local): Use $(bindir).
6342 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
6343 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
6344 Makefile.am scheme Autoconf now uses.
6346 2004-12-18 Noah Misch <noah@cs.caltech.edu>
6348 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
6349 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
6351 2004-12-18 Noah Misch <noah@cs.caltech.edu>
6353 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
6354 (_AT_CHECK): Use it.
6355 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
6356 (AS_ESCAPE): Fix comment.
6357 * tests/autotest.at: Adjust section banner comments.
6358 (AT_CHECK_AT): Accept STATUS and STDERR.
6359 (AT_CHECK_AT_TEST): Likewise.
6360 (Invalid brace-enclosed parameter expansion)
6361 (Multiline command from M4 expansion)
6362 (Double-M4-quoted command): New tests.
6364 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
6366 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
6368 2004-12-17 Akim Demaille <akim@epita.fr>
6370 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
6372 Suggested by Alexandre Duret-Lutz.
6373 * doc/autoconf.texi (Setting Output Variables): Catch up.
6375 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6377 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
6379 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6381 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
6382 remove the comment which said we cannot.
6384 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6386 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
6387 Reini Urban and Paul Eggert for reporting the dependencies.
6389 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
6390 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
6391 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
6393 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6395 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
6396 so that eg. ``autoscan --help'' doesn't truncate it.
6398 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
6400 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
6401 generated conftest files.
6403 2004-12-13 Noah Misch <noah@cs.caltech.edu>
6405 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
6406 tracing on commands with possibly-escaped newlines.
6407 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
6408 discontinued behavior and its implications.
6409 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
6410 (BSx641-newline in command, BS-BS-newline in command)
6411 (BSx640-newline in command, Newline-CODE-BS-newline in command)
6412 (Single-quote-BS-newline in command)
6413 (Single-quote-newline-BS-newline in command): New tests.
6415 2004-12-13 Stepan Kasal <kasal@ucw.cz>
6417 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
6418 on platforms where it works.
6419 (_AS_TEST_PREPARE): Test for ``test -x''.
6420 (_AS_BROKEN_TEST_PREPARE): Nuke.
6422 2004-12-13 Stepan Kasal <kasal@ucw.cz>
6424 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
6425 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
6426 give only 4-letter prefix to AS_TMPDIR, comment fixed.
6427 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
6428 create the temporary directory.
6429 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
6431 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
6433 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
6436 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
6438 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
6440 2004-12-11 Noah Misch <noah@cs.caltech.edu>
6442 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
6443 to avoid using a negated character class. Reported by Nicolas Joly.
6444 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
6446 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
6448 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
6449 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
6450 Don't depend on .x file explicitly, since "make" does that for us.
6451 Suggested by Stepan Kasal.
6453 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
6455 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
6456 ifnames): Factor common code. And they said it couldn't be done!
6458 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
6460 * bin/.cvsignore: Add autoconf.in.
6461 * tests/.cvsignore: Add wrapper.in.
6462 * lib/autotest/general.m4: Escape '$' in case pattern.
6464 2004-12-09 Noah Misch <noah@cs.caltech.edu>
6466 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
6468 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
6470 * tests/autotest.at: New file.
6471 * tests/suite.at: Include it.
6472 * tests/Makefile.am: Distribute it.
6474 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
6475 shell tracing on a command that could contain multiple lines.
6476 * doc/autoconf.text: Document that fact and its implications.
6477 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
6478 * tests/autotest.at (Multiline backquote command substitution,
6479 Multiline parameter expansion, Literal multiline command,
6480 Multiline parenthetical command substitution): Remove XFAIL.
6482 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
6484 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
6485 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
6487 2004-12-08 Noah Misch <noah@cs.caltech.edu>
6489 * configure.ac (test suite): Cease to generate wrapper scripts.
6490 * configure: Regenerate.
6491 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
6492 (m4f_dependencies): Adjust accordingly.
6493 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
6494 (wrapper.in): Generate it in the build directory.
6495 (MAINTAINERCLEANFILES): Delete wrapper.in.
6496 (CLEANFILES): Add wrapper.in.
6497 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
6498 the output. Replace each $as_me with a @wrap_program@.
6499 * tests/wrapper.in: Delete it; we always build it.
6501 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
6502 (EXTRA_DIST): Remove autoconf.in.
6503 (CLEANFILES): Add autoconf.in.
6504 (autoconf): Find autoconf.in in the build directory.
6505 * bin/autoconf.in: Delete it; we always build it.
6507 2004-12-08 Noah Misch <noah@cs.caltech.edu>
6509 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
6510 PATH members so as to not prepend an empty element. Move a comment.
6511 * Makefile.am (SUBDIRS): Build in `tests' last.
6512 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
6514 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
6516 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
6517 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
6518 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
6519 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
6521 2004-12-07 Stepan Kasal <kasal@ucw.cz>
6523 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
6526 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
6528 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
6529 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
6530 * doc/autoconf.texi (Particular Functions): Mention new behavior.
6532 2004-12-03 Stepan Kasal <kasal@ucw.cz>
6534 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
6535 out the common code to ...
6536 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
6537 value of the #define--default to 1, iff the macro was called
6538 with exactly one parameter.
6540 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
6542 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
6543 "char c = '\200';" rather than "char c = 0x80;" as the
6544 latter doesn't conform to the strict C standard due to
6545 overflow on signed char hosts.
6547 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
6548 to -qlanglvl=ansi. We don't want to disable extensions.
6550 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
6552 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
6553 (Using Autotest, testsuite Scripts, Writing testsuite.at):
6554 Reword slightly to avoid some English-language problems noted
6555 by Ralf Wildenhues in:
6556 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
6558 2004-11-29 Stepan Kasal <kasal@ucw.cz>
6560 * NEWS: Add ^L above each release.
6562 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
6564 Fix documentation problems reported by Russ Boylan in
6565 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
6566 along with some nearby cruft.
6567 * doc/autoconf.texi (Libtool): Libtool can be used without
6568 Automake (not without Autoconf).
6569 (Introduction): Mention lists.gnu.org.
6570 * BUGS: Don't mention bugs.gnu.org.
6571 Remove mention of ancient libtool compatibility problem.
6572 * NEWS: Mention that bugs.gnu.org is kaput.
6573 * README: Likewise. Mention where mailing list archives can be found.
6575 2004-11-28 Stepan Kasal <kasal@ucw.cz>
6577 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
6579 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
6581 * doc/autoconf.texi (Pretty Help Strings): Go back to
6582 single-quoting assignments to cache variables.
6584 2004-11-23 Stepan Kasal <kasal@ucw.cz>
6586 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
6587 with the examples; fix the bug in MY_ARG_WITH example reported
6588 by Alexandre Duret-Lutz.
6589 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
6590 expansion of $1 in the comment emitted to configure.
6592 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
6594 * doc/autoconf.texi (Pretty Help Strings): Fix typo
6595 in my editing of the previous patch. Problem reported
6596 by Alexandre Duret-Lutz.
6598 2004-11-22 Stepan Kasal <kasal@ucw.cz>
6600 * doc/autoconf.texi (Autoconf Language): Explain that
6601 ``descriptions'' may not be double quotes.
6602 (Quotation Rule Of Thumb): Likewise.
6603 (Pretty Help Strings): Likewise; remove the wrong comment;
6604 simplify the examples and improve their quoting.
6606 2004-11-13 Stepan Kasal <kasal@ucw.cz>
6608 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
6609 the $1_found variable, don't test whether the file is executable;
6610 Both things are checked ...
6611 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
6612 the former ``test -f''.
6613 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
6615 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
6617 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
6620 2004-11-10 Derek R. Price <derek@ximbiot.com>
6622 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
6623 limitations. Reorder paragraphs for clarity.
6625 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
6627 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
6628 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
6629 variants", "Unix", and some related minor wording fixups.
6631 (Shellology, Special Shell Variables): Document that the Zsh
6632 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
6633 to Alexandre Duret-Lutz for this info.
6635 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
6637 * doc/autoconf.texi (One-Shot Macros): New node.
6639 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
6641 * doc/autoconf.texi (Function Portability): Fix misdescription
6642 of putenv. Problem reported by Michael Wardle.
6644 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
6646 * doc/autoconf.texi (auindex): New macro.
6647 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
6648 Problem reported by Stepan Kasal.
6650 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
6652 Fix problems reported by Andreas Buening in:
6653 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
6654 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
6656 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
6657 readable; it's not true in OS/2-emx.
6659 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
6661 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
6662 "/usr/include", clear ac_x_includes instead of leaving it as "no"
6663 (trivial change). Problem and patch reported by Andrew Church in:
6664 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
6666 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
6668 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
6669 three args in examples. Problem reported by Frederik Fouvry in:
6670 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
6671 Also, fix some minor spacing and punctuation bugs.
6673 2004-09-02 Akim Demaille <akim@epita.fr>
6675 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
6676 "case" to restore ordering.
6677 Reported by Stepan Kasal.
6679 2004-08-26 Akim Demaille <akim@epita.fr>
6681 * doc/autoconf.texi: Minor typos and stylos.
6683 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
6685 * configure.ac (AC_INIT): Bump to 2.59c.
6687 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
6691 * README: Add advice about m4 1.4.2.
6693 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
6694 texinfo.tex for now (done by hand now).
6695 * Makefile.maint (wget_files, cvs_files):
6696 Remove ansi2knr.c; nobody uses it.
6697 (ansi2knr.c-url_prefix): Remove.
6698 (cvs-update): Fix test for failure. I don't know why it ever
6701 * doc/autoconf.texi: Update URLs, some of which went stale.
6702 Use @uref rather than @href.
6704 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
6705 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
6707 * config/config.guess, config/config.sub, config/elisp-comp,
6708 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
6709 doc/fdl.texi, doc/standards.texi: Sync with master copy.
6711 * NEWS, TODO, configure.ac, bin/autoscan.in,
6712 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
6713 doc/install.texi, lib/Autom4te/Configure_ac.pm,
6714 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
6715 lib/autoconf/programs.m4, lib/autoconf/status.m4,
6716 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
6717 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
6718 tests/tools.at, tests/torture.at:
6719 Use "file name" rather than "filename" or "path",
6720 to be consistent with the terminology of the GNU coding standards.
6722 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
6724 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
6725 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
6726 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
6727 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
6729 More fixes to support spaces in the name of the build directory.
6730 This isn't a complete fix but it's an improvement.
6732 * bin/autoconf.as (autom4te_options): New var.
6733 Use it instead of appending to AUTOM4TE, so that we can allow
6734 spaces in the build directory's absolute name.
6735 * bin/autoheader.in ($autoconf): Allow spaces in file names.
6736 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
6737 AT_CHECK_NOESCAPE): Likewise.
6738 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
6739 main program): Likewise.
6741 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
6743 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
6744 From Ralf Corsepius in:
6745 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
6747 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
6749 * doc/autoconf.texi (Function Portability): Document isinf and
6750 and isnan. From a suggestion by Kevin Ryde.
6752 * lib/Autom4te/General.pm (END): Return correct exit status even
6753 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
6755 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
6757 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
6758 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
6759 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
6761 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
6763 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
6764 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
6765 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
6766 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
6767 * lib/autom4te.in (Automake-preselections): Preselect
6768 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
6770 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
6772 * lib/autom4te.in (Automake-preselections): Preselect
6773 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
6776 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
6778 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
6780 * doc/autoconf.texi (Shellology): Mention BIN_SH.
6781 Document problem with "`""`" in pdksh POSIX mode.
6783 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
6785 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
6786 with pdksh, too. Problem reported by Patrick Welche via
6788 * doc/autoconf.texi (Shellology): Note that set -o posix is
6789 useful for pkdsh, too.
6791 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
6793 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
6794 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
6795 Don't fail if ENV or BASH_ENV is readonly.
6796 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
6797 etc. are read only. Problem reported by Ludovic Courtes.
6799 2004-06-23 Noah Misch <noah@cs.caltech.edu>
6801 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
6802 zsh, disable GLOB_SUBST to avoid backslash handling problems.
6805 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
6807 * doc/autoconf.texi (File System Conventions): Warn about
6808 names like "aux". Problem reported by Eric Blake.
6810 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
6811 by zero instead of array size, so that we can use any arithmetic
6812 constant expression (instead of requiring an integer constant
6813 expression). This allows us to test expressions like DBL_MAX <
6814 LDBL_MAX, which didn't conform to the C standard using the old
6816 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
6817 now that we can do floating-point tests at compile time.
6819 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
6821 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
6822 and LDBL_EPSILON, as the resulting expression isn't an
6823 integer constant expression and violates the C standard.
6824 Problem reported by Nelson H. F. Beebe. Also, check
6825 for "L" suffix, and check that long double doesn't have
6826 worse range or precision than double, that mixed-mode
6827 arithmetic doesn't generate a diagnostic, that double
6828 constants fit in long double.
6830 2004-06-03 Kevin Ryde <user42@zip.com.au>
6832 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
6833 malloc(0) and realloc(NULL,size).
6835 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
6838 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
6840 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
6841 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
6844 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
6846 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
6847 can be rewritten using if-then-else. Suggested by Bruno Haible.
6849 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
6851 * doc/autoconf.texi (testsuite Scripts): Fix typo.
6852 Problem reported by Stepan Kasal.
6854 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
6856 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
6857 change). Patch reported by Ralf Wildenhues in
6858 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
6860 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
6861 function F exists if the compiler and linker let you compile an
6862 expression like (F != 0). Recent versions of GCC optimize away
6863 the reference to F in that case, since every function address must
6864 be nonzero, so the link succeeds even if F does not exist.
6865 Problem reported by Manu in
6866 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
6868 * doc/autoconf.texi (Systemology): Standardize on the spelling of
6869 "Unix". Many uses changed.
6870 (Limitations of Builtins): Explain better why the ! command isn't
6873 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
6875 * lib/autom4te.in (Automake-preselections): Preselect
6876 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
6878 2004-05-19 Kevin Ryde <user42@zip.com.au>
6880 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
6881 referencing AC_FUNC_STRERROR_R.
6883 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
6884 note pessimistic assumption when cross compiling.
6886 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
6888 * doc/autoconf.texi (Limitations of Make): Note that BSD make
6889 (until 2004) invoked subcommands with sh -e, contra POSIX.
6890 Reported by Kevin Ryde.
6892 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
6894 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
6895 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
6896 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
6897 `test -f " /usr/bin/grep"', which _always_ failed.
6898 (AC_PROG_SED): Ditto bogus PATH fix.
6899 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
6900 requires that grep correctly supports _multiple_ `-e' options, rather
6901 than stating only that grep should accept `-e'.
6903 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
6905 Port to C99, which requires that 'exit' be declared.
6907 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
6908 to ensure that stdlib.h is included.
6909 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
6910 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
6911 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
6912 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6913 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
6914 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
6915 when using 'exit' in a test; C99 requires that 'exit' be declared.
6917 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
6919 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
6920 now prefers 'grep' implementations that accept -e.
6921 (Limitations of Usual Tools): Describe problems of traditional
6922 egrep and fgrep with long input lines, and of traditional grep
6924 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
6925 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
6926 All callers changed. Append /usr/xpg4/bin to the PATH, for
6928 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
6929 the user with complaints about multiple -e options.
6930 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
6931 Define it with AC_PROG_GREP.
6932 * configure.ac (AC_PROG_GREP): Add.
6933 * lib/freeze.mk (GREP): New macro.
6935 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
6937 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
6938 a possible candidate only after all others fail, rather than
6939 consulting it first. This improves backward compatibility by
6940 better reflecting the way shell selection occurred in previous
6941 versions of Autoconf, and should help to avoid triggering latent
6942 problems in other packages, such as the one in Automake where zsh
6943 is not handled robustly:
6944 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
6945 Although it is not Autoconf's responsibility to work around
6946 problems in Automake, it nevertheless makes sense to avoid
6947 introducing unnecessary incompatibilites.
6949 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
6950 Gary V. Vaughan <gary@gnu.org>
6952 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
6953 how deeply nested we are when a suitable tool is found, set the
6954 ac_path_TOOL_found flag.
6955 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
6956 nested we are in this macro. Break out of all 3 nested loops if
6957 ac_path_TOOL_found is set.
6959 2004-04-21 Gary V. Vaughan <gary@gnu.org>
6961 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
6962 of the _AS_PATH_WALK loop too if GNU flavor is found.
6964 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
6966 * doc/autoconf.texi (Limitations of Make): Update documentation
6967 for `$<'. New entry `Long lines', based on a report from Simon
6968 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
6969 paragraph about DJGPP, based on a mail from Richard Dawe.
6971 2004-04-20 Paul Eggert <eggert@twinsun.com>
6973 * tests/c.at (C keywords): Don't assume that GCC supports
6974 "restrict" and "inline", as sufficiently-old GCC versions do not
6975 (also, GCC configured to be in pedantic C89 mode does not).
6976 Problem reported by Sumit Pandya in:
6977 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
6979 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
6980 consider -g to work if it generates warnings when plain compiles
6981 don't. Problem reported by Braden McDaniel in:
6982 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
6984 * doc/autoconf.texi (Slashes): New section, to document a problem
6985 reported by Jim Meyering in:
6986 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
6988 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
6989 linker output files before linking, to work around IRIX 6 linker bug.
6990 Problem reported by Rainer Orth in:
6991 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
6993 2004-04-20 Gary V. Vaughan <gary@gnu.org>
6995 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
6996 best tool so far counter rely on the tool path variable name to
6997 avoid checks for one tool being affected by the results of running
6998 the length check on a previous tool.
7000 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
7001 match expression argument, as different greps have different
7002 regular expression flavours.
7003 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
7005 (AC_PROG_EGREP): Pass 'EGREP$'.
7006 (AC_PROG_GREP): Pass 'GREP$'.
7008 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
7010 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
7011 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
7013 2004-03-29 Paul Eggert <eggert@twinsun.com>
7015 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
7016 Types, Specific Compiler Characteristics, System Services,
7017 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
7018 etc. consistently instead of 'long', 'short', 'unsigned' etc.
7019 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
7020 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
7022 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
7023 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
7024 AC_TYPE_OFF_T): Likewise.
7025 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
7028 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
7029 pacify libtool 1.5.2. Fix quoting problems in sed command.
7031 2004-03-28 Paul Eggert <eggert@twinsun.com>
7033 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
7034 now defines HAVE_DECL_TZNAME if it is declared, when
7035 HAVE_STRUCT_TM_TM_ZONE is not defined.
7036 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
7037 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
7040 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
7042 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
7043 superfluous backslashing of quotes (") in sed expressions;
7044 thanks to Paul Eggert.
7046 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
7048 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
7049 Fortran compiler is ifort, also added pghpf; thanks to Nelson
7050 H. F. Beebe for the bug report.
7052 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
7054 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
7055 quoted -cmdline argument in Portland Group compiler (bug
7056 reported by Jeffrey J. Barteet).
7058 2004-03-25 Kevin Ryde <user42@zip.com.au>
7060 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
7061 (Run Time): ... here, where it's now mentioned.
7063 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
7065 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
7066 inherits from language Autoconf-without-aclocal-m4.
7067 (Customizing autom4te): Adjust example; the cache must now be
7068 disabled for language Autoconf-without-aclocal-m4.
7070 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
7071 Nathanael Nerode <neroden@twcny.rr.com>
7073 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
7074 AC_CHECK_TOOLS): Warn if a cross-tool is found without
7076 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7077 AC_CHECK_TARGET_TOOLS): New macros.
7078 * doc/autoconf.texi (Generic Programs): Document
7079 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7080 AC_CHECK_TARGET_TOOLS, and warn for future changes
7081 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
7083 (Specifying Names): Document the reason for these future
7085 * tests/mktests.sh: Do not generate tests for the
7087 * NEWS: Document these changes.
7089 * doc/autoconf.texi: Avoid macros with unbraced arguments,
7090 they make TeX hang up.
7092 2004-03-15 Paul Eggert <eggert@bogus.example.com>
7094 * NEWS: New macro AC_CHECK_ALIGNOF.
7095 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
7096 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
7097 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
7099 (AC_CHECK_ALIGNOF): New macro.
7100 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
7101 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
7104 2004-03-03 Paul Eggert <eggert@twinsun.com>
7106 * bin/Makefile.am (edit): Don't use $< in a context where
7107 POSIX doesn't require support for it. Use $@.in instead.
7108 Problem reported by Anthony N. Frasso in
7109 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
7110 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
7112 2004-02-23 Gary V. Vaughan <gary@gnu.org>
7114 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
7115 from the next generation of Libtool.
7116 * lib/autom4te.in (Autoreconf-preselections): Ditto.
7118 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
7120 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
7121 is not always thread-safe. Report from Nathanael Nerode.
7123 2004-02-18 Paul Eggert <eggert@twinsun.com>
7125 Fix a dependencies problem, stemming from a Autoconf 2.59 build
7126 problem on QNX reported by Stephen Rasku in
7127 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
7129 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
7130 $(m4sh_m4f_dependencies); this removes a FIXME.
7131 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
7132 (MAINTAINERCLEANFILES): Split into pieces,
7133 one per related section. Add $(srcdir)/wrapper.in.
7135 2004-02-09 Paul Eggert <eggert@twinsun.com>
7137 * doc/autoconf.texi (Setting Output Variables): Emphasize that
7138 AC_SUBST provides no portable way to escape literal newlines.
7140 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
7141 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
7142 Darwin uses -lcrt2.o and there's little point to cataloging all
7143 the system variants. Partial fix reported by Andreas Waechter in:
7144 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
7145 for bug reported by Nelson H. F. Beebe in:
7146 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
7148 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
7150 * doc/autoconf.texi (AU_DEFUN): Fix English,
7151 suggested by Paul Eggert.
7152 * lib/autoconf/autoupdate.m4: Correct reference to
7153 acobsolete.m4, suggested by Alexandre Duret-Lutz.
7155 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
7157 * bin/autoupdate.in: Define __file__ so that warnings
7158 refer to the correct file.
7159 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
7160 the behavior of the third argument.
7161 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
7162 correctly the behavior of the third argument. Document
7163 what the three macros that AU_DEFUN defines do. Fix
7164 warning message when the third argument includes $0
7165 (reported by Alexandre Duret-Lutz).
7167 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
7168 Eric Sunshine <sunshine@sunshineco.com>
7169 Paul Eggert <eggert@twinsun.com>
7171 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
7172 (AS_INIT): Output shell initialization there. Removed optional
7173 parameter. Expand _AS_SHELL_FN_SPY.
7174 (AS_INIT_WITH_SHELL_FN): Removed.
7175 (_AS_SHELL_FN_SPY): New macro.
7176 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
7178 (AS_SHELL_SANITIZE): Remove loop to find better shell
7179 and documentation for the parameter.
7180 (_AS_DETECT_BETTER_SHELL): Move it here.
7181 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
7182 (_AS_RUN): Move it here, support testing with eval.
7183 (AS_REQUIRE_SHELL_FN): Require shell functions when
7185 (_AS_LINENO_WORKS): Put around braces, we do not
7186 trigger the bash bug anymore.
7187 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
7188 use AS_INIT_WITH_SHELL_FN.
7189 * bin/autoconf.in, tests/wrapper.in: Regenerated.
7191 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
7193 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
7194 * doc/autoconf.texi: Don't say that the third parameter
7196 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
7197 (AU_DEFUN): Honor the third parameter, create autoupdate
7198 macros with AU_DEFINE.
7199 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
7200 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
7201 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
7202 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
7203 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
7204 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
7205 AC_XENIX_DIR): Likewise.
7206 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
7207 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
7208 * lib/autoconf/status.m4: Remove FIXME.
7209 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
7210 that the macro is not present anymore in the updated
7212 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
7215 2004-01-28 Paul Eggert <eggert@twinsun.com>
7217 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
7219 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
7220 2003 (except 1997) to the list of copyright years. This undoes
7221 the 2003-05-22 change, which removed the older years from the list.
7222 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
7224 2004-01-27 Gary V. Vaughan <gary@gnu.org>
7225 Albert Chin-A-Young <china@thewrittenword.com>
7227 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
7228 grep or ggrep program in PATH that accepts as long lines as
7230 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
7232 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
7233 egrep and fgrep respectively if $GREP -E/-F don't work.
7234 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
7235 _AC_PROG_GREP, and AC_PROG_SED.
7236 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
7237 longest input length accepted by a command.
7238 (AC_PROG_SED): Use it.
7239 * doc/autoconf.texi (Particular Programs): Document the changes.
7242 2004-01-27 Paul Eggert <eggert@twinsun.com>
7244 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
7245 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7246 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
7247 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
7249 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
7250 bin/autoconf.in, config/Makefile.in, config/config.guess,
7251 config/config.sub, config/install-sh, config/mdate-sh,
7252 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
7253 lib/Makefile.in, lib/Autom4te/Makefile.in,
7254 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
7255 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
7256 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
7257 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
7258 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
7259 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
7260 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
7261 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
7262 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
7263 tests/actypes.at: Regenerate and/or sync with original
7266 2004-01-26 Paul Eggert <eggert@twinsun.com>
7268 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
7269 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
7270 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
7271 not <inttypes.h>. Problem reported by Tim Mooney in
7272 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
7273 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
7276 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
7277 otherwise "make check" fails because it forbids cmp (I guess
7278 because cmp treats files as binary on DOS-like systems).
7280 * tests/mktests.sh: Update copyright date to 2004, since some tests
7281 have changed in 2004.
7283 2004-01-23 Gary V. Vaughan <gary@gnu.org>
7285 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
7286 non-truncating sed or gsed program in PATH.
7287 * tests/acprograms.at: Add it.
7288 * doc/autoconf.texi (Particular Programs): Document it.
7291 2004-01-15 Paul Eggert <eggert@twinsun.com>
7293 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
7294 -std1 disables some useful extensions on Tru64. Problem reported
7296 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
7298 2004-01-14 Paul Eggert <eggert@twinsun.com>
7300 * doc/autoconf.texi (Programming in M4sh): Document that
7301 AS_MKDIR_P succeeds if the destination is a symbolic link
7302 to an existing directory.
7303 (Limitations of Usual Tools): Note that mkdir -p might not
7304 succeed on symlinks to directories.
7306 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
7308 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
7309 * bin/autoheader.in: Grammar fix in message.
7310 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
7311 Test for dir before calling mkdir -p. (trivial changes)
7313 2004-01-13 Eric Blake <ebb9@byu.net>
7315 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
7316 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
7318 2004-01-10 Jim Meyering <jim@meyering.net>
7320 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
7322 2004-01-09 Paul Eggert <eggert@twinsun.com>
7324 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
7325 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
7326 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
7327 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
7328 AC_COMPILE_IFELSE, since we now assume our caller invokes
7329 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
7330 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
7331 of AC_RUN_IFELSE; this avoids the warning mentioned above.
7332 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
7334 2004-01-07 Paul Eggert <eggert@twinsun.com>
7336 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
7337 `"'...'"`, as it's confusing (and I suspect it may not work on
7338 some platforms). The code was incorrect anyway, as it assumed
7339 that \$ evaluated to itself in that context. Reported by
7340 Alexandre Duret-Lutz.
7342 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
7344 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
7345 and _LT_AC_TAGCONFIG.
7347 2004-01-06 Paul Eggert <eggert@twinsun.com>
7349 * doc/autoconf.texi (One Macro Call): Fix an incorrect
7350 example, and add more examples. Reported by Eric Sunshine.
7352 2004-01-05 Paul Eggert <eggert@twinsun.com>
7354 * doc/autoconf.texi (Limitations of Usual Tools):
7355 Remove warning against "rm -fr" introduced yesterday; it
7358 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
7359 autoscan, autoupdate, ifnames): Don't use chmod -w.
7360 * lib/Makefile.am (autom4te.cfg): Likewise.
7361 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
7364 2004-01-04 Paul Eggert <eggert@twinsun.com>
7365 Paolo Bonzini <bonzini@gnu.org>
7367 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
7368 by doing lineno substitution only on lines containing "$LINENO".
7370 2004-01-04 Paul Eggert <eggert@twinsun.com>
7372 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
7373 Use "rm -f" to remove conftest.sed, not plain "rm".
7374 Bug reported by David Relson in
7375 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
7377 * Makefile.am (autom4te-update):
7378 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
7379 * Makefile.maint (my-distcheck, do-po-update): Likewise.
7380 * doc/autoconf.texi (Guidelines): Likewise.
7381 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
7382 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
7383 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
7384 * lib/autotest/general.m4 (AT_INIT): Likewise.
7385 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
7386 * tests/Makefile.am (clean-local): Likewise.
7387 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
7389 * doc/autoconf.texi (Limitations of Usual Tools):
7390 Warn against "rm -fr".
7392 2004-01-03 Paul Eggert <eggert@twinsun.com>
7394 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
7395 -c -o might not work. From a suggestion by Kevin Ryde.
7396 (C Compiler, Generating Sources, Limitations
7397 of Usual Tools, Limitations of Make, Making testsuite Scripts):
7398 Don't put '-o' after non-options, as POSIX doesn't allow this.
7399 Mention that cc's name might be gcc or c89 or whatever.
7401 2004-01-04 Kevin Ryde <user42@zip.com.au>
7403 * doc/autoconf.texi: Add various further index entries.
7405 2003-12-29 Paul Eggert <eggert@twinsun.com>
7407 * bin/autoreconf.in (autoreconf_current_directory):
7408 Fix typo: mkdir without umask arg.
7410 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
7412 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
7413 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
7414 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
7415 explanation clearer.
7417 2003-12-24 Andreas Schwab <schwab@suse.de>
7419 * doc/autoconf.texi (Default Includes): Fix misspelling of
7420 AC_INCLUDES_DEFAULT.
7422 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
7424 * configure.ac: Test if sh -n works.
7425 * configure: Regenerate.
7426 * tests/atlocal.in: Store the result here.
7427 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
7428 tools.at, looking in atlocal's ac_cv_sh_n_works instead
7429 of explicitly testing.
7430 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
7431 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
7432 * tests/tools.at (Syntax of the shell scripts): Simplify
7433 using AT_CHECK_SHELL_SYNTAX.
7434 (Syntax of the Perl scripts): Remove definition of
7435 AT_CHECK_PERL_SYNTAX.
7437 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
7439 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
7440 stderr to /dev/null.
7441 * bin/autoconf.in: Regenerate.
7442 * bin/wrapper.in: Regenerate.
7444 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
7446 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
7447 Extracted from AS_SHELL_SANITIZE.
7448 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
7450 (AS_SHELL_SANITIZE): Move reinvocation code from
7451 _AS_LINENO_WORKS, use it to find out if shell
7453 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
7455 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
7456 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
7458 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
7459 * bin/autoconf.in: Regenerate.
7460 * tests/wrapper.in: Regenerate.
7461 * tests/tools.at: Test the syntax of tests/autoconf
7462 and tests/testsuite.
7464 2003-11-24 Akim Demaille <akim@epita.fr>
7466 * config/announce-gen (&print_locations, &print_signatures)
7469 No longer rely on Gnus to inline the list of signatures: compute
7472 2003-11-24 Akim Demaille <akim@epita.fr>
7474 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
7475 override some files.
7476 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
7477 From Debian Autoconf 2.58.
7479 2003-11-24 Akim Demaille <akim@epita.fr>
7481 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
7483 From Debian Autoconf 2.58.
7485 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
7487 * TODO: Remove already done things. Update the part about finding
7488 tools for the target.
7490 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
7492 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
7493 Make wording more consistent.
7494 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7495 Explain the transition better.
7496 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
7497 the transition better.
7499 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
7501 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
7502 parameter of AU_DEFUN.
7503 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
7504 (AU_DEFUN): Remove the third parameter, it was not used.
7505 Use AC_DEFUN directly, not AU_DEFINE.
7506 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
7507 the expanded body, consistently with other macros such as AC_USG.
7509 2003-11-17 Paul Eggert <eggert@twinsun.com>
7511 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
7512 into the initial confdefs.h, to work around a bug in NextStep 3.3
7513 patch 3 reported by Eric Sunshine.
7515 2003-11-15 Kevin Ryde <user42@zip.com.au>
7517 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
7518 than $target since the latter is not usual, add guidelines on when to
7519 use or not use the system type.
7521 2003-11-12 Derek Price <derek@ximbiot.com>
7523 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
7524 typo misrepaired by an auto-spellcheck.
7526 2003-11-12 Akim Demaille <akim@epita.fr>
7528 * bin/autoreconf.in (&parse_args): Don't call automake with
7529 --force-missing unless it actually supports it.
7530 From Debian #219336.
7532 2003-11-12 Akim Demaille <akim@epita.fr>
7534 * configure.ac: Bump to 2.59a.
7537 2003-11-06 Akim Demaille <akim@epita.fr>
7541 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
7543 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
7544 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
7545 and ac_abs_top_srcdir are absolute paths.
7546 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
7548 2003-11-05 Akim Demaille <akim@epita.fr>
7550 * configure.ac: Bump to 2.58a.
7552 2003-11-05 Kevin Ryde <user42@zip.com.au>
7554 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
7555 it provokes a warning from makeinfo about looking like a cross
7556 reference in info output.
7558 * doc/autoconf.texi (Function Portability): Add notes on signal
7559 handler return type, as per AC_TYPE_SIGNAL.
7561 2003-11-04 Akim Demaille <akim@epita.fr>
7564 * doc/standards.texi: Update from master.
7566 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
7568 2003-11-04 Akim Demaille <akim@epita.fr>
7570 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
7571 computing the absolute path to d1 in the source hierarchy: it may
7572 not exist at all. So don't cd into it.
7573 From Alexandre Duret-Lutz.
7574 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
7576 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
7577 From Paul Eggert, but named after Perl's IO::Spec->catfile.
7578 * doc/autoconf.texi (Programming in M4sh): Document.
7579 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
7581 2003-11-03 Pavel Roskin <proski@gnu.org>
7583 * doc/autoconf.texi (Generic Structure Checks): Describe
7584 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
7586 2003-10-31 Akim Demaille <akim@epita.fr>
7588 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
7590 * doc/autoconf.texi (Language Choice): Document.
7591 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
7592 the current language is Fortran.
7594 2003-10-31 Akim Demaille <akim@epita.fr>
7596 * bin/autom4te.in (&freeze): Use a less likely warning separator
7597 than `\n\n', so that `\n\n\n' is valid in warnings.
7598 Reported by Steve Huston.
7600 2003-10-28 Akim Demaille <akim@epita.fr>
7602 * Makefile.cfg (local_updates, executable-update): Tweak to be
7603 robust to parallel makes.
7604 Suggested by Alexandre Duret-Lutz.
7606 2003-10-27 Akim Demaille <akim@epita.fr>
7608 * Makefile.cfg (executable-update): New.
7609 (local_updates): Call it.
7611 2003-10-27 Akim Demaille <akim@epita.fr>
7613 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
7614 Don't remove core.* as it may remove valid user files.
7615 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
7616 (AC_FUNC_UTIME_NULL): Likewise.
7618 2003-10-23 Akim Demaille <akim@epita.fr>
7621 * config/config.guess, config/config.sub: Upgrade from masters.
7623 2003-10-23 Akim Demaille <akim@epita.fr>
7625 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
7626 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
7629 2003-10-23 Akim Demaille <akim@epita.fr>
7631 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
7632 Don't forget to remove conftest.err.
7634 2003-10-23 Akim Demaille <akim@epita.fr>
7636 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
7637 same object file in $LIBOBJS.
7638 Reported by Alexandre Duret-Lutz & Derek Robert Price.
7639 * doc/autoconf.texi (Generic Functions): Adjust.
7641 2003-10-20 Paul Eggert <eggert@twinsun.com>
7643 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
7644 Use 'eval', so that the resulting configure scripts work even if
7645 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
7647 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
7649 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
7650 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
7651 (_AC_LINK_IFELSE): Check the werror flag.
7652 * doc/autoconf.texi (Generic Compiler Characteristics): Document
7656 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
7658 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
7659 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
7660 override AC_LINK_IFELSE.
7662 2003-10-15 Paul Eggert <eggert@twinsun.com>
7664 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
7665 pdksh 5.2.14. Bug reported by Ralf Corsepius.
7666 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
7667 Mention /usr/dt/bin/dtksh on Solaris.
7668 (Shell Substitutions): Warn about $((...)).
7669 (Parentheses): New section.
7671 2003-10-15 Kevin Ryde <user42@zip.com.au>
7673 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
7674 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
7676 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
7678 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
7681 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
7683 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
7684 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
7686 2003-10-10 Andreas Schwab <schwab@suse.de>
7688 * bin/autoheader.in: Avoid empty first line in --version and
7690 * bin/ifnames.in: Likewise.
7692 2003-10-09 Paul Eggert <eggert@twinsun.com>
7694 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
7695 Issue a more-informative diagnostic.
7696 Problems reported by Eric Sunshine.
7698 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
7700 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
7701 -mGLOB_options_string stuff for Intel ifc, which can cause
7702 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
7703 pattern-matching instead of grep.
7705 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
7707 * doc/autoconf.texi: Document new FC Fortran macros.
7709 2003-10-08 Gary V. Vaughan <gary@gnu.org>
7711 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
7712 that future autopoint/aclocal/automake/autoreconf will be able
7713 to trace to find where to install local m4 macros.
7714 * doc/autoconf.texi (Input): Document it.
7717 2003-10-06 Gary V. Vaughan <gary@gnu.org>
7719 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
7720 -lcrtbegin.o to list of ignored flags and fix underquoting of
7723 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
7725 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
7726 cache variable instead of $G77 to decide whether to include -O2,
7727 since $G77 is specific to Fortran 77.
7729 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
7731 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
7732 free" flag. Re-order flags tested into rough order of popularity.
7734 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
7736 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
7737 arguments so that it can be used with syntax identical to
7738 AC_PROG_F77, and so that we can more easily decide to
7739 remove/deprecate the DIALECT optional argument in the future if it
7741 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
7742 non-freeform-supporting compilers. Document freeform flags.
7744 2003-10-03 Akim Demaille <akim@epita.fr>
7746 * configure.ac: Look for emacs, not macs.
7747 Reported by Eric Sunshine.
7749 2003-10-03 Akim Demaille <akim@epita.fr>
7751 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
7752 * bin/autoreconf.in (autoreconf_current_directory): Create the
7753 AUX_DIR if needed, for sake of automake --add-missing etc.
7754 Suggested by Alexandre Duret-Lutz.
7756 2003-10-03 Akim Demaille <akim@epita.fr>
7758 * configure.ac: Quotation and formatting changes.
7759 (EMACS): Don't set it if it is not recent enough to support
7763 2003-10-02 Akim Demaille <akim@epita.fr>
7765 * bin/ifnames.in (&scan_file): Skip C++ comments.
7768 2003-10-01 Pavel Roskin <proski@gnu.org>
7770 * doc/autoconf.texi (Particular Structure Checks):
7771 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
7773 2003-10-01 Akim Demaille <akim@epita.fr>
7777 2003-09-30 Paul Eggert <eggert@twinsun.com>
7779 * lib/Autom4te/XFile.pm: Use Errno.
7780 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
7781 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
7783 2003-09-30 Akim Demaille <akim@epita.fr>
7785 * config/announce-gen (&print_news_deltas): Extracted from...
7786 (&print_changelog_deltas): here.
7787 (&news_file): Rename as...
7790 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
7792 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
7793 have been created when invoking the compiler.
7794 * tests/fortran.at (GNU Fortran 77): Quote $G77.
7796 2003-09-29 Akim Demaille <akim@epita.fr>
7800 * config/mkinstalldirs: Upgrade.
7802 2003-09-28 Paul Eggert <eggert@twinsun.com>
7804 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
7805 Problem reported by Lars J. Aas in
7806 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
7807 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
7808 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
7809 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
7811 2003-09-26 Akim Demaille <akim@epita.fr>
7813 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
7814 directory for AC_CONFIG_COMMANDS' first argument exists.
7815 This makes valid the invocation of _AC_SRCPATH that follows.
7816 Reported by Eric Sunshine.
7817 * doc/autoconf.texi (Configuration Commands): Adjust.
7819 2003-09-26 Akim Demaille <akim@epita.fr>
7821 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
7822 Reported by Ralf Corsepius.
7824 2003-09-26 Akim Demaille <akim@epita.fr>
7826 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
7828 Actually, use AU_ALIAS.
7831 2003-09-26 Paul Eggert <eggert@twinsun.com>
7833 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
7834 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
7835 Problem reported by Eric Sunshine in:
7836 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
7838 2003-09-26 Akim Demaille <akim@epita.fr>
7840 The test suite are sometimes assigning timings incorrectly.
7841 Reported by Henk Krus.
7842 Diagnosed by Nicolas Joly.
7844 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
7846 Instead of making AT_help a sequence of assignments to grow
7847 $at_help_all, just make AT_help_all be the growing contents of
7848 $at_help_all, and make a single assignment in...
7850 (at_times_skip): Flip the meaning and rename as...
7852 (AT_INIT): When summarizing the test that ran, remove
7853 $at_times_file after use, and check it is present before trying to
7856 2003-09-25 Akim Demaille <akim@epita.fr>
7860 * bin/Makefile.am (edit): Handle '@configure_input@'.
7861 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
7862 (ifnames): chmod -w.
7863 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
7864 executables, not bin/ executables! Otherwise all the magic needed
7865 to find non installed files is turned off. This caused a failure
7866 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
7867 as found in its environment (sent by tests/autoreconf): pointing
7868 to bin/autom4te that could not find its files.
7869 * tests/mktests.sh: Force the replacement of generated files, for
7870 the sake of "mv" program that are interactive when overwriting a
7872 * config/install-sh: Upgrade from CVS Automake.
7874 2003-09-23 Paul Eggert <eggert@twinsun.com>
7876 * doc/autoconf.texi (Limitations of Builtins): Document test -h
7877 versus test -L issues.
7879 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
7880 Paul Eggert <eggert@twinsun.com>
7882 Trivial change to support GCC's configuration procedure.
7883 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
7884 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
7885 about inconsistency if the preprocessor is set to give errors for
7887 * doc/autoconf.texi (C Compiler Characteristics): Document this.
7889 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
7891 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
7892 and XFile.pm from Automake.
7893 * lib/Autom4te/XFile.pm: Update from Automake.
7895 2003-09-12 Akim Demaille <akim@epita.fr>
7899 2003-09-12 Akim Demaille <akim@epita.fr>
7901 * config/config.guess, config/config.sub, config/missing,
7902 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
7905 2003-09-12 Akim Demaille <akim@epita.fr>
7907 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
7910 2003-09-11 Akim Demaille <akim@epita.fr>
7912 * doc/autoconf.texi (Header Portability): linux/random.h.
7913 From Peter Hendrickson.
7915 2003-09-10 Akim Demaille <akim@epita.fr>
7917 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
7918 willing to edit the output files.
7920 2003-09-10 Akim Demaille <akim@epita.fr>
7922 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
7924 * tests/mktests.sh: Skip AC_FC_SRCEXT.
7925 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
7927 2003-09-09 Akim Demaille <akim@epita.fr>
7929 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
7930 Reported by Gary Vaughan.
7931 * bin/autom4te.in (handle_m4): Likewise.
7933 2003-09-09 Akim Demaille <akim@epita.fr>
7935 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
7938 2003-09-07 Paul Eggert <eggert@twinsun.com>
7940 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
7941 Improve the accuracy of the wording about obsolescence.
7942 From a suggestion by Ian Lance Taylor in
7943 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
7945 2003-09-05 Paul Eggert <eggert@twinsun.com>
7947 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
7948 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
7950 2003-09-04 Akim Demaille <akim@epita.fr>
7952 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
7955 2003-09-04 Akim Demaille <akim@epita.fr>
7957 * bin/autom4te.in: Use &fatal where more appropriate than &error.
7958 (freeze): When exiting, use $exit_code.
7959 * lib/autoconf/fortran.m4: Comment changes.
7961 2003-09-04 Akim Demaille <akim@epita.fr>
7963 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
7965 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
7967 Add support for newer Fortran dialects. The F77 interface is
7968 unchanged, and continues to support Fortran 77. New FC macros
7969 correspond to all the old F77 macros, with output variables FC,
7970 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
7971 available dialect, but older dialects can be specified. There are
7972 new macros AC_FC_SRCEXT to set the source extension, and
7973 AC_FC_FREEFORM to accept free-form source files.
7975 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
7977 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
7978 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
7979 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
7980 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
7981 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
7982 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
7983 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
7984 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
7985 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
7986 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
7987 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
7988 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
7989 AC_FC_SRCEXT, AC_FC_FREEFORM):
7991 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
7992 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
7993 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
7994 Rewrite in terms of the above.
7995 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
7996 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
7997 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
7998 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
8000 2003-09-02 Paul Eggert <eggert@twinsun.com>
8002 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
8003 Document problems with timestamp resolution that 'make', 'cp -p', and
8006 2003-08-27 Akim Demaille <akim@epita.fr>
8008 * tests/m4sugar.at (cross_warning): Make sure to enable the
8009 output, so that we can track spurious m4sugar output.
8010 * tests/local.at: Require 2.57.
8011 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
8012 are defaulted by AT_CHECK anyway.
8013 Use AT_CHECK_AUTOM4TE.
8014 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
8017 2003-08-27 Akim Demaille <akim@epita.fr>
8019 * bin/autoheader.in: Issue the "Using auxiliary..." message only
8020 when -Wobsolete is set.
8021 Set it on by default.
8022 Suggested by Klee Dienes.
8024 2003-08-27 Akim Demaille <akim@epita.fr>
8026 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
8030 2003-08-26 Akim Demaille <akim@epita.fr>
8032 * doc/autoconf.texi (Output): Make clear that one can run code
8035 2003-08-25 Akim Demaille <akim@epita.fr>
8037 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
8040 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
8042 * bin/autoreconf.in (parse_args): Do not pass --no-force to
8043 Automake versions prior to 1.8.
8045 2003-08-25 Akim Demaille <akim@epita.fr>
8047 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
8050 2003-08-24 Akim Demaille <akim@epita.fr>
8052 * configure.ac: Bump to 2.57c.
8054 2003-08-22 Akim Demaille <akim@epita.fr>
8058 * Makefile.cfg (local-checks-to-skip): New.
8059 * Makefile.maint (local-check): Rename as...
8060 (local-checks-available): this.
8063 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
8064 * configure.ac: Require Automake 1.7.6.
8066 2003-08-22 Akim Demaille <akim@epita.fr>
8068 Output stack traces in warnings.
8070 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
8071 Replace the former...
8072 (m4_warn): Pass the call stack to _m4_warn.
8073 * bin/autom4te.in: Adjust to output the call stack.
8074 * tests/m4sugar.at (m4@&t@_warn): Adjust.
8076 2003-08-22 Akim Demaille <akim@epita.fr>
8078 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
8079 * bin/autom4te.in: Adjust.
8081 2003-08-21 Akim Demaille <akim@epita.fr>
8083 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
8085 (&getopt): Adjust the note and verb channels, depending upon
8087 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
8088 * bin/autoupdate.in: Adjust.
8089 Use &verb, not &verbose.
8091 2003-08-21 Akim Demaille <akim@epita.fr>
8093 * bin/autoheader.in (&parse_args): Use &parse_warnings and
8095 ($help): Use Autom4te::ChannelDefs::usage.
8096 * bin/autoscan.in: Use Autom4te::ChannelDefs.
8097 * lib/Autom4te/General.pm: Don't export error: you don't own it.
8099 2003-08-21 Akim Demaille <akim@epita.fr>
8101 First stab at preserving warnings between calls to autom4te,
8102 including when the cache is used.
8104 There are still several issues: (i) there are too many runs of m4
8105 (one for include, one for warnings, and some more), (ii) warnings
8106 spreading on several lines are not handled gracefully, (iii) the
8107 code meant to have the call stack display for errors does not work
8108 (its handling should move from m4 to autom4te).
8110 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
8112 (@preselect): Add m4_warn.
8113 ($exit_status): Remove, use $exit_code.
8114 ($help): Use Autom4te::ChannelDefs::usage.
8115 (&handle_m4): No longer define the m4_warnings.
8116 At each run, extract and report the warnings.
8117 Always cache the result, including if the exit status is on
8118 failure, since if nothing changes, we should result in the same
8119 failure, hence we can use the cache.
8120 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
8121 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
8123 (m4_warn): Redefine as a do-nothing: it is its invocation that
8124 matters, as warnings are now reported via traces.
8125 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
8126 the contents of m4_warn: make it _call_ m4_warn, so that tracing
8127 the latter reveals calls to the former.
8131 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
8133 2003-08-21 Akim Demaille <akim@epita.fr>
8135 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
8138 2003-08-21 Akim Demaille <akim@epita.fr>
8140 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
8142 * lib/Autom4te/ChannelDefs.pm: Doc typos.
8143 (&parse_warnings): Accept a list of warning requests.
8144 (&usage): Return a string, not a side effect.
8145 (cross): New warning category.
8147 2003-08-21 Akim Demaille <akim@epita.fr>
8149 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
8150 (&require_configure_ac): Accept an optional directory argument.
8151 ($configure_ac): Remove.
8152 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
8154 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
8155 * bin/autoscan.in: Adjust.
8157 2003-08-20 Akim Demaille <akim@epita.fr>
8159 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
8160 Reported by Alexandre Duret-Lutz.
8162 2003-08-20 Akim Demaille <akim@epita.fr>
8164 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
8165 * bin/autom4te: Adjust.
8166 In particular, be Autoconf tools are really silent when properly
8167 working, bind the verbosity of the 'note' channel to $verbose.
8168 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
8169 (&xsystem, &contents): Remove, since they are exported by...
8170 * lib/Autom4te/FileUtils.pm: this.
8172 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
8173 * lib/Autom4te/FileUtils.pm: here.
8175 2003-08-20 Akim Demaille <akim@epita.fr>
8177 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
8178 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
8181 2003-08-20 Akim Demaille <akim@epita.fr>
8183 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
8184 (autom4te-update): New.
8185 * Makefile.cfg (update): Bind autom4te-update.
8187 2003-08-19 Derek Price <derek@ximbiot.com>
8189 * lib/autotest/general.m4: Comment various HELP_* diversions.
8190 (PARSE_ARGS_BEGIN): New section for option parsing related
8192 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
8193 package specific options and associated help.
8195 2003-08-19 Akim Demaille <akim@epita.fr>
8197 * config/announce-gen, Makefile.cfg: New.
8198 * Makefile.am: Adjust.
8199 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
8201 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
8203 * lib/autom4te.in (Automake-preselections): Preselect
8204 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
8207 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
8209 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
8210 (Autoconf-without-aclocal-m4): ... this new language.
8211 * doc/autoconf.texi (autom4te Invocation): Mention
8212 Autoconf-without-aclocal-m4.
8214 2003-08-18 Derek Price <derek@ximbiot.com>
8216 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
8217 RUN-IF-PASS optional arguments.
8219 2003-08-18 Derek Price <derek@ximbiot.com>
8221 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
8223 2003-08-16 Derek Price <derek@ximbiot.com>
8225 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
8226 STDOUT & STDERR arguments.
8228 2003-08-14 Derek Price <derek@ximbiot.com>
8230 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
8231 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
8232 shorter column three. Add DESCRIPTION to log file content.
8234 2003-08-13 Derek Price <derek@ximbiot.com>
8236 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
8239 2003-08-12 Derek Price <derek@ximbiot.com>
8241 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
8242 (AT_CHECK_NOESCAPE): Move core functionality to...
8243 (_AT_CHECK): ...this new macro.
8245 2003-08-07 Derek Price <derek@ximbiot.com>
8247 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
8248 (AT_CHECK_NOESCAPE): ...to this new macro.
8250 2003-07-31 Paul Eggert <eggert@twinsun.com>
8252 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
8253 in Bash 2.01. Problem reported by Brian Gough in
8254 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
8256 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
8258 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
8259 -lcrt1.o, for OS X. (trivial change)
8261 2003-07-07 Paul Eggert <eggert@twinsun.com>
8263 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
8264 inside '#ifndef __cplusplus'. Problem reported by
8267 2003-07-06 Bill Clarke <llib@computer.org>
8269 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
8270 'long', not 'int', for benefit of Sun's recent C++ compilers
8271 (trivial change). See:
8272 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
8273 (This really should be 'intptr_t', not 'long', but that would
8276 2003-06-25 Akim Demaille <akim@epita.fr>
8278 * lib/Makefile.am (autom4te.cfg): Make it read only.
8279 Depend on Makefile since it contains substitutions.
8281 * lib/autom4te.in (args): Add local.at? for Autotest args.
8282 This change was made on autom4te.cfg which is generated.
8283 Reported by Raja R. Harinath.
8285 2003-06-25 Akim Demaille <akim@epita.fr>
8287 * doc/autoconf.texi (Header Portability): sys/mount.h.
8288 From Gareth McCaughan.
8290 2003-06-23 Akim Demaille <akim@epita.fr>
8292 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
8293 not all of them. This fixes 1. the fact that when testing
8294 Autoconf there are many many config.log, 2. the incorrect use of
8295 top_srcdir to find config.log.
8296 Don't mix the detailed output of failed test with the summary of
8297 failures. Rather, append detailed log afterwards.
8299 2003-06-23 Akim Demaille <akim@epita.fr>
8301 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
8302 always run: output config.log on $at_group_log.
8304 2003-06-23 Akim Demaille <akim@epita.fr>
8306 * tests/torture.at (#define header templates): Don't use quotes in
8307 C++ comments as it puzzles Emacs' sh font-lock-mode.
8309 2003-06-23 Akim Demaille <akim@epita.fr>
8311 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
8312 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
8313 * tests/atspecific.m4: Rename as...
8314 * tests/local.at: This.
8315 * tests/suite.at: Move the globals into...
8316 * tests/local.at: here.
8317 * tests/Makefile.am: Adjust.
8318 * doc/autoconf.texi (testsuite Scripts): Adjust.
8320 2003-06-21 Kevin Ryde <user42@zip.com.au>
8322 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
8323 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
8324 ensuring we add -std1 for full-ANSI.
8326 * doc/autoconf.texi (hdrindex): New macro.
8327 Add index entries for portability of various standard header files.
8329 2003-06-20 Akim Demaille <akim@epita.fr>
8331 * configure.ac: Bump to 2.57b.
8333 2003-06-20 Akim Demaille <akim@epita.fr>
8337 2003-06-20 Akim Demaille <akim@epita.fr>
8339 * bin/autom4te.in: Don't rely on $HOME being defined.
8340 Reported by Marc Espie as PR/233.
8342 2003-06-20 Akim Demaille <akim@epita.fr>
8344 * lib/autotest/general.m4: Use at_times_file only if used.
8347 2003-06-20 Akim Demaille <akim@epita.fr>
8349 * config/config.guess, config/config.sub, config/elisp-comp,
8350 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
8351 Update from masters.
8353 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
8355 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
8356 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
8357 (TEST_SCRIPT): New diversion.
8358 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
8359 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
8360 (AT_INIT): Support for expected failures.
8362 2003-06-02 Akim Demaille <akim@epita.fr>
8364 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
8366 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
8367 Autoconf nor Automake.
8368 (&contents): New, from Automake.
8371 2003-05-28 Paul Eggert <eggert@twinsun.com>
8373 * NEWS, doc/autoconf.texi (Particular Functions),
8374 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
8375 is the inverse of localtime.
8377 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
8379 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
8380 (handle_exec_errors): New function. Work around $! being
8381 altered by WEXITSTATUS.
8382 (xqx, xsystem): Use handle_exec_errors.
8384 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
8386 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
8387 Do not call `_exit()', simply modify `$?'.
8388 (xsystem): Reset $! before running system, and check it afterward.
8389 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
8390 63 for version mismatches.
8392 2003-05-23 Akim Demaille <akim@epita.fr>
8394 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
8395 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
8396 the middle of a line).
8397 * lib/m4sugar/m4sugar.m4: Likewise.
8398 Remove useless spaces in comments.
8400 2003-05-23 Akim Demaille <akim@epita.fr>
8402 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
8403 exit 63, so that we (or Automake's "missing") can tell the
8404 difference with a plain failure.
8405 * doc/autoconf.texi (Notices): Adjust.
8407 2003-05-23 Akim Demaille <akim@epita.fr>
8409 * Makefile.am, bin/Makefile.am, config/Makefile.am,
8410 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
8411 White spaces cleanup.
8413 2003-05-22 Jim Meyering <jim@meyering.net>
8414 Paul Eggert <eggert@twinsun.com>
8416 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
8417 Remove `#include <stdlib.h>' from the list; we should never
8418 make confdefs.h include <stdlib.h> or <cstdlib>, because the
8419 resulting namespace pollution would cause other tests to fail.
8420 Configure scripts run with some older versions of g++ and HP's
8421 aCC would fail due to such an #include. Problems reported by
8422 Matthew Mueller in <http://bugs.debian.org/120704> and by
8424 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
8425 In the test, use the test declaration before including <stdlib.h>,
8426 as that's closer to how it'll be used.
8428 2003-05-23 Akim Demaille <akim@epita.fr>
8430 * doc/autoconf.texi (Header Portability): ucred.h.
8433 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
8435 Overhaul Autotest's logging: generate separate log files
8436 in testsuite.dir/NNN/testsuite.log, and append them to
8437 testsuite.log instead of re-running the test verbosely.
8439 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
8440 file descriptor, write 0 to at_status_file instead of setting
8441 at_status=0, initialize some new variables (at_status_file,
8442 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
8443 to rerun the tests, instead append the at_group_log to the
8444 at_suite_log when a test fails.
8445 (AT_SETUP): pipe the test case's output into at_tee_pipe,
8446 with the AS_MESSAGE_LOG_FD redirected to stdout.
8447 (AT_CLEANUP): save the output status in $at_status_file
8448 and restore it, redirect the AS_MESSAGE_LOG_FD back to
8450 (AT_CHECK): since tests are run with a redirected stdout,
8451 and used to be re-run in verbose mode, turn some $at_verbose
8452 into echo, and don't redirect the output of testing stdout
8455 * lib/autotest/autoconf.texi (testsuite Scripts): Update
8456 the name of the debugging directory and information about
8459 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
8461 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
8464 2003-05-22 Akim Demaille <akim@epita.fr>
8466 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
8467 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
8468 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
8469 * lib/autoconf/status.m4: Fix and adjust copyright notices.
8471 2003-05-22 Akim Demaille <akim@epita.fr>
8473 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
8474 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
8475 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8476 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
8477 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
8478 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
8479 * lib/autoconf/status.m4, lib/autoconf/types.m4,
8480 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
8481 * tests/atspecific.m4, tests/base.at, tests/compile.at,
8482 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
8483 * tests/tools.at, tests/torture.at:
8484 Whitespace clean up.
8485 Suggested by Jim Meyering.
8487 2003-05-22 Akim Demaille <akim@epita.fr>
8489 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
8490 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
8491 Reported by Jim Meyering.
8493 2003-05-22 Akim Demaille <akim@epita.fr>
8495 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
8496 Add AC_HELP_STRING to the obsolete macros section.
8498 Use '@.' for sentences that ended in a capital letter.
8501 2003-05-22 Akim Demaille <akim@epita.fr>
8503 * config/config.guess, config/config.sub, config/elisp-comp,
8504 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
8505 * config/texinfo.tex, doc/standards.texi: Update from masters.
8507 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
8509 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
8512 2003-05-21 Akim Demaille <akim@epita.fr>
8514 * bin/autoupdate.in ($m4): Fix quotation.
8515 Reported by Martin Mokrejs.
8517 2003-05-19 Paul Eggert <eggert@twinsun.com>
8519 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
8520 Remove non-ASCII characters.
8522 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
8524 * tests/semantics.at (AC_SEARCH_LIBS): New test.
8525 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
8526 AC_CHECK_HEADERS_NEW): New tests.
8528 2003-05-17 Akim Demaille <akim@epita.fr>
8530 * lib/autoconf/functions.m4: Use the default includes so that
8531 memcmp be declared before being tested.
8532 Reported by Sander Niemeijer.
8533 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
8534 * doc/autoconf.texi (Default Includes): Document
8535 AC_INCLUDES_DEFAULT.
8537 2003-05-17 Akim Demaille <akim@epita.fr>
8539 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
8540 * doc/autoconf.texi (Obsolete Macros): Adjust.
8541 Reported by Werner LEMBERG and Debian Bug 190886.
8543 2003-05-16 Akim Demaille <akim@epita.fr>
8545 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
8546 user name space clashes.
8547 Reported by Bruno Haible.
8549 2003-05-16 Akim Demaille <akim@epita.fr>
8551 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8552 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
8553 them uniform, and more robust to Perl special characters.
8554 Reported by Martin Mokrejs.
8556 2003-05-14 Akim Demaille <akim@epita.fr>
8558 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
8560 2003-05-14 Akim Demaille <akim@epita.fr>
8562 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
8565 2003-05-12 Akim Demaille <akim@epita.fr>
8567 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
8569 From Matthias Andree.
8571 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
8573 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
8576 2003-05-06 Akim Demaille <akim@epita.fr>
8578 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
8579 longer updates aclocal.m4 if useless, (ii) if a file m4_included
8580 by aclocal.m4 is changed it might require the importing of another
8581 m4 extension file, i.e., aclocal must be run.
8583 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
8584 (&parse_args): Use --force with aclocal if required and supported.
8585 (&autoreconf_current_directory): Use &run_aclocal.
8587 2003-05-06 Akim Demaille <akim@epita.fr>
8589 Lock autom4te's cache.
8591 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
8592 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
8593 argument instead of a file name, so that the request file remains
8594 open during the whole autom4te run.
8595 ($icache_file): New.
8596 (&freeze): Lock the $icache_file.
8598 2003-04-29 Derek Price <derek@ximbiot.com>
8600 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
8601 seperator with m4_append_uniq(). It doesn't work.
8602 (AT_CLEANUP): Add `;' to end of at_help_all.
8603 (AT_INIT): Allow --keywords to be specified more than once. When
8604 grepping $at_help_all for keywords, use the field and keyword
8605 seperators to ensure a complete keyword match. Alter at_prev handling
8606 to support the new --keywords behavior.
8608 2003-04-27 Karl Berry <karl@freefriends.org>
8610 * doc/autoconf.texi: Make the dir entries in the autoconf manual
8611 align better with others. I also made some of the individual
8612 entries on one line, for brevity and to make it easier for me to
8613 sort my dir-example file in the Texinfo distribution :).
8615 2003-04-12 Jim Meyering <jim@meyering.net>
8617 * NEWS: Mention the new macro.
8618 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
8619 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
8620 * tests/c.at: Test AC_C_RESTRICT.
8621 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
8623 2003-04-08 Akim Demaille <akim@epita.fr>
8625 * bin/ifnames.in: Skip C++ comments.
8628 2003-04-08 Akim Demaille <akim@epita.fr>
8630 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
8631 From Ilya Zakharevich.
8633 2003-04-08 Akim Demaille <akim@epita.fr>
8635 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
8638 2003-04-01 Derek Price <derek@ximbiot.com>
8640 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
8641 from Akim's checkin of 2003-03-29.
8643 2003-04-01 Derek Price <derek@ximbiot.com>
8645 * tests/torture.at (Configuring subdirectories): Add missing
8646 close-quote for Akim's change from 2003-03-28.
8648 2003-04-01 Akim Demaille <akim@epita.fr>
8650 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
8651 (AC, AT, MS): these.
8652 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
8655 * doc/Makefile.am (CLEANFILES): Adjust.
8656 (TEXI2DVI): Make it --batch.
8658 2003-03-31 Derek Price <derek@ximbiot.com>
8660 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
8661 which removed the main loop.
8662 Thanks to Akim Demaille.
8664 2003-03-29 Akim Demaille <akim@epita.fr>
8666 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
8668 From Ilya Zakharevich.
8670 2003-03-29 Akim Demaille <akim@epita.fr>
8672 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
8673 documentation to read is Autoconf's.
8674 Suggested by Paul Eggert.
8676 2003-03-28 Akim Demaille <akim@epita.fr>
8678 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
8679 reading the section "Present But Cannot Be Compiled" when the
8680 header causes problems.
8682 2003-03-28 Akim Demaille <akim@epita.fr>
8684 * tests/torture.at (Configuring subdirectories): Require aclocal
8685 1.4, otherwise the test fails, as it does support configure.ac.
8686 This fixes the "test 40 failed" bug reports.
8688 2003-03-28 Akim Demaille <akim@epita.fr>
8690 * doc/autoconf.texi (C Compiler): `#line' portability.
8691 From Paul Eggert and Nelson H. F. Beebe.
8693 2003-03-27 Derek Price <derek@ximbiot.com>
8695 * lib/autotest/general.m4: Eliminate main loop and reorganize test
8696 layout in order to allow scripting around test groups.
8698 2003-03-27 Derek Price <derek@ximbiot.com>
8700 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
8701 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
8702 use new diversions in preparation for accepting new arguments and
8703 allowing scripting around tests.
8704 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
8706 2003-03-26 Derek Price <derek@ximbiot.com>
8708 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
8709 obsolete AC_HELP_STRING.
8710 (AC_HELP_STRING): AU_DEFUN to...
8711 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
8712 * tests/m4sh.at (AS_HELP_STRING): New test.
8714 * tests/acgeneral.at: Regenerated.
8716 2003-03-26 Derek Price <derek@ximbiot.com>
8718 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
8719 sense. Verbosify the diversion definitions comment.
8721 2003-03-26 Derek Price <derek@ximbiot.com>
8723 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
8726 2003-03-21 Eric Siegerman <eric_97@pobox.com>
8728 * doc/autoconf.texi (Present But Cannot Be Compiled):
8729 Grammar fixes and minor rewording. (trivial change)
8731 2003-03-06 Paul Eggert <eggert@twinsun.com>
8733 Work around a problem noted by Nelson H. F. Beebe with coreutils
8734 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
8735 2002/05/09) rejects '#line 32768 "configure"' because the line
8737 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
8739 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
8740 * doc/autoconf.texi (Generating Sources): Document this.
8742 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
8744 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
8745 file name for the m4 program, when it has an "exe" file extension.
8746 DJGPP's error messages include the error code in brackets -
8747 remove the error code during normalization.
8749 2003-02-28 Akim Demaille <akim@epita.fr>
8751 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
8753 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
8755 * doc/autoconf.texi (Limitations of Make): Remove the section
8756 about `$<' in inference rules, it was a bogus interpretation of
8757 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
8758 Tru64 make in the "target lookup" section.
8759 (Automake): Automake 1.5+ no longer requires special tools to be
8760 present on the developer's host.
8762 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
8764 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
8765 to a shell that can handle redirection or quoting correctly.
8766 Override SHELL with the shell detected by configure.
8767 Use of $^O suggested by Tim van Holder.
8768 * bin/autom4te.in (BEGIN): Likewise.
8769 * bin/autoreconf.in (BEGIN): Likewise.
8770 * bin/autoscan.in (BEGIN): Likewise.
8771 * bin/autoupdate.in (BEGIN): Likewise.
8772 * bin/ifnames.in (BEGIN): Likewise.
8774 * bin/ifnames.in: Add final newline to help and version messages.
8776 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
8777 to cope with DOS-style absolute paths, when constructing
8780 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
8781 When constructing paths with IFS=:, quote the path. If we're
8782 constructing a DOS-style absolute path, we don't want to split it
8785 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
8788 2003-02-25 Pavel Roskin <proski@gnu.org>
8790 * bin/autoheader.in: Add missing newline when printing
8791 suggestion how change AC_DEFINE call.
8793 2003-02-24 Paul Eggert <eggert@twinsun.com>
8795 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
8796 2002-09-01 patch by replacing "test -n" with "test -z".
8797 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
8798 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
8800 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
8801 to fix a mismatch between example and discussion.
8803 2003-02-24 Kevin Ryde <user42@zip.com.au>
8805 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
8806 format starting with "-".
8808 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
8810 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
8811 is not portable inside Makefile.
8813 2003-02-20 Akim Demaille <akim@epita.fr>
8815 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
8816 compiler says yeah, but preproc says nope, compiler is right.
8817 Conversely, prompt the reader to send a bug report to the
8818 maintainers of the package, not of Autoconf.
8820 2003-02-20 Klee Dienes <kdienes@apple.com>
8822 * bin/autoreconf.in (autoreconf_current_directory): Properly
8823 handle an empty aclocal.m4.
8825 2003-02-20 Akim Demaille <akim@epita.fr>
8827 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
8831 2002-12-23 Paul Eggert <eggert@twinsun.com>
8833 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
8834 innocuous variant befor including <limits.h> or <assert.h>. This
8835 works around a bug reported by Albert Chin: HP-UX 11i
8836 (and earlier versions) have a <limits.h> that declares
8837 gettimeofday and many other functions.
8839 2002-12-03 Paul Eggert <eggert@twinsun.com>
8843 * NEWS, configure.ac: Update version.
8845 * doc/fdl.texi: Upgrade to FDL version 1.2.
8847 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
8848 nontrivially in main's body, so that f's external declaration is
8849 not optimized away in AIX. This should fix the bug reported by
8851 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
8853 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
8854 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
8855 defined, to support freestanding compilers. This should fix the
8856 bug reported by Momchil Velkov in
8857 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
8859 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
8860 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
8861 obsolete AC_CHECK_TYPE. The missing empty arg was reported
8862 by Simon Josefsson in
8863 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
8865 * Makefile.maint (www-gnu): New macro.
8866 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
8867 the location has moved.
8869 2002-12-02 Martin Frydl <martin@systinet.com>
8871 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
8872 \(.*\) match is too long and there is something more to be checked.
8873 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
8875 2002-11-15 Akim Demaille <akim@epita.fr>
8879 * config/install-sh: chmod +x.
8881 * config/move-if-change: Indenting changes.
8882 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
8883 * configure.ac (AM_INIT_AUTOMAKE): here.
8886 2002-11-14 Akim Demaille <akim@epita.fr>
8890 * config/config.guess, config/config.sub, config/install-sh:
8891 Update from masters.
8893 2002-11-14 Akim Demaille <akim@epita.fr>
8895 * Makefile.maint: Sync with Bison, i.e.:
8896 (po-check): Scan .l and .y files instead of the
8897 .c and the .h files that they generate. This fixes the bug
8898 reported by Tim Van Holder in:
8899 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
8900 Look for N_ as well as for _. Try to avoid matching #define for
8904 2002-11-14 Akim Demaille <akim@epita.fr>
8906 * doc/autoconf.texi (C Compiler): Compiling several files at once.
8907 From Paul Eggert and Albert Chin-A-Young.
8909 2002-11-14 Akim Demaille <akim@epita.fr>
8911 * doc/autoconf.texi (C Compiler): Solitary backslashes.
8912 From Paul Eggert and Albert Chin-A-Young.
8914 2002-11-14 Kevin Ryde <user42@zip.com.au>
8916 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
8917 than assigning in main, to avoid HP cc +O3 optimizing it away.
8919 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
8921 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
8922 option. Process --recheck after parsing all options. Pass -q
8923 option to configure on --recheck.
8924 (AC_OUTPUT): Pass -q from configure to config.status.
8925 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
8926 arguments to record.
8927 * doc/autoconf.texi (config.status Invocation): Document
8928 config.status -q option.
8930 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
8932 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
8933 Makefile.in if Makefile.am exists.
8934 (output): Strip `.am' from Makefiles. Don't
8935 output AC_CONFIG_FILES if no Makefiles were found.
8937 2002-11-07 Akim Demaille <akim@epita.fr>
8939 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
8940 (local_updates): New.
8941 * Makefile.maint: Update, from CVS Bison.
8942 (local_updates): New.
8944 2002-11-06 Akim Demaille <akim@epita.fr>
8946 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
8947 declaration in extern "C" too.
8948 Reported by Roberto Bagnara.
8950 2002-11-06 Akim Demaille <akim@epita.fr>
8952 * tests/torture.at (Configuring subdirectories): Don't use grep
8954 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
8955 Reported by Ezra Peisach.
8957 2002-11-05 Akim Demaille <akim@epita.fr>
8959 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
8961 We _have_ to stop using the old compatibility scheme that tried to
8962 avoid useless backslashes because Libtool 1.4.3 contains a
8963 AC_DEFINE([error_t], [int],
8964 [Define to a type to use for \`error_t' if it is not
8965 otherwise available.])
8966 We _have_ to quote the single quote and backslashes with \. The
8967 old compatibility scheme saw that ` was backslashed, and therefore
8968 did not quote the single quote. Hence before this patch, Autoconf
8969 was not compatible with Libtool.
8971 2002-11-04 Paul Eggert <eggert@twinsun.com>
8973 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
8974 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
8975 LC_NAME, LC_PAPER, LC_TELEPHONE.
8976 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
8978 2002-11-04 Akim Demaille <akim@epita.fr>
8982 * Makefile.maint (update, cvs-update, po-update, do-po-update):
8984 * config/texinfo.tex: Update.
8986 2002-11-03 Akim Demaille <akim@epita.fr>
8988 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
8990 (&autoreconf): here.
8991 ($help, $make, &parse_args, &autoreconf_current_directory):
8993 * doc/autoconf.texi (autoreconf Invocation): Adjust.
8995 2002-10-31 Bruno Haible <bruno@clisp.org>
8997 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
8998 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
8999 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
9000 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
9001 to ac_cv_func_realloc_0_nonnull.
9002 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
9004 2002-10-31 Akim Demaille <akim@epita.fr>
9006 The test suite was no longer checking for trailing envvars and files.
9008 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
9009 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
9011 2002-10-31 Akim Demaille <akim@epita.fr>
9013 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
9014 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
9015 Make variable, not a shell variable.
9016 Suggested by Bruno Haible.
9018 2002-10-31 Akim Demaille <akim@epita.fr>
9020 * bin/autom4te.in (load_configuration): Reject #args out of any
9023 2002-10-31 Akim Demaille <akim@epita.fr>
9025 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
9026 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
9027 (_AC_RUN_IFELSE): Use it.
9028 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
9029 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
9030 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
9033 2002-10-30 Akim Demaille <akim@epita.fr>
9035 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
9036 * doc/autoconf.texi (autom4te Invocation): Adjust.
9037 Suggested by Tim van Holder.
9039 2002-10-29 Paul Eggert <eggert@twinsun.com>
9041 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
9042 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
9043 Problem reported by Bruno Haible.
9045 2002-10-29 Akim Demaille <akim@epita.fr>
9047 * doc/autoconf.texi (Header Templates): Put also in words what the
9048 pictures says to assist free style readers.
9049 (Customizing autom4te): s/--cache=/--cache /.
9051 2002-10-29 Akim Demaille <akim@epita.fr>
9053 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
9055 sparc_address_test returns void.
9056 Use it with an argument, as prototyped.
9059 2002-10-29 Akim Demaille <akim@epita.fr>
9061 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
9062 configure.in, not configure.ac.
9063 Reported by Bruno Haible.
9065 2002-10-29 Akim Demaille <akim@epita.fr>
9067 * tests/torture.at (Deep Package): New test.
9068 (Configuring subdirectories): Don't use a testSubDir as Autotest
9071 2002-10-29 Akim Demaille <akim@epita.fr>
9073 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
9074 * doc/autoconf.texi (Invoking autom4te): Rename as...
9075 (autom4te Invocation): this, for consistency with the other nodes.
9077 2002-10-29 Akim Demaille <akim@epita.fr>
9079 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
9080 Reported by Ralf Corsepius.
9082 2002-10-29 Akim Demaille <akim@epita.fr>
9084 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9085 characters is a back as an `obsolete' warning now.
9086 Reported by Ralf Corsepius.
9088 2002-10-28 Akim Demaille <akim@epita.fr>
9090 * configure.ac: Bump to 2.54c.
9092 2002-10-28 Akim Demaille <akim@epita.fr>
9096 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
9098 2002-10-28 Akim Demaille <akim@epita.fr>
9100 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
9101 m4 executable names, and different GNU M4 version.
9102 Reported by Ezra Peisach and Paul Jarc.
9104 2002-10-27 Akim Demaille <akim@epita.fr>
9106 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
9109 2002-10-27 Akim Demaille <akim@epita.fr>
9111 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
9112 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
9113 Die when a simple Fortran program cannot be compiled.
9114 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
9115 Issue a warning if no function is given.
9117 2002-10-27 Akim Demaille <akim@epita.fr>
9119 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
9120 Move the documentation of AC_TRY_RUN to...
9121 (Obsolete Macros): here.
9122 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
9123 (autoconf Invocation): Remove the duplicates with `invoking
9125 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
9126 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9128 2002-10-27 Akim Demaille <akim@epita.fr>
9130 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
9131 and AC_LANG_FUNC_LINK_TRY.
9132 (Examining Libraries): Rename as...
9133 (Running the Linker): this.
9134 Document AC_LINK_IFELSE.
9135 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
9136 (Obsolete Macros): here.
9137 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
9138 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
9139 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
9140 * lib/autoconf/headers.m4 (AC_USG): Likewise.
9142 2002-10-27 Akim Demaille <akim@epita.fr>
9144 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
9146 More `check config.log' messages.
9148 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
9149 * doc/autoconf.texi (Printing Messages): Document it.
9150 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
9152 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
9153 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
9154 (_AC_COMPILER_OBJEXT): Likewise.
9155 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
9156 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
9158 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
9161 Deprecate macros with unusual interfaces.
9163 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
9164 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
9166 Document the new ones, and proper style.
9168 * doc/autoconf.texi (Generating Sources): New.
9169 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
9170 (Examining Declarations): Rename as...
9171 (Running the Preprocessor): this.
9172 Document AC_PREPROC_IFELSE.
9173 (Examining Syntax): Rename as...
9174 (Running the Compiler): this.
9175 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
9176 (Obsolete Macros): Move the definition of AC_TRY_CPP and
9177 AC_TRY_COMPILE here.
9179 2002-10-27 Akim Demaille <akim@epita.fr>
9181 Move sections around.
9183 * doc/autoconf.texi (Customizing autom4te): Remove a lost
9185 Reported by Burno Haible.
9186 (Language Choice): Now the first section of...
9187 (Writing Tests): this section.
9188 Make the introduction less C-centric.
9189 (Guidelines, Test Functions): Move to...
9190 (Writing Test Programs): this new section.
9191 (Test Programs): Merge into...
9194 2002-10-27 Akim Demaille <akim@epita.fr>
9196 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
9197 autom4te.in that resulted in the need for two `make' runs.
9199 2002-10-27 Akim Demaille <akim@epita.fr>
9201 * configure.ac: Bump to 2.54b.
9203 2002-10-25 Akim Demaille <akim@epita.fr>
9207 * Makefile.maint: Update from the Coreutils.
9208 (AMTAR): Remove, obsolete.
9209 (automake_repo): Update to redhat.com.
9211 Adjust to the fact that ansi2knr is now hosted by Automake.
9212 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
9213 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
9214 Update from masters.
9215 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
9216 autoscan.pre is not to be installed, and autoscan.list is not to
9218 (CLEANFILES): Add autoscan.list.
9219 (autoscan.list): Disable the cache.
9220 * bin/Makefile.am: Include freeze.mk.
9222 2002-10-25 Akim Demaille <akim@epita.fr>
9224 * bin/autom4te.in (&load_configuration): Take the file as
9226 (&parse_args): Handle -C, --cache.
9228 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
9229 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
9230 * doc/autoconf.texi (Invoking autom4te): Document --cache.
9231 Now a subsection of...
9232 (Using autom4te): This new section.
9233 (Customizing autom4te): New.
9234 (autom4te.cache): Adjust.
9236 2002-10-25 Akim Demaille <akim@epita.fr>
9238 * doc/autoconf.texi (Generic Headers): More information on how to
9239 use AC_CHECK_HEADERS.
9241 2002-10-25 Akim Demaille <akim@epita.fr>
9243 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
9246 2002-10-25 Akim Demaille <akim@epita.fr>
9248 * bin/autoscan.in (output): Output AC_PREREQ.
9249 (%needed_macros): Add AC_PREREQ so that configure.ac without one
9252 2002-10-23 Akim Demaille <akim@epita.fr>
9254 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
9257 2002-10-23 Akim Demaille <akim@epita.fr>
9259 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
9260 Reported by Peter Eisentraut.
9262 2002-10-23 Akim Demaille <akim@epita.fr>
9264 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
9267 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
9268 Eggert's recommandations.
9270 2002-10-22 Akim Demaille <akim@epita.fr>
9272 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
9273 Bison, by Paul Eggert.
9274 * doc/autoconf.texi (Particular Headers): Document it.
9276 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
9278 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
9279 `$ac_configure_args'.
9281 2002-10-22 Akim Demaille <akim@epita.fr>
9283 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
9284 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
9287 2002-10-22 Akim Demaille <akim@epita.fr>
9289 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
9291 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9292 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
9293 (_AC_CHECK_HEADER_NEW): Rename as...
9294 (AC_CHECK_HEADER): this.
9296 2002-10-22 Akim Demaille <akim@epita.fr>
9298 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
9299 words about HP-UX cmp: it was actually a user-written cmp.
9301 2002-10-22 Akim Demaille <akim@epita.fr>
9303 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
9305 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9306 Quote for Perl '' strings, not "".
9307 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
9310 2002-10-22 Akim Demaille <akim@epita.fr>
9312 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9313 characters is a syntax warning now.
9314 (_AS_QUOTE): Accept $2 as list of characters to quote.
9315 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9316 Quote for Perl, not sh.
9317 * bin/autoheader.in: When $debug, report the file which is
9319 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
9320 `@', to tickle Perl's lists.
9321 Reported by Carlos Velasco.
9323 2002-10-18 Akim Demaille <akim@epita.fr>
9325 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
9326 missing included files _are_ errors.
9327 Thanks to Alexandre Duret-Lutz.
9328 * tests/tools.at (autom4te cache): Adjust.
9329 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
9330 (AT_CHECK_M4SUGAR): Use it.
9331 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9333 * tests/tools.at (autom4te): Now it does exit 1.
9335 2002-10-17 Akim Demaille <akim@epita.fr>
9337 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
9338 Fixes the `AC_ARG_VAR' test failures.
9339 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
9340 * lib/freeze.mk (check-forbidden-patterns): New.
9341 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
9342 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
9343 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
9345 Reported months ago by H. Merijn Brand.
9347 2002-10-17 Akim Demaille <akim@epita.fr>
9349 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
9351 2002-10-16 Paul Eggert <eggert@twinsun.com>
9353 * Makefile.maint (wget_files): Remove ansi2knr.c.
9354 (ansi2knr.c-url_prefix): Remove.
9356 2002-10-16 Akim Demaille <akim@epita.fr>
9358 Because of caching, some files that no longer exist and are no
9359 longer required can still cause errors.
9360 Reported by Alexandre Duret-Lutz.
9362 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
9363 to frozen files in @ARGV, as @ARGV must remain being a list of
9364 files. Rather, at M4 call sites, use this...
9365 (&files_to_options): New function.
9366 (&freeze): Use &error.
9367 (&up_to_date): If a file that was included according to the cache
9368 is no longer there, then the output is out dated.
9369 (&main): Don't even check whether a file is up to date is anyway
9371 * tests/tools.at (autom4te cache): New.
9373 2002-10-16 Akim Demaille <akim@epita.fr>
9375 * bin/autoconf.as: Kill dead options.
9376 * bin/autoupdate.in (&parse_args): Kill old options.
9377 * bin/autoreconf.in (&parse_args): Remove dead options.
9379 (&autoreconf): Report the directories we enter *and leave*, so
9380 that error messages can be easily located, and use GNU Make
9381 format, so that Emacs' compile mode understands us.
9382 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
9383 if some file was changed instead of `print'.
9384 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
9385 (&parse_args): Remove the dead options.
9386 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
9387 autoheader's quiet mode.
9388 (AT_CHECK_AUTOUPDATE): Likewise.
9389 * tests/tools.at (autoupdate): Adjust.
9390 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9392 2002-10-11 Akim Demaille <akim@epita.fr>
9394 No longer use CPP to check for the existing of headers: use CC to
9395 check for compilability.
9397 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9398 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
9399 (_AC_CHECK_HEADER_NEW): Rename as...
9400 (AC_CHECK_HEADER): this.
9402 * lib/autotest/general.m4 (AT_INIT): Include the failed test
9403 numbers in the Subject suggestion.
9405 2002-10-11 Akim Demaille <akim@epita.fr>
9407 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
9408 Suggest using AC_CHECK_DECLS instead.
9410 2002-10-11 Akim Demaille <akim@epita.fr>
9412 * tests/torture.at (AC_ARG_VAR): Have configure report the value
9415 2002-10-11 Akim Demaille <akim@epita.fr>
9417 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
9418 file name to enable parallel executions.
9419 From Sam Varshavchik.
9421 2002-10-08 Akim Demaille <akim@epita.fr>
9423 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
9424 aclocal invocation, as Gettext macros might not be visible to
9426 Instead of blindly running autopoint, scan configure.ac (not the
9427 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
9428 Reported by Paul D. Smith.
9430 2002-10-08 Paul Eggert <eggert@twinsun.com>
9432 Work around problems found when POSIXLY_CORRECT=1 is set.
9433 None of this seems to have anything to do with POSIX, really,
9434 but it's how Perl getopt works.
9435 * bin/autom4te.in (parse_args): Configure GetOpt with
9437 * doc/autoconf.texi (Invoking autom4te):
9438 --warning -> --warnings.
9439 * lib/autom4te.in: --warning -> --warnings.
9441 2002-09-28 Akim Demaille <akim@epita.fr>
9443 * doc/autoconf.texi (autom4te.cache): New section.
9445 2002-09-28 Akim Demaille <akim@epita.fr>
9447 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
9448 (Automake-preselections): Update.
9449 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
9451 2002-09-28 Akim Demaille <akim@epita.fr>
9453 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
9454 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
9455 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
9456 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
9458 2002-09-28 Akim Demaille <akim@epita.fr>
9460 * tests/torture.at (Configuring subdirectories): Be robust to
9461 users who use config.site to require for a cache: in this case,
9462 the two last configure runs, using two different sets of
9463 arguments, trigger a legitimate error.
9465 2002-09-28 Akim Demaille <akim@epita.fr>
9467 * tests/m4sh.at (Functions Support, Functions and return Support):
9470 2002-09-28 Akim Demaille <akim@epita.fr>
9472 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
9473 autoheader are Perl programs.
9474 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
9475 (autom4te): Specify that the sources are in the $srcdir.
9476 * doc/autoconf.texi (Installation Directory Variables): Adjust.
9478 2002-09-28 Akim Demaille <akim@epita.fr>
9480 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
9481 (tm_zone): Move their rules to...
9482 * lib/autoconf/types.m4: here, using AN_ macros.
9483 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
9484 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
9485 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
9486 * lib/autoconf/programs.m4: here.
9487 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
9488 (ETAGS_FOR_AUTOCONF): New.
9491 2002-09-28 Akim Demaille <akim@epita.fr>
9493 * lib/autoconf/autoscan.m4: New file.
9494 * lib/autoconf/autoconf.m4: Include it.
9495 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
9496 that were listed in the original autoscan.list.
9497 * lib/autoconf/headers.m4: Similarly with headers.
9498 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
9499 (.m4.m4f): Don't pass --prepend-include, since that's done by
9500 tests/autom4te itself.
9501 * lib/autoscan/Makefile.am: Include freeze.mk.
9502 (autoscan.list): New target --this file is no longer a source.
9503 (autoscan.pre): New file.
9505 2002-09-28 Akim Demaille <akim@epita.fr>
9507 * bin/autoscan.in (@kinds): Make them singular.
9509 (&init_tables): When --debug, report the list of rules to ease
9510 tracking changes in autoscan.list.
9511 * lib/autoscan/autoscan.list (function): Strip comments, sort.
9513 2002-09-28 Akim Demaille <akim@epita.fr>
9515 * lib/autoscan/functions, lib/autoscan/headers,
9516 * lib/autoscan/identifiers, lib/autoscan/makevars,
9517 * lib/autoscan/programs: Merge into...
9518 * lib/autoscan/autoscan.list: this.
9519 * bin/autoscan.in (&init_tables): Adjust.
9521 2002-09-28 Akim Demaille <akim@epita.fr>
9523 * lib/autoscan/functions, lib/autoscan/headers,
9524 * lib/autoscan/identifiers, lib/autoscan/makevars,
9525 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
9526 `functions' line is now prefixed with `function:'.
9527 * bin/autoscan.in (&init_tables): Adjust.
9529 2002-09-28 Akim Demaille <akim@epita.fr>
9531 From now on, autoscan files must always map a macro name to a
9532 word: there is no `default' macro for autoscan.
9534 * bin/autoscan.in (&init_tables): Reject entries with no macro at
9536 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
9539 2002-09-28 Akim Demaille <akim@epita.fr>
9541 * bin/autoscan.in (%c_keywords): Remove.
9542 (&used): Keep only track of the words we might be interested in.
9543 (&output_kind): It is no longer needed to look for non active
9546 2002-09-27 Akim Demaille <akim@epita.fr>
9548 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
9549 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
9550 * lib/autoscan/functions: Adjust.
9551 * doc/autoconf.texi (Particular Functions): Adjust.
9553 2002-09-27 Akim Demaille <akim@epita.fr>
9555 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
9557 Thanks to Bill Moseley and Paul Eggert.
9558 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
9559 the tmpdir must be created.
9560 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
9561 dir be in the build tree, instead of $TMPDIR.
9563 2002-09-27 Akim Demaille <akim@epita.fr>
9565 * bin/autoscan.in: Improve the comments.
9566 (&parse_args): Drop obsolete undocumented options.
9567 (&output_kind): Output warnings.
9568 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
9569 (getwd): Trigger a warning.
9571 2002-09-26 Akim Demaille <akim@epita.fr>
9573 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
9574 Reported by Ralf Corsepius.
9575 * doc/autoconf.texi (autoreconf Invocation): Likewise.
9577 2002-09-26 Akim Demaille <akim@epita.fr>
9579 Single suffix rules and seperated dependencies are not portable.
9581 * doc/autoconf.texi (Installation Directory Variables): Update.
9582 (Limitations of Make): Some about `Single Suffix Rules and
9583 Separated Dependencies'.
9584 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9585 (ifnames, autoscan, autom4te): Un-factor into several rules.
9587 2002-09-25 Paul Eggert <eggert@twinsun.com>
9589 * BUGS (Interoperability bugs): New section. Mention libtool
9590 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
9592 2002-09-24 Paul Eggert <eggert@twinsun.com>
9594 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
9595 make handles suffix-rules differently from GNU make.
9597 * bin/Makefile.am (SUFFIXES, .in): Remove.
9598 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
9599 Move the body of the old .in rule here.
9601 2002-09-16 Akim Demaille <akim@epita.fr>
9603 i960 compilers create `b.out' files by default.
9604 Reported by Ralf Corsepius.
9606 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
9607 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
9609 2002-09-13 Paul Eggert <eggert@twinsun.com>
9611 * doc/autoconf.texi (Particular Headers): Remove obsolete
9612 reference to `struct timezone' in the description of
9615 2002-09-13 Akim Demaille <akim@epita.fr>
9619 * config/config.sub, config/config.guess: Update.
9620 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
9621 * Makefile.am: Adjust.
9623 2002-09-13 Akim Demaille <akim@epita.fr>
9625 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
9626 reading config.log when the compiler is rejected.
9627 Suggested by Guido Draheim.
9629 2002-09-13 Akim Demaille <akim@epita.fr>
9631 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
9632 (chdir_init) might hang when stat'ing mounted directories.
9633 Reported by Vance Shipley.
9635 2002-09-12 Akim Demaille <akim@epita.fr>
9637 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
9640 2002-09-12 Akim Demaille <akim@epita.fr>
9642 * doc/autoconf.texi (Defining Symbols): Present two different
9643 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
9644 difference between 1 argument calls, and 2-3 argument calls.
9646 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
9648 * doc/autoconf.texi: Review grammar and punctuation.
9650 2002-09-11 Paul Eggert <eggert@twinsun.com>
9652 * doc/autoconf.texi: Fix minor formatting, spelling, and
9654 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
9655 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
9658 2002-09-11 Akim Demaille <akim@epita.fr>
9660 * doc/autoconf.texi (Questions): Rename as...
9662 (Defining Directories): New.
9664 2002-09-09 Akim Demaille <akim@epita.fr>
9666 * doc/autoconf.texi (Making testsuite Scripts): Update.
9667 Suggested by Nishio Futoshi.
9669 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
9671 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
9672 plain `@' is wanted.
9674 2002-09-09 Akim Demaille <akim@epita.fr>
9676 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
9677 `duplicates', since the algorithm was too naive and could keep
9678 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
9679 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
9680 Reported by Ralf Corsepius.
9681 * tests/torture.at (Configuring subdirectories): Exercise these
9684 2002-09-09 Akim Demaille <akim@epita.fr>
9686 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
9687 looking for a replacement file.
9688 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
9689 directory is relative.
9690 * doc/autoconf.texi (Generic Functions): Clarify the replacement
9691 directory definition.
9692 Reported by Andreas Schwab and Jim Meyering.
9694 2002-09-06 Akim Demaille <akim@epita.fr>
9696 * doc/autoconf.texi (Setting Output Variables): Clarify what
9697 precious variables are.
9698 Suggested by Pontus Skoeld.
9700 2002-09-05 Akim Demaille <akim@epita.fr>
9702 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9703 (ifnames, autoscan, autom4te): Since we don't only depend on
9704 configure.ac variables (such as VERSION etc.), but also on prefix
9705 and so forth, depend on Makefile, not configure.ac.
9706 Reported by Alexandre Duret-Lutz.
9707 * doc/autoconf.texi (Installation Directory Variables): Adjust.
9709 2002-09-05 Kevin Ryde <user42@zip.com.au>
9711 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
9712 doesn't seem to be confined to ia64, just say "some versions".
9714 2002-09-04 Akim Demaille <akim@epita.fr>
9716 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
9718 * Makefile.am (maintainer-clean-local): Remove.
9719 (MAINTAINERCLEANFILES): Remove COPYING.
9721 2002-09-03 Paul Eggert <eggert@twinsun.com>
9723 * doc/autoconf.texi (Configuration Commands): Remove obsolete
9724 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
9727 2002-09-03 Akim Demaille <akim@epita.fr>
9729 * configure.ac: Bump to 2.53d.
9730 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
9731 as of today, on Automake's team suggestion.
9733 2002-09-03 Akim Demaille <akim@epita.fr>
9737 2002-09-02 Akim Demaille <akim@epita.fr>
9739 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
9741 * configure.ac: Disable SITE_MACRO_DIR.
9743 2002-09-02 Jim Meyering <meyering@lucent.com>
9745 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
9746 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
9747 Also, tweak grammar: s/make sure to/be sure to/.
9749 2002-09-02 Paul Eggert <eggert@twinsun.com>
9751 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
9752 directory names are generally preferable to physical names.
9754 2002-09-02 Akim Demaille <akim@epita.fr>
9756 * lib/Autom4te/General.pm (&update_file): s/die/error/.
9757 Reported by Raja R. Harinath.
9758 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
9759 * bin/autoupdate.in: Use error instead of die.
9761 2002-09-01 Paul Eggert <eggert@twinsun.com>
9763 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
9764 ordinary shell concatenation rather than echo+tr+sed command that
9765 runs afoul of a long-line-related sed bug in Solaris 8.
9767 * bin/autoheader.in (parse_args): --warning -> --warnings.
9769 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
9770 stdout, as traditional "ls" does.
9771 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
9772 _AC_COMPILER_EXEEXT_O): Likewise.
9773 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
9775 * bin/autoconf.as: Add --prepend-include option. This patch was
9776 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
9777 but bin/autoconf.in is generated automatically from bin/autoconf.as.
9779 * bin/autoconf.in, configure: Regenerate.
9781 * doc/autoconf.texi (Special Shell Variables): Mention
9782 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
9784 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
9785 MAILPATH and set PS1, PS2, PS4 to default values, to work
9786 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
9787 For LC_ALL etc, first try to set to "C" as POSIX requires and as
9788 the Autoconf documentation specifies; fall back to "unset" only if
9789 this fails. Use a shell for-loop for this rather than an m4 loop,
9790 to shorten the output script.
9792 2002-08-30 Paul Eggert <eggert@twinsun.com>
9794 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
9795 1003.1-2001's requirements for CDPATH. Give a simpler workaround
9796 for the CDPATH problem. Document PWD.
9797 (Limitations of Builtins): Document the problem that "cd $foo" and
9798 "ls $foo" may refer to different directories in shells conforming
9799 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
9800 example, since the old example is now out of date.
9802 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
9803 FOO" and "ls FOO" talk about different directories; this catches
9804 problems when POSIX 1003.1-2001 "cd" fails due to symlink
9807 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
9808 of rolling our own unset.
9809 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
9810 in practice we needn't worry about CDPATH if unset doesn't work.
9812 * Makefile.in, aclocal.m4, bin/Makefile.in,
9813 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
9814 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
9815 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
9816 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
9817 tests/Makefile.in: Regenerate with Automake 1.6.3.
9819 * config/config.guess, config/config.sub, config/mkinstalldirs:
9822 * configure: Regenerate with self.
9824 2002-08-30 Kevin Ryde <user42@zip.com.au>
9826 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
9829 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9831 * bin/autom4te.in (Request::load): Correctly test for "do" read
9834 2002-08-29 Akim Demaille <akim@epita.fr>
9836 * lib/Autom4te/General.pm (&xqx): New.
9837 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
9838 hand, which is not portable.
9840 * bin/autom4te.in: Use them.
9841 Use &error instead of die.
9842 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9845 2002-08-17 Paul Eggert <eggert@twinsun.com>
9847 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
9848 default list of compilers to try, since it was long ago superseded
9849 by the ksh fc builtin. Suggested by Steven G. Johnson.
9851 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
9853 * doc/autoconf.texi (Invoking autom4te): End the option table,
9854 fixing a bug introduced by the previous patch.
9855 (Limitations of Make): Add a 'target lookup' subentry in the
9856 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
9858 2002-07-29 Mark D. Roth <roth@feep.net>
9860 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
9861 options and use $AUTOM4TE_PATH.
9862 * doc/autoconf.texi: Remove documentation of autom4te
9863 --include-envvar and --site-macro-subdir options and document
9864 use of $AUTOM4TE_PATH.
9865 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
9866 arguments from each language section.
9868 2002-07-29 Paul Eggert <eggert@twinsun.com>
9870 * doc/install.texi: Include copyright symbol in copyright notice.
9872 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
9874 (AM_MAKEINFOFLAGS): New macro.
9875 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
9876 * Makefile.am (INSTALL): Use the new macros.
9877 Use -o rather than --output, since "missing" does not grok --output.
9879 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
9881 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
9882 comments do not always work. Never trust the exit status of
9885 2002-07-24 Kevin Ryde <user42@zip.com.au>
9887 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
9888 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
9890 2002-07-23 Paul Eggert <eggert@twinsun.com>
9892 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
9893 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
9894 apparently treats PATH="nonexistent" as if it contained ".".
9895 Bug reported by Stefan `Sec' Zehl.
9897 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
9899 * doc/autoconf.texi (Limitations of Make): Mention the special
9900 handling of the obj/ directory by BSD make.
9902 2002-07-20 Kevin Ryde <user42@zip.com.au>
9904 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
9907 2002-07-19 Akim Demaille <akim@epita.fr>
9909 * doc/autoconf.texi (Function Portability): `exit'.
9910 (Programming in M4sh): Ethymology of M4sh.
9912 2002-07-19 Akim Demaille <akim@epita.fr>
9914 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
9916 2002-07-18 Akim Demaille <akim@epita.fr>
9920 2002-07-18 Akim Demaille <akim@epita.fr>
9922 * config/config.guess, config/config.sub: Update.
9924 2002-07-18 Akim Demaille <akim@epita.fr>
9926 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
9929 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
9930 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
9931 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
9933 2002-07-18 Akim Demaille <akim@epita.fr>,
9934 Alexandre Duret-Lutz <duret_g@epita.fr>
9936 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
9937 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
9939 2002-07-17 Russ Allbery <rra@stanford.edu>
9941 * doc/autoconf.texi (Initializing configure): Clarify the
9942 description of the tarname default.
9944 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
9946 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
9947 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
9950 2002-07-17 Akim Demaille <akim@epita.fr>
9952 * lib/Autom4te/General.pm (find_file): Browse the directories in
9953 the order they are given.
9955 2002-07-17 Akim Demaille <akim@epita.fr>
9957 * tests/wrapsh.as, tests/wrappl.as: Merge into...
9958 * tests/wrapper.as: this.
9959 * tests/Makefile.am, configure.ac: Adjust.
9961 2002-07-17 Mark D. Roth <roth@feep.net>
9963 * configure.ac: Add --enable-site-macro-dir option.
9964 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
9965 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
9966 --site-macro-subdir options.
9967 * bin/autoconf.in: Add --prepend-include option.
9968 * bin/autoheader.in: Add --prepend-include option.
9969 * bin/autoreconf.in: Add --prepend-include option.
9970 * bin/autoscan.in: Add --prepend-include option.
9971 * bin/autoupdate.in: Add --prepend-include option.
9972 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
9973 macro directory, remove note that include path directories are
9974 used in reverse order, and document --prepend-include option.
9975 * lib/autom4te.in: Use --prepend-include instead of --include.
9976 * tests/wrapsh.in: Use --prepend-include instead of --include.
9978 2002-07-17 Akim Demaille <akim@epita.fr>
9980 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
9982 * doc/autoconf.texi (Initializing configure): Adjust.
9984 2002-07-17 Akim Demaille <akim@epita.fr>
9986 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
9987 (_AC_FUNC_MALLOC): New.
9988 (AC_FUNC_MALLOC): Use the latter.
9989 Define HAVE_MALLOC to 0 if broken.
9990 * doc/autoconf.texi (Particular Functions): Adjust.
9992 2002-07-16 Akim Demaille <akim@epita.fr>
9994 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
9995 * doc/autoconf.texi (C Compiler): Adjust.
9997 2002-07-09 Akim Demaille <akim@epita.fr>
9999 * doc/autoconf.texi: Properly set the ``header'' part.
10001 2002-07-09 Akim Demaille <akim@epita.fr>
10003 * doc/autoconf.texi (Systemology): Some about Darwin.
10005 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
10007 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
10008 Don't use AC_REQUIRE in AU_DEFUN.
10010 2002-07-09 Art Haas <ahaas@neosoft.com>
10012 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
10014 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
10016 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10017 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
10018 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
10019 so that Emacs setups GNU style for perl-mode and cperl-mode.
10021 2002-06-27 Paul Eggert <eggert@twinsun.com>
10023 * config/install-sh: Quote $src. Prefer || to test's -o option,
10024 as per "Limitations of Builtins".
10025 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
10026 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
10028 * tests/mktests.sh: Use grep instead of fgrep, as per
10029 "Limitations of Builtins".
10031 2002-06-15 Paul Eggert <eggert@twinsun.com>
10033 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
10034 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
10035 so that we consistently test the just-built programs.
10036 * tests/wrappl.as: Likewise.
10038 2002-06-12 Paul Eggert <eggert@twinsun.com>
10040 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
10041 name, so that symlinks to 'autoconf' work properly. Bug reported
10043 * bin/autoheader.in (AUTOM4TE): Likewise.
10044 * bin/autoreconf.in (autoconf, autoheader): Likewise.
10045 * bin/autoscan.in (autom4te): Likewise.
10046 * bin/autoupdate.in (autom4te): Likewise.
10048 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
10049 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
10052 2002-06-11 Andreas Schwab <schwab@suse.de>
10054 * doc/autoconf.texi: Add more dir entries.
10056 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
10058 * bin/autom4te.in ($cache): Don't define using `$me', the name
10059 of the cache should not depend on the name under which autom4te
10062 2002-06-07 Akim Demaille <akim@epita.fr>
10064 * tests/tools.at (autoconf: forbidden tokens, basic)
10065 (autoconf: forbidden tokens, exceptions): Adjust to the change of
10066 words in autom4te.in.
10068 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
10070 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
10071 _AC_LANG_PROGRAM_C_F77_HOOKS.
10073 2002-06-07 Akim Demaille <akim@epita.fr>
10075 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
10077 (AC_REPLACE_FNMATCH): this.
10078 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
10079 AC_FUNC_FNMATCH_GNU.
10081 2002-06-07 Akim Demaille <akim@epita.fr>
10083 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
10084 Rosetta Stone for Unix.
10086 2002-06-07 Akim Demaille <akim@epita.fr>
10088 * bin/autom4te.in (warn_forbidden): When rejecting a token,
10089 suggest m4_pattern_allow.
10090 Suggested by Adam J. Richter.
10092 2002-06-07 Akim Demaille <akim@epita.fr>
10094 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
10095 ac_config_libobj_dir.
10096 (AC_CONFIG_LIBOBJ_DIR): New.
10097 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
10098 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
10099 Use ac_config_libobj_dir to find the replacement files.
10100 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
10101 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
10102 (AC_REPLACE_FNMATCH_GNU): these.
10103 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
10104 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
10105 * tests/mktests.sh (ac_exclude_list): Don't check
10106 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
10108 2002-06-06 Paul Eggert <eggert@twinsun.com>
10110 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
10111 if ln doesn't work.
10113 * doc/autoconf.texi (Configuration Links): Likewise.
10114 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
10116 2002-06-05 Paul Eggert <eggert@twinsun.com>
10118 * config/config.guess, config/config.sub, config/texinfo.tex:
10119 Update from masters.
10121 2002-05-29 Paul Eggert <eggert@twinsun.com>
10123 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
10124 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
10125 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
10127 * lib/autoconf/Makefile.am (check-local): Likewise.
10128 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
10129 * lib/autoconf/types.m4 (commentary only): Likewise.
10130 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
10131 * lib/autotest/Makefile.am (check-local): Likewise.
10132 * lib/m4sugar/Makefile.am (check-local): Likewise.
10133 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
10134 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
10136 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
10137 * doc/autoconf.texi (Particular Programs): Document them.
10138 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
10141 2002-05-27 Paul Eggert <eggert@twinsun.com>
10143 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
10144 * NEWS, doc/autoconf.texi (Particular Types): Document it.
10145 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
10146 instead of AC_MBSTATE_T, which never existed.
10148 2002-05-23 Akim Demaille <akim@epita.fr>
10150 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
10151 version of Autoconf that is discussed.
10153 2002-05-22 Paul Eggert <eggert@twinsun.com>
10155 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
10156 from the default list of compilers to try. Suggested by
10158 * NEWS: Document the above.
10159 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
10161 2002-05-17 Paul Eggert <eggert@twinsun.com>
10163 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
10164 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
10165 This improves on an earlier suggestion by H. Peter Anvin.
10167 2002-05-16 Paul Eggert <eggert@twinsun.com>
10169 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
10170 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
10171 Both macros now accept an optional source-dir arg.
10172 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
10174 * NEWS: Document this.
10175 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
10177 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
10178 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
10179 not for GNU extensions; this undoes part of the 2000-11-03 change,
10180 reverting to 2.13-compatible behavior.
10181 Add new optional argument DIR.
10182 (AC_FUNC_FNMATCH_GNU): New macro.
10184 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
10186 2002-05-08 Paul Eggert <eggert@twinsun.com>
10188 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
10189 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
10190 and it causes a 'test' syntax error if it fails.
10191 Bug reported by Stephen Gildea.
10193 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
10194 If prototypes are supported, use them to check this at compile-time,
10195 instead of trying to check it at run-time. If we must do a run-time
10196 check, assume that setvbuf is standard when cross-compiling, as
10197 nonstandard setvbuf occurs only on ancient and unlikely hosts.
10198 Bug reported by Paul D. Smith.
10200 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
10201 argument specifying location of getloadavg.c. This removes a
10202 FIXME. This idea was taken from Jim Meyering's implementation in
10204 * doc/autoconf.texi (Particular Functions): Document this.
10205 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
10206 that's what the code does; this fixes a bug reported by
10209 2002-05-03 Akim Demaille <akim@epita.fr>
10211 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
10212 autopoint instead of gettextize.
10213 ($uses_alocal): Rename as...
10214 ($uses_aclocal): this.
10215 * doc/autoconf.texi (autoreconf Invocation): Adjust.
10216 Suggested by Bruno Haible.
10218 2002-05-03 Akim Demaille <akim@epita.fr>
10220 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
10222 2002-04-29 Paul Eggert <eggert@twinsun.com>
10224 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
10225 files to be 1 second older; just set them to be the same time.
10226 Also, sleep 1 second after the first aclocal, to work around
10227 problems with sub-second time stamps on the input files.
10229 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
10231 * doc/autoconf.texi: Mention "set -e -x" lossage
10232 under node "Limitations of Builtins".
10234 2002-04-29 Akim Demaille <akim@epita.fr>
10236 * doc/install.texi: Better wording for setting variables when
10238 From Christian Cornelssen.
10240 2002-04-29 Akim Demaille <akim@epita.fr>
10242 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
10243 of lack of $LINENO support, then the test will compare the $LINENO
10244 in testsuite vs. the lineno in the test file. This is wrong, of
10246 Be sure to protect it.
10247 Reported by Patrick Welche.
10249 2002-04-25 Akim Demaille <akim@epita.fr>
10251 * doc/autoconf.texi (Obsolete Macros): Typo.
10252 Reported by Vladimir Volovich.
10254 2002-04-25 Akim Demaille <akim@epita.fr>
10256 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
10257 than some of the input files, hence, on the second run of aclocal,
10258 if some of its input are younger, make them older.
10259 Suggested by Paul Eggert.
10261 2002-04-25 Akim Demaille <akim@epita.fr>
10263 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
10264 Thanks to Paul Eggert.
10266 2002-04-25 Akim Demaille <akim@epita.fr>
10268 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
10269 and ac_subst_vars be sh variables containing the list of
10270 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
10272 (_AC_INIT_PREPARE): Use them to log them.
10273 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
10274 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
10275 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
10276 _AC_SUBST_FILES and _AC_SUBST_VARS.
10277 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
10279 2002-04-24 Akim Demaille <akim@epita.fr>
10281 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
10282 autoheader, so that automake does not complain about a missing
10283 config.h.in that was to be created.
10285 2002-04-23 Akim Demaille <akim@epita.fr>
10287 * bin/autoheader.in (parse_args): --warning takes an argument.
10290 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
10292 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
10293 and bb.out when cleaning up.
10295 2002-04-22 Akim Demaille <akim@epita.fr>
10299 2002-04-22 Akim Demaille <akim@epita.fr>
10301 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
10303 2002-04-22 Akim Demaille <akim@epita.fr>
10305 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
10307 Reported by Gregory Giannoni.
10309 2002-04-22 Akim Demaille <akim@epita.fr>
10311 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
10312 Fixes false failures on Darwin.
10314 2002-04-21 Paul Eggert <eggert@twinsun.com>
10316 * TODO, bin/autoupdate.in, doc/autoconf.texi,
10317 lib/autoconf/general.m4, lib/autoconf/libs.m4,
10318 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
10319 tests/tools.at: Minor spelling and grammar fixes.
10321 2002-04-20 Paul Eggert <eggert@twinsun.com>
10323 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
10324 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
10325 * lib/autotest/general.m4 (AT_INIT): Likewise.
10326 * tests/atgeneral.m4 (AT_INIT): Likewise.
10328 2002-04-19 Paul Eggert <eggert@twinsun.com>
10330 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
10331 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
10332 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
10333 lib/autoconf/functions.m4, lib/autoconf/general.m4,
10334 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
10335 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
10336 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
10337 Minor spelling and grammar fixes.
10339 * doc/autoconf.texi: Follow the outline suggested in the GNU
10340 Sample Texts sections of the Texinfo 4.2 manual. Most
10341 importantly, this makes sure that the copyright notices appear in
10342 all output formats. You probably need Texinfo 4.2 to generate
10345 Fix some bugs when using "$@" when there might be zero positional
10346 arguments in cases where this matters.
10348 * bin/autoconf.as: Rewrite so that the problem does not come up.
10349 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
10350 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
10351 * lib/autotest/general.m4 (AT_INIT): Likewise.
10353 * bin/autoheader.in: Use 'case' statement to work around problem.
10354 * bin/auto4mte.in: Likewise.
10355 * bin/autoreconf.in: Likewise.
10356 * bin/autoscan.in: Likewise.
10357 * bin/autoupdate.in: Likewise.
10358 * bin/ifnames.in: Likewise.
10360 * doc/autoconf.texi (Shell Substitutions): Document the problem.
10362 * lib/autotest/general.m4 (AT_INIT):
10363 Use Zsh alias to work around problem.
10364 * tests/atgeneral.m4 (AT_INIT): Likewise.
10366 * tests/c.at: We can't have zero arguments, so remove workaround
10367 that is not portable to Zsh.
10369 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
10371 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
10372 from aclocal.m4 too.
10374 2002-04-12 Akim Demaille <akim@epita.fr>
10376 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
10378 2002-04-10 Akim Demaille <akim@epita.fr>
10380 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
10381 workaround for ${1+"$@"}.
10382 * doc/autoconf.texi (Shell Substitutions): Explain it.
10383 From Oliver Kiddle and Peter Stephenson.
10385 Have M4sh perform minimal shell sanitizing.
10387 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
10389 (_AS_PREPARE): this new macro.
10391 (AS_INIT): Invoke AS_SHELL_SANITIZE.
10392 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
10394 Adjust Autoconf and Autotest.
10396 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
10397 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
10398 * lib/autotest/general.m4 (AT_INIT): Likewise.
10399 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
10400 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
10403 Use this M4sh to generate Autoconf's shell scripts.
10405 * tests/wrapsh.as: New, precursor of wrapsh.in.
10406 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
10407 on Autotest and M4sh.
10408 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
10409 (wrapsh.in): New target.
10410 * bin/autoconf.as: New, precursor of autoconf.in.
10411 (autoconf.in): New target.
10413 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
10415 * doc/autoconf.texi (Limitations of Make): Mention the issue
10416 with indented comments in rules.
10418 2002-04-09 Andreas Schwab <schwab@suse.de>
10420 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
10421 ac_top_builddir when setting ac_abs_top_builddir.
10423 2002-04-06 Kevin Ryde <user42@zip.com.au>
10425 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
10426 (Portable Shell): Cross reference to Systemology.
10428 2002-04-05 Akim Demaille <akim@epita.fr>
10430 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
10431 directories when descending in a SUBDIRS.
10432 Reported by Ezra Peisach.
10434 2002-04-04 Andreas Schwab <schwab@suse.de>
10436 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
10437 contains no literal separators.
10439 2002-04-03 Akim Demaille <akim@epita.fr>
10441 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
10442 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
10443 Use dnl, not the KILL diversion.
10445 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
10446 (AC_CONFIG_LINKS): here.
10448 Don't use the KILL diversion, as it kills spurious output, which
10449 results in failures being hidden.
10450 Use m4_defn where appropriate.
10451 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
10452 after the second argument.
10454 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
10455 syntax, as it is provided by M4sugar.
10456 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
10458 2002-04-03 Andreas Schwab <schwab@suse.de>
10460 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
10461 expanded if $# <= 2.
10463 * bin/autoreconf.in (autoreconf): Run automake after rerunning
10466 2002-04-03 Akim Demaille <akim@epita.fr>
10468 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
10469 (_AC_COMPILER_EXEEXT_REJECT): New.
10470 Also recognize *.bb and *.bbg as compilation byproducts.
10471 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
10472 (_AC_COMPILER_OBJEXT): Use them.
10473 Fixes Debian #138666.
10475 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
10477 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
10479 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
10480 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
10481 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
10482 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
10483 (AC_C_CONST): Same.
10484 (AC_C_INLINE): Same.
10485 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
10486 * doc/autoconf.texi, NEWS: Document.
10487 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
10490 2002-04-02 Akim Demaille <akim@epita.fr>
10492 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
10493 _AS_MKDIR_P_PREPARE.
10495 2002-03-28 Kevin Ryde <user42@zip.com.au>
10497 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
10498 to avoid versions of HP C which don't allow that.
10500 2002-03-27 Paul Eggert <eggert@twinsun.com>
10502 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
10503 (AS_SHELL_SANITIZE): Invoke it.
10504 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
10506 2002-03-26 Akim Demaille <akim@epita.fr>
10508 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
10510 2002-03-26 Akim Demaille <akim@epita.fr>
10512 * doc/autoconf.texi (Introduction): The GNATS base moved.
10514 2002-03-25 Paul Eggert <eggert@twinsun.com>
10516 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
10517 as POSIX requires, as it doesn't work with Zsh.
10518 * doc/autoconf.texi (Assignments): Document the problem.
10520 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
10522 * doc/autoconf.texi (Limitations of Make): Mention more issue
10523 about VPATH, overriding of macros in sub-makes, and handling of
10526 2002-03-21 Paul Eggert <eggert@twinsun.com>
10528 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
10529 problem with here-document buffer boundaries.
10531 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
10532 when reinvoking the shell, to work around problems with installers
10533 who put strange things like "cd" commands in their environments.
10535 2002-03-19 Akim Demaille <akim@epita.fr>
10537 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
10540 2002-03-19 Akim Demaille <akim@epita.fr>
10542 * bin/autoscan.in (scan_file): Specify the location in `&used'
10546 2002-03-19 Akim Demaille <akim@epita.fr>
10548 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
10549 From Nishio Futoshi.
10551 2002-03-19 Akim Demaille <akim@epita.fr>
10553 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
10555 2002-03-18 Paul Eggert <eggert@twinsun.com>
10557 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
10558 (Limitations of Usual Tools): Add mkdir section.
10560 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
10561 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
10562 back on AS_DIRNAME to compute prefixes otherwise; this is
10563 roughly what mkinstalldirs does. That way, we need not have
10564 our own filename disassembler. The old disassembler did not
10565 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
10567 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
10568 Create at_test_all by a series of assignments,
10569 not by a single assignment of a long string. The latter causes ksh
10570 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
10571 presumably because of a buffer overrun.
10573 2002-03-14 Paul Eggert <eggert@twinsun.com>
10575 * lib/autotest/general.m4 (at_times_skip):
10576 Renamed from at_times. Now a boolean.
10577 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
10578 says 'times: not found'.
10580 2002-03-14 Akim Demaille <akim@epita.fr>
10582 * bin/autoreconf.in (&study_gettextize): New.
10583 (&autoreconf): Handle newest gettextize.
10584 Rerun aclocal if needed.
10585 Suggested by Andreas Schwab.
10587 2002-03-13 Akim Demaille <akim@epita.fr>
10589 * doc/autoconf.texi (Special Shell Variables): More about IFS.
10591 2002-03-13 Akim Demaille <akim@epita.fr>
10593 * doc/autoconf.texi (Header Portability): New.
10594 Add information about stdint.h and inttypes.h from Paul Eggert.
10596 2002-03-13 Akim Demaille <akim@epita.fr>
10598 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
10602 2002-03-12 Akim Demaille <akim@epita.fr>
10604 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
10607 2002-03-11 Andreas Schwab <schwab@suse.de>
10609 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
10610 does not do it if --with-lispdir is given.
10612 2002-03-08 Akim Demaille <akim@epita.fr>
10616 2002-03-08 Akim Demaille <akim@epita.fr>
10618 * doc/autoconf.texi (Subdirectories): Clarify that the
10619 subdirectory should exist.
10621 2002-03-08 Akim Demaille <akim@epita.fr>
10623 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
10625 2002-03-08 Akim Demaille <akim@epita.fr>
10627 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
10628 aliases the actual variables, and modifications of the former
10631 2002-03-08 Akim Demaille <akim@epita.fr>
10633 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
10634 because of C-c: have m4 output in tmp files, then mv them.
10636 2002-03-08 Akim Demaille <akim@epita.fr>
10638 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
10639 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
10640 * bin/ifnames.in: Copyright update.
10642 2002-03-08 Akim Demaille <akim@epita.fr>
10644 * doc/autoconf.texi (Invoking autom4te): New.
10646 2002-03-05 Akim Demaille <akim@epita.fr>
10648 * doc/autoconf.texi (Specifying Names): Clarification suggested by
10651 2002-03-05 Akim Demaille <akim@epita.fr>
10655 2002-03-04 Akim Demaille <akim@epita.fr>
10657 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
10658 * lib/autoconf/general.m4 (AC_INIT): More informative error
10659 message for LIBOBJ.
10661 2002-03-04 Akim Demaille <akim@epita.fr>
10663 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
10666 2002-03-04 Akim Demaille <akim@epita.fr>
10668 * doc/autoconf.texi (Transforming Names): Equality between target
10669 and host is irrelevant.
10670 (Specifying Names, Canonicalizing): Remove all references to the
10671 backward compatibility hooks. Rather, collect them all into...
10672 (Hosts and Cross-Compilation): this new section.
10673 * doc/install.texi (System Type): Ditto.
10674 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
10675 that `--host' implies cross-compilation.
10677 2002-03-04 Akim Demaille <akim@epita.fr>
10679 * doc/autoconf.texi (Evaluation Macros): New.
10680 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
10682 (_m4_foreach): Define the variant with immediate evaluation so
10683 that it contains exactly the items, not an expression which
10684 evaluation is the current item.
10685 (m4_re_string, m4_re_word): Don't over quote them.
10687 2002-03-04 Akim Demaille <akim@epita.fr>
10689 Instead of having stacking `shift's evaluated at the end, let
10690 `foreach' loops immediately evaluate them.
10692 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
10693 $*. This is the n-th time I change my mind, but hopefully this is
10696 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
10698 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
10699 it was only a hack for m4_text_wrap.
10700 (m4_car2): Remove, replaced by...
10702 (_m4_foreach): Adjust.
10703 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
10704 m4_bpatsubst for clarification.
10706 2002-03-04 Akim Demaille <akim@epita.fr>
10708 * doc/autoconf.texi (Changequote is Evil): New.
10710 2002-03-03 Kevin Ryde <user42@zip.com.au>
10712 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
10713 on old systems like SunOS.
10715 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
10717 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
10718 lib/autoconf/functions.m4, lib/autoconf/general.m4,
10719 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
10720 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
10723 2002-02-28 Akim Demaille <akim@epita.fr>
10725 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
10726 message to be sent.
10728 2002-02-28 Kevin Ryde <user42@zip.com.au>
10730 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
10732 2002-02-25 Akim Demaille <akim@epita.fr>
10734 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
10735 From Akinori Musha.
10737 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
10739 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
10740 translate \r\n to \n.
10742 2002-02-07 Akim Demaille <akim@epita.fr>
10746 2002-02-07 Akim Demaille <akim@epita.fr>
10748 Fix Autoconf PR/209.
10749 Also reported by Frank Denis.
10751 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
10753 2002-02-07 Akim Demaille <akim@epita.fr>
10755 Fix Autoconf PR/207:
10756 AC_PREFIX_PROGRAM fails with dashed program names
10758 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
10759 variable when looking for the prefix program.
10760 Now it also works for shell variables.
10762 2002-02-07 Akim Demaille <akim@epita.fr>
10764 * doc/autoconf.texi (Limitations of Builtins): More about
10767 2002-02-06 Akim Demaille <akim@epita.fr>
10769 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
10770 case/esac, some shells don't support it.
10771 Reported by Zack Weinberg.
10772 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
10774 2002-02-06 Akim Demaille <akim@epita.fr>
10776 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
10777 sure not to introduce newlines in at_groups.
10778 * lib/autotest/Makefile.am (autotest.m4f): Typo.
10780 2002-02-06 Akim Demaille <akim@epita.fr>
10782 * tests/torture.at (Configuring subdirectories): Skip if aclocal
10785 2002-02-05 Paul Eggert <eggert@twinsun.com>
10787 * doc/autoconf.texi (Specific Compiler Characteristics):
10788 Describe HP-UX cc bug workaround more accurately.
10789 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
10791 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
10792 cross-compilers, too. This undoes some of the most recent change
10795 2002-02-05 Akim Demaille <akim@epita.fr>
10797 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
10798 to make sure they are up to date when `check' is run.
10800 2002-02-05 Akim Demaille <akim@epita.fr>
10802 * doc/autoconf.texi (Making testsuite Scripts): Document
10805 2002-02-05 Akim Demaille <akim@epita.fr>
10807 * lib/freeze.mk: New.
10809 2002-02-05 Akim Demaille <akim@epita.fr>
10811 Implement `autom4te --freeze'.
10813 * bin/autom4te.in (&freeze): New.
10814 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
10815 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
10817 2002-02-05 Akim Demaille <akim@epita.fr>
10819 * bin/autom4te.in (&parse_args): Implement `frozen files are
10820 optional are the sum of the previous files on the command line'.
10821 Also, pass `--reload-state=' on them, so...
10822 (handle_m4): don't.
10823 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
10824 (M4sh): Rely on M4sugar.
10825 (Autotest, M4sh, M4sugar): Use frozen files.
10827 2002-01-31 Akim Demaille <akim@epita.fr>
10829 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
10830 * doc/autoconf.texi (Initializing configure): Adjust.
10832 2002-01-30 Akim Demaille <akim@epita.fr>
10834 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
10835 alphanumeric to `-' instead of `_'.
10837 2002-01-30 Akim Demaille <akim@epita.fr>
10839 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
10840 for plain code, the other for cross-compilation code. The latter
10841 is now run with GCC only.
10842 * doc/autoconf.texi (Compilers and Preprocessors): New.
10844 2002-01-30 Akim Demaille <akim@epita.fr>
10846 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
10848 * doc/autoconf.texi (Initializing configure): Explain how to
10849 change AC_INIT default values.
10851 2002-01-29 Akim Demaille <akim@epita.fr>
10853 * tests/torture.at (Configuring subdirectories): Use configure.in,
10854 so that aclocal 1.4 works.
10855 Reported by Alexandre Duret-Lutz and Larry Schmitt.
10857 2002-01-28 Akim Demaille <akim@epita.fr>
10859 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
10862 2002-01-28 Akim Demaille <akim@epita.fr>
10864 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
10865 AUTOTEST_PATH *after* it was set.
10866 Don't put `.' in the PATH: the user should be precise and `./' if
10867 needed. In addition, given that the test suite does some `cd', if
10868 `.' is in the path, the `tested programs' sections will report
10869 programs found in the test suite's directory, while during the
10870 tests (performed in their own directory), these programs are no
10871 longer visible. In other words, the results is confusing and
10873 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
10875 2002-01-24 Akim Demaille <akim@epita.fr>
10879 2002-01-24 Akim Demaille <akim@epita.fr>
10881 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
10882 * doc/autoconf.texi: Finally add Akim as an author.
10884 2002-01-24 Akim Demaille <akim@epita.fr>
10886 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
10887 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
10888 Bourne. Use /bin/sh.
10889 From Andreas Buening.
10891 2002-01-24 Akim Demaille <akim@epita.fr>
10893 * config/config.guess, config/config.sub, config/texinfo.tex:
10894 Update from masters.
10896 2002-01-24 Akim Demaille <akim@epita.fr>
10898 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
10899 * config/auxdir.m4, config/cond.m4, config/depend.m4,
10900 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
10901 * config/missing.m4, config/sanity.m4, config/select.m4,
10902 * config/strip.m4: Remove, to ease sync'ing with any version of
10905 2002-01-24 Akim Demaille <akim@epita.fr>
10907 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
10908 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
10909 Reported by Geir Ove Myhr.
10911 2002-01-21 Akim Demaille <akim@epita.fr>
10913 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
10915 2002-01-21 Akim Demaille <akim@epita.fr>
10917 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
10918 message on invalid options.
10919 * bin/autom4te.in (parse_args): Don't use
10920 Autoconf::General::getopt with non valid options.
10922 2002-01-17 Jim Meyering <meyering@lucent.com>
10924 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
10925 $ac_cv_exeext so we don't use an old, invalid, cached value.
10927 2002-01-11 Akim Demaille <akim@epita.fr>
10929 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
10931 * doc/autoconf.texi (Function Portability): Document the strnlen
10933 (Particular Functions): Document AC_FUNC_STRNLEN.
10934 * lib/autoscan/functions: Adjust.
10936 2002-01-06 Akim Demaille <akim@epita.fr>
10938 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
10939 package.m4, since is really depends upon configure.ac, not
10941 * doc/autoconf.texi (testsuite Scripts): Adjust.
10942 * tests/Makefile.am (package.m4): New.
10943 EXTRA_DIST it since its a source.
10945 2002-01-06 Akim Demaille <akim@epita.fr>
10947 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
10948 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
10949 and PACKAGE_BUGREPORT from here...
10950 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
10952 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
10953 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
10954 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
10955 * tests/tools.at (autoheader): Adjust.
10956 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
10958 2002-01-06 Akim Demaille <akim@epita.fr>
10960 * bin/autoscan.in (scan_file): Use `&used'.
10962 2002-01-03 Akim Demaille <akim@epita.fr>
10964 * doc/autoconf.texi (Output): Improved wording regarding use of
10968 2001-12-18 Kevin Ryde <user42@zip.com.au>
10970 * doc/autoconf.texi (Function Portability): Add notes on sscanf
10971 sometimes needing writable input.
10973 2001-12-17 Jim Meyering <meyering@lucent.com>
10975 * doc/autoconf.texi (New Macros): Tweak wording.
10977 2001-12-14 Akim Demaille <akim@epita.fr>
10979 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
10980 trailing files, don't apply `-rf' to files which might not be
10981 created by configure (core, core.*, and *.core), but just `rm -f'.
10982 Suggested by Jonathan Kamens.
10984 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
10986 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
10988 2001-12-14 Akim Demaille <akim@epita.fr>
10990 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
10992 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
10994 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
10995 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
10996 abs_srcdir, top_srcpath to abs_top_srcdir.
10997 (_AC_OUTPUT_FILES): Adjust.
10998 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
10999 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
11000 * tests/wrappl.in, tests/wrapsh.in: Adjust.
11002 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
11004 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
11005 C/Fortran linking on HP/UX, by extracting the Fortran library
11006 search path from the LPATH line in the $F77 -v output.
11008 2001-12-12 Kevin Ryde <user42@zip.com.au>
11010 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
11011 forbidden file descriptors table.
11013 2001-11-26 Akim Demaille <akim@epita.fr>
11015 * bin/autoscan.in (%c_keywords): Build it at top level.
11016 Map to 1 in order to simplify its uses.
11018 2001-11-26 Akim Demaille <akim@epita.fr>
11020 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
11021 Remove $filepath, useless.
11022 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
11023 variables, they are really part of the tokens.
11024 Split the input line on spaces and then look for tokens.
11025 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
11026 because of `lex$U.$(OBJEXT)'.
11027 (&scan_files): Use "@list" instead of join.
11028 * doc/Makefile.am (CLEANFILES): Add *.fns.
11030 2001-11-26 Akim Demaille <akim@epita.fr>
11032 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
11033 Remove, replaced by...
11034 * tests/wrappl.in: Be common for all the Perl executables.
11035 In particular autoscan and autoheader want -I.
11036 * configure.ac: Adjust.
11037 * lib/autoscan/headers: errno.h is portable.
11039 2001-11-26 Akim Demaille <akim@epita.fr>
11041 * bin/autoscan.in (used): New.
11044 2001-11-26 Akim Demaille <akim@epita.fr>
11046 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
11048 (&scan_sh_file): Remove a duplicate pattern.
11049 (&check_configure_ac): Use long options.
11050 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
11052 2001-11-26 Akim Demaille <akim@epita.fr>
11054 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
11055 Before, having a line containing the opening of a multi line
11056 comment made the whole line be ignored.
11058 2001-11-26 Akim Demaille <akim@epita.fr>
11060 * doc/autoconf.texi (Using an Autotest Test Suite): New.
11061 (testsuite Scripts): Be one of its subsection.
11062 (Autotest Logs): New.
11064 2001-11-26 Akim Demaille <akim@epita.fr>
11066 Test groups are now run two directories deeper.
11068 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
11069 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
11071 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
11072 top_srcdir, builddir and top_builddir.
11073 Use `at_*dir' relatively to the directory containing the
11074 suite, use `*dir' when relatively to the current group dir.
11076 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
11078 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
11079 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
11080 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
11083 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
11085 * doc/autoconf.texi (Using System Type): Add an example of `case
11086 $host' usage so people quit using `case $target' everywhere.
11088 2001-11-22 Akim Demaille <akim@epita.fr>
11090 * doc/autoconf.texi (Installation Directory Variables): Englishoes
11091 spotted by Jim Meyering.
11093 2001-11-16 Paul Eggert <eggert@twinsun.com>
11095 This patch implements a `long double' suggestion by Oliver Kiddle.
11097 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
11098 static, to catch errors if the value isn't known at compile-time
11099 and the compiler supports dynamic arrays. Change its name from
11100 `_array_' to `test_array' to avoid potential name clashes.
11101 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
11102 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
11103 better than double. Catch a bug in GCC 2.95.2 x86.
11104 * doc/autoconf.texi (C Compiler): Document the above.
11107 2001-11-13 Akim Demaille <akim@epita.fr>
11109 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
11111 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
11113 2001-11-13 Akim Demaille <akim@epita.fr>
11115 * lib/autotest/general.m4 (AT_INIT): After having run the test
11116 group, go back to the initial directory, not to at_suite_dir.
11118 2001-11-13 Akim Demaille <akim@epita.fr>
11120 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
11121 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
11122 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
11124 (AT_CHECK_CONFIGURE): Use absolute paths.
11125 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
11126 The problem is still the old one: there is no means in M4 (that I
11127 know about) to create a defining macro, because there is no means
11128 to create `$1' etc., therefore, the defining macro ``swallows''
11129 all the arguments meant to the defined macro.
11131 2001-11-13 Akim Demaille <akim@epita.fr>
11133 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
11134 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
11136 * tests/aclocal.m4: Remove, as it is no longer used.
11138 2001-11-13 Akim Demaille <akim@epita.fr>
11140 * lib/autotest/general.m4: Change `tests?' into `groups?' in
11141 variable names when referring to a single test group, or to
11142 `suite' when referring to the whole test suite.
11143 `at_last_test' is removed: m4 compute at_format itself.
11144 (at_stdout, at_stder1, at_stderr): New variables.
11145 (AT_CHECK): Use them.
11147 2001-11-13 Akim Demaille <akim@epita.fr>
11149 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
11151 Create `testsuite.dir/003/run' instead of `testsuite.003'.
11152 Do it as soon as a test fails, don't wait till the end of the test
11154 Don't remove $as_me.[0-9]*, since these files no longer exist.
11156 2001-11-13 Akim Demaille <akim@epita.fr>
11158 * tests/tools.at: Use absolute paths, since we are no longer run
11161 2001-11-13 Akim Demaille <akim@epita.fr>
11163 Now that tests are running in their own private dir, there is no
11164 need to list the files to remove at the end of tests groups.
11166 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
11167 (AT_data_files, at_data_files): Remove.
11168 (AT_CLEANUP, AT_DATA): Simplify.
11170 Remove the group dir if !debug && !failed.
11171 * tests/atspecific.m4: Adjust.
11173 2001-11-13 Akim Demaille <akim@epita.fr>
11175 Start a new layout for Autotest: `testsuite' creates
11176 `testsuite.dir' in which the at-check-line etc. files are to be
11177 found, and `testsuite.dir/003' where the test group 3 is run.
11179 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
11180 at_check_line_file, at_format, at_test_normalized, at_group_dir
11182 Create the directories.
11183 Use absolute paths for at- files.
11184 (AT_CHECK): Adjust.
11186 2001-11-11 Michael Matz <matz@kde.org>
11188 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
11190 (m4_car): Properly quote arguments.
11192 2001-11-13 Akim Demaille <akim@epita.fr>
11194 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
11195 with stricter rules on LIBOBJS.
11197 2001-11-12 Paul Eggert <eggert@twinsun.com>
11199 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
11200 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
11203 2001-11-12 Akim Demaille <akim@epita.fr>
11205 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
11207 2001-11-12 Akim Demaille <akim@epita.fr>
11209 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11210 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
11211 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
11212 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
11213 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
11214 specify to what the macro should be defined (typically to 1).
11216 2001-11-12 Akim Demaille <akim@epita.fr>
11218 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
11221 2001-11-12 Akim Demaille <akim@epita.fr>
11223 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11224 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
11225 definition used by Automake where LEX is +/- "${missing} lex" and
11226 `missing' itself contains variables.
11228 2001-11-12 Akim Demaille <akim@epita.fr>
11230 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
11231 Now that M4sh pushes BODY, the comments were output at the end of
11234 2001-11-08 Akim Demaille <akim@epita.fr>
11236 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
11237 that we can trace macros from aclocal.m4.
11238 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
11239 obsoleted, and redirect to the former anyway.
11240 Reported by Ralf Corsepius.
11242 2001-11-08 Akim Demaille <akim@epita.fr>
11244 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
11245 processed only if present.
11246 * tests/torture.at (Configuring subdirectories): Use autoreconf
11247 instead of successive calls to autoconf.
11248 Add a nonexistent subdirectory to exercise the patch above.
11249 Reported by Ralf Corsepius.
11251 2001-11-08 Kevin Ryde <user42@zip.com.au>
11253 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
11254 doesn't accept .S files.
11256 2001-11-07 Akim Demaille <akim@epita.fr>
11258 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
11259 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
11260 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
11261 * bin/autom4te.in (warn_forbidden): New.
11262 (handle_output): Use it.
11263 Read m4_pattern_forbid with messages.
11265 2001-11-05 Akim Demaille <akim@epita.fr>
11267 * bin/autom4te.in (--normalize): Remove.
11268 * lib/autom4te.in: Adjust.
11270 2001-11-05 Akim Demaille <akim@epita.fr>
11272 * tests/Makefile.am (testsuite): Rename this target as...
11273 ($(TESTSUITE)): this.
11276 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
11278 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
11279 the --prefix option, also remove it's argument.
11281 2001-11-05 Akim Demaille <akim@epita.fr>
11283 * doc/autoconf.texi (testsuite Invocation): Update.
11284 (Writing testsuite.at): Update.
11286 2001-11-03 Akim Demaille <akim@epita.fr>
11288 * doc/autoconf.texi: s/@code/@command/ where appropriate.
11290 2001-11-03 Akim Demaille <akim@epita.fr>
11292 * lib/Autom4te/General.pm: (&catfile, &canonfile)
11293 (&file_name_is_absolute): New, wrappers around routines from
11295 Use and export them.
11296 (&find_configure_ac): Optionally take a directory where to look at.
11297 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
11299 Default @ARGV to `.', not find_configure_ac.
11300 (&autoreconf): Argument is a directory.
11301 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
11302 * doc/autoconf.texi (autoreconf Invocation): Update.
11304 2001-11-03 Akim Demaille <akim@epita.fr>
11306 * lib/Autom4te/General.pm (@export_vars, @export_subs)
11307 (@export_forward_subs): New.
11308 Add basename, dirname, and fileparse.
11310 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
11311 Don't look for aclocal flags if we already know aclocal is not
11313 Move aclocal.m4t only if it exists.
11314 Reported by Ezra Peisach.
11316 2001-11-03 Akim Demaille <akim@epita.fr>
11318 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
11319 passed on command line, defaulting to ./configure.ac if present.
11320 (&maybe_autoreconf, File::Find): Remove, unused.
11321 (&autoreconf): If autoconf is not used, don't try to trace.
11323 2001-11-02 Akim Demaille <akim@epita.fr>
11325 * configure.ac: Bump to 2.52g.
11327 2001-11-02 Akim Demaille <akim@epita.fr>
11331 2001-11-02 Akim Demaille <akim@epita.fr>
11333 * config/config.guess, config/config.sub, doc/standards.texi:
11334 * config/lispdir.m4: Update from masters.
11335 * configure.ac: Bump to 2.52f.
11337 2001-11-02 Akim Demaille <akim@epita.fr>
11339 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
11340 Don't run aclocal when aclocal.m4 is not from aclocal.
11342 Don't run libtoolize and gettextize if --install is not given.
11344 2001-11-01 Paul Eggert <eggert@twinsun.com>
11346 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
11347 be invoked before _AS_LINENO_PREPARE.
11348 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
11349 than character ranges.
11351 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
11352 invoking AS_BASENAME. Set the locale variables to 'C' if
11353 possible, as POSIX requires this to get the traditional
11355 * doc/autoconf.texi (Special Shell Variables): Describe the above.
11357 2001-10-31 Paul Eggert <eggert@twinsun.com>
11359 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
11360 with {}, as that triggers a bug in Bash 2.05.
11362 (_AS_LINENO_PREPARE): Use Sed rather than
11363 Awk. Fix the sed prepass to work even if there are multiple
11364 instances of $LINENO on the same line. Do not substitute for
11365 other variables like $LINENOT. Do not check file dates; such a
11366 check is unreliable on sufficiently fast machines, and removing
11367 the check makes the code simpler and more reliable. Check for
11368 output and chmod failures.
11370 * doc/autoconf.texi (Special Shell Variables): Document
11373 2001-10-31 Akim Demaille <akim@epita.fr>
11375 * tests/Makefile.am (atconfig): Remove this target, Automake
11378 2001-10-31 Akim Demaille <akim@epita.fr>
11380 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
11381 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
11382 provided, while it is optional.
11383 * configure.ac: Adjust.
11385 2001-10-26 Paul Eggert <eggert@twinsun.com>
11387 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
11388 lib/Autom4te/Struct.pm:
11389 Require Perl 5.005_03 instead of just 5.005, as some tests fail
11392 * doc/autoconf.texi (Special Shell Variables): Document some
11393 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
11395 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
11396 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
11397 eval $LINENO is not portable in practice.
11399 2001-10-24 Akim Demaille <akim@epita.fr>
11401 * lib/Autom4te/General.pm (backname): New.
11403 2001-10-24 Akim Demaille <akim@epita.fr>
11405 * m4/: Remove, merged into...
11408 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
11410 * doc/autoconf.texi (Shellology): Mention the problems with bash
11411 2.05's use of ANSI quoting in its `set' builtin.
11413 2001-10-22 Paul Eggert <eggert@twinsun.com>
11415 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
11416 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
11417 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
11418 POSIX decided to standardize on the int flavor of strerror_r.
11419 Always do char* test, as there's no reason not to.
11420 Assign to a char* var, to catch strerror_r that returns int*.
11422 * doc/autoconf.texi (Particular Functions):
11423 Document the above changes. Also, document the fact that
11424 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
11426 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
11428 2001-10-20 Akim Demaille <akim@epita.fr>
11430 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
11431 the executable was missing from the log.
11433 2001-10-20 Akim Demaille <akim@epita.fr>
11435 * lib/Autom4te/General.pm (&update_file): If destination is
11436 unchanged, remove the source.
11437 (&up_to_date_p): Don't be verbose, be debug.
11438 * bin/autoreconf.in: No longer support --m4dir.
11439 (&autoreconf): Display the full path of the configure.ac we are
11441 Trace it only once.
11442 Be sure to honor --force with gettextize.
11443 Always run aclocal.
11444 * doc/autoconf.texi: Adjust.
11446 2001-10-20 Akim Demaille <akim@epita.fr>
11448 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
11450 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
11451 `intl' is already present, as it refuses unless --force.
11452 (&parse_args): Use -I, --include instead of the old Autoconf
11454 ($localdir, $autoconf_dir): Remove.
11456 (&maybe_autoreconf): New, to preserve $_ for File::Find.
11458 2001-10-19 Jens Petersen <petersen@redhat.com>
11460 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
11461 * doc/autoconf.texi (Particular Programs): Likewise.
11463 2001-10-19 Akim Demaille <akim@epita.fr>
11465 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
11466 file in @configure_input@.
11467 Don't mention `automatically' in addition to `generated'.
11468 * tests/torture.at (#define header templates): Adjust.
11470 2001-10-19 Akim Demaille <akim@epita.fr>
11472 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
11473 comment, explain how to install automatic mode selection.
11476 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
11478 * bin/autoreconf.in (autoreconf): Display the path to the
11479 configure.ac being studied.
11481 2001-10-18 Paul Eggert <eggert@twinsun.com>
11483 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
11484 long, to work around a bug in the HP C compiler version HP92453-01
11487 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
11488 (AS_BASENAME_EXPR): New macro.
11489 (AS_BASENAME_SED): Do not assume GNU sed semantics.
11490 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
11491 and fall back on 'sed' only if the other two fail. This makes
11492 AS_BASENAME act more like AS_DIRNAME.
11493 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
11494 contains white space.
11495 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
11496 Use AS_DIRNAME, since I think it's now DOS-friendly.
11497 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
11498 Allow "dirname //FOO" to return either / or //, as POSIX allows
11501 2001-10-10 Akim Demaille <akim@epita.fr>
11503 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
11504 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
11507 2001-10-10 Akim Demaille <akim@epita.fr>
11509 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
11510 m4_define, since...
11511 (_AS_ECHO_N): AS_REQUIREs it.
11513 2001-10-10 Akim Demaille <akim@epita.fr>
11515 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
11516 (AC_INCLUDES_DEFAULT): Move to...
11517 * lib/autoconf/headers.m4: here.
11518 * lib/autoconf/types.m4: Comment changes.
11519 * doc/autoconf.texi: Specify where the default includes are used
11520 in the macro prototypes.
11522 2001-10-09 Akim Demaille <akim@epita.fr>
11524 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
11527 2001-10-08 Akim Demaille <akim@epita.fr>
11529 * bin/autoreconf.in (&autoreconf): Remove debugging code.
11530 (&parse_args): Pass verbosity/debugging options to subtools when
11531 --debug, not when --verbose.
11532 * lib/autom4te.in (Autoreconf-preselections): New.
11533 (Autoconf): Use it.
11535 2001-10-08 Akim Demaille <akim@epita.fr>
11537 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
11539 2001-10-08 Akim Demaille <akim@epita.fr>
11541 * doc/autoconf.texi (autoreconf Invocation): Adjust.
11542 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
11544 2001-10-08 Akim Demaille <akim@epita.fr>
11546 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
11547 (Syntax of the shell scripts): Don't.
11548 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
11549 bother with $force since...
11550 * lib/Autom4te/General.pm: does.
11552 2001-10-08 Akim Demaille <akim@epita.fr>
11554 * bin/autoreconf.in: Rewrite in Perl.
11555 * configure.ac: Adjust.
11556 * lib/Autom4te/General.pm (&up_to_date_p): New.
11557 * bin/autom4te.in (&up_to_date_p): Use it.
11559 (&up_to_date): this.
11561 2001-10-08 Akim Demaille <akim@epita.fr>
11563 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
11564 (m4_list_cmp): Use $0 to reinvoke yourself.
11565 (m4_patsubsts): New.
11566 (m4_strip, m4_version_unletter): Use it.
11567 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
11569 2001-10-08 Akim Demaille <akim@epita.fr>
11571 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
11572 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
11573 * lib/autoconf/types.m4, lib/autotest/general.m4,
11574 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
11575 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
11576 m4_bregexp, m4_bpatsubst, and m4_bmatch.
11577 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
11579 2001-10-08 Akim Demaille <akim@epita.fr>
11581 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
11583 2001-10-08 Akim Demaille <akim@epita.fr>
11585 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
11586 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
11587 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
11588 * tests/tools.at, tests/m4sh.at: Use it.
11589 * tests/m4sh.at: Don't rely on Autoconf macros.
11590 (DIRNAME_TEST): Also exercise the expr variant.
11591 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
11592 preferred M4sugar extension is now `.4s'.
11593 * tests/README: Remove.
11595 2001-10-08 Akim Demaille <akim@epita.fr>
11597 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
11598 (m4_provide_if): this.
11599 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
11600 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
11601 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
11602 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
11604 2001-10-08 Akim Demaille <akim@epita.fr>
11606 Use `add-log-current-defun-function' for ChangeLog creation.
11607 Suggested by Tom Tromey.
11609 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
11610 (autotest-mode): Adjust.
11611 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
11612 'comment-region onto `C-c ;'.
11613 Comments are `#', not `dnl'.
11614 (autoconf-current-defun): New.
11615 (autoconf-font-lock-keywords): Recognize `m4_defun'.
11617 2001-10-08 Akim Demaille <akim@epita.fr>
11619 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
11620 * lib/m4sugar/m4sh.m4: here.
11621 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
11622 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
11623 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
11624 include handle the m4_pattern_*, no longer push the
11625 BODY diversion nor set the /bin/sh line, AS_INIT does it.
11626 * lib/autotest/general.m4 (AT_INIT): Likewise.
11627 * tests/base.at: Adjust the tests to use AS_INIT.
11628 * tests/tools.at (AT_DATA_FORBIDDEN): New.
11629 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
11632 2001-10-07 Paul Eggert <eggert@twinsun.com>
11634 * doc/autoconf.texi (config.status Invocation):
11635 CONFIG_SHELL defaults to a shell that supports LINENO if available.
11637 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
11638 shell does not support LINENO, and if CONFIG_SHELL is unset or
11639 empty, and if we can find a shell that does support LINENO,
11640 then set CONFIG_SHELL to that shell and then re-execute
11641 ourselves with CONFIG_SHELL.
11643 2001-10-05 Paul Eggert <eggert@twinsun.com>
11645 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
11646 doesn't exist. Remove *.tmp, as a .tmp file is created during the
11647 build of $(TESTSUITE).
11649 2001-10-05 Akim Demaille <akim@epita.fr>
11651 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
11652 iff we are a bareword.
11653 Reported by Raja R Harinath.
11655 2001-10-05 Akim Demaille <akim@epita.fr>
11657 * tests/m4sh.at (LINENO): New.
11658 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
11659 PATH_SEPARATOR before using it.
11660 Fix the absolute path case/esac pattern.
11661 Provide $0 as fallback for as_myself.
11662 Reported by Raja R Harinath.
11664 2001-10-05 Akim Demaille <akim@epita.fr>
11666 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
11667 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
11669 2001-10-05 Akim Demaille <akim@epita.fr>
11671 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
11672 (AS_SHELL_SANITIZE): here. Use it.
11673 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
11676 2001-10-04 Akim Demaille <akim@epita.fr>
11678 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
11679 combination of Awk and sed to replace $LINENO.
11681 2001-10-02 Paul Eggert <eggert@twinsun.com>
11683 * doc/autoconf.texi (Limitations of Builtins): You can't use
11684 "source"; it's not portable. Remove confusing and
11685 somewhat-incorrect example involving "." and "/".
11687 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
11688 compatibility with POSIX shells.
11690 2001-10-02 Akim Demaille <akim@epita.fr>
11692 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
11693 instead of exec'ing to preserve $0 and $@.
11695 2001-10-01 Akim Demaille <akim@epita.fr>
11697 * tests/testsuite (AT_INIT) <at_pass_list>: New.
11698 Don't run twice the same test.
11700 2001-10-01 Akim Demaille <akim@epita.fr>
11702 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
11703 No longer output the list of tests.
11704 <--list>: New option.
11705 <--full-help>: Remove.
11706 Complete the short/long options duality.
11707 Various small adjustments.
11709 2001-10-01 Akim Demaille <akim@epita.fr>
11711 * doc/autoconf.texi: Use @kbd for user input.
11712 Always use `$' as shell prompt.
11714 2001-09-30 Paul Eggert <eggert@twinsun.com>
11716 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
11717 Don't use nested parenthesization. This patch was originally
11718 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
11719 but somehow it didn't get incorporated then.
11720 * doc/autoconf.texi (Limitations of Usual Tools):
11721 Clarify remark about sed and nested parenthesization.
11723 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
11724 Report an error if the size cannot be determined even though
11726 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
11727 Check for `expr' arithmetic overflow, and for compilation failure,
11728 and invoke a new argument $4 if either is discovered.
11729 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
11730 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
11732 2001-09-28 Akim Demaille <akim@epita.fr>
11734 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
11735 * m4/lispdir.m4: New.
11736 * aclocal.m4, configure.ac: Adjust.
11738 2001-09-28 Akim Demaille <akim@epita.fr>
11740 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
11742 (AT_INIT): More the wrapped section to where it will be expanded.
11743 Output `AT_tested' only when existing.
11744 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
11746 2001-09-27 Akim Demaille <akim@epita.fr>
11748 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
11749 generates too many bug reports.
11751 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
11752 status when executing the ACTION-IF-FALSE.
11753 * tests/base.at (AC_TRY_*): Rename as...
11754 (AC_TRY_COMMAND): this.
11755 (AC_RUN_IFELSE): New.
11756 * tests/compile.at (Extensions, C keywords)
11757 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
11758 (Broken/missing compilers, AC_PROG_CPP with warnings)
11759 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
11760 * tests/c.at (Extensions, C keywords)
11761 (Broken/missing compilers, AC_PROG_CPP with warnings)
11762 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
11763 (AC_PROG_CPP requires AC_PROG_CC): here and...
11764 * tests/fortran.at (GNU Fortran 77): there.
11765 * doc/autoconf.texi (autoconf Invocation): Fix the example:
11766 AC_TRY_RUN is about compilation, not shell commands.
11767 (Test Programs): AC_TRY_RUN works as used to be advertised.
11769 2001-09-27 Akim Demaille <akim@epita.fr>
11771 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
11773 Be sure to detect when $LINENO always returns the same value.
11774 Look for the original script, basename($0) is certainly not
11776 Pass the CLI arguments to `$as_me.lineno'.
11778 2001-09-25 Akim Demaille <akim@epita.fr>
11780 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
11781 Be sure the close and reopen the LOG fd before and after using tee
11783 <at_tests_pattern>: Adjust to the new format of at_help_all.
11785 2001-09-23 Akim Demaille <akim@epita.fr>
11787 * bin/autom4te.in (parse_args): There can be several invocations
11790 2001-09-23 Akim Demaille <akim@epita.fr>
11792 * doc/autoconf.texi (Top): Wrap in @ifnottex.
11794 2001-09-23 Akim Demaille <akim@epita.fr>
11796 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
11797 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
11798 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
11799 builddir, buildpath, top_builddir, and top_buildpath.
11800 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
11801 the current directory.
11802 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
11803 variables *before* changing the current directory.
11804 Skip nonexistent dirs.
11805 * doc/autoconf.texi (Preset Output Variables): Document these
11808 * lib/autotest/general.m4: Do not reset AT_victims.
11809 Don't compute at_srcdir nor at_top_srcdir.
11811 * tests/tools.at: Hence use top_srcdir.
11813 * tests/Makefile.am, tests/autoconf, tests/autoheader,
11814 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
11816 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
11817 * tests/wrapsh.in, tests/autoupdate.in: New.
11818 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
11819 * configure.ac: Build the position independent wrappers.
11821 * man/Makefile.am: Now that test wrappers are position
11822 independent, use them and drop dark envvar magic.
11824 2001-09-23 Akim Demaille <akim@epita.fr>
11826 * doc/autoconf.texi (Common Shell Constructs): Rename as...
11827 (Programming in M4sh): this.
11828 Promote to @section.
11830 2001-09-23 Akim Demaille <akim@epita.fr>
11832 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
11833 Pass $at_debug_args to the rerun test suite.
11834 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
11835 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
11838 2001-09-23 Akim Demaille <akim@epita.fr>
11840 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
11842 2001-09-23 Akim Demaille <akim@epita.fr>
11844 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
11847 2001-09-23 Akim Demaille <akim@epita.fr>
11849 * lib/Autom4te/General.pm (&debug): New.
11850 * bin/autom4te.in ($language): Move to...
11851 (parse_args): here.
11852 Handle --language in languages.
11853 * lib/autom4te.in (Automake-selections, Autoheader-selections)
11854 (Autoscan-selections): New.
11855 (Autoconf): Adjust.
11857 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
11859 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
11860 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
11861 to match current versions from CVS Automake.
11863 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
11865 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
11868 2001-09-22 Akim Demaille <akim@epita.fr>
11870 * lib/autoconf/autotest.m4: Create `package.m4'.
11871 * tests/Makefile.am (package.m4): Remove.
11873 2001-09-22 Akim Demaille <akim@epita.fr>
11875 Rely on `$LINENO' when possible instead of `__oline__'.
11877 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
11878 `$LINENO' support replacement when not supported.
11879 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
11880 them explicitly to be sure they are not output before this section
11881 (via m4_require). Cosmetic only.
11882 * lib/autoconf/c.m4, lib/autoconf/general.m4,
11883 * lib/autoconf/programs.m4: Replace all the occurrences of
11884 `__oline__' with `$LINENO'.
11885 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
11887 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
11889 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
11890 character (u: -> ue) in a code comment.
11891 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
11894 2001-09-21 Akim Demaille <akim@epita.fr>
11896 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
11897 Suggested by Jim Meyering.
11899 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11901 * lib/autoconf/programs.m4: Use extensions listed in
11902 $ac_executable_extensions when looking for programs.
11904 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11906 * lib/autoconf/general.m4: Fix a small Englisho.
11907 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
11908 setting up ac_dir_suffix and ac_top_builddir.
11909 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
11911 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11913 * doc/autoconf.texi (File System Conventions): Clarify the use of
11915 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
11916 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
11917 be used instead of ':'.
11918 * lib/autotest/general.m4: Replace occurrences of ':' in
11919 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
11921 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11923 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
11924 arguments. Fixed a typo.
11926 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11928 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
11929 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
11931 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11933 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
11934 * bin/autoupdate.in: Ditto.
11935 * bin/autoheader.in: Reworded a few comments.
11936 * bin/autoconf.in: Reworded help text for a few options.
11937 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
11938 * bin/autoscan.in, bin/autoupdate.in: Ditto.
11940 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
11942 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
11943 already have $file). Set output files to binary mode (helps avoid
11944 CR issues on DOSish systems).
11946 2001-09-19 Akim Demaille <akim@epita.fr>
11948 * lib/autotest/general.m4: Englishoes.
11949 From Tim Van Holder and Alexey Mahotkin.
11951 2001-09-18 Paul Eggert <eggert@twinsun.com>
11953 * doc/autoconf.texi (Common Shell Constructs): New node,
11954 documenting AS_DIRNAME.
11955 (Limitations of Usual Tools): Refer to it when discussing dirname.
11956 Also, update discussion of POSIX standard to reflect latest draft.
11958 * lib/autoconf/c.m4:
11959 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
11961 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
11962 Do not pass a first argument with leading '-'
11963 to expr, by parenthesizing initial integers that might be negative.
11965 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
11966 now merely checks whether it is an error to pass an argument
11969 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
11970 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
11971 whether it is a (compile-time) error to pass an argument to
11972 getpgrp. This simpler test supports the revised documentation,
11973 and is all that AC_FUNC_GETPGRP's users really need.
11975 2001-09-18 Akim Demaille <akim@epita.fr>
11977 * doc/autoconf.texi (Limitations of Make) <$<>: New.
11979 2001-09-18 Akim Demaille <akim@epita.fr>
11981 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
11983 * lib/autotest/general.m4 (AT_INIT): Adjust.
11985 2001-09-18 Paul Wagland <paul@wagland.net>
11987 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
11989 Add test for AS_BASENAME.
11990 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
11991 added test. It now correctly handles /1/2/3/, returning '3' not ''.
11992 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
11993 * tests/base.at: Fixed the expected responses. The old ones were
11995 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
11996 the documentation claims it should (and how it behaved in 2.13).
11998 2001-09-18 Akim Demaille <akim@epita.fr>
12000 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
12001 the AC_CONFIG_COMMANDS invocation.
12002 This also solves the name clash problems.
12003 Don't set the package's ID.
12004 * lib/m4sugar/Makefile.am (version.m4): Revamp.
12005 No longer to be shipped.
12006 (version.in): Remove.
12007 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
12008 * lib/autoconf/status.m4: Adjust.
12009 Use `m4_PACKAGE_STRING'.
12010 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
12011 the only optional argument is the name of the test suite.
12012 Expect `package.m4' to define the package signature.
12013 * lib/autom4te.in (Autotest): Add `package.m4?'.
12014 * tests/Makefile.am (package.m4): New.
12015 * tests/suite.at: ifnames is a victim.
12017 2001-09-18 Akim Demaille <akim@epita.fr>
12019 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
12020 AC_LIBSOURCE, AC_CONFIG_FILES.
12021 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
12022 program version string doesn't match the package's.
12023 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
12026 2001-09-17 Paul Eggert <eggert@twinsun.com>
12028 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12029 Allow expression to return any value that can fit into unsigned long
12030 (not int, as before). Check for output errors.
12032 2001-09-17 Bruno Haible <haible@ilog.fr>
12034 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12035 Always include <stdio.h> and <stdlib.h>. Evaluate
12036 the expression in an extra function before these includes. Call
12037 fprintf "%d" only after ensuring the argument is of type 'int'.
12038 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
12040 2001-09-17 Paul Eggert <eggert@twinsun.com>
12042 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
12043 or CFLAGS=-O5. In that case, the linker has a relaxed view of
12044 fatal errors, and AC_CHECK_LIB causes it to include libraries even
12045 when they don't exist.
12047 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
12048 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
12051 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
12052 version with the version used by fileutils 4.1, except use
12053 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
12056 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
12058 2001-09-13 Akim Demaille <akim@epita.fr>
12060 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
12062 Reported by Gerrit P. Haase.
12064 2001-09-13 Akim Demaille <akim@epita.fr>
12066 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
12067 m4_defn'ing is valid.
12069 2001-09-13 Akim Demaille <akim@epita.fr>
12071 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
12072 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
12075 2001-09-13 Akim Demaille <akim@epita.fr>
12077 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
12079 (m4_re_escape): New.
12080 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
12081 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
12082 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
12084 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
12085 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
12086 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
12087 AT_tests_all for consistency.
12089 (AT_VICTIMS): Similar to AT_KEYWORDS.
12090 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
12092 2001-09-13 Akim Demaille <akim@epita.fr>
12094 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
12096 2001-09-13 Akim Demaille <akim@epita.fr>
12098 * lib/autotest/general.m4 (AT_INIT): Create and remove
12099 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
12100 test suites can cohabit.
12102 2001-09-13 Akim Demaille <akim@epita.fr>
12104 * tests/mktests.sh: Don't output banners for empty test files.
12106 2001-09-13 Akim Demaille <akim@epita.fr>
12108 Test suites can be run independently of configure.
12110 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
12111 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
12112 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
12114 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
12116 * lib/autotest/general.m4: Use ECHO_*.
12118 2001-09-13 Akim Demaille <akim@epita.fr>
12120 * bin/ifnames.in: Rewrite in Perl.
12121 * configure.ac: Don't look for AWK.
12122 * tests/tools.at (AWK portability): Remove.
12123 (Syntax of the shell scripts): Don't check ifnames.
12124 (AT_CHECK_PERL_SYNTAX): New.
12125 (Syntax of the Perl scripts): Check ifnames.
12126 * tests/ifnames: New.
12128 2001-09-13 Akim Demaille <akim@epita.fr>
12130 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
12132 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
12133 Remove all the other keywords.
12135 2001-09-10 Akim Demaille <akim@epita.fr>
12137 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
12138 SETUP: no longer used.
12139 Support -k, --keywords.
12140 <at_help>: Be `no', `short', or `long'.
12141 <at_help_all>: New variable.
12142 (AT_KEYWORDS): New.
12143 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
12144 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
12145 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
12146 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
12147 No longer fill the HELP diversion.
12148 (AT_CLEANUP): Use them.
12149 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
12150 (m4_list_append): Remove.
12152 Spread a few keywords in the Autoconf test suite.
12154 2001-09-10 Akim Demaille <akim@epita.fr>
12156 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
12157 PATH_SEPARATOR, let M4sh compute it.
12158 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
12159 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
12161 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
12162 Simplify when the path is not a literal.
12163 (AS_UNAME): Use it to report PATH.
12164 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
12165 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
12166 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
12167 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
12168 normalize the path, and to look for victims.
12169 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
12170 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
12172 2001-09-07 Akim Demaille <akim@epita.fr>
12174 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
12175 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
12176 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
12177 related variables into `at_package_*'.
12178 * lib/autotest/general.m4 (AT_VICTIMS): New.
12179 (AT_INIT): Adjust for stand-alone/embedded test suites.
12180 (AS_MESSAGE_LOG_FD): Define and use it.
12181 * tests/suite.at (AT_VICTIMS): Use it.
12182 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
12185 2001-09-07 Akim Demaille <akim@epita.fr>
12187 Move toward possibly stand-alone test suites.
12189 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
12190 in addition, it introduces useless differences in logs.
12191 (AT_INIT): Let atconfig and atlocal be both optional.
12192 Adjust PATH computation.
12193 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
12195 2001-09-07 Akim Demaille <akim@epita.fr>
12197 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
12198 m4sugar/version.m4.
12200 2001-09-05 Akim Demaille <akim@epita.fr>
12202 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
12203 to avoid GCC warnings.
12206 2001-09-05 Akim Demaille <akim@epita.fr>
12208 * bin/autom4te.in: --language is -l, not -s.
12210 2001-09-05 Akim Demaille <akim@epita.fr>
12212 Be ready to handle filenames as stupid as `dnl.at', for if even
12213 the maintainer is dumb enough to do that...
12215 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
12216 excellence in M4 quotation: consider `__file__' is active.
12218 And BTW, when invoking m4, pass the --include in the right order:
12221 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
12224 2001-09-05 Akim Demaille <akim@epita.fr>
12226 * lib/Autom4te/XFile.pm: New lib file.
12227 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
12228 * bin/autoheader.in: Use it.
12230 2001-09-05 Akim Demaille <akim@epita.fr>
12232 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
12235 2001-09-05 Akim Demaille <akim@epita.fr>
12237 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
12238 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
12240 * bin/autoscan.in: Use `getopt' and `find_files' etc.
12241 Add -I, --include support.
12242 * doc/autoconf.texi (autoscan Invocation): Adjust.
12244 2001-09-05 Akim Demaille <akim@epita.fr>
12246 CVS GNU M4 doesn't like `undefine(undefined)'.
12248 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
12249 New, extracted from main.
12250 Use IO::File wherever possible.
12251 (input.m4): Be constant, use -I instead of hard coding $tmp.
12252 Therefore be a quoted heredoc.
12253 Don't invoke `_au_disable', since ac was not loaded, but just
12256 2001-08-31 Akim Demaille <akim@epita.fr>
12260 2001-08-31 Akim Demaille <akim@epita.fr>
12262 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
12264 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
12266 2001-08-31 Akim Demaille <akim@epita.fr>
12268 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
12269 serious problems handling heredocs in heredocs.
12270 Reported by Nicolas Joly.
12272 2001-08-31 Akim Demaille <akim@epita.fr>
12274 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
12275 (Making testsuite Scripts): Update.
12277 2001-08-31 Akim Demaille <akim@epita.fr>
12279 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
12281 2001-08-31 Akim Demaille <akim@epita.fr>
12283 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
12284 (testsuite Scripts): There is no such thing as `atconfig.in'.
12285 And actually one diagram is missing: test suite runtime.
12287 2001-08-31 Akim Demaille <akim@epita.fr>
12289 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
12292 2001-08-31 Akim Demaille <akim@epita.fr>
12294 * bin/autoupdate.in (@include): `installcheck' revealed the path
12295 to m4sugar was lacking!
12297 2001-08-31 Akim Demaille <akim@epita.fr>
12299 * man/Makefile.am (.x.1): We really have to pass
12300 autom4te_perllibdir.
12302 2001-08-31 Akim Demaille <akim@epita.fr>
12304 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
12305 debug scripts, in particular passing explicitly listed tests to
12308 2001-08-31 Akim Demaille <akim@epita.fr>
12310 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
12311 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
12312 Use directly autom4te, not autoconf.
12313 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
12315 2001-08-31 Akim Demaille <akim@epita.fr>
12317 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
12318 * bin/autoheader.in (%symbol): Strip arguments of macros.
12320 2001-08-31 Akim Demaille <akim@epita.fr>
12322 * doc/autoconf.texi: Catch up -I, --include changes.
12324 2001-08-31 Akim Demaille <akim@epita.fr>
12326 * bin/autom4te.in (&parse_args): Die on unknown languages.
12327 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
12329 Promote --include over --macrodir and other obsolete options.
12331 2001-08-31 Akim Demaille <akim@epita.fr>
12333 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
12334 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
12335 * bin/autom4te.in ($autoconf): Pass --force.
12336 `print $out' doesn't print `$_' but `$out'.
12337 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
12338 (autoheader): Pass --force since the test suite goes too fast for
12340 Adjust to the new autoheader messages.
12342 2001-08-31 Akim Demaille <akim@epita.fr>
12344 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
12345 Check the completeness of the #template.
12346 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
12347 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
12350 2001-08-31 Akim Demaille <akim@epita.fr>
12352 * lib/Autom4te/General.pm (&find_file, &update_file): New.
12353 * bin/autoupdate.in, bin/autoheader.in: Adjust.
12354 Drop AC_MACRODIR dead for real.
12355 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
12356 `autoheader: `config.hin' is created'.
12357 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
12359 2001-08-31 Akim Demaille <akim@epita.fr>
12361 * bin/autoheader.in: Rewrite in Perl.
12362 * tests/autoheader: Adjust.
12364 2001-08-31 Akim Demaille <akim@epita.fr>
12366 * bin/autoconf.in (--include, -I): New option.
12367 Map --localdir, --autoconf-dir onto it.
12368 Forward autom4te's options instead of interpreting them.
12369 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
12370 There is no such envvar since the inception of autom4te.cfg.
12371 * bin/autom4te.in (&parse_args): Uniquify `@include'.
12372 * bin/autoupdate.in: Adjust, and perform more control.
12373 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
12374 * tests/autoconf: Dittowise.
12376 2001-08-31 Akim Demaille <akim@epita.fr>
12378 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
12379 * bin/autom4te.in (&find_file): Support `FILE?' standing for
12381 Use -e, not -f, since /dev/null for instance is OK.
12382 (&parse_args): Adjust.
12383 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
12385 2001-08-31 Akim Demaille <akim@epita.fr>
12387 * configure.ac: Also find tested executables in bin.
12388 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
12389 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
12390 installed peer executables, only PATH is allowed to resolve it.
12391 Pass `autoconf_dir' via options, not via invisible envvars.
12392 * lib/Autom4te/General.pm (&find_peer): Remove.
12393 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
12394 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
12395 * man/Makefile.am: Let help2man rely on PATH instead of trying to
12396 find the executables for it.
12397 * tests/Makefile.am: Major cleanup. Too lazy to document...
12398 * tests/atlocal.in: Remove all the obscure envvar manipulations.
12400 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
12401 indeed related to running the test suite, while passing
12402 --autoconf-dir and others is related to running non installed
12403 Autoconf executables. So don't do that, leave it to...
12404 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
12405 * tests/autoscan: New.
12406 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
12407 refer to library files: rely on --language.
12409 2001-08-29 Akim Demaille <akim@epita.fr>
12411 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
12412 s/--set/--language/.
12414 2001-08-29 Akim Demaille <akim@epita.fr>
12416 * doc/autoconf.texi: Strip the @nodes.
12417 Suggested by Paul Eggert.
12418 (Initializing configure): Typo.
12420 2001-08-29 Akim Demaille <akim@epita.fr>
12422 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
12423 Suggested by Paul Eggert.
12425 2001-08-29 Akim Demaille <akim@epita.fr>
12427 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
12428 download in a tmp dir.
12430 2001-08-29 Akim Demaille <akim@epita.fr>
12432 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
12433 case insensitive OSes out there :(
12434 From Tim Van Holder.
12436 2001-08-29 Akim Demaille <akim@epita.fr>
12438 * lib/autom4te.in: New.
12439 * lib/Makefile.am (edit, autom4te.cfg): New.
12440 * bin/autom4te.in (BEGIN): Simplify.
12441 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
12442 (&load_configuration): New. Use it.
12443 (&parse_args): Support --mode, --set, and --melt.
12444 * bin/autoconf.in: Simplify and adjust.
12445 * tests/Makefile.am (AUTOMAKE): Use --set.
12446 * tests/atlocal.in: Adjust.
12447 * BUGS: distcheck and check are weak.
12449 2001-08-29 Akim Demaille <akim@epita.fr>
12451 * lib/autotest/general.m4: Use
12452 foo=`(command) 2>/dev/null`
12454 foo=`command` 2>/dev/null
12455 (at-devnull): Rename as...
12456 (AT-devnull): this.
12457 (--clean): Remove AT-* files too.
12458 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
12459 Reported by Nicolas Joly.
12461 2001-08-28 Akim Demaille <akim@epita.fr>
12463 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
12464 quotes inside single quotes.
12465 Reported by Nicolas Joly.
12467 2001-08-28 Kevin Ryde <user42@zip.com.au>
12469 * doc/autoconf.texi (Function Portability): Mention C right shifts.
12471 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
12473 * lib/autotest/general.m4: Reword some messages.
12474 (AT_INIT): Check for the `times' builtin before using it.
12475 Support test ranges as arguments to the testsuite.
12476 Have -e imply -d as the help text suggested.
12478 2001-08-27 Akim Demaille <akim@epita.fr>
12480 * Makefile.maint: Formatting changes.
12481 (do-po-update, po-update, cvs-update, update): New targets.
12484 2001-08-27 Akim Demaille <akim@epita.fr>
12486 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
12487 <at_cmd_line>: New.
12488 Pass it to debug-*.sh scripts.
12489 <AUTOTEST_PATH>: May contain absolute dir names.
12491 2001-08-27 Akim Demaille <akim@epita.fr>
12493 * lib/autotest/general.m4 (AT_INIT): Log the command line.
12494 Support `VAR=VAL' as arguments.
12495 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
12496 may be set via the command line.
12498 2001-08-27 Akim Demaille <akim@epita.fr>
12500 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
12501 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
12502 first the build dirs, then the src dirs.
12503 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
12505 2001-08-27 Akim Demaille <akim@epita.fr>
12507 * lib/autotest/general.m4 (AT_INIT): Output the definition of
12508 at_data_files earlier.
12509 (--clean, -c): New option.
12510 * tests/Makefile.am: Use this option.
12512 2001-08-27 Akim Demaille <akim@epita.fr>
12514 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
12515 `ac_top_builddir' to mimic Automake's vocabulary, which much more
12518 * doc/autoconf.texi (Configuration Actions): Document the vars
12519 available in commands.
12520 Emphasize the risks of collisions in init-cmds.
12522 2001-08-27 Akim Demaille <akim@epita.fr>
12524 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
12525 (Initializing configure): this new node.
12527 2001-08-27 Akim Demaille <akim@epita.fr>
12529 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
12531 2001-08-27 Akim Demaille <akim@epita.fr>
12533 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
12534 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
12536 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
12538 2001-08-27 Akim Demaille <akim@epita.fr>
12540 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
12542 * lib/autoconf/autoheader.m4: this new file.
12543 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
12544 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
12546 * lib/autoconf/autoupdate.m4: this new file.
12548 2001-08-27 Akim Demaille <akim@epita.fr>
12550 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
12551 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
12552 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
12554 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
12555 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
12557 2001-08-27 Akim Demaille <akim@epita.fr>
12559 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
12560 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
12561 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
12562 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
12563 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
12564 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
12565 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
12566 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
12567 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
12568 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
12569 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
12570 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
12571 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
12572 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
12573 (_AC_OUTPUT_SUBDIRS): Move to...
12574 * lib/autoconf/status.m4: this new file.
12575 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
12576 * tests/Makefile.am, tests/suite.at: Adjust.
12578 2001-08-27 Akim Demaille <akim@epita.fr>
12582 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
12583 (AMTAR): Help automake define it.
12584 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
12585 needed, 1.5 can have a macro and a target with the same name.
12586 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
12587 * m4/strip.m4: New.
12588 * m4/init.m4, m4/sanity.m4: Update.
12589 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
12590 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
12591 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
12592 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
12594 2001-08-27 Akim Demaille <akim@epita.fr>
12596 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
12598 * lib/autoconf/version.in: Remove.
12599 * lib/m4sugar/version.in: New.
12600 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
12602 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
12603 the name of the directory they're in, instead of the filename,
12604 since version.m4 is now in m4sugar, but m4_acversion must not be
12605 classified as an Autoconf macro.
12606 ($input_m4): Don't qualify the path to m4sugar.
12607 Rather, pass autoconf_dir to m4.
12608 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
12609 * tests/suite.at: Require 2.52c.
12611 2001-08-27 Akim Demaille <akim@epita.fr>
12613 testsuite.log should include config.log.
12615 * lib/autotest/autotest.m4: New.
12616 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
12617 * tests/suite.at : Adjust.
12618 (AT_INIT): Log config.log.
12619 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
12620 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
12621 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
12622 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
12623 of config.log on traps.
12624 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
12625 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
12626 for config.status'.
12627 Open the log as soon as possible.
12628 Use the same log introduction as configure's.
12630 2001-08-22 Paul Eggert <eggert@twinsun.com>
12632 * doc/autoconf.texi (Indices): New node.
12633 Move indices out of the top level menu and into this submenu.
12635 2001-08-22 Akim Demaille <akim@epita.fr>
12637 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
12639 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
12641 2001-08-22 Akim Demaille <akim@epita.fr>
12643 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
12644 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
12645 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
12646 * lib/autoconf/programs.m4: here.
12647 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
12648 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
12649 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
12650 * lib/autoconf/programs.m4: here.
12651 (_AC_DECL_YYTEXT): Rename as...
12652 (_AC_PROG_LEX_YYTEXT_DECL): this.
12653 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
12654 * tests/Makefile.am, tests/suite.am: Adjust.
12656 2001-08-22 Akim Demaille <akim@epita.fr>
12658 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
12660 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
12662 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
12663 * lib/autoconf/functions.m4: here.
12664 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
12665 (AH_CHECK_LIB): Move to...
12666 * lib/autoconf/libs: this new file.
12667 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
12668 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
12669 * lib/autoconf/libs.m4: here.
12670 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
12672 2001-08-22 Akim Demaille <akim@epita.fr>
12674 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
12675 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
12676 (AC_SITE_LOAD): Better logging of config.site.
12678 2001-08-20 Akim Demaille <akim@epita.fr>
12680 * configure.ac (AT_CONFIG): Fix the path.
12681 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
12684 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
12686 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
12687 program with AC_LANG_PROGRAM before feeding it to
12688 AC_COMPILE_IFELSE. Cleanup grep usage.
12690 2001-08-20 Akim Demaille <akim@epita.fr>
12692 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
12693 * NEWS, README, README-alpha, TODO, tests/README: This package is
12694 `Autoconf', not `autoconf' (the executable).
12696 2001-08-20 Akim Demaille <akim@epita.fr>
12698 Info readers seem to need `Index' in the index node title :(
12700 * doc/autoconf.texi: Reverse the 2001-08-15 change which
12701 simplified index node names.
12703 2001-08-20 Akim Demaille <akim@epita.fr>
12705 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
12706 arguments are not literals.
12707 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
12708 Specify the output variables, and macros defined.
12710 2001-08-20 Akim Demaille <akim@epita.fr>
12712 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
12713 (Examining Syntax) <AC_TRY_COMPILE>
12714 (Examining Libraries) <AC_TRY_LINK>
12715 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
12717 Reported by Werner Lemberg.
12719 2001-08-20 Akim Demaille <akim@epita.fr>
12721 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
12722 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
12723 Load atlocal late enough to dump it in the log.
12724 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
12726 2001-08-20 Akim Demaille <akim@epita.fr>
12728 * tests/torture.at (Configuring subdirectories): New test.
12729 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
12731 * m4/atconfig.m4: Be sure the let $[0] be expandable.
12732 (top_srcdir): Fix its computation.
12734 2001-08-20 Akim Demaille <akim@epita.fr>
12736 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
12737 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
12739 Create `atconfig' automagically.
12740 Configure atlocal.in if present.
12741 * tests/atconfig.in: Remove.
12742 * tests/atlocal.in: New.
12743 * tests/Makefile.am: Adjust.
12745 2001-08-20 Akim Demaille <akim@epita.fr>
12747 Huh!?!?! There are still some user EOF tags used, which prevents
12748 their use in AC_CONFIG_COMMANDS for instance...
12750 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
12751 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
12752 `_CSEOF', or `_ATEOF', as appropriate.
12753 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
12754 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
12756 2001-08-20 Akim Demaille <akim@epita.fr>
12758 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
12759 * tests/semantics.at, tests/tools.at, tests/torture.at:
12760 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
12762 2001-08-20 Akim Demaille <akim@epita.fr>
12764 Autotest invokes M4sh's initialization.
12766 * lib/autotest/general.m4: Adjust the diversion names.
12767 (AT_INIT): Run AS_INIT.
12768 Use the BINSH diversion to invoke /bin/sh.
12769 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
12770 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
12772 2001-08-20 Akim Demaille <akim@epita.fr>
12774 Let M4sh have its own diversions.
12776 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
12777 (_m4_divert(NOTICE)): Rename as...
12778 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
12779 (_m4_divert(HEADER-COMMENT)): these.
12780 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
12781 (_m4_divert(NOTICE)): New, for Libtool.
12782 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
12783 long ago with `_m4_divert(GROW)'.
12784 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
12786 2001-08-20 Akim Demaille <akim@epita.fr>
12788 * tests/base.at, tests/compile.at, tests/foreign.at,
12789 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
12790 * tests/semantics.at, tests/suite.at, tests/tools.at,
12791 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
12793 2001-08-20 Akim Demaille <akim@epita.fr>
12795 * bin/autom4te.in (handle_output): Handle @__@.
12797 2001-08-20 Akim Demaille <akim@epita.fr>
12799 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
12800 * lib/autotest/general.m4: Adjust the license.
12802 2001-08-17 Paul Eggert <eggert@twinsun.com>
12804 * doc/autoconf.texi (Function Portability): Mention snprintf,
12805 following up on a suggestion by Kevin Ryde.
12807 2001-08-17 Akim Demaille <akim@epita.fr>
12809 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
12810 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
12812 2001-08-17 Akim Demaille <akim@epita.fr>
12814 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
12815 `$0.log' as for projects where testsuite is in src, we'd have
12816 testsuite.log created in src.
12818 2001-08-17 Akim Demaille <akim@epita.fr>
12820 * bin/autom4te.in (&parse_args): Recognize --normalize.
12822 2001-08-17 Akim Demaille <akim@epita.fr>
12824 Start implementing the AC_CHECK_HEADER transition scheme.
12826 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
12827 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
12828 (AC_CHECK_HEADER): Use them.
12830 2001-08-17 Akim Demaille <akim@epita.fr>
12832 * doc/autoconf.texi: Work around Texinfo buglets.
12833 (Transformation Rules): One example is enough, users are expected
12834 to have their brains on. And BTW, use DESTDIR.
12835 (dvar): New macro. Use it.
12837 2001-08-17 Akim Demaille <akim@epita.fr>
12839 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
12840 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
12841 looking for ChangeLogs.
12843 2001-08-17 Akim Demaille <akim@epita.fr>
12845 * bin/autom4te.in: --normalize is a new option.
12846 * bin/autoconf.in: Use it.
12848 2001-08-17 Akim Demaille <akim@epita.fr>
12850 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
12851 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
12853 2001-08-16 Paul Eggert <eggert@twinsun.com>
12855 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
12858 2001-08-15 Akim Demaille <akim@epita.fr>
12860 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
12863 2001-08-15 Akim Demaille <akim@epita.fr>
12865 * doc/autoconf.texi (pr): New index.
12866 (prindex, findex): Use, merge, and output them.
12867 (Environment Variable Index, Output Variable Index)
12868 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
12869 (Autotest Macro Index): Rename as...
12870 (Environment Variables, Output Variables,Preprocessor Symbols)
12871 (Autoconf Macros, M4 Macros, Autotest Macros): these.
12872 * doc/install.texi: Use @command.
12873 (Environment Variables): Rename as...
12874 (Defining Variables): this.
12876 2001-08-15 Akim Demaille <akim@epita.fr>
12878 * doc/autoconf.texi (Function Portability): sprintf's return
12882 2001-08-15 Akim Demaille <akim@epita.fr>
12884 * Makefile.maint (CVS): New.
12885 (local-check): Run changelog-check. last.
12886 (alpha): Don't depend upon local-check, since...
12887 (cvs-dist): depends upon it.
12889 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
12891 * tests/Makefile.am: Use a clean-local rule to remove
12892 autom4te.cache (it's a directory, not a file.
12893 * Makefile.am: Ditto (but maintainer-clean-local).
12895 2001-08-15 Akim Demaille <akim@epita.fr>
12897 * bin/autom4te.in (@m4_warning): New.
12898 (&handle_m4): Use it.
12899 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
12900 warnings are issued at each run.
12901 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
12902 is in the src tree.
12904 2001-08-15 Akim Demaille <akim@epita.fr>
12906 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
12907 don't waste time running `autoupdate --version' works.
12908 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
12910 2001-08-13 Akim Demaille <akim@epita.fr>
12912 * doc/autoconf.texi (ma): Rename this index as...
12915 2001-08-13 Akim Demaille <akim@epita.fr>
12917 * Makefile.am: Remove dead code and dead comments.
12918 (pdf, html): New targets.
12919 * doc/autoconf.texi (Using Autotest): New chapter.
12920 * doc/Makefile.am (pdf): New targets.
12921 (CLEANFILES): Adjust.
12923 2001-08-13 Akim Demaille <akim@epita.fr>
12925 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
12926 duration of the test suite.
12928 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
12930 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
12931 endianness for comparison instead of relying on AT_CHECK_ENV.
12933 2001-08-11 Paul Eggert <eggert@twinsun.com>
12935 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
12936 to the INSTALL file.
12938 2001-08-11 Paul Eggert <eggert@twinsun.com>
12940 * NEWS: The autoconf manual now is distributed under the terms
12941 of the GNU Free Documentation License.
12943 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
12944 Add an appendix "Copying This Manual" for the FDL.
12946 * doc/fdl.texi: New file, from
12947 <http://www.gnu.org/licenses/fdl.texi>.
12949 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
12951 2001-08-10 Paul Eggert <eggert@twinsun.com>
12953 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
12954 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
12955 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
12956 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
12957 m4/sanity.m4, tests/README, tests/aclocal.m4,
12958 tests/atspecific.m4, tests/base.at, tests/compile.at,
12959 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
12960 tests/semantics.at, tests/suite.at, tests/tools.at,
12961 tests/torture.at: Add copyright notice.
12963 * tests/mktests.sh: Update year in copyright notice.
12965 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
12967 * tests/semantics.at (AC_C_BIGENDIAN): New test.
12969 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
12971 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
12972 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
12973 * doc/autoconf.texi (C Compiler Characteristics): Update
12974 documentation for AC_C_BIGENDIAN.
12976 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
12978 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
12979 magic values from an object file when cross-compiling.
12980 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
12982 2001-08-10 Akim Demaille <akim@epita.fr>
12984 * bin/autom4te.in (&handle_output): Don't use `grep' with side
12986 Suggested by Russ Allbery.
12988 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12990 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
12991 current $prefix to the sub-configures.
12993 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
12995 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
12996 extension (needed on BeOS). Reported by Guido van Rossum.
12998 2001-08-09 Akim Demaille <akim@epita.fr>
13000 * bin/autom4te.in ($icache): Load it only if older than autom4te.
13002 2001-08-07 Akim Demaille <akim@epita.fr>
13004 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
13006 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
13007 No need to remove the files before and after the each test, before
13008 each test and at the end of the suite is enough.
13009 Display only the children `times', not the shell's.
13010 If the test failed or was skipped, at-times is not available.
13012 2001-08-07 Akim Demaille <akim@epita.fr>
13014 Always produce testsuite.log, including when there are no
13015 failures. This helps getting information on skipped tests, and
13016 duration of the tests. Err, implement the latter btw.
13018 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
13019 Dump information on the first run of each test.
13020 (AT_CLEANUP): Create `at-times' containing the duration of the
13023 2001-08-07 Akim Demaille <akim@epita.fr>
13025 The use of `dumpstat' revealed that `len' was used although it
13026 should not. m4_text_wrap was using it, but in the Autoconf world
13027 where it is legal. Hence (i) test M4sh in its own world, not
13028 Autoconf's, and (ii), ahem, fix the bug :)
13030 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
13031 does not like `' instead of [].
13032 (AT_INIT): Forbid `^_?AT_'.
13033 And don't output such tokens.
13034 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
13035 `script.as', and `autom4te.cache'.
13036 Remove `empty' and `macro' which are no longer used.
13037 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
13038 * tests/m4sugar.at: Use it.
13039 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
13041 2001-08-07 Akim Demaille <akim@epita.fr>
13043 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
13045 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
13047 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
13049 2001-08-04 Akim Demaille <akim@epita.fr>
13051 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
13052 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
13054 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
13055 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
13056 (AC_F77_MAIN): Likewise.
13058 2001-08-04 Akim Demaille <akim@epita.fr>
13060 Don't rely on M4sugar outputting the patterns in files, since we
13061 might process the output _without_ running m4, hence without these
13064 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
13065 * bin/autom4te.in (@Request::includes): Remove, unused.
13066 (@Request::source): Rename as...
13067 (@Request::input): this.
13068 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
13069 (&handle_output): Fetch the patterns from the traces.
13070 `$forbidden' and `$allowed' are constant: use m//o.
13071 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
13072 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
13074 2001-08-04 Akim Demaille <akim@epita.fr>
13076 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
13077 autoconf', i.e., in addition to caching traces, cache the output.
13079 * bin/autom4te.in (Request::cache): Rename as...
13080 (Request::id): this.
13081 ($cache, $icache, $tcache, $ocache): New.
13082 (&handle_m4): Save M4 output in the cache instead of $tmp.
13083 (&handle_output): Adjust.
13084 (&up_to_date_p): Check that the output cache is up to date too.
13085 (top level): Run `&handle_m4' iff force or the cache is invalid.
13086 Run `&handle_output' if the output cache is more recent.
13088 2001-08-04 Akim Demaille <akim@epita.fr>
13090 * bin/autom4te.in ($force): New.
13091 (&parse_args, &print_usage): -f, --force is a new option.
13092 (&handle_output): CPP directives might have spaces after `#'.
13093 (&parse_args): The first file only can be frozen.
13095 2001-08-04 Akim Demaille <akim@epita.fr>
13097 Don't let autom4te compute the `include' traces several times:
13098 first check that the trace cache file is up to date, and then
13099 compare its timestamp with that of the output.
13101 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
13102 the preamble. Don't require 5.005 as Autom4te::General does it,
13103 and better yet (use `use', not `require'!).
13104 * lib/Autom4te/Struct.pm: Rename the last occurrences of
13105 Class::Struct as Autom4te::Struct.
13106 * lib/Autom4te/General.pm (File::stat): Use it.
13107 (&mtime): New, export it.
13108 * bin/autom4te.in: Use it.
13109 Declare `$req' is invalid if it is outdated.
13110 Don't declare it valid before saving it if something went wrong.
13112 2001-08-04 Akim Demaille <akim@epita.fr>
13114 Autom4te shall not encode Autoconf data, and preselecting traces
13115 must be proposed to the users.
13117 * bin/autom4te.in (@required_trace): Remove.
13119 (&parse_args, &print_usage): -p, --preselect is a new option.
13120 (&up_to_date_p): Adjust.
13121 * bin/autoconf.in: Preselect some Autoconf macros.
13123 2001-08-04 Akim Demaille <akim@epita.fr>
13125 * tests/tools.at (autoconf --trace: user macros): Check traces on
13126 macros invoked without arguments, and macros invoked with multiple
13129 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
13131 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
13134 2001-08-03 Akim Demaille <akim@epita.fr>
13136 * bin/autoconf.in ($@): Work around the usual sh bug.
13139 2001-08-03 Akim Demaille <akim@epita.fr>
13141 Clean up the handling of the M4 builtins tracing exception.
13143 * bin/autom4te.in (Request::request): Don't complete M4 builtins
13145 (@m4_builtins): Rename as...
13146 (@m4_builtin): this.
13147 (%m4_builtin_alternate_name): New.
13148 (&parse_args): Complete the trace requests with alternate names.
13149 (&handle_traces): Hence no longer do it here.
13150 (&trace_requests): Remove, unused.
13152 2001-08-03 Akim Demaille <akim@epita.fr>
13154 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
13155 m4_if, and m4_wrap.
13157 2001-08-03 Akim Demaille <akim@epita.fr>
13159 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
13160 (m4_divert_pop): Dump the whole diversion stack when a diversion
13162 * bin/autom4te.in (&handle_output): Remember of the first
13163 occurrence of a possibly undefined macro, not the last.
13164 Complain about the possibly undefined macros in the same order as
13165 the appear in the output.
13166 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
13167 * tests/tools.at (autoconf: forbidden tokens, basic)
13168 (autoconf: forbidden tokens, exceptions): No longer sort
13169 autoconf's stderr, as it is now deterministic.
13170 Check that `dnl' is caught.
13172 2001-08-01 Akim Demaille <akim@epita.fr>
13174 * configure.ac: Bump to 2.52c.
13176 2001-08-01 Akim Demaille <akim@epita.fr>
13180 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
13182 2001-08-01 Akim Demaille <akim@epita.fr>
13186 2001-08-01 Akim Demaille <akim@epita.fr>
13188 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
13191 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
13192 `END', as `Autom4te::General::END' will be triggered.
13193 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
13194 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
13195 system to run `mv', `rm', and `cmp'.
13197 2001-08-01 Akim Demaille <akim@epita.fr>
13199 * lib/Autom4te/General.pm (&unique): New.
13200 * bin/autoscan.in (&output): Use it to issue trace requests once.
13202 2001-08-01 Akim Demaille <akim@epita.fr>
13204 * lib/Autom4te/General.pm: New.
13205 * bin/autom4te.in (Autom4te::General): Use it.
13206 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
13207 (&find_configure_ac, &find_slave): Remove.
13208 * bin/autoscan.in: Likewise.
13209 * bin/autoupdate.in: Likewise.
13211 2001-08-01 Akim Demaille <akim@epita.fr>
13213 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
13214 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
13215 * bin: here, new directory.
13216 * lib/Autoconf: Rename as...
13217 * lib/Autom4te: this, to please case insensitive junkie OSes.
13219 2001-08-01 Akim Demaille <akim@epita.fr>
13221 * autom4te.in ($m4): Handle the --nesting-limit.
13222 * autoconf.in (M4): Remove.
13224 2001-08-01 Akim Demaille <akim@epita.fr>
13226 * autoconf.in ($AWK): Remove, no longer used.
13227 * test/tools.at: Use AT_CHECK_AUTOCONF.
13228 (AWK portability): Remove, for autoconf no longer uses AWK.
13229 (Syntax of the Perl scripts): New.
13230 * configure.ac: autoconf no longer needs an AWK with a good
13232 Use a static test on AC_PACKAGE_VERSION.
13233 * autom4te.in (&up_to_date_p): Output depends on the arguments.
13234 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
13235 * tests/atconfig.in (PERL): New.
13237 2001-08-01 Akim Demaille <akim@epita.fr>
13239 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
13240 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
13241 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
13242 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
13243 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
13244 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
13245 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
13246 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
13247 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
13248 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
13249 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
13250 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
13251 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
13252 * lib/autoconf/c.m4: here, new file.
13254 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
13255 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
13256 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
13257 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
13258 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
13259 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
13260 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
13261 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
13262 (AC_F77_FUNC): Move to...
13263 * lib/autoconf/fortran.m4: here, new file.
13265 2001-08-01 Akim Demaille <akim@epita.fr>
13267 * acfunctions.m4: Rename as...
13268 * lib/autoconf/functions.m4: this.
13269 * acgeneral.m4: Rename as...
13270 * lib/autoconf/general.m4: this.
13271 * acheaders.m4: Rename as...
13272 * lib/autoconf/headers.m4: this.
13273 * aclang.m4: Rename as...
13274 * lib/autoconf/lang.m4: this.
13275 * acoldnames.m4: Rename as...
13276 * lib/autoconf/oldnames.m4: this.
13277 * acspecific.m4: Rename as...
13278 * lib/autoconf/specific.m4: this.
13279 * actypes.m4: Rename as...
13280 * lib/autoconf/types.m4: this.
13281 * autoconf.m4: Rename as...
13282 * lib/autoconf/autoconf.m4: this.
13284 * m4sugar.m4: Rename as...
13285 * lib/m4sugar/m4sugar.m4: this.
13286 * m4sh.m4: Rename as...
13287 * lib/m4sugar/m4sh.m4: this.
13289 * tests/atgeneral.m4: Rename as...
13290 * lib/autotest/general.m4: this.
13292 * acfunctions: Rename as...
13293 * lib/autoscan/functions: this.
13294 * acheaders: Rename as...
13295 * lib/autoscan/headers: this.
13296 * acidentifiers: Rename as...
13297 * lib/autoscan/identifiers: this.
13298 * aclibraries: Rename as...
13299 * lib/autoscan/libraries: this.
13300 * acmakevars: Rename as...
13301 * lib/autoscan/makevars: this.
13302 * acprograms: Rename as...
13303 * lib/autoscan/programs: this.
13305 2001-08-01 Akim Demaille <akim@epita.fr>
13307 * doc/autoconf.texi: Moving/deleting open files is not portable.
13308 Portability issues for `.' (source), and more information about sed.
13310 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
13312 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
13313 which has a special meaning and is not a reference to libibmil.a.
13314 Reported by Matteo Frigo.
13316 2001-07-25 Pavel Roskin <proski@gnu.org>
13318 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
13321 2001-07-25 Akim Demaille <akim@epita.fr>
13323 * autoconf.in: Try to define the variables before using them.
13324 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
13325 instead of `$perllibdir'.
13326 * tests/atconfig.in ($autom4te_perllibdir): Export it.
13328 2001-07-25 Akim Demaille <akim@epita.fr>
13330 * autoconf.in (ac_LF_and_DOT): Remove, unused.
13332 2001-07-24 Akim Demaille <akim@epita.fr>
13334 Let autoconf use autom4te for traces.
13336 * autoconf.in ($task, task trace): Remove, merely pass --trace to
13338 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
13339 (Because I found no way for autom4te to accept `-').
13340 * autom4te.in (&Request::request): Beware of M4 builtins.
13341 (END): Don't try to remove the content of an empty dir.
13342 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
13343 (&handle_output): Set a default value to `$forbidden'.
13344 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
13345 ($autoconf): Pass --debug and --verbose.
13346 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
13349 2001-07-24 Akim Demaille <akim@epita.fr>
13351 Let autoconf use autom4te to create configure.
13353 * autoconf.in ($automate): New var.
13354 (task script): Use autom4te.
13355 * autom4te.in (File::Spec): Use it.
13357 (&parse_args): --warning is -W, not -w.
13358 Find the top level files.
13359 (&handle_m4): Pass the warnings flags.
13360 Don't report verbosely m4's failures, unless requested.
13361 (&handle_output): Don't complain for forbidden tokens in comments.
13362 Be sure to report all the forbidden tokens within a single line.
13363 (&trace_format_to_m4): Preserve `$_'.
13364 (&handle_traces): Sort the output macros.
13365 (&up_to_date_p): Find the files before trying to get its time stamp.
13367 2001-07-24 Akim Demaille <akim@epita.fr>
13369 * Makefile.am: Ship, build and install Autom4te.
13370 (SUBDIRS): Add lib.
13371 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
13372 * configure.in: Require Perl.
13373 * man/autom4te.in: New.
13375 2001-07-19 Paul Eggert <eggert@twinsun.com>
13377 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
13378 example, rather than (exit 1); exit (which isn't portable).
13380 2001-07-18 Akim Demaille <akim@epita.fr>
13384 2001-07-18 Akim Demaille <akim@epita.fr>
13386 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
13387 was run, while they are needed also when it is expanded.
13388 Reported by Nicolas Joly.
13390 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
13391 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
13392 AC_F77_DUMMY_MAIN being expanded.
13394 2001-07-18 Akim Demaille <akim@epita.fr>
13396 * configure.in: Bump to 2.51a.
13398 2001-07-17 Akim Demaille <akim@epita.fr>
13402 2001-07-17 Akim Demaille <akim@epita.fr>
13404 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
13405 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
13407 2001-07-17 Akim Demaille <akim@epita.fr>
13409 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
13410 used. Well, then use the prototypes when you can, and runtime as
13412 Reported by Artur Frysiak
13414 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
13415 (AC_FUNC_GETPGRP): Use it.
13416 First try to compile with 0-ary or 1-ary calls.
13418 2001-07-17 Akim Demaille <akim@epita.fr>
13420 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
13424 2001-07-17 Akim Demaille <akim@epita.fr>
13426 * Makefile.maint: Sync. with cppi 1.10.
13428 2001-07-17 Akim Demaille <akim@epita.fr>
13430 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
13431 AC_F77_DUMMY_MAIN has been run.
13432 From Pavel Roskin and Steven G. Johnson.
13434 2001-07-17 Akim Demaille <akim@epita.fr>
13436 * configure.in: Rename as...
13437 * configure.ac: this.
13439 2001-07-17 Akim Demaille <akim@epita.fr>
13441 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
13444 * Makefile.maint (release-archive-dir): Rename as...
13445 (release_archive_dir): this, so that it can be specialized in
13448 2001-07-14 Akim Demaille <akim@epita.fr>
13450 * configure.in: Bump to 2.50d.
13452 2001-07-14 Akim Demaille <akim@epita.fr>
13455 * Makefile.maint (alpha): Typo.
13457 2001-07-14 Akim Demaille <akim@epita.fr>
13459 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
13461 2001-07-14 Akim Demaille <akim@epita.fr>
13463 * config/config.guess, config/config.sub, config/texinfo.tex
13464 * doc/standards.texi, doc/make-stds.texi: Update.
13466 2001-07-14 Akim Demaille <akim@epita.fr>
13468 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
13470 2001-07-14 Akim Demaille <akim@epita.fr>
13472 * Makefile.maint (maintainer-check): Rename as...
13473 (maintainer-distcheck): this.
13474 (changelog-check, static-check): New.
13477 2001-07-14 Kevin Ryde <user42@zip.com.au>
13479 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
13480 for CXX is g++, not gcc.
13482 2001-07-14 Akim Demaille <akim@epita.fr>
13484 * doc/autoconf.texi (Files): New subsection.
13486 2001-07-14 Akim Demaille <akim@epita.fr>
13488 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
13490 (Generic Compiler Characteristics): this.
13491 (C++ Compiler): New subsection.
13493 2001-07-14 Akim Demaille <akim@epita.fr>
13495 * autoscan.in: Use IO::File.
13496 Adjust all the routines to use it.
13497 ($log): New file (autoscan.log).
13498 (output): Dump detailed logs into $log, and a shortened version to
13500 (&scan_makefile): Refine the regexp catching tokens in the code.
13501 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
13502 and the `configure.ac' checking feature.
13504 2001-07-12 Akim Demaille <akim@epita.fr>
13506 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
13507 Reported by Michael Elizabeth Chastain.
13509 * autoconf.in: Refuse such AWK.
13510 * configure.in: Likewise.
13511 * Makefile.am (acversion.m4): Do not use move-if-change this file
13513 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
13515 2001-07-10 Jens Petersen <petersen@redhat.com>
13517 * autoscan.in (&scan_makefile): Improve programs regexp to parse
13518 things like "g++", "file.c" and "some-conf" as tokens.
13519 (&scan_file): Match C++ files extensions.
13520 If the filename extension is C++ then ask for c++.
13522 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
13524 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
13525 AC_TRY_LINK_FUNC, to check whether defining a dummy
13526 main-like routine is needed for linking with F77 libs.
13528 2001-07-05 Pavel Roskin <proski@gnu.org>
13530 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
13532 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
13535 2001-07-05 Akim Demaille <akim@epita.fr>
13537 * Makefile.am (move_if_change): New. Use it instead of `mv'.
13538 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
13540 Reported by Nicolas Joly.
13542 2001-07-04 Akim Demaille <akim@epita.fr>
13544 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
13546 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
13547 warnings from compilers.
13548 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
13549 for all the compilers, not only GNU. Hence move from here...
13550 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
13552 2001-07-04 Akim Demaille <akim@epita.fr>
13554 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
13555 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
13558 2001-07-04 Akim Demaille <akim@epita.fr>
13560 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
13561 the ``strings.h'' change claimed below.
13563 2001-07-04 Akim Demaille <akim@epita.fr>
13565 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
13567 2001-07-04 Akim Demaille <akim@epita.fr>
13569 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
13570 strings.h if usable with string.h.
13571 Suggested by Paul Eggert.
13573 2001-07-04 Akim Demaille <akim@epita.fr>
13575 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
13576 From Jens Petersen.
13578 2001-07-03 Akim Demaille <akim@epita.fr>
13580 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
13583 2001-07-03 Akim Demaille <akim@epita.fr>
13585 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
13586 compiler, not the preprocessor.
13587 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
13588 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
13590 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
13591 earlier if there are.
13593 2001-07-03 Akim Demaille <akim@epita.fr>
13595 * autoscan.in ($initfile): Remove.
13596 (&find_file): Rename as...
13597 (&scan_file): this.
13598 Immediately scan the current file, instead of gathering them, and
13599 later having them handled by &scan_files.
13600 (&scan_files): Merely invoke Find::File.
13603 2001-07-02 Akim Demaille <akim@epita.fr>
13605 * autoscan.in: Formatting changes, matching the invocation order.
13606 (File::Find): Use it instead of Perl 4's `find.pl'.
13607 (&wanted): Rename as...
13608 (&find_file): this.
13610 2001-07-01 Pavel Roskin <proski@gnu.org>
13612 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
13613 break in the argument to AC_TRY_LINK_FUNC.
13614 (AC_F77_MAIN): Remove conftest* after using break in the
13615 argument to AC_TRY_LINK.
13617 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
13619 Add alternate 'main' routine detection for linking C/C++ with Fortran,
13620 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
13622 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
13623 dummy alternate main is required even if the user provides her own
13625 (AC_F77_MAIN): New macro to detect whether it is possible to
13626 provide an alternate 'main' function name, using the 'main' from
13627 the Fortran libraries.
13628 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
13629 cross-language link tests can be performed successfully.
13630 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
13631 after $LIBS, for consistency; this should be the general rule since
13632 the user may want to link to Fortran libraries that require $FLIBS.
13633 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
13635 2001-06-29 Pavel Roskin <proski@gnu.org>
13637 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
13638 at-stdout and at-stderr instead of removing the newline
13639 from the echo output, which is not guaranteed to work.
13641 2001-06-28 Jens Petersen <petersen@redhat.com>
13643 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
13644 confdefs.h when non-zero.
13646 2001-06-28 Akim Demaille <akim@epita.fr>
13648 * configure.in: Bump to 2.50c.
13650 2001-06-26 Akim Demaille <akim@epita.fr>
13654 2001-06-26 Akim Demaille <akim@epita.fr>
13658 2001-06-25 Pavel Roskin <proski@gnu.org>
13660 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
13661 argument, AUTOCONF-FLAGS.
13662 * tests/mktests.sh (update_exclude_list): Add
13663 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
13664 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
13665 AC_FUNC_WAIT3 with "-W no-obsolete".
13667 2001-06-25 Akim Demaille <akim@epita.fr>
13669 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
13671 2001-06-25 Akim Demaille <akim@epita.fr>
13673 * autoscan.in (%macro): Now maps from word to list of macros.
13674 (&init_tables): Die when a word which is already handled by
13675 explicit macros is mapped to the default macro.
13676 (&print_unique): Remove, inlined in...
13677 (&output_kind): here.
13678 (File::Basename): Use it.
13679 (&output): Sort the CONFIG_FILES.
13680 * acheaders: Normalize.
13681 * acfunctions: Likewise.
13683 2001-06-25 Akim Demaille <akim@epita.fr>
13685 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
13686 characteristics in the logs.
13687 Suggested by Mo DeJong.
13689 2001-06-24 Akim Demaille <akim@epita.fr>
13691 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
13692 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
13693 * doc/autoconf.texi (Autoconf 2.13): New section.
13695 2001-06-24 Akim Demaille <akim@epita.fr>
13697 * autoconf.in (Task traces): Separate the error messages from the
13698 traces to improve robustness.
13700 2001-06-23 Akim Demaille <akim@epita.fr>
13702 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
13703 three as failures are unlikely, and speed matters.
13705 2001-06-23 Akim Demaille <akim@epita.fr>
13707 * doc/autoconf.texi (Redefined M4 Macros): New.
13709 2001-06-23 Akim Demaille <akim@epita.fr>
13711 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
13712 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
13715 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
13717 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
13718 config.status targets to after the evaluation of the INIT-CMDS.
13719 Double quote config.status targets (used to be single quoted).
13721 2001-06-23 Akim Demaille <akim@epita.fr>
13723 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
13724 Check the content of the created file.
13725 Check the ./config.status command line invocation.
13727 2001-06-23 Akim Demaille <akim@epita.fr>
13729 * tests/foreign.at (Libtool): Reject prehistoric versions.
13731 2001-06-23 Akim Demaille <akim@epita.fr>
13733 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
13734 preexisting files matching a.*.
13736 2001-06-23 Akim Demaille <akim@epita.fr>
13738 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
13740 * doc/autoconf.texi (AC_ARG_VAR): Update.
13742 2001-06-21 Akim Demaille <akim@epita.fr>
13744 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
13745 precious variables have changed.
13746 * tests/torture.at (AC_ARG_VAR): Adjust.
13748 2001-06-21 Akim Demaille <akim@epita.fr>
13750 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
13751 but some sed choke on multiple `;', and other tools (e.g.,
13752 Automake), include the separator themselves.
13754 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
13756 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
13758 * doc/autoconf.texi (Functions Portability): Rename as...
13759 (Function Portability): this.
13760 (Function Portability): Document potential problems with unlink().
13762 2001-06-19 Paul Eggert <eggert@twinsun.com>
13764 * NEWS, doc/autoconf.texi: Document quadrigraphs.
13766 2001-06-18 Akim Demaille <akim@epita.fr>
13768 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
13770 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
13772 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
13773 (_AC_FUNC_VFORK): this.
13774 Remove AC_DEFINEs and don't guess cross-compilation values.
13775 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
13776 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
13777 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
13778 vfork doesn't work.
13779 Guess values if cross-compiling, but warn.
13780 * acfunctions: Add AC_FUNC_FORK.
13781 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
13782 and vfork appropriately.
13784 2001-06-18 Akim Demaille <akim@epita.fr>
13786 * doc/autoconf.texi (Functions Portability): New section.
13788 2001-06-18 Akim Demaille <akim@epita.fr>
13790 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
13792 Suggested by Andreas Schwab.
13794 2001-06-18 Akim Demaille <akim@epita.fr>
13796 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
13797 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
13798 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
13799 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
13800 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
13801 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
13802 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
13805 2001-06-18 Akim Demaille <akim@epita.fr>
13807 * doc/autoconf.texi (ms): New index.
13808 (Macro Index): Rename as...
13809 (Autoconf Macro Index): this.
13810 (M4 Macro Index): New appendix.
13811 (Programming in M4): New chapter.
13812 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
13813 (Quoting): Rename as...
13814 (M$ Quotation): this.
13815 Be part of `Programming in M4).
13817 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
13819 * tests/torture.at (AC_ARG_VAR): Set variables and export them
13820 in separate statements for compatibility with Tru64 v5.1.
13822 2001-06-17 Akim Demaille <akim@epita.fr>
13824 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
13825 current values of the precious variables, not the previously
13827 Pass precious variables which are set to config.status.
13828 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
13829 * tests/torture.at (AC_ARG_VAR): New.
13831 2001-06-15 Paul Eggert <eggert@twinsun.com>
13833 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
13834 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
13835 and explain why and how to replace them.
13836 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
13837 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
13839 2001-06-15 Akim Demaille <akim@epita.fr>
13841 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
13842 Reported by Bruno Haible.
13844 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
13845 (_AC_ARG_VAR_PRECIOUS): to here.
13847 2001-06-15 Pavel Roskin <proski@gnu.org>
13849 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
13850 an unused pointer use cast to this type and `if' statement to
13851 avoid warnings from the compiler.
13852 (AC_HEADER_TIME): Likewise.
13853 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
13854 in `if' statement to avoid warnings from the compiler. Declare
13855 ac_aggr static to avoid the need to initialize it.
13857 2001-06-14 Akim Demaille <akim@epita.fr>
13859 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
13862 2001-06-13 Akim Demaille <akim@epita.fr>
13864 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
13865 Suggested by Alexander Mai.
13867 2001-06-13 Akim Demaille <akim@epita.fr>
13869 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
13870 sys/types.h and sys/stat.h, and check for them.
13872 2001-06-13 Akim Demaille <akim@epita.fr>
13874 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
13877 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
13879 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
13880 succeeds and only try adding libdnet upon a failure.
13882 2001-06-12 Akim Demaille <akim@epita.fr>
13884 * autoscan.in (&output_kind): Output the comment only if it exists.
13885 (%kind_comment): Add entry for `programs'.
13886 (&output_programs): Use &output_kind.
13887 (&output_functions, &output_identifiers, &output_headers)
13888 (&output_programs): Inline, and remove.
13890 2001-06-12 Akim Demaille <akim@epita.fr>
13892 * autoscan.in (%kind_comment): New.
13893 (output_kind): New.
13894 (output_functions, output_identifiers, output_headers): Use it.
13896 2001-06-12 Akim Demaille <akim@epita.fr>
13898 * autoscan.in (&print_unique): Take `$kind' and `$word' as
13899 arguments, to factor indirections into `%macro' and `%used'.
13900 (%generic_macro): Fix a typo.
13902 2001-06-12 Akim Demaille <akim@epita.fr>
13904 * aclibraries: New.
13905 * autoscan.in (@kinds): Add `libraries'.
13906 Use `@kinds' instead of hard coded lists.
13907 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
13908 Remove, replaced by...
13911 2001-06-12 Akim Demaille <akim@epita.fr>
13913 * autoscan.in (%functions_macros %headers_macros)
13914 (%identifiers_macros %programs_macros %makevars_macros): Remove,
13918 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
13920 * aclang.m4 (AC_NO_EXECUTABLES): Override
13921 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
13923 2001-06-11 Akim Demaille <akim@epita.fr>
13925 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
13927 Reported by Andreas Schwab.
13929 2001-06-11 Akim Demaille <akim@epita.fr>
13931 * Makefile.am, Makefile.maint: Typos.
13933 2001-06-09 Akim Demaille <akim@epita.fr>
13935 * doc/autoconf.texi (Here-Documents): New section, gathering
13936 documentation about here-documents.
13937 Use `href', not `uref', and other changes.
13939 2001-06-09 Akim Demaille <akim@epita.fr>
13941 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
13944 2001-06-09 Akim Demaille <akim@epita.fr>
13946 * doc/autoconf.texi (Limitations of Builtins): Complete the
13947 description of the here-docs penalties with Alexandre Oliva's
13950 2001-06-01 Paul Eggert <eggert@twinsun.com>
13952 * doc/autoconf.texi: Talk about here documents and speedups.
13953 Do not use "echo" on arbitrary strings.
13954 Spell "here-documents" consistently with the standard.
13956 2001-06-09 Akim Demaille <akim@epita.fr>
13958 * doc/autoconf.texi (Concept Index): Introduce it.
13959 Regenerate the menus.
13961 2001-06-09 Akim Demaille <akim@epita.fr>
13963 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
13964 * config/prev-version.txt: New.
13965 * config/move-if-change: New, for GNU libc.
13967 2001-06-06 Pavel Roskin <proski@gnu.org>
13969 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
13971 2001-06-06 Akim Demaille <akim@epita.fr>
13973 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
13974 properly when $1 is not a literal.
13975 Fixes PR Autoconf/187, reported by Bram Moolenaar.
13977 2001-06-06 Akim Demaille <akim@epita.fr>
13979 Invoking AC_COPYRIGHT before AC_INIT fails.
13981 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
13982 * acgeneral.m4 (_m4_divert(VERSION_FSF))
13983 (_m4_divert(VERSION_USER)): New.
13984 (AC_COPYRIGHT): $2 is the diversion to use.
13985 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
13986 (AC_INIT): Remove dead comments as now it's commutative.
13988 2001-06-06 Akim Demaille <akim@epita.fr>
13990 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
13993 2001-06-05 Akim Demaille <akim@epita.fr>
13995 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
13997 `*dir' variables cannot be NONE.
13998 Reported by Mark Kettenis.
14000 2001-06-05 Paul Eggert <eggert@twinsun.com>
14002 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
14004 2001-06-04 Akim Demaille <akim@epita.fr>
14006 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
14007 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
14008 (AC_TR_SH): Move as...
14009 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
14010 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
14012 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
14013 (_AS_TR_SH_PREPARE): New.
14014 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
14015 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
14017 2001-06-02 Akim Demaille <akim@epita.fr>
14019 * Makefile.am (.m4.m4f): Pass the options first.
14020 Fixes PR autoconf/182.
14022 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
14024 GNU getopt, when POSIXLY_CORRECT does not permute options and
14025 arguments. So pass the options first.
14026 Fixes PR autoconf/184.
14028 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
14029 (run_m4): Remove files.
14031 Update remainder of script to use them.
14032 (for warning in): Do not use a literal comma as it will not be
14035 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
14037 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
14038 Fortran compilers to check.
14039 (_AC_PROG_F77_V): Add '-###' as a possible option to print
14040 information on library and object files.
14041 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
14044 2001-06-02 Akim Demaille <akim@epita.fr>
14046 * autom4te.in (Request::@request): Declare with `vars', not `my',
14047 as it prevents updates via `do FILENAME'.
14049 2001-06-02 Akim Demaille <akim@epita.fr>
14051 * configure.in (standards_texi): Remove, dead code.
14053 2001-06-02 Akim Demaille <akim@epita.fr>
14055 * autom4te.in: New.
14057 2001-06-02 Pavel Roskin <proski@gnu.org>
14059 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
14060 for signals other than 0 - exit with code 1.
14061 * m4sh.m4 (AS_TMPDIR): Likewise.
14062 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
14063 * autoheader.in: Likewise.
14064 * autoreconf.in: Likewise.
14065 * tests/torture.at (Signal handling): New test for the above.
14067 2001-06-01 Akim Demaille <akim@epita.fr>
14069 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
14072 2001-05-31 Akim Demaille <akim@epita.fr>
14074 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
14075 Add copyright and comments.
14076 * acheaders: Add stdint.h.
14077 Suggested by Paul Eggert.
14079 2001-05-31 Akim Demaille <akim@epita.fr>
14081 * atgeneral.m4 (AT_INIT): Use $SHELL.
14082 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
14084 2001-05-31 Akim Demaille <akim@epita.fr>
14086 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14088 From Paul Eggert and Lars Hecking.
14090 2001-05-31 Akim Demaille <akim@epita.fr>
14092 * tests/base.at: Adjust line numbers in error messages.
14094 2001-05-31 Akim Demaille <akim@epita.fr>
14096 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
14097 to emit the bangshe line.
14098 Reported by David Carter.
14100 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
14102 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
14103 Fortran (95) compilers to check.
14105 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
14107 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
14110 2001-05-23 Pavel Roskin <proski@gnu.org>
14112 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
14113 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
14114 (AC_PROG_CXXCPP): Likewise.
14116 2001-05-22 Akim Demaille <akim@epita.fr>
14118 * config: New directory.
14119 * configure.in: AC_CONFIG_AUX_DIR it.
14120 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
14122 2001-05-22 Akim Demaille <akim@epita.fr>
14124 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
14125 * autoupdate.in: Specify the Emacs mode.
14126 * acversion.m4.in: Rename as...
14127 * acversion.m4: this.
14128 * tests/Makefile.am (CLEANFILES): More garbage.
14130 2001-05-22 Akim Demaille <akim@epita.fr>
14132 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
14134 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
14137 2001-05-21 Akim Demaille <akim@epita.fr>
14139 * configure.in: Bump to 2.50a.
14144 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
14145 Software Foundation, Inc.
14147 Copying and distribution of this file, with or without
14148 modification, are permitted provided the copyright notice and this
14149 notice are preserved.