1 2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
3 Don't check for bug in HP-UX 11.00 cpp.
4 * lib/autoconf/types.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
5 Use -1ull rather than -1u, since that causes problems with gnulib; see
6 <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
8 2007-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10 * tests/autotest.at (Backquote command substitution)
11 (Multiline backquote command substitution)
12 (Parenthetical command substitution)
13 (Multiline parenthetical command substitution): Fix typos in
16 2007-10-21 Eric Blake <ebb9@byu.net>
18 * configure: Regenerate.
20 2007-10-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
22 Fix config status generation with Tru64 ksh.
23 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
24 escaping of backslash in here-documents.
26 Fix `Deep Package' test failure on FreeBSD.
27 * tests/torture.at (Deep Package): Do not add `.' to $PATH
28 unnecessarily. Do not try running `/bin/sh configure' with a
29 configure script to be found in $PATH, if the shell does not do
30 this resolution. Fixes test failure on FreeBSD.
32 Fix config header generation with AIX awk.
33 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): In awk
34 script, use helper array D_is_set, as `" 0"' does not evaluate
37 2007-10-21 Eric Blake <ebb9@byu.net>
39 * tests/autotest.at (Banners): Reinstate test, with typo
42 2007-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
44 * lib/autotest/general.m4 (Defaults): Validate input ranges ...
45 <at_func_validate_ranges>: ... using this new function.
46 * tests/autotest.at (Keywords and ranges): Test invalid ranges.
47 Test --list with ranges and keywords.
48 (Banners): Remove one now-failing test.
50 2007-10-20 Eric Blake <ebb9@byu.net>
52 Fix testsuite --list subset.
53 * lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
54 back to spaces, before listing subset of tests.
55 Reported by Ralf Wildenhues.
57 2007-10-19 Eric Blake <ebb9@byu.net>
59 s/parenthesis/parentheses/ where appropriate.
60 * doc/autoconf.texi: Fix typos.
61 * lib/m4sugar/m4sugar.m4: Likewise.
62 Reported by Ralf Wildenhues.
64 Document m4_expand limitation.
65 * lib/m4sugar/m4sugar.m4 (m4_expand): Mention problem with
67 * doc/autoconf.texi (Pretty Help Strings, Evaluation Macros)
68 (Writing Testsuites): Mention limitations inherited from
71 Improve AT_BANNER handling.
72 * lib/autotest/general.m4 (BANNERS): New named diversion.
73 (TESTS_END): Diversion no longer used.
74 (AT_INIT) <at_func_banner, BANNERS>: Factor all banners into a
75 shell function, which prints only as needed, using an associative
76 array of banner text from a special diversion.
77 <PARSE_ARGS_END>: No longer need awk to find banners.
78 <TESTS>: Banners are no longer processed by main driver loop, so
79 we no longer need case statement.
80 (AT_BANNER): Rewrite to populate new diversion.
81 (AT_SETUP): Each test invokes its own banner. No output is needed
82 to the TESTS diversion.
83 * doc/autoconf.texi (Writing Testsuites): Document slight
85 * tests/autotest.at (AT_BANNERS): Enhance test.
86 * NEWS: Document AT_BANNER.
88 Document and test AT_BANNER.
89 * doc/autoconf.texi (Writing Testsuites): Document AT_BANNER.
90 * tests/autotest.at (AT_CHECK_EGREP): Share between tests.
91 (AT_CHECK_BANNERS): New test.
94 * doc/autoconf.texi (Text processing Macros) <m4_strip>
95 <m4_text_wrap>: Clarify and fix typos.
97 2007-10-18 Eric Blake <ebb9@byu.net>
99 Ignore `make dist' changelogs in testsuite.log.
100 * lib/autotest/general.m4 (AT_INIT) <ChangeLogs>: Prune
101 directories matching AT_PACKAGE_TARNAME-*.
103 Fix AT_TESTED, AT_KEYWORDS.
104 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Warn if separator
105 occurs in string, as duplicates may be added.
106 (_m4_append_uniq): New helper macro.
107 (m4_append_uniq_w): New macro.
108 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Fix
109 duplication bug by using new macro.
110 (AT_INIT) <at_tested>: Restore newline separators. Invoke tested
111 programs with stdin redirected, so programs that don't
112 understand --version won't try to behave interactively.
113 * tests/autotest.at (Tested programs): Catch this bug.
114 * tests/m4sugar.at (m4@&t@_append): Test new macro.
115 * tests/local.at (AT_TESTED): Add m4, perl.
116 * doc/autoconf.texi (Text processing Macros): Document
117 m4_append_uniq_w, and update text on m4_append.
118 * NEWS: Document the addition.
120 2007-10-17 Eric Blake <ebb9@byu.net>
123 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Convert
125 (AT_INIT) <at_func_create_debugging_script>: ...to shell
127 (AT_INIT): Defer function declarations until after --help,
128 --version. Format functions consistently, trying to fit in 80
130 (TEST_FUNCTIONS): Based on recent changes, rename...
131 (TEST_GROUPS): ...to this.
134 * m4/m4.m4 (AC_PROG_GNU_M4): Also check for frozen file support.
135 * configure: Regenerate.
136 Reported by Bob Friesenhahn.
138 Test recent additions.
139 * tests/m4sugar.at (m4@&t@_map, m4@&t@_combine)
140 (m4@&t_max and m4@&t_min): New tests.
141 * doc/autoconf.texi (Evaluation Macros) <m4_apply>: Enhance
144 2007-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
146 * TODO: multiline args in config files and headers work now.
148 Autotest: do not use shell functions for individual tests.
149 * lib/autotest/general.m4 (AT_INIT) <at_func_test>: Merely
150 extract the source test source, do not invoke it.
151 (AT_SETUP, AT_CLEANUP): Source test code outside shell function.
152 * tests/autotest.at (Fallacy): Actually let the inner suite fail,
153 expect exit status of 1.
154 * tests/autotest.at (Skip): New test, for bogus zsh exit status.
156 * lib/autotest/general.m4 (at_func_test): Fix test extraction
159 2007-10-17 Eric Blake <ebb9@byu.net>
161 Fix m4_combine for empty suffix list.
162 * lib/m4sugar/m4sugar.m4 (m4_combine): Check for suffix list.
163 * doc/autoconf.texi (Text processing Macros): Document this.
165 Add m4_combine, based on Libtool's lt_combine.
166 * lib/m4sugar/m4sugar.m4 (m4_combine): New macro.
167 * doc/autoconf.texi (Text processing Macros): Document it.
170 2007-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
172 Fix `configure --help=recursive' in unconfigured/read-only trees.
173 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Avoid errors when `.'
174 is not writable, use 'cp -p' in this case, in the hope that it
175 will not actually be needed. Still try removing files, in case
176 of other write errors.
177 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): For ac_confdir,
178 use $as_myself, not $0.
179 (_AC_INIT_HELP): For --help=recursive, if the subdir does not
180 exist, try again in the the source tree. This change assumes
181 that the subpackage configure script is capable of running
182 --help=recursive in the source tree.
183 * tests/torture.at (Configuring subdirectories, Deep Package):
184 Adjust tests to expose both issues, also try invocation as
185 `sh configure ...' and plain `configure ...' with PATH adjusted.
186 * NEWS, THANKS: Update.
187 Report by Hans Ulrich Niedermann.
189 2007-10-16 Paul Eggert <eggert@cs.ucla.edu>
191 Check for 64-bit int errors in HP-UX 10.20 preprocessor.
192 Problem reported by H.Merijn Brand in
193 <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
194 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
195 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
196 Check that preprocessor handles 64-bit ints, too.
198 2007-10-16 Eric Blake <ebb9@byu.net>
200 m4_map is a looping construct.
201 * lib/m4sugar/m4sugar.m4 (m4_map, _m4_map, m4_map_sep): Move.
203 Fix m4_map, and add some more utility macros.
204 * lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
205 (m4_echo, m4_make_list): New documented macros.
206 (_m4_quote, _m4_shift2): New helper macros.
207 (m4_map): Change semantics to allow calling macro without
209 (m4_map_sep): Likewise. Also change semantics to quote separator,
210 to match m4_join and m4_append.
211 (m4_version_unletter): Fix use of m4_map.
212 * doc/autoconf.texi (Evaluation Macros): Document m4_apply,
213 m4_count, m4_dquote_elt, m4_echo, m4_make_list.
214 (Text processing Macros): Mention m4_dquote as a faster
215 alternative to joining with commas.
216 (Looping constructs): Document m4_map, m4_map_sep.
217 * NEWS: Mention new macros.
219 A few more m4sugar improvements, to benefit libtool.
220 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts, _m4_shiftn): Reduce size
221 of expansion by avoiding extra uses of $@.
222 (m4_shiftn): Avoid extra dnl, and forbid shifting by 0.
223 (_m4_cdr): New helper macro.
224 (_m4_map, m4_map_sep): Use it to reduce size of expansion.
225 (_m4_shift3): New helper macro.
226 (_m4_foreach): Swap argument order, and use new macro to reduce
228 * doc/autoconf.texi (Looping constructs) <m4_shiftn>: Mention that
229 count must be positive.
231 * doc/autoconf.texi (Evaluation Macros) <m4_expand>: Fix typo.
232 Reported by Ralf Wildenhues.
234 2007-10-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
236 * doc/autoconf.texi (Portable Shell): Improve description of zsh
237 4.x function subshell bug with exit and trap.
239 2007-10-15 Eric Blake <ebb9@byu.net>
241 Enhance AS_HELP_STRING.
242 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't expand arguments,
243 and reduce number of expansions.
244 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Rework to use m4_expand,
245 and to take indent and wrap column numbers.
246 * tests/m4sh.at (AS@&t@_HELP_STRING): Update the test.
247 * doc/autoconf.texi (Pretty Help Strings): Document details about
249 (Text processing Macros): Minor tweaks.
250 * NEWS: Document this change.
252 Fix 2007-10-03 regression with AT_SETUP([a, b]).
253 * lib/m4sugar/m4sugar.m4 (m4_expand): New macro.
254 (m4_text_box): Use it.
255 * lib/autotest/general.m4 (AT_SETUP): Use it.
256 * lib/m4sugar/m4sh.m4 (_AS_RUN): Use it.
257 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Test this.
258 * NEWS: Revert caveat about semantics change on comma.
259 * doc/autoconf.texi (Evaluation Macros): Document m4_expand.
261 2007-10-13 Eric Blake <ebb9@byu.net>
263 Change m4_join to match libtool's ltsugar semantics.
264 * lib/m4sugar/m4sugar.m4 (m4_join): Just define this, not defun.
265 Ignore empty arguments, using...
266 (_m4_join): ...this new helper.
267 * tests/m4sugar.at (m4@&t@_join): New test.
268 * doc/autoconf.texi (Text processing Macros): Document new
269 semantics of m4_join.
271 Make AC_PREREQ faster and more robust.
272 * lib/m4sugar/m4sugar.m4 (m4_ignore, m4_unquote): New macros.
273 (m4_version_prereq): Inline constant expansions.
274 (m4_list_cmp): Reduce number of expansions, by avoiding m4_case.
275 Rewrite in terms of [] list, not () list.
276 (_m4_list_cmp, _m4_version_unletter): New helper macros.
277 (m4_version_unletter): Write wrapper around new implementation to
278 preserve old semantics.
279 (m4_version_compare): Pass correct type of list, and avoid
280 overhead of flattening expressions too early.
281 (m4_do): Move to be near other quoting macros.
282 (m4_max, m4_min): Always result in decimal output.
283 * doc/autoconf.texi (Looping constructs): Add m4_car, m4_cdr.
285 (Evaluation Macros): ...here. Add m4_ignore, m4_unquote.
286 (Text processing Macros): Move m4_version_compare...
287 (Number processing Macros): ...to this new node; document m4_cmp,
288 m4_list_cmp, m4_sign, m4_max, m4_min.
289 * tests/m4sugar.at (m4@&t@_version_compare): Enhance test, to pick
290 up on bugs fixed by this patch.
291 * NEWS: Document new macros.
293 2007-10-12 Eric Blake <ebb9@byu.net>
295 * doc/autoconf.texi (Text processing Macros): Fix bad merge.
296 (Reporting Messages): Fix underfull hbox.
298 Some more m4sugar documentation.
299 * lib/m4sugar/m4sugar.m4: Clean up macro order.
300 * doc/autoconf.texi (Programming in M4): Lighten the warning on
301 using m4sugar; it is stabilizing and useful.
302 (Redefined M4 Macros): Touch up wording on M4 builtins; sort. Add
303 m4_divert, m4_undivert, __file__, __line__, __oline__.
304 (Diagnostics): New node, documenting m4_assert, m4_errprintn,
305 m4_fatal, m4_location, m4_warn.
306 (Diversion support): New node, documenting m4_divert_push,
307 m4_divert_pop, m4_divert_text, m4_divert_once.
308 (Text processing Macros): Sort. Add m4_flatten, m4_join,
309 m4_newline, m4_strip, m4_text_box, m4_text_wrap.
310 (Reporting Messages): Mark AC_DIAGNOSE, AC_WARNING, and AC_FATAL
312 (Printing Messages): Change cross-reference.
314 Document interaction of recent m4_append change with Libtool HEAD.
315 * lib/m4sugar/m4sugar.m4 (m4_append): Document semantics change.
316 (m4_append_uniq): Add new parameters, based on lt_append_uniq.
317 * tests/m4sugar.at (m4@&t@_append): New test.
318 * NEWS: Document semantics change.
319 * doc/autoconf.texi (Text processing Macros): Likewise.
321 s/AC_VERSION/AC_AUTOCONF_VERSION/.
322 * doc/autoconf.texi (Versioning): Change the name.
324 * lib/autoconf/general.m4 (AC_AUTOCONF_VERSION): Likewise.
325 * tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Likewise.
326 Suggested by Ralf Wildenhues.
329 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
330 (_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
332 * doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
333 (Programming in M4sh, Macro Names): Beef up description of
334 namespaces reserved for autoconf.
335 * configure: Regenerate.
337 2007-10-12 Eric Blake <ebb9@byu.net>
338 and Paolo Bonzini <bonzini@gnu.org>
340 Speed up execution of subset of testsuite.
341 * lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
342 (AT_INIT) <at_func_test>: New shell function.
343 (AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
344 (AT_INIT) <at_test_source> New variable, names file that holds
345 current test function definition.
346 (AT_SETUP): Start the shell function at_func_test_#, into the
347 TEST_FUNCTIONS diversion.
348 (AT_CLEANUP): End the shell function. Simplify the TESTS
349 diversion to invoke the function.
351 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
353 * .gitignore: Ignore tags and TAGS files.
355 2007-10-11 Eric Blake <ebb9@byu.net>
357 Config header generation followup.
358 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
359 which won't work with the preprocessor nor with the awk
361 * tests/torture.at (Define a newline): Test raw newline detection,
363 * doc/autoconf.texi (Defining Symbols): Document recent change to
364 allow backslash-newline.
367 2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
369 * lib/autotest/general.m4: Put function braces in separate line.
371 2007-10-10 Eric Blake <ebb9@byu.net>
373 Avoid some overhead from m4_defn and m4_popdef.
374 * lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
375 pass on first argument, since we are documented that way.
376 (m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
377 check where it is safe to do so.
378 (m4_append): Likewise, and quote the separator.
379 (m4_text_box): Likewise, and avoid regex, also be robust to
380 expansion and quadrigraphs.
382 Another AC_DEFINE speedup.
383 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
385 (_AC_DEFINE_Q): ...here, and only do it once.
386 * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
387 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
388 introduced 2007-10-05.
391 * lib/autoconf/general.m4: Use consistent indentation.
392 * configure: Regenerate.
394 * NEWS: Announce recent round of speed optimizations.
396 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
398 * NEWS: Announce shell function usage in Autotest.
400 2007-10-10 Eric Blake <ebb9@byu.net>
401 and Paul Eggert <eggert@cs.ucla.edu>
403 Reduce number of forks at startup.
404 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
406 * configure: Regenerate.
408 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
409 and Paul Eggert <eggert@cs.ucla.edu>
411 Use awk for config header generation.
412 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
413 (_AC_OUTPUT_HEADERS_PREPARE): New macro. Rewrite of the config
414 header machinery for use with awk and placement outside the main
415 config.status instantiation loop. Retain multi-line defines
416 through backslash-newline combinations, do not split the script
418 (_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
419 (_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
421 (AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
424 * tests/torture.at (#define header templates): Extend test by
425 several more cases: white space before and after `#', macros
426 with parameters in config.hin and as defines, multi-line macro
428 (Torturing config.status): Use a define value twice the length
429 in order to exercise the awk literal string limit.
430 (Substitute and define special characters): Also try special
431 delimiter, to exercise the special-case code.
432 Suggestion by Eric Lemings.
434 2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
436 * tests/local.at (AT_COPYRIGHT): Bump copyright years.
438 2007-10-09 Eric Blake <ebb9@byu.net>
440 Improve header of bin/autoconf.
441 * lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
442 * lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
444 * bin/autoconf.as: Put copyright up front in generated file.
446 * bin/autoconf.as (exit_missing_arg): Font-lock tweak.
448 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
450 * doc/install.texi (Basic Installation): Document `uninstall'.
451 * INSTALL: Regenerate.
452 Suggestion by Roberto Bagnara.
454 2007-10-08 Paul Eggert <eggert@cs.ucla.edu>
456 * doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
458 Adjust doc. to match latest gnulib.
459 * build-aux/texinfo.tex: Sync from gnulib.
460 * doc/standards.texi: Likewise.
461 * doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
462 Documentation License" and remove the subsection. This simplifies
463 the manual a bit and is more like what other GNU projects do
466 2007-10-08 Eric Blake <ebb9@byu.net>
469 * configure: Regenerate.
471 Fix regression in m4_text_wrap from 2007-10-05.
472 * lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
474 (m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
476 * lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
477 * tests/autotest.at (Long test title, Longer test title): Test
478 this fix, beyond what AS_HELP_STRING already tests.
480 Avoid m4 warnings on bad m4_format usage.
481 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
483 * lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
484 enough arguments are provided.
486 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
488 * doc/autoconf.texi (Shell portability): Document shell function
491 2007-10-06 Paolo Bonzini <bonzini@gnu.org>
493 * lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
494 at_func_check_skip, at_func_check_status, at_func_filter_trace,
495 at_func_log_failure shell functions. Use test -s to avoid
496 useless diff invocations.
497 (at_func_check_newline): Renamed from at_check_newline.
498 (AT_SETUP): Define AT_captured_files to empty.
499 (AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
500 (_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir. Use all
503 2007-10-05 Paul Eggert <eggert@cs.ucla.edu>
505 Don't assume "." is writeable, for commands like "autoconf --version".
506 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
507 different heuristic instead, one that doesn't rely on creating
510 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
513 2007-10-05 Jim Meyering <meyering@redhat.com>
515 Avoid makeinfo warnings.
516 * doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
517 (Looping constructs): Add ` ' after @defmac'd name, m4_do.
519 2007-10-05 Eric Blake <ebb9@byu.net>
521 Resolve Python issue 1676135 regarding configure directory args.
522 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
523 slashes from directory arguments.
524 * tests/base.at (configure directories): New test.
525 * doc/autoconf.texi (Installation Directory Variables): Document
529 Reported by Björn Lindqvist.
531 Provide better short-circuiting operation.
532 * lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
533 (m4_text_wrap): Use it. Also avoid useless m4_for.
534 * lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
536 (_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
537 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
539 * doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
540 documentation. Sort m4_mkstemp, m4_undefine. Move m4_ifndef...
541 (Conditional constructs): ...here, to new section. Also document
542 m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
543 m4_bpatsubsts, and m4_default.
544 (Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
547 2007-10-04 Eric Blake <ebb9@byu.net>
549 Fix recent testsuite failures.
550 * lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
551 that must not be re-expanded after AS_ESCAPE.
552 * lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
553 checking if it is an identifier.
556 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
557 leading whitespace, as it caused space-tab in testsuite.
558 (AT_INIT): Avoid trailing newlines in testsuite.
560 One more round of m4_foreach_w speedups.
561 * lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
563 (_m4_split): Avoid useless expansions inside definition. Move
564 argument defaulting...
565 (m4_split): ...here. Change alternate quote to something less
566 likely to appear in $1. Also, special case space as regexp...
567 (m4_foreach_w): ...to avoid regexp on single-term list.
568 (m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
569 useless expansions inside definition.
570 * tests/m4sugar.at (m4@&t@_split): Add tests.
572 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
574 * general.m4 (AT_INIT): Add at_check_newline function.
575 (_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
576 (_AT_CHECK): Don't use at_trace_this.
578 2007-10-04 Paolo Bonzini <bonzini@gnu.org>
581 * lib/autotest/general.m4 (AT_LINE): Fix regex.
583 2007-10-04 Eric Blake <ebb9@byu.net>
585 Speed up building testsuites.
586 * lib/autotest/general.m4 (AT_LINE): Only use regex when file
587 changed since last time. Use simpler regex.
589 2007-10-03 Eric Blake <ebb9@byu.net>
591 Optimize checking for identifiers.
592 * lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
593 macros, more efficient than regex on m4_re_word.
594 * lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
595 Rewrite in terms of new macro. As a side-effect, AC_DEFINE can
597 * configure: Regenerate.
599 Remove some XFAILs, and make AT_SETUP output line up.
600 * lib/autotest/general.m4 (AT_SETUP): Only expand description
601 once; thereafter, use its expansion, properly quoted.
602 * tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
603 expansion with arguments, and check for aligned output.
604 (AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
605 Add a test for macros with parameters.
606 * NEWS: Document the semantics change.
607 * tests/base.at: Fix test titles containing commas.
608 * tests/compile.at: Likewise.
609 * tests/tools.at: Likewise.
610 * tests/torture.at: Likewise.
612 Another round of regex avoidance.
613 * lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
614 (_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
615 (m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
616 (m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
617 character ranges useful in m4_translit.
618 (m4_toupper, m4_tolower): Optimize the constant portion of
620 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
621 creates $, and reject [] thanks to AS_TR_SH rewrite.
622 (AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
623 (AS_ESCAPE): Factor...
624 (_AS_ESCAPE): ...into new macro, with second argument required.
625 Avoid regex in common case.
626 (_AS_QUOTE): Use new macro.
629 * lib/autoconf/types.m4: Avoid space-tab.
630 * lib/m4sugar/m4sh.m4: Use tab consistently.
632 2007-10-03 Paul Eggert <eggert@cs.ucla.edu>
634 * lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
635 (m4_shiftn): Remove no-longer-needed optimization. Perhaps we
636 should remove m4_shiftn entirely?
637 (m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
638 Prefer m4_shift2 and m4_shift3 to m4_shiftn.
639 * lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
640 * lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
641 * tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
643 2007-10-03 Eric Blake <ebb9@byu.net>
646 * lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
648 2007-10-02 Eric Blake <ebb9@byu.net>
650 Optimize appending text.
651 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
655 * lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
656 lot of hot spots; optimize it for 2 and 3 shifts.
658 Optimize AC_PREREQ and other m4sugar numerics.
659 * lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
660 (m4_cmp): Compare arbitrary expressions, without overflow.
661 (m4_version_unletter): Also recognize capital letters.
662 (m4_version_compare): Avoid regex when splitting version number
665 2007-10-01 Eric Blake <ebb9@byu.net>
667 Once again, reject IRIX m4.
668 * m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
669 implementations that ignore --trace.
670 * configure: Regenerate.
671 Reported by Ralf Wildenhues.
673 Fix regression in AC_DEFINE([macro(with_arg)]).
674 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
675 quotes with a careless m4_substr.
677 2007-09-30 Eric Blake <ebb9@byu.net>
679 Allow nameless iteration.
680 * lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
682 * tests/m4sugar.at (myvar): Test this.
684 2007-09-29 Eric Blake <ebb9@byu.net>
686 Speed optimization: avoid m4 regex when other algorithms work.
687 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
688 (_AS_QUOTE_IFELSE): Likewise.
689 * lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
690 (m4_bpatsubsts): Split...
691 (_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
693 (_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
694 (m4_qlen): Optimize on short strings, to avoid regex.
695 (m4_sign): Avoid regex, and fix bug with `01' and `-0'.
696 * lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
697 (AC_DEFINE_TRACE): Likewise.
699 2007-09-28 Eric Blake <ebb9@byu.net>
701 Oops - my earlier 'optimization' caused a regression.
702 * tests/local.at (AT_CHECK_M4): Fix typo.
704 2007-09-27 Eric Blake <ebb9@byu.net>
705 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
707 Catch even more common AC_CACHE_VAL mistakes.
708 * lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
709 lacks '_cv_', or if AC_SUBST appears in body.
710 * tests/base.at (AC_CACHE_CHECK): Test this change.
712 2007-09-27 Stepan Kasal <kasal@ucw.cz>
713 and Eric Blake <ebb9@byu.net>
715 Autotest no longer caters to Ultrix redirection limitation.
716 * doc/autoconf.texi (Writing testsuite.at): Remove the
717 limitation that the first parameter of AT_CHECK cannot
719 (File Descriptors): Mention that Ultrix limitation is no longer a
720 show-stopper in modern code.
721 * tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
722 parameter is `stderr' or `experr'. Optimize if it was `ignore'.
723 * lib/autotest/general.m4 (AT_CHECK): Update comment.
725 2007-09-27 Eric Blake <ebb9@byu.net>
727 Squelch changeword in m4sugar.
728 * lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
731 Configure whitespace touchups.
732 * lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
733 installation directories, and avoid TAB, in configure --help
735 * configure.ac: Avoid extra trailing newline.
736 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
737 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
738 config.status --help output.
739 * configure: Regenerate.
741 Fix underquotation in AS_HELP_STRING.
742 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
744 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
745 first-prefix argument.
746 * tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
747 * NEWS: Document AS_HELP_STRING fix.
749 Autotest formatting touchups.
750 * lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
752 (PATH): Simplify computation of new PATH.
754 2007-09-26 Eric Blake <ebb9@byu.net>
756 Fix testsuite breakage in last patch.
757 * tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
759 * tests/torture.at (@%:@define header templates): Rename, so that
760 output lines up correctly.
762 More font-lock happiness.
763 * tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
766 2007-09-25 Eric Blake <ebb9@byu.net>
769 * lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
770 * lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
772 Improve documentation of M4 parameter expansion.
773 * doc/autoconf.texi (Quoting and Parameters): New section.
774 (Quotation and Nested Macros): Improve wording.
776 Improve C99 detection.
777 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
778 avoid deprecation warning with icc.
780 Reported by Ted Bullock.
782 2007-09-24 Jim Meyering <jim@meyering.net>
784 Whenever possible, use the vertical bar as sed delimiter.
785 * lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
787 * lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
788 [ac_dir_suffix]: Use "|", not "," as sed delimiter.
789 * tests/mktests.sh (as_me): Likewise.
790 * lib/freeze.mk (check-forbidden-patterns): Likewise.
791 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
792 * configure: Regenerate.
793 * doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
794 * lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
795 in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
796 This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
798 2007-09-22 Jim Meyering <jim@meyering.net>
801 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
802 2004-05-31 change also with a comment in the code.
804 2007-09-20 Eric Blake <ebb9@byu.net>
806 More contribution housekeeping.
808 * AUTHORS: Sort, reflect recent assignment from Helge Deller.
810 Ignore additional files, when copying cross-repository.
811 * .gitignore: Ignore CVS directories, emacs edits.
812 * .cvsignore: Ignore .git directory, emacs edits.
814 2007-09-15 Eric Blake <ebb9@byu.net>
816 Provide AC_VERSION, not m4_AUTOCONF_VERSION.
817 * doc/autoconf.texi (Text processing Macros): Remove mention of
818 m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
820 (Notices): Move AC_PREREQ...
821 (Versioning): ...to this new section, alongside the new AC_VERSION
822 alias for the undocumented m4_PACKAGE_VERSION.
823 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
824 * lib/autoconf/general.m4 (AC_VERSION): New macro.
825 * NEWS: Update to match this rename.
826 * tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
828 * tests/tools.at (autoconf: AC_VERSION): New test.
829 Suggested by Paolo Bonzini and Benoit Sigoure.
831 2007-09-14 Eric Blake <ebb9@byu.net>
833 Prepare for conversion to git.
834 * doc/.cvsignore: Avoid multiple listings on one line.
835 * bin/.cvsignore: Likewise.
836 * .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
837 lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
838 lib/autoscan/.gitignore, lib/autotest/.gitignore,
839 lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
840 tests/.gitignore: New files, identical to .cvsignore counterpart.
842 2007-09-13 Eric Blake <ebb9@byu.net>
845 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
847 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
848 * lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
849 * configure: Regenerate.
851 Clean up 'make dist' of previous patch.
852 * tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
853 (CLEANFILES): Don't clean the stamp, since we distribute the
854 generated files pre-built.
855 (MAINTAINERCLEANFILES): Clean it here instead.
856 * tests/Makefile.in: Regenerate.
858 Avoid parallel 'make check' issue.
859 * tests/Makefile.am (mktests.stamp): New witness.
860 (TESTSUITE_GENERATED_AT): Use it.
861 (CLEANFILES): Clean the witness.
862 * tests/.cvsignore (mktests.stamp): Ignore the witness.
864 Document another awk pitfall.
865 * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
866 limitation of field variables in END.
867 Reported by Gary V. Vaughan.
869 * AUTHORS: Add missing entries.
871 2007-09-12 Eric Blake <ebb9@byu.net>
873 Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
874 * doc/autoconf.texi (Text processing Macros): Document
875 m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
876 (Redefined M4 Macros): Document m4_ifndef.
877 * lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
878 can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
879 used it while it was undocumented.
880 * NEWS: Document this change.
881 * lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
882 * lib/m4sugar/Makefile.in: Regenerate.
883 * tests/m4sugar.at (m4@&t@_version_compare): New test.
884 Reported by Bruno Haible.
886 * doc/autoconf.texi (Generic Compiler Characteristics): Add
887 missing index entries.
889 2007-09-11 Eric Blake <ebb9@byu.net>
891 Centralize all system extensions checks.
892 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
893 from AC_AIX, AC_GNU_SOURCE, AC_MINIX. Add Interix support.
894 (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
895 AC_USE_SYSTEM_EXTENSIONS.
896 (AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
897 (AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
898 * doc/autoconf.texi (Posix Variants): Reword this section,
899 emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
900 rather than a series of system-specific checks.
901 (Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
903 * NEWS: Document this change.
905 Reported by Martin Koeppe.
907 2007-09-08 Eric Blake <ebb9@byu.net>
909 Clean up obsolete macros references.
910 * doc/autoconf.texi: Add anchors to support better
912 (Particular Structures): Move obsolete macros descriptions...
913 (External Software): Likewise.
914 (Package Options): Likewise.
915 (Obsolete Macros): ...to here. Add cross-references to
916 documentation on replacements.
917 * NEWS: Mention that these macros have been obsolete for a while
918 now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
920 Improve M4 path searching during configure.
921 * lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
923 (_AC_PATH_PROG_FEATURE_CHECK): Rename...
924 (_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
925 parameter, and kill side effects.
926 (_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
927 (_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
928 * m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
930 (AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
931 allow bootstrapping with autoconf 2.61.
932 * configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
933 * configure: Regenerate.
934 * doc/autoconf.texi (Generic Programs): Document new macro.
935 * tests/mktests.sh (au_exclude_script): Exclude auto-testing new
937 * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
938 * NEWS: Document the change.
940 Reported by Hans Aberg.
942 * doc/autoconf.texi (Generic Programs): Fix typo.
944 2007-09-06 Eric Blake <ebb9@byu.net>
946 * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
947 :, and make it clear that optional @var{path} defaults to $PATH.
948 (Erlang Compiler and Interpreter): Likewise.
951 * doc/autoconf.texi: Avoid lines > 80 columns when possible.
952 Reword some paragraphs to avoid overfull, underfull hbox
953 warnings. Add index entries to avoid overfull vbox warnings.
955 2007-09-05 Eric Blake <ebb9@byu.net>
957 * NEWS: Adjust wording for AC_CONFIG_LINKS.
958 Reported by Ralf Wildenhues.
960 2007-09-03 Eric Blake <ebb9@byu.net>
962 * NEWS: Document fixes that have been applied since 2.61a.
965 * THANKS: Update, and convert to UTF-8 encoding.
968 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
970 * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
971 names beginning with `-' again.
973 2007-08-22 Stepan Kasal <kasal@ucw.cz>
974 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
976 * doc/autoconf.texi (Defining Directories): Mention
977 AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
979 2007-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
981 * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
982 here, this macro is expanded by AC_INIT. Fixes 2.60 regression.
983 * tests/base.at (configure arguments): New test.
987 * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
988 arguments in comment.
989 Report by Vincent Torri <vtorri at univ minus evry dot fr>.
991 2007-08-20 Benoit Sigoure <tsuna@lrde.epita.fr>
993 * doc/autoconf.texi (File System Conventions): Index the proper
994 way of detecting absolute file names.
996 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
998 * build-aux/config.guess, build-aux/config.sub,
999 build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
1000 build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
1001 doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
1002 * doc/autoconf.texi (GNU Free Documentation License): Adjust for
1003 sectioning change in fdl.texi.
1005 * bin/autoconf.as: Update --version output to match current GCS.
1006 * bin/autoheader.in: Likewise.
1007 * bin/autom4te.in: Likewise.
1008 * bin/autoreconf.in: Likewise.
1009 * bin/autoscan.in: Likewise.
1010 * bin/autoupdate.in: Likewise.
1011 * bin/ifnames.in: Likewise.
1013 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1015 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
1016 file to itself if source and build trees coincide.
1017 * tests/torture.at (AC_CONFIG_LINKS and identical files): New
1019 Report by Sebastian Freundt <hroptatyr@gna.org>.
1021 2007-07-20 Paul Eggert <eggert@cs.ucla.edu>
1023 Reword the copyright notices to match what's suggested in GPLv3.
1024 In ChangeLog files, use more-permissive notice rather than GPL, as
1025 per usual GNU standards these days.
1027 2007-07-13 Paul Eggert <eggert@cs.ucla.edu>
1029 * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
1030 limitation reported by Leo Moisio in
1031 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
1033 2007-07-03 Paul Eggert <eggert@cs.ucla.edu>
1035 * COPYING: Update to GPLv3. All uses changed.
1037 2007-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1038 and Paul Eggert <eggert@cs.ucla.edu>
1040 * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
1043 2007-06-17 Noah Misch <noah@cs.caltech.edu>
1045 * lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
1046 * tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
1047 `srcdir' as subdirectory of `builddir'.
1049 2007-06-13 Noah Misch <noah@cs.caltech.edu>
1051 * lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
1052 * tests/autotest.at (srcdir propagation): New test.
1054 Reported by Mike Frysinger.
1056 2007-06-13 Paul Eggert <eggert@cs.ucla.edu>
1058 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
1059 Problem reported by Fred Kreek in
1060 <http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
1061 * doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
1062 (Macro Names, Defining Directories): Don't mention PATH as a name
1063 for a fully qualified file name, as this usage violates the GNU
1064 coding standards and we shouldn't recommend it.
1066 * lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
1067 string and then assume shell builtins like "test" will work.
1069 2007-06-12 Noah Misch <noah@cs.caltech.edu>
1071 * lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
1072 not a valid shell variable name.
1073 * tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
1074 * tests/torture.at (AC_SUBST: variable name validation): New test.
1075 Reported by Andreas Schwab.
1077 2007-06-04 Noah Misch <noah@cs.caltech.edu>
1079 * doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
1080 works with both C and C++.
1082 2007-06-03 Noah Misch <noah@cs.caltech.edu>,
1083 Bruno Haible <bruno@clisp.org>
1085 * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
1088 2007-05-31 Paul Eggert <eggert@cs.ucla.edu>
1090 * doc/autoconf.texi (Particular Types): Give example of use for
1093 2007-05-29 Stepan Kasal <kasal@ucw.cz>
1095 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
1097 2007-05-28 Paul Eggert <eggert@cs.ucla.edu>
1099 * doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
1100 define HAVE_INT8_T, and likewise for similar macros.
1101 Problem reported by Patrick Welche in
1102 <http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
1104 2007-05-25 Noah Misch <noah@cs.caltech.edu>
1106 * bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
1108 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
1110 * lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
1111 choice, since that's what we do with --enable-largefile etc.
1112 Redo indenting and assignments to simplify things a bit, and make
1113 the parens work with Emacs.
1115 * doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
1116 in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
1119 2007-05-21 Noah Misch <noah@cs.caltech.edu>
1121 * lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
1122 * tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
1124 2007-05-21 Bruno Haible <bruno@clisp.org>
1126 * NEWS: Rename AC_C_OPENMP to AC_OPENMP.
1127 * lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
1128 * doc/autoconf.texi (Generic Compiler Characteristics): Move
1129 renamed AC_OPENMP documentation here, from "C compiler".
1130 Mention C++ and Fortran.
1132 2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
1134 * doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
1136 2007-05-21 Bruno Haible <bruno@clisp.org>
1138 * NEWS: Mention AC_C_OPENMP.
1139 * lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
1140 * doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
1141 Based in part on Steven G. Johnson's investigations for the AX_OPENMP
1142 macro in the Autoconf macro archive.
1144 2007-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1146 * bin/autom4te.in: Fix typos.
1148 2007-05-16 Noah Misch <noah@cs.caltech.edu>
1150 * bin/autoconf.as: Handle `-' just like other input files.
1151 * bin/autom4te.in (parse_args): Pass `-' through.
1152 (handle_output): Skip the forbidden token search if we read from stdin.
1153 (up_to_date): Always treat stdin as out of date.
1154 * tests/tools.at (autoconf: input from stdin): New test.
1155 (autoconf: forbidden tokens, basic): Check a second `autoconf' run.
1157 2007-05-16 Stepan Kasal <kasal@ucw.cz>
1159 * tests/foreign.at tests/semantics.at, tests/tools.at: Remove
1160 parameters for AT_CLEANUP.
1161 * tests/local.at (AT_CHECK_AU_MACRO): Likewise.
1163 2007-05-14 Paul Eggert <eggert@cs.ucla.edu>
1165 * NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
1166 * doc/autoconf.texi (C Compiler): Likewise.
1168 2007-05-14 Noah Misch <noah@cs.caltech.edu>
1170 * lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
1172 2007-05-09 Stepan Kasal <kasal@ucw.cz>
1174 * doc/autoconf.texi: Direntry for "autoconf Invocation"
1175 renamed to "autoconf-invocation"
1177 * doc/autoconf.texi (Caching Results): The CACHE-ID variable
1178 in the examples should not use the internal "ac_" prefix.
1180 2007-05-05 Noah Misch <noah@cs.caltech.edu>
1182 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
1183 * doc/autoconf.texi ($@, case): Document Zsh limitations.
1185 2007-05-03 Stepan Kasal <kasal@ucw.cz>
1187 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
1188 Reorganize the comments before and in the macro.
1190 2007-05-02 Stepan Kasal <kasal@ucw.cz>
1192 * lib/autoconf/lang.m4, lib/autoconf/c.m4,
1193 lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
1194 section titles and other comments; no code change.
1196 2007-05-01 Kevin Ryde <user42@zip.com.au>
1198 * doc/autoconf.texi (Particular Programs): Typo
1199 @acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
1201 2007-04-30 Paul Eggert <eggert@cs.ucla.edu>
1203 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
1204 'configure' will fail if the shell lacks proper support for shell
1205 functions. Suggested by RMS.
1207 2007-04-29 Paul Eggert <eggert@cs.ucla.edu>
1209 * doc/autoconf.texi (Limitations of Builtins): Correct the warning
1210 about Solaris /bin/printf '%010000x' 123. Problem reported by
1213 2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
1215 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
1216 for a.* when searching for executables, as this prevents users
1217 from having files like a.c. Problem reported by Ralf Wildenhues in:
1218 http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
1219 This fixes a problem introduced on 2000-12-19.
1221 2007-04-26 Paul Eggert <eggert@cs.ucla.edu>
1223 * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
1224 /bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko
1227 2007-04-12 Paul Eggert <eggert@cs.ucla.edu>
1229 * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
1230 AC_CHECK_TYPE, AC_CHECK_TYPES.
1231 * doc/autoconf.texi (Generic types): C types must be type-names
1232 (the C terminology), not type-ids (the C++ term). C++ types
1233 must not be anonymous.
1234 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
1235 for C++; this drops support for anonymous struct and union types,
1236 which were problematic anyway.
1237 * tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
1240 2007-04-12 Jim Meyering <jim@meyering.net>
1242 * doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
1244 2007-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1246 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
1247 to prefer a link source from the build tree, if it exists.
1248 Report by Pallav Gupta <pallavgupta@gmail.com>.
1250 2007-04-11 Paul Eggert <eggert@cs.ucla.edu>
1252 * doc/autoconf.texi (Generic Types): Document the restrictions
1253 on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
1254 (Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
1255 with objects too. Document the restrictions on its use.
1256 Document the restrictions on AC_CHECK_ALIGNOF's type argument.
1257 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
1258 For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
1259 works but the latter doesn't, then it's a valid type.
1260 This lets people use function types and so forth.
1261 For C++ there doesn't seem to be a simple solution, so leave it alone.
1262 (AC_CHECK_SIZEOF): Allow argument to be a variable.
1263 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
1264 AC_CHECK_TYPE; that wasn't documented or necessary.
1266 2007-04-11 Stepan Kasal <kasal@ucw.cz>
1268 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
1269 when cross-compiling.
1271 2007-04-11 Stepan Kasal <kasal@ucw.cz>
1273 * doc/autoconf.texi (External Software): Fix a typo in the
1276 2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1278 * doc/autoconf.texi (External Software, Package Options):
1279 Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
1281 2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
1283 * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
1284 obsolescent. Suggested by Bruno Haible.
1285 * NEWS: Document this.
1287 2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
1289 * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
1290 (Limitations of Usual Tools): Don't say "older" if Solaris 10 by
1291 default still has the problem. Problem reported by Bruce Korb.
1293 2007-03-28 Stepan Kasal <kasal@ucw.cz>
1294 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1296 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
1297 comment in the generated config.status.
1299 2007-03-27 Stepan Kasal <kasal@ucw.cz>
1301 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
1303 2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
1305 * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
1306 command and case statements to make it a bit clearer and describe
1309 2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
1311 * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
1312 checks for unsigned long long int.
1314 2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
1316 * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
1317 nonstandard grep R.E. escape sequences.
1319 2007-03-17 Jim Meyering <jim@meyering.net>
1321 * doc/autoconf.texi: Adjust grammar around use of "heuristics".
1322 (Limitations of Usual Tools): Also list \< and \>, and mention that
1323 HP-UX's grep, like the one from Solaris, does not support that syntax.
1325 2007-03-09 Stepan Kasal <kasal@ucw.cz>
1327 * doc/autoconf.texi (Specifying Names): `--host' does not
1328 change the build type.
1330 2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
1332 * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
1333 suggests AC_CONFIG_HEADERS.
1334 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
1335 AC_CONFIG_HEADERS. Problem reported by
1338 2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
1340 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
1341 Problem reported by Paolo Bonzini in:
1342 http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
1343 * tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
1344 universal binaries. Problem reported by Elias Pipping.
1346 2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
1348 * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
1349 * doc/autoconf.texi (C Compiler): Document this. There is a new
1350 extra argument ACTION-IF-UNIVERSAL.
1351 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
1352 Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
1353 Reindent for sanity's sake.
1355 2007-02-24 Eric Blake <ebb9@byu.net>
1357 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
1359 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1360 * lib/autotest/general.m4 (AT_INIT): Likewise.
1361 (_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
1363 2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1365 * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
1366 status of rm so we know when it failed.
1367 If cleaning of test dir failed before running the test, warn.
1368 Output the line separator in verbose mode before the warning
1369 to make clear the warning belongs to the following test.
1371 2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
1373 * doc/autoconf.texi (Parentheses): Mention problem with (( in
1376 2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1377 and Paul Eggert <eggert@cs.ucla.edu>
1379 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
1380 errors introduced in last change.
1382 2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
1384 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
1385 an actual carriage return. Use "ac_cr" to contain the actual
1387 * doc/autoconf.texi (Limitations of Usual Tools): Document problem
1388 with traditional Awk and begin.
1389 * tests/torture.at (Limitations of Builtins): Document the problem
1390 with Bash 2.03 printf.
1391 (Substitute and define special characters):
1392 Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
1394 2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
1396 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
1397 input from /dev/null in awk test, so even Solaris /usr/bin/awk
1398 will not wait for input with a script containing only a BEGIN
1401 2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
1403 * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
1407 2007-02-02 Eric Blake <ebb9@byu.net>
1409 * NEWS: Update copyright.
1411 * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
1413 * configure.ac: Update error message.
1414 * NEWS: Note that M4 1.4.5 or later is now a hard dependency.
1415 Reported by Gary Vaughan and Jim Meyering, and problem analyzed
1417 http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
1419 2007-01-31 Eric Blake <ebb9@byu.net>
1421 * THANKS (people): Update.
1423 2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
1425 * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
1427 (Shell Substitutions): Note problems with @{var:=value} etc.
1428 Add a new section for problems with @{#var} etc. Problem noted
1429 by Ralf Wildenhues. See:
1430 http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
1432 2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1434 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
1435 AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
1436 trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
1437 substitution will still be done by the special code.
1438 Report by Jim Meyering.
1440 * doc/autoconf.texi (File System Conventions): Mention that
1441 $PATH_SEPARATOR is for the build system only.
1442 Report by Keith Marshall.
1444 2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1446 * doc/autoconf.texi (Setting Output Variables): Mention that
1447 all non-NUL characters are ok in substituted values.
1448 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
1449 (_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
1450 carriage return for $AWK, needed for BSD awk.
1451 * tests/torture.at (Substitute and define special characters):
1452 Test all 8 bit non-NUL characters.
1453 Report against Automake by Patrick Welche.
1455 2007-01-15 Stepan Kasal <kasal@ucw.cz>
1457 * doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
1459 2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1461 * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
1462 early on the reader side, drop stderr of the input to avoid
1463 `broken pipe' error output; this may happen even with shell
1464 builtin `echo' of some bash versions. Reports by Ian Macdonald
1465 <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
1467 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1469 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
1470 separate items of `ac_user_opts', to avoid long lines.
1471 (_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
1473 2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1475 * doc/autoconf.texi: Fix some typos.
1477 2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
1479 Fix some wording problems noted by Paolo Bonzini in:
1480 http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
1481 * doc/autoconf.texi (Signed Overflow Examples): Give more
1482 discussion about the allow_superuser_privileges example,
1483 and change it a bit to make things clearer.
1484 (Optimization and Wraparound): Clarify whether the compiler
1485 will generate an infinite loop for the example derived from
1486 Autoconf's mktime test.
1487 (Signed Overflow Advice): Say that -ftrapv is meant for debugging.
1488 Also, clarify unsigned multiplication overflow.
1490 2007-01-04 Eric Blake <ebb9@byu.net>
1492 * bin/Makefile.am (RELEASE_YEAR): New macro.
1493 (edit): Use it to supply correct copyright year to scripts.
1494 * bin/autoconf.as (version): Use it.
1495 * bin/autoheader.in ($version): Likewise.
1496 * bin/autom4te.in ($version): Likewise.
1497 * bin/autoreconf.in ($version): Likewise.
1498 * bin/autoscan.in ($version): Likewise.
1499 * bin/autoupdate.in ($version): Likewise.
1500 * bin/ifnames.in ($version): Likewise.
1502 2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
1504 * doc/autoconf.texi (Integer Overflow): Revised based on today's
1505 feedback. The most important changes document what happens when
1506 you convert an out-of-range value to a signed integer type, and
1507 say that (sum < a) != (b < 0) reliably detects overflow when sum =
1510 * doc/autoconf.texi (Integer Overflow): Greatly expand and
1511 rewrite, taking notions from the recent discussion on the gcc and
1512 autoconf mailing lists; please see
1513 http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
1514 and follow the many links.
1515 (Integer Overflow Basics, Signed Overflow Examples):
1516 (Optimization and Wraparound, Signed Overflow Advice):
1517 (Signed Integer Division): New sections.
1519 2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
1521 * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
1522 preprocessor macro arguments in traced name.
1523 * doc/autoconf.texi (Defining symbols): Document longstanding
1524 support for AC_DEFINE-ing macros with arguments, and document
1525 behavior when the same variable has multiple AC_DEFINEs.
1526 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
1527 old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
1528 macros directly, giving much shorter and simpler code.
1530 2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
1532 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
1533 space before "$ac_configure_args" to prevent a 'config.status
1534 --recheck' failure if ac_configure_args doesn't contain a leading
1535 space. This works around a problem with the XEmacs configure.ac,
1536 which uses the (undocumented) ac_configure_args variable
1537 inconsistently with Autoconf.
1539 2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
1541 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
1542 Include <limits.h>, and use its INT_MAX to rewrite the
1543 j loop so that it does not overflow 'int'. Problem reported by
1545 <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
1546 Play it safe by shifting left by 1 rather than multiplying by 2,
1547 as GCC is less likely to optimize this away when the value
1548 is signed (when it assumes overflow leads to undefined behavior).
1549 Also, don't assume time_t uses two's complement.
1551 2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1553 * tests/torture.at (Substitute a 2000-byte string): Avoid using
1554 a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
1555 dumps core on it. Report by Tim Rice.
1557 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
1559 * lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
1560 --disable-option-checking to --help output even when
1561 AC_PRESERVE_HELP_ORDER is not used.
1562 (_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
1563 --with argument, rather than argument with [-.] replaced by
1565 * NEWS: Fix typo in previous change; the news was in the
1568 2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
1570 * NEWS: Warnings are now generated by default for unknown
1571 --enable-* and --with-* options.
1572 * doc/autoconf.texi (Option Checking): Renamed from
1573 (Configure Option Checking). Tighten up the wording a bit.
1574 (External Software, Package Options): Cross-reference to Option
1575 Checking, and use this to shorten our section.
1576 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
1577 "$x" to test "x$foo" != x.
1578 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
1579 Don't warn if $enable_option_checking is "no".
1580 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
1581 ac_unrecognized_opts to the empty string.
1582 Don't echo the unrecognized opts, as this might mishandle
1583 backslashes or leading -.
1584 (AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
1585 usage next to the other --disable-FEATURE options in the
1588 2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
1590 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
1591 (_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
1592 Print warning for unrecognized --with and --enable options
1593 (AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
1594 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
1595 Disable option checking when subdirs are configured.
1596 (AC_OUTPUT): If warnings are enabled, print warning about
1597 unrecognized --with and --enable options at the end of
1598 the configure output (as well as at the beginning).
1599 * doc/autoconf.texi (Option Checking): New node.
1600 Document new option warning functionality.
1602 2006-12-16 Eric Blake <ebb9@byu.net>
1604 * configure.ac (AC_INIT): Bump version, since 2.61a is released.
1605 * NEWS: Start news for current version.
1607 2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
1609 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
1610 Define HAVE_GETMNTENT to 1, not to the empty string.
1611 Problem originally reported by Jochen Friedrich in
1612 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
1614 This change prompted by a problem report by Andrey Simonenko in
1615 <http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
1616 * doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
1617 object-like macros only, in the traditional portable character
1619 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
1620 Warn about attempts to define things that are not identifiers.
1621 * lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
1622 awful hack that AC_DEFINEd macro names containing parentheses.
1624 2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
1626 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
1627 too drastic, even if Texinfo in theory requires it for info mode.
1629 (config.status Invocation): Renamed back from Recreating a
1631 (Obsolete config.status Use): Renamed back from Obsolete Recreation.
1632 (Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
1634 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
1636 * NEWS: Version 2.61a.
1638 2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
1639 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1641 * NEWS: Document changes with echo and printf, and the lack
1642 of limits on the total size of multi-line values of substituted
1643 variables, and the AC_FUNC_FSEEKO fix.
1645 2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
1647 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
1648 Writing configure.ac.
1649 (Autoconf Input Layout): Renamed from configure.ac Layout.
1650 (Recreating a Configuration): Renamed from config.status Invocation.
1651 (Obsolete Recreation): Renamed from Obsolete config.status Use.
1652 (acconfig Header): Renamed from acconfig.h.
1653 (20th-century Autoconf 2): Renamed from Autoconf 2.13.
1654 (Writing Testsuites): Renamed from Writing testsuite.at.
1655 (Autom4te Cache): Renamed from autom4te.cache.
1657 * BUGS: Remove mention of VPATH problem, since it's now documented
1658 not to be a bug in the Autoconf build procedure itself, but rather
1659 a problem with the proprietary `make' programs.
1661 * doc/autoconf.texi (Build Directories): Add a cross reference
1664 * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
1665 * doc/standards.texi: Sync from gnulib.
1667 * man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
1668 * man/autoscan.1, man/autoupdate.1, man/config.guess.1:
1669 * man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
1670 generated automatically.
1672 2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
1674 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
1675 C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
1676 the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
1678 2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1680 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
1681 `CEOF$ac_eof' special marker, the awk script cannot contain a
1682 line matching `^CEOF', so this is not needed any more.
1683 * tests/torture.at (Substitute a newline): Expose the `%!_!# '
1684 special marker in the test.
1686 2006-12-06 Stepan Kasal <kasal@ucw.cz>
1688 * tests/tools.at (autom4te preselections): Use `find -newer';
1689 remove one of the sleeps.
1691 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
1692 more readable, using ...
1693 (_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
1695 * doc/autoconf.texi (autoheader Invocation): Do not double-
1696 quote the parameter of `AH_BOTTOM' in the example.
1698 2006-12-05 Stepan Kasal <kasal@ucw.cz>
1700 * doc/autoconf.texi (Configuration Headers): Remove the
1701 example with multiple input files.
1702 (autoheader Invocation): Encourage `AH_BOTTOM', discouraging
1703 multiple input files.
1705 2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1707 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
1708 creating the awk substitution script, handle one input line at a
1709 time, so that the maximum length of a substituted (multi-line)
1710 value is not limited by the size of the sed pattern space.
1711 The trade-off is a slightly repetitive sed script.
1712 * doc/autoconf.texi (Limitations of Usual Tools): Branch labels
1713 can only have up to 7 characters, due to Solaris 10 /bin/sed.
1714 * tests/torture.at (Substitute a 2000-byte string): Increase the
1715 test with several long lines, they should not be caught by sed
1718 * tests/tools.at (autom4te preselections): New test, to flag
1719 entries missing from autom4te.cfg.
1720 Report by David Byron <dbyron@hheld.com>.
1722 * tests/torture.at (Substitute a 2000-byte string): Actually use
1723 AC_PROG_AWK, so the last change works as intended.
1724 (Substitute and define special characters): Likewise.
1725 (Substitute a newline): Likewise.
1727 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
1728 instead of `awk' consistently.
1729 (_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
1730 * tests/torture.at (Torturing config.status): Test both the
1731 result of AC_PROG_AWK and plain awk.
1732 (Substitute a 2000-byte string): Likewise.
1733 (Substitute and define special characters): Likewise.
1734 (Substitute a newline): Likewise.
1736 2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
1738 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
1739 can be assigned to a function pointer. Problem reported by
1740 Peter Palfrader in <http://bugs.debian.org/401377>. Based on
1741 part of a patch by Ralf Wildenhues in that same bug report.
1743 2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
1745 * tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
1746 * tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
1748 2006-12-01 Eric Blake <ebb9@byu.net>
1750 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
1751 cross-compiling from cygwin to mingw.
1752 Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
1753 aclang.m4, which was mistakenly removed in the 2001-09-17 patch
1754 to lib/autoconf/c.m4.
1756 2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1758 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
1759 string for more reliable failure. Wrap the entire test that
1760 causes the broken Solaris printf to dump core, in a subshell,
1761 so the segmentation fault message is reliably suppressed.
1762 Fix shell expansion errors by using /usr/ucb/echo always;
1763 avoid an error on systems without it by another subshell.
1764 Avoid m4 expansion of `$1'. Set the zeroth argument of the
1765 subshell-$as_echo to `as_echo', for better error message.
1767 2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1769 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
1770 `BASH_SOURCE' contain a newline, set them to empty, as they may
1773 2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
1775 Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
1776 years and is too hard to maintain now. The last straw was
1777 reported by Jerker Baeck in
1778 <http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
1779 * NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
1780 * doc/autoconf.texi (Particular Functions): Move
1781 AC_FUNC_SETVBUF_REVERSED from here...
1782 (Obsolete Macros): ... to here. Say that it does nothing now.
1783 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
1784 Turn into (almost) a no-op.
1786 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
1788 Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
1789 These macros are obsolescent and new applications shouldn't need them.
1790 * lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
1791 (AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
1792 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
1793 (AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1794 (AC_FUNC_VPRINTF): Likewise.
1795 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
1796 (AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
1797 * lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
1799 * doc/autoconf.texi (Setting Output Variables): Mention that
1800 @VAR1@VAR2 has unspecified behavior. Problem reported by
1802 * NEWS: Mention this.
1804 * Makefile.am: Put only a single '#' into the copyright notice,
1805 so that it's also present in the output file. Standardize wording
1806 in makefile copyright notices to match GNU coding standards.
1807 * bin/Makefile.am: Likewise.
1808 * doc/Makefile.am: Likewise.
1809 * lib/Makefile.am: Likewise.
1810 * lib/freeze.mk: Likewise.
1811 * lib/autoconf/Makefile.am: Likewise.
1812 * lib/autoscan/Makefile.am: Likewise.
1813 * lib/autotest/Makefile.am: Likewise.
1814 * lib/m4sugar/Makefile.am: Likewise.
1815 * man/Makefile.am: Likewise.
1816 * tests/Makefile.am: Likewise.
1817 * lib/emacs/Makefile.am: Remove copyright notice; it's just a
1820 2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1822 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
1823 in the sed script that mangles the awk script: delete up to the
1824 first exclamation mark only.
1825 * tests/torture.at (Substitute and define special characters):
1828 2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1830 Rewrite config files generation: avoid quadratic growth in
1831 the number of substituted variables by using awk instead of sed
1832 for the bulk of the substitutions.
1833 * NEWS: Mention this.
1834 * doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
1835 forbidden in the output (and thus input) file.
1836 * lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
1837 (_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
1838 generate just one large awk script for substitutions,
1839 eliminating much of the earlier complexity, while adding some
1840 new complexity. Only expand the substitution templates at
1841 configure time, for smaller configure script size. If
1842 _AC_SUBST_FILES are used, test 'awk' for working getline support
1843 at config.status time. If absent, interpolate through the
1844 shell. The awk script was written with much help
1845 from Paolo Bonzini and Paul Eggert.
1846 (_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
1847 (_AC_SED_FRAG_NUM): Likewise.
1848 (_AC_SUBST_CMDS): Renamed from...
1849 (_AC_SED_CMDS): ...this.
1850 (_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
1851 * tests/torture.at (Substitute a 2000-byte string): Also
1852 substitute a line with 1000 words, and a variable with several
1854 (Substitute and define special characters): Test awk special
1855 characters, and put substitution input strings `@foo@' in the
1856 output, to test that no recursion happens; test several other
1857 combinations from Paolo Bonzini.
1859 2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
1861 * lib/autotest/general.m4 (AT_INIT): Undo recent changes
1862 that replaced echo with AS_ECHO where this wasn't necessary.
1863 Problem reportd by Ralf Wildenhues.
1864 * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
1865 where "/usr/bin/printf '%s\n' S" dumps core if S is long.
1866 This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
1868 2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1870 * lib/freeze.mk (GREP): Removed, no need to initialize this.
1872 2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
1874 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
1875 that traditional Awk lacks 3-arg "split". It has it.
1876 Mention that FS must be a single character, and a few other
1877 99-byte limits of traditional Awk.
1878 Mention that if (i in a) doesn't work with traditional Awk.
1880 2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
1882 * tests/autotest.at (BSx641-newline in command):
1883 (BS-BS-newline in command, BSx640-newline in command):
1884 (Newline-CODE-BS-newline in command):
1885 (Single-quote-BS-newline in command):
1886 (Single-quote-newline-BS-newline in command):
1887 Use printf '%s\n' instead of echo, for portability to hosts
1888 where echo interprets backslashes. This will break on hosts
1889 that lack printf, but for now let's assume all such hosts
1890 are dead (if not, we should get reports of test failures).
1892 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
1894 'echo' has some portability problems, when given a first argument
1895 with a leading '-', or when given any argument containing '\'.
1896 Avoid using 'echo' in these cases.
1897 * bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
1898 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
1899 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1900 * lib/autotest/general.m4 (AT_INIT): Likewise.
1901 * bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
1902 argument might be unportable.
1903 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
1904 * lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
1905 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
1906 (_AC_FC_LIBRARY_LDFLAGS): Likewise.
1907 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
1908 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
1909 (_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
1910 (AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
1911 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1912 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
1913 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
1914 (AC_PROG_MAKE_SET): Likewise.
1915 * lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
1916 (_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
1917 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
1918 (AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
1919 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
1920 (_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
1921 (AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
1922 * bin/autoconf.as: Redo verbose flag implementation, as the old
1923 scheme wouldn't work with AS_ECHO.
1924 * lib/autotest/general.m4 (AT_INIT): Likewise.
1925 * lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
1926 Don't use ECHO_T, since ECHO_N is now reliable.
1927 * lib/autotest/general.m4 (AT_INIT): Likewise.
1928 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
1929 rather than using a here-document to put the script into a file.
1930 (_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
1932 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
1933 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
1934 AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
1935 bug, but we might as well stop using ECHO_N and ECHO_C internally.
1936 * lib/autotest/general.m4 (AT_SETUP): Likewise.
1937 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
1938 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
1939 (_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
1940 operand, as AS_ECHO requires. Avoid double file name expansion.
1941 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
1942 Don't set as_nl, since _AS_ECHO_PREPARE does that now.
1943 (_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
1944 (AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
1945 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1946 Double-quote strings that would otherwise contain M4 comments.
1947 * tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
1949 * configure.ac (AC_INIT): Bump to 2.61a.
1952 2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
1956 * configure.ac (AC_INIT): Bump to 2.61.
1959 * tests/autotest.at (Macro with backslash in a test title):
1960 Comment out for now, as this tests neither fails nor passes
1961 reliably. Problem reported by Ralf Wildenhues.
1963 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
1965 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
1966 in previous change, which caused test failures.
1968 2006-11-16 Stepan Kasal <kasal@ucw.cz>
1970 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
1971 code for --enable, --disable, --with, and --without to...
1972 (_AC_INIT_PARSE_ENABLE): ... a new macro.
1973 * doc/autoconf.texi (Package Options):
1974 * NEWS: Document that AC_ARG_ENABLE allows dots, too.
1976 2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
1978 Import these changes from config via gnulib:
1980 2006-11-15 Ben Elliston <bje@gnu.org>
1982 From Josselin Mouette <joss@debian.org>:
1983 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
1985 2006-11-08 Ben Elliston <bje@gnu.org>
1987 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
1989 2006-11-07 Steve Woodford <scw@NetBSD.org>
1990 Ben Elliston <bje@gnu.org>
1992 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
1993 * build-aux/config.sub (sh5el): New basic_machine.
1996 Import this change from coreutils:
1998 2006-02-13 Jim Meyering <jim@meyering.net>
2000 * GNUmakefile (all): Emit diagnostics to stderr, not stdout.
2003 Import this change from gnustandards via gnulib:
2005 2006-11-15 Karl Berry <karl@gnu.org>
2007 * standards.texi: core -> memory, throughout.
2008 (CPU Portability): show correct example of calling write
2009 on a char value; thanks to Paul Eggert for the code.
2010 Both of these suggestions from Eugene Y. Vasserman.
2013 Import these changes from texinfo via gnulib:
2015 2006-11-08 Karl Berry <karl@gnu.org>
2017 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
2018 as well as pdf images, since they are supported in pdftex with
2021 2006-11-05 Karl Berry <karl@gnu.org>
2023 * doc/texinfo.tex (Image Syntax): don't mention GIF any more.
2025 2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
2027 * NEWS: Document the AC_ARG_WITH change.
2029 2006-11-13 Bruno Haible <bruno@clisp.org>
2031 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
2032 options, transliterate also dots to underscores.
2033 (_AC_ENABLE_IF): Transliterate also dots to underscores.
2034 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
2035 first argument may also contain dots.
2037 2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
2039 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
2040 benefit of platforms like Solaris+GCC where it is common to have a
2041 non-working g++ installation.
2043 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2044 and Joel E. Denny <jdenny@ces.clemson.edu>
2045 and Paul Eggert <eggert@cs.ucla.edu>
2047 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
2048 and non-portable sed scripts, and use $CONFIG_SHELL when invoking
2051 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
2053 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
2054 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
2055 Imported from a similar patch to gnulib by Bruno Haible.
2057 2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
2059 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
2060 * doc/autoconf.texi (C Compiler): Document them.
2061 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
2062 New macros, taken from gnulib.
2064 2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
2066 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
2067 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
2070 2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2072 * tests/torture.at (Configuring subdirectories): Do not skip
2073 Automake 1.10 nor future Automake 11.1 (sic).
2075 2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
2076 and Stepan Kasal <kasal@ucw.cz>
2078 Handle special characters in test case titles correctly.
2079 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
2081 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
2082 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
2083 argument. Extend to check titles printed by ./micro-suite and
2084 ./micro-suite -l and the title in micro-suite.log.
2085 (Backquote in a test title,
2086 Single-quote in a test title,
2087 Double-quote in a test title): Don't expect failure anymore.
2088 (Backslash in a test title): Put a non-whitespace character after the
2089 backslash so that Bourne shells might actually see it as an escape
2091 (Brackets in a test title,
2092 Pound in a test title,
2093 Comma in a test title,
2094 Quoted Macro in a test title,
2095 Macro in a test title,
2096 Macro with single-quote in a test title): New tests.
2097 (Macro with backquote in a test title,
2098 Macro with double-quote in a test title,
2099 Macro with backslash in a test title): New tests expected to fail.
2100 * tests/torture.at (#define header templates): M4-quote this title in
2101 AT_SETUP call so that no M4 code is commented inadvertently somewhere.
2102 The visible effect was a stray [] in the testsuite output.
2104 2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2106 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
2107 `trap ... 0' inside a function, for AIX sh.
2109 2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
2111 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
2112 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
2113 5363) simply issues a warning when dividing by zero at compile
2114 time. Problem reported by Elias Pipping.
2116 2006-10-26 Eric Blake <ebb9@byu.net>
2119 * doc/autoconf.texi (Evaluation Macros): Improve the example to
2120 show effect on macros that expand with commas.
2121 Reported by Joel E. Denny.
2123 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2124 Also work with M4 1.4.8.
2126 2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
2128 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
2131 2006-10-25 Stepan Kasal <kasal@ucw.cz>
2133 * tests/tools.at (autom4te --force): New test, verifies that
2134 `--force' always rewrites the output file.
2136 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
2138 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
2139 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
2141 2006-10-24 Stepan Kasal <kasal@ucw.cz>
2143 * tools/trace.at (autoconf --trace: user macros): Test `$%'.
2145 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
2147 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2148 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
2149 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
2150 reported by Nelson H. F. Beebe for Coreutils 6.4.
2152 * tests/tools.at (autoconf --trace: user macros): Remove test
2153 for tracing multiline macros, since m4 1.4.7a uses a different
2154 way to number lines. Problem reported by Ralf Wildenhues.
2156 2006-10-24 Stepan Kasal <kasal@ucw.cz>
2158 * bin/autom4te.in (handle_m4): Do not redirect stdin to
2159 /dev/null since the heuristics for interactive behaviour was
2162 * bin/autom4te.in: With --force, always refresh the output
2163 file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
2165 * bin/autoconf.as: Fix the verbose message at the end.
2167 2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
2169 * configure.ac (AC_INIT): Bump to 2.60c.
2172 2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
2174 * NEWS: Version 2.60b.
2176 Import this change from Texinfo:
2177 2006-10-15 Karl Berry <karl@gnu.org>
2178 * build-aux/texinfo.tex: automake 1.10
2180 * NEWS: Remove AC_CACHE_CHECK_INT.
2181 * doc/autoconf.texi (Caching Results): Likewise.
2182 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
2183 AC_CACHE_CHECK_INT, since it's no longer public.
2184 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
2185 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
2187 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2189 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
2191 2006-10-19 Eric Blake <ebb9@byu.net>
2193 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
2194 (m4_maketemp): Avoid warnings with M4 1.9a.
2195 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
2197 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
2200 2006-10-16 Eric Blake <ebb9@byu.net>
2202 * doc/autoconf.texi (Setting Output Variables): Fix typo.
2204 * bin/autoconf.as (version): Reword to match GNU Coding
2206 * bin/autoheader.in (version): Likewise.
2207 * bin/autom4te.in (version): Likewise.
2208 * bin/autoreconf.in (version): Likewise.
2209 * bin/autoscan.in (version): Likewise.
2210 * bin/autoupdate.in (version): Likewise.
2211 * bin/ifnames.in (version): Likewise.
2213 2006-10-14 Stepan Kasal <kasal@ucw.cz>
2215 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
2216 looking for special shell characters.
2217 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
2218 macro defined by AS_VAR_PUSHDEF before passing it as a
2220 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
2221 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
2222 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
2223 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
2224 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
2226 * lib/autotest/general.m4 (AT_INIT): Quote parameters of
2228 * tests/m4sh.at (AS_LITERAL_IF): New test.
2230 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
2232 (Imported from Automake.)
2233 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
2234 which incorrectly sets the mode of an existing destination
2235 directory. In some cases the unpatched install-sh could do the
2236 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
2237 system. We hope this is rare in practice, but it's clearly worth
2238 fixing. Problem reported by Alex Unleashed in
2239 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
2240 Also, don't bother to check for -m bugs unless we're using -m;
2241 suggested by Stepan Kasal.
2243 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
2245 Import this change from Automake:
2247 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
2248 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
2249 is enabled by default with gnu and gnits strictness.
2250 Report from Bruno Haible.
2252 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
2253 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
2254 gnu and gnits modes.
2256 Import this change from Config:
2258 2006-09-20 Ben Elliston <bje@gnu.org>
2259 * build-aux/config.sub (score, score-*): New.
2261 Import this change from Gnulib:
2263 2006-09-16 Karl Berry <karl@gnu.org>
2264 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
2265 to avoid sectioning errors.
2267 Import these changes from Texinfo:
2269 2006-10-04 Karl Berry <karl@gnu.org>
2270 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
2271 (\quoteexpand): rename to \rquoteexpand.
2272 (\codequoteleft): new def, to look for @set codequotebacktick.
2273 (\lquoteexpand, \quoteexpand): new defs.
2274 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
2275 (\code): must use new \...Char values, since now ` is active.
2277 2006-08-26 Karl Berry <karl@gnu.org>
2278 * build-aux/texinfo.tex (\textdegree): New command.
2280 2006-08-12 Karl Berry <karl@gnu.org>
2281 * build-aux/texinfo.tex (error \box0): smaller font.
2283 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2285 * doc/autoconf.texi (Autoheader Macros): Fix syntax error.
2287 2006-10-13 Stepan Kasal <kasal@ucw.cz>
2289 * doc/autoconf.texi (Autoheader Macros): Warn that the text
2290 added to the template can get mangled.
2292 2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2294 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
2295 include the default headers, and redefine obstack_chunk_alloc
2296 and obstack_chunk_free. Fixes false failure with glibc.
2298 2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
2300 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
2301 for backward compatibility with Libtool 1.5.22. Problem reported
2304 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2306 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
2308 Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
2310 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
2312 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
2313 the NonStop platform.
2314 * doc/autoconf.texi (Posix Variants): Likewise.
2315 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
2317 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
2318 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
2319 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
2320 Use a better substitute, by inspecting the output of "ls"
2321 rather than just using ":".
2322 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
2323 rather than AS_EXECUTABLE_P, since we needn't worry about
2324 non-regular files here.
2326 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
2327 due to configuration hassles with this. See Tonya Underwood's report
2328 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
2329 * doc/autoconf.texi (Special Shell Variables): Likewise.
2331 2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
2332 Stepan Kasal <kasal@ucw.cz>
2334 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
2335 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
2337 2006-10-11 Stepan Kasal <kasal@ucw.cz>
2339 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
2340 initialization which is not inherited through the environment
2341 (_AS_BOURNE_COMPATIBLE): ... to this new macro.
2342 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
2344 2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
2346 * doc/autoconf.texi (Limitations of Usual Tools): Describe
2347 problems with mkdir -p -m.
2349 2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
2351 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
2352 comment about ac_cpp_err; it was incorrect, and anyway
2353 ac_cpp_err is being removed below.
2354 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
2355 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
2356 are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
2358 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
2359 with werror_flag and conftest.err and so forth. This is more
2360 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
2361 and anyway the user shouldn't normally want to see this gorp logged.
2362 Problem reported by Ralf Wildenhues.
2363 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
2364 empty, not 'no', since the rest of the code uses 'test -z'.
2366 2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
2368 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
2369 Use a single call to AC_DO_TOKENS rather than multiple, for
2371 (_AC_LINK_IFELSE): Test that resulting file is executable.
2372 Problem reported by mwoehlke in
2373 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
2375 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
2376 than creating a file to use with test -x; this is much faster.
2378 2006-10-02 Bruno Haible <bruno@clisp.org>
2380 * lib/autom4te.in (Automake-preselections): Add
2381 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
2383 2006-09-27 Stepan Kasal <kasal@ucw.cz>
2385 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
2386 standard error, `experr' should be used, not `expout'.
2388 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
2390 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
2391 fseeko testing program twice; just use the earlier result.
2392 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
2393 Set cache var to 'unknown' (not 'no') if leaving the macro unset
2394 still doesn't let the program compile.
2395 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
2398 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
2399 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
2400 include it, without including anything else.
2401 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
2403 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
2405 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2407 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
2408 `error.h', and include it, for a `error_at_line' prototype.
2409 Use a nonempty format string in the link test.
2410 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
2411 for a declaration of wait3.
2413 2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
2415 * NEWS: AC_CHECK_DECL now also works with aggregate objects.
2416 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
2417 can apply to constants too, and that it checks for macro defns.
2418 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
2419 and simply cast the identifier to void. This handles structure
2420 values. Problem reported by Ralf Wildenhues.
2421 * tests/semantics.at (AC_CHECK_DECLS): Also check enums.
2423 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2425 * tests/semantics.at (AC_CHECK_DECLS): Also check macros,
2426 structure, and function symbols.
2428 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2430 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
2433 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
2435 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
2437 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2439 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
2440 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2442 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
2443 warnings (uninitialized value).
2444 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
2446 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
2448 (AC_STRUCT_TM): Likewise, avoid unused variables.
2450 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2452 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
2453 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
2454 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
2455 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
2456 Report by Olly Betts.
2458 2006-09-19 Eric Blake <ebb9@byu.net>
2460 * m4/m4.m4: Change copyright.
2461 * configure: Regenerate.
2462 * Makefile.in: Likewise.
2463 * bin/Makefile.in: Likewise.
2464 * doc/Makefile.in: Likewise.
2465 * lib/Makefile.in: Likewise.
2466 * lib/Autom4te/Makefile.in: Likewise.
2467 * lib/autoconf/Makefile.in: Likewise.
2468 * lib/autoscan/Makefile.in: Likewise.
2469 * lib/autotest/Makefile.in: Likewise.
2470 * lib/emacs/Makefile.in: Likewise.
2471 * lib/m4sugar/Makefile.in: Likewise.
2472 * man/Makefile.in: Likewise.
2473 * tests/Makefile.in: Likewise.
2475 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
2476 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
2477 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
2478 --error-output, to avoid warnings with M4 2.0.
2480 2006-09-19 Stepan Kasal <kasal@ucw.cz>
2482 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
2483 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
2484 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
2486 2006-09-15 Stepan Kasal <kasal@ucw.cz>
2488 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
2489 expansion of AC_CHECK_FUNCS.
2491 2006-09-14 Stepan Kasal <kasal@ucw.cz>
2493 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
2494 mistaken comment: the path has to be relative; do not use
2495 the path at runtime.
2497 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2499 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
2500 argument to `--prefix' for sub-configure scripts.
2501 Pass `--silent' to sub-configure scripts.
2502 * tests/torture.at (Configuring subdirectories): Add tests
2504 * doc/autoconf.texi (Setting Output Variables): Fix example to
2505 not show `--silent' being passed to a `configure' re-run.
2507 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
2509 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
2510 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
2511 for the existence of the directory at configure-time. That's
2512 too late, anyway. Problem reported by Stefan Seefeld.
2514 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
2515 7.1.4 /usr/bin/posix/sh described by Tim Rice in
2516 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
2518 2006-09-11 Stepan Kasal <kasal@ucw.cz>
2520 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
2521 works with GNU M4 1.4.3 again; make the normalized form
2522 match the current m4 message; fix the description.
2523 * test/tools.at (autom4te cache): Adapt to the change.
2525 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
2527 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
2528 to catch glibc bug 2821
2529 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
2531 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
2532 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
2533 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
2536 2006-09-08 Stepan Kasal <kasal@ucw.cz>
2538 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
2540 (Autoconf): ... here.
2541 (Autoscan-preselections): Delete.
2543 2006-09-07 Stepan Kasal <kasal@ucw.cz>
2545 * lib/autom4te.in (Automake-preselections): Preselect
2548 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
2550 * doc/autoconf.texi (Preset Output Variables): srcdir and
2551 top_srcdir are not necessarily relative. Problem reported
2554 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2556 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
2557 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
2558 accept files with extension `.f'. For consistency, also prefer
2560 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
2563 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
2565 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
2566 of ERLANG_LIB_VER_* variables.
2567 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
2570 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
2571 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2573 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
2574 bugs of Bash 2.01 and 2.05a.
2575 (Fortran Compiler): Document that AC_PROG_CC should be called
2576 before AC_PROG_FC, due to a bug in Autoconf.
2578 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
2580 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
2581 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
2582 except the first two arguments are reversed.
2583 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
2584 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
2585 caches nor outputs a diagnostic. Suggested by Bruno Haible.
2586 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
2587 equivalent to the old AC_COMPUTE_INT.
2588 (AC_COMPUTE_INT): No longer caches or reports. New signature.
2589 All uses changed to AC_CACHE_CHECK_INT.
2590 * tests/base.at (AC_CACHE_CHECK_INT): New test.
2591 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
2593 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
2595 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
2596 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
2597 programs should use their Gnulib counterparts.
2598 * doc/autoconf.texi (Particular Functions): Likewise.
2599 (Macro Names, testsuite Invocation): Replace uses of these
2600 obsolete macros with uses of non-obsolete macros.
2602 2006-08-29 Eric Blake <ebb9@byu.net>
2604 * configure.ac (AC_INIT): Bump to 2.60b.
2607 2006-08-28 Eric Blake <ebb9@byu.net>
2609 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
2610 mistakenly swapped on 2006-08-15.
2612 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
2614 * NEWS: Version 2.60a.
2616 2006-08-25 Stepan Kasal <kasal@ucw.cz>
2618 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
2619 file created by the PGI compiler.
2621 2006-08-25 Noah Misch <noah@cs.caltech.edu>
2623 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
2626 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
2628 Fix Lex library problem reported to us by Julio Garvia.
2629 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
2630 for the default, which the user can override.
2631 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
2633 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
2634 didn't work if some values were cached but not others. Test for
2635 broken lex libraries like native ia64-hp-hpux11.22; see
2636 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
2637 work around the problem by preferring an empty LEXLIB to -lfl or
2638 -ll. Let the user set LEXLIB='' to indicate no library needed.
2640 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
2642 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2644 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
2646 Rework to use more-modern build style.
2647 Many files are renamed; all uses of their names were changed.
2648 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
2649 * .x-sc_useless_cpp_parens: New file.
2650 * build-aux/config.guess: Renamed from config/config.guess. Update.
2651 * build-aux/config.sub: Renamed from config/config.sub. Update.
2652 * build-aux/elisp-comp: Renamed from config/elisp-comp.
2653 * build-aux/install-sh: Renamed from config/install-sh. Update.
2654 * build-aux/mdate-sh: Renamed from config/mdate-sh.
2655 * build-aux/missing: Renamed from config/missing.
2656 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
2657 * build-aux/vc-list-files: Renamed from config/vc-list-files.
2658 * config/Makefile.am: Removed.
2659 * config/mkinstalldirs: Removed.
2660 * config/move-if-change: Removed.
2661 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
2662 * Makefile.am (SUBDIRS): Remove config.
2663 (ACLOCAL_AMFLAGS): Include from m4, not config.
2664 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
2665 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
2666 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
2667 Fail if there's an error.
2668 * Makefile.cfg (move_if_change): Remove.
2669 (wget_files): Remove.
2670 (cvs_executable_files): New macro.
2671 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
2672 (executable-update): Use $(cvs_executable_files).
2673 (local-checks-to-skip): Remove.
2674 * Makefile.maint: Merge from coreutils, plus add our own changes
2675 (gzip_rsyncable): New macro.
2677 (CVS_LIST): Use build-aux/vc-list-files.
2678 (VERSION_REGEXP): New macro.
2679 (local-checks-available): Add patch-check, $(syntax-check-rules),
2681 (syntax-check-rules): Compute dynamically.
2682 (sc_cast_of_x_alloc_return_value): Work even if no source files.
2683 (sc_cast_of_alloca_return_value): Likewise.
2684 (sc_prohibit_atoi_atof): Simplify regexp.
2685 (sc_no_if_have_config_h, sc_require_config_h):
2686 (sc_prohibit_assert_without_use,
2687 (sc_obsolete_symbols): Check for O_NDELAY.
2688 (sc_texi_notab): Remove.
2689 (sc-changelog): Don't make an exception for '----' lines.
2690 (.re-list): Remove, so we don't have a junk file behind.
2691 (sc_system_h_headers): Remove the need for .re-list.
2692 (sc_the_the): New rule.
2693 (sc_tight_scope): Simplify.
2694 (sc_trailing_blank): Renamed from sc_trailing_space.
2695 (longopt_re): New macro.
2696 (sc_two_space_separator_in_usage): New rule.
2697 (sc_unmarked_diagnostics): Look at all files under CVS.
2698 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
2699 (news-date-check, changelog-check): Version is OK.
2700 (po-check): Look for lib files even if not in CVS.
2701 (copyright-check): Use $() not ``.
2702 (maintainer-distcheck): Do not depend on changelog-check.
2703 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
2704 Also check for -Wpointer-arith.
2705 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
2706 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
2708 (announcement): Add --gpg-key-id arg.
2710 (move_if_change): Just use mv.
2711 (local_updates: Remove wget-update, po-update.
2712 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
2713 (config.guess-url_prefix, config.sub-url_prefix): Remove.
2714 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
2715 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
2716 ($(get-targets)): Remove.
2717 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
2718 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
2719 (cvs-update): Get from gnulib.
2720 (emut_upload_commands): gnupload is in build-aux now.
2721 (alpha beta major): Add changelog-check. Check version.
2722 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
2723 (AC_CONFIG_FILES): Remove.
2724 * bin/autoconf.as: Add spaces to avoid distcheck warning.
2725 * config/announce-gen: Sync from coreutils.
2726 * doc/make-stds.texi: Sync from gnulib.
2727 * doc/standards.texi: Likewise.
2728 * man/Makefile.am: Adjust for config -> build-aux renaming.
2729 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
2730 * tests/local.at: Adjust from config -> build-aux renaming.
2731 * tests/tools.at: Likewise.
2732 * tests/torture.at: Likewise.
2734 * NEWS: The C99 check now tests for vararg macros and 64-bit
2736 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
2737 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
2738 64-bit preprocessor ints. Check for static initialization of
2739 long long. Remove unnecessary casts.
2741 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2743 * doc/autoconf.texi (Particular Programs): Mention that
2744 @INSTALL@ and @MKDIR_P@ may vary for different output files.
2745 Reported by Alexandre Duret-Lutz.
2747 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
2749 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
2750 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
2752 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
2754 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
2756 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
2757 pacify insanely picky compilers. Problem reported by Eric Blake.
2759 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
2760 longer supported by Sun.
2762 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
2764 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
2765 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
2766 -Wundef -Werror". Problem reported by David Fang in
2767 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
2768 * doc/autoconf.texi (Header Templates, Default Includes):
2769 (Particular Functions, Generic Functions, Header Portability):
2770 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
2771 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
2772 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
2773 Prefer #ifdef to #if.
2774 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
2775 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
2776 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2777 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
2779 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2780 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
2781 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
2782 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2783 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
2784 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
2787 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
2789 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
2790 problems with arg script text that doesn't end in newline, and
2791 with '-e a...'. Problems reported by Ralf Wildenhues.
2793 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
2795 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
2796 check for libXt by a check for libX11.
2798 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2800 * doc/autoconf.texi (config.status Invocation): Adjust according
2803 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2805 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
2806 --help' should mention that `--version' outputs configuration
2807 settings. Report by Bruno Haible.
2809 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
2811 Fix test suite failures reported by Pierre in
2812 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
2813 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
2814 the compiler created a file "b.out" when it didn't create anything
2816 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
2817 Discard stderr too, when invoking the test script.
2819 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
2821 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
2822 in the restoring of the werror flag.
2824 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
2826 * doc/autoconf.texi (Volatile Objects): Be even a little
2827 less skeptical about "volatile", after discussion with
2828 Bruno Haible on bug-gnulib.
2829 (Limitations of Usual Tools): Warn about sed stripping
2830 leading white space from text. From Bruno Haible.
2832 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
2834 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
2835 compiler complains about it, even if things works after the
2836 complaint. Problem reported by Peter O'Gorman.
2838 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
2839 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
2840 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
2842 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
2844 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
2845 after -R regardless of host. Patrick Welche reports that this
2846 fixes things on NetBSD 3.99.
2848 * NEWS: Recommend M4 1.4.5.
2850 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2851 * tests/tools.at (autom4te cache): Update wording of diagnostic
2854 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
2856 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
2857 under AC_C_VOLATILE.
2858 (Volatile Objects): Be a little less skeptical about what
2859 "volatile" means. Derived from thoughts by Ben Pfaff in
2860 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
2862 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2864 * doc/autoconf.texi: Fix some typos.
2866 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
2868 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2869 more globally, since the 2006-06-30 patch didn't suffice. Problem
2870 reported by Keith Marshall. Also, don't bother with builddir2,
2871 since it shouldn't be needed any more.
2873 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
2875 * doc/autoconf.texi (Generic compiler characteristics):
2876 Document AC_COMPUTE_INT. Fix wrong statements on Default
2877 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
2879 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
2880 (_AC_COMPUTE_INT): Add obsoletion warnings.
2881 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
2884 * NEWS: Document change.
2886 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
2888 * doc/autoconf.texi (Volatile Objects): New section.
2890 * NEWS: Document previous change.
2892 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
2894 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
2895 Require that long long int be at least 64 bits wide. C99 requires
2896 this and enough programs depend on it so we should check for it.
2897 Bruno Haible reports in
2898 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
2899 that long long int is 32 bits wide with some nonstandard compilers.
2900 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
2902 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
2904 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
2905 to a nonexistent file, so that we don't have to worry about
2906 a local site configuration that doesn't use /usr/local.
2907 Problem reported by Keith Marshall in
2908 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
2910 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
2912 * doc/autoconf.texi: Be more consistent about using @acronym with
2913 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
2914 quite right (it talked about "OSF/Tru64", even though the
2915 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
2916 and it even mentioned "OSF 4"!) and at this point there's little
2917 reason to talk about OSF any more, since it died in 1994.
2918 (Specific Compiler Characteristics): Simplify example of
2919 negative-size array.
2920 (File Descriptors): Reorder to make the text flow better.
2921 Remove joke about "appreciate the various levels"; I didn't get it.
2922 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
2923 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
2924 (File Descriptors, Limitations of Usual Tools):
2925 Tone down the advice against renaming or removing open files.
2926 (Limitations of Usual Tools): Add a new section, on 'rm'.
2928 2006-06-26 Stepan Kasal <kasal@ucw.cz>
2930 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
2931 -lXt in LIBS, idea from Karsten Hopp; this was due since
2934 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
2935 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2936 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2937 (which belong to Xt, not X itself). See Debian bug 327655.
2939 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2941 * configure.ac (AC_INIT): Bump to 2.60a.
2944 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2948 * configure.ac, NEWS: Update.
2950 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2952 * config/texinfo.tex: Sync from upstream.
2954 * bin/autom4te.in (handle_traces): Transform the `@S|@'
2955 quadrigraph correctly in traces.
2957 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
2960 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
2961 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
2963 * doc/autoconf.texi (Changed Directory Variables): New node,
2964 to document the whole `datarootdir' business a bit better.
2966 * tests/torture.at (datarootdir workaround): Extend test.
2967 Prompted by report by Alexandre Julliard.
2969 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
2971 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
2972 when using default mode of IBM C 6 for AIX. Problem and two-line
2973 fix reported by Larry Jones.
2975 2006-06-22 Alexandre Julliard <julliard@winehq.org>
2977 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
2978 about literal '${datarootdir}' if a definition is found in the
2981 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
2983 * NEWS: Use "M4" rather than "m4" when appropriate.
2984 Problem reported by Eric Blake.
2985 * doc/autoconf.texi: Likewise.
2986 Use @acronym around BSD, GCC, and GNU when appropriate.
2987 (Why GNU M4): Renamed from "Why GNU m4".
2988 (Redefined M4 Macros): Mention that Posix
2989 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
2990 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
2993 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2995 * bin/autom4te.in (handle_output): Do not forbid the empty
2997 * tests/tools.at (autoconf: the empty token): New test.
2999 2006-06-20 Stepan Kasal <kasal@ucw.cz>
3001 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
3002 calls, so that we do not care whether they are LIFO or FIFO;
3003 in the m4_wrap, do not check which diversion is the topmost
3004 one, just check that the stack is balanced at the end.
3005 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
3006 base diversion forever--pop the previous diversion before
3007 opening the new one; consequently, remove the m4_wrap call.
3008 * lib/autotest/general.m4 (AT_INIT): Likewise.
3009 * tests/m4sugar.at: Do not use
3010 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
3012 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
3013 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3015 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
3016 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
3017 Rework example of m4wrap token-pasting trouble so that it doesn't
3018 care whether it's LIFO or FIFO.
3019 Fix some "contrary to"s that are awkward in English.
3021 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3023 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
3024 to `yes' instead of `int$1_t' if the type is found, for more
3025 consistent configure output (where $1 is the number of bits).
3026 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
3027 Suggested by Bruno Haible.
3029 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
3030 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
3031 with system headers. Report by Bruno Haible.
3033 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3035 * config/config.guess, config/config.sub: Sync from upstream.
3037 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
3038 in order to avoid picking up an older installed frozen m4sh.m4f.
3039 Besides an outdated shell startup, this could have been created
3040 by an earlier M4 version with incompatible frozen file format.
3042 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
3044 * README: Recommend m4 1.4.4 instead of 1.4.3..
3045 * doc/autoconf.texi: Likewise.
3046 (Special Chars in Names): Say that $(.FOO) is portable, as
3047 suggested by Stepan Kasal.
3048 (Installation Directory Variables, Build Directories):
3049 (Automatic Remaking, Subdirectories, Fortran Compiler):
3050 (Making testsuite Scripts, Defining Directories):
3051 Quote variable usages better.
3052 (Making testsuite Scripts): Add clean-local rule to makefile
3053 snippet, by Eric Blake.
3054 (Installation Directory Variables): Fix table item font.
3055 Reword slightly to clarify. Generalize advice about
3056 not using special characters to include all file-related
3057 vars, not just VPATH.
3058 (Special Chars in Variables): Warn about special characters in
3060 (Assignments): Clarify default-value example as suggested by
3062 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
3063 (Special Shell Variables): Note leading ./ or ../, as suggested
3065 (Limitations of Builtins): Under cd, warn about CDPATH.
3066 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
3069 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3071 * doc/autoconf.texi (Configuration Actions): Remove duplicate
3072 `@var', for texi2html.
3073 (Systemology): Some more word wrapping, for DVI output.
3074 (autom4te Invocation): The short option for `--melt' is `-M',
3077 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
3079 * doc/autoconf.texi: More formatting and English tweaks,
3080 many suggested by Ralf Wildenhues.
3081 Reword to avoid "@code{...}'s" and the like, since it's ugly
3082 with Emacs info mode. discontents -> woes.
3083 Put a few "will"s back. time stamp -> timestamp.
3084 side-effect -> side effect.
3086 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
3088 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
3089 Warn about $@ not persisting. Problem reported by Julien Danjou in
3090 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
3091 (Special Chars in Names): Renamed from Leading _ in Macro Names.
3092 Mention other special chars, too.
3094 2006-06-14 Eric Blake <ebb9@byu.net>
3096 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
3098 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
3100 * doc/autoconf.texi: Some systematic minor improvements, as
3101 follows. Use "makefile" when talking about makefiles
3102 generally (which might be named "makefile" or "Makefile" or even
3103 "foo.mk"), "Makefile" when talking about a specific makefile
3104 called "Makefile". This unclutters the text from weird quotes
3105 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
3106 values" rather than "@var{foo}s" and similar constructs containing
3107 "}s". Use "Make rules" rather than "Makefile rules". Minor
3108 English-language improvements. Change the prefix "sub-" to "sub"
3110 Put blank lines around examples more consistently.
3111 Avoid "rather" and "very" as intensifiers.
3112 Avoid "will" as an auxiliary.
3113 (Limitations of Make): Split this node into....
3114 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
3115 (Leading _ in Macro Names, Backslash-Newline-Newline):
3116 (Backslash-Newline Comments, Long Lines in Makefiles):
3117 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
3118 (obj/ and Make, make -k Status, VPATH and Make):
3119 (VPATH and Double-colon, $< in Explicit Rules):
3120 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
3121 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
3122 New nodes, resulting from splitup of Limitations of Make.
3123 All cross-references changed. Raise the top node from
3124 a section to a chapter, and all subnodes accordingly.
3125 Redo the introductory wording to match the new organization.
3126 (Installation Directory Variables): Use an example that is
3127 closer to what Autoconf actually does. Mention that VPATH's
3128 value should not contain metacharacters or white space.
3129 (Fortran Compiler): Fix a VPATH bug in an example.
3130 (Leading _ in Macro Names): Mention that this problem is no longer
3131 of practical concern.
3132 (VPATH and Make): Reword the advice to make it clearer
3133 that Autoconf and Automake support VPATH in non-GNU make, but
3134 many packages have bugs in this area.
3135 ($< in Explicit Rules): Refer to Build Directories rather
3136 than using a (non-VPATH-safe) example.
3137 (Automatic Rule Rewriting): Mention the sort of disaster that
3138 can ensue with Solaris-style rule rewriting with VPATH.
3140 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3142 * doc/install.texi (Compilers and Options): Weaken the
3143 suggestion to use GNU make for VPATH builds.
3145 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
3146 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
3148 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
3149 in regular expression.
3151 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3153 * doc/autoconf.texi (Installation Directory Variables):
3154 Drop extra @samp from `@table @samp' item.
3155 (Limitations of Usual Tools): Comment fix.
3156 Do not nest @samp just to point to other table items.
3157 (Writing testsuite.at) <AT_CHECK>: The second argument to
3158 `@dvar' is already @samp'ed.
3159 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
3160 do not use @var in the second argument.
3162 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
3164 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
3165 $as_shell.exe too. Problem reported by Andreas Buening in
3166 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
3168 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3170 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
3171 `unused variable' compiler warning, for `-Wall -Werror'.
3172 Reported by Jaap Haitsma in
3173 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
3175 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
3177 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
3178 case the compiler dumps core. Problem reported for
3179 OpenServer 5.0.7 by Tim Rice in
3180 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
3181 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
3184 2006-06-06 Tim Rice <tim@multitalents.net>.
3186 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
3187 "ERROR" only shows up in "make check" output if there is an
3190 2006-06-06 Eric Blake <ebb9@byu.net>
3192 * tests/tools.at (automatically allowed tokens): Fix typo.
3194 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3196 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
3198 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
3199 typically overflows on x86 CPUs, even though the C standard
3202 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3204 * configure.ac (AC_INIT): Bump to 2.59e.
3207 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3211 * config/texinfo.tex: Sync from upstream.
3213 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
3214 seen, invoke libtoolize with `--ltdl' argument.
3215 * lib/autom4te.in (Autoreconf-preselections): Adjust.
3217 Suggested by Eric Blake.
3219 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3221 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
3222 reported by Ralf Wildenhues.
3223 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
3225 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3229 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
3231 * doc/autoconf.texi: Modernize some of the references to Solaris.
3233 2006-06-05 Stepan Kasal <kasal@ucw.cz>
3235 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
3236 message issued by AC_REQUIRE.
3237 * tests/m4sugar.at: Check m4_require's error message.
3238 * tests/base.at: Check AC_REQUIRE's error message.
3239 * tests/local.at (AT_CHECK_M4): New macro, almost identical
3241 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
3243 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
3244 `expout' as the last parameter.
3245 * tests/tools.at: Adapt to the above change.
3247 2006-06-04 Stepan Kasal <kasal@ucw.cz>
3249 * doc/autoconf.texi (Limitations of Usual Tools): Correct
3250 information about race-free implementations of mkdir.
3252 2006-06-04 Eric Blake <ebb9@byu.net>
3254 * bin/autoreconf.in (help): Document M4 environment variable.
3255 * bin/autoconf.as (Usage): Likewise.
3256 * bin/autom4te.in (help): Likewise.
3257 * doc/autoconf.texi (autom4te Invocation): Likewise.
3259 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
3261 * NEWS: GNU make now recommended for VPATH builds.
3262 Mention that some macros are now documented to be obsolescent.
3263 * doc/autoconf.texi:
3264 Prefer "current" to "modern" to describe
3265 currently-used (albeit perhaps old-fashioned) hosts.
3266 Mention which ancient features no longer need to be worried about.
3267 setgid -> set-group-ID
3268 setuid -> set-user-ID (these are the Posix terms)
3269 Fix some misuses of "only".
3270 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
3271 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
3272 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
3273 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
3274 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
3275 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
3276 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
3277 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
3278 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
3279 Mention that these macros are obsolescent.
3280 (Installation Directory Variables): shall -> should
3281 (File Descriptors): Mention that 0, 1, 2 might get reopened.
3282 Mention that it's now safe to use 3 and 4.
3283 (Limitations of Usual Tools): cp -r is now specified by Posix.
3284 Omit longwinded and obsolescent discussion of cp -f.
3285 Modernize discussion of expr, ls.
3286 (Limitations of Make): Modernize discussion of VPATH builds.
3287 Mention $? as a workaround in some cases.
3288 * doc/install.texi (Basic Installation):
3289 Mention "./configure; make; make install" first. Be more
3290 specific about why this file is generic. Remove unnecessary
3291 parens. Remove misleading "only". Remove obsolete advice
3292 about csh. Don't say "configure" takes awhile; say it
3293 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
3294 and CC=c99 rather than CC=c89, as these are blessed by current
3295 Posix. Recommend GNU make if doing a VPATH build.
3297 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
3299 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
3300 examples involving shell prompts.
3302 2006-06-02 Stepan Kasal <kasal@ucw.cz>
3303 and Paul Eggert <eggert@cs.ucla.edu>
3305 * doc/autoconf.texi (Here-Documents): Add details about the
3306 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
3307 use "here-documents" instead of "here documents".
3309 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3311 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
3313 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
3315 * doc/autoconf.texi (File System Conventions): Warn about ":"
3316 anywhere in directory names.
3318 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
3320 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
3321 about quoting the case statement, just in case.
3322 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
3323 was fixed in ksh93g; reported by Ralf Wildenhues.
3325 2006-05-31 Stepan Kasal <kasal@ucw.cz>
3327 * doc/autoconf.texi (System Services): Do not document
3328 overriding EXEEXT via ac_cv_exeext=ext.
3329 (Particular Programs) <AC_PROG_MKDIR_P>:
3330 Document that ${MKDIR_P} understands --.
3331 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
3334 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3336 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
3337 argument with leading hyphen. Problem reported by Paul Eggert.
3339 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
3341 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
3342 about quoting ac_try: quote all of it, if any of it seems suspicious.
3343 This means we don't have to worry about ${ or sed any more.
3344 Also, double-quote the case statement, to work around misuses via
3345 underquoting as reported by Ralf Wildenhues in
3346 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
3347 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
3348 undocumented and dangerous macro.
3349 Problem reported by Ralf Wildenhues in
3350 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
3352 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3354 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
3355 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
3356 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
3358 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
3360 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
3361 since evidently some packages rely on the old, broken behavior.
3362 Problem reported by Ralf Wildenhues in
3363 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
3364 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
3365 pre-2006-05-26 definitions, but leave in the comments that
3366 these macros are dangerous and should not be used.
3367 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
3368 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
3369 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
3370 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
3371 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
3373 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
3375 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
3376 the use of 'tr', since this is our only use of 'tr'.
3378 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3379 and Paul Eggert <eggert@cs.ucla.edu>
3381 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
3382 Don't assume 'grep' works on long lines, since AIX grep doesn't.
3384 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3386 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
3387 the output file in the `${datarootdir}' test.
3389 2005-05-28 Stepan Kasal <kasal@ucw.cz>
3390 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3392 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
3393 mention of `datarootdir' in the input file(s), but literal
3394 `${datarootdir}' in the output file, and we haven't warned yet,
3395 then warn as well: the user may have (erroneously) used
3396 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
3397 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
3398 * tests/torture.at (datarootdir workaround): Extend this test.
3401 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3402 and Paul Eggert <eggert@cs.ucla.edu>
3404 * doc/autoconf.texi (autoheader Invocation): The first argument to
3405 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
3406 alternatives and clear up the language a bit.
3408 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
3410 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
3411 ac_config_guess, ac_config_sub, ac_configure.
3412 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
3413 Fix typo that prevented an unnecessary space from being removed.
3414 Problems reported by Ralf Wildenhues in:
3415 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
3417 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
3419 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
3420 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
3421 Don't use the term "thread-safe" to talk about mkdir race
3422 conditions, since the problem is more a process than a thread
3423 issue. Problem reported by Stepan Kasal in:
3424 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
3425 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
3426 the test for 'install' more closely. Look at MKDIR_P first.
3427 Look in the PATH, and at /opt/sfw/bin.
3428 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
3429 Don't bother to try mkdir -p, since we already check mkdir --version;
3430 just look at the version number. (There's no easy way to check
3431 for race-free implementations.)
3432 * tests/tools.at (autoconf: subdirectories): Adjust to above
3433 changes, since MKDIR_P now might end in "/mkdir -p".
3435 * doc/autoconf.texi (autoheader Invocation): Mention that the
3436 first arg of AC_DEFINE_UNQUOTED must be a literal.
3437 Problem reported by Ben Pfaff in
3438 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
3440 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
3441 * doc/autoconf.texi (Special Chars in Variables): New section.
3442 (Preset Output Variables): Warn about special chars in CPPFLAGS.
3443 (Installation Directory Variables): Quote $(datadir) better.
3444 (Limitations of Builtins): Describe some of eval's trickiness.
3446 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
3447 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
3448 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
3449 in front of every arg, not just trailing args. Quote apostrophes.
3450 (_AC_EVAL_ECHO): New macro.
3451 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
3452 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
3454 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
3455 exposed by quoting of eval argument. Put the command on line line
3457 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
3458 (_AC_PATH_X, AC_PATH_X): Quote more safely.
3459 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
3460 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
3461 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
3462 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
3463 Use eval more safely.
3464 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
3465 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
3467 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
3468 lines, exposed by quoting of eval argument.
3470 2006-05-26 Stepan Kasal <kasal@ucw.cz>
3471 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3473 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
3474 initialization of `ac_cv_exeext', do not override it if it was
3475 already set, unless it was set to `no', for compatibility with
3476 Autoconf-2.13, and comment this.
3477 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
3478 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
3479 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
3480 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
3481 Document that this test may be overridden by setting
3484 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3486 Revert these two patches:
3488 2006-04-06 Eric Blake <ebb9@byu.net>
3489 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
3490 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
3493 2006-04-01 Stepan Kasal <kasal@ucw.cz>
3494 Clean up _AC_COMPILER_EXEEXT* macros.
3495 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
3496 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
3497 ac_file to the name of the default output file and call
3498 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
3499 initial `rm' of the candidate files...
3500 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
3501 the same list in subsequent `rm' calls, and for the temporary
3502 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
3503 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
3504 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
3505 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
3506 no longer needed) by libtool. Make it a cache check.
3507 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
3508 copied here by mistake.
3509 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
3510 _AC_COMPILER_EXEEXT.
3511 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
3512 _AC_COMPILER_OBJEXT directly.
3513 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3515 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3517 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
3518 Fix description of how the buggy `sed' works.
3520 2006-05-25 Noah Misch <noah@cs.caltech.edu>
3524 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
3525 ENOLCK. Only mention `make -j' when applicable. Only raise
3526 fatal errors when `make -j' is involved. Improve error message.
3528 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3530 * doc/autoconf.texi (Here-Documents): We now know more about
3531 the variable expansion in here documents bug.
3532 Thanks to Tim Rice and Stepan Kasal.
3534 * doc/autoconf.texi (Making testsuite Scripts): Add an example
3535 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
3537 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3539 * tests/autotest.at (Multiline command from M4 expansion):
3540 No failure to be expected if the shell quotes newlines in
3541 commands in the `set -x' output. Report by Tim Rice.
3544 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
3546 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
3547 expansion in the here-documents used by config.status, as that
3548 runs afoul of the Korn shell version M-12/28/93d bug described in
3549 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
3550 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
3551 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
3553 2006-05-23 Jim Meyering <jim@meyering.net>
3555 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
3556 Fix typo introduced with 2006-04-02 change. It reversed the sense
3559 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
3561 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
3562 ac_dB slightly, to save bytes in the script.
3563 Max out at 50 lines, rather than 96; this is more likely
3564 (though not guaranteed) to avoid obscure 'sed' failures.
3566 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3568 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
3569 `tr -d -' as bad option argument. Work around this by deleting
3570 an unrelated character.
3571 Report by Tim Rice <tim@multitalents.net>.
3573 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
3574 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
3575 Stepan Kasal <kasal@ucw.cz>
3577 * doc/autoconf.texi (Particular Programs): Do not promise that
3578 we always prefer the GNU version of the program, and that we
3579 search according to PATH; both rules can have exceptions.
3580 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
3581 AC_PROG_SED. Move descriptions of limitations
3582 to the Limitations of Usual Tools section.
3583 (Limitations of Usual Tools) <sed>: Mention script length
3584 limitations with Solaris /usr/ucb/sed.
3585 <grep>: Fix wording for empty alternative. Mention that -c and
3586 -l should not be combined, and that -E and -F should not be
3589 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3590 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3592 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
3593 limits in Solaris 8 /usr/ucb/sed by testing a long script.
3595 2006-05-22 Stepan Kasal <kasal@ucw.cz>
3597 * doc/autoconf.texi (Defining Symbols): Literal parameter of
3598 AC_DEFINE is now passed to m4_pattern_allow.
3599 * NEWS: Mention that; likewise for AC_SUBST.
3600 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
3601 the parameter to m4_pattern_allow.
3602 * tests/tools.at: Add a check for that.
3604 2006-05-22 Stepan Kasal <kasal@ucw.cz>
3606 * lib/autoconf/status.m4: Fix typos.
3608 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3610 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3611 only the files that this macro generates.
3613 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3615 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
3616 the HP-UX sed limitation of 99 commands, labels do not count.
3617 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
3619 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
3621 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
3623 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
3624 Import the following fix from coreutils:
3626 2006-01-13 Jim Meyering <jim@meyering.net>
3628 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
3629 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
3630 not double-quote uses of that variable, to accommodate the rare
3631 case in which getmntent is available in none of the libraries
3632 checked. This happens at least on FreeBSD 5.0.
3634 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
3636 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
3637 ac_config_guess, ac_config_sub, and ac_configure, since evidently
3638 some other programs unwisely rely on these undocumented vars.
3639 But put in warning comments about them.
3640 Problem reported by Ralf Wildenhues in
3641 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
3642 * NEWS: Document that these variables are intended to go away.
3644 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3646 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
3647 and set the language to C++ (analogous to the equivalent Fortran
3650 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
3651 * doc/autoconf.texi (C++ Compiler): Document it.
3652 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
3655 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
3657 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
3658 that caused config.status to generate 100-command sed scripts; the
3659 portable limit is 99.
3661 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3663 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
3664 variable `ac_d' instead of `d' to avoid infringing namespace.
3665 Report by Ralf Menzel.
3667 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
3669 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
3670 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
3671 * tests/tools.at (autoconf: subdirectories): New test, taken from
3672 the corresponding problem report by Ralf Wildenhues in:
3673 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
3675 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
3676 Quote some uses of shell variables if they might suffer unexpected
3677 globbing. This doesn't fix all instances of quoting problems that
3678 I found, just the easy ones that look safe.
3679 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
3680 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
3681 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
3682 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
3683 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
3684 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3685 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
3687 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
3688 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
3690 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3692 * bin/autoreconf.in ($help): Reword according to the manual.
3693 Suggested by Olly Betts.
3695 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
3696 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3698 * bin/autoreconf.in: Pass the directory argument to
3699 `require_configure_ac'. Fix comment.
3700 * tests/torture.at (Configuring subdirectories): Expose this.
3701 Reported by Olly Betts.
3703 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3705 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
3706 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
3707 Automake as follows:
3709 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
3710 `$configure_in' instead of `configure.in', to preserve
3711 directory component.
3713 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3715 * config/config.guess, config/config.sub, config/texinfo.tex,
3716 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
3718 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
3720 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
3721 test for C99 conformance; (bool) 0.5 is an integer constant
3722 expression, but (bool) -0.5 is not. Problem reported by Fedor
3723 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
3725 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
3727 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
3728 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
3729 Warn about obsolete install-sh files. Remove stray sentence
3730 fragment and fix cross reference.
3731 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
3732 install -d; this undoes the 2006-05-10 change.
3733 (MKDIR_P): Mark with AN_MAKEVAR.
3734 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
3735 that we don't require $INSTALL to be thread-safe. Move comments
3736 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
3737 of AC_PROG_INSTALL. Output a message saying that we're checking
3738 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
3739 MKDIR_P instead of AC_SUBST.
3740 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
3741 Special magic for MKDIR_P, too.
3742 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
3744 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
3746 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
3748 Sync from Automake, as follows:
3750 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3751 * config/install-sh: Initialize IFS, so field splitting isn't
3753 * config/mkinstalldirs: Likewise.
3754 * config/missing: Remove superfluous quotes. Replace all uses of
3755 `[' by `test', for consistency, and for..
3756 * config/missing (sed_minuso, sed_output): New variables.
3757 (autom4te, help2man, makeinfo): Use them. Unifies detection of
3758 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
3759 Fixes `missing' to detect `--output' for help2man. Fixes
3760 PR automake/483. Report by Dennis J. Linse.
3761 (autom4te): Document in `missing --help'.
3763 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
3765 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
3766 * config/install-sh: Don't use 'path' to talk about file names,
3767 as per GNU coding standards. Close a race condition reported by Ralf
3768 Wildenhues and Stepan Kasal. There is still a race condition
3769 on hosts that predate Posix 1003.1-1992, but we can't help this.
3770 Don't mishandle weird characters like space on pre-Posix hosts.
3771 Invoke mkdir at most once per dir arg on pre-Posix hosts.
3772 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
3773 AC_PROG_MKDIR_P from AS_MKDIR_P.
3774 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
3775 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
3776 earlier editions are not (including Automake 1.8.3).
3777 Do not suggest mkinstalldirs for thread-safety.
3778 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
3779 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
3780 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
3781 presence of special characters and race conditions.
3782 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
3783 in Autoconf's name space.
3785 2006-05-10 Bruno Haible <bruno@clisp.org>
3786 and Paul Eggert <eggert@cs.ucla.edu>
3788 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
3789 from Automake with minor changes.
3790 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
3792 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
3794 * config/install-sh: Update to Automake CVS version, as follows:
3795 2006-04-25 Stepan Kasal <kasal@ucw.cz>
3796 * lib/install-sh: Simplify the expr implementation of dirname.
3797 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
3798 * lib/install-sh: Handle --, and diagnose unknown options.
3800 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3802 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
3803 `./autom4te' to create `./testsuite', since the `all' target
3804 will ensure its presence, but `installcheck' should not create
3805 the uninstalled wrappers.
3807 * tests/torture.at (Unusual Automake input files): Skip if we
3808 detect automake < 1.8.
3810 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3812 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
3813 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
3814 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
3817 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3819 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
3820 munge (multiple) white space and other oddities.
3821 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
3822 single quotes in variable assignment.
3823 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
3824 and similar failures by adding multiple spaces, tabs, and other
3826 Report and different test suggested by Francesco Romani
3827 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
3829 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
3830 single quotes, we only need to search for single quotes; this
3831 both simplifies the search pattern, and makes us less
3832 susceptible to `echo' variations for arguments not containing
3834 (_AC_ARG_VAR_VALIDATE): Likewise.
3836 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3838 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
3839 `$*' and IFS concatenation issue with traditional shells and
3840 bash-2.04. Report by Seanster@Seanster.com.
3842 2006-05-03 Bruno Haible <bruno@clisp.org>
3844 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
3845 precisely which Mac OS X versions have the od problem.
3847 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
3849 * doc/autoconf.texi: Use @option systematically.
3851 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
3852 and Bruno Haible <bruno@clisp.org>
3854 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
3856 (Integer Overflow): Mention the special case of integer division
3859 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3861 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
3862 traditional shells like the Solaris one that do not use the
3863 first IFS character for assembling `$*'.
3864 Prompted by a related report from autoconf_bug@nro.ca.
3866 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
3867 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3869 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
3870 Mention more problems with the -e option.
3872 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3875 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
3877 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
3878 in URLs to improve DVI formatted output (requires texinfo 4.6).
3879 (System Services, Systemology, Shellology): Likewise.
3880 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
3883 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
3885 (Runtime): Fix macro argument names to match description:
3886 `action-if-found' -> `action-if-true' and similarly.
3887 (Obsolete Macros): Likewise.
3888 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
3889 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
3890 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
3892 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3894 * doc/autoconf.texi (Limitations of Make): Clean up markup.
3897 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
3900 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3902 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
3903 /bin/sh set unsorted output.
3904 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
3905 * tests/local.at: Likewise.
3907 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
3909 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
3910 (Integer Overflow, Null Pointers, Buffer Overruns):
3911 (Floating Point Portability, Exiting Portably): New sections.
3912 (Writing Test Programs): Fix some langauge. Recommend exiting
3913 with status 1, not merely nonzero. Clarify exit declaration.
3914 (Run Time): Move C exit status stuff to new Exiting Portably section.
3915 (Systemology): Mention Posix and levenez. Update v7 reference.
3916 (Portable Shell): Mention the Posix shell.
3918 2006-04-25 Stepan Kasal <kasal@ucw.cz>
3920 * bin/autoconf.as (me): Replace by as_me.
3922 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
3924 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
3925 since as_me isn't set yet.
3927 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
3929 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
3930 a few minor bugs in this area.
3932 * doc/autoconf.texi (Programming in M4sh): Comment out the
3933 documentation of AS_BASENAME, for now.
3934 (Shell Substitutions): Do not use AS_DIRNAME in an example.
3935 (Limitations of Builtins) <basename>: Do not refer to
3937 * bin/autoconf.as (me): Don't use AS_BASENAME.
3938 (dir): Remove the unused variable.
3939 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
3940 AS_DETECT_REQUIRED. All uses changed.
3941 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
3943 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
3944 (AS_BASENAME): Use "basename --" to protect against leading "-".
3945 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
3946 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
3947 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
3948 (_AS_DIRNAME_PREPARE): Likewise.
3949 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
3950 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
3951 (AS_DIRNAME): Use "dirname --".
3953 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
3955 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
3956 of "run time" and "run-time" changed to "runtime", for consistency.
3957 * lib/autoconf/fortran.m4: Likewise (in comment).
3958 * lib/autoconf/functions.m4: Likewise.
3959 * lib/autoconf/general.m4: Likewise.
3960 * lib/autoconf/headers.m4: Likewise.
3962 * doc/autoconf.texi (Run Time): Document the exit status situation
3963 with more accuracy and detail.
3965 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3967 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
3968 Archive is not officially `GNU' any more. Update URL.
3969 (Defining Directories): Likewise
3970 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
3972 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3974 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
3975 newline from the `trap' code to finish `config.log'; the NetBSD
3976 /bin/sh resets the exit status after an empty command, as
3977 documented in doc/autoconf.texi.
3978 Reported by Dalibor Topic <robilad@kaffe.org>.
3980 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
3982 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
3983 Suggested by Bruno Haible.
3985 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
3987 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
3988 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
3989 Instead, just list the shells that we know work.
3990 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
3991 changed. Be more cautious about the _cv_ variable.
3992 * tests/tools.at (Syntax of the shell scripts): Check the
3993 _cv_ variable once, at first, to avoid an internal autoconf error
3994 when sh -n does not work.
3996 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3998 * lib/Autom4te/FileUtils.pm: Sync from Automake.
4000 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
4002 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
4003 use ">&-" since we're only 99.999% sure that this is portable,
4004 and since the MinGW bug is fixed in a different way.
4005 * lib/autotest/general.m4 (AT_INIT): Likewise.
4007 2006-04-16 Stepan Kasal <kasal@ucw.cz>
4009 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
4010 before opening config.log, to avoid hitting a bug on MinGW.
4012 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
4014 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
4015 AS_MESSAGE_LOG_FD before reopening it onto the log file.
4016 This works around a MinGW bug reported by Eric Paire.
4017 Make sure that all writes to the log file append to it,
4018 rather than possibly losing data.
4019 * lib/autotest/general.m4 (AT_INIT): Likewise.
4021 2006-04-14 Stepan Kasal <kasal@ucw.cz>
4023 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
4026 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4030 * configure.ac (AC_INIT): Bump to 2.59d.
4032 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4036 * Makefile.maint (news-date-check): Do not require a leading `*'
4037 before the release date in NEWS.
4039 2006-04-12 Stepan Kasal <kasal@ucw.cz>
4040 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4042 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
4043 the instantiated file do not contain the string 'datarootdir'
4044 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
4045 @mandir@, replace the reference '${datarootdir}' by the value.
4046 * tests/torture.at (datarootdir workaround): New test.
4047 * NEWS: Advertise this temporary fixup.
4048 Based on a patch by Bruno Haible, reported and analyzed by
4049 Paul Eggert and Noah Misch.
4051 2006-04-12 Eric Blake <ebb9@byu.net>
4053 * tests/autotest.at (Debugging a failed test): Fix comment.
4055 2006-04-12 Stepan Kasal <kasal@ucw.cz>
4057 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
4058 all the changes since 2006-04-07.
4060 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4062 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
4063 succeeded, but `ln -s file dir' failed, take care to remove the
4064 leftover target before the next test, to prevent its spurious
4065 failure; also make sure `ln file dir' works before selecting it.
4066 Thanks to Keith Marshall for pointing this out.
4069 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
4070 assignments in `at_debug_args', so that we put them correctly
4071 in the `run' script.
4072 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
4073 Reported by Eric Blake.
4075 2006-04-11 Eric Blake <ebb9@byu.net>
4077 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
4078 top-level tests after micro-suite has been run. Used in...
4079 (Debugging a successful test, Debugging script and environment),
4080 (Debugging a failed test): ...these new tests. The first of these
4082 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
4083 macro, split out from...
4084 (AT_INIT): ...here, so that using -d also generates a run script.
4085 Document that -d inhibits top-level logging.
4086 * doc/autoconf.texi (testsuite Invocation): Document that -d only
4087 inhibits top-level logging; debug scripts are created.
4089 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
4091 * tests/autotest.at (Empty test, Empty check): New test to check it.
4093 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
4096 2006-04-10 Stepan Kasal <kasal@ucw.cz>
4098 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
4099 the files if a problem appears. Make the empty *.at files
4100 read-only, too. Proposed by Ralf Wildenhues.
4102 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4104 * config/Makefile.am: Add comment to force updated Makefile.in.
4106 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
4107 space only patch to this file, this patch causes the Makefile.in
4108 files that include freeze.mk to be updated, and thus have a
4109 newer time stamp again, which in turn makes a pristine CVS
4110 checkout have correct time stamps.
4112 * Makefile.maint (cvs-sv): New macro, to be used..
4113 (config.guess-url_prefix, config.sub-url_prefix)
4114 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
4115 point to CVS text checkout of Gnulib files.
4116 (copyright-check): Bump current year.
4117 (announcement): Do not hard-wire `./announce-gen'.
4118 (cvs-update): Propagate failures of `cvs' and `move-if-change'
4120 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
4122 (wget_files): Update config.guess, config.sub, texinfo.tex by
4123 `wget-update', now that their URLs work again.
4125 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
4127 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
4128 Problem noted by Paul D. Smith.
4130 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4132 * doc/autoconf.texi: Remove unused words from word list.
4133 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
4134 .x-sc_trailing_space: New files.
4136 * doc/standards.texi: Sync from gnulib.
4138 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
4139 `LIBOBJDIR' as experimental.
4141 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
4142 with a target directory; it's internally implemented as `cp'
4143 anyway, but since Autoconf advertises the possibility to use
4144 a target directory when LN_S is `ln -s', we need to find out.
4145 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
4146 analyzed by Keith Marshall <keith.marshall@total.com>.
4150 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
4152 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
4153 confdefs.h as-is. In general, if it has backslash-newline or the
4154 like, then it doesn't work either to sort or to remove empty
4157 2006-04-09 Stepan Kasal <kasal@ucw.cz>
4159 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
4161 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
4163 * lib/autom4te.in (Automake-preselections): Preselect
4166 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
4168 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
4169 apostrophe within a single-quoted string, as this is the usual
4170 tradition and is easier to read than '"'"'. Don't rely on the
4171 shell treating "$/" like '$/'. Use a more-consistent indenting
4174 2006-04-09 Eric Blake <ebb9@byu.net>
4176 * tests/autotest.at (Backquote command substitution),
4177 (Multiline backquote command substitution): Remove mistaken
4178 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
4180 (Parenthetical command substitution, Multiline parenthetical
4181 command substitution): here.
4183 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
4185 Import macros from gnulib (often changing their name).
4187 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
4188 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
4189 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
4190 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
4191 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
4192 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
4193 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
4194 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
4195 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
4196 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
4197 The manual mentions Gnulib more prominently.
4198 * doc/autoconf.texi (Gnulib): New node.
4199 (Pointers): Add Gnulib URL.
4200 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
4201 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
4203 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
4204 suggest a #define rather than a typedef for _Bool, and mention
4205 Gnulib rather than trying to substitute stdbool code.
4206 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
4207 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
4208 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
4209 AC_STRUCT_DIRENT_D_TYPE.
4210 (Particular Types): Mention stdint.h and inttypes.h as standard
4212 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
4213 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
4214 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
4215 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
4216 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
4217 (C Compiler): Move AC_C_LONG_DOUBLE to ...
4218 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
4219 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
4220 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
4221 (Coding Style). Don't mention m4_expand_once.
4222 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
4223 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
4224 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
4225 (AC_CHECK_FUNCS): Use it.
4226 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
4227 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
4228 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
4229 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
4230 (AC_HEADER_ASSERT): New macro.
4231 (AC_HEADER_STDBOOL): Don't assume "#error" works.
4232 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
4233 Catch a bug in an HP-UX C compiler.
4234 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
4235 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
4236 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
4237 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
4238 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
4239 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
4242 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
4243 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
4245 2006-04-08 Stepan Kasal <kasal@ucw.cz>
4247 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
4248 of the warning introduced by the 2001-08-28 change.
4250 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
4251 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4253 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
4254 variables shall be overriden by the cache.
4255 * tests/torture.at (AC_ARG_VAR): Test also with a first value
4256 that contains braces.
4258 2006-04-07 Stepan Kasal <kasal@ucw.cz>
4260 Revert the patch from 2006-04-01 and only improve
4261 _AS_DETECT_BETTER_SHELL:
4263 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
4264 skip nonexistent directories.
4265 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
4266 only shell candidates which exist.
4267 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
4268 * lib/autotest/general.m4 (AT_INIT): No need to give three
4269 parameters to _AS_PATH_WALK.
4271 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
4272 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4274 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
4275 distinguish m4sugar macros.
4276 * tests/tools.at (autoupdating with aclocal and m4_include):
4277 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
4278 test case by Noah Misch <noah@cs.caltech.edu>.
4280 2006-04-07 Stepan Kasal <kasal@ucw.cz>
4282 Revert my change from 2006-03-17, in other words:
4283 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
4285 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
4286 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
4289 2006-04-07 Eric Blake <ebb9@byu.net>
4291 * doc/autoconf.texi (Programming in M4sh): Document that
4292 AS_MKDIR_P exits the script on failure.
4293 * lib/autotest/general.m4: Remove redundant AS_ERROR.
4295 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4297 * config/elisp-comp, config/install-sh, config/mdate-sh,
4298 config/missing, config/mkinstalldirs: Sync from Automake.
4300 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
4303 * doc/make-stds.texi: Sync from gnulib.
4305 2006-04-06 Eric Blake <ebb9@byu.net>
4307 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
4308 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
4311 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
4312 Eric Blake <ebb9@byu.net>,
4313 Paul Eggert <eggert@cs.ucla.edu>,
4314 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4316 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
4317 whether `set' quotes correctly: redirect stderr of the tested
4318 `set', and use a subshell, for Ultrix; use `sed' instead of
4319 `grep' for zsh `set' which may write binary output; match only
4320 at the beginning of a line, to avoid false positives.
4321 In order to avoid false positives by unrelated variables with
4322 multiline content, put the dump algorithm in a subshell and
4323 unset all variables containing newlines (except some which are
4324 special to the shell). Warn about cache variables that are
4327 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4329 * config/config.guess, config/config.sub, config/texinfo.tex:
4332 * tests/mktests.sh: Reword comments.
4334 * tests/mktests.sh: Only skip internal macros starting with
4335 `_AC_' or `__AC_'. Noted by Stepan Kasal.
4336 Update exclusion lists for the test suite to this end:
4337 (AC_ARG_VAR): Do test this now.
4338 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
4339 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
4340 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
4341 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
4343 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
4344 shell issue with double-quoted command substitutions of native
4346 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
4349 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
4350 no file matches the glob, discard the warning, set `nullglob'.
4351 (syntax-check): Likewise.
4352 (sc_cast_of_x_alloc_return_value): Likewise.
4353 (sc_cast_of_alloca_return_value, sc_error_exit_success)
4354 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
4355 (m4-check): Likewise.
4356 (sc_system_h_headers): Do not print rule on execution.
4357 (sc_tight_scope): Do not fail for non-existing `src' directory.
4358 (sc_changelog): Skip the Copyright footer.
4359 * lib/autoconf/lang.m4: Remove trailing space.
4361 * lib/autoconf/status.m4: More replacements to
4362 <tab><space> where this makes sense.
4364 2006-04-06 Stepan Kasal <kasal@ucw.cz>
4366 * tests/Makefile.am (maintainer-check-posix):
4367 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
4369 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
4370 ac_config_<foo>s again, sometimes normalized, sometimes not.
4371 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
4372 (AC_CONFIG_COMMANDS): Do not do so here.
4373 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
4374 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
4375 2005-07-25 rewrite. Noticed by Noah Misch.
4377 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
4378 _AC_PRESERVE_HELP_ORDER, ...
4379 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
4381 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
4382 inside m4_expand_once; it is redundant.
4384 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
4385 for --help from Cygnus `configure.'
4387 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
4389 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
4390 on a patch proposed by Ralf Wildenhues.
4392 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
4394 * lib/autoconf/status.m4: Replace <space>''<tab> with
4395 <tab><space> where this makes sense.
4397 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
4398 Noah Misch <noah@cs.caltech.edu>
4400 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
4401 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
4402 * doc/autoconf.texi (Help Formatting): New node.
4403 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
4405 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4407 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
4408 lib/autoconf/specific.m4, lib/autoconf/status.m4,
4409 lib/autoconf/types.m4, lib/autotest/general.m4,
4410 tests/mktests.sh, tests/torture.at: White space cleanup:
4411 remove some SPACE before TAB, or add quoting ('' or @&t@).
4413 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
4415 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
4417 2006-04-05 Eric Blake <ebb9@byu.net>
4419 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
4420 empty test suite works.
4421 * tests/autotest.at (Empty test suite): Remove xfail.
4423 2006-04-05 Noah Misch <noah@cs.caltech.edu>
4425 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
4426 TAGS to ac_config_<foo>s.
4427 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
4428 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
4429 normalizing it, consistent it with previous releases.
4430 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
4432 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
4434 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
4435 Use simplified args that Eric Blake originally suggested.
4437 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
4439 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
4440 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
4441 Use 'comm' rather than N instances of grep; this also fixes a bug
4442 whereby substrings were incorrectly matched, causing us to not
4443 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
4444 (exclude_list): Exclude empty macros.
4445 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
4447 Use awk rather than grep -E or egrep, to avoid
4448 portability problems with regular expressions containing newlines.
4449 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
4450 Switch from grep to awk syntax.
4451 (ac_exclude_script): Renamed from ac_exclude_egrep.
4452 (au_exclude_script): Renamed from au_exclude_egrep.
4454 2006-04-04 Noah Misch <noah@cs.caltech.edu>
4456 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
4457 a subdirectory subject to Cygnus `configure'.
4458 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
4460 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
4461 report request when we have no AC_PACKAGE_BUGREPORT.
4463 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4467 * tests/mktests.sh: Update copyright year in the header of the
4470 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
4471 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
4472 typedef'ed restricted pointer, to catch a compiler bug on
4473 HP-UX 11.x, and fix warnings so it passes with -Werror.
4474 (_AC_PROG_CC_C99): Likewise.
4475 Reported by Albert Chin <china@thewrittenword.com>.
4476 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
4478 2006-04-03 Noah Misch <noah@cs.caltech.edu>
4480 * bin/autoscan.in (subdirs): New global.
4481 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
4482 (output): Emit AC_CONFIG_SUBDIRS as needed.
4483 * tests/autoscan.at (autoscan): Remove XFAIL.
4485 2006-04-03 Noah Misch <noah@cs.caltech.edu>
4487 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
4489 2006-04-03 Eric Blake <ebb9@byu.net>
4491 * THANKS: Add myself.
4493 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4495 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
4496 to log, point to testsuite output tree.
4498 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
4500 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
4501 * doc/autoconf.texi (Function Portability): Mention that C++
4502 has trouble with 'exit'.
4503 (Guidelines): Test programs shouldn't use 'exit'.
4504 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4505 Remove; all uses removed.
4506 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
4507 Return from 'main' instead of calling 'exit'.
4508 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
4509 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
4510 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
4511 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
4512 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
4513 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
4514 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4515 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
4516 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4517 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4518 * tests/compile.at: Likewise.
4520 2006-04-02 Pavel Roskin <proski@gnu.org>
4522 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
4524 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4526 Clean up _AC_COMPILER_EXEEXT* macros.
4528 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
4529 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
4530 ac_file to the name of the default output file and call
4531 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
4532 initial `rm' of the candidate files...
4533 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
4534 the same list in subsequent `rm' calls, and for the temporary
4535 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
4536 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
4537 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
4538 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
4539 no longer needed) by libtool. Make it a cache check.
4540 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
4541 copied here by mistake.
4542 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
4543 _AC_COMPILER_EXEEXT.
4544 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
4545 _AC_COMPILER_OBJEXT directly.
4546 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
4548 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4550 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
4551 (AS_DIRNAME): Use it.
4552 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
4554 * tests/*.at: Remove the generated ones.
4556 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4558 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
4560 2006-04-01 Eric Blake <ebb9@byu.net>
4562 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
4563 directories, unless optional third argument supplied.
4564 (AS_UNAME): Don't optimize PATH walk.
4566 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
4568 2006-04-01 Eric Blake <ebb9@byu.net>
4569 and Stepan Kasal <kasal@ucw.cz>
4571 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
4574 2006-04-01 Noah Misch <noah@cs.caltech.edu>
4576 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
4577 Autoconf version number despite a zero- or one-argument AC_INIT.
4579 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
4581 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
4582 * doc/autoconf.texi (autoreconf Invocation): Document it.
4584 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
4585 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
4587 2006-04-01 Eric Blake <ebb9@byu.net>
4589 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
4590 * lib/autotest/general.m4: Be tolerant of existing directory when
4591 rm failed to remove it.
4593 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4595 * bin/autoupdate.in: Redefine m4_location so that warnings print
4596 the correct lines of the input file by subtracting..
4597 (_au__first_line): ..this new definition.
4599 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
4600 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
4601 Remove stray newline in output.
4602 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
4603 AC_DEFUN this for autoconf, including the obsoletion diagnose.
4604 Fixes autoupdating of code where the replacement output contains
4606 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4607 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
4608 (au_exclude_list): Add AC_LANG_SAVE.
4609 * tests/tools.at: Several new tests for all of this.
4610 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
4612 The AC_LANG_SAVE issue was reported against Libtool by
4613 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
4614 Kristian Kvilekval <kris@cs.ucsb.edu>.
4616 2006-04-01 Stepan Kasal <kasal@ucw.cz>
4618 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
4619 switch all of them on and of when necessary. Fixes the bug when
4620 m4sugar macros (e.g., m4_define) were expanded after the first
4621 automatic update (e.g., after AC_PREREQ or AC_INIT).
4623 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
4625 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
4626 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
4628 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
4629 correctly. Problem reported by Eric Blake.
4630 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
4633 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
4635 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
4636 Tighten up the basename/dirname wording.
4638 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4640 * Makefile.maint (sc_texi_notab): New check: do not use TABs
4641 in texinfo files outside of verbatim environments.
4642 (syntax-check-rules): Update.
4643 * doc/autoconf.texi (Configuration Headers): Conform to it.
4645 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
4647 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
4648 aclocal cannot be given on the command line.
4650 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
4652 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
4653 Give an example for AS_DIRNAME instead of referring to Posix..
4654 (File System Conventions): Put discussion of // versus / here, and
4656 (Limitations of Usual Tools): Add basename. Remove verbiage
4657 after dirname, since it got moved to the above sections.
4658 All this was inspired by a patch proposed earlier by Eric Blake.
4660 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4662 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
4663 `$0' to protect against spaces.
4664 * lib/autotest/general.m4 (AT_INIT): Likewise.
4665 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
4668 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4670 * bin/autoscan.in: The value of find_configure_ac should be
4671 checked for existence, so we don't barf over a nonexisting
4672 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
4674 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4676 * bin/autoupdate.in: Fix some typos.
4678 2006-03-21 Stepan Kasal <kasal@ucw.cz>
4680 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
4682 * lib/autoscan/autoscan.list: Refreshed.
4684 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4686 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
4687 and Erlang related variables.
4689 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
4690 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
4691 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
4692 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
4693 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
4694 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
4695 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
4696 (_AC_PROG_OBJC_G): New macros.
4697 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
4698 * doc/autoconf.texi (Objective C Compiler): New node.
4699 (Preset Output Variables): Document OBJCFLAGS.
4700 (Language Choice): Document `Objective C' language.
4701 (Fortran Compiler): Fix typo.
4703 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
4705 2006-03-20 Stepan Kasal <kasal@ucw.cz>
4707 * doc/autoconf.texi (Default Includes): Fix typo
4708 s/AC_HEADERS_STDC/AC_HEADER_STDC/
4709 (Limitations of Usual Tools): s/unwriteable/unwritable/
4710 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
4711 Fix typos in the comments.
4713 2006-03-17 Stepan Kasal <kasal@ucw.cz>
4715 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
4716 Factor out the warning to...
4717 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
4718 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
4719 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4721 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
4722 case `ac_delim' when writing the sed script.
4724 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
4725 moved DUALCASE=1 ...
4726 (AS_SHELL_SANITIZE): ... here.
4727 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
4730 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
4732 (_AC_PATH_PROG): Store the result to VARIABLE.
4733 (AC_PATH_PROG): No need to set VARIABLE again.
4735 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
4736 the first one is usual AT_CHECK_MACRO test, the second one checks
4737 that the same works when cross-compiling.
4738 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
4739 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
4741 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4743 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
4744 the directory `/usr/bin/posix' in the shell search, to prefer
4745 the Posix shell not only in subsequent spawns as with `$BIN_SH'
4748 * doc/autoconf.texi (contents): To fix texi2html output, hide
4749 `@setcontentsaftertitlepage' for HTML.
4750 (Writing Autoconf Macros): Likewise, insert space after `@c'.
4751 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
4754 2006-03-16 Stepan Kasal <kasal@ucw.cz>
4756 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
4758 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
4759 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
4760 why IFS is restored so late; thank you, Ralf, for reminding us.
4762 2006-03-15 Stepan Kasal <kasal@ucw.cz>
4764 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
4765 variables in the examples.
4767 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
4769 * doc/autoconf.texi (several sections): Cleaned up documentation for
4770 macros in erlang.m4.
4772 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4774 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
4775 failure condition for `$(cmd)' style command substitutions.
4776 (Parenthetical command substitution, Multiline parenthetical
4777 command substitution): Use it.
4779 * doc/autoconf.texi (Special Shell Variables): Missing word.
4780 Reported by Keith Marshall <keith.marshall@total.com>.
4782 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
4783 IFS even in case of empty `$PATH'.
4785 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4787 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
4788 `expr' away if there is nothing to do.
4789 < --keywords >: Simplify and robustify argument handling.
4790 Revert erroneous comment from 2005-08-23. Extend to allow
4791 keyword negation with `!'.
4792 Update help message. Remove broken code to prevent running
4793 tests multiple times.
4794 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
4795 Update and fix the documentation accordingly.
4796 * tests/autotest.at (Keywords): Renamed to..
4797 (Keywords and ranges): .. this. Extended to make sure negated
4798 keywords, keywords taken from AT_SETUP arguments, and numeric
4799 test ranges work, and that matching is case-insensitive.
4801 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4803 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
4804 allow to pass unnamed structs even in C++.
4805 (AC_CHECK_SIZEOF): Likewise.
4806 Also fix quoting error in `AC_MSG_FAILURE' arguments.
4807 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
4808 struct): New tests for unnamed structs, each both native and
4811 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
4812 a structure inside a cast, for C++ conformance.
4813 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
4814 Also fix quoting error in `AC_MSG_FAILURE' arguments.
4816 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
4817 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
4818 trying to execute the command `no'.
4820 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
4821 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
4824 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
4825 example. Do not emphasize `$%', it is hardly new and special.
4826 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
4828 * doc/autoconf.texi (Limitations of Usual Tools): Document
4829 OpenBSD and traditional `grep' failure to handle multiple
4830 patterns separated by newlines.
4832 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
4834 * doc/autoconf.texi (several sections): Add documentation for macros
4837 2006-03-10 Eric Blake <ebb9@byu.net>
4839 * doc/autoconf.texi (Obsolete Macros): Fix wording of
4842 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
4844 * doc/autoconf.texi: Use @acronym more consistently for acronyms
4845 like BSD, GPL, LGPL. Fix minor English typos.
4846 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
4847 Mention that these macros are becoming obsolete.
4848 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
4849 Use more modern terminology for which standard is what.
4850 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
4852 (AC_PROG_CXX): Likewise.
4853 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
4854 Remove obsolete discussion about how to port to K&R.
4855 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
4856 the obsolescent AC_HEADER_STDC.
4857 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
4860 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4862 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4863 Remove stdin redirection from /dev/null to allow pipe to work.
4865 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
4867 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
4868 Require that /lib/cpp include stdio.h correctly. Solaris 10's
4869 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
4872 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4874 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
4875 HP-UX sed is 99 commands, not 100.
4876 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
4877 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
4878 newline for portability.
4879 * tests/torture.at (Torturing config.status): Also test 100
4880 AC_SUBST_FILE invocations. Fix test to actually verify the
4881 AC_CONFIG_FILES output.
4882 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
4883 command, label, and read-file `r' limits. Unify HP-UX spelling.
4885 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
4887 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
4889 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
4890 * tests/mktests.sh: Small shell portability fixes.
4892 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4894 * doc/autoconf.texi (Caching Results): Fix the examples to use a
4895 recommended quoting style and discard unwanted output.
4897 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
4899 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
4900 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
4901 cases, and to work around Tru64 expr bug.
4903 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4905 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
4906 expr bug that turns the result of a regex match into a number if
4909 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4911 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
4912 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
4913 in section `Specific Compiler Characteristics'.
4915 2006-03-04 Eric Blake <ebb9@byu.net>
4917 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
4920 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4922 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
4923 order of variable initialization, so even the Solaris 2.6 shell
4924 can create a config header correctly. Fixes lots of test suite
4927 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4929 * doc/autoconf.texi (Text processing Macros): New node to
4930 document the m4sugar macros m4_re_escape, m4_tolower,
4931 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
4933 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
4935 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
4936 XrmInitialize (0) -> XrmInitialize ().
4937 Reported by Toshio Kuratomi.
4939 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4941 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
4942 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
4943 * doc/autoconf.texi (Programming in M4sh): Adjusted.
4944 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
4945 both macros are defun'ed so that required macros are evaluated
4948 * doc/autoconf.texi (Prerequisite Macros): State more precisely
4949 where a required macro will be expanded.
4950 (Coding Style): Another reason not to use `m4_define'.
4952 2006-02-21 Eric Blake <ebb9@byu.net>
4954 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
4956 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4958 * doc/autoconf.texi (Looping constructs): New node, to
4959 document m4_for, m4_foreach, m4_foreach_w, and mention
4960 obsolete AC_FOREACH.
4961 (Obsolete Macros): Document AC_FOREACH.
4962 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
4963 (m4_for): Fix to never loop (almost) endlessly, work correctly
4964 with arithmetic expressions in arguments, a step of zero or
4965 non-integer multiple of the interval, and avoid integer
4967 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
4970 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
4972 Add basic support for Erlang, both for configuring Erlang/OTP
4973 tools, and Erlang as a conf test language.
4974 * lib/autoconf/erlang.m4: New file.
4975 * lib/autoconf/autoconf.m4: Add erlang.m4.
4976 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
4977 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
4978 * NEWS: Add short description of new macros.
4979 * THANKS: Add Romain Lenglet.
4981 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4983 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
4984 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
4986 2006-02-15 Eric Blake <ebb9@byu.net>
4988 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
4991 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4993 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
4994 (_AS_CASE): Private helper macro.
4995 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
4996 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
4997 Fix syntax of AS_IF description
4998 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
4999 for the AC_REQUIRE mess.
5000 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
5003 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
5005 * doc/autoconf.texi: Minor style cleanup.
5006 Be consistent about spaces after commas.
5007 Insert [] where empty args look a bit funny.
5008 Fix some "i.e." and "e.g." usages.
5009 Try to avoid "X/Y" usages.
5010 Don't be pedantic about "ISO C99"; just say C99.
5011 Prefer GNU style for spaces in front of parens.
5012 (Function Portability): Comment about C89 versus C99
5013 signed integer division.
5014 (Particular Headers): Use current gnulib style for dirent
5017 2006-02-14 Stepan Kasal <kasal@ucw.cz>
5018 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5020 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
5021 macros without parameters.
5022 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
5023 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
5024 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
5026 (autoupdate): Updated to match AU_ALIAS fix.
5028 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5029 and Paul Eggert <eggert@cs.ucla.edu>
5031 * doc/autoconf.texi (Programming in M4sh): Document
5032 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
5034 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5036 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
5037 (AS_BOURNE_COMPATIBLE): ..this.
5038 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
5040 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
5042 * doc/install.texi (Defining Variables): Tighten up the
5043 CONFIG_SHELL wording.
5045 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
5046 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5048 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
5049 of (set -o) rather than testing whether (set -o posix) succeeds,
5050 to work around a bug in the AIX 5.3 shell. Problem originally
5051 reportd by Howard Chu for libtool.
5053 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
5055 * doc/autoconf.texi (Running the Compiler, Running the Linker):
5056 Changes the macro arguments in summaries to match the
5059 2006-02-04 Stepan Kasal <kasal@ucw.cz>
5061 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
5062 hint as ``a workaround for a bug.''
5064 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5066 * bin/autoreconf.in: New option `--no-recursive'.
5067 Improve wording for subpackages a bit.
5068 * doc/autoconf.texi (autoreconf Invocation): Updated.
5071 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
5072 in environment of `configure', not the command line.
5073 Reported by Howard Chu <hyc@highlandsun.com>.
5075 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
5077 * doc/autoconf.texi (Limitations of Builtins): Document the
5078 problem with "trap -".
5080 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
5082 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
5083 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
5084 messages to differentiate Fortran and Fortran 77 tests.
5085 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
5086 AC_LANG_ASSERT, to allow use in mixed-language projects.
5088 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
5090 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
5091 FOO" to "defined (FOO)".
5092 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
5093 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
5094 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
5095 * tests/tools.at (ifnames): Likewise.
5097 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5099 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
5100 * lib/Autom4te/General.pm (mktmpdir): Likewise.
5101 (END): Improve error message a bit.
5102 Reported by Bruce Korb <bkorb@gnu.org>.
5104 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5106 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
5107 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
5109 2006-01-11 Stepan Kasal <kasal@ucw.cz>
5111 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
5112 requires sys/stream.h. Reported by Oliver Kiddle.
5114 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5115 Stepan Kasal <kasal@ucw.cz>
5117 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
5118 before the removals of test dirs, use `find' to avoid modification
5119 of symlinked directories.
5121 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
5123 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
5124 Don't ignore the macro arguments.
5126 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
5128 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
5129 declaration that works for MSVC.
5131 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5133 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
5134 Add `*.map' and `.inf' for Green Hills compiler.
5135 Reported by Stefan Seefeld <stefan@codesourcery.com>.
5137 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
5138 correctly: pad with spaces after FIRST_PREFIX if necessary,
5139 and compute string lenghts with `m4_qlen' instead of `m4_len'.
5140 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
5141 * tests/m4sh.at (AS_HELP_STRING): Test extended.
5143 Reported by numerous people, numerous times.
5145 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
5147 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
5148 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
5149 * lib/autoconf/general.m4, lib/autoconf/status.m4:
5150 * lib/autotest/general.m4, tests/local.at:
5151 Update copyright year to 2006.
5153 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
5155 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
5156 for file names, again. Reported by Noah Misch.
5157 (Coding Style): Explain that s|a|b| is preferred for file names.
5158 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
5159 (AC_OUTPUT_MAKE_DEFS): Likewise.
5160 * lib/autotest/general.m4 (AT_INIT): Likewise.
5161 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
5162 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
5164 Fix Posix-conformance bugs re use of { command in sed scripts,
5165 and improve the sed-related documentation a bit.
5166 * doc/autoconf.texi (Installation Directory Variables): Use
5167 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
5168 rather than "sed" when talking about Sed in general.
5169 (Particular Programs): Likewise.
5170 (Coding Style): y is like s with respect to / and ,.
5171 (Limitations of Usual Tools): Document the weird restrictions
5172 that Posix has about { }. Use better quoting.
5173 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
5174 Rewrite to conform to Posix rules about { } in sed scripts.
5175 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
5176 * tests/foreign.at (Libtool): Likewise.
5177 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
5178 Use our own style advice re 's,a,b,' versus 's|a|b|'.
5180 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5182 * lib/autoconf/status.m4: Fix typo.
5184 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
5185 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
5186 `-def', for the benefit of Portland `pgf90 -Mipa'.
5187 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
5189 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
5191 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
5192 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
5193 shell from zsh to bash.
5195 2005-12-31 Stepan Kasal <kasal@ucw.cz>
5197 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
5198 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
5200 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
5202 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
5203 parentheses in $(...). Problem reported by Eric Blake.
5205 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
5207 * doc/autoconf.texi (Limitations of Usual Tools):
5208 Mention which characters can be escaped with \ in portable regular
5209 expressions used in grep, sed, expr. Mention the leading ^ problem
5210 with expr. Clean up some confusing wording. Mention which
5211 grep options are portable.
5213 2005-12-09 Stepan Kasal <kasal@ucw.cz>
5215 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
5217 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
5219 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
5220 patch, noted by Ralf Wildenhues.
5222 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5224 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
5225 posix' unconditionally, for pdksh in `native sh' emulation.
5227 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
5229 * doc/autoconf.texi (Shellology): Document eval $? problem
5231 (Limitations of Builtins): Likewise.
5233 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5235 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
5236 CONFIG_SHELL in the environment of the configure rerun.
5237 * doc/autoconf.texi (Here-Documents, config.status Invocation):
5238 Suggest passing CONFIG_SHELL absolute, and in the environment
5239 rather than as option.
5241 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5243 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
5244 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
5245 Fix macro quoting. Fix output for n * 98 substituted variables.
5247 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5249 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
5250 `tmp' to avoid file removal race.
5252 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5254 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
5255 ac_clean_files and LIBOBJS.
5257 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5259 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
5260 Factor functionality to..
5261 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
5262 `AC_SUBST($1)' in the public version.
5263 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
5264 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
5267 2005-11-01 Stepan Kasal <kasal@ucw.cz>
5269 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
5272 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5274 * NEWS: Move AH_HEADER mention to right place.
5276 2005-10-27 Stepan Kasal <kasal@ucw.cz>
5278 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
5279 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5281 2005-10-25 Stepan Kasal <kasal@ucw.cz>
5283 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
5284 conftst2.$ac_objext.
5285 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5287 2005-10-24 Stepan Kasal <kasal@ucw.cz>
5289 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
5290 conftest.o, to see whether the compiler really obeys; rm the object
5291 file before and after the test and register it with ac_clean_files.
5292 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
5294 2005-10-21 Stepan Kasal <kasal@ucw.cz>
5296 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
5297 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
5298 code so that the most common case requires less forks.
5300 2005-10-20 Stepan Kasal <kasal@ucw.cz>
5302 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
5303 not portable; thanks to Paul Eggert and Alexandre.
5305 * NEWS: Fix an old typo.
5307 2005-10-20 Jim Meyering <jim@meyering.net>
5309 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
5310 the latter'', in two places.
5312 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
5314 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
5315 AC_LANG_PROGRAM, fixing a typo. Don't give details about
5316 the inner workings of AC_LANG_FUNC_LINK_TRY.
5317 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
5318 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
5319 by the function rather than ignoring it.
5320 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
5321 comparing its address. Intel's interprocedural optimization was
5322 outsmarting the old heuristic. Problem reported by
5325 2005-10-19 Stepan Kasal <kasal@ucw.cz>
5327 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
5329 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
5331 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
5332 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
5334 2005-10-04 Stepan Kasal <kasal@ucw.cz>
5336 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
5337 before removing it (chmod -R u+rwx); there are three instances of this.
5339 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5340 Stepan Kasal <kasal@ucw.cz>
5342 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
5343 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
5344 make its content writable before removing it. Remove an errorneous
5345 comment from the end, where the logs of the failed tests are copied
5346 to the main log file.
5348 2005-09-27 Stepan Kasal <kasal@ucw.cz>
5350 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
5351 in case the computer is too quick. Double quote the configure.ac
5354 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
5355 problems if the testsuite were running too fast.
5357 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
5359 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
5360 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
5361 (which belong to Xt, not X itself). See Debian bug 327655.
5362 * NEWS: Mention this.
5364 2005-09-07 Stepan Kasal <kasal@ucw.cz>
5366 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
5368 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
5370 * config/move-if-change: Don't output "$2 is unchanged";
5371 suggested by Ben Elliston. Handle weird characters correctly.
5373 2005-09-06 Stepan Kasal <kasal@ucw.cz>
5375 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
5376 calls, so that the final expansion of this macro is shorter.
5377 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
5378 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
5379 the cleanup there. Use AS_VAR_* macros, to be more general.
5380 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
5382 * lib/autoconf/general.m4: Use AS_IF where appropriate.
5384 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
5386 2005-09-01 Stepan Kasal <kasal@ucw.cz>
5388 * doc/autoconf.texi (Configuration Headers): Add an index entry
5391 2005-08-26 Pavel Roskin <proski@gnu.org>
5393 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
5394 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
5397 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
5399 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5400 The previous patch didn't work, so try a better one.
5402 2005-08-26 Stepan Kasal <kasal@ucw.cz>
5404 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
5405 in the example. Reported by Bruno Haible.
5406 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
5407 "if $undefined_var;" succeeds with my shell.
5409 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
5410 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
5411 but change the m4_divert_text to m4_divert_once.
5413 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
5415 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
5416 Work around bug in Solaris /usr/xpg4/bin/awk.
5417 The bug is present in at least Solaris 8 through 10.
5419 2005-08-24 Stepan Kasal <kasal@ucw.cz>
5421 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
5422 some evil values and relying on the fact that $* concatenates the
5423 parameters by the first character from IFS.
5425 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
5426 Stepan Kasal <kasal@ucw.cz>
5428 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
5429 first header appears, define AH_HEADER.
5430 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
5431 Update limitations about when to call AC_CONFIG_HEADERS.
5432 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
5433 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
5434 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
5435 ``Configuration Actions''; fix their index entries.
5437 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
5438 options correctly. Process N-M as M-N if M is smaller than N.
5439 Process ranges correctly so that N-N will run only N.
5440 Sort and uniquify the tests that will be run. If there is more
5441 than one test, reinsert the banners for the tests.
5442 * tests/autotest.at (Keywords): Unmark XFAIL.
5444 2005-08-23 Stepan Kasal <kasal@ucw.cz>
5446 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
5447 before passing the macro name to AH_TEMPLATE.
5449 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
5450 now opens log after option processing; in particular, --version
5451 and --help do not touch config.log.
5453 * Makefile.maint: Revert the change from 2005-08-12.
5455 2005-08-22 Stepan Kasal <kasal@ucw.cz>
5457 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
5459 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
5461 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5463 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
5464 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
5467 * doc/autoconf.texi (Defining Symbols, Changed Results):
5468 Prepend to LIBS, not append, in examples.
5470 2005-08-16 Stepan Kasal <kasal@ucw.cz>
5472 When building in place, set srcdir="."; suggested by Tim Van Holder.
5474 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
5475 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
5476 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
5477 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
5478 does not mean "no --srcdir option".
5480 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5482 * tests/autoscan.at (autoscan): New file.
5483 * tests/suite.at: Use it.
5484 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
5485 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
5487 * tests/autotest.at (Keywords): Test keywords combinations.
5489 2005-08-12 Stepan Kasal <kasal@ucw.cz>
5491 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
5492 add "2>&1"; gzip 1.2.4 prints help on stderr.
5494 2005-07-27 Stepan Kasal <kasal@ucw.cz>
5496 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
5497 was pushdef'ed twice while popped only once. Push it only once.
5498 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
5500 2005-07-26 Stepan Kasal <kasal@ucw.cz>
5502 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
5503 prefixed by mere "===", not "configure: === ".
5505 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
5507 * Makefile.maint: Update from Bison.
5509 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
5510 "<tab>" in comment, so that the point is understandable.
5512 2005-07-25 Stepan Kasal <kasal@ucw.cz>
5514 Rewrite substantial part of lib/autoconf/status.m4.
5515 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
5516 and CONFIG_COMMANDS are not processed in four separate loops.
5517 Instead, there is one main loop. This alows that the common code
5518 is expanded only once, thus config.status (and configure) is smaller.
5520 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
5521 the AC_LIST_FILES and cousins macros are no longer used.
5523 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
5524 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
5525 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
5526 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
5527 contain the initialization, nor the for loop, nor the associated
5528 commands; all these go to ...
5529 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
5530 _AC_OUTPUT_CONFIG_STATUS.
5531 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
5532 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
5533 (_AC_OUTPUT_FILE): The creation of the sed script ...
5534 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
5535 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
5536 _AC_OUTPUT_MAIN_LOOP.
5537 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
5538 _AC_CONFIG_COMMANDS): Use ...
5539 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
5540 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
5541 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
5542 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
5543 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
5544 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
5546 (_AC_CONFIG_UNIQUE): Update.
5547 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
5548 Replaced by this ...
5549 (_AC_LIST_TAGS): ... new common macro.
5550 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
5551 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
5552 (_AC_LIST_TAG_COMMANDS): ... new common macro.
5553 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
5554 this didn't belong to the `config commands' section.
5555 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
5556 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
5557 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
5558 to the `config commands' section either.
5559 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
5560 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
5562 ... and many changes to the comments nearby.
5564 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
5565 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
5566 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
5567 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
5568 (#define header templates): The comment at the top of the generated
5569 header now includes the name(s) of the source file(s).
5571 Several unrelated small changes:
5573 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
5574 parameter to AC_DIAGNOSE.
5575 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
5576 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
5577 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
5578 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
5580 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
5581 in AC_OUTPUT doesn't double-quote it either.
5582 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
5585 2005-07-10 Stepan Kasal <kasal@ucw.cz>
5587 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
5588 versions of Portland Group compiler produce single- and double-quoted
5589 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
5590 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5592 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
5594 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5595 This is a corrected version of yesterday's patch.
5597 2005-07-07 Stepan Kasal <kasal@ucw.cz>
5599 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
5600 path, too; insert a "===" to emphasize the line.
5602 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
5603 ac_cv_build_alias to ac_build_alias.
5604 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
5606 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
5607 change eliminates it. Problem reported by Alexandre Duret-Lutz.
5608 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
5609 (AC_ARG_VAR): ... here.
5610 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
5613 Keep a list of all precious variables and process them with one simple
5614 for loop, instead of expanding all commands, or, OTOH, complicated
5615 processing of output of "set".
5616 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
5617 variable names in new macro...
5618 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
5619 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
5620 a loop to assign all ac_env_* and ac_cv_env_* variables.
5621 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
5623 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
5624 its value to shell variable ac_precious_vars and call
5625 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
5626 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
5627 _AC_ARG_VAR_VALIDATE.
5629 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
5630 and the AC_SUBSTs ...
5631 (AC_INIT): ... here.
5633 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
5634 the ac_subst_files section in config.log.
5636 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
5638 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
5640 * NEWS: New macro AC_C_TYPEOF.
5641 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
5642 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
5643 * tests/c.at (C keywords): Test AC_C_TYPEOF.
5645 Fix problems reported by Nicolas Joly.
5646 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
5647 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
5648 They are generated by the Tru64 v5.1B shell.
5650 2005-07-05 Stepan Kasal <kasal@ucw.cz>
5652 Fix my changes from 2005-07-01; reported by Noah Misch.
5653 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
5654 description, the macro now accepts only a single tag.
5655 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
5657 Fix cases when the varsions of Autoconf and Autotest don't match.
5658 Reported by Noah Misch.
5659 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
5660 at_top_builddir, for compatibility with older autotest.
5661 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
5662 is not set, use at_top_builddir, for compatibility with older
5663 versions of autoconf.
5665 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
5667 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
5668 Problem reported by Patrick Welche.
5670 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
5672 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
5673 sed substitution command, so that we allow | in program prefixes
5674 and program suffixes. (& is a problem anyway; we're not fixing
5676 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
5677 configure_input, top_builddir, srcdir, etc.
5678 * lib/autotest/general.m4 (AT_INIT): Likewise, for
5679 PATH_SEPARATOR in AUTOTEST_PATH.
5681 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
5683 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
5684 for loop over config.site files using `set', to allow
5685 directory names containing IFS characters.
5687 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
5689 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
5690 directories with weird names. Apparently some people like living
5691 on the edge. However, improve the test that "pwd" actually does
5692 report a name for the working directory.
5693 * NEWS: Remove the claim that we test for funny chars in dir names.
5695 2005-07-01 Stepan Kasal <kasal@ucw.cz>
5697 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
5699 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
5700 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
5701 Now accept a single tag, not whitespace separated list.
5702 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
5704 2005-06-30 Stepan Kasal <kasal@ucw.cz>
5706 * doc/autoconf.texi (Configuration Headers): Change the explanation
5707 about #include <config.h>.
5708 (Generic Functions): Mention the Gnulib project.
5709 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
5711 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
5712 document to output the default config_* lists to config.status.
5713 Don't recognize option --file, if the functionality is not there.
5714 Likewise for --header; moreover, recognize --he and --h as shortcuts
5715 for --help in that case.
5717 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
5718 matches the order of execution. No code changed.
5720 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5722 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
5723 single-quoted -cmdline argument in Portland Group compiler.
5724 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
5726 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
5728 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
5730 2005-06-29 Stepan Kasal <kasal@ucw.cz>
5732 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
5733 descriptors to child processes; reported by Norman Gray.
5735 2005-06-29 Stepan Kasal <kasal@ucw.cz>
5737 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
5739 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
5740 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
5741 (AC_SUBST): Call it.
5742 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
5743 the directory specific variables; but don't call it for configure_input.
5745 2005-06-28 Derek Price <derek@ximbiot.com>
5747 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
5750 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
5752 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
5753 directory have inherent problems with special characters like spaces,
5754 due to limitations in Make syntax. Problem reported by Alexandre
5756 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
5757 Also, fix Tru64 porting problem with shell patterns,
5758 reported by Ralf Wildenhues.
5760 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5762 * doc/autoconf.texi (Subdirectories): Fix markup typos.
5764 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
5766 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
5768 Fix some more shell quoting problems. Prompted by a bug report
5769 from Justace Clutter.
5770 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
5771 variable into diagnostic. Make the diagnostic an error, not a warning,
5772 because we really don't support spaces and suchlike in dir names.
5773 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
5774 Don't worry about backslashes in srcdir; it can't happen now.
5775 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
5776 Simplify ac_optarg handling.
5777 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
5779 2005-06-22 Stepan Kasal <kasal@ucw.cz>
5781 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
5782 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
5783 * tests/atlocal.in: Propagate $EGREP and $SED.
5784 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
5785 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
5787 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
5788 that '\|' is not allowed in BREs; recommend using newline separated
5789 list of patterns instead of multiple -e options.
5791 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
5793 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
5795 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5797 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
5799 2005-06-21 Stepan Kasal <kasal@ucw.cz>
5801 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
5802 b, t, r, w commands require single space, while : cannot have any.
5803 (Special Shell Variables): Fix sed code this in the example.
5804 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
5805 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
5807 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
5808 expand to the empty list. Don't use two pairs of m4_changequote,
5811 2005-06-20 Derek Price <derek@ximbiot.com>
5813 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
5815 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
5817 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
5818 * doc/autoconf.texi:
5819 Don't mention Solaris versions so much, if a
5820 problem is common to all extant versions of Solaris. Say "SunOS
5821 4" instead of "SunOS" for SunOS 4.
5822 (awk): Mention more of the limitations of traditional Awk.
5823 (cat): Don't talk about cat -v.
5825 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
5827 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
5828 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
5829 but the implementation is entirely different and is designed
5830 to be compatible with glibc strverscmp.
5831 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
5833 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
5834 on Mac OS X 10.4 reported by Peter O'Gorman in:
5835 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
5836 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
5837 Use shell builtins rather than 'expr', to work around expr bug.
5839 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
5841 * doc/autoconf.texi: "filesystem" -> "file system".
5842 "behaviour" -> "behavior".
5843 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
5844 * lib/autoconf/general.m4: Omit blank after ":" sed command,
5846 * lib/m4sugar/m4sh.m4: Likewise.
5847 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
5848 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
5850 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
5851 (.x.1): Ignore the time stamp in the .TH line when deciding whether
5852 to update the man page. That way, we don't have to check in new
5853 man pages every month.
5855 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
5856 quotes and backslashes. Patch from Derek Price.
5858 2005-06-10 Derek Price <derek@ximbiot.com>
5860 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
5863 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
5865 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
5866 -u, since it outputs chatter if the input files are the same.
5867 Problem reported by Ralf Menzel.
5869 2005-06-08 Derek Price <derek@ximbiot.com>
5871 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
5872 renaming them since they are about to be redefined anyhow.
5874 2005-06-08 Derek Price <derek@ximbiot.com>
5876 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
5877 redefined M4 macros to this node. Document m4_include & m4_sinclude.
5878 Move m4_undefine to alphabetical order.
5880 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
5882 * README: Recommend GNU M4 1.4.3 or later.
5883 * doc/autoconf.texi (Introduction): Likewise.
5884 Reword to avoid some formatting glitches.
5885 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
5886 Clarify explanation of HP compiler bug.
5887 Redo example output tp match current CVS snapshot.
5888 Use @example.org in email addresses when the examples
5889 might get inadvertently cut-and-pasted into user code.
5890 Remove example of autom4te usage that doesn't seem to work now.
5891 Use modern AC_INIT (except when the example is meant to be
5892 shown with Autoconf 2.13).
5893 Update ksh info for Solaris 9 and later.
5895 Modernize description of Automake versions a bit.
5896 Don't claim a future version of Autoconf is near.
5897 * doc/install.texi: Reword to avoid some formatting glitches.
5899 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5901 * doc/autoconf.texi: Add [] to examples, so that the manual
5902 follows its own advice about quoting better.
5903 Reword to avoid some formatting glitches.
5904 * doc/installt.exi: Reword to avoid some formatting glitches.
5906 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
5907 Tru64 ksh pattern matching bug. Reported against Libtool by
5908 Albert Chin <libtool@mlists.thewrittenword.com> and
5909 Nicolas Joly <njoly@pasteur.fr>.
5911 2005-06-06 Stepan Kasal <kasal@ucw.cz>
5913 m4_cdr of one-member list was [[]] (one-member list containing an
5914 empty string) instead of [] (an empty list. Callers were skewed to
5915 match this misbehaviour. As a consequence of this:
5916 - m4_foreach([x], [], [foo]) expanded to `foo', while
5917 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
5918 This bug has been fixed:
5920 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
5921 expand to an empty string; print error msg if called without
5923 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
5924 misbehaviour; handle [] and [[]] correctly.
5926 2005-06-06 Stepan Kasal <kasal@ucw.cz>
5928 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
5929 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
5930 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
5932 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
5934 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
5935 swallow records with more than 99 fields.
5936 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
5937 parse the long line.
5939 2005-06-04 Stepan Kasal <kasal@ucw.cz>
5941 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
5942 swallow literals longer than 399. Reported by Ralf Wildenhues.
5943 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
5944 to workaround this limitation.
5946 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
5948 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
5949 to gfortran, and make these the first two compiler names
5950 checked (following the general autoconf preference for gcc).
5952 2005-06-03 Stepan Kasal <kasal@ucw.cz>
5954 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
5955 (DISTCLEANFILES): Remove $(check_SCRIPTS).
5956 (testsuite): Make sure autotest.m4f is up-to-date before using it.
5958 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
5960 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
5961 expression of unbounded size when processing the --list
5962 option. This runs afoul of a limit of 399 bytes per regular
5963 expression on AIX. Problem reported by Ralf Wildenhues.
5965 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
5967 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
5968 * doc/autoconf.texi (Particular Headers): Reword example
5969 for multiline stdbool replacement.
5970 (Setting Output Variables): Reword text a bit. Don't
5971 give all the details about |#_!!_#|.
5972 Reword description of line replacement.
5974 2005-05-31 Dan Manthey <dan_manthey@partech.com>
5976 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
5977 now contain newlines, and substituted files must be referenced on
5978 a line alone; the sed scripts to substitute them are now very
5980 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
5981 commands can be put in a sed script portably.
5982 * doc/autoconf.texi (Setting Output Variables): Document above
5983 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
5984 use of multiline substitution.
5985 * tests/torture.at: No longer expect substitution of newline to fail.
5987 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
5989 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
5990 From Ralf Menzel (trivial change).
5992 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
5994 * tests/local.at: Don't attempt to check for negated character
5995 classes in shell scripts. The test was too brittle.
5997 2005-05-25 Stepan Kasal <kasal@ucw.cz>
5999 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
6000 * doc/autoconf.texi (Limitations of Builtins): Document this
6003 2005-05-24 Stepan Kasal <kasal@ucw.cz>
6005 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
6006 common code; used in many places in the tree.
6007 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
6008 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
6010 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
6012 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
6013 messages when ac_unique_file is not found.
6014 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
6015 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
6016 commands, for consistency with AC_MSG_ERROR and such.
6018 * bin/autoconf.as: Make more use of "shift 2" in option processing.
6020 * bin/Makefile.am: Merge the two rules for creating scripts.
6022 2005-05-23 Stepan Kasal <kasal@ucw.cz>
6024 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
6025 obsolete; it was never documented.
6026 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
6028 2005-05-20 Stepan Kasal <kasal@ucw.cz>
6030 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
6031 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
6032 (ac_top_builddir): ... this ...
6033 (ac_top_build_prefix): ... to this; the old name is also kept, for
6034 backward compatibility.
6035 (ac_top_builddir_sub): New variable, without the trailing slash,
6037 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
6038 * doc/autoconf.texi (Configuration Actions): Rename
6039 ac_top_builddir to ac_top_build_prefix.
6040 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
6041 at_top_builddir to at_top_build_prefix.
6042 * lib/autotest/general.m4 (AT_INIT): Likewise.
6044 2005-05-20 Stepan Kasal <kasal@ucw.cz>
6046 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
6049 2005-05-17 Stepan Kasal <kasal@ucw.cz>
6051 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
6052 argument to m4_foreach. I guess it was necessary in the past,
6053 but I think it's a no-op now.
6055 2005-05-17 Stepan Kasal <kasal@ucw.cz>
6057 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
6058 ``cat <<_ACEOF'' commands to one.
6059 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
6060 * lib/autoconf/status.m4: On various places, use expr instead of
6062 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
6063 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
6064 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
6066 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
6067 the wrong patterns between ``case'' and ``esac.'' The previous
6068 code had false positives.
6070 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
6072 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
6074 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
6077 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
6079 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
6080 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
6081 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
6082 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
6083 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
6084 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
6085 config/config.guess, config/config.sub, config/elisp-comp,
6086 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
6087 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
6088 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
6089 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
6090 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
6091 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
6092 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
6093 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
6094 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
6095 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
6096 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
6097 lib/autoconf/general.m4, lib/autoconf/headers.m4,
6098 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
6099 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
6100 lib/autoconf/specific.m4, lib/autoconf/status.m4,
6101 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
6102 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
6103 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
6104 lib/autotest/general.m4, lib/emacs/Makefile.am,
6105 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
6106 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
6107 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
6108 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
6109 tests/compile.at, tests/foreign.at, tests/fortran.at,
6110 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
6111 tests/semantics.at, tests/suite.at, tests/tools.at,
6112 tests/torture.at, tests/wrapper.as:
6113 Update FSF postal mail address.
6115 2005-05-13 Stepan Kasal <kasal@ucw.cz>
6117 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
6119 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
6120 enough arguments, similarly as in m4_bpatsubsts.
6122 2005-05-12 Stepan Kasal <kasal@ucw.cz>
6124 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
6127 2005-05-11 Stepan Kasal <kasal@ucw.cz>
6129 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
6130 for absolute directory names in one loop.
6131 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
6132 abbreviations of --version and --debug.
6134 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
6136 * doc/autoconf.texi (Autoconf Language): Be more precise about
6137 quoting rules. Problems noted by Stepan Kasal.
6138 Also, throughout this document, be more careful about white space.
6139 "blank", "white space", and "space" all have different meanings
6140 and we should be careful to say what we mean.
6142 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
6144 Fix C++ related problems reported by Werner Lemberg.
6145 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
6146 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
6147 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
6148 avoid problems with C++ and throw.
6149 * tests/compile.at: .cpp, not .cc.
6151 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
6153 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6155 * doc/autoconf.texi (Generic Functions): Typos.
6157 2005-05-02 Gary V. Vaughan <gary@gnu.org>
6159 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
6160 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
6161 set by latest automake.
6163 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
6165 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
6166 outputs 0 on GNU/Linux these days.
6168 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
6170 * doc/autoconf.texi (Autoconf Language): Add more description
6171 about quoting heuristics.
6172 (Limitations of Builtins): Describe "set -" problems.
6174 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6176 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
6179 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
6180 by AC_DEFINE; it was a mistake.
6181 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
6183 2005-04-25 Stepan Kasal <kasal@ucw.cz>
6185 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
6187 2005-04-22 Stepan Kasal <kasal@ucw.cz>
6189 * doc/autoconf.texi (External Software): Quadrigraphs are not
6190 processed correctly in AS_HELP_STRING; avoid this in the examples.
6191 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
6192 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
6193 comment and reduce m4_default([foo], []) to [foo].
6194 (m4_strip): Update the explanation.
6196 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
6198 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
6199 Remove core.conftest.* too; it's generated by Tru64 5.1.
6200 Problem reported by Jennis Pruett.
6201 * lib/autoconf/functions.m4
6202 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
6203 Don't bother to remove core files; AC_RUN_IFELSE should do that
6206 2005-04-19 Stepan Kasal <kasal@ucw.cz>
6208 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
6210 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
6212 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
6213 Report from Horst Wente.
6215 2005-04-15 Stepan Kasal <kasal@ucw.cz>
6217 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
6220 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
6222 * doc/autoconf.texi (External Software, Package Options): Add
6223 examples showing how to implement --with-* and --enable-* options.
6225 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
6227 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
6228 as well as configure.in. Problem reported by Gregorio Guidi.
6230 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
6232 * doc/autoconf.texi (Particular Functions): Use gnulib's current
6233 pattern for alloca snippet.
6235 2005-04-04 Stepan Kasal <kasal@ucw.cz>
6237 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
6239 2005-04-01 Stepan Kasal <kasal@ucw.cz>
6241 * doc/autoconf.texi (Generic Programs): Fix a typo.
6243 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
6245 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
6246 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
6248 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6250 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
6251 Merge `-z option' as well for the benefit of Solaris link flags. Pass
6252 whole-archive (-zallextract, -zdefaultextract) options in the hope of
6253 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
6254 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
6256 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
6258 * NEWS: The configure command now warns you if you attempt to use
6259 a directory whose name contains a special character like space,
6261 * doc/autoconf.texi (Installation Directory Variables): Allow
6262 "," in file names. Do not use \@; it's not a portable regexp.
6263 * bin/Makefile.am (edit): Likewise.
6264 * lib/Makefile.am (edit): Likewise.
6265 * tests/Makefile.am (edit): Likewise.
6266 * tests/semantics.at: Likewise.
6267 * tests/torture.at: Likewise.
6268 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
6269 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
6270 * doc/autoconf.texi (File System Conventions): Warn about
6271 unportable file names.
6272 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
6274 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
6275 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
6276 ac_pwd, and quote srcdir.
6277 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
6279 * doc/autoconf.texi: Fix some systematic formatting problems.
6280 ".)" needs a following @: if not at the end of a sentence, and
6281 similarly for "!)". "etc." should be preceded by a comma.
6282 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
6284 2005-03-22 Bruno Haible <bruno@clisp.org>
6286 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
6287 argument is often called 'build-aux'.
6289 2005-03-07 Stepan Kasal <kasal@ucw.cz>
6291 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
6292 macro AC_TRY_LINK is obsolete.
6293 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
6296 2005-02-24 Stepan Kasal <kasal@ucw.cz>
6298 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
6299 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
6300 from a Common Lisp's `cl'.
6301 (AC_PROG_CXX): Behave according to the documentation: don't
6302 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
6303 make the variable CCC precious; use `cl.exe', not `cl'.
6305 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
6306 Alexandre Duret-Lutz <adl@gnu.org>
6308 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
6309 /dev/null, as "configure" shouldn't read stdin, and this insulates
6310 us from problems (e.g., when testing for "cl"). Also, do this
6311 redirection before invoking "hostname" or "uname", and keep the
6312 original input stream available via...
6313 (AS_ORIGINAL_STDIN_FD): ... this new macro.
6314 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
6315 bother with "</dev/null" since it's now done at the top of
6317 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
6318 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6319 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6320 * doc/autoconf.texi (File Descriptor Macros): New section.
6321 (Printing Messages): Mention it.
6322 * tests/base.at (Input/Output): New test.
6324 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
6326 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
6327 newline if neither \c nor -n work, as that would output two
6328 newlines. Prefer -n to \c. Reported by Stepan Kasal.
6330 2005-02-12 Stepan Kasal <kasal@ucw.cz>
6332 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
6333 This causes that any required macros inside will get before the if.
6334 * doc/autoconf.texi (autom4te.cache): A typo.
6336 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
6338 Undo previous change, except keep the change to
6339 lib/autoconf/programs.m4 that replaced grep with shell
6340 pattern-matching. This is because net-snmp configure reads stdin.
6341 Reported by Noah Misch.
6343 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
6345 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
6346 from /dev/null, as "configure" shouldn't read stdin, and this
6347 insulates us from problems (e.g., when testing for "cl").
6348 Suggested by Alexandre Duret-Lutz. Also, do this redirection
6349 before invoking "hostname" or "uname".
6350 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6351 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
6352 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
6353 "</dev/null" since it's now done at the top of 'configure'.
6354 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
6355 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
6356 Also, replace grep with shell pattern-matching, to save a process.
6358 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
6360 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
6361 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
6362 avoid thinking that Allegro Common Lisp's "cl" command is a C++
6365 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
6367 * doc/autoconf.texi (Limitations of Usual Tools): Document that
6368 grep -q isn't portable. Improve grep -s explanation.
6369 Problem reported by Dan Manthey.
6371 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
6373 * doc/autoconf.texi (Special Shell Variables): Clarify
6374 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
6376 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
6378 * doc/autoconf.texi: Use @acronym for DJGPP.
6379 Fix some @code's that should have been @env's, and vice versa.
6380 Sort environment variable names.
6381 Mention that shells no longer inherit IFS.
6382 Don't recommend PATH_SEPARATOR=';' so strongly.
6383 Mention that $RANDOM might expand to the empty string.
6384 "symlink" and "soft link" -> "symbolic link".
6385 Improve mktemp description (reported by Bruno Haible).
6387 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
6389 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
6390 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
6392 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
6395 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
6397 * NEWS: Mention AT_COPYRIGHT.
6399 * tests/local.at (AT_CMP): Use diff directly on input files rather
6402 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
6403 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
6405 2005-02-04 Noah Misch <noah@cs.caltech.edu>
6406 and Paul Eggert <eggert@cs.ucla.edu>
6408 * tests/autotest.at (Empty test suite): New test.
6409 * tests/torture.at (Substitute and define special characters)
6410 (Substitute a 2000-byte string, Define to a 2000-byte string)
6411 (Substitute a newline, Define a newline): New tests.
6413 2005-02-04 Noah Misch <noah@cs.caltech.edu>
6415 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
6416 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
6417 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
6418 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
6419 (Standard regular expressions): New test.
6420 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
6421 excess test name quoting.
6422 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
6423 CPPFLAGS to `configure' instead of setting it in `configure'.
6425 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
6426 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
6429 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
6430 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
6432 * tests/local.at (AT_CMP): New macro.
6433 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
6434 (AC_SAVE_STATE): Move environment grep...
6435 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
6436 (AT_CONFIG_CMP): New macro.
6437 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
6438 * tests/c.at (Extensions): Do not exit early.
6439 * tests/atlocal.in: Inherit $GREP.
6441 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
6442 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
6444 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
6445 (AC_COPYRIGHT): Factor header comment portion out and move into...
6446 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
6447 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
6448 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
6450 * tests/local.at: Add Autoconf test suite copyright notice.
6451 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
6453 2005-02-04 Bruno Haible <bruno@clisp.org>
6454 and Paul Eggert <eggert@cs.ucla.edu>
6456 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
6458 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
6460 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
6461 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
6463 Try not to generated lines of unlimited length, as POSIX places a
6464 2047-byte limit on line length of portable text files.
6465 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
6466 Use newline as a separator, not space.
6467 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
6468 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
6471 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6473 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
6474 as_func_*. Add test to check whether positional parameters
6475 are restored after function return.
6477 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
6479 * doc/autoconf.texi (Special Shell Variables): Mention _,
6480 BIN_SH, DUALCASE. Say that variables other than "status" are safe
6481 if they contain a lower-case letter. The DUALCASE problem was
6482 reported by Ralf Wildenhues.
6484 * bin/autoconf.as: Don't exit with status 0 after write failure
6485 with --help or --version.
6486 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
6487 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
6489 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6491 * doc/autoconf.texi (Limitations of Usual Tools):
6492 Unicos 9 sed limitations.
6493 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
6494 to get the option-enhanced interface on older Crays. Try ftn for
6495 Fortran 95 (newer Crays).
6497 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
6499 * man/Makefile.am (.x.1): Go back to the simple solution, but take
6500 care to echo the commands, so the user knows what's going on.
6501 Modified from a suggestion by Stepan Kasal.
6503 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
6504 with a cross reference. Derived from a suggestion by Bruce Korb.
6506 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
6508 * doc/autoconf.texi (config.status Invocation): Warn about
6509 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
6510 * doc/install.texi (Defining Variables): Likewise.
6511 Based on a proposed patch by Ralf Wildenhues.
6513 * man/Makefile.am (.x.1): Make sure the required generated files
6514 are up to date. Problem and original solution proposed by Stepan Kasal.
6515 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
6516 implicit-man-prerequisites): New rules, used by the above.
6518 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
6519 * config/config.guess, config/config.sub, config/install-sh: Likewise.
6520 * config/missing, config/texinfo.tex: Likewise.
6522 2005-01-29 Stepan Kasal <kasal@ucw.cz>
6524 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
6525 Update the long comment explaining it.
6527 m4_require no longer writes an ``is required by'' line to the
6528 execution stack. It contains only one bit of non-redundant
6529 information: that the macro was required, not called. And even
6530 this bit is useless in most situations: have you ever met a macro
6531 which both calls and requires the same macro?
6533 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
6534 (_m4_defun_pro_outer): ... only via this macro, for the outermost
6536 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
6537 (m4_expansion_stack_pop): Remove the misplaced comment.
6538 (m4_require): Don't put the ``is required by'' line to the
6539 execution stack; slightly improve the out-of-a-defun error message.
6540 (_m4_divert_grow): New macro, counter for the temporary diversions.
6541 (_m4_require_call): Use it.
6542 * tests/m4sugar.at (m4_require): Expect output without the
6543 ``is required by'' messages.
6545 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
6547 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
6548 rather than x for expr.
6550 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
6552 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
6553 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
6554 * lib/autotest/general.m4 (AT_INIT): Likewise.
6555 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
6556 * tests/mktests.sh: Likewise.
6558 2005-01-27 Akim Demaille <akim@epita.fr>
6560 Have autoheader honor --force.
6562 * doc/make-stds.texi, doc/standards.texi: Update from masters.
6563 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
6564 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
6565 from masters, so that FileUtils.pm's update_file provide --force
6567 * bin/autoheader.in: Pass $force to update_file so that
6568 config.h.in is always recreated when --force.
6570 2005-01-24 Stepan Kasal <kasal@ucw.cz>
6572 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
6574 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
6576 * doc/autoconf.texi (Limitations of Builtins): Clarify that
6577 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
6579 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
6581 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
6582 Warn about newline stripping in `` and $(). Update Solaris
6584 (Limitations of Builtins): Use expr "X...", not expr "x...", as
6585 X insulates us from future changes to Posix.
6586 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
6589 2005-01-19 Stepan Kasal <kasal@ucw.cz>
6591 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
6592 you cannot use AC_DEFINE to define macros containing `[' or `]'.
6594 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
6596 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
6597 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
6598 bug-tar mailing list.
6600 2005-01-05 Stepan Kasal <kasal@ucw.cz>
6602 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
6604 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
6606 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
6607 ulongval to be static, to avoid unwanted GCC warning. Problem
6608 reported by Michael Jennings via Daniel Reed; see
6609 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
6611 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
6613 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
6614 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
6615 datadir, infodir, and mandir. Adjust argument parsing code.
6616 (_AC_INIT_HELP): Update help text.
6617 * doc/autoconf.texi (Installation Directory Variables): Document
6620 2005-01-04 Noah Misch <noah@cs.caltech.edu>
6622 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
6623 not seem to work, assume it does set $(MAKE).
6624 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
6626 2005-01-03 Stepan Kasal <kasal@ucw.cz>
6628 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
6630 2005-01-03 Stepan Kasal <kasal@ucw.cz>
6632 A cleanup of the diversion support in m4sugar.
6634 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
6635 (_m4_divert_n_stack): New macro; the expansion is
6636 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
6638 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
6639 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
6640 stored in _m4_divert_diversion or _m4_divert_dump.
6641 (m4_divert_pop): When the parameter is given, compare the symbolic
6642 name with the last diversion pushed on the stack. Previously, the
6643 current diversion was compared with the numeric value of the
6644 diversion given as the parameter.
6645 (m4_require): If the macro hasn't been expanded yet, call ...
6646 (_m4_require_call): this new macro.
6648 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6650 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
6651 Workarounds for documented `case' limitations.
6653 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
6655 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
6656 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
6658 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
6660 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
6661 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6662 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
6664 Patch from Roger Leigh (with some minor changes) as follows:
6665 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
6666 Resurrect AC_PROG_CC_STDC.
6667 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
6668 AC_PROG_CC_C89, AC_PROG_CC_C99.
6669 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
6670 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
6671 AC_PROG_CC_C99): New macros.
6672 (AC_PROG_CC_STDC): Use them.
6673 (_AC_PROG_CC_STDC): Remove.
6674 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
6675 * THANKS: Add Roger Leigh.
6677 2004-12-30 Noah Misch <noah@cs.caltech.edu>
6679 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
6680 signals that the package uses Automake; a `Makefile.am' is typical but
6681 not essential. Reported by Magnus Therning.
6682 * tests/torture.at (autoreconf.): New banner.
6683 (autoreconf and non-AC configure): Rename to `Non-Autoconf
6685 (autoreconf an empty directory): Rename to `Empty directory'.
6686 (Unusual Automake input files): New test.
6688 2004-12-30 Noah Misch <noah@cs.caltech.edu>
6690 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
6691 (AT_SETUP): Clear AT_capture_files.
6692 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
6693 (AT_KEYWORDS): Fix comment typo.
6694 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
6695 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
6696 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
6698 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
6700 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
6701 If the variable to set is already set, set ac_cv_path_$1
6702 to the preset value so caller can assume ac_cv_path_$1
6703 is available. (trivial change)
6705 2004-12-27 Noah Misch <noah@cs.caltech.edu>
6707 * BUGS (Minor Problems): Warn about makefile limitations.
6708 * Makefile.am: Find and update `INSTALL' in $(srcdir).
6709 * man/Makefile.am: Find and update manual pages in $(srcdir).
6711 2004-12-24 Eric Blake <ebb9@byu.net>
6713 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
6714 shells in subshell, to avoid noise from ash. (trivial change)
6716 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6718 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
6719 problems with SunOS ksh and backslash escaping, Bourne shells and
6720 closing brackets (both within character classes). Bug reported
6721 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
6722 <read>: New entry. Mention non-availability of -r.
6724 2004-12-21 Akim Demaille <akim@epita.fr>
6726 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
6727 avoid cluttering displayed messages. Rather, prepend srcdir where
6728 AT_LINE is used for log files.
6730 2004-12-21 Stepan Kasal <kasal@ucw.cz>
6732 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
6733 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
6734 no longer part of the macro, quote the occurrence of ``$tmp''.
6735 * doc/autoconf.texi (Forbidden Patterns): Typo.
6737 2004-12-21 Akim Demaille <akim@epita.fr>
6739 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
6740 separated from the test title by forcing a white space.
6742 2004-12-21 Akim Demaille <akim@epita.fr>
6744 Enable Emacs navigation within testsuite.log files.
6746 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
6747 use the compilation mode.
6748 (AT_LINE): Point to the srcdir.
6750 2004-12-19 Noah Misch <noah@cs.caltech.edu>
6752 * tests/Makefile.am (installcheck-local): Use $(bindir).
6753 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
6754 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
6755 Makefile.am scheme Autoconf now uses.
6757 2004-12-18 Noah Misch <noah@cs.caltech.edu>
6759 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
6760 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
6762 2004-12-18 Noah Misch <noah@cs.caltech.edu>
6764 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
6765 (_AT_CHECK): Use it.
6766 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
6767 (AS_ESCAPE): Fix comment.
6768 * tests/autotest.at: Adjust section banner comments.
6769 (AT_CHECK_AT): Accept STATUS and STDERR.
6770 (AT_CHECK_AT_TEST): Likewise.
6771 (Invalid brace-enclosed parameter expansion)
6772 (Multiline command from M4 expansion)
6773 (Double-M4-quoted command): New tests.
6775 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
6777 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
6779 2004-12-17 Akim Demaille <akim@epita.fr>
6781 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
6783 Suggested by Alexandre Duret-Lutz.
6784 * doc/autoconf.texi (Setting Output Variables): Catch up.
6786 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6788 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
6790 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6792 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
6793 remove the comment which said we cannot.
6795 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6797 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
6798 Reini Urban and Paul Eggert for reporting the dependencies.
6800 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
6801 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
6802 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
6804 2004-12-17 Stepan Kasal <kasal@ucw.cz>
6806 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
6807 so that eg. ``autoscan --help'' doesn't truncate it.
6809 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
6811 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
6812 generated conftest files.
6814 2004-12-13 Noah Misch <noah@cs.caltech.edu>
6816 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
6817 tracing on commands with possibly-escaped newlines.
6818 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
6819 discontinued behavior and its implications.
6820 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
6821 (BSx641-newline in command, BS-BS-newline in command)
6822 (BSx640-newline in command, Newline-CODE-BS-newline in command)
6823 (Single-quote-BS-newline in command)
6824 (Single-quote-newline-BS-newline in command): New tests.
6826 2004-12-13 Stepan Kasal <kasal@ucw.cz>
6828 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
6829 on platforms where it works.
6830 (_AS_TEST_PREPARE): Test for ``test -x''.
6831 (_AS_BROKEN_TEST_PREPARE): Nuke.
6833 2004-12-13 Stepan Kasal <kasal@ucw.cz>
6835 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
6836 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
6837 give only 4-letter prefix to AS_TMPDIR, comment fixed.
6838 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
6839 create the temporary directory.
6840 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
6842 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
6844 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
6847 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
6849 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
6851 2004-12-11 Noah Misch <noah@cs.caltech.edu>
6853 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
6854 to avoid using a negated character class. Reported by Nicolas Joly.
6855 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
6857 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
6859 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
6860 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
6861 Don't depend on .x file explicitly, since "make" does that for us.
6862 Suggested by Stepan Kasal.
6864 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
6866 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
6867 ifnames): Factor common code. And they said it couldn't be done!
6869 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
6871 * bin/.cvsignore: Add autoconf.in.
6872 * tests/.cvsignore: Add wrapper.in.
6873 * lib/autotest/general.m4: Escape '$' in case pattern.
6875 2004-12-09 Noah Misch <noah@cs.caltech.edu>
6877 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
6879 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
6881 * tests/autotest.at: New file.
6882 * tests/suite.at: Include it.
6883 * tests/Makefile.am: Distribute it.
6885 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
6886 shell tracing on a command that could contain multiple lines.
6887 * doc/autoconf.text: Document that fact and its implications.
6888 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
6889 * tests/autotest.at (Multiline backquote command substitution,
6890 Multiline parameter expansion, Literal multiline command,
6891 Multiline parenthetical command substitution): Remove XFAIL.
6893 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
6895 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
6896 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
6898 2004-12-08 Noah Misch <noah@cs.caltech.edu>
6900 * configure.ac (test suite): Cease to generate wrapper scripts.
6901 * configure: Regenerate.
6902 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
6903 (m4f_dependencies): Adjust accordingly.
6904 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
6905 (wrapper.in): Generate it in the build directory.
6906 (MAINTAINERCLEANFILES): Delete wrapper.in.
6907 (CLEANFILES): Add wrapper.in.
6908 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
6909 the output. Replace each $as_me with a @wrap_program@.
6910 * tests/wrapper.in: Delete it; we always build it.
6912 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
6913 (EXTRA_DIST): Remove autoconf.in.
6914 (CLEANFILES): Add autoconf.in.
6915 (autoconf): Find autoconf.in in the build directory.
6916 * bin/autoconf.in: Delete it; we always build it.
6918 2004-12-08 Noah Misch <noah@cs.caltech.edu>
6920 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
6921 PATH members so as to not prepend an empty element. Move a comment.
6922 * Makefile.am (SUBDIRS): Build in `tests' last.
6923 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
6925 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
6927 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
6928 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
6929 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
6930 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
6932 2004-12-07 Stepan Kasal <kasal@ucw.cz>
6934 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
6937 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
6939 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
6940 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
6941 * doc/autoconf.texi (Particular Functions): Mention new behavior.
6943 2004-12-03 Stepan Kasal <kasal@ucw.cz>
6945 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
6946 out the common code to ...
6947 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
6948 value of the #define--default to 1, iff the macro was called
6949 with exactly one parameter.
6951 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
6953 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
6954 "char c = '\200';" rather than "char c = 0x80;" as the
6955 latter doesn't conform to the strict C standard due to
6956 overflow on signed char hosts.
6958 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
6959 to -qlanglvl=ansi. We don't want to disable extensions.
6961 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
6963 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
6964 (Using Autotest, testsuite Scripts, Writing testsuite.at):
6965 Reword slightly to avoid some English-language problems noted
6966 by Ralf Wildenhues in:
6967 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
6969 2004-11-29 Stepan Kasal <kasal@ucw.cz>
6971 * NEWS: Add ^L above each release.
6973 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
6975 Fix documentation problems reported by Russ Boylan in
6976 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
6977 along with some nearby cruft.
6978 * doc/autoconf.texi (Libtool): Libtool can be used without
6979 Automake (not without Autoconf).
6980 (Introduction): Mention lists.gnu.org.
6981 * BUGS: Don't mention bugs.gnu.org.
6982 Remove mention of ancient libtool compatibility problem.
6983 * NEWS: Mention that bugs.gnu.org is kaput.
6984 * README: Likewise. Mention where mailing list archives can be found.
6986 2004-11-28 Stepan Kasal <kasal@ucw.cz>
6988 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
6990 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
6992 * doc/autoconf.texi (Pretty Help Strings): Go back to
6993 single-quoting assignments to cache variables.
6995 2004-11-23 Stepan Kasal <kasal@ucw.cz>
6997 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
6998 with the examples; fix the bug in MY_ARG_WITH example reported
6999 by Alexandre Duret-Lutz.
7000 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
7001 expansion of $1 in the comment emitted to configure.
7003 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
7005 * doc/autoconf.texi (Pretty Help Strings): Fix typo
7006 in my editing of the previous patch. Problem reported
7007 by Alexandre Duret-Lutz.
7009 2004-11-22 Stepan Kasal <kasal@ucw.cz>
7011 * doc/autoconf.texi (Autoconf Language): Explain that
7012 ``descriptions'' may not be double quotes.
7013 (Quotation Rule Of Thumb): Likewise.
7014 (Pretty Help Strings): Likewise; remove the wrong comment;
7015 simplify the examples and improve their quoting.
7017 2004-11-13 Stepan Kasal <kasal@ucw.cz>
7019 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
7020 the $1_found variable, don't test whether the file is executable;
7021 Both things are checked ...
7022 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
7023 the former ``test -f''.
7024 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
7026 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
7028 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
7031 2004-11-10 Derek R. Price <derek@ximbiot.com>
7033 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
7034 limitations. Reorder paragraphs for clarity.
7036 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
7038 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
7039 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
7040 variants", "Unix", and some related minor wording fixups.
7042 (Shellology, Special Shell Variables): Document that the Zsh
7043 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
7044 to Alexandre Duret-Lutz for this info.
7046 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
7048 * doc/autoconf.texi (One-Shot Macros): New node.
7050 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
7052 * doc/autoconf.texi (Function Portability): Fix misdescription
7053 of putenv. Problem reported by Michael Wardle.
7055 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
7057 * doc/autoconf.texi (auindex): New macro.
7058 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
7059 Problem reported by Stepan Kasal.
7061 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
7063 Fix problems reported by Andreas Buening in:
7064 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
7065 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
7067 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
7068 readable; it's not true in OS/2-emx.
7070 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
7072 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
7073 "/usr/include", clear ac_x_includes instead of leaving it as "no"
7074 (trivial change). Problem and patch reported by Andrew Church in:
7075 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
7077 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
7079 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
7080 three args in examples. Problem reported by Frederik Fouvry in:
7081 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
7082 Also, fix some minor spacing and punctuation bugs.
7084 2004-09-02 Akim Demaille <akim@epita.fr>
7086 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
7087 "case" to restore ordering.
7088 Reported by Stepan Kasal.
7090 2004-08-26 Akim Demaille <akim@epita.fr>
7092 * doc/autoconf.texi: Minor typos and stylos.
7094 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
7096 * configure.ac (AC_INIT): Bump to 2.59c.
7098 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
7102 * README: Add advice about m4 1.4.2.
7104 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
7105 texinfo.tex for now (done by hand now).
7106 * Makefile.maint (wget_files, cvs_files):
7107 Remove ansi2knr.c; nobody uses it.
7108 (ansi2knr.c-url_prefix): Remove.
7109 (cvs-update): Fix test for failure. I don't know why it ever
7112 * doc/autoconf.texi: Update URLs, some of which went stale.
7113 Use @uref rather than @href.
7115 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
7116 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
7118 * config/config.guess, config/config.sub, config/elisp-comp,
7119 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
7120 doc/fdl.texi, doc/standards.texi: Sync with master copy.
7122 * NEWS, TODO, configure.ac, bin/autoscan.in,
7123 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
7124 doc/install.texi, lib/Autom4te/Configure_ac.pm,
7125 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
7126 lib/autoconf/programs.m4, lib/autoconf/status.m4,
7127 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
7128 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
7129 tests/tools.at, tests/torture.at:
7130 Use "file name" rather than "filename" or "path",
7131 to be consistent with the terminology of the GNU coding standards.
7133 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
7135 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
7136 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
7137 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
7138 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
7140 More fixes to support spaces in the name of the build directory.
7141 This isn't a complete fix but it's an improvement.
7143 * bin/autoconf.as (autom4te_options): New var.
7144 Use it instead of appending to AUTOM4TE, so that we can allow
7145 spaces in the build directory's absolute name.
7146 * bin/autoheader.in ($autoconf): Allow spaces in file names.
7147 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
7148 AT_CHECK_NOESCAPE): Likewise.
7149 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
7150 main program): Likewise.
7152 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
7154 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
7155 From Ralf Corsepius in:
7156 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
7158 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
7160 * doc/autoconf.texi (Function Portability): Document isinf and
7161 and isnan. From a suggestion by Kevin Ryde.
7163 * lib/Autom4te/General.pm (END): Return correct exit status even
7164 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
7166 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
7168 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
7169 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
7170 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
7172 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
7174 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
7175 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
7176 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
7177 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
7178 * lib/autom4te.in (Automake-preselections): Preselect
7179 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
7181 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
7183 * lib/autom4te.in (Automake-preselections): Preselect
7184 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
7187 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
7189 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
7191 * doc/autoconf.texi (Shellology): Mention BIN_SH.
7192 Document problem with "`""`" in pdksh POSIX mode.
7194 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
7196 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
7197 with pdksh, too. Problem reported by Patrick Welche via
7199 * doc/autoconf.texi (Shellology): Note that set -o posix is
7200 useful for pkdsh, too.
7202 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
7204 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
7205 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
7206 Don't fail if ENV or BASH_ENV is readonly.
7207 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
7208 etc. are read only. Problem reported by Ludovic Courtes.
7210 2004-06-23 Noah Misch <noah@cs.caltech.edu>
7212 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
7213 zsh, disable GLOB_SUBST to avoid backslash handling problems.
7216 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
7218 * doc/autoconf.texi (File System Conventions): Warn about
7219 names like "aux". Problem reported by Eric Blake.
7221 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
7222 by zero instead of array size, so that we can use any arithmetic
7223 constant expression (instead of requiring an integer constant
7224 expression). This allows us to test expressions like DBL_MAX <
7225 LDBL_MAX, which didn't conform to the C standard using the old
7227 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
7228 now that we can do floating-point tests at compile time.
7230 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
7232 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
7233 and LDBL_EPSILON, as the resulting expression isn't an
7234 integer constant expression and violates the C standard.
7235 Problem reported by Nelson H. F. Beebe. Also, check
7236 for "L" suffix, and check that long double doesn't have
7237 worse range or precision than double, that mixed-mode
7238 arithmetic doesn't generate a diagnostic, that double
7239 constants fit in long double.
7241 2004-06-03 Kevin Ryde <user42@zip.com.au>
7243 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
7244 malloc(0) and realloc(NULL,size).
7246 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
7249 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
7251 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
7252 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
7255 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
7257 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
7258 can be rewritten using if-then-else. Suggested by Bruno Haible.
7260 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
7262 * doc/autoconf.texi (testsuite Scripts): Fix typo.
7263 Problem reported by Stepan Kasal.
7265 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
7267 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
7268 change). Patch reported by Ralf Wildenhues in
7269 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
7271 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
7272 function F exists if the compiler and linker let you compile an
7273 expression like (F != 0). Recent versions of GCC optimize away
7274 the reference to F in that case, since every function address must
7275 be nonzero, so the link succeeds even if F does not exist.
7276 Problem reported by Manu in
7277 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
7279 * doc/autoconf.texi (Systemology): Standardize on the spelling of
7280 "Unix". Many uses changed.
7281 (Limitations of Builtins): Explain better why the ! command isn't
7284 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
7286 * lib/autom4te.in (Automake-preselections): Preselect
7287 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
7289 2004-05-19 Kevin Ryde <user42@zip.com.au>
7291 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
7292 referencing AC_FUNC_STRERROR_R.
7294 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
7295 note pessimistic assumption when cross compiling.
7297 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
7299 * doc/autoconf.texi (Limitations of Make): Note that BSD make
7300 (until 2004) invoked subcommands with sh -e, contra POSIX.
7301 Reported by Kevin Ryde.
7303 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
7305 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
7306 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
7307 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
7308 `test -f " /usr/bin/grep"', which _always_ failed.
7309 (AC_PROG_SED): Ditto bogus PATH fix.
7310 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
7311 requires that grep correctly supports _multiple_ `-e' options, rather
7312 than stating only that grep should accept `-e'.
7314 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
7316 Port to C99, which requires that 'exit' be declared.
7318 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
7319 to ensure that stdlib.h is included.
7320 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
7321 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
7322 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
7323 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
7324 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
7325 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
7326 when using 'exit' in a test; C99 requires that 'exit' be declared.
7328 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
7330 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
7331 now prefers 'grep' implementations that accept -e.
7332 (Limitations of Usual Tools): Describe problems of traditional
7333 egrep and fgrep with long input lines, and of traditional grep
7335 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
7336 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
7337 All callers changed. Append /usr/xpg4/bin to the PATH, for
7339 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
7340 the user with complaints about multiple -e options.
7341 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
7342 Define it with AC_PROG_GREP.
7343 * configure.ac (AC_PROG_GREP): Add.
7344 * lib/freeze.mk (GREP): New macro.
7346 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
7348 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
7349 a possible candidate only after all others fail, rather than
7350 consulting it first. This improves backward compatibility by
7351 better reflecting the way shell selection occurred in previous
7352 versions of Autoconf, and should help to avoid triggering latent
7353 problems in other packages, such as the one in Automake where zsh
7354 is not handled robustly:
7355 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
7356 Although it is not Autoconf's responsibility to work around
7357 problems in Automake, it nevertheless makes sense to avoid
7358 introducing unnecessary incompatibilites.
7360 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
7361 Gary V. Vaughan <gary@gnu.org>
7363 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
7364 how deeply nested we are when a suitable tool is found, set the
7365 ac_path_TOOL_found flag.
7366 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
7367 nested we are in this macro. Break out of all 3 nested loops if
7368 ac_path_TOOL_found is set.
7370 2004-04-21 Gary V. Vaughan <gary@gnu.org>
7372 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
7373 of the _AS_PATH_WALK loop too if GNU flavor is found.
7375 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
7377 * doc/autoconf.texi (Limitations of Make): Update documentation
7378 for `$<'. New entry `Long lines', based on a report from Simon
7379 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
7380 paragraph about DJGPP, based on a mail from Richard Dawe.
7382 2004-04-20 Paul Eggert <eggert@twinsun.com>
7384 * tests/c.at (C keywords): Don't assume that GCC supports
7385 "restrict" and "inline", as sufficiently-old GCC versions do not
7386 (also, GCC configured to be in pedantic C89 mode does not).
7387 Problem reported by Sumit Pandya in:
7388 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
7390 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
7391 consider -g to work if it generates warnings when plain compiles
7392 don't. Problem reported by Braden McDaniel in:
7393 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
7395 * doc/autoconf.texi (Slashes): New section, to document a problem
7396 reported by Jim Meyering in:
7397 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
7399 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
7400 linker output files before linking, to work around IRIX 6 linker bug.
7401 Problem reported by Rainer Orth in:
7402 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
7404 2004-04-20 Gary V. Vaughan <gary@gnu.org>
7406 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
7407 best tool so far counter rely on the tool path variable name to
7408 avoid checks for one tool being affected by the results of running
7409 the length check on a previous tool.
7411 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
7412 match expression argument, as different greps have different
7413 regular expression flavours.
7414 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
7416 (AC_PROG_EGREP): Pass 'EGREP$'.
7417 (AC_PROG_GREP): Pass 'GREP$'.
7419 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
7421 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
7422 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
7424 2004-03-29 Paul Eggert <eggert@twinsun.com>
7426 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
7427 Types, Specific Compiler Characteristics, System Services,
7428 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
7429 etc. consistently instead of 'long', 'short', 'unsigned' etc.
7430 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
7431 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
7433 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
7434 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
7435 AC_TYPE_OFF_T): Likewise.
7436 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
7439 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
7440 pacify libtool 1.5.2. Fix quoting problems in sed command.
7442 2004-03-28 Paul Eggert <eggert@twinsun.com>
7444 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
7445 now defines HAVE_DECL_TZNAME if it is declared, when
7446 HAVE_STRUCT_TM_TM_ZONE is not defined.
7447 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
7448 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
7451 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
7453 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
7454 superfluous backslashing of quotes (") in sed expressions;
7455 thanks to Paul Eggert.
7457 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
7459 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
7460 Fortran compiler is ifort, also added pghpf; thanks to Nelson
7461 H. F. Beebe for the bug report.
7463 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
7465 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
7466 quoted -cmdline argument in Portland Group compiler (bug
7467 reported by Jeffrey J. Barteet).
7469 2004-03-25 Kevin Ryde <user42@zip.com.au>
7471 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
7472 (Run Time): ... here, where it's now mentioned.
7474 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
7476 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
7477 inherits from language Autoconf-without-aclocal-m4.
7478 (Customizing autom4te): Adjust example; the cache must now be
7479 disabled for language Autoconf-without-aclocal-m4.
7481 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
7482 Nathanael Nerode <neroden@twcny.rr.com>
7484 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
7485 AC_CHECK_TOOLS): Warn if a cross-tool is found without
7487 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7488 AC_CHECK_TARGET_TOOLS): New macros.
7489 * doc/autoconf.texi (Generic Programs): Document
7490 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
7491 AC_CHECK_TARGET_TOOLS, and warn for future changes
7492 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
7494 (Specifying Names): Document the reason for these future
7496 * tests/mktests.sh: Do not generate tests for the
7498 * NEWS: Document these changes.
7500 * doc/autoconf.texi: Avoid macros with unbraced arguments,
7501 they make TeX hang up.
7503 2004-03-15 Paul Eggert <eggert@bogus.example.com>
7505 * NEWS: New macro AC_CHECK_ALIGNOF.
7506 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
7507 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
7508 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
7510 (AC_CHECK_ALIGNOF): New macro.
7511 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
7512 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
7515 2004-03-03 Paul Eggert <eggert@twinsun.com>
7517 * bin/Makefile.am (edit): Don't use $< in a context where
7518 POSIX doesn't require support for it. Use $@.in instead.
7519 Problem reported by Anthony N. Frasso in
7520 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
7521 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
7523 2004-02-23 Gary V. Vaughan <gary@gnu.org>
7525 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
7526 from the next generation of Libtool.
7527 * lib/autom4te.in (Autoreconf-preselections): Ditto.
7529 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
7531 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
7532 is not always thread-safe. Report from Nathanael Nerode.
7534 2004-02-18 Paul Eggert <eggert@twinsun.com>
7536 Fix a dependencies problem, stemming from a Autoconf 2.59 build
7537 problem on QNX reported by Stephen Rasku in
7538 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
7540 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
7541 $(m4sh_m4f_dependencies); this removes a FIXME.
7542 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
7543 (MAINTAINERCLEANFILES): Split into pieces,
7544 one per related section. Add $(srcdir)/wrapper.in.
7546 2004-02-09 Paul Eggert <eggert@twinsun.com>
7548 * doc/autoconf.texi (Setting Output Variables): Emphasize that
7549 AC_SUBST provides no portable way to escape literal newlines.
7551 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
7552 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
7553 Darwin uses -lcrt2.o and there's little point to cataloging all
7554 the system variants. Partial fix reported by Andreas Waechter in:
7555 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
7556 for bug reported by Nelson H. F. Beebe in:
7557 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
7559 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
7561 * doc/autoconf.texi (AU_DEFUN): Fix English,
7562 suggested by Paul Eggert.
7563 * lib/autoconf/autoupdate.m4: Correct reference to
7564 acobsolete.m4, suggested by Alexandre Duret-Lutz.
7566 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
7568 * bin/autoupdate.in: Define __file__ so that warnings
7569 refer to the correct file.
7570 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
7571 the behavior of the third argument.
7572 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
7573 correctly the behavior of the third argument. Document
7574 what the three macros that AU_DEFUN defines do. Fix
7575 warning message when the third argument includes $0
7576 (reported by Alexandre Duret-Lutz).
7578 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
7579 Eric Sunshine <sunshine@sunshineco.com>
7580 Paul Eggert <eggert@twinsun.com>
7582 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
7583 (AS_INIT): Output shell initialization there. Removed optional
7584 parameter. Expand _AS_SHELL_FN_SPY.
7585 (AS_INIT_WITH_SHELL_FN): Removed.
7586 (_AS_SHELL_FN_SPY): New macro.
7587 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
7589 (AS_SHELL_SANITIZE): Remove loop to find better shell
7590 and documentation for the parameter.
7591 (_AS_DETECT_BETTER_SHELL): Move it here.
7592 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
7593 (_AS_RUN): Move it here, support testing with eval.
7594 (AS_REQUIRE_SHELL_FN): Require shell functions when
7596 (_AS_LINENO_WORKS): Put around braces, we do not
7597 trigger the bash bug anymore.
7598 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
7599 use AS_INIT_WITH_SHELL_FN.
7600 * bin/autoconf.in, tests/wrapper.in: Regenerated.
7602 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
7604 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
7605 * doc/autoconf.texi: Don't say that the third parameter
7607 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
7608 (AU_DEFUN): Honor the third parameter, create autoupdate
7609 macros with AU_DEFINE.
7610 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
7611 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
7612 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
7613 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
7614 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
7615 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
7616 AC_XENIX_DIR): Likewise.
7617 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
7618 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
7619 * lib/autoconf/status.m4: Remove FIXME.
7620 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
7621 that the macro is not present anymore in the updated
7623 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
7626 2004-01-28 Paul Eggert <eggert@twinsun.com>
7628 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
7630 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
7631 2003 (except 1997) to the list of copyright years. This undoes
7632 the 2003-05-22 change, which removed the older years from the list.
7633 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
7635 2004-01-27 Gary V. Vaughan <gary@gnu.org>
7636 Albert Chin-A-Young <china@thewrittenword.com>
7638 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
7639 grep or ggrep program in PATH that accepts as long lines as
7641 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
7643 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
7644 egrep and fgrep respectively if $GREP -E/-F don't work.
7645 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
7646 _AC_PROG_GREP, and AC_PROG_SED.
7647 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
7648 longest input length accepted by a command.
7649 (AC_PROG_SED): Use it.
7650 * doc/autoconf.texi (Particular Programs): Document the changes.
7653 2004-01-27 Paul Eggert <eggert@twinsun.com>
7655 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
7656 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7657 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
7658 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
7660 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
7661 bin/autoconf.in, config/Makefile.in, config/config.guess,
7662 config/config.sub, config/install-sh, config/mdate-sh,
7663 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
7664 lib/Makefile.in, lib/Autom4te/Makefile.in,
7665 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
7666 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
7667 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
7668 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
7669 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
7670 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
7671 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
7672 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
7673 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
7674 tests/actypes.at: Regenerate and/or sync with original
7677 2004-01-26 Paul Eggert <eggert@twinsun.com>
7679 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
7680 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
7681 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
7682 not <inttypes.h>. Problem reported by Tim Mooney in
7683 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
7684 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
7687 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
7688 otherwise "make check" fails because it forbids cmp (I guess
7689 because cmp treats files as binary on DOS-like systems).
7691 * tests/mktests.sh: Update copyright date to 2004, since some tests
7692 have changed in 2004.
7694 2004-01-23 Gary V. Vaughan <gary@gnu.org>
7696 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
7697 non-truncating sed or gsed program in PATH.
7698 * tests/acprograms.at: Add it.
7699 * doc/autoconf.texi (Particular Programs): Document it.
7702 2004-01-15 Paul Eggert <eggert@twinsun.com>
7704 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
7705 -std1 disables some useful extensions on Tru64. Problem reported
7707 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
7709 2004-01-14 Paul Eggert <eggert@twinsun.com>
7711 * doc/autoconf.texi (Programming in M4sh): Document that
7712 AS_MKDIR_P succeeds if the destination is a symbolic link
7713 to an existing directory.
7714 (Limitations of Usual Tools): Note that mkdir -p might not
7715 succeed on symlinks to directories.
7717 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
7719 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
7720 * bin/autoheader.in: Grammar fix in message.
7721 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
7722 Test for dir before calling mkdir -p. (trivial changes)
7724 2004-01-13 Eric Blake <ebb9@byu.net>
7726 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
7727 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
7729 2004-01-10 Jim Meyering <jim@meyering.net>
7731 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
7733 2004-01-09 Paul Eggert <eggert@twinsun.com>
7735 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
7736 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
7737 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
7738 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
7739 AC_COMPILE_IFELSE, since we now assume our caller invokes
7740 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
7741 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
7742 of AC_RUN_IFELSE; this avoids the warning mentioned above.
7743 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
7745 2004-01-07 Paul Eggert <eggert@twinsun.com>
7747 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
7748 `"'...'"`, as it's confusing (and I suspect it may not work on
7749 some platforms). The code was incorrect anyway, as it assumed
7750 that \$ evaluated to itself in that context. Reported by
7751 Alexandre Duret-Lutz.
7753 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
7755 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
7756 and _LT_AC_TAGCONFIG.
7758 2004-01-06 Paul Eggert <eggert@twinsun.com>
7760 * doc/autoconf.texi (One Macro Call): Fix an incorrect
7761 example, and add more examples. Reported by Eric Sunshine.
7763 2004-01-05 Paul Eggert <eggert@twinsun.com>
7765 * doc/autoconf.texi (Limitations of Usual Tools):
7766 Remove warning against "rm -fr" introduced yesterday; it
7769 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
7770 autoscan, autoupdate, ifnames): Don't use chmod -w.
7771 * lib/Makefile.am (autom4te.cfg): Likewise.
7772 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
7775 2004-01-04 Paul Eggert <eggert@twinsun.com>
7776 Paolo Bonzini <bonzini@gnu.org>
7778 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
7779 by doing lineno substitution only on lines containing "$LINENO".
7781 2004-01-04 Paul Eggert <eggert@twinsun.com>
7783 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
7784 Use "rm -f" to remove conftest.sed, not plain "rm".
7785 Bug reported by David Relson in
7786 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
7788 * Makefile.am (autom4te-update):
7789 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
7790 * Makefile.maint (my-distcheck, do-po-update): Likewise.
7791 * doc/autoconf.texi (Guidelines): Likewise.
7792 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
7793 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
7794 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
7795 * lib/autotest/general.m4 (AT_INIT): Likewise.
7796 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
7797 * tests/Makefile.am (clean-local): Likewise.
7798 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
7800 * doc/autoconf.texi (Limitations of Usual Tools):
7801 Warn against "rm -fr".
7803 2004-01-03 Paul Eggert <eggert@twinsun.com>
7805 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
7806 -c -o might not work. From a suggestion by Kevin Ryde.
7807 (C Compiler, Generating Sources, Limitations
7808 of Usual Tools, Limitations of Make, Making testsuite Scripts):
7809 Don't put '-o' after non-options, as POSIX doesn't allow this.
7810 Mention that cc's name might be gcc or c89 or whatever.
7812 2004-01-04 Kevin Ryde <user42@zip.com.au>
7814 * doc/autoconf.texi: Add various further index entries.
7816 2003-12-29 Paul Eggert <eggert@twinsun.com>
7818 * bin/autoreconf.in (autoreconf_current_directory):
7819 Fix typo: mkdir without umask arg.
7821 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
7823 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
7824 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
7825 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
7826 explanation clearer.
7828 2003-12-24 Andreas Schwab <schwab@suse.de>
7830 * doc/autoconf.texi (Default Includes): Fix misspelling of
7831 AC_INCLUDES_DEFAULT.
7833 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
7835 * configure.ac: Test if sh -n works.
7836 * configure: Regenerate.
7837 * tests/atlocal.in: Store the result here.
7838 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
7839 tools.at, looking in atlocal's ac_cv_sh_n_works instead
7840 of explicitly testing.
7841 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
7842 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
7843 * tests/tools.at (Syntax of the shell scripts): Simplify
7844 using AT_CHECK_SHELL_SYNTAX.
7845 (Syntax of the Perl scripts): Remove definition of
7846 AT_CHECK_PERL_SYNTAX.
7848 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
7850 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
7851 stderr to /dev/null.
7852 * bin/autoconf.in: Regenerate.
7853 * bin/wrapper.in: Regenerate.
7855 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
7857 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
7858 Extracted from AS_SHELL_SANITIZE.
7859 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
7861 (AS_SHELL_SANITIZE): Move reinvocation code from
7862 _AS_LINENO_WORKS, use it to find out if shell
7864 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
7866 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
7867 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
7869 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
7870 * bin/autoconf.in: Regenerate.
7871 * tests/wrapper.in: Regenerate.
7872 * tests/tools.at: Test the syntax of tests/autoconf
7873 and tests/testsuite.
7875 2003-11-24 Akim Demaille <akim@epita.fr>
7877 * config/announce-gen (&print_locations, &print_signatures)
7880 No longer rely on Gnus to inline the list of signatures: compute
7883 2003-11-24 Akim Demaille <akim@epita.fr>
7885 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
7886 override some files.
7887 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
7888 From Debian Autoconf 2.58.
7890 2003-11-24 Akim Demaille <akim@epita.fr>
7892 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
7894 From Debian Autoconf 2.58.
7896 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
7898 * TODO: Remove already done things. Update the part about finding
7899 tools for the target.
7901 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
7903 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
7904 Make wording more consistent.
7905 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7906 Explain the transition better.
7907 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
7908 the transition better.
7910 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
7912 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
7913 parameter of AU_DEFUN.
7914 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
7915 (AU_DEFUN): Remove the third parameter, it was not used.
7916 Use AC_DEFUN directly, not AU_DEFINE.
7917 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
7918 the expanded body, consistently with other macros such as AC_USG.
7920 2003-11-17 Paul Eggert <eggert@twinsun.com>
7922 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
7923 into the initial confdefs.h, to work around a bug in NextStep 3.3
7924 patch 3 reported by Eric Sunshine.
7926 2003-11-15 Kevin Ryde <user42@zip.com.au>
7928 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
7929 than $target since the latter is not usual, add guidelines on when to
7930 use or not use the system type.
7932 2003-11-12 Derek Price <derek@ximbiot.com>
7934 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
7935 typo misrepaired by an auto-spellcheck.
7937 2003-11-12 Akim Demaille <akim@epita.fr>
7939 * bin/autoreconf.in (&parse_args): Don't call automake with
7940 --force-missing unless it actually supports it.
7941 From Debian #219336.
7943 2003-11-12 Akim Demaille <akim@epita.fr>
7945 * configure.ac: Bump to 2.59a.
7948 2003-11-06 Akim Demaille <akim@epita.fr>
7952 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
7954 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
7955 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
7956 and ac_abs_top_srcdir are absolute paths.
7957 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
7959 2003-11-05 Akim Demaille <akim@epita.fr>
7961 * configure.ac: Bump to 2.58a.
7963 2003-11-05 Kevin Ryde <user42@zip.com.au>
7965 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
7966 it provokes a warning from makeinfo about looking like a cross
7967 reference in info output.
7969 * doc/autoconf.texi (Function Portability): Add notes on signal
7970 handler return type, as per AC_TYPE_SIGNAL.
7972 2003-11-04 Akim Demaille <akim@epita.fr>
7975 * doc/standards.texi: Update from master.
7977 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
7979 2003-11-04 Akim Demaille <akim@epita.fr>
7981 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
7982 computing the absolute path to d1 in the source hierarchy: it may
7983 not exist at all. So don't cd into it.
7984 From Alexandre Duret-Lutz.
7985 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
7987 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
7988 From Paul Eggert, but named after Perl's IO::Spec->catfile.
7989 * doc/autoconf.texi (Programming in M4sh): Document.
7990 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
7992 2003-11-03 Pavel Roskin <proski@gnu.org>
7994 * doc/autoconf.texi (Generic Structure Checks): Describe
7995 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
7997 2003-10-31 Akim Demaille <akim@epita.fr>
7999 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
8001 * doc/autoconf.texi (Language Choice): Document.
8002 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
8003 the current language is Fortran.
8005 2003-10-31 Akim Demaille <akim@epita.fr>
8007 * bin/autom4te.in (&freeze): Use a less likely warning separator
8008 than `\n\n', so that `\n\n\n' is valid in warnings.
8009 Reported by Steve Huston.
8011 2003-10-28 Akim Demaille <akim@epita.fr>
8013 * Makefile.cfg (local_updates, executable-update): Tweak to be
8014 robust to parallel makes.
8015 Suggested by Alexandre Duret-Lutz.
8017 2003-10-27 Akim Demaille <akim@epita.fr>
8019 * Makefile.cfg (executable-update): New.
8020 (local_updates): Call it.
8022 2003-10-27 Akim Demaille <akim@epita.fr>
8024 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
8025 Don't remove core.* as it may remove valid user files.
8026 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
8027 (AC_FUNC_UTIME_NULL): Likewise.
8029 2003-10-23 Akim Demaille <akim@epita.fr>
8032 * config/config.guess, config/config.sub: Upgrade from masters.
8034 2003-10-23 Akim Demaille <akim@epita.fr>
8036 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
8037 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
8040 2003-10-23 Akim Demaille <akim@epita.fr>
8042 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
8043 Don't forget to remove conftest.err.
8045 2003-10-23 Akim Demaille <akim@epita.fr>
8047 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
8048 same object file in $LIBOBJS.
8049 Reported by Alexandre Duret-Lutz & Derek Robert Price.
8050 * doc/autoconf.texi (Generic Functions): Adjust.
8052 2003-10-20 Paul Eggert <eggert@twinsun.com>
8054 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
8055 Use 'eval', so that the resulting configure scripts work even if
8056 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
8058 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
8060 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
8061 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
8062 (_AC_LINK_IFELSE): Check the werror flag.
8063 * doc/autoconf.texi (Generic Compiler Characteristics): Document
8067 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
8069 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
8070 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
8071 override AC_LINK_IFELSE.
8073 2003-10-15 Paul Eggert <eggert@twinsun.com>
8075 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
8076 pdksh 5.2.14. Bug reported by Ralf Corsepius.
8077 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
8078 Mention /usr/dt/bin/dtksh on Solaris.
8079 (Shell Substitutions): Warn about $((...)).
8080 (Parentheses): New section.
8082 2003-10-15 Kevin Ryde <user42@zip.com.au>
8084 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
8085 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
8087 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
8089 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
8092 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
8094 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
8095 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
8097 2003-10-10 Andreas Schwab <schwab@suse.de>
8099 * bin/autoheader.in: Avoid empty first line in --version and
8101 * bin/ifnames.in: Likewise.
8103 2003-10-09 Paul Eggert <eggert@twinsun.com>
8105 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
8106 Issue a more-informative diagnostic.
8107 Problems reported by Eric Sunshine.
8109 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
8111 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
8112 -mGLOB_options_string stuff for Intel ifc, which can cause
8113 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
8114 pattern-matching instead of grep.
8116 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
8118 * doc/autoconf.texi: Document new FC Fortran macros.
8120 2003-10-08 Gary V. Vaughan <gary@gnu.org>
8122 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
8123 that future autopoint/aclocal/automake/autoreconf will be able
8124 to trace to find where to install local m4 macros.
8125 * doc/autoconf.texi (Input): Document it.
8128 2003-10-06 Gary V. Vaughan <gary@gnu.org>
8130 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
8131 -lcrtbegin.o to list of ignored flags and fix underquoting of
8134 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
8136 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
8137 cache variable instead of $G77 to decide whether to include -O2,
8138 since $G77 is specific to Fortran 77.
8140 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
8142 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
8143 free" flag. Re-order flags tested into rough order of popularity.
8145 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
8147 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
8148 arguments so that it can be used with syntax identical to
8149 AC_PROG_F77, and so that we can more easily decide to
8150 remove/deprecate the DIALECT optional argument in the future if it
8152 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
8153 non-freeform-supporting compilers. Document freeform flags.
8155 2003-10-03 Akim Demaille <akim@epita.fr>
8157 * configure.ac: Look for emacs, not macs.
8158 Reported by Eric Sunshine.
8160 2003-10-03 Akim Demaille <akim@epita.fr>
8162 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
8163 * bin/autoreconf.in (autoreconf_current_directory): Create the
8164 AUX_DIR if needed, for sake of automake --add-missing etc.
8165 Suggested by Alexandre Duret-Lutz.
8167 2003-10-03 Akim Demaille <akim@epita.fr>
8169 * configure.ac: Quotation and formatting changes.
8170 (EMACS): Don't set it if it is not recent enough to support
8174 2003-10-02 Akim Demaille <akim@epita.fr>
8176 * bin/ifnames.in (&scan_file): Skip C++ comments.
8179 2003-10-01 Pavel Roskin <proski@gnu.org>
8181 * doc/autoconf.texi (Particular Structure Checks):
8182 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
8184 2003-10-01 Akim Demaille <akim@epita.fr>
8188 2003-09-30 Paul Eggert <eggert@twinsun.com>
8190 * lib/Autom4te/XFile.pm: Use Errno.
8191 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
8192 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
8194 2003-09-30 Akim Demaille <akim@epita.fr>
8196 * config/announce-gen (&print_news_deltas): Extracted from...
8197 (&print_changelog_deltas): here.
8198 (&news_file): Rename as...
8201 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
8203 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
8204 have been created when invoking the compiler.
8205 * tests/fortran.at (GNU Fortran 77): Quote $G77.
8207 2003-09-29 Akim Demaille <akim@epita.fr>
8211 * config/mkinstalldirs: Upgrade.
8213 2003-09-28 Paul Eggert <eggert@twinsun.com>
8215 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
8216 Problem reported by Lars J. Aas in
8217 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
8218 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
8219 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
8220 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
8222 2003-09-26 Akim Demaille <akim@epita.fr>
8224 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
8225 directory for AC_CONFIG_COMMANDS' first argument exists.
8226 This makes valid the invocation of _AC_SRCPATH that follows.
8227 Reported by Eric Sunshine.
8228 * doc/autoconf.texi (Configuration Commands): Adjust.
8230 2003-09-26 Akim Demaille <akim@epita.fr>
8232 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
8233 Reported by Ralf Corsepius.
8235 2003-09-26 Akim Demaille <akim@epita.fr>
8237 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
8239 Actually, use AU_ALIAS.
8242 2003-09-26 Paul Eggert <eggert@twinsun.com>
8244 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
8245 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
8246 Problem reported by Eric Sunshine in:
8247 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
8249 2003-09-26 Akim Demaille <akim@epita.fr>
8251 The test suite are sometimes assigning timings incorrectly.
8252 Reported by Henk Krus.
8253 Diagnosed by Nicolas Joly.
8255 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
8257 Instead of making AT_help a sequence of assignments to grow
8258 $at_help_all, just make AT_help_all be the growing contents of
8259 $at_help_all, and make a single assignment in...
8261 (at_times_skip): Flip the meaning and rename as...
8263 (AT_INIT): When summarizing the test that ran, remove
8264 $at_times_file after use, and check it is present before trying to
8267 2003-09-25 Akim Demaille <akim@epita.fr>
8271 * bin/Makefile.am (edit): Handle '@configure_input@'.
8272 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
8273 (ifnames): chmod -w.
8274 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
8275 executables, not bin/ executables! Otherwise all the magic needed
8276 to find non installed files is turned off. This caused a failure
8277 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
8278 as found in its environment (sent by tests/autoreconf): pointing
8279 to bin/autom4te that could not find its files.
8280 * tests/mktests.sh: Force the replacement of generated files, for
8281 the sake of "mv" program that are interactive when overwriting a
8283 * config/install-sh: Upgrade from CVS Automake.
8285 2003-09-23 Paul Eggert <eggert@twinsun.com>
8287 * doc/autoconf.texi (Limitations of Builtins): Document test -h
8288 versus test -L issues.
8290 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
8291 Paul Eggert <eggert@twinsun.com>
8293 Trivial change to support GCC's configuration procedure.
8294 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
8295 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
8296 about inconsistency if the preprocessor is set to give errors for
8298 * doc/autoconf.texi (C Compiler Characteristics): Document this.
8300 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
8302 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
8303 and XFile.pm from Automake.
8304 * lib/Autom4te/XFile.pm: Update from Automake.
8306 2003-09-12 Akim Demaille <akim@epita.fr>
8310 2003-09-12 Akim Demaille <akim@epita.fr>
8312 * config/config.guess, config/config.sub, config/missing,
8313 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
8316 2003-09-12 Akim Demaille <akim@epita.fr>
8318 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
8321 2003-09-11 Akim Demaille <akim@epita.fr>
8323 * doc/autoconf.texi (Header Portability): linux/random.h.
8324 From Peter Hendrickson.
8326 2003-09-10 Akim Demaille <akim@epita.fr>
8328 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
8329 willing to edit the output files.
8331 2003-09-10 Akim Demaille <akim@epita.fr>
8333 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
8335 * tests/mktests.sh: Skip AC_FC_SRCEXT.
8336 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
8338 2003-09-09 Akim Demaille <akim@epita.fr>
8340 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
8341 Reported by Gary Vaughan.
8342 * bin/autom4te.in (handle_m4): Likewise.
8344 2003-09-09 Akim Demaille <akim@epita.fr>
8346 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
8349 2003-09-07 Paul Eggert <eggert@twinsun.com>
8351 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
8352 Improve the accuracy of the wording about obsolescence.
8353 From a suggestion by Ian Lance Taylor in
8354 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
8356 2003-09-05 Paul Eggert <eggert@twinsun.com>
8358 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
8359 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
8361 2003-09-04 Akim Demaille <akim@epita.fr>
8363 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
8366 2003-09-04 Akim Demaille <akim@epita.fr>
8368 * bin/autom4te.in: Use &fatal where more appropriate than &error.
8369 (freeze): When exiting, use $exit_code.
8370 * lib/autoconf/fortran.m4: Comment changes.
8372 2003-09-04 Akim Demaille <akim@epita.fr>
8374 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
8376 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
8378 Add support for newer Fortran dialects. The F77 interface is
8379 unchanged, and continues to support Fortran 77. New FC macros
8380 correspond to all the old F77 macros, with output variables FC,
8381 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
8382 available dialect, but older dialects can be specified. There are
8383 new macros AC_FC_SRCEXT to set the source extension, and
8384 AC_FC_FREEFORM to accept free-form source files.
8386 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
8388 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
8389 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
8390 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
8391 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
8392 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
8393 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
8394 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
8395 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
8396 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
8397 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
8398 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
8399 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
8400 AC_FC_SRCEXT, AC_FC_FREEFORM):
8402 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
8403 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
8404 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
8405 Rewrite in terms of the above.
8406 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
8407 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
8408 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
8409 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
8411 2003-09-02 Paul Eggert <eggert@twinsun.com>
8413 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
8414 Document problems with timestamp resolution that 'make', 'cp -p', and
8417 2003-08-27 Akim Demaille <akim@epita.fr>
8419 * tests/m4sugar.at (cross_warning): Make sure to enable the
8420 output, so that we can track spurious m4sugar output.
8421 * tests/local.at: Require 2.57.
8422 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
8423 are defaulted by AT_CHECK anyway.
8424 Use AT_CHECK_AUTOM4TE.
8425 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
8428 2003-08-27 Akim Demaille <akim@epita.fr>
8430 * bin/autoheader.in: Issue the "Using auxiliary..." message only
8431 when -Wobsolete is set.
8432 Set it on by default.
8433 Suggested by Klee Dienes.
8435 2003-08-27 Akim Demaille <akim@epita.fr>
8437 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
8441 2003-08-26 Akim Demaille <akim@epita.fr>
8443 * doc/autoconf.texi (Output): Make clear that one can run code
8446 2003-08-25 Akim Demaille <akim@epita.fr>
8448 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
8451 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
8453 * bin/autoreconf.in (parse_args): Do not pass --no-force to
8454 Automake versions prior to 1.8.
8456 2003-08-25 Akim Demaille <akim@epita.fr>
8458 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
8461 2003-08-24 Akim Demaille <akim@epita.fr>
8463 * configure.ac: Bump to 2.57c.
8465 2003-08-22 Akim Demaille <akim@epita.fr>
8469 * Makefile.cfg (local-checks-to-skip): New.
8470 * Makefile.maint (local-check): Rename as...
8471 (local-checks-available): this.
8474 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
8475 * configure.ac: Require Automake 1.7.6.
8477 2003-08-22 Akim Demaille <akim@epita.fr>
8479 Output stack traces in warnings.
8481 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
8482 Replace the former...
8483 (m4_warn): Pass the call stack to _m4_warn.
8484 * bin/autom4te.in: Adjust to output the call stack.
8485 * tests/m4sugar.at (m4@&t@_warn): Adjust.
8487 2003-08-22 Akim Demaille <akim@epita.fr>
8489 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
8490 * bin/autom4te.in: Adjust.
8492 2003-08-21 Akim Demaille <akim@epita.fr>
8494 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
8496 (&getopt): Adjust the note and verb channels, depending upon
8498 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
8499 * bin/autoupdate.in: Adjust.
8500 Use &verb, not &verbose.
8502 2003-08-21 Akim Demaille <akim@epita.fr>
8504 * bin/autoheader.in (&parse_args): Use &parse_warnings and
8506 ($help): Use Autom4te::ChannelDefs::usage.
8507 * bin/autoscan.in: Use Autom4te::ChannelDefs.
8508 * lib/Autom4te/General.pm: Don't export error: you don't own it.
8510 2003-08-21 Akim Demaille <akim@epita.fr>
8512 First stab at preserving warnings between calls to autom4te,
8513 including when the cache is used.
8515 There are still several issues: (i) there are too many runs of m4
8516 (one for include, one for warnings, and some more), (ii) warnings
8517 spreading on several lines are not handled gracefully, (iii) the
8518 code meant to have the call stack display for errors does not work
8519 (its handling should move from m4 to autom4te).
8521 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
8523 (@preselect): Add m4_warn.
8524 ($exit_status): Remove, use $exit_code.
8525 ($help): Use Autom4te::ChannelDefs::usage.
8526 (&handle_m4): No longer define the m4_warnings.
8527 At each run, extract and report the warnings.
8528 Always cache the result, including if the exit status is on
8529 failure, since if nothing changes, we should result in the same
8530 failure, hence we can use the cache.
8531 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
8532 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
8534 (m4_warn): Redefine as a do-nothing: it is its invocation that
8535 matters, as warnings are now reported via traces.
8536 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
8537 the contents of m4_warn: make it _call_ m4_warn, so that tracing
8538 the latter reveals calls to the former.
8542 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
8544 2003-08-21 Akim Demaille <akim@epita.fr>
8546 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
8549 2003-08-21 Akim Demaille <akim@epita.fr>
8551 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
8553 * lib/Autom4te/ChannelDefs.pm: Doc typos.
8554 (&parse_warnings): Accept a list of warning requests.
8555 (&usage): Return a string, not a side effect.
8556 (cross): New warning category.
8558 2003-08-21 Akim Demaille <akim@epita.fr>
8560 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
8561 (&require_configure_ac): Accept an optional directory argument.
8562 ($configure_ac): Remove.
8563 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
8565 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
8566 * bin/autoscan.in: Adjust.
8568 2003-08-20 Akim Demaille <akim@epita.fr>
8570 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
8571 Reported by Alexandre Duret-Lutz.
8573 2003-08-20 Akim Demaille <akim@epita.fr>
8575 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
8576 * bin/autom4te: Adjust.
8577 In particular, be Autoconf tools are really silent when properly
8578 working, bind the verbosity of the 'note' channel to $verbose.
8579 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
8580 (&xsystem, &contents): Remove, since they are exported by...
8581 * lib/Autom4te/FileUtils.pm: this.
8583 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
8584 * lib/Autom4te/FileUtils.pm: here.
8586 2003-08-20 Akim Demaille <akim@epita.fr>
8588 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
8589 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
8592 2003-08-20 Akim Demaille <akim@epita.fr>
8594 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
8595 (autom4te-update): New.
8596 * Makefile.cfg (update): Bind autom4te-update.
8598 2003-08-19 Derek Price <derek@ximbiot.com>
8600 * lib/autotest/general.m4: Comment various HELP_* diversions.
8601 (PARSE_ARGS_BEGIN): New section for option parsing related
8603 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
8604 package specific options and associated help.
8606 2003-08-19 Akim Demaille <akim@epita.fr>
8608 * config/announce-gen, Makefile.cfg: New.
8609 * Makefile.am: Adjust.
8610 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
8612 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
8614 * lib/autom4te.in (Automake-preselections): Preselect
8615 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
8618 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
8620 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
8621 (Autoconf-without-aclocal-m4): ... this new language.
8622 * doc/autoconf.texi (autom4te Invocation): Mention
8623 Autoconf-without-aclocal-m4.
8625 2003-08-18 Derek Price <derek@ximbiot.com>
8627 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
8628 RUN-IF-PASS optional arguments.
8630 2003-08-18 Derek Price <derek@ximbiot.com>
8632 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
8634 2003-08-16 Derek Price <derek@ximbiot.com>
8636 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
8637 STDOUT & STDERR arguments.
8639 2003-08-14 Derek Price <derek@ximbiot.com>
8641 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
8642 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
8643 shorter column three. Add DESCRIPTION to log file content.
8645 2003-08-13 Derek Price <derek@ximbiot.com>
8647 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
8650 2003-08-12 Derek Price <derek@ximbiot.com>
8652 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
8653 (AT_CHECK_NOESCAPE): Move core functionality to...
8654 (_AT_CHECK): ...this new macro.
8656 2003-08-07 Derek Price <derek@ximbiot.com>
8658 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
8659 (AT_CHECK_NOESCAPE): ...to this new macro.
8661 2003-07-31 Paul Eggert <eggert@twinsun.com>
8663 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
8664 in Bash 2.01. Problem reported by Brian Gough in
8665 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
8667 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
8669 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
8670 -lcrt1.o, for OS X. (trivial change)
8672 2003-07-07 Paul Eggert <eggert@twinsun.com>
8674 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
8675 inside '#ifndef __cplusplus'. Problem reported by
8678 2003-07-06 Bill Clarke <llib@computer.org>
8680 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
8681 'long', not 'int', for benefit of Sun's recent C++ compilers
8682 (trivial change). See:
8683 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
8684 (This really should be 'intptr_t', not 'long', but that would
8687 2003-06-25 Akim Demaille <akim@epita.fr>
8689 * lib/Makefile.am (autom4te.cfg): Make it read only.
8690 Depend on Makefile since it contains substitutions.
8692 * lib/autom4te.in (args): Add local.at? for Autotest args.
8693 This change was made on autom4te.cfg which is generated.
8694 Reported by Raja R. Harinath.
8696 2003-06-25 Akim Demaille <akim@epita.fr>
8698 * doc/autoconf.texi (Header Portability): sys/mount.h.
8699 From Gareth McCaughan.
8701 2003-06-23 Akim Demaille <akim@epita.fr>
8703 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
8704 not all of them. This fixes 1. the fact that when testing
8705 Autoconf there are many many config.log, 2. the incorrect use of
8706 top_srcdir to find config.log.
8707 Don't mix the detailed output of failed test with the summary of
8708 failures. Rather, append detailed log afterwards.
8710 2003-06-23 Akim Demaille <akim@epita.fr>
8712 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
8713 always run: output config.log on $at_group_log.
8715 2003-06-23 Akim Demaille <akim@epita.fr>
8717 * tests/torture.at (#define header templates): Don't use quotes in
8718 C++ comments as it puzzles Emacs' sh font-lock-mode.
8720 2003-06-23 Akim Demaille <akim@epita.fr>
8722 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
8723 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
8724 * tests/atspecific.m4: Rename as...
8725 * tests/local.at: This.
8726 * tests/suite.at: Move the globals into...
8727 * tests/local.at: here.
8728 * tests/Makefile.am: Adjust.
8729 * doc/autoconf.texi (testsuite Scripts): Adjust.
8731 2003-06-21 Kevin Ryde <user42@zip.com.au>
8733 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
8734 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
8735 ensuring we add -std1 for full-ANSI.
8737 * doc/autoconf.texi (hdrindex): New macro.
8738 Add index entries for portability of various standard header files.
8740 2003-06-20 Akim Demaille <akim@epita.fr>
8742 * configure.ac: Bump to 2.57b.
8744 2003-06-20 Akim Demaille <akim@epita.fr>
8748 2003-06-20 Akim Demaille <akim@epita.fr>
8750 * bin/autom4te.in: Don't rely on $HOME being defined.
8751 Reported by Marc Espie as PR/233.
8753 2003-06-20 Akim Demaille <akim@epita.fr>
8755 * lib/autotest/general.m4: Use at_times_file only if used.
8758 2003-06-20 Akim Demaille <akim@epita.fr>
8760 * config/config.guess, config/config.sub, config/elisp-comp,
8761 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
8762 Update from masters.
8764 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
8766 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
8767 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
8768 (TEST_SCRIPT): New diversion.
8769 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
8770 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
8771 (AT_INIT): Support for expected failures.
8773 2003-06-02 Akim Demaille <akim@epita.fr>
8775 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
8777 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
8778 Autoconf nor Automake.
8779 (&contents): New, from Automake.
8782 2003-05-28 Paul Eggert <eggert@twinsun.com>
8784 * NEWS, doc/autoconf.texi (Particular Functions),
8785 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
8786 is the inverse of localtime.
8788 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
8790 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
8791 (handle_exec_errors): New function. Work around $! being
8792 altered by WEXITSTATUS.
8793 (xqx, xsystem): Use handle_exec_errors.
8795 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
8797 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
8798 Do not call `_exit()', simply modify `$?'.
8799 (xsystem): Reset $! before running system, and check it afterward.
8800 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
8801 63 for version mismatches.
8803 2003-05-23 Akim Demaille <akim@epita.fr>
8805 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
8806 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
8807 the middle of a line).
8808 * lib/m4sugar/m4sugar.m4: Likewise.
8809 Remove useless spaces in comments.
8811 2003-05-23 Akim Demaille <akim@epita.fr>
8813 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
8814 exit 63, so that we (or Automake's "missing") can tell the
8815 difference with a plain failure.
8816 * doc/autoconf.texi (Notices): Adjust.
8818 2003-05-23 Akim Demaille <akim@epita.fr>
8820 * Makefile.am, bin/Makefile.am, config/Makefile.am,
8821 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
8822 White spaces cleanup.
8824 2003-05-22 Jim Meyering <jim@meyering.net>
8825 Paul Eggert <eggert@twinsun.com>
8827 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
8828 Remove `#include <stdlib.h>' from the list; we should never
8829 make confdefs.h include <stdlib.h> or <cstdlib>, because the
8830 resulting namespace pollution would cause other tests to fail.
8831 Configure scripts run with some older versions of g++ and HP's
8832 aCC would fail due to such an #include. Problems reported by
8833 Matthew Mueller in <http://bugs.debian.org/120704> and by
8835 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
8836 In the test, use the test declaration before including <stdlib.h>,
8837 as that's closer to how it'll be used.
8839 2003-05-23 Akim Demaille <akim@epita.fr>
8841 * doc/autoconf.texi (Header Portability): ucred.h.
8844 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
8846 Overhaul Autotest's logging: generate separate log files
8847 in testsuite.dir/NNN/testsuite.log, and append them to
8848 testsuite.log instead of re-running the test verbosely.
8850 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
8851 file descriptor, write 0 to at_status_file instead of setting
8852 at_status=0, initialize some new variables (at_status_file,
8853 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
8854 to rerun the tests, instead append the at_group_log to the
8855 at_suite_log when a test fails.
8856 (AT_SETUP): pipe the test case's output into at_tee_pipe,
8857 with the AS_MESSAGE_LOG_FD redirected to stdout.
8858 (AT_CLEANUP): save the output status in $at_status_file
8859 and restore it, redirect the AS_MESSAGE_LOG_FD back to
8861 (AT_CHECK): since tests are run with a redirected stdout,
8862 and used to be re-run in verbose mode, turn some $at_verbose
8863 into echo, and don't redirect the output of testing stdout
8866 * lib/autotest/autoconf.texi (testsuite Scripts): Update
8867 the name of the debugging directory and information about
8870 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
8872 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
8875 2003-05-22 Akim Demaille <akim@epita.fr>
8877 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
8878 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
8879 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
8880 * lib/autoconf/status.m4: Fix and adjust copyright notices.
8882 2003-05-22 Akim Demaille <akim@epita.fr>
8884 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
8885 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
8886 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8887 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
8888 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
8889 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
8890 * lib/autoconf/status.m4, lib/autoconf/types.m4,
8891 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
8892 * tests/atspecific.m4, tests/base.at, tests/compile.at,
8893 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
8894 * tests/tools.at, tests/torture.at:
8895 Whitespace clean up.
8896 Suggested by Jim Meyering.
8898 2003-05-22 Akim Demaille <akim@epita.fr>
8900 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
8901 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
8902 Reported by Jim Meyering.
8904 2003-05-22 Akim Demaille <akim@epita.fr>
8906 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
8907 Add AC_HELP_STRING to the obsolete macros section.
8909 Use '@.' for sentences that ended in a capital letter.
8912 2003-05-22 Akim Demaille <akim@epita.fr>
8914 * config/config.guess, config/config.sub, config/elisp-comp,
8915 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
8916 * config/texinfo.tex, doc/standards.texi: Update from masters.
8918 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
8920 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
8923 2003-05-21 Akim Demaille <akim@epita.fr>
8925 * bin/autoupdate.in ($m4): Fix quotation.
8926 Reported by Martin Mokrejs.
8928 2003-05-19 Paul Eggert <eggert@twinsun.com>
8930 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
8931 Remove non-ASCII characters.
8933 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
8935 * tests/semantics.at (AC_SEARCH_LIBS): New test.
8936 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
8937 AC_CHECK_HEADERS_NEW): New tests.
8939 2003-05-17 Akim Demaille <akim@epita.fr>
8941 * lib/autoconf/functions.m4: Use the default includes so that
8942 memcmp be declared before being tested.
8943 Reported by Sander Niemeijer.
8944 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
8945 * doc/autoconf.texi (Default Includes): Document
8946 AC_INCLUDES_DEFAULT.
8948 2003-05-17 Akim Demaille <akim@epita.fr>
8950 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
8951 * doc/autoconf.texi (Obsolete Macros): Adjust.
8952 Reported by Werner LEMBERG and Debian Bug 190886.
8954 2003-05-16 Akim Demaille <akim@epita.fr>
8956 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
8957 user name space clashes.
8958 Reported by Bruno Haible.
8960 2003-05-16 Akim Demaille <akim@epita.fr>
8962 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8963 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
8964 them uniform, and more robust to Perl special characters.
8965 Reported by Martin Mokrejs.
8967 2003-05-14 Akim Demaille <akim@epita.fr>
8969 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
8971 2003-05-14 Akim Demaille <akim@epita.fr>
8973 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
8976 2003-05-12 Akim Demaille <akim@epita.fr>
8978 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
8980 From Matthias Andree.
8982 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
8984 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
8987 2003-05-06 Akim Demaille <akim@epita.fr>
8989 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
8990 longer updates aclocal.m4 if useless, (ii) if a file m4_included
8991 by aclocal.m4 is changed it might require the importing of another
8992 m4 extension file, i.e., aclocal must be run.
8994 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
8995 (&parse_args): Use --force with aclocal if required and supported.
8996 (&autoreconf_current_directory): Use &run_aclocal.
8998 2003-05-06 Akim Demaille <akim@epita.fr>
9000 Lock autom4te's cache.
9002 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
9003 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
9004 argument instead of a file name, so that the request file remains
9005 open during the whole autom4te run.
9006 ($icache_file): New.
9007 (&freeze): Lock the $icache_file.
9009 2003-04-29 Derek Price <derek@ximbiot.com>
9011 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
9012 seperator with m4_append_uniq(). It doesn't work.
9013 (AT_CLEANUP): Add `;' to end of at_help_all.
9014 (AT_INIT): Allow --keywords to be specified more than once. When
9015 grepping $at_help_all for keywords, use the field and keyword
9016 seperators to ensure a complete keyword match. Alter at_prev handling
9017 to support the new --keywords behavior.
9019 2003-04-27 Karl Berry <karl@freefriends.org>
9021 * doc/autoconf.texi: Make the dir entries in the autoconf manual
9022 align better with others. I also made some of the individual
9023 entries on one line, for brevity and to make it easier for me to
9024 sort my dir-example file in the Texinfo distribution :).
9026 2003-04-12 Jim Meyering <jim@meyering.net>
9028 * NEWS: Mention the new macro.
9029 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
9030 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
9031 * tests/c.at: Test AC_C_RESTRICT.
9032 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
9034 2003-04-08 Akim Demaille <akim@epita.fr>
9036 * bin/ifnames.in: Skip C++ comments.
9039 2003-04-08 Akim Demaille <akim@epita.fr>
9041 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
9042 From Ilya Zakharevich.
9044 2003-04-08 Akim Demaille <akim@epita.fr>
9046 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
9049 2003-04-01 Derek Price <derek@ximbiot.com>
9051 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
9052 from Akim's checkin of 2003-03-29.
9054 2003-04-01 Derek Price <derek@ximbiot.com>
9056 * tests/torture.at (Configuring subdirectories): Add missing
9057 close-quote for Akim's change from 2003-03-28.
9059 2003-04-01 Akim Demaille <akim@epita.fr>
9061 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
9062 (AC, AT, MS): these.
9063 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
9066 * doc/Makefile.am (CLEANFILES): Adjust.
9067 (TEXI2DVI): Make it --batch.
9069 2003-03-31 Derek Price <derek@ximbiot.com>
9071 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
9072 which removed the main loop.
9073 Thanks to Akim Demaille.
9075 2003-03-29 Akim Demaille <akim@epita.fr>
9077 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
9079 From Ilya Zakharevich.
9081 2003-03-29 Akim Demaille <akim@epita.fr>
9083 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
9084 documentation to read is Autoconf's.
9085 Suggested by Paul Eggert.
9087 2003-03-28 Akim Demaille <akim@epita.fr>
9089 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
9090 reading the section "Present But Cannot Be Compiled" when the
9091 header causes problems.
9093 2003-03-28 Akim Demaille <akim@epita.fr>
9095 * tests/torture.at (Configuring subdirectories): Require aclocal
9096 1.4, otherwise the test fails, as it does support configure.ac.
9097 This fixes the "test 40 failed" bug reports.
9099 2003-03-28 Akim Demaille <akim@epita.fr>
9101 * doc/autoconf.texi (C Compiler): `#line' portability.
9102 From Paul Eggert and Nelson H. F. Beebe.
9104 2003-03-27 Derek Price <derek@ximbiot.com>
9106 * lib/autotest/general.m4: Eliminate main loop and reorganize test
9107 layout in order to allow scripting around test groups.
9109 2003-03-27 Derek Price <derek@ximbiot.com>
9111 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
9112 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
9113 use new diversions in preparation for accepting new arguments and
9114 allowing scripting around tests.
9115 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
9117 2003-03-26 Derek Price <derek@ximbiot.com>
9119 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
9120 obsolete AC_HELP_STRING.
9121 (AC_HELP_STRING): AU_DEFUN to...
9122 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
9123 * tests/m4sh.at (AS_HELP_STRING): New test.
9125 * tests/acgeneral.at: Regenerated.
9127 2003-03-26 Derek Price <derek@ximbiot.com>
9129 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
9130 sense. Verbosify the diversion definitions comment.
9132 2003-03-26 Derek Price <derek@ximbiot.com>
9134 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
9137 2003-03-21 Eric Siegerman <eric_97@pobox.com>
9139 * doc/autoconf.texi (Present But Cannot Be Compiled):
9140 Grammar fixes and minor rewording. (trivial change)
9142 2003-03-06 Paul Eggert <eggert@twinsun.com>
9144 Work around a problem noted by Nelson H. F. Beebe with coreutils
9145 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
9146 2002/05/09) rejects '#line 32768 "configure"' because the line
9148 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
9150 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
9151 * doc/autoconf.texi (Generating Sources): Document this.
9153 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
9155 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
9156 file name for the m4 program, when it has an "exe" file extension.
9157 DJGPP's error messages include the error code in brackets -
9158 remove the error code during normalization.
9160 2003-02-28 Akim Demaille <akim@epita.fr>
9162 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
9164 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
9166 * doc/autoconf.texi (Limitations of Make): Remove the section
9167 about `$<' in inference rules, it was a bogus interpretation of
9168 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
9169 Tru64 make in the "target lookup" section.
9170 (Automake): Automake 1.5+ no longer requires special tools to be
9171 present on the developer's host.
9173 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
9175 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
9176 to a shell that can handle redirection or quoting correctly.
9177 Override SHELL with the shell detected by configure.
9178 Use of $^O suggested by Tim van Holder.
9179 * bin/autom4te.in (BEGIN): Likewise.
9180 * bin/autoreconf.in (BEGIN): Likewise.
9181 * bin/autoscan.in (BEGIN): Likewise.
9182 * bin/autoupdate.in (BEGIN): Likewise.
9183 * bin/ifnames.in (BEGIN): Likewise.
9185 * bin/ifnames.in: Add final newline to help and version messages.
9187 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
9188 to cope with DOS-style absolute paths, when constructing
9191 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
9192 When constructing paths with IFS=:, quote the path. If we're
9193 constructing a DOS-style absolute path, we don't want to split it
9196 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
9199 2003-02-25 Pavel Roskin <proski@gnu.org>
9201 * bin/autoheader.in: Add missing newline when printing
9202 suggestion how change AC_DEFINE call.
9204 2003-02-24 Paul Eggert <eggert@twinsun.com>
9206 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
9207 2002-09-01 patch by replacing "test -n" with "test -z".
9208 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
9209 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
9211 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
9212 to fix a mismatch between example and discussion.
9214 2003-02-24 Kevin Ryde <user42@zip.com.au>
9216 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
9217 format starting with "-".
9219 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
9221 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
9222 is not portable inside Makefile.
9224 2003-02-20 Akim Demaille <akim@epita.fr>
9226 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
9227 compiler says yeah, but preproc says nope, compiler is right.
9228 Conversely, prompt the reader to send a bug report to the
9229 maintainers of the package, not of Autoconf.
9231 2003-02-20 Klee Dienes <kdienes@apple.com>
9233 * bin/autoreconf.in (autoreconf_current_directory): Properly
9234 handle an empty aclocal.m4.
9236 2003-02-20 Akim Demaille <akim@epita.fr>
9238 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
9242 2002-12-23 Paul Eggert <eggert@twinsun.com>
9244 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
9245 innocuous variant befor including <limits.h> or <assert.h>. This
9246 works around a bug reported by Albert Chin: HP-UX 11i
9247 (and earlier versions) have a <limits.h> that declares
9248 gettimeofday and many other functions.
9250 2002-12-03 Paul Eggert <eggert@twinsun.com>
9254 * NEWS, configure.ac: Update version.
9256 * doc/fdl.texi: Upgrade to FDL version 1.2.
9258 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
9259 nontrivially in main's body, so that f's external declaration is
9260 not optimized away in AIX. This should fix the bug reported by
9262 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
9264 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
9265 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
9266 defined, to support freestanding compilers. This should fix the
9267 bug reported by Momchil Velkov in
9268 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
9270 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
9271 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
9272 obsolete AC_CHECK_TYPE. The missing empty arg was reported
9273 by Simon Josefsson in
9274 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
9276 * Makefile.maint (www-gnu): New macro.
9277 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
9278 the location has moved.
9280 2002-12-02 Martin Frydl <martin@systinet.com>
9282 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
9283 \(.*\) match is too long and there is something more to be checked.
9284 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
9286 2002-11-15 Akim Demaille <akim@epita.fr>
9290 * config/install-sh: chmod +x.
9292 * config/move-if-change: Indenting changes.
9293 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
9294 * configure.ac (AM_INIT_AUTOMAKE): here.
9297 2002-11-14 Akim Demaille <akim@epita.fr>
9301 * config/config.guess, config/config.sub, config/install-sh:
9302 Update from masters.
9304 2002-11-14 Akim Demaille <akim@epita.fr>
9306 * Makefile.maint: Sync with Bison, i.e.:
9307 (po-check): Scan .l and .y files instead of the
9308 .c and the .h files that they generate. This fixes the bug
9309 reported by Tim Van Holder in:
9310 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
9311 Look for N_ as well as for _. Try to avoid matching #define for
9315 2002-11-14 Akim Demaille <akim@epita.fr>
9317 * doc/autoconf.texi (C Compiler): Compiling several files at once.
9318 From Paul Eggert and Albert Chin-A-Young.
9320 2002-11-14 Akim Demaille <akim@epita.fr>
9322 * doc/autoconf.texi (C Compiler): Solitary backslashes.
9323 From Paul Eggert and Albert Chin-A-Young.
9325 2002-11-14 Kevin Ryde <user42@zip.com.au>
9327 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
9328 than assigning in main, to avoid HP cc +O3 optimizing it away.
9330 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
9332 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
9333 option. Process --recheck after parsing all options. Pass -q
9334 option to configure on --recheck.
9335 (AC_OUTPUT): Pass -q from configure to config.status.
9336 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
9337 arguments to record.
9338 * doc/autoconf.texi (config.status Invocation): Document
9339 config.status -q option.
9341 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
9343 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
9344 Makefile.in if Makefile.am exists.
9345 (output): Strip `.am' from Makefiles. Don't
9346 output AC_CONFIG_FILES if no Makefiles were found.
9348 2002-11-07 Akim Demaille <akim@epita.fr>
9350 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
9351 (local_updates): New.
9352 * Makefile.maint: Update, from CVS Bison.
9353 (local_updates): New.
9355 2002-11-06 Akim Demaille <akim@epita.fr>
9357 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
9358 declaration in extern "C" too.
9359 Reported by Roberto Bagnara.
9361 2002-11-06 Akim Demaille <akim@epita.fr>
9363 * tests/torture.at (Configuring subdirectories): Don't use grep
9365 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
9366 Reported by Ezra Peisach.
9368 2002-11-05 Akim Demaille <akim@epita.fr>
9370 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
9372 We _have_ to stop using the old compatibility scheme that tried to
9373 avoid useless backslashes because Libtool 1.4.3 contains a
9374 AC_DEFINE([error_t], [int],
9375 [Define to a type to use for \`error_t' if it is not
9376 otherwise available.])
9377 We _have_ to quote the single quote and backslashes with \. The
9378 old compatibility scheme saw that ` was backslashed, and therefore
9379 did not quote the single quote. Hence before this patch, Autoconf
9380 was not compatible with Libtool.
9382 2002-11-04 Paul Eggert <eggert@twinsun.com>
9384 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
9385 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
9386 LC_NAME, LC_PAPER, LC_TELEPHONE.
9387 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
9389 2002-11-04 Akim Demaille <akim@epita.fr>
9393 * Makefile.maint (update, cvs-update, po-update, do-po-update):
9395 * config/texinfo.tex: Update.
9397 2002-11-03 Akim Demaille <akim@epita.fr>
9399 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
9401 (&autoreconf): here.
9402 ($help, $make, &parse_args, &autoreconf_current_directory):
9404 * doc/autoconf.texi (autoreconf Invocation): Adjust.
9406 2002-10-31 Bruno Haible <bruno@clisp.org>
9408 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
9409 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
9410 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
9411 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
9412 to ac_cv_func_realloc_0_nonnull.
9413 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
9415 2002-10-31 Akim Demaille <akim@epita.fr>
9417 The test suite was no longer checking for trailing envvars and files.
9419 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
9420 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
9422 2002-10-31 Akim Demaille <akim@epita.fr>
9424 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
9425 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
9426 Make variable, not a shell variable.
9427 Suggested by Bruno Haible.
9429 2002-10-31 Akim Demaille <akim@epita.fr>
9431 * bin/autom4te.in (load_configuration): Reject #args out of any
9434 2002-10-31 Akim Demaille <akim@epita.fr>
9436 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
9437 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
9438 (_AC_RUN_IFELSE): Use it.
9439 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
9440 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
9441 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
9444 2002-10-30 Akim Demaille <akim@epita.fr>
9446 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
9447 * doc/autoconf.texi (autom4te Invocation): Adjust.
9448 Suggested by Tim van Holder.
9450 2002-10-29 Paul Eggert <eggert@twinsun.com>
9452 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
9453 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
9454 Problem reported by Bruno Haible.
9456 2002-10-29 Akim Demaille <akim@epita.fr>
9458 * doc/autoconf.texi (Header Templates): Put also in words what the
9459 pictures says to assist free style readers.
9460 (Customizing autom4te): s/--cache=/--cache /.
9462 2002-10-29 Akim Demaille <akim@epita.fr>
9464 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
9466 sparc_address_test returns void.
9467 Use it with an argument, as prototyped.
9470 2002-10-29 Akim Demaille <akim@epita.fr>
9472 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
9473 configure.in, not configure.ac.
9474 Reported by Bruno Haible.
9476 2002-10-29 Akim Demaille <akim@epita.fr>
9478 * tests/torture.at (Deep Package): New test.
9479 (Configuring subdirectories): Don't use a testSubDir as Autotest
9482 2002-10-29 Akim Demaille <akim@epita.fr>
9484 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
9485 * doc/autoconf.texi (Invoking autom4te): Rename as...
9486 (autom4te Invocation): this, for consistency with the other nodes.
9488 2002-10-29 Akim Demaille <akim@epita.fr>
9490 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
9491 Reported by Ralf Corsepius.
9493 2002-10-29 Akim Demaille <akim@epita.fr>
9495 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9496 characters is a back as an `obsolete' warning now.
9497 Reported by Ralf Corsepius.
9499 2002-10-28 Akim Demaille <akim@epita.fr>
9501 * configure.ac: Bump to 2.54c.
9503 2002-10-28 Akim Demaille <akim@epita.fr>
9507 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
9509 2002-10-28 Akim Demaille <akim@epita.fr>
9511 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
9512 m4 executable names, and different GNU M4 version.
9513 Reported by Ezra Peisach and Paul Jarc.
9515 2002-10-27 Akim Demaille <akim@epita.fr>
9517 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
9520 2002-10-27 Akim Demaille <akim@epita.fr>
9522 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
9523 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
9524 Die when a simple Fortran program cannot be compiled.
9525 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
9526 Issue a warning if no function is given.
9528 2002-10-27 Akim Demaille <akim@epita.fr>
9530 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
9531 Move the documentation of AC_TRY_RUN to...
9532 (Obsolete Macros): here.
9533 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
9534 (autoconf Invocation): Remove the duplicates with `invoking
9536 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
9537 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
9539 2002-10-27 Akim Demaille <akim@epita.fr>
9541 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
9542 and AC_LANG_FUNC_LINK_TRY.
9543 (Examining Libraries): Rename as...
9544 (Running the Linker): this.
9545 Document AC_LINK_IFELSE.
9546 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
9547 (Obsolete Macros): here.
9548 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
9549 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
9550 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
9551 * lib/autoconf/headers.m4 (AC_USG): Likewise.
9553 2002-10-27 Akim Demaille <akim@epita.fr>
9555 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
9557 More `check config.log' messages.
9559 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
9560 * doc/autoconf.texi (Printing Messages): Document it.
9561 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
9563 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
9564 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
9565 (_AC_COMPILER_OBJEXT): Likewise.
9566 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
9567 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
9569 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
9572 Deprecate macros with unusual interfaces.
9574 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
9575 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
9577 Document the new ones, and proper style.
9579 * doc/autoconf.texi (Generating Sources): New.
9580 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
9581 (Examining Declarations): Rename as...
9582 (Running the Preprocessor): this.
9583 Document AC_PREPROC_IFELSE.
9584 (Examining Syntax): Rename as...
9585 (Running the Compiler): this.
9586 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
9587 (Obsolete Macros): Move the definition of AC_TRY_CPP and
9588 AC_TRY_COMPILE here.
9590 2002-10-27 Akim Demaille <akim@epita.fr>
9592 Move sections around.
9594 * doc/autoconf.texi (Customizing autom4te): Remove a lost
9596 Reported by Burno Haible.
9597 (Language Choice): Now the first section of...
9598 (Writing Tests): this section.
9599 Make the introduction less C-centric.
9600 (Guidelines, Test Functions): Move to...
9601 (Writing Test Programs): this new section.
9602 (Test Programs): Merge into...
9605 2002-10-27 Akim Demaille <akim@epita.fr>
9607 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
9608 autom4te.in that resulted in the need for two `make' runs.
9610 2002-10-27 Akim Demaille <akim@epita.fr>
9612 * configure.ac: Bump to 2.54b.
9614 2002-10-25 Akim Demaille <akim@epita.fr>
9618 * Makefile.maint: Update from the Coreutils.
9619 (AMTAR): Remove, obsolete.
9620 (automake_repo): Update to redhat.com.
9622 Adjust to the fact that ansi2knr is now hosted by Automake.
9623 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
9624 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
9625 Update from masters.
9626 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
9627 autoscan.pre is not to be installed, and autoscan.list is not to
9629 (CLEANFILES): Add autoscan.list.
9630 (autoscan.list): Disable the cache.
9631 * bin/Makefile.am: Include freeze.mk.
9633 2002-10-25 Akim Demaille <akim@epita.fr>
9635 * bin/autom4te.in (&load_configuration): Take the file as
9637 (&parse_args): Handle -C, --cache.
9639 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
9640 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
9641 * doc/autoconf.texi (Invoking autom4te): Document --cache.
9642 Now a subsection of...
9643 (Using autom4te): This new section.
9644 (Customizing autom4te): New.
9645 (autom4te.cache): Adjust.
9647 2002-10-25 Akim Demaille <akim@epita.fr>
9649 * doc/autoconf.texi (Generic Headers): More information on how to
9650 use AC_CHECK_HEADERS.
9652 2002-10-25 Akim Demaille <akim@epita.fr>
9654 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
9657 2002-10-25 Akim Demaille <akim@epita.fr>
9659 * bin/autoscan.in (output): Output AC_PREREQ.
9660 (%needed_macros): Add AC_PREREQ so that configure.ac without one
9663 2002-10-23 Akim Demaille <akim@epita.fr>
9665 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
9668 2002-10-23 Akim Demaille <akim@epita.fr>
9670 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
9671 Reported by Peter Eisentraut.
9673 2002-10-23 Akim Demaille <akim@epita.fr>
9675 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
9678 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
9679 Eggert's recommandations.
9681 2002-10-22 Akim Demaille <akim@epita.fr>
9683 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
9684 Bison, by Paul Eggert.
9685 * doc/autoconf.texi (Particular Headers): Document it.
9687 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
9689 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
9690 `$ac_configure_args'.
9692 2002-10-22 Akim Demaille <akim@epita.fr>
9694 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
9695 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
9698 2002-10-22 Akim Demaille <akim@epita.fr>
9700 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
9702 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9703 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
9704 (_AC_CHECK_HEADER_NEW): Rename as...
9705 (AC_CHECK_HEADER): this.
9707 2002-10-22 Akim Demaille <akim@epita.fr>
9709 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
9710 words about HP-UX cmp: it was actually a user-written cmp.
9712 2002-10-22 Akim Demaille <akim@epita.fr>
9714 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
9716 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9717 Quote for Perl '' strings, not "".
9718 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
9721 2002-10-22 Akim Demaille <akim@epita.fr>
9723 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
9724 characters is a syntax warning now.
9725 (_AS_QUOTE): Accept $2 as list of characters to quote.
9726 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
9727 Quote for Perl, not sh.
9728 * bin/autoheader.in: When $debug, report the file which is
9730 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
9731 `@', to tickle Perl's lists.
9732 Reported by Carlos Velasco.
9734 2002-10-18 Akim Demaille <akim@epita.fr>
9736 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
9737 missing included files _are_ errors.
9738 Thanks to Alexandre Duret-Lutz.
9739 * tests/tools.at (autom4te cache): Adjust.
9740 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
9741 (AT_CHECK_M4SUGAR): Use it.
9742 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
9744 * tests/tools.at (autom4te): Now it does exit 1.
9746 2002-10-17 Akim Demaille <akim@epita.fr>
9748 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
9749 Fixes the `AC_ARG_VAR' test failures.
9750 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
9751 * lib/freeze.mk (check-forbidden-patterns): New.
9752 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
9753 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
9754 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
9756 Reported months ago by H. Merijn Brand.
9758 2002-10-17 Akim Demaille <akim@epita.fr>
9760 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
9762 2002-10-16 Paul Eggert <eggert@twinsun.com>
9764 * Makefile.maint (wget_files): Remove ansi2knr.c.
9765 (ansi2knr.c-url_prefix): Remove.
9767 2002-10-16 Akim Demaille <akim@epita.fr>
9769 Because of caching, some files that no longer exist and are no
9770 longer required can still cause errors.
9771 Reported by Alexandre Duret-Lutz.
9773 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
9774 to frozen files in @ARGV, as @ARGV must remain being a list of
9775 files. Rather, at M4 call sites, use this...
9776 (&files_to_options): New function.
9777 (&freeze): Use &error.
9778 (&up_to_date): If a file that was included according to the cache
9779 is no longer there, then the output is out dated.
9780 (&main): Don't even check whether a file is up to date is anyway
9782 * tests/tools.at (autom4te cache): New.
9784 2002-10-16 Akim Demaille <akim@epita.fr>
9786 * bin/autoconf.as: Kill dead options.
9787 * bin/autoupdate.in (&parse_args): Kill old options.
9788 * bin/autoreconf.in (&parse_args): Remove dead options.
9790 (&autoreconf): Report the directories we enter *and leave*, so
9791 that error messages can be easily located, and use GNU Make
9792 format, so that Emacs' compile mode understands us.
9793 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
9794 if some file was changed instead of `print'.
9795 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
9796 (&parse_args): Remove the dead options.
9797 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
9798 autoheader's quiet mode.
9799 (AT_CHECK_AUTOUPDATE): Likewise.
9800 * tests/tools.at (autoupdate): Adjust.
9801 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
9803 2002-10-11 Akim Demaille <akim@epita.fr>
9805 No longer use CPP to check for the existing of headers: use CC to
9806 check for compilability.
9808 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
9809 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
9810 (_AC_CHECK_HEADER_NEW): Rename as...
9811 (AC_CHECK_HEADER): this.
9813 * lib/autotest/general.m4 (AT_INIT): Include the failed test
9814 numbers in the Subject suggestion.
9816 2002-10-11 Akim Demaille <akim@epita.fr>
9818 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
9819 Suggest using AC_CHECK_DECLS instead.
9821 2002-10-11 Akim Demaille <akim@epita.fr>
9823 * tests/torture.at (AC_ARG_VAR): Have configure report the value
9826 2002-10-11 Akim Demaille <akim@epita.fr>
9828 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
9829 file name to enable parallel executions.
9830 From Sam Varshavchik.
9832 2002-10-08 Akim Demaille <akim@epita.fr>
9834 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
9835 aclocal invocation, as Gettext macros might not be visible to
9837 Instead of blindly running autopoint, scan configure.ac (not the
9838 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
9839 Reported by Paul D. Smith.
9841 2002-10-08 Paul Eggert <eggert@twinsun.com>
9843 Work around problems found when POSIXLY_CORRECT=1 is set.
9844 None of this seems to have anything to do with POSIX, really,
9845 but it's how Perl getopt works.
9846 * bin/autom4te.in (parse_args): Configure GetOpt with
9848 * doc/autoconf.texi (Invoking autom4te):
9849 --warning -> --warnings.
9850 * lib/autom4te.in: --warning -> --warnings.
9852 2002-09-28 Akim Demaille <akim@epita.fr>
9854 * doc/autoconf.texi (autom4te.cache): New section.
9856 2002-09-28 Akim Demaille <akim@epita.fr>
9858 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
9859 (Automake-preselections): Update.
9860 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
9862 2002-09-28 Akim Demaille <akim@epita.fr>
9864 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
9865 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
9866 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
9867 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
9869 2002-09-28 Akim Demaille <akim@epita.fr>
9871 * tests/torture.at (Configuring subdirectories): Be robust to
9872 users who use config.site to require for a cache: in this case,
9873 the two last configure runs, using two different sets of
9874 arguments, trigger a legitimate error.
9876 2002-09-28 Akim Demaille <akim@epita.fr>
9878 * tests/m4sh.at (Functions Support, Functions and return Support):
9881 2002-09-28 Akim Demaille <akim@epita.fr>
9883 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
9884 autoheader are Perl programs.
9885 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
9886 (autom4te): Specify that the sources are in the $srcdir.
9887 * doc/autoconf.texi (Installation Directory Variables): Adjust.
9889 2002-09-28 Akim Demaille <akim@epita.fr>
9891 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
9892 (tm_zone): Move their rules to...
9893 * lib/autoconf/types.m4: here, using AN_ macros.
9894 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
9895 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
9896 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
9897 * lib/autoconf/programs.m4: here.
9898 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
9899 (ETAGS_FOR_AUTOCONF): New.
9902 2002-09-28 Akim Demaille <akim@epita.fr>
9904 * lib/autoconf/autoscan.m4: New file.
9905 * lib/autoconf/autoconf.m4: Include it.
9906 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
9907 that were listed in the original autoscan.list.
9908 * lib/autoconf/headers.m4: Similarly with headers.
9909 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
9910 (.m4.m4f): Don't pass --prepend-include, since that's done by
9911 tests/autom4te itself.
9912 * lib/autoscan/Makefile.am: Include freeze.mk.
9913 (autoscan.list): New target --this file is no longer a source.
9914 (autoscan.pre): New file.
9916 2002-09-28 Akim Demaille <akim@epita.fr>
9918 * bin/autoscan.in (@kinds): Make them singular.
9920 (&init_tables): When --debug, report the list of rules to ease
9921 tracking changes in autoscan.list.
9922 * lib/autoscan/autoscan.list (function): Strip comments, sort.
9924 2002-09-28 Akim Demaille <akim@epita.fr>
9926 * lib/autoscan/functions, lib/autoscan/headers,
9927 * lib/autoscan/identifiers, lib/autoscan/makevars,
9928 * lib/autoscan/programs: Merge into...
9929 * lib/autoscan/autoscan.list: this.
9930 * bin/autoscan.in (&init_tables): Adjust.
9932 2002-09-28 Akim Demaille <akim@epita.fr>
9934 * lib/autoscan/functions, lib/autoscan/headers,
9935 * lib/autoscan/identifiers, lib/autoscan/makevars,
9936 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
9937 `functions' line is now prefixed with `function:'.
9938 * bin/autoscan.in (&init_tables): Adjust.
9940 2002-09-28 Akim Demaille <akim@epita.fr>
9942 From now on, autoscan files must always map a macro name to a
9943 word: there is no `default' macro for autoscan.
9945 * bin/autoscan.in (&init_tables): Reject entries with no macro at
9947 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
9950 2002-09-28 Akim Demaille <akim@epita.fr>
9952 * bin/autoscan.in (%c_keywords): Remove.
9953 (&used): Keep only track of the words we might be interested in.
9954 (&output_kind): It is no longer needed to look for non active
9957 2002-09-27 Akim Demaille <akim@epita.fr>
9959 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
9960 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
9961 * lib/autoscan/functions: Adjust.
9962 * doc/autoconf.texi (Particular Functions): Adjust.
9964 2002-09-27 Akim Demaille <akim@epita.fr>
9966 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
9968 Thanks to Bill Moseley and Paul Eggert.
9969 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
9970 the tmpdir must be created.
9971 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
9972 dir be in the build tree, instead of $TMPDIR.
9974 2002-09-27 Akim Demaille <akim@epita.fr>
9976 * bin/autoscan.in: Improve the comments.
9977 (&parse_args): Drop obsolete undocumented options.
9978 (&output_kind): Output warnings.
9979 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
9980 (getwd): Trigger a warning.
9982 2002-09-26 Akim Demaille <akim@epita.fr>
9984 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
9985 Reported by Ralf Corsepius.
9986 * doc/autoconf.texi (autoreconf Invocation): Likewise.
9988 2002-09-26 Akim Demaille <akim@epita.fr>
9990 Single suffix rules and seperated dependencies are not portable.
9992 * doc/autoconf.texi (Installation Directory Variables): Update.
9993 (Limitations of Make): Some about `Single Suffix Rules and
9994 Separated Dependencies'.
9995 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
9996 (ifnames, autoscan, autom4te): Un-factor into several rules.
9998 2002-09-25 Paul Eggert <eggert@twinsun.com>
10000 * BUGS (Interoperability bugs): New section. Mention libtool
10001 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
10003 2002-09-24 Paul Eggert <eggert@twinsun.com>
10005 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
10006 make handles suffix-rules differently from GNU make.
10008 * bin/Makefile.am (SUFFIXES, .in): Remove.
10009 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
10010 Move the body of the old .in rule here.
10012 2002-09-16 Akim Demaille <akim@epita.fr>
10014 i960 compilers create `b.out' files by default.
10015 Reported by Ralf Corsepius.
10017 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
10018 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
10020 2002-09-13 Paul Eggert <eggert@twinsun.com>
10022 * doc/autoconf.texi (Particular Headers): Remove obsolete
10023 reference to `struct timezone' in the description of
10026 2002-09-13 Akim Demaille <akim@epita.fr>
10030 * config/config.sub, config/config.guess: Update.
10031 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
10032 * Makefile.am: Adjust.
10034 2002-09-13 Akim Demaille <akim@epita.fr>
10036 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
10037 reading config.log when the compiler is rejected.
10038 Suggested by Guido Draheim.
10040 2002-09-13 Akim Demaille <akim@epita.fr>
10042 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
10043 (chdir_init) might hang when stat'ing mounted directories.
10044 Reported by Vance Shipley.
10046 2002-09-12 Akim Demaille <akim@epita.fr>
10048 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
10051 2002-09-12 Akim Demaille <akim@epita.fr>
10053 * doc/autoconf.texi (Defining Symbols): Present two different
10054 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
10055 difference between 1 argument calls, and 2-3 argument calls.
10057 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
10059 * doc/autoconf.texi: Review grammar and punctuation.
10061 2002-09-11 Paul Eggert <eggert@twinsun.com>
10063 * doc/autoconf.texi: Fix minor formatting, spelling, and
10065 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
10066 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
10069 2002-09-11 Akim Demaille <akim@epita.fr>
10071 * doc/autoconf.texi (Questions): Rename as...
10073 (Defining Directories): New.
10075 2002-09-09 Akim Demaille <akim@epita.fr>
10077 * doc/autoconf.texi (Making testsuite Scripts): Update.
10078 Suggested by Nishio Futoshi.
10080 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
10082 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
10083 plain `@' is wanted.
10085 2002-09-09 Akim Demaille <akim@epita.fr>
10087 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
10088 `duplicates', since the algorithm was too naive and could keep
10089 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
10090 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
10091 Reported by Ralf Corsepius.
10092 * tests/torture.at (Configuring subdirectories): Exercise these
10095 2002-09-09 Akim Demaille <akim@epita.fr>
10097 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
10098 looking for a replacement file.
10099 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
10100 directory is relative.
10101 * doc/autoconf.texi (Generic Functions): Clarify the replacement
10102 directory definition.
10103 Reported by Andreas Schwab and Jim Meyering.
10105 2002-09-06 Akim Demaille <akim@epita.fr>
10107 * doc/autoconf.texi (Setting Output Variables): Clarify what
10108 precious variables are.
10109 Suggested by Pontus Skoeld.
10111 2002-09-05 Akim Demaille <akim@epita.fr>
10113 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
10114 (ifnames, autoscan, autom4te): Since we don't only depend on
10115 configure.ac variables (such as VERSION etc.), but also on prefix
10116 and so forth, depend on Makefile, not configure.ac.
10117 Reported by Alexandre Duret-Lutz.
10118 * doc/autoconf.texi (Installation Directory Variables): Adjust.
10120 2002-09-05 Kevin Ryde <user42@zip.com.au>
10122 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
10123 doesn't seem to be confined to ia64, just say "some versions".
10125 2002-09-04 Akim Demaille <akim@epita.fr>
10127 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
10129 * Makefile.am (maintainer-clean-local): Remove.
10130 (MAINTAINERCLEANFILES): Remove COPYING.
10132 2002-09-03 Paul Eggert <eggert@twinsun.com>
10134 * doc/autoconf.texi (Configuration Commands): Remove obsolete
10135 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
10138 2002-09-03 Akim Demaille <akim@epita.fr>
10140 * configure.ac: Bump to 2.53d.
10141 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
10142 as of today, on Automake's team suggestion.
10144 2002-09-03 Akim Demaille <akim@epita.fr>
10148 2002-09-02 Akim Demaille <akim@epita.fr>
10150 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
10152 * configure.ac: Disable SITE_MACRO_DIR.
10154 2002-09-02 Jim Meyering <meyering@lucent.com>
10156 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
10157 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
10158 Also, tweak grammar: s/make sure to/be sure to/.
10160 2002-09-02 Paul Eggert <eggert@twinsun.com>
10162 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
10163 directory names are generally preferable to physical names.
10165 2002-09-02 Akim Demaille <akim@epita.fr>
10167 * lib/Autom4te/General.pm (&update_file): s/die/error/.
10168 Reported by Raja R. Harinath.
10169 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
10170 * bin/autoupdate.in: Use error instead of die.
10172 2002-09-01 Paul Eggert <eggert@twinsun.com>
10174 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
10175 ordinary shell concatenation rather than echo+tr+sed command that
10176 runs afoul of a long-line-related sed bug in Solaris 8.
10178 * bin/autoheader.in (parse_args): --warning -> --warnings.
10180 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
10181 stdout, as traditional "ls" does.
10182 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
10183 _AC_COMPILER_EXEEXT_O): Likewise.
10184 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
10186 * bin/autoconf.as: Add --prepend-include option. This patch was
10187 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
10188 but bin/autoconf.in is generated automatically from bin/autoconf.as.
10190 * bin/autoconf.in, configure: Regenerate.
10192 * doc/autoconf.texi (Special Shell Variables): Mention
10193 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
10195 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
10196 MAILPATH and set PS1, PS2, PS4 to default values, to work
10197 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
10198 For LC_ALL etc, first try to set to "C" as POSIX requires and as
10199 the Autoconf documentation specifies; fall back to "unset" only if
10200 this fails. Use a shell for-loop for this rather than an m4 loop,
10201 to shorten the output script.
10203 2002-08-30 Paul Eggert <eggert@twinsun.com>
10205 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
10206 1003.1-2001's requirements for CDPATH. Give a simpler workaround
10207 for the CDPATH problem. Document PWD.
10208 (Limitations of Builtins): Document the problem that "cd $foo" and
10209 "ls $foo" may refer to different directories in shells conforming
10210 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
10211 example, since the old example is now out of date.
10213 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
10214 FOO" and "ls FOO" talk about different directories; this catches
10215 problems when POSIX 1003.1-2001 "cd" fails due to symlink
10218 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
10219 of rolling our own unset.
10220 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
10221 in practice we needn't worry about CDPATH if unset doesn't work.
10223 * Makefile.in, aclocal.m4, bin/Makefile.in,
10224 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
10225 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
10226 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
10227 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
10228 tests/Makefile.in: Regenerate with Automake 1.6.3.
10230 * config/config.guess, config/config.sub, config/mkinstalldirs:
10233 * configure: Regenerate with self.
10235 2002-08-30 Kevin Ryde <user42@zip.com.au>
10237 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
10240 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10242 * bin/autom4te.in (Request::load): Correctly test for "do" read
10245 2002-08-29 Akim Demaille <akim@epita.fr>
10247 * lib/Autom4te/General.pm (&xqx): New.
10248 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
10249 hand, which is not portable.
10251 * bin/autom4te.in: Use them.
10252 Use &error instead of die.
10253 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
10256 2002-08-17 Paul Eggert <eggert@twinsun.com>
10258 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
10259 default list of compilers to try, since it was long ago superseded
10260 by the ksh fc builtin. Suggested by Steven G. Johnson.
10262 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
10264 * doc/autoconf.texi (Invoking autom4te): End the option table,
10265 fixing a bug introduced by the previous patch.
10266 (Limitations of Make): Add a 'target lookup' subentry in the
10267 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
10269 2002-07-29 Mark D. Roth <roth@feep.net>
10271 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
10272 options and use $AUTOM4TE_PATH.
10273 * doc/autoconf.texi: Remove documentation of autom4te
10274 --include-envvar and --site-macro-subdir options and document
10275 use of $AUTOM4TE_PATH.
10276 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
10277 arguments from each language section.
10279 2002-07-29 Paul Eggert <eggert@twinsun.com>
10281 * doc/install.texi: Include copyright symbol in copyright notice.
10283 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
10285 (AM_MAKEINFOFLAGS): New macro.
10286 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
10287 * Makefile.am (INSTALL): Use the new macros.
10288 Use -o rather than --output, since "missing" does not grok --output.
10290 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
10292 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
10293 comments do not always work. Never trust the exit status of
10296 2002-07-24 Kevin Ryde <user42@zip.com.au>
10298 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
10299 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
10301 2002-07-23 Paul Eggert <eggert@twinsun.com>
10303 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
10304 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
10305 apparently treats PATH="nonexistent" as if it contained ".".
10306 Bug reported by Stefan `Sec' Zehl.
10308 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
10310 * doc/autoconf.texi (Limitations of Make): Mention the special
10311 handling of the obj/ directory by BSD make.
10313 2002-07-20 Kevin Ryde <user42@zip.com.au>
10315 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
10318 2002-07-19 Akim Demaille <akim@epita.fr>
10320 * doc/autoconf.texi (Function Portability): `exit'.
10321 (Programming in M4sh): Ethymology of M4sh.
10323 2002-07-19 Akim Demaille <akim@epita.fr>
10325 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
10327 2002-07-18 Akim Demaille <akim@epita.fr>
10331 2002-07-18 Akim Demaille <akim@epita.fr>
10333 * config/config.guess, config/config.sub: Update.
10335 2002-07-18 Akim Demaille <akim@epita.fr>
10337 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
10340 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
10341 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
10342 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
10344 2002-07-18 Akim Demaille <akim@epita.fr>,
10345 Alexandre Duret-Lutz <duret_g@epita.fr>
10347 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
10348 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
10350 2002-07-17 Russ Allbery <rra@stanford.edu>
10352 * doc/autoconf.texi (Initializing configure): Clarify the
10353 description of the tarname default.
10355 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
10357 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
10358 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
10359 latter was not run.
10361 2002-07-17 Akim Demaille <akim@epita.fr>
10363 * lib/Autom4te/General.pm (find_file): Browse the directories in
10364 the order they are given.
10366 2002-07-17 Akim Demaille <akim@epita.fr>
10368 * tests/wrapsh.as, tests/wrappl.as: Merge into...
10369 * tests/wrapper.as: this.
10370 * tests/Makefile.am, configure.ac: Adjust.
10372 2002-07-17 Mark D. Roth <roth@feep.net>
10374 * configure.ac: Add --enable-site-macro-dir option.
10375 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
10376 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
10377 --site-macro-subdir options.
10378 * bin/autoconf.in: Add --prepend-include option.
10379 * bin/autoheader.in: Add --prepend-include option.
10380 * bin/autoreconf.in: Add --prepend-include option.
10381 * bin/autoscan.in: Add --prepend-include option.
10382 * bin/autoupdate.in: Add --prepend-include option.
10383 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
10384 macro directory, remove note that include path directories are
10385 used in reverse order, and document --prepend-include option.
10386 * lib/autom4te.in: Use --prepend-include instead of --include.
10387 * tests/wrapsh.in: Use --prepend-include instead of --include.
10389 2002-07-17 Akim Demaille <akim@epita.fr>
10391 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
10393 * doc/autoconf.texi (Initializing configure): Adjust.
10395 2002-07-17 Akim Demaille <akim@epita.fr>
10397 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
10398 (_AC_FUNC_MALLOC): New.
10399 (AC_FUNC_MALLOC): Use the latter.
10400 Define HAVE_MALLOC to 0 if broken.
10401 * doc/autoconf.texi (Particular Functions): Adjust.
10403 2002-07-16 Akim Demaille <akim@epita.fr>
10405 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
10406 * doc/autoconf.texi (C Compiler): Adjust.
10408 2002-07-09 Akim Demaille <akim@epita.fr>
10410 * doc/autoconf.texi: Properly set the ``header'' part.
10412 2002-07-09 Akim Demaille <akim@epita.fr>
10414 * doc/autoconf.texi (Systemology): Some about Darwin.
10416 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
10418 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
10419 Don't use AC_REQUIRE in AU_DEFUN.
10421 2002-07-09 Art Haas <ahaas@neosoft.com>
10423 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
10425 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
10427 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
10428 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
10429 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
10430 so that Emacs setups GNU style for perl-mode and cperl-mode.
10432 2002-06-27 Paul Eggert <eggert@twinsun.com>
10434 * config/install-sh: Quote $src. Prefer || to test's -o option,
10435 as per "Limitations of Builtins".
10436 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
10437 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
10439 * tests/mktests.sh: Use grep instead of fgrep, as per
10440 "Limitations of Builtins".
10442 2002-06-15 Paul Eggert <eggert@twinsun.com>
10444 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
10445 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
10446 so that we consistently test the just-built programs.
10447 * tests/wrappl.as: Likewise.
10449 2002-06-12 Paul Eggert <eggert@twinsun.com>
10451 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
10452 name, so that symlinks to 'autoconf' work properly. Bug reported
10454 * bin/autoheader.in (AUTOM4TE): Likewise.
10455 * bin/autoreconf.in (autoconf, autoheader): Likewise.
10456 * bin/autoscan.in (autom4te): Likewise.
10457 * bin/autoupdate.in (autom4te): Likewise.
10459 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
10460 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
10463 2002-06-11 Andreas Schwab <schwab@suse.de>
10465 * doc/autoconf.texi: Add more dir entries.
10467 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
10469 * bin/autom4te.in ($cache): Don't define using `$me', the name
10470 of the cache should not depend on the name under which autom4te
10473 2002-06-07 Akim Demaille <akim@epita.fr>
10475 * tests/tools.at (autoconf: forbidden tokens, basic)
10476 (autoconf: forbidden tokens, exceptions): Adjust to the change of
10477 words in autom4te.in.
10479 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
10481 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
10482 _AC_LANG_PROGRAM_C_F77_HOOKS.
10484 2002-06-07 Akim Demaille <akim@epita.fr>
10486 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
10488 (AC_REPLACE_FNMATCH): this.
10489 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
10490 AC_FUNC_FNMATCH_GNU.
10492 2002-06-07 Akim Demaille <akim@epita.fr>
10494 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
10495 Rosetta Stone for Unix.
10497 2002-06-07 Akim Demaille <akim@epita.fr>
10499 * bin/autom4te.in (warn_forbidden): When rejecting a token,
10500 suggest m4_pattern_allow.
10501 Suggested by Adam J. Richter.
10503 2002-06-07 Akim Demaille <akim@epita.fr>
10505 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
10506 ac_config_libobj_dir.
10507 (AC_CONFIG_LIBOBJ_DIR): New.
10508 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
10509 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
10510 Use ac_config_libobj_dir to find the replacement files.
10511 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
10512 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
10513 (AC_REPLACE_FNMATCH_GNU): these.
10514 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
10515 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
10516 * tests/mktests.sh (ac_exclude_list): Don't check
10517 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
10519 2002-06-06 Paul Eggert <eggert@twinsun.com>
10521 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
10522 if ln doesn't work.
10524 * doc/autoconf.texi (Configuration Links): Likewise.
10525 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
10527 2002-06-05 Paul Eggert <eggert@twinsun.com>
10529 * config/config.guess, config/config.sub, config/texinfo.tex:
10530 Update from masters.
10532 2002-05-29 Paul Eggert <eggert@twinsun.com>
10534 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
10535 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
10536 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
10538 * lib/autoconf/Makefile.am (check-local): Likewise.
10539 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
10540 * lib/autoconf/types.m4 (commentary only): Likewise.
10541 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
10542 * lib/autotest/Makefile.am (check-local): Likewise.
10543 * lib/m4sugar/Makefile.am (check-local): Likewise.
10544 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
10545 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
10547 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
10548 * doc/autoconf.texi (Particular Programs): Document them.
10549 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
10552 2002-05-27 Paul Eggert <eggert@twinsun.com>
10554 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
10555 * NEWS, doc/autoconf.texi (Particular Types): Document it.
10556 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
10557 instead of AC_MBSTATE_T, which never existed.
10559 2002-05-23 Akim Demaille <akim@epita.fr>
10561 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
10562 version of Autoconf that is discussed.
10564 2002-05-22 Paul Eggert <eggert@twinsun.com>
10566 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
10567 from the default list of compilers to try. Suggested by
10569 * NEWS: Document the above.
10570 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
10572 2002-05-17 Paul Eggert <eggert@twinsun.com>
10574 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
10575 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
10576 This improves on an earlier suggestion by H. Peter Anvin.
10578 2002-05-16 Paul Eggert <eggert@twinsun.com>
10580 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
10581 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
10582 Both macros now accept an optional source-dir arg.
10583 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
10585 * NEWS: Document this.
10586 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
10588 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
10589 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
10590 not for GNU extensions; this undoes part of the 2000-11-03 change,
10591 reverting to 2.13-compatible behavior.
10592 Add new optional argument DIR.
10593 (AC_FUNC_FNMATCH_GNU): New macro.
10595 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
10597 2002-05-08 Paul Eggert <eggert@twinsun.com>
10599 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
10600 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
10601 and it causes a 'test' syntax error if it fails.
10602 Bug reported by Stephen Gildea.
10604 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
10605 If prototypes are supported, use them to check this at compile-time,
10606 instead of trying to check it at run-time. If we must do a run-time
10607 check, assume that setvbuf is standard when cross-compiling, as
10608 nonstandard setvbuf occurs only on ancient and unlikely hosts.
10609 Bug reported by Paul D. Smith.
10611 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
10612 argument specifying location of getloadavg.c. This removes a
10613 FIXME. This idea was taken from Jim Meyering's implementation in
10615 * doc/autoconf.texi (Particular Functions): Document this.
10616 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
10617 that's what the code does; this fixes a bug reported by
10620 2002-05-03 Akim Demaille <akim@epita.fr>
10622 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
10623 autopoint instead of gettextize.
10624 ($uses_alocal): Rename as...
10625 ($uses_aclocal): this.
10626 * doc/autoconf.texi (autoreconf Invocation): Adjust.
10627 Suggested by Bruno Haible.
10629 2002-05-03 Akim Demaille <akim@epita.fr>
10631 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
10633 2002-04-29 Paul Eggert <eggert@twinsun.com>
10635 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
10636 files to be 1 second older; just set them to be the same time.
10637 Also, sleep 1 second after the first aclocal, to work around
10638 problems with sub-second time stamps on the input files.
10640 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
10642 * doc/autoconf.texi: Mention "set -e -x" lossage
10643 under node "Limitations of Builtins".
10645 2002-04-29 Akim Demaille <akim@epita.fr>
10647 * doc/install.texi: Better wording for setting variables when
10649 From Christian Cornelssen.
10651 2002-04-29 Akim Demaille <akim@epita.fr>
10653 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
10654 of lack of $LINENO support, then the test will compare the $LINENO
10655 in testsuite vs. the lineno in the test file. This is wrong, of
10657 Be sure to protect it.
10658 Reported by Patrick Welche.
10660 2002-04-25 Akim Demaille <akim@epita.fr>
10662 * doc/autoconf.texi (Obsolete Macros): Typo.
10663 Reported by Vladimir Volovich.
10665 2002-04-25 Akim Demaille <akim@epita.fr>
10667 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
10668 than some of the input files, hence, on the second run of aclocal,
10669 if some of its input are younger, make them older.
10670 Suggested by Paul Eggert.
10672 2002-04-25 Akim Demaille <akim@epita.fr>
10674 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
10675 Thanks to Paul Eggert.
10677 2002-04-25 Akim Demaille <akim@epita.fr>
10679 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
10680 and ac_subst_vars be sh variables containing the list of
10681 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
10683 (_AC_INIT_PREPARE): Use them to log them.
10684 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
10685 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
10686 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
10687 _AC_SUBST_FILES and _AC_SUBST_VARS.
10688 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
10690 2002-04-24 Akim Demaille <akim@epita.fr>
10692 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
10693 autoheader, so that automake does not complain about a missing
10694 config.h.in that was to be created.
10696 2002-04-23 Akim Demaille <akim@epita.fr>
10698 * bin/autoheader.in (parse_args): --warning takes an argument.
10701 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
10703 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
10704 and bb.out when cleaning up.
10706 2002-04-22 Akim Demaille <akim@epita.fr>
10710 2002-04-22 Akim Demaille <akim@epita.fr>
10712 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
10714 2002-04-22 Akim Demaille <akim@epita.fr>
10716 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
10718 Reported by Gregory Giannoni.
10720 2002-04-22 Akim Demaille <akim@epita.fr>
10722 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
10723 Fixes false failures on Darwin.
10725 2002-04-21 Paul Eggert <eggert@twinsun.com>
10727 * TODO, bin/autoupdate.in, doc/autoconf.texi,
10728 lib/autoconf/general.m4, lib/autoconf/libs.m4,
10729 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
10730 tests/tools.at: Minor spelling and grammar fixes.
10732 2002-04-20 Paul Eggert <eggert@twinsun.com>
10734 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
10735 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
10736 * lib/autotest/general.m4 (AT_INIT): Likewise.
10737 * tests/atgeneral.m4 (AT_INIT): Likewise.
10739 2002-04-19 Paul Eggert <eggert@twinsun.com>
10741 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
10742 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
10743 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
10744 lib/autoconf/functions.m4, lib/autoconf/general.m4,
10745 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
10746 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
10747 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
10748 Minor spelling and grammar fixes.
10750 * doc/autoconf.texi: Follow the outline suggested in the GNU
10751 Sample Texts sections of the Texinfo 4.2 manual. Most
10752 importantly, this makes sure that the copyright notices appear in
10753 all output formats. You probably need Texinfo 4.2 to generate
10756 Fix some bugs when using "$@" when there might be zero positional
10757 arguments in cases where this matters.
10759 * bin/autoconf.as: Rewrite so that the problem does not come up.
10760 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
10761 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
10762 * lib/autotest/general.m4 (AT_INIT): Likewise.
10764 * bin/autoheader.in: Use 'case' statement to work around problem.
10765 * bin/auto4mte.in: Likewise.
10766 * bin/autoreconf.in: Likewise.
10767 * bin/autoscan.in: Likewise.
10768 * bin/autoupdate.in: Likewise.
10769 * bin/ifnames.in: Likewise.
10771 * doc/autoconf.texi (Shell Substitutions): Document the problem.
10773 * lib/autotest/general.m4 (AT_INIT):
10774 Use Zsh alias to work around problem.
10775 * tests/atgeneral.m4 (AT_INIT): Likewise.
10777 * tests/c.at: We can't have zero arguments, so remove workaround
10778 that is not portable to Zsh.
10780 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
10782 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
10783 from aclocal.m4 too.
10785 2002-04-12 Akim Demaille <akim@epita.fr>
10787 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
10789 2002-04-10 Akim Demaille <akim@epita.fr>
10791 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
10792 workaround for ${1+"$@"}.
10793 * doc/autoconf.texi (Shell Substitutions): Explain it.
10794 From Oliver Kiddle and Peter Stephenson.
10796 Have M4sh perform minimal shell sanitizing.
10798 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
10800 (_AS_PREPARE): this new macro.
10802 (AS_INIT): Invoke AS_SHELL_SANITIZE.
10803 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
10805 Adjust Autoconf and Autotest.
10807 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
10808 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
10809 * lib/autotest/general.m4 (AT_INIT): Likewise.
10810 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
10811 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
10814 Use this M4sh to generate Autoconf's shell scripts.
10816 * tests/wrapsh.as: New, precursor of wrapsh.in.
10817 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
10818 on Autotest and M4sh.
10819 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
10820 (wrapsh.in): New target.
10821 * bin/autoconf.as: New, precursor of autoconf.in.
10822 (autoconf.in): New target.
10824 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
10826 * doc/autoconf.texi (Limitations of Make): Mention the issue
10827 with indented comments in rules.
10829 2002-04-09 Andreas Schwab <schwab@suse.de>
10831 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
10832 ac_top_builddir when setting ac_abs_top_builddir.
10834 2002-04-06 Kevin Ryde <user42@zip.com.au>
10836 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
10837 (Portable Shell): Cross reference to Systemology.
10839 2002-04-05 Akim Demaille <akim@epita.fr>
10841 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
10842 directories when descending in a SUBDIRS.
10843 Reported by Ezra Peisach.
10845 2002-04-04 Andreas Schwab <schwab@suse.de>
10847 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
10848 contains no literal separators.
10850 2002-04-03 Akim Demaille <akim@epita.fr>
10852 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
10853 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
10854 Use dnl, not the KILL diversion.
10856 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
10857 (AC_CONFIG_LINKS): here.
10859 Don't use the KILL diversion, as it kills spurious output, which
10860 results in failures being hidden.
10861 Use m4_defn where appropriate.
10862 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
10863 after the second argument.
10865 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
10866 syntax, as it is provided by M4sugar.
10867 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
10869 2002-04-03 Andreas Schwab <schwab@suse.de>
10871 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
10872 expanded if $# <= 2.
10874 * bin/autoreconf.in (autoreconf): Run automake after rerunning
10877 2002-04-03 Akim Demaille <akim@epita.fr>
10879 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
10880 (_AC_COMPILER_EXEEXT_REJECT): New.
10881 Also recognize *.bb and *.bbg as compilation byproducts.
10882 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
10883 (_AC_COMPILER_OBJEXT): Use them.
10884 Fixes Debian #138666.
10886 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
10888 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
10890 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
10891 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
10892 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
10893 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
10894 (AC_C_CONST): Same.
10895 (AC_C_INLINE): Same.
10896 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
10897 * doc/autoconf.texi, NEWS: Document.
10898 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
10901 2002-04-02 Akim Demaille <akim@epita.fr>
10903 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
10904 _AS_MKDIR_P_PREPARE.
10906 2002-03-28 Kevin Ryde <user42@zip.com.au>
10908 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
10909 to avoid versions of HP C which don't allow that.
10911 2002-03-27 Paul Eggert <eggert@twinsun.com>
10913 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
10914 (AS_SHELL_SANITIZE): Invoke it.
10915 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
10917 2002-03-26 Akim Demaille <akim@epita.fr>
10919 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
10921 2002-03-26 Akim Demaille <akim@epita.fr>
10923 * doc/autoconf.texi (Introduction): The GNATS base moved.
10925 2002-03-25 Paul Eggert <eggert@twinsun.com>
10927 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
10928 as POSIX requires, as it doesn't work with Zsh.
10929 * doc/autoconf.texi (Assignments): Document the problem.
10931 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
10933 * doc/autoconf.texi (Limitations of Make): Mention more issue
10934 about VPATH, overriding of macros in sub-makes, and handling of
10937 2002-03-21 Paul Eggert <eggert@twinsun.com>
10939 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
10940 problem with here-document buffer boundaries.
10942 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
10943 when reinvoking the shell, to work around problems with installers
10944 who put strange things like "cd" commands in their environments.
10946 2002-03-19 Akim Demaille <akim@epita.fr>
10948 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
10951 2002-03-19 Akim Demaille <akim@epita.fr>
10953 * bin/autoscan.in (scan_file): Specify the location in `&used'
10957 2002-03-19 Akim Demaille <akim@epita.fr>
10959 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
10960 From Nishio Futoshi.
10962 2002-03-19 Akim Demaille <akim@epita.fr>
10964 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
10966 2002-03-18 Paul Eggert <eggert@twinsun.com>
10968 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
10969 (Limitations of Usual Tools): Add mkdir section.
10971 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
10972 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
10973 back on AS_DIRNAME to compute prefixes otherwise; this is
10974 roughly what mkinstalldirs does. That way, we need not have
10975 our own filename disassembler. The old disassembler did not
10976 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
10978 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
10979 Create at_test_all by a series of assignments,
10980 not by a single assignment of a long string. The latter causes ksh
10981 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
10982 presumably because of a buffer overrun.
10984 2002-03-14 Paul Eggert <eggert@twinsun.com>
10986 * lib/autotest/general.m4 (at_times_skip):
10987 Renamed from at_times. Now a boolean.
10988 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
10989 says 'times: not found'.
10991 2002-03-14 Akim Demaille <akim@epita.fr>
10993 * bin/autoreconf.in (&study_gettextize): New.
10994 (&autoreconf): Handle newest gettextize.
10995 Rerun aclocal if needed.
10996 Suggested by Andreas Schwab.
10998 2002-03-13 Akim Demaille <akim@epita.fr>
11000 * doc/autoconf.texi (Special Shell Variables): More about IFS.
11002 2002-03-13 Akim Demaille <akim@epita.fr>
11004 * doc/autoconf.texi (Header Portability): New.
11005 Add information about stdint.h and inttypes.h from Paul Eggert.
11007 2002-03-13 Akim Demaille <akim@epita.fr>
11009 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
11013 2002-03-12 Akim Demaille <akim@epita.fr>
11015 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
11018 2002-03-11 Andreas Schwab <schwab@suse.de>
11020 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
11021 does not do it if --with-lispdir is given.
11023 2002-03-08 Akim Demaille <akim@epita.fr>
11027 2002-03-08 Akim Demaille <akim@epita.fr>
11029 * doc/autoconf.texi (Subdirectories): Clarify that the
11030 subdirectory should exist.
11032 2002-03-08 Akim Demaille <akim@epita.fr>
11034 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
11036 2002-03-08 Akim Demaille <akim@epita.fr>
11038 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
11039 aliases the actual variables, and modifications of the former
11042 2002-03-08 Akim Demaille <akim@epita.fr>
11044 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
11045 because of C-c: have m4 output in tmp files, then mv them.
11047 2002-03-08 Akim Demaille <akim@epita.fr>
11049 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
11050 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
11051 * bin/ifnames.in: Copyright update.
11053 2002-03-08 Akim Demaille <akim@epita.fr>
11055 * doc/autoconf.texi (Invoking autom4te): New.
11057 2002-03-05 Akim Demaille <akim@epita.fr>
11059 * doc/autoconf.texi (Specifying Names): Clarification suggested by
11062 2002-03-05 Akim Demaille <akim@epita.fr>
11066 2002-03-04 Akim Demaille <akim@epita.fr>
11068 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
11069 * lib/autoconf/general.m4 (AC_INIT): More informative error
11070 message for LIBOBJ.
11072 2002-03-04 Akim Demaille <akim@epita.fr>
11074 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
11077 2002-03-04 Akim Demaille <akim@epita.fr>
11079 * doc/autoconf.texi (Transforming Names): Equality between target
11080 and host is irrelevant.
11081 (Specifying Names, Canonicalizing): Remove all references to the
11082 backward compatibility hooks. Rather, collect them all into...
11083 (Hosts and Cross-Compilation): this new section.
11084 * doc/install.texi (System Type): Ditto.
11085 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
11086 that `--host' implies cross-compilation.
11088 2002-03-04 Akim Demaille <akim@epita.fr>
11090 * doc/autoconf.texi (Evaluation Macros): New.
11091 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
11093 (_m4_foreach): Define the variant with immediate evaluation so
11094 that it contains exactly the items, not an expression which
11095 evaluation is the current item.
11096 (m4_re_string, m4_re_word): Don't over quote them.
11098 2002-03-04 Akim Demaille <akim@epita.fr>
11100 Instead of having stacking `shift's evaluated at the end, let
11101 `foreach' loops immediately evaluate them.
11103 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
11104 $*. This is the n-th time I change my mind, but hopefully this is
11107 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
11109 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
11110 it was only a hack for m4_text_wrap.
11111 (m4_car2): Remove, replaced by...
11113 (_m4_foreach): Adjust.
11114 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
11115 m4_bpatsubst for clarification.
11117 2002-03-04 Akim Demaille <akim@epita.fr>
11119 * doc/autoconf.texi (Changequote is Evil): New.
11121 2002-03-03 Kevin Ryde <user42@zip.com.au>
11123 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
11124 on old systems like SunOS.
11126 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
11128 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11129 lib/autoconf/functions.m4, lib/autoconf/general.m4,
11130 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
11131 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
11134 2002-02-28 Akim Demaille <akim@epita.fr>
11136 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
11137 message to be sent.
11139 2002-02-28 Kevin Ryde <user42@zip.com.au>
11141 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
11143 2002-02-25 Akim Demaille <akim@epita.fr>
11145 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
11146 From Akinori Musha.
11148 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
11150 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
11151 translate \r\n to \n.
11153 2002-02-07 Akim Demaille <akim@epita.fr>
11157 2002-02-07 Akim Demaille <akim@epita.fr>
11159 Fix Autoconf PR/209.
11160 Also reported by Frank Denis.
11162 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
11164 2002-02-07 Akim Demaille <akim@epita.fr>
11166 Fix Autoconf PR/207:
11167 AC_PREFIX_PROGRAM fails with dashed program names
11169 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
11170 variable when looking for the prefix program.
11171 Now it also works for shell variables.
11173 2002-02-07 Akim Demaille <akim@epita.fr>
11175 * doc/autoconf.texi (Limitations of Builtins): More about
11178 2002-02-06 Akim Demaille <akim@epita.fr>
11180 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
11181 case/esac, some shells don't support it.
11182 Reported by Zack Weinberg.
11183 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
11185 2002-02-06 Akim Demaille <akim@epita.fr>
11187 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
11188 sure not to introduce newlines in at_groups.
11189 * lib/autotest/Makefile.am (autotest.m4f): Typo.
11191 2002-02-06 Akim Demaille <akim@epita.fr>
11193 * tests/torture.at (Configuring subdirectories): Skip if aclocal
11196 2002-02-05 Paul Eggert <eggert@twinsun.com>
11198 * doc/autoconf.texi (Specific Compiler Characteristics):
11199 Describe HP-UX cc bug workaround more accurately.
11200 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
11202 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
11203 cross-compilers, too. This undoes some of the most recent change
11206 2002-02-05 Akim Demaille <akim@epita.fr>
11208 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
11209 to make sure they are up to date when `check' is run.
11211 2002-02-05 Akim Demaille <akim@epita.fr>
11213 * doc/autoconf.texi (Making testsuite Scripts): Document
11216 2002-02-05 Akim Demaille <akim@epita.fr>
11218 * lib/freeze.mk: New.
11220 2002-02-05 Akim Demaille <akim@epita.fr>
11222 Implement `autom4te --freeze'.
11224 * bin/autom4te.in (&freeze): New.
11225 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
11226 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
11228 2002-02-05 Akim Demaille <akim@epita.fr>
11230 * bin/autom4te.in (&parse_args): Implement `frozen files are
11231 optional are the sum of the previous files on the command line'.
11232 Also, pass `--reload-state=' on them, so...
11233 (handle_m4): don't.
11234 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
11235 (M4sh): Rely on M4sugar.
11236 (Autotest, M4sh, M4sugar): Use frozen files.
11238 2002-01-31 Akim Demaille <akim@epita.fr>
11240 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
11241 * doc/autoconf.texi (Initializing configure): Adjust.
11243 2002-01-30 Akim Demaille <akim@epita.fr>
11245 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
11246 alphanumeric to `-' instead of `_'.
11248 2002-01-30 Akim Demaille <akim@epita.fr>
11250 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
11251 for plain code, the other for cross-compilation code. The latter
11252 is now run with GCC only.
11253 * doc/autoconf.texi (Compilers and Preprocessors): New.
11255 2002-01-30 Akim Demaille <akim@epita.fr>
11257 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
11259 * doc/autoconf.texi (Initializing configure): Explain how to
11260 change AC_INIT default values.
11262 2002-01-29 Akim Demaille <akim@epita.fr>
11264 * tests/torture.at (Configuring subdirectories): Use configure.in,
11265 so that aclocal 1.4 works.
11266 Reported by Alexandre Duret-Lutz and Larry Schmitt.
11268 2002-01-28 Akim Demaille <akim@epita.fr>
11270 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
11273 2002-01-28 Akim Demaille <akim@epita.fr>
11275 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
11276 AUTOTEST_PATH *after* it was set.
11277 Don't put `.' in the PATH: the user should be precise and `./' if
11278 needed. In addition, given that the test suite does some `cd', if
11279 `.' is in the path, the `tested programs' sections will report
11280 programs found in the test suite's directory, while during the
11281 tests (performed in their own directory), these programs are no
11282 longer visible. In other words, the results is confusing and
11284 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
11286 2002-01-24 Akim Demaille <akim@epita.fr>
11290 2002-01-24 Akim Demaille <akim@epita.fr>
11292 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
11293 * doc/autoconf.texi: Finally add Akim as an author.
11295 2002-01-24 Akim Demaille <akim@epita.fr>
11297 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
11298 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
11299 Bourne. Use /bin/sh.
11300 From Andreas Buening.
11302 2002-01-24 Akim Demaille <akim@epita.fr>
11304 * config/config.guess, config/config.sub, config/texinfo.tex:
11305 Update from masters.
11307 2002-01-24 Akim Demaille <akim@epita.fr>
11309 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
11310 * config/auxdir.m4, config/cond.m4, config/depend.m4,
11311 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
11312 * config/missing.m4, config/sanity.m4, config/select.m4,
11313 * config/strip.m4: Remove, to ease sync'ing with any version of
11316 2002-01-24 Akim Demaille <akim@epita.fr>
11318 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
11319 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
11320 Reported by Geir Ove Myhr.
11322 2002-01-21 Akim Demaille <akim@epita.fr>
11324 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
11326 2002-01-21 Akim Demaille <akim@epita.fr>
11328 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
11329 message on invalid options.
11330 * bin/autom4te.in (parse_args): Don't use
11331 Autoconf::General::getopt with non valid options.
11333 2002-01-17 Jim Meyering <meyering@lucent.com>
11335 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
11336 $ac_cv_exeext so we don't use an old, invalid, cached value.
11338 2002-01-11 Akim Demaille <akim@epita.fr>
11340 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
11342 * doc/autoconf.texi (Function Portability): Document the strnlen
11344 (Particular Functions): Document AC_FUNC_STRNLEN.
11345 * lib/autoscan/functions: Adjust.
11347 2002-01-06 Akim Demaille <akim@epita.fr>
11349 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
11350 package.m4, since is really depends upon configure.ac, not
11352 * doc/autoconf.texi (testsuite Scripts): Adjust.
11353 * tests/Makefile.am (package.m4): New.
11354 EXTRA_DIST it since its a source.
11356 2002-01-06 Akim Demaille <akim@epita.fr>
11358 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
11359 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
11360 and PACKAGE_BUGREPORT from here...
11361 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
11363 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
11364 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
11365 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
11366 * tests/tools.at (autoheader): Adjust.
11367 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
11369 2002-01-06 Akim Demaille <akim@epita.fr>
11371 * bin/autoscan.in (scan_file): Use `&used'.
11373 2002-01-03 Akim Demaille <akim@epita.fr>
11375 * doc/autoconf.texi (Output): Improved wording regarding use of
11379 2001-12-18 Kevin Ryde <user42@zip.com.au>
11381 * doc/autoconf.texi (Function Portability): Add notes on sscanf
11382 sometimes needing writable input.
11384 2001-12-17 Jim Meyering <meyering@lucent.com>
11386 * doc/autoconf.texi (New Macros): Tweak wording.
11388 2001-12-14 Akim Demaille <akim@epita.fr>
11390 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
11391 trailing files, don't apply `-rf' to files which might not be
11392 created by configure (core, core.*, and *.core), but just `rm -f'.
11393 Suggested by Jonathan Kamens.
11395 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
11397 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
11399 2001-12-14 Akim Demaille <akim@epita.fr>
11401 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
11403 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
11405 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
11406 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
11407 abs_srcdir, top_srcpath to abs_top_srcdir.
11408 (_AC_OUTPUT_FILES): Adjust.
11409 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
11410 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
11411 * tests/wrappl.in, tests/wrapsh.in: Adjust.
11413 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
11415 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
11416 C/Fortran linking on HP/UX, by extracting the Fortran library
11417 search path from the LPATH line in the $F77 -v output.
11419 2001-12-12 Kevin Ryde <user42@zip.com.au>
11421 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
11422 forbidden file descriptors table.
11424 2001-11-26 Akim Demaille <akim@epita.fr>
11426 * bin/autoscan.in (%c_keywords): Build it at top level.
11427 Map to 1 in order to simplify its uses.
11429 2001-11-26 Akim Demaille <akim@epita.fr>
11431 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
11432 Remove $filepath, useless.
11433 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
11434 variables, they are really part of the tokens.
11435 Split the input line on spaces and then look for tokens.
11436 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
11437 because of `lex$U.$(OBJEXT)'.
11438 (&scan_files): Use "@list" instead of join.
11439 * doc/Makefile.am (CLEANFILES): Add *.fns.
11441 2001-11-26 Akim Demaille <akim@epita.fr>
11443 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
11444 Remove, replaced by...
11445 * tests/wrappl.in: Be common for all the Perl executables.
11446 In particular autoscan and autoheader want -I.
11447 * configure.ac: Adjust.
11448 * lib/autoscan/headers: errno.h is portable.
11450 2001-11-26 Akim Demaille <akim@epita.fr>
11452 * bin/autoscan.in (used): New.
11455 2001-11-26 Akim Demaille <akim@epita.fr>
11457 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
11459 (&scan_sh_file): Remove a duplicate pattern.
11460 (&check_configure_ac): Use long options.
11461 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
11463 2001-11-26 Akim Demaille <akim@epita.fr>
11465 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
11466 Before, having a line containing the opening of a multi line
11467 comment made the whole line be ignored.
11469 2001-11-26 Akim Demaille <akim@epita.fr>
11471 * doc/autoconf.texi (Using an Autotest Test Suite): New.
11472 (testsuite Scripts): Be one of its subsection.
11473 (Autotest Logs): New.
11475 2001-11-26 Akim Demaille <akim@epita.fr>
11477 Test groups are now run two directories deeper.
11479 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
11480 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
11482 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
11483 top_srcdir, builddir and top_builddir.
11484 Use `at_*dir' relatively to the directory containing the
11485 suite, use `*dir' when relatively to the current group dir.
11487 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
11489 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
11490 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
11491 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
11494 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
11496 * doc/autoconf.texi (Using System Type): Add an example of `case
11497 $host' usage so people quit using `case $target' everywhere.
11499 2001-11-22 Akim Demaille <akim@epita.fr>
11501 * doc/autoconf.texi (Installation Directory Variables): Englishoes
11502 spotted by Jim Meyering.
11504 2001-11-16 Paul Eggert <eggert@twinsun.com>
11506 This patch implements a `long double' suggestion by Oliver Kiddle.
11508 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
11509 static, to catch errors if the value isn't known at compile-time
11510 and the compiler supports dynamic arrays. Change its name from
11511 `_array_' to `test_array' to avoid potential name clashes.
11512 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
11513 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
11514 better than double. Catch a bug in GCC 2.95.2 x86.
11515 * doc/autoconf.texi (C Compiler): Document the above.
11518 2001-11-13 Akim Demaille <akim@epita.fr>
11520 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
11522 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
11524 2001-11-13 Akim Demaille <akim@epita.fr>
11526 * lib/autotest/general.m4 (AT_INIT): After having run the test
11527 group, go back to the initial directory, not to at_suite_dir.
11529 2001-11-13 Akim Demaille <akim@epita.fr>
11531 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
11532 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
11533 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
11535 (AT_CHECK_CONFIGURE): Use absolute paths.
11536 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
11537 The problem is still the old one: there is no means in M4 (that I
11538 know about) to create a defining macro, because there is no means
11539 to create `$1' etc., therefore, the defining macro ``swallows''
11540 all the arguments meant to the defined macro.
11542 2001-11-13 Akim Demaille <akim@epita.fr>
11544 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
11545 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
11547 * tests/aclocal.m4: Remove, as it is no longer used.
11549 2001-11-13 Akim Demaille <akim@epita.fr>
11551 * lib/autotest/general.m4: Change `tests?' into `groups?' in
11552 variable names when referring to a single test group, or to
11553 `suite' when referring to the whole test suite.
11554 `at_last_test' is removed: m4 compute at_format itself.
11555 (at_stdout, at_stder1, at_stderr): New variables.
11556 (AT_CHECK): Use them.
11558 2001-11-13 Akim Demaille <akim@epita.fr>
11560 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
11562 Create `testsuite.dir/003/run' instead of `testsuite.003'.
11563 Do it as soon as a test fails, don't wait till the end of the test
11565 Don't remove $as_me.[0-9]*, since these files no longer exist.
11567 2001-11-13 Akim Demaille <akim@epita.fr>
11569 * tests/tools.at: Use absolute paths, since we are no longer run
11572 2001-11-13 Akim Demaille <akim@epita.fr>
11574 Now that tests are running in their own private dir, there is no
11575 need to list the files to remove at the end of tests groups.
11577 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
11578 (AT_data_files, at_data_files): Remove.
11579 (AT_CLEANUP, AT_DATA): Simplify.
11581 Remove the group dir if !debug && !failed.
11582 * tests/atspecific.m4: Adjust.
11584 2001-11-13 Akim Demaille <akim@epita.fr>
11586 Start a new layout for Autotest: `testsuite' creates
11587 `testsuite.dir' in which the at-check-line etc. files are to be
11588 found, and `testsuite.dir/003' where the test group 3 is run.
11590 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
11591 at_check_line_file, at_format, at_test_normalized, at_group_dir
11593 Create the directories.
11594 Use absolute paths for at- files.
11595 (AT_CHECK): Adjust.
11597 2001-11-11 Michael Matz <matz@kde.org>
11599 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
11601 (m4_car): Properly quote arguments.
11603 2001-11-13 Akim Demaille <akim@epita.fr>
11605 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
11606 with stricter rules on LIBOBJS.
11608 2001-11-12 Paul Eggert <eggert@twinsun.com>
11610 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
11611 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
11614 2001-11-12 Akim Demaille <akim@epita.fr>
11616 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
11618 2001-11-12 Akim Demaille <akim@epita.fr>
11620 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
11621 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
11622 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
11623 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
11624 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
11625 specify to what the macro should be defined (typically to 1).
11627 2001-11-12 Akim Demaille <akim@epita.fr>
11629 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
11632 2001-11-12 Akim Demaille <akim@epita.fr>
11634 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
11635 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
11636 definition used by Automake where LEX is +/- "${missing} lex" and
11637 `missing' itself contains variables.
11639 2001-11-12 Akim Demaille <akim@epita.fr>
11641 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
11642 Now that M4sh pushes BODY, the comments were output at the end of
11645 2001-11-08 Akim Demaille <akim@epita.fr>
11647 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
11648 that we can trace macros from aclocal.m4.
11649 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
11650 obsoleted, and redirect to the former anyway.
11651 Reported by Ralf Corsepius.
11653 2001-11-08 Akim Demaille <akim@epita.fr>
11655 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
11656 processed only if present.
11657 * tests/torture.at (Configuring subdirectories): Use autoreconf
11658 instead of successive calls to autoconf.
11659 Add a nonexistent subdirectory to exercise the patch above.
11660 Reported by Ralf Corsepius.
11662 2001-11-08 Kevin Ryde <user42@zip.com.au>
11664 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
11665 doesn't accept .S files.
11667 2001-11-07 Akim Demaille <akim@epita.fr>
11669 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
11670 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
11671 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
11672 * bin/autom4te.in (warn_forbidden): New.
11673 (handle_output): Use it.
11674 Read m4_pattern_forbid with messages.
11676 2001-11-05 Akim Demaille <akim@epita.fr>
11678 * bin/autom4te.in (--normalize): Remove.
11679 * lib/autom4te.in: Adjust.
11681 2001-11-05 Akim Demaille <akim@epita.fr>
11683 * tests/Makefile.am (testsuite): Rename this target as...
11684 ($(TESTSUITE)): this.
11687 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
11689 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
11690 the --prefix option, also remove it's argument.
11692 2001-11-05 Akim Demaille <akim@epita.fr>
11694 * doc/autoconf.texi (testsuite Invocation): Update.
11695 (Writing testsuite.at): Update.
11697 2001-11-03 Akim Demaille <akim@epita.fr>
11699 * doc/autoconf.texi: s/@code/@command/ where appropriate.
11701 2001-11-03 Akim Demaille <akim@epita.fr>
11703 * lib/Autom4te/General.pm: (&catfile, &canonfile)
11704 (&file_name_is_absolute): New, wrappers around routines from
11706 Use and export them.
11707 (&find_configure_ac): Optionally take a directory where to look at.
11708 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
11710 Default @ARGV to `.', not find_configure_ac.
11711 (&autoreconf): Argument is a directory.
11712 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
11713 * doc/autoconf.texi (autoreconf Invocation): Update.
11715 2001-11-03 Akim Demaille <akim@epita.fr>
11717 * lib/Autom4te/General.pm (@export_vars, @export_subs)
11718 (@export_forward_subs): New.
11719 Add basename, dirname, and fileparse.
11721 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
11722 Don't look for aclocal flags if we already know aclocal is not
11724 Move aclocal.m4t only if it exists.
11725 Reported by Ezra Peisach.
11727 2001-11-03 Akim Demaille <akim@epita.fr>
11729 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
11730 passed on command line, defaulting to ./configure.ac if present.
11731 (&maybe_autoreconf, File::Find): Remove, unused.
11732 (&autoreconf): If autoconf is not used, don't try to trace.
11734 2001-11-02 Akim Demaille <akim@epita.fr>
11736 * configure.ac: Bump to 2.52g.
11738 2001-11-02 Akim Demaille <akim@epita.fr>
11742 2001-11-02 Akim Demaille <akim@epita.fr>
11744 * config/config.guess, config/config.sub, doc/standards.texi:
11745 * config/lispdir.m4: Update from masters.
11746 * configure.ac: Bump to 2.52f.
11748 2001-11-02 Akim Demaille <akim@epita.fr>
11750 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
11751 Don't run aclocal when aclocal.m4 is not from aclocal.
11753 Don't run libtoolize and gettextize if --install is not given.
11755 2001-11-01 Paul Eggert <eggert@twinsun.com>
11757 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
11758 be invoked before _AS_LINENO_PREPARE.
11759 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
11760 than character ranges.
11762 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
11763 invoking AS_BASENAME. Set the locale variables to 'C' if
11764 possible, as POSIX requires this to get the traditional
11766 * doc/autoconf.texi (Special Shell Variables): Describe the above.
11768 2001-10-31 Paul Eggert <eggert@twinsun.com>
11770 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
11771 with {}, as that triggers a bug in Bash 2.05.
11773 (_AS_LINENO_PREPARE): Use Sed rather than
11774 Awk. Fix the sed prepass to work even if there are multiple
11775 instances of $LINENO on the same line. Do not substitute for
11776 other variables like $LINENOT. Do not check file dates; such a
11777 check is unreliable on sufficiently fast machines, and removing
11778 the check makes the code simpler and more reliable. Check for
11779 output and chmod failures.
11781 * doc/autoconf.texi (Special Shell Variables): Document
11784 2001-10-31 Akim Demaille <akim@epita.fr>
11786 * tests/Makefile.am (atconfig): Remove this target, Automake
11789 2001-10-31 Akim Demaille <akim@epita.fr>
11791 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
11792 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
11793 provided, while it is optional.
11794 * configure.ac: Adjust.
11796 2001-10-26 Paul Eggert <eggert@twinsun.com>
11798 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
11799 lib/Autom4te/Struct.pm:
11800 Require Perl 5.005_03 instead of just 5.005, as some tests fail
11803 * doc/autoconf.texi (Special Shell Variables): Document some
11804 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
11806 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
11807 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
11808 eval $LINENO is not portable in practice.
11810 2001-10-24 Akim Demaille <akim@epita.fr>
11812 * lib/Autom4te/General.pm (backname): New.
11814 2001-10-24 Akim Demaille <akim@epita.fr>
11816 * m4/: Remove, merged into...
11819 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
11821 * doc/autoconf.texi (Shellology): Mention the problems with bash
11822 2.05's use of ANSI quoting in its `set' builtin.
11824 2001-10-22 Paul Eggert <eggert@twinsun.com>
11826 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
11827 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
11828 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
11829 POSIX decided to standardize on the int flavor of strerror_r.
11830 Always do char* test, as there's no reason not to.
11831 Assign to a char* var, to catch strerror_r that returns int*.
11833 * doc/autoconf.texi (Particular Functions):
11834 Document the above changes. Also, document the fact that
11835 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
11837 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
11839 2001-10-20 Akim Demaille <akim@epita.fr>
11841 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
11842 the executable was missing from the log.
11844 2001-10-20 Akim Demaille <akim@epita.fr>
11846 * lib/Autom4te/General.pm (&update_file): If destination is
11847 unchanged, remove the source.
11848 (&up_to_date_p): Don't be verbose, be debug.
11849 * bin/autoreconf.in: No longer support --m4dir.
11850 (&autoreconf): Display the full path of the configure.ac we are
11852 Trace it only once.
11853 Be sure to honor --force with gettextize.
11854 Always run aclocal.
11855 * doc/autoconf.texi: Adjust.
11857 2001-10-20 Akim Demaille <akim@epita.fr>
11859 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
11861 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
11862 `intl' is already present, as it refuses unless --force.
11863 (&parse_args): Use -I, --include instead of the old Autoconf
11865 ($localdir, $autoconf_dir): Remove.
11867 (&maybe_autoreconf): New, to preserve $_ for File::Find.
11869 2001-10-19 Jens Petersen <petersen@redhat.com>
11871 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
11872 * doc/autoconf.texi (Particular Programs): Likewise.
11874 2001-10-19 Akim Demaille <akim@epita.fr>
11876 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
11877 file in @configure_input@.
11878 Don't mention `automatically' in addition to `generated'.
11879 * tests/torture.at (#define header templates): Adjust.
11881 2001-10-19 Akim Demaille <akim@epita.fr>
11883 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
11884 comment, explain how to install automatic mode selection.
11887 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
11889 * bin/autoreconf.in (autoreconf): Display the path to the
11890 configure.ac being studied.
11892 2001-10-18 Paul Eggert <eggert@twinsun.com>
11894 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
11895 long, to work around a bug in the HP C compiler version HP92453-01
11898 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
11899 (AS_BASENAME_EXPR): New macro.
11900 (AS_BASENAME_SED): Do not assume GNU sed semantics.
11901 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
11902 and fall back on 'sed' only if the other two fail. This makes
11903 AS_BASENAME act more like AS_DIRNAME.
11904 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
11905 contains white space.
11906 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
11907 Use AS_DIRNAME, since I think it's now DOS-friendly.
11908 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
11909 Allow "dirname //FOO" to return either / or //, as POSIX allows
11912 2001-10-10 Akim Demaille <akim@epita.fr>
11914 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
11915 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
11918 2001-10-10 Akim Demaille <akim@epita.fr>
11920 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
11921 m4_define, since...
11922 (_AS_ECHO_N): AS_REQUIREs it.
11924 2001-10-10 Akim Demaille <akim@epita.fr>
11926 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
11927 (AC_INCLUDES_DEFAULT): Move to...
11928 * lib/autoconf/headers.m4: here.
11929 * lib/autoconf/types.m4: Comment changes.
11930 * doc/autoconf.texi: Specify where the default includes are used
11931 in the macro prototypes.
11933 2001-10-09 Akim Demaille <akim@epita.fr>
11935 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
11938 2001-10-08 Akim Demaille <akim@epita.fr>
11940 * bin/autoreconf.in (&autoreconf): Remove debugging code.
11941 (&parse_args): Pass verbosity/debugging options to subtools when
11942 --debug, not when --verbose.
11943 * lib/autom4te.in (Autoreconf-preselections): New.
11944 (Autoconf): Use it.
11946 2001-10-08 Akim Demaille <akim@epita.fr>
11948 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
11950 2001-10-08 Akim Demaille <akim@epita.fr>
11952 * doc/autoconf.texi (autoreconf Invocation): Adjust.
11953 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
11955 2001-10-08 Akim Demaille <akim@epita.fr>
11957 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
11958 (Syntax of the shell scripts): Don't.
11959 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
11960 bother with $force since...
11961 * lib/Autom4te/General.pm: does.
11963 2001-10-08 Akim Demaille <akim@epita.fr>
11965 * bin/autoreconf.in: Rewrite in Perl.
11966 * configure.ac: Adjust.
11967 * lib/Autom4te/General.pm (&up_to_date_p): New.
11968 * bin/autom4te.in (&up_to_date_p): Use it.
11970 (&up_to_date): this.
11972 2001-10-08 Akim Demaille <akim@epita.fr>
11974 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
11975 (m4_list_cmp): Use $0 to reinvoke yourself.
11976 (m4_patsubsts): New.
11977 (m4_strip, m4_version_unletter): Use it.
11978 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
11980 2001-10-08 Akim Demaille <akim@epita.fr>
11982 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
11983 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
11984 * lib/autoconf/types.m4, lib/autotest/general.m4,
11985 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
11986 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
11987 m4_bregexp, m4_bpatsubst, and m4_bmatch.
11988 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
11990 2001-10-08 Akim Demaille <akim@epita.fr>
11992 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
11994 2001-10-08 Akim Demaille <akim@epita.fr>
11996 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
11997 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
11998 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
11999 * tests/tools.at, tests/m4sh.at: Use it.
12000 * tests/m4sh.at: Don't rely on Autoconf macros.
12001 (DIRNAME_TEST): Also exercise the expr variant.
12002 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
12003 preferred M4sugar extension is now `.4s'.
12004 * tests/README: Remove.
12006 2001-10-08 Akim Demaille <akim@epita.fr>
12008 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
12009 (m4_provide_if): this.
12010 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
12011 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
12012 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
12013 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
12015 2001-10-08 Akim Demaille <akim@epita.fr>
12017 Use `add-log-current-defun-function' for ChangeLog creation.
12018 Suggested by Tom Tromey.
12020 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
12021 (autotest-mode): Adjust.
12022 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
12023 'comment-region onto `C-c ;'.
12024 Comments are `#', not `dnl'.
12025 (autoconf-current-defun): New.
12026 (autoconf-font-lock-keywords): Recognize `m4_defun'.
12028 2001-10-08 Akim Demaille <akim@epita.fr>
12030 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
12031 * lib/m4sugar/m4sh.m4: here.
12032 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
12033 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
12034 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
12035 include handle the m4_pattern_*, no longer push the
12036 BODY diversion nor set the /bin/sh line, AS_INIT does it.
12037 * lib/autotest/general.m4 (AT_INIT): Likewise.
12038 * tests/base.at: Adjust the tests to use AS_INIT.
12039 * tests/tools.at (AT_DATA_FORBIDDEN): New.
12040 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
12043 2001-10-07 Paul Eggert <eggert@twinsun.com>
12045 * doc/autoconf.texi (config.status Invocation):
12046 CONFIG_SHELL defaults to a shell that supports LINENO if available.
12048 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
12049 shell does not support LINENO, and if CONFIG_SHELL is unset or
12050 empty, and if we can find a shell that does support LINENO,
12051 then set CONFIG_SHELL to that shell and then re-execute
12052 ourselves with CONFIG_SHELL.
12054 2001-10-05 Paul Eggert <eggert@twinsun.com>
12056 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
12057 doesn't exist. Remove *.tmp, as a .tmp file is created during the
12058 build of $(TESTSUITE).
12060 2001-10-05 Akim Demaille <akim@epita.fr>
12062 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
12063 iff we are a bareword.
12064 Reported by Raja R Harinath.
12066 2001-10-05 Akim Demaille <akim@epita.fr>
12068 * tests/m4sh.at (LINENO): New.
12069 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
12070 PATH_SEPARATOR before using it.
12071 Fix the absolute path case/esac pattern.
12072 Provide $0 as fallback for as_myself.
12073 Reported by Raja R Harinath.
12075 2001-10-05 Akim Demaille <akim@epita.fr>
12077 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
12078 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
12080 2001-10-05 Akim Demaille <akim@epita.fr>
12082 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
12083 (AS_SHELL_SANITIZE): here. Use it.
12084 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
12087 2001-10-04 Akim Demaille <akim@epita.fr>
12089 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
12090 combination of Awk and sed to replace $LINENO.
12092 2001-10-02 Paul Eggert <eggert@twinsun.com>
12094 * doc/autoconf.texi (Limitations of Builtins): You can't use
12095 "source"; it's not portable. Remove confusing and
12096 somewhat-incorrect example involving "." and "/".
12098 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
12099 compatibility with POSIX shells.
12101 2001-10-02 Akim Demaille <akim@epita.fr>
12103 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
12104 instead of exec'ing to preserve $0 and $@.
12106 2001-10-01 Akim Demaille <akim@epita.fr>
12108 * tests/testsuite (AT_INIT) <at_pass_list>: New.
12109 Don't run twice the same test.
12111 2001-10-01 Akim Demaille <akim@epita.fr>
12113 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
12114 No longer output the list of tests.
12115 <--list>: New option.
12116 <--full-help>: Remove.
12117 Complete the short/long options duality.
12118 Various small adjustments.
12120 2001-10-01 Akim Demaille <akim@epita.fr>
12122 * doc/autoconf.texi: Use @kbd for user input.
12123 Always use `$' as shell prompt.
12125 2001-09-30 Paul Eggert <eggert@twinsun.com>
12127 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
12128 Don't use nested parenthesization. This patch was originally
12129 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
12130 but somehow it didn't get incorporated then.
12131 * doc/autoconf.texi (Limitations of Usual Tools):
12132 Clarify remark about sed and nested parenthesization.
12134 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
12135 Report an error if the size cannot be determined even though
12137 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12138 Check for `expr' arithmetic overflow, and for compilation failure,
12139 and invoke a new argument $4 if either is discovered.
12140 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
12141 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
12143 2001-09-28 Akim Demaille <akim@epita.fr>
12145 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
12146 * m4/lispdir.m4: New.
12147 * aclocal.m4, configure.ac: Adjust.
12149 2001-09-28 Akim Demaille <akim@epita.fr>
12151 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
12153 (AT_INIT): More the wrapped section to where it will be expanded.
12154 Output `AT_tested' only when existing.
12155 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
12157 2001-09-27 Akim Demaille <akim@epita.fr>
12159 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
12160 generates too many bug reports.
12162 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
12163 status when executing the ACTION-IF-FALSE.
12164 * tests/base.at (AC_TRY_*): Rename as...
12165 (AC_TRY_COMMAND): this.
12166 (AC_RUN_IFELSE): New.
12167 * tests/compile.at (Extensions, C keywords)
12168 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
12169 (Broken/missing compilers, AC_PROG_CPP with warnings)
12170 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
12171 * tests/c.at (Extensions, C keywords)
12172 (Broken/missing compilers, AC_PROG_CPP with warnings)
12173 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
12174 (AC_PROG_CPP requires AC_PROG_CC): here and...
12175 * tests/fortran.at (GNU Fortran 77): there.
12176 * doc/autoconf.texi (autoconf Invocation): Fix the example:
12177 AC_TRY_RUN is about compilation, not shell commands.
12178 (Test Programs): AC_TRY_RUN works as used to be advertised.
12180 2001-09-27 Akim Demaille <akim@epita.fr>
12182 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
12184 Be sure to detect when $LINENO always returns the same value.
12185 Look for the original script, basename($0) is certainly not
12187 Pass the CLI arguments to `$as_me.lineno'.
12189 2001-09-25 Akim Demaille <akim@epita.fr>
12191 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
12192 Be sure the close and reopen the LOG fd before and after using tee
12194 <at_tests_pattern>: Adjust to the new format of at_help_all.
12196 2001-09-23 Akim Demaille <akim@epita.fr>
12198 * bin/autom4te.in (parse_args): There can be several invocations
12201 2001-09-23 Akim Demaille <akim@epita.fr>
12203 * doc/autoconf.texi (Top): Wrap in @ifnottex.
12205 2001-09-23 Akim Demaille <akim@epita.fr>
12207 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
12208 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
12209 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
12210 builddir, buildpath, top_builddir, and top_buildpath.
12211 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
12212 the current directory.
12213 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
12214 variables *before* changing the current directory.
12215 Skip nonexistent dirs.
12216 * doc/autoconf.texi (Preset Output Variables): Document these
12219 * lib/autotest/general.m4: Do not reset AT_victims.
12220 Don't compute at_srcdir nor at_top_srcdir.
12222 * tests/tools.at: Hence use top_srcdir.
12224 * tests/Makefile.am, tests/autoconf, tests/autoheader,
12225 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
12227 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
12228 * tests/wrapsh.in, tests/autoupdate.in: New.
12229 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
12230 * configure.ac: Build the position independent wrappers.
12232 * man/Makefile.am: Now that test wrappers are position
12233 independent, use them and drop dark envvar magic.
12235 2001-09-23 Akim Demaille <akim@epita.fr>
12237 * doc/autoconf.texi (Common Shell Constructs): Rename as...
12238 (Programming in M4sh): this.
12239 Promote to @section.
12241 2001-09-23 Akim Demaille <akim@epita.fr>
12243 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
12244 Pass $at_debug_args to the rerun test suite.
12245 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
12246 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
12249 2001-09-23 Akim Demaille <akim@epita.fr>
12251 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
12253 2001-09-23 Akim Demaille <akim@epita.fr>
12255 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
12258 2001-09-23 Akim Demaille <akim@epita.fr>
12260 * lib/Autom4te/General.pm (&debug): New.
12261 * bin/autom4te.in ($language): Move to...
12262 (parse_args): here.
12263 Handle --language in languages.
12264 * lib/autom4te.in (Automake-selections, Autoheader-selections)
12265 (Autoscan-selections): New.
12266 (Autoconf): Adjust.
12268 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
12270 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
12271 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
12272 to match current versions from CVS Automake.
12274 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
12276 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
12279 2001-09-22 Akim Demaille <akim@epita.fr>
12281 * lib/autoconf/autotest.m4: Create `package.m4'.
12282 * tests/Makefile.am (package.m4): Remove.
12284 2001-09-22 Akim Demaille <akim@epita.fr>
12286 Rely on `$LINENO' when possible instead of `__oline__'.
12288 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
12289 `$LINENO' support replacement when not supported.
12290 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
12291 them explicitly to be sure they are not output before this section
12292 (via m4_require). Cosmetic only.
12293 * lib/autoconf/c.m4, lib/autoconf/general.m4,
12294 * lib/autoconf/programs.m4: Replace all the occurrences of
12295 `__oline__' with `$LINENO'.
12296 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
12298 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
12300 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
12301 character (u: -> ue) in a code comment.
12302 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
12305 2001-09-21 Akim Demaille <akim@epita.fr>
12307 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
12308 Suggested by Jim Meyering.
12310 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12312 * lib/autoconf/programs.m4: Use extensions listed in
12313 $ac_executable_extensions when looking for programs.
12315 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12317 * lib/autoconf/general.m4: Fix a small Englisho.
12318 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
12319 setting up ac_dir_suffix and ac_top_builddir.
12320 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
12322 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12324 * doc/autoconf.texi (File System Conventions): Clarify the use of
12326 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
12327 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
12328 be used instead of ':'.
12329 * lib/autotest/general.m4: Replace occurrences of ':' in
12330 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
12332 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12334 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
12335 arguments. Fixed a typo.
12337 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12339 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
12340 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
12342 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12344 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
12345 * bin/autoupdate.in: Ditto.
12346 * bin/autoheader.in: Reworded a few comments.
12347 * bin/autoconf.in: Reworded help text for a few options.
12348 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
12349 * bin/autoscan.in, bin/autoupdate.in: Ditto.
12351 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
12353 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
12354 already have $file). Set output files to binary mode (helps avoid
12355 CR issues on DOSish systems).
12357 2001-09-19 Akim Demaille <akim@epita.fr>
12359 * lib/autotest/general.m4: Englishoes.
12360 From Tim Van Holder and Alexey Mahotkin.
12362 2001-09-18 Paul Eggert <eggert@twinsun.com>
12364 * doc/autoconf.texi (Common Shell Constructs): New node,
12365 documenting AS_DIRNAME.
12366 (Limitations of Usual Tools): Refer to it when discussing dirname.
12367 Also, update discussion of POSIX standard to reflect latest draft.
12369 * lib/autoconf/c.m4:
12370 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
12372 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
12373 Do not pass a first argument with leading '-'
12374 to expr, by parenthesizing initial integers that might be negative.
12376 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
12377 now merely checks whether it is an error to pass an argument
12380 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
12381 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
12382 whether it is a (compile-time) error to pass an argument to
12383 getpgrp. This simpler test supports the revised documentation,
12384 and is all that AC_FUNC_GETPGRP's users really need.
12386 2001-09-18 Akim Demaille <akim@epita.fr>
12388 * doc/autoconf.texi (Limitations of Make) <$<>: New.
12390 2001-09-18 Akim Demaille <akim@epita.fr>
12392 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
12394 * lib/autotest/general.m4 (AT_INIT): Adjust.
12396 2001-09-18 Paul Wagland <paul@wagland.net>
12398 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
12400 Add test for AS_BASENAME.
12401 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
12402 added test. It now correctly handles /1/2/3/, returning '3' not ''.
12403 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
12404 * tests/base.at: Fixed the expected responses. The old ones were
12406 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
12407 the documentation claims it should (and how it behaved in 2.13).
12409 2001-09-18 Akim Demaille <akim@epita.fr>
12411 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
12412 the AC_CONFIG_COMMANDS invocation.
12413 This also solves the name clash problems.
12414 Don't set the package's ID.
12415 * lib/m4sugar/Makefile.am (version.m4): Revamp.
12416 No longer to be shipped.
12417 (version.in): Remove.
12418 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
12419 * lib/autoconf/status.m4: Adjust.
12420 Use `m4_PACKAGE_STRING'.
12421 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
12422 the only optional argument is the name of the test suite.
12423 Expect `package.m4' to define the package signature.
12424 * lib/autom4te.in (Autotest): Add `package.m4?'.
12425 * tests/Makefile.am (package.m4): New.
12426 * tests/suite.at: ifnames is a victim.
12428 2001-09-18 Akim Demaille <akim@epita.fr>
12430 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
12431 AC_LIBSOURCE, AC_CONFIG_FILES.
12432 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
12433 program version string doesn't match the package's.
12434 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
12437 2001-09-17 Paul Eggert <eggert@twinsun.com>
12439 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12440 Allow expression to return any value that can fit into unsigned long
12441 (not int, as before). Check for output errors.
12443 2001-09-17 Bruno Haible <haible@ilog.fr>
12445 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
12446 Always include <stdio.h> and <stdlib.h>. Evaluate
12447 the expression in an extra function before these includes. Call
12448 fprintf "%d" only after ensuring the argument is of type 'int'.
12449 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
12451 2001-09-17 Paul Eggert <eggert@twinsun.com>
12453 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
12454 or CFLAGS=-O5. In that case, the linker has a relaxed view of
12455 fatal errors, and AC_CHECK_LIB causes it to include libraries even
12456 when they don't exist.
12458 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
12459 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
12462 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
12463 version with the version used by fileutils 4.1, except use
12464 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
12467 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
12469 2001-09-13 Akim Demaille <akim@epita.fr>
12471 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
12473 Reported by Gerrit P. Haase.
12475 2001-09-13 Akim Demaille <akim@epita.fr>
12477 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
12478 m4_defn'ing is valid.
12480 2001-09-13 Akim Demaille <akim@epita.fr>
12482 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
12483 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
12486 2001-09-13 Akim Demaille <akim@epita.fr>
12488 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
12490 (m4_re_escape): New.
12491 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
12492 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
12493 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
12495 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
12496 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
12497 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
12498 AT_tests_all for consistency.
12500 (AT_VICTIMS): Similar to AT_KEYWORDS.
12501 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
12503 2001-09-13 Akim Demaille <akim@epita.fr>
12505 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
12507 2001-09-13 Akim Demaille <akim@epita.fr>
12509 * lib/autotest/general.m4 (AT_INIT): Create and remove
12510 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
12511 test suites can cohabit.
12513 2001-09-13 Akim Demaille <akim@epita.fr>
12515 * tests/mktests.sh: Don't output banners for empty test files.
12517 2001-09-13 Akim Demaille <akim@epita.fr>
12519 Test suites can be run independently of configure.
12521 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
12522 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
12523 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
12525 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
12527 * lib/autotest/general.m4: Use ECHO_*.
12529 2001-09-13 Akim Demaille <akim@epita.fr>
12531 * bin/ifnames.in: Rewrite in Perl.
12532 * configure.ac: Don't look for AWK.
12533 * tests/tools.at (AWK portability): Remove.
12534 (Syntax of the shell scripts): Don't check ifnames.
12535 (AT_CHECK_PERL_SYNTAX): New.
12536 (Syntax of the Perl scripts): Check ifnames.
12537 * tests/ifnames: New.
12539 2001-09-13 Akim Demaille <akim@epita.fr>
12541 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
12543 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
12544 Remove all the other keywords.
12546 2001-09-10 Akim Demaille <akim@epita.fr>
12548 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
12549 SETUP: no longer used.
12550 Support -k, --keywords.
12551 <at_help>: Be `no', `short', or `long'.
12552 <at_help_all>: New variable.
12553 (AT_KEYWORDS): New.
12554 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
12555 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
12556 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
12557 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
12558 No longer fill the HELP diversion.
12559 (AT_CLEANUP): Use them.
12560 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
12561 (m4_list_append): Remove.
12563 Spread a few keywords in the Autoconf test suite.
12565 2001-09-10 Akim Demaille <akim@epita.fr>
12567 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
12568 PATH_SEPARATOR, let M4sh compute it.
12569 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
12570 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
12572 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
12573 Simplify when the path is not a literal.
12574 (AS_UNAME): Use it to report PATH.
12575 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
12576 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
12577 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
12578 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
12579 normalize the path, and to look for victims.
12580 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
12581 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
12583 2001-09-07 Akim Demaille <akim@epita.fr>
12585 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
12586 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
12587 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
12588 related variables into `at_package_*'.
12589 * lib/autotest/general.m4 (AT_VICTIMS): New.
12590 (AT_INIT): Adjust for stand-alone/embedded test suites.
12591 (AS_MESSAGE_LOG_FD): Define and use it.
12592 * tests/suite.at (AT_VICTIMS): Use it.
12593 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
12596 2001-09-07 Akim Demaille <akim@epita.fr>
12598 Move toward possibly stand-alone test suites.
12600 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
12601 in addition, it introduces useless differences in logs.
12602 (AT_INIT): Let atconfig and atlocal be both optional.
12603 Adjust PATH computation.
12604 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
12606 2001-09-07 Akim Demaille <akim@epita.fr>
12608 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
12609 m4sugar/version.m4.
12611 2001-09-05 Akim Demaille <akim@epita.fr>
12613 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
12614 to avoid GCC warnings.
12617 2001-09-05 Akim Demaille <akim@epita.fr>
12619 * bin/autom4te.in: --language is -l, not -s.
12621 2001-09-05 Akim Demaille <akim@epita.fr>
12623 Be ready to handle filenames as stupid as `dnl.at', for if even
12624 the maintainer is dumb enough to do that...
12626 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
12627 excellence in M4 quotation: consider `__file__' is active.
12629 And BTW, when invoking m4, pass the --include in the right order:
12632 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
12635 2001-09-05 Akim Demaille <akim@epita.fr>
12637 * lib/Autom4te/XFile.pm: New lib file.
12638 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
12639 * bin/autoheader.in: Use it.
12641 2001-09-05 Akim Demaille <akim@epita.fr>
12643 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
12646 2001-09-05 Akim Demaille <akim@epita.fr>
12648 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
12649 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
12651 * bin/autoscan.in: Use `getopt' and `find_files' etc.
12652 Add -I, --include support.
12653 * doc/autoconf.texi (autoscan Invocation): Adjust.
12655 2001-09-05 Akim Demaille <akim@epita.fr>
12657 CVS GNU M4 doesn't like `undefine(undefined)'.
12659 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
12660 New, extracted from main.
12661 Use IO::File wherever possible.
12662 (input.m4): Be constant, use -I instead of hard coding $tmp.
12663 Therefore be a quoted heredoc.
12664 Don't invoke `_au_disable', since ac was not loaded, but just
12667 2001-08-31 Akim Demaille <akim@epita.fr>
12671 2001-08-31 Akim Demaille <akim@epita.fr>
12673 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
12675 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
12677 2001-08-31 Akim Demaille <akim@epita.fr>
12679 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
12680 serious problems handling heredocs in heredocs.
12681 Reported by Nicolas Joly.
12683 2001-08-31 Akim Demaille <akim@epita.fr>
12685 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
12686 (Making testsuite Scripts): Update.
12688 2001-08-31 Akim Demaille <akim@epita.fr>
12690 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
12692 2001-08-31 Akim Demaille <akim@epita.fr>
12694 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
12695 (testsuite Scripts): There is no such thing as `atconfig.in'.
12696 And actually one diagram is missing: test suite runtime.
12698 2001-08-31 Akim Demaille <akim@epita.fr>
12700 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
12703 2001-08-31 Akim Demaille <akim@epita.fr>
12705 * bin/autoupdate.in (@include): `installcheck' revealed the path
12706 to m4sugar was lacking!
12708 2001-08-31 Akim Demaille <akim@epita.fr>
12710 * man/Makefile.am (.x.1): We really have to pass
12711 autom4te_perllibdir.
12713 2001-08-31 Akim Demaille <akim@epita.fr>
12715 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
12716 debug scripts, in particular passing explicitly listed tests to
12719 2001-08-31 Akim Demaille <akim@epita.fr>
12721 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
12722 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
12723 Use directly autom4te, not autoconf.
12724 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
12726 2001-08-31 Akim Demaille <akim@epita.fr>
12728 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
12729 * bin/autoheader.in (%symbol): Strip arguments of macros.
12731 2001-08-31 Akim Demaille <akim@epita.fr>
12733 * doc/autoconf.texi: Catch up -I, --include changes.
12735 2001-08-31 Akim Demaille <akim@epita.fr>
12737 * bin/autom4te.in (&parse_args): Die on unknown languages.
12738 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
12740 Promote --include over --macrodir and other obsolete options.
12742 2001-08-31 Akim Demaille <akim@epita.fr>
12744 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
12745 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
12746 * bin/autom4te.in ($autoconf): Pass --force.
12747 `print $out' doesn't print `$_' but `$out'.
12748 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
12749 (autoheader): Pass --force since the test suite goes too fast for
12751 Adjust to the new autoheader messages.
12753 2001-08-31 Akim Demaille <akim@epita.fr>
12755 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
12756 Check the completeness of the #template.
12757 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
12758 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
12761 2001-08-31 Akim Demaille <akim@epita.fr>
12763 * lib/Autom4te/General.pm (&find_file, &update_file): New.
12764 * bin/autoupdate.in, bin/autoheader.in: Adjust.
12765 Drop AC_MACRODIR dead for real.
12766 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
12767 `autoheader: `config.hin' is created'.
12768 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
12770 2001-08-31 Akim Demaille <akim@epita.fr>
12772 * bin/autoheader.in: Rewrite in Perl.
12773 * tests/autoheader: Adjust.
12775 2001-08-31 Akim Demaille <akim@epita.fr>
12777 * bin/autoconf.in (--include, -I): New option.
12778 Map --localdir, --autoconf-dir onto it.
12779 Forward autom4te's options instead of interpreting them.
12780 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
12781 There is no such envvar since the inception of autom4te.cfg.
12782 * bin/autom4te.in (&parse_args): Uniquify `@include'.
12783 * bin/autoupdate.in: Adjust, and perform more control.
12784 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
12785 * tests/autoconf: Dittowise.
12787 2001-08-31 Akim Demaille <akim@epita.fr>
12789 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
12790 * bin/autom4te.in (&find_file): Support `FILE?' standing for
12792 Use -e, not -f, since /dev/null for instance is OK.
12793 (&parse_args): Adjust.
12794 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
12796 2001-08-31 Akim Demaille <akim@epita.fr>
12798 * configure.ac: Also find tested executables in bin.
12799 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
12800 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
12801 installed peer executables, only PATH is allowed to resolve it.
12802 Pass `autoconf_dir' via options, not via invisible envvars.
12803 * lib/Autom4te/General.pm (&find_peer): Remove.
12804 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
12805 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
12806 * man/Makefile.am: Let help2man rely on PATH instead of trying to
12807 find the executables for it.
12808 * tests/Makefile.am: Major cleanup. Too lazy to document...
12809 * tests/atlocal.in: Remove all the obscure envvar manipulations.
12811 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
12812 indeed related to running the test suite, while passing
12813 --autoconf-dir and others is related to running non installed
12814 Autoconf executables. So don't do that, leave it to...
12815 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
12816 * tests/autoscan: New.
12817 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
12818 refer to library files: rely on --language.
12820 2001-08-29 Akim Demaille <akim@epita.fr>
12822 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
12823 s/--set/--language/.
12825 2001-08-29 Akim Demaille <akim@epita.fr>
12827 * doc/autoconf.texi: Strip the @nodes.
12828 Suggested by Paul Eggert.
12829 (Initializing configure): Typo.
12831 2001-08-29 Akim Demaille <akim@epita.fr>
12833 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
12834 Suggested by Paul Eggert.
12836 2001-08-29 Akim Demaille <akim@epita.fr>
12838 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
12839 download in a tmp dir.
12841 2001-08-29 Akim Demaille <akim@epita.fr>
12843 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
12844 case insensitive OSes out there :(
12845 From Tim Van Holder.
12847 2001-08-29 Akim Demaille <akim@epita.fr>
12849 * lib/autom4te.in: New.
12850 * lib/Makefile.am (edit, autom4te.cfg): New.
12851 * bin/autom4te.in (BEGIN): Simplify.
12852 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
12853 (&load_configuration): New. Use it.
12854 (&parse_args): Support --mode, --set, and --melt.
12855 * bin/autoconf.in: Simplify and adjust.
12856 * tests/Makefile.am (AUTOMAKE): Use --set.
12857 * tests/atlocal.in: Adjust.
12858 * BUGS: distcheck and check are weak.
12860 2001-08-29 Akim Demaille <akim@epita.fr>
12862 * lib/autotest/general.m4: Use
12863 foo=`(command) 2>/dev/null`
12865 foo=`command` 2>/dev/null
12866 (at-devnull): Rename as...
12867 (AT-devnull): this.
12868 (--clean): Remove AT-* files too.
12869 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
12870 Reported by Nicolas Joly.
12872 2001-08-28 Akim Demaille <akim@epita.fr>
12874 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
12875 quotes inside single quotes.
12876 Reported by Nicolas Joly.
12878 2001-08-28 Kevin Ryde <user42@zip.com.au>
12880 * doc/autoconf.texi (Function Portability): Mention C right shifts.
12882 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
12884 * lib/autotest/general.m4: Reword some messages.
12885 (AT_INIT): Check for the `times' builtin before using it.
12886 Support test ranges as arguments to the testsuite.
12887 Have -e imply -d as the help text suggested.
12889 2001-08-27 Akim Demaille <akim@epita.fr>
12891 * Makefile.maint: Formatting changes.
12892 (do-po-update, po-update, cvs-update, update): New targets.
12895 2001-08-27 Akim Demaille <akim@epita.fr>
12897 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
12898 <at_cmd_line>: New.
12899 Pass it to debug-*.sh scripts.
12900 <AUTOTEST_PATH>: May contain absolute dir names.
12902 2001-08-27 Akim Demaille <akim@epita.fr>
12904 * lib/autotest/general.m4 (AT_INIT): Log the command line.
12905 Support `VAR=VAL' as arguments.
12906 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
12907 may be set via the command line.
12909 2001-08-27 Akim Demaille <akim@epita.fr>
12911 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
12912 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
12913 first the build dirs, then the src dirs.
12914 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
12916 2001-08-27 Akim Demaille <akim@epita.fr>
12918 * lib/autotest/general.m4 (AT_INIT): Output the definition of
12919 at_data_files earlier.
12920 (--clean, -c): New option.
12921 * tests/Makefile.am: Use this option.
12923 2001-08-27 Akim Demaille <akim@epita.fr>
12925 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
12926 `ac_top_builddir' to mimic Automake's vocabulary, which much more
12929 * doc/autoconf.texi (Configuration Actions): Document the vars
12930 available in commands.
12931 Emphasize the risks of collisions in init-cmds.
12933 2001-08-27 Akim Demaille <akim@epita.fr>
12935 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
12936 (Initializing configure): this new node.
12938 2001-08-27 Akim Demaille <akim@epita.fr>
12940 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
12942 2001-08-27 Akim Demaille <akim@epita.fr>
12944 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
12945 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
12947 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
12949 2001-08-27 Akim Demaille <akim@epita.fr>
12951 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
12953 * lib/autoconf/autoheader.m4: this new file.
12954 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
12955 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
12957 * lib/autoconf/autoupdate.m4: this new file.
12959 2001-08-27 Akim Demaille <akim@epita.fr>
12961 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
12962 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
12963 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
12965 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
12966 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
12968 2001-08-27 Akim Demaille <akim@epita.fr>
12970 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
12971 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
12972 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
12973 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
12974 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
12975 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
12976 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
12977 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
12978 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
12979 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
12980 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
12981 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
12982 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
12983 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
12984 (_AC_OUTPUT_SUBDIRS): Move to...
12985 * lib/autoconf/status.m4: this new file.
12986 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
12987 * tests/Makefile.am, tests/suite.at: Adjust.
12989 2001-08-27 Akim Demaille <akim@epita.fr>
12993 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
12994 (AMTAR): Help automake define it.
12995 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
12996 needed, 1.5 can have a macro and a target with the same name.
12997 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
12998 * m4/strip.m4: New.
12999 * m4/init.m4, m4/sanity.m4: Update.
13000 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
13001 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
13002 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
13003 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
13005 2001-08-27 Akim Demaille <akim@epita.fr>
13007 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
13009 * lib/autoconf/version.in: Remove.
13010 * lib/m4sugar/version.in: New.
13011 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
13013 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
13014 the name of the directory they're in, instead of the filename,
13015 since version.m4 is now in m4sugar, but m4_acversion must not be
13016 classified as an Autoconf macro.
13017 ($input_m4): Don't qualify the path to m4sugar.
13018 Rather, pass autoconf_dir to m4.
13019 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
13020 * tests/suite.at: Require 2.52c.
13022 2001-08-27 Akim Demaille <akim@epita.fr>
13024 testsuite.log should include config.log.
13026 * lib/autotest/autotest.m4: New.
13027 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
13028 * tests/suite.at : Adjust.
13029 (AT_INIT): Log config.log.
13030 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
13031 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
13032 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
13033 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
13034 of config.log on traps.
13035 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
13036 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
13037 for config.status'.
13038 Open the log as soon as possible.
13039 Use the same log introduction as configure's.
13041 2001-08-22 Paul Eggert <eggert@twinsun.com>
13043 * doc/autoconf.texi (Indices): New node.
13044 Move indices out of the top level menu and into this submenu.
13046 2001-08-22 Akim Demaille <akim@epita.fr>
13048 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
13050 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
13052 2001-08-22 Akim Demaille <akim@epita.fr>
13054 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
13055 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
13056 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
13057 * lib/autoconf/programs.m4: here.
13058 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
13059 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
13060 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
13061 * lib/autoconf/programs.m4: here.
13062 (_AC_DECL_YYTEXT): Rename as...
13063 (_AC_PROG_LEX_YYTEXT_DECL): this.
13064 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
13065 * tests/Makefile.am, tests/suite.am: Adjust.
13067 2001-08-22 Akim Demaille <akim@epita.fr>
13069 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
13071 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
13073 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
13074 * lib/autoconf/functions.m4: here.
13075 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
13076 (AH_CHECK_LIB): Move to...
13077 * lib/autoconf/libs: this new file.
13078 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
13079 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
13080 * lib/autoconf/libs.m4: here.
13081 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
13083 2001-08-22 Akim Demaille <akim@epita.fr>
13085 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
13086 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
13087 (AC_SITE_LOAD): Better logging of config.site.
13089 2001-08-20 Akim Demaille <akim@epita.fr>
13091 * configure.ac (AT_CONFIG): Fix the path.
13092 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
13095 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
13097 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
13098 program with AC_LANG_PROGRAM before feeding it to
13099 AC_COMPILE_IFELSE. Cleanup grep usage.
13101 2001-08-20 Akim Demaille <akim@epita.fr>
13103 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
13104 * NEWS, README, README-alpha, TODO, tests/README: This package is
13105 `Autoconf', not `autoconf' (the executable).
13107 2001-08-20 Akim Demaille <akim@epita.fr>
13109 Info readers seem to need `Index' in the index node title :(
13111 * doc/autoconf.texi: Reverse the 2001-08-15 change which
13112 simplified index node names.
13114 2001-08-20 Akim Demaille <akim@epita.fr>
13116 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
13117 arguments are not literals.
13118 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
13119 Specify the output variables, and macros defined.
13121 2001-08-20 Akim Demaille <akim@epita.fr>
13123 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
13124 (Examining Syntax) <AC_TRY_COMPILE>
13125 (Examining Libraries) <AC_TRY_LINK>
13126 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
13128 Reported by Werner Lemberg.
13130 2001-08-20 Akim Demaille <akim@epita.fr>
13132 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
13133 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
13134 Load atlocal late enough to dump it in the log.
13135 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
13137 2001-08-20 Akim Demaille <akim@epita.fr>
13139 * tests/torture.at (Configuring subdirectories): New test.
13140 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
13142 * m4/atconfig.m4: Be sure the let $[0] be expandable.
13143 (top_srcdir): Fix its computation.
13145 2001-08-20 Akim Demaille <akim@epita.fr>
13147 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
13148 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
13150 Create `atconfig' automagically.
13151 Configure atlocal.in if present.
13152 * tests/atconfig.in: Remove.
13153 * tests/atlocal.in: New.
13154 * tests/Makefile.am: Adjust.
13156 2001-08-20 Akim Demaille <akim@epita.fr>
13158 Huh!?!?! There are still some user EOF tags used, which prevents
13159 their use in AC_CONFIG_COMMANDS for instance...
13161 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
13162 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
13163 `_CSEOF', or `_ATEOF', as appropriate.
13164 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
13165 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
13167 2001-08-20 Akim Demaille <akim@epita.fr>
13169 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
13170 * tests/semantics.at, tests/tools.at, tests/torture.at:
13171 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
13173 2001-08-20 Akim Demaille <akim@epita.fr>
13175 Autotest invokes M4sh's initialization.
13177 * lib/autotest/general.m4: Adjust the diversion names.
13178 (AT_INIT): Run AS_INIT.
13179 Use the BINSH diversion to invoke /bin/sh.
13180 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
13181 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
13183 2001-08-20 Akim Demaille <akim@epita.fr>
13185 Let M4sh have its own diversions.
13187 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
13188 (_m4_divert(NOTICE)): Rename as...
13189 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
13190 (_m4_divert(HEADER-COMMENT)): these.
13191 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
13192 (_m4_divert(NOTICE)): New, for Libtool.
13193 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
13194 long ago with `_m4_divert(GROW)'.
13195 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
13197 2001-08-20 Akim Demaille <akim@epita.fr>
13199 * tests/base.at, tests/compile.at, tests/foreign.at,
13200 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
13201 * tests/semantics.at, tests/suite.at, tests/tools.at,
13202 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
13204 2001-08-20 Akim Demaille <akim@epita.fr>
13206 * bin/autom4te.in (handle_output): Handle @__@.
13208 2001-08-20 Akim Demaille <akim@epita.fr>
13210 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
13211 * lib/autotest/general.m4: Adjust the license.
13213 2001-08-17 Paul Eggert <eggert@twinsun.com>
13215 * doc/autoconf.texi (Function Portability): Mention snprintf,
13216 following up on a suggestion by Kevin Ryde.
13218 2001-08-17 Akim Demaille <akim@epita.fr>
13220 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
13221 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
13223 2001-08-17 Akim Demaille <akim@epita.fr>
13225 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
13226 `$0.log' as for projects where testsuite is in src, we'd have
13227 testsuite.log created in src.
13229 2001-08-17 Akim Demaille <akim@epita.fr>
13231 * bin/autom4te.in (&parse_args): Recognize --normalize.
13233 2001-08-17 Akim Demaille <akim@epita.fr>
13235 Start implementing the AC_CHECK_HEADER transition scheme.
13237 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
13238 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
13239 (AC_CHECK_HEADER): Use them.
13241 2001-08-17 Akim Demaille <akim@epita.fr>
13243 * doc/autoconf.texi: Work around Texinfo buglets.
13244 (Transformation Rules): One example is enough, users are expected
13245 to have their brains on. And BTW, use DESTDIR.
13246 (dvar): New macro. Use it.
13248 2001-08-17 Akim Demaille <akim@epita.fr>
13250 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
13251 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
13252 looking for ChangeLogs.
13254 2001-08-17 Akim Demaille <akim@epita.fr>
13256 * bin/autom4te.in: --normalize is a new option.
13257 * bin/autoconf.in: Use it.
13259 2001-08-17 Akim Demaille <akim@epita.fr>
13261 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
13262 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
13264 2001-08-16 Paul Eggert <eggert@twinsun.com>
13266 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
13269 2001-08-15 Akim Demaille <akim@epita.fr>
13271 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
13274 2001-08-15 Akim Demaille <akim@epita.fr>
13276 * doc/autoconf.texi (pr): New index.
13277 (prindex, findex): Use, merge, and output them.
13278 (Environment Variable Index, Output Variable Index)
13279 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
13280 (Autotest Macro Index): Rename as...
13281 (Environment Variables, Output Variables,Preprocessor Symbols)
13282 (Autoconf Macros, M4 Macros, Autotest Macros): these.
13283 * doc/install.texi: Use @command.
13284 (Environment Variables): Rename as...
13285 (Defining Variables): this.
13287 2001-08-15 Akim Demaille <akim@epita.fr>
13289 * doc/autoconf.texi (Function Portability): sprintf's return
13293 2001-08-15 Akim Demaille <akim@epita.fr>
13295 * Makefile.maint (CVS): New.
13296 (local-check): Run changelog-check. last.
13297 (alpha): Don't depend upon local-check, since...
13298 (cvs-dist): depends upon it.
13300 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
13302 * tests/Makefile.am: Use a clean-local rule to remove
13303 autom4te.cache (it's a directory, not a file.
13304 * Makefile.am: Ditto (but maintainer-clean-local).
13306 2001-08-15 Akim Demaille <akim@epita.fr>
13308 * bin/autom4te.in (@m4_warning): New.
13309 (&handle_m4): Use it.
13310 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
13311 warnings are issued at each run.
13312 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
13313 is in the src tree.
13315 2001-08-15 Akim Demaille <akim@epita.fr>
13317 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
13318 don't waste time running `autoupdate --version' works.
13319 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
13321 2001-08-13 Akim Demaille <akim@epita.fr>
13323 * doc/autoconf.texi (ma): Rename this index as...
13326 2001-08-13 Akim Demaille <akim@epita.fr>
13328 * Makefile.am: Remove dead code and dead comments.
13329 (pdf, html): New targets.
13330 * doc/autoconf.texi (Using Autotest): New chapter.
13331 * doc/Makefile.am (pdf): New targets.
13332 (CLEANFILES): Adjust.
13334 2001-08-13 Akim Demaille <akim@epita.fr>
13336 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
13337 duration of the test suite.
13339 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
13341 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
13342 endianness for comparison instead of relying on AT_CHECK_ENV.
13344 2001-08-11 Paul Eggert <eggert@twinsun.com>
13346 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
13347 to the INSTALL file.
13349 2001-08-11 Paul Eggert <eggert@twinsun.com>
13351 * NEWS: The autoconf manual now is distributed under the terms
13352 of the GNU Free Documentation License.
13354 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
13355 Add an appendix "Copying This Manual" for the FDL.
13357 * doc/fdl.texi: New file, from
13358 <http://www.gnu.org/licenses/fdl.texi>.
13360 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
13362 2001-08-10 Paul Eggert <eggert@twinsun.com>
13364 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
13365 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
13366 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
13367 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
13368 m4/sanity.m4, tests/README, tests/aclocal.m4,
13369 tests/atspecific.m4, tests/base.at, tests/compile.at,
13370 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
13371 tests/semantics.at, tests/suite.at, tests/tools.at,
13372 tests/torture.at: Add copyright notice.
13374 * tests/mktests.sh: Update year in copyright notice.
13376 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
13378 * tests/semantics.at (AC_C_BIGENDIAN): New test.
13380 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
13382 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
13383 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
13384 * doc/autoconf.texi (C Compiler Characteristics): Update
13385 documentation for AC_C_BIGENDIAN.
13387 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
13389 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
13390 magic values from an object file when cross-compiling.
13391 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
13393 2001-08-10 Akim Demaille <akim@epita.fr>
13395 * bin/autom4te.in (&handle_output): Don't use `grep' with side
13397 Suggested by Russ Allbery.
13399 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
13401 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
13402 current $prefix to the sub-configures.
13404 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
13406 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
13407 extension (needed on BeOS). Reported by Guido van Rossum.
13409 2001-08-09 Akim Demaille <akim@epita.fr>
13411 * bin/autom4te.in ($icache): Load it only if older than autom4te.
13413 2001-08-07 Akim Demaille <akim@epita.fr>
13415 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
13417 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
13418 No need to remove the files before and after the each test, before
13419 each test and at the end of the suite is enough.
13420 Display only the children `times', not the shell's.
13421 If the test failed or was skipped, at-times is not available.
13423 2001-08-07 Akim Demaille <akim@epita.fr>
13425 Always produce testsuite.log, including when there are no
13426 failures. This helps getting information on skipped tests, and
13427 duration of the tests. Err, implement the latter btw.
13429 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
13430 Dump information on the first run of each test.
13431 (AT_CLEANUP): Create `at-times' containing the duration of the
13434 2001-08-07 Akim Demaille <akim@epita.fr>
13436 The use of `dumpstat' revealed that `len' was used although it
13437 should not. m4_text_wrap was using it, but in the Autoconf world
13438 where it is legal. Hence (i) test M4sh in its own world, not
13439 Autoconf's, and (ii), ahem, fix the bug :)
13441 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
13442 does not like `' instead of [].
13443 (AT_INIT): Forbid `^_?AT_'.
13444 And don't output such tokens.
13445 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
13446 `script.as', and `autom4te.cache'.
13447 Remove `empty' and `macro' which are no longer used.
13448 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
13449 * tests/m4sugar.at: Use it.
13450 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
13452 2001-08-07 Akim Demaille <akim@epita.fr>
13454 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
13456 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
13458 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
13460 2001-08-04 Akim Demaille <akim@epita.fr>
13462 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
13463 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
13465 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
13466 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
13467 (AC_F77_MAIN): Likewise.
13469 2001-08-04 Akim Demaille <akim@epita.fr>
13471 Don't rely on M4sugar outputting the patterns in files, since we
13472 might process the output _without_ running m4, hence without these
13475 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
13476 * bin/autom4te.in (@Request::includes): Remove, unused.
13477 (@Request::source): Rename as...
13478 (@Request::input): this.
13479 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
13480 (&handle_output): Fetch the patterns from the traces.
13481 `$forbidden' and `$allowed' are constant: use m//o.
13482 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
13483 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
13485 2001-08-04 Akim Demaille <akim@epita.fr>
13487 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
13488 autoconf', i.e., in addition to caching traces, cache the output.
13490 * bin/autom4te.in (Request::cache): Rename as...
13491 (Request::id): this.
13492 ($cache, $icache, $tcache, $ocache): New.
13493 (&handle_m4): Save M4 output in the cache instead of $tmp.
13494 (&handle_output): Adjust.
13495 (&up_to_date_p): Check that the output cache is up to date too.
13496 (top level): Run `&handle_m4' iff force or the cache is invalid.
13497 Run `&handle_output' if the output cache is more recent.
13499 2001-08-04 Akim Demaille <akim@epita.fr>
13501 * bin/autom4te.in ($force): New.
13502 (&parse_args, &print_usage): -f, --force is a new option.
13503 (&handle_output): CPP directives might have spaces after `#'.
13504 (&parse_args): The first file only can be frozen.
13506 2001-08-04 Akim Demaille <akim@epita.fr>
13508 Don't let autom4te compute the `include' traces several times:
13509 first check that the trace cache file is up to date, and then
13510 compare its timestamp with that of the output.
13512 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
13513 the preamble. Don't require 5.005 as Autom4te::General does it,
13514 and better yet (use `use', not `require'!).
13515 * lib/Autom4te/Struct.pm: Rename the last occurrences of
13516 Class::Struct as Autom4te::Struct.
13517 * lib/Autom4te/General.pm (File::stat): Use it.
13518 (&mtime): New, export it.
13519 * bin/autom4te.in: Use it.
13520 Declare `$req' is invalid if it is outdated.
13521 Don't declare it valid before saving it if something went wrong.
13523 2001-08-04 Akim Demaille <akim@epita.fr>
13525 Autom4te shall not encode Autoconf data, and preselecting traces
13526 must be proposed to the users.
13528 * bin/autom4te.in (@required_trace): Remove.
13530 (&parse_args, &print_usage): -p, --preselect is a new option.
13531 (&up_to_date_p): Adjust.
13532 * bin/autoconf.in: Preselect some Autoconf macros.
13534 2001-08-04 Akim Demaille <akim@epita.fr>
13536 * tests/tools.at (autoconf --trace: user macros): Check traces on
13537 macros invoked without arguments, and macros invoked with multiple
13540 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
13542 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
13545 2001-08-03 Akim Demaille <akim@epita.fr>
13547 * bin/autoconf.in ($@): Work around the usual sh bug.
13550 2001-08-03 Akim Demaille <akim@epita.fr>
13552 Clean up the handling of the M4 builtins tracing exception.
13554 * bin/autom4te.in (Request::request): Don't complete M4 builtins
13556 (@m4_builtins): Rename as...
13557 (@m4_builtin): this.
13558 (%m4_builtin_alternate_name): New.
13559 (&parse_args): Complete the trace requests with alternate names.
13560 (&handle_traces): Hence no longer do it here.
13561 (&trace_requests): Remove, unused.
13563 2001-08-03 Akim Demaille <akim@epita.fr>
13565 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
13566 m4_if, and m4_wrap.
13568 2001-08-03 Akim Demaille <akim@epita.fr>
13570 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
13571 (m4_divert_pop): Dump the whole diversion stack when a diversion
13573 * bin/autom4te.in (&handle_output): Remember of the first
13574 occurrence of a possibly undefined macro, not the last.
13575 Complain about the possibly undefined macros in the same order as
13576 the appear in the output.
13577 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
13578 * tests/tools.at (autoconf: forbidden tokens, basic)
13579 (autoconf: forbidden tokens, exceptions): No longer sort
13580 autoconf's stderr, as it is now deterministic.
13581 Check that `dnl' is caught.
13583 2001-08-01 Akim Demaille <akim@epita.fr>
13585 * configure.ac: Bump to 2.52c.
13587 2001-08-01 Akim Demaille <akim@epita.fr>
13591 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
13593 2001-08-01 Akim Demaille <akim@epita.fr>
13597 2001-08-01 Akim Demaille <akim@epita.fr>
13599 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
13602 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
13603 `END', as `Autom4te::General::END' will be triggered.
13604 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
13605 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
13606 system to run `mv', `rm', and `cmp'.
13608 2001-08-01 Akim Demaille <akim@epita.fr>
13610 * lib/Autom4te/General.pm (&unique): New.
13611 * bin/autoscan.in (&output): Use it to issue trace requests once.
13613 2001-08-01 Akim Demaille <akim@epita.fr>
13615 * lib/Autom4te/General.pm: New.
13616 * bin/autom4te.in (Autom4te::General): Use it.
13617 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
13618 (&find_configure_ac, &find_slave): Remove.
13619 * bin/autoscan.in: Likewise.
13620 * bin/autoupdate.in: Likewise.
13622 2001-08-01 Akim Demaille <akim@epita.fr>
13624 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
13625 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
13626 * bin: here, new directory.
13627 * lib/Autoconf: Rename as...
13628 * lib/Autom4te: this, to please case insensitive junkie OSes.
13630 2001-08-01 Akim Demaille <akim@epita.fr>
13632 * autom4te.in ($m4): Handle the --nesting-limit.
13633 * autoconf.in (M4): Remove.
13635 2001-08-01 Akim Demaille <akim@epita.fr>
13637 * autoconf.in ($AWK): Remove, no longer used.
13638 * test/tools.at: Use AT_CHECK_AUTOCONF.
13639 (AWK portability): Remove, for autoconf no longer uses AWK.
13640 (Syntax of the Perl scripts): New.
13641 * configure.ac: autoconf no longer needs an AWK with a good
13643 Use a static test on AC_PACKAGE_VERSION.
13644 * autom4te.in (&up_to_date_p): Output depends on the arguments.
13645 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
13646 * tests/atconfig.in (PERL): New.
13648 2001-08-01 Akim Demaille <akim@epita.fr>
13650 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
13651 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
13652 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
13653 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
13654 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
13655 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
13656 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
13657 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
13658 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
13659 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
13660 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
13661 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
13662 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
13663 * lib/autoconf/c.m4: here, new file.
13665 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
13666 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
13667 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
13668 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
13669 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
13670 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
13671 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
13672 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
13673 (AC_F77_FUNC): Move to...
13674 * lib/autoconf/fortran.m4: here, new file.
13676 2001-08-01 Akim Demaille <akim@epita.fr>
13678 * acfunctions.m4: Rename as...
13679 * lib/autoconf/functions.m4: this.
13680 * acgeneral.m4: Rename as...
13681 * lib/autoconf/general.m4: this.
13682 * acheaders.m4: Rename as...
13683 * lib/autoconf/headers.m4: this.
13684 * aclang.m4: Rename as...
13685 * lib/autoconf/lang.m4: this.
13686 * acoldnames.m4: Rename as...
13687 * lib/autoconf/oldnames.m4: this.
13688 * acspecific.m4: Rename as...
13689 * lib/autoconf/specific.m4: this.
13690 * actypes.m4: Rename as...
13691 * lib/autoconf/types.m4: this.
13692 * autoconf.m4: Rename as...
13693 * lib/autoconf/autoconf.m4: this.
13695 * m4sugar.m4: Rename as...
13696 * lib/m4sugar/m4sugar.m4: this.
13697 * m4sh.m4: Rename as...
13698 * lib/m4sugar/m4sh.m4: this.
13700 * tests/atgeneral.m4: Rename as...
13701 * lib/autotest/general.m4: this.
13703 * acfunctions: Rename as...
13704 * lib/autoscan/functions: this.
13705 * acheaders: Rename as...
13706 * lib/autoscan/headers: this.
13707 * acidentifiers: Rename as...
13708 * lib/autoscan/identifiers: this.
13709 * aclibraries: Rename as...
13710 * lib/autoscan/libraries: this.
13711 * acmakevars: Rename as...
13712 * lib/autoscan/makevars: this.
13713 * acprograms: Rename as...
13714 * lib/autoscan/programs: this.
13716 2001-08-01 Akim Demaille <akim@epita.fr>
13718 * doc/autoconf.texi: Moving/deleting open files is not portable.
13719 Portability issues for `.' (source), and more information about sed.
13721 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
13723 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
13724 which has a special meaning and is not a reference to libibmil.a.
13725 Reported by Matteo Frigo.
13727 2001-07-25 Pavel Roskin <proski@gnu.org>
13729 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
13732 2001-07-25 Akim Demaille <akim@epita.fr>
13734 * autoconf.in: Try to define the variables before using them.
13735 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
13736 instead of `$perllibdir'.
13737 * tests/atconfig.in ($autom4te_perllibdir): Export it.
13739 2001-07-25 Akim Demaille <akim@epita.fr>
13741 * autoconf.in (ac_LF_and_DOT): Remove, unused.
13743 2001-07-24 Akim Demaille <akim@epita.fr>
13745 Let autoconf use autom4te for traces.
13747 * autoconf.in ($task, task trace): Remove, merely pass --trace to
13749 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
13750 (Because I found no way for autom4te to accept `-').
13751 * autom4te.in (&Request::request): Beware of M4 builtins.
13752 (END): Don't try to remove the content of an empty dir.
13753 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
13754 (&handle_output): Set a default value to `$forbidden'.
13755 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
13756 ($autoconf): Pass --debug and --verbose.
13757 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
13760 2001-07-24 Akim Demaille <akim@epita.fr>
13762 Let autoconf use autom4te to create configure.
13764 * autoconf.in ($automate): New var.
13765 (task script): Use autom4te.
13766 * autom4te.in (File::Spec): Use it.
13768 (&parse_args): --warning is -W, not -w.
13769 Find the top level files.
13770 (&handle_m4): Pass the warnings flags.
13771 Don't report verbosely m4's failures, unless requested.
13772 (&handle_output): Don't complain for forbidden tokens in comments.
13773 Be sure to report all the forbidden tokens within a single line.
13774 (&trace_format_to_m4): Preserve `$_'.
13775 (&handle_traces): Sort the output macros.
13776 (&up_to_date_p): Find the files before trying to get its time stamp.
13778 2001-07-24 Akim Demaille <akim@epita.fr>
13780 * Makefile.am: Ship, build and install Autom4te.
13781 (SUBDIRS): Add lib.
13782 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
13783 * configure.in: Require Perl.
13784 * man/autom4te.in: New.
13786 2001-07-19 Paul Eggert <eggert@twinsun.com>
13788 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
13789 example, rather than (exit 1); exit (which isn't portable).
13791 2001-07-18 Akim Demaille <akim@epita.fr>
13795 2001-07-18 Akim Demaille <akim@epita.fr>
13797 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
13798 was run, while they are needed also when it is expanded.
13799 Reported by Nicolas Joly.
13801 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
13802 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
13803 AC_F77_DUMMY_MAIN being expanded.
13805 2001-07-18 Akim Demaille <akim@epita.fr>
13807 * configure.in: Bump to 2.51a.
13809 2001-07-17 Akim Demaille <akim@epita.fr>
13813 2001-07-17 Akim Demaille <akim@epita.fr>
13815 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
13816 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
13818 2001-07-17 Akim Demaille <akim@epita.fr>
13820 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
13821 used. Well, then use the prototypes when you can, and runtime as
13823 Reported by Artur Frysiak
13825 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
13826 (AC_FUNC_GETPGRP): Use it.
13827 First try to compile with 0-ary or 1-ary calls.
13829 2001-07-17 Akim Demaille <akim@epita.fr>
13831 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
13835 2001-07-17 Akim Demaille <akim@epita.fr>
13837 * Makefile.maint: Sync. with cppi 1.10.
13839 2001-07-17 Akim Demaille <akim@epita.fr>
13841 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
13842 AC_F77_DUMMY_MAIN has been run.
13843 From Pavel Roskin and Steven G. Johnson.
13845 2001-07-17 Akim Demaille <akim@epita.fr>
13847 * configure.in: Rename as...
13848 * configure.ac: this.
13850 2001-07-17 Akim Demaille <akim@epita.fr>
13852 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
13855 * Makefile.maint (release-archive-dir): Rename as...
13856 (release_archive_dir): this, so that it can be specialized in
13859 2001-07-14 Akim Demaille <akim@epita.fr>
13861 * configure.in: Bump to 2.50d.
13863 2001-07-14 Akim Demaille <akim@epita.fr>
13866 * Makefile.maint (alpha): Typo.
13868 2001-07-14 Akim Demaille <akim@epita.fr>
13870 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
13872 2001-07-14 Akim Demaille <akim@epita.fr>
13874 * config/config.guess, config/config.sub, config/texinfo.tex
13875 * doc/standards.texi, doc/make-stds.texi: Update.
13877 2001-07-14 Akim Demaille <akim@epita.fr>
13879 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
13881 2001-07-14 Akim Demaille <akim@epita.fr>
13883 * Makefile.maint (maintainer-check): Rename as...
13884 (maintainer-distcheck): this.
13885 (changelog-check, static-check): New.
13888 2001-07-14 Kevin Ryde <user42@zip.com.au>
13890 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
13891 for CXX is g++, not gcc.
13893 2001-07-14 Akim Demaille <akim@epita.fr>
13895 * doc/autoconf.texi (Files): New subsection.
13897 2001-07-14 Akim Demaille <akim@epita.fr>
13899 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
13901 (Generic Compiler Characteristics): this.
13902 (C++ Compiler): New subsection.
13904 2001-07-14 Akim Demaille <akim@epita.fr>
13906 * autoscan.in: Use IO::File.
13907 Adjust all the routines to use it.
13908 ($log): New file (autoscan.log).
13909 (output): Dump detailed logs into $log, and a shortened version to
13911 (&scan_makefile): Refine the regexp catching tokens in the code.
13912 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
13913 and the `configure.ac' checking feature.
13915 2001-07-12 Akim Demaille <akim@epita.fr>
13917 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
13918 Reported by Michael Elizabeth Chastain.
13920 * autoconf.in: Refuse such AWK.
13921 * configure.in: Likewise.
13922 * Makefile.am (acversion.m4): Do not use move-if-change this file
13924 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
13926 2001-07-10 Jens Petersen <petersen@redhat.com>
13928 * autoscan.in (&scan_makefile): Improve programs regexp to parse
13929 things like "g++", "file.c" and "some-conf" as tokens.
13930 (&scan_file): Match C++ files extensions.
13931 If the filename extension is C++ then ask for c++.
13933 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
13935 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
13936 AC_TRY_LINK_FUNC, to check whether defining a dummy
13937 main-like routine is needed for linking with F77 libs.
13939 2001-07-05 Pavel Roskin <proski@gnu.org>
13941 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
13943 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
13946 2001-07-05 Akim Demaille <akim@epita.fr>
13948 * Makefile.am (move_if_change): New. Use it instead of `mv'.
13949 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
13951 Reported by Nicolas Joly.
13953 2001-07-04 Akim Demaille <akim@epita.fr>
13955 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
13957 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
13958 warnings from compilers.
13959 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
13960 for all the compilers, not only GNU. Hence move from here...
13961 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
13963 2001-07-04 Akim Demaille <akim@epita.fr>
13965 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
13966 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
13969 2001-07-04 Akim Demaille <akim@epita.fr>
13971 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
13972 the ``strings.h'' change claimed below.
13974 2001-07-04 Akim Demaille <akim@epita.fr>
13976 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
13978 2001-07-04 Akim Demaille <akim@epita.fr>
13980 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
13981 strings.h if usable with string.h.
13982 Suggested by Paul Eggert.
13984 2001-07-04 Akim Demaille <akim@epita.fr>
13986 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
13987 From Jens Petersen.
13989 2001-07-03 Akim Demaille <akim@epita.fr>
13991 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
13994 2001-07-03 Akim Demaille <akim@epita.fr>
13996 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
13997 compiler, not the preprocessor.
13998 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
13999 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
14001 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
14002 earlier if there are.
14004 2001-07-03 Akim Demaille <akim@epita.fr>
14006 * autoscan.in ($initfile): Remove.
14007 (&find_file): Rename as...
14008 (&scan_file): this.
14009 Immediately scan the current file, instead of gathering them, and
14010 later having them handled by &scan_files.
14011 (&scan_files): Merely invoke Find::File.
14014 2001-07-02 Akim Demaille <akim@epita.fr>
14016 * autoscan.in: Formatting changes, matching the invocation order.
14017 (File::Find): Use it instead of Perl 4's `find.pl'.
14018 (&wanted): Rename as...
14019 (&find_file): this.
14021 2001-07-01 Pavel Roskin <proski@gnu.org>
14023 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
14024 break in the argument to AC_TRY_LINK_FUNC.
14025 (AC_F77_MAIN): Remove conftest* after using break in the
14026 argument to AC_TRY_LINK.
14028 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
14030 Add alternate 'main' routine detection for linking C/C++ with Fortran,
14031 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
14033 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
14034 dummy alternate main is required even if the user provides her own
14036 (AC_F77_MAIN): New macro to detect whether it is possible to
14037 provide an alternate 'main' function name, using the 'main' from
14038 the Fortran libraries.
14039 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
14040 cross-language link tests can be performed successfully.
14041 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
14042 after $LIBS, for consistency; this should be the general rule since
14043 the user may want to link to Fortran libraries that require $FLIBS.
14044 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
14046 2001-06-29 Pavel Roskin <proski@gnu.org>
14048 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
14049 at-stdout and at-stderr instead of removing the newline
14050 from the echo output, which is not guaranteed to work.
14052 2001-06-28 Jens Petersen <petersen@redhat.com>
14054 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
14055 confdefs.h when non-zero.
14057 2001-06-28 Akim Demaille <akim@epita.fr>
14059 * configure.in: Bump to 2.50c.
14061 2001-06-26 Akim Demaille <akim@epita.fr>
14065 2001-06-26 Akim Demaille <akim@epita.fr>
14069 2001-06-25 Pavel Roskin <proski@gnu.org>
14071 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
14072 argument, AUTOCONF-FLAGS.
14073 * tests/mktests.sh (update_exclude_list): Add
14074 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
14075 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
14076 AC_FUNC_WAIT3 with "-W no-obsolete".
14078 2001-06-25 Akim Demaille <akim@epita.fr>
14080 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
14082 2001-06-25 Akim Demaille <akim@epita.fr>
14084 * autoscan.in (%macro): Now maps from word to list of macros.
14085 (&init_tables): Die when a word which is already handled by
14086 explicit macros is mapped to the default macro.
14087 (&print_unique): Remove, inlined in...
14088 (&output_kind): here.
14089 (File::Basename): Use it.
14090 (&output): Sort the CONFIG_FILES.
14091 * acheaders: Normalize.
14092 * acfunctions: Likewise.
14094 2001-06-25 Akim Demaille <akim@epita.fr>
14096 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
14097 characteristics in the logs.
14098 Suggested by Mo DeJong.
14100 2001-06-24 Akim Demaille <akim@epita.fr>
14102 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
14103 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
14104 * doc/autoconf.texi (Autoconf 2.13): New section.
14106 2001-06-24 Akim Demaille <akim@epita.fr>
14108 * autoconf.in (Task traces): Separate the error messages from the
14109 traces to improve robustness.
14111 2001-06-23 Akim Demaille <akim@epita.fr>
14113 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
14114 three as failures are unlikely, and speed matters.
14116 2001-06-23 Akim Demaille <akim@epita.fr>
14118 * doc/autoconf.texi (Redefined M4 Macros): New.
14120 2001-06-23 Akim Demaille <akim@epita.fr>
14122 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
14123 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
14126 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
14128 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
14129 config.status targets to after the evaluation of the INIT-CMDS.
14130 Double quote config.status targets (used to be single quoted).
14132 2001-06-23 Akim Demaille <akim@epita.fr>
14134 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
14135 Check the content of the created file.
14136 Check the ./config.status command line invocation.
14138 2001-06-23 Akim Demaille <akim@epita.fr>
14140 * tests/foreign.at (Libtool): Reject prehistoric versions.
14142 2001-06-23 Akim Demaille <akim@epita.fr>
14144 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
14145 preexisting files matching a.*.
14147 2001-06-23 Akim Demaille <akim@epita.fr>
14149 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
14151 * doc/autoconf.texi (AC_ARG_VAR): Update.
14153 2001-06-21 Akim Demaille <akim@epita.fr>
14155 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
14156 precious variables have changed.
14157 * tests/torture.at (AC_ARG_VAR): Adjust.
14159 2001-06-21 Akim Demaille <akim@epita.fr>
14161 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
14162 but some sed choke on multiple `;', and other tools (e.g.,
14163 Automake), include the separator themselves.
14165 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
14167 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
14169 * doc/autoconf.texi (Functions Portability): Rename as...
14170 (Function Portability): this.
14171 (Function Portability): Document potential problems with unlink().
14173 2001-06-19 Paul Eggert <eggert@twinsun.com>
14175 * NEWS, doc/autoconf.texi: Document quadrigraphs.
14177 2001-06-18 Akim Demaille <akim@epita.fr>
14179 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
14181 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
14183 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
14184 (_AC_FUNC_VFORK): this.
14185 Remove AC_DEFINEs and don't guess cross-compilation values.
14186 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
14187 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
14188 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
14189 vfork doesn't work.
14190 Guess values if cross-compiling, but warn.
14191 * acfunctions: Add AC_FUNC_FORK.
14192 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
14193 and vfork appropriately.
14195 2001-06-18 Akim Demaille <akim@epita.fr>
14197 * doc/autoconf.texi (Functions Portability): New section.
14199 2001-06-18 Akim Demaille <akim@epita.fr>
14201 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
14203 Suggested by Andreas Schwab.
14205 2001-06-18 Akim Demaille <akim@epita.fr>
14207 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
14208 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
14209 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
14210 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
14211 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
14212 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
14213 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
14216 2001-06-18 Akim Demaille <akim@epita.fr>
14218 * doc/autoconf.texi (ms): New index.
14219 (Macro Index): Rename as...
14220 (Autoconf Macro Index): this.
14221 (M4 Macro Index): New appendix.
14222 (Programming in M4): New chapter.
14223 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
14224 (Quoting): Rename as...
14225 (M$ Quotation): this.
14226 Be part of `Programming in M4).
14228 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
14230 * tests/torture.at (AC_ARG_VAR): Set variables and export them
14231 in separate statements for compatibility with Tru64 v5.1.
14233 2001-06-17 Akim Demaille <akim@epita.fr>
14235 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
14236 current values of the precious variables, not the previously
14238 Pass precious variables which are set to config.status.
14239 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
14240 * tests/torture.at (AC_ARG_VAR): New.
14242 2001-06-15 Paul Eggert <eggert@twinsun.com>
14244 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
14245 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
14246 and explain why and how to replace them.
14247 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
14248 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
14250 2001-06-15 Akim Demaille <akim@epita.fr>
14252 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
14253 Reported by Bruno Haible.
14255 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
14256 (_AC_ARG_VAR_PRECIOUS): to here.
14258 2001-06-15 Pavel Roskin <proski@gnu.org>
14260 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
14261 an unused pointer use cast to this type and `if' statement to
14262 avoid warnings from the compiler.
14263 (AC_HEADER_TIME): Likewise.
14264 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
14265 in `if' statement to avoid warnings from the compiler. Declare
14266 ac_aggr static to avoid the need to initialize it.
14268 2001-06-14 Akim Demaille <akim@epita.fr>
14270 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
14273 2001-06-13 Akim Demaille <akim@epita.fr>
14275 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
14276 Suggested by Alexander Mai.
14278 2001-06-13 Akim Demaille <akim@epita.fr>
14280 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
14281 sys/types.h and sys/stat.h, and check for them.
14283 2001-06-13 Akim Demaille <akim@epita.fr>
14285 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
14288 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
14290 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
14291 succeeds and only try adding libdnet upon a failure.
14293 2001-06-12 Akim Demaille <akim@epita.fr>
14295 * autoscan.in (&output_kind): Output the comment only if it exists.
14296 (%kind_comment): Add entry for `programs'.
14297 (&output_programs): Use &output_kind.
14298 (&output_functions, &output_identifiers, &output_headers)
14299 (&output_programs): Inline, and remove.
14301 2001-06-12 Akim Demaille <akim@epita.fr>
14303 * autoscan.in (%kind_comment): New.
14304 (output_kind): New.
14305 (output_functions, output_identifiers, output_headers): Use it.
14307 2001-06-12 Akim Demaille <akim@epita.fr>
14309 * autoscan.in (&print_unique): Take `$kind' and `$word' as
14310 arguments, to factor indirections into `%macro' and `%used'.
14311 (%generic_macro): Fix a typo.
14313 2001-06-12 Akim Demaille <akim@epita.fr>
14315 * aclibraries: New.
14316 * autoscan.in (@kinds): Add `libraries'.
14317 Use `@kinds' instead of hard coded lists.
14318 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
14319 Remove, replaced by...
14322 2001-06-12 Akim Demaille <akim@epita.fr>
14324 * autoscan.in (%functions_macros %headers_macros)
14325 (%identifiers_macros %programs_macros %makevars_macros): Remove,
14329 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
14331 * aclang.m4 (AC_NO_EXECUTABLES): Override
14332 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
14334 2001-06-11 Akim Demaille <akim@epita.fr>
14336 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
14338 Reported by Andreas Schwab.
14340 2001-06-11 Akim Demaille <akim@epita.fr>
14342 * Makefile.am, Makefile.maint: Typos.
14344 2001-06-09 Akim Demaille <akim@epita.fr>
14346 * doc/autoconf.texi (Here-Documents): New section, gathering
14347 documentation about here-documents.
14348 Use `href', not `uref', and other changes.
14350 2001-06-09 Akim Demaille <akim@epita.fr>
14352 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
14355 2001-06-09 Akim Demaille <akim@epita.fr>
14357 * doc/autoconf.texi (Limitations of Builtins): Complete the
14358 description of the here-docs penalties with Alexandre Oliva's
14361 2001-06-01 Paul Eggert <eggert@twinsun.com>
14363 * doc/autoconf.texi: Talk about here documents and speedups.
14364 Do not use "echo" on arbitrary strings.
14365 Spell "here-documents" consistently with the standard.
14367 2001-06-09 Akim Demaille <akim@epita.fr>
14369 * doc/autoconf.texi (Concept Index): Introduce it.
14370 Regenerate the menus.
14372 2001-06-09 Akim Demaille <akim@epita.fr>
14374 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
14375 * config/prev-version.txt: New.
14376 * config/move-if-change: New, for GNU libc.
14378 2001-06-06 Pavel Roskin <proski@gnu.org>
14380 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
14382 2001-06-06 Akim Demaille <akim@epita.fr>
14384 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
14385 properly when $1 is not a literal.
14386 Fixes PR Autoconf/187, reported by Bram Moolenaar.
14388 2001-06-06 Akim Demaille <akim@epita.fr>
14390 Invoking AC_COPYRIGHT before AC_INIT fails.
14392 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
14393 * acgeneral.m4 (_m4_divert(VERSION_FSF))
14394 (_m4_divert(VERSION_USER)): New.
14395 (AC_COPYRIGHT): $2 is the diversion to use.
14396 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
14397 (AC_INIT): Remove dead comments as now it's commutative.
14399 2001-06-06 Akim Demaille <akim@epita.fr>
14401 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
14404 2001-06-05 Akim Demaille <akim@epita.fr>
14406 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
14408 `*dir' variables cannot be NONE.
14409 Reported by Mark Kettenis.
14411 2001-06-05 Paul Eggert <eggert@twinsun.com>
14413 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
14415 2001-06-04 Akim Demaille <akim@epita.fr>
14417 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
14418 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
14419 (AC_TR_SH): Move as...
14420 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
14421 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
14423 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
14424 (_AS_TR_SH_PREPARE): New.
14425 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
14426 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
14428 2001-06-02 Akim Demaille <akim@epita.fr>
14430 * Makefile.am (.m4.m4f): Pass the options first.
14431 Fixes PR autoconf/182.
14433 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
14435 GNU getopt, when POSIXLY_CORRECT does not permute options and
14436 arguments. So pass the options first.
14437 Fixes PR autoconf/184.
14439 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
14440 (run_m4): Remove files.
14442 Update remainder of script to use them.
14443 (for warning in): Do not use a literal comma as it will not be
14446 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
14448 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
14449 Fortran compilers to check.
14450 (_AC_PROG_F77_V): Add '-###' as a possible option to print
14451 information on library and object files.
14452 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
14455 2001-06-02 Akim Demaille <akim@epita.fr>
14457 * autom4te.in (Request::@request): Declare with `vars', not `my',
14458 as it prevents updates via `do FILENAME'.
14460 2001-06-02 Akim Demaille <akim@epita.fr>
14462 * configure.in (standards_texi): Remove, dead code.
14464 2001-06-02 Akim Demaille <akim@epita.fr>
14466 * autom4te.in: New.
14468 2001-06-02 Pavel Roskin <proski@gnu.org>
14470 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
14471 for signals other than 0 - exit with code 1.
14472 * m4sh.m4 (AS_TMPDIR): Likewise.
14473 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
14474 * autoheader.in: Likewise.
14475 * autoreconf.in: Likewise.
14476 * tests/torture.at (Signal handling): New test for the above.
14478 2001-06-01 Akim Demaille <akim@epita.fr>
14480 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
14483 2001-05-31 Akim Demaille <akim@epita.fr>
14485 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
14486 Add copyright and comments.
14487 * acheaders: Add stdint.h.
14488 Suggested by Paul Eggert.
14490 2001-05-31 Akim Demaille <akim@epita.fr>
14492 * atgeneral.m4 (AT_INIT): Use $SHELL.
14493 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
14495 2001-05-31 Akim Demaille <akim@epita.fr>
14497 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
14499 From Paul Eggert and Lars Hecking.
14501 2001-05-31 Akim Demaille <akim@epita.fr>
14503 * tests/base.at: Adjust line numbers in error messages.
14505 2001-05-31 Akim Demaille <akim@epita.fr>
14507 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
14508 to emit the bangshe line.
14509 Reported by David Carter.
14511 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
14513 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
14514 Fortran (95) compilers to check.
14516 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
14518 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
14521 2001-05-23 Pavel Roskin <proski@gnu.org>
14523 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
14524 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
14525 (AC_PROG_CXXCPP): Likewise.
14527 2001-05-22 Akim Demaille <akim@epita.fr>
14529 * config: New directory.
14530 * configure.in: AC_CONFIG_AUX_DIR it.
14531 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
14533 2001-05-22 Akim Demaille <akim@epita.fr>
14535 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
14536 * autoupdate.in: Specify the Emacs mode.
14537 * acversion.m4.in: Rename as...
14538 * acversion.m4: this.
14539 * tests/Makefile.am (CLEANFILES): More garbage.
14541 2001-05-22 Akim Demaille <akim@epita.fr>
14543 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
14545 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
14548 2001-05-21 Akim Demaille <akim@epita.fr>
14550 * configure.in: Bump to 2.50a.
14555 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
14556 Software Foundation, Inc.
14558 Copying and distribution of this file, with or without
14559 modification, are permitted provided the copyright notice and this
14560 notice are preserved.