1 2007-10-20 Eric Blake <ebb9@byu.net>
3 Fix testsuite --list subset.
4 * lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
5 back to spaces, before listing subset of tests.
6 Reported by Ralf Wildenhues.
8 2007-10-19 Eric Blake <ebb9@byu.net>
10 s/parenthesis/parentheses/ where appropriate.
11 * doc/autoconf.texi: Fix typos.
12 * lib/m4sugar/m4sugar.m4: Likewise.
13 Reported by Ralf Wildenhues.
15 Document m4_expand limitation.
16 * lib/m4sugar/m4sugar.m4 (m4_expand): Mention problem with
18 * doc/autoconf.texi (Pretty Help Strings, Evaluation Macros)
19 (Writing Testsuites): Mention limitations inherited from
22 Improve AT_BANNER handling.
23 * lib/autotest/general.m4 (BANNERS): New named diversion.
24 (TESTS_END): Diversion no longer used.
25 (AT_INIT) <at_func_banner, BANNERS>: Factor all banners into a
26 shell function, which prints only as needed, using an associative
27 array of banner text from a special diversion.
28 <PARSE_ARGS_END>: No longer need awk to find banners.
29 <TESTS>: Banners are no longer processed by main driver loop, so
30 we no longer need case statement.
31 (AT_BANNER): Rewrite to populate new diversion.
32 (AT_SETUP): Each test invokes its own banner. No output is needed
33 to the TESTS diversion.
34 * doc/autoconf.texi (Writing Testsuites): Document slight
36 * tests/autotest.at (AT_BANNERS): Enhance test.
37 * NEWS: Document AT_BANNER.
39 Document and test AT_BANNER.
40 * doc/autoconf.texi (Writing Testsuites): Document AT_BANNER.
41 * tests/autotest.at (AT_CHECK_EGREP): Share between tests.
42 (AT_CHECK_BANNERS): New test.
45 * doc/autoconf.texi (Text processing Macros) <m4_strip>
46 <m4_text_wrap>: Clarify and fix typos.
48 2007-10-18 Eric Blake <ebb9@byu.net>
50 Ignore `make dist' changelogs in testsuite.log.
51 * lib/autotest/general.m4 (AT_INIT) <ChangeLogs>: Prune
52 directories matching AT_PACKAGE_TARNAME-*.
54 Fix AT_TESTED, AT_KEYWORDS.
55 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Warn if separator
56 occurs in string, as duplicates may be added.
57 (_m4_append_uniq): New helper macro.
58 (m4_append_uniq_w): New macro.
59 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Fix
60 duplication bug by using new macro.
61 (AT_INIT) <at_tested>: Restore newline separators. Invoke tested
62 programs with stdin redirected, so programs that don't
63 understand --version won't try to behave interactively.
64 * tests/autotest.at (Tested programs): Catch this bug.
65 * tests/m4sugar.at (m4@&t@_append): Test new macro.
66 * tests/local.at (AT_TESTED): Add m4, perl.
67 * doc/autoconf.texi (Text processing Macros): Document
68 m4_append_uniq_w, and update text on m4_append.
69 * NEWS: Document the addition.
71 2007-10-17 Eric Blake <ebb9@byu.net>
74 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Convert
76 (AT_INIT) <at_func_create_debugging_script>: ...to shell
78 (AT_INIT): Defer function declarations until after --help,
79 --version. Format functions consistently, trying to fit in 80
81 (TEST_FUNCTIONS): Based on recent changes, rename...
82 (TEST_GROUPS): ...to this.
85 * m4/m4.m4 (AC_PROG_GNU_M4): Also check for frozen file support.
86 * configure: Regenerate.
87 Reported by Bob Friesenhahn.
89 Test recent additions.
90 * tests/m4sugar.at (m4@&t@_map, m4@&t@_combine)
91 (m4@&t_max and m4@&t_min): New tests.
92 * doc/autoconf.texi (Evaluation Macros) <m4_apply>: Enhance
95 2007-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
97 * TODO: multiline args in config files and headers work now.
99 Autotest: do not use shell functions for individual tests.
100 * lib/autotest/general.m4 (AT_INIT) <at_func_test>: Merely
101 extract the source test source, do not invoke it.
102 (AT_SETUP, AT_CLEANUP): Source test code outside shell function.
103 * tests/autotest.at (Fallacy): Actually let the inner suite fail,
104 expect exit status of 1.
105 * tests/autotest.at (Skip): New test, for bogus zsh exit status.
107 * lib/autotest/general.m4 (at_func_test): Fix test extraction
110 2007-10-17 Eric Blake <ebb9@byu.net>
112 Fix m4_combine for empty suffix list.
113 * lib/m4sugar/m4sugar.m4 (m4_combine): Check for suffix list.
114 * doc/autoconf.texi (Text processing Macros): Document this.
116 Add m4_combine, based on Libtool's lt_combine.
117 * lib/m4sugar/m4sugar.m4 (m4_combine): New macro.
118 * doc/autoconf.texi (Text processing Macros): Document it.
121 2007-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
123 Fix `configure --help=recursive' in unconfigured/read-only trees.
124 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Avoid errors when `.'
125 is not writable, use 'cp -p' in this case, in the hope that it
126 will not actually be needed. Still try removing files, in case
127 of other write errors.
128 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): For ac_confdir,
129 use $as_myself, not $0.
130 (_AC_INIT_HELP): For --help=recursive, if the subdir does not
131 exist, try again in the the source tree. This change assumes
132 that the subpackage configure script is capable of running
133 --help=recursive in the source tree.
134 * tests/torture.at (Configuring subdirectories, Deep Package):
135 Adjust tests to expose both issues, also try invocation as
136 `sh configure ...' and plain `configure ...' with PATH adjusted.
137 * NEWS, THANKS: Update.
138 Report by Hans Ulrich Niedermann.
140 2007-10-16 Paul Eggert <eggert@cs.ucla.edu>
142 Check for 64-bit int errors in HP-UX 10.20 preprocessor.
143 Problem reported by H.Merijn Brand in
144 <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
145 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
146 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
147 Check that preprocessor handles 64-bit ints, too.
149 2007-10-16 Eric Blake <ebb9@byu.net>
151 m4_map is a looping construct.
152 * lib/m4sugar/m4sugar.m4 (m4_map, _m4_map, m4_map_sep): Move.
154 Fix m4_map, and add some more utility macros.
155 * lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
156 (m4_echo, m4_make_list): New documented macros.
157 (_m4_quote, _m4_shift2): New helper macros.
158 (m4_map): Change semantics to allow calling macro without
160 (m4_map_sep): Likewise. Also change semantics to quote separator,
161 to match m4_join and m4_append.
162 (m4_version_unletter): Fix use of m4_map.
163 * doc/autoconf.texi (Evaluation Macros): Document m4_apply,
164 m4_count, m4_dquote_elt, m4_echo, m4_make_list.
165 (Text processing Macros): Mention m4_dquote as a faster
166 alternative to joining with commas.
167 (Looping constructs): Document m4_map, m4_map_sep.
168 * NEWS: Mention new macros.
170 A few more m4sugar improvements, to benefit libtool.
171 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts, _m4_shiftn): Reduce size
172 of expansion by avoiding extra uses of $@.
173 (m4_shiftn): Avoid extra dnl, and forbid shifting by 0.
174 (_m4_cdr): New helper macro.
175 (_m4_map, m4_map_sep): Use it to reduce size of expansion.
176 (_m4_shift3): New helper macro.
177 (_m4_foreach): Swap argument order, and use new macro to reduce
179 * doc/autoconf.texi (Looping constructs) <m4_shiftn>: Mention that
180 count must be positive.
182 * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Fix typo.
183 Reported by Ralf Wildenhues.
185 2007-10-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
187 * doc/autoconf.texi (Portable Shell): Improve description of zsh
188 4.x function subshell bug with exit and trap.
190 2007-10-15 Eric Blake <ebb9@byu.net>
192 Enhance AS_HELP_STRING.
193 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't expand arguments,
194 and reduce number of expansions.
195 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Rework to use m4_expand,
196 and to take indent and wrap column numbers.
197 * tests/m4sh.at (AS@&t@_HELP_STRING): Update the test.
198 * doc/autoconf.texi (Pretty Help Strings): Document details about
200 (Text processing Macros): Minor tweaks.
201 * NEWS: Document this change.
203 Fix 2007-10-03 regression with AT_SETUP([a, b]).
204 * lib/m4sugar/m4sugar.m4 (m4_expand): New macro.
205 (m4_text_box): Use it.
206 * lib/autotest/general.m4 (AT_SETUP): Use it.
207 * lib/m4sugar/m4sh.m4 (_AS_RUN): Use it.
208 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Test this.
209 * NEWS: Revert caveat about semantics change on comma.
210 * doc/autoconf.texi (Evaluation Macros): Document m4_expand.
212 2007-10-13 Eric Blake <ebb9@byu.net>
214 Change m4_join to match libtool's ltsugar semantics.
215 * lib/m4sugar/m4sugar.m4 (m4_join): Just define this, not defun.
216 Ignore empty arguments, using...
217 (_m4_join): ...this new helper.
218 * tests/m4sugar.at (m4@&t@_join): New test.
219 * doc/autoconf.texi (Text processing Macros): Document new
220 semantics of m4_join.
222 Make AC_PREREQ faster and more robust.
223 * lib/m4sugar/m4sugar.m4 (m4_ignore, m4_unquote): New macros.
224 (m4_version_prereq): Inline constant expansions.
225 (m4_list_cmp): Reduce number of expansions, by avoiding m4_case.
226 Rewrite in terms of [] list, not () list.
227 (_m4_list_cmp, _m4_version_unletter): New helper macros.
228 (m4_version_unletter): Write wrapper around new implementation to
229 preserve old semantics.
230 (m4_version_compare): Pass correct type of list, and avoid
231 overhead of flattening expressions too early.
232 (m4_do): Move to be near other quoting macros.
233 (m4_max, m4_min): Always result in decimal output.
234 * doc/autoconf.texi (Looping constructs): Add m4_car, m4_cdr.
236 (Evaluation Macros): ...here. Add m4_ignore, m4_unquote.
237 (Text processing Macros): Move m4_version_compare...
238 (Number processing Macros): ...to this new node; document m4_cmp,
239 m4_list_cmp, m4_sign, m4_max, m4_min.
240 * tests/m4sugar.at (m4@&t@_version_compare): Enhance test, to pick
241 up on bugs fixed by this patch.
242 * NEWS: Document new macros.
244 2007-10-12 Eric Blake <ebb9@byu.net>
246 * doc/autoconf.texi (Text processing Macros): Fix bad merge.
247 (Reporting Messages): Fix underfull hbox.
249 Some more m4sugar documentation.
250 * lib/m4sugar/m4sugar.m4: Clean up macro order.
251 * doc/autoconf.texi (Programming in M4): Lighten the warning on
252 using m4sugar; it is stabilizing and useful.
253 (Redefined M4 Macros): Touch up wording on M4 builtins; sort. Add
254 m4_divert, m4_undivert, __file__, __line__, __oline__.
255 (Diagnostics): New node, documenting m4_assert, m4_errprintn,
256 m4_fatal, m4_location, m4_warn.
257 (Diversion support): New node, documenting m4_divert_push,
258 m4_divert_pop, m4_divert_text, m4_divert_once.
259 (Text processing Macros): Sort. Add m4_flatten, m4_join,
260 m4_newline, m4_strip, m4_text_box, m4_text_wrap.
261 (Reporting Messages): Mark AC_DIAGNOSE, AC_WARNING, and AC_FATAL
263 (Printing Messages): Change cross-reference.
265 Document interaction of recent m4_append change with Libtool HEAD.
266 * lib/m4sugar/m4sugar.m4 (m4_append): Document semantics change.
267 (m4_append_uniq): Add new parameters, based on lt_append_uniq.
268 * tests/m4sugar.at (m4@&t@_append): New test.
269 * NEWS: Document semantics change.
270 * doc/autoconf.texi (Text processing Macros): Likewise.
272 s/AC_VERSION/AC_AUTOCONF_VERSION/.
273 * doc/autoconf.texi (Versioning): Change the name.
275 * lib/autoconf/general.m4 (AC_AUTOCONF_VERSION): Likewise.
276 * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Likewise.
277 Suggested by Ralf Wildenhues.
280 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
281 (_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
283 * doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
284 (Programming in M4sh, Macro Names): Beef up description of
285 namespaces reserved for autoconf.
286 * configure: Regenerate.
288 2007-10-12 Eric Blake <ebb9@byu.net>
289 and Paolo Bonzini <bonzini@gnu.org>
291 Speed up execution of subset of testsuite.
292 * lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
293 (AT_INIT) <at_func_test>: New shell function.
294 (AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
295 (AT_INIT) <at_test_source> New variable, names file that holds
296 current test function definition.
297 (AT_SETUP): Start the shell function at_func_test_#, into the
298 TEST_FUNCTIONS diversion.
299 (AT_CLEANUP): End the shell function. Simplify the TESTS
300 diversion to invoke the function.
302 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
304 * .gitignore: Ignore tags and TAGS files.
306 2007-10-11 Eric Blake <ebb9@byu.net>
308 Config header generation followup.
309 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
310 which won't work with the preprocessor nor with the awk
312 * tests/torture.at (Define a newline): Test raw newline detection,
314 * doc/autoconf.texi (Defining Symbols): Document recent change to
315 allow backslash-newline.
318 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
320 * lib/autotest/general.m4: Put function braces in separate line.
322 2007-10-10 Eric Blake <ebb9@byu.net>
324 Avoid some overhead from m4_defn and m4_popdef.
325 * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
326 pass on first argument, since we are documented that way.
327 (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
328 check where it is safe to do so.
329 (m4_append): Likewise, and quote the separator.
330 (m4_text_box): Likewise, and avoid regex, also be robust to
331 expansion and quadrigraphs.
333 Another AC_DEFINE speedup.
334 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
336 (_AC_DEFINE_Q): ...here, and only do it once.
337 * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
338 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
339 introduced 2007-10-05.
342 * lib/autoconf/general.m4: Use consistent indentation.
343 * configure: Regenerate.
345 * NEWS: Announce recent round of speed optimizations.
347 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
349 * NEWS: Announce shell function usage in Autotest.
351 2007-10-10 Eric Blake <ebb9@byu.net>
352 and Paul Eggert <eggert@cs.ucla.edu>
354 Reduce number of forks at startup.
355 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
357 * configure: Regenerate.
359 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
360 and Paul Eggert <eggert@cs.ucla.edu>
362 Use awk for config header generation.
363 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
364 (_AC_OUTPUT_HEADERS_PREPARE): New macro. Rewrite of the config
365 header machinery for use with awk and placement outside the main
366 config.status instantiation loop. Retain multi-line defines
367 through backslash-newline combinations, do not split the script
369 (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
370 (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
372 (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
375 * tests/torture.at (#define header templates): Extend test by
376 several more cases: white space before and after `#', macros
377 with parameters in config.hin and as defines, multi-line macro
379 (Torturing config.status): Use a define value twice the length
380 in order to exercise the awk literal string limit.
381 (Substitute and define special characters): Also try special
382 delimiter, to exercise the special-case code.
383 Suggestion by Eric Lemings.
385 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
387 * tests/local.at (AT_COPYRIGHT): Bump copyright years.
389 2007-10-09 Eric Blake <ebb9@byu.net>
391 Improve header of bin/autoconf.
392 * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
393 * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
395 * bin/autoconf.as: Put copyright up front in generated file.
397 * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
399 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
401 * doc/install.texi (Basic Installation): Document `uninstall'.
402 * INSTALL: Regenerate.
403 Suggestion by Roberto Bagnara.
405 2007-10-08 Paul Eggert <eggert@cs.ucla.edu>
407 * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
409 Adjust doc. to match latest gnulib.
410 * build-aux/texinfo.tex: Sync from gnulib.
411 * doc/standards.texi: Likewise.
412 * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
413 Documentation License" and remove the subsection. This simplifies
414 the manual a bit and is more like what other GNU projects do
417 2007-10-08 Eric Blake <ebb9@byu.net>
420 * configure: Regenerate.
422 Fix regression in m4_text_wrap from 2007-10-05.
423 * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
425 (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
427 * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
428 * tests/autotest.at (Long test title, Longer test title): Test
429 this fix, beyond what AS_HELP_STRING already tests.
431 Avoid m4 warnings on bad m4_format usage.
432 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
434 * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
435 enough arguments are provided.
437 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
439 * doc/autoconf.texi (Shell portability): Document shell function
442 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
444 * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
445 at_func_check_skip, at_func_check_status, at_func_filter_trace,
446 at_func_log_failure shell functions. Use test -s to avoid
447 useless diff invocations.
448 (at_func_check_newline): Renamed from at_check_newline.
449 (AT_SETUP): Define AT_captured_files to empty.
450 (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
451 (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir. Use all
454 2007-10-05 Paul Eggert <eggert@cs.ucla.edu>
456 Don't assume "." is writeable, for commands like "autoconf --version".
457 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
458 different heuristic instead, one that doesn't rely on creating
461 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
464 2007-10-05 Jim Meyering <meyering@redhat.com>
466 Avoid makeinfo warnings.
467 * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
468 (Looping constructs): Add ` ' after @defmac'd name, m4_do.
470 2007-10-05 Eric Blake <ebb9@byu.net>
472 Resolve Python issue 1676135 regarding configure directory args.
473 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
474 slashes from directory arguments.
475 * tests/base.at (configure directories): New test.
476 * doc/autoconf.texi (Installation Directory Variables): Document
480 Reported by Björn Lindqvist.
482 Provide better short-circuiting operation.
483 * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
484 (m4_text_wrap): Use it. Also avoid useless m4_for.
485 * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
487 (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
488 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
490 * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
491 documentation. Sort m4_mkstemp, m4_undefine. Move m4_ifndef...
492 (Conditional constructs): ...here, to new section. Also document
493 m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
494 m4_bpatsubsts, and m4_default.
495 (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
498 2007-10-04 Eric Blake <ebb9@byu.net>
500 Fix recent testsuite failures.
501 * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
502 that must not be re-expanded after AS_ESCAPE.
503 * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
504 checking if it is an identifier.
507 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
508 leading whitespace, as it caused space-tab in testsuite.
509 (AT_INIT): Avoid trailing newlines in testsuite.
511 One more round of m4_foreach_w speedups.
512 * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
514 (_m4_split): Avoid useless expansions inside definition. Move
515 argument defaulting...
516 (m4_split): ...here. Change alternate quote to something less
517 likely to appear in $1. Also, special case space as regexp...
518 (m4_foreach_w): ...to avoid regexp on single-term list.
519 (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
520 useless expansions inside definition.
521 * tests/m4sugar.at (m4@&t@_split): Add tests.
523 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
525 * general.m4 (AT_INIT): Add at_check_newline function.
526 (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
527 (_AT_CHECK): Don't use at_trace_this.
529 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
532 * lib/autotest/general.m4 (AT_LINE): Fix regex.
534 2007-10-04 Eric Blake <ebb9@byu.net>
536 Speed up building testsuites.
537 * lib/autotest/general.m4 (AT_LINE): Only use regex when file
538 changed since last time. Use simpler regex.
540 2007-10-03 Eric Blake <ebb9@byu.net>
542 Optimize checking for identifiers.
543 * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
544 macros, more efficient than regex on m4_re_word.
545 * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
546 Rewrite in terms of new macro. As a side-effect, AC_DEFINE can
548 * configure: Regenerate.
550 Remove some XFAILs, and make AT_SETUP output line up.
551 * lib/autotest/general.m4 (AT_SETUP): Only expand description
552 once; thereafter, use its expansion, properly quoted.
553 * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
554 expansion with arguments, and check for aligned output.
555 (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
556 Add a test for macros with parameters.
557 * NEWS: Document the semantics change.
558 * tests/base.at: Fix test titles containing commas.
559 * tests/compile.at: Likewise.
560 * tests/tools.at: Likewise.
561 * tests/torture.at: Likewise.
563 Another round of regex avoidance.
564 * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
565 (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
566 (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
567 (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
568 character ranges useful in m4_translit.
569 (m4_toupper, m4_tolower): Optimize the constant portion of
571 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
572 creates $, and reject [] thanks to AS_TR_SH rewrite.
573 (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
574 (AS_ESCAPE): Factor...
575 (_AS_ESCAPE): ...into new macro, with second argument required.
576 Avoid regex in common case.
577 (_AS_QUOTE): Use new macro.
580 * lib/autoconf/types.m4: Avoid space-tab.
581 * lib/m4sugar/m4sh.m4: Use tab consistently.
583 2007-10-03 Paul Eggert <eggert@cs.ucla.edu>
585 * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
586 (m4_shiftn): Remove no-longer-needed optimization. Perhaps we
587 should remove m4_shiftn entirely?
588 (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
589 Prefer m4_shift2 and m4_shift3 to m4_shiftn.
590 * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
591 * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
592 * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
594 2007-10-03 Eric Blake <ebb9@byu.net>
597 * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
599 2007-10-02 Eric Blake <ebb9@byu.net>
601 Optimize appending text.
602 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
606 * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
607 lot of hot spots; optimize it for 2 and 3 shifts.
609 Optimize AC_PREREQ and other m4sugar numerics.
610 * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
611 (m4_cmp): Compare arbitrary expressions, without overflow.
612 (m4_version_unletter): Also recognize capital letters.
613 (m4_version_compare): Avoid regex when splitting version number
616 2007-10-01 Eric Blake <ebb9@byu.net>
618 Once again, reject IRIX m4.
619 * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
620 implementations that ignore --trace.
621 * configure: Regenerate.
622 Reported by Ralf Wildenhues.
624 Fix regression in AC_DEFINE([macro(with_arg)]).
625 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
626 quotes with a careless m4_substr.
628 2007-09-30 Eric Blake <ebb9@byu.net>
630 Allow nameless iteration.
631 * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
633 * tests/m4sugar.at (myvar): Test this.
635 2007-09-29 Eric Blake <ebb9@byu.net>
637 Speed optimization: avoid m4 regex when other algorithms work.
638 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
639 (_AS_QUOTE_IFELSE): Likewise.
640 * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
641 (m4_bpatsubsts): Split...
642 (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
644 (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
645 (m4_qlen): Optimize on short strings, to avoid regex.
646 (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
647 * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
648 (AC_DEFINE_TRACE): Likewise.
650 2007-09-28 Eric Blake <ebb9@byu.net>
652 Oops - my earlier 'optimization' caused a regression.
653 * tests/local.at (AT_CHECK_M4): Fix typo.
655 2007-09-27 Eric Blake <ebb9@byu.net>
656 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
658 Catch even more common AC_CACHE_VAL mistakes.
659 * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
660 lacks '_cv_', or if AC_SUBST appears in body.
661 * tests/base.at (AC_CACHE_CHECK): Test this change.
663 2007-09-27 Stepan Kasal <kasal@ucw.cz>
664 and Eric Blake <ebb9@byu.net>
666 Autotest no longer caters to Ultrix redirection limitation.
667 * doc/autoconf.texi (Writing testsuite.at): Remove the
668 limitation that the first parameter of AT_CHECK cannot
670 (File Descriptors): Mention that Ultrix limitation is no longer a
671 show-stopper in modern code.
672 * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
673 parameter is `stderr' or `experr'. Optimize if it was `ignore'.
674 * lib/autotest/general.m4 (AT_CHECK): Update comment.
676 2007-09-27 Eric Blake <ebb9@byu.net>
678 Squelch changeword in m4sugar.
679 * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
682 Configure whitespace touchups.
683 * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
684 installation directories, and avoid TAB, in configure --help
686 * configure.ac: Avoid extra trailing newline.
687 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
688 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
689 config.status --help output.
690 * configure: Regenerate.
692 Fix underquotation in AS_HELP_STRING.
693 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
695 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
696 first-prefix argument.
697 * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
698 * NEWS: Document AS_HELP_STRING fix.
700 Autotest formatting touchups.
701 * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
703 (PATH): Simplify computation of new PATH.
705 2007-09-26 Eric Blake <ebb9@byu.net>
707 Fix testsuite breakage in last patch.
708 * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
710 * tests/torture.at (@%:@define header templates): Rename, so that
711 output lines up correctly.
713 More font-lock happiness.
714 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
717 2007-09-25 Eric Blake <ebb9@byu.net>
720 * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
721 * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
723 Improve documentation of M4 parameter expansion.
724 * doc/autoconf.texi (Quoting and Parameters): New section.
725 (Quotation and Nested Macros): Improve wording.
727 Improve C99 detection.
728 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
729 avoid deprecation warning with icc.
731 Reported by Ted Bullock.
733 2007-09-24 Jim Meyering <jim@meyering.net>
735 Whenever possible, use the vertical bar as sed delimiter.
736 * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
738 * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
739 [ac_dir_suffix]: Use "|", not "," as sed delimiter.
740 * tests/mktests.sh (as_me): Likewise.
741 * lib/freeze.mk (check-forbidden-patterns): Likewise.
742 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
743 * configure: Regenerate.
744 * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
745 * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
746 in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
747 This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
749 2007-09-22 Jim Meyering <jim@meyering.net>
752 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
753 2004-05-31 change also with a comment in the code.
755 2007-09-20 Eric Blake <ebb9@byu.net>
757 More contribution housekeeping.
759 * AUTHORS: Sort, reflect recent assignment from Helge Deller.
761 Ignore additional files, when copying cross-repository.
762 * .gitignore: Ignore CVS directories, emacs edits.
763 * .cvsignore: Ignore .git directory, emacs edits.
765 2007-09-15 Eric Blake <ebb9@byu.net>
767 Provide AC_VERSION, not m4_AUTOCONF_VERSION.
768 * doc/autoconf.texi (Text processing Macros): Remove mention of
769 m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
771 (Notices): Move AC_PREREQ...
772 (Versioning): ...to this new section, alongside the new AC_VERSION
773 alias for the undocumented m4_PACKAGE_VERSION.
774 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
775 * lib/autoconf/general.m4 (AC_VERSION): New macro.
776 * NEWS: Update to match this rename.
777 * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
779 * tests/tools.at (autoconf: AC_VERSION): New test.
780 Suggested by Paolo Bonzini and Benoit Sigoure.
782 2007-09-14 Eric Blake <ebb9@byu.net>
784 Prepare for conversion to git.
785 * doc/.cvsignore: Avoid multiple listings on one line.
786 * bin/.cvsignore: Likewise.
787 * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
788 lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
789 lib/autoscan/.gitignore, lib/autotest/.gitignore,
790 lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
791 tests/.gitignore: New files, identical to .cvsignore counterpart.
793 2007-09-13 Eric Blake <ebb9@byu.net>
796 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
798 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
799 * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
800 * configure: Regenerate.
802 Clean up 'make dist' of previous patch.
803 * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
804 (CLEANFILES): Don't clean the stamp, since we distribute the
805 generated files pre-built.
806 (MAINTAINERCLEANFILES): Clean it here instead.
807 * tests/Makefile.in: Regenerate.
809 Avoid parallel 'make check' issue.
810 * tests/Makefile.am (mktests.stamp): New witness.
811 (TESTSUITE_GENERATED_AT): Use it.
812 (CLEANFILES): Clean the witness.
813 * tests/.cvsignore (mktests.stamp): Ignore the witness.
815 Document another awk pitfall.
816 * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
817 limitation of field variables in END.
818 Reported by Gary V. Vaughan.
820 * AUTHORS: Add missing entries.
822 2007-09-12 Eric Blake <ebb9@byu.net>
824 Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
825 * doc/autoconf.texi (Text processing Macros): Document
826 m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
827 (Redefined M4 Macros): Document m4_ifndef.
828 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
829 can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
830 used it while it was undocumented.
831 * NEWS: Document this change.
832 * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
833 * lib/m4sugar/Makefile.in: Regenerate.
834 * tests/m4sugar.at (m4@&t@_version_compare): New test.
835 Reported by Bruno Haible.
837 * doc/autoconf.texi (Generic Compiler Characteristics): Add
838 missing index entries.
840 2007-09-11 Eric Blake <ebb9@byu.net>
842 Centralize all system extensions checks.
843 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
844 from AC_AIX, AC_GNU_SOURCE, AC_MINIX. Add Interix support.
845 (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
846 AC_USE_SYSTEM_EXTENSIONS.
847 (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
848 (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
849 * doc/autoconf.texi (Posix Variants): Reword this section,
850 emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
851 rather than a series of system-specific checks.
852 (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
854 * NEWS: Document this change.
856 Reported by Martin Koeppe.
858 2007-09-08 Eric Blake <ebb9@byu.net>
860 Clean up obsolete macros references.
861 * doc/autoconf.texi: Add anchors to support better
863 (Particular Structures): Move obsolete macros descriptions...
864 (External Software): Likewise.
865 (Package Options): Likewise.
866 (Obsolete Macros): ...to here. Add cross-references to
867 documentation on replacements.
868 * NEWS: Mention that these macros have been obsolete for a while
869 now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
871 Improve M4 path searching during configure.
872 * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
874 (_AC_PATH_PROG_FEATURE_CHECK): Rename...
875 (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
876 parameter, and kill side effects.
877 (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
878 (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
879 * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
881 (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
882 allow bootstrapping with autoconf 2.61.
883 * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
884 * configure: Regenerate.
885 * doc/autoconf.texi (Generic Programs): Document new macro.
886 * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
888 * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
889 * NEWS: Document the change.
891 Reported by Hans Aberg.
893 * doc/autoconf.texi (Generic Programs): Fix typo.
895 2007-09-06 Eric Blake <ebb9@byu.net>
897 * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
898 :, and make it clear that optional @var{path} defaults to $PATH.
899 (Erlang Compiler and Interpreter): Likewise.
902 * doc/autoconf.texi: Avoid lines > 80 columns when possible.
903 Reword some paragraphs to avoid overfull, underfull hbox
904 warnings. Add index entries to avoid overfull vbox warnings.
906 2007-09-05 Eric Blake <ebb9@byu.net>
908 * NEWS: Adjust wording for AC_CONFIG_LINKS.
909 Reported by Ralf Wildenhues.
911 2007-09-03 Eric Blake <ebb9@byu.net>
913 * NEWS: Document fixes that have been applied since 2.61a.
916 * THANKS: Update, and convert to UTF-8 encoding.
919 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
921 * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
922 names beginning with `-' again.
924 2007-08-22 Stepan Kasal <kasal@ucw.cz>
925 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
927 * doc/autoconf.texi (Defining Directories): Mention
928 AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
930 2007-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
932 * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
933 here, this macro is expanded by AC_INIT. Fixes 2.60 regression.
934 * tests/base.at (configure arguments): New test.
938 * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
939 arguments in comment.
940 Report by Vincent Torri <vtorri at univ minus evry dot fr>.
942 2007-08-20 Benoit Sigoure <tsuna@lrde.epita.fr>
944 * doc/autoconf.texi (File System Conventions): Index the proper
945 way of detecting absolute file names.
947 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
949 * build-aux/config.guess, build-aux/config.sub,
950 build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
951 build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
952 doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
953 * doc/autoconf.texi (GNU Free Documentation License): Adjust for
954 sectioning change in fdl.texi.
956 * bin/autoconf.as: Update --version output to match current GCS.
957 * bin/autoheader.in: Likewise.
958 * bin/autom4te.in: Likewise.
959 * bin/autoreconf.in: Likewise.
960 * bin/autoscan.in: Likewise.
961 * bin/autoupdate.in: Likewise.
962 * bin/ifnames.in: Likewise.
964 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
966 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
967 file to itself if source and build trees coincide.
968 * tests/torture.at (AC_CONFIG_LINKS and identical files): New
970 Report by Sebastian Freundt <hroptatyr@gna.org>.
972 2007-07-20 Paul Eggert <eggert@cs.ucla.edu>
974 Reword the copyright notices to match what's suggested in GPLv3.
975 In ChangeLog files, use more-permissive notice rather than GPL, as
976 per usual GNU standards these days.
978 2007-07-13 Paul Eggert <eggert@cs.ucla.edu>
980 * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
981 limitation reported by Leo Moisio in
982 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
984 2007-07-03 Paul Eggert <eggert@cs.ucla.edu>
986 * COPYING: Update to GPLv3. All uses changed.
988 2007-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
989 and Paul Eggert <eggert@cs.ucla.edu>
991 * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
994 2007-06-17 Noah Misch <noah@cs.caltech.edu>
996 * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
997 * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
998 `srcdir' as subdirectory of `builddir'.
1000 2007-06-13 Noah Misch <noah@cs.caltech.edu>
1002 * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
1003 * tests/autotest.at (srcdir propagation): New test.
1005 Reported by Mike Frysinger.
1007 2007-06-13 Paul Eggert <eggert@cs.ucla.edu>
1009 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
1010 Problem reported by Fred Kreek in
1011 <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
1012 * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
1013 (Macro Names, Defining Directories): Don't mention PATH as a name
1014 for a fully qualified file name, as this usage violates the GNU
1015 coding standards and we shouldn't recommend it.
1017 * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
1018 string and then assume shell builtins like "test" will work.
1020 2007-06-12 Noah Misch <noah@cs.caltech.edu>
1022 * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
1023 not a valid shell variable name.
1024 * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
1025 * tests/torture.at (AC_SUBST: variable name validation): New test.
1026 Reported by Andreas Schwab.
1028 2007-06-04 Noah Misch <noah@cs.caltech.edu>
1030 * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
1031 works with both C and C++.
1033 2007-06-03 Noah Misch <noah@cs.caltech.edu>,
1034 Bruno Haible <bruno@clisp.org>
1036 * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
1039 2007-05-31 Paul Eggert <eggert@cs.ucla.edu>
1041 * doc/autoconf.texi (Particular Types): Give example of use for
1044 2007-05-29 Stepan Kasal <kasal@ucw.cz>
1046 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
1048 2007-05-28 Paul Eggert <eggert@cs.ucla.edu>
1050 * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
1051 define HAVE_INT8_T, and likewise for similar macros.
1052 Problem reported by Patrick Welche in
1053 <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
1055 2007-05-25 Noah Misch <noah@cs.caltech.edu>
1057 * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
1059 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
1061 * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
1062 choice, since that's what we do with --enable-largefile etc.
1063 Redo indenting and assignments to simplify things a bit, and make
1064 the parens work with Emacs.
1066 * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
1067 in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
1070 2007-05-21 Noah Misch <noah@cs.caltech.edu>
1072 * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
1073 * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
1075 2007-05-21 Bruno Haible <bruno@clisp.org>
1077 * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
1078 * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
1079 * doc/autoconf.texi (Generic Compiler Characteristics): Move
1080 renamed AC_OPENMP documentation here, from "C compiler".
1081 Mention C++ and Fortran.
1083 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
1085 * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
1087 2007-05-21 Bruno Haible <bruno@clisp.org>
1089 * NEWS: Mention AC_C_OPENMP.
1090 * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
1091 * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
1092 Based in part on Steven G. Johnson's investigations for the AX_OPENMP
1093 macro in the Autoconf macro archive.
1095 2007-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1097 * bin/autom4te.in: Fix typos.
1099 2007-05-16 Noah Misch <noah@cs.caltech.edu>
1101 * bin/autoconf.as: Handle `-' just like other input files.
1102 * bin/autom4te.in (parse_args): Pass `-' through.
1103 (handle_output): Skip the forbidden token search if we read from stdin.
1104 (up_to_date): Always treat stdin as out of date.
1105 * tests/tools.at (autoconf: input from stdin): New test.
1106 (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
1108 2007-05-16 Stepan Kasal <kasal@ucw.cz>
1110 * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
1111 parameters for AT_CLEANUP.
1112 * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
1114 2007-05-14 Paul Eggert <eggert@cs.ucla.edu>
1116 * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
1117 * doc/autoconf.texi (C Compiler): Likewise.
1119 2007-05-14 Noah Misch <noah@cs.caltech.edu>
1121 * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
1123 2007-05-09 Stepan Kasal <kasal@ucw.cz>
1125 * doc/autoconf.texi: Direntry for "autoconf Invocation"
1126 renamed to "autoconf-invocation"
1128 * doc/autoconf.texi (Caching Results): The CACHE-ID variable
1129 in the examples should not use the internal "ac_" prefix.
1131 2007-05-05 Noah Misch <noah@cs.caltech.edu>
1133 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
1134 * doc/autoconf.texi ($@, case): Document Zsh limitations.
1136 2007-05-03 Stepan Kasal <kasal@ucw.cz>
1138 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
1139 Reorganize the comments before and in the macro.
1141 2007-05-02 Stepan Kasal <kasal@ucw.cz>
1143 * lib/autoconf/lang.m4, lib/autoconf/c.m4,
1144 lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
1145 section titles and other comments; no code change.
1147 2007-05-01 Kevin Ryde <user42@zip.com.au>
1149 * doc/autoconf.texi (Particular Programs): Typo
1150 @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
1152 2007-04-30 Paul Eggert <eggert@cs.ucla.edu>
1154 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
1155 'configure' will fail if the shell lacks proper support for shell
1156 functions. Suggested by RMS.
1158 2007-04-29 Paul Eggert <eggert@cs.ucla.edu>
1160 * doc/autoconf.texi (Limitations of Builtins): Correct the warning
1161 about Solaris /bin/printf '%010000x' 123. Problem reported by
1164 2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
1166 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
1167 for a.* when searching for executables, as this prevents users
1168 from having files like a.c. Problem reported by Ralf Wildenhues in:
1169 http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
1170 This fixes a problem introduced on 2000-12-19.
1172 2007-04-26 Paul Eggert <eggert@cs.ucla.edu>
1174 * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
1175 /bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko
1178 2007-04-12 Paul Eggert <eggert@cs.ucla.edu>
1180 * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
1181 AC_CHECK_TYPE, AC_CHECK_TYPES.
1182 * doc/autoconf.texi (Generic types): C types must be type-names
1183 (the C terminology), not type-ids (the C++ term). C++ types
1184 must not be anonymous.
1185 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
1186 for C++; this drops support for anonymous struct and union types,
1187 which were problematic anyway.
1188 * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
1191 2007-04-12 Jim Meyering <jim@meyering.net>
1193 * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
1195 2007-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1197 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
1198 to prefer a link source from the build tree, if it exists.
1199 Report by Pallav Gupta <pallavgupta@gmail.com>.
1201 2007-04-11 Paul Eggert <eggert@cs.ucla.edu>
1203 * doc/autoconf.texi (Generic Types): Document the restrictions
1204 on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
1205 (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
1206 with objects too. Document the restrictions on its use.
1207 Document the restrictions on AC_CHECK_ALIGNOF's type argument.
1208 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
1209 For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
1210 works but the latter doesn't, then it's a valid type.
1211 This lets people use function types and so forth.
1212 For C++ there doesn't seem to be a simple solution, so leave it alone.
1213 (AC_CHECK_SIZEOF): Allow argument to be a variable.
1214 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
1215 AC_CHECK_TYPE; that wasn't documented or necessary.
1217 2007-04-11 Stepan Kasal <kasal@ucw.cz>
1219 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
1220 when cross-compiling.
1222 2007-04-11 Stepan Kasal <kasal@ucw.cz>
1224 * doc/autoconf.texi (External Software): Fix a typo in the
1227 2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1229 * doc/autoconf.texi (External Software, Package Options):
1230 Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
1232 2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
1234 * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
1235 obsolescent. Suggested by Bruno Haible.
1236 * NEWS: Document this.
1238 2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
1240 * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
1241 (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
1242 default still has the problem. Problem reported by Bruce Korb.
1244 2007-03-28 Stepan Kasal <kasal@ucw.cz>
1245 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1247 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
1248 comment in the generated config.status.
1250 2007-03-27 Stepan Kasal <kasal@ucw.cz>
1252 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
1254 2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
1256 * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
1257 command and case statements to make it a bit clearer and describe
1260 2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
1262 * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
1263 checks for unsigned long long int.
1265 2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
1267 * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
1268 nonstandard grep R.E. escape sequences.
1270 2007-03-17 Jim Meyering <jim@meyering.net>
1272 * doc/autoconf.texi: Adjust grammar around use of "heuristics".
1273 (Limitations of Usual Tools): Also list \< and \>, and mention that
1274 HP-UX's grep, like the one from Solaris, does not support that syntax.
1276 2007-03-09 Stepan Kasal <kasal@ucw.cz>
1278 * doc/autoconf.texi (Specifying Names): `--host' does not
1279 change the build type.
1281 2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
1283 * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
1284 suggests AC_CONFIG_HEADERS.
1285 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
1286 AC_CONFIG_HEADERS. Problem reported by
1289 2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
1291 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
1292 Problem reported by Paolo Bonzini in:
1293 http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
1294 * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
1295 universal binaries. Problem reported by Elias Pipping.
1297 2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
1299 * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
1300 * doc/autoconf.texi (C Compiler): Document this. There is a new
1301 extra argument ACTION-IF-UNIVERSAL.
1302 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
1303 Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
1304 Reindent for sanity's sake.
1306 2007-02-24 Eric Blake <ebb9@byu.net>
1308 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
1310 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1311 * lib/autotest/general.m4 (AT_INIT): Likewise.
1312 (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
1314 2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1316 * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
1317 status of rm so we know when it failed.
1318 If cleaning of test dir failed before running the test, warn.
1319 Output the line separator in verbose mode before the warning
1320 to make clear the warning belongs to the following test.
1322 2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
1324 * doc/autoconf.texi (Parentheses): Mention problem with (( in
1327 2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1328 and Paul Eggert <eggert@cs.ucla.edu>
1330 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
1331 errors introduced in last change.
1333 2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
1335 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
1336 an actual carriage return. Use "ac_cr" to contain the actual
1338 * doc/autoconf.texi (Limitations of Usual Tools): Document problem
1339 with traditional Awk and begin.
1340 * tests/torture.at (Limitations of Builtins): Document the problem
1341 with Bash 2.03 printf.
1342 (Substitute and define special characters):
1343 Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
1345 2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
1347 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
1348 input from /dev/null in awk test, so even Solaris /usr/bin/awk
1349 will not wait for input with a script containing only a BEGIN
1352 2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
1354 * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
1358 2007-02-02 Eric Blake <ebb9@byu.net>
1360 * NEWS: Update copyright.
1362 * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
1364 * configure.ac: Update error message.
1365 * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
1366 Reported by Gary Vaughan and Jim Meyering, and problem analyzed
1368 http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
1370 2007-01-31 Eric Blake <ebb9@byu.net>
1372 * THANKS (people): Update.
1374 2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
1376 * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
1378 (Shell Substitutions): Note problems with @{var:=value} etc.
1379 Add a new section for problems with @{#var} etc. Problem noted
1380 by Ralf Wildenhues. See:
1381 http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
1383 2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1385 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
1386 AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
1387 trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
1388 substitution will still be done by the special code.
1389 Report by Jim Meyering.
1391 * doc/autoconf.texi (File System Conventions): Mention that
1392 $PATH_SEPARATOR is for the build system only.
1393 Report by Keith Marshall.
1395 2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1397 * doc/autoconf.texi (Setting Output Variables): Mention that
1398 all non-NUL characters are ok in substituted values.
1399 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
1400 (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
1401 carriage return for $AWK, needed for BSD awk.
1402 * tests/torture.at (Substitute and define special characters):
1403 Test all 8 bit non-NUL characters.
1404 Report against Automake by Patrick Welche.
1406 2007-01-15 Stepan Kasal <kasal@ucw.cz>
1408 * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
1410 2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1412 * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
1413 early on the reader side, drop stderr of the input to avoid
1414 `broken pipe' error output; this may happen even with shell
1415 builtin `echo' of some bash versions. Reports by Ian Macdonald
1416 <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
1418 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1420 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
1421 separate items of `ac_user_opts', to avoid long lines.
1422 (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
1424 2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1426 * doc/autoconf.texi: Fix some typos.
1428 2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
1430 Fix some wording problems noted by Paolo Bonzini in:
1431 http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
1432 * doc/autoconf.texi (Signed Overflow Examples): Give more
1433 discussion about the allow_superuser_privileges example,
1434 and change it a bit to make things clearer.
1435 (Optimization and Wraparound): Clarify whether the compiler
1436 will generate an infinite loop for the example derived from
1437 Autoconf's mktime test.
1438 (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
1439 Also, clarify unsigned multiplication overflow.
1441 2007-01-04 Eric Blake <ebb9@byu.net>
1443 * bin/Makefile.am (RELEASE_YEAR): New macro.
1444 (edit): Use it to supply correct copyright year to scripts.
1445 * bin/autoconf.as (version): Use it.
1446 * bin/autoheader.in ($version): Likewise.
1447 * bin/autom4te.in ($version): Likewise.
1448 * bin/autoreconf.in ($version): Likewise.
1449 * bin/autoscan.in ($version): Likewise.
1450 * bin/autoupdate.in ($version): Likewise.
1451 * bin/ifnames.in ($version): Likewise.
1453 2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
1455 * doc/autoconf.texi (Integer Overflow): Revised based on today's
1456 feedback. The most important changes document what happens when
1457 you convert an out-of-range value to a signed integer type, and
1458 say that (sum < a) != (b < 0) reliably detects overflow when sum =
1461 * doc/autoconf.texi (Integer Overflow): Greatly expand and
1462 rewrite, taking notions from the recent discussion on the gcc and
1463 autoconf mailing lists; please see
1464 http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
1465 and follow the many links.
1466 (Integer Overflow Basics, Signed Overflow Examples):
1467 (Optimization and Wraparound, Signed Overflow Advice):
1468 (Signed Integer Division): New sections.
1470 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
1472 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
1473 preprocessor macro arguments in traced name.
1474 * doc/autoconf.texi (Defining symbols): Document longstanding
1475 support for AC_DEFINE-ing macros with arguments, and document
1476 behavior when the same variable has multiple AC_DEFINEs.
1477 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
1478 old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
1479 macros directly, giving much shorter and simpler code.
1481 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
1483 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
1484 space before "$ac_configure_args" to prevent a 'config.status
1485 --recheck' failure if ac_configure_args doesn't contain a leading
1486 space. This works around a problem with the XEmacs configure.ac,
1487 which uses the (undocumented) ac_configure_args variable
1488 inconsistently with Autoconf.
1490 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
1492 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
1493 Include <limits.h>, and use its INT_MAX to rewrite the
1494 j loop so that it does not overflow 'int'. Problem reported by
1496 <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
1497 Play it safe by shifting left by 1 rather than multiplying by 2,
1498 as GCC is less likely to optimize this away when the value
1499 is signed (when it assumes overflow leads to undefined behavior).
1500 Also, don't assume time_t uses two's complement.
1502 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1504 * tests/torture.at (Substitute a 2000-byte string): Avoid using
1505 a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
1506 dumps core on it. Report by Tim Rice.
1508 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
1510 * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
1511 --disable-option-checking to --help output even when
1512 AC_PRESERVE_HELP_ORDER is not used.
1513 (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
1514 --with argument, rather than argument with [-.] replaced by
1516 * NEWS: Fix typo in previous change; the news was in the
1519 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
1521 * NEWS: Warnings are now generated by default for unknown
1522 --enable-* and --with-* options.
1523 * doc/autoconf.texi (Option Checking): Renamed from
1524 (Configure Option Checking). Tighten up the wording a bit.
1525 (External Software, Package Options): Cross-reference to Option
1526 Checking, and use this to shorten our section.
1527 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
1528 "$x" to test "x$foo" != x.
1529 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
1530 Don't warn if $enable_option_checking is "no".
1531 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
1532 ac_unrecognized_opts to the empty string.
1533 Don't echo the unrecognized opts, as this might mishandle
1534 backslashes or leading -.
1535 (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
1536 usage next to the other --disable-FEATURE options in the
1539 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
1541 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
1542 (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
1543 Print warning for unrecognized --with and --enable options
1544 (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
1545 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
1546 Disable option checking when subdirs are configured.
1547 (AC_OUTPUT): If warnings are enabled, print warning about
1548 unrecognized --with and --enable options at the end of
1549 the configure output (as well as at the beginning).
1550 * doc/autoconf.texi (Option Checking): New node.
1551 Document new option warning functionality.
1553 2006-12-16 Eric Blake <ebb9@byu.net>
1555 * configure.ac (AC_INIT): Bump version, since 2.61a is released.
1556 * NEWS: Start news for current version.
1558 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
1560 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
1561 Define HAVE_GETMNTENT to 1, not to the empty string.
1562 Problem originally reported by Jochen Friedrich in
1563 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
1565 This change prompted by a problem report by Andrey Simonenko in
1566 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
1567 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
1568 object-like macros only, in the traditional portable character
1570 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
1571 Warn about attempts to define things that are not identifiers.
1572 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
1573 awful hack that AC_DEFINEd macro names containing parentheses.
1575 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
1577 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
1578 too drastic, even if Texinfo in theory requires it for info mode.
1580 (config.status Invocation): Renamed back from Recreating a
1582 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
1583 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
1585 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
1587 * NEWS: Version 2.61a.
1589 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
1590 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1592 * NEWS: Document changes with echo and printf, and the lack
1593 of limits on the total size of multi-line values of substituted
1594 variables, and the AC_FUNC_FSEEKO fix.
1596 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
1598 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
1599 Writing configure.ac.
1600 (Autoconf Input Layout): Renamed from configure.ac Layout.
1601 (Recreating a Configuration): Renamed from config.status Invocation.
1602 (Obsolete Recreation): Renamed from Obsolete config.status Use.
1603 (acconfig Header): Renamed from acconfig.h.
1604 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
1605 (Writing Testsuites): Renamed from Writing testsuite.at.
1606 (Autom4te Cache): Renamed from autom4te.cache.
1608 * BUGS: Remove mention of VPATH problem, since it's now documented
1609 not to be a bug in the Autoconf build procedure itself, but rather
1610 a problem with the proprietary `make' programs.
1612 * doc/autoconf.texi (Build Directories): Add a cross reference
1615 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
1616 * doc/standards.texi: Sync from gnulib.
1618 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
1619 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
1620 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
1621 generated automatically.
1623 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
1625 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
1626 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
1627 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
1629 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1631 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
1632 `CEOF$ac_eof' special marker, the awk script cannot contain a
1633 line matching `^CEOF', so this is not needed any more.
1634 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
1635 special marker in the test.
1637 2006-12-06 Stepan Kasal <kasal@ucw.cz>
1639 * tests/tools.at (autom4te preselections): Use `find -newer';
1640 remove one of the sleeps.
1642 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
1643 more readable, using ...
1644 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
1646 * doc/autoconf.texi (autoheader Invocation): Do not double-
1647 quote the parameter of `AH_BOTTOM' in the example.
1649 2006-12-05 Stepan Kasal <kasal@ucw.cz>
1651 * doc/autoconf.texi (Configuration Headers): Remove the
1652 example with multiple input files.
1653 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
1654 multiple input files.
1656 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1658 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
1659 creating the awk substitution script, handle one input line at a
1660 time, so that the maximum length of a substituted (multi-line)
1661 value is not limited by the size of the sed pattern space.
1662 The trade-off is a slightly repetitive sed script.
1663 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
1664 can only have up to 7 characters, due to Solaris 10 /bin/sed.
1665 * tests/torture.at (Substitute a 2000-byte string): Increase the
1666 test with several long lines, they should not be caught by sed
1669 * tests/tools.at (autom4te preselections): New test, to flag
1670 entries missing from autom4te.cfg.
1671 Report by David Byron <dbyron@hheld.com>.
1673 * tests/torture.at (Substitute a 2000-byte string): Actually use
1674 AC_PROG_AWK, so the last change works as intended.
1675 (Substitute and define special characters): Likewise.
1676 (Substitute a newline): Likewise.
1678 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
1679 instead of `awk' consistently.
1680 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
1681 * tests/torture.at (Torturing config.status): Test both the
1682 result of AC_PROG_AWK and plain awk.
1683 (Substitute a 2000-byte string): Likewise.
1684 (Substitute and define special characters): Likewise.
1685 (Substitute a newline): Likewise.
1687 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
1689 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
1690 can be assigned to a function pointer. Problem reported by
1691 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
1692 part of a patch by Ralf Wildenhues in that same bug report.
1694 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
1696 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
1697 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
1699 2006-12-01 Eric Blake <ebb9@byu.net>
1701 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
1702 cross-compiling from cygwin to mingw.
1703 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
1704 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
1705 to lib/autoconf/c.m4.
1707 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1709 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
1710 string for more reliable failure. Wrap the entire test that
1711 causes the broken Solaris printf to dump core, in a subshell,
1712 so the segmentation fault message is reliably suppressed.
1713 Fix shell expansion errors by using /usr/ucb/echo always;
1714 avoid an error on systems without it by another subshell.
1715 Avoid m4 expansion of `$1'. Set the zeroth argument of the
1716 subshell-$as_echo to `as_echo', for better error message.
1718 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1720 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
1721 `BASH_SOURCE' contain a newline, set them to empty, as they may
1724 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
1726 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
1727 years and is too hard to maintain now. The last straw was
1728 reported by Jerker Baeck in
1729 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
1730 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
1731 * doc/autoconf.texi (Particular Functions): Move
1732 AC_FUNC_SETVBUF_REVERSED from here...
1733 (Obsolete Macros): ... to here. Say that it does nothing now.
1734 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
1735 Turn into (almost) a no-op.
1737 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
1739 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
1740 These macros are obsolescent and new applications shouldn't need them.
1741 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
1742 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
1743 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
1744 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1745 (AC_FUNC_VPRINTF): Likewise.
1746 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
1747 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
1748 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
1750 * doc/autoconf.texi (Setting Output Variables): Mention that
1751 @VAR1@VAR2 has unspecified behavior. Problem reported by
1753 * NEWS: Mention this.
1755 * Makefile.am: Put only a single '#' into the copyright notice,
1756 so that it's also present in the output file. Standardize wording
1757 in makefile copyright notices to match GNU coding standards.
1758 * bin/Makefile.am: Likewise.
1759 * doc/Makefile.am: Likewise.
1760 * lib/Makefile.am: Likewise.
1761 * lib/freeze.mk: Likewise.
1762 * lib/autoconf/Makefile.am: Likewise.
1763 * lib/autoscan/Makefile.am: Likewise.
1764 * lib/autotest/Makefile.am: Likewise.
1765 * lib/m4sugar/Makefile.am: Likewise.
1766 * man/Makefile.am: Likewise.
1767 * tests/Makefile.am: Likewise.
1768 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
1771 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1773 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
1774 in the sed script that mangles the awk script: delete up to the
1775 first exclamation mark only.
1776 * tests/torture.at (Substitute and define special characters):
1779 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1781 Rewrite config files generation: avoid quadratic growth in
1782 the number of substituted variables by using awk instead of sed
1783 for the bulk of the substitutions.
1784 * NEWS: Mention this.
1785 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
1786 forbidden in the output (and thus input) file.
1787 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
1788 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
1789 generate just one large awk script for substitutions,
1790 eliminating much of the earlier complexity, while adding some
1791 new complexity. Only expand the substitution templates at
1792 configure time, for smaller configure script size. If
1793 _AC_SUBST_FILES are used, test 'awk' for working getline support
1794 at config.status time. If absent, interpolate through the
1795 shell. The awk script was written with much help
1796 from Paolo Bonzini and Paul Eggert.
1797 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
1798 (_AC_SED_FRAG_NUM): Likewise.
1799 (_AC_SUBST_CMDS): Renamed from...
1800 (_AC_SED_CMDS): ...this.
1801 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
1802 * tests/torture.at (Substitute a 2000-byte string): Also
1803 substitute a line with 1000 words, and a variable with several
1805 (Substitute and define special characters): Test awk special
1806 characters, and put substitution input strings `@foo@' in the
1807 output, to test that no recursion happens; test several other
1808 combinations from Paolo Bonzini.
1810 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
1812 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
1813 that replaced echo with AS_ECHO where this wasn't necessary.
1814 Problem reportd by Ralf Wildenhues.
1815 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
1816 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
1817 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
1819 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1821 * lib/freeze.mk (GREP): Removed, no need to initialize this.
1823 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
1825 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
1826 that traditional Awk lacks 3-arg "split". It has it.
1827 Mention that FS must be a single character, and a few other
1828 99-byte limits of traditional Awk.
1829 Mention that if (i in a) doesn't work with traditional Awk.
1831 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
1833 * tests/autotest.at (BSx641-newline in command):
1834 (BS-BS-newline in command, BSx640-newline in command):
1835 (Newline-CODE-BS-newline in command):
1836 (Single-quote-BS-newline in command):
1837 (Single-quote-newline-BS-newline in command):
1838 Use printf '%s\n' instead of echo, for portability to hosts
1839 where echo interprets backslashes. This will break on hosts
1840 that lack printf, but for now let's assume all such hosts
1841 are dead (if not, we should get reports of test failures).
1843 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
1845 'echo' has some portability problems, when given a first argument
1846 with a leading '-', or when given any argument containing '\'.
1847 Avoid using 'echo' in these cases.
1848 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
1849 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
1850 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1851 * lib/autotest/general.m4 (AT_INIT): Likewise.
1852 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
1853 argument might be unportable.
1854 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
1855 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
1856 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
1857 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
1858 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
1859 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
1860 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
1861 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
1862 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1863 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
1864 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
1865 (AC_PROG_MAKE_SET): Likewise.
1866 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
1867 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
1868 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
1869 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
1870 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
1871 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
1872 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
1873 * bin/autoconf.as: Redo verbose flag implementation, as the old
1874 scheme wouldn't work with AS_ECHO.
1875 * lib/autotest/general.m4 (AT_INIT): Likewise.
1876 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
1877 Don't use ECHO_T, since ECHO_N is now reliable.
1878 * lib/autotest/general.m4 (AT_INIT): Likewise.
1879 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
1880 rather than using a here-document to put the script into a file.
1881 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
1883 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
1884 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
1885 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
1886 bug, but we might as well stop using ECHO_N and ECHO_C internally.
1887 * lib/autotest/general.m4 (AT_SETUP): Likewise.
1888 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
1889 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1890 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
1891 operand, as AS_ECHO requires. Avoid double file name expansion.
1892 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
1893 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
1894 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
1895 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
1896 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1897 Double-quote strings that would otherwise contain M4 comments.
1898 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
1900 * configure.ac (AC_INIT): Bump to 2.61a.
1903 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
1907 * configure.ac (AC_INIT): Bump to 2.61.
1910 * tests/autotest.at (Macro with backslash in a test title):
1911 Comment out for now, as this tests neither fails nor passes
1912 reliably. Problem reported by Ralf Wildenhues.
1914 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
1916 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
1917 in previous change, which caused test failures.
1919 2006-11-16 Stepan Kasal <kasal@ucw.cz>
1921 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
1922 code for --enable, --disable, --with, and --without to...
1923 (_AC_INIT_PARSE_ENABLE): ... a new macro.
1924 * doc/autoconf.texi (Package Options):
1925 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
1927 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
1929 Import these changes from config via gnulib:
1931 2006-11-15 Ben Elliston <bje@gnu.org>
1933 From Josselin Mouette <joss@debian.org>:
1934 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
1936 2006-11-08 Ben Elliston <bje@gnu.org>
1938 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
1940 2006-11-07 Steve Woodford <scw@NetBSD.org>
1941 Ben Elliston <bje@gnu.org>
1943 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
1944 * build-aux/config.sub (sh5el): New basic_machine.
1947 Import this change from coreutils:
1949 2006-02-13 Jim Meyering <jim@meyering.net>
1951 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
1954 Import this change from gnustandards via gnulib:
1956 2006-11-15 Karl Berry <karl@gnu.org>
1958 * standards.texi: core -> memory, throughout.
1959 (CPU Portability): show correct example of calling write
1960 on a char value; thanks to Paul Eggert for the code.
1961 Both of these suggestions from Eugene Y. Vasserman.
1964 Import these changes from texinfo via gnulib:
1966 2006-11-08 Karl Berry <karl@gnu.org>
1968 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
1969 as well as pdf images, since they are supported in pdftex with
1972 2006-11-05 Karl Berry <karl@gnu.org>
1974 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
1976 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
1978 * NEWS: Document the AC_ARG_WITH change.
1980 2006-11-13 Bruno Haible <bruno@clisp.org>
1982 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
1983 options, transliterate also dots to underscores.
1984 (_AC_ENABLE_IF): Transliterate also dots to underscores.
1985 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
1986 first argument may also contain dots.
1988 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
1990 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
1991 benefit of platforms like Solaris+GCC where it is common to have a
1992 non-working g++ installation.
1994 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1995 and Joel E. Denny <jdenny@ces.clemson.edu>
1996 and Paul Eggert <eggert@cs.ucla.edu>
1998 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
1999 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
2002 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
2004 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
2005 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
2006 Imported from a similar patch to gnulib by Bruno Haible.
2008 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
2010 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
2011 * doc/autoconf.texi (C Compiler): Document them.
2012 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
2013 New macros, taken from gnulib.
2015 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
2017 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
2018 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
2021 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2023 * tests/torture.at (Configuring subdirectories): Do not skip
2024 Automake 1.10 nor future Automake 11.1 (sic).
2026 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
2027 and Stepan Kasal <kasal@ucw.cz>
2029 Handle special characters in test case titles correctly.
2030 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
2032 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
2033 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
2034 argument. Extend to check titles printed by ./micro-suite and
2035 ./micro-suite -l and the title in micro-suite.log.
2036 (Backquote in a test title,
2037 Single-quote in a test title,
2038 Double-quote in a test title): Don't expect failure anymore.
2039 (Backslash in a test title): Put a non-whitespace character after the
2040 backslash so that Bourne shells might actually see it as an escape
2042 (Brackets in a test title,
2043 Pound in a test title,
2044 Comma in a test title,
2045 Quoted Macro in a test title,
2046 Macro in a test title,
2047 Macro with single-quote in a test title): New tests.
2048 (Macro with backquote in a test title,
2049 Macro with double-quote in a test title,
2050 Macro with backslash in a test title): New tests expected to fail.
2051 * tests/torture.at (#define header templates): M4-quote this title in
2052 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
2053 The visible effect was a stray [] in the testsuite output.
2055 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2057 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
2058 `trap ... 0' inside a function, for AIX sh.
2060 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
2062 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
2063 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
2064 5363) simply issues a warning when dividing by zero at compile
2065 time. Problem reported by Elias Pipping.
2067 2006-10-26 Eric Blake <ebb9@byu.net>
2070 * doc/autoconf.texi (Evaluation Macros): Improve the example to
2071 show effect on macros that expand with commas.
2072 Reported by Joel E. Denny.
2074 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2075 Also work with M4 1.4.8.
2077 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
2079 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
2082 2006-10-25 Stepan Kasal <kasal@ucw.cz>
2084 * tests/tools.at (autom4te --force): New test, verifies that
2085 `--force' always rewrites the output file.
2087 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
2089 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
2090 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
2092 2006-10-24 Stepan Kasal <kasal@ucw.cz>
2094 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
2096 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
2098 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2099 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
2100 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
2101 reported by Nelson H. F. Beebe for Coreutils 6.4.
2103 * tests/tools.at (autoconf --trace: user macros): Remove test
2104 for tracing multiline macros, since m4 1.4.7a uses a different
2105 way to number lines. Problem reported by Ralf Wildenhues.
2107 2006-10-24 Stepan Kasal <kasal@ucw.cz>
2109 * bin/autom4te.in (handle_m4): Do not redirect stdin to
2110 /dev/null since the heuristics for interactive behaviour was
2113 * bin/autom4te.in: With --force, always refresh the output
2114 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
2116 * bin/autoconf.as: Fix the verbose message at the end.
2118 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
2120 * configure.ac (AC_INIT): Bump to 2.60c.
2123 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
2125 * NEWS: Version 2.60b.
2127 Import this change from Texinfo:
2128 2006-10-15 Karl Berry <karl@gnu.org>
2129 * build-aux/texinfo.tex: automake 1.10
2131 * NEWS: Remove AC_CACHE_CHECK_INT.
2132 * doc/autoconf.texi (Caching Results): Likewise.
2133 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
2134 AC_CACHE_CHECK_INT, since it's no longer public.
2135 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
2136 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
2138 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2140 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
2142 2006-10-19 Eric Blake <ebb9@byu.net>
2144 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
2145 (m4_maketemp): Avoid warnings with M4 1.9a.
2146 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
2148 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
2151 2006-10-16 Eric Blake <ebb9@byu.net>
2153 * doc/autoconf.texi (Setting Output Variables): Fix typo.
2155 * bin/autoconf.as (version): Reword to match GNU Coding
2157 * bin/autoheader.in (version): Likewise.
2158 * bin/autom4te.in (version): Likewise.
2159 * bin/autoreconf.in (version): Likewise.
2160 * bin/autoscan.in (version): Likewise.
2161 * bin/autoupdate.in (version): Likewise.
2162 * bin/ifnames.in (version): Likewise.
2164 2006-10-14 Stepan Kasal <kasal@ucw.cz>
2166 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
2167 looking for special shell characters.
2168 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
2169 macro defined by AS_VAR_PUSHDEF before passing it as a
2171 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
2172 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
2173 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
2174 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
2175 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
2177 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
2179 * tests/m4sh.at (AS_LITERAL_IF): New test.
2181 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
2183 (Imported from Automake.)
2184 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
2185 which incorrectly sets the mode of an existing destination
2186 directory. In some cases the unpatched install-sh could do the
2187 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
2188 system. We hope this is rare in practice, but it's clearly worth
2189 fixing. Problem reported by Alex Unleashed in
2190 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
2191 Also, don't bother to check for -m bugs unless we're using -m;
2192 suggested by Stepan Kasal.
2194 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
2196 Import this change from Automake:
2198 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
2199 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
2200 is enabled by default with gnu and gnits strictness.
2201 Report from Bruno Haible.
2203 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
2204 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
2205 gnu and gnits modes.
2207 Import this change from Config:
2209 2006-09-20 Ben Elliston <bje@gnu.org>
2210 * build-aux/config.sub (score, score-*): New.
2212 Import this change from Gnulib:
2214 2006-09-16 Karl Berry <karl@gnu.org>
2215 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
2216 to avoid sectioning errors.
2218 Import these changes from Texinfo:
2220 2006-10-04 Karl Berry <karl@gnu.org>
2221 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
2222 (\quoteexpand): rename to \rquoteexpand.
2223 (\codequoteleft): new def, to look for @set codequotebacktick.
2224 (\lquoteexpand, \quoteexpand): new defs.
2225 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
2226 (\code): must use new \...Char values, since now ` is active.
2228 2006-08-26 Karl Berry <karl@gnu.org>
2229 * build-aux/texinfo.tex (\textdegree): New command.
2231 2006-08-12 Karl Berry <karl@gnu.org>
2232 * build-aux/texinfo.tex (error \box0): smaller font.
2234 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2236 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
2238 2006-10-13 Stepan Kasal <kasal@ucw.cz>
2240 * doc/autoconf.texi (Autoheader Macros): Warn that the text
2241 added to the template can get mangled.
2243 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2245 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
2246 include the default headers, and redefine obstack_chunk_alloc
2247 and obstack_chunk_free. Fixes false failure with glibc.
2249 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
2251 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
2252 for backward compatibility with Libtool 1.5.22. Problem reported
2255 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2257 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
2259 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
2261 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
2263 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
2264 the NonStop platform.
2265 * doc/autoconf.texi (Posix Variants): Likewise.
2266 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
2268 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
2269 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
2270 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
2271 Use a better substitute, by inspecting the output of "ls"
2272 rather than just using ":".
2273 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
2274 rather than AS_EXECUTABLE_P, since we needn't worry about
2275 non-regular files here.
2277 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
2278 due to configuration hassles with this. See Tonya Underwood's report
2279 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
2280 * doc/autoconf.texi (Special Shell Variables): Likewise.
2282 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
2283 Stepan Kasal <kasal@ucw.cz>
2285 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
2286 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
2288 2006-10-11 Stepan Kasal <kasal@ucw.cz>
2290 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
2291 initialization which is not inherited through the environment
2292 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
2293 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
2295 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
2297 * doc/autoconf.texi (Limitations of Usual Tools): Describe
2298 problems with mkdir -p -m.
2300 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
2302 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
2303 comment about ac_cpp_err; it was incorrect, and anyway
2304 ac_cpp_err is being removed below.
2305 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
2306 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
2307 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
2309 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
2310 with werror_flag and conftest.err and so forth. This is more
2311 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
2312 and anyway the user shouldn't normally want to see this gorp logged.
2313 Problem reported by Ralf Wildenhues.
2314 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
2315 empty, not 'no', since the rest of the code uses 'test -z'.
2317 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
2319 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2320 Use a single call to AC_DO_TOKENS rather than multiple, for
2322 (_AC_LINK_IFELSE): Test that resulting file is executable.
2323 Problem reported by mwoehlke in
2324 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
2326 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
2327 than creating a file to use with test -x; this is much faster.
2329 2006-10-02 Bruno Haible <bruno@clisp.org>
2331 * lib/autom4te.in (Automake-preselections): Add
2332 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
2334 2006-09-27 Stepan Kasal <kasal@ucw.cz>
2336 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
2337 standard error, `experr' should be used, not `expout'.
2339 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
2341 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
2342 fseeko testing program twice; just use the earlier result.
2343 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2344 Set cache var to 'unknown' (not 'no') if leaving the macro unset
2345 still doesn't let the program compile.
2346 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
2349 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
2350 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
2351 include it, without including anything else.
2352 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
2354 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
2356 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2358 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
2359 `error.h', and include it, for a `error_at_line' prototype.
2360 Use a nonempty format string in the link test.
2361 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
2362 for a declaration of wait3.
2364 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
2366 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
2367 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
2368 can apply to constants too, and that it checks for macro defns.
2369 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
2370 and simply cast the identifier to void. This handles structure
2371 values. Problem reported by Ralf Wildenhues.
2372 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
2374 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2376 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
2377 structure, and function symbols.
2379 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2381 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
2384 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
2386 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
2388 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2390 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
2391 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2393 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
2394 warnings (uninitialized value).
2395 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
2397 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
2399 (AC_STRUCT_TM): Likewise, avoid unused variables.
2401 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2403 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
2404 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
2405 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
2406 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
2407 Report by Olly Betts.
2409 2006-09-19 Eric Blake <ebb9@byu.net>
2411 * m4/m4.m4: Change copyright.
2412 * configure: Regenerate.
2413 * Makefile.in: Likewise.
2414 * bin/Makefile.in: Likewise.
2415 * doc/Makefile.in: Likewise.
2416 * lib/Makefile.in: Likewise.
2417 * lib/Autom4te/Makefile.in: Likewise.
2418 * lib/autoconf/Makefile.in: Likewise.
2419 * lib/autoscan/Makefile.in: Likewise.
2420 * lib/autotest/Makefile.in: Likewise.
2421 * lib/emacs/Makefile.in: Likewise.
2422 * lib/m4sugar/Makefile.in: Likewise.
2423 * man/Makefile.in: Likewise.
2424 * tests/Makefile.in: Likewise.
2426 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
2427 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
2428 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
2429 --error-output, to avoid warnings with M4 2.0.
2431 2006-09-19 Stepan Kasal <kasal@ucw.cz>
2433 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
2434 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
2435 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
2437 2006-09-15 Stepan Kasal <kasal@ucw.cz>
2439 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
2440 expansion of AC_CHECK_FUNCS.
2442 2006-09-14 Stepan Kasal <kasal@ucw.cz>
2444 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
2445 mistaken comment: the path has to be relative; do not use
2446 the path at runtime.
2448 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2450 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
2451 argument to `--prefix' for sub-configure scripts.
2452 Pass `--silent' to sub-configure scripts.
2453 * tests/torture.at (Configuring subdirectories): Add tests
2455 * doc/autoconf.texi (Setting Output Variables): Fix example to
2456 not show `--silent' being passed to a `configure' re-run.
2458 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
2460 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
2461 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
2462 for the existence of the directory at configure-time. That's
2463 too late, anyway. Problem reported by Stefan Seefeld.
2465 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
2466 7.1.4 /usr/bin/posix/sh described by Tim Rice in
2467 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
2469 2006-09-11 Stepan Kasal <kasal@ucw.cz>
2471 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
2472 works with GNU M4 1.4.3 again; make the normalized form
2473 match the current m4 message; fix the description.
2474 * test/tools.at (autom4te cache): Adapt to the change.
2476 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
2478 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
2479 to catch glibc bug 2821
2480 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
2482 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
2483 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
2484 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
2487 2006-09-08 Stepan Kasal <kasal@ucw.cz>
2489 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
2491 (Autoconf): ... here.
2492 (Autoscan-preselections): Delete.
2494 2006-09-07 Stepan Kasal <kasal@ucw.cz>
2496 * lib/autom4te.in (Automake-preselections): Preselect
2499 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
2501 * doc/autoconf.texi (Preset Output Variables): srcdir and
2502 top_srcdir are not necessarily relative. Problem reported
2505 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2507 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
2508 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
2509 accept files with extension `.f'. For consistency, also prefer
2511 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
2514 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
2516 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
2517 of ERLANG_LIB_VER_* variables.
2518 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
2521 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
2522 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2524 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
2525 bugs of Bash 2.01 and 2.05a.
2526 (Fortran Compiler): Document that AC_PROG_CC should be called
2527 before AC_PROG_FC, due to a bug in Autoconf.
2529 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
2531 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
2532 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
2533 except the first two arguments are reversed.
2534 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
2535 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
2536 caches nor outputs a diagnostic. Suggested by Bruno Haible.
2537 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
2538 equivalent to the old AC_COMPUTE_INT.
2539 (AC_COMPUTE_INT): No longer caches or reports. New signature.
2540 All uses changed to AC_CACHE_CHECK_INT.
2541 * tests/base.at (AC_CACHE_CHECK_INT): New test.
2542 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
2544 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
2546 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
2547 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
2548 programs should use their Gnulib counterparts.
2549 * doc/autoconf.texi (Particular Functions): Likewise.
2550 (Macro Names, testsuite Invocation): Replace uses of these
2551 obsolete macros with uses of non-obsolete macros.
2553 2006-08-29 Eric Blake <ebb9@byu.net>
2555 * configure.ac (AC_INIT): Bump to 2.60b.
2558 2006-08-28 Eric Blake <ebb9@byu.net>
2560 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
2561 mistakenly swapped on 2006-08-15.
2563 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
2565 * NEWS: Version 2.60a.
2567 2006-08-25 Stepan Kasal <kasal@ucw.cz>
2569 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
2570 file created by the PGI compiler.
2572 2006-08-25 Noah Misch <noah@cs.caltech.edu>
2574 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
2577 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
2579 Fix Lex library problem reported to us by Julio Garvia.
2580 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
2581 for the default, which the user can override.
2582 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
2584 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
2585 didn't work if some values were cached but not others. Test for
2586 broken lex libraries like native ia64-hp-hpux11.22; see
2587 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
2588 work around the problem by preferring an empty LEXLIB to -lfl or
2589 -ll. Let the user set LEXLIB='' to indicate no library needed.
2591 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
2593 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2595 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
2597 Rework to use more-modern build style.
2598 Many files are renamed; all uses of their names were changed.
2599 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
2600 * .x-sc_useless_cpp_parens: New file.
2601 * build-aux/config.guess: Renamed from config/config.guess. Update.
2602 * build-aux/config.sub: Renamed from config/config.sub. Update.
2603 * build-aux/elisp-comp: Renamed from config/elisp-comp.
2604 * build-aux/install-sh: Renamed from config/install-sh. Update.
2605 * build-aux/mdate-sh: Renamed from config/mdate-sh.
2606 * build-aux/missing: Renamed from config/missing.
2607 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
2608 * build-aux/vc-list-files: Renamed from config/vc-list-files.
2609 * config/Makefile.am: Removed.
2610 * config/mkinstalldirs: Removed.
2611 * config/move-if-change: Removed.
2612 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
2613 * Makefile.am (SUBDIRS): Remove config.
2614 (ACLOCAL_AMFLAGS): Include from m4, not config.
2615 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
2616 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
2617 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
2618 Fail if there's an error.
2619 * Makefile.cfg (move_if_change): Remove.
2620 (wget_files): Remove.
2621 (cvs_executable_files): New macro.
2622 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
2623 (executable-update): Use $(cvs_executable_files).
2624 (local-checks-to-skip): Remove.
2625 * Makefile.maint: Merge from coreutils, plus add our own changes
2626 (gzip_rsyncable): New macro.
2628 (CVS_LIST): Use build-aux/vc-list-files.
2629 (VERSION_REGEXP): New macro.
2630 (local-checks-available): Add patch-check, $(syntax-check-rules),
2632 (syntax-check-rules): Compute dynamically.
2633 (sc_cast_of_x_alloc_return_value): Work even if no source files.
2634 (sc_cast_of_alloca_return_value): Likewise.
2635 (sc_prohibit_atoi_atof): Simplify regexp.
2636 (sc_no_if_have_config_h, sc_require_config_h):
2637 (sc_prohibit_assert_without_use,
2638 (sc_obsolete_symbols): Check for O_NDELAY.
2639 (sc_texi_notab): Remove.
2640 (sc-changelog): Don't make an exception for '----' lines.
2641 (.re-list): Remove, so we don't have a junk file behind.
2642 (sc_system_h_headers): Remove the need for .re-list.
2643 (sc_the_the): New rule.
2644 (sc_tight_scope): Simplify.
2645 (sc_trailing_blank): Renamed from sc_trailing_space.
2646 (longopt_re): New macro.
2647 (sc_two_space_separator_in_usage): New rule.
2648 (sc_unmarked_diagnostics): Look at all files under CVS.
2649 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
2650 (news-date-check, changelog-check): Version is OK.
2651 (po-check): Look for lib files even if not in CVS.
2652 (copyright-check): Use $() not ``.
2653 (maintainer-distcheck): Do not depend on changelog-check.
2654 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
2655 Also check for -Wpointer-arith.
2656 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
2657 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
2659 (announcement): Add --gpg-key-id arg.
2661 (move_if_change): Just use mv.
2662 (local_updates: Remove wget-update, po-update.
2663 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
2664 (config.guess-url_prefix, config.sub-url_prefix): Remove.
2665 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
2666 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
2667 ($(get-targets)): Remove.
2668 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
2669 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
2670 (cvs-update): Get from gnulib.
2671 (emut_upload_commands): gnupload is in build-aux now.
2672 (alpha beta major): Add changelog-check. Check version.
2673 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
2674 (AC_CONFIG_FILES): Remove.
2675 * bin/autoconf.as: Add spaces to avoid distcheck warning.
2676 * config/announce-gen: Sync from coreutils.
2677 * doc/make-stds.texi: Sync from gnulib.
2678 * doc/standards.texi: Likewise.
2679 * man/Makefile.am: Adjust for config -> build-aux renaming.
2680 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
2681 * tests/local.at: Adjust from config -> build-aux renaming.
2682 * tests/tools.at: Likewise.
2683 * tests/torture.at: Likewise.
2685 * NEWS: The C99 check now tests for vararg macros and 64-bit
2687 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
2688 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
2689 64-bit preprocessor ints. Check for static initialization of
2690 long long. Remove unnecessary casts.
2692 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2694 * doc/autoconf.texi (Particular Programs): Mention that
2695 @INSTALL@ and @MKDIR_P@ may vary for different output files.
2696 Reported by Alexandre Duret-Lutz.
2698 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
2700 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
2701 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
2703 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
2705 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
2707 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
2708 pacify insanely picky compilers. Problem reported by Eric Blake.
2710 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
2711 longer supported by Sun.
2713 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
2715 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
2716 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
2717 -Wundef -Werror". Problem reported by David Fang in
2718 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
2719 * doc/autoconf.texi (Header Templates, Default Includes):
2720 (Particular Functions, Generic Functions, Header Portability):
2721 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
2722 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
2723 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
2724 Prefer #ifdef to #if.
2725 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
2726 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
2727 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2728 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
2730 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2731 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
2732 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
2733 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2734 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
2735 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
2738 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
2740 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
2741 problems with arg script text that doesn't end in newline, and
2742 with '-e a...'. Problems reported by Ralf Wildenhues.
2744 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
2746 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
2747 check for libXt by a check for libX11.
2749 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2751 * doc/autoconf.texi (config.status Invocation): Adjust according
2754 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2756 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
2757 --help' should mention that `--version' outputs configuration
2758 settings. Report by Bruno Haible.
2760 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
2762 Fix test suite failures reported by Pierre in
2763 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
2764 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
2765 the compiler created a file "b.out" when it didn't create anything
2767 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
2768 Discard stderr too, when invoking the test script.
2770 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
2772 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
2773 in the restoring of the werror flag.
2775 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
2777 * doc/autoconf.texi (Volatile Objects): Be even a little
2778 less skeptical about "volatile", after discussion with
2779 Bruno Haible on bug-gnulib.
2780 (Limitations of Usual Tools): Warn about sed stripping
2781 leading white space from text. From Bruno Haible.
2783 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
2785 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
2786 compiler complains about it, even if things works after the
2787 complaint. Problem reported by Peter O'Gorman.
2789 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
2790 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
2791 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
2793 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
2795 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
2796 after -R regardless of host. Patrick Welche reports that this
2797 fixes things on NetBSD 3.99.
2799 * NEWS: Recommend M4 1.4.5.
2801 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2802 * tests/tools.at (autom4te cache): Update wording of diagnostic
2805 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
2807 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
2808 under AC_C_VOLATILE.
2809 (Volatile Objects): Be a little less skeptical about what
2810 "volatile" means. Derived from thoughts by Ben Pfaff in
2811 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
2813 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2815 * doc/autoconf.texi: Fix some typos.
2817 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
2819 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2820 more globally, since the 2006-06-30 patch didn't suffice. Problem
2821 reported by Keith Marshall. Also, don't bother with builddir2,
2822 since it shouldn't be needed any more.
2824 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
2826 * doc/autoconf.texi (Generic compiler characteristics):
2827 Document AC_COMPUTE_INT. Fix wrong statements on Default
2828 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
2830 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
2831 (_AC_COMPUTE_INT): Add obsoletion warnings.
2832 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
2835 * NEWS: Document change.
2837 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
2839 * doc/autoconf.texi (Volatile Objects): New section.
2841 * NEWS: Document previous change.
2843 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
2845 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
2846 Require that long long int be at least 64 bits wide. C99 requires
2847 this and enough programs depend on it so we should check for it.
2848 Bruno Haible reports in
2849 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
2850 that long long int is 32 bits wide with some nonstandard compilers.
2851 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
2853 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
2855 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2856 to a nonexistent file, so that we don't have to worry about
2857 a local site configuration that doesn't use /usr/local.
2858 Problem reported by Keith Marshall in
2859 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
2861 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
2863 * doc/autoconf.texi: Be more consistent about using @acronym with
2864 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
2865 quite right (it talked about "OSF/Tru64", even though the
2866 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
2867 and it even mentioned "OSF 4"!) and at this point there's little
2868 reason to talk about OSF any more, since it died in 1994.
2869 (Specific Compiler Characteristics): Simplify example of
2870 negative-size array.
2871 (File Descriptors): Reorder to make the text flow better.
2872 Remove joke about "appreciate the various levels"; I didn't get it.
2873 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
2874 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
2875 (File Descriptors, Limitations of Usual Tools):
2876 Tone down the advice against renaming or removing open files.
2877 (Limitations of Usual Tools): Add a new section, on 'rm'.
2879 2006-06-26 Stepan Kasal <kasal@ucw.cz>
2881 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
2882 -lXt in LIBS, idea from Karsten Hopp; this was due since
2885 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
2886 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2887 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2888 (which belong to Xt, not X itself). See Debian bug 327655.
2890 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2892 * configure.ac (AC_INIT): Bump to 2.60a.
2895 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2899 * configure.ac, NEWS: Update.
2901 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2903 * config/texinfo.tex: Sync from upstream.
2905 * bin/autom4te.in (handle_traces): Transform the `@S|@'
2906 quadrigraph correctly in traces.
2908 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
2911 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
2912 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
2914 * doc/autoconf.texi (Changed Directory Variables): New node,
2915 to document the whole `datarootdir' business a bit better.
2917 * tests/torture.at (datarootdir workaround): Extend test.
2918 Prompted by report by Alexandre Julliard.
2920 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
2922 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
2923 when using default mode of IBM C 6 for AIX. Problem and two-line
2924 fix reported by Larry Jones.
2926 2006-06-22 Alexandre Julliard <julliard@winehq.org>
2928 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
2929 about literal '${datarootdir}' if a definition is found in the
2932 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
2934 * NEWS: Use "M4" rather than "m4" when appropriate.
2935 Problem reported by Eric Blake.
2936 * doc/autoconf.texi: Likewise.
2937 Use @acronym around BSD, GCC, and GNU when appropriate.
2938 (Why GNU M4): Renamed from "Why GNU m4".
2939 (Redefined M4 Macros): Mention that Posix
2940 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
2941 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
2944 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2946 * bin/autom4te.in (handle_output): Do not forbid the empty
2948 * tests/tools.at (autoconf: the empty token): New test.
2950 2006-06-20 Stepan Kasal <kasal@ucw.cz>
2952 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
2953 calls, so that we do not care whether they are LIFO or FIFO;
2954 in the m4_wrap, do not check which diversion is the topmost
2955 one, just check that the stack is balanced at the end.
2956 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
2957 base diversion forever--pop the previous diversion before
2958 opening the new one; consequently, remove the m4_wrap call.
2959 * lib/autotest/general.m4 (AT_INIT): Likewise.
2960 * tests/m4sugar.at: Do not use
2961 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
2963 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
2964 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2966 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
2967 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
2968 Rework example of m4wrap token-pasting trouble so that it doesn't
2969 care whether it's LIFO or FIFO.
2970 Fix some "contrary to"s that are awkward in English.
2972 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2974 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
2975 to `yes' instead of `int$1_t' if the type is found, for more
2976 consistent configure output (where $1 is the number of bits).
2977 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
2978 Suggested by Bruno Haible.
2980 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
2981 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
2982 with system headers. Report by Bruno Haible.
2984 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2986 * config/config.guess, config/config.sub: Sync from upstream.
2988 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
2989 in order to avoid picking up an older installed frozen m4sh.m4f.
2990 Besides an outdated shell startup, this could have been created
2991 by an earlier M4 version with incompatible frozen file format.
2993 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
2995 * README: Recommend m4 1.4.4 instead of 1.4.3..
2996 * doc/autoconf.texi: Likewise.
2997 (Special Chars in Names): Say that $(.FOO) is portable, as
2998 suggested by Stepan Kasal.
2999 (Installation Directory Variables, Build Directories):
3000 (Automatic Remaking, Subdirectories, Fortran Compiler):
3001 (Making testsuite Scripts, Defining Directories):
3002 Quote variable usages better.
3003 (Making testsuite Scripts): Add clean-local rule to makefile
3004 snippet, by Eric Blake.
3005 (Installation Directory Variables): Fix table item font.
3006 Reword slightly to clarify. Generalize advice about
3007 not using special characters to include all file-related
3008 vars, not just VPATH.
3009 (Special Chars in Variables): Warn about special characters in
3011 (Assignments): Clarify default-value example as suggested by
3013 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
3014 (Special Shell Variables): Note leading ./ or ../, as suggested
3016 (Limitations of Builtins): Under cd, warn about CDPATH.
3017 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
3020 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3022 * doc/autoconf.texi (Configuration Actions): Remove duplicate
3023 `@var', for texi2html.
3024 (Systemology): Some more word wrapping, for DVI output.
3025 (autom4te Invocation): The short option for `--melt' is `-M',
3028 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
3030 * doc/autoconf.texi: More formatting and English tweaks,
3031 many suggested by Ralf Wildenhues.
3032 Reword to avoid "@code{...}'s" and the like, since it's ugly
3033 with Emacs info mode. discontents -> woes.
3034 Put a few "will"s back. time stamp -> timestamp.
3035 side-effect -> side effect.
3037 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
3039 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
3040 Warn about $@ not persisting. Problem reported by Julien Danjou in
3041 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
3042 (Special Chars in Names): Renamed from Leading _ in Macro Names.
3043 Mention other special chars, too.
3045 2006-06-14 Eric Blake <ebb9@byu.net>
3047 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
3049 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
3051 * doc/autoconf.texi: Some systematic minor improvements, as
3052 follows. Use "makefile" when talking about makefiles
3053 generally (which might be named "makefile" or "Makefile" or even
3054 "foo.mk"), "Makefile" when talking about a specific makefile
3055 called "Makefile". This unclutters the text from weird quotes
3056 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
3057 values" rather than "@var{foo}s" and similar constructs containing
3058 "}s". Use "Make rules" rather than "Makefile rules". Minor
3059 English-language improvements. Change the prefix "sub-" to "sub"
3061 Put blank lines around examples more consistently.
3062 Avoid "rather" and "very" as intensifiers.
3063 Avoid "will" as an auxiliary.
3064 (Limitations of Make): Split this node into....
3065 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
3066 (Leading _ in Macro Names, Backslash-Newline-Newline):
3067 (Backslash-Newline Comments, Long Lines in Makefiles):
3068 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
3069 (obj/ and Make, make -k Status, VPATH and Make):
3070 (VPATH and Double-colon, $< in Explicit Rules):
3071 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
3072 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
3073 New nodes, resulting from splitup of Limitations of Make.
3074 All cross-references changed. Raise the top node from
3075 a section to a chapter, and all subnodes accordingly.
3076 Redo the introductory wording to match the new organization.
3077 (Installation Directory Variables): Use an example that is
3078 closer to what Autoconf actually does. Mention that VPATH's
3079 value should not contain metacharacters or white space.
3080 (Fortran Compiler): Fix a VPATH bug in an example.
3081 (Leading _ in Macro Names): Mention that this problem is no longer
3082 of practical concern.
3083 (VPATH and Make): Reword the advice to make it clearer
3084 that Autoconf and Automake support VPATH in non-GNU make, but
3085 many packages have bugs in this area.
3086 ($< in Explicit Rules): Refer to Build Directories rather
3087 than using a (non-VPATH-safe) example.
3088 (Automatic Rule Rewriting): Mention the sort of disaster that
3089 can ensue with Solaris-style rule rewriting with VPATH.
3091 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3093 * doc/install.texi (Compilers and Options): Weaken the
3094 suggestion to use GNU make for VPATH builds.
3096 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
3097 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
3099 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
3100 in regular expression.
3102 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3104 * doc/autoconf.texi (Installation Directory Variables):
3105 Drop extra @samp from `@table @samp' item.
3106 (Limitations of Usual Tools): Comment fix.
3107 Do not nest @samp just to point to other table items.
3108 (Writing testsuite.at) <AT_CHECK>: The second argument to
3109 `@dvar' is already @samp'ed.
3110 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
3111 do not use @var in the second argument.
3113 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
3115 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
3116 $as_shell.exe too. Problem reported by Andreas Buening in
3117 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
3119 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3121 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
3122 `unused variable' compiler warning, for `-Wall -Werror'.
3123 Reported by Jaap Haitsma in
3124 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
3126 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
3128 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
3129 case the compiler dumps core. Problem reported for
3130 OpenServer 5.0.7 by Tim Rice in
3131 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
3132 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
3135 2006-06-06 Tim Rice <tim@multitalents.net>.
3137 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
3138 "ERROR" only shows up in "make check" output if there is an
3141 2006-06-06 Eric Blake <ebb9@byu.net>
3143 * tests/tools.at (automatically allowed tokens): Fix typo.
3145 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3147 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
3149 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
3150 typically overflows on x86 CPUs, even though the C standard
3153 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3155 * configure.ac (AC_INIT): Bump to 2.59e.
3158 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3162 * config/texinfo.tex: Sync from upstream.
3164 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
3165 seen, invoke libtoolize with `--ltdl' argument.
3166 * lib/autom4te.in (Autoreconf-preselections): Adjust.
3168 Suggested by Eric Blake.
3170 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3172 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
3173 reported by Ralf Wildenhues.
3174 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
3176 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3180 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3182 * doc/autoconf.texi: Modernize some of the references to Solaris.
3184 2006-06-05 Stepan Kasal <kasal@ucw.cz>
3186 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
3187 message issued by AC_REQUIRE.
3188 * tests/m4sugar.at: Check m4_require's error message.
3189 * tests/base.at: Check AC_REQUIRE's error message.
3190 * tests/local.at (AT_CHECK_M4): New macro, almost identical
3192 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
3194 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
3195 `expout' as the last parameter.
3196 * tests/tools.at: Adapt to the above change.
3198 2006-06-04 Stepan Kasal <kasal@ucw.cz>
3200 * doc/autoconf.texi (Limitations of Usual Tools): Correct
3201 information about race-free implementations of mkdir.
3203 2006-06-04 Eric Blake <ebb9@byu.net>
3205 * bin/autoreconf.in (help): Document M4 environment variable.
3206 * bin/autoconf.as (Usage): Likewise.
3207 * bin/autom4te.in (help): Likewise.
3208 * doc/autoconf.texi (autom4te Invocation): Likewise.
3210 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
3212 * NEWS: GNU make now recommended for VPATH builds.
3213 Mention that some macros are now documented to be obsolescent.
3214 * doc/autoconf.texi:
3215 Prefer "current" to "modern" to describe
3216 currently-used (albeit perhaps old-fashioned) hosts.
3217 Mention which ancient features no longer need to be worried about.
3218 setgid -> set-group-ID
3219 setuid -> set-user-ID (these are the Posix terms)
3220 Fix some misuses of "only".
3221 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
3222 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
3223 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
3224 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
3225 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
3226 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
3227 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
3228 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
3229 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
3230 Mention that these macros are obsolescent.
3231 (Installation Directory Variables): shall -> should
3232 (File Descriptors): Mention that 0, 1, 2 might get reopened.
3233 Mention that it's now safe to use 3 and 4.
3234 (Limitations of Usual Tools): cp -r is now specified by Posix.
3235 Omit longwinded and obsolescent discussion of cp -f.
3236 Modernize discussion of expr, ls.
3237 (Limitations of Make): Modernize discussion of VPATH builds.
3238 Mention $? as a workaround in some cases.
3239 * doc/install.texi (Basic Installation):
3240 Mention "./configure; make; make install" first. Be more
3241 specific about why this file is generic. Remove unnecessary
3242 parens. Remove misleading "only". Remove obsolete advice
3243 about csh. Don't say "configure" takes awhile; say it
3244 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
3245 and CC=c99 rather than CC=c89, as these are blessed by current
3246 Posix. Recommend GNU make if doing a VPATH build.
3248 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
3250 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
3251 examples involving shell prompts.
3253 2006-06-02 Stepan Kasal <kasal@ucw.cz>
3254 and Paul Eggert <eggert@cs.ucla.edu>
3256 * doc/autoconf.texi (Here-Documents): Add details about the
3257 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
3258 use "here-documents" instead of "here documents".
3260 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3262 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
3264 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
3266 * doc/autoconf.texi (File System Conventions): Warn about ":"
3267 anywhere in directory names.
3269 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
3271 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
3272 about quoting the case statement, just in case.
3273 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
3274 was fixed in ksh93g; reported by Ralf Wildenhues.
3276 2006-05-31 Stepan Kasal <kasal@ucw.cz>
3278 * doc/autoconf.texi (System Services): Do not document
3279 overriding EXEEXT via ac_cv_exeext=ext.
3280 (Particular Programs) <AC_PROG_MKDIR_P>:
3281 Document that ${MKDIR_P} understands --.
3282 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
3285 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3287 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
3288 argument with leading hyphen. Problem reported by Paul Eggert.
3290 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
3292 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
3293 about quoting ac_try: quote all of it, if any of it seems suspicious.
3294 This means we don't have to worry about ${ or sed any more.
3295 Also, double-quote the case statement, to work around misuses via
3296 underquoting as reported by Ralf Wildenhues in
3297 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
3298 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
3299 undocumented and dangerous macro.
3300 Problem reported by Ralf Wildenhues in
3301 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
3303 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3305 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
3306 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
3307 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
3309 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
3311 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
3312 since evidently some packages rely on the old, broken behavior.
3313 Problem reported by Ralf Wildenhues in
3314 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
3315 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
3316 pre-2006-05-26 definitions, but leave in the comments that
3317 these macros are dangerous and should not be used.
3318 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
3319 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
3320 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
3321 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
3322 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
3324 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
3326 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
3327 the use of 'tr', since this is our only use of 'tr'.
3329 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3330 and Paul Eggert <eggert@cs.ucla.edu>
3332 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3333 Don't assume 'grep' works on long lines, since AIX grep doesn't.
3335 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3337 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
3338 the output file in the `${datarootdir}' test.
3340 2005-05-28 Stepan Kasal <kasal@ucw.cz>
3341 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3343 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
3344 mention of `datarootdir' in the input file(s), but literal
3345 `${datarootdir}' in the output file, and we haven't warned yet,
3346 then warn as well: the user may have (erroneously) used
3347 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
3348 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
3349 * tests/torture.at (datarootdir workaround): Extend this test.
3352 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3353 and Paul Eggert <eggert@cs.ucla.edu>
3355 * doc/autoconf.texi (autoheader Invocation): The first argument to
3356 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
3357 alternatives and clear up the language a bit.
3359 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
3361 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
3362 ac_config_guess, ac_config_sub, ac_configure.
3363 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3364 Fix typo that prevented an unnecessary space from being removed.
3365 Problems reported by Ralf Wildenhues in:
3366 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
3368 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
3370 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
3371 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
3372 Don't use the term "thread-safe" to talk about mkdir race
3373 conditions, since the problem is more a process than a thread
3374 issue. Problem reported by Stepan Kasal in:
3375 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
3376 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
3377 the test for 'install' more closely. Look at MKDIR_P first.
3378 Look in the PATH, and at /opt/sfw/bin.
3379 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
3380 Don't bother to try mkdir -p, since we already check mkdir --version;
3381 just look at the version number. (There's no easy way to check
3382 for race-free implementations.)
3383 * tests/tools.at (autoconf: subdirectories): Adjust to above
3384 changes, since MKDIR_P now might end in "/mkdir -p".
3386 * doc/autoconf.texi (autoheader Invocation): Mention that the
3387 first arg of AC_DEFINE_UNQUOTED must be a literal.
3388 Problem reported by Ben Pfaff in
3389 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
3391 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
3392 * doc/autoconf.texi (Special Chars in Variables): New section.
3393 (Preset Output Variables): Warn about special chars in CPPFLAGS.
3394 (Installation Directory Variables): Quote $(datadir) better.
3395 (Limitations of Builtins): Describe some of eval's trickiness.
3397 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
3398 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
3399 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
3400 in front of every arg, not just trailing args. Quote apostrophes.
3401 (_AC_EVAL_ECHO): New macro.
3402 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
3403 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
3405 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
3406 exposed by quoting of eval argument. Put the command on line line
3408 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
3409 (_AC_PATH_X, AC_PATH_X): Quote more safely.
3410 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
3411 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
3412 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
3413 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
3414 Use eval more safely.
3415 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
3416 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
3418 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
3419 lines, exposed by quoting of eval argument.
3421 2006-05-26 Stepan Kasal <kasal@ucw.cz>
3422 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3424 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
3425 initialization of `ac_cv_exeext', do not override it if it was
3426 already set, unless it was set to `no', for compatibility with
3427 Autoconf-2.13, and comment this.
3428 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
3429 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
3430 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
3431 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
3432 Document that this test may be overridden by setting
3435 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3437 Revert these two patches:
3439 2006-04-06 Eric Blake <ebb9@byu.net>
3440 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3441 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
3444 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3445 Clean up _AC_COMPILER_EXEEXT* macros.
3446 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3447 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3448 ac_file to the name of the default output file and call
3449 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
3450 initial `rm' of the candidate files...
3451 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
3452 the same list in subsequent `rm' calls, and for the temporary
3453 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3454 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3455 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3456 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3457 no longer needed) by libtool. Make it a cache check.
3458 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3459 copied here by mistake.
3460 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3461 _AC_COMPILER_EXEEXT.
3462 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3463 _AC_COMPILER_OBJEXT directly.
3464 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3466 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3468 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
3469 Fix description of how the buggy `sed' works.
3471 2006-05-25 Noah Misch <noah@cs.caltech.edu>
3475 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
3476 ENOLCK. Only mention `make -j' when applicable. Only raise
3477 fatal errors when `make -j' is involved. Improve error message.
3479 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3481 * doc/autoconf.texi (Here-Documents): We now know more about
3482 the variable expansion in here documents bug.
3483 Thanks to Tim Rice and Stepan Kasal.
3485 * doc/autoconf.texi (Making testsuite Scripts): Add an example
3486 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
3488 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3490 * tests/autotest.at (Multiline command from M4 expansion):
3491 No failure to be expected if the shell quotes newlines in
3492 commands in the `set -x' output. Report by Tim Rice.
3495 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
3497 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
3498 expansion in the here-documents used by config.status, as that
3499 runs afoul of the Korn shell version M-12/28/93d bug described in
3500 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
3501 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
3502 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
3504 2006-05-23 Jim Meyering <jim@meyering.net>
3506 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
3507 Fix typo introduced with 2006-04-02 change. It reversed the sense
3510 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
3512 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
3513 ac_dB slightly, to save bytes in the script.
3514 Max out at 50 lines, rather than 96; this is more likely
3515 (though not guaranteed) to avoid obscure 'sed' failures.
3517 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3519 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
3520 `tr -d -' as bad option argument. Work around this by deleting
3521 an unrelated character.
3522 Report by Tim Rice <tim@multitalents.net>.
3524 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
3525 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
3526 Stepan Kasal <kasal@ucw.cz>
3528 * doc/autoconf.texi (Particular Programs): Do not promise that
3529 we always prefer the GNU version of the program, and that we
3530 search according to PATH; both rules can have exceptions.
3531 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
3532 AC_PROG_SED. Move descriptions of limitations
3533 to the Limitations of Usual Tools section.
3534 (Limitations of Usual Tools) <sed>: Mention script length
3535 limitations with Solaris /usr/ucb/sed.
3536 <grep>: Fix wording for empty alternative. Mention that -c and
3537 -l should not be combined, and that -E and -F should not be
3540 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3541 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3543 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
3544 limits in Solaris 8 /usr/ucb/sed by testing a long script.
3546 2006-05-22 Stepan Kasal <kasal@ucw.cz>
3548 * doc/autoconf.texi (Defining Symbols): Literal parameter of
3549 AC_DEFINE is now passed to m4_pattern_allow.
3550 * NEWS: Mention that; likewise for AC_SUBST.
3551 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
3552 the parameter to m4_pattern_allow.
3553 * tests/tools.at: Add a check for that.
3555 2006-05-22 Stepan Kasal <kasal@ucw.cz>
3557 * lib/autoconf/status.m4: Fix typos.
3559 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3561 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3562 only the files that this macro generates.
3564 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3566 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
3567 the HP-UX sed limitation of 99 commands, labels do not count.
3568 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
3570 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
3572 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3574 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
3575 Import the following fix from coreutils:
3577 2006-01-13 Jim Meyering <jim@meyering.net>
3579 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
3580 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
3581 not double-quote uses of that variable, to accommodate the rare
3582 case in which getmntent is available in none of the libraries
3583 checked. This happens at least on FreeBSD 5.0.
3585 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
3587 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
3588 ac_config_guess, ac_config_sub, and ac_configure, since evidently
3589 some other programs unwisely rely on these undocumented vars.
3590 But put in warning comments about them.
3591 Problem reported by Ralf Wildenhues in
3592 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
3593 * NEWS: Document that these variables are intended to go away.
3595 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3597 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
3598 and set the language to C++ (analogous to the equivalent Fortran
3601 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
3602 * doc/autoconf.texi (C++ Compiler): Document it.
3603 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
3606 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
3608 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
3609 that caused config.status to generate 100-command sed scripts; the
3610 portable limit is 99.
3612 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3614 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
3615 variable `ac_d' instead of `d' to avoid infringing namespace.
3616 Report by Ralf Menzel.
3618 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
3620 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
3621 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
3622 * tests/tools.at (autoconf: subdirectories): New test, taken from
3623 the corresponding problem report by Ralf Wildenhues in:
3624 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
3626 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
3627 Quote some uses of shell variables if they might suffer unexpected
3628 globbing. This doesn't fix all instances of quoting problems that
3629 I found, just the easy ones that look safe.
3630 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
3631 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
3632 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
3633 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
3634 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
3635 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3636 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
3638 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
3639 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
3641 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3643 * bin/autoreconf.in ($help): Reword according to the manual.
3644 Suggested by Olly Betts.
3646 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
3647 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3649 * bin/autoreconf.in: Pass the directory argument to
3650 `require_configure_ac'. Fix comment.
3651 * tests/torture.at (Configuring subdirectories): Expose this.
3652 Reported by Olly Betts.
3654 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3656 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
3657 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
3658 Automake as follows:
3660 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
3661 `$configure_in' instead of `configure.in', to preserve
3662 directory component.
3664 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3666 * config/config.guess, config/config.sub, config/texinfo.tex,
3667 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
3669 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
3671 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
3672 test for C99 conformance; (bool) 0.5 is an integer constant
3673 expression, but (bool) -0.5 is not. Problem reported by Fedor
3674 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
3676 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
3678 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
3679 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
3680 Warn about obsolete install-sh files. Remove stray sentence
3681 fragment and fix cross reference.
3682 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
3683 install -d; this undoes the 2006-05-10 change.
3684 (MKDIR_P): Mark with AN_MAKEVAR.
3685 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
3686 that we don't require $INSTALL to be thread-safe. Move comments
3687 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
3688 of AC_PROG_INSTALL. Output a message saying that we're checking
3689 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
3690 MKDIR_P instead of AC_SUBST.
3691 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
3692 Special magic for MKDIR_P, too.
3693 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
3695 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
3697 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
3699 Sync from Automake, as follows:
3701 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3702 * config/install-sh: Initialize IFS, so field splitting isn't
3704 * config/mkinstalldirs: Likewise.
3705 * config/missing: Remove superfluous quotes. Replace all uses of
3706 `[' by `test', for consistency, and for..
3707 * config/missing (sed_minuso, sed_output): New variables.
3708 (autom4te, help2man, makeinfo): Use them. Unifies detection of
3709 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
3710 Fixes `missing' to detect `--output' for help2man. Fixes
3711 PR automake/483. Report by Dennis J. Linse.
3712 (autom4te): Document in `missing --help'.
3714 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
3716 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
3717 * config/install-sh: Don't use 'path' to talk about file names,
3718 as per GNU coding standards. Close a race condition reported by Ralf
3719 Wildenhues and Stepan Kasal. There is still a race condition
3720 on hosts that predate Posix 1003.1-1992, but we can't help this.
3721 Don't mishandle weird characters like space on pre-Posix hosts.
3722 Invoke mkdir at most once per dir arg on pre-Posix hosts.
3723 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
3724 AC_PROG_MKDIR_P from AS_MKDIR_P.
3725 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
3726 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
3727 earlier editions are not (including Automake 1.8.3).
3728 Do not suggest mkinstalldirs for thread-safety.
3729 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
3730 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
3731 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
3732 presence of special characters and race conditions.
3733 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
3734 in Autoconf's name space.
3736 2006-05-10 Bruno Haible <bruno@clisp.org>
3737 and Paul Eggert <eggert@cs.ucla.edu>
3739 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
3740 from Automake with minor changes.
3741 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
3743 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
3745 * config/install-sh: Update to Automake CVS version, as follows:
3746 2006-04-25 Stepan Kasal <kasal@ucw.cz>
3747 * lib/install-sh: Simplify the expr implementation of dirname.
3748 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
3749 * lib/install-sh: Handle --, and diagnose unknown options.
3751 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3753 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
3754 `./autom4te' to create `./testsuite', since the `all' target
3755 will ensure its presence, but `installcheck' should not create
3756 the uninstalled wrappers.
3758 * tests/torture.at (Unusual Automake input files): Skip if we
3759 detect automake < 1.8.
3761 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3763 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
3764 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
3765 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
3768 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3770 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
3771 munge (multiple) white space and other oddities.
3772 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
3773 single quotes in variable assignment.
3774 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
3775 and similar failures by adding multiple spaces, tabs, and other
3777 Report and different test suggested by Francesco Romani
3778 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
3780 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
3781 single quotes, we only need to search for single quotes; this
3782 both simplifies the search pattern, and makes us less
3783 susceptible to `echo' variations for arguments not containing
3785 (_AC_ARG_VAR_VALIDATE): Likewise.
3787 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3789 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
3790 `$*' and IFS concatenation issue with traditional shells and
3791 bash-2.04. Report by Seanster@Seanster.com.
3793 2006-05-03 Bruno Haible <bruno@clisp.org>
3795 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
3796 precisely which Mac OS X versions have the od problem.
3798 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
3800 * doc/autoconf.texi: Use @option systematically.
3802 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
3803 and Bruno Haible <bruno@clisp.org>
3805 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
3807 (Integer Overflow): Mention the special case of integer division
3810 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3812 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
3813 traditional shells like the Solaris one that do not use the
3814 first IFS character for assembling `$*'.
3815 Prompted by a related report from autoconf_bug@nro.ca.
3817 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
3818 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3820 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
3821 Mention more problems with the -e option.
3823 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3826 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
3828 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
3829 in URLs to improve DVI formatted output (requires texinfo 4.6).
3830 (System Services, Systemology, Shellology): Likewise.
3831 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
3834 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
3836 (Runtime): Fix macro argument names to match description:
3837 `action-if-found' -> `action-if-true' and similarly.
3838 (Obsolete Macros): Likewise.
3839 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
3840 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
3841 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
3843 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3845 * doc/autoconf.texi (Limitations of Make): Clean up markup.
3848 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
3851 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3853 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
3854 /bin/sh set unsorted output.
3855 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
3856 * tests/local.at: Likewise.
3858 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
3860 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
3861 (Integer Overflow, Null Pointers, Buffer Overruns):
3862 (Floating Point Portability, Exiting Portably): New sections.
3863 (Writing Test Programs): Fix some langauge. Recommend exiting
3864 with status 1, not merely nonzero. Clarify exit declaration.
3865 (Run Time): Move C exit status stuff to new Exiting Portably section.
3866 (Systemology): Mention Posix and levenez. Update v7 reference.
3867 (Portable Shell): Mention the Posix shell.
3869 2006-04-25 Stepan Kasal <kasal@ucw.cz>
3871 * bin/autoconf.as (me): Replace by as_me.
3873 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
3875 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
3876 since as_me isn't set yet.
3878 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
3880 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
3881 a few minor bugs in this area.
3883 * doc/autoconf.texi (Programming in M4sh): Comment out the
3884 documentation of AS_BASENAME, for now.
3885 (Shell Substitutions): Do not use AS_DIRNAME in an example.
3886 (Limitations of Builtins) <basename>: Do not refer to
3888 * bin/autoconf.as (me): Don't use AS_BASENAME.
3889 (dir): Remove the unused variable.
3890 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
3891 AS_DETECT_REQUIRED. All uses changed.
3892 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
3894 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
3895 (AS_BASENAME): Use "basename --" to protect against leading "-".
3896 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
3897 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
3898 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
3899 (_AS_DIRNAME_PREPARE): Likewise.
3900 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
3901 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
3902 (AS_DIRNAME): Use "dirname --".
3904 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
3906 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
3907 of "run time" and "run-time" changed to "runtime", for consistency.
3908 * lib/autoconf/fortran.m4: Likewise (in comment).
3909 * lib/autoconf/functions.m4: Likewise.
3910 * lib/autoconf/general.m4: Likewise.
3911 * lib/autoconf/headers.m4: Likewise.
3913 * doc/autoconf.texi (Run Time): Document the exit status situation
3914 with more accuracy and detail.
3916 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3918 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
3919 Archive is not officially `GNU' any more. Update URL.
3920 (Defining Directories): Likewise
3921 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
3923 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3925 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
3926 newline from the `trap' code to finish `config.log'; the NetBSD
3927 /bin/sh resets the exit status after an empty command, as
3928 documented in doc/autoconf.texi.
3929 Reported by Dalibor Topic <robilad@kaffe.org>.
3931 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
3933 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
3934 Suggested by Bruno Haible.
3936 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
3938 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
3939 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
3940 Instead, just list the shells that we know work.
3941 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
3942 changed. Be more cautious about the _cv_ variable.
3943 * tests/tools.at (Syntax of the shell scripts): Check the
3944 _cv_ variable once, at first, to avoid an internal autoconf error
3945 when sh -n does not work.
3947 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3949 * lib/Autom4te/FileUtils.pm: Sync from Automake.
3951 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
3953 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
3954 use ">&-" since we're only 99.999% sure that this is portable,
3955 and since the MinGW bug is fixed in a different way.
3956 * lib/autotest/general.m4 (AT_INIT): Likewise.
3958 2006-04-16 Stepan Kasal <kasal@ucw.cz>
3960 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
3961 before opening config.log, to avoid hitting a bug on MinGW.
3963 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
3965 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
3966 AS_MESSAGE_LOG_FD before reopening it onto the log file.
3967 This works around a MinGW bug reported by Eric Paire.
3968 Make sure that all writes to the log file append to it,
3969 rather than possibly losing data.
3970 * lib/autotest/general.m4 (AT_INIT): Likewise.
3972 2006-04-14 Stepan Kasal <kasal@ucw.cz>
3974 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
3977 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3981 * configure.ac (AC_INIT): Bump to 2.59d.
3983 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3987 * Makefile.maint (news-date-check): Do not require a leading `*'
3988 before the release date in NEWS.
3990 2006-04-12 Stepan Kasal <kasal@ucw.cz>
3991 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3993 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
3994 the instantiated file do not contain the string 'datarootdir'
3995 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
3996 @mandir@, replace the reference '${datarootdir}' by the value.
3997 * tests/torture.at (datarootdir workaround): New test.
3998 * NEWS: Advertise this temporary fixup.
3999 Based on a patch by Bruno Haible, reported and analyzed by
4000 Paul Eggert and Noah Misch.
4002 2006-04-12 Eric Blake <ebb9@byu.net>
4004 * tests/autotest.at (Debugging a failed test): Fix comment.
4006 2006-04-12 Stepan Kasal <kasal@ucw.cz>
4008 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
4009 all the changes since 2006-04-07.
4011 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4013 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
4014 succeeded, but `ln -s file dir' failed, take care to remove the
4015 leftover target before the next test, to prevent its spurious
4016 failure; also make sure `ln file dir' works before selecting it.
4017 Thanks to Keith Marshall for pointing this out.
4020 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
4021 assignments in `at_debug_args', so that we put them correctly
4022 in the `run' script.
4023 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
4024 Reported by Eric Blake.
4026 2006-04-11 Eric Blake <ebb9@byu.net>
4028 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
4029 top-level tests after micro-suite has been run. Used in...
4030 (Debugging a successful test, Debugging script and environment),
4031 (Debugging a failed test): ...these new tests. The first of these
4033 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
4034 macro, split out from...
4035 (AT_INIT): ...here, so that using -d also generates a run script.
4036 Document that -d inhibits top-level logging.
4037 * doc/autoconf.texi (testsuite Invocation): Document that -d only
4038 inhibits top-level logging; debug scripts are created.
4040 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
4042 * tests/autotest.at (Empty test, Empty check): New test to check it.
4044 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
4047 2006-04-10 Stepan Kasal <kasal@ucw.cz>
4049 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
4050 the files if a problem appears. Make the empty *.at files
4051 read-only, too. Proposed by Ralf Wildenhues.
4053 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4055 * config/Makefile.am: Add comment to force updated Makefile.in.
4057 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
4058 space only patch to this file, this patch causes the Makefile.in
4059 files that include freeze.mk to be updated, and thus have a
4060 newer time stamp again, which in turn makes a pristine CVS
4061 checkout have correct time stamps.
4063 * Makefile.maint (cvs-sv): New macro, to be used..
4064 (config.guess-url_prefix, config.sub-url_prefix)
4065 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
4066 point to CVS text checkout of Gnulib files.
4067 (copyright-check): Bump current year.
4068 (announcement): Do not hard-wire `./announce-gen'.
4069 (cvs-update): Propagate failures of `cvs' and `move-if-change'
4071 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
4073 (wget_files): Update config.guess, config.sub, texinfo.tex by
4074 `wget-update', now that their URLs work again.
4076 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
4078 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
4079 Problem noted by Paul D. Smith.
4081 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4083 * doc/autoconf.texi: Remove unused words from word list.
4084 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
4085 .x-sc_trailing_space: New files.
4087 * doc/standards.texi: Sync from gnulib.
4089 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
4090 `LIBOBJDIR' as experimental.
4092 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
4093 with a target directory; it's internally implemented as `cp'
4094 anyway, but since Autoconf advertises the possibility to use
4095 a target directory when LN_S is `ln -s', we need to find out.
4096 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
4097 analyzed by Keith Marshall <keith.marshall@total.com>.
4101 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
4103 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
4104 confdefs.h as-is. In general, if it has backslash-newline or the
4105 like, then it doesn't work either to sort or to remove empty
4108 2006-04-09 Stepan Kasal <kasal@ucw.cz>
4110 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
4112 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
4114 * lib/autom4te.in (Automake-preselections): Preselect
4117 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
4119 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
4120 apostrophe within a single-quoted string, as this is the usual
4121 tradition and is easier to read than '"'"'. Don't rely on the
4122 shell treating "$/" like '$/'. Use a more-consistent indenting
4125 2006-04-09 Eric Blake <ebb9@byu.net>
4127 * tests/autotest.at (Backquote command substitution),
4128 (Multiline backquote command substitution): Remove mistaken
4129 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
4131 (Parenthetical command substitution, Multiline parenthetical
4132 command substitution): here.
4134 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
4136 Import macros from gnulib (often changing their name).
4138 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
4139 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
4140 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
4141 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
4142 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
4143 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
4144 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
4145 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
4146 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
4147 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
4148 The manual mentions Gnulib more prominently.
4149 * doc/autoconf.texi (Gnulib): New node.
4150 (Pointers): Add Gnulib URL.
4151 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
4152 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
4154 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
4155 suggest a #define rather than a typedef for _Bool, and mention
4156 Gnulib rather than trying to substitute stdbool code.
4157 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
4158 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
4159 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
4160 AC_STRUCT_DIRENT_D_TYPE.
4161 (Particular Types): Mention stdint.h and inttypes.h as standard
4163 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
4164 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
4165 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
4166 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
4167 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
4168 (C Compiler): Move AC_C_LONG_DOUBLE to ...
4169 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
4170 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
4171 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
4172 (Coding Style). Don't mention m4_expand_once.
4173 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
4174 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
4175 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
4176 (AC_CHECK_FUNCS): Use it.
4177 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
4178 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
4179 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
4180 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
4181 (AC_HEADER_ASSERT): New macro.
4182 (AC_HEADER_STDBOOL): Don't assume "#error" works.
4183 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
4184 Catch a bug in an HP-UX C compiler.
4185 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
4186 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
4187 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
4188 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
4189 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
4190 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
4193 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
4194 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
4196 2006-04-08 Stepan Kasal <kasal@ucw.cz>
4198 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
4199 of the warning introduced by the 2001-08-28 change.
4201 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
4202 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4204 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
4205 variables shall be overriden by the cache.
4206 * tests/torture.at (AC_ARG_VAR): Test also with a first value
4207 that contains braces.
4209 2006-04-07 Stepan Kasal <kasal@ucw.cz>
4211 Revert the patch from 2006-04-01 and only improve
4212 _AS_DETECT_BETTER_SHELL:
4214 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
4215 skip nonexistent directories.
4216 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
4217 only shell candidates which exist.
4218 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
4219 * lib/autotest/general.m4 (AT_INIT): No need to give three
4220 parameters to _AS_PATH_WALK.
4222 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
4223 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4225 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
4226 distinguish m4sugar macros.
4227 * tests/tools.at (autoupdating with aclocal and m4_include):
4228 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
4229 test case by Noah Misch <noah@cs.caltech.edu>.
4231 2006-04-07 Stepan Kasal <kasal@ucw.cz>
4233 Revert my change from 2006-03-17, in other words:
4234 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
4236 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
4237 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
4240 2006-04-07 Eric Blake <ebb9@byu.net>
4242 * doc/autoconf.texi (Programming in M4sh): Document that
4243 AS_MKDIR_P exits the script on failure.
4244 * lib/autotest/general.m4: Remove redundant AS_ERROR.
4246 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4248 * config/elisp-comp, config/install-sh, config/mdate-sh,
4249 config/missing, config/mkinstalldirs: Sync from Automake.
4251 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
4254 * doc/make-stds.texi: Sync from gnulib.
4256 2006-04-06 Eric Blake <ebb9@byu.net>
4258 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
4259 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
4262 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
4263 Eric Blake <ebb9@byu.net>,
4264 Paul Eggert <eggert@cs.ucla.edu>,
4265 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4267 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
4268 whether `set' quotes correctly: redirect stderr of the tested
4269 `set', and use a subshell, for Ultrix; use `sed' instead of
4270 `grep' for zsh `set' which may write binary output; match only
4271 at the beginning of a line, to avoid false positives.
4272 In order to avoid false positives by unrelated variables with
4273 multiline content, put the dump algorithm in a subshell and
4274 unset all variables containing newlines (except some which are
4275 special to the shell). Warn about cache variables that are
4278 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4280 * config/config.guess, config/config.sub, config/texinfo.tex:
4283 * tests/mktests.sh: Reword comments.
4285 * tests/mktests.sh: Only skip internal macros starting with
4286 `_AC_' or `__AC_'. Noted by Stepan Kasal.
4287 Update exclusion lists for the test suite to this end:
4288 (AC_ARG_VAR): Do test this now.
4289 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
4290 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
4291 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
4292 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
4294 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
4295 shell issue with double-quoted command substitutions of native
4297 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
4300 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
4301 no file matches the glob, discard the warning, set `nullglob'.
4302 (syntax-check): Likewise.
4303 (sc_cast_of_x_alloc_return_value): Likewise.
4304 (sc_cast_of_alloca_return_value, sc_error_exit_success)
4305 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
4306 (m4-check): Likewise.
4307 (sc_system_h_headers): Do not print rule on execution.
4308 (sc_tight_scope): Do not fail for non-existing `src' directory.
4309 (sc_changelog): Skip the Copyright footer.
4310 * lib/autoconf/lang.m4: Remove trailing space.
4312 * lib/autoconf/status.m4: More replacements to
4313 <tab><space> where this makes sense.
4315 2006-04-06 Stepan Kasal <kasal@ucw.cz>
4317 * tests/Makefile.am (maintainer-check-posix):
4318 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
4320 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
4321 ac_config_<foo>s again, sometimes normalized, sometimes not.
4322 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
4323 (AC_CONFIG_COMMANDS): Do not do so here.
4324 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
4325 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
4326 2005-07-25 rewrite. Noticed by Noah Misch.
4328 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
4329 _AC_PRESERVE_HELP_ORDER, ...
4330 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
4332 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
4333 inside m4_expand_once; it is redundant.
4335 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
4336 for --help from Cygnus `configure.'
4338 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
4340 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
4341 on a patch proposed by Ralf Wildenhues.
4343 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
4345 * lib/autoconf/status.m4: Replace <space>''<tab> with
4346 <tab><space> where this makes sense.
4348 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
4349 Noah Misch <noah@cs.caltech.edu>
4351 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
4352 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
4353 * doc/autoconf.texi (Help Formatting): New node.
4354 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
4356 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4358 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
4359 lib/autoconf/specific.m4, lib/autoconf/status.m4,
4360 lib/autoconf/types.m4, lib/autotest/general.m4,
4361 tests/mktests.sh, tests/torture.at: White space cleanup:
4362 remove some SPACE before TAB, or add quoting ('' or @&t@).
4364 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
4366 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
4368 2006-04-05 Eric Blake <ebb9@byu.net>
4370 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
4371 empty test suite works.
4372 * tests/autotest.at (Empty test suite): Remove xfail.
4374 2006-04-05 Noah Misch <noah@cs.caltech.edu>
4376 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
4377 TAGS to ac_config_<foo>s.
4378 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
4379 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
4380 normalizing it, consistent it with previous releases.
4381 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
4383 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
4385 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
4386 Use simplified args that Eric Blake originally suggested.
4388 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
4390 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
4391 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
4392 Use 'comm' rather than N instances of grep; this also fixes a bug
4393 whereby substrings were incorrectly matched, causing us to not
4394 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
4395 (exclude_list): Exclude empty macros.
4396 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
4398 Use awk rather than grep -E or egrep, to avoid
4399 portability problems with regular expressions containing newlines.
4400 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
4401 Switch from grep to awk syntax.
4402 (ac_exclude_script): Renamed from ac_exclude_egrep.
4403 (au_exclude_script): Renamed from au_exclude_egrep.
4405 2006-04-04 Noah Misch <noah@cs.caltech.edu>
4407 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
4408 a subdirectory subject to Cygnus `configure'.
4409 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
4411 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
4412 report request when we have no AC_PACKAGE_BUGREPORT.
4414 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4418 * tests/mktests.sh: Update copyright year in the header of the
4421 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
4422 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
4423 typedef'ed restricted pointer, to catch a compiler bug on
4424 HP-UX 11.x, and fix warnings so it passes with -Werror.
4425 (_AC_PROG_CC_C99): Likewise.
4426 Reported by Albert Chin <china@thewrittenword.com>.
4427 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
4429 2006-04-03 Noah Misch <noah@cs.caltech.edu>
4431 * bin/autoscan.in (subdirs): New global.
4432 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
4433 (output): Emit AC_CONFIG_SUBDIRS as needed.
4434 * tests/autoscan.at (autoscan): Remove XFAIL.
4436 2006-04-03 Noah Misch <noah@cs.caltech.edu>
4438 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
4440 2006-04-03 Eric Blake <ebb9@byu.net>
4442 * THANKS: Add myself.
4444 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4446 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
4447 to log, point to testsuite output tree.
4449 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
4451 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
4452 * doc/autoconf.texi (Function Portability): Mention that C++
4453 has trouble with 'exit'.
4454 (Guidelines): Test programs shouldn't use 'exit'.
4455 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4456 Remove; all uses removed.
4457 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
4458 Return from 'main' instead of calling 'exit'.
4459 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
4460 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
4461 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
4462 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
4463 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
4464 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4465 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4466 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
4467 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4468 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4469 * tests/compile.at: Likewise.
4471 2006-04-02 Pavel Roskin <proski@gnu.org>
4473 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
4475 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4477 Clean up _AC_COMPILER_EXEEXT* macros.
4479 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
4480 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
4481 ac_file to the name of the default output file and call
4482 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
4483 initial `rm' of the candidate files...
4484 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
4485 the same list in subsequent `rm' calls, and for the temporary
4486 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
4487 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
4488 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
4489 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
4490 no longer needed) by libtool. Make it a cache check.
4491 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
4492 copied here by mistake.
4493 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
4494 _AC_COMPILER_EXEEXT.
4495 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
4496 _AC_COMPILER_OBJEXT directly.
4497 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4499 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4501 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
4502 (AS_DIRNAME): Use it.
4503 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
4505 * tests/*.at: Remove the generated ones.
4507 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4509 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
4511 2006-04-01 Eric Blake <ebb9@byu.net>
4513 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
4514 directories, unless optional third argument supplied.
4515 (AS_UNAME): Don't optimize PATH walk.
4517 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
4519 2006-04-01 Eric Blake <ebb9@byu.net>
4520 and Stepan Kasal <kasal@ucw.cz>
4522 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
4525 2006-04-01 Noah Misch <noah@cs.caltech.edu>
4527 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
4528 Autoconf version number despite a zero- or one-argument AC_INIT.
4530 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
4532 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
4533 * doc/autoconf.texi (autoreconf Invocation): Document it.
4535 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
4536 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
4538 2006-04-01 Eric Blake <ebb9@byu.net>
4540 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
4541 * lib/autotest/general.m4: Be tolerant of existing directory when
4542 rm failed to remove it.
4544 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4546 * bin/autoupdate.in: Redefine m4_location so that warnings print
4547 the correct lines of the input file by subtracting..
4548 (_au__first_line): ..this new definition.
4550 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
4551 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
4552 Remove stray newline in output.
4553 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
4554 AC_DEFUN this for autoconf, including the obsoletion diagnose.
4555 Fixes autoupdating of code where the replacement output contains
4557 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4558 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
4559 (au_exclude_list): Add AC_LANG_SAVE.
4560 * tests/tools.at: Several new tests for all of this.
4561 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
4563 The AC_LANG_SAVE issue was reported against Libtool by
4564 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
4565 Kristian Kvilekval <kris@cs.ucsb.edu>.
4567 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4569 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
4570 switch all of them on and of when necessary. Fixes the bug when
4571 m4sugar macros (e.g., m4_define) were expanded after the first
4572 automatic update (e.g., after AC_PREREQ or AC_INIT).
4574 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
4576 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
4577 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
4579 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
4580 correctly. Problem reported by Eric Blake.
4581 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
4584 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
4586 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
4587 Tighten up the basename/dirname wording.
4589 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4591 * Makefile.maint (sc_texi_notab): New check: do not use TABs
4592 in texinfo files outside of verbatim environments.
4593 (syntax-check-rules): Update.
4594 * doc/autoconf.texi (Configuration Headers): Conform to it.
4596 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
4598 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
4599 aclocal cannot be given on the command line.
4601 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
4603 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
4604 Give an example for AS_DIRNAME instead of referring to Posix..
4605 (File System Conventions): Put discussion of // versus / here, and
4607 (Limitations of Usual Tools): Add basename. Remove verbiage
4608 after dirname, since it got moved to the above sections.
4609 All this was inspired by a patch proposed earlier by Eric Blake.
4611 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4613 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
4614 `$0' to protect against spaces.
4615 * lib/autotest/general.m4 (AT_INIT): Likewise.
4616 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
4619 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4621 * bin/autoscan.in: The value of find_configure_ac should be
4622 checked for existence, so we don't barf over a nonexisting
4623 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
4625 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4627 * bin/autoupdate.in: Fix some typos.
4629 2006-03-21 Stepan Kasal <kasal@ucw.cz>
4631 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
4633 * lib/autoscan/autoscan.list: Refreshed.
4635 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4637 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
4638 and Erlang related variables.
4640 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
4641 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
4642 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
4643 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
4644 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
4645 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
4646 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
4647 (_AC_PROG_OBJC_G): New macros.
4648 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
4649 * doc/autoconf.texi (Objective C Compiler): New node.
4650 (Preset Output Variables): Document OBJCFLAGS.
4651 (Language Choice): Document `Objective C' language.
4652 (Fortran Compiler): Fix typo.
4654 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
4656 2006-03-20 Stepan Kasal <kasal@ucw.cz>
4658 * doc/autoconf.texi (Default Includes): Fix typo
4659 s/AC_HEADERS_STDC/AC_HEADER_STDC/
4660 (Limitations of Usual Tools): s/unwriteable/unwritable/
4661 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
4662 Fix typos in the comments.
4664 2006-03-17 Stepan Kasal <kasal@ucw.cz>
4666 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
4667 Factor out the warning to...
4668 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
4669 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
4670 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4672 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
4673 case `ac_delim' when writing the sed script.
4675 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
4676 moved DUALCASE=1 ...
4677 (AS_SHELL_SANITIZE): ... here.
4678 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
4681 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
4683 (_AC_PATH_PROG): Store the result to VARIABLE.
4684 (AC_PATH_PROG): No need to set VARIABLE again.
4686 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
4687 the first one is usual AT_CHECK_MACRO test, the second one checks
4688 that the same works when cross-compiling.
4689 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
4690 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
4692 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4694 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
4695 the directory `/usr/bin/posix' in the shell search, to prefer
4696 the Posix shell not only in subsequent spawns as with `$BIN_SH'
4699 * doc/autoconf.texi (contents): To fix texi2html output, hide
4700 `@setcontentsaftertitlepage' for HTML.
4701 (Writing Autoconf Macros): Likewise, insert space after `@c'.
4702 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
4705 2006-03-16 Stepan Kasal <kasal@ucw.cz>
4707 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
4709 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
4710 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
4711 why IFS is restored so late; thank you, Ralf, for reminding us.
4713 2006-03-15 Stepan Kasal <kasal@ucw.cz>
4715 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
4716 variables in the examples.
4718 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
4720 * doc/autoconf.texi (several sections): Cleaned up documentation for
4721 macros in erlang.m4.
4723 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4725 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
4726 failure condition for `$(cmd)' style command substitutions.
4727 (Parenthetical command substition, Multiline parenthetical
4728 command substition): Use it.
4730 * doc/autoconf.texi (Special Shell Variables): Missing word.
4731 Reported by Keith Marshall <keith.marshall@total.com>.
4733 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
4734 IFS even in case of empty `$PATH'.
4736 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4738 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
4739 `expr' away if there is nothing to do.
4740 < --keywords >: Simplify and robustify argument handling.
4741 Revert erroneous comment from 2005-08-23. Extend to allow
4742 keyword negation with `!'.
4743 Update help message. Remove broken code to prevent running
4744 tests multiple times.
4745 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
4746 Update and fix the documentation accordingly.
4747 * tests/autotest.at (Keywords): Renamed to..
4748 (Keywords and ranges): .. this. Extended to make sure negated
4749 keywords, keywords taken from AT_SETUP arguments, and numeric
4750 test ranges work, and that matching is case-insensitive.
4752 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4754 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
4755 allow to pass unnamed structs even in C++.
4756 (AC_CHECK_SIZEOF): Likewise.
4757 Also fix quoting error in `AC_MSG_FAILURE' arguments.
4758 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
4759 struct): New tests for unnamed structs, each both native and
4762 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
4763 a structure inside a cast, for C++ conformance.
4764 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
4765 Also fix quoting error in `AC_MSG_FAILURE' arguments.
4767 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
4768 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
4769 trying to execute the command `no'.
4771 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
4772 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
4775 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
4776 example. Do not emphasize `$%', it is hardly new and special.
4777 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
4779 * doc/autoconf.texi (Limitations of Usual Tools): Document
4780 OpenBSD and traditional `grep' failure to handle multiple
4781 patterns separated by newlines.
4783 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
4785 * doc/autoconf.texi (several sections): Add documentation for macros
4788 2006-03-10 Eric Blake <ebb9@byu.net>
4790 * doc/autoconf.texi (Obsolete Macros): Fix wording of
4793 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
4795 * doc/autoconf.texi: Use @acronym more consistently for acronyms
4796 like BSD, GPL, LGPL. Fix minor English typos.
4797 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
4798 Mention that these macros are becoming obsolete.
4799 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
4800 Use more modern terminology for which standard is what.
4801 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
4803 (AC_PROG_CXX): Likewise.
4804 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
4805 Remove obsolete discussion about how to port to K&R.
4806 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
4807 the obsolescent AC_HEADER_STDC.
4808 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
4811 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4813 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4814 Remove stdin redirection from /dev/null to allow pipe to work.
4816 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
4818 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4819 Require that /lib/cpp include stdio.h correctly. Solaris 10's
4820 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
4823 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4825 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
4826 HP-UX sed is 99 commands, not 100.
4827 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
4828 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
4829 newline for portability.
4830 * tests/torture.at (Torturing config.status): Also test 100
4831 AC_SUBST_FILE invocations. Fix test to actually verify the
4832 AC_CONFIG_FILES output.
4833 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
4834 command, label, and read-file `r' limits. Unify HP-UX spelling.
4836 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
4838 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
4840 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
4841 * tests/mktests.sh: Small shell portability fixes.
4843 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4845 * doc/autoconf.texi (Caching Results): Fix the examples to use a
4846 recommended quoting style and discard unwanted output.
4848 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
4850 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
4851 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
4852 cases, and to work around Tru64 expr bug.
4854 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4856 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
4857 expr bug that turns the result of a regex match into a number if
4860 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4862 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
4863 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
4864 in section `Specific Compiler Characteristics'.
4866 2006-03-04 Eric Blake <ebb9@byu.net>
4868 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
4871 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4873 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
4874 order of variable initialization, so even the Solaris 2.6 shell
4875 can create a config header correctly. Fixes lots of test suite
4878 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4880 * doc/autoconf.texi (Text processing Macros): New node to
4881 document the m4sugar macros m4_re_escape, m4_tolower,
4882 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
4884 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
4886 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
4887 XrmInitialize (0) -> XrmInitialize ().
4888 Reported by Toshio Kuratomi.
4890 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4892 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
4893 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
4894 * doc/autoconf.texi (Programming in M4sh): Adjusted.
4895 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
4896 both macros are defun'ed so that required macros are evaluated
4899 * doc/autoconf.texi (Prerequisite Macros): State more precisely
4900 where a required macro will be expanded.
4901 (Coding Style): Another reason not to use `m4_define'.
4903 2006-02-21 Eric Blake <ebb9@byu.net>
4905 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
4907 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4909 * doc/autoconf.texi (Looping constructs): New node, to
4910 document m4_for, m4_foreach, m4_foreach_w, and mention
4911 obsolete AC_FOREACH.
4912 (Obsolete Macros): Document AC_FOREACH.
4913 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
4914 (m4_for): Fix to never loop (almost) endlessly, work correctly
4915 with arithmetic expressions in arguments, a step of zero or
4916 non-integer multiple of the interval, and avoid integer
4918 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
4921 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
4923 Add basic support for Erlang, both for configuring Erlang/OTP
4924 tools, and Erlang as a conf test language.
4925 * lib/autoconf/erlang.m4: New file.
4926 * lib/autoconf/autoconf.m4: Add erlang.m4.
4927 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
4928 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
4929 * NEWS: Add short description of new macros.
4930 * THANKS: Add Romain Lenglet.
4932 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4934 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
4935 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
4937 2006-02-15 Eric Blake <ebb9@byu.net>
4939 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
4942 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4944 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
4945 (_AS_CASE): Private helper macro.
4946 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
4947 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
4948 Fix syntax of AS_IF description
4949 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
4950 for the AC_REQUIRE mess.
4951 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
4954 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
4956 * doc/autoconf.texi: Minor style cleanup.
4957 Be consistent about spaces after commas.
4958 Insert [] where empty args look a bit funny.
4959 Fix some "i.e." and "e.g." usages.
4960 Try to avoid "X/Y" usages.
4961 Don't be pedantic about "ISO C99"; just say C99.
4962 Prefer GNU style for spaces in front of parens.
4963 (Function Portability): Comment about C89 versus C99
4964 signed integer division.
4965 (Particular Headers): Use current gnulib style for dirent
4968 2006-02-14 Stepan Kasal <kasal@ucw.cz>
4969 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4971 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
4972 macros without parameters.
4973 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
4974 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
4975 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
4977 (autoupdate): Updated to match AU_ALIAS fix.
4979 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4980 and Paul Eggert <eggert@cs.ucla.edu>
4982 * doc/autoconf.texi (Programming in M4sh): Document
4983 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
4985 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4987 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
4988 (AS_BOURNE_COMPATIBLE): ..this.
4989 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
4991 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
4993 * doc/install.texi (Defining Variables): Tighten up the
4994 CONFIG_SHELL wording.
4996 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
4997 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4999 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
5000 of (set -o) rather than testing whether (set -o posix) succeeds,
5001 to work around a bug in the AIX 5.3 shell. Problem originally
5002 reportd by Howard Chu for libtool.
5004 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
5006 * doc/autoconf.texi (Running the Compiler, Running the Linker):
5007 Changes the macro arguments in summaries to match the
5010 2006-02-04 Stepan Kasal <kasal@ucw.cz>
5012 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
5013 hint as ``a workaround for a bug.''
5015 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5017 * bin/autoreconf.in: New option `--no-recursive'.
5018 Improve wording for subpackages a bit.
5019 * doc/autoconf.texi (autoreconf Invocation): Updated.
5022 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
5023 in environment of `configure', not the command line.
5024 Reported by Howard Chu <hyc@highlandsun.com>.
5026 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
5028 * doc/autoconf.texi (Limitations of Builtins): Document the
5029 problem with "trap -".
5031 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
5033 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
5034 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
5035 messages to differentiate Fortran and Fortran 77 tests.
5036 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
5037 AC_LANG_ASSERT, to allow use in mixed-language projects.
5039 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
5041 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
5042 FOO" to "defined (FOO)".
5043 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
5044 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
5045 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
5046 * tests/tools.at (ifnames): Likewise.
5048 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5050 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
5051 * lib/Autom4te/General.pm (mktmpdir): Likewise.
5052 (END): Improve error message a bit.
5053 Reported by Bruce Korb <bkorb@gnu.org>.
5055 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5057 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
5058 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
5060 2006-01-11 Stepan Kasal <kasal@ucw.cz>
5062 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
5063 requires sys/stream.h. Reported by Oliver Kiddle.
5065 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5066 Stepan Kasal <kasal@ucw.cz>
5068 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
5069 before the removals of test dirs, use `find' to avoid modification
5070 of symlinked directories.
5072 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
5074 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
5075 Don't ignore the macro arguments.
5077 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
5079 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
5080 declaration that works for MSVC.
5082 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5084 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
5085 Add `*.map' and `.inf' for Green Hills compiler.
5086 Reported by Stefan Seefeld <stefan@codesourcery.com>.
5088 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
5089 correctly: pad with spaces after FIRST_PREFIX if necessary,
5090 and compute string lenghts with `m4_qlen' instead of `m4_len'.
5091 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
5092 * tests/m4sh.at (AS_HELP_STRING): Test extended.
5094 Reported by numerous people, numerous times.
5096 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
5098 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
5099 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
5100 * lib/autoconf/general.m4, lib/autoconf/status.m4:
5101 * lib/autotest/general.m4, tests/local.at:
5102 Update copyright year to 2006.
5104 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
5106 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
5107 for file names, again. Reported by Noah Misch.
5108 (Coding Style): Explain that s|a|b| is preferred for file names.
5109 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
5110 (AC_OUTPUT_MAKE_DEFS): Likewise.
5111 * lib/autotest/general.m4 (AT_INIT): Likewise.
5112 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
5113 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
5115 Fix Posix-conformance bugs re use of { command in sed scripts,
5116 and improve the sed-related documentation a bit.
5117 * doc/autoconf.texi (Installation Directory Variables): Use
5118 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
5119 rather than "sed" when talking about Sed in general.
5120 (Particular Programs): Likewise.
5121 (Coding Style): y is like s with respect to / and ,.
5122 (Limitations of Usual Tools): Document the weird restrictions
5123 that Posix has about { }. Use better quoting.
5124 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
5125 Rewrite to conform to Posix rules about { } in sed scripts.
5126 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
5127 * tests/foreign.at (Libtool): Likewise.
5128 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
5129 Use our own style advice re 's,a,b,' versus 's|a|b|'.
5131 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5133 * lib/autoconf/status.m4: Fix typo.
5135 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
5136 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
5137 `-def', for the benefit of Portland `pgf90 -Mipa'.
5138 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
5140 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
5142 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
5143 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
5144 shell from zsh to bash.
5146 2005-12-31 Stepan Kasal <kasal@ucw.cz>
5148 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
5149 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
5151 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
5153 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
5154 parentheses in $(...). Problem reported by Eric Blake.
5156 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
5158 * doc/autoconf.texi (Limitations of Usual Tools):
5159 Mention which characters can be escaped with \ in portable regular
5160 expressions used in grep, sed, expr. Mention the leading ^ problem
5161 with expr. Clean up some confusing wording. Mention which
5162 grep options are portable.
5164 2005-12-09 Stepan Kasal <kasal@ucw.cz>
5166 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
5168 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
5170 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
5171 patch, noted by Ralf Wildenhues.
5173 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5175 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
5176 posix' unconditionally, for pdksh in `native sh' emulation.
5178 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
5180 * doc/autoconf.texi (Shellology): Document eval $? problem
5182 (Limitations of Builtins): Likewise.
5184 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5186 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
5187 CONFIG_SHELL in the environment of the configure rerun.
5188 * doc/autoconf.texi (Here-Documents, config.status Invocation):
5189 Suggest passing CONFIG_SHELL absolute, and in the environment
5190 rather than as option.
5192 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5194 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
5195 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
5196 Fix macro quoting. Fix output for n * 98 substituted variables.
5198 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5200 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
5201 `tmp' to avoid file removal race.
5203 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5205 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
5206 ac_clean_files and LIBOBJS.
5208 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5210 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
5211 Factor functionality to..
5212 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
5213 `AC_SUBST($1)' in the public version.
5214 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
5215 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
5218 2005-11-01 Stepan Kasal <kasal@ucw.cz>
5220 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
5223 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5225 * NEWS: Move AH_HEADER mention to right place.
5227 2005-10-27 Stepan Kasal <kasal@ucw.cz>
5229 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
5230 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5232 2005-10-25 Stepan Kasal <kasal@ucw.cz>
5234 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
5235 conftst2.$ac_objext.
5236 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5238 2005-10-24 Stepan Kasal <kasal@ucw.cz>
5240 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
5241 conftest.o, to see whether the compiler really obeys; rm the object
5242 file before and after the test and register it with ac_clean_files.
5243 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5245 2005-10-21 Stepan Kasal <kasal@ucw.cz>
5247 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
5248 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
5249 code so that the most common case requires less forks.
5251 2005-10-20 Stepan Kasal <kasal@ucw.cz>
5253 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
5254 not portable; thanks to Paul Eggert and Alexandre.
5256 * NEWS: Fix an old typo.
5258 2005-10-20 Jim Meyering <jim@meyering.net>
5260 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
5261 the latter'', in two places.
5263 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
5265 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
5266 AC_LANG_PROGRAM, fixing a typo. Don't give details about
5267 the inner workings of AC_LANG_FUNC_LINK_TRY.
5268 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
5269 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
5270 by the function rather than ignoring it.
5271 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
5272 comparing its address. Intel's interprocedural optimization was
5273 outsmarting the old heuristic. Problem reported by
5276 2005-10-19 Stepan Kasal <kasal@ucw.cz>
5278 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
5280 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
5282 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
5283 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
5285 2005-10-04 Stepan Kasal <kasal@ucw.cz>
5287 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
5288 before removing it (chmod -R u+rwx); there are three instances of this.
5290 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5291 Stepan Kasal <kasal@ucw.cz>
5293 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
5294 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
5295 make its content writable before removing it. Remove an errorneous
5296 comment from the end, where the logs of the failed tests are copied
5297 to the main log file.
5299 2005-09-27 Stepan Kasal <kasal@ucw.cz>
5301 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
5302 in case the computer is too quick. Double quote the configure.ac
5305 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
5306 problems if the testsuite were running too fast.
5308 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
5310 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
5311 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
5312 (which belong to Xt, not X itself). See Debian bug 327655.
5313 * NEWS: Mention this.
5315 2005-09-07 Stepan Kasal <kasal@ucw.cz>
5317 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
5319 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
5321 * config/move-if-change: Don't output "$2 is unchanged";
5322 suggested by Ben Elliston. Handle weird characters correctly.
5324 2005-09-06 Stepan Kasal <kasal@ucw.cz>
5326 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
5327 calls, so that the final expansion of this macro is shorter.
5328 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
5329 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
5330 the cleanup there. Use AS_VAR_* macros, to be more general.
5331 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
5333 * lib/autoconf/general.m4: Use AS_IF where appropriate.
5335 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
5337 2005-09-01 Stepan Kasal <kasal@ucw.cz>
5339 * doc/autoconf.texi (Configuration Headers): Add an index entry
5342 2005-08-26 Pavel Roskin <proski@gnu.org>
5344 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
5345 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
5348 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
5350 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5351 The previous patch didn't work, so try a better one.
5353 2005-08-26 Stepan Kasal <kasal@ucw.cz>
5355 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
5356 in the example. Reported by Bruno Haible.
5357 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
5358 "if $undefined_var;" succeeds with my shell.
5360 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
5361 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
5362 but change the m4_divert_text to m4_divert_once.
5364 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
5366 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5367 Work around bug in Solaris /usr/xpg4/bin/awk.
5368 The bug is present in at least Solaris 8 through 10.
5370 2005-08-24 Stepan Kasal <kasal@ucw.cz>
5372 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
5373 some evil values and relying on the fact that $* concatenates the
5374 parameters by the first character from IFS.
5376 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
5377 Stepan Kasal <kasal@ucw.cz>
5379 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
5380 first header appears, define AH_HEADER.
5381 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
5382 Update limitations about when to call AC_CONFIG_HEADERS.
5383 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
5384 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
5385 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
5386 ``Configuration Actions''; fix their index entries.
5388 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
5389 options correctly. Process N-M as M-N if M is smaller than N.
5390 Process ranges correctly so that N-N will run only N.
5391 Sort and uniquify the tests that will be run. If there is more
5392 than one test, reinsert the banners for the tests.
5393 * tests/autotest.at (Keywords): Unmark XFAIL.
5395 2005-08-23 Stepan Kasal <kasal@ucw.cz>
5397 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
5398 before passing the macro name to AH_TEMPLATE.
5400 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
5401 now opens log after option processing; in particular, --version
5402 and --help do not touch config.log.
5404 * Makefile.maint: Revert the change from 2005-08-12.
5406 2005-08-22 Stepan Kasal <kasal@ucw.cz>
5408 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
5410 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
5412 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5414 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
5415 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
5418 * doc/autoconf.texi (Defining Symbols, Changed Results):
5419 Prepend to LIBS, not append, in examples.
5421 2005-08-16 Stepan Kasal <kasal@ucw.cz>
5423 When building in place, set srcdir="."; suggested by Tim Van Holder.
5425 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
5426 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
5427 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
5428 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
5429 does not mean "no --srcdir option".
5431 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5433 * tests/autoscan.at (autoscan): New file.
5434 * tests/suite.at: Use it.
5435 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
5436 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
5438 * tests/autotest.at (Keywords): Test keywords combinations.
5440 2005-08-12 Stepan Kasal <kasal@ucw.cz>
5442 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
5443 add "2>&1"; gzip 1.2.4 prints help on stderr.
5445 2005-07-27 Stepan Kasal <kasal@ucw.cz>
5447 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
5448 was pushdef'ed twice while popped only once. Push it only once.
5449 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
5451 2005-07-26 Stepan Kasal <kasal@ucw.cz>
5453 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
5454 prefixed by mere "===", not "configure: === ".
5456 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
5458 * Makefile.maint: Update from Bison.
5460 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
5461 "<tab>" in comment, so that the point is understandable.
5463 2005-07-25 Stepan Kasal <kasal@ucw.cz>
5465 Rewrite substantial part of lib/autoconf/status.m4.
5466 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
5467 and CONFIG_COMMANDS are not processed in four separate loops.
5468 Instead, there is one main loop. This alows that the common code
5469 is expanded only once, thus config.status (and configure) is smaller.
5471 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
5472 the AC_LIST_FILES and cousins macros are no longer used.
5474 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
5475 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
5476 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
5477 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
5478 contain the initialization, nor the for loop, nor the associated
5479 commands; all these go to ...
5480 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
5481 _AC_OUTPUT_CONFIG_STATUS.
5482 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
5483 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
5484 (_AC_OUTPUT_FILE): The creation of the sed script ...
5485 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
5486 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
5487 _AC_OUTPUT_MAIN_LOOP.
5488 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
5489 _AC_CONFIG_COMMANDS): Use ...
5490 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
5491 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
5492 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
5493 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
5494 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
5495 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
5497 (_AC_CONFIG_UNIQUE): Update.
5498 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
5499 Replaced by this ...
5500 (_AC_LIST_TAGS): ... new common macro.
5501 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
5502 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
5503 (_AC_LIST_TAG_COMMANDS): ... new common macro.
5504 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
5505 this didn't belong to the `config commands' section.
5506 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
5507 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
5508 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
5509 to the `config commands' section either.
5510 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
5511 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
5513 ... and many changes to the comments nearby.
5515 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
5516 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
5517 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
5518 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
5519 (#define header templates): The comment at the top of the generated
5520 header now includes the name(s) of the source file(s).
5522 Several unrelated small changes:
5524 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
5525 parameter to AC_DIAGNOSE.
5526 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
5527 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
5528 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
5529 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
5531 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
5532 in AC_OUTPUT doesn't double-quote it either.
5533 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
5536 2005-07-10 Stepan Kasal <kasal@ucw.cz>
5538 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
5539 versions of Portland Group compiler produce single- and double-quoted
5540 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
5541 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5543 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
5545 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5546 This is a corrected version of yesterday's patch.
5548 2005-07-07 Stepan Kasal <kasal@ucw.cz>
5550 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
5551 path, too; insert a "===" to emphasize the line.
5553 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
5554 ac_cv_build_alias to ac_build_alias.
5555 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
5557 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
5558 change eliminates it. Problem reported by Alexandre Duret-Lutz.
5559 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
5560 (AC_ARG_VAR): ... here.
5561 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
5564 Keep a list of all precious variables and process them with one simple
5565 for loop, instead of expanding all commands, or, OTOH, complicated
5566 processing of output of "set".
5567 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
5568 variable names in new macro...
5569 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
5570 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
5571 a loop to assign all ac_env_* and ac_cv_env_* variables.
5572 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
5574 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
5575 its value to shell variable ac_precious_vars and call
5576 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
5577 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
5578 _AC_ARG_VAR_VALIDATE.
5580 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
5581 and the AC_SUBSTs ...
5582 (AC_INIT): ... here.
5584 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
5585 the ac_subst_files section in config.log.
5587 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
5589 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
5591 * NEWS: New macro AC_C_TYPEOF.
5592 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
5593 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
5594 * tests/c.at (C keywords): Test AC_C_TYPEOF.
5596 Fix problems reported by Nicolas Joly.
5597 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
5598 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5599 They are generated by the Tru64 v5.1B shell.
5601 2005-07-05 Stepan Kasal <kasal@ucw.cz>
5603 Fix my changes from 2005-07-01; reported by Noah Misch.
5604 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
5605 description, the macro now accepts only a single tag.
5606 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
5608 Fix cases when the varsions of Autoconf and Autotest don't match.
5609 Reported by Noah Misch.
5610 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
5611 at_top_builddir, for compatibility with older autotest.
5612 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
5613 is not set, use at_top_builddir, for compatibility with older
5614 versions of autoconf.
5616 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
5618 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
5619 Problem reported by Patrick Welche.
5621 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
5623 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
5624 sed substitution command, so that we allow | in program prefixes
5625 and program suffixes. (& is a problem anyway; we're not fixing
5627 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
5628 configure_input, top_builddir, srcdir, etc.
5629 * lib/autotest/general.m4 (AT_INIT): Likewise, for
5630 PATH_SEPARATOR in AUTOTEST_PATH.
5632 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
5634 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
5635 for loop over config.site files using `set', to allow
5636 directory names containing IFS characters.
5638 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
5640 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
5641 directories with weird names. Apparently some people like living
5642 on the edge. However, improve the test that "pwd" actually does
5643 report a name for the working directory.
5644 * NEWS: Remove the claim that we test for funny chars in dir names.
5646 2005-07-01 Stepan Kasal <kasal@ucw.cz>
5648 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
5650 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
5651 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
5652 Now accept a single tag, not whitespace separated list.
5653 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
5655 2005-06-30 Stepan Kasal <kasal@ucw.cz>
5657 * doc/autoconf.texi (Configuration Headers): Change the explanation
5658 about #include <config.h>.
5659 (Generic Functions): Mention the Gnulib project.
5660 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
5662 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
5663 document to output the default config_* lists to config.status.
5664 Don't recognize option --file, if the functionality is not there.
5665 Likewise for --header; moreover, recognize --he and --h as shortcuts
5666 for --help in that case.
5668 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
5669 matches the order of execution. No code changed.
5671 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5673 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
5674 single-quoted -cmdline argument in Portland Group compiler.
5675 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5677 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
5679 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
5681 2005-06-29 Stepan Kasal <kasal@ucw.cz>
5683 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
5684 descriptors to child processes; reported by Norman Gray.
5686 2005-06-29 Stepan Kasal <kasal@ucw.cz>
5688 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
5690 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
5691 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
5692 (AC_SUBST): Call it.
5693 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
5694 the directory specific variables; but don't call it for configure_input.
5696 2005-06-28 Derek Price <derek@ximbiot.com>
5698 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
5701 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
5703 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
5704 directory have inherent problems with special characters like spaces,
5705 due to limitations in Make syntax. Problem reported by Alexandre
5707 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
5708 Also, fix Tru64 porting problem with shell patterns,
5709 reported by Ralf Wildenhues.
5711 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5713 * doc/autoconf.texi (Subdirectories): Fix markup typos.
5715 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
5717 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
5719 Fix some more shell quoting problems. Prompted by a bug report
5720 from Justace Clutter.
5721 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
5722 variable into diagnostic. Make the diagnostic an error, not a warning,
5723 because we really don't support spaces and suchlike in dir names.
5724 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
5725 Don't worry about backslashes in srcdir; it can't happen now.
5726 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
5727 Simplify ac_optarg handling.
5728 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
5730 2005-06-22 Stepan Kasal <kasal@ucw.cz>
5732 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
5733 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
5734 * tests/atlocal.in: Propagate $EGREP and $SED.
5735 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
5736 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
5738 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
5739 that '\|' is not allowed in BREs; recommend using newline separated
5740 list of patterns instead of multiple -e options.
5742 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
5744 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
5746 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5748 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
5750 2005-06-21 Stepan Kasal <kasal@ucw.cz>
5752 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
5753 b, t, r, w commands require single space, while : cannot have any.
5754 (Special Shell Variables): Fix sed code this in the example.
5755 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
5756 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
5758 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
5759 expand to the empty list. Don't use two pairs of m4_changequote,
5762 2005-06-20 Derek Price <derek@ximbiot.com>
5764 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
5766 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
5768 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
5769 * doc/autoconf.texi:
5770 Don't mention Solaris versions so much, if a
5771 problem is common to all extant versions of Solaris. Say "SunOS
5772 4" instead of "SunOS" for SunOS 4.
5773 (awk): Mention more of the limitations of traditional Awk.
5774 (cat): Don't talk about cat -v.
5776 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
5778 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
5779 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
5780 but the implementation is entirely different and is designed
5781 to be compatible with glibc strverscmp.
5782 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
5784 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
5785 on Mac OS X 10.4 reported by Peter O'Gorman in:
5786 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
5787 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
5788 Use shell builtins rather than 'expr', to work around expr bug.
5790 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
5792 * doc/autoconf.texi: "filesystem" -> "file system".
5793 "behaviour" -> "behavior".
5794 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
5795 * lib/autoconf/general.m4: Omit blank after ":" sed command,
5797 * lib/m4sugar/m4sh.m4: Likewise.
5798 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
5799 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
5801 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
5802 (.x.1): Ignore the time stamp in the .TH line when deciding whether
5803 to update the man page. That way, we don't have to check in new
5804 man pages every month.
5806 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
5807 quotes and backslashes. Patch from Derek Price.
5809 2005-06-10 Derek Price <derek@ximbiot.com>
5811 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
5814 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
5816 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
5817 -u, since it outputs chatter if the input files are the same.
5818 Problem reported by Ralf Menzel.
5820 2005-06-08 Derek Price <derek@ximbiot.com>
5822 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
5823 renaming them since they are about to be redefined anyhow.
5825 2005-06-08 Derek Price <derek@ximbiot.com>
5827 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
5828 redefined M4 macros to this node. Document m4_include & m4_sinclude.
5829 Move m4_undefine to alphabetical order.
5831 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
5833 * README: Recommend GNU M4 1.4.3 or later.
5834 * doc/autoconf.texi (Introduction): Likewise.
5835 Reword to avoid some formatting glitches.
5836 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
5837 Clarify explanation of HP compiler bug.
5838 Redo example output tp match current CVS snapshot.
5839 Use @example.org in email addresses when the examples
5840 might get inadvertently cut-and-pasted into user code.
5841 Remove example of autom4te usage that doesn't seem to work now.
5842 Use modern AC_INIT (except when the example is meant to be
5843 shown with Autoconf 2.13).
5844 Update ksh info for Solaris 9 and later.
5846 Modernize description of Automake versions a bit.
5847 Don't claim a future version of Autoconf is near.
5848 * doc/install.texi: Reword to avoid some formatting glitches.
5850 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5852 * doc/autoconf.texi: Add [] to examples, so that the manual
5853 follows its own advice about quoting better.
5854 Reword to avoid some formatting glitches.
5855 * doc/installt.exi: Reword to avoid some formatting glitches.
5857 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5858 Tru64 ksh pattern matching bug. Reported against Libtool by
5859 Albert Chin <libtool@mlists.thewrittenword.com> and
5860 Nicolas Joly <njoly@pasteur.fr>.
5862 2005-06-06 Stepan Kasal <kasal@ucw.cz>
5864 m4_cdr of one-member list was [[]] (one-member list containing an
5865 empty string) instead of [] (an empty list. Callers were skewed to
5866 match this misbehaviour. As a consequence of this:
5867 - m4_foreach([x], [], [foo]) expanded to `foo', while
5868 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
5869 This bug has been fixed:
5871 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
5872 expand to an empty string; print error msg if called without
5874 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
5875 misbehaviour; handle [] and [[]] correctly.
5877 2005-06-06 Stepan Kasal <kasal@ucw.cz>
5879 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
5880 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
5881 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
5883 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
5885 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
5886 swallow records with more than 99 fields.
5887 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
5888 parse the long line.
5890 2005-06-04 Stepan Kasal <kasal@ucw.cz>
5892 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
5893 swallow literals longer than 399. Reported by Ralf Wildenhues.
5894 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
5895 to workaround this limitation.
5897 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
5899 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
5900 to gfortran, and make these the first two compiler names
5901 checked (following the general autoconf preference for gcc).
5903 2005-06-03 Stepan Kasal <kasal@ucw.cz>
5905 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
5906 (DISTCLEANFILES): Remove $(check_SCRIPTS).
5907 (testsuite): Make sure autotest.m4f is up-to-date before using it.
5909 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
5911 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
5912 expression of unbounded size when processing the --list
5913 option. This runs afoul of a limit of 399 bytes per regular
5914 expression on AIX. Problem reported by Ralf Wildenhues.
5916 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
5918 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
5919 * doc/autoconf.texi (Particular Headers): Reword example
5920 for multiline stdbool replacement.
5921 (Setting Output Variables): Reword text a bit. Don't
5922 give all the details about |#_!!_#|.
5923 Reword description of line replacement.
5925 2005-05-31 Dan Manthey <dan_manthey@partech.com>
5927 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
5928 now contain newlines, and substituted files must be referenced on
5929 a line alone; the sed scripts to substitute them are now very
5931 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
5932 commands can be put in a sed script portably.
5933 * doc/autoconf.texi (Setting Output Variables): Document above
5934 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
5935 use of multiline substitution.
5936 * tests/torture.at: No longer expect substitution of newline to fail.
5938 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
5940 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
5941 From Ralf Menzel (trivial change).
5943 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
5945 * tests/local.at: Don't attempt to check for negated character
5946 classes in shell scripts. The test was too brittle.
5948 2005-05-25 Stepan Kasal <kasal@ucw.cz>
5950 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
5951 * doc/autoconf.texi (Limitations of Builtins): Document this
5954 2005-05-24 Stepan Kasal <kasal@ucw.cz>
5956 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
5957 common code; used in many places in the tree.
5958 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
5959 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
5961 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
5963 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
5964 messages when ac_unique_file is not found.
5965 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
5966 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
5967 commands, for consistency with AC_MSG_ERROR and such.
5969 * bin/autoconf.as: Make more use of "shift 2" in option processing.
5971 * bin/Makefile.am: Merge the two rules for creating scripts.
5973 2005-05-23 Stepan Kasal <kasal@ucw.cz>
5975 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
5976 obsolete; it was never documented.
5977 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
5979 2005-05-20 Stepan Kasal <kasal@ucw.cz>
5981 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
5982 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
5983 (ac_top_builddir): ... this ...
5984 (ac_top_build_prefix): ... to this; the old name is also kept, for
5985 backward compatibility.
5986 (ac_top_builddir_sub): New variable, without the trailing slash,
5988 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
5989 * doc/autoconf.texi (Configuration Actions): Rename
5990 ac_top_builddir to ac_top_build_prefix.
5991 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
5992 at_top_builddir to at_top_build_prefix.
5993 * lib/autotest/general.m4 (AT_INIT): Likewise.
5995 2005-05-20 Stepan Kasal <kasal@ucw.cz>
5997 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
6000 2005-05-17 Stepan Kasal <kasal@ucw.cz>
6002 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
6003 argument to m4_foreach. I guess it was necessary in the past,
6004 but I think it's a no-op now.
6006 2005-05-17 Stepan Kasal <kasal@ucw.cz>
6008 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
6009 ``cat <<_ACEOF'' commands to one.
6010 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
6011 * lib/autoconf/status.m4: On various places, use expr instead of
6013 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
6014 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
6015 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
6017 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
6018 the wrong patterns between ``case'' and ``esac.'' The previous
6019 code had false positives.
6021 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
6023 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
6025 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
6028 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
6030 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
6031 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
6032 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
6033 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
6034 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
6035 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
6036 config/config.guess, config/config.sub, config/elisp-comp,
6037 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
6038 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
6039 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
6040 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
6041 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
6042 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
6043 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
6044 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
6045 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
6046 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
6047 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
6048 lib/autoconf/general.m4, lib/autoconf/headers.m4,
6049 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
6050 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
6051 lib/autoconf/specific.m4, lib/autoconf/status.m4,
6052 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
6053 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
6054 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
6055 lib/autotest/general.m4, lib/emacs/Makefile.am,
6056 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
6057 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
6058 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
6059 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
6060 tests/compile.at, tests/foreign.at, tests/fortran.at,
6061 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
6062 tests/semantics.at, tests/suite.at, tests/tools.at,
6063 tests/torture.at, tests/wrapper.as:
6064 Update FSF postal mail address.
6066 2005-05-13 Stepan Kasal <kasal@ucw.cz>
6068 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
6070 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
6071 enough arguments, similarly as in m4_bpatsubsts.
6073 2005-05-12 Stepan Kasal <kasal@ucw.cz>
6075 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
6078 2005-05-11 Stepan Kasal <kasal@ucw.cz>
6080 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
6081 for absolute directory names in one loop.
6082 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
6083 abbreviations of --version and --debug.
6085 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
6087 * doc/autoconf.texi (Autoconf Language): Be more precise about
6088 quoting rules. Problems noted by Stepan Kasal.
6089 Also, throughout this document, be more careful about white space.
6090 "blank", "white space", and "space" all have different meanings
6091 and we should be careful to say what we mean.
6093 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
6095 Fix C++ related problems reported by Werner Lemberg.
6096 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
6097 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
6098 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
6099 avoid problems with C++ and throw.
6100 * tests/compile.at: .cpp, not .cc.
6102 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
6104 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6106 * doc/autoconf.texi (Generic Functions): Typos.
6108 2005-05-02 Gary V. Vaughan <gary@gnu.org>
6110 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
6111 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
6112 set by latest automake.
6114 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
6116 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
6117 outputs 0 on GNU/Linux these days.
6119 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
6121 * doc/autoconf.texi (Autoconf Language): Add more description
6122 about quoting heuristics.
6123 (Limitations of Builtins): Describe "set -" problems.
6125 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6127 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
6130 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
6131 by AC_DEFINE; it was a mistake.
6132 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
6134 2005-04-25 Stepan Kasal <kasal@ucw.cz>
6136 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
6138 2005-04-22 Stepan Kasal <kasal@ucw.cz>
6140 * doc/autoconf.texi (External Software): Quadrigraphs are not
6141 processed correctly in AS_HELP_STRING; avoid this in the examples.
6142 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
6143 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
6144 comment and reduce m4_default([foo], []) to [foo].
6145 (m4_strip): Update the explanation.
6147 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
6149 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
6150 Remove core.conftest.* too; it's generated by Tru64 5.1.
6151 Problem reported by Jennis Pruett.
6152 * lib/autoconf/functions.m4
6153 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
6154 Don't bother to remove core files; AC_RUN_IFELSE should do that
6157 2005-04-19 Stepan Kasal <kasal@ucw.cz>
6159 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
6161 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
6163 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
6164 Report from Horst Wente.
6166 2005-04-15 Stepan Kasal <kasal@ucw.cz>
6168 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
6171 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
6173 * doc/autoconf.texi (External Software, Package Options): Add
6174 examples showing how to implement --with-* and --enable-* options.
6176 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
6178 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
6179 as well as configure.in. Problem reported by Gregorio Guidi.
6181 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
6183 * doc/autoconf.texi (Particular Functions): Use gnulib's current
6184 pattern for alloca snippet.
6186 2005-04-04 Stepan Kasal <kasal@ucw.cz>
6188 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
6190 2005-04-01 Stepan Kasal <kasal@ucw.cz>
6192 * doc/autoconf.texi (Generic Programs): Fix a typo.
6194 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
6196 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
6197 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
6199 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6201 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
6202 Merge `-z option' as well for the benefit of Solaris link flags. Pass
6203 whole-archive (-zallextract, -zdefaultextract) options in the hope of
6204 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
6205 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
6207 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
6209 * NEWS: The configure command now warns you if you attempt to use
6210 a directory whose name contains a special character like space,
6212 * doc/autoconf.texi (Installation Directory Variables): Allow
6213 "," in file names. Do not use \@; it's not a portable regexp.
6214 * bin/Makefile.am (edit): Likewise.
6215 * lib/Makefile.am (edit): Likewise.
6216 * tests/Makefile.am (edit): Likewise.
6217 * tests/semantics.at: Likewise.
6218 * tests/torture.at: Likewise.
6219 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
6220 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
6221 * doc/autoconf.texi (File System Conventions): Warn about
6222 unportable file names.
6223 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
6225 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
6226 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
6227 ac_pwd, and quote srcdir.
6228 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
6230 * doc/autoconf.texi: Fix some systematic formatting problems.
6231 ".)" needs a following @: if not at the end of a sentence, and
6232 similarly for "!)". "etc." should be preceded by a comma.
6233 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
6235 2005-03-22 Bruno Haible <bruno@clisp.org>
6237 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
6238 argument is often called 'build-aux'.
6240 2005-03-07 Stepan Kasal <kasal@ucw.cz>
6242 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
6243 macro AC_TRY_LINK is obsolete.
6244 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
6247 2005-02-24 Stepan Kasal <kasal@ucw.cz>
6249 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
6250 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
6251 from a Common Lisp's `cl'.
6252 (AC_PROG_CXX): Behave according to the documentation: don't
6253 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
6254 make the variable CCC precious; use `cl.exe', not `cl'.
6256 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
6257 Alexandre Duret-Lutz <adl@gnu.org>
6259 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
6260 /dev/null, as "configure" shouldn't read stdin, and this insulates
6261 us from problems (e.g., when testing for "cl"). Also, do this
6262 redirection before invoking "hostname" or "uname", and keep the
6263 original input stream available via...
6264 (AS_ORIGINAL_STDIN_FD): ... this new macro.
6265 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
6266 bother with "</dev/null" since it's now done at the top of
6268 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
6269 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6270 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6271 * doc/autoconf.texi (File Descriptor Macros): New section.
6272 (Printing Messages): Mention it.
6273 * tests/base.at (Input/Output): New test.
6275 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
6277 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
6278 newline if neither \c nor -n work, as that would output two
6279 newlines. Prefer -n to \c. Reported by Stepan Kasal.
6281 2005-02-12 Stepan Kasal <kasal@ucw.cz>
6283 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
6284 This causes that any required macros inside will get before the if.
6285 * doc/autoconf.texi (autom4te.cache): A typo.
6287 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
6289 Undo previous change, except keep the change to
6290 lib/autoconf/programs.m4 that replaced grep with shell
6291 pattern-matching. This is because net-snmp configure reads stdin.
6292 Reported by Noah Misch.
6294 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
6296 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
6297 from /dev/null, as "configure" shouldn't read stdin, and this
6298 insulates us from problems (e.g., when testing for "cl").
6299 Suggested by Alexandre Duret-Lutz. Also, do this redirection
6300 before invoking "hostname" or "uname".
6301 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6302 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
6303 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
6304 "</dev/null" since it's now done at the top of 'configure'.
6305 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6306 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6307 Also, replace grep with shell pattern-matching, to save a process.
6309 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
6311 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6312 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
6313 avoid thinking that Allegro Common Lisp's "cl" command is a C++
6316 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
6318 * doc/autoconf.texi (Limitations of Usual Tools): Document that
6319 grep -q isn't portable. Improve grep -s explanation.
6320 Problem reported by Dan Manthey.
6322 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
6324 * doc/autoconf.texi (Special Shell Variables): Clarify
6325 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
6327 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
6329 * doc/autoconf.texi: Use @acronym for DJGPP.
6330 Fix some @code's that should have been @env's, and vice versa.
6331 Sort environment variable names.
6332 Mention that shells no longer inherit IFS.
6333 Don't recommend PATH_SEPARATOR=';' so strongly.
6334 Mention that $RANDOM might expand to the empty string.
6335 "symlink" and "soft link" -> "symbolic link".
6336 Improve mktemp description (reported by Bruno Haible).
6338 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
6340 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
6341 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
6343 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
6346 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
6348 * NEWS: Mention AT_COPYRIGHT.
6350 * tests/local.at (AT_CMP): Use diff directly on input files rather
6353 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
6354 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
6356 2005-02-04 Noah Misch <noah@cs.caltech.edu>
6357 and Paul Eggert <eggert@cs.ucla.edu>
6359 * tests/autotest.at (Empty test suite): New test.
6360 * tests/torture.at (Substitute and define special characters)
6361 (Substitute a 2000-byte string, Define to a 2000-byte string)
6362 (Substitute a newline, Define a newline): New tests.
6364 2005-02-04 Noah Misch <noah@cs.caltech.edu>
6366 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
6367 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
6368 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
6369 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
6370 (Standard regular expressions): New test.
6371 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
6372 excess test name quoting.
6373 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
6374 CPPFLAGS to `configure' instead of setting it in `configure'.
6376 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
6377 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
6380 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
6381 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
6383 * tests/local.at (AT_CMP): New macro.
6384 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
6385 (AC_SAVE_STATE): Move environment grep...
6386 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
6387 (AT_CONFIG_CMP): New macro.
6388 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
6389 * tests/c.at (Extensions): Do not exit early.
6390 * tests/atlocal.in: Inherit $GREP.
6392 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
6393 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
6395 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
6396 (AC_COPYRIGHT): Factor header comment portion out and move into...
6397 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
6398 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
6399 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
6401 * tests/local.at: Add Autoconf test suite copyright notice.
6402 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
6404 2005-02-04 Bruno Haible <bruno@clisp.org>
6405 and Paul Eggert <eggert@cs.ucla.edu>
6407 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
6409 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
6411 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
6412 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
6414 Try not to generated lines of unlimited length, as POSIX places a
6415 2047-byte limit on line length of portable text files.
6416 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
6417 Use newline as a separator, not space.
6418 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
6419 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
6422 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6424 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
6425 as_func_*. Add test to check whether positional parameters
6426 are restored after function return.
6428 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
6430 * doc/autoconf.texi (Special Shell Variables): Mention _,
6431 BIN_SH, DUALCASE. Say that variables other than "status" are safe
6432 if they contain a lower-case letter. The DUALCASE problem was
6433 reported by Ralf Wildenhues.
6435 * bin/autoconf.as: Don't exit with status 0 after write failure
6436 with --help or --version.
6437 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
6438 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
6440 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6442 * doc/autoconf.texi (Limitations of Usual Tools):
6443 Unicos 9 sed limitations.
6444 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
6445 to get the option-enhanced interface on older Crays. Try ftn for
6446 Fortran 95 (newer Crays).
6448 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
6450 * man/Makefile.am (.x.1): Go back to the simple solution, but take
6451 care to echo the commands, so the user knows what's going on.
6452 Modified from a suggestion by Stepan Kasal.
6454 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
6455 with a cross reference. Derived from a suggestion by Bruce Korb.
6457 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
6459 * doc/autoconf.texi (config.status Invocation): Warn about
6460 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
6461 * doc/install.texi (Defining Variables): Likewise.
6462 Based on a proposed patch by Ralf Wildenhues.
6464 * man/Makefile.am (.x.1): Make sure the required generated files
6465 are up to date. Problem and original solution proposed by Stepan Kasal.
6466 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
6467 implicit-man-prerequisites): New rules, used by the above.
6469 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
6470 * config/config.guess, config/config.sub, config/install-sh: Likewise.
6471 * config/missing, config/texinfo.tex: Likewise.
6473 2005-01-29 Stepan Kasal <kasal@ucw.cz>
6475 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
6476 Update the long comment explaining it.
6478 m4_require no longer writes an ``is required by'' line to the
6479 execution stack. It contains only one bit of non-redundant
6480 information: that the macro was required, not called. And even
6481 this bit is useless in most situations: have you ever met a macro
6482 which both calls and requires the same macro?
6484 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
6485 (_m4_defun_pro_outer): ... only via this macro, for the outermost
6487 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
6488 (m4_expansion_stack_pop): Remove the misplaced comment.
6489 (m4_require): Don't put the ``is required by'' line to the
6490 execution stack; slightly improve the out-of-a-defun error message.
6491 (_m4_divert_grow): New macro, counter for the temporary diversions.
6492 (_m4_require_call): Use it.
6493 * tests/m4sugar.at (m4_require): Expect output without the
6494 ``is required by'' messages.
6496 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
6498 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
6499 rather than x for expr.
6501 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
6503 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
6504 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6505 * lib/autotest/general.m4 (AT_INIT): Likewise.
6506 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
6507 * tests/mktests.sh: Likewise.
6509 2005-01-27 Akim Demaille <akim@epita.fr>
6511 Have autoheader honor --force.
6513 * doc/make-stds.texi, doc/standards.texi: Update from masters.
6514 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
6515 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
6516 from masters, so that FileUtils.pm's update_file provide --force
6518 * bin/autoheader.in: Pass $force to update_file so that
6519 config.h.in is always recreated when --force.
6521 2005-01-24 Stepan Kasal <kasal@ucw.cz>
6523 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
6525 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
6527 * doc/autoconf.texi (Limitations of Builtins): Clarify that
6528 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
6530 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
6532 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
6533 Warn about newline stripping in `` and $(). Update Solaris
6535 (Limitations of Builtins): Use expr "X...", not expr "x...", as
6536 X insulates us from future changes to Posix.
6537 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
6540 2005-01-19 Stepan Kasal <kasal@ucw.cz>
6542 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
6543 you cannot use AC_DEFINE to define macros containing `[' or `]'.
6545 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
6547 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
6548 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
6549 bug-tar mailing list.
6551 2005-01-05 Stepan Kasal <kasal@ucw.cz>
6553 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
6555 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
6557 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
6558 ulongval to be static, to avoid unwanted GCC warning. Problem
6559 reported by Michael Jennings via Daniel Reed; see
6560 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
6562 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
6564 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
6565 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
6566 datadir, infodir, and mandir. Adjust argument parsing code.
6567 (_AC_INIT_HELP): Update help text.
6568 * doc/autoconf.texi (Installation Directory Variables): Document
6571 2005-01-04 Noah Misch <noah@cs.caltech.edu>
6573 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
6574 not seem to work, assume it does set $(MAKE).
6575 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
6577 2005-01-03 Stepan Kasal <kasal@ucw.cz>
6579 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
6581 2005-01-03 Stepan Kasal <kasal@ucw.cz>
6583 A cleanup of the diversion support in m4sugar.
6585 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
6586 (_m4_divert_n_stack): New macro; the expansion is
6587 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
6589 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
6590 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
6591 stored in _m4_divert_diversion or _m4_divert_dump.
6592 (m4_divert_pop): When the parameter is given, compare the symbolic
6593 name with the last diversion pushed on the stack. Previously, the
6594 current diversion was compared with the numeric value of the
6595 diversion given as the parameter.
6596 (m4_require): If the macro hasn't been expanded yet, call ...
6597 (_m4_require_call): this new macro.
6599 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6601 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
6602 Workarounds for documented `case' limitations.
6604 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
6606 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
6607 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
6609 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
6611 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
6612 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6613 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
6615 Patch from Roger Leigh (with some minor changes) as follows:
6616 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
6617 Resurrect AC_PROG_CC_STDC.
6618 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
6619 AC_PROG_CC_C89, AC_PROG_CC_C99.
6620 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
6621 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
6622 AC_PROG_CC_C99): New macros.
6623 (AC_PROG_CC_STDC): Use them.
6624 (_AC_PROG_CC_STDC): Remove.
6625 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
6626 * THANKS: Add Roger Leigh.
6628 2004-12-30 Noah Misch <noah@cs.caltech.edu>
6630 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
6631 signals that the package uses Automake; a `Makefile.am' is typical but
6632 not essential. Reported by Magnus Therning.
6633 * tests/torture.at (autoreconf.): New banner.
6634 (autoreconf and non-AC configure): Rename to `Non-Autoconf
6636 (autoreconf an empty directory): Rename to `Empty directory'.
6637 (Unusual Automake input files): New test.
6639 2004-12-30 Noah Misch <noah@cs.caltech.edu>
6641 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
6642 (AT_SETUP): Clear AT_capture_files.
6643 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
6644 (AT_KEYWORDS): Fix comment typo.
6645 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
6646 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
6647 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
6649 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
6651 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
6652 If the variable to set is already set, set ac_cv_path_$1
6653 to the preset value so caller can assume ac_cv_path_$1
6654 is available. (trivial change)
6656 2004-12-27 Noah Misch <noah@cs.caltech.edu>
6658 * BUGS (Minor Problems): Warn about makefile limitations.
6659 * Makefile.am: Find and update `INSTALL' in $(srcdir).
6660 * man/Makefile.am: Find and update manual pages in $(srcdir).
6662 2004-12-24 Eric Blake <ebb9@byu.net>
6664 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
6665 shells in subshell, to avoid noise from ash. (trivial change)
6667 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6669 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
6670 problems with SunOS ksh and backslash escaping, Bourne shells and
6671 closing brackets (both within character classes). Bug reported
6672 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
6673 <read>: New entry. Mention non-availability of -r.
6675 2004-12-21 Akim Demaille <akim@epita.fr>
6677 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
6678 avoid cluttering displayed messages. Rather, prepend srcdir where
6679 AT_LINE is used for log files.
6681 2004-12-21 Stepan Kasal <kasal@ucw.cz>
6683 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
6684 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
6685 no longer part of the macro, quote the occurrence of ``$tmp''.
6686 * doc/autoconf.texi (Forbidden Patterns): Typo.
6688 2004-12-21 Akim Demaille <akim@epita.fr>
6690 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
6691 separated from the test title by forcing a white space.
6693 2004-12-21 Akim Demaille <akim@epita.fr>
6695 Enable Emacs navigation within testsuite.log files.
6697 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
6698 use the compilation mode.
6699 (AT_LINE): Point to the srcdir.
6701 2004-12-19 Noah Misch <noah@cs.caltech.edu>
6703 * tests/Makefile.am (installcheck-local): Use $(bindir).
6704 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
6705 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
6706 Makefile.am scheme Autoconf now uses.
6708 2004-12-18 Noah Misch <noah@cs.caltech.edu>
6710 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
6711 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
6713 2004-12-18 Noah Misch <noah@cs.caltech.edu>
6715 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
6716 (_AT_CHECK): Use it.
6717 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
6718 (AS_ESCAPE): Fix comment.
6719 * tests/autotest.at: Adjust section banner comments.
6720 (AT_CHECK_AT): Accept STATUS and STDERR.
6721 (AT_CHECK_AT_TEST): Likewise.
6722 (Invalid brace-enclosed parameter expansion)
6723 (Multiline command from M4 expansion)
6724 (Double-M4-quoted command): New tests.
6726 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
6728 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
6730 2004-12-17 Akim Demaille <akim@epita.fr>
6732 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
6734 Suggested by Alexandre Duret-Lutz.
6735 * doc/autoconf.texi (Setting Output Variables): Catch up.
6737 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6739 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
6741 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6743 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
6744 remove the comment which said we cannot.
6746 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6748 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
6749 Reini Urban and Paul Eggert for reporting the dependencies.
6751 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
6752 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
6753 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
6755 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6757 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
6758 so that eg. ``autoscan --help'' doesn't truncate it.
6760 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
6762 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
6763 generated conftest files.
6765 2004-12-13 Noah Misch <noah@cs.caltech.edu>
6767 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
6768 tracing on commands with possibly-escaped newlines.
6769 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
6770 discontinued behavior and its implications.
6771 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
6772 (BSx641-newline in command, BS-BS-newline in command)
6773 (BSx640-newline in command, Newline-CODE-BS-newline in command)
6774 (Single-quote-BS-newline in command)
6775 (Single-quote-newline-BS-newline in command): New tests.
6777 2004-12-13 Stepan Kasal <kasal@ucw.cz>
6779 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
6780 on platforms where it works.
6781 (_AS_TEST_PREPARE): Test for ``test -x''.
6782 (_AS_BROKEN_TEST_PREPARE): Nuke.
6784 2004-12-13 Stepan Kasal <kasal@ucw.cz>
6786 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
6787 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
6788 give only 4-letter prefix to AS_TMPDIR, comment fixed.
6789 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
6790 create the temporary directory.
6791 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
6793 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
6795 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
6798 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
6800 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
6802 2004-12-11 Noah Misch <noah@cs.caltech.edu>
6804 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
6805 to avoid using a negated character class. Reported by Nicolas Joly.
6806 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
6808 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
6810 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
6811 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
6812 Don't depend on .x file explicitly, since "make" does that for us.
6813 Suggested by Stepan Kasal.
6815 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
6817 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
6818 ifnames): Factor common code. And they said it couldn't be done!
6820 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
6822 * bin/.cvsignore: Add autoconf.in.
6823 * tests/.cvsignore: Add wrapper.in.
6824 * lib/autotest/general.m4: Escape '$' in case pattern.
6826 2004-12-09 Noah Misch <noah@cs.caltech.edu>
6828 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
6830 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
6832 * tests/autotest.at: New file.
6833 * tests/suite.at: Include it.
6834 * tests/Makefile.am: Distribute it.
6836 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
6837 shell tracing on a command that could contain multiple lines.
6838 * doc/autoconf.text: Document that fact and its implications.
6839 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
6840 * tests/autotest.at (Multiline backquote command substitution,
6841 Multiline parameter expansion, Literal multiline command,
6842 Multiline parenthetical command substitution): Remove XFAIL.
6844 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
6846 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
6847 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
6849 2004-12-08 Noah Misch <noah@cs.caltech.edu>
6851 * configure.ac (test suite): Cease to generate wrapper scripts.
6852 * configure: Regenerate.
6853 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
6854 (m4f_dependencies): Adjust accordingly.
6855 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
6856 (wrapper.in): Generate it in the build directory.
6857 (MAINTAINERCLEANFILES): Delete wrapper.in.
6858 (CLEANFILES): Add wrapper.in.
6859 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
6860 the output. Replace each $as_me with a @wrap_program@.
6861 * tests/wrapper.in: Delete it; we always build it.
6863 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
6864 (EXTRA_DIST): Remove autoconf.in.
6865 (CLEANFILES): Add autoconf.in.
6866 (autoconf): Find autoconf.in in the build directory.
6867 * bin/autoconf.in: Delete it; we always build it.
6869 2004-12-08 Noah Misch <noah@cs.caltech.edu>
6871 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
6872 PATH members so as to not prepend an empty element. Move a comment.
6873 * Makefile.am (SUBDIRS): Build in `tests' last.
6874 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
6876 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
6878 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
6879 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
6880 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
6881 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
6883 2004-12-07 Stepan Kasal <kasal@ucw.cz>
6885 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
6888 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
6890 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
6891 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
6892 * doc/autoconf.texi (Particular Functions): Mention new behavior.
6894 2004-12-03 Stepan Kasal <kasal@ucw.cz>
6896 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
6897 out the common code to ...
6898 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
6899 value of the #define--default to 1, iff the macro was called
6900 with exactly one parameter.
6902 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
6904 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
6905 "char c = '\200';" rather than "char c = 0x80;" as the
6906 latter doesn't conform to the strict C standard due to
6907 overflow on signed char hosts.
6909 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
6910 to -qlanglvl=ansi. We don't want to disable extensions.
6912 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
6914 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
6915 (Using Autotest, testsuite Scripts, Writing testsuite.at):
6916 Reword slightly to avoid some English-language problems noted
6917 by Ralf Wildenhues in:
6918 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
6920 2004-11-29 Stepan Kasal <kasal@ucw.cz>
6922 * NEWS: Add ^L above each release.
6924 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
6926 Fix documentation problems reported by Russ Boylan in
6927 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
6928 along with some nearby cruft.
6929 * doc/autoconf.texi (Libtool): Libtool can be used without
6930 Automake (not without Autoconf).
6931 (Introduction): Mention lists.gnu.org.
6932 * BUGS: Don't mention bugs.gnu.org.
6933 Remove mention of ancient libtool compatibility problem.
6934 * NEWS: Mention that bugs.gnu.org is kaput.
6935 * README: Likewise. Mention where mailing list archives can be found.
6937 2004-11-28 Stepan Kasal <kasal@ucw.cz>
6939 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
6941 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
6943 * doc/autoconf.texi (Pretty Help Strings): Go back to
6944 single-quoting assignments to cache variables.
6946 2004-11-23 Stepan Kasal <kasal@ucw.cz>
6948 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
6949 with the examples; fix the bug in MY_ARG_WITH example reported
6950 by Alexandre Duret-Lutz.
6951 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
6952 expansion of $1 in the comment emitted to configure.
6954 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
6956 * doc/autoconf.texi (Pretty Help Strings): Fix typo
6957 in my editing of the previous patch. Problem reported
6958 by Alexandre Duret-Lutz.
6960 2004-11-22 Stepan Kasal <kasal@ucw.cz>
6962 * doc/autoconf.texi (Autoconf Language): Explain that
6963 ``descriptions'' may not be double quotes.
6964 (Quotation Rule Of Thumb): Likewise.
6965 (Pretty Help Strings): Likewise; remove the wrong comment;
6966 simplify the examples and improve their quoting.
6968 2004-11-13 Stepan Kasal <kasal@ucw.cz>
6970 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
6971 the $1_found variable, don't test whether the file is executable;
6972 Both things are checked ...
6973 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
6974 the former ``test -f''.
6975 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
6977 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
6979 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
6982 2004-11-10 Derek R. Price <derek@ximbiot.com>
6984 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
6985 limitations. Reorder paragraphs for clarity.
6987 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
6989 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
6990 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
6991 variants", "Unix", and some related minor wording fixups.
6993 (Shellology, Special Shell Variables): Document that the Zsh
6994 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
6995 to Alexandre Duret-Lutz for this info.
6997 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
6999 * doc/autoconf.texi (One-Shot Macros): New node.
7001 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
7003 * doc/autoconf.texi (Function Portability): Fix misdescription
7004 of putenv. Problem reported by Michael Wardle.
7006 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
7008 * doc/autoconf.texi (auindex): New macro.
7009 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
7010 Problem reported by Stepan Kasal.
7012 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
7014 Fix problems reported by Andreas Buening in:
7015 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
7016 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
7018 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
7019 readable; it's not true in OS/2-emx.
7021 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
7023 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
7024 "/usr/include", clear ac_x_includes instead of leaving it as "no"
7025 (trivial change). Problem and patch reported by Andrew Church in:
7026 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
7028 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
7030 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
7031 three args in examples. Problem reported by Frederik Fouvry in:
7032 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
7033 Also, fix some minor spacing and punctuation bugs.
7035 2004-09-02 Akim Demaille <akim@epita.fr>
7037 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
7038 "case" to restore ordering.
7039 Reported by Stepan Kasal.
7041 2004-08-26 Akim Demaille <akim@epita.fr>
7043 * doc/autoconf.texi: Minor typos and stylos.
7045 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
7047 * configure.ac (AC_INIT): Bump to 2.59c.
7049 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
7053 * README: Add advice about m4 1.4.2.
7055 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
7056 texinfo.tex for now (done by hand now).
7057 * Makefile.maint (wget_files, cvs_files):
7058 Remove ansi2knr.c; nobody uses it.
7059 (ansi2knr.c-url_prefix): Remove.
7060 (cvs-update): Fix test for failure. I don't know why it ever
7063 * doc/autoconf.texi: Update URLs, some of which went stale.
7064 Use @uref rather than @href.
7066 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
7067 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
7069 * config/config.guess, config/config.sub, config/elisp-comp,
7070 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
7071 doc/fdl.texi, doc/standards.texi: Sync with master copy.
7073 * NEWS, TODO, configure.ac, bin/autoscan.in,
7074 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
7075 doc/install.texi, lib/Autom4te/Configure_ac.pm,
7076 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
7077 lib/autoconf/programs.m4, lib/autoconf/status.m4,
7078 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
7079 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
7080 tests/tools.at, tests/torture.at:
7081 Use "file name" rather than "filename" or "path",
7082 to be consistent with the terminology of the GNU coding standards.
7084 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
7086 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
7087 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
7088 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
7089 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
7091 More fixes to support spaces in the name of the build directory.
7092 This isn't a complete fix but it's an improvement.
7094 * bin/autoconf.as (autom4te_options): New var.
7095 Use it instead of appending to AUTOM4TE, so that we can allow
7096 spaces in the build directory's absolute name.
7097 * bin/autoheader.in ($autoconf): Allow spaces in file names.
7098 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
7099 AT_CHECK_NOESCAPE): Likewise.
7100 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
7101 main program): Likewise.
7103 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
7105 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
7106 From Ralf Corsepius in:
7107 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
7109 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
7111 * doc/autoconf.texi (Function Portability): Document isinf and
7112 and isnan. From a suggestion by Kevin Ryde.
7114 * lib/Autom4te/General.pm (END): Return correct exit status even
7115 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
7117 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
7119 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
7120 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
7121 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
7123 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
7125 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
7126 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
7127 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
7128 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
7129 * lib/autom4te.in (Automake-preselections): Preselect
7130 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
7132 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
7134 * lib/autom4te.in (Automake-preselections): Preselect
7135 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
7138 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
7140 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
7142 * doc/autoconf.texi (Shellology): Mention BIN_SH.
7143 Document problem with "`""`" in pdksh POSIX mode.
7145 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
7147 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
7148 with pdksh, too. Problem reported by Patrick Welche via
7150 * doc/autoconf.texi (Shellology): Note that set -o posix is
7151 useful for pkdsh, too.
7153 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
7155 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
7156 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
7157 Don't fail if ENV or BASH_ENV is readonly.
7158 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
7159 etc. are read only. Problem reported by Ludovic Courtes.
7161 2004-06-23 Noah Misch <noah@cs.caltech.edu>
7163 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
7164 zsh, disable GLOB_SUBST to avoid backslash handling problems.
7167 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
7169 * doc/autoconf.texi (File System Conventions): Warn about
7170 names like "aux". Problem reported by Eric Blake.
7172 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
7173 by zero instead of array size, so that we can use any arithmetic
7174 constant expression (instead of requiring an integer constant
7175 expression). This allows us to test expressions like DBL_MAX <
7176 LDBL_MAX, which didn't conform to the C standard using the old
7178 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
7179 now that we can do floating-point tests at compile time.
7181 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
7183 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
7184 and LDBL_EPSILON, as the resulting expression isn't an
7185 integer constant expression and violates the C standard.
7186 Problem reported by Nelson H. F. Beebe. Also, check
7187 for "L" suffix, and check that long double doesn't have
7188 worse range or precision than double, that mixed-mode
7189 arithmetic doesn't generate a diagnostic, that double
7190 constants fit in long double.
7192 2004-06-03 Kevin Ryde <user42@zip.com.au>
7194 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
7195 malloc(0) and realloc(NULL,size).
7197 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
7200 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
7202 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
7203 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
7206 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
7208 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
7209 can be rewritten using if-then-else. Suggested by Bruno Haible.
7211 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
7213 * doc/autoconf.texi (testsuite Scripts): Fix typo.
7214 Problem reported by Stepan Kasal.
7216 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
7218 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
7219 change). Patch reported by Ralf Wildenhues in
7220 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
7222 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
7223 function F exists if the compiler and linker let you compile an
7224 expression like (F != 0). Recent versions of GCC optimize away
7225 the reference to F in that case, since every function address must
7226 be nonzero, so the link succeeds even if F does not exist.
7227 Problem reported by Manu in
7228 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
7230 * doc/autoconf.texi (Systemology): Standardize on the spelling of
7231 "Unix". Many uses changed.
7232 (Limitations of Builtins): Explain better why the ! command isn't
7235 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
7237 * lib/autom4te.in (Automake-preselections): Preselect
7238 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
7240 2004-05-19 Kevin Ryde <user42@zip.com.au>
7242 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
7243 referencing AC_FUNC_STRERROR_R.
7245 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
7246 note pessimistic assumption when cross compiling.
7248 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
7250 * doc/autoconf.texi (Limitations of Make): Note that BSD make
7251 (until 2004) invoked subcommands with sh -e, contra POSIX.
7252 Reported by Kevin Ryde.
7254 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
7256 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
7257 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
7258 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
7259 `test -f " /usr/bin/grep"', which _always_ failed.
7260 (AC_PROG_SED): Ditto bogus PATH fix.
7261 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
7262 requires that grep correctly supports _multiple_ `-e' options, rather
7263 than stating only that grep should accept `-e'.
7265 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
7267 Port to C99, which requires that 'exit' be declared.
7269 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
7270 to ensure that stdlib.h is included.
7271 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
7272 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
7273 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
7274 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
7275 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
7276 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
7277 when using 'exit' in a test; C99 requires that 'exit' be declared.
7279 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
7281 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
7282 now prefers 'grep' implementations that accept -e.
7283 (Limitations of Usual Tools): Describe problems of traditional
7284 egrep and fgrep with long input lines, and of traditional grep
7286 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
7287 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
7288 All callers changed. Append /usr/xpg4/bin to the PATH, for
7290 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
7291 the user with complaints about multiple -e options.
7292 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
7293 Define it with AC_PROG_GREP.
7294 * configure.ac (AC_PROG_GREP): Add.
7295 * lib/freeze.mk (GREP): New macro.
7297 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
7299 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
7300 a possible candidate only after all others fail, rather than
7301 consulting it first. This improves backward compatibility by
7302 better reflecting the way shell selection occurred in previous
7303 versions of Autoconf, and should help to avoid triggering latent
7304 problems in other packages, such as the one in Automake where zsh
7305 is not handled robustly:
7306 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
7307 Although it is not Autoconf's responsibility to work around
7308 problems in Automake, it nevertheless makes sense to avoid
7309 introducing unnecessary incompatibilites.
7311 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
7312 Gary V. Vaughan <gary@gnu.org>
7314 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
7315 how deeply nested we are when a suitable tool is found, set the
7316 ac_path_TOOL_found flag.
7317 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
7318 nested we are in this macro. Break out of all 3 nested loops if
7319 ac_path_TOOL_found is set.
7321 2004-04-21 Gary V. Vaughan <gary@gnu.org>
7323 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
7324 of the _AS_PATH_WALK loop too if GNU flavor is found.
7326 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
7328 * doc/autoconf.texi (Limitations of Make): Update documentation
7329 for `$<'. New entry `Long lines', based on a report from Simon
7330 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
7331 paragraph about DJGPP, based on a mail from Richard Dawe.
7333 2004-04-20 Paul Eggert <eggert@twinsun.com>
7335 * tests/c.at (C keywords): Don't assume that GCC supports
7336 "restrict" and "inline", as sufficiently-old GCC versions do not
7337 (also, GCC configured to be in pedantic C89 mode does not).
7338 Problem reported by Sumit Pandya in:
7339 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
7341 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
7342 consider -g to work if it generates warnings when plain compiles
7343 don't. Problem reported by Braden McDaniel in:
7344 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
7346 * doc/autoconf.texi (Slashes): New section, to document a problem
7347 reported by Jim Meyering in:
7348 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
7350 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
7351 linker output files before linking, to work around IRIX 6 linker bug.
7352 Problem reported by Rainer Orth in:
7353 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
7355 2004-04-20 Gary V. Vaughan <gary@gnu.org>
7357 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
7358 best tool so far counter rely on the tool path variable name to
7359 avoid checks for one tool being affected by the results of running
7360 the length check on a previous tool.
7362 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
7363 match expression argument, as different greps have different
7364 regular expression flavours.
7365 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
7367 (AC_PROG_EGREP): Pass 'EGREP$'.
7368 (AC_PROG_GREP): Pass 'GREP$'.
7370 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
7372 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
7373 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
7375 2004-03-29 Paul Eggert <eggert@twinsun.com>
7377 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
7378 Types, Specific Compiler Characteristics, System Services,
7379 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
7380 etc. consistently instead of 'long', 'short', 'unsigned' etc.
7381 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
7382 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
7384 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
7385 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
7386 AC_TYPE_OFF_T): Likewise.
7387 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
7390 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
7391 pacify libtool 1.5.2. Fix quoting problems in sed command.
7393 2004-03-28 Paul Eggert <eggert@twinsun.com>
7395 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
7396 now defines HAVE_DECL_TZNAME if it is declared, when
7397 HAVE_STRUCT_TM_TM_ZONE is not defined.
7398 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
7399 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
7402 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
7404 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
7405 superfluous backslashing of quotes (") in sed expressions;
7406 thanks to Paul Eggert.
7408 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
7410 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
7411 Fortran compiler is ifort, also added pghpf; thanks to Nelson
7412 H. F. Beebe for the bug report.
7414 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
7416 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
7417 quoted -cmdline argument in Portland Group compiler (bug
7418 reported by Jeffrey J. Barteet).
7420 2004-03-25 Kevin Ryde <user42@zip.com.au>
7422 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
7423 (Run Time): ... here, where it's now mentioned.
7425 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
7427 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
7428 inherits from language Autoconf-without-aclocal-m4.
7429 (Customizing autom4te): Adjust example; the cache must now be
7430 disabled for language Autoconf-without-aclocal-m4.
7432 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
7433 Nathanael Nerode <neroden@twcny.rr.com>
7435 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
7436 AC_CHECK_TOOLS): Warn if a cross-tool is found without
7438 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7439 AC_CHECK_TARGET_TOOLS): New macros.
7440 * doc/autoconf.texi (Generic Programs): Document
7441 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7442 AC_CHECK_TARGET_TOOLS, and warn for future changes
7443 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
7445 (Specifying Names): Document the reason for these future
7447 * tests/mktests.sh: Do not generate tests for the
7449 * NEWS: Document these changes.
7451 * doc/autoconf.texi: Avoid macros with unbraced arguments,
7452 they make TeX hang up.
7454 2004-03-15 Paul Eggert <eggert@bogus.example.com>
7456 * NEWS: New macro AC_CHECK_ALIGNOF.
7457 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
7458 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
7459 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
7461 (AC_CHECK_ALIGNOF): New macro.
7462 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
7463 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
7466 2004-03-03 Paul Eggert <eggert@twinsun.com>
7468 * bin/Makefile.am (edit): Don't use $< in a context where
7469 POSIX doesn't require support for it. Use $@.in instead.
7470 Problem reported by Anthony N. Frasso in
7471 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
7472 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
7474 2004-02-23 Gary V. Vaughan <gary@gnu.org>
7476 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
7477 from the next generation of Libtool.
7478 * lib/autom4te.in (Autoreconf-preselections): Ditto.
7480 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
7482 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
7483 is not always thread-safe. Report from Nathanael Nerode.
7485 2004-02-18 Paul Eggert <eggert@twinsun.com>
7487 Fix a dependencies problem, stemming from a Autoconf 2.59 build
7488 problem on QNX reported by Stephen Rasku in
7489 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
7491 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
7492 $(m4sh_m4f_dependencies); this removes a FIXME.
7493 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
7494 (MAINTAINERCLEANFILES): Split into pieces,
7495 one per related section. Add $(srcdir)/wrapper.in.
7497 2004-02-09 Paul Eggert <eggert@twinsun.com>
7499 * doc/autoconf.texi (Setting Output Variables): Emphasize that
7500 AC_SUBST provides no portable way to escape literal newlines.
7502 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
7503 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
7504 Darwin uses -lcrt2.o and there's little point to cataloging all
7505 the system variants. Partial fix reported by Andreas Waechter in:
7506 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
7507 for bug reported by Nelson H. F. Beebe in:
7508 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
7510 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
7512 * doc/autoconf.texi (AU_DEFUN): Fix English,
7513 suggested by Paul Eggert.
7514 * lib/autoconf/autoupdate.m4: Correct reference to
7515 acobsolete.m4, suggested by Alexandre Duret-Lutz.
7517 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
7519 * bin/autoupdate.in: Define __file__ so that warnings
7520 refer to the correct file.
7521 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
7522 the behavior of the third argument.
7523 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
7524 correctly the behavior of the third argument. Document
7525 what the three macros that AU_DEFUN defines do. Fix
7526 warning message when the third argument includes $0
7527 (reported by Alexandre Duret-Lutz).
7529 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
7530 Eric Sunshine <sunshine@sunshineco.com>
7531 Paul Eggert <eggert@twinsun.com>
7533 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
7534 (AS_INIT): Output shell initialization there. Removed optional
7535 parameter. Expand _AS_SHELL_FN_SPY.
7536 (AS_INIT_WITH_SHELL_FN): Removed.
7537 (_AS_SHELL_FN_SPY): New macro.
7538 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
7540 (AS_SHELL_SANITIZE): Remove loop to find better shell
7541 and documentation for the parameter.
7542 (_AS_DETECT_BETTER_SHELL): Move it here.
7543 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
7544 (_AS_RUN): Move it here, support testing with eval.
7545 (AS_REQUIRE_SHELL_FN): Require shell functions when
7547 (_AS_LINENO_WORKS): Put around braces, we do not
7548 trigger the bash bug anymore.
7549 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
7550 use AS_INIT_WITH_SHELL_FN.
7551 * bin/autoconf.in, tests/wrapper.in: Regenerated.
7553 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
7555 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
7556 * doc/autoconf.texi: Don't say that the third parameter
7558 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
7559 (AU_DEFUN): Honor the third parameter, create autoupdate
7560 macros with AU_DEFINE.
7561 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
7562 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
7563 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
7564 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
7565 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
7566 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
7567 AC_XENIX_DIR): Likewise.
7568 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
7569 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
7570 * lib/autoconf/status.m4: Remove FIXME.
7571 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
7572 that the macro is not present anymore in the updated
7574 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
7577 2004-01-28 Paul Eggert <eggert@twinsun.com>
7579 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
7581 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
7582 2003 (except 1997) to the list of copyright years. This undoes
7583 the 2003-05-22 change, which removed the older years from the list.
7584 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
7586 2004-01-27 Gary V. Vaughan <gary@gnu.org>
7587 Albert Chin-A-Young <china@thewrittenword.com>
7589 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
7590 grep or ggrep program in PATH that accepts as long lines as
7592 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
7594 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
7595 egrep and fgrep respectively if $GREP -E/-F don't work.
7596 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
7597 _AC_PROG_GREP, and AC_PROG_SED.
7598 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
7599 longest input length accepted by a command.
7600 (AC_PROG_SED): Use it.
7601 * doc/autoconf.texi (Particular Programs): Document the changes.
7604 2004-01-27 Paul Eggert <eggert@twinsun.com>
7606 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
7607 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7608 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
7609 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
7611 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
7612 bin/autoconf.in, config/Makefile.in, config/config.guess,
7613 config/config.sub, config/install-sh, config/mdate-sh,
7614 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
7615 lib/Makefile.in, lib/Autom4te/Makefile.in,
7616 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
7617 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
7618 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
7619 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
7620 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
7621 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
7622 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
7623 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
7624 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
7625 tests/actypes.at: Regenerate and/or sync with original
7628 2004-01-26 Paul Eggert <eggert@twinsun.com>
7630 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
7631 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
7632 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
7633 not <inttypes.h>. Problem reported by Tim Mooney in
7634 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
7635 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
7638 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
7639 otherwise "make check" fails because it forbids cmp (I guess
7640 because cmp treats files as binary on DOS-like systems).
7642 * tests/mktests.sh: Update copyright date to 2004, since some tests
7643 have changed in 2004.
7645 2004-01-23 Gary V. Vaughan <gary@gnu.org>
7647 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
7648 non-truncating sed or gsed program in PATH.
7649 * tests/acprograms.at: Add it.
7650 * doc/autoconf.texi (Particular Programs): Document it.
7653 2004-01-15 Paul Eggert <eggert@twinsun.com>
7655 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
7656 -std1 disables some useful extensions on Tru64. Problem reported
7658 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
7660 2004-01-14 Paul Eggert <eggert@twinsun.com>
7662 * doc/autoconf.texi (Programming in M4sh): Document that
7663 AS_MKDIR_P succeeds if the destination is a symbolic link
7664 to an existing directory.
7665 (Limitations of Usual Tools): Note that mkdir -p might not
7666 succeed on symlinks to directories.
7668 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
7670 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
7671 * bin/autoheader.in: Grammar fix in message.
7672 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
7673 Test for dir before calling mkdir -p. (trivial changes)
7675 2004-01-13 Eric Blake <ebb9@byu.net>
7677 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
7678 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
7680 2004-01-10 Jim Meyering <jim@meyering.net>
7682 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
7684 2004-01-09 Paul Eggert <eggert@twinsun.com>
7686 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
7687 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
7688 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
7689 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
7690 AC_COMPILE_IFELSE, since we now assume our caller invokes
7691 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
7692 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
7693 of AC_RUN_IFELSE; this avoids the warning mentioned above.
7694 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
7696 2004-01-07 Paul Eggert <eggert@twinsun.com>
7698 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
7699 `"'...'"`, as it's confusing (and I suspect it may not work on
7700 some platforms). The code was incorrect anyway, as it assumed
7701 that \$ evaluated to itself in that context. Reported by
7702 Alexandre Duret-Lutz.
7704 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
7706 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
7707 and _LT_AC_TAGCONFIG.
7709 2004-01-06 Paul Eggert <eggert@twinsun.com>
7711 * doc/autoconf.texi (One Macro Call): Fix an incorrect
7712 example, and add more examples. Reported by Eric Sunshine.
7714 2004-01-05 Paul Eggert <eggert@twinsun.com>
7716 * doc/autoconf.texi (Limitations of Usual Tools):
7717 Remove warning against "rm -fr" introduced yesterday; it
7720 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
7721 autoscan, autoupdate, ifnames): Don't use chmod -w.
7722 * lib/Makefile.am (autom4te.cfg): Likewise.
7723 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
7726 2004-01-04 Paul Eggert <eggert@twinsun.com>
7727 Paolo Bonzini <bonzini@gnu.org>
7729 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
7730 by doing lineno substitution only on lines containing "$LINENO".
7732 2004-01-04 Paul Eggert <eggert@twinsun.com>
7734 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
7735 Use "rm -f" to remove conftest.sed, not plain "rm".
7736 Bug reported by David Relson in
7737 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
7739 * Makefile.am (autom4te-update):
7740 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
7741 * Makefile.maint (my-distcheck, do-po-update): Likewise.
7742 * doc/autoconf.texi (Guidelines): Likewise.
7743 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
7744 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
7745 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
7746 * lib/autotest/general.m4 (AT_INIT): Likewise.
7747 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
7748 * tests/Makefile.am (clean-local): Likewise.
7749 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
7751 * doc/autoconf.texi (Limitations of Usual Tools):
7752 Warn against "rm -fr".
7754 2004-01-03 Paul Eggert <eggert@twinsun.com>
7756 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
7757 -c -o might not work. From a suggestion by Kevin Ryde.
7758 (C Compiler, Generating Sources, Limitations
7759 of Usual Tools, Limitations of Make, Making testsuite Scripts):
7760 Don't put '-o' after non-options, as POSIX doesn't allow this.
7761 Mention that cc's name might be gcc or c89 or whatever.
7763 2004-01-04 Kevin Ryde <user42@zip.com.au>
7765 * doc/autoconf.texi: Add various further index entries.
7767 2003-12-29 Paul Eggert <eggert@twinsun.com>
7769 * bin/autoreconf.in (autoreconf_current_directory):
7770 Fix typo: mkdir without umask arg.
7772 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
7774 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
7775 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
7776 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
7777 explanation clearer.
7779 2003-12-24 Andreas Schwab <schwab@suse.de>
7781 * doc/autoconf.texi (Default Includes): Fix misspelling of
7782 AC_INCLUDES_DEFAULT.
7784 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
7786 * configure.ac: Test if sh -n works.
7787 * configure: Regenerate.
7788 * tests/atlocal.in: Store the result here.
7789 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
7790 tools.at, looking in atlocal's ac_cv_sh_n_works instead
7791 of explicitly testing.
7792 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
7793 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
7794 * tests/tools.at (Syntax of the shell scripts): Simplify
7795 using AT_CHECK_SHELL_SYNTAX.
7796 (Syntax of the Perl scripts): Remove definition of
7797 AT_CHECK_PERL_SYNTAX.
7799 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
7801 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
7802 stderr to /dev/null.
7803 * bin/autoconf.in: Regenerate.
7804 * bin/wrapper.in: Regenerate.
7806 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
7808 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
7809 Extracted from AS_SHELL_SANITIZE.
7810 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
7812 (AS_SHELL_SANITIZE): Move reinvocation code from
7813 _AS_LINENO_WORKS, use it to find out if shell
7815 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
7817 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
7818 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
7820 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
7821 * bin/autoconf.in: Regenerate.
7822 * tests/wrapper.in: Regenerate.
7823 * tests/tools.at: Test the syntax of tests/autoconf
7824 and tests/testsuite.
7826 2003-11-24 Akim Demaille <akim@epita.fr>
7828 * config/announce-gen (&print_locations, &print_signatures)
7831 No longer rely on Gnus to inline the list of signatures: compute
7834 2003-11-24 Akim Demaille <akim@epita.fr>
7836 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
7837 override some files.
7838 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
7839 From Debian Autoconf 2.58.
7841 2003-11-24 Akim Demaille <akim@epita.fr>
7843 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
7845 From Debian Autoconf 2.58.
7847 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
7849 * TODO: Remove already done things. Update the part about finding
7850 tools for the target.
7852 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
7854 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
7855 Make wording more consistent.
7856 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7857 Explain the transition better.
7858 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
7859 the transition better.
7861 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
7863 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
7864 parameter of AU_DEFUN.
7865 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
7866 (AU_DEFUN): Remove the third parameter, it was not used.
7867 Use AC_DEFUN directly, not AU_DEFINE.
7868 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
7869 the expanded body, consistently with other macros such as AC_USG.
7871 2003-11-17 Paul Eggert <eggert@twinsun.com>
7873 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
7874 into the initial confdefs.h, to work around a bug in NextStep 3.3
7875 patch 3 reported by Eric Sunshine.
7877 2003-11-15 Kevin Ryde <user42@zip.com.au>
7879 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
7880 than $target since the latter is not usual, add guidelines on when to
7881 use or not use the system type.
7883 2003-11-12 Derek Price <derek@ximbiot.com>
7885 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
7886 typo misrepaired by an auto-spellcheck.
7888 2003-11-12 Akim Demaille <akim@epita.fr>
7890 * bin/autoreconf.in (&parse_args): Don't call automake with
7891 --force-missing unless it actually supports it.
7892 From Debian #219336.
7894 2003-11-12 Akim Demaille <akim@epita.fr>
7896 * configure.ac: Bump to 2.59a.
7899 2003-11-06 Akim Demaille <akim@epita.fr>
7903 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
7905 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
7906 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
7907 and ac_abs_top_srcdir are absolute paths.
7908 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
7910 2003-11-05 Akim Demaille <akim@epita.fr>
7912 * configure.ac: Bump to 2.58a.
7914 2003-11-05 Kevin Ryde <user42@zip.com.au>
7916 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
7917 it provokes a warning from makeinfo about looking like a cross
7918 reference in info output.
7920 * doc/autoconf.texi (Function Portability): Add notes on signal
7921 handler return type, as per AC_TYPE_SIGNAL.
7923 2003-11-04 Akim Demaille <akim@epita.fr>
7926 * doc/standards.texi: Update from master.
7928 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
7930 2003-11-04 Akim Demaille <akim@epita.fr>
7932 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
7933 computing the absolute path to d1 in the source hierarchy: it may
7934 not exist at all. So don't cd into it.
7935 From Alexandre Duret-Lutz.
7936 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
7938 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
7939 From Paul Eggert, but named after Perl's IO::Spec->catfile.
7940 * doc/autoconf.texi (Programming in M4sh): Document.
7941 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
7943 2003-11-03 Pavel Roskin <proski@gnu.org>
7945 * doc/autoconf.texi (Generic Structure Checks): Describe
7946 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
7948 2003-10-31 Akim Demaille <akim@epita.fr>
7950 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
7952 * doc/autoconf.texi (Language Choice): Document.
7953 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
7954 the current language is Fortran.
7956 2003-10-31 Akim Demaille <akim@epita.fr>
7958 * bin/autom4te.in (&freeze): Use a less likely warning separator
7959 than `\n\n', so that `\n\n\n' is valid in warnings.
7960 Reported by Steve Huston.
7962 2003-10-28 Akim Demaille <akim@epita.fr>
7964 * Makefile.cfg (local_updates, executable-update): Tweak to be
7965 robust to parallel makes.
7966 Suggested by Alexandre Duret-Lutz.
7968 2003-10-27 Akim Demaille <akim@epita.fr>
7970 * Makefile.cfg (executable-update): New.
7971 (local_updates): Call it.
7973 2003-10-27 Akim Demaille <akim@epita.fr>
7975 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
7976 Don't remove core.* as it may remove valid user files.
7977 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
7978 (AC_FUNC_UTIME_NULL): Likewise.
7980 2003-10-23 Akim Demaille <akim@epita.fr>
7983 * config/config.guess, config/config.sub: Upgrade from masters.
7985 2003-10-23 Akim Demaille <akim@epita.fr>
7987 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
7988 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
7991 2003-10-23 Akim Demaille <akim@epita.fr>
7993 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
7994 Don't forget to remove conftest.err.
7996 2003-10-23 Akim Demaille <akim@epita.fr>
7998 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
7999 same object file in $LIBOBJS.
8000 Reported by Alexandre Duret-Lutz & Derek Robert Price.
8001 * doc/autoconf.texi (Generic Functions): Adjust.
8003 2003-10-20 Paul Eggert <eggert@twinsun.com>
8005 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
8006 Use 'eval', so that the resulting configure scripts work even if
8007 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
8009 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
8011 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
8012 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
8013 (_AC_LINK_IFELSE): Check the werror flag.
8014 * doc/autoconf.texi (Generic Compiler Characteristics): Document
8018 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
8020 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
8021 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
8022 override AC_LINK_IFELSE.
8024 2003-10-15 Paul Eggert <eggert@twinsun.com>
8026 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
8027 pdksh 5.2.14. Bug reported by Ralf Corsepius.
8028 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
8029 Mention /usr/dt/bin/dtksh on Solaris.
8030 (Shell Substitutions): Warn about $((...)).
8031 (Parentheses): New section.
8033 2003-10-15 Kevin Ryde <user42@zip.com.au>
8035 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
8036 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
8038 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
8040 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
8043 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
8045 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
8046 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
8048 2003-10-10 Andreas Schwab <schwab@suse.de>
8050 * bin/autoheader.in: Avoid empty first line in --version and
8052 * bin/ifnames.in: Likewise.
8054 2003-10-09 Paul Eggert <eggert@twinsun.com>
8056 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
8057 Issue a more-informative diagnostic.
8058 Problems reported by Eric Sunshine.
8060 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
8062 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
8063 -mGLOB_options_string stuff for Intel ifc, which can cause
8064 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
8065 pattern-matching instead of grep.
8067 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
8069 * doc/autoconf.texi: Document new FC Fortran macros.
8071 2003-10-08 Gary V. Vaughan <gary@gnu.org>
8073 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
8074 that future autopoint/aclocal/automake/autoreconf will be able
8075 to trace to find where to install local m4 macros.
8076 * doc/autoconf.texi (Input): Document it.
8079 2003-10-06 Gary V. Vaughan <gary@gnu.org>
8081 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
8082 -lcrtbegin.o to list of ignored flags and fix underquoting of
8085 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
8087 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
8088 cache variable instead of $G77 to decide whether to include -O2,
8089 since $G77 is specific to Fortran 77.
8091 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
8093 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
8094 free" flag. Re-order flags tested into rough order of popularity.
8096 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
8098 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
8099 arguments so that it can be used with syntax identical to
8100 AC_PROG_F77, and so that we can more easily decide to
8101 remove/deprecate the DIALECT optional argument in the future if it
8103 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
8104 non-freeform-supporting compilers. Document freeform flags.
8106 2003-10-03 Akim Demaille <akim@epita.fr>
8108 * configure.ac: Look for emacs, not macs.
8109 Reported by Eric Sunshine.
8111 2003-10-03 Akim Demaille <akim@epita.fr>
8113 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
8114 * bin/autoreconf.in (autoreconf_current_directory): Create the
8115 AUX_DIR if needed, for sake of automake --add-missing etc.
8116 Suggested by Alexandre Duret-Lutz.
8118 2003-10-03 Akim Demaille <akim@epita.fr>
8120 * configure.ac: Quotation and formatting changes.
8121 (EMACS): Don't set it if it is not recent enough to support
8125 2003-10-02 Akim Demaille <akim@epita.fr>
8127 * bin/ifnames.in (&scan_file): Skip C++ comments.
8130 2003-10-01 Pavel Roskin <proski@gnu.org>
8132 * doc/autoconf.texi (Particular Structure Checks):
8133 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
8135 2003-10-01 Akim Demaille <akim@epita.fr>
8139 2003-09-30 Paul Eggert <eggert@twinsun.com>
8141 * lib/Autom4te/XFile.pm: Use Errno.
8142 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
8143 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
8145 2003-09-30 Akim Demaille <akim@epita.fr>
8147 * config/announce-gen (&print_news_deltas): Extracted from...
8148 (&print_changelog_deltas): here.
8149 (&news_file): Rename as...
8152 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
8154 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
8155 have been created when invoking the compiler.
8156 * tests/fortran.at (GNU Fortran 77): Quote $G77.
8158 2003-09-29 Akim Demaille <akim@epita.fr>
8162 * config/mkinstalldirs: Upgrade.
8164 2003-09-28 Paul Eggert <eggert@twinsun.com>
8166 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
8167 Problem reported by Lars J. Aas in
8168 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
8169 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
8170 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
8171 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
8173 2003-09-26 Akim Demaille <akim@epita.fr>
8175 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
8176 directory for AC_CONFIG_COMMANDS' first argument exists.
8177 This makes valid the invocation of _AC_SRCPATH that follows.
8178 Reported by Eric Sunshine.
8179 * doc/autoconf.texi (Configuration Commands): Adjust.
8181 2003-09-26 Akim Demaille <akim@epita.fr>
8183 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
8184 Reported by Ralf Corsepius.
8186 2003-09-26 Akim Demaille <akim@epita.fr>
8188 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
8190 Actually, use AU_ALIAS.
8193 2003-09-26 Paul Eggert <eggert@twinsun.com>
8195 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
8196 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
8197 Problem reported by Eric Sunshine in:
8198 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
8200 2003-09-26 Akim Demaille <akim@epita.fr>
8202 The test suite are sometimes assigning timings incorrectly.
8203 Reported by Henk Krus.
8204 Diagnosed by Nicolas Joly.
8206 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
8208 Instead of making AT_help a sequence of assignments to grow
8209 $at_help_all, just make AT_help_all be the growing contents of
8210 $at_help_all, and make a single assignment in...
8212 (at_times_skip): Flip the meaning and rename as...
8214 (AT_INIT): When summarizing the test that ran, remove
8215 $at_times_file after use, and check it is present before trying to
8218 2003-09-25 Akim Demaille <akim@epita.fr>
8222 * bin/Makefile.am (edit): Handle '@configure_input@'.
8223 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
8224 (ifnames): chmod -w.
8225 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
8226 executables, not bin/ executables! Otherwise all the magic needed
8227 to find non installed files is turned off. This caused a failure
8228 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
8229 as found in its environment (sent by tests/autoreconf): pointing
8230 to bin/autom4te that could not find its files.
8231 * tests/mktests.sh: Force the replacement of generated files, for
8232 the sake of "mv" program that are interactive when overwriting a
8234 * config/install-sh: Upgrade from CVS Automake.
8236 2003-09-23 Paul Eggert <eggert@twinsun.com>
8238 * doc/autoconf.texi (Limitations of Builtins): Document test -h
8239 versus test -L issues.
8241 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
8242 Paul Eggert <eggert@twinsun.com>
8244 Trivial change to support GCC's configuration procedure.
8245 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
8246 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
8247 about inconsistency if the preprocessor is set to give errors for
8249 * doc/autoconf.texi (C Compiler Characteristics): Document this.
8251 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
8253 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
8254 and XFile.pm from Automake.
8255 * lib/Autom4te/XFile.pm: Update from Automake.
8257 2003-09-12 Akim Demaille <akim@epita.fr>
8261 2003-09-12 Akim Demaille <akim@epita.fr>
8263 * config/config.guess, config/config.sub, config/missing,
8264 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
8267 2003-09-12 Akim Demaille <akim@epita.fr>
8269 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
8272 2003-09-11 Akim Demaille <akim@epita.fr>
8274 * doc/autoconf.texi (Header Portability): linux/random.h.
8275 From Peter Hendrickson.
8277 2003-09-10 Akim Demaille <akim@epita.fr>
8279 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
8280 willing to edit the output files.
8282 2003-09-10 Akim Demaille <akim@epita.fr>
8284 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
8286 * tests/mktests.sh: Skip AC_FC_SRCEXT.
8287 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
8289 2003-09-09 Akim Demaille <akim@epita.fr>
8291 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
8292 Reported by Gary Vaughan.
8293 * bin/autom4te.in (handle_m4): Likewise.
8295 2003-09-09 Akim Demaille <akim@epita.fr>
8297 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
8300 2003-09-07 Paul Eggert <eggert@twinsun.com>
8302 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
8303 Improve the accuracy of the wording about obsolescence.
8304 From a suggestion by Ian Lance Taylor in
8305 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
8307 2003-09-05 Paul Eggert <eggert@twinsun.com>
8309 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
8310 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
8312 2003-09-04 Akim Demaille <akim@epita.fr>
8314 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
8317 2003-09-04 Akim Demaille <akim@epita.fr>
8319 * bin/autom4te.in: Use &fatal where more appropriate than &error.
8320 (freeze): When exiting, use $exit_code.
8321 * lib/autoconf/fortran.m4: Comment changes.
8323 2003-09-04 Akim Demaille <akim@epita.fr>
8325 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
8327 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
8329 Add support for newer Fortran dialects. The F77 interface is
8330 unchanged, and continues to support Fortran 77. New FC macros
8331 correspond to all the old F77 macros, with output variables FC,
8332 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
8333 available dialect, but older dialects can be specified. There are
8334 new macros AC_FC_SRCEXT to set the source extension, and
8335 AC_FC_FREEFORM to accept free-form source files.
8337 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
8339 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
8340 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
8341 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
8342 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
8343 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
8344 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
8345 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
8346 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
8347 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
8348 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
8349 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
8350 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
8351 AC_FC_SRCEXT, AC_FC_FREEFORM):
8353 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
8354 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
8355 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
8356 Rewrite in terms of the above.
8357 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
8358 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
8359 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
8360 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
8362 2003-09-02 Paul Eggert <eggert@twinsun.com>
8364 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
8365 Document problems with timestamp resolution that 'make', 'cp -p', and
8368 2003-08-27 Akim Demaille <akim@epita.fr>
8370 * tests/m4sugar.at (cross_warning): Make sure to enable the
8371 output, so that we can track spurious m4sugar output.
8372 * tests/local.at: Require 2.57.
8373 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
8374 are defaulted by AT_CHECK anyway.
8375 Use AT_CHECK_AUTOM4TE.
8376 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
8379 2003-08-27 Akim Demaille <akim@epita.fr>
8381 * bin/autoheader.in: Issue the "Using auxiliary..." message only
8382 when -Wobsolete is set.
8383 Set it on by default.
8384 Suggested by Klee Dienes.
8386 2003-08-27 Akim Demaille <akim@epita.fr>
8388 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
8392 2003-08-26 Akim Demaille <akim@epita.fr>
8394 * doc/autoconf.texi (Output): Make clear that one can run code
8397 2003-08-25 Akim Demaille <akim@epita.fr>
8399 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
8402 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
8404 * bin/autoreconf.in (parse_args): Do not pass --no-force to
8405 Automake versions prior to 1.8.
8407 2003-08-25 Akim Demaille <akim@epita.fr>
8409 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
8412 2003-08-24 Akim Demaille <akim@epita.fr>
8414 * configure.ac: Bump to 2.57c.
8416 2003-08-22 Akim Demaille <akim@epita.fr>
8420 * Makefile.cfg (local-checks-to-skip): New.
8421 * Makefile.maint (local-check): Rename as...
8422 (local-checks-available): this.
8425 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
8426 * configure.ac: Require Automake 1.7.6.
8428 2003-08-22 Akim Demaille <akim@epita.fr>
8430 Output stack traces in warnings.
8432 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
8433 Replace the former...
8434 (m4_warn): Pass the call stack to _m4_warn.
8435 * bin/autom4te.in: Adjust to output the call stack.
8436 * tests/m4sugar.at (m4@&t@_warn): Adjust.
8438 2003-08-22 Akim Demaille <akim@epita.fr>
8440 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
8441 * bin/autom4te.in: Adjust.
8443 2003-08-21 Akim Demaille <akim@epita.fr>
8445 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
8447 (&getopt): Adjust the note and verb channels, depending upon
8449 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
8450 * bin/autoupdate.in: Adjust.
8451 Use &verb, not &verbose.
8453 2003-08-21 Akim Demaille <akim@epita.fr>
8455 * bin/autoheader.in (&parse_args): Use &parse_warnings and
8457 ($help): Use Autom4te::ChannelDefs::usage.
8458 * bin/autoscan.in: Use Autom4te::ChannelDefs.
8459 * lib/Autom4te/General.pm: Don't export error: you don't own it.
8461 2003-08-21 Akim Demaille <akim@epita.fr>
8463 First stab at preserving warnings between calls to autom4te,
8464 including when the cache is used.
8466 There are still several issues: (i) there are too many runs of m4
8467 (one for include, one for warnings, and some more), (ii) warnings
8468 spreading on several lines are not handled gracefully, (iii) the
8469 code meant to have the call stack display for errors does not work
8470 (its handling should move from m4 to autom4te).
8472 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
8474 (@preselect): Add m4_warn.
8475 ($exit_status): Remove, use $exit_code.
8476 ($help): Use Autom4te::ChannelDefs::usage.
8477 (&handle_m4): No longer define the m4_warnings.
8478 At each run, extract and report the warnings.
8479 Always cache the result, including if the exit status is on
8480 failure, since if nothing changes, we should result in the same
8481 failure, hence we can use the cache.
8482 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
8483 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
8485 (m4_warn): Redefine as a do-nothing: it is its invocation that
8486 matters, as warnings are now reported via traces.
8487 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
8488 the contents of m4_warn: make it _call_ m4_warn, so that tracing
8489 the latter reveals calls to the former.
8493 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
8495 2003-08-21 Akim Demaille <akim@epita.fr>
8497 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
8500 2003-08-21 Akim Demaille <akim@epita.fr>
8502 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
8504 * lib/Autom4te/ChannelDefs.pm: Doc typos.
8505 (&parse_warnings): Accept a list of warning requests.
8506 (&usage): Return a string, not a side effect.
8507 (cross): New warning category.
8509 2003-08-21 Akim Demaille <akim@epita.fr>
8511 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
8512 (&require_configure_ac): Accept an optional directory argument.
8513 ($configure_ac): Remove.
8514 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
8516 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
8517 * bin/autoscan.in: Adjust.
8519 2003-08-20 Akim Demaille <akim@epita.fr>
8521 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
8522 Reported by Alexandre Duret-Lutz.
8524 2003-08-20 Akim Demaille <akim@epita.fr>
8526 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
8527 * bin/autom4te: Adjust.
8528 In particular, be Autoconf tools are really silent when properly
8529 working, bind the verbosity of the 'note' channel to $verbose.
8530 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
8531 (&xsystem, &contents): Remove, since they are exported by...
8532 * lib/Autom4te/FileUtils.pm: this.
8534 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
8535 * lib/Autom4te/FileUtils.pm: here.
8537 2003-08-20 Akim Demaille <akim@epita.fr>
8539 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
8540 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
8543 2003-08-20 Akim Demaille <akim@epita.fr>
8545 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
8546 (autom4te-update): New.
8547 * Makefile.cfg (update): Bind autom4te-update.
8549 2003-08-19 Derek Price <derek@ximbiot.com>
8551 * lib/autotest/general.m4: Comment various HELP_* diversions.
8552 (PARSE_ARGS_BEGIN): New section for option parsing related
8554 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
8555 package specific options and associated help.
8557 2003-08-19 Akim Demaille <akim@epita.fr>
8559 * config/announce-gen, Makefile.cfg: New.
8560 * Makefile.am: Adjust.
8561 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
8563 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
8565 * lib/autom4te.in (Automake-preselections): Preselect
8566 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
8569 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
8571 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
8572 (Autoconf-without-aclocal-m4): ... this new language.
8573 * doc/autoconf.texi (autom4te Invocation): Mention
8574 Autoconf-without-aclocal-m4.
8576 2003-08-18 Derek Price <derek@ximbiot.com>
8578 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
8579 RUN-IF-PASS optional arguments.
8581 2003-08-18 Derek Price <derek@ximbiot.com>
8583 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
8585 2003-08-16 Derek Price <derek@ximbiot.com>
8587 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
8588 STDOUT & STDERR arguments.
8590 2003-08-14 Derek Price <derek@ximbiot.com>
8592 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
8593 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
8594 shorter column three. Add DESCRIPTION to log file content.
8596 2003-08-13 Derek Price <derek@ximbiot.com>
8598 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
8601 2003-08-12 Derek Price <derek@ximbiot.com>
8603 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
8604 (AT_CHECK_NOESCAPE): Move core functionality to...
8605 (_AT_CHECK): ...this new macro.
8607 2003-08-07 Derek Price <derek@ximbiot.com>
8609 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
8610 (AT_CHECK_NOESCAPE): ...to this new macro.
8612 2003-07-31 Paul Eggert <eggert@twinsun.com>
8614 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
8615 in Bash 2.01. Problem reported by Brian Gough in
8616 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
8618 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
8620 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
8621 -lcrt1.o, for OS X. (trivial change)
8623 2003-07-07 Paul Eggert <eggert@twinsun.com>
8625 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
8626 inside '#ifndef __cplusplus'. Problem reported by
8629 2003-07-06 Bill Clarke <llib@computer.org>
8631 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
8632 'long', not 'int', for benefit of Sun's recent C++ compilers
8633 (trivial change). See:
8634 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
8635 (This really should be 'intptr_t', not 'long', but that would
8638 2003-06-25 Akim Demaille <akim@epita.fr>
8640 * lib/Makefile.am (autom4te.cfg): Make it read only.
8641 Depend on Makefile since it contains substitutions.
8643 * lib/autom4te.in (args): Add local.at? for Autotest args.
8644 This change was made on autom4te.cfg which is generated.
8645 Reported by Raja R. Harinath.
8647 2003-06-25 Akim Demaille <akim@epita.fr>
8649 * doc/autoconf.texi (Header Portability): sys/mount.h.
8650 From Gareth McCaughan.
8652 2003-06-23 Akim Demaille <akim@epita.fr>
8654 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
8655 not all of them. This fixes 1. the fact that when testing
8656 Autoconf there are many many config.log, 2. the incorrect use of
8657 top_srcdir to find config.log.
8658 Don't mix the detailed output of failed test with the summary of
8659 failures. Rather, append detailed log afterwards.
8661 2003-06-23 Akim Demaille <akim@epita.fr>
8663 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
8664 always run: output config.log on $at_group_log.
8666 2003-06-23 Akim Demaille <akim@epita.fr>
8668 * tests/torture.at (#define header templates): Don't use quotes in
8669 C++ comments as it puzzles Emacs' sh font-lock-mode.
8671 2003-06-23 Akim Demaille <akim@epita.fr>
8673 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
8674 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
8675 * tests/atspecific.m4: Rename as...
8676 * tests/local.at: This.
8677 * tests/suite.at: Move the globals into...
8678 * tests/local.at: here.
8679 * tests/Makefile.am: Adjust.
8680 * doc/autoconf.texi (testsuite Scripts): Adjust.
8682 2003-06-21 Kevin Ryde <user42@zip.com.au>
8684 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
8685 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
8686 ensuring we add -std1 for full-ANSI.
8688 * doc/autoconf.texi (hdrindex): New macro.
8689 Add index entries for portability of various standard header files.
8691 2003-06-20 Akim Demaille <akim@epita.fr>
8693 * configure.ac: Bump to 2.57b.
8695 2003-06-20 Akim Demaille <akim@epita.fr>
8699 2003-06-20 Akim Demaille <akim@epita.fr>
8701 * bin/autom4te.in: Don't rely on $HOME being defined.
8702 Reported by Marc Espie as PR/233.
8704 2003-06-20 Akim Demaille <akim@epita.fr>
8706 * lib/autotest/general.m4: Use at_times_file only if used.
8709 2003-06-20 Akim Demaille <akim@epita.fr>
8711 * config/config.guess, config/config.sub, config/elisp-comp,
8712 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
8713 Update from masters.
8715 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
8717 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
8718 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
8719 (TEST_SCRIPT): New diversion.
8720 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
8721 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
8722 (AT_INIT): Support for expected failures.
8724 2003-06-02 Akim Demaille <akim@epita.fr>
8726 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
8728 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
8729 Autoconf nor Automake.
8730 (&contents): New, from Automake.
8733 2003-05-28 Paul Eggert <eggert@twinsun.com>
8735 * NEWS, doc/autoconf.texi (Particular Functions),
8736 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
8737 is the inverse of localtime.
8739 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
8741 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
8742 (handle_exec_errors): New function. Work around $! being
8743 altered by WEXITSTATUS.
8744 (xqx, xsystem): Use handle_exec_errors.
8746 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
8748 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
8749 Do not call `_exit()', simply modify `$?'.
8750 (xsystem): Reset $! before running system, and check it afterward.
8751 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
8752 63 for version mismatches.
8754 2003-05-23 Akim Demaille <akim@epita.fr>
8756 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
8757 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
8758 the middle of a line).
8759 * lib/m4sugar/m4sugar.m4: Likewise.
8760 Remove useless spaces in comments.
8762 2003-05-23 Akim Demaille <akim@epita.fr>
8764 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
8765 exit 63, so that we (or Automake's "missing") can tell the
8766 difference with a plain failure.
8767 * doc/autoconf.texi (Notices): Adjust.
8769 2003-05-23 Akim Demaille <akim@epita.fr>
8771 * Makefile.am, bin/Makefile.am, config/Makefile.am,
8772 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
8773 White spaces cleanup.
8775 2003-05-22 Jim Meyering <jim@meyering.net>
8776 Paul Eggert <eggert@twinsun.com>
8778 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
8779 Remove `#include <stdlib.h>' from the list; we should never
8780 make confdefs.h include <stdlib.h> or <cstdlib>, because the
8781 resulting namespace pollution would cause other tests to fail.
8782 Configure scripts run with some older versions of g++ and HP's
8783 aCC would fail due to such an #include. Problems reported by
8784 Matthew Mueller in <http://bugs.debian.org/120704> and by
8786 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
8787 In the test, use the test declaration before including <stdlib.h>,
8788 as that's closer to how it'll be used.
8790 2003-05-23 Akim Demaille <akim@epita.fr>
8792 * doc/autoconf.texi (Header Portability): ucred.h.
8795 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
8797 Overhaul Autotest's logging: generate separate log files
8798 in testsuite.dir/NNN/testsuite.log, and append them to
8799 testsuite.log instead of re-running the test verbosely.
8801 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
8802 file descriptor, write 0 to at_status_file instead of setting
8803 at_status=0, initialize some new variables (at_status_file,
8804 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
8805 to rerun the tests, instead append the at_group_log to the
8806 at_suite_log when a test fails.
8807 (AT_SETUP): pipe the test case's output into at_tee_pipe,
8808 with the AS_MESSAGE_LOG_FD redirected to stdout.
8809 (AT_CLEANUP): save the output status in $at_status_file
8810 and restore it, redirect the AS_MESSAGE_LOG_FD back to
8812 (AT_CHECK): since tests are run with a redirected stdout,
8813 and used to be re-run in verbose mode, turn some $at_verbose
8814 into echo, and don't redirect the output of testing stdout
8817 * lib/autotest/autoconf.texi (testsuite Scripts): Update
8818 the name of the debugging directory and information about
8821 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
8823 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
8826 2003-05-22 Akim Demaille <akim@epita.fr>
8828 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
8829 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
8830 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
8831 * lib/autoconf/status.m4: Fix and adjust copyright notices.
8833 2003-05-22 Akim Demaille <akim@epita.fr>
8835 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
8836 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
8837 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8838 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
8839 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
8840 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
8841 * lib/autoconf/status.m4, lib/autoconf/types.m4,
8842 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
8843 * tests/atspecific.m4, tests/base.at, tests/compile.at,
8844 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
8845 * tests/tools.at, tests/torture.at:
8846 Whitespace clean up.
8847 Suggested by Jim Meyering.
8849 2003-05-22 Akim Demaille <akim@epita.fr>
8851 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
8852 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
8853 Reported by Jim Meyering.
8855 2003-05-22 Akim Demaille <akim@epita.fr>
8857 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
8858 Add AC_HELP_STRING to the obsolete macros section.
8860 Use '@.' for sentences that ended in a capital letter.
8863 2003-05-22 Akim Demaille <akim@epita.fr>
8865 * config/config.guess, config/config.sub, config/elisp-comp,
8866 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
8867 * config/texinfo.tex, doc/standards.texi: Update from masters.
8869 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
8871 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
8874 2003-05-21 Akim Demaille <akim@epita.fr>
8876 * bin/autoupdate.in ($m4): Fix quotation.
8877 Reported by Martin Mokrejs.
8879 2003-05-19 Paul Eggert <eggert@twinsun.com>
8881 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
8882 Remove non-ASCII characters.
8884 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
8886 * tests/semantics.at (AC_SEARCH_LIBS): New test.
8887 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
8888 AC_CHECK_HEADERS_NEW): New tests.
8890 2003-05-17 Akim Demaille <akim@epita.fr>
8892 * lib/autoconf/functions.m4: Use the default includes so that
8893 memcmp be declared before being tested.
8894 Reported by Sander Niemeijer.
8895 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
8896 * doc/autoconf.texi (Default Includes): Document
8897 AC_INCLUDES_DEFAULT.
8899 2003-05-17 Akim Demaille <akim@epita.fr>
8901 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
8902 * doc/autoconf.texi (Obsolete Macros): Adjust.
8903 Reported by Werner LEMBERG and Debian Bug 190886.
8905 2003-05-16 Akim Demaille <akim@epita.fr>
8907 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
8908 user name space clashes.
8909 Reported by Bruno Haible.
8911 2003-05-16 Akim Demaille <akim@epita.fr>
8913 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8914 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
8915 them uniform, and more robust to Perl special characters.
8916 Reported by Martin Mokrejs.
8918 2003-05-14 Akim Demaille <akim@epita.fr>
8920 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
8922 2003-05-14 Akim Demaille <akim@epita.fr>
8924 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
8927 2003-05-12 Akim Demaille <akim@epita.fr>
8929 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
8931 From Matthias Andree.
8933 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
8935 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
8938 2003-05-06 Akim Demaille <akim@epita.fr>
8940 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
8941 longer updates aclocal.m4 if useless, (ii) if a file m4_included
8942 by aclocal.m4 is changed it might require the importing of another
8943 m4 extension file, i.e., aclocal must be run.
8945 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
8946 (&parse_args): Use --force with aclocal if required and supported.
8947 (&autoreconf_current_directory): Use &run_aclocal.
8949 2003-05-06 Akim Demaille <akim@epita.fr>
8951 Lock autom4te's cache.
8953 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
8954 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
8955 argument instead of a file name, so that the request file remains
8956 open during the whole autom4te run.
8957 ($icache_file): New.
8958 (&freeze): Lock the $icache_file.
8960 2003-04-29 Derek Price <derek@ximbiot.com>
8962 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
8963 seperator with m4_append_uniq(). It doesn't work.
8964 (AT_CLEANUP): Add `;' to end of at_help_all.
8965 (AT_INIT): Allow --keywords to be specified more than once. When
8966 grepping $at_help_all for keywords, use the field and keyword
8967 seperators to ensure a complete keyword match. Alter at_prev handling
8968 to support the new --keywords behavior.
8970 2003-04-27 Karl Berry <karl@freefriends.org>
8972 * doc/autoconf.texi: Make the dir entries in the autoconf manual
8973 align better with others. I also made some of the individual
8974 entries on one line, for brevity and to make it easier for me to
8975 sort my dir-example file in the Texinfo distribution :).
8977 2003-04-12 Jim Meyering <jim@meyering.net>
8979 * NEWS: Mention the new macro.
8980 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
8981 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
8982 * tests/c.at: Test AC_C_RESTRICT.
8983 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
8985 2003-04-08 Akim Demaille <akim@epita.fr>
8987 * bin/ifnames.in: Skip C++ comments.
8990 2003-04-08 Akim Demaille <akim@epita.fr>
8992 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
8993 From Ilya Zakharevich.
8995 2003-04-08 Akim Demaille <akim@epita.fr>
8997 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
9000 2003-04-01 Derek Price <derek@ximbiot.com>
9002 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
9003 from Akim's checkin of 2003-03-29.
9005 2003-04-01 Derek Price <derek@ximbiot.com>
9007 * tests/torture.at (Configuring subdirectories): Add missing
9008 close-quote for Akim's change from 2003-03-28.
9010 2003-04-01 Akim Demaille <akim@epita.fr>
9012 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
9013 (AC, AT, MS): these.
9014 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
9017 * doc/Makefile.am (CLEANFILES): Adjust.
9018 (TEXI2DVI): Make it --batch.
9020 2003-03-31 Derek Price <derek@ximbiot.com>
9022 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
9023 which removed the main loop.
9024 Thanks to Akim Demaille.
9026 2003-03-29 Akim Demaille <akim@epita.fr>
9028 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
9030 From Ilya Zakharevich.
9032 2003-03-29 Akim Demaille <akim@epita.fr>
9034 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
9035 documentation to read is Autoconf's.
9036 Suggested by Paul Eggert.
9038 2003-03-28 Akim Demaille <akim@epita.fr>
9040 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
9041 reading the section "Present But Cannot Be Compiled" when the
9042 header causes problems.
9044 2003-03-28 Akim Demaille <akim@epita.fr>
9046 * tests/torture.at (Configuring subdirectories): Require aclocal
9047 1.4, otherwise the test fails, as it does support configure.ac.
9048 This fixes the "test 40 failed" bug reports.
9050 2003-03-28 Akim Demaille <akim@epita.fr>
9052 * doc/autoconf.texi (C Compiler): `#line' portability.
9053 From Paul Eggert and Nelson H. F. Beebe.
9055 2003-03-27 Derek Price <derek@ximbiot.com>
9057 * lib/autotest/general.m4: Eliminate main loop and reorganize test
9058 layout in order to allow scripting around test groups.
9060 2003-03-27 Derek Price <derek@ximbiot.com>
9062 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
9063 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
9064 use new diversions in preparation for accepting new arguments and
9065 allowing scripting around tests.
9066 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
9068 2003-03-26 Derek Price <derek@ximbiot.com>
9070 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
9071 obsolete AC_HELP_STRING.
9072 (AC_HELP_STRING): AU_DEFUN to...
9073 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
9074 * tests/m4sh.at (AS_HELP_STRING): New test.
9076 * tests/acgeneral.at: Regenerated.
9078 2003-03-26 Derek Price <derek@ximbiot.com>
9080 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
9081 sense. Verbosify the diversion definitions comment.
9083 2003-03-26 Derek Price <derek@ximbiot.com>
9085 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
9088 2003-03-21 Eric Siegerman <eric_97@pobox.com>
9090 * doc/autoconf.texi (Present But Cannot Be Compiled):
9091 Grammar fixes and minor rewording. (trivial change)
9093 2003-03-06 Paul Eggert <eggert@twinsun.com>
9095 Work around a problem noted by Nelson H. F. Beebe with coreutils
9096 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
9097 2002/05/09) rejects '#line 32768 "configure"' because the line
9099 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
9101 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
9102 * doc/autoconf.texi (Generating Sources): Document this.
9104 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
9106 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
9107 file name for the m4 program, when it has an "exe" file extension.
9108 DJGPP's error messages include the error code in brackets -
9109 remove the error code during normalization.
9111 2003-02-28 Akim Demaille <akim@epita.fr>
9113 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
9115 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
9117 * doc/autoconf.texi (Limitations of Make): Remove the section
9118 about `$<' in inference rules, it was a bogus interpretation of
9119 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
9120 Tru64 make in the "target lookup" section.
9121 (Automake): Automake 1.5+ no longer requires special tools to be
9122 present on the developer's host.
9124 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
9126 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
9127 to a shell that can handle redirection or quoting correctly.
9128 Override SHELL with the shell detected by configure.
9129 Use of $^O suggested by Tim van Holder.
9130 * bin/autom4te.in (BEGIN): Likewise.
9131 * bin/autoreconf.in (BEGIN): Likewise.
9132 * bin/autoscan.in (BEGIN): Likewise.
9133 * bin/autoupdate.in (BEGIN): Likewise.
9134 * bin/ifnames.in (BEGIN): Likewise.
9136 * bin/ifnames.in: Add final newline to help and version messages.
9138 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
9139 to cope with DOS-style absolute paths, when constructing
9142 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
9143 When constructing paths with IFS=:, quote the path. If we're
9144 constructing a DOS-style absolute path, we don't want to split it
9147 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
9150 2003-02-25 Pavel Roskin <proski@gnu.org>
9152 * bin/autoheader.in: Add missing newline when printing
9153 suggestion how change AC_DEFINE call.
9155 2003-02-24 Paul Eggert <eggert@twinsun.com>
9157 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
9158 2002-09-01 patch by replacing "test -n" with "test -z".
9159 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
9160 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
9162 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
9163 to fix a mismatch between example and discussion.
9165 2003-02-24 Kevin Ryde <user42@zip.com.au>
9167 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
9168 format starting with "-".
9170 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
9172 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
9173 is not portable inside Makefile.
9175 2003-02-20 Akim Demaille <akim@epita.fr>
9177 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
9178 compiler says yeah, but preproc says nope, compiler is right.
9179 Conversely, prompt the reader to send a bug report to the
9180 maintainers of the package, not of Autoconf.
9182 2003-02-20 Klee Dienes <kdienes@apple.com>
9184 * bin/autoreconf.in (autoreconf_current_directory): Properly
9185 handle an empty aclocal.m4.
9187 2003-02-20 Akim Demaille <akim@epita.fr>
9189 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
9193 2002-12-23 Paul Eggert <eggert@twinsun.com>
9195 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
9196 innocuous variant befor including <limits.h> or <assert.h>. This
9197 works around a bug reported by Albert Chin: HP-UX 11i
9198 (and earlier versions) have a <limits.h> that declares
9199 gettimeofday and many other functions.
9201 2002-12-03 Paul Eggert <eggert@twinsun.com>
9205 * NEWS, configure.ac: Update version.
9207 * doc/fdl.texi: Upgrade to FDL version 1.2.
9209 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
9210 nontrivially in main's body, so that f's external declaration is
9211 not optimized away in AIX. This should fix the bug reported by
9213 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
9215 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
9216 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
9217 defined, to support freestanding compilers. This should fix the
9218 bug reported by Momchil Velkov in
9219 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
9221 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
9222 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
9223 obsolete AC_CHECK_TYPE. The missing empty arg was reported
9224 by Simon Josefsson in
9225 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
9227 * Makefile.maint (www-gnu): New macro.
9228 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
9229 the location has moved.
9231 2002-12-02 Martin Frydl <martin@systinet.com>
9233 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
9234 \(.*\) match is too long and there is something more to be checked.
9235 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
9237 2002-11-15 Akim Demaille <akim@epita.fr>
9241 * config/install-sh: chmod +x.
9243 * config/move-if-change: Indenting changes.
9244 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
9245 * configure.ac (AM_INIT_AUTOMAKE): here.
9248 2002-11-14 Akim Demaille <akim@epita.fr>
9252 * config/config.guess, config/config.sub, config/install-sh:
9253 Update from masters.
9255 2002-11-14 Akim Demaille <akim@epita.fr>
9257 * Makefile.maint: Sync with Bison, i.e.:
9258 (po-check): Scan .l and .y files instead of the
9259 .c and the .h files that they generate. This fixes the bug
9260 reported by Tim Van Holder in:
9261 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
9262 Look for N_ as well as for _. Try to avoid matching #define for
9266 2002-11-14 Akim Demaille <akim@epita.fr>
9268 * doc/autoconf.texi (C Compiler): Compiling several files at once.
9269 From Paul Eggert and Albert Chin-A-Young.
9271 2002-11-14 Akim Demaille <akim@epita.fr>
9273 * doc/autoconf.texi (C Compiler): Solitary backslashes.
9274 From Paul Eggert and Albert Chin-A-Young.
9276 2002-11-14 Kevin Ryde <user42@zip.com.au>
9278 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
9279 than assigning in main, to avoid HP cc +O3 optimizing it away.
9281 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
9283 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
9284 option. Process --recheck after parsing all options. Pass -q
9285 option to configure on --recheck.
9286 (AC_OUTPUT): Pass -q from configure to config.status.
9287 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
9288 arguments to record.
9289 * doc/autoconf.texi (config.status Invocation): Document
9290 config.status -q option.
9292 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
9294 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
9295 Makefile.in if Makefile.am exists.
9296 (output): Strip `.am' from Makefiles. Don't
9297 output AC_CONFIG_FILES if no Makefiles were found.
9299 2002-11-07 Akim Demaille <akim@epita.fr>
9301 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
9302 (local_updates): New.
9303 * Makefile.maint: Update, from CVS Bison.
9304 (local_updates): New.
9306 2002-11-06 Akim Demaille <akim@epita.fr>
9308 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
9309 declaration in extern "C" too.
9310 Reported by Roberto Bagnara.
9312 2002-11-06 Akim Demaille <akim@epita.fr>
9314 * tests/torture.at (Configuring subdirectories): Don't use grep
9316 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
9317 Reported by Ezra Peisach.
9319 2002-11-05 Akim Demaille <akim@epita.fr>
9321 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
9323 We _have_ to stop using the old compatibility scheme that tried to
9324 avoid useless backslashes because Libtool 1.4.3 contains a
9325 AC_DEFINE([error_t], [int],
9326 [Define to a type to use for \`error_t' if it is not
9327 otherwise available.])
9328 We _have_ to quote the single quote and backslashes with \. The
9329 old compatibility scheme saw that ` was backslashed, and therefore
9330 did not quote the single quote. Hence before this patch, Autoconf
9331 was not compatible with Libtool.
9333 2002-11-04 Paul Eggert <eggert@twinsun.com>
9335 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
9336 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
9337 LC_NAME, LC_PAPER, LC_TELEPHONE.
9338 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
9340 2002-11-04 Akim Demaille <akim@epita.fr>
9344 * Makefile.maint (update, cvs-update, po-update, do-po-update):
9346 * config/texinfo.tex: Update.
9348 2002-11-03 Akim Demaille <akim@epita.fr>
9350 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
9352 (&autoreconf): here.
9353 ($help, $make, &parse_args, &autoreconf_current_directory):
9355 * doc/autoconf.texi (autoreconf Invocation): Adjust.
9357 2002-10-31 Bruno Haible <bruno@clisp.org>
9359 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
9360 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
9361 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
9362 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
9363 to ac_cv_func_realloc_0_nonnull.
9364 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
9366 2002-10-31 Akim Demaille <akim@epita.fr>
9368 The test suite was no longer checking for trailing envvars and files.
9370 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
9371 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
9373 2002-10-31 Akim Demaille <akim@epita.fr>
9375 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
9376 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
9377 Make variable, not a shell variable.
9378 Suggested by Bruno Haible.
9380 2002-10-31 Akim Demaille <akim@epita.fr>
9382 * bin/autom4te.in (load_configuration): Reject #args out of any
9385 2002-10-31 Akim Demaille <akim@epita.fr>
9387 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
9388 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
9389 (_AC_RUN_IFELSE): Use it.
9390 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
9391 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
9392 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
9395 2002-10-30 Akim Demaille <akim@epita.fr>
9397 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
9398 * doc/autoconf.texi (autom4te Invocation): Adjust.
9399 Suggested by Tim van Holder.
9401 2002-10-29 Paul Eggert <eggert@twinsun.com>
9403 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
9404 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
9405 Problem reported by Bruno Haible.
9407 2002-10-29 Akim Demaille <akim@epita.fr>
9409 * doc/autoconf.texi (Header Templates): Put also in words what the
9410 pictures says to assist free style readers.
9411 (Customizing autom4te): s/--cache=/--cache /.
9413 2002-10-29 Akim Demaille <akim@epita.fr>
9415 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
9417 sparc_address_test returns void.
9418 Use it with an argument, as prototyped.
9421 2002-10-29 Akim Demaille <akim@epita.fr>
9423 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
9424 configure.in, not configure.ac.
9425 Reported by Bruno Haible.
9427 2002-10-29 Akim Demaille <akim@epita.fr>
9429 * tests/torture.at (Deep Package): New test.
9430 (Configuring subdirectories): Don't use a testSubDir as Autotest
9433 2002-10-29 Akim Demaille <akim@epita.fr>
9435 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
9436 * doc/autoconf.texi (Invoking autom4te): Rename as...
9437 (autom4te Invocation): this, for consistency with the other nodes.
9439 2002-10-29 Akim Demaille <akim@epita.fr>
9441 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
9442 Reported by Ralf Corsepius.
9444 2002-10-29 Akim Demaille <akim@epita.fr>
9446 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9447 characters is a back as an `obsolete' warning now.
9448 Reported by Ralf Corsepius.
9450 2002-10-28 Akim Demaille <akim@epita.fr>
9452 * configure.ac: Bump to 2.54c.
9454 2002-10-28 Akim Demaille <akim@epita.fr>
9458 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
9460 2002-10-28 Akim Demaille <akim@epita.fr>
9462 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
9463 m4 executable names, and different GNU M4 version.
9464 Reported by Ezra Peisach and Paul Jarc.
9466 2002-10-27 Akim Demaille <akim@epita.fr>
9468 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
9471 2002-10-27 Akim Demaille <akim@epita.fr>
9473 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
9474 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
9475 Die when a simple Fortran program cannot be compiled.
9476 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
9477 Issue a warning if no function is given.
9479 2002-10-27 Akim Demaille <akim@epita.fr>
9481 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
9482 Move the documentation of AC_TRY_RUN to...
9483 (Obsolete Macros): here.
9484 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
9485 (autoconf Invocation): Remove the duplicates with `invoking
9487 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
9488 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9490 2002-10-27 Akim Demaille <akim@epita.fr>
9492 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
9493 and AC_LANG_FUNC_LINK_TRY.
9494 (Examining Libraries): Rename as...
9495 (Running the Linker): this.
9496 Document AC_LINK_IFELSE.
9497 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
9498 (Obsolete Macros): here.
9499 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
9500 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
9501 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
9502 * lib/autoconf/headers.m4 (AC_USG): Likewise.
9504 2002-10-27 Akim Demaille <akim@epita.fr>
9506 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
9508 More `check config.log' messages.
9510 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
9511 * doc/autoconf.texi (Printing Messages): Document it.
9512 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
9514 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
9515 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
9516 (_AC_COMPILER_OBJEXT): Likewise.
9517 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
9518 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
9520 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
9523 Deprecate macros with unusual interfaces.
9525 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
9526 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
9528 Document the new ones, and proper style.
9530 * doc/autoconf.texi (Generating Sources): New.
9531 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
9532 (Examining Declarations): Rename as...
9533 (Running the Preprocessor): this.
9534 Document AC_PREPROC_IFELSE.
9535 (Examining Syntax): Rename as...
9536 (Running the Compiler): this.
9537 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
9538 (Obsolete Macros): Move the definition of AC_TRY_CPP and
9539 AC_TRY_COMPILE here.
9541 2002-10-27 Akim Demaille <akim@epita.fr>
9543 Move sections around.
9545 * doc/autoconf.texi (Customizing autom4te): Remove a lost
9547 Reported by Burno Haible.
9548 (Language Choice): Now the first section of...
9549 (Writing Tests): this section.
9550 Make the introduction less C-centric.
9551 (Guidelines, Test Functions): Move to...
9552 (Writing Test Programs): this new section.
9553 (Test Programs): Merge into...
9556 2002-10-27 Akim Demaille <akim@epita.fr>
9558 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
9559 autom4te.in that resulted in the need for two `make' runs.
9561 2002-10-27 Akim Demaille <akim@epita.fr>
9563 * configure.ac: Bump to 2.54b.
9565 2002-10-25 Akim Demaille <akim@epita.fr>
9569 * Makefile.maint: Update from the Coreutils.
9570 (AMTAR): Remove, obsolete.
9571 (automake_repo): Update to redhat.com.
9573 Adjust to the fact that ansi2knr is now hosted by Automake.
9574 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
9575 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
9576 Update from masters.
9577 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
9578 autoscan.pre is not to be installed, and autoscan.list is not to
9580 (CLEANFILES): Add autoscan.list.
9581 (autoscan.list): Disable the cache.
9582 * bin/Makefile.am: Include freeze.mk.
9584 2002-10-25 Akim Demaille <akim@epita.fr>
9586 * bin/autom4te.in (&load_configuration): Take the file as
9588 (&parse_args): Handle -C, --cache.
9590 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
9591 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
9592 * doc/autoconf.texi (Invoking autom4te): Document --cache.
9593 Now a subsection of...
9594 (Using autom4te): This new section.
9595 (Customizing autom4te): New.
9596 (autom4te.cache): Adjust.
9598 2002-10-25 Akim Demaille <akim@epita.fr>
9600 * doc/autoconf.texi (Generic Headers): More information on how to
9601 use AC_CHECK_HEADERS.
9603 2002-10-25 Akim Demaille <akim@epita.fr>
9605 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
9608 2002-10-25 Akim Demaille <akim@epita.fr>
9610 * bin/autoscan.in (output): Output AC_PREREQ.
9611 (%needed_macros): Add AC_PREREQ so that configure.ac without one
9614 2002-10-23 Akim Demaille <akim@epita.fr>
9616 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
9619 2002-10-23 Akim Demaille <akim@epita.fr>
9621 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
9622 Reported by Peter Eisentraut.
9624 2002-10-23 Akim Demaille <akim@epita.fr>
9626 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
9629 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
9630 Eggert's recommandations.
9632 2002-10-22 Akim Demaille <akim@epita.fr>
9634 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
9635 Bison, by Paul Eggert.
9636 * doc/autoconf.texi (Particular Headers): Document it.
9638 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
9640 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
9641 `$ac_configure_args'.
9643 2002-10-22 Akim Demaille <akim@epita.fr>
9645 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
9646 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
9649 2002-10-22 Akim Demaille <akim@epita.fr>
9651 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
9653 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9654 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
9655 (_AC_CHECK_HEADER_NEW): Rename as...
9656 (AC_CHECK_HEADER): this.
9658 2002-10-22 Akim Demaille <akim@epita.fr>
9660 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
9661 words about HP-UX cmp: it was actually a user-written cmp.
9663 2002-10-22 Akim Demaille <akim@epita.fr>
9665 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
9667 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9668 Quote for Perl '' strings, not "".
9669 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
9672 2002-10-22 Akim Demaille <akim@epita.fr>
9674 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9675 characters is a syntax warning now.
9676 (_AS_QUOTE): Accept $2 as list of characters to quote.
9677 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9678 Quote for Perl, not sh.
9679 * bin/autoheader.in: When $debug, report the file which is
9681 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
9682 `@', to tickle Perl's lists.
9683 Reported by Carlos Velasco.
9685 2002-10-18 Akim Demaille <akim@epita.fr>
9687 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
9688 missing included files _are_ errors.
9689 Thanks to Alexandre Duret-Lutz.
9690 * tests/tools.at (autom4te cache): Adjust.
9691 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
9692 (AT_CHECK_M4SUGAR): Use it.
9693 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9695 * tests/tools.at (autom4te): Now it does exit 1.
9697 2002-10-17 Akim Demaille <akim@epita.fr>
9699 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
9700 Fixes the `AC_ARG_VAR' test failures.
9701 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
9702 * lib/freeze.mk (check-forbidden-patterns): New.
9703 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
9704 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
9705 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
9707 Reported months ago by H. Merijn Brand.
9709 2002-10-17 Akim Demaille <akim@epita.fr>
9711 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
9713 2002-10-16 Paul Eggert <eggert@twinsun.com>
9715 * Makefile.maint (wget_files): Remove ansi2knr.c.
9716 (ansi2knr.c-url_prefix): Remove.
9718 2002-10-16 Akim Demaille <akim@epita.fr>
9720 Because of caching, some files that no longer exist and are no
9721 longer required can still cause errors.
9722 Reported by Alexandre Duret-Lutz.
9724 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
9725 to frozen files in @ARGV, as @ARGV must remain being a list of
9726 files. Rather, at M4 call sites, use this...
9727 (&files_to_options): New function.
9728 (&freeze): Use &error.
9729 (&up_to_date): If a file that was included according to the cache
9730 is no longer there, then the output is out dated.
9731 (&main): Don't even check whether a file is up to date is anyway
9733 * tests/tools.at (autom4te cache): New.
9735 2002-10-16 Akim Demaille <akim@epita.fr>
9737 * bin/autoconf.as: Kill dead options.
9738 * bin/autoupdate.in (&parse_args): Kill old options.
9739 * bin/autoreconf.in (&parse_args): Remove dead options.
9741 (&autoreconf): Report the directories we enter *and leave*, so
9742 that error messages can be easily located, and use GNU Make
9743 format, so that Emacs' compile mode understands us.
9744 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
9745 if some file was changed instead of `print'.
9746 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
9747 (&parse_args): Remove the dead options.
9748 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
9749 autoheader's quiet mode.
9750 (AT_CHECK_AUTOUPDATE): Likewise.
9751 * tests/tools.at (autoupdate): Adjust.
9752 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9754 2002-10-11 Akim Demaille <akim@epita.fr>
9756 No longer use CPP to check for the existing of headers: use CC to
9757 check for compilability.
9759 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9760 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
9761 (_AC_CHECK_HEADER_NEW): Rename as...
9762 (AC_CHECK_HEADER): this.
9764 * lib/autotest/general.m4 (AT_INIT): Include the failed test
9765 numbers in the Subject suggestion.
9767 2002-10-11 Akim Demaille <akim@epita.fr>
9769 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
9770 Suggest using AC_CHECK_DECLS instead.
9772 2002-10-11 Akim Demaille <akim@epita.fr>
9774 * tests/torture.at (AC_ARG_VAR): Have configure report the value
9777 2002-10-11 Akim Demaille <akim@epita.fr>
9779 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
9780 file name to enable parallel executions.
9781 From Sam Varshavchik.
9783 2002-10-08 Akim Demaille <akim@epita.fr>
9785 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
9786 aclocal invocation, as Gettext macros might not be visible to
9788 Instead of blindly running autopoint, scan configure.ac (not the
9789 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
9790 Reported by Paul D. Smith.
9792 2002-10-08 Paul Eggert <eggert@twinsun.com>
9794 Work around problems found when POSIXLY_CORRECT=1 is set.
9795 None of this seems to have anything to do with POSIX, really,
9796 but it's how Perl getopt works.
9797 * bin/autom4te.in (parse_args): Configure GetOpt with
9799 * doc/autoconf.texi (Invoking autom4te):
9800 --warning -> --warnings.
9801 * lib/autom4te.in: --warning -> --warnings.
9803 2002-09-28 Akim Demaille <akim@epita.fr>
9805 * doc/autoconf.texi (autom4te.cache): New section.
9807 2002-09-28 Akim Demaille <akim@epita.fr>
9809 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
9810 (Automake-preselections): Update.
9811 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
9813 2002-09-28 Akim Demaille <akim@epita.fr>
9815 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
9816 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
9817 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
9818 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
9820 2002-09-28 Akim Demaille <akim@epita.fr>
9822 * tests/torture.at (Configuring subdirectories): Be robust to
9823 users who use config.site to require for a cache: in this case,
9824 the two last configure runs, using two different sets of
9825 arguments, trigger a legitimate error.
9827 2002-09-28 Akim Demaille <akim@epita.fr>
9829 * tests/m4sh.at (Functions Support, Functions and return Support):
9832 2002-09-28 Akim Demaille <akim@epita.fr>
9834 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
9835 autoheader are Perl programs.
9836 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
9837 (autom4te): Specify that the sources are in the $srcdir.
9838 * doc/autoconf.texi (Installation Directory Variables): Adjust.
9840 2002-09-28 Akim Demaille <akim@epita.fr>
9842 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
9843 (tm_zone): Move their rules to...
9844 * lib/autoconf/types.m4: here, using AN_ macros.
9845 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
9846 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
9847 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
9848 * lib/autoconf/programs.m4: here.
9849 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
9850 (ETAGS_FOR_AUTOCONF): New.
9853 2002-09-28 Akim Demaille <akim@epita.fr>
9855 * lib/autoconf/autoscan.m4: New file.
9856 * lib/autoconf/autoconf.m4: Include it.
9857 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
9858 that were listed in the original autoscan.list.
9859 * lib/autoconf/headers.m4: Similarly with headers.
9860 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
9861 (.m4.m4f): Don't pass --prepend-include, since that's done by
9862 tests/autom4te itself.
9863 * lib/autoscan/Makefile.am: Include freeze.mk.
9864 (autoscan.list): New target --this file is no longer a source.
9865 (autoscan.pre): New file.
9867 2002-09-28 Akim Demaille <akim@epita.fr>
9869 * bin/autoscan.in (@kinds): Make them singular.
9871 (&init_tables): When --debug, report the list of rules to ease
9872 tracking changes in autoscan.list.
9873 * lib/autoscan/autoscan.list (function): Strip comments, sort.
9875 2002-09-28 Akim Demaille <akim@epita.fr>
9877 * lib/autoscan/functions, lib/autoscan/headers,
9878 * lib/autoscan/identifiers, lib/autoscan/makevars,
9879 * lib/autoscan/programs: Merge into...
9880 * lib/autoscan/autoscan.list: this.
9881 * bin/autoscan.in (&init_tables): Adjust.
9883 2002-09-28 Akim Demaille <akim@epita.fr>
9885 * lib/autoscan/functions, lib/autoscan/headers,
9886 * lib/autoscan/identifiers, lib/autoscan/makevars,
9887 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
9888 `functions' line is now prefixed with `function:'.
9889 * bin/autoscan.in (&init_tables): Adjust.
9891 2002-09-28 Akim Demaille <akim@epita.fr>
9893 From now on, autoscan files must always map a macro name to a
9894 word: there is no `default' macro for autoscan.
9896 * bin/autoscan.in (&init_tables): Reject entries with no macro at
9898 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
9901 2002-09-28 Akim Demaille <akim@epita.fr>
9903 * bin/autoscan.in (%c_keywords): Remove.
9904 (&used): Keep only track of the words we might be interested in.
9905 (&output_kind): It is no longer needed to look for non active
9908 2002-09-27 Akim Demaille <akim@epita.fr>
9910 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
9911 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
9912 * lib/autoscan/functions: Adjust.
9913 * doc/autoconf.texi (Particular Functions): Adjust.
9915 2002-09-27 Akim Demaille <akim@epita.fr>
9917 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
9919 Thanks to Bill Moseley and Paul Eggert.
9920 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
9921 the tmpdir must be created.
9922 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
9923 dir be in the build tree, instead of $TMPDIR.
9925 2002-09-27 Akim Demaille <akim@epita.fr>
9927 * bin/autoscan.in: Improve the comments.
9928 (&parse_args): Drop obsolete undocumented options.
9929 (&output_kind): Output warnings.
9930 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
9931 (getwd): Trigger a warning.
9933 2002-09-26 Akim Demaille <akim@epita.fr>
9935 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
9936 Reported by Ralf Corsepius.
9937 * doc/autoconf.texi (autoreconf Invocation): Likewise.
9939 2002-09-26 Akim Demaille <akim@epita.fr>
9941 Single suffix rules and seperated dependencies are not portable.
9943 * doc/autoconf.texi (Installation Directory Variables): Update.
9944 (Limitations of Make): Some about `Single Suffix Rules and
9945 Separated Dependencies'.
9946 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9947 (ifnames, autoscan, autom4te): Un-factor into several rules.
9949 2002-09-25 Paul Eggert <eggert@twinsun.com>
9951 * BUGS (Interoperability bugs): New section. Mention libtool
9952 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
9954 2002-09-24 Paul Eggert <eggert@twinsun.com>
9956 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
9957 make handles suffix-rules differently from GNU make.
9959 * bin/Makefile.am (SUFFIXES, .in): Remove.
9960 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
9961 Move the body of the old .in rule here.
9963 2002-09-16 Akim Demaille <akim@epita.fr>
9965 i960 compilers create `b.out' files by default.
9966 Reported by Ralf Corsepius.
9968 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
9969 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
9971 2002-09-13 Paul Eggert <eggert@twinsun.com>
9973 * doc/autoconf.texi (Particular Headers): Remove obsolete
9974 reference to `struct timezone' in the description of
9977 2002-09-13 Akim Demaille <akim@epita.fr>
9981 * config/config.sub, config/config.guess: Update.
9982 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
9983 * Makefile.am: Adjust.
9985 2002-09-13 Akim Demaille <akim@epita.fr>
9987 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
9988 reading config.log when the compiler is rejected.
9989 Suggested by Guido Draheim.
9991 2002-09-13 Akim Demaille <akim@epita.fr>
9993 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
9994 (chdir_init) might hang when stat'ing mounted directories.
9995 Reported by Vance Shipley.
9997 2002-09-12 Akim Demaille <akim@epita.fr>
9999 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
10002 2002-09-12 Akim Demaille <akim@epita.fr>
10004 * doc/autoconf.texi (Defining Symbols): Present two different
10005 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
10006 difference between 1 argument calls, and 2-3 argument calls.
10008 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
10010 * doc/autoconf.texi: Review grammar and punctuation.
10012 2002-09-11 Paul Eggert <eggert@twinsun.com>
10014 * doc/autoconf.texi: Fix minor formatting, spelling, and
10016 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
10017 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
10020 2002-09-11 Akim Demaille <akim@epita.fr>
10022 * doc/autoconf.texi (Questions): Rename as...
10024 (Defining Directories): New.
10026 2002-09-09 Akim Demaille <akim@epita.fr>
10028 * doc/autoconf.texi (Making testsuite Scripts): Update.
10029 Suggested by Nishio Futoshi.
10031 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
10033 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
10034 plain `@' is wanted.
10036 2002-09-09 Akim Demaille <akim@epita.fr>
10038 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
10039 `duplicates', since the algorithm was too naive and could keep
10040 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
10041 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
10042 Reported by Ralf Corsepius.
10043 * tests/torture.at (Configuring subdirectories): Exercise these
10046 2002-09-09 Akim Demaille <akim@epita.fr>
10048 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
10049 looking for a replacement file.
10050 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
10051 directory is relative.
10052 * doc/autoconf.texi (Generic Functions): Clarify the replacement
10053 directory definition.
10054 Reported by Andreas Schwab and Jim Meyering.
10056 2002-09-06 Akim Demaille <akim@epita.fr>
10058 * doc/autoconf.texi (Setting Output Variables): Clarify what
10059 precious variables are.
10060 Suggested by Pontus Skoeld.
10062 2002-09-05 Akim Demaille <akim@epita.fr>
10064 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
10065 (ifnames, autoscan, autom4te): Since we don't only depend on
10066 configure.ac variables (such as VERSION etc.), but also on prefix
10067 and so forth, depend on Makefile, not configure.ac.
10068 Reported by Alexandre Duret-Lutz.
10069 * doc/autoconf.texi (Installation Directory Variables): Adjust.
10071 2002-09-05 Kevin Ryde <user42@zip.com.au>
10073 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
10074 doesn't seem to be confined to ia64, just say "some versions".
10076 2002-09-04 Akim Demaille <akim@epita.fr>
10078 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
10080 * Makefile.am (maintainer-clean-local): Remove.
10081 (MAINTAINERCLEANFILES): Remove COPYING.
10083 2002-09-03 Paul Eggert <eggert@twinsun.com>
10085 * doc/autoconf.texi (Configuration Commands): Remove obsolete
10086 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
10089 2002-09-03 Akim Demaille <akim@epita.fr>
10091 * configure.ac: Bump to 2.53d.
10092 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
10093 as of today, on Automake's team suggestion.
10095 2002-09-03 Akim Demaille <akim@epita.fr>
10099 2002-09-02 Akim Demaille <akim@epita.fr>
10101 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
10103 * configure.ac: Disable SITE_MACRO_DIR.
10105 2002-09-02 Jim Meyering <meyering@lucent.com>
10107 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
10108 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
10109 Also, tweak grammar: s/make sure to/be sure to/.
10111 2002-09-02 Paul Eggert <eggert@twinsun.com>
10113 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
10114 directory names are generally preferable to physical names.
10116 2002-09-02 Akim Demaille <akim@epita.fr>
10118 * lib/Autom4te/General.pm (&update_file): s/die/error/.
10119 Reported by Raja R. Harinath.
10120 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
10121 * bin/autoupdate.in: Use error instead of die.
10123 2002-09-01 Paul Eggert <eggert@twinsun.com>
10125 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
10126 ordinary shell concatenation rather than echo+tr+sed command that
10127 runs afoul of a long-line-related sed bug in Solaris 8.
10129 * bin/autoheader.in (parse_args): --warning -> --warnings.
10131 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
10132 stdout, as traditional "ls" does.
10133 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
10134 _AC_COMPILER_EXEEXT_O): Likewise.
10135 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
10137 * bin/autoconf.as: Add --prepend-include option. This patch was
10138 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
10139 but bin/autoconf.in is generated automatically from bin/autoconf.as.
10141 * bin/autoconf.in, configure: Regenerate.
10143 * doc/autoconf.texi (Special Shell Variables): Mention
10144 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
10146 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
10147 MAILPATH and set PS1, PS2, PS4 to default values, to work
10148 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
10149 For LC_ALL etc, first try to set to "C" as POSIX requires and as
10150 the Autoconf documentation specifies; fall back to "unset" only if
10151 this fails. Use a shell for-loop for this rather than an m4 loop,
10152 to shorten the output script.
10154 2002-08-30 Paul Eggert <eggert@twinsun.com>
10156 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
10157 1003.1-2001's requirements for CDPATH. Give a simpler workaround
10158 for the CDPATH problem. Document PWD.
10159 (Limitations of Builtins): Document the problem that "cd $foo" and
10160 "ls $foo" may refer to different directories in shells conforming
10161 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
10162 example, since the old example is now out of date.
10164 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
10165 FOO" and "ls FOO" talk about different directories; this catches
10166 problems when POSIX 1003.1-2001 "cd" fails due to symlink
10169 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
10170 of rolling our own unset.
10171 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
10172 in practice we needn't worry about CDPATH if unset doesn't work.
10174 * Makefile.in, aclocal.m4, bin/Makefile.in,
10175 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
10176 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
10177 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
10178 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
10179 tests/Makefile.in: Regenerate with Automake 1.6.3.
10181 * config/config.guess, config/config.sub, config/mkinstalldirs:
10184 * configure: Regenerate with self.
10186 2002-08-30 Kevin Ryde <user42@zip.com.au>
10188 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
10191 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10193 * bin/autom4te.in (Request::load): Correctly test for "do" read
10196 2002-08-29 Akim Demaille <akim@epita.fr>
10198 * lib/Autom4te/General.pm (&xqx): New.
10199 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
10200 hand, which is not portable.
10202 * bin/autom4te.in: Use them.
10203 Use &error instead of die.
10204 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
10207 2002-08-17 Paul Eggert <eggert@twinsun.com>
10209 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
10210 default list of compilers to try, since it was long ago superseded
10211 by the ksh fc builtin. Suggested by Steven G. Johnson.
10213 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
10215 * doc/autoconf.texi (Invoking autom4te): End the option table,
10216 fixing a bug introduced by the previous patch.
10217 (Limitations of Make): Add a 'target lookup' subentry in the
10218 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
10220 2002-07-29 Mark D. Roth <roth@feep.net>
10222 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
10223 options and use $AUTOM4TE_PATH.
10224 * doc/autoconf.texi: Remove documentation of autom4te
10225 --include-envvar and --site-macro-subdir options and document
10226 use of $AUTOM4TE_PATH.
10227 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
10228 arguments from each language section.
10230 2002-07-29 Paul Eggert <eggert@twinsun.com>
10232 * doc/install.texi: Include copyright symbol in copyright notice.
10234 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
10236 (AM_MAKEINFOFLAGS): New macro.
10237 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
10238 * Makefile.am (INSTALL): Use the new macros.
10239 Use -o rather than --output, since "missing" does not grok --output.
10241 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
10243 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
10244 comments do not always work. Never trust the exit status of
10247 2002-07-24 Kevin Ryde <user42@zip.com.au>
10249 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
10250 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
10252 2002-07-23 Paul Eggert <eggert@twinsun.com>
10254 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
10255 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
10256 apparently treats PATH="nonexistent" as if it contained ".".
10257 Bug reported by Stefan `Sec' Zehl.
10259 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
10261 * doc/autoconf.texi (Limitations of Make): Mention the special
10262 handling of the obj/ directory by BSD make.
10264 2002-07-20 Kevin Ryde <user42@zip.com.au>
10266 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
10269 2002-07-19 Akim Demaille <akim@epita.fr>
10271 * doc/autoconf.texi (Function Portability): `exit'.
10272 (Programming in M4sh): Ethymology of M4sh.
10274 2002-07-19 Akim Demaille <akim@epita.fr>
10276 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
10278 2002-07-18 Akim Demaille <akim@epita.fr>
10282 2002-07-18 Akim Demaille <akim@epita.fr>
10284 * config/config.guess, config/config.sub: Update.
10286 2002-07-18 Akim Demaille <akim@epita.fr>
10288 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
10291 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
10292 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
10293 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
10295 2002-07-18 Akim Demaille <akim@epita.fr>,
10296 Alexandre Duret-Lutz <duret_g@epita.fr>
10298 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
10299 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
10301 2002-07-17 Russ Allbery <rra@stanford.edu>
10303 * doc/autoconf.texi (Initializing configure): Clarify the
10304 description of the tarname default.
10306 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
10308 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
10309 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
10310 latter was not run.
10312 2002-07-17 Akim Demaille <akim@epita.fr>
10314 * lib/Autom4te/General.pm (find_file): Browse the directories in
10315 the order they are given.
10317 2002-07-17 Akim Demaille <akim@epita.fr>
10319 * tests/wrapsh.as, tests/wrappl.as: Merge into...
10320 * tests/wrapper.as: this.
10321 * tests/Makefile.am, configure.ac: Adjust.
10323 2002-07-17 Mark D. Roth <roth@feep.net>
10325 * configure.ac: Add --enable-site-macro-dir option.
10326 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
10327 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
10328 --site-macro-subdir options.
10329 * bin/autoconf.in: Add --prepend-include option.
10330 * bin/autoheader.in: Add --prepend-include option.
10331 * bin/autoreconf.in: Add --prepend-include option.
10332 * bin/autoscan.in: Add --prepend-include option.
10333 * bin/autoupdate.in: Add --prepend-include option.
10334 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
10335 macro directory, remove note that include path directories are
10336 used in reverse order, and document --prepend-include option.
10337 * lib/autom4te.in: Use --prepend-include instead of --include.
10338 * tests/wrapsh.in: Use --prepend-include instead of --include.
10340 2002-07-17 Akim Demaille <akim@epita.fr>
10342 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
10344 * doc/autoconf.texi (Initializing configure): Adjust.
10346 2002-07-17 Akim Demaille <akim@epita.fr>
10348 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
10349 (_AC_FUNC_MALLOC): New.
10350 (AC_FUNC_MALLOC): Use the latter.
10351 Define HAVE_MALLOC to 0 if broken.
10352 * doc/autoconf.texi (Particular Functions): Adjust.
10354 2002-07-16 Akim Demaille <akim@epita.fr>
10356 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
10357 * doc/autoconf.texi (C Compiler): Adjust.
10359 2002-07-09 Akim Demaille <akim@epita.fr>
10361 * doc/autoconf.texi: Properly set the ``header'' part.
10363 2002-07-09 Akim Demaille <akim@epita.fr>
10365 * doc/autoconf.texi (Systemology): Some about Darwin.
10367 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
10369 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
10370 Don't use AC_REQUIRE in AU_DEFUN.
10372 2002-07-09 Art Haas <ahaas@neosoft.com>
10374 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
10376 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
10378 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10379 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
10380 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
10381 so that Emacs setups GNU style for perl-mode and cperl-mode.
10383 2002-06-27 Paul Eggert <eggert@twinsun.com>
10385 * config/install-sh: Quote $src. Prefer || to test's -o option,
10386 as per "Limitations of Builtins".
10387 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
10388 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
10390 * tests/mktests.sh: Use grep instead of fgrep, as per
10391 "Limitations of Builtins".
10393 2002-06-15 Paul Eggert <eggert@twinsun.com>
10395 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
10396 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
10397 so that we consistently test the just-built programs.
10398 * tests/wrappl.as: Likewise.
10400 2002-06-12 Paul Eggert <eggert@twinsun.com>
10402 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
10403 name, so that symlinks to 'autoconf' work properly. Bug reported
10405 * bin/autoheader.in (AUTOM4TE): Likewise.
10406 * bin/autoreconf.in (autoconf, autoheader): Likewise.
10407 * bin/autoscan.in (autom4te): Likewise.
10408 * bin/autoupdate.in (autom4te): Likewise.
10410 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
10411 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
10414 2002-06-11 Andreas Schwab <schwab@suse.de>
10416 * doc/autoconf.texi: Add more dir entries.
10418 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
10420 * bin/autom4te.in ($cache): Don't define using `$me', the name
10421 of the cache should not depend on the name under which autom4te
10424 2002-06-07 Akim Demaille <akim@epita.fr>
10426 * tests/tools.at (autoconf: forbidden tokens, basic)
10427 (autoconf: forbidden tokens, exceptions): Adjust to the change of
10428 words in autom4te.in.
10430 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
10432 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
10433 _AC_LANG_PROGRAM_C_F77_HOOKS.
10435 2002-06-07 Akim Demaille <akim@epita.fr>
10437 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
10439 (AC_REPLACE_FNMATCH): this.
10440 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
10441 AC_FUNC_FNMATCH_GNU.
10443 2002-06-07 Akim Demaille <akim@epita.fr>
10445 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
10446 Rosetta Stone for Unix.
10448 2002-06-07 Akim Demaille <akim@epita.fr>
10450 * bin/autom4te.in (warn_forbidden): When rejecting a token,
10451 suggest m4_pattern_allow.
10452 Suggested by Adam J. Richter.
10454 2002-06-07 Akim Demaille <akim@epita.fr>
10456 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
10457 ac_config_libobj_dir.
10458 (AC_CONFIG_LIBOBJ_DIR): New.
10459 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
10460 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
10461 Use ac_config_libobj_dir to find the replacement files.
10462 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
10463 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
10464 (AC_REPLACE_FNMATCH_GNU): these.
10465 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
10466 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
10467 * tests/mktests.sh (ac_exclude_list): Don't check
10468 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
10470 2002-06-06 Paul Eggert <eggert@twinsun.com>
10472 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
10473 if ln doesn't work.
10475 * doc/autoconf.texi (Configuration Links): Likewise.
10476 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
10478 2002-06-05 Paul Eggert <eggert@twinsun.com>
10480 * config/config.guess, config/config.sub, config/texinfo.tex:
10481 Update from masters.
10483 2002-05-29 Paul Eggert <eggert@twinsun.com>
10485 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
10486 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
10487 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
10489 * lib/autoconf/Makefile.am (check-local): Likewise.
10490 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
10491 * lib/autoconf/types.m4 (commentary only): Likewise.
10492 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
10493 * lib/autotest/Makefile.am (check-local): Likewise.
10494 * lib/m4sugar/Makefile.am (check-local): Likewise.
10495 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
10496 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
10498 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
10499 * doc/autoconf.texi (Particular Programs): Document them.
10500 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
10503 2002-05-27 Paul Eggert <eggert@twinsun.com>
10505 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
10506 * NEWS, doc/autoconf.texi (Particular Types): Document it.
10507 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
10508 instead of AC_MBSTATE_T, which never existed.
10510 2002-05-23 Akim Demaille <akim@epita.fr>
10512 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
10513 version of Autoconf that is discussed.
10515 2002-05-22 Paul Eggert <eggert@twinsun.com>
10517 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
10518 from the default list of compilers to try. Suggested by
10520 * NEWS: Document the above.
10521 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
10523 2002-05-17 Paul Eggert <eggert@twinsun.com>
10525 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
10526 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
10527 This improves on an earlier suggestion by H. Peter Anvin.
10529 2002-05-16 Paul Eggert <eggert@twinsun.com>
10531 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
10532 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
10533 Both macros now accept an optional source-dir arg.
10534 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
10536 * NEWS: Document this.
10537 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
10539 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
10540 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
10541 not for GNU extensions; this undoes part of the 2000-11-03 change,
10542 reverting to 2.13-compatible behavior.
10543 Add new optional argument DIR.
10544 (AC_FUNC_FNMATCH_GNU): New macro.
10546 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
10548 2002-05-08 Paul Eggert <eggert@twinsun.com>
10550 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
10551 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
10552 and it causes a 'test' syntax error if it fails.
10553 Bug reported by Stephen Gildea.
10555 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
10556 If prototypes are supported, use them to check this at compile-time,
10557 instead of trying to check it at run-time. If we must do a run-time
10558 check, assume that setvbuf is standard when cross-compiling, as
10559 nonstandard setvbuf occurs only on ancient and unlikely hosts.
10560 Bug reported by Paul D. Smith.
10562 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
10563 argument specifying location of getloadavg.c. This removes a
10564 FIXME. This idea was taken from Jim Meyering's implementation in
10566 * doc/autoconf.texi (Particular Functions): Document this.
10567 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
10568 that's what the code does; this fixes a bug reported by
10571 2002-05-03 Akim Demaille <akim@epita.fr>
10573 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
10574 autopoint instead of gettextize.
10575 ($uses_alocal): Rename as...
10576 ($uses_aclocal): this.
10577 * doc/autoconf.texi (autoreconf Invocation): Adjust.
10578 Suggested by Bruno Haible.
10580 2002-05-03 Akim Demaille <akim@epita.fr>
10582 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
10584 2002-04-29 Paul Eggert <eggert@twinsun.com>
10586 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
10587 files to be 1 second older; just set them to be the same time.
10588 Also, sleep 1 second after the first aclocal, to work around
10589 problems with sub-second time stamps on the input files.
10591 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
10593 * doc/autoconf.texi: Mention "set -e -x" lossage
10594 under node "Limitations of Builtins".
10596 2002-04-29 Akim Demaille <akim@epita.fr>
10598 * doc/install.texi: Better wording for setting variables when
10600 From Christian Cornelssen.
10602 2002-04-29 Akim Demaille <akim@epita.fr>
10604 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
10605 of lack of $LINENO support, then the test will compare the $LINENO
10606 in testsuite vs. the lineno in the test file. This is wrong, of
10608 Be sure to protect it.
10609 Reported by Patrick Welche.
10611 2002-04-25 Akim Demaille <akim@epita.fr>
10613 * doc/autoconf.texi (Obsolete Macros): Typo.
10614 Reported by Vladimir Volovich.
10616 2002-04-25 Akim Demaille <akim@epita.fr>
10618 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
10619 than some of the input files, hence, on the second run of aclocal,
10620 if some of its input are younger, make them older.
10621 Suggested by Paul Eggert.
10623 2002-04-25 Akim Demaille <akim@epita.fr>
10625 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
10626 Thanks to Paul Eggert.
10628 2002-04-25 Akim Demaille <akim@epita.fr>
10630 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
10631 and ac_subst_vars be sh variables containing the list of
10632 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
10634 (_AC_INIT_PREPARE): Use them to log them.
10635 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
10636 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
10637 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
10638 _AC_SUBST_FILES and _AC_SUBST_VARS.
10639 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
10641 2002-04-24 Akim Demaille <akim@epita.fr>
10643 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
10644 autoheader, so that automake does not complain about a missing
10645 config.h.in that was to be created.
10647 2002-04-23 Akim Demaille <akim@epita.fr>
10649 * bin/autoheader.in (parse_args): --warning takes an argument.
10652 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
10654 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
10655 and bb.out when cleaning up.
10657 2002-04-22 Akim Demaille <akim@epita.fr>
10661 2002-04-22 Akim Demaille <akim@epita.fr>
10663 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
10665 2002-04-22 Akim Demaille <akim@epita.fr>
10667 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
10669 Reported by Gregory Giannoni.
10671 2002-04-22 Akim Demaille <akim@epita.fr>
10673 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
10674 Fixes false failures on Darwin.
10676 2002-04-21 Paul Eggert <eggert@twinsun.com>
10678 * TODO, bin/autoupdate.in, doc/autoconf.texi,
10679 lib/autoconf/general.m4, lib/autoconf/libs.m4,
10680 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
10681 tests/tools.at: Minor spelling and grammar fixes.
10683 2002-04-20 Paul Eggert <eggert@twinsun.com>
10685 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
10686 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
10687 * lib/autotest/general.m4 (AT_INIT): Likewise.
10688 * tests/atgeneral.m4 (AT_INIT): Likewise.
10690 2002-04-19 Paul Eggert <eggert@twinsun.com>
10692 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
10693 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
10694 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
10695 lib/autoconf/functions.m4, lib/autoconf/general.m4,
10696 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
10697 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
10698 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
10699 Minor spelling and grammar fixes.
10701 * doc/autoconf.texi: Follow the outline suggested in the GNU
10702 Sample Texts sections of the Texinfo 4.2 manual. Most
10703 importantly, this makes sure that the copyright notices appear in
10704 all output formats. You probably need Texinfo 4.2 to generate
10707 Fix some bugs when using "$@" when there might be zero positional
10708 arguments in cases where this matters.
10710 * bin/autoconf.as: Rewrite so that the problem does not come up.
10711 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
10712 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
10713 * lib/autotest/general.m4 (AT_INIT): Likewise.
10715 * bin/autoheader.in: Use 'case' statement to work around problem.
10716 * bin/auto4mte.in: Likewise.
10717 * bin/autoreconf.in: Likewise.
10718 * bin/autoscan.in: Likewise.
10719 * bin/autoupdate.in: Likewise.
10720 * bin/ifnames.in: Likewise.
10722 * doc/autoconf.texi (Shell Substitutions): Document the problem.
10724 * lib/autotest/general.m4 (AT_INIT):
10725 Use Zsh alias to work around problem.
10726 * tests/atgeneral.m4 (AT_INIT): Likewise.
10728 * tests/c.at: We can't have zero arguments, so remove workaround
10729 that is not portable to Zsh.
10731 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
10733 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
10734 from aclocal.m4 too.
10736 2002-04-12 Akim Demaille <akim@epita.fr>
10738 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
10740 2002-04-10 Akim Demaille <akim@epita.fr>
10742 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
10743 workaround for ${1+"$@"}.
10744 * doc/autoconf.texi (Shell Substitutions): Explain it.
10745 From Oliver Kiddle and Peter Stephenson.
10747 Have M4sh perform minimal shell sanitizing.
10749 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
10751 (_AS_PREPARE): this new macro.
10753 (AS_INIT): Invoke AS_SHELL_SANITIZE.
10754 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
10756 Adjust Autoconf and Autotest.
10758 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
10759 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
10760 * lib/autotest/general.m4 (AT_INIT): Likewise.
10761 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
10762 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
10765 Use this M4sh to generate Autoconf's shell scripts.
10767 * tests/wrapsh.as: New, precursor of wrapsh.in.
10768 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
10769 on Autotest and M4sh.
10770 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
10771 (wrapsh.in): New target.
10772 * bin/autoconf.as: New, precursor of autoconf.in.
10773 (autoconf.in): New target.
10775 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
10777 * doc/autoconf.texi (Limitations of Make): Mention the issue
10778 with indented comments in rules.
10780 2002-04-09 Andreas Schwab <schwab@suse.de>
10782 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
10783 ac_top_builddir when setting ac_abs_top_builddir.
10785 2002-04-06 Kevin Ryde <user42@zip.com.au>
10787 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
10788 (Portable Shell): Cross reference to Systemology.
10790 2002-04-05 Akim Demaille <akim@epita.fr>
10792 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
10793 directories when descending in a SUBDIRS.
10794 Reported by Ezra Peisach.
10796 2002-04-04 Andreas Schwab <schwab@suse.de>
10798 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
10799 contains no literal separators.
10801 2002-04-03 Akim Demaille <akim@epita.fr>
10803 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
10804 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
10805 Use dnl, not the KILL diversion.
10807 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
10808 (AC_CONFIG_LINKS): here.
10810 Don't use the KILL diversion, as it kills spurious output, which
10811 results in failures being hidden.
10812 Use m4_defn where appropriate.
10813 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
10814 after the second argument.
10816 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
10817 syntax, as it is provided by M4sugar.
10818 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
10820 2002-04-03 Andreas Schwab <schwab@suse.de>
10822 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
10823 expanded if $# <= 2.
10825 * bin/autoreconf.in (autoreconf): Run automake after rerunning
10828 2002-04-03 Akim Demaille <akim@epita.fr>
10830 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
10831 (_AC_COMPILER_EXEEXT_REJECT): New.
10832 Also recognize *.bb and *.bbg as compilation byproducts.
10833 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
10834 (_AC_COMPILER_OBJEXT): Use them.
10835 Fixes Debian #138666.
10837 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
10839 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
10841 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
10842 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
10843 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
10844 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
10845 (AC_C_CONST): Same.
10846 (AC_C_INLINE): Same.
10847 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
10848 * doc/autoconf.texi, NEWS: Document.
10849 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
10852 2002-04-02 Akim Demaille <akim@epita.fr>
10854 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
10855 _AS_MKDIR_P_PREPARE.
10857 2002-03-28 Kevin Ryde <user42@zip.com.au>
10859 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
10860 to avoid versions of HP C which don't allow that.
10862 2002-03-27 Paul Eggert <eggert@twinsun.com>
10864 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
10865 (AS_SHELL_SANITIZE): Invoke it.
10866 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
10868 2002-03-26 Akim Demaille <akim@epita.fr>
10870 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
10872 2002-03-26 Akim Demaille <akim@epita.fr>
10874 * doc/autoconf.texi (Introduction): The GNATS base moved.
10876 2002-03-25 Paul Eggert <eggert@twinsun.com>
10878 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
10879 as POSIX requires, as it doesn't work with Zsh.
10880 * doc/autoconf.texi (Assignments): Document the problem.
10882 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
10884 * doc/autoconf.texi (Limitations of Make): Mention more issue
10885 about VPATH, overriding of macros in sub-makes, and handling of
10888 2002-03-21 Paul Eggert <eggert@twinsun.com>
10890 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
10891 problem with here-document buffer boundaries.
10893 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
10894 when reinvoking the shell, to work around problems with installers
10895 who put strange things like "cd" commands in their environments.
10897 2002-03-19 Akim Demaille <akim@epita.fr>
10899 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
10902 2002-03-19 Akim Demaille <akim@epita.fr>
10904 * bin/autoscan.in (scan_file): Specify the location in `&used'
10908 2002-03-19 Akim Demaille <akim@epita.fr>
10910 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
10911 From Nishio Futoshi.
10913 2002-03-19 Akim Demaille <akim@epita.fr>
10915 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
10917 2002-03-18 Paul Eggert <eggert@twinsun.com>
10919 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
10920 (Limitations of Usual Tools): Add mkdir section.
10922 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
10923 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
10924 back on AS_DIRNAME to compute prefixes otherwise; this is
10925 roughly what mkinstalldirs does. That way, we need not have
10926 our own filename disassembler. The old disassembler did not
10927 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
10929 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
10930 Create at_test_all by a series of assignments,
10931 not by a single assignment of a long string. The latter causes ksh
10932 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
10933 presumably because of a buffer overrun.
10935 2002-03-14 Paul Eggert <eggert@twinsun.com>
10937 * lib/autotest/general.m4 (at_times_skip):
10938 Renamed from at_times. Now a boolean.
10939 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
10940 says 'times: not found'.
10942 2002-03-14 Akim Demaille <akim@epita.fr>
10944 * bin/autoreconf.in (&study_gettextize): New.
10945 (&autoreconf): Handle newest gettextize.
10946 Rerun aclocal if needed.
10947 Suggested by Andreas Schwab.
10949 2002-03-13 Akim Demaille <akim@epita.fr>
10951 * doc/autoconf.texi (Special Shell Variables): More about IFS.
10953 2002-03-13 Akim Demaille <akim@epita.fr>
10955 * doc/autoconf.texi (Header Portability): New.
10956 Add information about stdint.h and inttypes.h from Paul Eggert.
10958 2002-03-13 Akim Demaille <akim@epita.fr>
10960 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
10964 2002-03-12 Akim Demaille <akim@epita.fr>
10966 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
10969 2002-03-11 Andreas Schwab <schwab@suse.de>
10971 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
10972 does not do it if --with-lispdir is given.
10974 2002-03-08 Akim Demaille <akim@epita.fr>
10978 2002-03-08 Akim Demaille <akim@epita.fr>
10980 * doc/autoconf.texi (Subdirectories): Clarify that the
10981 subdirectory should exist.
10983 2002-03-08 Akim Demaille <akim@epita.fr>
10985 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
10987 2002-03-08 Akim Demaille <akim@epita.fr>
10989 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
10990 aliases the actual variables, and modifications of the former
10993 2002-03-08 Akim Demaille <akim@epita.fr>
10995 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
10996 because of C-c: have m4 output in tmp files, then mv them.
10998 2002-03-08 Akim Demaille <akim@epita.fr>
11000 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
11001 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
11002 * bin/ifnames.in: Copyright update.
11004 2002-03-08 Akim Demaille <akim@epita.fr>
11006 * doc/autoconf.texi (Invoking autom4te): New.
11008 2002-03-05 Akim Demaille <akim@epita.fr>
11010 * doc/autoconf.texi (Specifying Names): Clarification suggested by
11013 2002-03-05 Akim Demaille <akim@epita.fr>
11017 2002-03-04 Akim Demaille <akim@epita.fr>
11019 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
11020 * lib/autoconf/general.m4 (AC_INIT): More informative error
11021 message for LIBOBJ.
11023 2002-03-04 Akim Demaille <akim@epita.fr>
11025 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
11028 2002-03-04 Akim Demaille <akim@epita.fr>
11030 * doc/autoconf.texi (Transforming Names): Equality between target
11031 and host is irrelevant.
11032 (Specifying Names, Canonicalizing): Remove all references to the
11033 backward compatibility hooks. Rather, collect them all into...
11034 (Hosts and Cross-Compilation): this new section.
11035 * doc/install.texi (System Type): Ditto.
11036 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
11037 that `--host' implies cross-compilation.
11039 2002-03-04 Akim Demaille <akim@epita.fr>
11041 * doc/autoconf.texi (Evaluation Macros): New.
11042 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
11044 (_m4_foreach): Define the variant with immediate evaluation so
11045 that it contains exactly the items, not an expression which
11046 evaluation is the current item.
11047 (m4_re_string, m4_re_word): Don't over quote them.
11049 2002-03-04 Akim Demaille <akim@epita.fr>
11051 Instead of having stacking `shift's evaluated at the end, let
11052 `foreach' loops immediately evaluate them.
11054 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
11055 $*. This is the n-th time I change my mind, but hopefully this is
11058 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
11060 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
11061 it was only a hack for m4_text_wrap.
11062 (m4_car2): Remove, replaced by...
11064 (_m4_foreach): Adjust.
11065 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
11066 m4_bpatsubst for clarification.
11068 2002-03-04 Akim Demaille <akim@epita.fr>
11070 * doc/autoconf.texi (Changequote is Evil): New.
11072 2002-03-03 Kevin Ryde <user42@zip.com.au>
11074 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
11075 on old systems like SunOS.
11077 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
11079 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11080 lib/autoconf/functions.m4, lib/autoconf/general.m4,
11081 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
11082 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
11085 2002-02-28 Akim Demaille <akim@epita.fr>
11087 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
11088 message to be sent.
11090 2002-02-28 Kevin Ryde <user42@zip.com.au>
11092 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
11094 2002-02-25 Akim Demaille <akim@epita.fr>
11096 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
11097 From Akinori Musha.
11099 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
11101 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
11102 translate \r\n to \n.
11104 2002-02-07 Akim Demaille <akim@epita.fr>
11108 2002-02-07 Akim Demaille <akim@epita.fr>
11110 Fix Autoconf PR/209.
11111 Also reported by Frank Denis.
11113 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
11115 2002-02-07 Akim Demaille <akim@epita.fr>
11117 Fix Autoconf PR/207:
11118 AC_PREFIX_PROGRAM fails with dashed program names
11120 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
11121 variable when looking for the prefix program.
11122 Now it also works for shell variables.
11124 2002-02-07 Akim Demaille <akim@epita.fr>
11126 * doc/autoconf.texi (Limitations of Builtins): More about
11129 2002-02-06 Akim Demaille <akim@epita.fr>
11131 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
11132 case/esac, some shells don't support it.
11133 Reported by Zack Weinberg.
11134 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
11136 2002-02-06 Akim Demaille <akim@epita.fr>
11138 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
11139 sure not to introduce newlines in at_groups.
11140 * lib/autotest/Makefile.am (autotest.m4f): Typo.
11142 2002-02-06 Akim Demaille <akim@epita.fr>
11144 * tests/torture.at (Configuring subdirectories): Skip if aclocal
11147 2002-02-05 Paul Eggert <eggert@twinsun.com>
11149 * doc/autoconf.texi (Specific Compiler Characteristics):
11150 Describe HP-UX cc bug workaround more accurately.
11151 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
11153 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
11154 cross-compilers, too. This undoes some of the most recent change
11157 2002-02-05 Akim Demaille <akim@epita.fr>
11159 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
11160 to make sure they are up to date when `check' is run.
11162 2002-02-05 Akim Demaille <akim@epita.fr>
11164 * doc/autoconf.texi (Making testsuite Scripts): Document
11167 2002-02-05 Akim Demaille <akim@epita.fr>
11169 * lib/freeze.mk: New.
11171 2002-02-05 Akim Demaille <akim@epita.fr>
11173 Implement `autom4te --freeze'.
11175 * bin/autom4te.in (&freeze): New.
11176 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
11177 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
11179 2002-02-05 Akim Demaille <akim@epita.fr>
11181 * bin/autom4te.in (&parse_args): Implement `frozen files are
11182 optional are the sum of the previous files on the command line'.
11183 Also, pass `--reload-state=' on them, so...
11184 (handle_m4): don't.
11185 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
11186 (M4sh): Rely on M4sugar.
11187 (Autotest, M4sh, M4sugar): Use frozen files.
11189 2002-01-31 Akim Demaille <akim@epita.fr>
11191 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
11192 * doc/autoconf.texi (Initializing configure): Adjust.
11194 2002-01-30 Akim Demaille <akim@epita.fr>
11196 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
11197 alphanumeric to `-' instead of `_'.
11199 2002-01-30 Akim Demaille <akim@epita.fr>
11201 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
11202 for plain code, the other for cross-compilation code. The latter
11203 is now run with GCC only.
11204 * doc/autoconf.texi (Compilers and Preprocessors): New.
11206 2002-01-30 Akim Demaille <akim@epita.fr>
11208 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
11210 * doc/autoconf.texi (Initializing configure): Explain how to
11211 change AC_INIT default values.
11213 2002-01-29 Akim Demaille <akim@epita.fr>
11215 * tests/torture.at (Configuring subdirectories): Use configure.in,
11216 so that aclocal 1.4 works.
11217 Reported by Alexandre Duret-Lutz and Larry Schmitt.
11219 2002-01-28 Akim Demaille <akim@epita.fr>
11221 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
11224 2002-01-28 Akim Demaille <akim@epita.fr>
11226 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
11227 AUTOTEST_PATH *after* it was set.
11228 Don't put `.' in the PATH: the user should be precise and `./' if
11229 needed. In addition, given that the test suite does some `cd', if
11230 `.' is in the path, the `tested programs' sections will report
11231 programs found in the test suite's directory, while during the
11232 tests (performed in their own directory), these programs are no
11233 longer visible. In other words, the results is confusing and
11235 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
11237 2002-01-24 Akim Demaille <akim@epita.fr>
11241 2002-01-24 Akim Demaille <akim@epita.fr>
11243 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
11244 * doc/autoconf.texi: Finally add Akim as an author.
11246 2002-01-24 Akim Demaille <akim@epita.fr>
11248 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
11249 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
11250 Bourne. Use /bin/sh.
11251 From Andreas Buening.
11253 2002-01-24 Akim Demaille <akim@epita.fr>
11255 * config/config.guess, config/config.sub, config/texinfo.tex:
11256 Update from masters.
11258 2002-01-24 Akim Demaille <akim@epita.fr>
11260 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
11261 * config/auxdir.m4, config/cond.m4, config/depend.m4,
11262 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
11263 * config/missing.m4, config/sanity.m4, config/select.m4,
11264 * config/strip.m4: Remove, to ease sync'ing with any version of
11267 2002-01-24 Akim Demaille <akim@epita.fr>
11269 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
11270 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
11271 Reported by Geir Ove Myhr.
11273 2002-01-21 Akim Demaille <akim@epita.fr>
11275 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
11277 2002-01-21 Akim Demaille <akim@epita.fr>
11279 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
11280 message on invalid options.
11281 * bin/autom4te.in (parse_args): Don't use
11282 Autoconf::General::getopt with non valid options.
11284 2002-01-17 Jim Meyering <meyering@lucent.com>
11286 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
11287 $ac_cv_exeext so we don't use an old, invalid, cached value.
11289 2002-01-11 Akim Demaille <akim@epita.fr>
11291 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
11293 * doc/autoconf.texi (Function Portability): Document the strnlen
11295 (Particular Functions): Document AC_FUNC_STRNLEN.
11296 * lib/autoscan/functions: Adjust.
11298 2002-01-06 Akim Demaille <akim@epita.fr>
11300 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
11301 package.m4, since is really depends upon configure.ac, not
11303 * doc/autoconf.texi (testsuite Scripts): Adjust.
11304 * tests/Makefile.am (package.m4): New.
11305 EXTRA_DIST it since its a source.
11307 2002-01-06 Akim Demaille <akim@epita.fr>
11309 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
11310 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
11311 and PACKAGE_BUGREPORT from here...
11312 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
11314 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
11315 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
11316 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
11317 * tests/tools.at (autoheader): Adjust.
11318 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
11320 2002-01-06 Akim Demaille <akim@epita.fr>
11322 * bin/autoscan.in (scan_file): Use `&used'.
11324 2002-01-03 Akim Demaille <akim@epita.fr>
11326 * doc/autoconf.texi (Output): Improved wording regarding use of
11330 2001-12-18 Kevin Ryde <user42@zip.com.au>
11332 * doc/autoconf.texi (Function Portability): Add notes on sscanf
11333 sometimes needing writable input.
11335 2001-12-17 Jim Meyering <meyering@lucent.com>
11337 * doc/autoconf.texi (New Macros): Tweak wording.
11339 2001-12-14 Akim Demaille <akim@epita.fr>
11341 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
11342 trailing files, don't apply `-rf' to files which might not be
11343 created by configure (core, core.*, and *.core), but just `rm -f'.
11344 Suggested by Jonathan Kamens.
11346 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
11348 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
11350 2001-12-14 Akim Demaille <akim@epita.fr>
11352 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
11354 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
11356 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
11357 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
11358 abs_srcdir, top_srcpath to abs_top_srcdir.
11359 (_AC_OUTPUT_FILES): Adjust.
11360 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
11361 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
11362 * tests/wrappl.in, tests/wrapsh.in: Adjust.
11364 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
11366 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
11367 C/Fortran linking on HP/UX, by extracting the Fortran library
11368 search path from the LPATH line in the $F77 -v output.
11370 2001-12-12 Kevin Ryde <user42@zip.com.au>
11372 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
11373 forbidden file descriptors table.
11375 2001-11-26 Akim Demaille <akim@epita.fr>
11377 * bin/autoscan.in (%c_keywords): Build it at top level.
11378 Map to 1 in order to simplify its uses.
11380 2001-11-26 Akim Demaille <akim@epita.fr>
11382 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
11383 Remove $filepath, useless.
11384 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
11385 variables, they are really part of the tokens.
11386 Split the input line on spaces and then look for tokens.
11387 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
11388 because of `lex$U.$(OBJEXT)'.
11389 (&scan_files): Use "@list" instead of join.
11390 * doc/Makefile.am (CLEANFILES): Add *.fns.
11392 2001-11-26 Akim Demaille <akim@epita.fr>
11394 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
11395 Remove, replaced by...
11396 * tests/wrappl.in: Be common for all the Perl executables.
11397 In particular autoscan and autoheader want -I.
11398 * configure.ac: Adjust.
11399 * lib/autoscan/headers: errno.h is portable.
11401 2001-11-26 Akim Demaille <akim@epita.fr>
11403 * bin/autoscan.in (used): New.
11406 2001-11-26 Akim Demaille <akim@epita.fr>
11408 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
11410 (&scan_sh_file): Remove a duplicate pattern.
11411 (&check_configure_ac): Use long options.
11412 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
11414 2001-11-26 Akim Demaille <akim@epita.fr>
11416 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
11417 Before, having a line containing the opening of a multi line
11418 comment made the whole line be ignored.
11420 2001-11-26 Akim Demaille <akim@epita.fr>
11422 * doc/autoconf.texi (Using an Autotest Test Suite): New.
11423 (testsuite Scripts): Be one of its subsection.
11424 (Autotest Logs): New.
11426 2001-11-26 Akim Demaille <akim@epita.fr>
11428 Test groups are now run two directories deeper.
11430 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
11431 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
11433 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
11434 top_srcdir, builddir and top_builddir.
11435 Use `at_*dir' relatively to the directory containing the
11436 suite, use `*dir' when relatively to the current group dir.
11438 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
11440 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
11441 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
11442 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
11445 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
11447 * doc/autoconf.texi (Using System Type): Add an example of `case
11448 $host' usage so people quit using `case $target' everywhere.
11450 2001-11-22 Akim Demaille <akim@epita.fr>
11452 * doc/autoconf.texi (Installation Directory Variables): Englishoes
11453 spotted by Jim Meyering.
11455 2001-11-16 Paul Eggert <eggert@twinsun.com>
11457 This patch implements a `long double' suggestion by Oliver Kiddle.
11459 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
11460 static, to catch errors if the value isn't known at compile-time
11461 and the compiler supports dynamic arrays. Change its name from
11462 `_array_' to `test_array' to avoid potential name clashes.
11463 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
11464 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
11465 better than double. Catch a bug in GCC 2.95.2 x86.
11466 * doc/autoconf.texi (C Compiler): Document the above.
11469 2001-11-13 Akim Demaille <akim@epita.fr>
11471 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
11473 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
11475 2001-11-13 Akim Demaille <akim@epita.fr>
11477 * lib/autotest/general.m4 (AT_INIT): After having run the test
11478 group, go back to the initial directory, not to at_suite_dir.
11480 2001-11-13 Akim Demaille <akim@epita.fr>
11482 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
11483 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
11484 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
11486 (AT_CHECK_CONFIGURE): Use absolute paths.
11487 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
11488 The problem is still the old one: there is no means in M4 (that I
11489 know about) to create a defining macro, because there is no means
11490 to create `$1' etc., therefore, the defining macro ``swallows''
11491 all the arguments meant to the defined macro.
11493 2001-11-13 Akim Demaille <akim@epita.fr>
11495 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
11496 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
11498 * tests/aclocal.m4: Remove, as it is no longer used.
11500 2001-11-13 Akim Demaille <akim@epita.fr>
11502 * lib/autotest/general.m4: Change `tests?' into `groups?' in
11503 variable names when referring to a single test group, or to
11504 `suite' when referring to the whole test suite.
11505 `at_last_test' is removed: m4 compute at_format itself.
11506 (at_stdout, at_stder1, at_stderr): New variables.
11507 (AT_CHECK): Use them.
11509 2001-11-13 Akim Demaille <akim@epita.fr>
11511 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
11513 Create `testsuite.dir/003/run' instead of `testsuite.003'.
11514 Do it as soon as a test fails, don't wait till the end of the test
11516 Don't remove $as_me.[0-9]*, since these files no longer exist.
11518 2001-11-13 Akim Demaille <akim@epita.fr>
11520 * tests/tools.at: Use absolute paths, since we are no longer run
11523 2001-11-13 Akim Demaille <akim@epita.fr>
11525 Now that tests are running in their own private dir, there is no
11526 need to list the files to remove at the end of tests groups.
11528 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
11529 (AT_data_files, at_data_files): Remove.
11530 (AT_CLEANUP, AT_DATA): Simplify.
11532 Remove the group dir if !debug && !failed.
11533 * tests/atspecific.m4: Adjust.
11535 2001-11-13 Akim Demaille <akim@epita.fr>
11537 Start a new layout for Autotest: `testsuite' creates
11538 `testsuite.dir' in which the at-check-line etc. files are to be
11539 found, and `testsuite.dir/003' where the test group 3 is run.
11541 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
11542 at_check_line_file, at_format, at_test_normalized, at_group_dir
11544 Create the directories.
11545 Use absolute paths for at- files.
11546 (AT_CHECK): Adjust.
11548 2001-11-11 Michael Matz <matz@kde.org>
11550 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
11552 (m4_car): Properly quote arguments.
11554 2001-11-13 Akim Demaille <akim@epita.fr>
11556 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
11557 with stricter rules on LIBOBJS.
11559 2001-11-12 Paul Eggert <eggert@twinsun.com>
11561 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
11562 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
11565 2001-11-12 Akim Demaille <akim@epita.fr>
11567 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
11569 2001-11-12 Akim Demaille <akim@epita.fr>
11571 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11572 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
11573 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
11574 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
11575 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
11576 specify to what the macro should be defined (typically to 1).
11578 2001-11-12 Akim Demaille <akim@epita.fr>
11580 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
11583 2001-11-12 Akim Demaille <akim@epita.fr>
11585 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11586 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
11587 definition used by Automake where LEX is +/- "${missing} lex" and
11588 `missing' itself contains variables.
11590 2001-11-12 Akim Demaille <akim@epita.fr>
11592 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
11593 Now that M4sh pushes BODY, the comments were output at the end of
11596 2001-11-08 Akim Demaille <akim@epita.fr>
11598 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
11599 that we can trace macros from aclocal.m4.
11600 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
11601 obsoleted, and redirect to the former anyway.
11602 Reported by Ralf Corsepius.
11604 2001-11-08 Akim Demaille <akim@epita.fr>
11606 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
11607 processed only if present.
11608 * tests/torture.at (Configuring subdirectories): Use autoreconf
11609 instead of successive calls to autoconf.
11610 Add a nonexistent subdirectory to exercise the patch above.
11611 Reported by Ralf Corsepius.
11613 2001-11-08 Kevin Ryde <user42@zip.com.au>
11615 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
11616 doesn't accept .S files.
11618 2001-11-07 Akim Demaille <akim@epita.fr>
11620 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
11621 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
11622 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
11623 * bin/autom4te.in (warn_forbidden): New.
11624 (handle_output): Use it.
11625 Read m4_pattern_forbid with messages.
11627 2001-11-05 Akim Demaille <akim@epita.fr>
11629 * bin/autom4te.in (--normalize): Remove.
11630 * lib/autom4te.in: Adjust.
11632 2001-11-05 Akim Demaille <akim@epita.fr>
11634 * tests/Makefile.am (testsuite): Rename this target as...
11635 ($(TESTSUITE)): this.
11638 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
11640 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
11641 the --prefix option, also remove it's argument.
11643 2001-11-05 Akim Demaille <akim@epita.fr>
11645 * doc/autoconf.texi (testsuite Invocation): Update.
11646 (Writing testsuite.at): Update.
11648 2001-11-03 Akim Demaille <akim@epita.fr>
11650 * doc/autoconf.texi: s/@code/@command/ where appropriate.
11652 2001-11-03 Akim Demaille <akim@epita.fr>
11654 * lib/Autom4te/General.pm: (&catfile, &canonfile)
11655 (&file_name_is_absolute): New, wrappers around routines from
11657 Use and export them.
11658 (&find_configure_ac): Optionally take a directory where to look at.
11659 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
11661 Default @ARGV to `.', not find_configure_ac.
11662 (&autoreconf): Argument is a directory.
11663 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
11664 * doc/autoconf.texi (autoreconf Invocation): Update.
11666 2001-11-03 Akim Demaille <akim@epita.fr>
11668 * lib/Autom4te/General.pm (@export_vars, @export_subs)
11669 (@export_forward_subs): New.
11670 Add basename, dirname, and fileparse.
11672 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
11673 Don't look for aclocal flags if we already know aclocal is not
11675 Move aclocal.m4t only if it exists.
11676 Reported by Ezra Peisach.
11678 2001-11-03 Akim Demaille <akim@epita.fr>
11680 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
11681 passed on command line, defaulting to ./configure.ac if present.
11682 (&maybe_autoreconf, File::Find): Remove, unused.
11683 (&autoreconf): If autoconf is not used, don't try to trace.
11685 2001-11-02 Akim Demaille <akim@epita.fr>
11687 * configure.ac: Bump to 2.52g.
11689 2001-11-02 Akim Demaille <akim@epita.fr>
11693 2001-11-02 Akim Demaille <akim@epita.fr>
11695 * config/config.guess, config/config.sub, doc/standards.texi:
11696 * config/lispdir.m4: Update from masters.
11697 * configure.ac: Bump to 2.52f.
11699 2001-11-02 Akim Demaille <akim@epita.fr>
11701 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
11702 Don't run aclocal when aclocal.m4 is not from aclocal.
11704 Don't run libtoolize and gettextize if --install is not given.
11706 2001-11-01 Paul Eggert <eggert@twinsun.com>
11708 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
11709 be invoked before _AS_LINENO_PREPARE.
11710 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
11711 than character ranges.
11713 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
11714 invoking AS_BASENAME. Set the locale variables to 'C' if
11715 possible, as POSIX requires this to get the traditional
11717 * doc/autoconf.texi (Special Shell Variables): Describe the above.
11719 2001-10-31 Paul Eggert <eggert@twinsun.com>
11721 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
11722 with {}, as that triggers a bug in Bash 2.05.
11724 (_AS_LINENO_PREPARE): Use Sed rather than
11725 Awk. Fix the sed prepass to work even if there are multiple
11726 instances of $LINENO on the same line. Do not substitute for
11727 other variables like $LINENOT. Do not check file dates; such a
11728 check is unreliable on sufficiently fast machines, and removing
11729 the check makes the code simpler and more reliable. Check for
11730 output and chmod failures.
11732 * doc/autoconf.texi (Special Shell Variables): Document
11735 2001-10-31 Akim Demaille <akim@epita.fr>
11737 * tests/Makefile.am (atconfig): Remove this target, Automake
11740 2001-10-31 Akim Demaille <akim@epita.fr>
11742 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
11743 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
11744 provided, while it is optional.
11745 * configure.ac: Adjust.
11747 2001-10-26 Paul Eggert <eggert@twinsun.com>
11749 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
11750 lib/Autom4te/Struct.pm:
11751 Require Perl 5.005_03 instead of just 5.005, as some tests fail
11754 * doc/autoconf.texi (Special Shell Variables): Document some
11755 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
11757 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
11758 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
11759 eval $LINENO is not portable in practice.
11761 2001-10-24 Akim Demaille <akim@epita.fr>
11763 * lib/Autom4te/General.pm (backname): New.
11765 2001-10-24 Akim Demaille <akim@epita.fr>
11767 * m4/: Remove, merged into...
11770 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
11772 * doc/autoconf.texi (Shellology): Mention the problems with bash
11773 2.05's use of ANSI quoting in its `set' builtin.
11775 2001-10-22 Paul Eggert <eggert@twinsun.com>
11777 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
11778 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
11779 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
11780 POSIX decided to standardize on the int flavor of strerror_r.
11781 Always do char* test, as there's no reason not to.
11782 Assign to a char* var, to catch strerror_r that returns int*.
11784 * doc/autoconf.texi (Particular Functions):
11785 Document the above changes. Also, document the fact that
11786 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
11788 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
11790 2001-10-20 Akim Demaille <akim@epita.fr>
11792 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
11793 the executable was missing from the log.
11795 2001-10-20 Akim Demaille <akim@epita.fr>
11797 * lib/Autom4te/General.pm (&update_file): If destination is
11798 unchanged, remove the source.
11799 (&up_to_date_p): Don't be verbose, be debug.
11800 * bin/autoreconf.in: No longer support --m4dir.
11801 (&autoreconf): Display the full path of the configure.ac we are
11803 Trace it only once.
11804 Be sure to honor --force with gettextize.
11805 Always run aclocal.
11806 * doc/autoconf.texi: Adjust.
11808 2001-10-20 Akim Demaille <akim@epita.fr>
11810 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
11812 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
11813 `intl' is already present, as it refuses unless --force.
11814 (&parse_args): Use -I, --include instead of the old Autoconf
11816 ($localdir, $autoconf_dir): Remove.
11818 (&maybe_autoreconf): New, to preserve $_ for File::Find.
11820 2001-10-19 Jens Petersen <petersen@redhat.com>
11822 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
11823 * doc/autoconf.texi (Particular Programs): Likewise.
11825 2001-10-19 Akim Demaille <akim@epita.fr>
11827 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
11828 file in @configure_input@.
11829 Don't mention `automatically' in addition to `generated'.
11830 * tests/torture.at (#define header templates): Adjust.
11832 2001-10-19 Akim Demaille <akim@epita.fr>
11834 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
11835 comment, explain how to install automatic mode selection.
11838 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
11840 * bin/autoreconf.in (autoreconf): Display the path to the
11841 configure.ac being studied.
11843 2001-10-18 Paul Eggert <eggert@twinsun.com>
11845 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
11846 long, to work around a bug in the HP C compiler version HP92453-01
11849 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
11850 (AS_BASENAME_EXPR): New macro.
11851 (AS_BASENAME_SED): Do not assume GNU sed semantics.
11852 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
11853 and fall back on 'sed' only if the other two fail. This makes
11854 AS_BASENAME act more like AS_DIRNAME.
11855 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
11856 contains white space.
11857 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
11858 Use AS_DIRNAME, since I think it's now DOS-friendly.
11859 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
11860 Allow "dirname //FOO" to return either / or //, as POSIX allows
11863 2001-10-10 Akim Demaille <akim@epita.fr>
11865 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
11866 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
11869 2001-10-10 Akim Demaille <akim@epita.fr>
11871 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
11872 m4_define, since...
11873 (_AS_ECHO_N): AS_REQUIREs it.
11875 2001-10-10 Akim Demaille <akim@epita.fr>
11877 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
11878 (AC_INCLUDES_DEFAULT): Move to...
11879 * lib/autoconf/headers.m4: here.
11880 * lib/autoconf/types.m4: Comment changes.
11881 * doc/autoconf.texi: Specify where the default includes are used
11882 in the macro prototypes.
11884 2001-10-09 Akim Demaille <akim@epita.fr>
11886 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
11889 2001-10-08 Akim Demaille <akim@epita.fr>
11891 * bin/autoreconf.in (&autoreconf): Remove debugging code.
11892 (&parse_args): Pass verbosity/debugging options to subtools when
11893 --debug, not when --verbose.
11894 * lib/autom4te.in (Autoreconf-preselections): New.
11895 (Autoconf): Use it.
11897 2001-10-08 Akim Demaille <akim@epita.fr>
11899 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
11901 2001-10-08 Akim Demaille <akim@epita.fr>
11903 * doc/autoconf.texi (autoreconf Invocation): Adjust.
11904 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
11906 2001-10-08 Akim Demaille <akim@epita.fr>
11908 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
11909 (Syntax of the shell scripts): Don't.
11910 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
11911 bother with $force since...
11912 * lib/Autom4te/General.pm: does.
11914 2001-10-08 Akim Demaille <akim@epita.fr>
11916 * bin/autoreconf.in: Rewrite in Perl.
11917 * configure.ac: Adjust.
11918 * lib/Autom4te/General.pm (&up_to_date_p): New.
11919 * bin/autom4te.in (&up_to_date_p): Use it.
11921 (&up_to_date): this.
11923 2001-10-08 Akim Demaille <akim@epita.fr>
11925 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
11926 (m4_list_cmp): Use $0 to reinvoke yourself.
11927 (m4_patsubsts): New.
11928 (m4_strip, m4_version_unletter): Use it.
11929 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
11931 2001-10-08 Akim Demaille <akim@epita.fr>
11933 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
11934 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
11935 * lib/autoconf/types.m4, lib/autotest/general.m4,
11936 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
11937 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
11938 m4_bregexp, m4_bpatsubst, and m4_bmatch.
11939 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
11941 2001-10-08 Akim Demaille <akim@epita.fr>
11943 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
11945 2001-10-08 Akim Demaille <akim@epita.fr>
11947 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
11948 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
11949 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
11950 * tests/tools.at, tests/m4sh.at: Use it.
11951 * tests/m4sh.at: Don't rely on Autoconf macros.
11952 (DIRNAME_TEST): Also exercise the expr variant.
11953 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
11954 preferred M4sugar extension is now `.4s'.
11955 * tests/README: Remove.
11957 2001-10-08 Akim Demaille <akim@epita.fr>
11959 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
11960 (m4_provide_if): this.
11961 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
11962 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
11963 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
11964 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
11966 2001-10-08 Akim Demaille <akim@epita.fr>
11968 Use `add-log-current-defun-function' for ChangeLog creation.
11969 Suggested by Tom Tromey.
11971 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
11972 (autotest-mode): Adjust.
11973 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
11974 'comment-region onto `C-c ;'.
11975 Comments are `#', not `dnl'.
11976 (autoconf-current-defun): New.
11977 (autoconf-font-lock-keywords): Recognize `m4_defun'.
11979 2001-10-08 Akim Demaille <akim@epita.fr>
11981 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
11982 * lib/m4sugar/m4sh.m4: here.
11983 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
11984 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
11985 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
11986 include handle the m4_pattern_*, no longer push the
11987 BODY diversion nor set the /bin/sh line, AS_INIT does it.
11988 * lib/autotest/general.m4 (AT_INIT): Likewise.
11989 * tests/base.at: Adjust the tests to use AS_INIT.
11990 * tests/tools.at (AT_DATA_FORBIDDEN): New.
11991 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
11994 2001-10-07 Paul Eggert <eggert@twinsun.com>
11996 * doc/autoconf.texi (config.status Invocation):
11997 CONFIG_SHELL defaults to a shell that supports LINENO if available.
11999 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
12000 shell does not support LINENO, and if CONFIG_SHELL is unset or
12001 empty, and if we can find a shell that does support LINENO,
12002 then set CONFIG_SHELL to that shell and then re-execute
12003 ourselves with CONFIG_SHELL.
12005 2001-10-05 Paul Eggert <eggert@twinsun.com>
12007 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
12008 doesn't exist. Remove *.tmp, as a .tmp file is created during the
12009 build of $(TESTSUITE).
12011 2001-10-05 Akim Demaille <akim@epita.fr>
12013 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
12014 iff we are a bareword.
12015 Reported by Raja R Harinath.
12017 2001-10-05 Akim Demaille <akim@epita.fr>
12019 * tests/m4sh.at (LINENO): New.
12020 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
12021 PATH_SEPARATOR before using it.
12022 Fix the absolute path case/esac pattern.
12023 Provide $0 as fallback for as_myself.
12024 Reported by Raja R Harinath.
12026 2001-10-05 Akim Demaille <akim@epita.fr>
12028 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
12029 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
12031 2001-10-05 Akim Demaille <akim@epita.fr>
12033 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
12034 (AS_SHELL_SANITIZE): here. Use it.
12035 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
12038 2001-10-04 Akim Demaille <akim@epita.fr>
12040 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
12041 combination of Awk and sed to replace $LINENO.
12043 2001-10-02 Paul Eggert <eggert@twinsun.com>
12045 * doc/autoconf.texi (Limitations of Builtins): You can't use
12046 "source"; it's not portable. Remove confusing and
12047 somewhat-incorrect example involving "." and "/".
12049 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
12050 compatibility with POSIX shells.
12052 2001-10-02 Akim Demaille <akim@epita.fr>
12054 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
12055 instead of exec'ing to preserve $0 and $@.
12057 2001-10-01 Akim Demaille <akim@epita.fr>
12059 * tests/testsuite (AT_INIT) <at_pass_list>: New.
12060 Don't run twice the same test.
12062 2001-10-01 Akim Demaille <akim@epita.fr>
12064 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
12065 No longer output the list of tests.
12066 <--list>: New option.
12067 <--full-help>: Remove.
12068 Complete the short/long options duality.
12069 Various small adjustments.
12071 2001-10-01 Akim Demaille <akim@epita.fr>
12073 * doc/autoconf.texi: Use @kbd for user input.
12074 Always use `$' as shell prompt.
12076 2001-09-30 Paul Eggert <eggert@twinsun.com>
12078 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
12079 Don't use nested parenthesization. This patch was originally
12080 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
12081 but somehow it didn't get incorporated then.
12082 * doc/autoconf.texi (Limitations of Usual Tools):
12083 Clarify remark about sed and nested parenthesization.
12085 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
12086 Report an error if the size cannot be determined even though
12088 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12089 Check for `expr' arithmetic overflow, and for compilation failure,
12090 and invoke a new argument $4 if either is discovered.
12091 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
12092 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
12094 2001-09-28 Akim Demaille <akim@epita.fr>
12096 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
12097 * m4/lispdir.m4: New.
12098 * aclocal.m4, configure.ac: Adjust.
12100 2001-09-28 Akim Demaille <akim@epita.fr>
12102 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
12104 (AT_INIT): More the wrapped section to where it will be expanded.
12105 Output `AT_tested' only when existing.
12106 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
12108 2001-09-27 Akim Demaille <akim@epita.fr>
12110 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
12111 generates too many bug reports.
12113 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
12114 status when executing the ACTION-IF-FALSE.
12115 * tests/base.at (AC_TRY_*): Rename as...
12116 (AC_TRY_COMMAND): this.
12117 (AC_RUN_IFELSE): New.
12118 * tests/compile.at (Extensions, C keywords)
12119 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
12120 (Broken/missing compilers, AC_PROG_CPP with warnings)
12121 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
12122 * tests/c.at (Extensions, C keywords)
12123 (Broken/missing compilers, AC_PROG_CPP with warnings)
12124 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
12125 (AC_PROG_CPP requires AC_PROG_CC): here and...
12126 * tests/fortran.at (GNU Fortran 77): there.
12127 * doc/autoconf.texi (autoconf Invocation): Fix the example:
12128 AC_TRY_RUN is about compilation, not shell commands.
12129 (Test Programs): AC_TRY_RUN works as used to be advertised.
12131 2001-09-27 Akim Demaille <akim@epita.fr>
12133 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
12135 Be sure to detect when $LINENO always returns the same value.
12136 Look for the original script, basename($0) is certainly not
12138 Pass the CLI arguments to `$as_me.lineno'.
12140 2001-09-25 Akim Demaille <akim@epita.fr>
12142 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
12143 Be sure the close and reopen the LOG fd before and after using tee
12145 <at_tests_pattern>: Adjust to the new format of at_help_all.
12147 2001-09-23 Akim Demaille <akim@epita.fr>
12149 * bin/autom4te.in (parse_args): There can be several invocations
12152 2001-09-23 Akim Demaille <akim@epita.fr>
12154 * doc/autoconf.texi (Top): Wrap in @ifnottex.
12156 2001-09-23 Akim Demaille <akim@epita.fr>
12158 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
12159 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
12160 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
12161 builddir, buildpath, top_builddir, and top_buildpath.
12162 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
12163 the current directory.
12164 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
12165 variables *before* changing the current directory.
12166 Skip nonexistent dirs.
12167 * doc/autoconf.texi (Preset Output Variables): Document these
12170 * lib/autotest/general.m4: Do not reset AT_victims.
12171 Don't compute at_srcdir nor at_top_srcdir.
12173 * tests/tools.at: Hence use top_srcdir.
12175 * tests/Makefile.am, tests/autoconf, tests/autoheader,
12176 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
12178 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
12179 * tests/wrapsh.in, tests/autoupdate.in: New.
12180 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
12181 * configure.ac: Build the position independent wrappers.
12183 * man/Makefile.am: Now that test wrappers are position
12184 independent, use them and drop dark envvar magic.
12186 2001-09-23 Akim Demaille <akim@epita.fr>
12188 * doc/autoconf.texi (Common Shell Constructs): Rename as...
12189 (Programming in M4sh): this.
12190 Promote to @section.
12192 2001-09-23 Akim Demaille <akim@epita.fr>
12194 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
12195 Pass $at_debug_args to the rerun test suite.
12196 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
12197 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
12200 2001-09-23 Akim Demaille <akim@epita.fr>
12202 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
12204 2001-09-23 Akim Demaille <akim@epita.fr>
12206 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
12209 2001-09-23 Akim Demaille <akim@epita.fr>
12211 * lib/Autom4te/General.pm (&debug): New.
12212 * bin/autom4te.in ($language): Move to...
12213 (parse_args): here.
12214 Handle --language in languages.
12215 * lib/autom4te.in (Automake-selections, Autoheader-selections)
12216 (Autoscan-selections): New.
12217 (Autoconf): Adjust.
12219 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
12221 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
12222 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
12223 to match current versions from CVS Automake.
12225 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
12227 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
12230 2001-09-22 Akim Demaille <akim@epita.fr>
12232 * lib/autoconf/autotest.m4: Create `package.m4'.
12233 * tests/Makefile.am (package.m4): Remove.
12235 2001-09-22 Akim Demaille <akim@epita.fr>
12237 Rely on `$LINENO' when possible instead of `__oline__'.
12239 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
12240 `$LINENO' support replacement when not supported.
12241 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
12242 them explicitly to be sure they are not output before this section
12243 (via m4_require). Cosmetic only.
12244 * lib/autoconf/c.m4, lib/autoconf/general.m4,
12245 * lib/autoconf/programs.m4: Replace all the occurrences of
12246 `__oline__' with `$LINENO'.
12247 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
12249 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
12251 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
12252 character (u: -> ue) in a code comment.
12253 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
12256 2001-09-21 Akim Demaille <akim@epita.fr>
12258 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
12259 Suggested by Jim Meyering.
12261 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12263 * lib/autoconf/programs.m4: Use extensions listed in
12264 $ac_executable_extensions when looking for programs.
12266 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12268 * lib/autoconf/general.m4: Fix a small Englisho.
12269 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
12270 setting up ac_dir_suffix and ac_top_builddir.
12271 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
12273 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12275 * doc/autoconf.texi (File System Conventions): Clarify the use of
12277 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
12278 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
12279 be used instead of ':'.
12280 * lib/autotest/general.m4: Replace occurrences of ':' in
12281 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
12283 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12285 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
12286 arguments. Fixed a typo.
12288 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12290 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
12291 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
12293 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12295 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
12296 * bin/autoupdate.in: Ditto.
12297 * bin/autoheader.in: Reworded a few comments.
12298 * bin/autoconf.in: Reworded help text for a few options.
12299 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
12300 * bin/autoscan.in, bin/autoupdate.in: Ditto.
12302 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12304 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
12305 already have $file). Set output files to binary mode (helps avoid
12306 CR issues on DOSish systems).
12308 2001-09-19 Akim Demaille <akim@epita.fr>
12310 * lib/autotest/general.m4: Englishoes.
12311 From Tim Van Holder and Alexey Mahotkin.
12313 2001-09-18 Paul Eggert <eggert@twinsun.com>
12315 * doc/autoconf.texi (Common Shell Constructs): New node,
12316 documenting AS_DIRNAME.
12317 (Limitations of Usual Tools): Refer to it when discussing dirname.
12318 Also, update discussion of POSIX standard to reflect latest draft.
12320 * lib/autoconf/c.m4:
12321 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
12323 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12324 Do not pass a first argument with leading '-'
12325 to expr, by parenthesizing initial integers that might be negative.
12327 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
12328 now merely checks whether it is an error to pass an argument
12331 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
12332 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
12333 whether it is a (compile-time) error to pass an argument to
12334 getpgrp. This simpler test supports the revised documentation,
12335 and is all that AC_FUNC_GETPGRP's users really need.
12337 2001-09-18 Akim Demaille <akim@epita.fr>
12339 * doc/autoconf.texi (Limitations of Make) <$<>: New.
12341 2001-09-18 Akim Demaille <akim@epita.fr>
12343 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
12345 * lib/autotest/general.m4 (AT_INIT): Adjust.
12347 2001-09-18 Paul Wagland <paul@wagland.net>
12349 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
12351 Add test for AS_BASENAME.
12352 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
12353 added test. It now correctly handles /1/2/3/, returning '3' not ''.
12354 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
12355 * tests/base.at: Fixed the expected responses. The old ones were
12357 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
12358 the documentation claims it should (and how it behaved in 2.13).
12360 2001-09-18 Akim Demaille <akim@epita.fr>
12362 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
12363 the AC_CONFIG_COMMANDS invocation.
12364 This also solves the name clash problems.
12365 Don't set the package's ID.
12366 * lib/m4sugar/Makefile.am (version.m4): Revamp.
12367 No longer to be shipped.
12368 (version.in): Remove.
12369 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
12370 * lib/autoconf/status.m4: Adjust.
12371 Use `m4_PACKAGE_STRING'.
12372 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
12373 the only optional argument is the name of the test suite.
12374 Expect `package.m4' to define the package signature.
12375 * lib/autom4te.in (Autotest): Add `package.m4?'.
12376 * tests/Makefile.am (package.m4): New.
12377 * tests/suite.at: ifnames is a victim.
12379 2001-09-18 Akim Demaille <akim@epita.fr>
12381 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
12382 AC_LIBSOURCE, AC_CONFIG_FILES.
12383 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
12384 program version string doesn't match the package's.
12385 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
12388 2001-09-17 Paul Eggert <eggert@twinsun.com>
12390 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12391 Allow expression to return any value that can fit into unsigned long
12392 (not int, as before). Check for output errors.
12394 2001-09-17 Bruno Haible <haible@ilog.fr>
12396 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12397 Always include <stdio.h> and <stdlib.h>. Evaluate
12398 the expression in an extra function before these includes. Call
12399 fprintf "%d" only after ensuring the argument is of type 'int'.
12400 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
12402 2001-09-17 Paul Eggert <eggert@twinsun.com>
12404 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
12405 or CFLAGS=-O5. In that case, the linker has a relaxed view of
12406 fatal errors, and AC_CHECK_LIB causes it to include libraries even
12407 when they don't exist.
12409 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
12410 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
12413 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
12414 version with the version used by fileutils 4.1, except use
12415 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
12418 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
12420 2001-09-13 Akim Demaille <akim@epita.fr>
12422 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
12424 Reported by Gerrit P. Haase.
12426 2001-09-13 Akim Demaille <akim@epita.fr>
12428 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
12429 m4_defn'ing is valid.
12431 2001-09-13 Akim Demaille <akim@epita.fr>
12433 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
12434 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
12437 2001-09-13 Akim Demaille <akim@epita.fr>
12439 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
12441 (m4_re_escape): New.
12442 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
12443 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
12444 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
12446 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
12447 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
12448 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
12449 AT_tests_all for consistency.
12451 (AT_VICTIMS): Similar to AT_KEYWORDS.
12452 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
12454 2001-09-13 Akim Demaille <akim@epita.fr>
12456 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
12458 2001-09-13 Akim Demaille <akim@epita.fr>
12460 * lib/autotest/general.m4 (AT_INIT): Create and remove
12461 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
12462 test suites can cohabit.
12464 2001-09-13 Akim Demaille <akim@epita.fr>
12466 * tests/mktests.sh: Don't output banners for empty test files.
12468 2001-09-13 Akim Demaille <akim@epita.fr>
12470 Test suites can be run independently of configure.
12472 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
12473 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
12474 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
12476 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
12478 * lib/autotest/general.m4: Use ECHO_*.
12480 2001-09-13 Akim Demaille <akim@epita.fr>
12482 * bin/ifnames.in: Rewrite in Perl.
12483 * configure.ac: Don't look for AWK.
12484 * tests/tools.at (AWK portability): Remove.
12485 (Syntax of the shell scripts): Don't check ifnames.
12486 (AT_CHECK_PERL_SYNTAX): New.
12487 (Syntax of the Perl scripts): Check ifnames.
12488 * tests/ifnames: New.
12490 2001-09-13 Akim Demaille <akim@epita.fr>
12492 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
12494 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
12495 Remove all the other keywords.
12497 2001-09-10 Akim Demaille <akim@epita.fr>
12499 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
12500 SETUP: no longer used.
12501 Support -k, --keywords.
12502 <at_help>: Be `no', `short', or `long'.
12503 <at_help_all>: New variable.
12504 (AT_KEYWORDS): New.
12505 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
12506 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
12507 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
12508 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
12509 No longer fill the HELP diversion.
12510 (AT_CLEANUP): Use them.
12511 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
12512 (m4_list_append): Remove.
12514 Spread a few keywords in the Autoconf test suite.
12516 2001-09-10 Akim Demaille <akim@epita.fr>
12518 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
12519 PATH_SEPARATOR, let M4sh compute it.
12520 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
12521 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
12523 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
12524 Simplify when the path is not a literal.
12525 (AS_UNAME): Use it to report PATH.
12526 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
12527 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
12528 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
12529 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
12530 normalize the path, and to look for victims.
12531 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
12532 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
12534 2001-09-07 Akim Demaille <akim@epita.fr>
12536 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
12537 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
12538 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
12539 related variables into `at_package_*'.
12540 * lib/autotest/general.m4 (AT_VICTIMS): New.
12541 (AT_INIT): Adjust for stand-alone/embedded test suites.
12542 (AS_MESSAGE_LOG_FD): Define and use it.
12543 * tests/suite.at (AT_VICTIMS): Use it.
12544 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
12547 2001-09-07 Akim Demaille <akim@epita.fr>
12549 Move toward possibly stand-alone test suites.
12551 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
12552 in addition, it introduces useless differences in logs.
12553 (AT_INIT): Let atconfig and atlocal be both optional.
12554 Adjust PATH computation.
12555 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
12557 2001-09-07 Akim Demaille <akim@epita.fr>
12559 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
12560 m4sugar/version.m4.
12562 2001-09-05 Akim Demaille <akim@epita.fr>
12564 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
12565 to avoid GCC warnings.
12568 2001-09-05 Akim Demaille <akim@epita.fr>
12570 * bin/autom4te.in: --language is -l, not -s.
12572 2001-09-05 Akim Demaille <akim@epita.fr>
12574 Be ready to handle filenames as stupid as `dnl.at', for if even
12575 the maintainer is dumb enough to do that...
12577 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
12578 excellence in M4 quotation: consider `__file__' is active.
12580 And BTW, when invoking m4, pass the --include in the right order:
12583 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
12586 2001-09-05 Akim Demaille <akim@epita.fr>
12588 * lib/Autom4te/XFile.pm: New lib file.
12589 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
12590 * bin/autoheader.in: Use it.
12592 2001-09-05 Akim Demaille <akim@epita.fr>
12594 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
12597 2001-09-05 Akim Demaille <akim@epita.fr>
12599 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
12600 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
12602 * bin/autoscan.in: Use `getopt' and `find_files' etc.
12603 Add -I, --include support.
12604 * doc/autoconf.texi (autoscan Invocation): Adjust.
12606 2001-09-05 Akim Demaille <akim@epita.fr>
12608 CVS GNU M4 doesn't like `undefine(undefined)'.
12610 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
12611 New, extracted from main.
12612 Use IO::File wherever possible.
12613 (input.m4): Be constant, use -I instead of hard coding $tmp.
12614 Therefore be a quoted heredoc.
12615 Don't invoke `_au_disable', since ac was not loaded, but just
12618 2001-08-31 Akim Demaille <akim@epita.fr>
12622 2001-08-31 Akim Demaille <akim@epita.fr>
12624 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
12626 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
12628 2001-08-31 Akim Demaille <akim@epita.fr>
12630 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
12631 serious problems handling heredocs in heredocs.
12632 Reported by Nicolas Joly.
12634 2001-08-31 Akim Demaille <akim@epita.fr>
12636 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
12637 (Making testsuite Scripts): Update.
12639 2001-08-31 Akim Demaille <akim@epita.fr>
12641 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
12643 2001-08-31 Akim Demaille <akim@epita.fr>
12645 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
12646 (testsuite Scripts): There is no such thing as `atconfig.in'.
12647 And actually one diagram is missing: test suite runtime.
12649 2001-08-31 Akim Demaille <akim@epita.fr>
12651 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
12654 2001-08-31 Akim Demaille <akim@epita.fr>
12656 * bin/autoupdate.in (@include): `installcheck' revealed the path
12657 to m4sugar was lacking!
12659 2001-08-31 Akim Demaille <akim@epita.fr>
12661 * man/Makefile.am (.x.1): We really have to pass
12662 autom4te_perllibdir.
12664 2001-08-31 Akim Demaille <akim@epita.fr>
12666 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
12667 debug scripts, in particular passing explicitly listed tests to
12670 2001-08-31 Akim Demaille <akim@epita.fr>
12672 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
12673 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
12674 Use directly autom4te, not autoconf.
12675 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
12677 2001-08-31 Akim Demaille <akim@epita.fr>
12679 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
12680 * bin/autoheader.in (%symbol): Strip arguments of macros.
12682 2001-08-31 Akim Demaille <akim@epita.fr>
12684 * doc/autoconf.texi: Catch up -I, --include changes.
12686 2001-08-31 Akim Demaille <akim@epita.fr>
12688 * bin/autom4te.in (&parse_args): Die on unknown languages.
12689 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
12691 Promote --include over --macrodir and other obsolete options.
12693 2001-08-31 Akim Demaille <akim@epita.fr>
12695 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
12696 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
12697 * bin/autom4te.in ($autoconf): Pass --force.
12698 `print $out' doesn't print `$_' but `$out'.
12699 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
12700 (autoheader): Pass --force since the test suite goes too fast for
12702 Adjust to the new autoheader messages.
12704 2001-08-31 Akim Demaille <akim@epita.fr>
12706 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
12707 Check the completeness of the #template.
12708 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
12709 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
12712 2001-08-31 Akim Demaille <akim@epita.fr>
12714 * lib/Autom4te/General.pm (&find_file, &update_file): New.
12715 * bin/autoupdate.in, bin/autoheader.in: Adjust.
12716 Drop AC_MACRODIR dead for real.
12717 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
12718 `autoheader: `config.hin' is created'.
12719 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
12721 2001-08-31 Akim Demaille <akim@epita.fr>
12723 * bin/autoheader.in: Rewrite in Perl.
12724 * tests/autoheader: Adjust.
12726 2001-08-31 Akim Demaille <akim@epita.fr>
12728 * bin/autoconf.in (--include, -I): New option.
12729 Map --localdir, --autoconf-dir onto it.
12730 Forward autom4te's options instead of interpreting them.
12731 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
12732 There is no such envvar since the inception of autom4te.cfg.
12733 * bin/autom4te.in (&parse_args): Uniquify `@include'.
12734 * bin/autoupdate.in: Adjust, and perform more control.
12735 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
12736 * tests/autoconf: Dittowise.
12738 2001-08-31 Akim Demaille <akim@epita.fr>
12740 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
12741 * bin/autom4te.in (&find_file): Support `FILE?' standing for
12743 Use -e, not -f, since /dev/null for instance is OK.
12744 (&parse_args): Adjust.
12745 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
12747 2001-08-31 Akim Demaille <akim@epita.fr>
12749 * configure.ac: Also find tested executables in bin.
12750 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
12751 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
12752 installed peer executables, only PATH is allowed to resolve it.
12753 Pass `autoconf_dir' via options, not via invisible envvars.
12754 * lib/Autom4te/General.pm (&find_peer): Remove.
12755 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
12756 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
12757 * man/Makefile.am: Let help2man rely on PATH instead of trying to
12758 find the executables for it.
12759 * tests/Makefile.am: Major cleanup. Too lazy to document...
12760 * tests/atlocal.in: Remove all the obscure envvar manipulations.
12762 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
12763 indeed related to running the test suite, while passing
12764 --autoconf-dir and others is related to running non installed
12765 Autoconf executables. So don't do that, leave it to...
12766 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
12767 * tests/autoscan: New.
12768 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
12769 refer to library files: rely on --language.
12771 2001-08-29 Akim Demaille <akim@epita.fr>
12773 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
12774 s/--set/--language/.
12776 2001-08-29 Akim Demaille <akim@epita.fr>
12778 * doc/autoconf.texi: Strip the @nodes.
12779 Suggested by Paul Eggert.
12780 (Initializing configure): Typo.
12782 2001-08-29 Akim Demaille <akim@epita.fr>
12784 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
12785 Suggested by Paul Eggert.
12787 2001-08-29 Akim Demaille <akim@epita.fr>
12789 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
12790 download in a tmp dir.
12792 2001-08-29 Akim Demaille <akim@epita.fr>
12794 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
12795 case insensitive OSes out there :(
12796 From Tim Van Holder.
12798 2001-08-29 Akim Demaille <akim@epita.fr>
12800 * lib/autom4te.in: New.
12801 * lib/Makefile.am (edit, autom4te.cfg): New.
12802 * bin/autom4te.in (BEGIN): Simplify.
12803 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
12804 (&load_configuration): New. Use it.
12805 (&parse_args): Support --mode, --set, and --melt.
12806 * bin/autoconf.in: Simplify and adjust.
12807 * tests/Makefile.am (AUTOMAKE): Use --set.
12808 * tests/atlocal.in: Adjust.
12809 * BUGS: distcheck and check are weak.
12811 2001-08-29 Akim Demaille <akim@epita.fr>
12813 * lib/autotest/general.m4: Use
12814 foo=`(command) 2>/dev/null`
12816 foo=`command` 2>/dev/null
12817 (at-devnull): Rename as...
12818 (AT-devnull): this.
12819 (--clean): Remove AT-* files too.
12820 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
12821 Reported by Nicolas Joly.
12823 2001-08-28 Akim Demaille <akim@epita.fr>
12825 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
12826 quotes inside single quotes.
12827 Reported by Nicolas Joly.
12829 2001-08-28 Kevin Ryde <user42@zip.com.au>
12831 * doc/autoconf.texi (Function Portability): Mention C right shifts.
12833 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
12835 * lib/autotest/general.m4: Reword some messages.
12836 (AT_INIT): Check for the `times' builtin before using it.
12837 Support test ranges as arguments to the testsuite.
12838 Have -e imply -d as the help text suggested.
12840 2001-08-27 Akim Demaille <akim@epita.fr>
12842 * Makefile.maint: Formatting changes.
12843 (do-po-update, po-update, cvs-update, update): New targets.
12846 2001-08-27 Akim Demaille <akim@epita.fr>
12848 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
12849 <at_cmd_line>: New.
12850 Pass it to debug-*.sh scripts.
12851 <AUTOTEST_PATH>: May contain absolute dir names.
12853 2001-08-27 Akim Demaille <akim@epita.fr>
12855 * lib/autotest/general.m4 (AT_INIT): Log the command line.
12856 Support `VAR=VAL' as arguments.
12857 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
12858 may be set via the command line.
12860 2001-08-27 Akim Demaille <akim@epita.fr>
12862 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
12863 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
12864 first the build dirs, then the src dirs.
12865 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
12867 2001-08-27 Akim Demaille <akim@epita.fr>
12869 * lib/autotest/general.m4 (AT_INIT): Output the definition of
12870 at_data_files earlier.
12871 (--clean, -c): New option.
12872 * tests/Makefile.am: Use this option.
12874 2001-08-27 Akim Demaille <akim@epita.fr>
12876 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
12877 `ac_top_builddir' to mimic Automake's vocabulary, which much more
12880 * doc/autoconf.texi (Configuration Actions): Document the vars
12881 available in commands.
12882 Emphasize the risks of collisions in init-cmds.
12884 2001-08-27 Akim Demaille <akim@epita.fr>
12886 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
12887 (Initializing configure): this new node.
12889 2001-08-27 Akim Demaille <akim@epita.fr>
12891 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
12893 2001-08-27 Akim Demaille <akim@epita.fr>
12895 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
12896 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
12898 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
12900 2001-08-27 Akim Demaille <akim@epita.fr>
12902 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
12904 * lib/autoconf/autoheader.m4: this new file.
12905 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
12906 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
12908 * lib/autoconf/autoupdate.m4: this new file.
12910 2001-08-27 Akim Demaille <akim@epita.fr>
12912 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
12913 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
12914 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
12916 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
12917 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
12919 2001-08-27 Akim Demaille <akim@epita.fr>
12921 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
12922 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
12923 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
12924 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
12925 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
12926 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
12927 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
12928 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
12929 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
12930 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
12931 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
12932 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
12933 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
12934 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
12935 (_AC_OUTPUT_SUBDIRS): Move to...
12936 * lib/autoconf/status.m4: this new file.
12937 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
12938 * tests/Makefile.am, tests/suite.at: Adjust.
12940 2001-08-27 Akim Demaille <akim@epita.fr>
12944 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
12945 (AMTAR): Help automake define it.
12946 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
12947 needed, 1.5 can have a macro and a target with the same name.
12948 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
12949 * m4/strip.m4: New.
12950 * m4/init.m4, m4/sanity.m4: Update.
12951 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
12952 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
12953 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
12954 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
12956 2001-08-27 Akim Demaille <akim@epita.fr>
12958 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
12960 * lib/autoconf/version.in: Remove.
12961 * lib/m4sugar/version.in: New.
12962 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
12964 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
12965 the name of the directory they're in, instead of the filename,
12966 since version.m4 is now in m4sugar, but m4_acversion must not be
12967 classified as an Autoconf macro.
12968 ($input_m4): Don't qualify the path to m4sugar.
12969 Rather, pass autoconf_dir to m4.
12970 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
12971 * tests/suite.at: Require 2.52c.
12973 2001-08-27 Akim Demaille <akim@epita.fr>
12975 testsuite.log should include config.log.
12977 * lib/autotest/autotest.m4: New.
12978 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
12979 * tests/suite.at : Adjust.
12980 (AT_INIT): Log config.log.
12981 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
12982 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
12983 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
12984 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
12985 of config.log on traps.
12986 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
12987 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
12988 for config.status'.
12989 Open the log as soon as possible.
12990 Use the same log introduction as configure's.
12992 2001-08-22 Paul Eggert <eggert@twinsun.com>
12994 * doc/autoconf.texi (Indices): New node.
12995 Move indices out of the top level menu and into this submenu.
12997 2001-08-22 Akim Demaille <akim@epita.fr>
12999 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
13001 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
13003 2001-08-22 Akim Demaille <akim@epita.fr>
13005 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
13006 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
13007 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
13008 * lib/autoconf/programs.m4: here.
13009 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
13010 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
13011 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
13012 * lib/autoconf/programs.m4: here.
13013 (_AC_DECL_YYTEXT): Rename as...
13014 (_AC_PROG_LEX_YYTEXT_DECL): this.
13015 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
13016 * tests/Makefile.am, tests/suite.am: Adjust.
13018 2001-08-22 Akim Demaille <akim@epita.fr>
13020 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
13022 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
13024 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
13025 * lib/autoconf/functions.m4: here.
13026 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
13027 (AH_CHECK_LIB): Move to...
13028 * lib/autoconf/libs: this new file.
13029 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
13030 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
13031 * lib/autoconf/libs.m4: here.
13032 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
13034 2001-08-22 Akim Demaille <akim@epita.fr>
13036 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
13037 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
13038 (AC_SITE_LOAD): Better logging of config.site.
13040 2001-08-20 Akim Demaille <akim@epita.fr>
13042 * configure.ac (AT_CONFIG): Fix the path.
13043 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
13046 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
13048 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
13049 program with AC_LANG_PROGRAM before feeding it to
13050 AC_COMPILE_IFELSE. Cleanup grep usage.
13052 2001-08-20 Akim Demaille <akim@epita.fr>
13054 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
13055 * NEWS, README, README-alpha, TODO, tests/README: This package is
13056 `Autoconf', not `autoconf' (the executable).
13058 2001-08-20 Akim Demaille <akim@epita.fr>
13060 Info readers seem to need `Index' in the index node title :(
13062 * doc/autoconf.texi: Reverse the 2001-08-15 change which
13063 simplified index node names.
13065 2001-08-20 Akim Demaille <akim@epita.fr>
13067 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
13068 arguments are not literals.
13069 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
13070 Specify the output variables, and macros defined.
13072 2001-08-20 Akim Demaille <akim@epita.fr>
13074 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
13075 (Examining Syntax) <AC_TRY_COMPILE>
13076 (Examining Libraries) <AC_TRY_LINK>
13077 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
13079 Reported by Werner Lemberg.
13081 2001-08-20 Akim Demaille <akim@epita.fr>
13083 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
13084 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
13085 Load atlocal late enough to dump it in the log.
13086 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
13088 2001-08-20 Akim Demaille <akim@epita.fr>
13090 * tests/torture.at (Configuring subdirectories): New test.
13091 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
13093 * m4/atconfig.m4: Be sure the let $[0] be expandable.
13094 (top_srcdir): Fix its computation.
13096 2001-08-20 Akim Demaille <akim@epita.fr>
13098 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
13099 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
13101 Create `atconfig' automagically.
13102 Configure atlocal.in if present.
13103 * tests/atconfig.in: Remove.
13104 * tests/atlocal.in: New.
13105 * tests/Makefile.am: Adjust.
13107 2001-08-20 Akim Demaille <akim@epita.fr>
13109 Huh!?!?! There are still some user EOF tags used, which prevents
13110 their use in AC_CONFIG_COMMANDS for instance...
13112 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
13113 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
13114 `_CSEOF', or `_ATEOF', as appropriate.
13115 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
13116 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
13118 2001-08-20 Akim Demaille <akim@epita.fr>
13120 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
13121 * tests/semantics.at, tests/tools.at, tests/torture.at:
13122 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
13124 2001-08-20 Akim Demaille <akim@epita.fr>
13126 Autotest invokes M4sh's initialization.
13128 * lib/autotest/general.m4: Adjust the diversion names.
13129 (AT_INIT): Run AS_INIT.
13130 Use the BINSH diversion to invoke /bin/sh.
13131 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
13132 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
13134 2001-08-20 Akim Demaille <akim@epita.fr>
13136 Let M4sh have its own diversions.
13138 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
13139 (_m4_divert(NOTICE)): Rename as...
13140 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
13141 (_m4_divert(HEADER-COMMENT)): these.
13142 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
13143 (_m4_divert(NOTICE)): New, for Libtool.
13144 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
13145 long ago with `_m4_divert(GROW)'.
13146 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
13148 2001-08-20 Akim Demaille <akim@epita.fr>
13150 * tests/base.at, tests/compile.at, tests/foreign.at,
13151 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
13152 * tests/semantics.at, tests/suite.at, tests/tools.at,
13153 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
13155 2001-08-20 Akim Demaille <akim@epita.fr>
13157 * bin/autom4te.in (handle_output): Handle @__@.
13159 2001-08-20 Akim Demaille <akim@epita.fr>
13161 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
13162 * lib/autotest/general.m4: Adjust the license.
13164 2001-08-17 Paul Eggert <eggert@twinsun.com>
13166 * doc/autoconf.texi (Function Portability): Mention snprintf,
13167 following up on a suggestion by Kevin Ryde.
13169 2001-08-17 Akim Demaille <akim@epita.fr>
13171 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
13172 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
13174 2001-08-17 Akim Demaille <akim@epita.fr>
13176 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
13177 `$0.log' as for projects where testsuite is in src, we'd have
13178 testsuite.log created in src.
13180 2001-08-17 Akim Demaille <akim@epita.fr>
13182 * bin/autom4te.in (&parse_args): Recognize --normalize.
13184 2001-08-17 Akim Demaille <akim@epita.fr>
13186 Start implementing the AC_CHECK_HEADER transition scheme.
13188 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
13189 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
13190 (AC_CHECK_HEADER): Use them.
13192 2001-08-17 Akim Demaille <akim@epita.fr>
13194 * doc/autoconf.texi: Work around Texinfo buglets.
13195 (Transformation Rules): One example is enough, users are expected
13196 to have their brains on. And BTW, use DESTDIR.
13197 (dvar): New macro. Use it.
13199 2001-08-17 Akim Demaille <akim@epita.fr>
13201 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
13202 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
13203 looking for ChangeLogs.
13205 2001-08-17 Akim Demaille <akim@epita.fr>
13207 * bin/autom4te.in: --normalize is a new option.
13208 * bin/autoconf.in: Use it.
13210 2001-08-17 Akim Demaille <akim@epita.fr>
13212 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
13213 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
13215 2001-08-16 Paul Eggert <eggert@twinsun.com>
13217 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
13220 2001-08-15 Akim Demaille <akim@epita.fr>
13222 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
13225 2001-08-15 Akim Demaille <akim@epita.fr>
13227 * doc/autoconf.texi (pr): New index.
13228 (prindex, findex): Use, merge, and output them.
13229 (Environment Variable Index, Output Variable Index)
13230 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
13231 (Autotest Macro Index): Rename as...
13232 (Environment Variables, Output Variables,Preprocessor Symbols)
13233 (Autoconf Macros, M4 Macros, Autotest Macros): these.
13234 * doc/install.texi: Use @command.
13235 (Environment Variables): Rename as...
13236 (Defining Variables): this.
13238 2001-08-15 Akim Demaille <akim@epita.fr>
13240 * doc/autoconf.texi (Function Portability): sprintf's return
13244 2001-08-15 Akim Demaille <akim@epita.fr>
13246 * Makefile.maint (CVS): New.
13247 (local-check): Run changelog-check. last.
13248 (alpha): Don't depend upon local-check, since...
13249 (cvs-dist): depends upon it.
13251 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
13253 * tests/Makefile.am: Use a clean-local rule to remove
13254 autom4te.cache (it's a directory, not a file.
13255 * Makefile.am: Ditto (but maintainer-clean-local).
13257 2001-08-15 Akim Demaille <akim@epita.fr>
13259 * bin/autom4te.in (@m4_warning): New.
13260 (&handle_m4): Use it.
13261 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
13262 warnings are issued at each run.
13263 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
13264 is in the src tree.
13266 2001-08-15 Akim Demaille <akim@epita.fr>
13268 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
13269 don't waste time running `autoupdate --version' works.
13270 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
13272 2001-08-13 Akim Demaille <akim@epita.fr>
13274 * doc/autoconf.texi (ma): Rename this index as...
13277 2001-08-13 Akim Demaille <akim@epita.fr>
13279 * Makefile.am: Remove dead code and dead comments.
13280 (pdf, html): New targets.
13281 * doc/autoconf.texi (Using Autotest): New chapter.
13282 * doc/Makefile.am (pdf): New targets.
13283 (CLEANFILES): Adjust.
13285 2001-08-13 Akim Demaille <akim@epita.fr>
13287 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
13288 duration of the test suite.
13290 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
13292 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
13293 endianness for comparison instead of relying on AT_CHECK_ENV.
13295 2001-08-11 Paul Eggert <eggert@twinsun.com>
13297 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
13298 to the INSTALL file.
13300 2001-08-11 Paul Eggert <eggert@twinsun.com>
13302 * NEWS: The autoconf manual now is distributed under the terms
13303 of the GNU Free Documentation License.
13305 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
13306 Add an appendix "Copying This Manual" for the FDL.
13308 * doc/fdl.texi: New file, from
13309 <http://www.gnu.org/licenses/fdl.texi>.
13311 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
13313 2001-08-10 Paul Eggert <eggert@twinsun.com>
13315 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
13316 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
13317 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
13318 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
13319 m4/sanity.m4, tests/README, tests/aclocal.m4,
13320 tests/atspecific.m4, tests/base.at, tests/compile.at,
13321 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
13322 tests/semantics.at, tests/suite.at, tests/tools.at,
13323 tests/torture.at: Add copyright notice.
13325 * tests/mktests.sh: Update year in copyright notice.
13327 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
13329 * tests/semantics.at (AC_C_BIGENDIAN): New test.
13331 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
13333 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
13334 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
13335 * doc/autoconf.texi (C Compiler Characteristics): Update
13336 documentation for AC_C_BIGENDIAN.
13338 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
13340 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
13341 magic values from an object file when cross-compiling.
13342 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
13344 2001-08-10 Akim Demaille <akim@epita.fr>
13346 * bin/autom4te.in (&handle_output): Don't use `grep' with side
13348 Suggested by Russ Allbery.
13350 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
13352 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
13353 current $prefix to the sub-configures.
13355 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
13357 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
13358 extension (needed on BeOS). Reported by Guido van Rossum.
13360 2001-08-09 Akim Demaille <akim@epita.fr>
13362 * bin/autom4te.in ($icache): Load it only if older than autom4te.
13364 2001-08-07 Akim Demaille <akim@epita.fr>
13366 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
13368 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
13369 No need to remove the files before and after the each test, before
13370 each test and at the end of the suite is enough.
13371 Display only the children `times', not the shell's.
13372 If the test failed or was skipped, at-times is not available.
13374 2001-08-07 Akim Demaille <akim@epita.fr>
13376 Always produce testsuite.log, including when there are no
13377 failures. This helps getting information on skipped tests, and
13378 duration of the tests. Err, implement the latter btw.
13380 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
13381 Dump information on the first run of each test.
13382 (AT_CLEANUP): Create `at-times' containing the duration of the
13385 2001-08-07 Akim Demaille <akim@epita.fr>
13387 The use of `dumpstat' revealed that `len' was used although it
13388 should not. m4_text_wrap was using it, but in the Autoconf world
13389 where it is legal. Hence (i) test M4sh in its own world, not
13390 Autoconf's, and (ii), ahem, fix the bug :)
13392 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
13393 does not like `' instead of [].
13394 (AT_INIT): Forbid `^_?AT_'.
13395 And don't output such tokens.
13396 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
13397 `script.as', and `autom4te.cache'.
13398 Remove `empty' and `macro' which are no longer used.
13399 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
13400 * tests/m4sugar.at: Use it.
13401 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
13403 2001-08-07 Akim Demaille <akim@epita.fr>
13405 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
13407 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
13409 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
13411 2001-08-04 Akim Demaille <akim@epita.fr>
13413 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
13414 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
13416 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
13417 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
13418 (AC_F77_MAIN): Likewise.
13420 2001-08-04 Akim Demaille <akim@epita.fr>
13422 Don't rely on M4sugar outputting the patterns in files, since we
13423 might process the output _without_ running m4, hence without these
13426 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
13427 * bin/autom4te.in (@Request::includes): Remove, unused.
13428 (@Request::source): Rename as...
13429 (@Request::input): this.
13430 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
13431 (&handle_output): Fetch the patterns from the traces.
13432 `$forbidden' and `$allowed' are constant: use m//o.
13433 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
13434 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
13436 2001-08-04 Akim Demaille <akim@epita.fr>
13438 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
13439 autoconf', i.e., in addition to caching traces, cache the output.
13441 * bin/autom4te.in (Request::cache): Rename as...
13442 (Request::id): this.
13443 ($cache, $icache, $tcache, $ocache): New.
13444 (&handle_m4): Save M4 output in the cache instead of $tmp.
13445 (&handle_output): Adjust.
13446 (&up_to_date_p): Check that the output cache is up to date too.
13447 (top level): Run `&handle_m4' iff force or the cache is invalid.
13448 Run `&handle_output' if the output cache is more recent.
13450 2001-08-04 Akim Demaille <akim@epita.fr>
13452 * bin/autom4te.in ($force): New.
13453 (&parse_args, &print_usage): -f, --force is a new option.
13454 (&handle_output): CPP directives might have spaces after `#'.
13455 (&parse_args): The first file only can be frozen.
13457 2001-08-04 Akim Demaille <akim@epita.fr>
13459 Don't let autom4te compute the `include' traces several times:
13460 first check that the trace cache file is up to date, and then
13461 compare its timestamp with that of the output.
13463 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
13464 the preamble. Don't require 5.005 as Autom4te::General does it,
13465 and better yet (use `use', not `require'!).
13466 * lib/Autom4te/Struct.pm: Rename the last occurrences of
13467 Class::Struct as Autom4te::Struct.
13468 * lib/Autom4te/General.pm (File::stat): Use it.
13469 (&mtime): New, export it.
13470 * bin/autom4te.in: Use it.
13471 Declare `$req' is invalid if it is outdated.
13472 Don't declare it valid before saving it if something went wrong.
13474 2001-08-04 Akim Demaille <akim@epita.fr>
13476 Autom4te shall not encode Autoconf data, and preselecting traces
13477 must be proposed to the users.
13479 * bin/autom4te.in (@required_trace): Remove.
13481 (&parse_args, &print_usage): -p, --preselect is a new option.
13482 (&up_to_date_p): Adjust.
13483 * bin/autoconf.in: Preselect some Autoconf macros.
13485 2001-08-04 Akim Demaille <akim@epita.fr>
13487 * tests/tools.at (autoconf --trace: user macros): Check traces on
13488 macros invoked without arguments, and macros invoked with multiple
13491 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
13493 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
13496 2001-08-03 Akim Demaille <akim@epita.fr>
13498 * bin/autoconf.in ($@): Work around the usual sh bug.
13501 2001-08-03 Akim Demaille <akim@epita.fr>
13503 Clean up the handling of the M4 builtins tracing exception.
13505 * bin/autom4te.in (Request::request): Don't complete M4 builtins
13507 (@m4_builtins): Rename as...
13508 (@m4_builtin): this.
13509 (%m4_builtin_alternate_name): New.
13510 (&parse_args): Complete the trace requests with alternate names.
13511 (&handle_traces): Hence no longer do it here.
13512 (&trace_requests): Remove, unused.
13514 2001-08-03 Akim Demaille <akim@epita.fr>
13516 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
13517 m4_if, and m4_wrap.
13519 2001-08-03 Akim Demaille <akim@epita.fr>
13521 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
13522 (m4_divert_pop): Dump the whole diversion stack when a diversion
13524 * bin/autom4te.in (&handle_output): Remember of the first
13525 occurrence of a possibly undefined macro, not the last.
13526 Complain about the possibly undefined macros in the same order as
13527 the appear in the output.
13528 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
13529 * tests/tools.at (autoconf: forbidden tokens, basic)
13530 (autoconf: forbidden tokens, exceptions): No longer sort
13531 autoconf's stderr, as it is now deterministic.
13532 Check that `dnl' is caught.
13534 2001-08-01 Akim Demaille <akim@epita.fr>
13536 * configure.ac: Bump to 2.52c.
13538 2001-08-01 Akim Demaille <akim@epita.fr>
13542 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
13544 2001-08-01 Akim Demaille <akim@epita.fr>
13548 2001-08-01 Akim Demaille <akim@epita.fr>
13550 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
13553 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
13554 `END', as `Autom4te::General::END' will be triggered.
13555 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
13556 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
13557 system to run `mv', `rm', and `cmp'.
13559 2001-08-01 Akim Demaille <akim@epita.fr>
13561 * lib/Autom4te/General.pm (&unique): New.
13562 * bin/autoscan.in (&output): Use it to issue trace requests once.
13564 2001-08-01 Akim Demaille <akim@epita.fr>
13566 * lib/Autom4te/General.pm: New.
13567 * bin/autom4te.in (Autom4te::General): Use it.
13568 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
13569 (&find_configure_ac, &find_slave): Remove.
13570 * bin/autoscan.in: Likewise.
13571 * bin/autoupdate.in: Likewise.
13573 2001-08-01 Akim Demaille <akim@epita.fr>
13575 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
13576 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
13577 * bin: here, new directory.
13578 * lib/Autoconf: Rename as...
13579 * lib/Autom4te: this, to please case insensitive junkie OSes.
13581 2001-08-01 Akim Demaille <akim@epita.fr>
13583 * autom4te.in ($m4): Handle the --nesting-limit.
13584 * autoconf.in (M4): Remove.
13586 2001-08-01 Akim Demaille <akim@epita.fr>
13588 * autoconf.in ($AWK): Remove, no longer used.
13589 * test/tools.at: Use AT_CHECK_AUTOCONF.
13590 (AWK portability): Remove, for autoconf no longer uses AWK.
13591 (Syntax of the Perl scripts): New.
13592 * configure.ac: autoconf no longer needs an AWK with a good
13594 Use a static test on AC_PACKAGE_VERSION.
13595 * autom4te.in (&up_to_date_p): Output depends on the arguments.
13596 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
13597 * tests/atconfig.in (PERL): New.
13599 2001-08-01 Akim Demaille <akim@epita.fr>
13601 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
13602 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
13603 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
13604 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
13605 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
13606 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
13607 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
13608 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
13609 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
13610 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
13611 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
13612 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
13613 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
13614 * lib/autoconf/c.m4: here, new file.
13616 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
13617 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
13618 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
13619 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
13620 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
13621 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
13622 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
13623 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
13624 (AC_F77_FUNC): Move to...
13625 * lib/autoconf/fortran.m4: here, new file.
13627 2001-08-01 Akim Demaille <akim@epita.fr>
13629 * acfunctions.m4: Rename as...
13630 * lib/autoconf/functions.m4: this.
13631 * acgeneral.m4: Rename as...
13632 * lib/autoconf/general.m4: this.
13633 * acheaders.m4: Rename as...
13634 * lib/autoconf/headers.m4: this.
13635 * aclang.m4: Rename as...
13636 * lib/autoconf/lang.m4: this.
13637 * acoldnames.m4: Rename as...
13638 * lib/autoconf/oldnames.m4: this.
13639 * acspecific.m4: Rename as...
13640 * lib/autoconf/specific.m4: this.
13641 * actypes.m4: Rename as...
13642 * lib/autoconf/types.m4: this.
13643 * autoconf.m4: Rename as...
13644 * lib/autoconf/autoconf.m4: this.
13646 * m4sugar.m4: Rename as...
13647 * lib/m4sugar/m4sugar.m4: this.
13648 * m4sh.m4: Rename as...
13649 * lib/m4sugar/m4sh.m4: this.
13651 * tests/atgeneral.m4: Rename as...
13652 * lib/autotest/general.m4: this.
13654 * acfunctions: Rename as...
13655 * lib/autoscan/functions: this.
13656 * acheaders: Rename as...
13657 * lib/autoscan/headers: this.
13658 * acidentifiers: Rename as...
13659 * lib/autoscan/identifiers: this.
13660 * aclibraries: Rename as...
13661 * lib/autoscan/libraries: this.
13662 * acmakevars: Rename as...
13663 * lib/autoscan/makevars: this.
13664 * acprograms: Rename as...
13665 * lib/autoscan/programs: this.
13667 2001-08-01 Akim Demaille <akim@epita.fr>
13669 * doc/autoconf.texi: Moving/deleting open files is not portable.
13670 Portability issues for `.' (source), and more information about sed.
13672 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
13674 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
13675 which has a special meaning and is not a reference to libibmil.a.
13676 Reported by Matteo Frigo.
13678 2001-07-25 Pavel Roskin <proski@gnu.org>
13680 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
13683 2001-07-25 Akim Demaille <akim@epita.fr>
13685 * autoconf.in: Try to define the variables before using them.
13686 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
13687 instead of `$perllibdir'.
13688 * tests/atconfig.in ($autom4te_perllibdir): Export it.
13690 2001-07-25 Akim Demaille <akim@epita.fr>
13692 * autoconf.in (ac_LF_and_DOT): Remove, unused.
13694 2001-07-24 Akim Demaille <akim@epita.fr>
13696 Let autoconf use autom4te for traces.
13698 * autoconf.in ($task, task trace): Remove, merely pass --trace to
13700 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
13701 (Because I found no way for autom4te to accept `-').
13702 * autom4te.in (&Request::request): Beware of M4 builtins.
13703 (END): Don't try to remove the content of an empty dir.
13704 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
13705 (&handle_output): Set a default value to `$forbidden'.
13706 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
13707 ($autoconf): Pass --debug and --verbose.
13708 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
13711 2001-07-24 Akim Demaille <akim@epita.fr>
13713 Let autoconf use autom4te to create configure.
13715 * autoconf.in ($automate): New var.
13716 (task script): Use autom4te.
13717 * autom4te.in (File::Spec): Use it.
13719 (&parse_args): --warning is -W, not -w.
13720 Find the top level files.
13721 (&handle_m4): Pass the warnings flags.
13722 Don't report verbosely m4's failures, unless requested.
13723 (&handle_output): Don't complain for forbidden tokens in comments.
13724 Be sure to report all the forbidden tokens within a single line.
13725 (&trace_format_to_m4): Preserve `$_'.
13726 (&handle_traces): Sort the output macros.
13727 (&up_to_date_p): Find the files before trying to get its time stamp.
13729 2001-07-24 Akim Demaille <akim@epita.fr>
13731 * Makefile.am: Ship, build and install Autom4te.
13732 (SUBDIRS): Add lib.
13733 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
13734 * configure.in: Require Perl.
13735 * man/autom4te.in: New.
13737 2001-07-19 Paul Eggert <eggert@twinsun.com>
13739 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
13740 example, rather than (exit 1); exit (which isn't portable).
13742 2001-07-18 Akim Demaille <akim@epita.fr>
13746 2001-07-18 Akim Demaille <akim@epita.fr>
13748 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
13749 was run, while they are needed also when it is expanded.
13750 Reported by Nicolas Joly.
13752 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
13753 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
13754 AC_F77_DUMMY_MAIN being expanded.
13756 2001-07-18 Akim Demaille <akim@epita.fr>
13758 * configure.in: Bump to 2.51a.
13760 2001-07-17 Akim Demaille <akim@epita.fr>
13764 2001-07-17 Akim Demaille <akim@epita.fr>
13766 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
13767 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
13769 2001-07-17 Akim Demaille <akim@epita.fr>
13771 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
13772 used. Well, then use the prototypes when you can, and runtime as
13774 Reported by Artur Frysiak
13776 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
13777 (AC_FUNC_GETPGRP): Use it.
13778 First try to compile with 0-ary or 1-ary calls.
13780 2001-07-17 Akim Demaille <akim@epita.fr>
13782 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
13786 2001-07-17 Akim Demaille <akim@epita.fr>
13788 * Makefile.maint: Sync. with cppi 1.10.
13790 2001-07-17 Akim Demaille <akim@epita.fr>
13792 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
13793 AC_F77_DUMMY_MAIN has been run.
13794 From Pavel Roskin and Steven G. Johnson.
13796 2001-07-17 Akim Demaille <akim@epita.fr>
13798 * configure.in: Rename as...
13799 * configure.ac: this.
13801 2001-07-17 Akim Demaille <akim@epita.fr>
13803 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
13806 * Makefile.maint (release-archive-dir): Rename as...
13807 (release_archive_dir): this, so that it can be specialized in
13810 2001-07-14 Akim Demaille <akim@epita.fr>
13812 * configure.in: Bump to 2.50d.
13814 2001-07-14 Akim Demaille <akim@epita.fr>
13817 * Makefile.maint (alpha): Typo.
13819 2001-07-14 Akim Demaille <akim@epita.fr>
13821 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
13823 2001-07-14 Akim Demaille <akim@epita.fr>
13825 * config/config.guess, config/config.sub, config/texinfo.tex
13826 * doc/standards.texi, doc/make-stds.texi: Update.
13828 2001-07-14 Akim Demaille <akim@epita.fr>
13830 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
13832 2001-07-14 Akim Demaille <akim@epita.fr>
13834 * Makefile.maint (maintainer-check): Rename as...
13835 (maintainer-distcheck): this.
13836 (changelog-check, static-check): New.
13839 2001-07-14 Kevin Ryde <user42@zip.com.au>
13841 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
13842 for CXX is g++, not gcc.
13844 2001-07-14 Akim Demaille <akim@epita.fr>
13846 * doc/autoconf.texi (Files): New subsection.
13848 2001-07-14 Akim Demaille <akim@epita.fr>
13850 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
13852 (Generic Compiler Characteristics): this.
13853 (C++ Compiler): New subsection.
13855 2001-07-14 Akim Demaille <akim@epita.fr>
13857 * autoscan.in: Use IO::File.
13858 Adjust all the routines to use it.
13859 ($log): New file (autoscan.log).
13860 (output): Dump detailed logs into $log, and a shortened version to
13862 (&scan_makefile): Refine the regexp catching tokens in the code.
13863 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
13864 and the `configure.ac' checking feature.
13866 2001-07-12 Akim Demaille <akim@epita.fr>
13868 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
13869 Reported by Michael Elizabeth Chastain.
13871 * autoconf.in: Refuse such AWK.
13872 * configure.in: Likewise.
13873 * Makefile.am (acversion.m4): Do not use move-if-change this file
13875 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
13877 2001-07-10 Jens Petersen <petersen@redhat.com>
13879 * autoscan.in (&scan_makefile): Improve programs regexp to parse
13880 things like "g++", "file.c" and "some-conf" as tokens.
13881 (&scan_file): Match C++ files extensions.
13882 If the filename extension is C++ then ask for c++.
13884 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
13886 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
13887 AC_TRY_LINK_FUNC, to check whether defining a dummy
13888 main-like routine is needed for linking with F77 libs.
13890 2001-07-05 Pavel Roskin <proski@gnu.org>
13892 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
13894 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
13897 2001-07-05 Akim Demaille <akim@epita.fr>
13899 * Makefile.am (move_if_change): New. Use it instead of `mv'.
13900 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
13902 Reported by Nicolas Joly.
13904 2001-07-04 Akim Demaille <akim@epita.fr>
13906 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
13908 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
13909 warnings from compilers.
13910 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
13911 for all the compilers, not only GNU. Hence move from here...
13912 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
13914 2001-07-04 Akim Demaille <akim@epita.fr>
13916 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
13917 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
13920 2001-07-04 Akim Demaille <akim@epita.fr>
13922 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
13923 the ``strings.h'' change claimed below.
13925 2001-07-04 Akim Demaille <akim@epita.fr>
13927 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
13929 2001-07-04 Akim Demaille <akim@epita.fr>
13931 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
13932 strings.h if usable with string.h.
13933 Suggested by Paul Eggert.
13935 2001-07-04 Akim Demaille <akim@epita.fr>
13937 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
13938 From Jens Petersen.
13940 2001-07-03 Akim Demaille <akim@epita.fr>
13942 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
13945 2001-07-03 Akim Demaille <akim@epita.fr>
13947 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
13948 compiler, not the preprocessor.
13949 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
13950 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
13952 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
13953 earlier if there are.
13955 2001-07-03 Akim Demaille <akim@epita.fr>
13957 * autoscan.in ($initfile): Remove.
13958 (&find_file): Rename as...
13959 (&scan_file): this.
13960 Immediately scan the current file, instead of gathering them, and
13961 later having them handled by &scan_files.
13962 (&scan_files): Merely invoke Find::File.
13965 2001-07-02 Akim Demaille <akim@epita.fr>
13967 * autoscan.in: Formatting changes, matching the invocation order.
13968 (File::Find): Use it instead of Perl 4's `find.pl'.
13969 (&wanted): Rename as...
13970 (&find_file): this.
13972 2001-07-01 Pavel Roskin <proski@gnu.org>
13974 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
13975 break in the argument to AC_TRY_LINK_FUNC.
13976 (AC_F77_MAIN): Remove conftest* after using break in the
13977 argument to AC_TRY_LINK.
13979 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
13981 Add alternate 'main' routine detection for linking C/C++ with Fortran,
13982 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
13984 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
13985 dummy alternate main is required even if the user provides her own
13987 (AC_F77_MAIN): New macro to detect whether it is possible to
13988 provide an alternate 'main' function name, using the 'main' from
13989 the Fortran libraries.
13990 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
13991 cross-language link tests can be performed successfully.
13992 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
13993 after $LIBS, for consistency; this should be the general rule since
13994 the user may want to link to Fortran libraries that require $FLIBS.
13995 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
13997 2001-06-29 Pavel Roskin <proski@gnu.org>
13999 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
14000 at-stdout and at-stderr instead of removing the newline
14001 from the echo output, which is not guaranteed to work.
14003 2001-06-28 Jens Petersen <petersen@redhat.com>
14005 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
14006 confdefs.h when non-zero.
14008 2001-06-28 Akim Demaille <akim@epita.fr>
14010 * configure.in: Bump to 2.50c.
14012 2001-06-26 Akim Demaille <akim@epita.fr>
14016 2001-06-26 Akim Demaille <akim@epita.fr>
14020 2001-06-25 Pavel Roskin <proski@gnu.org>
14022 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
14023 argument, AUTOCONF-FLAGS.
14024 * tests/mktests.sh (update_exclude_list): Add
14025 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
14026 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
14027 AC_FUNC_WAIT3 with "-W no-obsolete".
14029 2001-06-25 Akim Demaille <akim@epita.fr>
14031 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
14033 2001-06-25 Akim Demaille <akim@epita.fr>
14035 * autoscan.in (%macro): Now maps from word to list of macros.
14036 (&init_tables): Die when a word which is already handled by
14037 explicit macros is mapped to the default macro.
14038 (&print_unique): Remove, inlined in...
14039 (&output_kind): here.
14040 (File::Basename): Use it.
14041 (&output): Sort the CONFIG_FILES.
14042 * acheaders: Normalize.
14043 * acfunctions: Likewise.
14045 2001-06-25 Akim Demaille <akim@epita.fr>
14047 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
14048 characteristics in the logs.
14049 Suggested by Mo DeJong.
14051 2001-06-24 Akim Demaille <akim@epita.fr>
14053 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
14054 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
14055 * doc/autoconf.texi (Autoconf 2.13): New section.
14057 2001-06-24 Akim Demaille <akim@epita.fr>
14059 * autoconf.in (Task traces): Separate the error messages from the
14060 traces to improve robustness.
14062 2001-06-23 Akim Demaille <akim@epita.fr>
14064 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
14065 three as failures are unlikely, and speed matters.
14067 2001-06-23 Akim Demaille <akim@epita.fr>
14069 * doc/autoconf.texi (Redefined M4 Macros): New.
14071 2001-06-23 Akim Demaille <akim@epita.fr>
14073 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
14074 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
14077 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
14079 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
14080 config.status targets to after the evaluation of the INIT-CMDS.
14081 Double quote config.status targets (used to be single quoted).
14083 2001-06-23 Akim Demaille <akim@epita.fr>
14085 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
14086 Check the content of the created file.
14087 Check the ./config.status command line invocation.
14089 2001-06-23 Akim Demaille <akim@epita.fr>
14091 * tests/foreign.at (Libtool): Reject prehistoric versions.
14093 2001-06-23 Akim Demaille <akim@epita.fr>
14095 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
14096 preexisting files matching a.*.
14098 2001-06-23 Akim Demaille <akim@epita.fr>
14100 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
14102 * doc/autoconf.texi (AC_ARG_VAR): Update.
14104 2001-06-21 Akim Demaille <akim@epita.fr>
14106 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
14107 precious variables have changed.
14108 * tests/torture.at (AC_ARG_VAR): Adjust.
14110 2001-06-21 Akim Demaille <akim@epita.fr>
14112 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
14113 but some sed choke on multiple `;', and other tools (e.g.,
14114 Automake), include the separator themselves.
14116 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
14118 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
14120 * doc/autoconf.texi (Functions Portability): Rename as...
14121 (Function Portability): this.
14122 (Function Portability): Document potential problems with unlink().
14124 2001-06-19 Paul Eggert <eggert@twinsun.com>
14126 * NEWS, doc/autoconf.texi: Document quadrigraphs.
14128 2001-06-18 Akim Demaille <akim@epita.fr>
14130 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
14132 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
14134 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
14135 (_AC_FUNC_VFORK): this.
14136 Remove AC_DEFINEs and don't guess cross-compilation values.
14137 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
14138 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
14139 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
14140 vfork doesn't work.
14141 Guess values if cross-compiling, but warn.
14142 * acfunctions: Add AC_FUNC_FORK.
14143 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
14144 and vfork appropriately.
14146 2001-06-18 Akim Demaille <akim@epita.fr>
14148 * doc/autoconf.texi (Functions Portability): New section.
14150 2001-06-18 Akim Demaille <akim@epita.fr>
14152 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
14154 Suggested by Andreas Schwab.
14156 2001-06-18 Akim Demaille <akim@epita.fr>
14158 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
14159 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
14160 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
14161 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
14162 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
14163 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
14164 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
14167 2001-06-18 Akim Demaille <akim@epita.fr>
14169 * doc/autoconf.texi (ms): New index.
14170 (Macro Index): Rename as...
14171 (Autoconf Macro Index): this.
14172 (M4 Macro Index): New appendix.
14173 (Programming in M4): New chapter.
14174 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
14175 (Quoting): Rename as...
14176 (M$ Quotation): this.
14177 Be part of `Programming in M4).
14179 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
14181 * tests/torture.at (AC_ARG_VAR): Set variables and export them
14182 in separate statements for compatibility with Tru64 v5.1.
14184 2001-06-17 Akim Demaille <akim@epita.fr>
14186 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
14187 current values of the precious variables, not the previously
14189 Pass precious variables which are set to config.status.
14190 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
14191 * tests/torture.at (AC_ARG_VAR): New.
14193 2001-06-15 Paul Eggert <eggert@twinsun.com>
14195 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
14196 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
14197 and explain why and how to replace them.
14198 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
14199 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
14201 2001-06-15 Akim Demaille <akim@epita.fr>
14203 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
14204 Reported by Bruno Haible.
14206 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
14207 (_AC_ARG_VAR_PRECIOUS): to here.
14209 2001-06-15 Pavel Roskin <proski@gnu.org>
14211 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
14212 an unused pointer use cast to this type and `if' statement to
14213 avoid warnings from the compiler.
14214 (AC_HEADER_TIME): Likewise.
14215 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
14216 in `if' statement to avoid warnings from the compiler. Declare
14217 ac_aggr static to avoid the need to initialize it.
14219 2001-06-14 Akim Demaille <akim@epita.fr>
14221 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
14224 2001-06-13 Akim Demaille <akim@epita.fr>
14226 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
14227 Suggested by Alexander Mai.
14229 2001-06-13 Akim Demaille <akim@epita.fr>
14231 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
14232 sys/types.h and sys/stat.h, and check for them.
14234 2001-06-13 Akim Demaille <akim@epita.fr>
14236 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
14239 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
14241 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
14242 succeeds and only try adding libdnet upon a failure.
14244 2001-06-12 Akim Demaille <akim@epita.fr>
14246 * autoscan.in (&output_kind): Output the comment only if it exists.
14247 (%kind_comment): Add entry for `programs'.
14248 (&output_programs): Use &output_kind.
14249 (&output_functions, &output_identifiers, &output_headers)
14250 (&output_programs): Inline, and remove.
14252 2001-06-12 Akim Demaille <akim@epita.fr>
14254 * autoscan.in (%kind_comment): New.
14255 (output_kind): New.
14256 (output_functions, output_identifiers, output_headers): Use it.
14258 2001-06-12 Akim Demaille <akim@epita.fr>
14260 * autoscan.in (&print_unique): Take `$kind' and `$word' as
14261 arguments, to factor indirections into `%macro' and `%used'.
14262 (%generic_macro): Fix a typo.
14264 2001-06-12 Akim Demaille <akim@epita.fr>
14266 * aclibraries: New.
14267 * autoscan.in (@kinds): Add `libraries'.
14268 Use `@kinds' instead of hard coded lists.
14269 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
14270 Remove, replaced by...
14273 2001-06-12 Akim Demaille <akim@epita.fr>
14275 * autoscan.in (%functions_macros %headers_macros)
14276 (%identifiers_macros %programs_macros %makevars_macros): Remove,
14280 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
14282 * aclang.m4 (AC_NO_EXECUTABLES): Override
14283 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
14285 2001-06-11 Akim Demaille <akim@epita.fr>
14287 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
14289 Reported by Andreas Schwab.
14291 2001-06-11 Akim Demaille <akim@epita.fr>
14293 * Makefile.am, Makefile.maint: Typos.
14295 2001-06-09 Akim Demaille <akim@epita.fr>
14297 * doc/autoconf.texi (Here-Documents): New section, gathering
14298 documentation about here-documents.
14299 Use `href', not `uref', and other changes.
14301 2001-06-09 Akim Demaille <akim@epita.fr>
14303 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
14306 2001-06-09 Akim Demaille <akim@epita.fr>
14308 * doc/autoconf.texi (Limitations of Builtins): Complete the
14309 description of the here-docs penalties with Alexandre Oliva's
14312 2001-06-01 Paul Eggert <eggert@twinsun.com>
14314 * doc/autoconf.texi: Talk about here documents and speedups.
14315 Do not use "echo" on arbitrary strings.
14316 Spell "here-documents" consistently with the standard.
14318 2001-06-09 Akim Demaille <akim@epita.fr>
14320 * doc/autoconf.texi (Concept Index): Introduce it.
14321 Regenerate the menus.
14323 2001-06-09 Akim Demaille <akim@epita.fr>
14325 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
14326 * config/prev-version.txt: New.
14327 * config/move-if-change: New, for GNU libc.
14329 2001-06-06 Pavel Roskin <proski@gnu.org>
14331 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
14333 2001-06-06 Akim Demaille <akim@epita.fr>
14335 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
14336 properly when $1 is not a literal.
14337 Fixes PR Autoconf/187, reported by Bram Moolenaar.
14339 2001-06-06 Akim Demaille <akim@epita.fr>
14341 Invoking AC_COPYRIGHT before AC_INIT fails.
14343 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
14344 * acgeneral.m4 (_m4_divert(VERSION_FSF))
14345 (_m4_divert(VERSION_USER)): New.
14346 (AC_COPYRIGHT): $2 is the diversion to use.
14347 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
14348 (AC_INIT): Remove dead comments as now it's commutative.
14350 2001-06-06 Akim Demaille <akim@epita.fr>
14352 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
14355 2001-06-05 Akim Demaille <akim@epita.fr>
14357 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
14359 `*dir' variables cannot be NONE.
14360 Reported by Mark Kettenis.
14362 2001-06-05 Paul Eggert <eggert@twinsun.com>
14364 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
14366 2001-06-04 Akim Demaille <akim@epita.fr>
14368 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
14369 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
14370 (AC_TR_SH): Move as...
14371 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
14372 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
14374 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
14375 (_AS_TR_SH_PREPARE): New.
14376 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
14377 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
14379 2001-06-02 Akim Demaille <akim@epita.fr>
14381 * Makefile.am (.m4.m4f): Pass the options first.
14382 Fixes PR autoconf/182.
14384 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
14386 GNU getopt, when POSIXLY_CORRECT does not permute options and
14387 arguments. So pass the options first.
14388 Fixes PR autoconf/184.
14390 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
14391 (run_m4): Remove files.
14393 Update remainder of script to use them.
14394 (for warning in): Do not use a literal comma as it will not be
14397 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
14399 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
14400 Fortran compilers to check.
14401 (_AC_PROG_F77_V): Add '-###' as a possible option to print
14402 information on library and object files.
14403 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
14406 2001-06-02 Akim Demaille <akim@epita.fr>
14408 * autom4te.in (Request::@request): Declare with `vars', not `my',
14409 as it prevents updates via `do FILENAME'.
14411 2001-06-02 Akim Demaille <akim@epita.fr>
14413 * configure.in (standards_texi): Remove, dead code.
14415 2001-06-02 Akim Demaille <akim@epita.fr>
14417 * autom4te.in: New.
14419 2001-06-02 Pavel Roskin <proski@gnu.org>
14421 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
14422 for signals other than 0 - exit with code 1.
14423 * m4sh.m4 (AS_TMPDIR): Likewise.
14424 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
14425 * autoheader.in: Likewise.
14426 * autoreconf.in: Likewise.
14427 * tests/torture.at (Signal handling): New test for the above.
14429 2001-06-01 Akim Demaille <akim@epita.fr>
14431 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
14434 2001-05-31 Akim Demaille <akim@epita.fr>
14436 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
14437 Add copyright and comments.
14438 * acheaders: Add stdint.h.
14439 Suggested by Paul Eggert.
14441 2001-05-31 Akim Demaille <akim@epita.fr>
14443 * atgeneral.m4 (AT_INIT): Use $SHELL.
14444 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
14446 2001-05-31 Akim Demaille <akim@epita.fr>
14448 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14450 From Paul Eggert and Lars Hecking.
14452 2001-05-31 Akim Demaille <akim@epita.fr>
14454 * tests/base.at: Adjust line numbers in error messages.
14456 2001-05-31 Akim Demaille <akim@epita.fr>
14458 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
14459 to emit the bangshe line.
14460 Reported by David Carter.
14462 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
14464 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
14465 Fortran (95) compilers to check.
14467 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
14469 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
14472 2001-05-23 Pavel Roskin <proski@gnu.org>
14474 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
14475 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
14476 (AC_PROG_CXXCPP): Likewise.
14478 2001-05-22 Akim Demaille <akim@epita.fr>
14480 * config: New directory.
14481 * configure.in: AC_CONFIG_AUX_DIR it.
14482 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
14484 2001-05-22 Akim Demaille <akim@epita.fr>
14486 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
14487 * autoupdate.in: Specify the Emacs mode.
14488 * acversion.m4.in: Rename as...
14489 * acversion.m4: this.
14490 * tests/Makefile.am (CLEANFILES): More garbage.
14492 2001-05-22 Akim Demaille <akim@epita.fr>
14494 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
14496 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
14499 2001-05-21 Akim Demaille <akim@epita.fr>
14501 * configure.in: Bump to 2.50a.
14506 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
14507 Software Foundation, Inc.
14509 Copying and distribution of this file, with or without
14510 modification, are permitted provided the copyright notice and this
14511 notice are preserved.